:root{--navy-900: #0f2e1d;--navy-800: #14532d;--navy-700: #166534;--navy-100: #d9eee1;--navy-50: #f0f8f3;--gold: #fbbf24;--gold-soft: #fff7e0;--ink: #152033;--muted: #5b6678;--faint: #8b95a7;--line: #e3e8f0;--line-strong: #cfd7e3;--page: #f5f7fb;--card: #ffffff;--green: #18794e;--green-soft: #e6f4ec;--red: #b42318;--red-soft: #fdecea;--amber: #8a5300;--amber-soft: #fff4dc;--radius: 12px;--radius-sm: 8px;--shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);--shadow-lg: 0 20px 40px -12px rgba(16, 24, 40, .25);--sidebar: 248px;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;background:var(--page)}h1,h2,h3{margin:0;letter-spacing:-.01em}a{color:var(--navy-700)}button,input,select,textarea{font:inherit;color:inherit}.shell{display:grid;grid-template-columns:var(--sidebar) 1fr;min-height:100vh}.sidebar{background:var(--navy-900);color:#e7f3ec;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;padding:20px 20px 16px;color:#fff}.brand-mark{width:34px;height:34px;border-radius:9px;background:var(--gold);color:var(--navy-900);display:grid;place-items:center;font-weight:700}.brand-name{font-weight:600;font-size:15px;line-height:1.2}.brand-sub{font-size:12px;color:#a7c9b5}.nav{padding:8px 12px;display:flex;flex-direction:column;gap:2px;overflow-y:auto;flex:1}.nav-section{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:0;cursor:pointer;text-align:left;font:inherit;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#b39175;padding:12px 10px 6px;border-radius:var(--radius-sm)}.nav-section:hover{color:#e7f3ec}.nav-section svg{width:14px;height:14px;transition:transform .15s}.nav-section.open svg{transform:rotate(90deg)}.step-no{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--navy-700);color:#fff;font-size:13px;margin-right:10px;vertical-align:1px}.nav a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:var(--radius-sm);color:#e7f3ec;text-decoration:none;font-weight:500}.nav a:hover{background:#ffffff0f;color:#fff}.nav a.active{background:#ffffff1f;color:#fff}.nav a .soon{margin-left:auto;font-size:10px;padding:1px 6px;border-radius:99px;background:#ffffff1a;color:#a7c9b5}.nav svg{width:18px;height:18px;flex:none;opacity:.9}.sidebar-foot{padding:14px 16px;border-top:1px solid rgba(255,255,255,.08);font-size:12px;color:#a7c9b5}.brand-logo{flex:none;border-radius:9px}.diplozz-logo{flex:none;background:#fff;border-radius:12px;padding:2px;object-fit:contain}.parent-login-mark{display:block;margin-bottom:12px}.by-kevsoft{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:500;text-decoration:none;color:var(--muted)}.by-kevsoft.light{color:#a7c9b5}.by-kevsoft:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}.by-kevsoft.light:hover{color:#fff}.by-kevsoft svg{flex:none}.main{min-width:0;display:flex;flex-direction:column}.topbar{height:60px;background:var(--card);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;padding:0 24px;position:sticky;top:0;z-index:5}.topbar .spacer{flex:1}.side-switch{display:inline-flex;background:var(--page);border:1px solid var(--line);border-radius:99px;padding:3px}.side-switch button{border:0;background:none;padding:5px 14px;border-radius:99px;font-size:13px;font-weight:600;color:var(--muted);cursor:pointer}.side-switch button.on{background:var(--navy-800);color:#fff}.term-chip{font-size:13px;padding:5px 10px;border-radius:99px;background:var(--navy-50);color:var(--navy-800);font-weight:500;border:1px solid var(--navy-100)}.term-chip.none{background:var(--amber-soft);color:var(--amber);border-color:#f4dfb6}.user-btn{display:flex;align-items:center;gap:10px;background:none;border:0;cursor:pointer;padding:4px 6px;border-radius:var(--radius-sm)}.user-btn:hover{background:var(--navy-50)}.avatar{width:32px;height:32px;border-radius:50%;background:var(--navy-800);color:#fff;display:grid;place-items:center;font-weight:600;font-size:13px}.user-meta{text-align:left;line-height:1.2}.user-meta small{color:var(--muted);display:block;font-size:12px}.menu-backdrop{display:none}.menu-toggle{display:none;background:none;border:0;padding:6px;cursor:pointer;color:var(--navy-800)}.menu-toggle svg{width:24px;height:24px;display:block}.content{padding:28px 32px 48px;max-width:1200px;width:100%}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}.page-head h1{font-size:24px;font-weight:700}.page-head p{margin:4px 0 0;color:var(--muted)}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card-body{padding:20px}.card-head{padding:16px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.card-head h2{font-size:15px;font-weight:600}.grid{display:grid;gap:16px;grid-template-columns:minmax(0,1fr)}.grid>*{min-width:0}.grid.stats{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:20px}.grid.two{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.stat{padding:18px 20px}.stat .label{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600}.stat .value{font-size:28px;font-weight:700;margin-top:6px}.stat .hint{color:var(--muted);font-size:13px;margin-top:2px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:38px;padding:0 16px;border-radius:var(--radius-sm);border:1px solid var(--line-strong);background:var(--card);font-weight:600;cursor:pointer;white-space:nowrap;text-decoration:none;color:var(--ink)}.btn:hover{background:var(--navy-50)}.btn.primary{background:var(--navy-800);border-color:var(--navy-800);color:#fff}.btn.primary:hover{background:var(--navy-700)}.btn.danger{color:var(--red);border-color:#f3c7c2}.btn.danger:hover{background:var(--red-soft)}.btn.ghost{border-color:transparent;background:none}.btn.small{height:32px;padding:0 12px;font-size:13px}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-row{display:flex;gap:10px;flex-wrap:wrap}.form{display:grid;gap:16px}.form.cols{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.field label{display:block;font-weight:600;font-size:13px;margin-bottom:6px}.field .help{color:var(--muted);font-size:12px;margin-top:4px}.input,select.input,textarea.input{width:100%;height:40px;padding:0 12px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:#fff}textarea.input{height:auto;padding:10px 12px;min-height:90px}.input:focus{outline:3px solid rgba(29,64,120,.18);border-color:var(--navy-700)}.input:disabled{background:#f3f5f8;color:var(--muted);cursor:not-allowed}.check{display:flex;gap:8px;align-items:center;font-weight:500}.alert{padding:12px 14px;border-radius:var(--radius-sm);font-size:13.5px}.alert.error{background:var(--red-soft);color:var(--red)}.alert.info{background:var(--navy-50);color:var(--navy-800);border:1px solid var(--navy-100)}.alert.warn{background:var(--amber-soft);color:var(--amber)}.alert.success{background:var(--green-soft);color:var(--green)}.table-wrap{overflow-x:auto}table.table{width:100%;border-collapse:collapse}.table th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:600;padding:10px 16px;background:#fafbfd;border-bottom:1px solid var(--line);white-space:nowrap}.table td{padding:12px 16px;border-bottom:1px solid var(--line);vertical-align:middle}.table tr:last-child td{border-bottom:0}.table tr.clickable{cursor:pointer}.table tr.clickable:hover td{background:var(--navy-50)}.table .num{text-align:right;font-variant-numeric:tabular-nums}.cell-sub{color:var(--muted);font-size:12.5px}.badge{display:inline-flex;align-items:center;padding:2px 9px;border-radius:99px;font-size:12px;font-weight:600;background:var(--navy-50);color:var(--navy-800)}.badge.green{background:var(--green-soft);color:var(--green)}.badge.red{background:var(--red-soft);color:var(--red)}.badge.amber{background:var(--amber-soft);color:var(--amber)}.badge.blue{background:#e8f0fe;color:#1d4ed8}.badge.grey{background:#eef1f5;color:var(--muted)}.empty{text-align:center;padding:48px 20px;color:var(--muted)}.empty h3{color:var(--ink);font-size:16px;margin-bottom:6px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:grid;place-items:center;z-index:50;padding:16px}.modal{background:#fff;border-radius:14px;width:min(560px,100%);max-height:90vh;overflow:auto;box-shadow:var(--shadow-lg)}.modal-head{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modal-head h2{font-size:17px}.modal-body{padding:20px 22px}.modal-foot{padding:14px 22px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;background:#fafbfd}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:var(--ink);color:#fff;padding:12px 18px;border-radius:10px;box-shadow:var(--shadow-lg);z-index:60;font-weight:500}.secret{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:18px;background:var(--navy-50);border:1px dashed var(--navy-700);padding:12px;border-radius:8px;text-align:center;letter-spacing:.02em}.auth{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.auth-hero{background:linear-gradient(150deg,var(--navy-900),var(--navy-700));color:#fff;padding:56px;display:flex;flex-direction:column;justify-content:space-between}.auth-hero h1{font-size:40px;line-height:1.1;max-width:460px}.auth-hero p{color:#c3d0e6;font-size:16px;max-width:440px}.auth-hero ul{padding:0;list-style:none;display:grid;gap:10px;color:#e7f3ec}.auth-hero li:before{content:"✓";color:var(--gold);font-weight:700;margin-right:10px}.auth-form{display:grid;place-items:center;padding:32px 20px}.auth-card{width:min(400px,100%)}.auth-card h2{font-size:24px;margin-bottom:6px}.item-pick{max-height:60vh;overflow-y:auto;border:1px solid var(--line);border-radius:10px}.item-pick thead th{position:sticky;top:0;background:var(--card);z-index:1}.item-pick tr.muted td{opacity:.5}@media (max-width: 900px){.shell{grid-template-columns:1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:280px;z-index:40;transform:translate(-100%);transition:transform .2s}.sidebar.open{transform:none;box-shadow:var(--shadow-lg)}.menu-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:39;background:#0f172a59}.menu-toggle{display:block}.content{padding:20px 16px 40px}.topbar{padding:0 12px}.user-meta{display:none}.auth{grid-template-columns:1fr}.auth-hero{padding:32px 24px}.auth-hero h1{font-size:28px}.auth-hero ul{display:none}}.kv{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;margin:0}.table.compact th,.table.compact td{padding:5px 10px;font-size:13px}.kpi-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin-bottom:20px}.kpi-row .stat .value small{font-size:14px;font-weight:600;color:var(--muted);margin-left:4px}.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:14px}.toolbar .input{width:auto}.tabs{display:inline-flex;flex-wrap:wrap;gap:4px;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:4px}.tabs button{border:0;background:none;padding:6px 12px;border-radius:7px;font-weight:600;font-size:13px;color:var(--muted);cursor:pointer}.tabs button.on{background:var(--navy-800);color:#fff}.tabs button .count{margin-left:6px;font-weight:700;opacity:.8}.till{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px;align-items:start}.till-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.till-item{display:flex;flex-direction:column;justify-content:space-between;gap:6px;min-height:84px;padding:10px 12px;text-align:left;cursor:pointer;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-sm)}.till-item:hover:not(:disabled){border-color:var(--navy-700);background:var(--navy-50)}.till-item:disabled{opacity:.5;cursor:not-allowed}.till-item span{display:flex;justify-content:space-between;gap:6px}.till-basket{position:sticky;top:76px}.till-line{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}.till-qty{display:flex;align-items:center;gap:4px}.till-qty .btn{width:32px;padding:0}.till-qty .input{width:52px;height:32px;padding:0 4px;text-align:center}.till-total{display:flex;justify-content:space-between;align-items:baseline;font-size:22px;font-weight:700;margin:14px 0}@media (max-width: 1100px){.till{grid-template-columns:minmax(0,1fr)}.till-basket{position:static}}.receipt{width:72mm;max-width:100%;background:#fff;color:#000;padding:4mm 2mm;font-size:12px;line-height:1.35}.receipt h2{font-size:16px;text-align:center}.receipt .mid{text-align:center}.receipt hr{border:0;border-top:1px dashed #000}.receipt table{width:100%;border-collapse:collapse}.receipt td{padding:1px 0;vertical-align:top}.receipt td:last-child{text-align:right;white-space:nowrap}.receipt .big td{font-size:15px;font-weight:700}.report-view .table th,.report-view .table td,.report-view .table tr:last-child td{border:1px solid var(--line-strong)}.print-only{display:none}@media print{.print-only{display:block;margin-bottom:16px}.sidebar,.topbar,.no-print,.toast{display:none!important}.shell{display:block}.content{padding:0;max-width:none}body{background:#fff}.card{box-shadow:none;border:0;break-inside:avoid}.table-wrap{overflow:visible}.report-view .table th,.report-view .table td{border-color:#777;background:none}.receipt{padding:0}}.list-row{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:12px 4px;text-align:left;cursor:pointer;background:none;border:0;border-bottom:1px solid var(--line)}.list-row:hover{background:var(--navy-50)}.route-row{display:grid;grid-template-columns:1.3fr 1fr 70px auto;gap:8px;align-items:center;margin-bottom:8px}@media (max-width: 600px){.route-row{grid-template-columns:1fr 1fr}}.slip-sheet{display:none}@media print{body.slip-print>*:not(.slip-sheet){display:none!important}body.slip-print .slip-sheet{display:block;width:72mm;margin:0 auto;font:12px/1.35 Courier New,monospace;color:#000}.slip-sheet .slip-head{display:flex;justify-content:space-between;font-size:11px}.slip-sheet .slip-business{text-align:center;font-weight:700;font-size:15px;margin-top:6px}.slip-sheet .slip-logo{display:block;margin:0 auto 4px;width:34mm;height:auto}.slip-sheet.page .slip-logo{width:42mm}.slip-sheet .slip-title{text-align:center;font-weight:700;margin:2px 0 8px}.slip-sheet table{width:100%;border-collapse:collapse}.slip-sheet td{border:1px solid #000;padding:3px 4px}.slip-sheet td.num{text-align:right;white-space:nowrap}.slip-sheet tfoot td{font-weight:700}.slip-sheet .slip-foot{margin-top:8px;font-size:10px}.slip-sheet .dr5{font:9pt/1.25 Arial,sans-serif}.dr5 .dr5-name{text-align:center;font:700 12pt Verdana,sans-serif}.dr5 .dr5-c{text-align:center}.dr5 .dr5-when{display:flex;justify-content:space-between;font-size:8.4pt;margin-top:4px}.dr5 .dr5-heading{text-align:center;font:700 10.2pt Arial Narrow,Arial,sans-serif;margin-top:4px}.dr5 .dr5-no{font:900 11.4pt Arial Black,Arial,sans-serif;margin:4px 0 2px}.dr5 .dr5-hash{font:700 12pt Arial,sans-serif}.slip-sheet .dr5 .dr5-items th,.slip-sheet .dr5 .dr5-items td{border:0;padding:1px 2px;vertical-align:top}.slip-sheet .dr5 .dr5-items th{font-weight:700;text-align:left;border-bottom:1px solid #000}.slip-sheet .dr5 .dr5-items th.num{text-align:right}.dr5 .dr5-items .dr5-item{width:45%}.slip-sheet .dr5 .dr5-items td.dr5-due{font-size:7.2pt}.slip-sheet .dr5 .dr5-items td.dr5-qty,.slip-sheet .dr5 .dr5-items th.dr5-qty{text-align:center}.slip-sheet .dr5 .dr5-items td.dr5-qty{font:700 10.2pt Arial,sans-serif}.dr5 .dr5-stars{overflow:hidden;white-space:nowrap;font-size:8.4pt;line-height:1;margin:3px 0}.dr5 .dr5-total{display:flex;justify-content:flex-end;gap:10px;font-size:7.8pt}.dr5 .dr5-total span:last-child{min-width:26mm;text-align:right}.dr5 .dr5-total.dr5-due-total{font:700 10.2pt Arial,sans-serif}.dr5 .dr5-pay{font-size:10.2pt;margin-left:2mm}.dr5 .dr5-pay span{display:inline-block;min-width:20mm}.dr5 .dr5-served{margin:6px 0 0 2mm}.dr5 .dr5-foot{text-align:center;font-size:10.2pt;margin-top:8px}}.sheet-controls{padding:14px 16px;margin-bottom:16px}.sheet-controls .toolbar{margin-bottom:0}.stat.bad .value{color:var(--red)}table.sheet th,table.sheet td{padding:6px 10px;font-size:13.5px}table.sheet td.num,table.sheet th.num{font-variant-numeric:tabular-nums}table.sheet .no{width:34px;color:var(--faint);text-align:right}table.sheet .item{font-weight:500}table.sheet .strong{font-weight:700}table.sheet .muted{color:var(--muted)}table.sheet .zero{color:var(--line-strong)}table.sheet tr.neg td{background:var(--red-soft)}table.sheet tr.neg td.close{color:var(--red)}table.sheet tr.off td{background:var(--amber-soft)}table.sheet .flag,.alert .flag{display:inline-grid;place-items:center;width:16px;height:16px;margin-left:6px;border-radius:50%;background:var(--amber);color:#fff;font-size:11px;font-weight:700;vertical-align:1px}table.sheet tr.group-head td{background:var(--navy-50);color:var(--navy-800);font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:12px;padding-top:10px}table.sheet tr.subtotal td{font-weight:700;background:#fafbfd;border-top:1px solid var(--line-strong)}table.sheet tr.grand td{font-weight:800;border-top:2px solid var(--ink);background:#fff}table.sheet .check-col{display:none}@media print{@page{size:A4 portrait;margin:12mm 10mm 14mm;@bottom-right{content:"Page " counter(page) " of " counter(pages);font:9pt Arial,sans-serif;color:#444}}.sheet-page .page-head,.sheet-page .no-print{display:none!important}.sheet-page .card{border:0;box-shadow:none}.sheet-page .sheet-head{text-align:center;margin:0 0 8px}.sheet-page .sheet-business{font-size:17pt;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.sheet-page .sheet-title{font-size:12.5pt;font-weight:700;margin-top:2px}.sheet-page .sheet-when{font-size:9.5pt;color:#333;margin-top:2px}table.sheet{font:8.8pt/1.25 Arial,sans-serif;color:#000}table.sheet th,table.sheet td{padding:2.5px 5px;font-size:8.8pt;border:1px solid #999!important}table.sheet th{background:#e9e9e9!important;color:#000;letter-spacing:0;font-size:8pt;-webkit-print-color-adjust:exact;print-color-adjust:exact}table.sheet thead{display:table-header-group}table.sheet tr{break-inside:avoid}table.sheet .zero{color:#bbb}table.sheet tr.neg td,table.sheet tr.off td{background:none}table.sheet tr.neg td.close{text-decoration:underline;font-weight:800}table.sheet .flag{background:none;color:#000;border:1px solid #000;width:11px;height:11px;font-size:8pt}table.sheet tr.group-head td{background:#f3f3f3!important;color:#000;font-size:9pt;-webkit-print-color-adjust:exact;print-color-adjust:exact}table.sheet tbody.group.next{break-before:page}table.sheet tr.subtotal td{background:#f7f7f7!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}table.sheet tr.grand td{border-top:2px solid #000!important}table.sheet .check-col{display:table-cell;width:52px}table.sheet td.num,table.sheet th.num{width:1%;white-space:nowrap}table.sheet td.item{width:100%}.sheet-page .sheet-foot{margin-top:10px;break-inside:avoid;font:9pt Arial,sans-serif}.sheet-page .sheet-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:4px 18px;border:1px solid #999;padding:6px 10px}.sheet-page .sheet-summary div{display:flex;justify-content:space-between;gap:8px}.sheet-page .sheet-sign{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:26px}.sheet-page .sheet-sign div{border-top:1px solid #000;padding-top:3px;font-size:8.5pt}.sheet-page .sheet-sign div:after{content:"Name, signature, date";display:block;color:#777;font-size:7.5pt}.sheet-page .sheet-printed{margin-top:10px;font-size:7.5pt;color:#555}}@media print{body.slip-print .slip-sheet.page{width:auto;max-width:190mm;font:10.5pt/1.4 Inter,system-ui,sans-serif}.slip-sheet .lines td{border:0;border-bottom:1px dotted #000}.slip-sheet .center{text-align:center}.slip-sheet .sub{font-size:10px}.slip-sheet h3{font-size:12px;margin:8px 0 2px}.slip-sheet.page h3{font-size:11pt;margin:14px 0 4px}.slip-sheet.page table td{padding:4px 6px}.slip-sheet .total-row td{font-weight:700;border-top:1px solid #000}}.room-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px}.room-tile{display:flex;flex-direction:column;justify-content:center;gap:1px;min-height:92px;padding:8px 6px;text-align:center;cursor:pointer;background:#fff;border:1px solid var(--line-strong);border-radius:10px;font:inherit;color:var(--ink)}.room-tile:hover{box-shadow:var(--shadow);transform:translateY(-1px)}.room-tile .type{font-size:11px;opacity:.85}.room-tile .no{font-size:21px;font-weight:700;line-height:1.15}.room-tile .st{font-size:11.5px;font-weight:600}.room-tile .who{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}.room-tile.RESERVED,.legend .RESERVED{background:#f8a91f;border-color:#e09400;color:#3a2300}.room-tile.IN,.legend .IN{background:#f59a9a;border-color:#ea7d7d;color:#4a0b0b}.room-tile.PAID,.legend .PAID{background:#1f9d4c;border-color:#188540;color:#fff}.room-tile.OUT,.legend .OUT{background:#7c4ddb;border-color:#6a3cc8;color:#fff}.room-tile.DAMAGED,.legend .DAMAGED{background:#1f2430;border-color:#000;color:#fff}.room-tile.clash{outline:3px dashed var(--red);outline-offset:2px}.legend{display:flex;flex-wrap:wrap;gap:16px;margin-top:16px;font-size:12.5px;color:var(--muted)}.legend span{display:inline-flex;align-items:center;gap:6px}.legend i{width:13px;height:13px;border-radius:3px;border:1px solid var(--line-strong);background:#fff}.bill-total{display:flex;justify-content:space-between;padding:10px 16px;font-weight:700;border-top:1px solid var(--line)}.pick-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px}.pick-list label{display:flex;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;cursor:pointer}.pick-list label.on{border-color:var(--navy-700);background:var(--navy-50)}.pos{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:18px;align-items:start}.pos>div:last-child>.card{position:sticky;top:76px}.prod-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.prod{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:96px;padding:12px;text-align:left;border:1px solid var(--line);border-radius:12px;background:var(--card);box-shadow:var(--shadow);cursor:pointer;font:inherit;color:inherit}.prod:hover{border-color:var(--navy-700)}.prod:active{transform:scale(.98)}.prod.picked{border-color:var(--navy-800);box-shadow:0 0 0 2px var(--navy-100)}.prod:disabled{opacity:.45;cursor:not-allowed}.prod strong{line-height:1.25}.prod-price{margin-top:auto;font-weight:700;color:var(--navy-800)}.prod-stock{font-size:11.5px;color:var(--muted)}.prod-stock.low{color:var(--red);font-weight:600}.prod-count{position:absolute;top:-8px;right:-8px;min-width:26px;height:26px;border-radius:13px;background:var(--navy-800);color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px;padding:0 6px}.ticket{display:flex;flex-direction:column;max-height:46vh;overflow-y:auto;margin:-4px 0 8px}.ticket-line{display:grid;grid-template-columns:1fr auto 72px;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.qty{display:flex;align-items:center;gap:6px}.qty .btn{width:32px;padding:0;justify-content:center;font-size:16px}.qty span{min-width:22px;text-align:center;font-weight:700}.ticket-total{display:flex;justify-content:space-between;align-items:baseline;font-size:15px;padding:10px 0 14px}.ticket-total strong{font-size:26px}.pay-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.pay-buttons .btn{height:48px;justify-content:center}.pay-buttons .btn:last-child{grid-column:1 / -1}.ticket-bar{display:none}@media (max-width: 1000px){.pos{grid-template-columns:1fr;padding-bottom:70px}.pos>div:last-child>.card{position:static}.ticket-bar{display:flex;position:fixed;left:12px;right:12px;bottom:12px;z-index:20;height:54px;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;border:0;border-radius:14px;background:var(--navy-800);color:#fff;font:inherit;font-size:15px;box-shadow:var(--shadow-lg);cursor:pointer}.ticket-bar strong{font-size:18px}}@media (max-width: 700px){.prod-grid{grid-template-columns:repeat(2,1fr)}}.order-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;padding:10px 12px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}.order-bar>strong{font-size:15px;margin-right:4px}.pill{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--gold);color:var(--navy-900);font-size:12px;font-weight:700;margin-left:6px}.order-list{display:flex;flex-direction:column;gap:8px;max-height:60vh;overflow-y:auto}.order-list button{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line-strong);border-radius:10px;background:var(--card);cursor:pointer;font:inherit;color:inherit;text-align:left}.order-list button:hover{border-color:var(--navy-700);background:var(--navy-50)}.order-list button.on{border-color:var(--navy-800);box-shadow:0 0 0 2px var(--navy-100)}.order-list small{display:block;color:var(--muted);font-size:12.5px}.till2{display:flex;flex-direction:column;gap:10px}.till2-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:8px;border-radius:14px;background:var(--navy-50);border:1px solid var(--navy-100)}.till2-tabs button,.till2-btn{border:0;border-radius:10px;background:var(--navy-800);color:#fff;font:inherit;font-weight:700;letter-spacing:.04em;cursor:pointer;box-shadow:0 4px 0 var(--navy-900);transition:transform .05s}.till2-tabs button{min-width:52px;height:46px;padding:0 12px}.till2-tabs button.on,.till2-btn.on{background:var(--red);box-shadow:0 4px #7a1710}.till2-tabs button:active,.till2-btn:active{transform:translateY(3px);box-shadow:0 1px 0 var(--navy-900)}.till2-btn:disabled{opacity:.45;cursor:not-allowed}.till2-body{display:grid;grid-template-columns:minmax(0,1.2fr) 130px minmax(0,1fr);gap:10px;height:calc(100vh - 380px);min-height:440px}.till2-order{display:flex;flex-direction:column;min-height:0;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.till2-order-head{display:flex;align-items:center;gap:10px;padding:8px 10px;border-bottom:1px solid var(--line)}.till2-order-head strong{white-space:nowrap}.till2-order-head .input{height:34px}.till2-table{flex:1;overflow-y:auto;background:var(--navy-50)}.till2-table table{width:100%;border-collapse:collapse}.till2-table th:nth-child(1){width:34px}.till2-table th:nth-child(3){width:104px}.till2-table th:nth-child(4){width:64px}.till2-table th:nth-child(5){width:74px}.till2-table th:nth-child(6){width:66px}.till2-table th{position:sticky;top:0;background:var(--navy-100);text-align:left;font-size:13px;padding:8px}.till2-table td{padding:6px 8px;border-bottom:1px solid var(--line);vertical-align:middle;background:var(--card)}.till2-table .num{text-align:right;white-space:nowrap}.till2-qty{display:inline-flex;align-items:center;gap:6px}.till2-qty button{width:28px;height:28px;border:1px solid var(--line-strong);border-radius:7px;background:var(--card);cursor:pointer;font-size:15px}.till2-qty button:disabled{opacity:.35;cursor:not-allowed}.till2-x{width:34px;height:30px;border:1px solid #f3c7c2;border-radius:7px;background:var(--card);color:var(--red);cursor:pointer;font-weight:700}.till2-x:disabled{opacity:.3;cursor:not-allowed}.till2-empty{padding:24px;text-align:center;color:var(--muted)}.till2-due{display:flex;align-items:center;gap:14px;padding:10px;background:#111;color:#fff}.till2-due .till2-btn{height:46px;padding:0 18px}.till2-due span{margin-left:auto;font-weight:700;letter-spacing:.04em}.till2-due output{min-width:150px;padding:8px 14px;border-radius:6px;background:#0f7a0f;color:#fff;font-size:26px;font-weight:700;text-align:right}.till2-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:8px}.till2-actions .btn{height:44px;padding:0 8px}.till2-actions .btn:nth-child(-n+2){grid-column:span 2}.till2-side{display:flex;flex-direction:column;gap:12px;padding:10px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}.till2-side .till2-btn{min-height:64px;padding:6px;line-height:1.25}.till2-items{display:flex;flex-direction:column;gap:8px;min-height:0}.till2-list{flex:1;overflow-y:auto;border:1px solid var(--line);border-radius:var(--radius);background:var(--card)}.till2-list button{display:flex;width:100%;justify-content:space-between;align-items:center;gap:10px;min-height:50px;padding:8px 14px;border:0;border-bottom:1px solid var(--line);background:var(--card);font:inherit;font-size:15px;color:inherit;text-align:left;cursor:pointer}.till2-list button:nth-child(odd){background:var(--navy-50)}.till2-list button:hover{background:var(--navy-100)}.till2-list button.picked{box-shadow:inset 4px 0 0 var(--navy-800)}.till2-list button:disabled{opacity:.45;cursor:not-allowed}.till2-list small{display:block;font-size:12px;color:var(--muted)}.till2-list small.low{color:var(--red);font-weight:600}.till2-price{white-space:nowrap;font-weight:700;color:var(--navy-800)}.till2-price b{color:var(--ink);font-weight:600;margin-right:4px}.till2-foot{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:14px;background:var(--navy-50);border:1px solid var(--navy-100)}.till2-foot strong{padding:4px 12px;background:var(--card);border:1px solid var(--line);border-radius:6px;min-width:160px}@media (max-width: 1000px){.till2-body{grid-template-columns:1fr;height:auto}.till2-table{max-height:45vh;min-height:120px}.till2-side{flex-direction:row;flex-wrap:wrap}.till2-side .till2-btn{flex:1 1 120px;min-height:48px;margin-top:0!important}.till2-list{max-height:60vh}}@media (max-width: 700px){.till2-tabs button{min-width:44px;height:40px;padding:0 8px}.till2-due output{min-width:0;font-size:22px}}.tile-login{min-height:100vh;background:var(--page);display:flex;flex-direction:column}.tile-login-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;background:var(--navy-900);color:#f7e8da}.tile-login-head .brand-name{color:#fff}.tile-login-head small{color:#e0c3a8}.tile-login-body{flex:1;padding:20px;max-width:1200px;width:100%;margin:0 auto;box-sizing:border-box}.tile-login-body h2{margin:0 0 6px}.tile-login-body h3{margin:20px 0 10px;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.user-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.user-tile{display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px 10px 14px;min-height:140px;border:1px solid var(--line);border-radius:14px;background:var(--card);box-shadow:var(--shadow);cursor:pointer;font:inherit;color:inherit;text-align:center}.user-tile:hover{border-color:var(--navy-700)}.user-tile:active{transform:scale(.97)}.user-tile .avatar{width:54px;height:54px;font-size:19px}.user-tile strong{line-height:1.2;overflow-wrap:anywhere}.user-tile small{color:var(--muted);font-size:12px}.avatar.big{display:inline-grid;place-items:center;width:70px;height:70px;border-radius:50%;font-size:24px}.tile-secret{max-width:380px;margin:10px auto 0}.big-input{height:54px;font-size:24px;font-weight:600}.pin-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.pin-pad button{height:62px;border:1px solid var(--line-strong);border-radius:12px;background:var(--card);font:inherit;font-size:24px;font-weight:600;color:var(--ink);cursor:pointer;box-shadow:var(--shadow)}.pin-pad button:active{background:var(--navy-100);transform:scale(.97)}@media (max-width: 600px){.user-tiles{grid-template-columns:repeat(2,1fr)}.tile-login-head .input{display:none}}.till-screen{min-height:100vh;box-sizing:border-box;padding:14px 18px;background:var(--page)}.till-top{display:flex;align-items:center;gap:14px;margin-bottom:14px;padding:10px 14px;border-radius:var(--radius);background:var(--navy-900);color:#fff}.till-top strong{font-size:17px}.till-top span{flex:1;color:#f7e8da;font-weight:600}.till-screen .till2-body{height:calc(100vh - 290px)}.money{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.lines-table td{padding:6px 8px}.lines-table .input{height:36px}.total-row td{font-weight:700;border-top:2px solid var(--line-strong)}.year-pick{max-width:160px;height:34px}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.sheet-tabs{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:12px}.sheet-tabs button{border:1px solid var(--line-strong);background:var(--card);border-radius:99px;padding:5px 12px;font-size:13px;cursor:pointer}.sheet-tabs button.on{background:var(--navy-800);color:#fff;border-color:var(--navy-800)}.sheet{overflow:auto;max-height:75vh;background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm)}.sheet table{border-collapse:collapse;font-size:12.5px}.sheet td{border:1px solid #eef1f5;padding:2px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:22px}.sheet td.n{text-align:right;font-variant-numeric:tabular-nums}.sheet td.v{background:#f7fbf8}.sheet td.h{font-weight:700}.sheet th{position:sticky;top:0;background:#f3f5f8;font-weight:500;color:var(--faint);font-size:11px;border:1px solid #e3e8f0}.sheet td.rn{position:sticky;left:0;background:#f3f5f8;color:var(--faint);font-size:11px;text-align:right}.check-ok{color:var(--green)}.check-bad{color:var(--red)}.kv{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px}.kv dt{color:var(--muted)}.kv dd{margin:0}@media print{.statement-page{break-after:page;border:0!important;padding:0!important}.statement-page:last-child{break-after:auto}.table-wrap{overflow:visible}}
