:root{--surface:#fff;--surface-soft:#f8fafc;--line:#e5e7eb;--muted:#6b7280;--brand:#2563eb;--brand-dark:#1d4ed8}
body{background:var(--header-custom);color:var(--font-custom);font-size:14px}
.main-sidebar{background:linear-gradient(180deg,var(--sidebar-custom),#0b1220);box-shadow:8px 0 24px rgba(15,23,42,.12)}
.brand-link{height:66px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.08);font-size:16px}
.brand-image{width:42px;height:42px;border-radius:12px;padding:5px;background:#fff;box-shadow:0 8px 18px rgba(0,0,0,.18)}
.sidebar{padding:14px 12px 20px}.nav-header{padding:16px 10px 7px;color:rgba(255,255,255,.5);font-size:10px;letter-spacing:.12em}
.nav-link{position:relative;min-height:42px;border-radius:10px;color:rgba(255,255,255,.78);font-weight:600}
.nav-link:hover,.nav-link.active{background:rgba(255,255,255,.12);color:#fff}.nav-link.active:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px;background:#60a5fa}
.nav-icon{width:34px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.1);font-size:11px;font-weight:800;letter-spacing:0;color:#fff}
.main-header{height:66px;left:var(--sidebar-width);background:var(--navbar-custom);border-bottom:1px solid rgba(15,23,42,.08);box-shadow:0 10px 28px rgba(15,23,42,.06);transition:.2s}
.content-wrapper{padding-top:66px;background:var(--header-custom);transition:.2s}.content-header{padding:22px 24px 10px}.content-header h2{font-size:22px;font-weight:800;color:#111827}.content{padding:0 24px 28px}
.sidebar-toggle{display:inline-flex!important;width:40px;height:40px;border-radius:12px}.btn-light{background:#f3f4f6;color:#111827;border-color:#e5e7eb}
.navbar-logo{width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:#fff;padding:4px}.navbar-group{gap:10px;min-width:0}
.header-title{display:flex;flex-direction:column;line-height:1.1;min-width:0}.header-title strong{font-size:15px;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}.header-title span{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}
.header-actions{justify-content:flex-end}.shop-switcher{min-width:170px}.user-name{font-weight:700;color:#374151}.license-pill{border-radius:999px;padding:6px 10px}
.card{border:1px solid rgba(15,23,42,.08);border-radius:12px;box-shadow:0 10px 30px rgba(15,23,42,.06)}.card-header{min-height:54px;border-bottom:1px solid rgba(15,23,42,.08)}.card-title{font-size:16px;font-weight:800;color:#111827}.card-footer{background:#fff;border-top:1px solid rgba(15,23,42,.08)}
.btn{min-height:38px;border-radius:9px;font-weight:700}.btn-sm{min-height:30px;border-radius:8px}.btn-primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn-primary:hover{background:var(--brand-dark)}.btn-success{background:#16a34a;color:#fff}.btn-danger{background:#dc2626;color:#fff}.btn-warning{background:#f59e0b;color:#111827}.btn-secondary{background:#64748b;color:#fff}.btn-info{background:#0891b2;color:#fff}
.form-control{height:42px;border-radius:9px;border-color:#d1d5db}textarea.form-control{height:auto;min-height:90px}.badge{border-radius:999px;padding:5px 9px}.badge-success{background:#dcfce7;color:#166534}.badge-warning{background:#fef3c7;color:#92400e}.badge-danger{background:#fee2e2;color:#991b1b}.badge-info{background:#e0f2fe;color:#075985}.badge-secondary{background:#f1f5f9;color:#475569}
.table thead th{background:#f8fafc;border-bottom:1px solid var(--line);color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.table th,.table td{border-top:1px solid var(--line)}
.summary-row{border-bottom:1px dashed #e5e7eb}.summary-total{border-top:0;background:#f8fafc;border-radius:12px;margin-top:10px;padding:12px}.status-dot.online{background:#16a34a}.status-dot.offline{background:#dc2626}
.app-footer{margin-left:var(--sidebar-width);padding:13px 24px 90px;color:#64748b;display:flex;justify-content:space-between;gap:10px;background:var(--header-custom);transition:.2s}
body.sidebar-collapsed .main-sidebar{transform:translateX(-100%)}body.sidebar-collapsed .main-header{left:0}body.sidebar-collapsed .content-wrapper,body.sidebar-collapsed .app-footer{margin-left:0}
.modal{background:rgba(15,23,42,.56);backdrop-filter:blur(3px)}.modal-dialog{max-width:760px}.modal-content{border-radius:14px;border:1px solid rgba(255,255,255,.18);box-shadow:0 24px 80px rgba(15,23,42,.28)}.modal-header,.modal-footer{border-color:var(--line)}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-section{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px}.settings-section h4{margin:0 0 12px;font-size:15px;color:#111827}.settings-color{height:42px}
.pos-layout{grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:16px}.pos-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:10px;margin-bottom:14px}.catalog-section-title{display:flex;align-items:center;justify-content:space-between;margin:14px 0 9px}.catalog-section-title h4{margin:0;font-size:15px}.catalog-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}.catalog-item{border:1px solid var(--line);border-radius:12px;padding:14px;min-height:118px;box-shadow:0 8px 22px rgba(15,23,42,.04)}.catalog-item:hover{border-color:#60a5fa;transform:translateY(-1px);box-shadow:0 12px 28px rgba(37,99,235,.12)}.catalog-item .price{color:var(--brand);font-size:15px}.cart-panel .card{position:sticky;top:82px}.cart-table td{vertical-align:top}.cart-staff-summary{font-size:12px;color:#475569;margin-top:4px}.icon-btn{width:34px;height:34px;padding:0;border-radius:10px;font-size:18px;line-height:1}
.queue-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:14px}.queue-card{border:1px solid var(--line);border-left:5px solid #38bdf8;border-radius:12px;box-shadow:0 10px 26px rgba(15,23,42,.06)}.queue-card.washing{border-left-color:#f59e0b}.queue-card.ready{border-left-color:#16a34a}.queue-card.cancelled{border-left-color:#dc2626}.queue-card.completed{border-left-color:#64748b}.queue-no{display:inline-flex;align-items:center;justify-content:center;min-width:58px;height:34px;border-radius:10px;background:#eff6ff;color:#1d4ed8;font-weight:900}.queue-meta{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0;color:#64748b;font-size:12px}.queue-items{margin:10px 0 0;padding:0;list-style:none}.queue-items li{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-top:1px dashed var(--line);font-size:12px}
.customer-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stat-chip{background:#f8fafc;border:1px solid var(--line);border-radius:10px;padding:9px}.stat-chip span{display:block;font-size:11px;color:#64748b}.stat-chip b{font-size:14px}.wa-hero{background:linear-gradient(135deg,#ecfdf5,#eff6ff);border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:14px}
.receipt{color:#111}.receipt.receipt-58{width:58mm;max-width:58mm}.receipt.receipt-80{width:80mm;max-width:80mm}.receipt.receipt-a5{width:190mm;max-width:190mm}
@media(max-width:1100px){.pos-layout{grid-template-columns:1fr}.cart-panel .card{position:static}.settings-grid{grid-template-columns:1fr}}
@media(max-width:900px){body.sidebar-collapsed .main-sidebar{transform:translateX(-100%)}.main-sidebar{transform:translateX(-100%)}body.sidebar-open .main-sidebar{transform:translateX(0)}.main-header{left:0}.content-wrapper,.app-footer{margin-left:0}.header-title strong,.header-title span{max-width:150px}.license-pill{display:none}.content{padding:0 12px 86px}.content-header{padding:18px 12px 8px}.app-footer{display:none}.mobile-bottom-nav{height:68px;padding-bottom:env(safe-area-inset-bottom)}.mobile-bottom-nav a{display:flex;flex-direction:column;gap:3px;font-size:11px;font-weight:700;color:#475569}.mobile-bottom-nav a span{font-size:10px;background:#f1f5f9;color:#1d4ed8;border-radius:8px;padding:4px 6px}.pos-toolbar{grid-template-columns:1fr}.cart-table{min-width:720px}}
@media(max-width:600px){.catalog-grid{grid-template-columns:1fr 1fr;gap:9px}.catalog-item{min-height:104px;padding:11px}.queue-grid{grid-template-columns:1fr}.customer-stats{grid-template-columns:1fr}.main-header{height:62px}.content-wrapper{padding-top:62px}.header-title span{display:none}.navbar-logo{width:36px;height:36px}.btn{font-size:13px}.card-header{align-items:flex-start;flex-direction:column}.card-header .btn,.card-header button{width:100%}}
