@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+0460-052F,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+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,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+1F00-1FFF}@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+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@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+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,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+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color-scheme:light;font-family:Inter Variable,Inter,system-ui,-apple-system,Segoe UI,sans-serif;--sv-accent: #00796b;--sv-accent-dark: #00695c;--sv-accent-light: #e0f2f1;--sv-background: #f0f2f5;--sv-surface: #ffffff;--sv-ink: #1a2332;--sv-ink-2: #475569;--sv-muted: #5b6676;--sv-line: #e8edf2;--sv-line-soft: #f1f5f9;--sv-field-border: #cbd5e1;--sv-danger: #b91c1c;--sv-danger-dark: #991b1b;--sv-shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);--sv-shadow-md: 0 4px 12px rgba(0, 0, 0, .1), 0 2px 4px rgba(0, 0, 0, .06);--sv-shadow-lg: 0 10px 30px rgba(0, 0, 0, .12), 0 4px 10px rgba(0, 0, 0, .08);--sv-status-neutral-bg: #f1f5f9;--sv-status-neutral-ink: #5b6676;--sv-status-info-bg: #dbeafe;--sv-status-info-ink: #1e40af;--sv-status-progress-bg: #e0f2f1;--sv-status-progress-ink: #00695c;--sv-status-attention-bg: #fff3cd;--sv-status-attention-ink: #856404;--sv-status-review-bg: #ede9fe;--sv-status-review-ink: #6d28d9;--sv-status-success-bg: #d1e7dd;--sv-status-success-ink: #0a3622;--sv-status-danger-bg: #fee2e2;--sv-status-danger-ink: #b91c1c;--border: var(--sv-line);--border-strong: var(--sv-field-border);--text: var(--sv-ink);--text-muted: var(--sv-muted);--accent: var(--sv-accent);--accent-dark: var(--sv-accent-dark);--accent-wash: var(--sv-accent-light);--danger: var(--sv-danger);--danger-dark: var(--sv-danger-dark);--danger-wash: var(--sv-status-danger-bg);--danger-border: #fecaca;--success: var(--sv-status-success-ink);--success-wash: var(--sv-status-success-bg);--warning: var(--sv-status-attention-ink);--warning-wash: var(--sv-status-attention-bg);--surface: var(--sv-surface);--surface-muted: var(--sv-background);--surface-sunken: var(--sv-line);--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--shadow-sm: var(--sv-shadow-sm);--shadow-md: var(--sv-shadow-md);--shadow-lg: var(--sv-shadow-lg);--shadow-lift: 0 10px 28px rgba(0, 77, 64, .16), 0 2px 6px rgba(0, 0, 0, .06);--brand-deep: #003d33;--brand-mid: #00574b;--brand-surface: linear-gradient(118deg, var(--brand-deep) 0%, var(--brand-mid) 55%, var(--sv-accent-dark) 100%);--brand-glow: radial-gradient(circle at 85% -20%, rgba(128, 222, 204, .35), transparent 55%);--touch-target: 64px;--chart-completed: #00897b;--chart-not-completed: #b91c1c;--chart-neutral: #6b7a90}*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#d7eeea 0,#d7eeea00 320px) no-repeat,var(--surface-muted);color:var(--text);font-size:1.05rem;line-height:1.45;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased}button,.branch-card,.item-tile,.switch-field,.checkbox-field{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}@media(prefers-reduced-motion:no-preference){button,.branch-card,.item-tile,.chip,.switch-field input[type=checkbox],.switch-field input[type=checkbox]:after,.checkbox-field input[type=checkbox],.checkbox-field input[type=checkbox]:after{transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease,transform 90ms ease}}h1{font-size:1.9rem;font-weight:800;letter-spacing:-.02em;line-height:1.2;margin:0 0 .5rem}h2{font-size:1.35rem;font-weight:700;letter-spacing:-.01em;line-height:1.25;margin:1.75rem 0 .75rem}h3{font-size:1.1rem;line-height:1.3;margin:1.25rem 0 .6rem}.page{max-width:1100px;margin:0 auto;padding:1rem 1.25rem 4rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:2rem;box-shadow:var(--shadow-sm)}.login-page{position:relative;overflow:hidden;min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr);background:var(--brand-glow),var(--brand-surface)}.login-page:before,.login-page:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.login-page:before{width:520px;height:520px;left:-160px;bottom:-220px;border:70px solid rgba(255,255,255,.05)}.login-page:after{width:300px;height:300px;left:30%;top:-120px;background:radial-gradient(circle,rgba(128,222,204,.22),transparent 70%)}.login-hero{display:none}.login-panel{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;padding:1rem}.login-card{width:100%;max-width:420px;display:flex;flex-direction:column;gap:1rem;border:none;border-radius:var(--radius-lg);box-shadow:0 24px 60px #00000052,0 4px 12px #0000001f}.login-card h1{margin:0;text-align:center}.login-card .brand-mark{align-self:center}.login-subtitle{margin:-.5rem 0 .5rem;color:var(--text-muted);text-align:center}.login-hero-title{margin:0;font-size:clamp(2.2rem,4vw,3.2rem);font-weight:800;letter-spacing:-.03em;line-height:1.08;text-wrap:balance}.login-hero-text{max-width:28rem;margin:1rem 0 2rem;color:#ffffffe0;font-size:1.15rem;line-height:1.5}.login-features{display:flex;flex-direction:column;gap:.75rem;max-width:30rem;margin:0;padding:0;list-style:none}.login-feature{display:flex;align-items:center;gap:.9rem;padding:.8rem 1rem;border:1px solid rgba(255,255,255,.16);border-radius:var(--radius-md);background:#ffffff1a;font-weight:600}.login-feature-icon{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:12px;background:linear-gradient(145deg,#4db6ac,#00897b);font-size:24px}.input-with-icon{position:relative;display:block}.input-with-icon>.icon{position:absolute;top:50%;left:1rem;transform:translateY(-50%);color:var(--text-muted);font-size:1.4rem;pointer-events:none}.field>.input-with-icon{font-weight:400;color:var(--text)}.field .input-with-icon input:not([type=checkbox]){padding-left:3rem}.input-with-icon:focus-within>.icon{color:var(--accent)}@media(min-width:900px){.login-page{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.login-hero{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;padding:4rem clamp(2rem,6vw,5rem);color:#fff}.login-panel{padding:2rem;background:var(--surface);border-radius:36px 0 0 36px;box-shadow:-24px 0 60px #00000038}.login-card{padding:0;background:none;box-shadow:none}}.brand-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:12px;background:linear-gradient(145deg,#4db6ac,#00897b);color:#fff;font-size:24px;box-shadow:0 2px 6px #00000040}.brand-mark--large{width:64px;height:64px;border-radius:18px;font-size:36px;box-shadow:0 8px 20px #00796b59}.page-header,.section-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.page-header{margin-bottom:1.25rem}.section-header{margin-bottom:.75rem}.page-header h1,.section-header h2,.section-header h3{margin:0}.page-header h1:after{content:"";display:block;width:2.5rem;height:4px;margin-top:.4rem;border-radius:999px;background:linear-gradient(90deg,var(--accent),#4db6ac)}.header-actions{display:flex;gap:.5rem;flex-wrap:wrap}.section-title{display:flex;align-items:center;gap:.6rem;border-bottom:1px solid var(--border);padding-bottom:.4rem}.section-title:before{content:"";flex:none;width:4px;height:1.1em;border-radius:999px;background:var(--accent)}.section-header--ruled{border-bottom:1px solid var(--border);padding-bottom:.5rem}.field{display:flex;flex-direction:column;gap:.35rem;font-size:.95rem}.field>span{font-weight:600;color:var(--text-muted)}.field input:not([type=checkbox]),.field select,.field textarea{min-height:var(--touch-target);padding:.5rem .75rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);font-size:1.05rem;font-family:inherit;color:inherit;background:var(--surface);width:100%}.field input:not([type=checkbox]):focus-visible,.field select:focus-visible{border-color:var(--accent)}.field-error{color:var(--danger)}.hint{color:var(--text-muted);font-size:.9rem}fieldset.field{border:1px solid var(--border);border-radius:var(--radius-sm);padding:.25rem .75rem .5rem;margin:0}fieldset.field .checkbox-field+.checkbox-field{border-top:1px solid var(--border)}fieldset.field legend{padding:0 .35rem;font-size:.95rem;font-weight:600;color:var(--text-muted)}button{min-height:var(--touch-target);padding:.5rem 1.25rem;border-radius:12px;border:1px solid var(--border-strong);background:var(--surface);color:inherit;font-size:1.05rem;font-family:inherit;font-weight:600;cursor:pointer;box-shadow:0 1px 2px #1018280f}:where(a).button-small,:where(a).button-primary{display:inline-flex;align-items:center;justify-content:center;min-height:var(--touch-target);padding:.5rem 1.25rem;border:1px solid var(--border-strong);border-radius:12px;background:var(--surface);color:inherit;font-size:1.05rem;font-weight:600;text-decoration:none;box-shadow:0 1px 2px #1018280f}a{color:var(--accent)}button:disabled{opacity:.55;cursor:default}button:not(:disabled):active{transform:translateY(1px) scale(.985)}@media(hover:hover){button:not(:disabled):hover{border-color:var(--accent)}}.button-primary{background:linear-gradient(180deg,#00897b,var(--accent) 60%,var(--accent-dark));border-color:var(--accent-dark);color:#fff;box-shadow:0 2px 8px #00796b59}@media(hover:hover){.button-primary:not(:disabled):hover{background:var(--accent-dark);border-color:var(--accent-dark)}}.button-danger{background:linear-gradient(180deg,#d32f2f,var(--danger) 60%,var(--danger-dark));border-color:var(--danger-dark);color:#fff;box-shadow:0 2px 8px #b91c1c4d}@media(hover:hover){.button-danger:not(:disabled):hover{background:var(--danger-dark);border-color:var(--danger-dark)}}.button-secondary{background:var(--surface-muted)}.button-large{min-height:88px;font-size:1.2rem;font-weight:700}.button-small{min-height:44px;padding:.35rem .85rem;font-size:.9rem;text-decoration:none;display:inline-flex;align-items:center;white-space:nowrap}.app-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;position:relative;overflow:hidden;padding:.75rem 1.25rem;background:var(--brand-glow),var(--brand-surface);color:#fff;border-radius:var(--radius-lg);box-shadow:0 8px 22px #003d3347;margin-bottom:1.25rem}.app-header-brand{display:inline-flex;align-items:center;gap:.7rem;font-weight:800;font-size:1.25rem;letter-spacing:-.01em;color:#fff;text-decoration:none;padding:.25rem 0}.app-header-session{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.app-header-user{color:var(--sv-accent-light);font-size:.95rem;font-weight:500;margin-right:.25rem}.app-header button,.app-nav-link{background:#ffffff1f;border-color:#ffffff47;color:#fff;box-shadow:none}@media(hover:hover){.app-header button:not(:disabled):hover,.app-nav-link:hover{background:#ffffff38;border-color:#fff9}}.app-nav{display:flex;gap:.4rem}.app-nav-link{border:1px solid rgba(255,255,255,.28);border-radius:12px;font-weight:600}.app-nav-link[aria-current=page],.app-nav-link[aria-current=page]:hover{background:#fff;border-color:#fff;color:var(--accent-dark);box-shadow:0 2px 8px #0003}.connection-banner{text-align:center;padding:.6rem;font-weight:600;font-size:1rem;border-radius:var(--radius-sm);margin-bottom:1rem}.connection-banner--offline{background:var(--danger);color:#fff}.connection-banner--syncing{background:var(--warning);color:#fff}.feedback{padding:1rem 0;color:var(--text-muted)}.error-alert{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;padding:.85rem 1rem;background:var(--danger-wash);border:1px solid var(--danger-border);border-radius:var(--radius-sm);color:var(--danger);font-size:1rem;font-weight:600}.error-alert .icon{font-size:1.35rem}.error-alert__text{flex:1;min-width:0}.page>.error-alert{margin:1rem 0}.icon{flex:none;width:1em;height:1em}.empty-state{padding:2rem 1.5rem;background:linear-gradient(180deg,var(--surface),#f5fbfa);border:1px dashed #80cbc4;border-radius:var(--radius-md);color:var(--text-muted);text-align:center}.skeleton{background:var(--surface-sunken);border-radius:var(--radius-md)}@media(prefers-reduced-motion:no-preference){.skeleton{animation:skeleton-pulse 1.4s ease-in-out infinite}}@keyframes skeleton-pulse{50%{opacity:.55}}.skeleton-tile{height:118px}.skeleton-card{height:150px}.branch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}.branch-card{position:relative;display:block;background:var(--surface);border:1px solid var(--border);border-top:4px solid var(--accent);border-radius:var(--radius-md);padding:1.25rem;text-decoration:none;color:inherit;min-height:var(--touch-target);box-shadow:var(--shadow-sm)}.branch-card-icon{position:absolute;top:1.1rem;right:1.1rem;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:var(--accent-wash);color:var(--accent);font-size:26px}.branch-card h2{margin:0 0 .35rem;padding-right:3.5rem;font-size:1.25rem}.branch-card-address{margin:0;color:var(--text-muted);font-size:.95rem}.branch-card:active{transform:translateY(1px) scale(.99)}@media(hover:hover){.branch-card:hover{border-color:var(--accent);box-shadow:var(--shadow-lift)}}.branch-card-badges{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}.status-toggles{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}.switch-field,.checkbox-field{display:flex;align-items:center;gap:.85rem;min-height:var(--touch-target);font-weight:600;cursor:pointer}.status-toggles .switch-field{flex:1 1 260px;padding:.75rem 1rem;background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--accent);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.status-toggles .switch-field:active{transform:translateY(1px)}.switch-field-text{display:flex;flex-direction:column;gap:.1rem}.switch-field-label{font-size:.85rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.switch-field-value{font-size:1.1rem}.switch-field-value--closed{color:var(--danger)}.switch-field-value--busy{color:var(--warning)}.switch-field input[type=checkbox][role=switch]{-moz-appearance:none;appearance:none;-webkit-appearance:none;flex:none;position:relative;margin:0;width:64px;height:36px;border:none;border-radius:999px;background:var(--border-strong);cursor:pointer}.switch-field input[type=checkbox][role=switch]:after{content:"";position:absolute;top:3px;left:3px;width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #10182866}.switch-field input[type=checkbox][role=switch]:checked{background:linear-gradient(90deg,var(--accent-dark),#00897b)}.switch-field input[type=checkbox][role=switch]:checked:after{transform:translate(28px)}.checkbox-field input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;flex:none;position:relative;margin:0;width:32px;height:32px;border:2px solid var(--border-strong);border-radius:8px;background:var(--surface);cursor:pointer}.checkbox-field input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent)}.checkbox-field input[type=checkbox]:checked:after{content:"";position:absolute;left:10px;top:5px;width:8px;height:15px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}.menu-section+.menu-section{margin-top:2.5rem}.menu-subsection+.menu-subsection{margin-top:2rem}.item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.85rem}.item-tile{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;min-height:118px;padding:1rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);text-align:left;font-weight:400}@media(hover:hover){.item-tile:hover{border-color:var(--accent);box-shadow:var(--shadow-lift)}}.item-tile-name{font-weight:600;font-size:1.05rem}.item-tile-price{color:var(--accent-dark);font-weight:600;font-variant-numeric:tabular-nums}.item-tile-note{font-size:.85rem;color:var(--text-muted);font-weight:400}.item-tile-badges{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:auto;padding-top:.35rem}.item-tile--out{background:var(--surface-muted);border-color:var(--border-strong);box-shadow:none}.item-tile--out .item-tile-name{text-decoration:line-through;color:var(--text-muted)}.item-tile--syncing{border-color:var(--warning)}.item-tile--suspended{background:var(--danger-wash);border-color:var(--danger)}.item-tile--suspended .badge-danger{background:var(--surface)}.item-tile-header{display:flex;gap:.5rem;align-items:flex-start;width:100%}.item-tile-open{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;border:none;background:none;padding:0;min-height:auto;text-align:left;font-weight:inherit;box-shadow:none}.item-thumbnail{width:3.5rem;height:3.5rem;border-radius:10px;object-fit:cover;background:var(--surface-muted);flex-shrink:0}.item-thumbnail-placeholder{width:3.5rem;height:3.5rem;border-radius:var(--radius-sm);background:var(--surface-muted);border:1px dashed var(--border);flex-shrink:0}.item-images-modal{display:flex;flex-direction:column;gap:1rem}.item-images-grid{display:flex;flex-wrap:wrap;gap:.85rem;list-style:none;margin:0;padding:0}.item-image-tile{width:10rem;display:flex;flex-direction:column;align-items:center;gap:.4rem;background:var(--surface-muted);border-radius:var(--radius-md);padding:.6rem}.item-image-tile img{width:100%;height:auto;aspect-ratio:4 / 3;object-fit:cover;border-radius:var(--radius-sm)}.item-image-move{display:flex;gap:.4rem}.badge{display:inline-block;padding:.25rem .65rem;border-radius:999px;background:var(--sv-status-neutral-bg);color:var(--sv-status-neutral-ink);font-size:.85rem;font-weight:600}.badge-neutral{background:var(--sv-status-neutral-bg);color:var(--sv-status-neutral-ink)}.badge-info{background:var(--sv-status-info-bg);color:var(--sv-status-info-ink)}.badge-progress{background:var(--sv-status-progress-bg);color:var(--sv-status-progress-ink)}.badge-attention{background:var(--sv-status-attention-bg);color:var(--sv-status-attention-ink)}.badge-review{background:var(--sv-status-review-bg);color:var(--sv-status-review-ink)}.badge-success{background:var(--sv-status-success-bg);color:var(--sv-status-success-ink)}.badge-danger{background:var(--sv-status-danger-bg);color:var(--sv-status-danger-ink)}.table-card{overflow-x:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.simple-table{width:100%;border-collapse:collapse}.simple-table th,.simple-table td{padding:.75rem 1rem;text-align:left;vertical-align:middle}.simple-table th{background:#f6fafa;border-bottom:1px solid var(--border);font-size:.8rem;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--text-muted);white-space:nowrap}.simple-table td{border-bottom:1px solid var(--sv-line-soft)}.simple-table tbody tr:last-child td{border-bottom:none}.entity-name{font-weight:600;color:var(--text)}.cell-muted{color:var(--text-muted)}.table-actions{text-align:right;white-space:nowrap}.modal{border:none;border-radius:var(--radius-lg);padding:0;width:min(520px,92vw);max-height:90vh;background:var(--surface);color:inherit;box-shadow:var(--shadow-lg)}.modal::backdrop{background:#0026218c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-content{padding:1.5rem;display:flex;flex-direction:column;gap:1rem;max-height:90vh;overflow-y:auto}.modal-header{display:flex;align-items:center;gap:.85rem}.modal-header h3{flex:1;min-width:0;margin:0;font-size:1.25rem}.modal-tile{display:flex;align-items:center;justify-content:center;flex:none;width:48px;height:48px;border-radius:var(--radius-sm);background:var(--accent-wash);color:var(--accent);font-size:26px}.modal-tile--edit{background:#e0f2fe;color:#0369a1}.modal-tile--danger{background:var(--danger-wash);color:var(--danger)}.modal-close{display:flex;align-items:center;justify-content:center;flex:none;min-height:44px;min-width:44px;padding:0;border:none;background:none;font-size:1.5rem;line-height:1;color:var(--text-muted)}.modal-form{display:flex;flex-direction:column;gap:1rem}.modal-actions{display:flex;gap:.75rem;margin-top:.25rem}.modal-actions button{flex:1;min-height:72px}.modal-message{margin:0;color:var(--text-muted)}.stock-sheet-actions{display:flex;flex-direction:column;gap:.75rem}.stock-sheet-current{color:var(--text-muted);margin:0}.reason-chips{display:flex;flex-wrap:wrap;gap:.5rem}.chip{min-height:52px;border-radius:999px;background:var(--surface);font-weight:600}@media(hover:hover){.chip:hover{background:var(--accent-wash)}}@media(max-width:640px){.page{padding:.75rem .85rem 4rem}.app-header{padding:.75rem .85rem}.app-header-user{display:none}.item-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.modal-actions{flex-direction:column-reverse}}.orders-summary{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem;font-size:.95rem;font-weight:600}.orders-summary-item{white-space:nowrap;padding:.45rem .9rem;background:var(--surface);border:1px solid var(--border);border-radius:999px;box-shadow:var(--shadow-sm)}.orders-summary-item--main{background:var(--accent-wash);border-color:#80cbc4;color:var(--accent-dark)}.orders-summary-item--bad{background:var(--warning-wash);border-color:#f0dc9a;color:var(--warning)}.order-tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem;border-bottom:1px solid var(--border);padding-bottom:.75rem}.order-tab{min-height:56px;padding:.5rem 1.1rem;display:inline-flex;align-items:center;gap:.5rem;background:var(--surface);border-radius:999px;font-weight:600}.order-tab-active{background:linear-gradient(180deg,#00897b,var(--accent) 60%,var(--accent-dark));border-color:var(--accent-dark);color:#fff;box-shadow:0 2px 8px #00796b59}.order-tab-active .order-tab-count{background:#fff;color:var(--accent-dark)}.order-tab-count{min-width:1.6rem;padding:.05rem .4rem;border-radius:999px;background:var(--accent);color:#fff;font-size:.9rem;font-weight:700}.order-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.order-card{display:flex;flex-direction:column;gap:.5rem;min-height:130px;padding:1rem;background:var(--surface);border:1px solid var(--border);border-left:5px solid var(--accent);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);text-decoration:none;color:inherit}.order-card:active{transform:translateY(1px) scale(.99)}.order-card--neutral{border-left-color:var(--border-strong)}.order-card--info{border-left-color:var(--sv-status-info-ink)}.order-card--progress{border-left-color:var(--sv-status-progress-ink)}.order-card--attention{border-left-color:var(--sv-status-attention-ink)}.order-card--review{border-left-color:var(--sv-status-review-ink)}.order-card--success{border-left-color:#2e8b57}.order-card--danger{border-left-color:var(--danger)}@media(hover:hover){.order-card:hover{border-color:var(--accent);box-shadow:var(--shadow-lift)}}.order-card-head,.order-card-body,.order-card-foot{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem}.order-card-foot{margin-top:auto;padding-top:.35rem;font-size:.85rem;color:var(--text-muted)}.order-card-code{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-weight:700;font-size:1.05rem}.order-card-total{font-size:1.3rem;font-weight:800;letter-spacing:-.01em;font-variant-numeric:tabular-nums}.order-card-meta,.order-card-placed{display:inline-flex;align-items:center;gap:.35rem;color:var(--text-muted)}.order-card-waiting{padding:.2rem .65rem;border-radius:999px;background:var(--surface-muted);color:var(--text);font-weight:700}.order-card--overdue{background:linear-gradient(180deg,var(--danger-wash),var(--surface) 72%);border-color:var(--danger-border);border-left-color:var(--danger)}.order-card--overdue .order-card-waiting{background:var(--danger);color:#fff}.order-card--syncing{border-color:var(--warning)}.order-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1.25rem}.order-actions .button-large{flex:1 1 220px}.order-ready-note{color:var(--success);font-weight:600}.order-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;align-items:start}.order-panel{padding:1.1rem 1.25rem;background:var(--surface);border:1px solid var(--border);border-top:4px solid var(--accent);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.order-panel .section-title{margin-top:0}.order-panel .section-title:not(:first-child){margin-top:1.25rem}.order-panel-line{margin:.5rem 0;line-height:1.5}.order-panel-note{margin:.5rem 0 0;color:var(--text-muted);font-size:.9rem}.order-landmark{color:var(--text-muted);font-style:italic}.order-line{display:flex;gap:.75rem;padding:.6rem 0;border-bottom:1px solid var(--border)}.order-line:last-child{border-bottom:none}.order-line-qty{font-weight:700;font-variant-numeric:tabular-nums;min-width:2.2rem}.order-line-name{flex:1}.order-line-options{display:block;margin-top:.2rem;color:var(--text-muted);font-size:.9rem}.order-line-option:not(:last-child):after{content:" · "}.order-line-total{font-variant-numeric:tabular-nums;white-space:nowrap}.order-totals{margin:.5rem 0 0}.order-totals div{display:flex;justify-content:space-between;gap:1rem;padding:.3rem 0}.order-totals dt,.order-totals dd{margin:0}.order-totals dd{font-variant-numeric:tabular-nums}.order-totals-grand{margin-top:.35rem;padding-top:.5rem!important;border-top:1px solid var(--border);font-weight:700;font-size:1.05rem}.order-history{list-style:none;margin:.5rem 0 0;padding:0}.order-history-row{display:grid;grid-template-columns:minmax(0,auto) 1fr minmax(0,auto);gap:.75rem;padding:.5rem 0;border-bottom:1px solid var(--border);font-size:.9rem}.order-history-row:last-child{border-bottom:none}.order-history-when{color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap}.order-history-what{font-weight:600}.order-history-who{color:var(--text-muted);white-space:nowrap}.prep-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem;margin:.5rem 0 1rem}.prep-option{min-height:var(--touch-target);font-size:1.1rem;font-weight:600;background:var(--surface-muted)}.prep-option-selected{background:var(--accent-wash);border-color:var(--accent);color:var(--accent-dark)}.reason-list{display:flex;flex-direction:column;gap:.5rem;margin:.5rem 0 1rem}.reason-option{min-height:var(--touch-target);justify-content:flex-start;text-align:left;padding:.6rem 1rem;background:var(--surface-muted);font-weight:500}.reason-option-selected{background:var(--danger-wash);border-color:var(--danger);color:var(--danger);font-weight:700}.dash-subtitle{margin:.2rem 0 0;color:var(--text-muted);font-size:.95rem}.dash-section+.dash-section{margin-top:1.75rem}.dash-ranges{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.5rem}.dash-range{padding:0 1.1rem;border:1px solid var(--border-strong);color:var(--text)}.dash-range-active{background:linear-gradient(180deg,#00897b,var(--accent) 60%,var(--accent-dark));border-color:var(--accent-dark);color:#fff;box-shadow:0 2px 8px #00796b59}@media(hover:hover){.dash-range-active:hover{background:var(--accent-dark)}}.dash-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem;margin-bottom:1.5rem}.dash-tile{display:flex;flex-direction:column;gap:.2rem;padding:1.1rem 1.25rem;background:var(--surface);border:1px solid var(--border);border-top:4px solid var(--border-strong);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.dash-tile-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-bottom:.5rem;border-radius:12px;background:var(--surface-muted);font-size:26px;line-height:1;color:var(--text-muted)}.dash-tile-value{font-size:2.3rem;font-weight:800;letter-spacing:-.02em;line-height:1.1;font-variant-numeric:tabular-nums}.dash-tile-value--money{font-size:1.55rem;word-break:break-word}.dash-tile-label{color:var(--text-muted);font-size:.95rem;font-weight:600}.dash-tile-note{color:var(--text-muted);font-size:.85rem}.dash-tile--accent{border-top-color:var(--accent)}.dash-tile--accent .dash-tile-icon{background:var(--accent-wash);color:var(--accent)}.dash-tile--info{border-top-color:var(--sv-status-info-ink)}.dash-tile--info .dash-tile-icon{background:var(--sv-status-info-bg);color:var(--sv-status-info-ink)}.dash-tile--progress{border-top-color:var(--sv-status-progress-ink)}.dash-tile--progress .dash-tile-icon{background:var(--sv-status-progress-bg);color:var(--sv-status-progress-ink)}.dash-tile--attention{border-top-color:var(--sv-status-attention-ink)}.dash-tile--attention .dash-tile-icon{background:var(--sv-status-attention-bg);color:var(--sv-status-attention-ink)}.dash-tile--success{border-top-color:var(--sv-status-success-ink)}.dash-tile--success .dash-tile-icon{background:var(--sv-status-success-bg);color:var(--sv-status-success-ink)}.dash-causes{display:flex;flex-direction:column;gap:.6rem;margin-bottom:1.5rem}.dash-cause{display:flex;align-items:center;gap:.75rem}.dash-cause-label{flex:0 0 13rem;font-size:.95rem;font-weight:600}.dash-cause-bar{flex:1;height:14px;border-radius:999px;background:var(--surface-sunken);overflow:hidden}.dash-cause-fill{display:block;height:100%;border-radius:999px;background:var(--sv-status-attention-ink)}.dash-branch-figures{display:flex;flex-direction:column;gap:.15rem;margin-top:.75rem}.dash-branch-money{font-size:1.3rem;font-weight:700;font-variant-numeric:tabular-nums}.dash-branch-meta{margin:.35rem 0 0;color:var(--text-muted);font-size:.9rem;font-weight:600}.dash-branch-meta--attention{color:var(--sv-status-attention-ink)}@media(max-width:640px){.dash-cause-label{flex-basis:9rem}}.dash-charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:1rem;margin-bottom:1rem}.chart-card{min-width:0;padding:1.1rem 1.25rem .75rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.chart-card--stale{opacity:.55}@media(prefers-reduced-motion:no-preference){.chart-card{transition:opacity .15s ease}}.chart-title{margin:0;font-size:1.05rem;font-weight:700}.chart-title--section{margin-bottom:.6rem}.dash-subtitle--section{margin-bottom:.9rem}.chart-subtitle{margin:.15rem 0 .75rem;color:var(--text-muted);font-size:.9rem}.chart-readout{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem 1rem;min-height:2.6rem;margin-bottom:.25rem;font-size:.95rem}.chart-readout-day{font-weight:700}.chart-readout-total{color:var(--text);font-weight:700;font-size:1.05rem}.chart-legend-item{display:inline-flex;align-items:center;gap:.4rem;color:var(--text-muted);white-space:nowrap}.chart-legend-item strong{color:var(--text)}.chart-swatch{width:12px;height:12px;border-radius:3px;flex:none}.chart-swatch--completed{background:var(--chart-completed)}.chart-swatch--notCompleted{background:var(--chart-not-completed)}.chart-swatch--inProgress{background:var(--chart-neutral)}.chart-plot-box{width:100%}.chart-plot{touch-action:pan-y;border-radius:var(--radius-sm);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.chart-plot svg{display:block}.chart-grid-line{stroke:var(--border);stroke-width:1}.chart-axis-line{stroke:var(--border-strong);stroke-width:1}.chart-tick{fill:var(--text-muted);font-size:12px;font-variant-numeric:tabular-nums}.chart-tick--active{fill:var(--text);font-weight:700}.chart-band{fill:var(--surface-muted)}.chart-crosshair{stroke:var(--border-strong);stroke-width:1}.chart-segment--completed{fill:var(--chart-completed)}.chart-segment--notCompleted{fill:var(--chart-not-completed)}.chart-segment--inProgress{fill:var(--chart-neutral)}.chart-line{fill:none;stroke:var(--chart-completed);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.chart-area{fill:var(--chart-completed);opacity:.1}.chart-dot{fill:var(--chart-completed);stroke:var(--surface);stroke-width:2}.chart-hbars{display:flex;flex-direction:column;gap:.9rem;margin:0 0 1.25rem;padding:1.1rem 1.25rem;list-style:none;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.chart-hbar-head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.3rem}.chart-hbar-name{font-weight:600}.chart-hbar-value{font-weight:700;font-variant-numeric:tabular-nums}.chart-hbar-track{height:14px}.chart-hbar-fill{height:100%;border-radius:0 4px 4px 0;background:linear-gradient(90deg,#00695c,var(--chart-completed))}.chart-table-toggle{margin-bottom:1rem}.chart-table-toggle summary{display:flex;align-items:center;min-height:44px;color:var(--accent);font-weight:600;cursor:pointer}.chart-table-scroll{max-height:20rem;overflow:auto;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.chart-table{width:100%;border-collapse:collapse;font-size:.95rem;font-variant-numeric:tabular-nums}.chart-table th,.chart-table td{padding:.55rem .9rem;text-align:right;border-bottom:1px solid var(--border);white-space:nowrap}.chart-table thead th{position:sticky;top:0;background:var(--surface);color:var(--text-muted);font-size:.85rem}.chart-table th:first-child,.chart-table td:first-child{text-align:left}.chart-table tbody th{font-weight:600}
