@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:#87938e;--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:15px;line-height:1.5}*{box-sizing:border-box}body{background:var(--bg);min-height:100vh;margin:0}h1,h2,h3{color:var(--text);letter-spacing:-.01em}h1{margin:0 0 6px;font-size:1.5rem;line-height:1.25}h2{margin:24px 0 12px;font-size:1.1rem}h3{margin:0 0 6px;font-size:1rem}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{color:var(--brand-900);letter-spacing:-.01em;align-items:center;gap:10px;font-size:1.15rem;font-weight:700;text-decoration:none;display:inline-flex}.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{color:var(--text);font-size:.875rem;font-weight:600}.field-hint{color:var(--text-muted);font-size:.82rem}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}.check input{width:20px;height:20px;min-height:0;accent-color:var(--brand-700);padding:0}button,a.button{font:inherit;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;font-size:.94rem;font-weight:600;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;padding:0 12px;font-size:.875rem}button.primary-large{min-height:52px;padding:0 28px;font-size:1.05rem}.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:.875rem}.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);border-radius:999px;padding:3px 10px;font-size:.8rem;font-weight:600;display:inline-block}.big{color:var(--text);letter-spacing:-.02em;font-size:1.6rem;font-weight:700}.status,.pill{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:.76rem;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;border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:.75rem;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);background:0 0;border:0;border-radius:999px;padding:4px 12px;font-size:.85rem;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{letter-spacing:-.02em;max-width:16ch;margin:0 0 28px;font-size:1.9rem;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;letter-spacing:.01em;color:#fff;background:#a4501a;padding:6px 16px;font-size:.82rem;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{letter-spacing:.08em;text-transform:uppercase;color:var(--text-subtle);margin:0 0 6px;padding:0 12px;font-size:.7rem;font-weight:700}.nav-item{border-radius:var(--radius-sm);min-height:42px;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);margin:auto 0 0;padding:16px 12px 4px;font-size:.875rem;font-style:italic}.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{color:var(--text-muted);font-size:.78rem;font-weight:500}.business-avatar{border-radius:var(--radius-sm);background:linear-gradient(145deg, var(--brand-600), var(--brand-800));color:#fff;letter-spacing:.02em;flex:none;place-items:center;width:36px;height:36px;font-size:.85rem;font-weight:700;display:inline-grid}.business-avatar.small{width:28px;height:28px;font-size:.72rem}.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);text-align:left;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:10px;padding:6px 10px;font-size:.92rem;font-weight:500;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);border-radius:50%;place-items:center;font-size:.85rem;font-weight:700;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{color:var(--text-muted);font-size:.75rem;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);background:0 0;border:0;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:0 4px;font-size:.7rem;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{flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:0;font-size:1.6rem;display:flex}.page-meta{color:var(--text-subtle);letter-spacing:0;font-size:.9rem;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{align-items:center;gap:8px;margin:0;font-size:.98rem;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-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{letter-spacing:.05em;font-size:1.2rem}@media (width>=640px){.grid-2{grid-template-columns:1fr 1fr}.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{letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);background:var(--surface-muted);font-size:.75rem;font-weight:700}table.statement .subtotal th,table.statement .subtotal td{font-weight:600}table.statement .total th,table.statement .total td{background:var(--surface-muted);font-size:1.1rem;font-weight:700}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{margin:0 0 6px;font-size:1.15rem}.position-summary{color:var(--text);margin:0;font-size:1rem;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:1.6rem;line-height:1.1}.count span{color:var(--text-muted);font-size:.75rem;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{color:var(--text-muted);margin:0;font-size:.875rem;font-weight:600}.kpi-value{letter-spacing:-.02em;overflow-wrap:anywhere;margin:4px 0 0;font-size:1.85rem;font-weight:700;line-height:1.15}.kpi-unit{color:var(--text-subtle);letter-spacing:0;margin-left:6px;font-size:.8rem;font-weight:600}.kpi-sub{color:var(--text-muted);margin:0;font-size:.85rem}.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{margin-top:auto;padding-top:8px;font-size:.82rem}.kpi-compare{color:var(--text-muted)}.kpi-compare.better{color:var(--ok)}.kpi-compare.worse{color:var(--attention)}.kpi-link,.insight-link{color:var(--brand-700);align-items:center;gap:4px;font-size:.85rem;font-weight:600;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{justify-content:space-between;gap:12px;margin-bottom:6px;font-size:.9rem;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:1.08rem}.business-card-help{color:var(--text-muted);margin:8px 0 14px;font-size:.875rem}.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{color:var(--text-muted);font-size:.875rem;font-weight:600}.stat-value{letter-spacing:-.02em;font-size:1.6rem;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{border-radius:var(--radius);width:52px;height:52px;font-size:1.05rem}.party-head-text{flex-direction:column;min-width:0;display:flex}.party-head-text h2{margin:0;font-size:1.3rem}.party-head-balance{flex-direction:column;grid-column:1/-1;align-items:flex-start;gap:2px;display:flex}.party-head-balance strong{letter-spacing:-.02em;font-size:1.7rem}.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-size:.9rem;font-weight:600}.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:2.4rem;--rental-name-w:8.5rem}.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));border-bottom:1px solid var(--border);grid-template-rows:48px;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);color:var(--text-muted);grid-template-rows:44px;font-size:.8rem}.rental-name{z-index:2;white-space:nowrap;text-overflow:ellipsis;background:inherit;background-color:var(--surface);border-right:1px solid var(--border);align-items:center;padding:0 12px;font-weight:600;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{color:var(--text-subtle);font-size:.7rem}.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;color:#fff;white-space:nowrap;text-overflow:ellipsis;border-radius:999px;align-self:center;height:32px;margin:0 3px;padding:0 10px;font-size:.85rem;font-weight:600;line-height:32px;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{color:var(--text-muted);flex-wrap:wrap;gap:8px 20px;margin:12px 0 0;padding:0;font-size:.85rem;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{align-items:center;gap:8px;margin:0 0 6px;font-size:.9rem;display:flex}.rental-today-count{min-width:22px;color:var(--brand-800);text-align:center;background:var(--brand-100);border-radius:999px;padding:0 7px;font-size:.8rem;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{margin:0 0 10px;font-size:1.1rem;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}.notice-attention{color:var(--attention);background:var(--attention-bg);border-color:var(--attention-line)}.list-item:has(>.calendar-sync){flex-wrap:wrap}.calendar-sync{flex-basis:100%;margin-top:4px}.calendar-sync summary{cursor:pointer;font-weight:600}.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{align-items:center;gap:8px;margin:0;font-size:1rem;display:flex}.case-occupancy{margin:2px 0 8px;font-size:.85rem}.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{color:var(--text-muted);flex-wrap:wrap;gap:6px 18px;margin:0 0 8px;padding:0;font-size:.85rem;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;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;font-size:.8rem;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;padding:0 12px;font-size:.875rem}.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{color:var(--brand-900);margin:0;font-size:1.5rem;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}.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{color:var(--text-subtle);white-space:nowrap;font-size:.75rem}.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{color:var(--brand-900);flex-wrap:wrap;justify-content:space-between;gap:4px 12px;margin:18px 0 8px;font-size:.95rem;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{color:var(--text-muted);text-align:center;grid-template-columns:repeat(12,1fr);gap:6px;font-size:.72rem;display:grid}.chart-legend{color:var(--text-muted);flex-wrap:wrap;gap:4px 14px;margin:8px 0 0;font-size:.8rem;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{color:var(--text-muted);margin:0;font-size:.8rem}.kpi-tile .kpi-number{font-variant-numeric:tabular-nums;margin:4px 0;font-size:1.35rem;font-weight:700}.kpi-tile .kpi-change{margin:0;font-size:.8rem}.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;padding-left:38px;font-size:1.05rem}.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:.85rem;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-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:.85rem}.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}.follow-up{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}
