:root{--ink:#163342;--muted:#597381;--brand:#087f74;--brand-bright:#18b8a3;--line:#dce8ed;--surface:#fff;--soft:#eff8f6}body{font-size:16px;font-weight:650;color:var(--ink);background:radial-gradient(ellipse at 95% 0,#dff3ee,transparent 45%),#f4f7fb;line-height:1.75}h1,h2,h3,strong,b{font-weight:800}h1{font-size:28px;letter-spacing:-.5px}h2{font-size:19px}h3{font-size:17px}.page-header p,.subtle{font-size:15px;font-weight:650;color:var(--muted)}.eyebrow{color:var(--brand);font-size:13px;font-weight:800;letter-spacing:0}.panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:0 6px 26px #16334207;padding:23px;margin-bottom:20px}.page-header{margin-bottom:22px}.button{font-weight:800;border-radius:11px}.button.primary{background:linear-gradient(135deg,#087f74,#0d9c87);border-color:#087f74;box-shadow:0 4px 12px #087f7426;color:white}.button.primary:hover:not(:disabled){background:linear-gradient(135deg,#07685f,#087f74);box-shadow:0 6px 17px #087f7438}.button.secondary{color:#285866;border-color:#cfdee5;background:#f8fbfc}.button.danger{color:#a63538;background:#fff2f1;border-color:#ecc3c2}.text-button{font-size:14px;font-weight:800}.button:active:not(:disabled){filter:brightness(.96)}label{font-size:15px;font-weight:750;color:#365765}label small{font-size:12px;font-weight:650;color:#67808a}input,select{font-size:16px;font-weight:750;border-color:#d6e3e8;border-radius:10px;background:#fff;color:#183d4b}input:focus,select:focus{border-color:#159b87;box-shadow:0 0 0 3px #1ab69c15}input::placeholder{font-weight:500;color:#8b9ba5}.warehouse-topbar{background:linear-gradient(110deg,#0b2937,#123f46);height:70px;padding:0 20px;box-shadow:0 4px 20px #0d32431a}.warehouse-topbar #warehouse-menu-button{width:44px;height:44px;border-color:#b5ddd733;border-radius:13px;background:#c0fff50d}.warehouse-app-name{display:flex;gap:10px;align-items:center;font-size:18px;font-weight:800;white-space:nowrap}.warehouse-app-name small{display:block;color:#aad0d2;font-size:11px;font-weight:700;line-height:1.3}.warehouse-app-mark{display:grid;place-items:center;width:36px;height:36px;border:1px solid #81e9d142;border-radius:11px;background:#29d7b319;color:#6ae6cc}.warehouse-app-mark svg{width:23px;height:23px}.warehouse-picker{font-size:13px;font-weight:750;gap:10px}.warehouse-picker select{border:1px solid #9fd2c94a;background:#f4fcf9;border-radius:11px;min-height:42px;font-size:15px;font-weight:800;color:#154d48;box-shadow:0 3px 10px #0001}.warehouse-subnav{top:70px;padding:0 16px;min-height:58px;background:#fdfefeec;backdrop-filter:blur(14px);border-color:var(--line);box-shadow:0 3px 14px #183b4505;gap:3px}.warehouse-subnav>button,.warehouse-subnav>a{display:flex;align-items:center;justify-content:center;min-height:42px;margin:7px 0;padding:7px 16px;font-size:15px;font-weight:800;border:0;border-radius:11px;color:#54717b;background:transparent}.warehouse-subnav>button.active,.warehouse-subnav>a[aria-current=page]{color:#087565;background:#e2f5ee;border-bottom:0;box-shadow:inset 0 0 0 1px #15856a1a}.warehouse-subnav>button:hover:not(:disabled),.warehouse-subnav>a:hover{background:#edf8f3;color:#087565}.warehouse-drawer{background:linear-gradient(165deg,#123d48,#0b2534);box-shadow:-15px 0 55px #07212d2b;max-width:330px}.warehouse-drawer .sidebar{padding:32px 18px 20px}.warehouse-drawer .brand{font-size:20px;font-weight:800;color:#effffb}.warehouse-drawer .brand small{font-size:12px;font-weight:650;color:#afced1}.warehouse-drawer .brand-mark{border-radius:17px;background:#1fbd9e24;border:1px solid #4bdaba42;color:#60e6c6;box-shadow:0 5px 17px #071c2424}.warehouse-drawer .nav-item{font-size:16px;font-weight:800;padding:12px 14px;border-radius:12px;color:#d5e7ec;margin:4px 0}.warehouse-drawer .nav-item span{font-size:16px;font-weight:800}.warehouse-drawer .nav-item.active{background:#e5fff411;color:#73eccd;box-shadow:inset -3px 0 #45d7b3}.warehouse-drawer .nav-item:hover:not(:disabled){background:#e5fff40c}.warehouse-drawer .nav-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#b8dcd310;color:#80d9c3}.warehouse-drawer .nav-icon svg{width:19px;height:19px}.drawer-close{left:14px;top:12px;width:36px;height:36px;border-radius:10px;background:#badbd30d;font-size:27px}.side-caption{font-size:12px;font-weight:800;color:#a9c6ca}.drawer-account{font-size:13px;color:#b9d5db}.drawer-logout{font-size:15px;font-weight:800;border-radius:12px;border-color:#c28e8f55;background:#8b363b16;color:#ffd4d2}.environment{font-size:11px;font-weight:700;background:#edf6f2;color:#4b7771}.date-today{background:#edf6f3;color:#367367;padding:6px 10px;border-radius:8px;font-size:13px;font-weight:750}.invoice-header-summary{gap:10px}.invoice-header-summary>span{background:#f6f9fb;border:1px solid #e9eff3;border-radius:11px;padding:9px 11px}.invoice-header-summary small{font-size:12px;font-weight:750}.invoice-header-summary strong{font-size:15px;font-weight:800}.count,.tag{font-size:12px;font-weight:800;border-radius:7px}table{font-size:14px}th{font-weight:800;color:#5c7784}td{font-weight:700}td strong{font-weight:800}td small{font-size:12px;font-weight:650}.section-title h2{font-weight:800}.scan-feedback{font-size:15px;font-weight:750}.scanner-panel{border-color:#c8e7df;background:linear-gradient(140deg,#fff,#f5fcf9)}.barcode-label{font-size:15px}.camera-open-button{display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(120deg,#0d736d,#0f9f8d)!important;color:white!important;border-color:#0f8979!important;border-radius:13px;font-size:16px!important;font-weight:800;min-height:48px!important;box-shadow:0 5px 15px #0b887326}.camera-open-button svg{width:22px;height:22px}.empty-state{font-size:15px;font-weight:700;min-height:140px}.empty-symbol{font-size:36px;color:#6bad9e}.empty-state strong{font-weight:800}.balance-grid>div{border-radius:12px;border-color:#e1ebef}.balance-grid strong{font-weight:800}.formula-note{font-size:14px;font-weight:750;border-radius:10px}dialog:not(#camera-dialog){border:1px solid #d4e5e8;box-shadow:0 22px 90px #0b283f30;border-radius:19px}dialog::backdrop{background:#092b3c8c;backdrop-filter:blur(3px)}.dialog-heading h2{font-size:21px;font-weight:800}.login-main{max-width:470px;padding-top:max(6vh,30px)}.login-panel{padding:30px;border-radius:24px;box-shadow:0 18px 65px #11344916;border-top:4px solid #1da78d}.login-panel:before{content:'▦';display:grid;place-items:center;width:62px;height:62px;border:1px solid #d5eee5;border-radius:20px;background:linear-gradient(140deg,#e4f7ef,#f5fcfa);color:#0b9079;font-size:37px;line-height:1;margin-bottom:20px}.login-panel h1{font-size:29px}.login-panel label{font-size:16px;font-weight:800}.login-panel input{min-height:46px}.login-panel #login-description{font-size:16px;font-weight:650;color:#6d838b}.login-panel .button{min-height:47px;font-size:17px}.login-panel .text-button{font-size:13px}.login-panel #password-help{font-size:13px;font-weight:700}.invoice-lines{font-size:14px}.invoice-lines th,.invoice-lines td{font-size:14px;font-weight:800;line-height:1.3}.invoice-lines .row-price-form input{font-size:15px;font-weight:800}.invoice-lines .row-price-form button,.invoice-lines .danger{font-size:13px;font-weight:800}.invoice-lines .invoice-product-label{font-weight:800}.label-details{font-weight:700}.label-details strong{font-weight:800}.label-details span,.label-details small{font-weight:700}.scope-note{font-size:12px;font-weight:650}.warehouse-nav .nav-soon{font-size:10px}@media(max-width:600px){body{font-size:16px}.warehouse-topbar{height:64px;padding:0 12px;gap:10px}.warehouse-app-name{display:none}.warehouse-picker{margin-right:auto}.warehouse-picker>span{font-size:13px}.warehouse-picker select{font-size:15px;max-width:235px;min-width:140px}.warehouse-subnav{top:64px;padding:0 8px;min-height:56px}.warehouse-subnav>button,.warehouse-subnav>a{font-size:14px;padding:8px 13px;margin:6px 0}.panel{padding:18px 13px;border-radius:15px;margin-bottom:16px}.page-header h1{font-size:25px}.page-header p{font-size:15px}.page-header .eyebrow{font-size:12px}.button{font-size:15px}.section-title h2{font-size:18px}.invoice-header-summary strong{font-size:15px}.invoice-header-summary small{font-size:12px}.login-main{padding-inline:18px}.login-panel{padding:25px 22px}.table-wrap{border-radius:9px}.invoice-lines th,.invoice-lines td{font-size:14px}.invoice-lines .row-price-form input{font-size:16px}.invoice-lines .row-price-form button,.invoice-lines .danger{font-size:13px}.text-button{font-size:14px}}
@media print{body{background:#fff}.panel{box-shadow:none}.invoice-header-summary>span{background:#fff}.button.primary{box-shadow:none}}
/* Readable Persian typography; keep the compact invoice control geometry. */
body{font-weight:700}.page-header p,.subtle,label small,.scope-note{font-weight:700}.invoice-header-summary small{font-size:14px;font-weight:750}.invoice-header-summary strong{font-size:16px;font-weight:800}.side-caption{font-size:13px}.count,.tag{font-size:13px}.scope-note{font-size:13px}.invoice-lines th,.invoice-lines td{font-size:15px;font-weight:800}.invoice-lines .row-price-form button,.invoice-lines .danger{font-size:14px}.login-panel #login-description{font-weight:700}@media(max-width:600px){.invoice-header-summary small{font-size:14px}.invoice-header-summary strong{font-size:16px}.invoice-lines th,.invoice-lines td{font-size:15px}.invoice-lines .row-price-form button,.invoice-lines .danger{font-size:14px}.warehouse-picker>span{font-size:14px}}
@media(max-width:600px){.invoice-detail-panel .invoice-header-summary,#out-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.invoice-header-summary>span{padding:8px 10px;min-width:0}.invoice-header-summary>span:last-child{grid-column:1/-1}}
@media print{body{font-size:12px}table,th,td{font-size:11px}.panel{box-shadow:none}.invoice-header-summary small{font-size:10px}.invoice-header-summary strong{font-size:12px}}
