@import "https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap";:root{--bg:#f4f7fb;--paper:#fff;--ink:#172b4d;--muted:#74839a;--line:#e8edf4;--teal:#147d72;--teal-dark:#0e665f;--nav:#101e36;--mint:#e6f5f0;--amber:#fff2dd;--rose:#fff0ef;--blue:#eef3ff;--shadow:0 8px 30px #1a2c4b0e}*{box-sizing:border-box}html{background:var(--bg);min-height:100%}body{color:var(--ink);background:radial-gradient(ellipse at 75% 0%,#cbe5f147,transparent 35rem),var(--bg);margin:0;font-family:IBM Plex Sans Arabic,Tahoma,Arial,sans-serif;font-size:17.7px}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}.app-shell{grid-template-columns:258px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#c6d1df;z-index:10;background:linear-gradient(#142744,#101b31);flex-direction:column;height:100vh;padding:25px 17px 16px;display:flex;position:sticky;top:0;box-shadow:8px 0 30px #12244014}.brand{color:#fff;align-items:center;gap:12px;padding:2px 7px 31px;display:flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#38b89b,#14796d);border-radius:14px;place-items:center;width:42px;height:42px;font-size:28.3px;font-weight:700;display:grid;box-shadow:0 7px 20px #1aa68a40}.brand b{letter-spacing:-.04em;font-size:24.8px;display:block}.brand small{color:#98a9c0;margin-top:1px;font-size:13px;display:block}.side-label{color:#8193ae;letter-spacing:.07em;padding:0 11px 10px;font-size:13px}.side-nav{gap:5px;display:grid}.side-nav button{color:#bfcbdb;text-align:right;background:0 0;border:0;border-radius:10px;align-items:center;gap:11px;height:43px;padding:0 12px;transition:background .18s,color .18s;display:flex}.side-nav button:hover{color:#fff;background:#ffffff13}.nav-icon{text-align:center;width:22px;font-size:21.2px}.side-nav i{color:#172b4d;background:#e59956;border-radius:20px;place-items:center;width:20px;height:20px;margin-right:auto;font-size:13px;font-style:normal;display:grid}.side-bottom{color:#9cabc0;border-bottom:1px solid #dae7f51f;align-items:center;gap:8px;margin-top:auto;padding:15px 8px;font-size:13px;display:flex}.online-dot{background:#55c29b;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #55c29b1f}.user-card{align-items:center;gap:9px;padding:14px 5px 0;display:flex}.avatar{color:#197467;background:#d8eee8;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.avatar-blue{color:#4368ab;background:#e5edff}.user-meta{gap:1px;min-width:0;display:grid}.user-meta b{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:14.2px;overflow:hidden}.user-meta small{color:#9cabc0;font-size:13px}.icon-btn{color:#b8c7da;background:0 0;border:0;border-radius:9px;width:32px;height:32px;margin-right:auto;font-size:22.4px}.icon-btn:hover{color:#fff;background:#ffffff1a}.main-area{align-content:start;gap:17px;width:100%;max-width:1700px;margin:auto;padding:27px clamp(18px,3vw,47px) 56px;display:grid}.topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:4px;display:flex}.title-block>span{color:var(--muted);font-size:14.2px}.title-block h1{letter-spacing:-.045em;margin:4px 0 0;font-size:31.9px}.slash{color:#b7c1d0;padding:0 5px}.top-actions{align-items:center;gap:9px;display:flex}.today{color:var(--muted);padding-left:7px;font-size:14.2px}.button{border:1px solid #0000;border-radius:10px;min-height:39px;padding:0 14px;font-size:15.3px;font-weight:600;transition:transform .15s,box-shadow .15s,background .15s}.button:disabled{opacity:.6;cursor:wait}.button-primary{background:var(--teal);color:#fff;box-shadow:0 4px 12px #147d7224}.button-primary:hover:not(:disabled){background:var(--teal-dark);transform:translateY(-1px);box-shadow:0 7px 16px #147d7233}.button-quiet{border-color:var(--line);color:var(--ink);background:#fff}.button-quiet:hover:not(:disabled){background:#f8fafc;border-color:#cad5e3}.button-small{min-height:30px;padding:0 10px;font-size:13px}.hero{color:#fff;background:linear-gradient(112deg,#143b50,#176c70 65%,#238a78);border-radius:18px;justify-content:space-between;align-items:center;min-height:148px;padding:24px 28px;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 30px #11525721}.hero:after{content:"";border:1px solid #ffffff1f;border-radius:50%;width:250px;height:250px;position:absolute;top:-170px;left:80px;box-shadow:0 0 0 25px #ffffff06,0 0 0 55px #ffffff05}.eyebrow{color:#60bfa9;font-size:13px;font-weight:600}.hero h2{letter-spacing:-.03em;margin:7px 0 5px;font-size:26px}.hero p{color:#d0e6e2;margin:0;font-size:15.3px}.hero-mark{z-index:1;background:#ffffff17;border:1px solid #ffffff36;border-radius:28px;place-items:center;width:84px;height:84px;font-size:46px;font-weight:700;display:grid;transform:rotate(-8deg)}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;display:grid}.stat-card,.panel{background:var(--paper);box-shadow:var(--shadow);border:1px solid #e0e7f1f2;border-radius:15px}.stat-card{grid-template-rows:auto auto auto;grid-template-columns:42px 1fr;align-content:start;column-gap:10px;min-height:136px;padding:16px;display:grid;position:relative;overflow:hidden}.stat-card:after{content:"";background:#147d720b;border-radius:50%;width:85px;height:85px;position:absolute;bottom:-37px;left:-24px}.stat-icon{border-radius:12px;grid-row:1/4;place-items:center;width:40px;height:40px;font-size:21.2px;font-weight:700;display:grid}.mint{background:var(--mint);color:#16806f}.amber{background:var(--amber);color:#bb7b25}.rose{background:var(--rose);color:#c5565b}.blue{background:var(--blue);color:#5374bb}.stat-card>span{color:var(--muted);font-size:14.2px}.stat-card>b{letter-spacing:-.03em;margin-top:6px;font-size:26px}.stat-card>small{color:#99a4b4;margin-top:3px;font-size:11.8px}.panel{padding:18px 19px}.grid-two{grid-template-columns:1.4fr 1fr;gap:15px;display:grid}.panel-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px;display:flex}.panel-heading h3{letter-spacing:-.02em;margin:0;font-size:17.7px}.panel-heading p{color:var(--muted);margin:4px 0 0;font-size:13px}.text-button{color:var(--teal);background:0 0;border:0;padding:7px;font-size:14.2px;font-weight:600}.text-button:hover{color:var(--teal-dark);text-decoration:underline}.heading-wrap{align-items:flex-start}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.field-control{border:1px solid var(--line);height:38px;color:var(--ink);background:#fff;border-radius:9px;outline:none;min-width:130px;padding:0 11px;font-size:14.2px}.field-control:focus,.modal-form input:focus,.modal-form select:focus,.modal-form textarea:focus,.stack-form input:focus{border-color:#76b7aa;box-shadow:0 0 0 3px #147d7217}.table-wrap{border:1px solid #edf1f5;border-radius:10px;width:100%;overflow:auto}table{border-collapse:collapse;white-space:nowrap;width:100%}th{text-align:right;color:#79869a;border-bottom:1px solid var(--line);background:#f8fafc;padding:11px 12px;font-size:13px;font-weight:500}td{color:#35465f;border-bottom:1px solid #eef1f5;padding:11px 12px;font-size:14.2px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcfd}.invoice-number{color:#247d72}.status{color:#526eae;background:#eef3ff;border-radius:30px;padding:5px 8px;font-size:11.8px;font-weight:600;display:inline-flex}.row-actions{gap:5px;display:flex}.mini-action{color:#187767;background:#f5fbf8;border:1px solid #cde7df;border-radius:7px;padding:6px 8px;font-size:11.8px}.mini-green{background:#eaf6ee}.low-list{display:grid}.low-item{border-bottom:1px solid #f0f2f6;align-items:center;gap:9px;padding:8px 0;display:flex}.low-item:last-child{border:0}.product-dot{color:#248675;background:#f0f7f5;border-radius:9px;place-items:center;width:30px;height:30px;display:grid}.low-item>div:nth-child(2){gap:2px;display:grid}.low-item b{font-size:13px}.low-item small{color:var(--muted);font-size:11.8px}.low-item>span{color:#bd6c38;margin-right:auto;font-size:13px}.empty-state{text-align:center;color:#95a1b2;place-content:center;min-height:110px;display:grid}.empty-state>span{color:#b9c7d3;font-size:33px}.empty-state p{margin:4px 0;font-size:14.2px}.pipeline{grid-template-columns:repeat(5,1fr);gap:9px;display:grid}.pipeline button{min-height:75px;color:var(--ink);background:#f9fbfc;border:1px solid #e9eef4;border-radius:11px;place-content:center;gap:4px;display:grid}.pipeline button:hover{background:#f3faf7;border-color:#a8d6c8}.pipeline b{font-size:22.4px}.pipeline span{color:var(--muted);font-size:13px}.market-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));align-items:stretch;gap:12px;display:grid}.market-card{border:1px solid var(--line);background:#fff;border-radius:13px;min-width:0;min-height:148px;padding:15px;transition:border-color .18s,transform .18s,box-shadow .18s;box-shadow:0 4px 16px #1836490b}.market-card:hover{border-color:#b7d9d1;transform:translateY(-2px);box-shadow:0 8px 22px #18364914}.market-icon{color:#208373;background:#e9f5f2;border-radius:11px;place-items:center;width:34px;height:34px;font-size:22.4px;display:grid}.market-card h4{margin:10px 0 4px;font-size:16.5px}.market-card p{color:var(--muted);margin:0 0 7px;font-size:13px}.market-card>a{color:#277d70;font-size:13px}.market-actions{border-top:1px solid #f0f2f5;gap:6px;margin-top:12px;padding-top:10px;display:flex}.gap-top{margin-top:15px}.report-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px;display:grid}.report-card,.report-metric{border:1px solid var(--line);text-align:right;background:#fff;border-radius:12px;padding:14px}.report-card{gap:5px;display:grid}.report-card:hover{background:#fbfefd;border-color:#b7d9d1}.report-card>span{color:#1a8172;font-size:23.6px}.report-card b{font-size:14.2px}.report-card small,.report-metric small{color:var(--muted);font-size:11.8px}.report-metric{align-content:center;gap:8px;display:grid}.report-metric b{font-size:18.9px}.alert{border-radius:10px;align-items:center;gap:8px;padding:10px 12px;font-size:14.2px;display:flex}.alert-error{color:#943e45;background:#fff0ef;border:1px solid #f4d5d5}.alert button{color:inherit;background:0 0;border:0;margin-right:auto;font-size:20.1px}.toast{z-index:100;color:#fff;background:#183b3b;border-radius:11px;padding:12px 16px;font-size:14.2px;position:fixed;bottom:22px;left:22px;box-shadow:0 10px 25px #0f233233}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0e1b2f7a;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border-radius:17px;width:min(600px,100%);max-height:min(92vh,900px);padding:21px;overflow:auto;box-shadow:0 20px 70px #081a3140}.modal-head{justify-content:space-between;align-items:center;margin-bottom:17px;display:flex}.modal-head h2{margin:4px 0 0;font-size:21.2px}.close-modal{border:1px solid var(--line);color:var(--muted);background:#fff;margin:0;font-size:28.3px}.modal-form,.stack-form{gap:12px;display:grid}.modal-form label,.stack-form label{color:#64748a;gap:6px;font-size:13px;display:grid}.modal-form input,.modal-form select,.modal-form textarea,.stack-form input{border:1px solid var(--line);width:100%;min-height:39px;color:var(--ink);background:#fff;border-radius:9px;outline:none;padding:9px 10px;font-size:14.2px}.modal-form textarea{resize:vertical}.form-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.form-hint{color:var(--muted);font-size:11.8px;line-height:1.7}.modal-actions{border-top:1px solid #eef1f5;gap:7px;padding-top:7px;display:flex}.invoice-summary{background:#f7f9fb;border-radius:9px;justify-content:space-between;gap:8px;padding:11px;font-size:13px;display:flex}.picker-head{justify-content:space-between;align-items:center;gap:8px;margin-top:5px;font-size:13px;display:flex}.picker-head .field-control{height:31px}.invoice-picker-grid{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));align-content:start;gap:9px;max-height:min(44vh,460px);padding:2px;display:grid;overflow:auto}.invoice-product-card{border:1px solid var(--line);background:#fff;border-radius:12px;align-content:start;gap:8px;padding:10px;display:grid;box-shadow:0 2px 8px #142d4109}.invoice-product-unavailable{min-height:78px;box-shadow:none;cursor:not-allowed;background:#fff7f7;border-color:#f0c8cc;align-content:center;justify-items:start}.invoice-product-unavailable b{color:#b42332;font-size:14.2px}.invoice-product-unavailable small{color:#b42332;font-size:11.8px}.invoice-product-card-head{align-items:center;gap:8px;display:flex}.invoice-product-card-head img,.invoice-product-placeholder{object-fit:cover;color:#147d72;background:#eef5f3;border-radius:10px;flex:none;place-items:center;width:52px;height:52px;display:grid}.product-code{color:#147d72;direction:ltr;background:#f0f6f4;border-radius:6px;align-items:center;padding:4px 7px;font-size:11.8px;font-weight:700;display:inline-flex}.invoice-product-info{gap:3px;min-width:0;display:grid}.invoice-product-info b{text-overflow:ellipsis;white-space:nowrap;font-size:14.2px;overflow:hidden}.invoice-product-info small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;min-height:14px;font-size:11.8px;overflow:hidden}.invoice-product-meta{justify-content:space-between;align-items:center;gap:6px;display:flex}.invoice-product-meta strong{color:#173f48;font-size:13px}.invoice-product-meta span{color:var(--muted);font-size:10.6px}.invoice-quantity-control{grid-template-columns:32px 1fr 32px;align-items:center;gap:6px;display:grid}.invoice-quantity-control button{color:#147d72;background:#f5faf8;border:1px solid #d9e8e4;border-radius:8px;height:32px;font-size:21.2px;font-weight:700}.invoice-quantity-control button:disabled{opacity:.4;cursor:not-allowed}.invoice-quantity-control input{text-align:center;min-height:32px;font-weight:700}.invoice-cart-summary{color:#315454;background:#f4faf8;border:1px solid #cfe4de;border-radius:10px;justify-content:space-between;align-items:center;padding:10px 12px;font-size:13px;display:flex;position:sticky;bottom:0}.invoice-cart-summary b{color:#147d72;font-size:15.3px}.market-checks{border:1px solid var(--line);border-radius:9px;grid-template-columns:1fr 1fr;gap:5px;max-height:150px;padding:8px;display:grid;overflow:auto}.market-checks label{background:#f8fafb;border-radius:7px;align-items:center;gap:6px;padding:8px;display:flex}.market-checks input{width:auto;min-height:auto}.auth-page{background:radial-gradient(ellipse at 50% 0%,#cbe5f166,transparent 33rem),var(--bg);align-content:center;justify-items:center;gap:20px;min-height:100vh;padding:24px;display:grid}.auth-brand{flex-wrap:wrap;justify-content:center;align-items:center;gap:9px;display:flex}.auth-brand .brand-mark{width:45px;height:45px}.auth-brand>b{font-size:29.5px}.auth-brand>small{text-align:center;color:var(--muted);flex-basis:100%;margin-top:-7px;font-size:13px}.auth-card{border:1px solid var(--line);width:min(430px,100%);box-shadow:var(--shadow);background:#fff;border-radius:17px;padding:26px}.auth-heading .eyebrow{color:var(--teal)}.auth-heading h1,.auth-card>h1{margin:5px 0;font-size:26px}.auth-heading p,.auth-card>p{color:var(--muted);margin:0 0 16px;font-size:14.2px;line-height:1.8}.stack-form{gap:13px}.stack-form .button{width:100%;margin-top:3px}.forgot,.back-login{justify-self:center}.auth-foot{color:#8c9aae;font-size:11.8px}.splash{min-height:100vh;color:var(--muted);justify-content:center;align-items:center;gap:12px;font-size:15.3px;display:flex}.splash .brand-mark{width:36px;height:36px;font-size:23.6px}.auth-card code{direction:ltr;background:#f4f6f9;border-radius:4px;padding:2px 4px;font-size:14.2px;display:inline-block}@media (width<=1150px){.app-shell{grid-template-columns:225px minmax(0,1fr)}.main-area{padding:22px}.stat-grid,.report-cards{grid-template-columns:repeat(2,1fr)}}@media (width<=760px){.app-shell{display:block}.sidebar{height:auto;min-height:0;padding:9px 10px 7px;position:sticky}.brand{padding:0 4px 8px}.brand-mark{border-radius:11px;width:33px;height:33px;font-size:23.6px}.brand b{font-size:21.2px}.brand small{font-size:11.8px}.side-label,.side-bottom,.user-card{display:none}.side-nav{scrollbar-width:none;gap:4px;display:flex;overflow-x:auto}.side-nav::-webkit-scrollbar{display:none}.side-nav button{flex:none;gap:6px;height:35px;padding:0 9px;font-size:13px}.side-nav button.selected{box-shadow:inset 0 -2px #50c5a7}.nav-icon{width:auto;font-size:17.7px}.side-nav i{width:16px;height:16px;font-size:10.6px}.main-area{gap:11px;padding:14px 11px 32px}.topbar{align-items:flex-start;margin:2px 0 5px}.title-block h1{font-size:24.8px}.title-block>span{font-size:11.8px}.today{display:none}.top-actions{gap:5px}.button{min-height:35px;padding:0 10px;font-size:13px}.top-actions .button-quiet{width:35px;padding:0;font-size:21.2px}.hero{border-radius:14px;min-height:125px;padding:17px}.hero h2{max-width:300px;font-size:20.1px}.hero p{max-width:280px;font-size:13px;line-height:1.7}.hero-mark{border-radius:19px;width:55px;height:55px;font-size:30.7px}.stat-grid{gap:8px}.stat-card{grid-template-columns:33px 1fr;column-gap:8px;min-height:105px;padding:11px}.stat-icon{border-radius:10px;width:32px;height:32px;font-size:16.5px}.stat-card>span{font-size:11.8px}.stat-card>b{margin-top:5px;font-size:20.1px}.stat-card>small{font-size:10.6px}.grid-two{grid-template-columns:1fr;gap:10px}.panel{border-radius:13px;padding:13px}.panel-heading{flex-wrap:wrap;align-items:flex-start;margin-bottom:12px}.panel-heading h3{font-size:15.3px}.panel-heading p{font-size:11.8px}.heading-wrap{display:grid}.toolbar{width:100%}.toolbar .field-control{flex:1;min-width:100px}.toolbar .button{white-space:nowrap}.table-wrap{width:calc(100% + 2px);margin:0 -1px}th{padding:9px;font-size:11.8px}td{padding:9px;font-size:13px}.pipeline{gap:5px}.pipeline button{min-height:61px;padding:4px}.pipeline b{font-size:17.7px}.pipeline span{font-size:10.6px}.product-foot b,.market-card h4{font-size:13px}.market-card p,.market-card>a{font-size:11.8px}.market-actions{flex-wrap:wrap}.report-cards{grid-template-columns:repeat(2,1fr);gap:7px}.report-card,.report-metric{padding:10px}.report-card b{font-size:13px}.report-card small,.report-metric small{font-size:10.6px}.report-metric b{font-size:15.3px}.modal-card{border-radius:14px;padding:16px}.modal-head h2{font-size:18.9px}.form-row{grid-template-columns:1fr}.market-checks{grid-template-columns:1fr 1fr}.invoice-summary{flex-direction:column}.toast{text-align:center;bottom:12px;left:10px;right:10px}}@media print{.sidebar,.topbar,.button,.toolbar,.row-actions,.toast{display:none!important}.app-shell{display:block}.main-area{max-width:none;padding:0;display:block}.panel{box-shadow:none;border:0;margin:0 0 12px;padding:0}.table-wrap{overflow:visible}body{background:#fff}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}.top-actions .button-quiet.button-logout{color:#a44040;white-space:nowrap;background:#fff7f6;border-color:#f0d3d0;justify-content:center;align-items:center;gap:7px;width:auto;padding:0 13px;display:inline-flex}.top-actions .button-quiet.button-logout:hover:not(:disabled){color:#8c3030;background:#ffefed;border-color:#e7bdb8}@media (width<=760px){.top-actions .button-quiet.button-logout{width:auto;padding:0 10px;font-size:13px}}.staff-form{margin-top:8px}.staff-submit{justify-content:space-between;align-items:center;gap:15px;padding-top:5px;display:flex}.staff-submit .form-hint{max-width:480px}.staff-submit .button{flex:none}.staff-form .staff-consent{color:#596a80;align-items:center;gap:9px;line-height:1.6;display:flex}.staff-form .staff-consent input{width:16px;min-height:16px;accent-color:var(--teal);margin:0}@media (width<=760px){.staff-submit{flex-direction:column;align-items:stretch}.staff-submit .button{width:100%}}.finance-warning{color:#835f19;background:#fff8e7;border:1px solid #f0d79e;border-radius:10px;margin-bottom:14px;padding:11px 13px;font-size:13px;line-height:1.8}.finance-period{color:#53657c;margin:18px 0 9px;font-size:15.3px}.finance-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;display:grid}.finance-stats>div{border:1px solid var(--line);background:#fbfcfd;border-radius:11px;align-content:center;gap:6px;min-height:72px;padding:12px;display:grid}.finance-stats small{color:var(--muted);font-size:11.8px}.finance-stats b{font-size:16.5px}.finance-stats .finance-net{background:#edf8f3;border-color:#cce7d9}.finance-stats .finance-net b{color:#187767}.finance-breakdowns{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px;display:grid}.finance-breakdown{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;padding:12px}.finance-breakdown .panel-heading{margin-bottom:9px}.finance-breakdown h3{font-size:14.2px}.finance-columns{grid-template-columns:1fr 1fr;gap:13px;display:grid}.expense-form .button{justify-self:start}.overdue-list{gap:8px;display:grid}.overdue-row{background:#fffdfa;border:1px solid #f0e6d4;border-radius:10px;align-items:center;gap:10px;padding:10px;display:flex}.overdue-row>div{flex:1;gap:4px;min-width:0;display:grid}.overdue-row b{font-size:13px}.overdue-row small{color:var(--muted);white-space:normal;font-size:11.8px}.overdue-row strong{color:#9d5c27;white-space:nowrap;font-size:13px}@media (width<=1000px){.finance-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-breakdowns{grid-template-columns:1fr}}@media (width<=760px){.finance-columns{grid-template-columns:1fr}.finance-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.finance-stats>div{min-height:65px;padding:9px}.finance-stats b{font-size:14.2px}.overdue-row{flex-wrap:wrap}.overdue-row>div{flex-basis:calc(100% - 12px)}.overdue-row strong{margin-right:auto}.finance-breakdown{padding:9px}.finance-period{font-size:14.2px}}.print-invoice{display:none}.print-invoice-header{border-bottom:2px solid #197b70;align-items:center;gap:11px;padding-bottom:15px;display:flex}.print-brand-mark{color:#fff;background:#147d72;border-radius:14px;place-items:center;width:45px;height:45px;font-size:30.7px;font-weight:700;display:grid}.print-invoice-header h1{margin:0;font-size:24.8px}.print-invoice-header p{color:#64748a;margin:3px 0 0;font-size:13px}.print-invoice-number{text-align:left;gap:3px;margin-right:auto;display:grid}.print-invoice-number small,.print-market small{color:#728096;font-size:11.8px}.print-invoice-number b{color:#147d72;font-size:20.1px}.print-market{border:1px solid #e1e7ed;border-radius:9px;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0;padding:12px;display:grid}.print-market>div{gap:4px;display:grid}.print-market b{font-size:13px}.print-items{white-space:normal}.print-items th,.print-items td{padding:10px;font-size:13px}.print-totals{gap:8px;width:min(350px,100%);margin:17px 0 0 auto;display:grid}.print-totals>div{justify-content:space-between;gap:10px;font-size:13px;display:flex}.print-total{color:#116c61;border-top:1px solid #8796a5;padding-top:8px;font-weight:700}.print-notes{background:#f6f8fa;border-radius:8px;margin-top:15px;padding:10px;font-size:13px}.print-signatures{grid-template-columns:repeat(3,1fr);gap:18px;margin-top:55px;display:grid}.print-signatures span{text-align:center;border-top:1px solid #8c99a8;padding-top:8px;font-size:13px}.print-thanks{text-align:center;color:#4b796f;margin-top:35px;font-size:13px}@media print{body.invoice-print-mode{background:#fff!important}body.invoice-print-mode .app-shell>:not(.print-invoice){display:none!important}body.invoice-print-mode .print-invoice{color:#182b42;background:#fff;padding:24px;font-family:Tahoma,Arial,sans-serif;position:fixed;inset:0;display:block!important}.print-invoice .table-wrap{overflow:visible}body.invoice-print-mode .print-items{width:100%}}.finance-balance-strip{gap:10px;margin-top:12px;display:flex}.finance-balance-strip>div{border:1px solid var(--line);background:#fafcfd;border-radius:10px;flex:1;justify-content:space-between;gap:8px;padding:10px 12px;display:flex}.finance-balance-strip small{color:var(--muted);font-size:11.8px}.finance-balance-strip b{color:#8a5c24;font-size:14.2px}@media (width<=760px){.finance-balance-strip{flex-direction:column}}.product-art img{object-fit:cover;border-radius:10px;width:100%;height:100%}.product-edit-button{color:#187767;background:#f5fbf8;border:1px solid #cde7df;border-radius:8px;width:100%;margin-top:10px;padding:7px 9px;font-size:13px}.product-edit-button:hover{background:#eaf6f1}.product-image-upload input[type=file]{background:#f9fbfc;min-height:auto;padding:8px}.product-image-preview{object-fit:contain;border:1px solid var(--line);background:#f4f7f8;border-radius:10px;width:100%;height:160px;padding:5px}.app-shell{min-height:100vh;display:block}.sidebar{z-index:30;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(110deg,#142744,#101b31);border-bottom:1px solid #dae7f51f;grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px 20px;width:100%;height:auto;min-height:0;padding:12px clamp(14px,3vw,36px) 9px;display:grid;position:sticky;inset-block-start:0;box-shadow:0 8px 30px #1224401f}.brand{grid-area:1/1;justify-self:start;gap:10px;padding:0 6px 2px}.brand-mark{border-radius:13px;width:39px;height:39px;font-size:26px}.brand b{font-size:22.4px}.side-label{display:none}.side-nav{scrollbar-width:none;border-top:1px solid #dae7f51f;grid-area:2/1/auto/-1;justify-content:center;align-items:center;gap:5px;min-width:0;padding:7px 0 1px;display:flex;overflow-x:auto}.side-nav::-webkit-scrollbar{display:none}.side-nav button{white-space:nowrap;border-radius:9px;flex:none;gap:8px;height:38px;padding:0 12px;font-size:14.2px}.side-nav button.selected{background:linear-gradient(#2aa28b14,#2aa28b3d);box-shadow:inset 0 -2px #50c5a7}.nav-icon{width:19px;font-size:18.9px}.side-nav i{margin-inline-start:3px;width:18px;height:18px;margin-right:0}.side-bottom{white-space:nowrap;color:#b6c4d5;border:0;grid-area:1/2;justify-self:center;margin:0;padding:0}.user-card{grid-area:1/3;justify-self:end;gap:8px;padding:0 4px}.user-card .avatar{width:32px;height:32px}.user-meta b{max-width:160px}.main-area{width:100%;margin:0 auto;padding-top:24px}@media (width<=1150px){.sidebar{gap:8px 12px;padding-inline:18px}.side-nav{justify-content:flex-start}.side-nav button{padding-inline:10px;font-size:13px}.side-bottom{font-size:11.8px}.user-meta b{max-width:120px}}@media (width<=760px){.sidebar{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr);gap:7px;padding:9px 11px 7px}.brand{grid-area:1/1;justify-self:start;padding:0 4px 1px}.brand-mark{border-radius:11px;width:33px;height:33px;font-size:23.6px}.brand b{font-size:21.2px}.brand small{font-size:11.8px}.side-label,.side-bottom,.user-card{display:none}.side-nav{grid-area:2/1;justify-content:flex-start;gap:4px;padding:6px 0 1px}.side-nav button{gap:6px;height:35px;padding:0 9px;font-size:13px}.side-nav button.selected{box-shadow:inset 0 -2px #50c5a7}.nav-icon{width:auto;font-size:17.7px}.side-nav i{width:16px;height:16px;font-size:10.6px}.main-area{padding-top:14px}}.stat-clickable{text-align:right;width:100%;color:inherit;font:inherit;cursor:pointer;transition:transform .15s,border-color .15s}.stat-clickable:hover{border-color:#9acfc2;transform:translateY(-2px)}.stat-clickable:focus-visible,.low-item-button:focus-visible{outline-offset:2px;outline:3px solid #147d7240}.low-item-button{text-align:right;width:100%;font:inherit;cursor:pointer;background:0 0;border:0}.low-item-button:hover{background:#f5faf8;border-radius:8px}.mini-danger{color:#a23d42;background:#fff7f7;border-color:#f1d2d2}.product-table-name{align-items:center;gap:8px;display:flex}.product-table-name img,.product-table-name>span{object-fit:cover;color:#208373;background:#eff5f4;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.finance-charts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0;display:grid}.dashboard-chart-panel{gap:10px;display:grid}.dashboard-chart-panel .finance-charts{grid-template-columns:repeat(3,minmax(0,1fr))}.chart-card{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;padding:14px}.chart-card .panel-heading{margin-bottom:10px}.chart-card .panel-heading h3{font-size:15.3px}.chart-bars{gap:9px;display:grid}.chart-row{grid-template-columns:minmax(65px,115px) minmax(60px,1fr) minmax(68px,auto);align-items:center;gap:8px;min-width:0;display:grid}.chart-row>span{color:#52627a;text-overflow:ellipsis;white-space:nowrap;font-size:11.8px;overflow:hidden}.chart-row>b{text-align:left;color:#263b52;font-size:11.8px}.chart-track{background:#edf2f4;border-radius:10px;height:9px;overflow:hidden}.chart-track i{border-radius:inherit;background:linear-gradient(90deg,#54b99f,#147d72);height:100%;display:block}.invoice-print-filters{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.invoice-print-filters .field-control{min-width:115px;max-width:160px}.print-filter-hint{color:var(--muted);font-size:11.8px}.print-range-label{color:#147d72;margin-top:5px;font-size:8pt;display:block}.print-report,.print-stock,.print-activity{display:none}.activity-filters{border:1px solid var(--line);background:#f8fbfa;border-radius:12px;flex-wrap:wrap;align-items:end;gap:10px;margin:14px 0 18px;padding:14px;display:flex}.activity-filters label{min-width:145px;color:var(--muted);gap:6px;font-size:13px;display:grid}.activity-filters .field-control{min-width:145px}.table-subtitle{color:var(--muted);text-align:right;overflow-wrap:anywhere;direction:ltr;margin-top:4px;font-size:11.8px;display:block}.local-report-panel{background:linear-gradient(120deg,#f7fcfa,#fff);border-color:#c6e4dc;margin-top:14px}.local-report-actions{gap:8px;display:grid}.local-report-actions p{color:#a04c35;margin:0;font-size:14.2px}.local-report-actions>small{color:var(--muted);line-height:1.7}.local-report-actions>div{flex-wrap:wrap;gap:8px;display:flex}@media (width<=760px){.dashboard-chart-panel .finance-charts,.finance-charts{grid-template-columns:1fr}.invoice-print-filters{width:100%}.invoice-print-filters .field-control{flex:1;min-width:110px}.chart-row{grid-template-columns:minmax(60px,95px) minmax(45px,1fr) minmax(58px,auto);gap:6px}}@media print{@page{size:A4;margin:13mm}body.invoice-print-mode .app-shell>.main-area,body.report-print-mode .app-shell>.main-area,body.stock-print-mode .app-shell>.main-area,body.activity-print-mode .app-shell>.main-area{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important}body.invoice-print-mode .app-shell>.sidebar,body.report-print-mode .app-shell>.sidebar,body.stock-print-mode .app-shell>.sidebar,body.activity-print-mode .app-shell>.sidebar,body.invoice-print-mode .main-area>:not(.print-invoice),body.report-print-mode .main-area>:not(.print-report),body.stock-print-mode .main-area>:not(.print-stock),body.activity-print-mode .main-area>:not(.print-activity){display:none!important}body.invoice-print-mode .print-invoice,body.report-print-mode .print-report,body.stock-print-mode .print-stock,body.activity-print-mode .print-activity{color:#172c40!important;direction:rtl!important;background:#fff!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important;font:10pt/1.55 Tahoma,Arial,sans-serif!important;display:block!important;position:static!important;inset:auto!important}body.invoice-print-mode .print-invoice-header,body.report-print-mode .print-report-header,body.stock-print-mode .print-report-header{border:0;border-bottom:3px solid #147d72;align-items:center;gap:12px;margin-bottom:16px;padding:0 0 14px;display:flex}body.invoice-print-mode .print-brand-mark,body.report-print-mode .print-brand-mark,body.stock-print-mode .print-brand-mark{-webkit-print-color-adjust:exact;print-color-adjust:exact;border-radius:15px;flex:none;width:48px;height:48px;color:#fff!important;background:#147d72!important}.print-report-header h1,.print-invoice-header h1{letter-spacing:-.04em;margin:0;font-size:22pt}.print-report-header p,.print-invoice-header p{color:#6b7b8e;margin:3px 0 0;font-size:9pt}.print-report-date{text-align:left;gap:3px;margin-right:auto;display:grid}.print-report-date small,.print-invoice-number small,.print-market small{color:#6b7b8e;font-size:8pt}.print-report-date b{font-size:9pt}.print-report-summary{grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0 18px;display:grid}.print-report-summary>div{-webkit-print-color-adjust:exact;print-color-adjust:exact;border:1px solid #e1e9eb;border-radius:9px;gap:4px;padding:10px;display:grid;background:#f8fbfa!important}.print-report-summary small{color:#617187;font-size:8pt}.print-report-summary b{color:#147d72;font-size:11pt}.print-report-title{margin:14px 0 9px;font-size:13pt}.print-report-invoice{break-inside:avoid;page-break-inside:avoid;border:1px solid #dce5e8;border-radius:10px;margin:0 0 12px;padding:10px}.print-report-invoice>header{border-bottom:1px solid #e6ecee;justify-content:space-between;gap:10px;margin-bottom:7px;padding-bottom:8px;display:flex}.print-report-invoice>header>div{gap:3px;display:grid}.print-report-invoice>header>div:last-child{text-align:left}.print-report-invoice>header b{font-size:9pt}.print-report-invoice>header span{color:#607187;font-size:8pt}.print-report-invoice>footer{justify-content:flex-end;gap:18px;padding-top:8px;font-size:8pt;display:flex}.print-report-invoice>footer b{color:#147d72}.print-invoice-number{text-align:left;gap:3px;margin-right:auto;display:grid}.print-invoice-number b{color:#147d72;font-size:16pt}.print-market{border:1px solid #dce5e8;border-radius:9px;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0;padding:11px;display:grid}.print-market>div{gap:4px;display:grid}.print-market b{font-size:9pt}.print-section-title{justify-content:space-between;align-items:center;margin:15px 0 8px;font-size:10pt;display:flex}.print-section-title span{color:#64748a;font-size:8pt}.print-items{white-space:normal;border-collapse:collapse;width:100%}.print-items th{-webkit-print-color-adjust:exact;print-color-adjust:exact;border-bottom:1px solid #d8e5e1;padding:9px;font-size:8pt;color:#204c48!important;background:#edf5f3!important}.print-items td{border-bottom:1px solid #e9eef0;padding:8px;font-size:8.5pt}.print-items tr{break-inside:avoid;page-break-inside:avoid}.print-product-detail{color:#6d7d8b;margin-top:3px;font-size:7.5pt;display:block}.print-bottom-grid{grid-template-columns:1fr 1fr;gap:18px;margin-top:15px;display:grid}.print-notes-box{border:1px solid #e1e8ec;border-radius:8px;min-height:60px;padding:10px}.print-notes-box b{color:#5a6d80;font-size:8pt}.print-notes-box p{margin:6px 0 0;font-size:9pt}.print-totals{border:1px solid #e1e8ec;border-radius:8px;gap:7px;width:100%;margin:0;padding:10px;display:grid}.print-totals>div{justify-content:space-between;gap:10px;font-size:8.5pt;display:flex}.print-total,.print-balance{color:#116c61;border-top:1px solid #cfddda;padding-top:7px;font-weight:700}.print-signatures{grid-template-columns:repeat(3,1fr);gap:24px;margin-top:38px;display:grid}.print-signatures span{text-align:center;border-top:1px solid #83919d;padding-top:8px;font-size:8pt}.print-thanks{text-align:center;color:#4b796f;margin:25px 0 0;font-size:8pt}.print-stock .print-items{margin-top:15px}.print-stock .print-items td,.print-stock .print-items th{font-size:8pt}.print-report-invoice table{margin-top:6px}.print-report-invoice+.print-report-invoice{break-before:auto}body.invoice-print-mode .main-area,body.report-print-mode .main-area,body.stock-print-mode .main-area,body.activity-print-mode .main-area{background:#fff!important}}.permission-option{color:#24394e;cursor:pointer;background:#f7fbfa;border:1px solid #dce8e6;border-radius:12px;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.permission-option input{accent-color:#147d72;flex:none;width:17px;height:17px;margin:2px 0 0}.permission-option span{gap:4px;display:grid}.permission-option b{font-size:15.3px}.permission-option small{color:#6c7d8c;font-size:13px}body,body *{font-family:IBM Plex Sans Arabic,Tahoma,Arial,sans-serif;font-weight:700!important}:root{--bg:#f2f6f8;--paper:#fff;--ink:#193247;--muted:#687d8d;--line:#dfe8eb;--teal:#11786d;--teal-dark:#0b625b;--nav:#132c43;--mint:#e7f5ef;--amber:#fff3de;--rose:#fff0ef;--blue:#edf2ff;--shadow:0 8px 28px #16344612;--violet:#7660a8;--gold:#b98034}.button,.field-control,.side-nav button{min-height:44px}.button-primary{background:linear-gradient(135deg,#168b78,#0f7168);box-shadow:0 5px 14px #11786d33}.button-primary:hover:not(:disabled){background:linear-gradient(135deg,#0f7768,#0a5f59)}.button-quiet:hover:not(:disabled){color:#0c625b;background:#eff7f5;border-color:#b6d7d0}.side-nav button{transition:background-color .18s,color .18s,box-shadow .18s}.side-nav button.selected{color:#fff;background:linear-gradient(90deg,#21978221,#21978257);box-shadow:inset -3px 0 #59d0ad}.field-control:focus-visible,.button:focus-visible,.mini-action:focus-visible,.side-nav button:focus-visible{outline-offset:2px;outline:3px solid #1b907e47}.stat-card{border-top:3px solid #d8e9e7}.stat-card:has(.stat-icon.mint){border-top-color:#58ad98}.stat-card:has(.stat-icon.amber){border-top-color:#d39a4a}.stat-card:has(.stat-icon.rose){border-top-color:#d27378}.stat-card:has(.stat-icon.blue){border-top-color:#7189c2}.status-new{color:#835718;background:#fff0d5}.status-preparing{color:#455f9e;background:#edf1ff}.status-ready,.status-closed{color:#17674f;background:#e5f4ec}.status-partially_paid{color:#9b5b1d;background:#fff0e0}.status-cancelled,.status-low{color:#a33f46;background:#fff0ef}.report-card,.report-metric,.chart-card,.market-card,.finance-breakdown{box-shadow:0 4px 16px #1836490b}.report-card{border-top:3px solid #7fc7b5;min-height:112px}.report-card:hover{transform:translateY(-2px);box-shadow:0 10px 20px #18364914}.invoice-quantity-control button,.mini-action,.product-edit-button{min-height:40px}.invoice-quantity-control button{color:#0e6d61;background:#eaf7f2;border-color:#b9dcd2}.invoice-quantity-control button:hover:not(:disabled){background:#d8f0e7}.alert-error{color:#913a3f;background:#fff3f1;border-color:#f1c8c3}.alert-success{color:#1d6a43;background:#eaf7ef;border-color:#c8e6d1}.local-report-panel{border-inline-start:4px solid #188778}.stock-receipt-fields{gap:12px;display:grid}.stock-product-results{border:1px solid var(--line);background:#fff;border-radius:12px;max-height:260px;display:grid;overflow:auto}.stock-product-option{border:0;text-align:right;min-height:58px;color:var(--ink);background:#fff;border-bottom:1px solid #edf1f4;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 11px;display:grid}.stock-product-option:last-child{border-bottom:0}.stock-product-option:hover,.stock-product-option:focus-visible{background:#edf7f3;outline:0}.stock-product-option>span:nth-child(2){gap:3px;min-width:0;display:grid}.stock-product-option b{text-overflow:ellipsis;font-size:14.2px;overflow:hidden}.stock-product-option small,.stock-product-option>span:last-child{color:var(--muted);font-size:11.8px}.stock-selected-product{background:linear-gradient(115deg,#f1faf6,#fff);border:1px solid #aed7cc;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:13px;display:flex}.stock-selected-product>div{gap:5px;min-width:0;display:grid}.stock-selected-product b{color:#17574f;font-size:15.3px}.stock-selected-product small{color:var(--muted);white-space:normal;font-size:11.8px}.stock-price-edit{background:#f7fafb;border:1px solid #dce8e8;border-radius:12px;gap:10px;padding:13px;display:grid}.stock-price-edit>b{color:#244253;gap:3px;font-size:14.2px;display:grid}.stock-price-edit .form-row{margin:0}.stock-price-edit label small{line-height:1.5}.print-invoice,.print-report,.print-stock,.print-activity{color:#193247}.print-invoice-header,.print-report-header{background:linear-gradient(110deg,#fff 0%,#f3faf8 100%);border-bottom:3px solid #147d72;padding:0 0 15px}.print-brand-mark{background:linear-gradient(145deg,#1b9a82,#12655f);box-shadow:0 5px 13px #126f632e}.print-market{background:#f7fafb;border-color:#dae5e8}.print-market>div{border-inline-start:2px solid #82c1b1;padding:8px 10px}.print-market small{color:#647a88}.print-items{border:1px solid #dce6e9;border-radius:9px;overflow:hidden}.print-items th{color:#164c47!important;background:#e8f3f1!important}.print-items tbody tr:nth-child(2n){-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#f8fafb!important}.print-totals{background:#f7fafb;border-color:#d9e5e8}.print-total{color:#0d6e60;border-top:2px solid #9acfc1}.print-thanks{color:#28796d}.print-report-summary>div{border-top:2px solid #64ad9c}.print-report-title{color:#163e46;border-right:4px solid #168574;padding-right:9px}.print-report-invoice{background:#fff;border-color:#d7e4e6}.print-report-invoice>header{border-bottom-color:#d8e5e6}.activity-filters{background:#f4f9f8;border-color:#d6e7e3}@media (width<=760px){.button{min-height:44px;padding-inline:12px}.field-control{min-height:44px}.report-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-filters label,.activity-filters .field-control{width:100%}}@media print{.print-invoice-header,.print-report-header{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#f3faf8!important}.print-items{border-radius:0}.print-items th{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#e8f3f1!important}.print-market,.print-totals{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#f7fafb!important}.print-report-invoice{border-radius:7px}}.invoice-market-picker{gap:8px;display:grid}.invoice-market-picker>b{color:var(--ink);font-size:14.2px}.invoice-market-selected{background:#f4faf8;border:1px solid #cfe4de;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.invoice-market-selected>span{gap:3px;min-width:0;display:grid}.invoice-market-selected strong{color:var(--ink);font-size:15.3px}.invoice-market-selected small,.invoice-market-result small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11.8px;overflow:hidden}.invoice-market-results{gap:5px;max-height:180px;display:grid;overflow:auto}.invoice-market-result{text-align:right;border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:9px;gap:3px;padding:9px 11px;display:grid}.invoice-market-result:hover,.invoice-market-result:focus-visible{background:#f4faf8;border-color:#8dcac0}.invoice-market-result strong{font-size:14.2px}.invoice-product-name{width:100%;color:var(--ink);text-align:right;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;padding:0;font-size:14.2px;font-weight:800;overflow:hidden}.invoice-product-name:hover:not(:disabled){color:var(--teal);text-decoration:underline}.invoice-product-name:disabled{cursor:not-allowed;opacity:.6}.invoice-product-total{border-top:1px dashed var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:6px;padding-top:5px;font-size:11.8px;display:flex}.invoice-product-total b{color:var(--teal-dark);font-size:13px}.invoice-picker-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))}@media (width<=520px){.modal-backdrop{padding:8px}.modal-card{border-radius:13px;max-height:96dvh;padding:14px}.invoice-picker-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:7px;max-height:46dvh}.invoice-product-card{gap:6px;padding:8px}.picker-head{flex-direction:column;align-items:stretch}.picker-head .field-control{height:40px}.invoice-quantity-control{grid-template-columns:36px minmax(50px,1fr) 36px}.invoice-quantity-control button{height:40px}}.print-size-dialog{width:min(470px,100%)}.print-size-options{gap:8px;margin:14px 0 16px;display:grid}.print-size-options .permission-option{align-items:center}.print-size-options .permission-option:has(input:checked){background:#eff9f5;border-color:#69bca8;box-shadow:0 0 0 2px #147d7214}.print-invoice-header .print-store-title{gap:2px;display:grid}.print-store-contact{color:#4d6974;text-align:right;direction:ltr;font-size:8pt}.invoice-payment-status{color:#98601c;background:#fff3e8;border-radius:99px;width:max-content;margin-top:4px;padding:3px 7px;font-size:8pt;display:inline-block}.invoice-payment-status.is-paid{color:#087452;background:#e8f7f0}.print-watermark,.receipt-items-list{display:none}@media print{@page cashier-receipt{size:80mm auto;margin:3mm}body.invoice-print-receipt .print-invoice{page:cashier-receipt;width:74mm!important;max-width:74mm!important;font-size:8pt!important;overflow:hidden!important}body.invoice-print-a4 .print-invoice{page:auto;width:100%!important;max-width:none!important}body.invoice-print-receipt .print-invoice-header{text-align:center;flex-direction:column;align-items:center;gap:4px;display:flex;border-bottom:1px dashed #667!important;margin-bottom:7px!important;padding:0 0 7px!important}body.invoice-print-receipt .print-brand-mark{border-radius:8px;width:28px;height:28px;font-size:18pt}body.invoice-print-receipt .print-store-title h1{letter-spacing:0;font-size:14pt}body.invoice-print-receipt .print-store-title p{color:#263b52;margin:0;font-size:7pt}body.invoice-print-receipt .print-store-contact{font-size:7pt}body.invoice-print-receipt .print-invoice-number{text-align:center;justify-items:center;gap:2px;margin:3px 0 0}body.invoice-print-receipt .print-invoice-number b{font-size:11pt}body.invoice-print-receipt .print-invoice-number small,body.invoice-print-receipt .invoice-payment-status{font-size:7pt}body.invoice-print-receipt .print-market{border:1px dashed #aaa;border-left:0;border-right:0;border-radius:0;grid-template-columns:1fr;gap:3px;margin:7px 0;padding:6px 0}body.invoice-print-receipt .print-market>div{justify-content:space-between;gap:5px;display:flex}body.invoice-print-receipt .print-market small,body.invoice-print-receipt .print-market b{color:#222;font-size:7pt}body.invoice-print-receipt .receipt-items-list{display:grid}body.invoice-print-receipt .receipt-item{break-inside:avoid;page-break-inside:avoid;border-bottom:1px dotted #aaa;padding:5px 0}body.invoice-print-receipt .receipt-item-main{justify-content:space-between;align-items:start;gap:4px;font-size:7.5pt;display:flex}body.invoice-print-receipt .receipt-item-main b:first-child{overflow-wrap:anywhere;max-width:48mm}body.invoice-print-receipt .receipt-item small{color:#384b56;margin-top:2px;font-size:6.5pt;display:block}body.invoice-print-receipt .print-totals{border:0;border-top:1px solid #555;border-radius:0;gap:4px;width:100%;margin:8px 0 0;padding:6px 0;background:0 0!important}body.invoice-print-receipt .print-totals>div{font-size:7.5pt}body.invoice-print-receipt .print-total{border-top:1px dashed #777;padding-top:5px}body.invoice-print-receipt .print-signatures{grid-template-columns:1fr;gap:0;margin-top:14px}body.invoice-print-receipt .print-signatures span{padding-top:5px;font-size:7pt}body.invoice-print-receipt .print-thanks{margin:10px 0 0;font-size:7pt}body.invoice-print-receipt .print-notes{margin:5px 0;padding:4px;font-size:7pt;background:0 0!important}body.invoice-print-mode .print-invoice-paid{position:relative!important}body.invoice-print-mode .print-invoice-paid .print-watermark{z-index:0;white-space:nowrap;color:#08745226;pointer-events:none;border:3px solid #0874522b;padding:12px 22px;font-size:30pt;line-height:1;display:block;position:absolute;top:46%;left:50%;transform:translate(-50%,-50%)rotate(-25deg);font-weight:800!important}body.invoice-print-mode .print-invoice-paid>:not(.print-watermark){z-index:1;position:relative}body.invoice-print-receipt .print-invoice-paid .print-watermark{border-width:2px;padding:7px 12px;font-size:13pt}}.movement-invoice-row{cursor:pointer}.movement-invoice-row:hover td{background:#eef8f4}.movement-invoice-row:focus-visible{outline-offset:-3px;outline:3px solid #4cb99e}.movement-cell-button{width:100%;min-height:40px;color:inherit;font:inherit;text-align:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;align-content:center;gap:2px;padding:4px 3px;display:grid}.movement-cell-button:hover{color:#0d6e60;background:#e1f2eb}.movement-cell-button:focus-visible{outline-offset:-2px;outline:2px solid #147d72}.movement-cell-button:disabled{cursor:wait;opacity:.65}.movement-invoice-link{color:#14745f;white-space:nowrap;background:#f0faf5;border:1px solid #c9e7dc;border-radius:7px;padding:4px 8px;font-size:12px;display:inline-flex}.movement-invoice-modal{width:min(850px,100%)}.movement-invoice-summary{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px;margin-bottom:14px;display:grid}.movement-invoice-summary>div{border:1px solid var(--line);background:#f9fbfc;border-radius:9px;gap:4px;padding:10px;display:grid}.movement-invoice-summary small{color:var(--muted);font-size:12px}.movement-invoice-summary b{font-size:14px}.movement-invoice-items{border:1px solid var(--line);border-radius:10px;max-height:42vh;overflow:auto}.movement-invoice-items .empty-state{padding:10px}.movement-invoice-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:13px 0;display:grid}.movement-invoice-totals>div{background:#f6f9fa;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:9px 11px;display:flex}.movement-invoice-totals .movement-invoice-due{color:#0d6e60;background:#edf8f3}@media (width<=520px){.movement-invoice-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.movement-invoice-totals{grid-template-columns:1fr}.movement-invoice-items{max-height:48vh}}@media print{body.invoice-print-receipt .receipt-items-list{display:table!important}body.invoice-print-a4 .print-items th{padding:10px 8px!important;font-size:10pt!important}body.invoice-print-a4 .print-items td{padding:9px 8px!important;font-size:10pt!important}body.invoice-print-receipt .print-invoice{font-size:9pt!important;line-height:1.6!important}body.invoice-print-receipt .print-store-title h1{font-size:16pt}body.invoice-print-receipt .print-store-title p,body.invoice-print-receipt .print-store-contact{font-size:8pt}body.invoice-print-receipt .print-invoice-number b{font-size:12pt}body.invoice-print-receipt .print-invoice-number small,body.invoice-print-receipt .invoice-payment-status,body.invoice-print-receipt .print-market small,body.invoice-print-receipt .print-market b{font-size:8pt}body.invoice-print-receipt .receipt-items-list{table-layout:fixed;border-collapse:collapse;width:100%;border:1px solid #555!important}body.invoice-print-receipt .receipt-items-list th{color:#173e3a!important;background:#eaf3f1!important;border:1px solid #999!important;padding:5px 2px!important;font-size:8.5pt!important}body.invoice-print-receipt .receipt-items-list td{text-align:center;vertical-align:top;overflow-wrap:anywhere;line-height:1.45;border:1px solid #aaa!important;padding:5px 2px!important;font-size:8.2pt!important}body.invoice-print-receipt .receipt-items-list th:first-child,body.invoice-print-receipt .receipt-items-list td:first-child{width:8%}body.invoice-print-receipt .receipt-items-list th:nth-child(2),body.invoice-print-receipt .receipt-items-list td:nth-child(2){text-align:right;width:34%}body.invoice-print-receipt .receipt-items-list th:nth-child(3),body.invoice-print-receipt .receipt-items-list td:nth-child(3){width:12%}body.invoice-print-receipt .receipt-items-list th:nth-child(4),body.invoice-print-receipt .receipt-items-list td:nth-child(4){width:21%;font-size:7.6pt!important}body.invoice-print-receipt .receipt-items-list th:nth-child(5),body.invoice-print-receipt .receipt-items-list td:nth-child(5){width:25%;font-size:7.6pt!important;font-weight:800!important}body.invoice-print-receipt .receipt-items-list .print-product-detail{overflow-wrap:anywhere;margin-top:2px;line-height:1.35;display:block;font-size:7pt!important}body.invoice-print-receipt .receipt-unit{color:#333;font-size:6.8pt;display:block}body.invoice-print-receipt .print-totals>div{font-size:9pt!important}body.invoice-print-receipt .print-payment-type{-webkit-print-color-adjust:exact;print-color-adjust:exact;border:1px solid #b8d9ca;border-radius:4px;padding:5px 6px;background:#edf7f3!important}body.invoice-print-receipt .print-total b,body.invoice-print-receipt .print-balance b{font-size:10pt}body.invoice-print-receipt .print-invoice-paid .print-watermark{color:#08745238;border-color:#0874523d;font-size:14pt}}.activity-filters .activity-print-button{white-space:nowrap;align-self:end;min-width:145px}@media (width<=760px){.activity-filters .activity-print-button{width:100%}}.invoice-modal-card{width:min(1260px,100vw - 36px);max-height:min(96vh,1040px);padding:clamp(16px,2vw,26px)}.invoice-modal-card .modal-head h2{font-size:24px}.invoice-modal-card .modal-form{gap:16px}.invoice-builder-layout{direction:rtl;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);align-items:start;gap:14px;display:grid}.invoice-stock-panel,.invoice-selected-panel{border:1px solid var(--line);background:#fbfdfd;border-radius:15px;min-width:0;padding:15px}.invoice-stock-panel{border-color:#dce8e7}.invoice-selected-panel{background:linear-gradient(160deg,#f5fbf8,#fff);border-color:#cbe3dc;flex-direction:column;gap:10px;display:flex;position:sticky;top:0}.invoice-builder-section-title{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.invoice-builder-section-title>div{gap:3px;display:grid}.invoice-builder-section-title h3{color:#18384a;margin:0;font-size:18px}.invoice-builder-section-title p{color:var(--muted);margin:0;font-size:13px}.invoice-builder-section-title>span{color:#147d72;background:#eaf5f1;border-radius:999px;flex:none;padding:6px 10px;font-size:13px}.invoice-picker-grid{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:12px;max-height:min(58vh,620px);padding:4px}.invoice-product-card{border-radius:14px;gap:10px;min-height:220px;padding:14px;box-shadow:0 4px 14px #142d410e}.invoice-product-card-head img,.invoice-product-placeholder{border-radius:12px;width:66px;height:66px;font-size:25px}.product-code{font-size:13px}.invoice-product-info{gap:5px}.invoice-product-name{white-space:normal;min-height:34px;font-size:17px;line-height:1.4}.invoice-product-info small{white-space:normal;min-height:18px;font-size:13px;line-height:1.45}.invoice-product-meta{flex-direction:column;align-items:flex-start;gap:3px}.invoice-product-meta strong{font-size:17px}.invoice-product-meta span{font-size:12px}.invoice-quantity-control{grid-template-columns:44px minmax(55px,1fr) 44px;gap:8px}.invoice-quantity-control button{border-radius:10px;height:44px;font-size:25px}.invoice-quantity-control input{min-height:44px;font-size:17px}.selected-invoice-list{overscroll-behavior:contain;gap:9px;max-height:min(52vh,520px);padding:2px;display:grid;overflow:auto}.selected-invoice-item{background:#fff;border:1px solid #dce9e5;border-radius:12px;gap:9px;padding:11px;display:grid}.selected-invoice-item-heading{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.selected-invoice-item-heading>div{gap:4px;min-width:0;display:grid}.selected-invoice-item-heading b{overflow-wrap:anywhere;font-size:15px;line-height:1.4}.selected-invoice-item-heading small{color:var(--muted);font-size:12px;line-height:1.5}.selected-invoice-item-heading>strong{color:#147d72;flex:none;font-size:14px}.selected-invoice-item-actions{align-items:center;gap:8px;display:flex}.selected-invoice-item-actions .invoice-quantity-control{flex:1}.selected-invoice-item-actions .mini-action{white-space:nowrap;min-height:40px}.selected-invoice-empty{text-align:center;color:#47636b;background:#ffffffb3;border:1px dashed #c7dad4;border-radius:12px;align-content:center;justify-items:center;gap:8px;min-height:180px;padding:18px;display:grid}.selected-invoice-empty>span{color:#147d72;background:#e6f4ee;border-radius:50%;place-items:center;width:42px;height:42px;font-size:27px;display:grid}.selected-invoice-empty b{font-size:15px}.selected-invoice-empty small{color:var(--muted);font-size:13px;line-height:1.6}.invoice-selected-panel .invoice-cart-summary{z-index:2;background:#eaf7f1;border:1px solid #b9ddcf;gap:8px;padding:13px;font-size:14px;position:sticky;bottom:0}.invoice-selected-panel .invoice-cart-summary b{font-size:18px}.invoice-modal-card .modal-actions{z-index:4;background:#fff;margin:0 -5px;padding:10px 5px 3px;position:sticky;bottom:-26px}@media (width<=900px){.invoice-modal-card{width:min(100%,760px)}.invoice-builder-layout{grid-template-columns:1fr}.invoice-selected-panel{order:2;position:static}.invoice-picker-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));max-height:45vh}.selected-invoice-list{max-height:32vh}}@media (width<=520px){.invoice-modal-card{width:100%;max-height:96dvh;padding:13px}.invoice-modal-card .modal-head h2{font-size:20px}.invoice-stock-panel,.invoice-selected-panel{padding:10px}.invoice-builder-layout{gap:10px}.invoice-builder-section-title h3{font-size:16px}.invoice-builder-section-title p{font-size:12px}.invoice-picker-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));gap:9px;max-height:42dvh}.invoice-product-card{gap:8px;min-height:0;padding:11px}.invoice-product-card-head img,.invoice-product-placeholder{width:56px;height:56px}.invoice-product-name,.invoice-product-meta strong{font-size:16px}.selected-invoice-list{max-height:30dvh}.selected-invoice-item{padding:9px}.selected-invoice-item-actions{flex-wrap:wrap;align-items:stretch}.selected-invoice-item-actions .invoice-quantity-control{min-width:180px}.selected-invoice-item-actions .mini-action{flex:1}.invoice-modal-card .modal-actions{bottom:-13px}}.invoice-review-card{gap:12px;display:grid}.invoice-review-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.invoice-review-heading h3{margin:3px 0 0;font-size:20.1px}.invoice-review-date{color:var(--muted);font-size:13px}.invoice-review-market{border:1px solid var(--line);background:#f8fafc;border-radius:10px;gap:3px;padding:11px 13px;display:grid}.invoice-review-market span,.invoice-review-market small{color:var(--muted);font-size:11.8px}.invoice-review-market b{font-size:16.5px}.invoice-review-table{border:1px solid var(--line);border-radius:10px;max-height:38vh;overflow:auto}.invoice-review-table table{min-width:490px}.invoice-review-table td:first-child{min-width:140px}.invoice-review-product-code{color:var(--muted);margin-top:3px;font-size:10.6px;display:block}.invoice-review-grand-total{color:#244d4b;background:#eaf6f2;border-radius:11px;justify-content:space-between;align-items:center;gap:8px;padding:14px;font-size:15.3px;display:flex}.invoice-review-grand-total b{color:var(--teal-dark);font-size:23.6px}@media (width<=520px){.invoice-review-table{max-height:42dvh}.invoice-review-heading h3{font-size:17.7px}.invoice-review-grand-total{padding:12px}.invoice-review-grand-total b{font-size:20.1px}}.invoice-review-notes{border:1px solid var(--line);border-radius:9px;gap:4px;padding:10px 12px;font-size:13px;display:grid}.invoice-review-notes b{color:var(--muted);font-size:11.8px}.invoice-review-notes span{white-space:pre-wrap}.category-edit-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:8px;display:grid}.category-edit-row{border:1px solid var(--line);background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.category-edit-row>span{gap:3px;min-width:0;display:grid}.category-edit-row b{font-size:14.2px}.category-edit-row small{color:var(--muted);font-size:11.8px}.brand-mark img{object-fit:contain;background:#fff;border-radius:9px;width:78%;height:78%;padding:3px;display:block}.hero-mark img{object-fit:contain;background:#fff;border-radius:17px;width:74%;height:74%;padding:6px;display:block}.print-brand-mark img{object-fit:contain;border-radius:inherit;background:#fff;width:100%;height:100%;padding:4px;display:block}.recurring-expense-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.recurring-expense-card{border:1px solid var(--line);background:#fbfdfd;border-radius:13px;justify-content:space-between;align-items:center;gap:14px;padding:15px;display:flex}.recurring-expense-card>div:first-child{min-width:0}.recurring-expense-card small{color:var(--muted)}.recurring-expense-card h4{margin:5px 0;font-size:15px}.recurring-expense-card b{color:var(--teal-dark);font-size:17px}.recurring-expense-card b span{color:var(--muted);font-size:12px}.recurring-expense-card p{color:var(--muted);margin:5px 0 0;font-size:12px}.recurring-expense-card.is-paused{opacity:.65;background:#f5f6f7}@media (width<=760px){.recurring-expense-list{grid-template-columns:1fr}.recurring-expense-card{flex-direction:column;align-items:flex-start}}.price-print-row{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;display:flex}.price-print-info{gap:7px;min-width:0;display:grid}.price-print-info small{color:var(--muted);line-height:1.7}.price-print-row .toolbar{flex-shrink:0}.invoice-print-stamp,.invoice-print-history{color:#12394c;break-inside:avoid;border-top:1px solid #b8cbd5;padding-top:10px;font-size:12px;line-height:1.7}.invoice-print-history p{margin:3px 0}.print-invoice-receipt .invoice-print-stamp{font-size:11px}.invoice-workflow-cell{min-width:140px}.invoice-workflow-cell>div{border-bottom:1px solid #dce7f0;padding:5px 0}.invoice-workflow-cell small,.invoice-workflow-details small{color:#516779;font-size:12px;display:block}.invoice-workflow-details{break-inside:avoid;border:1px solid #cbdde8;border-radius:12px;margin-top:14px;padding:12px}.invoice-workflow-details>div{border-bottom:1px solid #e4edf3;padding:6px 0}.rep-product-gallery{grid-template-columns:repeat(auto-fill,minmax(min(100%,160px),1fr));gap:16px;display:grid}.rep-product-card{background:#fff;border:1px solid #c6dbe9;border-radius:20px;min-width:0;overflow:hidden;box-shadow:0 5px 14px #0b4a6e0b}.rep-product-photo{aspect-ratio:1;background:#f1f7fc;place-items:center;padding:16px;display:grid;position:relative}.rep-product-photo>img{object-fit:contain;width:100%;height:100%}.rep-product-placeholder{color:#55758c;place-items:center;gap:10px;font-size:12px;display:grid}.rep-product-placeholder img{opacity:.35;width:42px;height:42px}.rep-stock-badge{color:#146451;background:#dff5ed;border-radius:20px;padding:5px 9px;font-size:12px;font-weight:900;position:absolute;inset:10px 10px auto auto}.rep-stock-badge.is-empty{color:#a7203b;background:#ffe2e6}.rep-product-details{gap:8px;padding:16px;display:grid}.rep-product-code{color:#55758c;text-align:right;direction:ltr;font:800 12px ui-monospace,monospace}.rep-product-details h3{overflow-wrap:anywhere;margin:0;font-size:18px;line-height:1.5}.rep-product-details p{color:#4c687d;margin:0;font-size:14px;line-height:1.6}.rep-product-price{color:#075f91;font-size:23px;line-height:1.5}.rep-product-price small{color:#526e82;font-size:12px}.rep-product-stock{color:#24526f;border-top:1px solid #e3edf4;padding-top:9px;font-size:14px}.rep-product-stock b{font-size:20px}.rep-product-card.is-empty{background:#fff3f5;border-color:#eeacb8}.rep-product-card.is-empty .rep-product-photo{background:#fff0f2}.rep-product-card.is-empty .rep-product-stock{color:#a7203b}.invoice-revision-panel{background:linear-gradient(125deg,#fff 0%,#f2fbf8 100%);border-color:#cce8df}.invoice-revision-panel .low-item{gap:10px}.invoice-revision-panel .low-item .button{margin-right:auto}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media print{.skip-navigation{display:none!important}}@media screen{:root{--bg:#e7eff6;--paper:#fff;--ink:#18354b;--muted:#435e73;--line:#b4c8d9;--teal:#216795;--teal-dark:#195276;--nav:#2e3943;--mint:#f0f2f4;--amber:#fff4dd;--rose:#fff0f2;--blue:#eef0ff;--violet:#9cadbb;--gold:#d99820;--shadow:0 5px 22px #2a3d480a;--radius:18px;--chart-1:#216795;--chart-2:#9cadbb;--chart-3:#e3a227;--chart-4:#4286df;--chart-5:#e36d83}body{background:#e7eff6;font-size:17px;line-height:1.65}button,input,select,textarea{font-family:inherit}button,a,input,select,textarea{touch-action:manipulation}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #869bad}.skip-navigation{background:var(--ink);color:#fff;z-index:200;border-radius:12px;padding:10px 20px;position:fixed;inset-block-start:-100px;inset-inline-start:16px}.skip-navigation:focus{inset-block-start:12px}.app-shell>.sidebar{color:var(--ink);border-bottom:1px solid var(--line);-webkit-backdrop-filter:none;backdrop-filter:none;background:#fffffff7;gap:15px 24px;padding:17px clamp(18px,3.3vw,54px) 0;box-shadow:0 3px 20px #24354e09}.brand{color:var(--ink);gap:11px;padding:0}.brand b{letter-spacing:-1px;font-size:26px;line-height:1.35}.brand small{color:var(--muted);margin-top:3px;font-size:13px}.brand-mark{width:48px;height:48px;box-shadow:none;background:#f0f2f4;border:1px solid #b1c6d6;border-radius:15px}.brand-mark img{opacity:.82;background:0 0;border-radius:0;padding:5px}.side-bottom{color:#627587;gap:9px;font-size:13px}.online-dot{background:#0caa77;box-shadow:0 0 0 4px #e6f8ef}.user-card{gap:10px}.user-card .avatar{color:#6f889d;background:#f4f5f6;border-radius:13px;width:40px;height:40px;font-size:19px}.user-meta b{color:var(--ink);max-width:180px;font-size:15px}.user-meta small{color:var(--muted);font-size:13px}.app-shell .side-nav{border-top:1px solid #eff2f6;justify-content:center;gap:6px;padding:9px 0;scroll-padding-inline:12px}.app-shell .side-nav button{color:#65758a;height:44px;min-height:44px;box-shadow:none;border-radius:11px;gap:9px;padding:0 17px;font-size:15px;font-weight:700}.app-shell .side-nav button:hover{color:#647d92;background:#f5f6f7}.app-shell .side-nav button.selected{color:#596f83;box-shadow:none;background:#f0f2f4}.nav-icon{place-items:center;width:20px;height:22px;display:grid}.nav-icon svg{stroke-width:1.8px;width:20px;height:20px}.side-nav i{color:#a34e0a;background:#ffeddd;width:auto;min-width:20px;padding:0 5px;font-size:13px}.main-area{grid-template-columns:minmax(0,1fr);gap:22px;max-width:1560px;padding:26px clamp(18px,3.3vw,54px) 48px}.main-area>*,.grid-two>*{min-width:0}.main-area:focus{outline:0}.topbar{gap:14px;margin:0}.title-block>span{color:#768599;font-size:13px}.title-block h1{letter-spacing:-.7px;flex-wrap:wrap;align-items:center;gap:13px;margin-top:5px;font-size:28px;line-height:1.4;display:flex}.workspace-role{color:#6e879c;letter-spacing:0;background:#f0f2f4;border-radius:7px;padding:4px 9px;font-size:13px}.top-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px}.today{color:#6f7f91;margin-inline-end:9px;padding:0;font-size:13px}.button{min-height:45px;box-shadow:none;white-space:nowrap;border-radius:11px;justify-content:center;align-items:center;gap:8px;padding:9px 17px;font-size:15px;font-weight:700;line-height:1.45;display:inline-flex}.button-primary{background:#216795;box-shadow:0 4px 12px #21679520}.button-primary:hover:not(:disabled){background:#195276;box-shadow:0 5px 12px #21679524}.button-quiet:hover:not(:disabled){color:#60798e;background:#f7f8f8;border-color:#ccd5dc}.button-small{min-height:35px;padding:6px 10px;font-size:13px}.button-logout{min-height:43px;color:#b95060!important;background:#fff8f8!important;border-color:#f0dce0!important}.button-logout:hover:not(:disabled){background:#ffedf0!important}.refresh-button{border-radius:12px;width:43px;min-height:43px;padding:0}.icon-spinning{animation:1s linear infinite ui-spin}.hero{isolation:isolate;background:linear-gradient(112deg,#1e587f 0%,#286c98 56%,#3277a0 100%);border-radius:22px;min-height:235px;padding:29px 35px;box-shadow:0 12px 30px #5d74891c}.hero:after{z-index:-1;border-color:#ffffff15;width:480px;height:480px;top:-170px;left:-180px;box-shadow:0 0 0 45px #ffffff04,0 0 0 90px #ffffff03}.hero-content{z-index:2;max-width:70%}.hero-kicker{color:#e4edf5;background:#ffffff0c;border:1px solid #ffffff25;border-radius:7px;align-items:center;gap:6px;padding:5px 10px;font-size:13px;font-weight:600;display:inline-flex}.hero h2{letter-spacing:-.9px;margin:10px 0 5px;font-size:clamp(29px,2.7vw,39px);line-height:1.55}.hero h2 br{display:none}.hero p{color:#dce9f4;max-width:680px;font-size:15px;line-height:1.9}.hero-actions{flex-wrap:wrap;align-items:center;gap:9px;margin-top:17px;display:flex}.hero-actions .button{min-height:41px;padding:9px 14px;font-size:13px}.hero-primary{color:#5b7185;background:#fff;border:1px solid #fff}.hero-art{flex:none;place-items:center;width:230px;height:160px;margin-inline:16px;display:grid;position:relative}.hero-orbit{border:1px solid #ffffff24;border-radius:50%;width:175px;height:175px;position:absolute}.orbit-two{border-style:dashed;border-color:#ffffff1a;width:230px;height:230px;transform:rotate(20deg)}.hero-mark{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:linear-gradient(145deg,#fff2,#ffffff0a);border:1px solid #ffffff47;border-radius:29px;width:107px;height:107px;transform:rotate(-7deg);box-shadow:0 16px 30px #2a343d24}.hero-mark img{background:#fbfcfc;border-radius:16px;width:66%;height:66%;padding:9px}.hero-art-chip{color:#5b7185;white-space:nowrap;background:#ffffffef;border:1px solid #ffffff40;border-radius:12px;align-items:center;gap:9px;padding:10px 15px;font-size:13px;display:flex;position:absolute;bottom:-10px;transform:rotate(3deg);box-shadow:0 8px 20px #35424e22}.stat-grid{gap:16px}.stat-card{border:1px solid var(--line);text-align:start;min-height:158px;box-shadow:var(--shadow);background:#fff;border-radius:17px;grid-template-rows:auto auto auto;grid-template-columns:1fr 45px;column-gap:7px;padding:19px 21px;border-top-width:1px!important}.stat-card:after{display:none}.stat-card:has(.stat-icon.mint){border-top-color:#adbbc8}.stat-card:has(.stat-icon.blue){border-top-color:#9aabba}.stat-card .stat-icon{border-radius:14px;grid-area:1/2/3;align-self:start;width:44px;height:44px}.stat-icon svg{stroke-width:1.8px;width:22px;height:22px}.stat-icon.mint{color:#216795;background:#f0f2f4}.stat-icon.amber{color:#a56b00;background:#fff3d8}.stat-icon.rose{color:#c45470;background:#ffeef2}.stat-icon.blue{color:#8297aa;background:#f3f4f5}.stat-card>span{color:#415f77;grid-column:1;font-size:14px;line-height:1.5}.stat-card>b{letter-spacing:-.6px;white-space:normal;overflow-wrap:anywhere;color:#2d3943;font-variant-numeric:tabular-nums;grid-column:1;margin-top:8px;font-size:clamp(24px,2.3vw,32px);font-weight:700;line-height:1.55}.stat-card>small{color:#4b6377;grid-column:1/-1;align-items:center;gap:5px;margin-top:12px;font-size:13px;display:flex}.stat-clickable:hover{border-color:#c3cdd6;transform:translateY(-3px);box-shadow:0 9px 22px #2635570a}.stat-mint{background:linear-gradient(130deg,#fff 70%,#f5f7f8)}.stat-amber{background:linear-gradient(130deg,#fff 70%,#fffbf1)}.stat-rose{background:linear-gradient(130deg,#fff 70%,#fff5f7)}.stat-blue{background:linear-gradient(130deg,#fff 70%,#f8f9fa)}.panel{border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;padding:23px}.panel:hover{box-shadow:var(--shadow);border-color:#a5bfd4}.panel-heading{align-items:center;gap:18px;margin-bottom:19px}.panel-heading h3{color:#33404b;letter-spacing:-.3px;font-size:18px;line-height:1.6}.panel-heading p{color:#4c6173;font-size:13px;line-height:1.8}.text-button{white-space:nowrap;border-radius:8px;min-height:36px;padding:6px 9px;font-size:13px}.text-button:hover{background:#e4edf5;text-decoration:none}.grid-two{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:20px}.table-wrap{scrollbar-width:thin;border-color:#b4c8da;border-radius:12px}th{color:#6a7b90;background:#f7f9fc;border-color:#bfcfdd;padding:14px;font-size:13px;font-weight:700}td{color:#3b5066;font-variant-numeric:tabular-nums;border-color:#cbd8e4;padding:14px;font-size:15px}tbody tr:hover{background:#f5fbf8}.status{gap:5px;padding:5px 10px;font-size:13px;font-weight:700}.status:before{content:"";opacity:.7;background:currentColor;border-radius:50%;flex:none;width:5px;height:5px}.status-new{color:#825300;background:#ffedc4}.status-preparing{color:#2c5b7c;background:#dce9f4}.status-ready,.status-closed{color:#155b3c;background:#d9efdf}.status-partially_paid{color:#884611;background:#ffe5cb}.status-cancelled,.status-low{color:#ba4560;background:#ffedf1}.mini-action{color:#637c91;background:#f3f4f5;border-color:#e0e3e6;border-radius:8px;min-height:36px;padding:6px 9px;font-size:13px}.row-actions{gap:6px}.low-item{gap:11px;padding:12px 0}.product-dot{color:#ba7420;background:#fff2e6;border-radius:11px;flex:none;width:37px;height:37px}.low-item b{font-size:14px}.low-item small{font-size:13px}.low-item>span{color:#986019;background:#fff4e5;border-radius:6px;padding:4px 7px;font-size:13px}.pipeline{gap:12px}.pipeline button{background:#f8fafc;border-color:#e9edf4;border-radius:12px;gap:6px;min-height:94px;position:relative;overflow:hidden}.pipeline button:before{content:"";background:#e7ae3f;height:3px;position:absolute;inset-block-start:0;inset-inline:0}.pipeline button:nth-child(2):before{background:#9fb0be}.pipeline button:nth-child(3):before{background:#64b5d2}.pipeline button:nth-child(4):before{background:#e39d65}.pipeline button:nth-child(5):before{background:#53b28b}.pipeline button b{font-size:27px}.pipeline button span{font-size:13px}.pipeline button:hover{background:#f5f7f8}.dashboard-chart-panel{gap:15px}.dashboard-chart-panel>.panel-heading{margin-bottom:0}.finance-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0;display:grid}.finance-stats>div{background:#f8fafc;border:1px solid #c3d3e0;border-radius:12px;gap:8px;min-width:0;padding:15px;display:grid}.finance-stats b{color:#33404b;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:20px;line-height:1.6}.finance-stats>div:nth-child(4){background:#fff8ec;border-color:#f5e9d2}.finance-stats>div:nth-child(4) b{color:#9c6c20}.finance-charts{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:8px 0 0}.dashboard-chart-panel .finance-charts{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,1.1fr)}.ui-card{border:1px solid var(--line);background:#fff;border-radius:15px;min-width:0;overflow:hidden}.ui-card-header{justify-content:space-between;align-items:start;gap:10px;padding:18px 18px 0;display:flex}.ui-card-title{color:#394753;margin:0;font-size:16px;line-height:1.6}.ui-card-description{color:#4c6173;margin:3px 0 0;font-size:13px;line-height:1.65}.ui-card-content{min-width:0;padding:8px 12px 12px}.chart-card{box-shadow:none;border-radius:15px;min-width:0;padding:0}.chart-unit{color:#4b6377;white-space:nowrap;background:#f7f9fc;border:1px solid #c3d3e0;border-radius:6px;margin-top:3px;padding:1px 5px;font-size:13px}.echart-surface{direction:ltr;width:100%;min-width:0;height:245px;overflow:hidden}.chart-donut .echart-surface{height:205px}.chart-legend{gap:7px;padding:0 8px 9px;display:grid}.chart-legend>span{color:#425c73;align-items:center;gap:7px;min-width:0;font-size:13px;display:flex}.chart-legend i{border-radius:2px;flex:none;width:7px;height:7px}.chart-legend b{color:#3d5065;font-variant-numeric:tabular-nums;margin-inline-start:auto;font-size:13px}.chart-data{border-top:1px solid #f0f2f7;margin:4px 7px 0;padding-top:7px}.chart-data summary{cursor:pointer;color:#435e73;padding:4px;font-size:13px}.chart-data[open] summary{margin-bottom:8px}.chart-data td,.chart-data th{white-space:normal;padding:8px;font-size:13px}.chart-empty{color:#4c6173;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:5px;height:245px;display:flex}.chart-empty>span{color:#d1d8df;font-size:42px;line-height:1.3}.chart-empty>b{font-size:14px}.chart-empty>small{font-size:13px}.chart-loading{color:#4c6173;text-align:center;align-content:center;gap:18px;min-height:330px;padding:20px;font-size:14px;display:grid}.loading-shimmer{background:linear-gradient(110deg,#f4f7fa 30%,#eef0f2 50%,#f4f7fa 70%) 0 0/200% 100%;border-radius:12px;height:200px;animation:1.5s linear infinite ui-shimmer;display:block}.finance-breakdown{border-color:var(--line);background:#fff;border-radius:14px}.finance-balance-strip{gap:14px}.finance-balance-strip>div{background:#f5f7f8;border-color:#eaecee;border-radius:13px}.finance-balance-strip b{color:#6c859b}.local-report-panel{background:linear-gradient(110deg,#fff,#fcfcfc);border-inline-start:3px solid #a3b2c0;padding:17px 21px}.local-report-panel .panel-heading{margin-bottom:8px}.local-report-panel h3{font-size:16px}.local-report-actions small{color:#4b6377;font-size:13px}.field-control{height:45px;min-height:45px;color:var(--ink);background:#fff;border:1px solid #dde5ed;border-radius:10px;min-width:140px;padding:8px 12px;font-size:15px}.modal-backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#11273e72}.modal-card{border:1px solid #e4eaf0;border-radius:22px;padding:25px;box-shadow:0 25px 90px #0c273e2b}.modal-head{border-bottom:1px solid #edf0f5;margin-bottom:19px;padding-bottom:15px}.modal-head h2{letter-spacing:-.5px;font-size:23px}.modal-head .eyebrow{color:#216795}.close-modal{color:#77879a;background:#f9fafc;border:1px solid #b7cbdc;border-radius:10px;width:35px;height:35px;font-size:24px;line-height:1}.modal-form,.stack-form{gap:17px}.modal-form label,.stack-form label{color:#455b72;gap:7px;font-size:14px}.modal-form input,.modal-form select,.modal-form textarea,.stack-form input{background:#fcfdff;border:1px solid #dde5ed;border-radius:10px;min-height:47px;padding:10px 12px;font-size:16px}.modal-actions{gap:9px;padding-top:17px}.modal-actions .button-primary{min-width:150px}.market-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:18px}.market-card{border-color:var(--line);box-shadow:none;border-radius:16px;min-height:190px;padding:22px;position:relative;overflow:hidden}.market-card:before{content:"";background:#93a6b6;height:4px;position:absolute;inset-block-start:0;inset-inline:0}.market-card:nth-child(3n+2):before{background:#aab8c5}.market-card:nth-child(3n):before{background:#e7b764}.market-icon{color:#216795;background:#e4edf5;border-radius:13px;width:42px;height:42px;font-size:24px}.market-card:nth-child(3n+2) .market-icon{color:#798fa3;background:#f3f4f5}.market-card h4{margin-top:12px;font-size:19px}.market-card p{min-height:22px;font-size:14px}.market-card>a{font-variant-numeric:tabular-nums;font-size:16px}.market-actions{border-color:#edf1f5;margin-top:16px;padding-top:13px}.report-card,.report-metric{border-radius:14px;padding:19px}.report-card b{font-size:16px}.report-metric b{font-size:24px}.report-metric small{font-size:13px}.activity-filters{background:#f6f9fc;border-color:#b7cbdc;border-radius:13px;padding:17px}.recurring-expense-card{border-color:var(--line);box-shadow:none;background:#fff;border-radius:15px;padding:19px}.recurring-expense-card h4{font-size:16px}.recurring-expense-card b{color:#216795;font-size:22px}.recurring-expense-card small{font-size:13px}.invoice-stock-panel{background:#f8fafc;border-color:#e2e9f1;border-radius:17px}.invoice-selected-panel{background:#f6f7f8;border-color:#b1c6d6;border-radius:17px}.invoice-builder-section-title h3{font-size:19px}.invoice-builder-section-title>span{color:#345b77;background:#edeff1}.invoice-product-card{background:#fff;border-color:#abc1d2;border-radius:14px;transition:border-color .15s,box-shadow .15s;box-shadow:0 3px 10px #485a6905}.invoice-product-card:focus-within{border-color:#aab8c5;box-shadow:0 0 0 2px #21679512}.invoice-product-card-head img,.invoice-product-placeholder{background:#f0f5f8;border-radius:12px}.invoice-product-name{color:#243c52;font-size:18px}.invoice-product-meta span{font-size:13px}.invoice-product-unavailable{background:#fff5f7;border-color:#f0cdd5}.invoice-product-unavailable .invoice-product-name{color:#b43a53}.product-code{color:#65768b;background:#eef2f8;border-radius:6px;font-size:13px}.invoice-quantity-control button{color:#345b77;background:#e4edf5;border-color:#dde1e4;border-radius:10px;min-width:40px;font-size:26px}.invoice-quantity-control input{background:#fff;padding-inline:5px;font-size:19px;font-weight:700}.selected-invoice-item{border-color:#adc2d3;border-radius:12px}.selected-invoice-item-heading b{font-size:16px}.selected-invoice-item-heading>strong{color:#355e7d;font-size:17px}.invoice-selected-panel .invoice-cart-summary{background:#d9e9f5;border-color:#d2d9e0;border-radius:12px}.invoice-selected-panel .invoice-cart-summary b{color:#345b77;font-size:23px}.invoice-review-grand-total{background:#dcebf6;border-radius:13px;padding:18px}.invoice-review-grand-total b{color:#345b77;font-size:28px}.auth-page{background:radial-gradient(at 15% 20%,#edf6fc,#0000 50%),radial-gradient(at 85% 85%,#f1f7fc,#0000 50%),#f7fafc;gap:23px;padding:35px 20px;position:relative;overflow:hidden}.auth-page:before,.auth-page:after{content:"";pointer-events:none;z-index:0;border:1px solid #c2cdd655;border-radius:50%;width:420px;height:420px;position:absolute;inset-block-start:-100px;inset-inline-start:-200px;box-shadow:0 0 0 50px #c0cbd420,0 0 0 100px #c0cbd412}.auth-page:after{border-color:#c8d2da55;inset-block:auto -200px;inset-inline:auto -230px;box-shadow:0 0 0 50px #e0e3e61a,0 0 0 100px #e0e3e610}.auth-page>*{z-index:1;position:relative}.auth-brand{gap:11px}.auth-brand .brand-mark{border-radius:17px;width:55px;height:55px}.auth-brand>b{color:#3d4c59;font-size:33px}.auth-brand>small{color:#7a8c90;margin-top:0;font-size:14px}.auth-card{background:#fffffffa;border:1px solid #adc2d3;border-radius:23px;width:min(460px,100%);padding:32px;overflow:hidden;box-shadow:0 18px 65px #556a7d14}.auth-card:before{content:"";pointer-events:none;background:#a7c9e0;height:3px;position:absolute;inset-block-start:0;inset-inline:0}.auth-brand .brand-mark{background:linear-gradient(145deg,#f7f8f8,#e8ebed);box-shadow:0 6px 18px #7c92a60c}.invoice-number,.product-edit-button,.market-card>a{color:#355e7d}.stock-selected-product,.invoice-review-market{background:linear-gradient(115deg,#f5f7f8,#fff);border-color:#dae0e5}.stock-selected-product b,.invoice-review-grand-total,.invoice-cart-summary{color:#345b77}.market-result-option:hover,.stock-product-option:hover,.stock-product-option:focus-visible,.movement-invoice-row:hover td,.movement-cell-button:hover{background:#f4f6f7}.movement-invoice-link{color:#355e7d;background:#f3f5f6;border-color:#dde1e4}.auth-heading{margin-bottom:24px}.auth-heading .eyebrow{color:#345b77;background:#edeff1;border-radius:6px;padding:4px 8px;font-size:13px;display:inline-flex}.auth-heading h1{letter-spacing:-.7px;margin:10px 0 8px;font-size:29px;line-height:1.5}.auth-heading p{color:#4b6377;margin:0;font-size:14px;line-height:1.9}.stack-form .button-primary{border-radius:11px;min-height:49px;margin-top:5px;font-size:16px}.auth-foot{color:#657f95;font-size:13px}.empty-state{color:#8091a0;padding:25px}.empty-state>span{color:#c0cbd4}.empty-state p{font-size:15px}.toast{background:#3e4e5c;border:1px solid #fff2;border-radius:13px;font-size:15px;box-shadow:0 10px 30px #2d384225}.hero{color:#fff;border:1px solid #25668f;box-shadow:0 8px 22px #254f6c16}.hero p{color:#f4f8fc;font-size:16px}.hero-kicker{color:#fff;background:#ffffff1a;border-color:#ffffff78}.hero-primary{color:#1c557c;background:#fff;border-color:#fff}.hero-primary:hover{background:#edf6fc}.hero-secondary{color:#fff;background:#1c547b;border-color:#aac8dd}.hero-secondary:hover{background:#174767}.hero:after,.hero-orbit{border-color:#fff3}.orbit-two{border-color:#ffffff26}.hero-mark{background:#ffffff26;border-color:#fff6}.hero-art-chip{color:#174f76;background:#fff;border-color:#fff}.auth-page{background:radial-gradient(at 10% 15%,#c7e1f3,#0000 60%),radial-gradient(at 95% 95%,#d5e6f3,#0000 60%),#e8f0f7}.auth-page:before,.auth-page:after{border-color:#8fb4d05c;box-shadow:0 0 0 50px #a7c8df24,0 0 0 100px #a7c8df18}.auth-card{border-color:#92b1c9;box-shadow:0 14px 38px #234b7018}.auth-card:before{background:#367da9;height:5px}.auth-brand>b{color:#164b70}.auth-brand .brand-mark{background:#d7eaf7;border-color:#8eb6d2}.auth-foot{color:#36576f}.workspace-role{color:#234f70;background:#d5e7f5}.app-shell .side-nav button.selected{color:#fff;background:#216795;border-color:#195276}.brand-mark,.auth-brand .brand-mark{background:#edf6fc;border-color:#d7e8f4}.stat-icon.mint,.stat-icon.blue{color:#1e638f;background:#d6e9f8}:is(.stat-card:has(.stat-icon.mint),.stat-card:has(.stat-icon.blue)){border-top-color:#aecfe5}.stat-mint,.stat-blue{background:linear-gradient(130deg,#fff 70%,#f3f9fd)}.invoice-product-placeholder{color:#5486a7}.invoice-product-card.invoice-product-unavailable,.invoice-product-card.invoice-product-selected-out{box-shadow:none;background:linear-gradient(135deg,#fff7f8,#ffedf0);border-color:#edc3cc}.invoice-product-unavailable b,.invoice-product-unavailable small,.invoice-product-selected-out .invoice-product-name,.invoice-product-selected-out .invoice-product-meta span,.invoice-product-selected-out .stock-state{color:#a43f53}.invoice-product-selected-out .invoice-product-placeholder{color:#b56a7a;background:#fbe3e8}.stock-state{font-size:13px;font-weight:700;line-height:1.5;display:block}.stock-unavailable-button{color:#a43f53;cursor:not-allowed;background:#fae4e9;border:1px solid #edc3cc;border-radius:8px;padding:6px 10px;font-size:13px}.stock-exhausted-row td{color:#984054;background:#fff3f5;border-bottom-color:#f1dce2}.stock-exhausted-row:hover td{background:#ffecef}.stock-exhausted-row .product-code,.stock-exhausted-row .product-table-name>span{color:#9e4358;background:#fae3e8}.stock-exhausted-row .status{color:#9e354c;background:#f8dee5}@keyframes ui-shimmer{to{background-position:-200% 0}}@keyframes ui-spin{to{transform:rotate(360deg)}}@media (width>=1600px){.hero{min-height:260px}.hero h2{font-size:41px}.stat-card{min-height:170px}}@media (width<=1200px){.app-shell .side-nav{justify-content:flex-start}.app-shell .side-nav button{padding-inline:13px;font-size:14px}.sidebar .side-bottom{font-size:13px}.dashboard-chart-panel .finance-charts{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-chart-panel .chart-line{grid-column:1/-1}.dashboard-chart-panel .chart-line .echart-surface{height:260px}.finance-stats b{font-size:17px}.hero-art{width:180px;margin-inline:0}}@media (width<=900px){.main-area{gap:18px;padding-inline:20px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.grid-two{grid-template-columns:1fr}.finance-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-stats .finance-net{grid-column:span 2}.hero{min-height:230px;padding:26px}.hero-content{max-width:72%}.hero h2{font-size:31px}.hero-art{width:145px}.hero-orbit{width:140px;height:140px}.orbit-two{width:185px;height:185px}.hero-mark{border-radius:23px;width:86px;height:86px}.hero-art-chip{padding:8px 10px;font-size:13px}.today{display:none}.panel{padding:20px}.heading-wrap{flex-direction:column;align-items:flex-start}.heading-wrap .toolbar{width:100%}}@media (width<=760px){.app-shell>.sidebar{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 16px 0}.brand{grid-area:1/1}.brand-mark{border-radius:12px;width:40px;height:40px}.brand b{font-size:23px}.brand small{font-size:13px}.app-shell .sidebar .user-card{grid-area:1/2;display:flex}.user-card .avatar{border-radius:11px;width:34px;height:34px;font-size:16px}.user-card .user-meta{display:none}.app-shell .side-nav{grid-area:2/1/auto/-1;gap:4px;padding:7px 0}.app-shell .side-nav button{gap:6px;height:42px;min-height:42px;padding:0 11px;font-size:13px}.nav-icon svg{width:18px;height:18px}.main-area{gap:16px;padding:19px 14px 30px}.topbar{align-items:center}.title-block h1{gap:8px;font-size:24px}.workspace-role{padding:3px 6px;font-size:13px}.title-block>span{font-size:13px}.top-actions{gap:6px}.button-logout{gap:5px;min-height:38px;padding:8px 10px;font-size:13px}.button-logout svg{width:14px}.refresh-button{width:37px;min-height:38px}.top-actions .button-primary{min-height:38px;padding:8px 10px;font-size:13px}.top-actions .refresh-button{display:none}.hero{border-radius:18px;min-height:220px;padding:24px}.hero h2{font-size:29px}.hero p,.hero-kicker{font-size:13px}.hero-art{width:115px;height:150px}.hero-art-chip{display:none}.hero-orbit{width:115px;height:115px}.orbit-two{width:155px;height:155px}.hero-mark{width:76px;height:76px}.hero-mark img{padding:7px}.panel{border-radius:15px;padding:17px}.panel-heading{gap:10px;margin-bottom:15px}.panel-heading h3{font-size:17px}.panel-heading p,.text-button{font-size:13px}.finance-charts,.dashboard-chart-panel .finance-charts{grid-template-columns:1fr}.dashboard-chart-panel .chart-line{grid-column:auto}.dashboard-chart-panel .chart-line .echart-surface,.echart-surface{height:250px}.chart-donut .echart-surface{height:220px}.ui-card-title{font-size:16px}.finance-stats{gap:8px}.finance-stats>div{padding:12px 10px}.finance-stats small{font-size:13px}.finance-stats b{font-size:17px}.stat-card{border-radius:14px;grid-template-columns:1fr 34px;min-height:147px;padding:16px}.stat-card .stat-icon{border-radius:10px;width:34px;height:34px}.stat-icon svg{width:18px;height:18px}.stat-card>span{font-size:13px}.stat-card>b{grid-column:1/-1;margin-top:8px;font-size:26px}.stat-card>small{margin-top:7px;font-size:13px}.pipeline{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.pipeline button{min-height:82px}.pipeline b{font-size:23px}.pipeline span{font-size:13px}.market-grid{gap:12px}.market-card{padding:18px}.auth-card{padding:27px}.field-control{max-width:100%}.toolbar{gap:8px}.toolbar>.field-control{flex:1;min-width:min(180px,100%)}.modal-card{border-radius:18px;padding:20px}.invoice-modal-card{padding:16px}.invoice-modal-card .modal-actions{bottom:-16px}.invoice-product-meta strong{font-size:20px}.selected-invoice-item-heading>strong{font-size:16px}}@media (width<=480px){.hero{min-height:233px;padding:22px 19px}.hero-content{max-width:100%}.hero h2{max-width:280px;font-size:29px}.hero h2 br{display:block}.hero p{max-width:280px;font-size:13px}.hero-art{display:none}.hero-kicker{padding:4px 7px;font-size:13px}.hero-actions{gap:7px;margin-top:15px}.hero-actions .button{min-height:39px;padding:8px 11px;font-size:13px}.hero-actions svg{width:16px}.title-block h1{font-size:22px}.workspace-role{display:none}.stat-grid{gap:10px}.stat-card{column-gap:2px;min-height:139px;padding:14px 12px}.stat-card>b{letter-spacing:-.4px;font-size:24px}.stat-card>span{align-self:center;font-size:13px}.stat-card .stat-icon{width:30px;height:30px}.stat-card>small{font-size:13px}.stat-card>small svg{width:12px}.finance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-stats .finance-net{grid-column:1/-1}.finance-stats b{font-size:20px}.panel-heading{flex-wrap:wrap}.panel-heading .text-button{padding-inline:0}.market-grid{grid-template-columns:1fr}.invoice-review-grand-total b{font-size:23px}.modal-card{padding:16px}.modal-form input,.modal-form select,.modal-form textarea{font-size:16px}.auth-page{gap:21px;padding:24px 16px}.auth-card{border-radius:19px;padding:25px 22px}.auth-heading h1{font-size:26px}.report-cards{gap:8px}.report-metric{padding:13px}.report-metric b{font-size:20px}.chart-legend>span,.chart-legend b{font-size:13px}}.app-shell button,.auth-page button,.app-shell a.button,.auth-page a.button{--button-edge:#b7ccdb;box-shadow:inset 0 1px 0 #ffffffb3,0 4px 0 var(--button-edge),0 6px 10px #345d7310;transition:transform 80ms,box-shadow 80ms,background .15s;transform:translateY(0)}.app-shell button.button-primary,.auth-page button.button-primary,.app-shell .hero-primary{--button-edge:#194d72;box-shadow:inset 0 1px 0 #fff3,0 4px 0 var(--button-edge),0 6px 11px #2167951c}.app-shell button.button-logout{--button-edge:#dfb6bf}.app-shell .side-nav button,.app-shell .side-nav button.selected{box-shadow:inset 0 1px #ffffffb3,0 3px #c4d9e7,0 4px 7px #345d7308}.app-shell button:hover:not(:disabled),.auth-page button:hover:not(:disabled),.app-shell a.button:hover{transform:translateY(-1px)}.app-shell button:active:not(:disabled),.auth-page button:active:not(:disabled),.app-shell a.button:active{box-shadow:inset 0 2px 4px #243d501a,0 1px 0 var(--button-edge);transform:translateY(3px)}.app-shell .side-nav button:active:not(:disabled){transform:translateY(3px);box-shadow:inset 0 2px 4px #243d501a,0 1px #c4d9e7}.app-shell button:disabled,.auth-page button:disabled{box-shadow:none;opacity:.55;cursor:not-allowed;transform:none}.app-shell .invoice-product-name{background:#fff;border:1px solid #a8c4d9;border-radius:9px;padding:7px 9px}.app-shell .invoice-product-selected-out .invoice-product-name{background:#fff7f8;border-color:#edc3cc}.app-shell .button,.auth-page .button,.app-shell .mini-action,.app-shell .side-nav button{font-weight:700}.main-area,.auth-card{color:#243b4d}.title-block>span,.today,.panel-heading p,.ui-card-description,.auth-heading p,.auth-brand>small,.auth-foot,.stat-card>span,.stat-card>small,.chart-data summary,.form-hint{color:#38556c}.modal-form label,.stack-form label{color:#314f65;font-size:15px;font-weight:700}.field-control,.modal-form input,.modal-form select,.modal-form textarea,.stack-form input{color:#203d53;caret-color:#195276;background:#fff;border-color:#7398b3;box-shadow:inset 0 1px 3px #315b7410}.field-control::placeholder,.modal-form input::placeholder,.modal-form textarea::placeholder,.stack-form input::placeholder{color:#647e91;opacity:1}.field-control:focus,.modal-form input:focus,.modal-form select:focus,.modal-form textarea:focus,.stack-form input:focus{border-color:#397da9;box-shadow:0 0 0 3px #3c80ad18,inset 0 1px 2px #315b7408}.app-shell>.sidebar{background:#f8fbfe;border-bottom:2px solid #a9c1d5}.app-shell .side-nav button{color:#274f6d;font-size:16px}.app-shell .side-nav button.selected{color:#fff;box-shadow:inset 0 1px #fff4,0 3px #16496b,0 4px 8px #244b6812}.brand b,.title-block h1,.panel-heading h3,.ui-card-title,.invoice-builder-section-title h3{color:#173e5a}.brand small,.side-bottom,.user-meta small{color:#415f76;font-size:14px}.panel,.stat-card,.market-card,.recurring-expense-card,.finance-breakdown,.chart-card{border-color:#a9c1d5}.panel{box-shadow:0 6px 18px #294c6810}.panel:hover{border-color:#88adc9}.button{font-size:16px}.button-small,.mini-action{font-size:14px}.button-quiet{color:#264f6c;background:#fff;border-color:#8fadc4}.title-block>span,.today,.panel-heading p,.ui-card-description,.auth-heading p,.auth-brand>small,.auth-foot,.stat-card>span,.stat-card>small,.chart-data summary,.form-hint{color:#38556c;font-size:14px}.stat-card>span{font-size:16px}.stat-card>b{color:#123d5b;font-size:32px}.stat-card>small{font-size:13px}.finance-stats small{color:#38566f;font-size:14px}.finance-stats b{color:#173f5d;font-size:23px}.finance-stats .finance-net{background:#d6e9f7;border-color:#91b5d1}.finance-stats .finance-net b{color:#154e78}th{color:#244c69;background:#dce9f4;border-color:#b3cbdc;font-size:14px}td{color:#263f55;border-color:#c8d7e3;font-size:16px}.table-wrap{border-color:#abc2d5}.status{font-size:13px}.text-button{font-size:14px}.field-control,.modal-form input,.modal-form select,.modal-form textarea,.stack-form input{color:#153b57;border-width:1.5px;border-color:#7398b3;min-height:48px;font-size:16px}.modal-form label,.stack-form label{color:#244862;font-size:15px}.field-control::placeholder,.modal-form input::placeholder,.modal-form textarea::placeholder,.stack-form input::placeholder{color:#506f86}.invoice-product-meta strong{color:#175a88;font-size:22px}.invoice-product-meta span{color:#365b77;font-size:14px}.invoice-selected-panel{background:#e3eef7;border-color:#95b4cb}.invoice-stock-panel{background:#eef4f9;border-color:#abc3d6}.invoice-selected-panel .invoice-cart-summary{background:#d6e8f5;border-color:#91b2cb}.invoice-selected-panel .invoice-cart-summary b{color:#154e78}.chart-legend>span,.chart-legend b{color:#34516a;font-size:13px}.chart-empty{color:#42617a}.stock-exhausted-row td{color:#8e2e43}.invoice-product-unavailable .stock-unavailable-button,.invoice-product-selected-out .invoice-product-name{opacity:1}@media (width<=760px){.app-shell .side-nav button{font-size:15px}.top-actions .button-primary,.button-logout,.stat-card>span{font-size:14px}.stat-card>b{font-size:28px}.stat-card>small,.finance-stats small{font-size:13px}.finance-stats b{font-size:21px}.panel-heading p,.ui-card-description,.hero p,.form-hint{font-size:14px}.hero-kicker,.hero-actions .button,.pipeline button span{font-size:13px}.auth-heading p{font-size:15px}}@media (prefers-reduced-motion:reduce){.icon-spinning,.loading-shimmer{animation:none}.hero-mark,.hero-art-chip{transform:none}.app-shell button,.auth-page button{transition:none}}}.warehouse-portal{max-width:1440px;color:var(--ink,#143750);margin:0 auto;padding:24px}.warehouse-portal-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:24px;display:flex}.warehouse-portal-header .brand{align-items:center;gap:18px;display:flex}.warehouse-portal-header h1{margin:0;font-size:26px}.warehouse-portal-header p{margin:8px 0 0}.warehouse-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px;display:grid}.warehouse-card{border-top:5px solid #1685b0;padding:24px}.warehouse-card h3{margin:0 0 12px;font-size:23px}.warehouse-control-content>.panel{padding:24px}.warehouse-control-content .toolbar{flex-wrap:wrap;gap:10px}@media (width<=600px){.warehouse-portal{padding:12px}.warehouse-portal-header{flex-wrap:wrap;align-items:flex-start}.warehouse-portal-header h1{font-size:22px}}.warehouse-list-heading{margin:20px 0}.warehouse-card-title{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.warehouse-card-title h3{overflow-wrap:anywhere}.warehouse-state{color:#176344;white-space:nowrap;background:#e0f2ea;border-radius:20px;padding:5px 12px;font-size:14px;display:inline-flex}.warehouse-state.paused{color:#94384b;background:#fbe8ec}.warehouse-card-summary{gap:14px;margin:20px 0 24px;display:grid}.warehouse-card-summary>span{color:#48647a;justify-content:space-between;gap:16px;display:flex}.warehouse-card-summary b{color:#173d57}.warehouse-card-actions{grid-template-columns:1fr 1.4fr;gap:10px;margin-top:auto;display:grid}.warehouse-card{flex-direction:column;display:flex}.warehouse-paused{border-top-color:#9aaebd}.warehouse-settings-backdrop{overscroll-behavior:contain;padding:16px}.warehouse-settings-dialog{color:#173d57;background:#fff;border:1px solid #9db8ce;border-radius:22px;outline:none;flex-direction:column;width:min(940px,96vw);max-height:92dvh;display:flex;overflow:hidden;box-shadow:0 24px 80px #102f5366}.warehouse-settings-head{background:#eff6fc;border-bottom:1px solid #c9dce9;justify-content:space-between;align-items:center;gap:20px;padding:18px 24px;display:flex}.warehouse-settings-head h2{overflow-wrap:anywhere;margin:5px 0 0;font-size:23px}.warehouse-settings-head small{color:#48647a}.warehouse-settings-tabs{background:#f7fafd;border-bottom:1px solid #c9dce9;flex-shrink:0;gap:6px;padding:10px 22px;display:flex}.warehouse-settings-tabs button{color:#385a74;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;flex:1;padding:11px 8px;font-size:15px;font-weight:700}.warehouse-settings-tabs button.selected{color:#fff;background:#086e98;border-color:#075c80;box-shadow:0 3px #074c69}.warehouse-settings-tabs button:disabled{opacity:.45;cursor:not-allowed}.warehouse-settings-content{overscroll-behavior:contain;min-height:260px;padding:20px 24px;overflow-y:auto}.warehouse-settings-form{gap:14px;padding:0}.warehouse-settings-content .alert{margin:0 0 14px;padding:10px 14px}.warehouse-settings-content input,.warehouse-settings-content select{min-height:44px}.warehouse-settings-actions{border-top:1px solid #d6e3ed;justify-content:flex-end;gap:10px;padding-top:12px;display:flex}.warehouse-settings-actions .button{min-width:160px}.warehouse-director-details{justify-items:start;gap:12px;padding:10px;display:grid}.warehouse-director-details h3,.warehouse-member-heading h3{margin:0;font-size:22px}.warehouse-director-details p{margin:0}.warehouse-member-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.warehouse-permission-options{border:1px solid #bfd3e2;border-radius:12px;grid-template-columns:1fr 1fr;gap:8px 16px;padding:12px 16px;display:grid}.warehouse-permission-options .checkbox-row{margin:0}.warehouse-settings-content .checkbox-row input{width:20px;height:20px;min-height:0}.warehouse-user-search{align-items:center;gap:16px;margin-bottom:14px;display:flex}.warehouse-user-search input{flex:1}.warehouse-username{color:#4b6980;margin-top:4px;font-size:13px;display:block}.warehouse-pagination{justify-content:center;align-items:center;gap:16px;padding-top:14px;font-size:14px;display:flex}.warehouse-settings-content td,.warehouse-settings-content th{padding:10px 12px}@media (width<=600px){.warehouse-settings-backdrop{padding:8px}.warehouse-settings-dialog{border-radius:16px;width:100%;max-height:96dvh}.warehouse-settings-head{padding:14px}.warehouse-settings-head h2{font-size:20px}.warehouse-settings-tabs{gap:3px;padding:8px}.warehouse-settings-tabs button{padding:10px 4px;font-size:13px}.warehouse-settings-content{padding:16px}.warehouse-user-search{flex-direction:column;align-items:stretch;gap:7px}.warehouse-card-actions{grid-template-columns:1fr}.warehouse-permission-options{gap:8px}.warehouse-settings-content .form-row{grid-template-columns:1fr}}.warehouse-settings-content label.checkbox-row{flex-direction:row;align-items:center;gap:10px;min-height:30px;display:flex}.warehouse-settings-content .warehouse-permission-options{gap:6px 16px}.warehouse-settings-content .warehouse-settings-form{gap:12px}.warehouse-settings-actions{z-index:2;background:#fff;position:sticky;bottom:-20px}.transfer-inbox{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:18px 22px;display:flex}.transfer-inbox h3{margin:0 0 8px}.transfer-inbox p{color:#41617a;margin:0}.transfer-request-row{border-bottom:1px solid #ccdfeb;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.transfer-request-row p{margin:8px 0}.transfer-request-row small{color:#506c80}@media (width<=650px){.transfer-inbox,.transfer-request-row{flex-direction:column;align-items:stretch}.transfer-inbox .toolbar{flex-wrap:wrap}}@media screen{html[data-user-theme]{--user-color:#087ca6;--user-dark:#075b7b;--user-soft:#e0f1f8;--user-bg:#e9f2f8;--teal:var(--user-color);--teal-dark:var(--user-dark);--bg:var(--user-bg)}html[data-user-theme=blue]{--user-color:#265bc5;--user-dark:#1f4591;--user-soft:#e6edff;--user-bg:#edf1fa}html[data-user-theme=teal]{--user-color:#08796f;--user-dark:#07574f;--user-soft:#dcf1ec;--user-bg:#eaf4f1}html[data-user-theme=violet]{--user-color:#7355a5;--user-dark:#513a78;--user-soft:#eee7f6;--user-bg:#f1eef7}html[data-user-theme=slate]{--user-color:#475c73;--user-dark:#2f4055;--user-soft:#e4eaf1;--user-bg:#edf0f4}html[data-user-theme=rose]{--user-color:#a63f6d;--user-dark:#78304f;--user-soft:#f7e5ee;--user-bg:#faf0f4}html[data-user-theme] body{background:var(--user-bg)}html[data-user-theme] .button-primary{background:var(--user-color)!important;border-color:var(--user-dark)!important;color:#fff!important;box-shadow:0 3px 0 var(--user-dark)!important}html[data-user-theme] .button-primary:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 var(--user-dark)!important}html[data-user-theme] .hero{background:linear-gradient(115deg,var(--user-dark),var(--user-color))!important}html[data-user-theme] .side-nav button.selected{background:var(--user-soft)!important;color:var(--user-dark)!important;border-color:var(--user-color)!important}html[data-user-theme] :is(input,select,textarea):focus{outline-color:var(--user-color)!important;border-color:var(--user-color)!important}html[data-user-theme] :is(input[type=checkbox],input[type=radio]){accent-color:var(--user-color)}html[data-user-theme] .panel{border-top-color:var(--user-color)}html[data-user-theme] .invoice-selected-panel{background:var(--user-soft);border-color:var(--user-color)}.interface-settings,.appearance-settings{margin-bottom:20px}.access-user-picker{grid-template-columns:1fr 1fr;gap:16px;margin:16px 0;display:grid}.access-user-picker label{gap:7px;font-weight:700;display:grid}.access-user-picker input,.access-user-picker select{border:1px solid var(--line);width:100%;min-height:48px;color:var(--ink);background:#fff;border-radius:10px;padding:10px}.access-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:15px;display:grid}.access-grid fieldset,.report-column-groups fieldset{border:1px solid var(--line);background:#fff;border-radius:14px;min-width:0;padding:14px}.access-grid legend{color:var(--user-dark,var(--ink));padding:0 8px;font-weight:800}.access-toggle{cursor:pointer;border-bottom:1px solid #edf0f4;align-items:center;gap:10px;min-height:47px;padding:7px 0;display:flex}.access-toggle input,.remember-print-columns input,.report-column-groups input{flex:none;width:21px;height:21px;min-height:21px}.access-toggle small{color:#975410;font-size:12px;display:block}.access-toggle:has(input:disabled){opacity:.65;cursor:not-allowed}.access-summary,.access-save{background:var(--user-soft,#e8f1f7);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin:18px 0;padding:14px;display:flex}.access-save p{flex:1;min-width:200px;margin:0;font-size:14px}.theme-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;display:grid}.theme-choice{border:2px solid var(--line);min-height:74px;color:var(--ink);background:#fff;border-radius:14px;align-items:center;gap:12px;padding:14px;display:flex}.theme-choice.selected{border-color:var(--user-color,#087ca6);background:var(--user-soft,#e0f1f8)}.theme-choice>span{border-radius:50%;flex:none;width:32px;height:32px;box-shadow:inset 0 -3px #0002}.theme-choice i{margin-inline-start:auto;font-style:normal}.report-columns-dialog{color:#18354b;border:1px solid #a7bdcf;border-radius:20px;width:min(850px,94vw);max-height:90dvh;margin:auto;padding:24px;inset:0;box-shadow:0 20px 70px #112c5055}.report-columns-dialog .modal-actions{flex-wrap:wrap;gap:10px;display:flex}.report-columns-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#10253899}.report-columns-dialog h2{margin:0}.report-columns-dialog p{font-size:15px}.report-column-groups{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;max-height:48dvh;display:grid;overflow:auto}.report-column-groups legend{font-size:13px;font-weight:700}.report-column-groups label{cursor:pointer;align-items:center;gap:9px;min-height:42px;display:flex}.remember-print-columns{align-items:center;gap:10px;margin-top:17px;font-weight:700;display:flex}@media (width<=650px){.access-user-picker{grid-template-columns:1fr}.report-columns-dialog{padding:16px}.access-save .button{width:100%}}}.print-finance{display:none}@media print{.report-columns-dialog,.interface-settings,.appearance-settings,body.finance-print-mode .sidebar,body.finance-print-mode .topbar,body.finance-print-mode .toast,body.finance-print-mode .modal-backdrop,body.finance-print-mode .main-area>:not(.print-finance){display:none!important}body.finance-print-mode .app-shell{display:block!important}body.finance-print-mode .main-area{margin:0!important;padding:0!important;display:block!important}body.finance-print-mode .print-finance{color:#193247;background:#fff;font-size:11pt;position:static;display:block!important}.print-finance h3{break-after:avoid}.print-finance tr{break-inside:avoid}}@media screen{.table-column-toolbar{justify-content:flex-end;align-items:center;gap:12px;margin:10px 0;display:flex}.table-column-toolbar small{color:var(--muted)}.table-column-options{background:var(--user-soft,#e8f2fa);border:1px solid var(--line);border-radius:14px;margin-bottom:14px;padding:16px}.table-column-options>p{color:var(--muted);margin:0 0 12px;font-size:14px}.table-column-checks{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:8px;display:grid}.table-column-checks label{cursor:pointer;align-items:center;gap:9px;min-height:44px;font-weight:700;display:flex}.table-column-checks input{width:21px;height:21px;min-height:21px;accent-color:var(--user-color,#087ca6);flex:none}.table-column-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:13px;display:flex}.table-column-actions [role=status]{font-size:14px}.appearance-mode{grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 20px;display:grid}.appearance-mode .theme-choice{justify-content:center;font-size:18px}.theme-mode-control,.portal-user-tools{flex:none;align-items:center;gap:9px;display:inline-flex}.theme-mode-toggle{border:1px solid var(--line);background:var(--paper);width:34px;height:34px;color:var(--ink);box-shadow:0 2px 0 var(--line);border-radius:10px;place-items:center;padding:0;transition:transform .12s,background .12s;display:grid}.theme-mode-toggle:hover:not(:disabled){background:var(--user-soft,#e8f2fa)}.theme-mode-toggle:active:not(:disabled){box-shadow:none;transform:translateY(1px)}.theme-mode-toggle:disabled{opacity:.6}@media (width<=760px){.theme-mode-toggle{width:36px;height:36px}}.hero.hero-with-weather{border-radius:18px;grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:center;gap:24px;min-height:0;padding:20px 24px;display:grid}.hero.hero-with-weather .hero-content{min-width:0;max-width:100%}.hero.hero-with-weather h2{max-width:none;margin:8px 0 5px;font-size:clamp(22px,2.3vw,29px);line-height:1.45}.hero.hero-with-weather h2 br{display:none}.hero.hero-with-weather .hero-content>p{max-width:55ch;margin:0;font-size:13px;line-height:1.7}.hero.hero-with-weather .hero-kicker{padding:3px 7px;font-size:11px}.hero.hero-with-weather .hero-actions{gap:8px;margin-top:12px}.hero.hero-with-weather .hero-actions .button{min-height:36px;padding:7px 12px;font-size:12px}.hero-weather{color:#fff;border-inline-start:1px solid #ffffff42;min-width:0;padding-inline-start:22px}.hero-weather .weather-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.hero-weather .weather-heading h3{color:#fff;margin:2px 0;font-size:18px;line-height:1.4}.weather-eyebrow{color:#ffffffc9;font-size:11px}.hero-weather-refresh{color:#fff;background:#ffffff16;border:1px solid #ffffff65;border-radius:9px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid;box-shadow:0 2px #0002}.hero-weather-refresh:hover:not(:disabled){background:#ffffff30}.hero-weather-refresh:active:not(:disabled){box-shadow:none;transform:translateY(1px)}.hero-weather .weather-body{flex-wrap:wrap;align-items:center;gap:10px;padding:8px 0 4px;display:flex}.hero-weather .weather-icon{font-size:34px;line-height:1}.hero-weather .weather-body strong{font-variant-numeric:tabular-nums;color:#fff;font-size:29px;line-height:1.25}.hero-weather .weather-body p{color:#ffffffdf;margin:0;font-size:12px;line-height:1.5}.hero-weather .weather-body dl{gap:15px;margin:0 auto 0 0;display:flex}.hero-weather .weather-body dl>div{gap:3px;display:grid}.hero-weather .weather-body dt{color:#ffffffcb;font-size:11px}.hero-weather .weather-body dd{color:#fff;margin:0;font-size:13px;font-weight:800}.hero-weather .weather-time{color:#ffffffd9;margin:5px 0;font-size:10px;line-height:1.5}.hero-weather .weather-attribution{color:#ffffffcb;font-size:10px;line-height:1.5;display:block}.hero-weather .weather-attribution a{text-underline-offset:2px;text-decoration:underline}.hero-weather>[role=status]{color:#fff;margin:8px 0;font-size:12px}.weather-settings{margin-bottom:20px}@media (width<=760px){.hero.hero-with-weather{grid-template-columns:1fr;gap:12px;padding:16px 18px}.hero-weather{border-inline-start:0;padding-inline-start:0;border-top:1px solid #ffffff42;padding-top:9px}.hero.hero-with-weather .hero-kicker,.hero-weather .weather-eyebrow{display:none}.hero.hero-with-weather .hero-content>p{max-width:none;font-size:12px;line-height:1.55}.hero.hero-with-weather h2{margin-top:0;font-size:22px}.hero.hero-with-weather .hero-actions{margin-top:9px}.hero.hero-with-weather .hero-actions .button{flex:1;gap:6px;min-width:0;padding:7px 8px;font-size:11px}.hero-weather .weather-heading h3{margin:0;font-size:17px}.hero-weather .weather-body{flex-wrap:nowrap}.hero-weather .weather-body>div{align-items:baseline;gap:7px;display:flex}.hero-weather .weather-body dl{gap:16px}}.weather-setting-row{flex-wrap:wrap;align-items:flex-end;gap:14px;display:flex}.weather-setting-row label{gap:7px;min-width:220px;display:grid}.weather-setting-row select{border:1px solid var(--line);background:var(--paper);min-height:48px;color:var(--ink);border-radius:10px;padding:8px 12px}html[data-user-mode=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--paper:#162333;--ink:#e6eef8;--muted:#b4c6d9;--line:#415772;--bg:#0d1623;--user-bg:#0d1623;--user-soft:color-mix(in srgb,var(--user-color) 22%,#162333);--shadow:0 6px 24px #0003}html[data-user-mode=dark] body,html[data-user-mode=dark] .main-area{background:var(--bg)!important;color:var(--ink)!important}html[data-user-mode=dark] :is(.panel,.ui-card,.stat-card,.market-card,.recurring-expense-card,.finance-breakdown,.chart-card,.warehouse-card,.modal-card,.auth-card,.theme-choice,.access-grid fieldset,.table-column-options,.report-columns-dialog,.report-column-groups fieldset,.rep-product-card,.invoice-product-card,.invoice-stock-panel,.invoice-selected-panel){background:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important}html[data-user-mode=dark] :is(.app-shell>.sidebar,.warehouse-portal-header){border-color:var(--line)!important;color:var(--ink)!important;background:#132131!important}html[data-user-mode=dark] :is(.brand b,.title-block h1,.panel-heading h3,.ui-card-title,.invoice-builder-section-title h3,.stat-card>b,.finance-stats b,.warehouse-card h3,.rep-product-card h3,.invoice-product-name,.modal-head h2,.invoice-review-heading h3,.table-column-checks label){color:var(--ink)!important}html[data-user-mode=dark] :is(.title-block>span,.today,.panel-heading p,.ui-card-description,.stat-card>span,.stat-card>small,.chart-legend,.chart-legend b,.finance-stats small,.brand small,.side-bottom,.user-meta small,.modal-form label,.stack-form label,.form-hint,.invoice-product-meta span,.rep-product-details p,.chart-empty,.invoice-review-date,.invoice-workflow-cell small,.invoice-workflow-details small){color:var(--muted)!important}html[data-user-mode=dark] :is(input,select,textarea,.field-control){color:var(--ink)!important;background:#0f1b2a!important;border-color:#55718e!important;box-shadow:inset 0 2px 4px #0004!important}html[data-user-mode=dark] :is(input,textarea)::placeholder{opacity:1;color:#a2b5cb!important}html[data-user-mode=dark] :is(.button-quiet,.mini-action,.icon-btn,.side-nav button){color:var(--ink)!important;background:#22354b!important;border-color:#587591!important;box-shadow:0 3px #080f1b!important}html[data-user-mode=dark] :is(.side-nav button.selected,.theme-choice.selected,.access-summary,.access-save,.invoice-cart-summary){background:var(--user-soft)!important;color:var(--ink)!important;border-color:var(--user-color)!important}html[data-user-mode=dark] .button-logout{color:#ffc0c5!important;background:#452631!important;border-color:#855062!important}html[data-user-mode=dark] table{color:var(--ink)!important;background:var(--paper)!important}html[data-user-mode=dark] th{color:#dbe9f8!important;border-color:var(--line)!important;background:#21334a!important}html[data-user-mode=dark] td{color:var(--ink);background:0 0!important;border-color:#34485f!important}html[data-user-mode=dark] tbody tr:nth-child(2n){background:#1a2b3e!important}html[data-user-mode=dark] tbody tr:hover{background:#253b51!important}html[data-user-mode=dark] :is(.invoice-review-market,.invoice-review-total,.invoice-review-notes,.invoice-product-details,.invoice-print-history,.invoice-workflow-details,.market-picker-option,.product-dot,.workspace-role){color:var(--ink)!important;border-color:var(--line)!important;background:#1b2d40!important}html[data-user-mode=dark] :is(.stock-exhausted-row,.stock-exhausted-row:nth-child(2n),.stock-exhausted-row:hover,.invoice-product-unavailable,.invoice-product-selected-out,.rep-product-card.is-empty){color:#ffd1de!important;background:#432634!important;border-color:#a15c72!important}html[data-user-mode=dark] :is(.stock-exhausted-row td,.invoice-product-unavailable .invoice-product-name,.invoice-product-selected-out .invoice-product-name){color:#ffd1de!important}html[data-user-mode=dark] .theme-choice:hover{border-color:#91abc3!important}.pipeline button{background:var(--paper);color:var(--ink);border-color:var(--line)}.pipeline button b{color:inherit}.pipeline button span{color:var(--muted)}.pipeline button:hover{background:var(--user-soft,#e8f1f7);border-color:var(--user-color,#087ca6)}.pipeline button:focus-visible{outline:3px solid var(--user-color,#087ca6);outline-offset:3px}html[data-user-mode=dark] :is(.pipeline button,.finance-stats>div,.report-card,.report-metric){background:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important}html[data-user-mode=dark] :is(.pipeline button b,.report-metric b,.report-card b){color:var(--ink)!important}html[data-user-mode=dark] :is(.pipeline button span,.report-metric small,.report-card small){color:var(--muted)!important}html[data-user-mode=dark] :is(.pipeline button:hover,.report-card:hover){background:#253b51!important;border-color:#91b7da!important}html[data-user-mode=dark] .finance-stats .finance-net{background:#193b40!important;border-color:#5b9c99!important}html[data-user-mode=dark] .finance-stats>div:nth-child(4){background:#3c301c!important;border-color:#a78b59!important}html[data-user-mode=dark] .invoice-number{color:#a6dafa!important}html[data-user-mode=dark] :is(.invoice-market-selected,.invoice-market-result,.selected-invoice-item,.selected-invoice-empty,.invoice-modal-card .modal-actions){background:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important}html[data-user-mode=dark] :is(.invoice-market-selected strong,.invoice-market-result strong,.selected-invoice-item-heading b,.invoice-product-name){color:var(--ink)!important}html[data-user-mode=dark] :is(.invoice-market-selected small,.invoice-market-result small,.selected-invoice-item-heading small,.invoice-product-info small,.invoice-builder-section-title p){color:var(--muted)!important}html[data-user-mode=dark] .app-shell .invoice-product-name{color:var(--ink)!important;background:#22354b!important;border-color:#587591!important}html[data-user-mode=dark] :is(.invoice-product-meta strong,.invoice-product-total b,.selected-invoice-item-heading>strong,.invoice-cart-summary b){color:#a6dafa!important}html[data-user-mode=dark] .invoice-product-total span{color:var(--muted)!important}html[data-user-mode=dark] .invoice-quantity-control button{color:var(--ink)!important;background:#22354b!important;border-color:#587591!important}html[data-user-mode=dark] .invoice-market-result:hover{background:#253b51!important}html[data-user-mode=dark] .app-shell .invoice-product-selected-out .invoice-product-name{color:#ffd1de!important;background:#432634!important;border-color:#a15c72!important}@media (width<=600px){.table-column-actions .button{flex:1}.appearance-mode .theme-choice{padding:12px;font-size:16px}}}@media print{.table-column-toolbar,.table-column-options{display:none!important}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}}.print-invoice .print-totals-table{border-collapse:collapse;table-layout:fixed;width:100%}.print-invoice .print-totals-table th,.print-invoice .print-totals-table td{text-align:right;color:#163448;background:#fff;border:1px solid #879ba9;padding:8px 10px}.print-invoice .print-totals-table th{background:#f2f6f9;width:55%;font-weight:600}.print-invoice .print-totals-table td{font-variant-numeric:tabular-nums;font-weight:800}.print-invoice .invoice-summary-net>*{color:#15364f!important;background:#e9f0f5!important}.print-invoice .invoice-summary-balance>*{font-weight:800;border-top:2px solid #55758d!important}@media print{body.invoice-print-a4 .print-invoice{box-sizing:border-box;width:100%!important;max-width:100%!important}body.invoice-print-mode .print-invoice .print-items{border-collapse:collapse!important;border:1px solid #607d91!important;width:100%!important}body.invoice-print-mode .print-invoice .print-items th,body.invoice-print-mode .print-invoice .print-items td{text-align:center;vertical-align:middle;line-height:1.6;border:1px solid #8096a6!important}body.invoice-print-mode .print-invoice .print-items th{font-weight:800;color:#123349!important;background:#e8eff5!important}body.invoice-print-mode .print-invoice .print-items tbody tr:nth-child(2n){background:#f5f8fa!important}body.invoice-print-mode .print-invoice .print-totals{margin-top:12px;background:0 0!important;border:0!important;padding:0!important;display:block!important}body.invoice-print-mode .print-invoice .print-totals-table{border-collapse:collapse!important;width:100%!important}body.invoice-print-mode .print-invoice .print-totals-table th,body.invoice-print-mode .print-invoice .print-totals-table td{text-align:right;font-size:10pt;line-height:1.6;border:1px solid #8096a6!important;padding:7px 10px!important}body.invoice-print-mode .print-invoice-header{padding-bottom:12px;border-bottom:2px solid #355a73!important}body.invoice-print-mode .print-market{padding:10px;background:#f5f8fa!important;border:1px solid #a6b7c2!important;border-radius:0!important}body.invoice-print-mode .print-signatures{grid-template-columns:repeat(3,1fr);gap:10px;display:grid!important}body.invoice-print-mode .print-signatures span{text-align:center;padding:7px 3px 21px;border:1px solid #a6b7c2!important}body.invoice-print-receipt .print-invoice .receipt-items-list{table-layout:fixed!important}body.invoice-print-receipt .print-invoice .receipt-items-list th{padding:4px 2px!important;font-size:8pt!important}body.invoice-print-receipt .print-invoice .receipt-items-list td{padding:5px 2px!important;font-size:8.6pt!important}body.invoice-print-receipt .print-invoice .receipt-items-list th:nth-child(2),body.invoice-print-receipt .print-invoice .receipt-items-list td:nth-child(2){text-align:right}body.invoice-print-receipt .print-invoice .print-totals-table th,body.invoice-print-receipt .print-invoice .print-totals-table td{padding:5px 4px!important;font-size:8.5pt!important}body.invoice-print-receipt .print-invoice .invoice-summary-net td,body.invoice-print-receipt .print-invoice .invoice-summary-balance td{font-size:9.5pt!important}body.invoice-print-receipt .print-market{padding:6px!important}body.invoice-print-receipt .print-signatures{gap:4px}body.invoice-print-receipt .print-signatures span{padding-bottom:16px;font-size:7pt}}.report-columns-dialog .report-column-groups fieldset{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;display:grid}.report-columns-dialog .report-print-sections{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:14px;margin:14px 0 0;padding:10px 14px}.report-print-sections legend{font-size:13px;font-weight:700}.report-print-sections label{cursor:pointer;align-items:center;gap:9px;min-height:42px;display:flex}.report-print-sections input{flex:none;width:21px;height:21px;min-height:21px}.workflow-print-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.workflow-print-choices[hidden]{display:none}.workflow-print-choices fieldset{border:1px solid var(--line);border-radius:10px;max-height:190px;margin:8px 0 0;padding:8px;overflow:auto}.workflow-print-choices label{font-size:13px;line-height:1.5}@media (width<=650px){.report-columns-dialog .report-column-groups fieldset,.workflow-print-choices{grid-template-columns:1fr}}@media print{@page{margin:0;@top-left{content:none}@top-center{content:none}@top-right{content:none}@bottom-left{content:none}@bottom-center{content:none}@bottom-right{content:none}}@page qalaa-invoice-a4{size:A4;margin:0}@page cashier-receipt{size:80mm 297mm;margin:0}@page qalaa-report{size:A4;margin:0;@top-left{content:none}@top-center{content:none}@top-right{content:none}@bottom-left{content:none}@bottom-center{content:none}@bottom-right{content:none}}body.report-print-mode .print-report,body.stock-print-mode .print-stock,body.activity-print-mode .print-activity,body.finance-print-mode .print-finance{page:qalaa-report;box-sizing:border-box;-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:13mm!important}body.invoice-print-a4 .print-invoice{box-sizing:border-box;-webkit-box-decoration-break:clone;box-decoration-break:clone;page:qalaa-invoice-a4!important;width:210mm!important;max-width:210mm!important;padding:12mm!important}body.invoice-print-receipt .print-invoice{box-sizing:border-box;-webkit-box-decoration-break:clone;box-decoration-break:clone;page:cashier-receipt!important;width:80mm!important;max-width:80mm!important;padding:3mm!important}:is(.print-invoice,.print-report,.print-stock,.print-activity,.print-finance) a:after,:is(.print-invoice,.print-report,.print-stock,.print-activity,.print-finance) a:before{content:none!important}}@media screen{.market-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px;display:grid}.market-grid .market-card{border:1px solid var(--line,#b5cbd7);background:var(--paper,#fff);min-width:0;min-height:0;color:var(--ink,#163448);border-radius:16px;padding:14px}.market-grid .market-card .market-icon{width:30px;height:30px;margin-bottom:6px;font-size:20px}.market-grid .market-card h4{overflow-wrap:anywhere;margin:6px 0;font-size:16px;line-height:1.5}.market-grid .market-card p{text-overflow:ellipsis;white-space:nowrap;margin:4px 0;font-size:13px;overflow:hidden}.market-grid .market-card a,.market-grid .market-card small{font-size:13px}.market-grid .market-actions{flex-wrap:wrap;gap:6px;margin-top:10px}.home-market-card{text-align:start;cursor:pointer;font:inherit}.home-market-card:hover{border-color:var(--primary,#216795)}.home-markets-panel{margin-block:20px}.record-view-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 14px;display:flex}.record-view-toolbar [role=group]{gap:6px;display:flex}.record-view-toolbar [aria-pressed=true]{background:var(--primary,#216795);color:#fff;border-color:var(--primary,#216795)}.invoice-record-grid{grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:14px;display:grid}.invoice-record-card{border:1px solid var(--line,#b5cbd7);background:var(--paper,#fff);min-width:0;color:var(--ink,#163448);border-radius:18px;flex-direction:column;align-items:stretch;padding:18px;display:flex;box-shadow:0 3px 12px #102f4510}.invoice-record-card header{justify-content:space-between;align-items:center;gap:8px;display:flex}.invoice-record-card time{color:var(--muted,#52687a);font-size:12px}.invoice-record-card h4{overflow-wrap:anywhere;margin:14px 0 6px;font-size:18px}.invoice-card-rep{color:var(--muted,#52687a);margin:0 0 12px;font-size:13px}.invoice-record-card .status{white-space:normal;align-self:flex-start}.invoice-record-card dl{border-top:1px solid var(--line,#b5cbd7);margin:16px 0;padding-top:12px}.invoice-record-card dl>div{justify-content:space-between;gap:8px;margin:6px 0;display:flex}.invoice-record-card dt{font-size:13px}.invoice-record-card dd{font-variant-numeric:tabular-nums;margin:0;font-weight:700}.invoice-card-actions{margin-top:auto;padding-top:14px}.invoice-card-actions:empty{display:none}.invoice-card-actions>.mini-action{justify-content:center;align-items:center;width:100%;min-height:40px;display:flex}.invoice-record-card .row-actions{flex-wrap:wrap;gap:6px;margin-top:0;display:flex}.invoice-record-card .mini-action{min-height:36px}.invoice-tone-complete{--invoice-tone-bg:#edf8f1;--invoice-tone-ink:#14532d;--invoice-tone-line:#78b590}.invoice-tone-debt{--invoice-tone-bg:#fff0f0;--invoice-tone-ink:#8c2429;--invoice-tone-line:#d99a9e}.invoice-tone-pending{--invoice-tone-bg:#fff8df;--invoice-tone-ink:#70500c;--invoice-tone-line:#c9ad61}.invoice-tone-cancelled{--invoice-tone-bg:#f0f2f5;--invoice-tone-ink:#485361;--invoice-tone-line:#a6b0bc}html[data-user-mode=dark] .invoice-tone-complete{--invoice-tone-bg:#153d31;--invoice-tone-ink:#d2f6e4;--invoice-tone-line:#509578}html[data-user-mode=dark] .invoice-tone-debt{--invoice-tone-bg:#49252c;--invoice-tone-ink:#ffe0e4;--invoice-tone-line:#c07a87}html[data-user-mode=dark] .invoice-tone-pending{--invoice-tone-bg:#42361c;--invoice-tone-ink:#ffedb9;--invoice-tone-line:#b79c56}html[data-user-mode=dark] .invoice-tone-cancelled{--invoice-tone-bg:#2b3440;--invoice-tone-ink:#dde4ed;--invoice-tone-line:#718297}.invoice-record-card[class*=invoice-tone-],html[data-user-mode=dark] .pipeline button[class*=invoice-tone-],.pipeline button[class*=invoice-tone-]{background:var(--invoice-tone-bg)!important;color:var(--invoice-tone-ink)!important;border-color:var(--invoice-tone-line)!important}.invoice-record-card[class*=invoice-tone-] :is(time,.invoice-card-rep,.invoice-number),html[data-user-mode=dark] .invoice-record-card[class*=invoice-tone-] .invoice-number,.pipeline button[class*=invoice-tone-] :is(b,span),html[data-user-mode=dark] .pipeline button[class*=invoice-tone-] :is(b,span){color:var(--invoice-tone-ink)!important}.invoice-presentation :is(.status-new,.status-preparing,.status-ready){color:#634409;background:#ffedb1}.invoice-presentation .status-partially_paid{color:#82222b;background:#ffd9dc}.invoice-presentation .status-closed{color:#155333;background:#c7efd8}.invoice-presentation .status-cancelled{color:#3c4654;background:#e0e5ec}@media (width<=380px){.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-record-grid{grid-template-columns:minmax(0,1fr)}}}
