.driver-layer{width:auto;max-width:none;height:auto;max-height:none;color:inherit;pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:0;overflow:visible}.driver-layer::backdrop{display:none}.driver-layer .driver-popover{pointer-events:auto}.driver-popover{all:unset;font-family:var(--driver-popover-font-family,"Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif);box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover-title{zoom:1;margin:0;font-size:19px;font-weight:700;line-height:1.5;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus-visible{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.5}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration,.4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration,.4s)}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--brand-900:#0b3d2e;--brand-800:#0f5a40;--brand-700:#136f4f;--brand-600:#17855f;--brand-200:#bfe3d1;--brand-100:#dcf0e6;--brand-50:#eef8f3;--amber-500:#f2a541;--amber-100:#fdf0dc;--bg:#f3f5f4;--surface:#fff;--surface-muted:#f8faf9;--border:#e1e7e4;--border-strong:#cdd7d2;--text:#15211b;--text-muted:#5b6863;--text-subtle:#687570;--fs-2xs:.75rem;--fs-xs:.8125rem;--fs-sm:.875rem;--fs-md:1rem;--fs-lg:1.125rem;--fs-xl:1.375rem;--fs-2xl:1.625rem;--fs-3xl:2rem;--fs-base:clamp(1rem, .95rem + .2vw, 1.0625rem);--attention:#b42318;--attention-bg:#fdeceb;--attention-line:#e8806f;--watch:#9a5b05;--watch-bg:#fff3df;--watch-line:#e9a23b;--ok:#12704c;--ok-bg:#e5f4ec;--ok-line:#3fa77a;--info:#2a4a8a;--info-bg:#e8eef9;--radius-lg:14px;--radius:10px;--radius-sm:8px;--shadow-sm:0 1px 2px #1020180f, 0 1px 3px #1020180a;--shadow-md:0 4px 14px #10201814;--shadow-lg:0 16px 40px #10201829;--focus:0 0 0 3px #17855f4d;--topbar-h:60px;--sidebar-w:264px;--bottom-nav-h:64px;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-family:Inter Variable,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:100%;line-height:1.5}*{box-sizing:border-box}body{background:var(--bg);min-height:100vh;font-size:var(--fs-base);margin:0}h1,h2,h3{color:var(--text);letter-spacing:-.01em;text-wrap:balance}h1{font-size:var(--fs-2xl);margin:0 0 6px;line-height:1.25}h2{font-size:var(--fs-lg);margin:24px 0 12px}h3{font-size:var(--fs-md);margin:0 0 6px}a{color:var(--brand-700)}:focus-visible{box-shadow:var(--focus);outline:none}.num,.big,.kpi-value,table td,.totals dd{font-variant-numeric:tabular-nums}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.brand{font-weight:700;font-size:var(--fs-lg);color:var(--brand-900);letter-spacing:-.01em;align-items:center;gap:10px;min-width:0;text-decoration:none;display:inline-flex}.brand-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.brand-logo{object-fit:contain;border-radius:6px;flex:none;width:auto;max-width:120px;height:34px}.brand-mark.pending{box-shadow:none;background:0 0}@media (width<=479px){.brand-logo{max-width:64px;height:30px}}@media (width<=359px){.brand.has-logo .brand-name{display:none}}.brand-mark{background:linear-gradient(var(--amber-500) 0 0) 6px 8px / 18px 3px no-repeat, linear-gradient(var(--amber-500) 0 0) 6px 14px / 18px 3px no-repeat, linear-gradient(var(--amber-500) 0 0) 6px 20px / 18px 3px no-repeat, linear-gradient(145deg, var(--brand-600), var(--brand-800));border-radius:8px;flex:none;width:30px;height:30px;box-shadow:inset 0 -2px #0000001f}form{flex-direction:column;gap:16px;display:flex}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field-label{font-weight:600;font-size:var(--fs-sm);color:var(--text)}.field-hint{color:var(--text-muted);font-size:var(--fs-xs)}fieldset.field{border:0;margin:0;padding:0}input,select,textarea{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);font-size:16px;transition:border-color .15s,box-shadow .15s}input,select{min-height:44px;padding:9px 12px}textarea{padding:10px 12px}input:hover,select:hover,textarea:hover{border-color:var(--text-subtle)}input:focus,select:focus,textarea:focus{border-color:var(--brand-600);box-shadow:var(--focus);outline:none}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235b6863' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:36px}.check{align-items:center;gap:10px;min-height:40px;display:flex}.role-editor .check{min-height:48px;padding:4px 0}.sticky-actions{z-index:1;background:var(--surface);border-top:1px solid var(--border);padding:12px 0;position:sticky;bottom:0}.check input{width:20px;height:20px;min-height:0;accent-color:var(--brand-700);padding:0}button,a.button{font:inherit;font-weight:600;font-size:var(--fs-sm);border-radius:var(--radius-sm);background:var(--brand-700);color:#fff;cursor:pointer;text-align:center;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 18px;text-decoration:none;transition:background .15s,border-color .15s,box-shadow .15s;display:inline-flex}button:hover,a.button:hover{background:var(--brand-800)}button:disabled{opacity:.6;cursor:wait}button.secondary,a.button.secondary{background:var(--surface);color:var(--text);border-color:var(--border-strong);box-shadow:var(--shadow-sm)}button.secondary:hover,a.button.secondary:hover{background:var(--surface-muted);border-color:var(--text-subtle)}button.danger{background:var(--attention)}button.danger:hover{background:#8f1c13}button.link{color:var(--brand-700);text-underline-offset:3px;background:0 0;border:0;justify-content:flex-start;min-height:36px;padding:0;text-decoration:underline}button.link:hover{color:var(--brand-900);background:0 0}button.small{min-height:36px;font-size:var(--fs-sm);padding:0 12px}button.primary-large{min-height:52px;font-size:var(--fs-md);padding:0 28px}.icon-button{width:44px;min-height:44px;color:var(--text);border-radius:var(--radius-sm);background:0 0;padding:0}.icon-button:hover{background:var(--brand-50)}.actions{flex-flow:wrap;align-items:center;gap:10px;display:flex}.help{color:var(--text-muted);margin:0 0 16px;line-height:1.5}.muted{color:var(--text-muted);font-size:var(--fs-sm)}.error{color:var(--attention);margin:0;font-weight:500}.negative{color:var(--attention)}.positive{color:var(--ok)}.notice{background:var(--brand-50);border:1px solid var(--brand-200);color:var(--brand-900);border-radius:var(--radius);margin:0 0 16px;padding:12px 14px}.badge{background:var(--amber-100);color:var(--watch);font-weight:600;font-size:var(--fs-xs);border-radius:999px;padding:3px 10px;display:inline-block}.big{font-size:var(--fs-2xl);color:var(--text);letter-spacing:-.02em;font-weight:700}.status,.pill{font-size:var(--fs-xs);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-weight:600;line-height:1;display:inline-flex}.status:before,.pill:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.status-pending,.pill-watch{background:var(--watch-bg);color:var(--watch)}.status-active,.pill-ok{background:var(--ok-bg);color:var(--ok)}.status-locked,.pill-info{background:var(--info-bg);color:var(--info)}.status-rejected,.status-suspended,.pill-attention{background:var(--attention-bg);color:var(--attention)}.pill-neutral{background:var(--surface-muted);color:var(--text-muted)}.count-badge{background:var(--attention);color:#fff;min-width:22px;height:22px;font-size:var(--fs-xs);border-radius:999px;place-items:center;padding:0 6px;font-weight:700;display:inline-grid}.tags{flex-wrap:wrap;gap:6px;display:flex}.tags:empty{display:none}.auth-page{flex-direction:column;min-height:100vh;display:flex}.auth-brand{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:28px 16px 8px;display:flex}.auth-pitch{display:none}.auth-main{flex:1;justify-content:center;align-items:flex-start;padding:16px 16px 40px;display:flex}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);width:100%;max-width:420px;box-shadow:var(--shadow-md);padding:28px 24px}.slogan{color:var(--text-muted);margin:0}.slogan strong{color:var(--brand-900)}.language-switch{border:1px solid var(--border);background:var(--surface-muted);border-radius:999px;gap:2px;width:fit-content;padding:3px;display:flex}.language-switch button{min-height:32px;color:var(--text-muted);font-size:var(--fs-sm);background:0 0;border:0;border-radius:999px;padding:4px 12px;font-weight:600}.language-switch button:hover{background:var(--surface);color:var(--text)}.language-switch button[aria-pressed=true]{background:var(--surface);color:var(--brand-900);box-shadow:var(--shadow-sm)}.auth-language{margin:0 0 12px auto}.menu-language{margin:4px 6px 6px}.qr{margin:0 auto 12px;display:block}.secret{word-break:break-all;background:var(--brand-50);border-radius:var(--radius-sm);margin-bottom:16px;padding:10px;display:block}@media (width>=900px){.auth-page{flex-direction:row}.auth-brand{text-align:left;color:#fff;background:radial-gradient(circle at 85% 10%, #f2a54138, transparent 40%), linear-gradient(160deg, var(--brand-800), var(--brand-900));flex:0 0 44%;justify-content:space-between;align-items:flex-start;max-width:620px;padding:48px 56px;position:relative;overflow:hidden}.auth-brand .brand,.auth-brand .slogan,.auth-brand .slogan strong{color:#fff}.auth-brand .slogan span{color:#ffffffb8}.auth-pitch{display:block}.auth-tagline{font-size:var(--fs-3xl);letter-spacing:-.02em;max-width:16ch;margin:0 0 28px;font-weight:700;line-height:1.2}.auth-points{flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;display:flex}.auth-points li{color:#ffffffe0;align-items:flex-start;gap:12px;display:flex}.auth-points svg{width:22px;height:22px;color:var(--amber-500);background:#ffffff24;border-radius:50%;flex:none;margin-top:2px;padding:3px}.auth-main{align-items:center;padding:48px 32px}}.skip-link{z-index:100;border-radius:var(--radius-sm);background:var(--brand-900);color:#fff;padding:10px 14px;position:absolute;top:-60px;left:12px}.skip-link:focus{top:12px}.env-ribbon{text-align:center;font-size:var(--fs-xs);letter-spacing:.01em;color:#fff;background:#a4501a;padding:6px 16px;font-weight:600}.topbar{z-index:30;height:var(--topbar-h);-webkit-backdrop-filter:saturate(160%)blur(8px);backdrop-filter:saturate(160%)blur(8px);border-bottom:1px solid var(--border);background:#ffffffeb;align-items:center;gap:8px;padding:0 12px;display:flex;position:sticky;top:0}.topbar-spacer{flex:1}.shell-body{align-items:flex-start;display:flex}.main{outline:none;flex:1;min-width:0;padding:20px 16px 96px}.has-bottom-nav .main{padding-bottom:calc(var(--bottom-nav-h) + 96px)}.sidebar{z-index:60;background:var(--surface);border-right:1px solid var(--border);width:min(86vw,320px);box-shadow:var(--shadow-lg);visibility:hidden;flex-direction:column;gap:8px;padding:12px;transition:transform .22s;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto;transform:translate(-105%)}.drawer-open .sidebar{visibility:visible;transform:none}.scrim{z-index:55;background:#0a191266;position:fixed;inset:0}.drawer-head{justify-content:space-between;align-items:center;padding:0 0 4px 8px;display:flex}.drawer-title{font-weight:700}.side-nav{flex-direction:column;gap:14px;margin-top:4px;display:flex}.nav-group ul{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.nav-group-label{font-size:var(--fs-2xs);letter-spacing:.08em;text-transform:uppercase;color:var(--text-subtle);margin:0 0 4px;padding:0 12px;font-weight:700}.nav-group ul[hidden]{display:none}.nav-group-toggle{width:100%;min-height:36px;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;text-align:left;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:8px;padding:0 12px;display:flex}.nav-group-toggle:hover{background:var(--surface-muted);color:var(--text)}.nav-group-chevron{flex:none;margin-left:auto;transition:transform .15s}.nav-group-toggle[aria-expanded=false] .nav-group-chevron{transform:rotate(-90deg)}.nav-item{border-radius:var(--radius-sm);min-height:44px;color:var(--text-muted);align-items:center;gap:12px;padding:0 12px;font-weight:500;text-decoration:none;transition:background .15s,color .15s;display:flex;position:relative}.nav-item:hover{background:var(--surface-muted);color:var(--text)}.nav-item.active{background:var(--brand-50);color:var(--brand-800);font-weight:600}.nav-item.active:before{content:"";background:var(--brand-700);border-radius:0 3px 3px 0;width:3px;position:absolute;top:8px;bottom:8px;left:-12px}.nav-label{flex:1}.sidebar-foot{color:var(--brand-700);font-style:italic;font-size:var(--fs-sm);margin:auto 0 0;padding:16px 12px 4px}.shop-picker{margin-top:8px}.shop-picker .field{margin:0}.switcher{position:relative}.switcher-button{background:var(--surface-muted);width:100%;min-height:56px;color:var(--text);border:1px solid var(--border);text-align:left;justify-content:flex-start;gap:10px;padding:8px 10px;font-weight:500}.switcher-button:hover{background:var(--brand-50);border-color:var(--brand-200)}.switcher-text{flex-direction:column;flex:1;min-width:0;display:flex}.switcher-name{text-overflow:ellipsis;font-weight:650;overflow:hidden}.switcher-detail{font-size:var(--fs-xs);color:var(--text-muted);font-weight:500}.business-avatar{border-radius:var(--radius-sm);background:linear-gradient(145deg, var(--brand-600), var(--brand-800));color:#fff;width:36px;height:36px;font-weight:700;font-size:var(--fs-sm);letter-spacing:.02em;flex:none;place-items:center;display:inline-grid}.business-avatar.small{width:28px;height:28px;font-size:var(--fs-2xs)}.menu{position:relative}.menu-panel{z-index:70;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-width:230px;box-shadow:var(--shadow-lg);flex-direction:column;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0}.switcher-panel{max-height:60vh;left:0;right:0;overflow-y:auto}.menu-item{border-radius:var(--radius-sm);min-height:40px;color:var(--text);font-weight:500;font-size:var(--fs-sm);text-align:left;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:10px;padding:6px 10px;text-decoration:none;display:flex}.menu-item:hover{background:var(--surface-muted)}.menu-item-text{text-overflow:ellipsis;flex:1;overflow:hidden}.user-button{min-height:44px;color:var(--text);background:0 0;border-radius:999px;gap:10px;padding:4px 8px 4px 4px}.user-button:hover{background:var(--surface-muted)}.avatar{background:var(--brand-100);width:34px;height:34px;color:var(--brand-800);font-weight:700;font-size:var(--fs-sm);border-radius:50%;place-items:center;display:inline-grid}.user-text{flex-direction:column;align-items:flex-start;line-height:1.2;display:none}.user-name{text-overflow:ellipsis;max-width:220px;font-weight:600;overflow:hidden}.user-role{font-size:var(--fs-xs);color:var(--text-muted);font-weight:500}.bottom-nav{z-index:35;height:calc(var(--bottom-nav-h) + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);background:var(--surface);border-top:1px solid var(--border);grid-auto-columns:1fr;grid-auto-flow:column;display:grid;position:fixed;inset:auto 0 0;box-shadow:0 -4px 16px #1020180f}.bottom-item{min-height:0;color:var(--text-muted);font-size:var(--fs-2xs);background:0 0;border:0;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:0 4px;font-weight:600;text-decoration:none;display:flex}.bottom-item:hover{color:var(--text);background:0 0}.bottom-item.active{color:var(--brand-700)}.fab{z-index:34;background:var(--brand-700);color:#fff;border-radius:999px;align-items:center;gap:8px;min-height:52px;padding:0 22px 0 18px;font-weight:700;text-decoration:none;transition:transform .15s,background .15s;display:inline-flex;position:fixed;bottom:20px;right:16px;box-shadow:0 8px 24px #136f4f59}.fab:hover{background:var(--brand-800);transform:translateY(-1px)}.has-bottom-nav .fab{bottom:calc(var(--bottom-nav-h) + env(safe-area-inset-bottom,0px) + 14px)}@media (width>=640px){.user-text{display:flex}.main{padding:28px 28px 104px}}@media (width>=1024px){.topbar{padding:0 20px}.menu-button,.drawer-head{display:none}.sidebar{top:var(--topbar-h);z-index:10;width:var(--sidebar-w);height:calc(100vh - var(--topbar-h));visibility:visible;box-shadow:none;flex:none;padding:16px 12px;transition:none;position:sticky;transform:none}.scrim{display:none}.main{padding:32px 40px 104px}.fab{bottom:28px;right:28px}}.page{max-width:1240px;margin:0 auto}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px 24px;margin-bottom:20px;display:flex}.page-heading{flex:320px;min-width:0}.page-heading h1{font-size:var(--fs-2xl);flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:0;display:flex}.page-meta{font-size:var(--fs-sm);color:var(--text-subtle);letter-spacing:0;font-weight:500}.page-description{max-width:75ch;color:var(--text-muted);margin:6px 0 0}.page-actions{flex-wrap:wrap;gap:10px;display:flex}.page-actions:empty{display:none}.section-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:28px 0 14px;display:flex}.section-head h2{margin:0}.subtabs{border-bottom:1px solid var(--border);scrollbar-width:none;gap:4px;margin:0 0 20px;display:flex;overflow-x:auto}button.subtab{min-height:44px;color:var(--text-muted);background:0 0;border:0;border-radius:0;padding:0 14px;font-weight:600;position:relative}button.subtab:hover{color:var(--text);background:0 0}button.subtab.active{color:var(--brand-800)}button.subtab.active:after{content:"";background:var(--brand-700);border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:-1px;left:8px;right:8px}.toolbar{flex-wrap:wrap;align-items:flex-end;gap:12px;margin:0 0 16px;display:flex}.toolbar .field{flex:0 240px}.filters.toolbar .field:first-child{flex:320px;max-width:480px}.card-box,.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.card-box{min-width:0;padding:18px 20px}.panel{margin-bottom:20px;padding:24px}form.panel,.panel.receipt{max-width:760px}.panel:has(>form){max-width:760px}.panel h2,.panel h3{margin-top:0}.card-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.card-title{font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}.card-title svg{color:var(--text-subtle)}.callout{border-left:4px solid var(--brand-600);flex-direction:column;gap:4px;margin-bottom:8px;display:flex}.callout .card-head{margin-bottom:0}.callout p{margin:0 0 10px}.callout .button{align-self:flex-start}.list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin:0 0 20px;padding:0;list-style:none;overflow:hidden}.list:empty{display:none}.list-item{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:12px 16px;padding:14px 18px;transition:background .12s;display:flex}.list-item:last-child{border-bottom:0}.list-item:hover{background:var(--surface-muted)}.list-item.column{flex-direction:column;align-items:stretch}.list-item.voided{opacity:.65}.list-item.voided strong{text-decoration:line-through}.list-main{flex-direction:column;gap:3px;min-width:0;display:flex}.list-side{text-align:right;flex-direction:column;align-items:flex-end;gap:8px;display:flex}.list-summary{margin:0 0 10px}.row-between{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}button.row-button{width:100%;min-height:0;color:inherit;text-align:left;white-space:normal;background:0 0;border:0;justify-content:space-between;align-items:flex-start;gap:12px;padding:0;font-weight:400;display:flex}button.row-button:hover{background:0 0}.sublist{flex-direction:column;gap:4px;margin:8px 0 0;padding-left:18px;display:flex}.product-row{grid-template-columns:1fr auto;align-items:center;display:grid}.product-figures{text-align:right;flex-direction:column;align-items:flex-end;gap:4px;display:flex}.row-actions{flex-wrap:wrap;grid-column:1/-1;gap:8px;display:flex}@media (width>=760px){.product-row{grid-template-columns:minmax(0,1fr) 170px auto}.row-actions{grid-column:auto;justify-content:flex-end}}.summary-card{background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--brand-600);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);flex-direction:column;gap:4px;margin:0 0 16px;padding:16px 20px;display:flex}.accounts{grid-template-columns:1fr;gap:12px;margin:0 0 20px;display:grid}.account-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);flex-direction:column;gap:4px;padding:16px 18px;display:flex}.empty-state{text-align:center;background:var(--surface);border:1px dashed var(--border-strong);border-radius:var(--radius-lg);flex-direction:column;align-items:center;gap:8px;margin:0 0 20px;padding:36px 20px;display:flex}.empty-icon{background:var(--brand-50);width:48px;height:48px;color:var(--brand-700);border-radius:50%;place-items:center;display:inline-grid}.empty-title{max-width:48ch;color:var(--text-muted);margin:0;font-weight:500}fieldset.line{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-muted);flex-direction:column;gap:12px;margin:0;padding:14px;display:flex}fieldset.new-product{border:1px dashed var(--brand-200);border-radius:var(--radius);background:var(--brand-50);padding:14px}fieldset.new-product legend{padding:0 6px}form.archive{border-top:1px solid var(--border);margin-top:20px;padding-top:16px}.filters{grid-template-columns:1fr;gap:12px;display:grid}.filters.toolbar{display:flex}.grid-2,.grid-3{grid-template-columns:1fr;gap:12px;display:grid}.totals{grid-template-columns:1fr auto;gap:6px 12px;margin:0;display:grid}.totals dd{text-align:right;margin:0}.contents{display:contents}.credentials{border-color:var(--amber-500);border-width:2px;margin-bottom:20px}.credentials dl{grid-template-columns:auto 1fr;gap:6px 12px;margin:12px 0;display:grid}.credentials dt{color:var(--text-muted)}.credentials dd{margin:0;font-weight:600}.credentials code{font-size:var(--fs-lg);letter-spacing:.05em}@media (width>=640px){.grid-2{grid-template-columns:1fr 1fr}.grid-3,.accounts{grid-template-columns:repeat(3,1fr)}}.table-scroll{overflow-x:auto}table.statement,table.trend,table.data-table{border-collapse:separate;border-spacing:0;background:var(--surface);width:100%}table.statement,table.trend{border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin:0 0 20px;overflow:hidden}table.statement th,table.statement td,table.trend th,table.trend td,table.data-table th,table.data-table td{border-bottom:1px solid var(--border);text-align:left;padding:11px 16px;font-weight:400}table.statement tr:last-child>*,table.trend tbody tr:last-child>*,table.data-table tbody tr:last-child>*{border-bottom:0}table.statement td,table.trend td{text-align:right;white-space:nowrap}table.statement .indent{padding-left:32px}table.statement .section th,table.trend thead th,table.data-table thead th{font-size:var(--fs-xs);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);background:var(--surface-muted);font-weight:700}table.statement .subtotal th,table.statement .subtotal td{font-weight:600}table.statement .total th,table.statement .total td{font-weight:700;font-size:var(--fs-lg);background:var(--surface-muted)}table.data-table{margin:-4px 0 0}table.data-table th[scope=row]{font-weight:600}table.data-table .right{text-align:right}table.data-table td:last-child,table.data-table th:last-child{text-align:right;width:1%}.dash{flex-direction:column;gap:20px;display:flex}.position{background:var(--surface);border:1px solid var(--border);border-left:5px solid var(--ok-line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px 24px;padding:20px 22px;display:flex}.position-attention{border-left-color:var(--attention-line)}.position-watch{border-left-color:var(--watch-line)}.position-text{flex:420px;min-width:0}.position h2{font-size:var(--fs-lg);margin:0 0 6px}.position-summary{font-size:var(--fs-md);color:var(--text);margin:0;line-height:1.55}.position-counts{gap:10px;margin:0;padding:0;list-style:none;display:flex}.count{border-radius:var(--radius);background:var(--surface-muted);border:1px solid var(--border);flex-direction:column;align-items:center;min-width:92px;padding:10px 12px;display:flex}.count strong{font-size:var(--fs-2xl);line-height:1.1}.count span{font-size:var(--fs-xs);color:var(--text-muted);font-weight:600}.count-attention strong{color:var(--attention)}.count-watch strong{color:var(--watch)}.count-ok strong{color:var(--ok)}.kpi-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:16px;display:grid}.kpi{background:var(--surface);border:1px solid var(--border);border-top:4px solid var(--border-strong);border-radius:var(--radius-lg);min-width:0;box-shadow:var(--shadow-sm);flex-direction:column;gap:4px;padding:16px 18px 14px;display:flex}.kpi-attention{border-top-color:var(--attention-line)}.kpi-watch{border-top-color:var(--watch-line)}.kpi-ok{border-top-color:var(--ok-line)}.kpi-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.kpi-label{font-size:var(--fs-sm);color:var(--text-muted);margin:0;font-weight:600}.kpi-value{font-size:var(--fs-3xl);letter-spacing:-.02em;overflow-wrap:anywhere;margin:4px 0 0;font-weight:700;line-height:1.15}.kpi-unit{font-size:var(--fs-xs);color:var(--text-subtle);letter-spacing:0;margin-left:6px;font-weight:600}.kpi-sub{font-size:var(--fs-sm);color:var(--text-muted);margin:0}.sparkline{width:100%;height:40px;color:var(--text-subtle);margin:8px 0 2px;display:block}.spark-ok{color:var(--ok-line)}.spark-watch{color:var(--watch-line)}.spark-attention{color:var(--attention-line)}.kpi-foot{font-size:var(--fs-xs);margin-top:auto;padding-top:8px}.kpi-compare{color:var(--text-muted)}.kpi-compare.better{color:var(--ok)}.kpi-compare.worse{color:var(--attention)}.kpi-link,.insight-link{font-weight:600;font-size:var(--fs-sm);color:var(--brand-700);align-items:center;gap:4px;text-decoration:none;display:inline-flex}.kpi-link:hover,.insight-link:hover{text-underline-offset:3px;text-decoration:underline}.dash-columns{grid-template-columns:1fr;gap:16px;display:grid}@media (width>=900px){.dash-columns{grid-template-columns:1fr 1fr}}@media (width>=1200px){.dash-columns.three{grid-template-columns:repeat(3,1fr)}}.insights-attention{border-top:4px solid var(--attention-line)}.insights-watch{border-top:4px solid var(--watch-line)}.insights .card-title svg{color:inherit}.insights-attention .card-title svg{color:var(--attention)}.insights-watch .card-title svg{color:var(--watch)}.insights p.muted{margin:0}.insight-list{margin:0;padding:0;list-style:none}.insight-list li{border-top:1px solid var(--border);grid-template-columns:auto 1fr;gap:4px 12px;padding:12px 0;display:grid}.insight-list li:first-child{border-top:0;padding-top:0}.insight-dot{border-radius:50%;width:9px;height:9px;margin-top:7px}.dot-attention{background:var(--attention)}.dot-watch{background:var(--watch-line)}.dot-ok{background:var(--ok-line)}.insight-list li.variance-line{grid-template-columns:auto 1fr auto;align-items:start}.insight-text{flex-direction:column;gap:2px;min-width:0;display:flex}.insight-link{grid-column:2;justify-self:start}.on-track{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:12px 18px}.on-track summary{cursor:pointer;color:var(--ok);align-items:center;gap:8px;font-weight:600;display:flex}.on-track ul{color:var(--text-muted);flex-direction:column;gap:4px;margin:10px 0 2px;padding-left:26px;display:flex}.account-list{margin:0;padding:0;list-style:none}.account-list li{border-top:1px solid var(--border);align-items:center;gap:12px;padding:10px 0;display:flex}.account-list li:first-child{border-top:0;padding-top:0}.account-icon{border-radius:var(--radius-sm);background:var(--brand-50);width:34px;height:34px;color:var(--brand-700);place-items:center;display:inline-grid}.account-name{flex:1}.figures{margin:0}.figures div{border-top:1px solid var(--border);justify-content:space-between;gap:12px;padding:10px 0;display:flex}.figures div:first-child{border-top:0;padding-top:0}.figures dt{color:var(--text-muted)}.figures dd{margin:0;font-weight:600}.bar-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.bar-label{font-size:var(--fs-sm);justify-content:space-between;gap:12px;margin-bottom:6px;display:flex}.bar-track{background:var(--surface-muted);border:1px solid var(--border);border-radius:999px;height:8px;overflow:hidden}.bar-fill{border-radius:999px;height:100%}.bar-ok{background:var(--ok-line)}.bar-watch{background:var(--watch-line)}.bar-attention{background:var(--attention-line)}.business-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:16px;margin:0 0 20px;padding:0;list-style:none;display:grid}.business-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);flex-direction:column;gap:4px;padding:18px 20px 20px;transition:box-shadow .15s,border-color .15s;display:flex}.business-card:hover{border-color:var(--brand-200);box-shadow:var(--shadow-md)}.business-card-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.business-card-name{font-size:var(--fs-md)}.business-card-help{color:var(--text-muted);font-size:var(--fs-sm);margin:8px 0 14px}.business-card button{align-self:flex-start;margin-top:auto}.businesses .panel{margin-bottom:20px}.stat-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:16px;margin:0 0 20px;display:grid}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);flex-direction:column;gap:4px;padding:16px 18px;display:flex}.stat-label{font-size:var(--fs-sm);color:var(--text-muted);font-weight:600}.stat-value{font-size:var(--fs-2xl);letter-spacing:-.02em;font-weight:700}.list-item.party-row{padding:0}.party-link{width:100%;color:inherit;align-items:center;gap:12px;padding:12px 18px;text-decoration:none;display:flex}.party-link .list-main{flex:1}.party-balance{text-align:right;flex-direction:column;align-items:flex-end;line-height:1.25;display:flex}.party-balance strong{color:var(--attention)}.row-chevron{color:var(--text-subtle);flex:none}.back-link{align-items:center;gap:6px;margin:0 0 14px;font-weight:600;text-decoration:none;display:inline-flex}.back-link:hover{text-underline-offset:3px;text-decoration:underline}.party-head{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);grid-template-columns:auto 1fr;align-items:center;gap:14px 16px;margin:0 0 20px;padding:20px;display:grid}.business-avatar.large{width:52px;height:52px;font-size:var(--fs-md);border-radius:var(--radius)}.party-head-text{flex-direction:column;min-width:0;display:flex}.party-head-text h2{font-size:var(--fs-xl);margin:0}.party-head-balance{flex-direction:column;grid-column:1/-1;align-items:flex-start;gap:2px;display:flex}.party-head-balance strong{font-size:var(--fs-2xl);letter-spacing:-.02em}.party-head-actions{flex-wrap:wrap;grid-column:1/-1;gap:10px;display:flex}@media (width>=760px){.party-head{grid-template-columns:auto 1fr auto}.party-head-balance{text-align:right;grid-column:auto;align-items:flex-end}}.notice-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;display:flex}.section-title{margin:8px 0 12px}.statement-figures{text-align:right;white-space:nowrap;flex-direction:column;align-items:flex-end;gap:2px;display:flex}.stat-attention{border-color:var(--attention-line);background:var(--attention-bg)}.job-facts{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin:0 0 20px;padding:16px 20px}.job-facts dd{text-align:right;font-weight:500}.job-money{margin:20px 0}.job-money .panel{flex:100%;margin:0}.note-form{margin:0 0 20px}.sublist.history{gap:8px;padding:0;list-style:none}.dash>.card-box,section>.card-box{margin-bottom:20px}.denoms{grid-template-columns:1fr;gap:8px;display:grid}@media (width>=640px){.denoms{grid-template-columns:1fr 1fr;column-gap:20px}}.denom{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);grid-template-columns:1fr 96px 1fr;align-items:center;gap:10px;padding:6px 10px;display:grid}.denom-label{font-weight:600;font-size:var(--fs-sm)}.denom input{text-align:right;min-height:40px}.denom-total{text-align:right;color:var(--text-muted)}.count-result{border-top:4px solid var(--brand-600);margin:0 0 20px}.count-result p.muted{margin:12px 0 0}.print-sheet{max-width:820px}.print-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;padding-bottom:12px;display:flex}.print-title{text-align:right}.print-lines{width:100%;margin:12px 0}:root{--channel-airbnb:#b5384f;--channel-booking:#2a4a8a;--channel-direct:var(--brand-700);--channel-other:#8a5a12;--rental-day-w:3rem;--rental-name-w:6.5rem;--rental-row-h:60px}@media (width>=760px){:root{--rental-day-w:3.25rem;--rental-name-w:10rem;--rental-row-h:56px}}.rental-month{flex-wrap:wrap}.rental-layout{margin-left:auto}.rental-layout button{align-items:center;gap:6px;min-height:40px;display:inline-flex}.rental-month{align-items:center;gap:12px}.rental-month strong{text-align:center;min-width:10rem}.rental-calendar{contain:inline-size;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);overflow-x:auto}.rental-calendar:focus-visible{box-shadow:var(--focus);outline:none}.rental-row{grid-template-columns:var(--rental-name-w) repeat(var(--days), var(--rental-day-w));grid-template-rows:var(--rental-row-h);border-bottom:1px solid var(--border);width:max-content;min-width:100%;display:grid}.rental-row:last-child{border-bottom:0}.rental-row>*{grid-row:1}.rental-head{background:var(--surface-muted);font-size:var(--fs-xs);color:var(--text-muted);grid-template-rows:48px}.rental-name{z-index:2;font-size:var(--fs-sm);overflow-wrap:anywhere;background:inherit;background-color:var(--surface);border-right:1px solid var(--border);align-items:center;padding:0 10px;font-weight:600;line-height:1.25;display:flex;position:sticky;left:0;overflow:hidden}.rental-head .rental-name{background-color:var(--surface-muted)}.rental-day{font-variant-numeric:tabular-nums;flex-direction:column;justify-content:center;align-items:center;display:flex}.rental-weekday{font-size:var(--fs-2xs);color:var(--text-subtle)}.rental-day.is-weekend,.rental-cell.is-weekend{background:var(--surface-muted)}.rental-day.is-today{color:var(--brand-800);background:var(--brand-50);font-weight:700}.rental-cell{border:0;border-left:1px solid var(--border);min-height:0;box-shadow:none;cursor:pointer;background:0 0;border-radius:0;padding:0}button.rental-cell:hover{background:var(--brand-50)}button.rental-cell:focus-visible{box-shadow:inset var(--focus);outline:none}.rental-cell.is-today{background:var(--brand-50)}.stay-bar{z-index:1;height:40px;font-size:var(--fs-sm);text-align:center;color:#fff;white-space:nowrap;text-overflow:ellipsis;border-radius:999px;align-self:center;margin:0 3px;padding:0 10px;font-weight:600;line-height:40px;text-decoration:none;overflow:hidden}.stay-bar:hover{filter:brightness(1.1)}.stay-bar:focus-visible{outline:3px solid var(--text);outline-offset:2px}.stay-bar.from-before{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:0}.stay-bar.to-after{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:0}.channel-airbnb{background:var(--channel-airbnb)}.channel-booking{background:var(--channel-booking)}.channel-direct{background:var(--channel-direct)}.channel-other{background:var(--channel-other)}.channel-key{font-size:var(--fs-sm);color:var(--text-muted);flex-wrap:wrap;gap:8px 20px;margin:12px 0 0;padding:0;list-style:none;display:flex}.channel-key li{align-items:center;gap:8px;display:flex}.channel-swatch{border-radius:999px;width:22px;height:10px}.rental-today-grid{gap:16px;display:grid}.rental-today-title{font-size:var(--fs-sm);align-items:center;gap:8px;margin:0 0 6px;display:flex}.rental-today-count{min-width:22px;font-size:var(--fs-xs);color:var(--brand-800);text-align:center;background:var(--brand-100);border-radius:999px;padding:0 7px;line-height:22px}.plain-list{margin:0;padding:0;list-style:none}.plain-list li{padding:3px 0}@media (width>=640px){.rental-today-grid{grid-template-columns:repeat(3,1fr)}}.payback-status{font-size:var(--fs-lg);margin:0 0 10px;font-weight:600}.payback-bar{background:var(--brand-100);border-radius:999px;height:12px;margin-bottom:14px;overflow:hidden}.payback-bar span{background:var(--brand-600);border-radius:inherit;height:100%;display:block}.checkbox-list{border:0;flex-wrap:wrap;gap:8px 20px;margin:0 0 12px;padding:0;display:flex}.stay-bar.block-reserved{cursor:pointer;background-image:repeating-linear-gradient(135deg,#fff0 0 6px,#ffffff38 6px 12px);border:0}.stay-bar.block-reserved:focus-visible{outline:3px solid var(--text);outline-offset:2px}.stay-bar.block-closed{background:repeating-linear-gradient(135deg, var(--border-strong) 0 4px, var(--surface-muted) 4px 8px)}.stay-bar.is-pending{outline-offset:-5px;outline:2px dashed #ffffffd9}.stay-bar.is-conflict{outline:3px solid var(--attention);outline-offset:-3px}:root{--apt-0:#1f6f8b;--apt-1:#7a3e9d;--apt-2:#b5532a;--apt-3:#2e7d4f;--apt-4:#a8324e;--apt-5:#3b5bb5;--apt-6:#8a6d12;--apt-7:#5b6770;--occ-1:#cfe8dc;--occ-2:#8fcab0;--occ-3:#4da582;--occ-4:#136f4f}.apt-0{--apt:var(--apt-0)}.apt-1{--apt:var(--apt-1)}.apt-2{--apt:var(--apt-2)}.apt-3{--apt:var(--apt-3)}.apt-4{--apt:var(--apt-4)}.apt-5{--apt:var(--apt-5)}.apt-6{--apt:var(--apt-6)}.apt-7{--apt:var(--apt-7)}.cal-views{border-radius:var(--radius);flex-wrap:wrap}.cal-filter{border:0;flex-wrap:wrap;gap:8px;margin:0 0 12px;padding:0;display:flex}.cal-chip{min-height:40px;font-size:var(--fs-sm);color:var(--text);background:var(--surface);border:1px solid var(--border-strong);box-shadow:none;border-radius:999px;padding:4px 14px 4px 8px}.cal-chip:hover{background:var(--surface-muted)}.cal-chip .cal-swatch{color:#fff;background:var(--apt);border:2px solid var(--apt);border-radius:999px;flex:none;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.cal-chip[aria-pressed=false]{color:var(--text-muted);background:var(--surface-muted);text-decoration:line-through}.cal-chip[aria-pressed=false] .cal-swatch{border-color:var(--border-strong);background:0 0}.cal-scroll{contain:inline-size;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);position:relative;overflow-x:auto}.cal-scroll:focus-visible{box-shadow:var(--focus);outline:none}.cal-inner{min-width:640px}.cal-weekdays{font-size:var(--fs-xs);color:var(--text-muted);text-align:center;background:var(--surface-muted);border-bottom:1px solid var(--border);grid-template-columns:repeat(7,minmax(0,1fr));padding:8px 0;display:grid}.cal-week{--cal-bar-h:26px;border-bottom:1px solid var(--border);grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.cal-week.is-tall{--cal-bar-h:48px}.cal-week:last-child{border-bottom:0}.cal-day{min-height:0;font-size:var(--fs-sm);font-variant-numeric:tabular-nums;color:var(--text);border:0;border-left:1px solid var(--border);box-shadow:none;background:0 0;border-radius:0;justify-content:flex-start;align-items:flex-start;padding:4px 6px}.cal-day:first-child{border-left:0}.cal-day:hover{background:var(--brand-50)}.cal-day:focus-visible{box-shadow:inset var(--focus);outline:none}.cal-day.is-weekend,.cal-day.is-outside{background:var(--surface-muted)}.cal-day.is-outside{color:var(--text-muted)}.cal-day.is-weekend:hover,.cal-day.is-outside:hover{background:var(--brand-50)}.cal-date{text-align:center;border-radius:999px;min-width:24px;padding:0 4px;line-height:24px}.cal-day.is-today .cal-date{color:#fff;background:var(--brand-700);font-weight:700}.cal-bar{z-index:1;min-height:0;font-size:var(--fs-xs);color:#fff;text-align:left;white-space:nowrap;background:var(--apt,var(--brand-700));border:0;border-radius:6px;flex-direction:column;justify-content:center;align-items:flex-start;margin:2px 3px;padding:0 8px;font-weight:600;line-height:1.25;text-decoration:none;display:flex;overflow:hidden}.cal-bar:hover{background:var(--apt,var(--brand-700));filter:brightness(1.1)}.cal-bar:focus-visible{outline:3px solid var(--text);outline-offset:2px}.cal-bar-main,.cal-bar-sub{text-overflow:ellipsis;max-width:100%;overflow:hidden}.cal-bar-sub{opacity:.95;font-weight:400}.cal-bar.from-before{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:0}.cal-bar.to-after{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:0}.cal-bar.is-pending{outline-offset:-4px;outline:2px dashed #ffffffd9}.cal-bar.block-reserved{background-image:repeating-linear-gradient(135deg,#fff0 0 6px,#ffffff38 6px 12px)}.cal-bar.block-reserved.is-conflict{outline:3px solid var(--attention);outline-offset:-3px}.cal-bar.block-closed{cursor:default;background:repeating-linear-gradient(135deg, var(--border-strong) 0 4px, var(--surface-muted) 4px 8px)}.cal-more{z-index:1;min-height:0;font-size:var(--fs-xs);color:var(--text-muted);background:0 0;border:0;justify-content:flex-start;margin:0 3px;padding:0 6px}.cal-more:hover{color:var(--text);background:0 0;text-decoration:underline}.cal-day-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.cal-day-card{background:var(--surface);border:1px solid var(--border);border-left:6px solid var(--apt,var(--brand-700));border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);gap:8px;padding:14px 16px;display:grid}.cal-day-card .actions{margin:0}.year-all{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;display:grid}.year-month{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:12px}.year-month h3{font-size:var(--fs-sm);margin:0 0 8px}.year-title{min-height:32px;font-size:var(--fs-sm);color:var(--brand-800);background:0 0;border:0;margin-left:-8px;padding:0 8px}.year-title:hover{background:var(--brand-50);text-decoration:underline}.year-days{font-size:var(--fs-2xs);text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;display:grid}.year-weekday{color:var(--text-muted)}.year-day{min-height:0;font-size:var(--fs-2xs);font-variant-numeric:tabular-nums;color:var(--text);background:var(--surface-muted);border:1px solid var(--border);box-shadow:none;aspect-ratio:1;border-radius:5px;padding:0}.year-day:hover{background:var(--surface-muted);border-color:var(--text)}.year-day.level-1{background:var(--occ-1)}.year-day.level-2{background:var(--occ-2)}.year-day.level-3{background:var(--occ-3)}.year-day.level-4{color:#fff;background:var(--occ-4)}.year-day.is-today{outline:2px solid var(--text);outline-offset:1px}.year-key{font-size:var(--fs-sm);color:var(--text-muted);flex-wrap:wrap;gap:8px 20px;margin:12px 0 0;padding:0;list-style:none;display:flex}.year-key li{align-items:center;gap:8px;display:flex}.year-key .year-day{aspect-ratio:auto;width:20px;height:20px}.notice-attention{color:var(--attention);background:var(--attention-bg);border-color:var(--attention-line)}.planner-layout{gap:16px;display:grid}.planner-form h3{margin:12px 0 4px}.planner-cases{gap:12px;margin-bottom:16px;display:grid}.case-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px}.case-card h3{font-size:var(--fs-md);align-items:center;gap:8px;margin:0;display:flex}.case-occupancy{font-size:var(--fs-sm);margin:2px 0 8px}.case-result{margin:8px 0 0;font-weight:600}.planner-save{flex-flow:wrap;align-items:flex-end;gap:12px;margin-top:16px;display:flex}.planner-save .field{flex:240px;margin:0}.line-chart{margin:0}.line-legend{font-size:var(--fs-sm);color:var(--text-muted);flex-wrap:wrap;gap:6px 18px;margin:0 0 8px;padding:0;list-style:none;display:flex}.line-legend li{align-items:center;gap:6px;display:flex}.line-swatch{border-radius:2px;flex:none;width:14px;height:4px;display:inline-block}.line-plot{position:relative}.line-plot svg{width:100%;height:auto;display:block;overflow:visible}.line-grid{stroke:var(--border);stroke-width:1px}.line-zero{stroke:var(--text-subtle);stroke-width:1px}.line-axis{fill:var(--text-subtle);text-anchor:end;font-variant-numeric:tabular-nums;font-size:12px}.line-mark{fill:none;stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.line-end text{fill:var(--text);font-size:12px}.line-hover line{stroke:var(--text-subtle);stroke-dasharray:3 3}.line-hover circle{stroke:var(--surface);stroke-width:2px}.line-hit{fill:#0000;cursor:crosshair}.line-tooltip{z-index:2;min-width:190px;font-size:var(--fs-xs);color:var(--text);pointer-events:none;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);gap:2px;padding:8px 10px;display:grid;position:absolute;top:8px;transform:translate(-50%)}.line-tooltip span{align-items:center;gap:6px;display:flex}@media (width>=640px){.planner-cases{grid-template-columns:repeat(3,1fr)}}@media (width>=1200px){.planner-layout{grid-template-columns:minmax(320px,2fr) 3fr;align-items:start}}@media print{.back-link,.page-header{display:none!important}.print-sheet{max-width:none}.topbar,.sidebar,.bottom-nav,.fab,.env-ribbon,.page-actions,.actions{display:none!important}.main{padding:0}.panel,.card-box{box-shadow:none}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.plan-badge{color:var(--text-subtle);align-items:center;margin-left:auto;display:inline-flex}a.button.small{min-height:36px;font-size:var(--fs-sm);padding:0 12px}.locked-notice{background:var(--watch-bg);border-color:var(--watch-line);color:var(--text);align-items:flex-start;gap:12px;display:flex}.locked-notice p{margin:4px 0 10px}.package-page{flex-direction:column;gap:16px;display:flex}.package-current{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:12px;display:flex}.package-name{font-size:var(--fs-2xl);color:var(--brand-900);margin:0;font-weight:700}.facts{grid-template-columns:max-content 1fr;gap:6px 16px;margin:0 0 16px;display:grid}.facts dt{color:var(--text-muted)}.facts dd{margin:0;font-weight:600}.module-list{border-top:1px solid var(--border);margin:0;padding:0;list-style:none}.module-list li{border-bottom:1px solid var(--border);align-items:flex-start;gap:12px;padding:10px 0;display:flex}.module-list li>div{flex-direction:column;flex:1;display:flex}.module-list li.included>svg{color:var(--ok);flex:none;margin-top:2px}.module-list li.missing{color:var(--text-muted)}.module-list li.missing>svg{flex:none;margin-top:3px}.package-in{white-space:nowrap}.table-wrap{overflow-x:auto}table.plan-table{border-collapse:collapse;width:100%;min-width:420px}table.plan-table th,table.plan-table td{border-bottom:1px solid var(--border);text-align:center;padding:9px 12px;font-weight:400}table.plan-table th[scope=row]{text-align:left}table.plan-table thead th{color:var(--brand-900);font-weight:700}table.plan-table .current{background:var(--brand-50)}table.plan-table td svg{color:var(--ok);vertical-align:middle}table.plan-table input{text-align:center;width:72px}.usage-grid{gap:14px;margin:12px 0 8px;display:grid}.usage-text{justify-content:space-between;gap:12px;margin-bottom:4px;display:flex}.usage progress{background:var(--border);width:100%;height:8px;accent-color:var(--brand-600);border:0;border-radius:999px;display:block;overflow:hidden}.usage progress::-webkit-progress-bar{background:var(--border)}.usage progress::-webkit-progress-value{background:var(--brand-600);border-radius:999px}.usage progress::-moz-progress-bar{background:var(--brand-600)}.usage progress.full::-webkit-progress-value{background:var(--watch-line)}.usage progress.full::-moz-progress-bar{background:var(--watch-line)}.not-included{margin-top:12px}.not-included>summary{cursor:pointer;min-height:44px;color:var(--brand-800);align-items:center;font-weight:600;display:flex}.period-toggle{flex-wrap:wrap;gap:8px;margin:12px 0 16px;display:flex}.period-toggle .chip{flex:1 1 0;min-width:96px;min-height:44px}.plan-grid{grid-template-columns:minmax(0,1fr);gap:14px;margin:0;padding:0;list-style:none;display:grid}.plan-card{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-lg);flex-direction:column;gap:10px;padding:16px;display:flex}.plan-card.current{border-color:var(--brand-600);background:var(--brand-50)}.plan-card.selected{border-color:var(--brand-800);box-shadow:var(--focus)}.plan-card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.plan-card h3{color:var(--brand-900);margin:0;font-size:1.15rem}.plan-price{margin:0;font-size:1.6rem;font-weight:700;line-height:1.2}.plan-currency,.plan-per{color:var(--text-muted);font-size:.9rem;font-weight:600}.plan-sub{flex-wrap:wrap;align-items:center;gap:4px 8px;margin:2px 0 0;font-size:.9rem;display:flex}.plan-saving{color:var(--ok);background:var(--ok-bg);border-radius:999px;padding:1px 8px;font-weight:700}.plan-limits{margin:0;font-weight:600}.plan-features{flex-direction:column;flex:1;gap:6px;margin:0;padding:0;list-style:none;display:flex}.plan-features li{align-items:flex-start;gap:8px;display:flex}.plan-features svg{color:var(--ok);flex:none;margin-top:3px}.plan-card button{width:100%}.plan-note{align-items:center;min-height:44px;margin:0;display:flex}.plan-checkout{background:var(--surface-muted);border:1px solid var(--brand-200);border-radius:var(--radius-lg);margin-top:16px;padding:16px}.plan-checkout h3{margin:0 0 8px}.history-filters{gap:12px;margin-bottom:12px;display:grid}.bill-list{border-top:1px solid var(--border);margin:0;padding:0;list-style:none}.bill-list li{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding:12px 0;display:flex}.bill-list li>div{flex-direction:column;min-width:0;display:flex}.bill-amount{text-align:right;align-items:flex-end}.history-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;display:flex}@media (width>=640px){.history-filters{grid-template-columns:2fr 1fr 1fr}.usage-grid{grid-template-columns:1fr 1fr;gap:24px}.period-toggle .chip{flex:0 auto;min-width:120px}}@media (width>=900px){.plan-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}}.admin-grid{gap:16px;display:grid}@media (width>=1024px){.admin-grid{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start}}.module-switch{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:8px 0;display:flex}.module-switch label{cursor:pointer;flex:1;align-items:center;gap:10px;display:flex}.module-switch input{width:20px;height:20px;accent-color:var(--brand-700)}.source-tag{font-size:var(--fs-xs);color:var(--text-subtle);white-space:nowrap}.source-tag.changed{color:var(--watch);font-weight:600}.pill-row{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}label.checkbox{cursor:pointer;align-items:center;gap:10px;margin:0 0 12px;display:flex}label.checkbox input{width:20px;height:20px;accent-color:var(--brand-700)}.day-group{margin:0 0 16px}.day-heading{font-size:var(--fs-sm);color:var(--brand-900);flex-wrap:wrap;justify-content:space-between;gap:4px 12px;margin:18px 0 8px;font-weight:700;display:flex}.day-heading .muted{font-weight:500}.column-chart{flex-direction:column;gap:6px;display:flex}.column-plot{border-bottom:1px solid var(--border);grid-template-columns:repeat(12,1fr);gap:6px;height:170px;display:grid;position:relative}.column-zero{border-top:1px solid var(--border-strong);position:absolute;left:0;right:0}.column-slot{height:100%;position:relative}.column-bar{border-radius:4px 4px 0 0;position:absolute;left:18%;right:18%}.column-bar.column-compare{background:var(--border);left:4%;right:4%}.column-ok{background:var(--brand-600)}.column-info{background:var(--info)}.column-watch{background:var(--watch-line)}.column-attention{background:var(--attention-line);border-radius:0 0 4px 4px}.column-labels{font-size:var(--fs-2xs);color:var(--text-muted);text-align:center;grid-template-columns:repeat(12,1fr);gap:6px;display:grid}.chart-legend{font-size:var(--fs-xs);color:var(--text-muted);flex-wrap:wrap;gap:4px 14px;margin:8px 0 0;display:flex}.chart-legend span:before{content:"";background:var(--brand-600);vertical-align:-1px;border-radius:2px;width:10px;height:10px;margin-right:6px;display:inline-block}.chart-legend span.last-year:before{background:var(--border)}.chart-grid{gap:16px;display:grid}@media (width>=900px){.chart-grid{grid-template-columns:1fr 1fr}}.kpi-row{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:0 0 16px;display:grid}.kpi-tile{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:14px 16px}.kpi-tile .kpi-name{font-size:var(--fs-xs);color:var(--text-muted);margin:0}.kpi-tile .kpi-number{font-size:var(--fs-xl);font-variant-numeric:tabular-nums;margin:4px 0;font-weight:700}.kpi-tile .kpi-change{font-size:var(--fs-xs);margin:0}.change-up{color:var(--ok)}.change-down{color:var(--attention)}.unsold-list{columns:2 220px;color:var(--text-muted);margin:0;padding-left:18px}.chart-legend span.legend-info:before{background:var(--info)}.chart-legend span.legend-watch:before{background:var(--watch-line)}table.trend tr.total-row th,table.trend tr.total-row td{background:var(--surface-muted);font-weight:700}.choice-group{border:0;flex-flow:wrap;gap:8px;margin:0 0 16px;padding:0;display:flex}.choice-group legend{margin-bottom:6px}.choice{display:inline-flex;position:relative}.choice input{opacity:0;position:absolute;inset:0}.choice span{border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);cursor:pointer;align-items:center;min-height:44px;padding:0 16px;font-weight:600;display:inline-flex}.choice input:checked+span{border-color:var(--brand-700);background:var(--brand-50);color:var(--brand-800)}.choice input:focus-visible+span{outline:3px solid var(--focus);outline-offset:2px}.search-field{position:relative}.search-field .search-icon{color:var(--text-muted);pointer-events:none;position:absolute;top:38px;left:12px}.search-field input{min-height:48px;font-size:var(--fs-md);padding-left:38px}.phone-link{align-items:center;gap:6px;min-height:44px;font-weight:600;display:inline-flex}.panel.attention{border-color:var(--attention-line);background:var(--attention-bg)}.visit-toggle{width:100%;min-height:44px;color:inherit;text-align:left;font:inherit;box-shadow:none;background:0 0;border:0;align-items:center;gap:10px;padding:0;display:flex}.visit-toggle:hover{background:0 0}.visit-toggle .list-main{flex:1}.clinical{gap:12px;margin:12px 0 0 28px;display:grid}.clinical dt{color:var(--text-muted);font-size:var(--fs-sm);font-weight:600}.clinical dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:2px 0 0}.visit-row{align-items:center;gap:10px;display:flex}.visit-correct{align-self:flex-start;margin:12px 0 0 28px}.visit-actions{flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 0 28px;display:flex}.visit-actions .visit-correct{margin:0}.visit .summary-composer{margin:12px 0 0}.summary-composer .actions{margin-top:12px}.visit-history{border-top:1px dashed var(--border);gap:12px;margin:12px 0 0 28px;padding:12px 0 0;list-style:none;display:grid}.visit-history>li{flex-direction:column;gap:2px;display:flex}.consult-patient{top:var(--topbar-h);z-index:1;background:var(--surface);border-bottom:1px solid var(--border);margin:-4px 0 12px;padding:8px 0;position:sticky}.consult-patient h2{margin:0}@media (width<=720px){.consult-form .form-footer{bottom:calc(var(--bottom-nav-h) + 8px);background:var(--surface);padding:10px 0;position:sticky}}.visit-row button.small,.visit .button.small{min-height:44px}.care-list .list-main{gap:2px}.care-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.care-actions button.small,.care-actions .button.small{min-height:44px}.care-list .appointment-form,.care-list .panel{width:100%;margin-top:10px}.reminder{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.small-text{font-size:var(--fs-sm)}.watch-text{color:var(--watch);font-weight:600}.attention-text{color:var(--attention);font-weight:600}.day-switch{justify-content:space-between;align-items:center;gap:8px;margin:8px 0 12px;display:flex}button.party-link{font:inherit;text-align:left;background:0 0;border:0;border-radius:0}.care-layout{--cal-hour:56px;--cal-line:var(--border);grid-template-columns:minmax(0,1fr);gap:16px;display:grid}.care-main{min-width:0}.care-rail{flex-direction:column;gap:12px;min-width:0;display:flex}.care-rail .mini-month{display:none}.care-links{flex-wrap:wrap;gap:8px;display:flex}.care-link{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-height:40px;color:var(--text);justify-content:space-between;align-items:center;gap:8px;padding:6px 12px;font-weight:500;text-decoration:none;display:inline-flex}.care-link:hover{background:var(--surface-muted)}.care-link[aria-current=page]{border-color:var(--brand-600);background:var(--brand-50);color:var(--brand-800);font-weight:600}.care-link-count{background:var(--watch-bg);min-width:22px;color:var(--watch);font-size:var(--fs-xs);text-align:center;border-radius:11px;padding:0 6px;font-weight:700}.care-list-title{margin-top:0}@media (width>=1280px){.care-layout{grid-template-columns:248px minmax(0,1fr);align-items:start}.care-rail .mini-month{display:block}.care-links{flex-flow:column}}.cal-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px;display:flex}.cal-title{font-size:var(--fs-md);margin-left:4px}.cal-scroll{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);overflow-x:auto}.cal-grid{grid-template-columns:56px repeat(var(--cal-days), minmax(0, 1fr));display:grid}.cal-grid.is-week{min-width:700px}.cal-corner,.cal-any-label{border-bottom:1px solid var(--cal-line)}.cal-head{border:0;border-bottom:1px solid var(--cal-line);border-left:1px solid var(--cal-line);min-height:52px;color:var(--text-muted);font-size:var(--fs-xs);background:0 0;border-radius:0;flex-direction:column;align-items:center;gap:0;padding:4px;font-weight:500;display:flex}.cal-head:hover{background:var(--surface-muted)}.cal-head strong{color:var(--text);font-size:var(--fs-lg);line-height:1.2}.cal-head.is-today strong{color:var(--brand-700)}.cal-head.is-today{box-shadow:inset 0 -3px 0 var(--brand-600)}.cal-hour-label{height:var(--cal-hour);color:var(--text-muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;text-align:right;padding:2px 6px 0 0;display:block}.cal-any-label{height:auto;min-height:36px;padding-top:8px;line-height:1.1}.cal-any{border-bottom:1px solid var(--cal-line);border-left:1px solid var(--cal-line);flex-direction:column;gap:2px;min-width:0;min-height:36px;padding:2px;display:flex}.cal-day{border-left:1px solid var(--cal-line);min-width:0;position:relative}.cal-day.is-today{background:var(--brand-50)}.cal-slot{width:100%;height:var(--cal-hour);border:0;border-bottom:1px solid var(--cal-line);background:0 0;border-radius:0;min-height:0;padding:0;display:block}button.cal-slot:hover{background:var(--brand-100)}.cal-block{width:100%;min-width:0;min-height:0;font-size:var(--fs-xs);text-align:left;border:0;border-left:3px solid #0000;border-radius:4px;flex-wrap:wrap;align-items:baseline;gap:0 4px;padding:2px 4px;font-weight:500;line-height:1.25;display:flex;overflow:hidden}.cal-day .cal-block{height:calc(var(--cal-hour) / 2);white-space:nowrap;flex-wrap:nowrap;position:absolute}.cal-block.tone-scheduled{background:var(--brand-100);color:var(--brand-900)}.cal-block.tone-done{background:var(--surface-muted);outline:1px solid var(--border);outline-offset:-1px;color:var(--text-muted)}.cal-block.tone-missed{background:var(--attention-bg);color:var(--attention)}.cal-block.tone-late{background:var(--watch-bg);color:var(--watch)}.cal-block.is-follow-up{border-left-color:var(--amber-500)}.cal-block-icon{flex:none;align-self:center}.cal-block-time{font-variant-numeric:tabular-nums;font-weight:700}.cal-block-name{text-overflow:ellipsis;min-width:0;overflow:hidden}.cal-block-note{font-weight:700}.cal-month{border-top:1px solid var(--border);border-left:1px solid var(--border);border-radius:var(--radius);background:var(--surface);grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.cal-month-weekday{border-right:1px solid var(--cal-line);border-bottom:1px solid var(--cal-line);color:var(--text-muted);font-size:var(--fs-xs);text-align:center;padding:6px 2px;font-weight:500}.cal-month-day{border-right:1px solid var(--cal-line);border-bottom:1px solid var(--cal-line);flex-direction:column;gap:2px;min-width:0;min-height:116px;padding:2px;display:flex}.cal-month-day.is-other{background:var(--surface-muted)}.cal-month-day.is-other .cal-month-number{color:var(--text-muted)}.cal-month-number{min-width:32px;min-height:32px;color:var(--text);font-size:var(--fs-sm);background:0 0;border:0;border-radius:16px;justify-content:center;align-self:center;align-items:center;gap:4px;padding:0 4px;font-weight:600;display:flex}.cal-month-number:hover{background:var(--brand-100)}.cal-month-day.is-today .cal-month-number{background:var(--brand-700);color:#fff}.cal-month-count{display:none}.cal-month-blocks{flex-direction:column;gap:2px;min-width:0;display:flex}.cal-month-blocks .cal-block{white-space:nowrap;flex-wrap:nowrap}.cal-more{min-height:24px;color:var(--text-muted);font-size:var(--fs-xs);text-align:left;background:0 0;border:0;padding:0 4px;font-weight:600}.cal-more:hover{color:var(--text);text-decoration:underline}@media (width<=720px){.cal-month-day{min-height:60px}.cal-month-blocks{display:none}.cal-month-number{border-radius:var(--radius-sm);flex-direction:column;gap:2px;width:100%;min-height:54px}.cal-month-count{background:var(--brand-100);min-width:20px;color:var(--brand-900);font-size:var(--fs-2xs);border-radius:10px;font-weight:700;display:block}}.cal-schedule-day{border-bottom:1px solid var(--border);gap:4px 16px;padding:10px 0;display:grid}.cal-schedule-day h3{font-size:var(--fs-sm);margin:0}.cal-schedule-day h3.is-today{color:var(--brand-700)}.cal-schedule-day ul{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.cal-schedule .cal-block{border-radius:var(--radius-sm);min-height:44px;font-size:var(--fs-sm);align-items:center;gap:2px 8px;padding:6px 10px}.cal-block-reason{font-weight:400}@media (width>=721px){.cal-schedule-day{grid-template-columns:170px minmax(0,1fr)}}.cal-dialog{border-radius:var(--radius-lg);width:min(520px,100vw - 32px);box-shadow:var(--shadow-lg);color:var(--text);border:0;padding:20px}.cal-dialog::backdrop{background:#10201866}.cal-dialog-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.cal-dialog-head h2{margin:0}.cal-dialog p{margin:6px 0}.cal-dialog-status{flex-wrap:wrap;gap:6px;display:flex}.mini-month{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:10px}.mini-month-head{align-items:center;gap:2px;margin-bottom:4px;display:flex}.mini-month-head strong{font-size:var(--fs-sm);flex:1}.mini-month-grid{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.mini-month-weekday{color:var(--text-muted);font-size:var(--fs-2xs)}.mini-month-day{aspect-ratio:1;min-width:0;min-height:0;color:var(--text);font-size:var(--fs-xs);background:0 0;border:0;border-radius:50%;padding:0;font-weight:500}.mini-month-day:hover{background:var(--brand-100)}.mini-month-day.is-other{color:var(--text-muted)}.mini-month-day.is-today{outline:2px solid var(--brand-600);outline-offset:-2px}.mini-month-day.is-selected{background:var(--brand-700);color:#fff}.follow-up,.routines{border:0;border-top:1px solid var(--border);gap:10px;margin:12px 0;padding:12px 0 0;display:grid}.return-in{grid-template-columns:1fr 1fr;gap:8px;display:grid}.messages-list{gap:16px;display:grid}.placeholder-row{flex-wrap:wrap;gap:6px;margin:4px 0 8px;display:flex}.message-preview{border-left:3px solid var(--brand-600);border-radius:var(--radius-sm);background:var(--surface-muted);margin:8px 0;padding:10px 12px}.message-preview p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0}.rental-agenda{gap:16px;margin:0;padding:0;list-style:none;display:grid}.agenda-day{font-size:var(--fs-sm);color:var(--text-muted);margin:0 0 8px;font-weight:600}.agenda-day.is-today{color:var(--brand-800)}.agenda-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.agenda-stay{width:100%;min-height:64px;color:var(--text);text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px;text-decoration:none;display:flex}.agenda-stay:hover{border-color:var(--brand-200)}.agenda-stay:focus-visible{box-shadow:var(--focus);outline:none}.agenda-fill{font:inherit;border-style:dashed}.agenda-swatch{border-radius:999px;flex:none;align-self:stretch;width:6px}.agenda-main{min-width:0;font-size:var(--fs-sm);flex:1;gap:2px;display:grid}.agenda-main strong{font-size:var(--fs-md)}.agenda-side{flex-wrap:wrap;flex-basis:100%;align-items:center;gap:8px;padding-left:18px;display:flex}.agenda-side:empty{display:none}@media (width>=480px){.agenda-side{flex:none;justify-items:end;gap:4px;padding-left:0;display:grid}}.agenda-due{font-size:var(--fs-sm);color:var(--attention);white-space:nowrap;font-weight:600}.housekeeping-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);gap:10px;padding:14px 16px;display:grid}.housekeeping-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.housekeeping-moves{font-size:var(--fs-sm);gap:6px;margin:0;padding:0;list-style:none;display:grid}.housekeeping-moves li{flex-wrap:wrap;align-items:flex-start;gap:8px;display:flex}.housekeeping-moves li>.error{flex-basis:100%;margin:0}.housekeeping-moves svg{color:var(--text-muted);flex:none;margin-top:2px}.housekeeping-card .actions{margin:0}.housekeeping-card .actions button{min-height:48px}@media (width<=639px){.housekeeping-card .actions button{width:100%}}.housekeeping-card p{margin:0}.housekeeping-moves li>button{margin-left:auto}.housekeeping-summary{margin:0 0 12px;font-weight:600}.housekeeping-board{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px;margin:12px 0 16px;padding:0;list-style:none;display:grid}.housekeeping-board li{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;padding:10px 12px;display:flex}.housekeeping-form{gap:10px;display:grid}.housekeeping-form fieldset{border:0;gap:6px;margin:0;padding:0;display:grid}.housekeeping-form legend{margin-bottom:6px;padding:0;font-weight:600}.housekeeping-history summary{color:var(--text-muted);cursor:pointer}.housekeeping-log{font-size:var(--fs-sm);gap:8px;margin:8px 0 0;padding:0;list-style:none;display:grid}.housekeeping-quiet summary{color:var(--text-muted);cursor:pointer;margin:12px 0}.housekeeping-date input{min-height:40px}.list-heading{font-size:var(--fs-sm);color:var(--text-muted);margin:0 0 8px}.apartment-figures{text-align:right;flex-direction:row;gap:16px;margin:0}.apartment-figures dt{font-size:var(--fs-xs)}.apartment-figures dd{margin:0;font-weight:600}@media (width<=639px){.apartment-figures{flex-direction:column;gap:4px}}.apartment-head{flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:8px 0 12px;display:flex}.apartment-head h2,.apartment-head p{margin:0}.driver-popover.tour-popover{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);max-width:min(340px,100vw - 32px);padding:18px 18px 14px;font-family:inherit}.tour-popover .driver-popover-title{font-size:var(--fs-md);color:var(--text);font-weight:650}.tour-popover .driver-popover-description{color:var(--text-muted);line-height:1.5}.tour-popover .driver-popover-progress-text{color:var(--text-subtle)}.tour-popover .driver-popover-footer{flex-wrap:wrap;gap:8px}.tour-popover .driver-popover-footer button{font:inherit;font-size:var(--fs-sm);text-shadow:none;border-radius:var(--radius-sm);padding:6px 12px}.tour-popover .driver-popover-next-btn{background:var(--brand-600);border:1px solid var(--brand-600);color:#fff}.tour-popover .driver-popover-next-btn:hover{background:var(--brand-700)}.tour-popover .driver-popover-prev-btn{background:var(--surface);border:1px solid var(--border-strong);color:var(--text)}.tour-popover .tour-skip{color:var(--text-muted);background:0 0;border:none;margin-right:auto;padding-inline:0;text-decoration:underline}.tour-popover .driver-popover-close-btn{color:var(--text-subtle);background:0 0;border:none}.tour-popover button:focus-visible{box-shadow:var(--focus);outline:none}.tour-popover .driver-popover-arrow-side-top.driver-popover-arrow{border-top-color:var(--surface)}.tour-popover .driver-popover-arrow-side-bottom.driver-popover-arrow{border-bottom-color:var(--surface)}.tour-popover .driver-popover-arrow-side-left.driver-popover-arrow{border-left-color:var(--surface)}.tour-popover .driver-popover-arrow-side-right.driver-popover-arrow{border-right-color:var(--surface)}.help-button{gap:6px;margin-right:8px}@media (width<=600px){.help-button span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}.guides-panel{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);width:min(480px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--text);box-shadow:var(--shadow-lg);padding:20px;overflow-y:auto}.guides-panel::backdrop{background:#10201866}.guides-panel-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.guides-panel-head h2{font-size:var(--fs-lg);margin:0}.guides-panel-intro{color:var(--text-muted);margin:6px 0 16px}.guides-this-page{justify-content:center;gap:8px;width:100%;margin-bottom:8px}.guides-panel-section{border-top:1px solid var(--border);margin-top:14px;padding-top:14px}.guides-panel-section h3{font-size:var(--fs-md);margin:0 0 8px}.guides-progress{color:var(--text-muted);margin:0 0 8px}.guides-tours{margin:0;padding:0;list-style:none}.guides-tour{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:8px 0;display:flex}.guides-tour:last-child{border-bottom:none}.guides-tour-name{flex:1;min-width:0}.checklist{margin:0 0 12px;padding:0;list-style:none}.checklist-step{align-items:center;gap:10px;padding:6px 0;display:flex}.checklist-tick{color:var(--text-subtle);flex:none}.checklist-step.done .checklist-tick{color:var(--ok)}.checklist-step.done button.link{color:var(--text-muted);text-decoration:line-through}.get-started{border-color:var(--brand-200);margin-bottom:16px}.get-started-intro,.get-started-done{color:var(--text-muted);margin:0 0 8px}.tour-button{position:relative}.tour-dot{background:var(--amber-500);border:2px solid var(--surface);border-radius:50%;width:10px;height:10px;position:absolute;top:-3px;right:-3px}.whats-new button{margin-left:4px}.video-player{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);width:min(880px,100vw - 32px);color:var(--text);box-shadow:var(--shadow-lg);padding:16px}.video-player::backdrop{background:#10201899}.video-player-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.video-player-head h2{font-size:var(--fs-lg);margin:0}.video-player-video{border-radius:var(--radius);background:#000;width:100%;display:block}.video-captions{align-items:flex-start;gap:12px;margin-top:10px;display:flex}.video-caption{min-height:4.2em;color:var(--text);flex:1;margin:0;line-height:1.4}.video-length{color:var(--text-muted);font-variant-numeric:tabular-nums}.video-set .card-head{flex-wrap:wrap}.video-set-toggle,.video-set .table-scroll{margin-top:12px}.video-watch{gap:6px;display:flex}.video-set td input[type=checkbox]{width:20px;height:20px;min-height:0;accent-color:var(--brand-700);padding:0}.video-selection{z-index:5;border:1px solid var(--border-strong);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-md);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;margin-top:16px;padding:12px 16px;display:flex;position:sticky;bottom:12px}.video-confirm{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);width:min(480px,100vw - 32px);color:var(--text);box-shadow:var(--shadow-lg);padding:20px}.video-confirm::backdrop{background:#10201899}.video-confirm h2{font-size:var(--fs-lg);margin:0 0 8px}.deletion-banner p{margin:0 0 6px}.deletion-banner .actions,.deletion-form{margin-top:10px}.follow-group-title{font-size:var(--fs-md);align-items:center;gap:8px;margin:20px 0 8px;display:flex}.follow-group:first-of-type .follow-group-title{margin-top:8px}.follow-later{margin-top:20px}.follow-later>summary{cursor:pointer;align-items:center;gap:8px;min-height:44px;font-weight:600;list-style:none;display:flex}.follow-later>summary::-webkit-details-marker{display:none}.follow-later>summary:before{content:"▸";color:var(--text-muted)}.follow-later[open]>summary:before{content:"▾"}.logo-preview{max-width:12rem;max-height:6rem;margin:var(--space-3,.75rem) 0;object-fit:contain;display:block}.receipt-share{margin-block:var(--space-4,1rem)}.print-only{display:none}.report-top{gap:16px;margin-bottom:16px;display:grid}.report-period{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);flex-direction:column;gap:2px;padding:12px 16px;display:flex}.report-period strong{font-size:var(--fs-md)}.chip-row{flex-wrap:wrap;gap:8px;display:flex}.chip{min-height:40px;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);padding:0 14px;font-weight:600}.chip.active{color:#fff;background:var(--brand-800);border-color:var(--brand-800)}.expense-report .kpi-grid,.expense-report .card-box{margin-bottom:16px}.insight-lines{gap:8px;margin:0;padding-left:20px;display:grid}.report-grid{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}.mini-title{font-size:var(--fs-sm);color:var(--text-muted);margin:12px 0 8px}.stack-bar{background:var(--border);border-radius:999px;height:18px;display:flex;overflow:hidden}.stack-part{height:100%}.stack-brand{background:var(--brand-600)}.stack-amber{background:var(--amber-500)}.stack-info{background:var(--info)}.stack-legend{font-size:var(--fs-sm);gap:4px;margin:8px 0 0;padding:0;list-style:none;display:grid}.stack-legend li{align-items:center;gap:8px;display:flex}.stack-legend strong{margin-left:auto}.stack-dot{border-radius:50%;width:10px;height:10px}@media (width>=900px){.report-top{grid-template-columns:minmax(0,1fr) auto;align-items:start}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-grid .report-wide{grid-column:1/-1}}@media print{.print-only{display:block}.no-print{display:none!important}.expense-report{-webkit-print-color-adjust:exact;print-color-adjust:exact}.report-print-head h1{font-size:var(--fs-xl);margin:0}.report-print-head p{color:var(--text-muted);margin:0 0 12px}.expense-report .card-box,.expense-report .kpi{break-inside:avoid}.report-grid{grid-template-columns:1fr}.report-records .table-scroll{overflow:visible}}.sale-form{flex-direction:column;gap:16px;display:flex}.sale-picker{flex-direction:column;gap:8px;display:flex}.pick-list,.cart{gap:8px;margin:0;padding:0;list-style:none;display:grid}.pick{text-align:left;width:100%;min-height:56px;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);align-items:center;gap:12px;padding:8px 14px;font-weight:400;display:flex}.pick:hover{background:var(--brand-50)}.pick-main,.pick-side{flex-direction:column;gap:2px;min-width:0;display:flex}.pick-main{flex:1}.pick-side{align-items:flex-end}.sale-empty{align-items:center;gap:8px;margin:0;display:flex}.cart-line{background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:10px;padding:12px 14px;display:flex}.cart-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.cart-edit{grid-template-columns:auto minmax(0,1fr);align-items:end;gap:12px;display:grid}.stepper{align-items:center;gap:6px;display:flex}.stepper button{width:44px;padding:0}.stepper input{text-align:center;width:56px}.cart-total{text-align:right;margin:0;font-weight:700}label.chip{cursor:pointer;align-items:center;display:inline-flex}label.chip:focus-within{box-shadow:var(--focus)}.sale-more>summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.sale-more[open]{gap:12px;display:grid}.sale-bar{z-index:5;background:var(--surface);border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin:0 -24px -24px;padding:12px 24px;display:flex;position:sticky;bottom:0;box-shadow:0 -4px 16px #10201814}.has-bottom-nav .sale-bar{bottom:calc(var(--bottom-nav-h) + env(safe-area-inset-bottom,0px))}.sale-bar-total{flex-direction:column;display:flex}.sale-bar .actions{flex:220px;justify-content:flex-end;margin:0}.sale-bar .primary-large{flex:auto}@media (width>=640px){.sale-form{max-width:720px}}.health-verdict{margin:0 0 12px;padding-left:18px}.health-tiles{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.health-apart{gap:4px;margin:0 0 12px;display:grid}.health-apart div{justify-content:space-between;gap:12px;display:flex}.health-apart dt{color:var(--text-muted)}.health-apart dd{margin:0}.waterfall{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.waterfall-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label value""track track";align-items:baseline;gap:4px 12px;display:grid}.waterfall-label{grid-area:label}.waterfall-value{grid-area:value}.waterfall-track{background:var(--surface-muted);border:1px solid var(--border);border-radius:999px;grid-area:track;height:10px;display:block;position:relative;overflow:hidden}.waterfall-bar{border-radius:999px;position:absolute;top:0;bottom:0}.bar-info{background:var(--info)}.waterfall-zero{background:var(--border-strong,var(--text-muted));width:1px;position:absolute;top:0;bottom:0}@media (width>=700px){.waterfall-row{grid-template-columns:minmax(180px,2fr) 3fr minmax(90px,auto);grid-template-areas:"label track value";align-items:center}}.chip-scroll{flex-wrap:nowrap;padding-bottom:4px;overflow-x:auto}.chip-scroll .chip{flex:none}
