:root{color:var(--text);background:var(--bg);font-variant-numeric:tabular-nums;--bg:#f4f5f7;--surface:#fff;--surface-2:#f0f2f4;--surface-3:#e4e7eb;--line:#dde1e6;--line-2:#c3c9d1;--text:#12151a;--muted:#5b6474;--accent:#2457d6;--link:#1d47b3;--accent-weak:#e7eefc;--ok-bg:#e2f2e7;--ok:#16623a;--warn-bg:#fcefd8;--warn:#714300;--err-bg:#fbe5e2;--err:#a0261b;--proc-bg:#eee9fa;--proc:#523898;--safe-bottom:max(env(safe-area-inset-bottom,0px), var(--tg-content-safe-area-inset-bottom,0px));--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;-webkit-font-smoothing:antialiased;font:14px/1.4 IBM Plex Sans,system-ui,-apple-system,sans-serif}:root[data-theme=dark]{--bg:#0c0e11;--surface:#14171c;--surface-2:#1a1e24;--surface-3:#232831;--line:#272c34;--line-2:#3a414c;--text:#e6e9ed;--muted:#8f97a4;--accent:#3b6cd8;--link:#8fb2ff;--accent-weak:#1a2747;--ok-bg:#12301e;--ok:#83d6a2;--warn-bg:#382a12;--warn:#f0c37e;--err-bg:#3a1a17;--err:#f2a79e;--proc-bg:#271f40;--proc:#c5b5f4;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}h1,h2,p{margin:0}h1{letter-spacing:-.01em;font-size:20px;font-weight:600;line-height:1.25}h2{font-size:15px;font-weight:600}small,.small{font-size:12px}.muted{color:var(--muted)}.mono,.time,.big-time,.kpis b{font-family:IBM Plex Mono,ui-monospace,monospace}svg{stroke-width:1.7px;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--link);outline-offset:3px}.sidebar{display:none}.workspace{min-width:0}.appbar{background:var(--surface);border-bottom:1px solid var(--line);height:64px;padding:0 16px;padding-top:var(--tg-content-safe-area-inset-top,0px);justify-content:space-between;align-items:center;gap:8px;display:flex}.appbar>div{align-items:center;gap:8px;display:flex}.appbar small{color:var(--muted);font-size:11px;display:block}.appbar h1{font-size:20px}.icon-button{background:0 0;border:0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.icon-button:hover{background:var(--surface-2)}.avatar{background:var(--surface-3);width:32px;height:32px;color:var(--muted);border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;font:600 12px IBM Plex Mono,monospace;display:inline-flex}.content{padding:12px 16px calc(90px + var(--safe-bottom));flex-direction:column;gap:12px;max-width:1360px;margin:auto;display:flex}.tabbar{z-index:10;background:var(--surface);border-top:1px solid var(--line);padding:4px 4px calc(6px + var(--safe-bottom));grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.tabbar a{min-height:52px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11px;display:flex;position:relative}.tabbar a[aria-current]{color:var(--link);font-weight:600}.tabbar a[aria-current]:before{content:"";background:var(--accent);height:2px;position:absolute;top:-5px;left:30%;right:30%}.tabbar a:hover{background:var(--surface-2);text-decoration:none}.desktop-heading{display:none}.stack,.section,fieldset{flex-direction:column;gap:10px;min-width:0;display:flex}.section{gap:6px}.section-heading,.between{justify-content:space-between;align-items:center;gap:8px;display:flex}.section-heading a{font-size:12px}.wrap{flex-wrap:wrap}.home-grid{align-items:start;gap:12px;display:grid}.card,.list{background:var(--surface);border:1px solid var(--line);border-radius:6px;min-width:0}.list{overflow:hidden}.pad{padding:12px}.next{flex-direction:column;gap:7px;padding:12px;display:flex}.big-time{letter-spacing:-.02em;font-size:24px;font-weight:500}.actions{flex-wrap:wrap;gap:8px;display:flex}.actions>*{flex:1}.btn{border:1px solid var(--line-2);background:var(--surface);min-height:44px;color:var(--text);border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:8px 16px;font-size:15px;font-weight:500;text-decoration:none;display:inline-flex}.btn:hover{background:var(--surface-2);text-decoration:none}.primary{background:var(--accent);border-color:var(--accent);color:#fff}.primary:hover{background:var(--link);color:#fff}.danger{color:var(--err)}.full{width:100%}.link{color:var(--link);font:inherit;cursor:pointer;background:0 0;border:0;padding:6px 0}.row{border:0;border-bottom:1px solid var(--line);background:var(--surface);text-align:left;width:100%;min-height:56px;color:var(--text);overflow-wrap:anywhere;align-items:center;gap:12px;padding:9px 12px;text-decoration:none;display:flex}.row:last-child{border-bottom:0}.row:hover:is(button){background:var(--surface-2)}.grow{flex:1;min-width:0}.grow strong{font-size:14px;font-weight:500;display:block}.grow small{color:var(--muted);margin-top:2px;display:block}.row>svg{color:var(--muted)}.row .badge{white-space:normal;max-width:48%;height:auto;min-height:22px}.time{flex-shrink:0;width:48px;font-size:15px;font-weight:500}.time small{color:var(--muted);margin-top:2px;font:11px IBM Plex Sans,sans-serif;display:block}.badge{background:var(--surface-2);color:var(--muted);border-radius:3px;align-items:center;gap:6px;padding:3px 7px;font-size:12px;font-weight:500;line-height:16px;display:inline-flex}.badge:before{content:"";background:currentColor;border-radius:1px;flex-shrink:0;width:6px;height:6px}.badge.ok{background:var(--ok-bg);color:var(--ok)}.badge.err{background:var(--err-bg);color:var(--err)}.badge.warn{background:var(--warn-bg);color:var(--warn)}.badge.proc{background:var(--proc-bg);color:var(--proc)}.notice{background:var(--accent-weak);overflow-wrap:anywhere;border-radius:6px;padding:10px 12px;line-height:1.45}.notice.error{background:var(--err-bg);color:var(--err)}.empty,.loading{text-align:center;color:var(--muted);padding:24px 12px}.kpis{border:1px solid var(--line);background:var(--line);border-radius:6px;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.kpis>div{background:var(--surface);flex-direction:column;gap:3px;min-width:0;padding:10px 12px;display:flex}.kpis small{color:var(--muted);font-size:11px}.kpis b{overflow-wrap:anywhere;font-size:20px;font-weight:500}.setup{flex-direction:column;gap:6px;padding:10px 12px;display:flex}.setup small{color:var(--muted)}progress{width:100%;height:5px;accent-color:var(--accent);background:var(--surface-3);border:0}progress::-webkit-progress-bar{background:var(--surface-3)}.segments{border:1px solid var(--line-2);background:var(--surface);border-radius:6px;display:flex;overflow:hidden}.segments>button{border:0;border-right:1px solid var(--line-2);background:0 0;flex:1;min-height:38px;padding:6px 10px;font-size:13px}.segments>button:last-child{border:0}.segments>button[aria-pressed=true]{background:var(--text);color:var(--surface)}.week{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.week button{border:1px solid var(--line);background:var(--surface);border-radius:4px;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:7px 0;display:flex}.week button[aria-pressed=true]{background:var(--accent-weak);border-color:var(--accent);color:var(--link)}.week small{color:var(--muted);font-size:11px}.filters{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.filters>select{flex:1;min-width:130px}.filters>.field{flex:1}.check{align-items:center;gap:7px;min-height:44px;display:flex}.check input{width:17px;height:17px;accent-color:var(--accent);margin:0}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field>span{color:var(--muted);font-size:13px;font-weight:500}input,textarea,select{border:1px solid var(--line-2);background:var(--surface);border-radius:6px;width:100%;min-width:0;min-height:44px;padding:9px 12px;font-size:15px}input[type=checkbox],input[type=radio]{width:auto;min-height:auto}textarea{resize:vertical;line-height:1.45}input[type=file]{padding:8px;font-size:12px}fieldset{border:0;min-width:0;margin:0;padding:0}form.stack{gap:12px}.kv{border-bottom:1px solid var(--line);overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:12px;min-height:40px;padding:9px 12px;display:flex}.kv:last-child{border:0}.kv>span:first-child{color:var(--muted);flex-shrink:0;max-width:45%;font-size:13px}.kv>span:last-child{text-align:right;min-width:0}.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.schedule-row{grid-template-columns:minmax(100px,1fr) 90px 90px;align-items:center;gap:6px;display:grid}.schedule-row input[type=time]{padding:7px;font-size:13px}.schedule-row .check{font-size:12px}.auth{flex-direction:column;gap:20px;max-width:420px;margin:10vh auto;padding:24px 16px;display:flex}.brand{color:var(--text);font-size:20px;font-weight:600}details{border:1px solid var(--line);background:var(--surface);border-radius:6px;padding:12px}summary{cursor:pointer;min-height:32px}.slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.slots label{border:1px solid var(--line-2);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;gap:4px;padding:10px 6px;font-size:12px;display:flex}.slots .selected{border-color:var(--accent);background:var(--accent-weak)}.prose{white-space:pre-wrap;overflow-wrap:anywhere}.attachment{border-bottom:1px solid var(--line);overflow-wrap:anywhere;align-items:center;gap:10px;padding:10px 0;display:flex}.chart{align-items:end;gap:6px;height:200px;margin-bottom:12px;display:flex;overflow-x:auto}.chart>div{flex-direction:column;flex:1;align-items:center;gap:6px;min-width:32px;display:flex}.chart-column{background:var(--accent);width:65%;min-height:1px}.chart small{color:var(--muted);font-size:10px}.analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}dialog{border:1px solid var(--line);background:var(--surface);width:calc(100% - 24px);max-width:520px;max-height:calc(100dvh - 40px);color:var(--text);border-radius:10px;padding:0}dialog::backdrop{background:#0a0c1080}dialog>header{border-bottom:1px solid var(--line);background:var(--surface);z-index:1;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;display:flex;position:sticky;top:0}.dialog-body{padding:16px}.mobile-create{width:100%}@media (width>=900px){.app{grid-template-columns:220px minmax(0,1fr);display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;height:100dvh;padding:24px 16px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;display:flex}.brand-square{background:var(--accent);color:#fff;border-radius:4px;justify-content:center;align-items:center;width:32px;height:32px;font:500 14px IBM Plex Mono,monospace;display:inline-flex}.role{margin:10px 0 24px;font-size:11px}.sidebar nav{flex-direction:column;gap:4px;display:flex}.sidebar nav a{min-height:44px;color:var(--muted);border-radius:4px;align-items:center;gap:10px;padding:10px 12px;display:flex}.sidebar nav a[aria-current]{color:var(--link);background:var(--accent-weak);font-weight:500}.sidebar-user{border-top:1px solid var(--line);flex-direction:column;gap:4px;margin-top:auto;padding-top:16px;display:flex}.sidebar-user small{color:var(--muted)}.tabbar{display:none}.content{gap:16px;padding:24px 32px 40px}.appbar{height:64px;padding:0 32px}.desktop-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.desktop-heading h1{font-size:24px}.home-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px}.mobile-create{display:none}.analytics-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.week{max-width:700px}.schedule-row{grid-template-columns:minmax(150px,1fr) 140px 140px}form{max-width:660px}.next{padding:16px}.big-time{font-size:28px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media (width<=350px){.content{padding-left:12px;padding-right:12px}.row{gap:8px;padding:9px}.row .badge{max-width:42%;font-size:11px}.schedule-row{grid-template-columns:minmax(90px,1fr) 82px 82px;gap:4px}.slots{grid-template-columns:repeat(2,minmax(0,1fr))}}.badge.info{background:var(--accent-weak);color:var(--link)}.next-section{border:1px solid var(--line);background:var(--surface);border-radius:6px;gap:0;overflow:hidden}.next-section>.section-heading{border-bottom:1px solid var(--line);padding:10px 12px}.next-section>.section-heading h2{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:11px}.next-section>.card{border:0;border-radius:0}.today-section{display:none}.setup strong{font-size:13px;font-weight:500}progress::-webkit-progress-value{background:var(--ok)}@media (width>=900px){.today-section{display:flex}}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums;padding:9px 10px}th{color:var(--muted);background:var(--surface-2);white-space:nowrap;font-size:11px;font-weight:500}tr:last-child td{border-bottom:0}.chart-stack{flex-direction:column;justify-content:flex-end;width:65%;height:150px;display:flex}.chart-stack i{background:var(--accent);width:100%;min-height:1px;display:block}:root{--chart-holding:#eb6834}.legend{color:var(--muted);gap:16px;font-size:12px;display:flex}.legend span:before{content:"";background:var(--accent);width:8px;height:8px;margin-right:6px;display:inline-block}.legend span:last-child:before{background:var(--chart-holding)}.appbar{height:52px}.big-time{font-size:30px}.kpis small:first-child{text-transform:uppercase;letter-spacing:.03em;font-size:10px;font-weight:500}.kpis b{font-size:19px}@media (width>=900px){.appbar{height:64px}}.desktop-summary{display:none}.nav-count{background:var(--err);color:#fff;text-align:center;border-radius:3px;min-width:16px;height:16px;padding:0 4px;font:600 10px/16px IBM Plex Mono,monospace}.tabbar .nav-count{position:absolute;top:3px;left:calc(50% + 6px)}@media (width>=900px){.desktop-summary{grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.home-kpis{display:none}.app{grid-template-columns:220px minmax(0,1fr)}.content{padding:24px 40px 40px}.home-layout .appbar{display:none}.desktop-heading h1{margin-top:4px}.home-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.home-layout .setup{display:none}.next .actions{justify-content:flex-start}.next .actions .btn{flex:none;min-height:32px;padding:6px 10px;font-size:13px}.next .big-time{font-size:32px}.next .muted.small{display:none}.next-topic{font-size:12px}}:root{--safe-top:max(env(safe-area-inset-top,0px), var(--tg-safe-area-inset-top,0px), var(--tg-content-safe-area-inset-top,0px));--safe-bottom:max(env(safe-area-inset-bottom,0px), var(--tg-safe-area-inset-bottom,0px), var(--tg-content-safe-area-inset-bottom,0px))}.app{min-height:var(--viewport-height,100dvh)}:root[data-telegram=true] .app{display:block}:root[data-telegram=true] .sidebar{display:none}:root[data-telegram=true] .appbar{height:calc(52px + var(--safe-top));padding:var(--safe-top) 16px 0;display:flex}:root[data-telegram=true] .back-button{display:none}:root[data-telegram=true] .content{max-width:680px;padding:12px max(16px, var(--tg-content-safe-area-inset-right,0px)) calc(90px + var(--safe-bottom)) max(16px, var(--tg-content-safe-area-inset-left,0px))}:root[data-telegram=true] .tabbar{max-width:680px;margin:auto;display:grid}:root[data-telegram=true] .home-grid{grid-template-columns:minmax(0,1fr)}:root[data-telegram=true] .desktop-heading,:root[data-telegram=true] .desktop-summary,:root[data-telegram=true] .today-section{display:none}:root[data-telegram=true] .home-kpis{display:grid}:root[data-telegram=true] .setup,:root[data-telegram=true] .mobile-create{display:flex}:root[data-telegram=true] .next .actions .btn{flex:1;min-height:44px;font-size:15px}:root[data-telegram=true] .next .muted.small{display:block}:root[data-keyboard=true] .tabbar{display:none}:root[data-keyboard=true] .content{padding-bottom:24px}.legal-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.legal-card{padding:16px}.legal-preview{background:#fff;border:1px solid;border-radius:8px;width:100%;height:min(55dvh,650px)}.legal-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:55dvh;font:inherit;overflow:auto}.legal-checkbox{align-items:flex-start;gap:12px;margin:20px 0;display:flex}.legal-checkbox input{flex:none;width:20px;height:20px;margin-top:3px}.seller-footer{border-top:1px solid var(--line);background:var(--surface);color:var(--muted);padding:24px 20px calc(88px + var(--safe-bottom))}.seller-footer-inner{max-width:1120px;margin:0 auto}.seller-footer h2{color:var(--text);margin:0 0 18px;font-size:16px}.seller-footer h3{color:var(--text);margin:0 0 8px;font-size:14px}.seller-footer p{overflow-wrap:anywhere;margin:6px 0}.seller-footer-grid{gap:24px;display:grid}.seller-footer a{text-underline-offset:3px;text-decoration:underline}@media (width>=600px){.seller-footer-grid{grid-template-columns:1fr 1fr}}@media (width>=900px){.seller-footer{padding-bottom:28px}body:has(.app) .seller-footer{margin-left:220px}}
