:root{--accent:#2563eb;--soft:#edf3ff;--ink:#080d33;--muted:#657395;--line:#e7edf7;--radius:16px;font-family:Onest,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}body[data-theme=violet]{--accent:#7256f5;--soft:#f1edff}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button,a{transition:background .18s,color .18s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button:disabled{opacity:.6;cursor:wait}[hidden]{display:none!important}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:24px;letter-spacing:-.8px;white-space:nowrap}.brand img{border-radius:10px}.primary,.outline{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:50px;padding:13px 23px;border-radius:9px;font-size:15px;font-weight:600;border:1px solid var(--accent);white-space:nowrap}.primary{color:white;background:var(--accent)}.primary:hover{filter:brightness(.94)}.outline{background:white;color:var(--accent);border-color:color-mix(in srgb,var(--accent) 45%,white)}.outline:hover{background:var(--soft)}h1,h2,h3,p{margin-top:0}.landing-body{background:linear-gradient(145deg,#eef5ff,#f5f8ff);padding:24px}.site-shell{max-width:1440px;margin:auto;padding:36px 46px 24px;border-radius:20px;background:linear-gradient(120deg,#fff 65%,#f9fbff);box-shadow:0 10px 45px #234d8610}.wrap{width:100%}.site-header{display:flex;align-items:center;gap:32px;height:48px;margin-bottom:30px}.site-header nav{display:flex;gap:28px;font-size:13px;margin-left:18px}.site-header>.outline{margin-left:auto;min-height:35px;padding:7px 25px;font-size:13px}.hero{display:grid;grid-template-columns:.88fr 1.12fr;align-items:center;gap:24px;padding-bottom:30px}.hero h1{font-size:clamp(40px,4.6vw,66px);font-weight:800;line-height:1.04;letter-spacing:-2.5px;margin-bottom:20px}.hero h1 span{color:var(--accent)}.hero-copy>p{font-size:clamp(15px,1.5vw,22px);line-height:1.48;color:var(--muted);margin-bottom:24px}.actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.messenger-visual{width:100%;aspect-ratio:365/260;background:url('/omessage/chat-blue.svg?v=2.72.27') center/100% 100% no-repeat;border-radius:18px;box-shadow:0 12px 30px #253b7116}.landing-body[data-theme=violet] .messenger-visual{background-image:url('/omessage/chat-violet.svg?v=2.72.27')}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;scroll-margin-top:24px}.features article{padding:24px 24px 22px;background:#fff;border:1px solid #ecf0f8;border-radius:17px;box-shadow:0 8px 24px #3e599308}.feature-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;color:var(--accent);background:var(--soft);margin-bottom:12px}.feature-icon svg{width:25px;height:25px}.features h2{font-size:18px;line-height:1.2;letter-spacing:-.5px;margin-bottom:8px}.features p{font-size:14px;line-height:1.5;color:var(--muted);margin-bottom:0}.web-section{display:grid;grid-template-columns:1fr 1.05fr 1fr;gap:28px;align-items:center;padding:24px 0 12px}.web-section h2{font-size:25px;line-height:1.18;letter-spacing:-.7px;margin-bottom:10px}.web-section p{font-size:15px;line-height:1.48;color:var(--muted);margin:0}.devices-visual{width:100%;aspect-ratio:214/100;background:url('/omessage/devices-blue.svg?v=2.72.27') center/contain no-repeat}.landing-body[data-theme=violet] .devices-visual{background-image:url('/omessage/devices-violet.svg?v=2.72.27')}.web-cta{justify-self:end}.web-cta h2{font-size:22px;margin-bottom:14px}.web-cta .primary{font-size:14px}footer.wrap{display:flex;align-items:center;justify-content:space-between;gap:22px;padding-top:7px}footer .brand{font-size:17px;gap:7px}footer>div{display:flex;align-items:center;gap:22px}.text-button{font-size:12px;color:var(--muted);border:0;background:transparent;padding:5px 0}.text-button:hover{color:var(--accent)}
.admin-body{background:#f5f8ff;padding:24px}.admin-layout{max-width:1600px;min-height:calc(100vh - 48px);margin:auto;display:grid;grid-template-columns:245px 1fr;background:linear-gradient(130deg,#fff,#f9fbff);border-radius:20px;overflow:hidden;box-shadow:0 10px 45px #234d8610}.sidebar{background:linear-gradient(150deg,#17223d,#102031);color:white;padding:30px 18px 24px;display:flex;flex-direction:column}.sidebar .brand{font-size:22px;gap:10px;margin:0 7px 22px}.sidebar nav{display:grid;gap:6px}.sidebar nav button{display:flex;align-items:center;gap:15px;padding:13px 14px;border:0;border-radius:8px;background:transparent;color:#e2e8f6;text-align:left;font-size:14px;white-space:nowrap}.sidebar nav svg{width:21px;height:21px}.sidebar nav button.selected{background:var(--accent);color:white;box-shadow:0 5px 20px color-mix(in srgb,var(--accent) 22%,transparent)}.sidebar nav button:hover{background:#ffffff12}.sidebar nav button.selected:hover{background:var(--accent)}.sidebar-bottom{margin-top:auto;padding:22px 3px 0;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff17}.sidebar-bottom>div{display:flex;gap:10px;align-items:center;font-size:12px}.profile-avatar{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#7888a6;color:white}.sidebar-bottom button{background:none;border:0;color:#c3cede;font-size:20px}.admin-main{padding:30px;min-width:0}.admin-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.admin-header h1{font-size:30px;line-height:1.2;letter-spacing:-1px;font-weight:800;margin:0}.header-controls{display:flex;gap:22px;align-items:center}.platform-badge{background:var(--soft);border-radius:20px;color:var(--accent);font-size:11px;padding:7px 12px}.period-control{display:flex;align-items:center;gap:8px;border:1px solid #dfe7f5;border-radius:8px;padding:10px 12px;background:white;color:var(--muted)}.period-control svg{width:17px;height:17px}.period-control select{border:0;background:none;font-size:11px;color:var(--muted);outline-offset:8px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:22px}.stats article{background:white;border:1px solid var(--line);border-radius:13px;padding:20px;min-height:145px;box-shadow:0 4px 15px #305c9303}.stat-label{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);white-space:nowrap}.stat-label svg{color:var(--accent);width:21px;height:21px}.stat-label .dot{width:9px;height:9px;background:#15b978;border-radius:50%}.reports-label svg{color:#ee4960}.stats strong{display:block;font-size:35px;line-height:1.3;letter-spacing:-1px;margin:10px 0}.stats small{font-size:10px;color:var(--muted)}.overview-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:22px}.card{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;margin-bottom:22px;box-shadow:0 5px 20px #305c9303}.card h2{font-size:20px;font-weight:800;line-height:1.2;letter-spacing:-.6px;margin-bottom:18px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-heading h2{margin-bottom:0}.chart-tag{border:1px solid var(--line);border-radius:6px;padding:7px 13px;font-size:11px;color:var(--muted);white-space:nowrap}.chart-wrap{margin-top:16px}.chart-wrap svg{width:100%;height:auto;display:block;stroke:none}.service p{display:flex;align-items:center;gap:14px;font-size:13px;line-height:1.5;margin:24px 0 0;color:#334262}.service p>svg{width:22px;height:22px}.service p>span{margin-left:auto;display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px}.status{color:#11ac73}.status:before{content:'';width:7px;height:7px;background:currentColor;border-radius:50%}.pending{color:#b8781b}.appearance{padding:24px}.appearance h2{margin-bottom:10px}.appearance>p{font-size:13px;color:var(--muted);margin-bottom:18px}.appearance form{display:grid;grid-template-columns:1fr auto;column-gap:24px;align-items:center}.appearance fieldset{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:18px}.theme-option{padding:21px 18px 15px;border:2px solid var(--line);border-radius:9px;display:flex;align-items:flex-start;gap:12px;cursor:pointer;background:white}.theme-option:has(input:checked){border-color:var(--accent);background:var(--soft)}.theme-option input{margin:1px 0 0;accent-color:var(--accent);width:19px;height:19px;flex-shrink:0}.theme-option strong{display:block;font-size:14px;white-space:nowrap;letter-spacing:-.3px}.swatches{display:flex;gap:5px;margin:13px 0 12px}.swatches i{width:37px;height:34px;border-radius:7px;background:#2563eb}.violet-option .swatches i{background:#7256f5}.swatches i:nth-child(2){opacity:.7}.swatches i:nth-child(3){opacity:.4}.swatches i:nth-child(4){opacity:.15}.theme-option small{display:block;font-size:10px;color:var(--muted)}.theme-actions{display:grid;justify-items:center;gap:8px}.theme-actions .primary{min-height:46px;padding:12px 22px;font-size:13px}#save-status{grid-column:1/-1;color:var(--muted);font-size:12px;margin:0}#save-status:not(:empty){margin-top:14px}#dashboard-error{padding:14px;border-radius:10px;background:#fff0f0;color:#ad303c;font-size:13px}.empty-state{text-align:center;padding:55px 24px}.empty-state p{color:var(--muted);line-height:1.6;font-size:14px}.login-card{max-width:430px;margin:8vh auto;background:white;border:1px solid var(--line);border-radius:20px;padding:36px;box-shadow:0 10px 45px #234d8610}.login-card .brand{margin-bottom:30px}.login-card h1{font-size:28px;letter-spacing:-1px}.login-card>p{font-size:14px;line-height:1.6;color:var(--muted)}.login-card form{display:grid;gap:11px}.login-card label{font-size:12px;font-weight:600}.login-card input{padding:13px;width:100%;border:1px solid #d8e0ef;border-radius:8px;color:var(--ink)}.back-link{font-size:12px;color:var(--muted)}#login-error{color:#bc3446;min-height:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1600px){.site-shell{max-width:1440px}.hero h1{font-size:70px}}
@media(max-width:1200px){.landing-body,.admin-body{padding:18px}.site-shell{padding:26px 32px 20px}.hero h1{font-size:clamp(38px,4.8vw,57px)}.hero .primary,.hero .outline{padding:12px 18px;font-size:12px;min-height:44px}.hero-copy>p{font-size:18px}.features{gap:18px}.features article{padding:20px 18px}.web-section h2{font-size:21px}.web-section p{font-size:13px}.web-cta h2{font-size:19px}.web-cta .primary{font-size:12px;padding:12px 17px;min-height:44px}.admin-layout{grid-template-columns:210px 1fr}.sidebar .brand{font-size:18px}.sidebar nav button{font-size:12px;padding:12px 10px}.admin-main{padding:24px}.admin-header h1{font-size:25px}.stats{gap:12px}.stats article{padding:16px}.stat-label{font-size:10px;gap:6px}.stats strong{font-size:30px}.card{padding:20px}.card h2{font-size:17px}.appearance form{column-gap:15px}.theme-option{padding:18px 12px;gap:8px}.theme-option strong{font-size:12px}.swatches i{width:28px;height:28px}.theme-actions .primary{padding:12px 14px;font-size:11px}.header-controls{gap:10px}}
@media(max-width:950px){.site-header nav{gap:18px;font-size:11px;margin-left:0}.brand{font-size:20px}.hero h1{font-size:40px}.hero-copy>p{font-size:15px}.hero{gap:18px}.actions{gap:10px}.hero .primary,.hero .outline{padding:11px 12px;font-size:10px;min-height:38px}.features article{padding:18px 14px}.features h2{font-size:15px}.features p{font-size:12px}.feature-icon{width:37px;height:37px}.web-section{gap:18px}.web-section h2{font-size:18px}.web-cta h2{font-size:16px}.web-cta .primary{font-size:10px;padding:11px 12px;min-height:38px}.admin-layout{grid-template-columns:180px 1fr}.sidebar{padding:22px 10px}.sidebar .brand{font-size:16px;gap:6px}.sidebar .brand img{width:28px;height:28px}.sidebar nav button{font-size:11px;gap:10px}.admin-main{padding:20px}.stats{grid-template-columns:repeat(2,1fr)}.overview-grid{grid-template-columns:1fr}.service p{margin-top:20px}.appearance form{grid-template-columns:1fr}.theme-actions{display:flex;margin-top:18px}.header-controls .platform-badge{display:none}}
@media(max-width:650px){.landing-body{padding:12px}.site-shell{padding:20px 20px 17px;border-radius:18px}.site-header{margin-bottom:26px;height:36px;gap:10px}.site-header nav{display:none}.site-header .brand{font-size:20px;gap:7px}.site-header .brand img{width:30px;height:30px}.site-header>.outline{padding:6px 17px;font-size:11px;min-height:31px}.hero{grid-template-columns:1fr;gap:25px;padding-bottom:24px}.hero h1{font-size:clamp(38px,10.5vw,56px);letter-spacing:-1.8px;margin-bottom:17px}.hero-copy>p{font-size:16px;margin-bottom:20px}.hero .primary,.hero .outline{font-size:11px;min-height:41px;padding:11px 14px}.actions{gap:8px}.messenger-visual{border-radius:12px}.features{grid-template-columns:1fr 1fr;gap:12px}.features article{padding:18px 14px;border-radius:13px}.features h2{font-size:14px}.features p{font-size:11px}.feature-icon{width:34px;height:34px;margin-bottom:10px}.feature-icon svg{width:21px;height:21px}.web-section{grid-template-columns:1fr;gap:22px;padding:28px 0 19px;text-align:center}.web-section h2{font-size:22px}.web-section p{font-size:14px}.devices-visual{width:80%;max-width:340px;justify-self:center}.web-cta{justify-self:center}.web-cta h2{font-size:19px}.web-cta .primary{font-size:12px;min-height:42px;padding:12px 20px}footer.wrap{gap:12px;flex-wrap:wrap;justify-content:center;padding-top:16px;border-top:1px solid var(--line)}footer .brand{font-size:15px}footer>div{gap:18px}.text-button{font-size:10px}.admin-body{padding:10px}.admin-layout{display:block;border-radius:16px;min-height:calc(100vh - 20px)}.sidebar{padding:18px}.sidebar .brand{font-size:20px;margin:0 0 18px}.sidebar nav{display:flex;overflow:auto;gap:6px;padding-bottom:4px}.sidebar nav button{font-size:11px;padding:10px;gap:8px;flex-shrink:0}.sidebar nav button svg{width:17px;height:17px}.sidebar-bottom{padding-top:13px;margin-top:12px}.sidebar-bottom>div{font-size:11px}.profile-avatar{height:25px;width:25px}.admin-main{padding:22px 15px}.admin-header{align-items:flex-start;gap:15px;flex-wrap:wrap;margin-bottom:18px}.admin-header h1{font-size:23px}.header-controls{margin-left:auto}.period-control{padding:8px}.period-control select{font-size:10px}.stats article{padding:14px;min-height:123px}.stat-label{font-size:9px;gap:6px}.stat-label svg{width:16px;height:16px}.stats strong{font-size:27px;margin:8px 0}.stats small{font-size:9px}.card{padding:18px}.card h2{font-size:16px}.chart-tag{font-size:9px;padding:6px 8px}.appearance fieldset{gap:9px}.theme-option{padding:15px 10px;gap:7px;flex-wrap:wrap}.theme-option strong{font-size:11px;white-space:normal}.theme-option input{width:17px;height:17px}.swatches{gap:4px}.swatches i{width:23px;height:24px}.theme-option small{font-size:8px}.theme-actions{justify-content:space-between}.theme-actions .primary{font-size:12px;padding:11px 20px}.login-card{padding:26px;margin:5vh auto}.service p{font-size:12px}.service p>span{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Пропорции согласованного desktop-макета: весь лендинг помещается в один экран. */
@media(min-width:1201px){.site-shell{padding-top:18px;padding-bottom:18px}.site-header{height:38px;margin-bottom:0}.hero{grid-template-columns:.95fr 1.05fr;padding-bottom:20px}.hero-copy{padding-left:16px}.features article{padding:18px 24px}.feature-icon{width:36px;height:36px;margin-bottom:10px}.feature-icon svg{width:22px;height:22px}.web-section{padding:12px 0 8px}.devices-visual{width:88%;justify-self:center}footer.wrap{padding-top:0}}
.arrow-icon{width:18px;height:18px;flex-shrink:0}.sidebar-bottom button svg{width:18px;height:18px}
@media(max-width:650px){.hero .primary,.hero .outline{gap:8px;padding-left:12px;padding-right:12px}.hero .arrow-icon{width:15px;height:15px}}

.install-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.install-button{display:inline-flex;align-items:center;gap:10px;padding:10px 15px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);text-align:left;font-size:14px;font-weight:600}.install-button:hover{background:var(--soft);border-color:var(--accent)}.install-button svg{width:24px;height:26px;color:var(--accent);flex-shrink:0}.install-button small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-bottom:3px}#apple-install{width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:30px;border:1px solid var(--line);border-radius:20px;color:var(--ink);box-shadow:0 20px 90px #0c163644}#apple-install::backdrop{background:#0c163688}#apple-install h2{font-size:25px;letter-spacing:-.5px;margin-bottom:12px}#apple-install p,#apple-install li{font-size:14px;line-height:1.6;color:var(--muted)}#apple-install ol{padding-left:22px;margin:20px 0}#apple-install li{padding-left:5px;margin-bottom:12px}#apple-install li a{color:var(--accent);text-decoration:underline}#apple-install .install-hint{font-size:12px;margin:18px 0 0}.dialog-close{position:absolute;right:14px;top:10px;border:0;background:transparent;color:var(--muted);font-size:28px;padding:4px 8px}@media(max-width:650px){.install-actions{gap:8px;margin-top:14px}.install-button{padding:10px;gap:7px;font-size:12px}.install-button small{font-size:8px}.install-button svg{width:19px;height:23px}#apple-install{padding:24px}#apple-install h2{font-size:22px}}

.user-description,#users p{color:var(--muted);font-size:14px;line-height:1.5}.user-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:16px;align-items:end}.user-fields label,.temporary-password-result label{display:grid;gap:8px;font-size:13px;font-weight:600}.user-fields input,.temporary-password-result input{width:100%;min-width:0;border:1px solid var(--line);border-radius:9px;padding:13px;background:#fff;color:var(--ink);font-size:14px}.optional{font-weight:400;color:var(--muted)}.user-fields .primary{font-size:13px}.user-list-card{margin-top:22px}.temporary-password-result{margin-top:20px;padding:20px;border:1px solid var(--accent);border-radius:14px;background:var(--soft)}.temporary-password-result h3{font-size:18px;margin-bottom:8px}.temporary-password-result input{max-width:360px;font-family:monospace;font-size:20px;letter-spacing:1px}.credential-actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin:14px 0}.credential-actions .outline{font-size:12px;min-height:40px;padding:10px 16px}#create-user-status:empty{display:none}#password-expires{font-size:12px;margin-bottom:0}@media(max-width:950px){.user-fields{grid-template-columns:1fr 1fr}.user-fields .primary{grid-column:1/-1;justify-self:start}}@media(max-width:650px){.user-fields{grid-template-columns:1fr}.user-fields .primary{width:100%}.temporary-password-result{padding:14px}.temporary-password-result input{font-size:17px}.credential-actions{gap:12px}#users p{font-size:12px}.optional{font-size:11px}}
