*{box-sizing:border-box}
:root{
  --bg:#f7f7f5;--surface:#fff;--surface-soft:#fbfbfa;--surface-tint:#f1f1ef;
  --line:#e7e7e4;--line-strong:#d7d7d2;--text:#181817;--muted:#747471;--muted-2:#9b9b96;
  --brand:#111111;--brand-dark:#000;--brand-soft:#f0f0ee;--brand-soft-2:#f6f6f4;
  --success:#26734d;--success-soft:#eaf5ef;--warning:#9a6700;--warning-soft:#fff5d6;
  --danger:#b23a3a;--danger-soft:#faeaea;--white:#fff;
  --shadow-xs:0 1px 2px rgba(0,0,0,.035);--shadow-sm:0 8px 24px rgba(0,0,0,.055);--shadow-md:0 20px 55px rgba(0,0,0,.12);
  --radius:16px;--radius-sm:11px;--ease:170ms cubic-bezier(.2,.7,.2,1)
}
html{scroll-behavior:smooth;max-width:100%;overflow-x:hidden}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Arial,sans-serif;font-size:13px;line-height:1.45;max-width:100%;overflow-x:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}img,svg,video,canvas{max-width:100%}.app{min-height:100vh;display:flex}
/* SHELL — Apple/Notion minimal */
.sidebar{width:224px;position:fixed;inset:0 auto 0 0;background:#f2f2f0;border-right:1px solid #dededb;padding:18px 12px 14px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:10px;padding:2px 8px 22px}.brand-mark{width:36px;height:36px;border-radius:10px;background:#111;color:#fff;display:grid;place-items:center;font-weight:800;font-size:10px;letter-spacing:.2px}.brand-title{font-size:11px;font-weight:800;letter-spacing:.55px}.brand-sub{font-size:9px;color:var(--muted);margin-top:2px}.nav-label{font-size:8px;font-weight:800;color:#a0a09b;letter-spacing:1.2px;padding:13px 10px 7px}.nav{display:grid;gap:2px}.nav a{min-height:40px;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:9px;color:#666663;font-size:11px;font-weight:650;transition:background var(--ease),color var(--ease)}.nav a:hover{background:#e8e8e5;color:#111}.nav a.active{background:#fff;color:#111;box-shadow:0 1px 3px rgba(0,0,0,.06);font-weight:750}.nav-icon{width:20px;height:20px;display:grid;place-items:center;font-size:13px;opacity:.72}.nav a.active .nav-icon{opacity:1}.sidebar-bottom{margin-top:auto;border-top:1px solid #dededb;padding-top:12px}.profile-mini{display:flex;align-items:center;gap:9px;padding:7px 8px}.avatar{width:32px;height:32px;border-radius:9px;background:#fff;color:#111;display:grid;place-items:center;font-weight:800;font-size:9px}.profile-mini strong{display:block;font-size:10px;font-weight:750}.profile-mini small{display:block;font-size:8px;color:var(--muted);margin-top:2px}.main{margin-left:224px;width:calc(100% - 224px);min-width:0}.topbar{height:62px;background:rgba(255,255,255,.9);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:20}.crumb{font-size:10px;color:var(--muted)}.crumb strong{color:var(--text);font-weight:700}.top-actions{display:flex;align-items:center;gap:8px}.icon-btn{width:36px;height:36px;border:1px solid var(--line);background:#fff;border-radius:9px;color:#555552;display:grid;place-items:center;transition:var(--ease)}.icon-btn:hover{border-color:#cfcfca;background:var(--surface-soft)}.status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 9px;background:#f0f7f3;color:var(--success);font-size:9px;font-weight:750}.dot{width:6px;height:6px;border-radius:50%;background:currentColor}.mobile-brand,.mobile-menu,.mobile-nav,.mobile-backdrop,.bottom-nav{display:none}
/* CONTENT */
.content{width:min(100%,1260px);margin:auto;padding:30px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin-bottom:20px}.eyebrow{font-size:8px;font-weight:800;letter-spacing:1.25px;color:#8c8c87;text-transform:uppercase}.page-head h1,h1{font-size:28px;line-height:1.1;margin:5px 0 6px;letter-spacing:-.8px;font-weight:800}.page-head p{margin:0;color:var(--muted);font-size:11px;max-width:700px}.actions{display:flex;gap:7px;flex-wrap:wrap}.btn{min-height:40px;border:1px solid var(--line-strong);background:#fff;color:#333330;padding:8px 13px;border-radius:9px;font-size:10px;font-weight:700;transition:background var(--ease),border-color var(--ease),box-shadow var(--ease),transform var(--ease)}.btn:hover{box-shadow:var(--shadow-xs);border-color:#c9c9c4}.btn-primary{border-color:#111;background:#111;color:#fff;box-shadow:none}.btn-primary:hover{background:#000;border-color:#000}.btn-light{background:#f7f7f5}.btn-small{min-height:34px;padding:7px 9px;font-size:9px}
/* DASHBOARD */
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.stat{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:var(--shadow-xs);min-height:126px;transition:box-shadow var(--ease),transform var(--ease),border-color var(--ease)}.stat:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm);border-color:#d9d9d5}.stat-top{display:flex;justify-content:space-between;align-items:center}.stat-icon{width:34px;height:34px;border-radius:9px;background:#f0f0ee;color:#111;display:grid;place-items:center;font-size:13px}.stat-label{font-size:8px;color:var(--muted-2);font-weight:750;margin-top:15px;letter-spacing:.45px}.stat-value{font-size:25px;line-height:1.05;font-weight:800;margin-top:3px;letter-spacing:-.6px}.stat-note{font-size:9px;color:var(--muted);margin-top:5px}.badge{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:4px 8px;font-size:7px;font-weight:800;letter-spacing:.25px;text-transform:uppercase}.badge-active{background:var(--success-soft);color:var(--success)}.badge-pending{background:var(--warning-soft);color:var(--warning)}.badge-suspended{background:var(--danger-soft);color:var(--danger)}.section-grid{display:grid;grid-template-columns:1.35fr .85fr;gap:10px;margin-top:10px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow-xs);overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid var(--line)}.panel-head h2{font-size:12px;line-height:1.2;margin:0 0 3px;font-weight:750}.panel-head p{font-size:9px;color:var(--muted);margin:0}.link{font-size:9px;font-weight:750;color:#555;white-space:nowrap}.store-list{display:grid}.store-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 16px;border-bottom:1px solid var(--line)}.store-row:last-child{border-bottom:0}.store-logo{width:34px;height:34px;border-radius:9px;background:#f0f0ee;color:#111;display:grid;place-items:center;font-weight:800;font-size:10px}.store-name{font-size:10px;font-weight:750}.store-meta{font-size:8px;color:var(--muted);margin-top:2px;overflow-wrap:anywhere}.store-side{text-align:right}.store-side strong{font-size:9px;display:block}.store-side small{font-size:8px;color:var(--muted)}.activity{padding:3px 16px 10px}.activity-item{display:grid;grid-template-columns:28px 1fr;gap:9px;padding:10px 0;border-bottom:1px solid var(--line)}.activity-item:last-child{border-bottom:0}.activity-dot{width:28px;height:28px;border-radius:8px;background:#f0f0ee;display:grid;place-items:center;color:#222;font-size:9px}.activity-item strong{font-size:9px;font-weight:700}.activity-item small{display:block;color:var(--muted);font-size:8px;margin-top:2px}.quick{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:10px}.quick-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:11px;display:flex;align-items:center;gap:9px;transition:var(--ease)}.quick-card:hover{border-color:#d2d2cd;box-shadow:var(--shadow-xs)}.quick-card span{width:31px;height:31px;border-radius:8px;background:#f0f0ee;display:grid;place-items:center;color:#111}.quick-card strong{display:block;font-size:9px;font-weight:750}.quick-card small{display:block;color:var(--muted);font-size:8px;margin-top:2px}
/* DATA */
.toolbar{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:11px 12px;border-bottom:1px solid var(--line);background:#fafaf9}.search{display:flex;align-items:center;gap:7px;flex:1;max-width:420px;min-height:40px;border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 10px;transition:var(--ease)}.search:focus-within{border-color:#bcbcb6;box-shadow:0 0 0 3px #f0f0ee}.search span{color:#9b9b96;font-size:12px}.search input{border:0;outline:0;width:100%;font-size:10px;background:transparent;color:var(--text)}.search input::placeholder{color:#aaa9a4}.filter{min-height:40px;border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 10px;font-size:9px;color:#555550;outline:0}.table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.table{width:100%;border-collapse:collapse;min-width:660px}.table th{font-size:7px;text-transform:uppercase;letter-spacing:.65px;color:#989894;text-align:left;padding:10px 14px;background:#fafaf9;border-bottom:1px solid var(--line);font-weight:800}.table td{padding:11px 14px;border-bottom:1px solid var(--line);font-size:9px;vertical-align:middle;color:#41413e}.table tr:last-child td{border-bottom:0}.table tbody tr:hover td{background:#fcfcfb}.table strong{font-weight:750;color:#222}.table .muted{color:var(--muted)}
/* ACTIONS / DETAILS / MODALS */
.business-actions,.courier-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}.business-action,.courier-action{min-height:34px;padding:6px 9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#333;font-size:9px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:5px}.business-action:hover,.courier-action:hover{background:#f7f7f5;border-color:#cfcfc9}.business-action:disabled,.courier-action:disabled{opacity:.4;cursor:not-allowed}.business-action svg,.courier-action svg{width:14px;height:14px}.detail-hero{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line);background:#fafaf9}.detail-hero h3{margin:0;font-size:12px;font-weight:800}.detail-hero p{margin:2px 0 0;font-size:9px;color:var(--muted)}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px}.detail-grid .full{grid-column:1/-1}.detail-section{border:1px solid var(--line);border-radius:11px;padding:12px}.detail-section h4{margin:0 0 8px;font-size:8px;text-transform:uppercase;letter-spacing:.7px;color:#92928d}.detail-section p{margin:4px 0;font-size:10px}.modal-backdrop{position:fixed;inset:0;background:rgba(20,20,18,.34);display:none;align-items:center;justify-content:center;padding:20px;z-index:80}.modal-backdrop.open{display:flex}.modal{width:min(100%,620px);max-height:90dvh;overflow:auto;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:17px;box-shadow:var(--shadow-md)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;border-bottom:1px solid var(--line);background:#fff}.modal-head h2{font-size:14px;margin:0;font-weight:800}.modal-body{padding:17px}.modal-foot{display:flex;justify-content:flex-end;gap:7px;padding:11px 15px;border-top:1px solid var(--line);background:#fafaf9}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.field{display:grid;gap:5px}.field.full{grid-column:1/-1}.field label{font-size:8px;font-weight:800;color:#6e6e69;letter-spacing:.45px}.field input,.field select,.field textarea,input,select,textarea{min-height:40px;border:1px solid var(--line-strong);border-radius:9px;padding:8px 10px;background:#fff;color:var(--text);outline:none;font-size:10px}.field input:focus,.field select:focus,.field textarea:focus,input:focus,select:focus,textarea:focus{border-color:#a9a9a3;box-shadow:0 0 0 3px #f1f1ef}.form-note{font-size:9px;color:var(--muted);margin:8px 0 0}.empty-state{padding:32px 16px;text-align:center}
/* LOCATION */
.geo-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.geo-head p{margin:4px 0 0;color:var(--muted);font-size:10px}.geo-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.geo-stat{border:1px solid var(--line);border-radius:11px;padding:10px;background:#fff}.geo-stat span{display:block;color:var(--muted);font-size:8px}.geo-stat strong{display:block;margin-top:2px;font-size:16px;font-weight:800}.geo-toolbar{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0;padding:10px;border:1px solid var(--line);border-radius:11px;background:#fafaf9}.geo-toolbar input{flex:1;min-width:220px}.geo-tree{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.geo-item{border-top:1px solid var(--line);background:#fff}.geo-item:first-child{border-top:0}.geo-children{border-left:1px solid #e3e3df;margin-left:18px;background:#fcfcfb}.geo-line{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 11px;min-width:0}.geo-main{display:contents}.geo-toggle{width:23px;height:23px;flex:0 0 23px;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:11px;cursor:pointer;padding:0;color:#666}.geo-toggle.open{font-weight:800;background:#f4f4f2;color:#111}.geo-toggle-spacer{width:23px;display:block}.geo-info{min-width:0}.geo-type{font-size:7px;font-weight:800;letter-spacing:.06em;color:#999994;text-transform:uppercase;line-height:1.1}.geo-name{font-weight:750;font-size:10px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.geo-meta{font-size:8px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.geo-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap;flex-shrink:0}.geo-actions .btn{padding:5px 7px;font-size:8px;min-height:32px}.geo-status{font-size:7px;font-weight:800;padding:4px 6px;border-radius:999px;border:1px solid var(--line);white-space:nowrap;color:var(--success);background:#f4faf6}.geo-status.off{opacity:.65;color:var(--danger);background:#fcf4f4}.geo-inline-add{display:none;padding:8px 11px 10px 70px;background:#fafaf9}.geo-inline-add.open{display:grid;grid-template-columns:minmax(0,1fr) 150px auto auto;gap:6px}.geo-inline-add input{min-width:0}.geo-empty{padding:25px;text-align:center;color:var(--muted);font-size:9px}.geo-note{font-size:9px;color:var(--muted);line-height:1.5;margin-top:9px}.geo-quick{display:flex;gap:6px;flex-wrap:wrap}.geo-quick .btn{font-size:9px}.geo-modal-small .modal{max-width:440px}
/* LOGIN */
body:has(.login-card){background:#f7f7f5}.login{min-height:100dvh;display:grid;place-items:center;padding:24px}.login-card{width:min(100%,400px);background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;box-shadow:0 18px 50px rgba(0,0,0,.07)}.login-brand{display:flex;align-items:center;gap:10px;margin-bottom:20px}.login-mark{width:42px;height:42px;border-radius:11px;background:#111;color:#fff;display:grid;place-items:center;font-weight:800}.login h1{font-size:22px;margin:0 0 5px}.login p{font-size:10px;color:var(--muted);margin:0 0 18px}.login .field{margin-bottom:10px}.login .btn{width:100%;min-height:44px}
/* V6 POLISH — settings accordions, courier detail, navigation icons */
.settings-form{display:grid;gap:10px}.settings-card{background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow-xs);overflow:hidden}.settings-summary{list-style:none;display:grid;grid-template-columns:34px minmax(0,1fr) 28px;align-items:center;gap:11px;padding:13px 15px;min-height:64px;cursor:pointer;user-select:none}.settings-summary::-webkit-details-marker{display:none}.settings-summary:hover{background:#fcfcfb}.settings-summary-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;font-size:14px;font-weight:800}.settings-icon-config{background:#f0f0ee;color:#111}.settings-icon-feature{background:#eef3ff;color:#3657a7}.settings-icon-location{background:#eef7f1;color:#2b7651}.settings-summary-copy{min-width:0}.settings-summary-copy strong{display:block;font-size:11px;line-height:1.25;font-weight:800}.settings-summary-copy small{display:block;color:var(--muted);font-size:8px;line-height:1.45;margin-top:2px}.settings-summary-arrow{width:28px;height:28px;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;color:#777;font-size:18px;line-height:1;transition:transform var(--ease),background var(--ease)}.settings-card[open]>.settings-summary{border-bottom:1px solid var(--line);background:#fcfcfb}.settings-card[open]>.settings-summary .settings-summary-arrow{transform:rotate(90deg);background:#f0f0ee;color:#111}.settings-card-body{padding:16px}.settings-save-note{min-height:28px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 3px;color:var(--muted);font-size:8px}.settings-save-note .form-note{margin:0}.feature-list{display:grid;gap:8px}.feature-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:#fff;cursor:pointer}.feature-row:hover{background:#fcfcfb}.feature-copy{min-width:0}.feature-copy strong{display:block;font-size:10px;font-weight:750}.feature-copy small{display:block;color:var(--muted);font-size:8px;margin-top:2px}.feature-row input[type=checkbox]{appearance:none;-webkit-appearance:none;width:38px;height:22px;min-height:22px;border:0;border-radius:999px;background:#d8d8d3;position:relative;flex:0 0 38px;padding:0;cursor:pointer;transition:background var(--ease),box-shadow var(--ease)}.feature-row input[type=checkbox]::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.15);transition:transform var(--ease)}.feature-row input[type=checkbox]:checked{background:#111}.feature-row input[type=checkbox]:checked::after{transform:translateX(16px)}.feature-row input[type=checkbox]:focus-visible{box-shadow:0 0 0 3px #ededeb}.settings-location-card{margin-top:10px}.settings-location-body{display:grid;gap:12px}.settings-location-body>.geo-head{margin-bottom:0}.settings-location-body>.geo-summary{margin:0}.settings-location-body>.geo-toolbar{margin:0}.settings-location-body>.geo-tree{margin-top:0}.detail-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#111;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:800}.detail-hero>.badge{margin-left:auto}.detail-section-title{font-size:8px;font-weight:800;letter-spacing:.8px;color:#8d8d88;margin:0 0 10px}.detail-section{background:#fff}.detail-grid>div{min-width:0}.detail-grid label{display:block;font-size:8px;color:#858580;margin-bottom:4px}.detail-grid strong{display:block;font-size:10px;line-height:1.45;font-weight:700;overflow-wrap:anywhere}.detail-grid small{display:block;margin-top:3px;color:var(--muted);font-size:8px;line-height:1.45;overflow-wrap:anywhere}.detail-actions{display:flex;gap:7px;padding:0 14px 14px}.business-contact-wa{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 11px;border:1px solid var(--line-strong);border-radius:9px;background:#fff;color:#333;font-size:9px;font-weight:750}.business-contact-wa:hover{background:#f7f7f5;border-color:#c9c9c4}.business-contact-wa svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.wrap-anywhere{overflow-wrap:anywhere}.detail-note{font-size:9px;line-height:1.5;color:#555;margin:0!important;overflow-wrap:anywhere}.bottom-nav .bn-icon{width:22px;height:22px;display:grid;place-items:center;font-size:0;line-height:1}.bottom-nav .bn-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bottom-nav a:nth-child(1) .bn-icon{color:#4b7bec}.bottom-nav a:nth-child(2) .bn-icon{color:#8b63d8}.bottom-nav a:nth-child(3) .bn-icon{color:#4e9b75}.bottom-nav a:nth-child(4) .bn-icon{color:#e28b4f}.bottom-nav a:nth-child(5) .bn-icon{color:#6f7782}.bottom-nav a.active .bn-icon{filter:saturate(1.05)}

/* RESPONSIVE */
@media(max-width:1100px){.sidebar{width:210px}.main{margin-left:210px;width:calc(100% - 210px)}.content{padding:24px}.grid-4{grid-template-columns:repeat(2,1fr)}.section-grid{grid-template-columns:1fr}.quick{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){html,body{width:100%;overflow-x:hidden}.app{display:block}.sidebar{display:none}.main{margin:0;width:100%;padding-bottom:78px}.topbar{height:60px;padding:0 13px}.crumb{display:none}.mobile-brand{display:flex;align-items:center;gap:8px}.mobile-brand .brand-mark{width:34px;height:34px;border-radius:9px}.mobile-brand .brand-title{font-size:10px}.mobile-brand .brand-sub{font-size:8px}.mobile-menu{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#222;font-size:17px}.top-actions .status-pill,.top-actions>.icon-btn{display:none}.mobile-backdrop{position:fixed;inset:0;background:rgba(20,20,18,.28);z-index:40}.mobile-backdrop.open{display:block}.mobile-nav{position:fixed;left:0;top:0;bottom:0;width:min(84vw,320px);background:#f8f8f6;padding:17px 12px;z-index:50;transform:translateX(-105%);transition:transform 210ms ease;box-shadow:16px 0 38px rgba(0,0,0,.1);display:block}.mobile-nav.open{transform:translateX(0)}.mobile-nav-head{display:flex;align-items:center;justify-content:space-between}.mobile-nav .brand{padding:0 3px 17px}.mobile-nav .nav a{min-height:44px;font-size:11px}.content{padding:20px 13px 22px}.page-head{display:block;margin-bottom:16px}.page-head h1,h1{font-size:25px;margin-top:4px}.page-head p{font-size:10px;line-height:1.55}.page-head>.actions{margin-top:13px}.actions{gap:7px}.actions .btn,.actions a{min-height:44px;width:100%}.grid-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stat{min-height:118px;padding:13px;border-radius:13px}.stat-icon{width:33px;height:33px}.stat-label{font-size:7px;margin-top:12px}.stat-value{font-size:21px}.stat-note{font-size:8px}.section-grid{gap:9px;margin-top:9px}.panel{border-radius:13px}.panel-head{padding:13px}.panel-head h2{font-size:11px}.panel-head p{font-size:8px}.quick{grid-template-columns:1fr;gap:7px;margin-top:9px}.quick-card{padding:10px}.toolbar{display:grid;grid-template-columns:1fr;padding:10px;gap:7px}.search,.filter{width:100%;max-width:none;min-height:42px}.search input{font-size:11px}.table-wrap{overflow:visible}.table{display:block;width:100%;min-width:0;border-collapse:separate;border-spacing:0}.table thead{display:none}.table tbody{display:grid;gap:8px;padding:9px}.table tr{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;padding:11px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow-xs);min-width:0}.table td{display:grid;grid-template-columns:minmax(68px,27%) minmax(0,1fr);gap:8px;align-items:start;min-width:0;padding:0;border:0;font-size:10px;line-height:1.4;overflow-wrap:anywhere}.table td::before{content:attr(data-label);font-size:7px;font-weight:800;letter-spacing:.45px;text-transform:uppercase;color:#999994;line-height:1.4}.table td:first-child{padding-bottom:7px;border-bottom:1px solid var(--line)}.table td:first-child::before{color:#222}.table td[colspan]{display:block;padding:7px 2px}.table td[colspan]::before{display:none}.business-table tbody,.courier-actions{gap:8px}.business-table tr{padding:11px}.business-table td{grid-template-columns:68px minmax(0,1fr)}.business-table td:first-child strong{font-size:10.5px}.business-table td:last-child,.courier-actions{display:block;padding-top:4px;margin-top:2px;border-top:1px solid var(--line)}.business-table td:last-child::before{display:block;margin-bottom:7px}.business-actions,.courier-actions{display:flex;justify-content:stretch;width:100%;gap:6px}.business-action,.courier-action{flex:1 1 0;width:auto;min-width:0;height:40px;min-height:40px;padding:0 6px}.business-action span,.courier-action b{display:inline;font-size:8px}.business-action svg,.courier-action svg{width:15px;height:15px}.modal-backdrop{padding:8px;align-items:flex-end}.modal{width:100%;max-height:92dvh;border-radius:16px 16px 10px 10px}.modal-head{position:sticky;top:0;z-index:2;padding:14px 15px}.modal-body{padding:15px}.form-grid{grid-template-columns:1fr;gap:10px}.field.full{grid-column:auto}.modal-foot{position:sticky;bottom:0;z-index:2;padding:10px 12px}.modal-foot .btn{flex:1;min-width:0}.detail-grid{grid-template-columns:1fr}.detail-grid .full{grid-column:auto}.detail-hero{align-items:flex-start;padding:12px}.detail-section{padding:12px}.bottom-nav{position:fixed;left:0;right:0;bottom:0;min-height:68px;padding:5px 4px calc(5px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 -7px 22px rgba(0,0,0,.06);z-index:35;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.bottom-nav a{min-width:0;min-height:44px;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#999994;font-size:7px;font-weight:400}.bottom-nav a.active{background:#f0f0ee;color:#111}.bottom-nav .bn-icon{font-size:15px;line-height:1}.geo-head{flex-direction:column}.geo-quick{width:100%}.geo-quick .btn{flex:1}.geo-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.geo-toolbar{align-items:stretch}.geo-toolbar input{min-width:100%;order:0}.geo-toolbar .btn{flex:1}.geo-line{grid-template-columns:24px minmax(0,1fr);align-items:start;padding:9px}.geo-actions{grid-column:2;justify-content:flex-start;margin-top:5px}.geo-children{margin-left:12px}.geo-inline-add{padding:8px 9px 10px 34px}.geo-inline-add.open{grid-template-columns:1fr 1fr}.geo-inline-add .btn-primary{grid-column:1}.geo-inline-add .btn:not(.btn-primary){grid-column:2}.geo-name{font-size:10px}.geo-meta{font-size:8px}.geo-type{font-size:7px}.geo-actions .btn{padding:5px 6px;font-size:7px}.geo-status{font-size:7px}.geo-modal-small .modal{max-width:none}}
@media(max-width:420px){.content{padding-left:10px;padding-right:10px}.grid-4{gap:7px}.stat{padding:11px}.stat-value{font-size:20px}.business-action span,.courier-action b{font-size:7.5px}.bottom-nav{padding-left:2px;padding-right:2px}.bottom-nav a{font-size:6.5px}.geo-summary{gap:6px}.geo-stat{padding:9px}.geo-stat strong{font-size:15px}.geo-toolbar{gap:5px}.geo-toolbar .btn{font-size:7px;padding:6px}.geo-actions{gap:3px}.geo-actions .btn{padding:5px;font-size:7px}.geo-inline-add.open{grid-template-columns:1fr}.geo-inline-add .btn-primary,.geo-inline-add .btn:not(.btn-primary){grid-column:1}}
@media(orientation:landscape) and (max-width:900px){.content{padding:17px 18px 22px}.bottom-nav{min-height:60px}.main{padding-bottom:68px}}

@media(max-width:700px){.settings-page-head{margin-bottom:12px}.settings-page-head>.actions{margin-top:0}.settings-page-head>.actions .btn{width:auto;min-width:118px;padding-left:12px;padding-right:12px}.settings-card{border-radius:13px}.settings-summary{grid-template-columns:32px minmax(0,1fr) 27px;gap:9px;padding:12px;min-height:62px}.settings-summary-icon{width:30px;height:30px;font-size:13px}.settings-summary-copy strong{font-size:10px}.settings-summary-copy small{font-size:7.5px;line-height:1.45}.settings-summary-arrow{width:27px;height:27px}.settings-card-body{padding:12px}.settings-save-note{font-size:7.5px;padding:0 1px}.feature-row{padding:10px}.feature-copy strong{font-size:9px}.feature-copy small{font-size:7.5px}.settings-location-body{gap:10px}.settings-location-body .geo-head{gap:10px}.settings-location-body .geo-head h2{font-size:17px}.settings-location-body .geo-head p{font-size:8px}.settings-location-body .geo-quick{gap:5px}.settings-location-body .geo-quick .btn{font-size:7.5px;min-height:38px}.settings-location-body .geo-toolbar{padding:8px}.settings-location-body .geo-summary{margin:0}.detail-hero{padding:11px 12px;gap:8px}.detail-hero h3{font-size:11px}.detail-hero p{font-size:8px}.detail-hero>.badge{font-size:6.5px;padding:4px 6px}.detail-section{padding:11px;border-radius:10px}.detail-section-title{font-size:7.5px;margin-bottom:8px}.detail-grid{gap:9px;padding:0}.detail-grid label{font-size:7.5px;margin-bottom:3px}.detail-grid strong{font-size:9px;line-height:1.45}.detail-grid small{font-size:7.5px}.detail-actions{padding:0;margin-top:9px}.business-contact-wa{min-height:36px;width:auto;padding:7px 10px;font-size:8px}.business-contact-wa svg{width:15px;height:15px}.detail-note{font-size:8.5px}.bottom-nav .bn-icon{width:24px;height:24px}.bottom-nav .bn-icon svg{width:20px;height:20px}.bottom-nav a{gap:3px}.bottom-nav a:nth-child(1) .bn-icon{color:#4b7bec}.bottom-nav a:nth-child(2) .bn-icon{color:#8b63d8}.bottom-nav a:nth-child(3) .bn-icon{color:#4e9b75}.bottom-nav a:nth-child(4) .bn-icon{color:#e28b4f}.bottom-nav a:nth-child(5) .bn-icon{color:#6f7782}}

/* V7 DATA CARD POLISH — Business / Store / Courier */
.data-primary{display:flex;align-items:center;gap:7px;min-width:0}.data-primary strong{min-width:0;overflow-wrap:anywhere}.data-code{display:inline-flex;align-items:center;padding:3px 6px;border-radius:6px;background:#f2f2f0;color:#777;font-size:7px;font-weight:750;white-space:nowrap}.soft-chip{display:inline-flex;align-items:center;padding:4px 7px;border-radius:7px;background:#f3f3f1;color:#555;font-size:7px;font-weight:800;letter-spacing:.2px}.business-table td,.store-monitor-row td,.courier-monitor-row td{vertical-align:top}.business-table td:first-child,.store-monitor-row td:first-child,.courier-monitor-row td:first-child{min-width:145px}.store-address-value{font-weight:700;color:#30302d;overflow-wrap:anywhere}.wrap-anywhere{overflow-wrap:anywhere;word-break:break-word}
/* Business onboarding location selector */
.location-group{grid-column:1/-1;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fafaf9;gap:10px}.field-group-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.field-group-head strong{font-size:8px;letter-spacing:.6px}.field-group-head small{font-size:8px;color:var(--muted)}.location-select-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.location-select-grid .field{gap:5px}.location-select-grid select:disabled{background:#f1f1ef;color:#aaa}
.contact-list{display:grid;gap:9px;padding:0 14px 12px}.contact-item{display:grid;grid-template-columns:minmax(110px,34%) minmax(0,1fr);gap:9px;align-items:start;padding-bottom:8px;border-bottom:1px solid var(--line)}.contact-item:last-child{border-bottom:0;padding-bottom:0}.contact-item span{font-size:8px;color:#858580;line-height:1.45}.contact-item strong{font-size:10px;line-height:1.45;overflow-wrap:anywhere}.contact-item small{grid-column:2;font-size:8px;color:var(--muted);margin-top:-4px;overflow-wrap:anywhere}.contact-item-full{grid-template-columns:minmax(110px,34%) minmax(0,1fr)}
.detail-hero-copy{min-width:0}.detail-hero-copy h3,.detail-hero-copy p{overflow-wrap:anywhere}
@media(max-width:700px){
  .business-table tr,.store-monitor-row,.courier-monitor-row{padding:13px;border-radius:13px;gap:9px}
  .business-table td,.store-monitor-row td,.courier-monitor-row td{grid-template-columns:76px minmax(0,1fr);gap:9px;font-size:10px;line-height:1.45}
  .business-table td:first-child,.store-monitor-row td:first-child,.courier-monitor-row td:first-child{padding-bottom:9px}
  .business-table td:first-child strong,.store-monitor-row td:first-child strong,.courier-monitor-row td:first-child strong{font-size:11px}
  .business-table td:last-child,.store-monitor-row td:last-child,.courier-monitor-row td:last-child{padding-top:8px;margin-top:2px}
  .business-actions,.courier-actions{gap:6px}
  .business-action,.courier-action{min-height:38px;height:38px;border-radius:9px}
  .business-action span,.courier-action b{font-size:7.5px}
  .business-action svg,.courier-action svg{width:14px;height:14px}
  .location-group{padding:11px;border-radius:11px}.location-select-grid{grid-template-columns:1fr;gap:9px}.field-group-head{display:block}.field-group-head small{display:block;margin-top:3px}.location-select-grid .field label{font-size:7.5px}.location-select-grid select{min-height:42px}
  .contact-list{padding:0 12px 11px;gap:8px}.contact-item{grid-template-columns:1fr;gap:3px;padding-bottom:8px}.contact-item span{font-size:7.5px}.contact-item strong{font-size:9.5px}.contact-item small{grid-column:1;margin-top:0;font-size:7.5px}.contact-item-full{grid-template-columns:1fr}
  .detail-actions{padding:0 12px 12px}.business-contact-wa{min-height:34px;height:34px;padding:6px 9px;font-size:8px;gap:5px}.business-contact-wa svg{width:14px;height:14px}
}

/* V8 Courier location cascade + Platform Finance */
.courier-location-group{grid-column:1/-1}.courier-location-group .field.full{grid-column:1/-1}.finance-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:9px}.finance-filter{display:grid;gap:5px}.finance-filter label{font-size:7px;font-weight:800;letter-spacing:.55px;color:#8e8e89}.finance-filter input,.finance-filter select{min-height:40px;border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 10px;font-size:9px;color:#333;outline:0}.finance-filter input:focus,.finance-filter select:focus{border-color:#bcbcb6;box-shadow:0 0 0 3px #f0f0ee}.finance-kpis,.finance-owners{margin-top:10px}.finance-main{margin-top:10px}.finance-summary{padding:10px 16px}.finance-summary-row{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:9px}.finance-summary-row:last-child{border-bottom:0}.finance-summary-row span{color:var(--muted)}.finance-summary-row strong{font-size:10px;text-align:right}.finance-daily,.finance-transactions{margin-top:10px}.daily-list{padding:12px 16px 14px;display:grid;gap:7px}.daily-row{display:grid;grid-template-columns:58px minmax(0,1fr) 105px;align-items:center;gap:9px}.daily-date{font-size:8px;color:var(--muted)}.daily-bar{height:8px;background:#f0f0ee;border-radius:999px;overflow:hidden}.daily-bar i{display:block;height:100%;background:#111;border-radius:999px;min-width:2px}.daily-value{font-size:8px;font-weight:750;text-align:right}.finance-disclaimer{margin-top:10px;padding:12px 14px;color:var(--muted);font-size:8px;line-height:1.6;border:1px solid var(--line);border-radius:12px;background:#fafaf9}.finance-table td{vertical-align:top}@media(max-width:900px){.finance-toolbar{grid-template-columns:1fr 1fr}.finance-toolbar .btn{grid-column:1/-1}.finance-main{grid-template-columns:1fr}}@media(max-width:700px){.finance-toolbar{grid-template-columns:1fr 1fr;padding:10px}.finance-filter input,.finance-filter select,.finance-toolbar .btn{min-height:42px}.finance-kpis{grid-template-columns:1fr 1fr}.finance-kpis .stat{min-height:110px}.finance-kpis .stat-value{font-size:16px;overflow-wrap:anywhere}.daily-row{grid-template-columns:50px minmax(0,1fr) 82px;gap:7px}.daily-value{font-size:7.5px}.finance-summary{padding:8px 12px}.finance-summary-row{font-size:8px}.finance-summary-row strong{font-size:9px}.finance-disclaimer{font-size:7.5px}.courier-location-group .location-select-grid{grid-template-columns:1fr}.courier-location-group .field.full{grid-column:auto}}@media(max-width:420px){.finance-toolbar{grid-template-columns:1fr}.finance-toolbar .btn{grid-column:auto}.finance-kpis{gap:6px}.finance-kpis .stat{padding:10px}.finance-kpis .stat-value{font-size:15px}}
