:root{color-scheme:light;font-family:Arial,Noto Sans Arabic,sans-serif;background:#f6f7f9;color:#17202a}*{box-sizing:border-box}body{margin:0;max-width:100%;overflow-x:clip}.shell{align-items:center;display:flex;min-height:100vh;padding:32px}.status-panel{background:#ffffff;border:1px solid #d9e0e8;border-radius:8px;max-width:760px;padding:24px;width:100%}.panel-heading{align-items:center;display:flex;gap:16px;justify-content:space-between;margin-bottom:24px}h1{font-size:24px;line-height:1.25;margin:0}.status-grid{display:grid;grid-gap:12px;gap:12px}.shell-nav{border-top:1px solid #d9e0e8;display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;padding-top:16px}.shell-nav a{color:#0f4c81;font-weight:700;text-decoration:none}.v1-entry-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));margin-top:16px}.v1-entry-card{background:#ffffff;border:1px solid #d9e0e8;-webkit-border-start:4px solid #0f4c81;border-inline-start:4px solid #0f4c81;border-radius:8px;display:grid;grid-gap:12px;gap:12px;min-height:260px;padding:14px}.v1-entry-card:nth-child(2){border-inline-start-color:#0f6b5f}.v1-entry-card:nth-child(3){border-inline-start-color:#8a5a00}.v1-entry-card:nth-child(4){border-inline-start-color:#7752a8}.v1-entry-card:nth-child(5){border-inline-start-color:#0f4c81}.v1-entry-card:nth-child(6){border-inline-start-color:#b44848}.v1-entry-card:nth-child(7){border-inline-start-color:#7752a8}.v1-entry-card:nth-child(8){border-inline-start-color:#4b5b6b}.v1-entry-card:nth-child(9){border-inline-start-color:#0f6b5f}.v1-entry-card:nth-child(10){border-inline-start-color:#8a5a00}.v1-entry-card:nth-child(11){border-inline-start-color:#4b5b6b}.v1-entry-card-heading{align-items:flex-start;display:flex;gap:10px;justify-content:space-between}.v1-entry-card-heading h3{font-size:18px;margin:0}.v1-entry-card-rows{display:grid;grid-gap:10px;gap:10px}.v1-entry-link{align-self:end;border-top:1px solid #d9e0e8;color:#0f4c81;font-weight:700;padding-top:12px;text-decoration:none}.support-nav a{background:#ffffff;border:1px solid #d9e0e8;border-radius:8px;display:grid;grid-gap:4px;gap:4px;min-width:220px;padding:12px}.support-nav span{color:#4b5b6b;font-weight:400;line-height:1.5}.business-shell{margin:0;max-width:none;min-height:100vh;overflow-x:clip;padding:clamp(6px,1vw,32px);width:100%}.business-header{align-items:flex-start;border-bottom:1px solid #d9e0e8;display:flex;gap:16px;justify-content:space-between;padding-bottom:18px}.business-header h1,.workspace-band h2{margin:10px 0 0}.workspace-band{padding:24px 0}.dense-grid{display:grid;grid-gap:10px;gap:10px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-top:16px}.readiness-card-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));margin-top:16px}.readiness-card{background:#ffffff;border:1px solid #d9e0e8;-webkit-border-start:4px solid #0f6b5f;border-inline-start:4px solid #0f6b5f;border-radius:8px;display:grid;grid-gap:12px;gap:12px;min-height:210px;padding:14px}.readiness-card:nth-child(2){border-inline-start-color:#7752a8}.readiness-card:nth-child(3){border-inline-start-color:#8a5a00}.readiness-card:nth-child(4){border-inline-start-color:#0f4c81}.readiness-card:nth-child(5){border-inline-start-color:#b44848}.readiness-card-heading{align-items:flex-start;display:flex;gap:10px;justify-content:space-between}.readiness-card-heading h3{font-size:18px;margin:0}.readiness-card-rows,.settings-contract-list{display:grid;grid-gap:10px;gap:10px}.settings-contract-list{background:#ffffff;border:1px solid #d9e0e8;border-radius:8px;padding:14px}.company-context-panel{background:#ffffff;border:1px solid #d9e0e8;-webkit-border-start:4px solid #0f6b5f;border-inline-start:4px solid #0f6b5f;border-radius:8px;display:grid;grid-gap:10px;gap:10px;margin-top:16px;padding:14px}.company-identifiers-edit-form,.company-profile-edit-form,.office-contact-edit-form{background:#ffffff;border:1px solid #d9e0e8;-webkit-border-start:4px solid #0f4c81;border-inline-start:4px solid #0f4c81;border-radius:8px;display:grid;grid-gap:12px;gap:12px;margin-top:16px;padding:14px}.office-contact-edit-form{border-inline-start-color:#0f6b5f}.company-identifiers-edit-form{border-inline-start-color:#7a4b00}.company-profile-action-row,.company-profile-edit-header{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between}.company-profile-action-row span,.company-profile-edit-header p,.company-profile-status small{color:#4b5b6b;line-height:1.5;margin:0}.company-profile-field{align-items:start;display:grid;grid-gap:8px;gap:8px;grid-template-columns:minmax(120px,max-content) minmax(0,1fr)}.company-profile-field span,.company-profile-status strong{color:#4b5b6b;font-weight:700}.company-profile-field input,.company-profile-field textarea{border:1px solid #bac6d3;border-radius:6px;font:inherit;min-height:36px;padding:8px 10px;width:100%}.company-profile-field textarea{resize:vertical}.company-profile-action-row button:disabled,.company-profile-field input:disabled,.company-profile-field textarea:disabled{background:#eef1f4;color:#52616f;cursor:not-allowed}.company-profile-status{background:#f7f9fb;border:1px solid #d9e0e8;display:grid;grid-gap:4px;gap:4px;padding:10px}.company-profile-action-row button{background:#0f4c81;border:1px solid #0f4c81;border-radius:6px;color:#ffffff;font:inherit;font-weight:700;min-height:36px;padding:6px 12px}.settings-jump-nav{border-top:1px solid #d9e0e8;display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;padding-top:14px}.settings-jump-nav a{color:#0f4c81;font-weight:700;text-decoration:none}.readiness-dashboard{background:#ffffff;border:1px solid #d9e0e8;border-radius:8px;display:grid;margin-top:16px;overflow-x:auto}.readiness-dashboard-row{align-items:center;border-bottom:1px solid #d9e0e8;display:grid;grid-gap:12px;gap:12px;grid-template-columns:minmax(140px,.75fr) minmax(170px,.85fr) minmax(260px,1.45fr) minmax(280px,1.6fr);min-width:900px;padding:12px 14px}.readiness-dashboard-row:last-child{border-bottom:0}.readiness-dashboard-head{color:#4b5b6b;font-weight:700}.settings-nav{margin-top:16px}.gate-badge-row{display:flex;flex-wrap:wrap;gap:8px}.parity-notice{background:#fff7e6;border:1px solid #d9a441;margin-top:24px;padding:16px}.parity-notice h2{font-size:18px;margin:0 0 8px}.parity-notice p{line-height:1.7;margin:0}.safety-label-strip{display:grid;grid-gap:10px;gap:10px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin-top:16px}.safety-label{background:#ffffff;border:1px solid #d9a441;-webkit-border-start:4px solid #8a5a00;border-inline-start:4px solid #8a5a00;display:grid;grid-gap:6px;gap:6px;min-height:92px;padding:12px}.safety-label strong{color:#5f3f00}.safety-label span{line-height:1.55}.gate-panel-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-top:16px}.gate-panel{-webkit-border-start:4px solid #b44848;border-inline-start:4px solid #b44848;background:#ffffff;padding:12px}.gate-panel--invoice{border-inline-start-color:#0f6b5f}.gate-panel--voucher{border-inline-start-color:#7752a8}.gate-panel--neutral{border-inline-start-color:#4b5b6b}.blocked-action-list{display:grid;grid-gap:8px;gap:8px;margin-top:16px}.blocked-action-row{align-items:center;background:#ffffff;border:1px solid #d9e0e8;display:grid;grid-gap:10px;gap:10px;grid-template-columns:minmax(120px,.6fr) 100px minmax(220px,1.6fr);min-height:44px;padding:8px 10px}.blocked-action-name{font-weight:700}.blocked-action-row button{background:#eef1f4;border:1px solid #bac6d3;border-radius:6px;color:#52616f;font:inherit;font-weight:700;min-height:32px;padding:4px 8px}.blocked-action-reason{color:#5a332f;line-height:1.5}.gate-table{display:grid;margin-top:16px;overflow-x:auto}.gate-table-row{align-items:center;border-bottom:1px solid #d9e0e8;display:grid;grid-gap:12px;gap:12px;grid-template-columns:minmax(140px,.7fr) minmax(240px,1fr) minmax(220px,1.2fr);min-width:760px;padding:10px 0}.gate-table-head{color:#4b5b6b;font-weight:700}.journal-voucher-shell,.purchase-invoice-shell,.receipt-payment-voucher-shell,.sales-invoice-shell{max-width:none}.receipt-payment-print-preview-link{align-items:center;border-bottom:1px solid #d9e0e8;display:grid;grid-gap:14px;gap:14px;grid-template-columns:minmax(280px,1fr) minmax(240px,max-content)}.receipt-payment-print-preview-link p{line-height:1.7;margin:8px 0 0}.receipt-payment-print-preview-link a{background:#0f4c81;border:1px solid #0f4c81;border-radius:6px;color:#ffffff;display:grid;font-weight:700;grid-gap:4px;gap:4px;min-height:44px;padding:8px 12px;text-align:center}.receipt-payment-print-preview-link a span{color:#dce9f4;font-size:13px;font-weight:400}.receipt-payment-print-preview-shell{background:#f6f7f9}.receipt-payment-print-preview-shell .business-header a{border:1px solid #0f4c81;border-radius:6px;color:#0f4c81;font-weight:700;padding:8px 12px}.receipt-payment-print-document{background:#ffffff;border:1px solid #bac6d3;display:grid;grid-gap:18px;gap:18px;margin:16px 0 8px;padding:22px}.print-preview-header{align-items:flex-start;border-bottom:2px solid #17202a;display:grid;grid-gap:14px;gap:14px;grid-template-columns:minmax(280px,1fr) minmax(220px,max-content);padding-bottom:16px}.print-preview-kicker{color:#4b5b6b;font-weight:700;margin:0}.print-preview-header h2,.print-preview-section h3{margin:6px 0 0}.print-preview-header p,.print-preview-section p{line-height:1.7}.print-preview-status-stack{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.print-preview-section{border:1px solid #d9e0e8;padding:14px}.print-preview-field-grid{display:grid;grid-gap:8px;gap:8px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-top:12px}.print-preview-field{border:1px solid #d9e0e8;display:grid;grid-gap:6px;gap:6px;min-height:74px;padding:10px}.print-preview-field strong,.receipt-payment-readiness-row strong,.receipt-payment-signature-box strong{color:#4b5b6b}.print-preview-field span,.receipt-payment-readiness-row small,.receipt-payment-readiness-row span{line-height:1.5}.receipt-payment-print-table{border:1px solid #bac6d3;display:grid;margin-top:12px;overflow-x:auto}.receipt-payment-print-table-row{border-bottom:1px solid #d9e0e8;display:grid;grid-gap:8px;gap:8px;grid-template-columns:44px minmax(170px,1fr) minmax(230px,1.25fr) minmax(140px,.8fr) minmax(120px,.7fr) minmax(100px,.55fr) minmax(100px,.55fr);min-width:980px;padding:8px 10px}.receipt-payment-print-table-row:last-child{border-bottom:0}.sales-invoice-print-table{border:1px solid #bac6d3;display:grid;margin-top:12px;overflow-x:auto}.sales-invoice-print-table-row{border-bottom:1px solid #d9e0e8;display:grid;grid-gap:8px;gap:8px;grid-template-columns:44px minmax(110px,.7fr) minmax(190px,1.2fr) minmax(92px,.55fr) minmax(82px,.5fr) minmax(112px,.65fr) minmax(104px,.6fr) minmax(104px,.6fr) minmax(116px,.7fr);min-width:1120px;padding:8px 10px}.sales-invoice-print-table-row:last-child{border-bottom:0}.print-table-head{background:#eef1f4;color:#4b5b6b;font-weight:700}.sales-invoice-totals-grid{display:grid;grid-gap:8px;gap:8px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin-top:12px}.receipt-payment-signature-grid{display:grid;grid-gap:10px;gap:10px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-top:12px}.sales-invoice-signature-grid{margin-top:12px}.receipt-payment-signature-box{border:1px solid #bac6d3;display:grid;grid-gap:24px;gap:24px;min-height:116px;padding:12px}.receipt-payment-readiness-matrix{border:1px solid #d9e0e8;display:grid;margin-top:14px}.receipt-payment-readiness-row{align-items:center;background:#ffffff;border-bottom:1px solid #d9e0e8;display:grid;grid-gap:10px;gap:10px;grid-template-columns:minmax(160px,.45fr) minmax(160px,.45fr) minmax(320px,1.2fr);padding:10px 12px}.receipt-payment-readiness-row:last-child{border-bottom:0}.sales-invoice-context{background:#ffffff;border:1px solid #c9d6e2;-webkit-border-start:4px solid #0f6b5f;border-inline-start:4px solid #0f6b5f;margin-top:24px;padding:14px}.sales-invoice-context h2{font-size:18px;margin:0}.sales-invoice-context-grid,.sales-invoice-form-grid,.sales-invoice-panel-grid,.sales-invoice-summary-grid{display:grid;grid-gap:10px;gap:10px;margin-top:14px}.sales-invoice-context-grid,.sales-invoice-form-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.sales-invoice-field{align-items:center;display:grid;grid-gap:8px;gap:8px;grid-template-columns:minmax(168px,max-content) minmax(0,1fr)}.sales-invoice-field--wide{grid-column:1/-1}.sales-invoice-field span{color:#4b5b6b;font-weight:700}.sales-invoice-field input,.sales-invoice-field select{background:#ffffff;border:1px solid #bac6d3;border-radius:6px;color:#17202a;font:inherit;min-height:34px;padding:6px 8px;width:100%}.sales-invoice-field select{cursor:pointer}.sales-invoice-warning{background:#fff7e6;border:1px solid #d9a441;color:#5f3f00;line-height:1.6;margin:14px 0 0;padding:10px}.sales-invoice-panel-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.sales-invoice-review-grid,.sales-invoice-smoke-checklist{display:grid;grid-gap:8px;gap:8px;margin-top:14px}.sales-invoice-review-row,.sales-invoice-smoke-row{align-items:center;background:#ffffff;border:1px solid #d9e0e8;display:grid;grid-gap:10px;gap:10px;min-height:42px;padding:8px 10px}.sales-invoice-review-row{grid-template-columns:minmax(150px,.45fr) minmax(230px,.6fr) minmax(360px,1.4fr)}.sales-invoice-smoke-row{grid-template-columns:42px minmax(130px,.42fr) minmax(230px,.75fr) minmax(340px,1.4fr)}.sales-invoice-checkmark,.sales-invoice-review-row strong,.sales-invoice-smoke-row strong{color:#4b5b6b}.sales-invoice-review-row span,.sales-invoice-smoke-row small,.sales-invoice-smoke-row span{line-height:1.5}.sales-invoice-checkmark{background:#e8f3ef;border:1px solid #9fc7bb;border-radius:6px;color:#0f6b5f;font-size:12px;font-weight:700;padding:4px 6px;text-align:center}.sales-invoice-panel,.sales-invoice-summary-card{background:#ffffff;border:1px solid #d9e0e8;-webkit-border-start:4px solid #0f4c81;border-inline-start:4px solid #0f4c81;display:grid;grid-gap:10px;gap:10px;padding:12px}.sales-invoice-summary-card--warning{border-inline-start-color:#8a5a00}.sales-invoice-summary-grid{grid-template-columns:minmax(280px,.8fr) minmax(320px,1.2fr)}.sales-invoice-draft-save-panel{background:#ffffff;border:1px solid #d9e0e8;-webkit-border-start:4px solid #b44848;border-inline-start:4px solid #b44848;display:grid;grid-gap:12px;gap:12px;margin-top:14px;padding:12px}.sales-invoice-draft-save-status{display:grid;grid-gap:10px;gap:10px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.sales-invoice-payload-preview{display:grid;grid-gap:8px;gap:8px;min-width:0}.sales-invoice-payload-preview strong{color:#4b5b6b}.legacy-payload-summary-grid{display:grid;grid-gap:8px;gap:8px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));min-width:0}.legacy-payload-summary-grid .inline-field-row{min-width:0}.sales-invoice-line-toolbar{align-items:center;background:#ffffff;border:1px solid #d9e0e8;display:grid;grid-gap:10px;gap:10px;grid-template-columns:minmax(190px,.45fr) minmax(260px,1fr) minmax(260px,1fr) minmax(190px,.5fr);margin-top:14px;padding:10px}.sales-invoice-line-remove,.sales-invoice-line-toolbar button{background:#0f4c81;border:1px solid #0f4c81;border-radius:6px;color:#ffffff;cursor:pointer;font:inherit;font-weight:700;min-height:34px;padding:6px 10px}.sales-invoice-line-remove:disabled,.sales-invoice-line-toolbar button:disabled{background:#eef1f4;border-color:#bac6d3;color:#52616f;cursor:not-allowed}.sales-invoice-line-grid{background:#ffffff;border:1px solid #d9e0e8;display:grid;margin-top:14px;overflow-x:clip;scrollbar-gutter:auto}.sales-invoice-line-row{align-items:center;border-bottom:1px solid #d9e0e8;display:grid;grid-gap:8px;gap:8px;grid-template-columns:44px minmax(132px,.9fr) minmax(100px,.75fr) minmax(180px,1.3fr) minmax(120px,.85fr) minmax(100px,.7fr) minmax(80px,.55fr) minmax(100px,.65fr) minmax(110px,.7fr) minmax(110px,.75fr) minmax(110px,.7fr) minmax(220px,1.4fr);min-width:0;padding:8px 10px}.sales-invoice-line-row:last-child{border-bottom:0}.sales-invoice-line-head{color:#4b5b6b;font-weight:700}.sales-invoice-line-grid--editable .sales-invoice-line-row{grid-template-columns:58px minmax(132px,.9fr) minmax(100px,.7fr) minmax(180px,1.25fr) minmax(120px,.8fr) minmax(100px,.65fr) minmax(86px,.55fr) minmax(108px,.65fr) minmax(140px,.8fr) minmax(110px,.65fr) minmax(220px,1.25fr);min-width:0}.purchase-invoice-line-grid .sales-invoice-line-row{grid-template-columns:58px minmax(132px,.85fr) minmax(132px,.85fr) minmax(110px,.7fr) minmax(120px,.75fr) minmax(96px,.6fr) minmax(86px,.52fr) minmax(108px,.62fr) minmax(108px,.62fr) minmax(122px,.72fr) minmax(142px,.8fr) minmax(110px,.62fr) minmax(220px,1.2fr) minmax(104px,.55fr);min-width:0}.purchase-invoice-line-grid--compact,.sales-invoice-line-grid--compact{overflow-x:clip;scrollbar-gutter:auto}.purchase-invoice-compact-line-fields,.purchase-invoice-compact-line-head,.sales-invoice-compact-line-fields,.sales-invoice-compact-line-head{align-items:center;display:grid;grid-gap:5px;gap:5px;min-width:0;padding:6px 7px;width:100%}.sales-invoice-compact-line-fields,.sales-invoice-compact-line-head{grid-template-columns:minmax(0,.36fr) minmax(0,.72fr) minmax(0,.64fr) minmax(0,1.1fr) minmax(0,.58fr) minmax(0,.45fr) minmax(0,.5fr) minmax(0,.6fr) minmax(0,.44fr) minmax(0,.5fr) minmax(0,.58fr) minmax(0,.48fr) minmax(0,.38fr)}.purchase-invoice-compact-line-fields,.purchase-invoice-compact-line-head{grid-template-columns:minmax(0,.36fr) minmax(0,.76fr) minmax(0,.64fr) minmax(0,.58fr) minmax(0,.45fr) minmax(0,.5fr) minmax(0,.6fr) minmax(0,.5fr) minmax(0,.56fr) minmax(0,.58fr) minmax(0,.48fr) minmax(0,.38fr)}.purchase-invoice-compact-line-head,.sales-invoice-compact-line-head{background:#dfe7ee;border-bottom:1px solid #aebdca;color:#334155;font-size:12px;font-weight:700;overflow:hidden;white-space:nowrap}.purchase-invoice-compact-line-fields>*,.purchase-invoice-compact-line-head>*,.sales-invoice-compact-line-fields>*,.sales-invoice-compact-line-head>*{min-width:0;overflow-wrap:normal;word-break:normal}.purchase-invoice-compact-line-fields>:where(span,button),.purchase-invoice-compact-line-head>*,.sales-invoice-compact-line-fields>:where(span,button),.sales-invoice-compact-line-head>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.purchase-invoice-compact-line,.sales-invoice-compact-line{border-bottom:1px solid #d9e0e8;display:grid;min-width:0}.purchase-invoice-compact-line:last-child,.sales-invoice-compact-line:last-child{border-bottom:0}.purchase-invoice-compact-line-fields input,.purchase-invoice-compact-line-fields select,.sales-invoice-compact-line-fields input,.sales-invoice-compact-line-fields select,.sales-invoice-line-extra-field input,.sales-invoice-line-extra-field select{border:1px solid #bac6d3;border-radius:4px;color:#17202a;font:inherit;font-size:12px;min-height:30px;min-width:0;padding:4px 6px;width:100%}.purchase-invoice-line-detail-row,.sales-invoice-line-detail-row{background:#f8fafc;border-top:1px dashed #c7d1db;display:grid;grid-gap:6px;gap:6px;grid-template-columns:minmax(130px,.28fr) minmax(130px,.28fr) minmax(0,1fr);min-width:0;padding:5px 7px 7px}.sales-invoice-line-detail-row{grid-template-columns:minmax(150px,.28fr) minmax(0,1fr)}.purchase-invoice-line-detail-row .legacy-line-validation-state,.sales-invoice-line-detail-row .legacy-line-validation-state{border:0;border-top:0;padding:0}.sales-invoice-line-extra-field{align-items:center;display:grid;grid-gap:4px;gap:4px;grid-template-columns:minmax(48px,max-content) minmax(0,1fr);min-width:0}.sales-invoice-line-extra-field span{color:#334155;font-size:12px;font-weight:700;white-space:nowrap}.journal-voucher-line-grid--compact{overflow-x:clip}.journal-voucher-entry-fields,.journal-voucher-line-head{align-items:center;display:grid;grid-gap:5px;gap:5px;grid-template-columns:minmax(34px,.3fr) minmax(92px,.76fr) minmax(118px,.95fr) minmax(150px,1.2fr) minmax(74px,.58fr) minmax(74px,.58fr) minmax(92px,.72fr) minmax(86px,.68fr) minmax(76px,.58fr) minmax(54px,.42fr);min-width:0;padding:6px 7px;width:100%}.journal-voucher-line-head{background:#dfe7ee;border-bottom:1px solid #aebdca;color:#334155;font-size:12px;font-weight:700;white-space:nowrap}.journal-voucher-entry-fields{min-width:0}.journal-voucher-line-item{border-bottom:1px solid #d9e0e8;display:grid;min-width:0}.journal-voucher-line-item:last-child{border-bottom:0}.receipt-payment-voucher-line-grid--compact{overflow-x:clip}.receipt-payment-compact-line-fields,.receipt-payment-voucher-line-head{align-items:center;display:grid;grid-gap:5px;gap:5px;grid-template-columns:minmax(38px,.36fr) minmax(86px,.74fr) minmax(120px,1fr) minmax(158px,1.32fr) minmax(76px,.62fr) minmax(112px,.92fr) minmax(88px,.72fr) minmax(64px,.5fr) minmax(54px,.42fr);min-width:0;padding:6px 7px;width:100%}.receipt-payment-voucher-line-head{background:#dfe7ee;border-bottom:1px solid #aebdca;color:#334155;font-size:12px;font-weight:700;white-space:nowrap}.receipt-payment-compact-line{border-bottom:1px solid #d9e0e8;display:grid;min-width:0}.receipt-payment-compact-line:last-child{border-bottom:0}.receipt-payment-compact-line-fields input{border:1px solid #bac6d3;border-radius:4px;color:#17202a;font:inherit;font-size:12px;min-height:30px;min-width:0;padding:4px 6px;width:100%}.receipt-payment-line-action{justify-self:stretch;min-height:30px;padding-inline:4px;white-space:nowrap}.receipt-payment-line-validation-strip{background:#f8fafc;border-top:1px dashed #c7d1db;display:grid;min-width:0;padding:4px 7px 6px}.receipt-payment-line-validation-strip .legacy-line-validation-state{border:0;gap:6px;grid-template-columns:minmax(120px,.45fr) minmax(0,1fr) minmax(0,1fr);padding:0}.journal-voucher-entry-fields input,.journal-voucher-entry-fields select,.sales-invoice-line-row input,.sales-invoice-line-row select{border:1px solid #bac6d3;border-radius:6px;color:#17202a;font:inherit;min-height:32px;min-width:0;padding:5px 7px;width:100%}.sales-invoice-actions,.sales-invoice-local-actions,.sales-invoice-message-list{display:grid;grid-gap:8px;gap:8px;margin-top:14px}.sales-invoice-action-row,.sales-invoice-message{align-items:center;background:#ffffff;border:1px solid #d9e0e8;display:grid;grid-gap:10px;gap:10px;padding:8px 10px}.sales-invoice-message{grid-template-columns:minmax(220px,.6fr) minmax(320px,1.4fr)}.sales-invoice-action-row span,.sales-invoice-message span{line-height:1.5}.sales-invoice-action-row{grid-template-columns:minmax(160px,.45fr) minmax(190px,.55fr) minmax(320px,1.4fr)}.sales-invoice-action-row button{background:#eef1f4;border:1px solid #bac6d3;border-radius:6px;color:#52616f;cursor:not-allowed;font:inherit;font-weight:700;min-height:34px;padding:6px 10px}.sales-invoice-local-actions{align-items:center;background:#ffffff;border:1px solid #d9e0e8;grid-template-columns:minmax(180px,.35fr) minmax(180px,.35fr) minmax(280px,1fr);padding:10px}.sales-invoice-local-actions button{background:#0f4c81;border:1px solid #0f4c81;border-radius:6px;color:#ffffff;cursor:pointer;font:inherit;font-weight:700;min-height:34px;padding:6px 10px}.sales-invoice-local-actions button:nth-child(2){background:#5f3f00;border-color:#5f3f00}.legacy-document-shell{background:#eef2f5;border:1px solid #aebdca;color:#17202a;direction:rtl;display:grid;grid-gap:8px;gap:8px;margin-top:10px;max-width:100%;min-width:0;overflow-x:clip;overflow-wrap:normal;padding:8px;width:100%;word-break:normal}.legacy-compact-helper-list,.legacy-document-visual-grid,.legacy-form-layout-rescue,.legacy-form-layout-rescue *,.legacy-form-no-overlap,.legacy-panel-compact,.legacy-text-wrap,.legacy-ui-clean-card{box-sizing:border-box}.legacy-document-header{align-items:center;background:#dfe7ee;border:1px solid #b8c6d2;display:grid;grid-gap:6px;gap:6px;grid-template-columns:minmax(0,1fr) minmax(280px,max-content);min-width:0;padding:7px 8px}.legacy-document-header h2,.legacy-document-header p{margin:0}.legacy-document-toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;min-width:0}.legacy-document-section-title{display:grid;grid-gap:4px;gap:4px;min-width:0}.legacy-document-section-title h2,.legacy-document-section-title p{margin:0}.legacy-document-section-title p{color:#52616f;font-size:12px;line-height:1.4}.legacy-reference-strip{background:#f6f8fa;border:1px solid #b8c6d2;display:grid;grid-gap:0;gap:0;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));min-width:0}.legacy-reference-cell{-webkit-border-start:1px solid #c7d1db;border-inline-start:1px solid #c7d1db;display:grid;grid-gap:3px;gap:3px;min-height:46px;min-width:0;padding:7px 9px}.legacy-reference-cell:first-child{-webkit-border-start:0;border-inline-start:0}.legacy-reference-cell strong{color:#17202a;font-size:12px;line-height:1.25}.legacy-reference-cell span{color:#52616f;font-size:12px;line-height:1.35}.legacy-document-grid{align-items:start;display:grid;grid-gap:8px;gap:8px;grid-template-columns:minmax(0,1fr);min-width:0;width:100%}.legacy-document-visual-grid{max-width:100%;overflow:visible}.legacy-document-ai-flow,.legacy-document-main,.legacy-document-main-column{display:grid;grid-gap:10px;gap:10px;min-width:0}.legacy-document-ai-flow{order:0}.legacy-ai-review-flow-panel{margin-top:0;width:100%}.legacy-panel-stack{align-content:start;grid-auto-rows:max-content}.legacy-ai-panel-contained,.legacy-compact-helper-list,.legacy-form-no-overlap,.legacy-no-code-surface,.legacy-panel-compact,.legacy-text-wrap,.legacy-ui-clean-card,.legacy-visual-clean-panel{max-width:100%;min-width:0;overflow-wrap:normal}.legacy-ui-clean-card{border-radius:4px}.legacy-panel-compact{gap:8px}.legacy-document-main>.sales-invoice-context,.legacy-document-main>.sales-invoice-draft-save-panel,.legacy-document-main>.workspace-band{margin-top:0}.legacy-document-context-panel,.legacy-document-readiness-panel,.legacy-document-review-panel{display:grid;grid-gap:10px;gap:10px;min-width:0}.legacy-action-strip,.legacy-blocker-panel,.legacy-document-context-panel,.legacy-document-readiness-panel,.legacy-document-review-panel,.legacy-review-summary-panel,.legacy-total-panel{box-shadow:none}.legacy-field-grid{display:grid;grid-gap:6px;gap:6px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));min-width:0}.legacy-field-row{align-items:center;column-gap:6px;direction:rtl;min-width:0}.legacy-field-label{color:#334155;font-weight:700;text-align:end;white-space:nowrap}.legacy-field-control{min-width:0}.legacy-document-shell :where(p,small,li,label){max-width:100%;min-width:0;overflow-wrap:break-word}.legacy-document-shell :where(span,strong,button,input,select){max-width:100%;min-width:0;overflow-wrap:normal;word-break:normal}.legacy-document-shell .sales-invoice-context,.legacy-document-shell .sales-invoice-draft-save-panel,.legacy-document-shell .workspace-band{border-radius:0;min-width:0;padding:9px}.legacy-document-shell h2{color:#17202a;font-size:17px;line-height:1.35}.legacy-line-table{border-color:#aebdca;box-shadow:inset 0 1px 0 #ffffff;max-width:100%;min-width:0;overscroll-behavior-inline:contain;width:100%}.legacy-line-table,.legacy-line-table.journal-voucher-line-grid--compact,.legacy-line-table.receipt-payment-voucher-line-grid--compact{overflow-x:clip;scrollbar-gutter:auto}.legacy-line-table .sales-invoice-line-head{background:#dfe7ee}.legacy-line-table .sales-invoice-line-row{padding-block:6px}.legacy-total-panel{background:#f8fafc;-webkit-border-start:4px solid #0f6b5f;border-inline-start:4px solid #0f6b5f}.legacy-document-totals-grid{align-items:start}.legacy-signature-strip{background:#ffffff;border:1px solid #b8c6d2;display:grid;grid-gap:8px;gap:8px;grid-template-columns:repeat(4,minmax(150px,1fr));min-width:0;padding:10px}.legacy-signature-strip strong{color:#334155}.legacy-signature-strip span{border-top:1px dashed #7d8b99;color:#52616f;display:block;margin-top:18px;padding-top:6px}.legacy-document-signature-cell{display:grid;grid-gap:4px;gap:4px;min-width:0}.legacy-action-strip .sales-invoice-actions,.legacy-action-strip .sales-invoice-local-actions{margin-top:10px}.legacy-document-disabled-action{align-items:center}.legacy-ai-review-panel{align-self:start;background:#fffdf5;border:1px solid #c7a94c;-webkit-border-start:4px solid #8a5a00;border-inline-start:4px solid #8a5a00;display:grid;grid-gap:10px;gap:10px;max-width:100%;min-width:0;padding:10px;position:static;width:100%}.sales-invoice-shell>.business-header,.sales-invoice-shell>.parity-notice,.sales-invoice-shell>.receipt-payment-print-preview-link,.sales-invoice-shell>.workspace-band{display:none}.legacy-ai-panel-contained{overflow:visible}.legacy-ai-review-panel h2,.legacy-ai-review-panel h3,.legacy-ai-review-panel p,.legacy-ai-review-panel ul{margin:0}.legacy-ai-review-grid{display:grid;grid-gap:8px;gap:8px;min-width:0}.legacy-ai-review-grid>*{min-width:0}.legacy-status-chip{background:#e8f3ef;border:1px solid #9fc7bb;color:#0f6b5f;display:inline-flex;font-size:12px;font-weight:700;justify-content:center;max-width:100%;padding:4px 6px}.legacy-nowrap-chip,.legacy-status-chip{min-width:max-content;overflow-wrap:normal;white-space:nowrap;word-break:normal}.legacy-entry-grid-compact>*{min-width:0;overflow-wrap:normal;word-break:normal}.legacy-entry-grid-compact>:where(span,strong,button){white-space:nowrap}.legacy-line-action-cell{justify-self:stretch;min-height:30px;padding-inline:4px}.legacy-line-action-cell,.legacy-line-check-cell{overflow-wrap:normal;white-space:nowrap;word-break:normal}.legacy-line-check-cell{min-width:64px}.legacy-document-status-rail{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.legacy-document-validation-list{margin-top:8px;min-width:0}.legacy-validation-code{color:#334155;font-size:12px;font-weight:800;line-height:1.35}.legacy-document-keyboard-hint{color:#52616f;font-size:12px;line-height:1.4;margin:0}.legacy-compact-helper-list{max-height:none}.legacy-blocker-panel{border-inline-start-color:#b44848}.legacy-editable-line-status,.legacy-line-validation-state,.legacy-lookup-candidate-row,.legacy-lookup-context-row{align-items:center;background:#ffffff;border:1px solid #c7d1db;display:grid;grid-gap:6px;gap:6px;grid-template-columns:minmax(120px,.7fr) minmax(160px,1fr) auto minmax(190px,1.1fr);min-width:0;padding:7px 9px}.legacy-editable-line-status>*,.legacy-line-validation-state>*,.legacy-lookup-candidate-row>*,.legacy-lookup-context-row>*,.sales-invoice-action-row>*,.sales-invoice-message>*,.sales-invoice-review-row>*,.sales-invoice-smoke-row>*{min-width:0}.legacy-editable-line-status strong,.legacy-line-validation-state strong,.legacy-lookup-candidate-row span,.legacy-lookup-context-row strong{color:#17202a;font-size:12px}.legacy-editable-line-status span,.legacy-line-validation-state small,.legacy-lookup-candidate-row small,.legacy-lookup-context-row small{color:#52616f;font-size:12px;line-height:1.35}.legacy-entry-flow-hint,.legacy-local-correction-panel,.legacy-lookup-candidate-list,.legacy-review-summary-panel{display:grid;grid-gap:8px;gap:8px;min-width:0}.legacy-lookup-candidate-list{background:#f8fafc;border:1px dashed #9fb3c8;padding:8px}.legacy-line-validation-state{align-items:start;grid-template-columns:minmax(105px,.6fr) auto minmax(120px,.8fr) minmax(180px,1fr)}.legacy-line-detail-row{background:#f8fafc;border:0;border-top:1px dashed #c7d1db;grid-template-columns:minmax(110px,.35fr) minmax(92px,max-content) minmax(170px,.75fr) minmax(0,1fr);padding:6px 7px}.legacy-line-status-badge{align-items:center;background:#e8f3ef;border:1px solid #9fc7bb;border-radius:4px;color:#0f6b5f;display:inline-flex;font-size:12px;font-weight:800;justify-content:center;line-height:1.2;min-height:28px;min-width:72px;overflow-wrap:normal;padding:4px 8px;white-space:nowrap;word-break:normal}.legacy-keyboard-flow-list,.legacy-line-validation-state ul,.legacy-local-correction-panel ul{margin:0;-webkit-padding-start:18px;padding-inline-start:18px}.legacy-keyboard-flow-list,.legacy-local-correction-panel ul{display:grid;grid-gap:3px;gap:3px}.legacy-keyboard-flow-list li,.legacy-line-validation-state li,.legacy-local-correction-panel li{color:#334155;font-size:12px;line-height:1.4}.legacy-entry-flow-hint{background:#eef7f5;border:1px solid #9fc7bb;-webkit-border-start:4px solid #0f6b5f;border-inline-start:4px solid #0f6b5f;padding:8px 10px}.legacy-keyboard-flow-list{display:grid;grid-gap:3px;gap:3px}.legacy-local-correction-panel{align-items:start;background:#f8fafc;border:1px dashed #b8c6d2;-webkit-border-start:0;border-inline-start:0;grid-template-columns:minmax(180px,max-content) minmax(0,1fr);padding:6px 8px}.legacy-local-correction-panel h3,.legacy-local-correction-panel p{margin:0}.legacy-local-correction-panel h3{color:#334155;font-size:13px;line-height:1.3}.legacy-local-correction-panel li,.legacy-local-correction-panel p{color:#52616f;font-size:12px;line-height:1.35}.legacy-local-correction-panel ul{display:flex;flex-wrap:wrap;gap:4px 12px;-webkit-padding-start:16px;padding-inline-start:16px}.legacy-local-correction-panel li{max-width:320px}.legacy-editable-line-status{grid-template-columns:minmax(90px,.6fr) auto minmax(160px,1fr)}.legacy-required-field-marker{color:#b42318;display:inline-flex;font-weight:800;margin-inline:0 4px}.legacy-local-only-badge{background:#eef7f5;border:1px solid #9fc7bb;color:#0f6b5f;display:inline-flex;font-size:11px;font-weight:800;line-height:1.2;padding:3px 5px;white-space:nowrap;word-break:normal}.legacy-correction-stack,.legacy-entry-helper-grid,.legacy-line-focus-grid,.legacy-required-field-grid,.legacy-review-summary-counts{display:grid;grid-gap:8px;gap:8px}.legacy-entry-helper-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.legacy-entry-helper-count,.legacy-entry-helper-row{align-items:start;background:#ffffff;border:1px solid #c7d1db;display:grid;grid-gap:5px;gap:5px;min-width:0;padding:7px 9px}.legacy-correction-stack>*,.legacy-entry-helper-grid>*,.legacy-line-focus-grid>*,.legacy-payload-summary-grid>*,.legacy-required-field-grid>*,.legacy-review-summary-counts>*{min-width:0}.legacy-entry-helper-row{grid-template-columns:minmax(120px,.75fr) auto minmax(170px,1fr)}.legacy-entry-helper-status{align-items:center;display:inline-flex;gap:5px}.legacy-entry-helper-count{grid-template-columns:auto minmax(130px,1fr)}.legacy-entry-helper-count strong,.legacy-entry-helper-row strong{color:#17202a;font-size:12px}.legacy-entry-helper-count span,.legacy-entry-helper-row small,.legacy-entry-helper-row span{color:#52616f;font-size:12px;line-height:1.35}.legacy-correction-stack,.legacy-line-focus-grid,.legacy-required-field-grid{margin-top:8px}.legacy-desktop-narrow-notice{background:#fff7ed;border:1px solid #d7a45f;color:#5f3f00;display:none;font-size:12px;font-weight:700;line-height:1.45;padding:6px 8px}@media (max-width:1100px){.legacy-desktop-narrow-notice{display:block}}@media (max-width:1060px){.legacy-document-grid{grid-template-columns:minmax(0,1fr)}.legacy-ai-review-panel{align-self:stretch;margin-top:0}.sales-invoice-summary-grid{grid-template-columns:1fr}}@media (max-width:900px){.business-shell{padding:8px}.legacy-document-header,.legacy-editable-line-status,.legacy-entry-helper-count,.legacy-entry-helper-row,.legacy-line-validation-state,.legacy-lookup-candidate-row,.legacy-lookup-context-row,.sales-invoice-action-row,.sales-invoice-line-toolbar,.sales-invoice-local-actions,.sales-invoice-message,.sales-invoice-review-row,.sales-invoice-smoke-row{align-items:stretch;grid-template-columns:1fr}.legacy-field-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.legacy-signature-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-document-shell .sales-invoice-context,.legacy-document-shell .sales-invoice-draft-save-panel,.legacy-document-shell .workspace-band{padding:8px}}@media (max-width:640px){.shell{align-items:stretch;padding:16px}.panel-heading{align-items:flex-start;flex-direction:column-reverse}.business-header{flex-direction:column}.readiness-card-grid,.v1-entry-grid{grid-template-columns:1fr}.readiness-card-heading,.v1-entry-card-heading{flex-direction:column}.blocked-action-row,.print-preview-header,.receipt-payment-print-preview-link,.receipt-payment-readiness-row,.sales-invoice-action-row,.sales-invoice-field,.sales-invoice-line-toolbar,.sales-invoice-local-actions,.sales-invoice-message,.sales-invoice-review-row,.sales-invoice-smoke-row,.sales-invoice-summary-grid{align-items:stretch;grid-template-columns:1fr}.print-preview-status-stack{justify-content:flex-start}.legacy-document-grid,.legacy-document-header,.legacy-document-responsive-grid,.legacy-editable-line-status,.legacy-entry-helper-count,.legacy-entry-helper-row,.legacy-line-validation-state,.legacy-lookup-candidate-row,.legacy-lookup-context-row,.legacy-payload-summary-grid,.legacy-reference-strip,.legacy-signature-strip{grid-template-columns:1fr}.legacy-reference-cell{-webkit-border-before:1px solid #c7d1db;border-block-start:1px solid #c7d1db;-webkit-border-start:0;border-inline-start:0}.legacy-reference-cell:first-child{-webkit-border-before:0;border-block-start:0}.legacy-ai-review-panel{width:100%}.legacy-document-shell{gap:8px;padding:8px}.legacy-panel-compact{gap:6px}.legacy-field-grid{grid-template-columns:1fr}.legacy-field-label{text-align:start;white-space:normal}}