:root{--bg-top:#fbf4ea;--bg-bottom:#e7ddcf;--ink:#1d2a24;--muted:#5a645f;--paper:rgba(255,251,245,.88);--line:rgba(29,42,36,.08);--teal:#114c49;--teal-soft:#1a6460;--gold:#d7982f;--gold-soft:#f0cc7a;--rose:#c85b51;--shadow:0 24px 65px rgba(45,31,12,.08)}body,html{margin:0;min-height:100%;background:radial-gradient(circle at 0 0,rgba(214,152,47,.25),transparent 26%),radial-gradient(circle at 100% 0,rgba(17,76,73,.28),transparent 28%),linear-gradient(180deg,#fbf4ea,#e7ddcf);background:radial-gradient(circle at 0 0,rgba(214,152,47,.25),transparent 26%),radial-gradient(circle at 100% 0,rgba(17,76,73,.28),transparent 28%),linear-gradient(180deg,var(--bg-top) 0,var(--bg-bottom) 100%);color:#1d2a24;color:var(--ink);font-family:Avenir Next,Segoe UI,sans-serif;height:100vh;overflow:hidden}body{overflow-x:hidden}a{color:inherit}*{box-sizing:border-box}button,input,select,textarea{font:inherit}.expense-shell{min-height:100vh;overflow-y:auto;height:100vh;position:relative;padding:28px 24px 56px}.login-shell{min-height:100vh;padding:32px 24px;display:grid;place-items:center}.hero-panel,.panel{width:100%;max-width:1480px;margin:0 auto;border:1px solid rgba(29,42,36,.08);border:1px solid var(--line);border-radius:28px;background:rgba(255,251,245,.88);background:var(--paper);box-shadow:0 24px 65px rgba(45,31,12,.08);box-shadow:var(--shadow)}.hero-panel{padding:28px 32px;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.9fr);grid-gap:24px;gap:24px;align-items:end}.login-panel{align-items:stretch;width:500px}.eyebrow,.label{display:block;text-transform:uppercase;letter-spacing:.16em;font-size:.74rem;color:#776f62}.hero-copy{display:none!important}.decision-box h3,.hero-copy h1,.note-card h3,.panel h2{margin:10px 0 0;line-height:.98}.hero-copy h1{max-width:900px;font-size:clamp(2.3rem,4vw,4.2rem)}.hero-text{max-width:820px;margin:14px 0 0;color:#5a645f;color:var(--muted);font-size:1rem;line-height:1.6}.hero-controls{display:grid;grid-gap:18px;gap:18px}.admin-panel,.inbox-panel,.login-card,.metric-panel{position:relative;overflow:hidden;max-height:100%}.line-items{display:grid;grid-gap:16px;gap:16px}.line-item-row{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(120px,1fr)) auto;grid-gap:14px;gap:14px;align-items:end}.qr-preview{width:220px;max-width:100%;padding:12px;border-radius:18px;background:hsla(0,0%,100%,.8);border:1px solid rgba(29,42,36,.08);border:1px solid var(--line)}.currency-symbol{width:16px;height:16px;-o-object-fit:contain;object-fit:contain;vertical-align:middle}.inline-symbol{display:inline-block;margin:0 4px}.xml-preview{max-height:420px;overflow:auto;padding:16px;border-radius:18px;background:rgba(17,76,73,.06);border:1px solid rgba(29,42,36,.08);border:1px solid var(--line);white-space:pre-wrap;word-break:break-word}.einvoice-hero{grid-template-columns:minmax(0,1.7fr) minmax(320px,.8fr);align-items:stretch}.einvoice-grid{width:100%;max-width:1480px;margin:24px auto 0;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);grid-gap:24px;gap:24px;align-items:start}.einvoice-panel,.einvoice-result{padding:28px}.einvoice-panel{display:grid;grid-gap:24px;gap:24px}.einvoice-detail-grid{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(280px,.7fr) minmax(0,1fr);grid-gap:20px;gap:20px;align-items:start}.qr-card,.validation-card{display:grid;grid-gap:14px;gap:14px}.qr-text{min-height:140px;resize:vertical;border-radius:16px;border:1px solid rgba(29,42,36,.08);border:1px solid var(--line);background:rgba(17,76,73,.04);padding:14px 16px}.muted-copy,.qr-text{color:#5a645f;color:var(--muted)}.muted-copy{margin:0;line-height:1.6}.button-stack{display:flex;flex-wrap:wrap;grid-gap:10px;gap:10px;align-items:center}.payment-means-card{margin-top:18px;padding:0;overflow:hidden}.payment-means-select{min-height:170px;padding-right:12px}.payment-means-table{margin-bottom:0}.payment-means-note{padding:14px 16px 18px}.sheet-help{margin:8px 0 0;color:#5a645f;color:var(--muted);font-size:.92rem}.einvoice-plus-shell{display:grid;grid-gap:24px;gap:24px}.einvoice-plus-hero{grid-template-columns:minmax(0,1.5fr) minmax(340px,.9fr)}.invoice-plus-actions{display:grid;grid-gap:16px;gap:16px;align-content:center}.invoice-plus-actions .button-stack{display:grid;grid-gap:12px;gap:12px}.invoice-plus-actions .ghost-button{width:100%;justify-content:flex-start;padding:14px 18px;border:1px solid rgba(17,76,73,.16);background:hsla(0,0%,100%,.92);color:#1d2a24;color:var(--ink);box-shadow:0 12px 24px rgba(17,76,73,.08)}.invoice-plus-actions .ghost-button:hover:not(:disabled){background:#fff;border-color:rgba(17,76,73,.28)}.zatca-results{display:grid;grid-gap:16px;gap:16px;margin-top:12px}.zatca-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px}.zatca-result-card{display:grid;grid-gap:12px;gap:12px;padding:20px;border-radius:20px;border:1px solid rgba(17,76,73,.14);background:hsla(0,0%,100%,.94)}.zatca-result-head{display:flex;align-items:center;justify-content:space-between;grid-gap:12px;gap:12px}.zatca-result-card .xml-preview{margin:0;min-height:220px;max-height:360px;font-size:.88rem;background:rgba(17,76,73,.05)}.einvoice-plus-grid{width:100%;max-width:1480px;margin:0 auto;display:grid;grid-template-columns:1fr;grid-gap:24px;gap:24px;align-items:start}.einvoice-plus-preview-wrap,.einvoice-plus-sidebar{padding:28px}.einvoice-plus-sidebar{display:grid;grid-gap:22px;gap:22px;max-width:1480px;margin:0 auto}.zatca-onboarding-panel{display:grid;grid-gap:18px;gap:18px}.compact-head{margin-top:8px}.invoice-plus-lines .line-item-row{grid-template-columns:minmax(0,2fr) repeat(3,minmax(110px,1fr)) auto}.master-list{margin-top:8px}.master-card{justify-content:space-between;align-items:center}.einvoice-print-sheet{width:100%;padding:32px 34px;border-radius:24px;background:linear-gradient(180deg,hsla(0,0%,100%,.985),hsla(35,67%,96%,.99)),linear-gradient(135deg,rgba(215,152,47,.06),rgba(17,76,73,.06));border:1px solid rgba(17,76,73,.14);box-shadow:0 24px 60px rgba(29,42,36,.1);display:grid;grid-gap:20px;gap:20px;margin:0 auto 100px}.invoice-sheet-head{display:grid;grid-gap:14px;gap:14px}.invoice-sheet-head-title{display:grid;justify-items:center}.invoice-sheet-head-title h1{margin:0;font-size:20px;line-height:1.1;letter-spacing:-.03em;text-align:center}.invoice-sheet-head-band{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-gap:20px;gap:20px;align-items:center;padding:20px 18px;border-radius:22px;background:rgba(17,76,73,.06);border:1px solid rgba(17,76,73,.08)}.invoice-sheet-footer{display:flex;justify-content:space-between;grid-gap:20px;gap:20px;align-items:start;flex-wrap:wrap}.invoice-sheet-head-block{min-width:0}.invoice-sheet-head-copy{display:grid;grid-gap:14px;gap:14px}.invoice-sheet-head-copy-ar{text-align:right;justify-items:end}.invoice-sheet-head-qr{display:grid;justify-items:center;align-self:center}.sheet-meta-pair{display:grid;grid-gap:6px;gap:6px}.sheet-meta-label{font-size:.95rem;line-height:1.3}.sheet-card p,.sheet-meta{margin:0;color:#5a645f;color:var(--muted);line-height:1.5}.invoice-sheet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.sheet-card{padding:16px 18px;border-radius:16px;background:hsla(0,0%,100%,.96);border:1px solid rgba(17,76,73,.14);display:grid;grid-gap:8px;gap:8px}.sheet-input,.sheet-table-input{width:100%;border:1px solid rgba(17,76,73,.12);background:hsla(0,0%,100%,.9);border-radius:12px;padding:10px 12px;color:#1d2a24;color:var(--ink)}.sheet-strong-input{font-size:1.06rem;font-weight:700}.sheet-inline-fields{display:grid;grid-template-columns:minmax(0,1fr) 130px;grid-gap:10px;gap:10px}.invoice-sheet-qr{width:150px;padding:8px}.invoice-sheet-head-qr-image{width:156px}.invoice-sheet-head-qr-placeholder{width:156px;min-height:156px}.sheet-qr-placeholder{min-height:150px;display:grid;place-items:center;text-align:center;padding:18px;color:#5a645f;color:var(--muted);border-radius:18px;border:1px dashed rgba(17,76,73,.2);background:rgba(17,76,73,.03)}.invoice-sheet-table-wrap{border-radius:16px;border:1px solid rgba(17,76,73,.16);overflow:auto;background:hsla(0,0%,100%,.96)}.invoice-sheet-table{width:100%;border-collapse:collapse;table-layout:fixed}.invoice-sheet-table td,.invoice-sheet-table th{padding:14px 16px;border:1px solid rgba(17,76,73,.14);text-align:left;vertical-align:middle}.sheet-table-input{min-width:0;padding:8px 10px}.numeric-cell{text-align:right}.sheet-total-cell{white-space:nowrap;font-weight:700}.col-description{width:31%}.col-quantity,.col-vat-rate{width:8%}.col-unit-price{width:11%}.col-subtotal,.col-total,.col-vat-amount{width:14%}.full-width-preview{max-width:1480px;margin:0 auto}.invoice-sheet-table thead{background:rgba(17,76,73,.08)}.invoice-sheet-table th{vertical-align:bottom}.invoice-sheet-table th small,.invoice-sheet-table th span{display:block}.invoice-sheet-table th span{margin-bottom:4px;font-weight:800;line-height:1.35}.invoice-sheet-table th small{font-size:.78rem;line-height:1.3;color:#5a645f;color:var(--muted)}.sheet-action-cell,.sheet-action-head{width:64px;text-align:center!important}.sheet-icon-button{width:36px;height:36px;padding:0;border-radius:999px;border:1px solid rgba(17,76,73,.14);background:hsla(0,0%,100%,.92);color:#114c49;color:var(--teal);display:inline-flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(17,76,73,.08)}.sheet-icon-button svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.add-line-button{font-size:1.3rem;font-weight:800}.delete-line-button{color:#c85b51;color:var(--rose)}.sheet-empty-row{text-align:center;color:#5a645f;color:var(--muted)}.sheet-note,.sheet-totals-table-wrap{display:grid;grid-gap:10px;gap:10px}.sheet-totals-table-wrap{min-width:420px;flex:1 1 420px}.sheet-totals-table{width:100%;border-collapse:collapse;overflow:hidden;border:1px solid rgba(17,76,73,.16);border-radius:16px;background:hsla(0,0%,100%,.48)}.sheet-totals-table td{border:1px solid rgba(17,76,73,.14);padding:18px 20px;vertical-align:middle}.sheet-totals-table td:first-child{text-align:center}.sheet-totals-table span,.sheet-totals-table strong{display:block}.sheet-totals-table strong{font-size:1.05rem}.sheet-totals-table span{margin-top:8px;color:#5a645f;color:var(--muted);font-size:.98rem}.totals-value-cell{width:220px;text-align:center;font-size:1.15rem;font-weight:700;white-space:nowrap}.discount-input-wrap{display:flex;align-items:center;justify-content:center;width:-moz-max-content;width:max-content;margin:0 auto}.discount-input-wrap input{width:6ch;min-width:5.5ch;padding-left:0;padding-right:0;text-align:right;font:inherit}.sheet-date-field{display:grid;grid-gap:6px;gap:6px;max-width:240px;margin-top:12px}.sheet-date-field span{color:#5a645f;color:var(--muted);font-size:.9rem;font-weight:600}.screen-form-stack{display:grid;grid-gap:8px;gap:8px}.print-data-stack{display:grid;grid-gap:6px;gap:6px}.print-cell-value,.print-data-stack span,.print-data-stack strong{color:#1d2a24;color:var(--ink)}.print-cell-value{display:none;line-height:1.35}.print-cell-value-numeric{text-align:right}.print-hidden-visible{display:none}@media print{@page{size:A4 portrait;margin:12mm}body,html{width:210mm;min-height:297mm;margin:0;padding:0;background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact}.einvoice-plus-hero,.einvoice-plus-sidebar,.print-only-hidden,.topbar-wrap{display:none!important}.print-cell-value,.print-hidden-visible{display:block!important}.einvoice-plus-grid,.einvoice-plus-preview-wrap,.einvoice-plus-shell,.expense-shell,.panel{margin:0;padding:0;max-width:none;width:100%;border:0;box-shadow:none;background:transparent}.einvoice-plus-grid,.einvoice-plus-shell{display:block}.einvoice-print-sheet{width:100%;min-height:calc(297mm - 24mm);box-sizing:border-box;box-shadow:none;border:1px solid #8fa4a2;border-radius:0;max-width:none;margin:0;padding:0;grid-gap:8mm;gap:8mm;background:#fff;overflow:visible}.sheet-input,.sheet-table-input{border:0;padding:0;background:transparent;box-shadow:none;-moz-appearance:none;appearance:none;-webkit-appearance:none;min-height:0}.invoice-sheet-footer,.invoice-sheet-grid,.invoice-sheet-head,.invoice-sheet-table-wrap,.note-reference-card,.sheet-card,.sheet-note,.sheet-totals-table-wrap{-moz-column-break-inside:avoid;break-inside:avoid;page-break-inside:avoid}.invoice-sheet-head{grid-gap:6mm;gap:6mm}.invoice-sheet-head-title h1{margin:0;font-size:8.5mm;line-height:1.15}.invoice-sheet-head-band{grid-template-columns:minmax(0,1fr) 118px minmax(0,1fr);grid-gap:4mm;gap:4mm;align-items:flex-start;padding:5mm 4mm;border-radius:5mm;border:1px solid #d7d7d7;background:#f4f4f4}.invoice-sheet-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:4mm;gap:4mm}.sheet-meta-pair{grid-gap:1.5mm;gap:1.5mm}.sheet-meta-label{font-size:4mm;line-height:1.2}.sheet-meta-pair strong{font-size:4.2mm;line-height:1.2}.invoice-sheet-table-wrap,.sheet-card,.sheet-totals-table{border-color:#8fa4a2}.sheet-card{padding:4mm;grid-gap:2.5mm;gap:2.5mm}.sheet-card .sheet-input{font-size:3.4mm;line-height:1.25}.screen-form-stack{display:none!important}.print-data-stack{grid-gap:2mm;gap:2mm}.print-data-stack strong{font-size:3.8mm;line-height:1.25}.print-data-stack span{font-size:3.1mm;line-height:1.3}.invoice-sheet-head-qr-image,.invoice-sheet-head-qr-placeholder{width:30mm}.invoice-sheet-head-qr-image{padding:1.5mm;background:#fff}.invoice-sheet-table-wrap{border-radius:0;overflow:visible}.invoice-sheet-table{width:100%;table-layout:fixed;border-collapse:collapse}.invoice-sheet-table td,.invoice-sheet-table th,.sheet-totals-table td{border-color:#8fa4a2}.invoice-sheet-table td,.invoice-sheet-table th{padding:2.4mm 1.8mm;font-size:3.2mm;line-height:1.25;word-break:break-word;overflow-wrap:break-word;vertical-align:top}.invoice-sheet-table th small{font-size:2.8mm}.invoice-sheet-table th span{margin-bottom:2px;font-size:3.1mm}.invoice-sheet-table .col-description{width:34%;min-width:34%}.invoice-sheet-table td.col-description,.invoice-sheet-table th.col-description{white-space:normal;word-break:break-word;overflow-wrap:break-word}.invoice-sheet-table td.col-description .sheet-table-input{white-space:normal;display:block;width:100%;overflow:visible;text-overflow:unset;line-height:1.3}.invoice-sheet-table td .print-cell-value{white-space:normal;word-break:break-word;overflow-wrap:break-word}.invoice-sheet-table .col-quantity,.invoice-sheet-table .col-vat-rate{width:7%;min-width:7%}.invoice-sheet-table .col-unit-price{width:10%;min-width:10%}.invoice-sheet-table .col-subtotal,.invoice-sheet-table .col-total,.invoice-sheet-table .col-vat-amount{width:14%;min-width:14%}.invoice-sheet-table .currency-symbol{width:3.2mm;height:3.2mm;margin:0 1mm}.sheet-totals-table td{padding:3mm 3.5mm}.totals-value-cell{width:32mm;font-size:3.8mm}.invoice-sheet-footer{display:grid;grid-template-columns:1fr;grid-gap:4mm;gap:4mm;align-items:stretch}.sheet-note{padding:3.2mm 3.6mm;border:1px solid #8fa4a2;grid-gap:1.5mm;gap:1.5mm}.sheet-note strong{font-size:3.3mm}.sheet-meta,.sheet-note p,.sheet-note span{font-size:3mm;line-height:1.3}.sheet-totals-table strong{font-size:3.3mm}.sheet-totals-table span{margin-top:1mm;font-size:2.9mm}.note-reference-pair{padding:3.2mm 3.6mm}.note-reference-pair .sheet-meta-label{max-width:68%}.note-reference-pair strong{font-size:4mm}img,svg,tr{-moz-column-break-inside:avoid;break-inside:avoid;page-break-inside:avoid}}.text-link-button{text-decoration:none}.validation-result{display:grid;grid-gap:10px;gap:10px}.login-card{padding:24px;border-radius:26px;border:1px solid rgba(29,42,36,.08);border:1px solid var(--line);background:hsla(0,0%,100%,.74)}.icon-row{margin-top:28px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px}.icon-card{padding:18px;border-radius:22px;border:1px solid rgba(17,76,73,.08);background:linear-gradient(180deg,hsla(0,0%,100%,.74),rgba(255,248,238,.9));display:grid;grid-gap:12px;gap:12px}.brand-mark svg,.empty-state-card svg,.ghost-button svg,.icon-card svg,.metric-line svg,.nav-button svg,.primary-button svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.icon-card svg{width:28px;height:28px;color:#114c49;color:var(--teal)}.status-card{padding:18px 20px;border-radius:24px;background:linear-gradient(135deg,#0f3432,#1a5854);color:#f8f2ea}.status-card strong{display:block;margin-top:8px;font-size:1.35rem}.status-card strong.online{color:#8fe3c2}.status-card small{display:block;margin-top:8px;color:hsla(34,50%,95%,.72)}.compact-status{min-width:220px}.topbar-wrap{position:sticky;top:0;z-index:20;padding:12px 18px 0}.app-topbar{max-width:1480px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;grid-gap:18px;gap:18px;flex-wrap:wrap}.app-navbar{position:relative;overflow:visible;padding:10px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.app-navbar:after{content:"";position:absolute;inset:0 auto 0 0;width:320px;pointer-events:none}.brand-mark,.empty-state-card,.metric-line,.session-badge,.toggle-control,.topbar-meta,.topbar-nav{display:flex;align-items:center}.brand-mark,.empty-state-card,.metric-line,.topbar-meta{grid-gap:12px;gap:12px}.brand-mark small,.brand-mark strong,.session-badge small,.session-badge strong{display:block}.brand-mark small,.session-badge small{color:#5a645f;color:var(--muted)}.navbar-brand{min-width:0;display:flex;align-items:center;grid-gap:14px;gap:14px;position:relative;z-index:1;text-decoration:none}.company-logo{width:62px;height:62px;border-radius:20px;background:linear-gradient(145deg,rgba(17,76,73,.96),rgba(10,48,46,.92));box-shadow:0 18px 30px rgba(17,76,73,.24);display:grid;grid-template-columns:1fr 1fr;overflow:hidden}.company-logo-badge,.company-logo-grid{display:grid;place-items:center}.company-logo-badge{background:linear-gradient(145deg,rgba(215,152,47,.92),rgba(199,121,23,.92))}.company-logo-badge svg{width:24px;height:24px;color:#fff9ef}.company-logo-grid{grid-template-columns:repeat(2,1fr);grid-gap:4px;gap:4px;padding:10px}.company-logo-grid span{display:block;border-radius:6px;background:rgba(255,251,245,.9)}.brand-copy{display:grid;grid-gap:3px;gap:3px}.brand-copy strong,.workspace-chip span,.workspace-chip strong{display:block}.brand-copy strong{font-size:1.02rem}.brand-copy small{color:#5a645f;color:var(--muted)}.workspace-chip{padding:8px 12px;border-radius:16px;background:rgba(17,76,73,.08)}.workspace-chip span{color:#5a645f;color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em}.workspace-chip strong{margin-top:2px;color:#114c49;color:var(--teal);font-size:.86rem}.topbar-nav{flex:1 1 520px;grid-gap:10px;gap:10px;flex-wrap:wrap;justify-content:center;position:relative;z-index:1}.nav-button{min-height:46px;padding:12px 16px;border-radius:16px;background:rgba(17,76,73,.05);color:#114c49;color:var(--teal);display:inline-flex;align-items:center;grid-gap:10px;gap:10px;border:1px solid rgba(17,76,73,.08);white-space:nowrap}.nav-button.active{background:linear-gradient(135deg,rgba(17,76,73,.96),rgba(26,100,96,.9));color:#f8f2ea}.session-badge{padding:12px 14px;border-radius:18px;background:rgba(17,76,73,.06);border:1px solid rgba(17,76,73,.08);grid-gap:10px;gap:10px}.session-badge svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;color:#114c49;color:var(--teal);flex:0 0 auto}.topbar-meta{position:relative;z-index:1;flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;grid-gap:12px;gap:12px}.navbar-notifications{position:relative;z-index:3}.nav-icon-button{position:relative;width:46px;height:46px;padding:0;border-radius:16px;border:1px solid rgba(17,76,73,.08);background:rgba(17,76,73,.05);color:#114c49;color:var(--teal);display:inline-flex;align-items:center;justify-content:center}.nav-icon-button.active{background:linear-gradient(135deg,rgba(17,76,73,.96),rgba(26,100,96,.9));color:#f8f2ea;box-shadow:0 16px 28px rgba(17,76,73,.22)}.nav-icon-button svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.nav-icon-badge{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:linear-gradient(135deg,#d7982f,#c97917);background:linear-gradient(135deg,var(--gold),#c97917);color:#241709;font-size:.72rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 10px 18px rgba(201,121,23,.28)}.notifications-panel{position:absolute;top:calc(100% + 12px);right:0;width:min(380px,88vw);z-index:40;border:1px solid rgba(29,42,36,.08);border:1px solid var(--line);border-radius:22px;background:rgba(255,251,245,.98);box-shadow:0 24px 52px rgba(45,31,12,.14);overflow:hidden}.notifications-panel-head{padding:16px 18px;border-bottom:1px solid rgba(17,76,73,.08);background:rgba(17,76,73,.06)}.notification-menu-item small,.notification-menu-item span,.notification-menu-item strong,.notifications-empty span,.notifications-empty strong,.notifications-panel-head small,.notifications-panel-head strong{display:block}.notification-menu-item small,.notifications-empty span,.notifications-panel-head small{color:#5a645f;color:var(--muted)}.notifications-panel-body{max-height:380px;overflow:auto}.notification-menu-item{width:100%;padding:14px 18px;text-align:left;background:transparent;border:0;border-bottom:1px solid rgba(17,76,73,.08);display:grid;grid-gap:6px;gap:6px}.notification-menu-item:last-child{border-bottom:0}.notification-menu-item span{color:#1d2a24;color:var(--ink);line-height:1.4}.notifications-empty{padding:18px;display:grid;grid-gap:6px;gap:6px}.board-grid,.workspace-grid{max-width:1480px;display:grid;grid-gap:24px;gap:24px;margin:24px auto 100px}.workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.board-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-panel{grid-column:1/-1}.panel{padding:24px}.panel-head{display:flex;justify-content:space-between;grid-gap:18px;gap:18px;align-items:center;margin-bottom:22px}.panel h2{font-size:1.65rem}.field{display:grid;grid-gap:8px;gap:8px}.field span{color:#605b52;font-size:.92rem}.field.compact span{font-size:.84rem}.checkbox-field{align-items:start}.checkbox-field input[type=checkbox]{width:18px;height:18px;margin:2px 0 0;padding:0;border-radius:6px}.checkbox-field small{color:#605b52;line-height:1.4}.decision-box input,.decision-box textarea,.field input,.field select,.field textarea{width:100%;border:1px solid rgba(29,42,36,.12);border-radius:18px;background:hsla(0,0%,100%,.9);padding:14px 16px;color:#1d2a24;color:var(--ink)}.field select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:linear-gradient(45deg,transparent 50%,rgba(29,42,36,.55) 0),linear-gradient(135deg,rgba(29,42,36,.55) 50%,transparent 0);background-position:calc(100% - 22px) calc(50% - 2px),calc(100% - 16px) calc(50% - 2px);background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:42px}.decision-box input:focus,.decision-box textarea:focus,.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid rgba(17,76,73,.18);border-color:rgba(17,76,73,.35)}.decision-box textarea,.field textarea{resize:vertical;min-height:120px}.decision-field{margin-bottom:10px}.field input.is-invalid,.field select.is-invalid,.field textarea.is-invalid{border-color:rgba(200,91,81,.6);background:hsla(6,100%,98%,.95)}.field-error{color:#9a2f25;font-size:.82rem;line-height:1.3}.detail-grid,.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.full-span{grid-column:1/-1}.summary-banner{margin-bottom:22px;padding:18px 20px;border-radius:24px;background:linear-gradient(135deg,rgba(17,76,73,.08),rgba(215,152,47,.14));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px;align-items:center}.count-badge,.mini-status,.status-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-size:.8rem;font-weight:700}.status-pill{padding:10px 16px;justify-self:end}.mini-status{padding:6px 12px}.count-badge{min-width:38px;min-height:38px;padding:0 12px;background:rgba(17,76,73,.08);color:#114c49;color:var(--teal)}.is-draft{background:rgba(95,104,99,.12);color:#56625b}.is-review{background:rgba(215,152,47,.16);color:#9b6304}.is-manager{background:rgba(17,76,73,.16);color:#114c49;color:var(--teal)}.is-approved{background:rgba(0,255,34,.18);color:#2c601c!important}.is-rejected{background:rgba(200,91,81,.16);color:#9b2d24}.is-paid{background:rgba(41,121,255,.12);color:#0b57d0}.is-standard-einvoice{background:rgba(126,87,194,.14);color:#5e35b1}.is-simplified-einvoice{background:rgba(0,150,136,.14);color:#00695c}.decision-box,.hint-card,.note-card,.preview-card,.preview-empty{border-radius:24px;border:1px solid rgba(29,42,36,.08);border:1px solid var(--line);background:hsla(0,0%,100%,.68)}.decision-box,.hint-card,.note-card{padding:18px 20px}.empty-state,.expense-card span,.hint-card p,.note-card p,.notification-row span,.preview-empty p{color:#5a645f;color:var(--muted)}.action-row,.decision-actions{display:flex;grid-gap:12px;gap:12px;align-items:center;flex-wrap:wrap}.action-row{margin-top:20px}.action-note{color:#114c49;color:var(--teal);font-weight:700}.dashboard-hero{align-items:center;max-height:104px!important}.hero-actions{display:flex;grid-gap:12px;gap:12px;flex-wrap:wrap}.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-panel{min-height:180px}.metric-line{margin-top:8px;grid-gap:14px;gap:14px}.metric-line strong{font-size:clamp(2rem,4vw,3.1rem);line-height:1}.inbox-card{align-items:center}.empty-state-card{min-height:220px;justify-content:center;flex-direction:column;text-align:center;grid-gap:14px;gap:14px;border-radius:24px;border:1px dashed rgba(17,76,73,.2);background:hsla(0,0%,100%,.64);padding:24px}.empty-state-card p{max-width:360px;margin:0;color:#5a645f;color:var(--muted)}.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-expense-panel,.admin-history-panel,.admin-message-panel{grid-column:1/-1}.admin-list{grid-gap:12px;gap:12px}.admin-filters,.admin-list{margin-top:18px;display:grid}.admin-filters{grid-template-columns:minmax(0,1fr) repeat(3,minmax(150px,1fr));grid-gap:14px;gap:14px}.admin-filter-search{grid-column:span 1}.admin-table-wrap{margin-top:18px;max-height:560px;overflow:auto;border-radius:24px;border:1px solid rgba(29,42,36,.08);border:1px solid var(--line);background:hsla(0,0%,100%,.7)}.admin-table{width:100%;border-collapse:collapse;min-width:920px}.admin-table td,.admin-table th{padding:16px 18px;border-bottom:1px solid rgba(29,42,36,.08);text-align:left;vertical-align:middle}.admin-history-meta span,.admin-table td span{color:#5a645f;color:var(--muted)}.admin-expense-panel .admin-table tbody td:first-child strong,.request-cell{display:block}.request-cell.with-thumbnail{display:grid;grid-template-columns:88px minmax(0,1fr);grid-gap:14px;gap:14px;align-items:center}.request-cell.with-thumbnail>div:nth-child(2) strong{display:block}.request-thumbnail{width:70px;height:100px;overflow:hidden}.request-thumbnail iframe{width:100%;height:100%;border:0;pointer-events:none}.table-pagination{margin-top:16px;display:flex;align-items:center;justify-content:space-between;grid-gap:16px;gap:16px;color:#5a645f;color:var(--muted);font-size:.92rem}.table-pagination-actions{display:inline-flex;align-items:center;grid-gap:10px;gap:10px;flex-wrap:wrap}.request-thumbnail-empty{width:100%;height:100%;display:grid;place-items:center}.request-thumbnail-sheet{width:100%;height:90%;border:1px solid #e3e3e3;padding:3px 8px;display:grid;grid-template-rows:18px 1fr auto;grid-gap:8px;gap:8px}.request-thumbnail-barcode{width:36px;height:14px;justify-self:end;border-radius:3px;background:repeating-linear-gradient(90deg,rgba(34,40,49,.92) 0 2px,hsla(0,0%,100%,.95) 2px 3px);box-shadow:inset 0 0 0 1px rgba(17,76,73,.08)}.request-thumbnail-lines{display:grid;grid-gap:5px;gap:5px;align-content:start}.request-thumbnail-lines span,.request-thumbnail-summary span{display:block;height:4px;border-radius:999px;background:rgba(44,63,82,.14)}.request-thumbnail-lines span:first-child{width:68%}.request-thumbnail-lines span:nth-child(2){width:88%}.request-thumbnail-lines span:nth-child(3){width:74%}.request-thumbnail-lines span:nth-child(4){width:81%}.request-thumbnail-lines span:nth-child(5){width:62%}.request-thumbnail-lines span:nth-child(6){width:78%}.request-thumbnail-summary{display:grid;grid-gap:5px;gap:5px}.request-thumbnail-summary span:first-child{width:58%;justify-self:end}.request-thumbnail-summary span:last-child{width:76%;justify-self:end;background:rgba(17,76,73,.18)}.admin-table tbody tr{cursor:pointer;transition:background .16s ease}.admin-table tbody tr.is-selected,.admin-table tbody tr:hover{background:rgba(17,76,73,.08)}.admin-history-panel{display:grid;grid-gap:18px;gap:18px}.admin-history-meta{display:flex;flex-wrap:wrap;grid-gap:12px 20px;gap:12px 20px}.admin-history-actions{display:grid;grid-gap:14px;gap:14px}.admin-row{padding:16px 18px;border-radius:22px;border:1px solid rgba(29,42,36,.08);border:1px solid var(--line);background:hsla(0,0%,100%,.7);display:flex;align-items:center;justify-content:space-between;grid-gap:16px;gap:16px}.admin-row span,.admin-row strong{display:block}.admin-row span{color:#5a645f;color:var(--muted)}.row-actions{display:flex;grid-gap:10px;gap:10px;flex-wrap:wrap}.compact-button{padding:10px 14px}.wide-button{width:100%;justify-content:center}.toggle-field{grid-gap:10px;gap:10px}.toggle-control{grid-gap:12px;gap:12px;padding:14px 16px;border-radius:18px;border:1px solid rgba(29,42,36,.12);background:hsla(0,0%,100%,.9)}.toggle-control input{width:18px;height:18px}button{border:0;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}button:hover:not(:disabled){transform:translateY(-1px)}button:disabled{opacity:.58;cursor:not-allowed}.danger-button,.ghost-button,.primary-button{border-radius:999px;padding:12px 18px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;grid-gap:10px;gap:10px}.primary-button{background:linear-gradient(135deg,#d7982f,#c97917);background:linear-gradient(135deg,var(--gold) 0,#c97917 100%);color:#241709;box-shadow:0 16px 30px rgba(201,121,23,.2)}.danger-button{background:rgba(200,91,81,.12);color:#c85b51;color:var(--rose)}.ghost-button{background:rgba(29,42,36,.06);color:#114c49;color:var(--teal)}.button-loader{width:16px;height:16px;border-radius:999px;border:2px solid rgba(36,23,9,.24);border-top-color:currentcolor;animation:spin .7s linear infinite;flex:0 0 auto}.dark-loader{border-color:#114c49 rgba(17,76,73,.16) rgba(17,76,73,.16);border-top-color:var(--teal)}.drop-zone{min-height:182px;border:2px dashed rgba(17,76,73,.2);border-radius:28px;padding:28px;display:grid;place-items:center;text-align:center;background:radial-gradient(circle at top,hsla(42,80%,71%,.28),transparent 45%),hsla(0,0%,100%,.72)}.drop-zone.is-active{border-color:rgba(17,76,73,.56);background:radial-gradient(circle at top,hsla(42,80%,71%,.4),transparent 48%),hsla(0,0%,100%,.88)}.drop-zone.is-disabled{opacity:.6}.file-strip{margin-top:18px;display:flex;grid-gap:10px;gap:10px;flex-wrap:wrap}.file-chip{padding:12px 14px;border-radius:18px;background:rgba(17,76,73,.06)}.file-chip span,.file-chip strong{display:block}.preview-card,.preview-empty{margin-top:18px;min-height:540px;height:90%}.preview-card iframe{display:block;width:100%;height:100%;min-height:540px;border:0}.preview-empty{display:grid;place-items:center;text-align:center;padding:24px}.document-list,.list-stack,.notification-list{display:grid;grid-gap:12px;gap:12px}.expense-card{width:100%;text-align:left;border-radius:22px;padding:16px 18px;background:hsla(0,0%,100%,.72);border:1px solid rgba(29,42,36,.08);border:1px solid var(--line);display:flex;justify-content:space-between;grid-gap:16px;gap:16px}.expense-card small,.expense-card span,.expense-card strong{display:block}.detail-summary{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));padding:18px 20px;border-radius:24px;background:linear-gradient(135deg,rgba(17,76,73,.08),rgba(17,76,73,.02))}.detail-summary,.note-card{display:grid;grid-gap:14px;gap:14px}.note-card{box-shadow:inset 0 1px 0 hsla(0,0%,100%,.55)}.note-card-head{display:grid;grid-template-columns:44px minmax(0,1fr);grid-gap:14px;gap:14px;align-items:start}.note-card-head h3{margin:0}.note-card-head p{margin:4px 0 0;font-size:.92rem}.note-card-body{display:grid;grid-gap:12px;gap:12px}.note-card-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:rgba(17,76,73,.1);color:#114c49;color:var(--teal)}.note-card-icon svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.note-card-decision{background:linear-gradient(135deg,rgba(215,152,47,.14),hsla(0,0%,100%,.82));border-color:rgba(215,152,47,.24)}.note-card-decision .note-card-icon{background:rgba(215,152,47,.18);color:#9b6304}.note-card-ocr{background:linear-gradient(135deg,rgba(17,76,73,.12),hsla(0,0%,100%,.84));border-color:rgba(17,76,73,.18)}.note-card-documents{background:linear-gradient(135deg,rgba(54,101,177,.1),hsla(0,0%,100%,.84));border-color:rgba(54,101,177,.18)}.note-card-documents .note-card-icon{background:rgba(54,101,177,.14);color:#365ea8}.note-card-notifications{background:linear-gradient(135deg,rgba(17,76,73,.09),rgba(215,152,47,.12),hsla(0,0%,100%,.9));border-color:rgba(17,76,73,.16)}.document-link{color:#114c49;color:var(--teal);font-weight:700;text-decoration:none}.document-link:hover{text-decoration:underline}.notification-row{display:grid;grid-gap:10px;gap:10px;padding:14px 16px;border:1px solid rgba(17,76,73,.12);border-radius:18px;background:linear-gradient(135deg,hsla(0,0%,100%,.92),hsla(38,41%,95%,.92));box-shadow:0 10px 24px rgba(29,42,36,.05)}.notification-row-head{display:flex;align-items:center;justify-content:space-between;grid-gap:12px;gap:12px;flex-wrap:wrap}.notification-row-badges{display:inline-flex;align-items:center;grid-gap:10px;gap:10px;flex-wrap:wrap}.notification-role{display:inline-flex;align-items:center;grid-gap:8px;gap:8px;padding:6px 10px;border-radius:999px;background:rgba(17,76,73,.12);color:#114c49;color:var(--teal);font-size:.8rem;letter-spacing:.04em}.notification-role:before{content:"";width:8px;height:8px;border-radius:50%;background:#d7982f;background:var(--gold);box-shadow:0 0 0 3px rgba(215,152,47,.12)}.notification-action{display:inline-flex;align-items:center;grid-gap:8px;gap:8px;padding:6px 10px;border-radius:999px;font-size:.8rem;font-weight:700;letter-spacing:.03em}.notification-action.is-paid{background:rgba(41,121,255,.12);color:#1d4ed8}.notification-action svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.notification-date{color:#7c7569;font-size:.8rem}.notification-row span{color:#1d2a24;color:var(--ink);line-height:1.55}.notification-comment{display:grid;grid-gap:6px;gap:6px;padding:12px 14px;border-radius:14px;border:1px solid rgba(168,42,42,.18);background:linear-gradient(135deg,hsla(0,100%,96%,.96),hsla(0,100%,98%,.98))}.notification-comment strong{color:#a32c2c;font-size:.82rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.notification-comment p{margin:0;color:#7c1f1f;font-weight:700;line-height:1.5}.message{margin:14px 0 0;font-weight:700}.message.success{color:#166747}.message.error{color:#9a2f25}.empty-state{margin:0;padding:16px 0}@media (max-width: 1120px){.admin-grid,.board-grid,.dashboard-grid,.detail-summary,.einvoice-grid,.einvoice-plus-grid,.hero-panel,.summary-banner,.workspace-grid,.zatca-results-grid{grid-template-columns:1fr}.admin-grid,.board-grid,.dashboard-grid,.einvoice-grid,.einvoice-plus-grid,.workspace-grid{grid-gap:18px;gap:18px}.app-topbar{align-items:stretch}.hero-actions,.topbar-nav{justify-content:stretch}.navbar-brand,.topbar-meta,.topbar-nav{flex-basis:100%}.topbar-nav{justify-content:flex-start}.topbar-meta{justify-content:space-between;align-items:center}.status-pill{justify-self:start}.invoice-sheet-head-band{grid-template-columns:1fr;justify-items:start}.invoice-sheet-head-qr{order:-1;justify-items:start}.invoice-sheet-head-copy-ar{text-align:left;justify-items:start}.invoice-sheet-grid{grid-template-columns:1fr}.invoice-sheet-footer{flex-direction:column}.sheet-totals-table-wrap{min-width:0;width:100%}.invoice-sheet-table,.sheet-totals-table{min-width:760px}.admin-table{min-width:860px}}@media (max-width: 720px){.expense-shell,.login-shell{padding:20px 16px 40px}.topbar-wrap{padding:12px 16px 0}.app-topbar,.hero-panel,.login-card,.panel{padding:20px;border-radius:22px}.hero-copy h1{font-size:2.2rem}.admin-filters,.detail-grid,.detail-summary,.einvoice-detail-grid,.form-grid,.icon-row,.invoice-sheet-grid,.line-item-row,.summary-banner{grid-template-columns:1fr}.preview-card,.preview-card iframe,.preview-empty{min-height:380px}.invoice-sheet-head-title h1{font-size:1.6rem}.invoice-sheet-head-band{padding:16px 14px;grid-gap:14px;gap:14px}.invoice-sheet-head-qr-image,.invoice-sheet-head-qr-placeholder{width:128px}.invoice-sheet-head-qr-placeholder{min-height:128px}.admin-table-wrap,.invoice-sheet-table-wrap,.sheet-totals-table-wrap{max-width:100%;overflow-x:auto}.admin-table,.invoice-sheet-table,.sheet-totals-table{min-width:820px}.sheet-totals-table td{padding:14px 16px}.sheet-totals-table strong{font-size:.98rem}.totals-value-cell{width:180px;font-size:1rem}.request-cell.with-thumbnail{grid-template-columns:68px minmax(0,1fr);grid-gap:10px;gap:10px}.action-row,.admin-row,.decision-actions,.panel-head{align-items:stretch}.danger-button,.ghost-button,.nav-button,.primary-button{width:100%;justify-content:center}.admin-row,.app-topbar,.brand-mark,.session-badge,.topbar-meta,.topbar-nav{flex-direction:column}.navbar-brand,.topbar-meta,.topbar-nav{width:100%}.navbar-brand{align-items:flex-start}.topbar-nav{grid-gap:8px;gap:8px}.topbar-meta{grid-gap:10px;gap:10px}.session-badge{width:100%}.notifications-panel{left:0;right:auto;width:min(100%,100vw - 32px)}.admin-row{align-items:stretch}.notification-row{padding:12px 14px}}@media (max-width: 480px){.expense-shell,.login-shell,.topbar-wrap{padding-left:12px;padding-right:12px}.app-topbar,.hero-panel,.login-card,.panel{padding:16px;border-radius:18px}.hero-copy h1{font-size:1.9rem}.hero-text,.muted-copy,.notification-row span,.sheet-meta-label{font-size:.95rem}.invoice-sheet-head-title h1{font-size:1.35rem}.sheet-input,.sheet-table-input{padding:10px}.sheet-action-cell,.sheet-action-head{width:52px}.sheet-icon-button{width:32px;height:32px}.admin-table,.invoice-sheet-table,.sheet-totals-table{min-width:700px}.invoice-sheet-head-band{padding:14px 12px}.summary-banner{grid-gap:12px;gap:12px}.company-logo{width:52px;height:52px;border-radius:16px}.brand-copy strong{font-size:.96rem}.notifications-panel{width:calc(100vw - 24px)}}.invoice-note-menu{position:fixed;z-index:40;min-width:180px;padding:8px;border:1px solid rgba(19,31,36,.12);border-radius:16px;background:#fff;box-shadow:0 18px 50px rgba(19,31,36,.18)}.invoice-note-menu-item{width:100%;border:0;background:transparent;color:#163238;text-align:left;padding:10px 12px;border-radius:12px;font:inherit;cursor:pointer}.invoice-note-menu-item:hover{background:rgba(205,138,30,.1)}.note-reference-full{grid-column:1/-1}.note-reference-card{grid-gap:14px;gap:14px}.note-reference-pair{display:flex;align-items:center;justify-content:space-between;grid-gap:16px;gap:16px;padding:16px 18px;border:1px solid rgba(19,31,36,.1);border-radius:16px;background:hsla(0,0%,100%,.7)}.note-reference-pair .sheet-meta-label{max-width:70%}.note-reference-pair strong{font-size:1.1rem}.note-reference-pair-ar{direction:rtl;text-align:right}.note-reason-field{margin-top:4px}@keyframes spin{to{transform:rotate(1turn)}}