:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#3c3320;background:#fbf9f3;color-scheme:light;--amber:#8a5704;--muted:#93886f;--line:#f0ebde}*{box-sizing:border-box}body{margin:0}main{max-width:1700px;margin:auto;padding:28px 32px}button,input,select{font:inherit}button{cursor:pointer;min-height:44px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 16px;color:#6d5726;font-weight:650}button:hover{background:#faf4e5}input,select{width:100%;border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px;color:inherit;min-height:44px}label{font-size:.76rem;color:var(--muted);font-weight:600;display:grid;gap:6px}header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.brand{font-size:.9rem;color:#8f712b;text-decoration:none;font-weight:800}.brand span{color:#e2c47d;margin-left:3px}h1{font-size:2.35rem;letter-spacing:-.06em;margin:7px 0 3px}header p{color:var(--muted);font-size:.85rem;margin:0}.header-actions{display:flex;align-items:center;gap:10px}.live{color:#46775e;font-size:.75rem}.live::before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#64a57b;margin-right:6px}.filters{display:flex;align-items:end;gap:12px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:18px;margin-bottom:24px;flex-wrap:wrap}.filters label{flex:1;min-width:130px}.filters .search{flex:1.5;min-width:180px}.filters button{background:var(--amber);color:white;border-color:var(--amber)}.board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(230px,.95fr);gap:16px;align-items:start}.column{border:1px solid var(--line);border-radius:20px;background:#fffefc;overflow:hidden;min-width:0}.column-head{padding:20px;border-bottom:1px solid var(--line)}.column-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.column-heading h2{font-size:1rem;margin:0;display:flex;align-items:center;gap:9px}.icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f9f2e0;color:#8d7231;font-size:1rem}.count{color:var(--muted);font-size:.75rem}.column-total{font-size:1.75rem;letter-spacing:-.05em;margin:16px 0;color:#4f4326;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.breakdown{display:grid;gap:9px;margin:0}.breakdown div{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.78rem}.breakdown dt{color:var(--muted)}.breakdown dd{margin:0;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#71a98a;margin-right:6px}.dot.transfer{background:#c09e4f}.dot.card{background:#6d9bc3}.order-list{padding:12px;display:grid;gap:10px;max-height:62dvh;overflow:auto}.order{width:100%;text-align:left;border:1px solid var(--line);border-radius:13px;padding:14px;background:white;color:inherit;font-weight:400}.order:hover{border-color:#dec58b;background:#fffdfa}.order-top,.order-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.order-title{font-size:.88rem;font-weight:750}.order-number{font-size:.7rem;color:var(--muted)}.order-name{font-size:.78rem;color:var(--muted);margin:6px 0 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-money{font-size:1rem;font-weight:750;font-variant-numeric:tabular-nums}.status{font-size:.66rem;border-radius:6px;padding:4px 6px;background:#f8f4ea;color:#94845f}.status.done{background:#eaf4ee;color:#3e7c59}.status.cancelled{background:#f8ecef;color:#a95e6d}.order-methods{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0 0}.method-pill{font-size:.68rem;background:#faf6ed;border-radius:5px;padding:4px 6px;color:#8e7e5a}.method-pill.cash{color:#44795d;background:#edf5ef}.method-pill.card{color:#4c7a9b;background:#edf3f8}.pending{color:#a17e38;font-size:.7rem;margin:8px 0 0}.empty{color:var(--muted);text-align:center;font-size:.82rem;padding:32px 12px}.totals{background:linear-gradient(155deg,#987d3e,#796128);border-color:#8b7136;color:white;position:sticky;top:20px}.totals .column-head{border-color:#ffffff29}.totals h2,.totals .column-total{color:white}.totals .column-total{font-size:2.2rem}.totals .count,.totals .breakdown dt{color:#f3e8ce}.totals .icon{background:#ffffff24;color:white}.totals .breakdown{gap:18px}.totals .breakdown div{font-size:.85rem}.summary-bottom{margin:20px;padding-top:18px;border-top:1px solid #ffffff29;display:grid;gap:14px}.summary-bottom div{display:flex;justify-content:space-between;gap:10px;font-size:.83rem}.summary-bottom span{color:#f3e8ce}.footnote{font-size:.72rem;color:#a3987f;line-height:1.6;margin-top:20px}#message:not(:empty){padding:12px 16px;background:#f6e5eb;color:#9c455e;border-radius:12px}.login{max-width:400px;margin:50px auto;background:white;border:1px solid var(--line);border-radius:20px;padding:25px;display:grid;gap:20px}.login p{font-size:.8rem;color:var(--muted);line-height:1.5}.login button{background:var(--amber);color:white}dialog{width:min(92vw,560px);max-height:86dvh;overflow:auto;border:1px solid var(--line);border-radius:22px;padding:24px;background:#fffdfa;color:inherit}dialog::backdrop{background:#44361780}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-header h2{font-size:1.25rem}.detail-line{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line);font-size:.9rem}.detail-subtitle{font-size:.82rem;color:var(--muted)}.detail-payment{padding:14px;background:#faf6ed;border-radius:12px;margin:12px 0}.detail-payment p{font-size:.82rem}#currency-filter{max-width:220px;margin-bottom:15px}[hidden]{display:none!important}:focus-visible{outline:3px solid #bd9945;outline-offset:3px}@media(min-width:1700px){.order-list{max-height:68dvh}}@media(max-width:1100px){.board{grid-template-columns:repeat(2,minmax(0,1fr))}.totals{position:static;grid-column:2;grid-row:1}.column-total{font-size:1.65rem}}@media(max-width:620px){main{padding:20px 14px}.header-actions{gap:6px}.header-actions button{padding:9px}.live{display:none}h1{font-size:2rem}.filters{padding:14px;gap:10px}.filters label{flex:1 1 40%;min-width:0}.filters .search{flex:1 1 100%}.filters button{width:100%}.board{grid-template-columns:1fr}.totals{grid-column:auto;grid-row:1}.order-list{max-height:450px}.column-head{padding:18px}.column-total{font-size:1.9rem}.totals .breakdown{grid-template-columns:1fr 1fr;gap:14px}.totals .breakdown div{display:block}.totals .breakdown dd{margin-top:5px}.summary-bottom{grid-template-columns:1fr 1fr}.summary-bottom div{display:block}.summary-bottom strong{display:block;margin-top:6px}.header-actions #logout{font-size:.8rem}}
.filters input,.filters select{min-width:0;max-width:100%}.filters input[type=datetime-local]{min-width:0;max-width:100%;font-size:.82rem}@media(max-width:620px){.filters input[type=datetime-local]{font-size:.75rem;padding:10px 7px}}
