@font-face{font-family:Inter;src:url('assets/inter-latin-ext-wght-normal.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:Inter;src:url('assets/inter-latin-wght-normal.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--bg:#0e1317;--surface:#172027;--elevated:#1b262f;--sidebar:#0c1116;--text:#e9eef2;--muted:#9eacb7;--line:#25323b;--soft:#17343a;--accent:#27bdc6;--blue:#178dff;--danger:#ee8582;--danger-soft:#452529;--ok:#57c9a3;--ok-soft:#19392f;--warning:#d7ae70;--warning-soft:#3c3123;--shadow:0 18px 70px #0005;color-scheme:dark}
:root[data-theme=light]{--bg:#f3f6f8;--surface:#fff;--elevated:#f7f9fb;--sidebar:#fbfcfd;--text:#1c2933;--muted:#647581;--line:#e3e9ee;--soft:#e9f4f4;--accent:#00838c;--blue:#126fc6;--danger:#b64b4c;--danger-soft:#fbebeb;--ok:#168467;--ok-soft:#e9f5ee;--warning:#96611c;--warning-soft:#fcf3e6;--shadow:0 18px 70px #2738491f;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:400 13px/1.5 Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--accent);text-decoration:none}button,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid var(--accent)}input:focus,select:focus,textarea:focus{outline:1px solid var(--accent);border-color:var(--accent)}svg.icon{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}h1,h2,h3,p{margin:0}h1{font-size:21px;font-weight:600;letter-spacing:-.55px;line-height:1.4}h2{font-size:14px;font-weight:600}h3{font-size:13px;font-weight:600}.muted{color:var(--muted)}.small{font-size:11px}.mono{font-variant-numeric:tabular-nums}.skip{position:fixed;top:-100px;left:20px;z-index:999}.skip:focus{top:12px;padding:12px;background:var(--surface)}[hidden]{display:none!important}
.sidebar{position:fixed;inset:0 auto 0 0;width:180px;background:var(--sidebar);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:0 10px;z-index:40}.brand{height:59px;display:flex;align-items:center;gap:9px;padding:0 8px;border:0;background:none;text-align:left;width:100%}.brand-mark{position:relative;width:28px;height:32px;flex:none}.brand-mark img{width:26px;height:29px;object-fit:contain;display:block}.brand-badge{position:absolute;right:0;bottom:0;color:#1ec5cc;display:flex}.brand-badge svg.icon{width:9px;height:9px;stroke-width:1.8}.brand-name{display:block;font-size:16px;line-height:1.2;font-weight:650;letter-spacing:2px}.brand-sub{display:block;font-size:7px;letter-spacing:.9px;color:var(--muted);margin-top:4px;text-transform:uppercase}.workspace-card{padding:12px;border:1px solid var(--line);border-radius:7px;margin:7px 0 21px;background:var(--surface)}.business-name{display:flex;align-items:center;gap:10px}.business-logo{display:grid;place-items:center;width:32px;height:32px;border-radius:6px;background:var(--soft);color:var(--accent);font-size:10px;font-weight:700;flex:none}.business-name b{font-size:12px;font-weight:600;display:block}.business-name small{display:block;font-size:10px;color:var(--muted);margin-top:1px}.workspace-card .line{border-top:1px solid var(--line);margin:11px 0 9px}.warehouse-name{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px}.warehouse-name svg.icon{width:14px;height:14px}.nav-label{color:var(--muted);font-size:8px;letter-spacing:1px;margin:17px 9px 8px}.side-nav{display:grid;gap:3px}.side-nav button{border:1px solid transparent;border-radius:5px;display:flex;align-items:center;gap:9px;min-height:33px;background:none;color:var(--muted);padding:6px 8px;text-align:left;font-size:11px;position:relative}.side-nav button:hover{background:var(--elevated);color:var(--text)}.side-nav button.active{background:var(--soft);color:var(--accent);border-color:color-mix(in srgb,var(--accent) 17%,transparent)}.side-nav button.active:before{content:'';position:absolute;left:-11px;top:9px;bottom:9px;width:3px;background:var(--accent);border-radius:0 2px 2px 0}.nav-count{margin-left:auto;font-size:10px;color:var(--muted)}.side-bottom{margin-top:auto;padding:16px 0 18px}.template-note{font-size:10px;color:var(--muted);padding:11px 12px;border:1px solid var(--line);border-radius:6px;line-height:1.6;margin-bottom:12px}.template-note b{display:flex;align-items:center;gap:6px;color:var(--text);font-weight:500;margin-bottom:4px}.template-note b svg.icon{width:13px;height:13px}.role-switch{display:flex;align-items:center;justify-content:space-between;width:100%;padding:9px 12px;border:0;background:none;color:var(--muted);font-size:11px}.role-switch svg.icon{width:16px;height:16px}.workspace{margin-left:180px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid var(--line);background:var(--sidebar);gap:15px}.breadcrumb{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:11px}.breadcrumb strong{font-weight:500;color:var(--text)}.breadcrumb svg.icon{width:13px;height:13px}.top-actions{display:flex;align-items:center;gap:10px}.preview-pill{font-size:9px;border:1px solid var(--line);color:var(--muted);padding:3px 7px;border-radius:3px}.icon-button{position:relative;width:34px;min-height:36px;display:grid;place-items:center;background:none;border:1px solid transparent;border-radius:5px;color:var(--muted)}.icon-button:hover{background:var(--elevated);border-color:var(--line);color:var(--text)}.account{display:flex;gap:9px;align-items:center;padding-left:13px;border-left:1px solid var(--line)}.account b{display:block;font-size:11px;font-weight:500}.account small{display:block;font-size:9px;color:var(--muted)}.avatar{width:27px;height:27px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--accent) 30%,transparent);border-radius:50%;background:var(--soft);color:var(--accent);font-size:10px;font-weight:600}.dot{position:absolute;right:8px;top:7px;width:5px;height:5px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 2px var(--sidebar)}.mobile-toggle{display:none}.content-wrap{max-width:1440px;margin:auto;padding:15px 20px 16px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;min-height:30px}.page-heading p{font-size:11px;color:var(--muted);margin-top:0}.heading-actions{display:flex;gap:8px;align-items:center;flex:none}.btn{min-height:31px;padding:5px 10px;border:1px solid var(--line);background:var(--surface);border-radius:4px;font-size:11px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.btn svg.icon{width:16px;height:16px}.btn:hover{background:var(--elevated)}.btn.primary{background:var(--accent);color:#07282c;border-color:var(--accent)}:root[data-theme=light] .btn.primary{color:#fff}.btn.primary:hover{filter:brightness(1.08)}.btn.quiet{background:none;border:0;color:var(--accent);padding:5px 0;min-height:28px}.btn.danger{color:var(--danger);border-color:color-mix(in srgb,var(--danger) 35%,var(--line))}.dateline{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px}.dateline svg.icon{width:13px;height:13px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.stat{padding:10px 12px;border:1px solid var(--line);border-radius:4px;background:var(--surface);min-width:0}.stat-label{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:10px;gap:7px}.stat-label svg.icon{width:15px;height:15px;color:var(--accent)}.stat-value{font-size:21px;font-weight:550;letter-spacing:-.6px;line-height:1.35;margin:5px 0 2px;font-variant-numeric:tabular-nums}.stat-foot{font-size:10px;color:var(--muted)}.stat-foot strong{font-weight:500;color:var(--accent)}.notice{display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid color-mix(in srgb,var(--danger) 24%,var(--line));background:color-mix(in srgb,var(--danger) 6%,var(--surface));border-radius:5px;font-size:11px;margin-bottom:20px}.notice>svg.icon{width:17px;height:17px;color:var(--danger)}.notice>div{flex:1}.notice b{font-weight:600;color:var(--danger)}.notice .btn{background:none;border:0;color:var(--danger);font-size:10px;padding:2px 0;min-height:26px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(260px,1fr);gap:17px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:4px;overflow:hidden;min-width:0;margin-bottom:14px}.panel-head{padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:9px;border-bottom:1px solid var(--line)}.panel-head h2{font-size:12px}.panel-head p{color:var(--muted);font-size:10px;margin-top:3px}.panel-head .btn{font-size:10px}.panel-body{padding:12px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px;white-space:nowrap}thead{background:var(--elevated);color:var(--muted);font-size:10px;font-weight:400}th{font-weight:500;height:30px;padding:6px 12px}td{padding:8px 12px;border-top:1px solid var(--line);height:45px}tbody tr:first-child td{border-top:0}tbody tr:hover{background:color-mix(in srgb,var(--accent) 3%,transparent)}td b{font-weight:500}td small{font-size:9px;color:var(--muted);display:block;margin-top:2px}.text-right{text-align:right}.text-center{text-align:center}.table-link{padding:0;border:0;background:none;color:var(--accent);font-size:11px;text-align:left}.status{display:inline-flex;align-items:center;gap:5px;font-size:9px;padding:3px 7px;border-radius:3px;color:var(--ok);background:var(--ok-soft);font-weight:500}.status:before{content:'';width:4px;height:4px;background:currentColor;border-radius:50%}.status.wait{background:var(--warning-soft);color:var(--warning)}.status.low{background:var(--danger-soft);color:var(--danger)}.status.neutral{background:var(--elevated);color:var(--muted)}.item-identity{display:flex;gap:9px;align-items:center}.product-symbol{display:grid;place-items:center;width:25px;height:25px;background:var(--elevated);border:1px solid var(--line);border-radius:5px;color:var(--muted);flex:none}.product-symbol svg.icon{width:15px;height:15px}.branch-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.branch-row:first-child{padding-top:0}.branch-row:last-child{border-bottom:0;padding-bottom:0}.branch-row .branch-copy{flex:1;min-width:0}.branch-row b{font-size:11px;font-weight:500;display:block}.branch-row small{font-size:9px;color:var(--muted);display:block;margin-top:2px}.branch-row .balance{text-align:right;font-variant-numeric:tabular-nums}.branch-row .balance b{font-size:12px}.branch-avatar{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);background:var(--elevated);border-radius:5px;color:var(--muted);font-size:10px}.summary-line{display:flex;align-items:center;justify-content:space-between;font-size:11px;padding:9px 0;border-bottom:1px solid var(--line)}.summary-line:last-child{border-bottom:0}.summary-line span{color:var(--muted)}.summary-line strong{font-weight:500}.progress{height:4px;background:var(--elevated);border-radius:3px;overflow:hidden;margin:9px 0 13px}.progress i{display:block;height:100%;background:var(--accent);width:72%}.tip{display:flex;align-items:flex-start;gap:8px;font-size:10px;color:var(--muted);line-height:1.6}.tip svg.icon{width:15px;height:15px;flex:none;color:var(--accent);margin-top:1px}.toolbar{display:flex;align-items:center;gap:9px;padding:8px 12px;border-bottom:1px solid var(--line);flex-wrap:wrap}.search-box{display:flex;gap:8px;align-items:center;flex:1;min-width:160px;max-width:330px;min-height:31px;padding:0 9px;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--muted)}.search-box svg.icon{width:15px;height:15px}.search-box input{border:0;outline:0;background:none;color:var(--text);min-width:0;width:100%;height:29px;font-size:11px}.search-box input::placeholder{color:var(--muted)}select.filter{min-height:31px;padding:4px 27px 4px 9px;max-width:180px;background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:4px;font-size:11px}.result-count{margin-left:auto;font-size:10px;color:var(--muted)}.table-foot{padding:10px 15px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);display:flex;justify-content:space-between}.empty{padding:17px 14px;text-align:center;color:var(--muted);font-size:11px}.empty svg.icon{width:18px;height:18px;margin-bottom:5px}.empty b{display:block;color:var(--text);font-size:11px;font-weight:500;margin-bottom:3px}.page-footer{margin-top:auto;padding:8px 20px 14px;display:flex;justify-content:space-between;color:var(--muted);font-size:9px}.page-footer span{display:flex;align-items:center;gap:8px}.page-footer i{width:3px;height:3px;border-radius:50%;background:var(--muted)}.page-footer a{color:var(--muted)}.mobile-nav{display:none}.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tenant-card{padding:17px;border:1px solid var(--line);background:var(--surface);border-radius:6px}.tenant-card header{display:flex;gap:11px;align-items:center;margin-bottom:16px}.tenant-card header .business-logo{width:37px;height:37px}.tenant-card header .tenant-title{flex:1}.tenant-card h2{font-size:13px}.tenant-card header p{font-size:10px;color:var(--muted);margin-top:3px}.tenant-details{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.tenant-details label{font-size:9px;color:var(--muted);display:block}.tenant-details b{font-size:12px;font-weight:500;display:block;margin-top:4px}.tenant-card footer{display:flex;justify-content:space-between;align-items:center;margin-top:13px;gap:8px}.tenant-card footer small{font-size:9px;color:var(--muted)}.card-toolbar{margin-bottom:15px;display:flex;gap:10px;align-items:center}.card-toolbar .search-box{max-width:360px}.settings-panel{max-width:760px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border-bottom:1px solid var(--line)}.setting-row:last-child{border-bottom:0}.setting-row b{display:block;font-size:12px;font-weight:500}.setting-row p{font-size:10px;margin-top:3px;color:var(--muted)}.setting-row>a{font-size:11px}.settings-role{padding:13px 18px;color:var(--muted);font-size:11px;border-bottom:1px solid var(--line);line-height:1.7}.section-gap{margin-top:20px}
dialog{width:min(520px,calc(100% - 28px));padding:0;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);box-shadow:var(--shadow);max-height:calc(100svh - 36px);overflow:auto}dialog::backdrop{background:#02080dc2;backdrop-filter:blur(3px)}dialog.wide{width:min(790px,calc(100% - 28px))}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:15px}.dialog-head p{font-size:10px;margin-top:4px;color:var(--muted)}.dialog-body{padding:19px 20px}.dialog-footer{padding:14px 20px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;gap:8px;background:var(--elevated)}.field{display:grid;gap:6px;margin-bottom:15px}.field label{font-size:11px;color:var(--muted)}.field input,.field select,.field textarea{width:100%;min-height:38px;padding:9px 11px;border:1px solid var(--line);border-radius:4px;background:var(--bg);color:var(--text);font-size:12px}.field textarea{resize:vertical;min-height:65px}.field small{font-size:10px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 13px}.form-span{grid-column:1/-1}.form-divider{height:1px;background:var(--line);margin:3px 0 17px}.form-message{font-size:10px;background:var(--soft);color:var(--muted);padding:10px 12px;border-radius:4px;margin:0 0 15px;line-height:1.6}.form-message strong{color:var(--accent);font-weight:500}.shipment-line{display:grid;grid-template-columns:minmax(0,1fr) 78px 88px 29px;gap:8px;align-items:center;border-bottom:1px solid var(--line);padding:10px 0}.shipment-line select,.shipment-line input{min-width:0;width:100%;border:1px solid var(--line);border-radius:4px;background:var(--bg);color:var(--text);min-height:36px;padding:7px;font-size:11px}.shipment-line .line-total{font-size:11px;text-align:right}.line-header{display:grid;grid-template-columns:minmax(0,1fr) 78px 88px 29px;gap:8px;font-size:9px;color:var(--muted);padding:6px 0}.shipment-total{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding:13px;background:var(--soft);border:1px solid color-mix(in srgb,var(--accent) 20%,transparent);border-radius:5px}.shipment-total span{color:var(--muted);font-size:11px}.shipment-total b{font-size:18px;color:var(--accent);font-weight:550}.shipment-info{font-size:10px;line-height:1.7;color:var(--muted);margin-top:10px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:17px}.detail-grid label{display:block;color:var(--muted);font-size:10px}.detail-grid b{font-size:12px;font-weight:500;display:block;margin-top:3px}.detail-total{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;margin-top:15px;font-size:13px}.detail-total strong{color:var(--accent)}.toast-error{color:var(--danger)}#toast{position:fixed;bottom:24px;left:calc(50% + 90px);transform:translate(-50%,15px);max-width:calc(100% - 32px);background:var(--text);color:var(--bg);border:1px solid var(--line);box-shadow:var(--shadow);padding:11px 18px;border-radius:6px;font-size:11px;opacity:0;pointer-events:none;transition:.18s;z-index:200;white-space:pre-line}#toast.show{opacity:1;transform:translate(-50%,0)}.inline-error{color:var(--danger);font-size:11px;margin:12px 0 0}.mini-list{display:grid;gap:0}.notification{display:flex;gap:10px;padding:13px 0;border-bottom:1px solid var(--line);font-size:11px}.notification:last-child{border-bottom:0}.notification>svg{color:var(--accent);margin-top:1px}.notification p{font-size:10px;color:var(--muted);margin-top:4px}.report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.report-card{padding:17px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}.report-card>svg{color:var(--accent);margin-bottom:12px}.report-card h2{font-size:12px}.report-card p{font-size:10px;color:var(--muted);margin:6px 0 16px;min-height:32px}.report-card .btn{width:100%}.mobile-view-switch{display:none}
@media(min-width:1600px){.content-wrap{padding-top:18px}.topbar{padding-left:20px;padding-right:20px}}
@media(max-width:1150px){.dashboard-grid{grid-template-columns:minmax(0,1.6fr) minmax(235px,1fr)}.content-wrap{padding:15px 18px}.topbar{padding:0 20px}.stat{padding:10px 11px}.stat-value{font-size:20px}.sidebar{width:180px}.workspace{margin-left:180px}.account-info{display:none}#toast{left:calc(50% + 90px)}.dateline{display:none}}
@media(max-width:960px){.dashboard-grid{grid-template-columns:1fr}.dashboard-right{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dashboard-right .panel{height:100%}.stats{gap:9px}.stat-value{font-size:21px}.report-grid{grid-template-columns:1fr 1fr}.card-grid{grid-template-columns:1fr}}
@media(max-width:760px){body{font-size:12px}.sidebar{width:260px;transform:translateX(-100%);transition:transform .18s}.sidebar.open{transform:translateX(0)}.scrim{display:block;position:fixed;inset:0;background:#0009;z-index:35}.workspace{margin-left:0;padding-bottom:calc(63px + env(safe-area-inset-bottom))}.topbar{height:61px;padding:0 15px;position:sticky;top:0;z-index:25;gap:8px}.mobile-toggle{display:grid;min-height:38px;width:32px}.breadcrumb{gap:5px;font-size:10px;flex:1}.breadcrumb .parent,.breadcrumb .crumb-arrow{display:none}.breadcrumb strong{font-size:12px}.top-actions{gap:5px}.top-actions .preview-pill{display:none}.account{padding-left:8px;margin-left:2px;gap:0}.avatar{width:29px;height:29px}.content-wrap{padding:12px}.page-heading{align-items:center;gap:10px;margin-bottom:11px}h1{font-size:19px}.page-heading p{font-size:10px;max-width:240px}.heading-actions{gap:6px;flex-wrap:wrap;justify-content:flex-end}.heading-actions>.btn{padding:7px 10px;min-height:36px;font-size:10px}.heading-actions>.btn svg{width:14px;height:14px}.heading-actions>.btn.secondary-action{display:none}.stats{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:14px}.stat{padding:10px 11px}.stat-label{font-size:9px}.stat-label svg.icon{width:15px;height:15px}.stat-value{font-size:21px;margin:5px 0 2px}.stat-foot{font-size:9px}.notice{padding:10px;font-size:10px;gap:8px;margin-bottom:15px}.notice .btn{font-size:9px}.dashboard-grid{gap:0}.dashboard-right{display:block}.dashboard-right .panel{height:auto}.panel{margin-bottom:14px}.panel-head{padding:12px}.panel-head h2{font-size:12px}.panel-head p{font-size:9px}.panel-head .btn{font-size:9px}.panel-body{padding:13px}.table-wrap{width:100%}th{padding:8px 11px;font-size:9px}td{padding:9px 11px;font-size:10px;height:49px}td small{font-size:9px}.compact-mobile .hide-mobile{display:none}.compact-mobile td,.compact-mobile th{padding-left:12px;padding-right:12px}.status{font-size:8px;padding:3px 5px}.table-foot{padding:9px 12px;font-size:9px}.page-footer{padding:8px 15px 13px;font-size:8px}.mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset:auto 0 0;height:calc(62px + env(safe-area-inset-bottom));padding:0 6px env(safe-area-inset-bottom);background:var(--sidebar);border-top:1px solid var(--line);z-index:30}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;background:none;color:var(--muted);font-size:9px;min-width:0;padding:6px 1px 5px;position:relative}.mobile-nav button svg.icon{width:22px;height:22px;stroke-width:1.7}.mobile-nav button.active{color:var(--accent)}.mobile-nav button.active:after{content:'';position:absolute;top:-1px;left:calc(50% - 13px);width:26px;height:2px;background:var(--accent);border-radius:0 0 2px 2px}.toolbar{padding:10px;gap:7px}.toolbar .search-box{max-width:none;flex:1;min-width:150px}.toolbar select.filter{max-width:135px;font-size:10px}.toolbar .result-count{width:100%;text-align:left;margin:0;font-size:9px}.card-toolbar{flex-wrap:wrap}.card-toolbar .search-box{max-width:none}.card-toolbar .result-count{font-size:9px}.tenant-card{padding:13px}.tenant-card header{margin-bottom:12px}.tenant-card footer .btn{font-size:10px}.tenant-card footer small{max-width:50%;overflow-wrap:anywhere}.report-grid{grid-template-columns:1fr}.report-card p{min-height:0}.setting-row{padding:14px}.setting-row a{font-size:10px;overflow-wrap:anywhere;max-width:48%;text-align:right}#toast{left:50%;bottom:calc(75px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 30px)}.dialog-body{padding:16px}.dialog-head{padding:14px 16px}.dialog-footer{padding:12px 16px}.shipment-line,.line-header{grid-template-columns:minmax(0,1fr) 60px 70px 26px;gap:5px}.shipment-line .line-total{font-size:10px}.shipment-line .icon-button{width:26px}.form-grid{gap:0 10px}.detail-grid{gap:13px}.section-gap{margin-top:14px}.role-switch{min-height:40px}.row-action{min-height:32px;min-width:30px}.top-actions>.icon-button{width:30px}}
.overview-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(240px,1fr);gap:12px;align-items:start}.overview-grid .panel-head{min-height:40px}.critical-row{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid var(--line)}.critical-row:first-child{padding-top:0}.critical-row:last-child{padding-bottom:0;border-bottom:0}.critical-icon{display:flex;color:var(--danger)}.critical-icon svg{width:17px;height:17px}.critical-row>div{flex:1;min-width:0}.critical-row b{display:block;font-size:11px;font-weight:500}.critical-row small{font-size:9px;color:var(--muted);display:block;margin-top:3px}.critical-quantity{font-variant-numeric:tabular-nums;font-size:16px;color:var(--danger);text-align:right;white-space:nowrap}.critical-quantity small{display:inline;font-size:10px;color:var(--danger)}.calm-status{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;padding:8px 0}.calm-status svg{color:var(--ok)}.drawer-close{display:none}
@media(max-width:960px){.overview-grid{grid-template-columns:1fr}.overview-grid .critical-panel{max-width:none}}
@media(max-width:760px){.side-nav .mobile-primary{display:none}.drawer-close{display:grid;position:absolute;right:10px;top:19px}.top-actions .preview-pill{display:inline-block;font-size:8px;padding:3px 5px}.breadcrumb{margin-left:0}.critical-row{padding:11px 0}.overview-grid{gap:0}.overview-grid .panel-head{min-height:42px}}
.platform-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.platform-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-stats .stat:last-child{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Single business context and compact ERIXO family shell. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.side-nav button>svg.icon{width:16px;height:16px}.role-switch{padding:7px 9px;font-size:10px}.role-switch svg.icon{width:14px;height:14px}
.top-context{display:flex;align-items:center;gap:16px;min-width:0}.business-context{display:flex;align-items:center;gap:8px;min-width:0}.context-symbol{display:flex;color:var(--accent)}.context-symbol svg{width:17px;height:17px}.business-context b{font-size:11px;font-weight:550;display:block;line-height:1.4}.business-context small{font-size:9px;color:var(--muted);display:block}.context-divider{width:1px;height:22px;background:var(--line)}.section-title{font-size:11px;color:var(--muted);white-space:nowrap}.topbar .avatar{border-radius:5px}.topbar .preview-pill{font-size:8px}.page-heading>div:first-child{min-width:0}.page-heading .heading-actions:empty{display:none}
.startup{position:fixed;inset:0;z-index:500;background:#0c1116;display:grid;place-items:center;overflow:hidden}.startup-brand{display:flex;align-items:center;gap:12px;color:#e9eef2}.startup-brand>img{width:42px;height:46px;object-fit:contain}.startup-brand>span{font-size:24px;font-weight:600;letter-spacing:3px;line-height:1.2}.startup-brand small{display:block;font-size:8px;letter-spacing:1.7px;color:#9eacb7;margin-top:6px}.startup-watermark{position:absolute;width:340px;right:-95px;bottom:-135px;opacity:.035}
@media(min-width:761px){.icon-button{width:29px;min-height:30px}.icon-button svg.icon{width:16px;height:16px}.dialog-head{padding:13px 16px}.dialog-head h2{font-size:13px}.dialog-body{padding:15px 16px}.dialog-footer{padding:11px 16px}.field{margin-bottom:12px}.field input,.field select{min-height:34px;padding:7px 9px}.tenant-card{padding:13px}.tenant-card header{margin-bottom:12px}.setting-row{padding:12px 14px}}
@media(max-width:760px){.sidebar{width:230px}.brand{height:60px}.side-nav button{min-height:44px;padding:10px;font-size:12px}.side-nav button>svg.icon{width:18px;height:18px}.drawer-close{top:14px}.topbar{height:55px;padding:0 12px}.top-context{gap:9px;flex:1;flex-wrap:wrap;row-gap:0}.business-context{gap:6px}.business-context b{font-size:10px}.business-context small{font-size:8px}.context-symbol svg{width:15px;height:15px}.context-divider{height:18px}.section-title{font-size:10px}.top-actions{gap:7px}.topbar .avatar{width:32px;height:32px}.top-actions .preview-pill{display:none}.heading-actions>.btn{min-height:40px}.page-heading p{max-width:none;line-height:1.5}.stats{gap:8px}.panel-head{padding:10px 11px}.panel-body{padding:11px}.toolbar .search-box,.toolbar select.filter{min-height:38px}.toolbar .search-box input{height:36px}.field input,.field select{min-height:42px}.role-switch{min-height:44px}.page-footer{padding-left:12px;padding-right:12px}}

/* Account layout follows the supplied ERIXO Envanter reference. */
.workspace{position:relative;isolation:isolate}.workspace:before{content:'';position:fixed;z-index:-1;right:1%;bottom:5%;width:300px;height:330px;background:url('assets/erixo-mark.png') center/contain no-repeat;opacity:.018;pointer-events:none}
.header-identity{display:flex;align-items:center;gap:10px;order:2;margin-left:auto}.mobile-brand{display:none}.topbar>.business-context{order:1;min-width:0}.business-context .business-logo{width:28px;height:28px;font-size:9px;border-radius:5px}.business-context .business-logo svg{width:17px;height:17px}.context-copy{min-width:0}.context-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-context small{font-size:9px}.account-page{max-width:800px}.account-intro{display:flex;align-items:flex-start;gap:8px;margin:4px 0 26px}.account-intro .icon-button{flex:none;margin-top:-5px}.account-intro p{font-size:12px;line-height:1.6;color:var(--text)}.preferences-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:0 15px;overflow:hidden}.preference-row{border-bottom:1px solid var(--line)}.preference-row:last-child{border-bottom:0}.preference-row>summary{display:flex;align-items:center;gap:14px;list-style:none;cursor:pointer;padding:19px 6px;min-height:78px}.preference-row>summary::-webkit-details-marker{display:none}.preference-row>summary:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:5px}.preference-row>summary>svg:first-child{width:23px;height:23px;color:var(--accent);stroke-width:1.8}.preference-row summary>span{flex:1;min-width:0}.preference-row summary b{display:block;font-size:13px;font-weight:550}.preference-row summary small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.preference-chevron{width:17px!important;height:17px!important;color:var(--muted);transition:transform .15s}.preference-row[open] .preference-chevron{transform:rotate(180deg)}.preference-content{padding:0 6px 17px 43px;color:var(--muted);font-size:11px}.account-facts{margin:0;display:grid;gap:10px}.account-facts>div{display:flex;gap:16px;justify-content:space-between}.account-facts dt{flex:none}.account-facts dd{margin:0;color:var(--text);text-align:right;overflow-wrap:anywhere;min-width:0}.theme-preference{display:flex;align-items:center;justify-content:space-between;gap:14px}.theme-options{display:flex;gap:6px}.theme-options .btn{min-width:65px;color:var(--muted);background:none}.theme-options .selected{border-color:var(--accent);background:var(--soft);color:var(--accent)}.prototype-note{line-height:1.7;max-width:560px}
@media(max-width:760px){
 .topbar{height:auto;padding:0 10px 8px;display:flex;flex-direction:column;align-items:stretch;gap:5px;background:var(--sidebar)}
 .header-identity{order:0;margin:0;width:100%;min-height:55px;gap:8px}.header-identity .mobile-brand{display:flex;padding:0;flex:1;height:54px;gap:9px}.mobile-brand .brand-mark{width:28px;height:31px}.mobile-brand .brand-name{font-size:15px;letter-spacing:2px}.mobile-brand>span:last-child{display:flex;align-items:center;gap:10px}.mobile-brand .brand-sub{font-size:7px;letter-spacing:.8px;margin:0;white-space:nowrap}.header-identity .avatar{width:37px;height:37px;border-radius:5px;background:var(--elevated)}.header-identity .preview-pill{display:none}
 .topbar>.business-context{order:1;padding:8px 10px;border:1px solid var(--line);border-radius:11px;background:var(--elevated);gap:10px;min-height:51px}.business-context .business-logo{width:34px;height:34px;border-radius:7px;background:var(--surface);font-size:10px}.business-context b{font-size:12px;font-weight:600;line-height:1.4}.business-context small{font-size:11px;line-height:1.4;margin-top:2px}
 .content-wrap{padding:16px 12px}.account-intro{gap:9px;margin:2px 0 29px}.account-intro .icon-button{width:25px;min-height:31px;margin-top:-3px}.account-intro .icon-button svg{width:20px;height:20px}.account-intro p{font-size:12px;line-height:1.55}.preferences-card{border-radius:11px;padding:0 14px}.preference-row>summary{padding:19px 7px;min-height:83px;gap:15px}.preference-row>summary>svg:first-child{width:24px;height:24px}.preference-row summary b{font-size:13px}.preference-row summary small{font-size:11px;margin-top:4px}.preference-content{padding-left:46px;font-size:11px}.theme-options .btn{min-height:38px;padding:6px 9px;font-size:11px;min-width:61px}.theme-options .btn svg{width:15px;height:15px}.account-facts>div{flex-direction:column;gap:2px}.account-facts dd{text-align:left}.workspace:before{width:220px;height:245px;bottom:calc(62px + env(safe-area-inset-bottom));right:2%;opacity:.025}.mobile-nav{height:calc(60px + env(safe-area-inset-bottom));padding-top:0}.mobile-nav button>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.mobile-nav button svg.icon{width:24px;height:24px;stroke-width:1.9}.mobile-nav button.active:after{display:none}.page-footer{font-size:8px}.account-page{min-height:0}
}

/* Three clear workflows: central warehouse, branch issues, branch accounts. */
.depot-tabs{display:flex;gap:16px;padding:0 12px;border-bottom:1px solid var(--line)}.depot-tabs button{border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font-size:11px;padding:11px 1px 9px}.depot-tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent)}.net-balance{display:flex;justify-content:flex-end;gap:14px;color:var(--muted);font-size:11px;margin-top:8px}.net-balance strong{color:var(--text);font-weight:550}.branch-card{width:100%;border:0;border-bottom:1px solid var(--line);background:none;text-align:left;display:flex;align-items:center;gap:12px;padding:13px 15px}.branch-card:last-child{border-bottom:0}.branch-card:hover{background:var(--elevated)}.branch-card .branch-copy{flex:1;min-width:0}.branch-card b{display:block;font-size:12px;font-weight:550}.branch-card small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.branch-balance{text-align:right}.branch-card>svg{width:14px;height:14px;color:var(--muted)}.branch-page-heading{display:flex;align-items:center;gap:10px;margin-bottom:14px}.branch-page-heading h1{font-size:16px;letter-spacing:0}.branch-page-heading p{font-size:10px;color:var(--muted);margin-top:2px}.branch-page-heading .heading-actions{margin-left:auto}.balance-strip{display:flex;justify-content:space-between;align-items:center;background:var(--soft);padding:13px 15px;border:1px solid var(--line);border-radius:5px;margin-bottom:15px}.balance-strip>span{color:var(--muted);font-size:11px}.balance-strip strong{font-size:21px;font-weight:550;font-variant-numeric:tabular-nums}.ledger-row{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:13px 15px}.ledger-row:last-child{border-bottom:0}.ledger-copy{min-width:0;flex:1}.ledger-kind{font-size:11px;font-weight:550}.ledger-kind small{font-size:9px;color:var(--muted);font-weight:400;margin-left:10px}.ledger-copy p{font-size:10px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.ledger-amount{flex:none;text-align:right;font-variant-numeric:tabular-nums}.ledger-amount b{display:block;font-size:12px;font-weight:550}.ledger-amount b.credit{color:var(--ok)}.ledger-amount small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.ledger-cancel{font-size:9px;color:var(--muted);background:none;border:0;padding:6px 0 0;text-decoration:underline}.ledger-cancel:hover{color:var(--danger)}.cancelled .ledger-amount b{text-decoration:line-through;color:var(--muted)}.cancelled .ledger-kind{color:var(--muted)}.form-hint{font-size:11px;line-height:1.6;color:var(--muted);margin:10px 0 4px}
@media(max-width:760px){.mobile-nav button>span{position:static;width:auto;height:auto;overflow:visible;clip:auto;font-size:10px}.mobile-nav button svg.icon{width:21px;height:21px}.page-heading{flex-wrap:wrap;gap:11px}.page-heading>.heading-actions{margin-left:auto}.depot-tabs button{min-height:42px}.branch-card{padding:14px 12px;gap:10px;min-height:75px}.branch-card b{font-size:12px}.branch-card .branch-avatar{width:29px;height:29px}.branch-page-heading{flex-wrap:wrap;gap:8px}.branch-page-heading .heading-actions{width:100%;justify-content:flex-end;margin-top:3px}.branch-page-heading .btn{min-height:40px;font-size:11px}.ledger-row{padding:13px 12px;gap:12px}.ledger-kind small{display:block;margin:3px 0 0}.ledger-copy p{font-size:11px;line-height:1.5}.ledger-cancel{font-size:10px;min-height:33px;padding-top:5px}.ledger-amount b{font-size:12px}.ledger-amount small{font-size:9px}.sidebar{transition:none}.net-balance{justify-content:space-between}}

.mobile-only{display:none}
@media(max-width:760px){.mobile-only{display:inline}.product-table,.product-table tbody{display:block;white-space:normal}.product-table thead{display:none}.product-table tbody tr{position:relative;display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"title title" "stock status" "buy sell";border-bottom:1px solid var(--line);padding-bottom:10px}.product-table tbody tr:last-child{border-bottom:0}.product-table td{border:0!important;height:auto!important;padding:4px 12px;text-align:left}.product-table td:first-child{grid-area:title;padding:12px 44px 8px 12px}.product-table td:nth-child(2){display:none}.product-table td:nth-child(3){grid-area:buy}.product-table td:nth-child(4){grid-area:sell}.product-table td:nth-child(5){grid-area:stock;font-size:12px}.product-table td:nth-child(6){grid-area:status;align-self:center}.product-table td:last-child{position:absolute;right:6px;top:9px;padding:0}.product-table td[data-label]:before{content:attr(data-label);display:block;color:var(--muted);font-size:9px;margin-bottom:2px}.product-table .item-identity b{font-size:12px}.product-table .item-identity small{font-size:9px}.product-table .row-action{min-width:36px;min-height:36px}.shipment-line{grid-template-columns:minmax(0,1fr) 95px 30px;padding:12px 0;gap:8px}.shipment-line select{grid-column:1/-1;min-height:42px}.shipment-line input{min-height:40px}.shipment-line .line-total{font-size:12px}.line-header{display:none}.shipment-line .icon-button{width:30px;min-height:36px}.shipment-total{gap:12px}.shipment-total b{font-size:17px}.shipment-info{font-size:11px}.dialog-footer{flex-wrap:wrap}}

.line-quantity{min-width:0}.quantity-caption{display:none}
@media(max-width:760px){.product-table td[data-label]:before{display:inline;margin-right:6px}.product-table td{padding-top:5px;padding-bottom:5px}.product-table td:first-child{padding-top:10px;padding-bottom:7px}.product-table tbody tr{padding-bottom:7px}.quantity-caption{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.shipment-line .line-total:before{content:'Tutar';display:block;font-size:10px;color:var(--muted);margin-bottom:9px}.shipment-line .icon-button{align-self:end}.shipment-line .line-total{align-self:end;padding-bottom:9px}}

@media(max-width:760px){.movement-table,.movement-table tbody{display:block;white-space:normal}.movement-table thead{display:none}.movement-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"product qty" "target kind" "date price";border-bottom:1px solid var(--line);padding:9px 0;gap:2px 5px}.movement-table tbody tr:last-child{border-bottom:0}.movement-table td{height:auto;border:0!important;padding:3px 12px;text-align:left;min-width:0}.movement-table td:nth-child(1){grid-area:date;font-size:9px}.movement-table td:nth-child(2){grid-area:product;font-size:12px}.movement-table td:nth-child(3){grid-area:kind;text-align:right}.movement-table td:nth-child(4){grid-area:target}.movement-table td:nth-child(5){grid-area:qty;text-align:right;font-size:12px}.movement-table td:nth-child(6){grid-area:price;text-align:right;font-size:10px}.movement-table td[data-label]:before{content:attr(data-label);font-size:9px;color:var(--muted);margin-right:6px}.compact-mobile table{table-layout:fixed}.compact-mobile th:first-child{width:44%}.compact-mobile th:nth-child(3){width:28%}.compact-mobile th:nth-child(4){width:28%}.compact-mobile td:first-child small{white-space:normal;line-height:1.5}.compact-mobile th,.compact-mobile td{padding-left:9px;padding-right:9px}.compact-mobile .status{font-size:8px;max-width:100%}}

/* Four direct navigation entries; report downloads live within branch accounts. */
.report-options{padding:0 16px}.report-option{display:flex;align-items:center;gap:12px;width:100%;padding:18px 0;border:0;border-bottom:1px solid var(--line);background:none;text-align:left}.report-option:last-child{border-bottom:0}.report-option:hover{color:var(--accent)}.report-option>svg{color:var(--accent);width:20px;height:20px}.report-option>span:nth-child(2){min-width:0;flex:1}.report-option b{font-size:12px;font-weight:550;display:block}.report-option small{font-size:10px;color:var(--muted);display:block;line-height:1.6;margin-top:3px}.report-format{font-size:9px;color:var(--muted);display:flex;align-items:center;gap:6px;flex:none}.report-format svg{width:15px;height:15px}.mobile-platform-link{display:none}
@media(max-width:760px){.mobile-platform-link{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:10px 3px;margin-top:12px;border:0;background:none;color:var(--muted);font-size:11px;text-align:left}.mobile-platform-link svg{width:16px;height:16px}.mobile-platform-link svg:last-child{margin-left:auto}.report-options{padding:0 14px}.report-option{padding:17px 0;gap:10px}.report-option b{font-size:12px}.report-option small{font-size:10px}.report-format{gap:4px}.heading-actions .btn{font-size:11px}}

/* Business identity is a plain label, not a selectable scope card. */
.topbar>.business-line{order:1;font-size:11px;font-weight:500;color:var(--muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-heading{min-height:34px;margin-bottom:10px}.page-heading h1{font-size:15px;font-weight:550;letter-spacing:-.2px;line-height:1.4}.page-heading .heading-actions{margin-left:auto}.stock-item{display:grid;grid-template-columns:minmax(0,1fr) auto 18px;gap:15px;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);padding:12px 14px;align-items:center;min-height:63px}.stock-item:last-child{border-bottom:0}.stock-item:hover{background:var(--elevated)}.stock-copy{min-width:0}.stock-copy>b{display:block;font-size:12px;font-weight:550;line-height:1.45;overflow-wrap:anywhere}.stock-copy>small{display:flex;gap:18px;color:var(--muted);font-size:10px;margin-top:4px;line-height:1.5;flex-wrap:wrap}.stock-copy strong{font-weight:400;color:var(--text);font-variant-numeric:tabular-nums}.stock-qty{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums;align-self:start;margin-top:1px}.stock-qty>small{font-size:11px;font-weight:400}.stock-qty.critical{color:var(--danger)}.stock-warning{display:flex;margin-right:2px}.stock-warning svg{width:13px;height:13px}.stock-edit{width:15px!important;height:15px!important;color:var(--muted)}
@media(max-width:760px){.topbar{padding:0 12px 7px;gap:0}.header-identity{min-height:49px}.header-identity .mobile-brand{height:49px}.topbar>.business-line{order:1;font-size:10px;line-height:17px;margin-top:-1px;color:var(--muted);font-weight:400}.content-wrap{padding:11px 12px}.page-heading{flex-wrap:nowrap;gap:8px;min-height:34px;margin-bottom:9px;align-items:center}.page-heading h1{font-size:13px;white-space:nowrap}.page-heading>.heading-actions{gap:5px;flex-wrap:nowrap;margin:0 0 0 auto}.heading-actions>.btn{font-size:10px;min-height:34px;padding:5px 8px;gap:4px}.heading-actions>.btn svg{width:13px;height:13px}.depot-tabs{gap:16px}.depot-tabs button{min-height:36px;padding-top:8px;padding-bottom:7px;font-size:10px}.depot-panel .toolbar{flex-wrap:nowrap;padding:7px 9px;gap:7px}.depot-panel .toolbar .search-box{min-width:0;min-height:34px;max-width:none;padding:0 8px;gap:6px}.depot-panel .toolbar .search-box input{height:32px;font-size:10px}.depot-panel .toolbar select.filter{min-height:34px;font-size:10px;max-width:115px;min-width:85px;padding-top:4px;padding-bottom:4px}.depot-panel .toolbar .result-count{display:none}.stock-item{grid-template-columns:minmax(0,1fr) auto 14px;gap:8px;padding:10px 11px;min-height:61px}.stock-copy>b{font-size:12px}.stock-copy>small{gap:9px;font-size:9px;margin-top:4px;white-space:nowrap}.stock-qty{font-size:12px}.stock-qty>small{font-size:10px}.stock-edit{width:14px!important;height:14px!important}.stock-warning svg{width:12px;height:12px}.account-intro{margin-top:4px;margin-bottom:20px}}
@media(max-width:360px){.stock-copy>small{gap:7px;font-size:8px}.page-heading h1{font-size:12px}.heading-actions>.btn{font-size:9px;padding-left:6px;padding-right:6px}.stock-item{gap:5px}}
@media(min-width:961px){.stock-item{grid-template-columns:minmax(0,1fr) 155px 190px 100px 18px;min-height:45px;padding-top:10px;padding-bottom:10px}.stock-copy,.stock-copy>small{display:contents}.stock-copy>b{font-size:12px}.stock-copy>small>span{font-size:10px;color:var(--muted)}.stock-qty{align-self:center;justify-content:flex-end;margin-top:0;font-size:12px}}

/* ERIXO at left, the business logo at the exact center, profile at right. */
.topbar{display:grid;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:12px;height:48px;padding:0 20px;align-items:center}.header-brand{display:none}.tenant-emblem{grid-column:2;display:grid;place-items:center;width:32px;height:32px;justify-self:center}.tenant-emblem img{display:block;width:28px;height:28px;object-fit:contain;border-radius:5px}.tenant-initials{display:grid;place-items:center;width:28px;height:28px;border-radius:5px;background:var(--soft);color:var(--accent);font-size:12px;font-weight:600}.platform-emblem{display:flex;color:var(--accent)}.platform-emblem svg{width:25px;height:25px}.header-profile{grid-column:3;justify-self:end;display:flex;gap:10px;align-items:center}.header-profile .avatar{border-radius:5px}
@media(max-width:760px){.topbar{height:48px;display:grid;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);padding:0 12px;gap:8px}.header-brand{display:flex;width:auto;min-width:0;height:47px;padding:0;gap:8px;grid-column:1;justify-self:start}.header-brand .brand-mark{width:27px;height:30px}.header-brand .brand-name{font-size:15px;letter-spacing:2px}.header-brand .brand-sub{display:none}.header-profile{gap:0}.header-profile .preview-pill{display:none}.header-profile .avatar{width:32px;height:32px}.tenant-emblem{width:32px;height:32px}.tenant-emblem img{width:28px;height:28px}}
/* Preserve the original product subtitle alongside ERIXO in the compact bar. */
@media(max-width:760px){.header-brand{gap:6px}.header-brand .brand-mark{width:25px;height:29px}.header-brand .brand-mark img{width:24px;height:27px}.header-brand .brand-badge svg.icon{width:8px;height:8px}.header-brand>span:last-child{display:flex;align-items:center;gap:7px}.header-brand .brand-name{font-size:13px;letter-spacing:1.5px;line-height:1.2}.header-brand .brand-sub{display:block;margin:0;font-size:6px;letter-spacing:.55px;font-weight:400;white-space:nowrap;line-height:1.3}}
@media(max-width:360px){.header-brand>span:last-child{flex-direction:column;align-items:flex-start;gap:3px}.header-brand .brand-name{font-size:14px}.header-brand .brand-sub{font-size:6px;letter-spacing:.65px}}

/* Stock overview contains quantities; prices are opened deliberately in details. */
.stock-item{grid-template-columns:minmax(0,1fr) auto;min-height:44px;padding:11px 14px}.stock-copy{display:block}.stock-qty{align-self:center;margin:0}.stock-copy>b{font-size:12px}.product-prices{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}.price-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.price-heading h3{font-size:12px;font-weight:550;margin:0}.price-lock{font-size:10px;min-height:32px;padding:5px 9px}.price-lock svg{width:14px;height:14px}.is-locked input[readonly]{background:var(--soft);color:var(--muted);cursor:default}.movement-date{font-size:10px;font-weight:500;color:var(--muted);margin:0;padding:9px 12px;background:var(--elevated);border-bottom:1px solid var(--line)}.movement-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;width:100%;padding:11px 12px;text-align:left;border:0;border-bottom:1px solid var(--line);background:none}.movement-item:hover{background:var(--elevated)}.movement-item b,.movement-qty{font-size:12px;font-weight:550}.movement-qty{font-variant-numeric:tabular-nums;white-space:nowrap}.movement-target,.movement-kind{font-size:10px;color:var(--muted)}.movement-kind{text-align:right}.incoming{color:var(--accent)}
@media(max-width:760px){.stock-item{grid-template-columns:minmax(0,1fr) auto;min-height:44px;padding:11px}.stock-copy{display:block}.depot-panel .toolbar select.filter{min-width:87px;max-width:100px}.movement-item{padding:10px 11px;min-height:58px}.price-heading{margin-bottom:10px}}

/* A single list language across warehouse, dispatch, accounts and team. */
.dispatch-row,.business-row,.team-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:0;border-bottom:1px solid var(--line);background:none;text-align:left;min-height:58px}.dispatch-row:last-child,.business-row:last-child,.team-row:last-child{border-bottom:0}.dispatch-row:hover,.business-row:hover,button.ledger-row:hover{background:var(--elevated)}.dispatch-copy,.team-copy,.business-row>span:first-child{min-width:0;flex:1}.dispatch-copy>b,.dispatch-total>b,.team-copy>b,.business-row b{display:block;font-size:12px;font-weight:550}.dispatch-copy>small,.dispatch-total>small,.team-copy>small,.business-row small,.team-role>small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.dispatch-copy>small{line-height:1.5}.dispatch-total{text-align:right;flex:none;font-variant-numeric:tabular-nums}.dispatch-row.cancelled .dispatch-total>b{color:var(--muted);text-decoration:line-through}.dispatch-row.cancelled .dispatch-total>small{color:var(--danger)}.team-role,.business-state{font-size:10px;color:var(--muted);text-align:right;flex:none}.team-copy>small{overflow-wrap:anywhere}.branch-card{min-height:60px;padding:11px 14px;gap:12px}.branch-card small{font-size:10px}.branch-card .branch-copy{min-width:0}.branch-balance{flex:none}.branch-page-heading{gap:8px;min-height:34px;margin-bottom:10px}.branch-page-heading h1{font-size:14px}.branch-page-heading .heading-actions{gap:5px}.branch-page-heading .btn{font-size:10px;min-height:34px;padding:5px 8px}.branch-page-heading .btn svg{width:13px;height:13px}.ledger-row{width:100%;border-left:0;border-top:0;border-right:0;background:none;text-align:left;align-items:center;padding:11px 14px;gap:12px}.ledger-copy{min-width:0;flex:1}.ledger-kind{display:block;font-size:11px;font-weight:500}.ledger-summary{display:block;font-size:10px;color:var(--muted);line-height:1.5;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ledger-amount{flex:none}.ledger-amount b{font-size:12px}.ledger-amount small{font-size:9px}.ledger-row.cancelled .ledger-amount>b{color:var(--muted);text-decoration:line-through}.toolbar .result-count{display:none}.panel .toolbar{flex-wrap:nowrap;gap:8px}.panel .toolbar .search-box{min-width:0;flex:1;max-width:none}.panel .toolbar select.filter{flex:none;min-width:85px;max-width:110px}.net-balance{font-size:10px}.balance-strip{margin-bottom:12px;padding:10px 12px}.balance-strip strong{font-size:18px}.dialog .small{overflow-wrap:anywhere}
@media(max-width:760px){.topbar{position:relative;top:auto}.panel .toolbar{padding:7px 9px;gap:7px}.panel .toolbar .search-box{min-height:34px;padding:0 8px;gap:6px}.panel .toolbar .search-box input{height:32px;font-size:10px}.panel .toolbar select.filter{min-height:34px;font-size:10px;padding:4px 8px;max-width:100px;min-width:85px}.dispatch-row,.business-row,.team-row{padding:10px 11px;min-height:58px}.dispatch-copy>small{font-size:9px}.branch-card{padding:10px 11px;min-height:60px}.branch-page-heading{flex-wrap:nowrap}.branch-page-heading .heading-actions{width:auto;flex-wrap:nowrap;margin:0 0 0 auto;justify-content:flex-end}.branch-page-heading h1{font-size:13px;overflow-wrap:anywhere}.branch-page-heading>div:nth-child(2){min-width:0}.ledger-row{padding:10px 11px}.ledger-copy{max-width:calc(100% - 110px)}.ledger-summary{font-size:9px}.team-role{max-width:100px}.business-state{max-width:85px}.account-intro{margin-bottom:14px}}
@media(max-width:360px){.branch-page-heading{flex-wrap:wrap}.branch-page-heading .heading-actions{width:100%;margin-left:0;justify-content:flex-end}.dispatch-copy>small{font-size:8px}}

.dispatch-product{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.dispatch-product>span{min-width:0}.dispatch-product b{display:block;font-size:12px;font-weight:550}.dispatch-product small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.dispatch-product strong{font-size:12px;font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums}.cancelled-note{font-size:11px;color:var(--danger);margin-bottom:12px}

/* The viewport owns the shell; only overflowing page content may scroll. */
html{height:100%;overflow:hidden;overscroll-behavior:none}body{height:100%;overflow:hidden;overscroll-behavior:none}.workspace{height:100%;height:100dvh;min-height:0;padding-bottom:0;overflow:hidden}.topbar{flex:0 0 48px;position:relative;top:auto}#content{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:none;scrollbar-gutter:stable}.content-wrap{min-height:0}.page-footer{display:none}
@media(max-width:760px){.workspace{padding-bottom:calc(60px + env(safe-area-inset-bottom))}#content{scrollbar-gutter:auto}.topbar{position:relative;top:auto}}

/* Team follows the supplied ERIXO Envanter list, rather than a plain row. */
.team-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:3px 0 16px}.team-intro>p{font-size:12px;color:var(--muted);max-width:420px;line-height:1.6}.team-intro>.btn{flex:none;font-size:11px;min-height:34px}.team-toolbar{display:grid;grid-template-columns:minmax(100px,auto) 1fr 32px;align-items:center;gap:12px;padding:10px 12px;background:var(--surface);border:1px solid var(--line);border-radius:5px;margin-bottom:12px}.team-toolbar .filter{font-size:11px;min-height:34px;max-width:165px}.team-count{text-align:center;font-size:12px;color:var(--text)}.team-toolbar .icon-button{width:32px;height:34px;color:var(--muted)}.team-search{grid-column:1/-1;max-width:none;width:100%;min-height:34px}.team-search input{height:32px;font-size:11px}.team-panel{border-radius:12px;overflow:hidden}.team-panel .panel-head{padding:13px 14px;min-height:44px}.team-panel h2{font-size:13px;font-weight:550}.team-member{width:100%;display:flex;align-items:center;gap:12px;min-height:64px;border:0;border-bottom:1px solid var(--line);background:none;text-align:left;padding:12px 14px}.team-member:last-child{border-bottom:0}.team-member:hover{background:var(--elevated)}.member-avatar{width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:50%;background:var(--soft);color:var(--accent);font-size:16px;font-weight:500}.member-copy{min-width:0;flex:1}.member-copy>b{display:block;font-size:12px;font-weight:500;line-height:1.5}.member-copy>small{display:block;font-size:10px;line-height:1.5;margin-top:2px;color:var(--muted);overflow-wrap:anywhere}.member-status{flex:none;border-radius:20px;padding:4px 9px;font-size:10px;max-width:95px;text-align:center;line-height:1.4}.member-status.active{color:var(--blue);background:color-mix(in srgb,var(--blue) 12%,var(--surface))}.member-status.pending{color:var(--warning);background:var(--warning-soft)}.team-member>svg{width:15px;height:15px;flex:none;color:var(--text)}
@media(max-width:760px){.team-intro{gap:12px;margin:3px 0 16px}.team-intro>p{font-size:11px;max-width:58%}.team-intro>.btn{font-size:10px;padding:6px 10px;min-height:34px}.team-intro>.btn>svg{display:none}.team-toolbar{padding:9px 10px;gap:10px}.team-toolbar .filter{font-size:10px;max-width:145px;min-width:112px}.team-count{font-size:11px}.team-panel .panel-head{padding:12px}.team-panel h2{font-size:12px}.team-member{gap:10px;padding:11px 12px;min-height:64px}.member-avatar{width:36px;height:36px}.member-copy>b{font-size:12px}.member-copy>small{font-size:10px}.member-status{font-size:10px;padding:4px 8px;max-width:76px}.team-member>svg{width:13px;height:13px}}

/* Depo owns both stock entries and branch dispatches, with a single history. */
.warehouse-actions{position:relative}.warehouse-actions>summary{list-style:none;cursor:pointer;white-space:nowrap}.warehouse-actions>summary::-webkit-details-marker{display:none}.warehouse-actions>summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.warehouse-action-options{position:absolute;right:0;top:calc(100% + 7px);z-index:28;min-width:185px;padding:5px;background:var(--surface);border:1px solid var(--line);border-radius:7px;box-shadow:var(--shadow)}.warehouse-action-options>button{display:flex;align-items:center;gap:9px;width:100%;padding:11px 10px;border:0;border-radius:4px;background:none;text-align:left;font-size:12px;white-space:nowrap}.warehouse-action-options>button:hover,.warehouse-action-options>button:focus-visible{background:var(--elevated)}.warehouse-action-options svg{width:16px;height:16px}.product-list-head{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;border-bottom:1px solid var(--line);gap:10px}.product-list-head>span{font-size:10px;color:var(--muted)}.text-action{border:0;background:none;color:var(--accent);font-size:11px;min-height:28px;padding:4px 0}.transaction-row .movement-target{grid-column:1}.transaction-row .movement-kind{grid-column:2}.transaction-row.cancelled .movement-qty{text-decoration:line-through;color:var(--muted)}.transaction-row.cancelled .movement-kind{color:var(--danger)}
@media(max-width:760px){.heading-actions .warehouse-actions>summary{font-size:10px;min-height:34px;padding:5px 9px;gap:4px}.warehouse-actions>summary svg{width:13px;height:13px}.product-list-head{padding:6px 11px}.product-list-head>span{font-size:9px}.text-action{font-size:10px}.transaction-row{min-height:58px}}

.product-stock-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);padding:9px 0}.product-stock-summary strong{font-size:16px;font-weight:550;color:var(--text);font-variant-numeric:tabular-nums}.product-identity{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:2px 0 16px}.product-identity>summary{display:flex;align-items:center;justify-content:space-between;font-size:11px;cursor:pointer;list-style:none;padding:12px 0;color:var(--muted)}.product-identity>summary::-webkit-details-marker{display:none}.product-identity>summary svg{width:14px;height:14px}.product-identity[open]>summary svg{transform:rotate(180deg)}.product-identity>div{padding:4px 0}.product-history h3{font-size:12px;font-weight:550;margin-bottom:6px}.product-history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.product-history-row:last-child{border-bottom:0}.product-history-row>span{min-width:0}.product-history-row b{display:block;font-size:11px;font-weight:500}.product-history-row small{display:block;color:var(--muted);font-size:9px;line-height:1.5;margin-top:3px}.product-history-row strong{font-size:12px;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}.product-history-row.cancelled strong{color:var(--muted);text-decoration:line-through}.product-history-row.cancelled b{color:var(--muted)}

/* Shared compact action and detail layout. */
.heading-actions>.btn,.branch-page-heading .btn,.team-intro>.btn{min-height:28px;padding:4px 9px;font-size:10px;font-weight:400;gap:0;border-radius:4px}.heading-actions>.btn>svg,.branch-page-heading .btn>svg,.team-intro>.btn>svg{display:none}.heading-actions>.account-search-toggle{width:28px;min-width:28px;padding:0}.heading-actions>.account-search-toggle>svg{display:block;width:14px;height:14px}.heading-actions{gap:5px}.depot-action-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:4px;overflow:hidden;background:var(--surface);margin:0 0 10px}.depot-action-strip button{border:0;border-right:1px solid var(--line);background:none;font-size:11px;font-weight:400;min-height:34px;padding:7px 4px;white-space:nowrap}.depot-action-strip button:last-child{border-right:0}.depot-action-strip button:hover{background:var(--elevated)}.stock-item{min-height:44px}.accounts-page .branch-card{min-height:50px;padding:9px 12px}.branch-page-heading{display:flex;align-items:center;gap:6px;min-height:32px}.branch-page-heading>.icon-button{width:24px;min-width:24px;min-height:28px;padding:0;flex:none}.branch-page-heading>.icon-button svg{width:17px;height:17px}.branch-page-heading>div:nth-child(2){flex:1;min-width:0}.branch-page-heading h1{font-size:13px;font-weight:500;line-height:1.3;margin:0}.branch-page-heading .heading-actions{margin-left:auto;flex:none;width:auto}.balance-strip{min-height:32px;padding:7px 10px;margin:8px 0 10px;background:color-mix(in srgb,var(--accent) 5%,var(--surface));border:1px solid var(--line);border-radius:4px;font-size:11px}.balance-strip strong{font-size:13px;font-weight:500;letter-spacing:0;font-variant-numeric:tabular-nums}.ledger-row{padding:9px 12px}.ledger-amount b{font-weight:500}.ledger-summary{margin-top:3px}.workspace:before{width:clamp(120px,20vw,220px);height:clamp(120px,20vw,220px);right:18px;bottom:calc(76px + env(safe-area-inset-bottom));opacity:.009;background-size:contain}.product-dialog{max-width:480px}.product-dialog .dialog-head{padding:12px 14px}.product-dialog .dialog-head h2{font-size:14px}.product-dialog .dialog-head .icon-button{width:28px;min-height:28px;outline:none}.product-dialog .dialog-body{padding:10px 14px}.product-stock-summary{padding:4px 0 10px}.product-stock-summary strong{font-size:14px;font-weight:500}.product-price-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 0;border-top:1px solid var(--line)}.product-price-summary span{display:block;font-size:10px;color:var(--muted)}.product-price-summary strong{display:block;font-size:12px;font-weight:500;margin-top:4px}.product-dialog details{margin:0;border:0;border-top:1px solid var(--line)}.product-dialog details>summary{display:flex;align-items:center;justify-content:space-between;padding:11px 0;font-size:11px;color:var(--text);list-style:none;cursor:pointer}.product-dialog summary::-webkit-details-marker{display:none}.product-dialog summary svg{width:13px;height:13px}.product-dialog details[open]>summary svg{transform:rotate(180deg)}.product-dialog .product-history h3{display:none}.product-dialog .field{margin-bottom:9px}.product-dialog .field input,.product-dialog .field select{min-height:31px;padding:6px 8px;font-size:11px}.product-dialog .dialog-footer{padding:10px 14px}.product-dialog .dialog-footer[hidden]{display:none}.product-dialog .dialog-footer .btn{min-height:28px;padding:4px 10px;font-size:10px}.product-dialog .inline-error:empty{display:none}
@media(max-width:760px){.page-heading>.heading-actions{gap:4px}.heading-actions>.btn,.branch-page-heading .btn{min-height:28px;padding:4px 7px;font-size:10px}.heading-actions>.account-search-toggle{padding:0;width:28px}.branch-page-heading{flex-wrap:nowrap;gap:5px}.branch-page-heading .heading-actions{width:auto;margin-left:auto}.branch-page-heading h1{font-size:13px}.workspace:before{width:145px;height:145px;right:12px;opacity:.009}.depot-action-strip button{font-size:11px}.accounts-page .branch-card{min-height:49px}.accounts-page .page-heading h1{font-size:12px}.ledger-copy{max-width:none}}
@media(max-width:360px){.accounts-page .page-heading{gap:4px}.accounts-page .heading-actions>.btn{font-size:9px;padding:4px 6px}.accounts-page .heading-actions>.account-search-toggle{width:26px;min-width:26px}.branch-page-heading .btn{font-size:9px;padding:4px 6px}.branch-page-heading h1{font-size:12px}}

/* Shared compact dialogs and inline search, including iOS input sizing. */
dialog,dialog.wide{width:min(460px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);overflow-x:hidden;overscroll-behavior:contain;border-radius:7px}
dialog .dialog-head,dialog.product-dialog .dialog-head{padding:10px 12px;gap:10px;min-height:44px}
dialog .dialog-head>div{min-width:0}dialog .dialog-head h2,dialog.product-dialog .dialog-head h2{font-size:14px;line-height:1.4;font-weight:550}
dialog .dialog-head p{font-size:11px;line-height:1.35;margin-top:2px}
dialog .dialog-head .icon-button,dialog.product-dialog .dialog-head .icon-button{width:30px;min-width:30px;min-height:30px;height:30px;flex:none;border:0;border-radius:4px;padding:5px;background:transparent;outline:none}
dialog .dialog-head .icon-button svg{width:17px;height:17px}dialog .dialog-head .icon-button:focus-visible{outline:1px solid var(--accent);outline-offset:0}
dialog .dialog-body,dialog.product-dialog .dialog-body{padding:12px}dialog .dialog-footer{padding:9px 12px;gap:6px;flex-wrap:wrap}
dialog .dialog-footer .btn,dialog .btn{min-height:30px;font-size:11px;padding:5px 10px;font-weight:400;border-radius:4px}
dialog .btn>svg{display:none}dialog .field{gap:4px;margin-bottom:10px;min-width:0}
dialog .field label{font-size:11px;line-height:1.35}dialog .field input,dialog .field select,dialog .field textarea{min-height:34px;max-width:100%;min-width:0;width:100%;box-sizing:border-box;padding:6px 8px;font-size:13px;line-height:20px;border-radius:4px}
dialog .field input[readonly]{background:transparent;color:var(--muted);border-color:transparent;cursor:default}
dialog .field textarea{min-height:38px}dialog .form-grid{gap:0 10px;min-width:0}dialog .form-grid>*{min-width:0}
dialog input[type=date]{display:block;appearance:none;-webkit-appearance:none;min-width:0;width:100%;max-width:100%;text-align:left}
dialog input[type=date]::-webkit-date-and-time-value{text-align:left;min-width:0;margin:0}dialog input[type=date]::-webkit-datetime-edit{padding:0;min-width:0}
dialog .inline-error:empty{display:none}dialog .inline-error{font-size:11px;margin-top:5px}
dialog .detail-grid{gap:10px 12px;margin-bottom:0}dialog .detail-grid label{font-size:10px}dialog .detail-grid b{font-size:12px;line-height:1.4;overflow-wrap:anywhere;font-weight:400}
dialog .detail-total{font-size:12px;padding-top:9px;margin-top:9px}dialog .form-hint,dialog .form-message{font-size:11px;line-height:1.45}
dialog .shipment-line{grid-template-columns:minmax(0,1fr) 95px 28px;gap:6px;padding:6px 0 9px;align-items:end}
dialog .shipment-line select{grid-column:1/-1;min-height:34px;padding:6px 8px;font-size:13px;max-width:100%}
dialog .shipment-line input{min-height:34px;font-size:13px;padding:6px 8px;box-sizing:border-box}
dialog .shipment-line .quantity-caption{display:block;font-size:10px;margin-bottom:3px}
dialog .shipment-line .line-total{font-size:12px;align-self:end;padding:0 0 8px}dialog .shipment-line .line-total:before{content:'Tutar';display:block;font-size:10px;color:var(--muted);margin-bottom:5px}
dialog .shipment-line .icon-button{width:28px;min-height:32px;padding:5px}dialog .shipment-line .icon-button svg{width:15px;height:15px}
dialog .shipment-total{margin:8px 0 10px;padding:8px 0;background:none;border:0;border-bottom:1px solid var(--line);border-radius:0}
dialog .shipment-total span{font-size:11px}dialog .shipment-total b{font-size:14px;font-weight:500}
.preview-disclosure{font-size:10px;color:var(--muted);line-height:1.4;margin:0}
.account-inline-search{display:flex;align-items:center;gap:4px;width:min(260px,100%);min-width:0}
.account-inline-search .search-box{flex:1;min-width:0;width:100%;height:30px;min-height:30px;padding:0 7px;border-radius:4px;background:var(--surface)}
.account-inline-search .search-box svg{width:13px;height:13px;flex:none}.account-inline-search .search-box input{width:100%;min-width:0;min-height:28px;padding:3px 0;line-height:22px}
.account-inline-search .account-search-toggle{width:28px;min-width:28px;height:30px;padding:0}.account-inline-search .account-search-toggle svg{width:14px;height:14px}
@media(max-width:760px){
/* Native iOS zoom is prevented by readable input text, without disabling user zoom. */
input,select,textarea,.search-box input,.toolbar select.filter,dialog .field input,dialog .field select,dialog .field textarea,dialog .shipment-line select,dialog .shipment-line input{font-size:16px}
.accounts-page .page-heading{min-width:0;gap:7px}.accounts-page .page-heading h1{font-size:13px;flex:none}.accounts-page .heading-actions{min-width:0;flex:1;flex-wrap:nowrap}
.account-inline-search{width:100%;max-width:230px}.account-inline-search .search-box input{font-size:16px}
dialog .field input,dialog .field select,dialog .field textarea,dialog .shipment-line select,dialog .shipment-line input{height:36px;min-height:36px;line-height:22px;padding:6px 8px}
dialog .dialog-head h2{font-size:14px}dialog .dialog-body{padding:10px 12px}dialog .form-grid{gap:0 8px}
}
@media(max-width:350px){dialog .form-grid{grid-template-columns:minmax(0,1fr)}.accounts-page .page-heading h1{font-size:12px}.account-inline-search{max-width:180px}}
/* One shared compact filter treatment, including expanded search. */
.team-toolbar{padding:0;margin:0 0 9px;background:transparent;border:0;border-radius:0;gap:8px;grid-template-columns:auto 1fr 28px}.team-toolbar .filter{min-height:30px;height:30px;font-size:11px;padding:4px 8px;max-width:150px}.team-count{font-size:10px;color:var(--muted);text-align:left}.team-toolbar .icon-button{width:28px;height:30px;min-height:30px}.team-search,.team-search input{height:32px;min-height:32px}.toolbar{padding:8px 10px;gap:8px}.toolbar .search-box{height:32px;min-height:32px}.toolbar .search-box input{height:30px}.toolbar .filter{min-height:30px;height:30px}.toolbar .result-count:empty{display:none}
.tenant-emblem{border:0;padding:0;background:transparent;cursor:pointer}button[hidden],[hidden]{display:none!important}.auth-mode .sidebar,.auth-mode .mobile-nav,.auth-mode #topbar{display:none}.auth-mode .workspace{margin:0;width:100%;height:100dvh;min-height:100dvh}.auth-mode #content{display:grid;place-items:center;padding:20px;overflow:auto}.auth-card{width:100%;max-width:340px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:22px}.auth-card .brand{margin-bottom:22px;pointer-events:none}.auth-card h1{font-size:17px;margin:0 0 16px}.auth-card .field{margin-bottom:12px}.auth-card .field input{min-height:38px;font-size:16px}.auth-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.auth-actions .btn{font-size:12px;min-height:34px;padding:6px 12px}.auth-card .auth-note{font-size:12px;color:var(--muted);line-height:1.5;margin:12px 0}.auth-error{font-size:12px;color:var(--danger,#ff8888);margin:10px 0}.auth-card .link-button{border:0;background:none;color:var(--accent);font-size:12px;padding:8px 0}.tenant-choice{display:flex;flex-direction:column;gap:6px}.invite-link{font-size:12px;width:100%;padding:8px;user-select:all}.auth-card button:disabled{opacity:.5}.connection-bar{font-size:11px;text-align:center;padding:6px;color:var(--warning)}

/* Platform administration: compact, flat, full-width desktop layout. */
body.platform-mode .workspace::before{display:none}
body.platform-mode #sidebar{width:200px;box-shadow:none;background:var(--bg)}
body.platform-mode .workspace{margin-left:200px}
body.platform-mode #topbar{display:flex;height:52px;min-height:52px;padding:0 24px;justify-content:space-between;box-shadow:none}
body.platform-mode .platform-title{font-size:14px;font-weight:500;color:var(--text)}
body.platform-mode .header-profile{position:static;margin-left:auto}
body.platform-mode .avatar{width:30px;height:30px;font-size:11px;border-radius:5px}
body.platform-mode .content-wrap{max-width:none;width:100%;padding:22px 24px;margin:0}
body.platform-mode .page-heading{margin-bottom:14px;min-height:32px;gap:12px;align-items:center}
body.platform-mode h1{font-size:20px;font-weight:600;line-height:1.4;margin:0}
body.platform-mode .btn{min-height:32px;height:32px;padding:0 13px;font-size:13px;font-weight:500;border-radius:4px;box-shadow:none}
body.platform-mode .panel{border-radius:5px;box-shadow:none;margin:0;overflow:hidden}
body.platform-mode .platform-empty{min-height:64px;display:flex;align-items:center;padding:16px;font-size:13px;color:var(--muted)}
body.platform-mode .toolbar{padding:10px 12px;min-height:52px;gap:10px}
body.platform-mode .search-box{height:32px;min-height:32px;border-radius:4px}
body.platform-mode .search-box input{height:30px;min-height:30px;font-size:13px;padding:0 10px}
body.platform-mode .business-row{padding:12px 16px;min-height:64px;font-size:13px;border-radius:0;box-shadow:none}
body.platform-mode .business-row b{font-size:14px;font-weight:500}
body.platform-mode .business-row small{font-size:12px;line-height:1.5;margin-top:3px}
body.platform-mode .business-state{font-size:12px;font-weight:400}
body.platform-mode .nav-label{display:none}
body.platform-mode .side-nav{padding-top:12px}
body.platform-mode .side-nav button{min-height:36px;font-size:13px}
body.platform-mode .brand{min-height:52px}
body.platform-mode .admin-member{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}
body.platform-mode .admin-member small{display:block;color:var(--muted);margin-top:4px}
body.platform-mode h3{font-size:14px;font-weight:500}
@media(max-width:760px){body.platform-mode .workspace{margin-left:0}body.platform-mode #topbar{padding:0 14px}body.platform-mode .content-wrap{padding:16px 12px}body.platform-mode h1{font-size:18px}body.platform-mode .business-row{gap:10px}body.platform-mode .business-row small{overflow-wrap:anywhere}body.platform-mode .admin-member{flex-direction:column;gap:5px}}
