:root{--navy:#07143b;--blue:#0877ff;--green:#28a745;--orange:#ff7a00;--red:#ff3131;--line:#dbe5f4;--soft:#f4f8ff}*{box-sizing:border-box}body{color:var(--navy);background:#f5f7fb;margin:0;font-family:Arial,Segoe UI,sans-serif}button{font:inherit}.shell,.phone{background:#fff;min-height:100svh}.screen{min-height:100svh;padding:22px 16px 26px;animation:.2s fade}@keyframes fade{0%{opacity:.4;transform:translate(5px)}}button{cursor:pointer}.person-head{justify-content:space-between;align-items:center;margin:8px 2px 16px;display:flex}.person-head h1{letter-spacing:-.4px;margin:0 0 5px;font-size:21px;font-weight:800;line-height:1.1}.person-head p{color:#7785aa;margin:0;font-size:13px}.person-head b{padding:0 6px}.hamburger{border:2px solid var(--blue);color:var(--blue);background:#fff;border-radius:11px;place-items:center;width:45px;height:45px;display:grid}.hamburger svg{width:26px}.main-card,.content-card{border:1px solid var(--line);background:#fff;border-radius:11px;box-shadow:0 2px 8px #18335d0a}.card-title{border-bottom:1px solid #edf2fa;gap:10px;padding:13px 10px 10px;display:flex}.card-title>svg{color:var(--blue);width:25px}.card-title h2{margin:0 0 4px;font-size:16px}.card-title p{margin:0;font-size:11px;line-height:1.35}.week{grid-template-columns:repeat(7,minmax(39px,1fr));gap:1px;padding:12px 4px 10px;display:grid;overflow-x:auto}.day{text-align:center;border:1px solid #0000;border-radius:8px;min-width:39px;padding:5px 1px 7px}.day.current{border-color:var(--orange);background:#fffaf5}.day small{height:27px;font-size:9px;font-weight:700;line-height:1.1;display:block}.state-icon{color:#fff;border-radius:50%;place-items:center;width:30px;height:30px;margin:0 auto 6px;display:grid}.state-icon svg{fill:currentColor;width:17px}.state-icon span{font-size:18px;font-weight:900}.day strong{height:19px;font-size:8px;line-height:1.1;display:block}.day em{color:#46516d;font-size:8px;font-style:normal}.blue{color:#0877e8;background:#0877e8}.green{color:#2ca843;background:#2ca843}.orange{color:#ff7900;background:#ff7900}.red{color:#ff3b3b;background:#ff3b3b}.state-icon.blue,.state-icon.green,.state-icon.orange{color:#fff}.day strong.blue,.day strong.green,.day strong.orange{background:0 0}.trend{border-top:1px solid #edf2fa;align-items:center;gap:12px;padding:15px 10px 12px;display:flex}.shield{width:68px;height:68px;color:var(--orange);background:#fff5e9;border-radius:50%;flex:0 0 68px;place-items:center;display:grid}.shield svg{width:43px;height:43px}.trend small{color:var(--orange);font-size:10px;font-weight:800}.trend h3{color:var(--orange);margin:5px 0;font-size:17px}.trend p{margin:0;font-size:11px;line-height:1.55}.trend p b{color:var(--orange)}.metrics{grid-template-columns:repeat(3,1fr);gap:5px;padding:0 10px 12px;display:grid}.metrics>div{border:1px solid var(--line);text-align:center;border-radius:7px;padding:8px 3px}.metrics small{min-height:23px;font-size:9px;line-height:1.2;display:block}.metrics strong{color:var(--blue);margin:3px;font-size:17px;display:block}.metrics strong.warn{color:var(--red)}.metrics em{font-size:8px;font-style:normal}.legend{border-top:1px solid #edf2fa;justify-content:space-between;gap:8px;padding:11px 9px;display:flex}.legend span{white-space:nowrap;font-size:8px;font-weight:800}.legend i{color:#fff;border-radius:50%;place-items:center;width:14px;height:14px;margin-right:2px;font-style:normal;display:inline-grid}.rule,.bottom-note,.info-strip{background:var(--soft);color:#16469d;align-items:flex-start;gap:9px;display:flex}.rule{border-top:1px solid #dce7f8;padding:11px}.rule svg,.bottom-note svg,.info-strip svg{width:17px;fill:var(--blue);color:var(--blue);flex:0 0 17px}.rule p,.bottom-note p,.info-strip p{margin:0;font-size:10px;line-height:1.5}.bottom-note{border-radius:8px;margin-top:10px;padding:12px}.page-head{grid-template-columns:1fr auto 1fr;align-items:center;height:50px;margin-bottom:35px;display:grid}.page-head h1{text-align:center;white-space:nowrap;margin:0;font-size:17px}.page-head button{color:var(--blue);background:0 0;border:0;align-items:center;padding:0;font-size:14px;display:flex}.page-head button svg{width:21px}.page-head button span{display:inline}.choices{gap:16px;margin-top:45px;display:grid}.choice{text-align:left;background:#fafdff;border:1px solid #cfe0fa;border-radius:8px;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;min-height:126px;padding:18px 12px;display:grid}.choice>span{background:var(--blue);color:#fff;border-radius:50%;place-items:center;width:52px;height:52px;display:grid}.choice>span svg{fill:#fff}.choice h2{margin:0 0 8px;font-size:17px}.choice p{margin:0;font-size:12px;line-height:1.5}.choice>svg{color:var(--blue)}.red-choice{background:snow;border-color:#ffd1d1}.red-choice>span{background:#ff4141}.red-choice>svg{color:#ff4141}.info-strip{border:1px solid #cfe0fa;border-radius:7px;margin-top:110px;padding:12px}.summary-stack{gap:16px;display:grid}.content-card{padding:16px}.content-card h2{align-items:center;gap:9px;margin:0 0 16px;font-size:15px;display:flex}.content-card p{margin:0 0 12px;font-size:13px;line-height:1.65}.round{color:#fff;border-radius:50%;flex:0 0 38px;place-items:center;width:38px;height:38px;display:grid}.round svg{width:20px}.round.blue svg{fill:#fff}.content-card h2 .round{flex-basis:36px;width:36px;height:36px}.general-state{align-items:center;gap:10px;margin:8px 0 5px;display:flex}.general-state b{color:var(--orange);font-size:19px}.general-state .round{flex-basis:31px;width:31px;height:31px}.duration{text-align:center;font-size:11px!important}.alerts .page-head{margin-bottom:14px}.scenario{background:#eff4fc;border-radius:8px;grid-template-columns:1fr 1fr;margin-bottom:14px;padding:3px;display:grid}.scenario button{color:#657390;background:0 0;border:0;border-radius:6px;padding:8px 3px;font-size:11px;font-weight:700}.scenario button.active{color:#17823c;background:#fff;box-shadow:0 1px 5px #17365b20}.scenario button.active.danger{color:var(--red)}.status-banner{border:1px solid;border-radius:8px;align-items:center;gap:13px;padding:16px 13px;display:flex}.status-banner>svg{color:#fff;border-radius:50%;flex:0 0 43px;width:43px;height:43px;padding:10px}.status-banner.success{background:#f4fff7;border-color:#a7e2b7}.status-banner.success>svg{background:var(--green)}.status-banner.danger{background:#fff2f2;border-color:#ffabab}.status-banner.danger>svg{background:#f2262c}.status-banner h2{color:#158039;margin:0 0 7px;font-size:13px}.status-banner.danger h2{color:#e31f25}.status-banner p{margin:0;font-size:11px;line-height:1.5}.action-title{margin:30px 8px 12px;font-size:13px}.actions{gap:10px;display:grid}.action{border:1px solid var(--line);border-radius:8px;grid-template-columns:auto 1fr;align-items:center;gap:11px;padding:10px;display:grid}.action h4{margin:0 0 5px;font-size:12px}.action p{margin:0;font-size:10px}.action .round.red{color:#fff}.telegram{font-size:22px;transform:rotate(-25deg)}@media (min-width:700px){.shell{background:#f6f8fc;place-items:center;min-height:100svh;padding:32px;display:grid}.phone{border-radius:35px;width:430px;min-height:820px;overflow:hidden;box-shadow:0 14px 45px #17365b22}.screen{min-height:820px;padding:28px 20px}.week{padding-left:6px;padding-right:6px}.day{min-width:48px}.page-head{margin-top:6px}.info-strip{margin-top:150px}}.trend-green .shield,.trend-green h3,.trend-green small,.trend-green p b{color:var(--green)}.trend-green .shield{background:#effaf2}.trend-blue .shield,.trend-blue h3,.trend-blue small,.trend-blue p b{color:var(--blue)}.trend-blue .shield{background:#eff6ff}.trend-red .shield,.trend-red h3,.trend-red small,.trend-red p b{color:var(--red)}.trend-red .shield{background:#fff1f1}.trend-gray .shield,.trend-gray h3,.trend-gray small,.trend-gray p b{color:#778099}.trend-gray .shield{background:#f1f3f6}.text-green{color:var(--green)!important}.text-blue{color:var(--blue)!important}.text-orange{color:var(--orange)!important}.text-red{color:var(--red)!important}.round.green,.round.blue,.round.orange,.round.red{color:#fff}.insufficient-metrics{border:1px solid var(--line);color:#56627c;background:#f7f9fc;border-radius:7px;align-items:flex-start;gap:9px;margin:0 10px 12px;padding:12px;display:flex}.insufficient-metrics svg{color:#778099;flex:0 0 17px;width:17px}.insufficient-metrics p{margin:0;font-size:10px;line-height:1.5}.state-icon.red{color:#fff}.day strong.red{background:0 0}.gray{color:#8a93a6;background:#8a93a6}.state-icon.gray,.round.gray{color:#fff}.day strong.gray{background:0 0}.text-gray{color:#778099!important}.loading-screen{place-items:center;display:grid}.loading-screen p{color:#7785aa;font-size:13px}.status-banner.no-data{background:#f6f8fc;border-color:#cfd8e7}.status-banner.no-data>svg{background:#7b879c}.status-banner.no-data h2{color:#59657a}.login-screen,.protected-message{background:linear-gradient(#f4f8ff 0%,#fff 52%);place-items:center;display:grid}.login-card{border:1px solid var(--line);background:#fff;border-radius:16px;width:100%;max-width:350px;padding:30px 24px;box-shadow:0 12px 35px #17365b18}.login-mark{background:var(--blue);color:#fff;border-radius:50%;place-items:center;width:58px;height:58px;margin:0 auto 16px;display:grid}.login-mark svg{fill:#fff;width:29px;height:29px}.login-card>h1{text-align:center;margin:0 0 8px;font-size:25px}.login-card>p{text-align:center;color:#667394;margin:0 0 26px;font-size:14px;line-height:1.45}.login-card form{gap:8px;display:grid}.login-card label{margin-top:5px;font-size:14px;font-weight:700}.login-card input{width:100%;height:46px;color:var(--navy);background:#fff;border:1px solid #cbd7e9;border-radius:8px;outline:none;padding:0 12px;font-size:16px}.login-card input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #0877ff18}.login-card form>button,.protected-message button{background:var(--blue);color:#fff;border:0;border-radius:8px;height:46px;margin-top:14px;font-size:15px;font-weight:700}.login-card form>button:disabled{opacity:.65;cursor:wait}.login-card .login-error{text-align:left;color:#d82929;margin:4px 0 0;font-size:13px}.protected-message>div{text-align:center;max-width:320px}.protected-message svg{color:#7785aa;width:42px;height:42px}.protected-message h1{margin:14px 0 8px;font-size:20px}.protected-message p{color:#667394;font-size:14px;line-height:1.5}.protected-message button{padding:0 20px}.logout-button{color:#62708d;background:0 0;border:0;align-items:center;gap:7px;margin:18px auto 0;padding:8px;font-size:13px;display:flex}.logout-button svg{width:17px;height:17px}.important-note{color:#4f5b70;background:#f7f8fa;border:1px solid #dce2ec;border-radius:8px;grid-template-columns:auto 1fr;align-items:flex-start;gap:9px;margin-top:10px;padding:12px;display:grid}.important-note>svg{color:#778099;flex:0 0 17px;width:17px}.important-note h2{color:#39445a;margin:0 0 5px;font-size:11px;line-height:1.3}.important-note p{margin:0;font-size:9px;line-height:1.55}
