/* TABLE 2.0 — polished enterprise interface, preserving original business interactions */
:root{--ink:#17283c;--sub:#63738a;--line:#e3e9f0;--blue:#1769d2;--blue-dark:#0e57b2;--nav:#111d2c;--bg:#f4f7fa;--shadow:0 2px 9px rgba(26,43,70,.026);--r:10px}
html,body{font-size:14px;line-height:1.5;color:var(--ink)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a9caf8;outline-offset:2px}
.sidebar{width:242px;background:#111e2d}
.logo{height:70px;padding:0 22px;gap:12px}
.logo b{font-size:16px;letter-spacing:0;font-weight:700}
.logo small{font-size:11px;color:#91a3b7;letter-spacing:0;margin-top:2px}
.brand-mark{width:36px;height:36px;border-radius:10px;background:#236fda;box-shadow:0 4px 12px #070f1c55;font-family:Georgia,serif;font-size:21px}
.store-switch{width:calc(100% - 24px);margin:12px 12px 10px;padding:11px;border-radius:9px;text-align:left;border-color:#2e4056;background:#1b2a3c;color:#f4f7fb;cursor:pointer}
.store-switch b{font-size:12px;letter-spacing:0}
.store-switch small{font-size:11px;color:#aac0d0}
.store-icon{color:#a6c2e5;display:flex;align-items:center}
.store-active-dot{display:inline-block;width:6px;height:6px;background:#27ba90;border-radius:50%;vertical-align:middle;margin-right:4px}
.nav-scroll{padding:0 9px 22px}
.nav-section{margin:4px 0}
.nav-label{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;height:34px;margin-top:5px;padding:0 12px;color:#93a7bd;font-size:11px;letter-spacing:.3px;font-weight:650;cursor:pointer;border:0;background:transparent}
.nav-label svg{opacity:.6;transform:rotate(-90deg);transition:transform .16s}
.nav-label.group-open svg{transform:rotate(0deg)}
.nav-label:hover{color:#fff}
.nav-items{display:block}.nav-items.collapsed{display:none}
.nav-btn{height:38px;font-size:13px;color:#b6c4d3;border-radius:7px;margin:1px 0;gap:11px;padding:0 11px;position:relative}
.nav-btn:hover{color:#fff;background:#22354a}
.nav-btn.active{background:#1b416c;color:#fff;font-weight:650}
.nav-btn.active:before{content:'';position:absolute;left:0;top:8px;bottom:8px;width:3px;background:#63adff;border-radius:3px}
.nav-ico{color:#91aac3;width:18px}.nav-btn.active .nav-ico{color:#c5e0ff}
.nav-soon{font-size:10px;color:#8298ad;margin-left:auto;border:1px solid #3d4b5c;border-radius:3px;padding:0 4px;font-weight:400}
.nav-foot{font-size:11px;padding:13px 16px;gap:8px}
.topbar{height:64px;padding:0 28px;z-index:21}
.crumb{display:flex;align-items:center;gap:12px;font-size:13px;color:#738198}.crumb strong{color:#1e314c}.crumb-separator{color:#b5c0cd}
.top-actions{gap:13px}
.header-search{display:flex;align-items:center;gap:6px;width:192px;background:#f7f9fc;border:1px solid #e2e9f3;padding:0 10px;border-radius:8px;color:#8999ac}
.quicksearch{background:transparent;border:0;outline:0;width:100%;height:35px;font-size:12px;padding:0;box-shadow:none}
.quicksearch:focus{outline:0}
.preview-link{font-size:12px;background:#fff;color:#195db7;min-height:36px}
.top-circle{height:35px;width:35px;color:#56708c}
.account{padding-left:13px}.account b{font-size:12px}.account small{font-size:11px}
.work-tabs{height:43px;position:sticky;top:64px;z-index:20;background:#fff;border-bottom:1px solid #e3eaf2;display:flex;align-items:stretch;gap:2px;padding:0 20px;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
.work-tab{background:transparent;border:0;border-bottom:2px solid transparent;color:#718096;display:flex;align-items:center;gap:12px;min-width:104px;justify-content:center;padding:0 14px;font-size:12px;flex:none}
.work-tab.active{border-bottom-color:#2675db;background:#f8fbff;color:#185bb5;font-weight:700}
.work-tab:hover{color:#1460c5;background:#f8fbff}
.tab-x{font-size:17px;color:#9cadbf;font-weight:400;line-height:1;padding:2px 3px;border-radius:4px}
.tab-x:hover{background:#e5eefa;color:#124d9c}
.work-tabs-spacer{flex:1}.tabs-tip{display:flex;align-items:center;color:#a2aeba;font-size:11px;padding:0 5px}
.content{padding:25px 28px 48px;max-width:1760px}
.page-heading{margin-bottom:19px;align-items:center;gap:20px}
.page-heading h1{font-size:25px;letter-spacing:-.5px;margin:0 0 4px;font-weight:750}
.page-heading p{font-size:12px;margin:0;color:#8090a3;line-height:1.5}
.heading-actions{margin:0;gap:8px}
.btn{min-height:36px;font-size:13px;font-weight:600;padding:8px 13px;border-color:#d9e2ed;border-radius:7px;color:#415570;background:#fff;transition:background .1s,border-color .1s}
.btn:hover{border-color:#a1c5f1;background:#f8fbff;color:#145eb9}
.btn.primary{background:#196acb;border-color:#196acb;box-shadow:none;color:white}.btn.primary:hover{background:#135bb3}
.btn.sm{font-size:12px;min-height:30px;padding:5px 10px}
.btn.danger{color:#c1484f}.btn.danger:hover{border-color:#e8a4aa;background:#fff4f4}
.panel{border:1px solid #e4e9f0;border-radius:10px;box-shadow:var(--shadow)}
.kpi-grid{gap:13px;margin-bottom:14px}.kpi{padding:19px 20px 18px;min-height:128px}.kpi:before{height:2px}
.kpi-head{font-size:13px;font-weight:500;color:#68798e}.kpi-value{font-size:28px;letter-spacing:-1px;margin-top:15px}.kpi-meta{font-size:12px;color:#91a0ae;margin-top:8px}.kpi-icon{padding:8px}
.dash-grid,.bottom-grid{gap:14px;grid-template-columns:minmax(0,1.64fr) minmax(330px,.98fr)}.bottom-grid{margin-top:14px}
.panel-title{height:55px;padding:0 20px}.panel-title b{font-size:14px;color:#263a53}.panel-title small{font-size:12px}
.panel-body{padding:17px 20px}
.seg button{font-size:12px;padding:6px 10px}
.bar-legend{font-size:12px}.chart-area{height:200px}
.occupancy{padding:12px 0 18px;gap:20px}.ring{height:125px;width:125px}.ring-hole{height:98px;width:98px}.ring-hole small{font-size:11px}
.occupancy-legend{font-size:13px;gap:11px}.underline-item{font-size:12px}
.task-row{padding:13px 0}.task-row b{font-size:13px}.task-row p{font-size:11px;color:#91a0af}.task-row .count{font-size:16px}
.filters{padding:13px 15px;margin-bottom:14px;border-radius:9px;gap:9px}
.control{height:37px;border-color:#dfe6ee;border-radius:7px;color:#41546d;font-size:13px;padding:0 11px}
.control.search{min-width:240px;max-width:390px}
table.data{font-size:13px}
table.data thead th{font-size:12px;color:#667990;padding:13px 16px;background:#f8fafd;font-weight:650}
table.data tbody td{font-size:13px;padding:15px 16px;color:#374b64}
table.data tbody tr:hover{background:#f7fbff}
table.data tbody td b{font-weight:650}
.linklike{font-size:13px;color:#1465ca}.linklike:hover{text-decoration:underline}
.status{border-radius:5px;font-size:12px;padding:5px 9px;font-weight:600;gap:6px}.status:before{height:6px;width:6px}
.status.green{background:#e5f6ef;color:#118663}.status.blue{background:#e8f2ff;color:#2167c6}.status.orange{background:#fff3e3;color:#b77514}.status.red{background:#feedef;color:#c34e56}.status.gray{background:#eef1f5;color:#77879a}
.total-line{font-size:12px;padding:13px 17px}.total-line b{font-weight:700;font-size:14px}
.list-page{min-height:360px;display:flex;flex-direction:column}.list-page .table-wrap{flex:1}
.pagin{padding:12px 16px;min-height:63px;gap:12px;flex-wrap:wrap;font-size:12px;color:#75869a}
.page-size,.page-controls{display:flex;align-items:center;gap:8px}.page-size-select{width:81px;height:32px;padding:0 7px;font-size:12px}
.page-split{height:15px;width:1px;background:#dfe5ed;margin:0 4px}
.pagination-btn{height:31px;min-width:32px;margin:0;padding:4px 9px;font-size:13px}
.pagination-btn:disabled{opacity:.36;cursor:not-allowed}.pagination-btn.current{background:#176cd7;color:#fff;border-color:#176cd7}
.table-board-summary{gap:9px;margin:0 0 13px}.board-stat{padding:11px 15px;gap:10px;font-size:13px;border-radius:7px}.board-stat b{font-size:18px}
.board-stat.active{background:#eaf3ff;border-color:#83b3f2}
.section-title{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:700;margin:18px 0 13px}
.section-title small{font-size:12px;color:#9aabbc;font-weight:400}
.table-grid{gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}
.table-card{padding:15px;min-height:176px;border-radius:10px;border:1px solid #e3eaf2;border-left:3px solid #a2afbe;background:#fff}
.table-card.free{border-left-color:#14a77d}.table-card.used{border-left-color:#2e7ad6}.table-card.reserved{border-left-color:#de9c3e}.table-card.clean{border-left-color:#d95a65}
.table-card:hover{transform:translateY(-1px);box-shadow:0 7px 18px #28446e12;border-color:#a9c6e9}
.table-card .top{display:flex;align-items:flex-start;gap:6px;justify-content:space-between}
.table-card .num{font-size:18px;line-height:1.15;font-weight:750}
.table-card .category{font-size:12px;color:#8a99aa;margin-top:7px}
.table-card-center{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;margin:9px 0 10px;height:49px;color:#859aaf;font-size:12px;background:#f8fafc;border-radius:7px}
.table-card.used .table-card-center{color:#2a6fbd;background:#f5f9ff}.table-card.clean .table-card-center{color:#b75259;background:#fff7f7}
.table-card .bottom{margin-top:0;padding-top:10px;border-top:1px solid #edf1f5;display:flex;justify-content:space-between;align-items:center;gap:7px;font-size:11px;color:#8c9bae}
.table-card .bottom span:last-child{color:#2369c2;display:inline-flex;gap:2px;align-items:center;white-space:nowrap}
.drawer{width:min(580px,100%)}
.drawer-head{min-height:82px;padding:18px 25px}.drawer-head h2{font-size:21px;margin:5px 0 0;color:#23364b}.drawer-kind{font-size:12px;color:#71859d;font-weight:600}
.drawer-content{padding:21px 24px}.drawer-foot{padding:15px 24px;gap:8px;flex-wrap:wrap}
.detail-hero{background:#f7faff;border:1px solid #e0eaf6;border-radius:9px;display:flex;align-items:center;justify-content:space-between;padding:17px 18px}
.detail-label{display:block;font-size:12px;color:#8899ac;margin-bottom:5px}.detail-hero strong{font-size:16px;color:#213e5f}
.drawer-section-head{font-size:14px;font-weight:700;margin:23px 0 12px;padding-bottom:10px;border-bottom:1px solid #e7edf4}
.detail-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.detail-tile{border-bottom:1px solid #f0f2f6;padding:13px 0;display:flex;flex-direction:column;gap:5px;min-width:0}
.detail-tile span{font-size:12px;color:#91a0af}.detail-tile strong{font-size:14px;font-weight:600;color:#31475e;overflow-wrap:anywhere}
.drawer-history{display:flex;gap:11px;color:#4b617c;font-size:13px;padding:3px 0 15px}
.drawer-history b{font-size:13px}.drawer-history p{font-size:12px;color:#8b9aad;margin:5px 0}
.history-point{height:9px;width:9px;border:2px solid #4a91d4;border-radius:50%;margin-top:4px;box-shadow:0 0 0 3px #eef6ff}
.modal-card{width:min(720px,100%);border-radius:12px}.modal-header{padding:18px 25px}.modal-header h2{font-size:19px}.modal-content{padding:23px 25px}.modal-footer{padding:17px 25px}
.field label{font-size:13px;color:#576c81}
.form-grid{gap:17px}.form-grid .control{height:39px}
.phone-wrap{border:7px solid #202830;box-shadow:0 30px 75px #030c1690}
.phone-app{background:#121b21}.phone-status{height:33px}
.phone-page{padding:20px 19px 32px}
.phone-head{font-size:12px;letter-spacing:.4px}
.phone-cover{height:204px;margin-top:20px;background:radial-gradient(ellipse at 76% 31%,#a77548aa,transparent 53%),linear-gradient(140deg,#15242c,#3a2920 78%,#191d20);border-color:#72563d;box-shadow:inset 0 -55px 65px #0005}
.phone-cover strong{font-size:27px}.phone-cover p{font-size:12px;letter-spacing:.3px}
.phone-mini-btn{padding:19px 0;background:#222e36;border:1px solid #3b4a53;font-size:12px}.phone-mini-btn span{font-size:23px}
.phone-h3{font-size:16px;margin:25px 0 14px}.phone-h3 small{font-size:12px}
.phone-act{padding:18px;border-radius:11px}.phone-act h3{font-size:16px}.phone-act p{font-size:12px;line-height:1.6}
.phone-item b{font-size:14px}.phone-item small{font-size:12px}
.phone-control{height:44px;font-size:13px}.phone-btn{min-height:40px;font-size:13px}
.phone-tabbar{height:65px}.phone-tabbar button{font-size:12px;gap:4px}
.phone-note{font-size:12px;line-height:1.75}
@media(max-width:1260px){.table-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.content{padding:23px}.topbar{padding:0 23px}.sidebar{width:220px}}
@media(max-width:1000px){.sidebar{width:205px}.table-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-grid,.bottom-grid{grid-template-columns:1fr}.tabs-tip{display:none}}
@media(max-width:700px){.sidebar{position:fixed;left:-248px;width:245px;z-index:80}.sidebar.open{left:0}.topbar{height:59px;padding:0 12px}.work-tabs{top:59px;height:41px;padding:0 8px}.top-crumb-root,.crumb-separator,.header-search,.account b,.account small{display:none}.top-actions{gap:8px}.preview-link{padding:7px 9px;font-size:12px}.content{padding:18px 13px 35px}.page-heading{align-items:flex-start;flex-direction:column;gap:13px}.heading-actions{width:100%;display:flex}.page-heading h1{font-size:23px}.kpi-grid{grid-template-columns:repeat(2,1fr);gap:10px}.kpi{min-height:123px;padding:15px}.kpi-value{font-size:23px}.kpi-meta{font-size:11px}.kpi-head{font-size:12px}.table-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.table-card{padding:12px;min-height:170px}.table-card .top{flex-direction:column}.table-card-center{margin:7px 0;height:43px}.table-card .bottom{font-size:10px}.table-card .bottom span:first-child{max-width:76px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filters{align-items:stretch}.control.search{max-width:none;min-width:100%;flex:auto}.pagin{flex-direction:column;align-items:flex-start}.page-controls{width:100%;justify-content:flex-end}.detail-tiles{grid-template-columns:1fr 1fr}.phone-helper{display:none}}
@media(max-width:420px){.table-grid{grid-template-columns:1fr 1fr}.table-card .status{font-size:11px}.kpi-value{font-size:21px}.phone-wrap{height:92vh;width:355px;max-width:100%}}
