:root{--ink:#17233b;--muted:#677188;--faint:#8d96a8;--canvas:#f4f6f2;--surface:#fff;--surface-soft:#f8faf7;--line:#e2e7e1;--line-strong:#d1d8d0;--navy:#17365f;--navy-strong:#10294b;--emerald:#16806a;--emerald-soft:#e8f5f0;--amber:#a76514;--amber-soft:#fff5e4;--red:#b64242;--red-soft:#fff0ef;--shadow:0 16px 42px #17233b12;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{color:var(--ink);background:var(--canvas);margin:0;font-family:Inter,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.5}button,input,select{font:inherit}button,select{cursor:pointer}button:disabled{cursor:wait;opacity:.62}button:focus-visible{outline-offset:3px;outline:3px solid #0b5d4f}a:focus-visible{outline-offset:3px;outline:3px solid #0b5d4f}input:focus-visible{outline-offset:3px;outline:3px solid #0b5d4f}select:focus-visible{outline-offset:3px;outline:3px solid #0b5d4f}summary:focus-visible{outline-offset:3px;outline:3px solid #0b5d4f}.table-wrap:focus-visible{outline-offset:3px;outline:3px solid #0b5d4f}.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}.skip-link{z-index:100;background:var(--ink);color:#fff;border-radius:10px;padding:10px 14px;transition:transform .14s;position:fixed;top:12px;left:12px;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}.app-shell{grid-template-columns:258px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);background:#f9faf7;flex-direction:column;height:100vh;padding:24px 18px 18px;display:flex;position:sticky;top:0}.brand-mark{align-items:center;gap:12px;min-height:48px;padding:0 10px;display:flex}.brand-symbol{color:#fff;background:linear-gradient(145deg, var(--emerald), #0d6556);border-radius:12px 12px 4px;place-items:center;width:38px;height:38px;font-size:20px;font-weight:800;display:grid;box-shadow:0 8px 18px #16806a38}.brand-copy{line-height:1.15;display:grid}.brand-copy strong{letter-spacing:-.02em;font-size:17px}.brand-copy small{color:var(--muted);margin-top:3px;font-size:12px}.primary-nav{gap:6px;margin-top:34px;display:grid}.nav-item{color:#596379;text-align:left;background:0 0;border:0;border-radius:11px;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px 12px;font-weight:620;transition:background .14s,color .14s,transform .14s;display:flex}.nav-item:hover{color:var(--ink);background:#eef2ed}.nav-item.active{color:var(--navy);background:#e7efec}.nav-item.active:after{content:"";background:var(--emerald);border-radius:9px;width:4px;height:22px;margin-left:auto}.nav-item>span{width:20px;color:var(--emerald);text-align:center;font-size:17px}.sidebar-footer{gap:12px;margin-top:auto;display:grid}.health-dot{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.health-dot>span{background:var(--emerald);width:8px;height:8px;box-shadow:0 0 0 4px var(--emerald-soft);border-radius:50%}.profile-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;align-items:center;gap:10px;min-height:58px;padding:10px;display:flex}.profile-card>span:nth-child(2){min-width:0;display:grid}.profile-card strong,.profile-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.profile-card small{color:var(--muted);font-size:12px}.avatar{color:#fff;background:var(--navy);border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:12px;font-weight:750;display:grid}.workspace{min-width:0;padding:34px clamp(22px,4vw,58px) 64px}.topbar{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:20px;display:flex}.eyebrow{color:var(--emerald);letter-spacing:.1em;text-transform:uppercase;margin:0 0 5px;font-size:12px;font-weight:760}h1,h2,p{margin-top:0}h1{letter-spacing:-.035em;margin-bottom:7px;font-size:clamp(27px,3vw,38px);line-height:1.1}h2{letter-spacing:-.02em;margin-bottom:0;font-size:18px;line-height:1.25}.page-subtitle,.panel-intro,.form-help{color:var(--muted)}.page-subtitle{max-width:680px;margin-bottom:0}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;gap:10px;display:flex}.period-control{color:var(--muted);gap:3px;font-size:12px;font-weight:650;display:grid}.period-control.is-pending select{cursor:wait;opacity:.8}.period-control.is-pending small{color:var(--navy);font-size:11px}.period-control select,.field input,.field select,.field textarea{border:1px solid var(--line-strong);min-height:44px;color:var(--ink);background:var(--surface);border-radius:11px}.period-control select{min-width:148px;padding:0 34px 0 12px}.primary-button,.secondary-button,.danger-button,.text-button,.icon-button{border:0;font-weight:700}.primary-button,.secondary-button,.danger-button{border-radius:11px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:0 16px;display:inline-flex}.primary-button{color:#fff;background:var(--navy);box-shadow:0 9px 22px #17365f2b}.primary-button:hover{background:var(--navy-strong)}.secondary-button{color:var(--navy);background:var(--surface);border:1px solid var(--line-strong)}.secondary-button:hover{background:var(--surface-soft)}.danger-button{color:#fff;background:var(--red);border:0;border-radius:11px;min-height:44px;padding:0 16px;font-weight:750}.danger-button:hover{background:#9f2f38}.text-button{min-height:44px;color:var(--emerald);background:0 0;padding:6px 8px}.text-button:hover{color:#0d6556;text-decoration:underline}.icon-button{width:44px;height:44px;color:var(--muted);background:0 0;border-radius:50%;place-items:center;font-size:23px;display:grid}.icon-button:hover{color:var(--ink);background:var(--surface-soft)}.demo-banner{color:#6e511e;background:var(--amber-soft);border:1px solid #eed9ad;border-radius:13px;align-items:center;gap:12px;padding:12px 16px;display:flex}.demo-banner strong{color:#fff;background:var(--amber);letter-spacing:.04em;text-transform:uppercase;border-radius:6px;flex:none;padding:3px 7px;font-size:11px}.data-freshness{color:var(--muted);justify-content:space-between;gap:14px;margin:11px 2px 26px;font-size:12px;display:flex}.view-stack{gap:25px;min-width:0;max-width:100%;display:grid}.view-stack>*{min-width:0;max-width:100%}.section-heading,.panel-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.section-heading{margin-bottom:12px}.kpi-grid{gap:13px;display:grid}.kpi-grid.three-up{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi-grid.four-up{grid-template-columns:repeat(4,minmax(0,1fr))}.kpi-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);align-content:space-between;min-height:142px;padding:19px;display:grid;box-shadow:0 8px 26px #17233b09}.kpi-card>span{color:var(--muted);font-weight:650}.kpi-card>strong{letter-spacing:-.035em;margin:12px 0;font-size:clamp(24px,2.7vw,34px);line-height:1}.kpi-card p{color:var(--muted);margin:0;font-size:13px}.kpi-card.positive{border-top:3px solid var(--emerald)}.kpi-card.positive>strong,.positive-number{color:var(--emerald)}.kpi-card.warning{border-top:3px solid var(--amber)}.kpi-card.warning>strong{color:var(--amber)}.kpi-card.negative{border-top:3px solid var(--red)}.kpi-card.negative>strong,.negative-number{color:var(--red)}.overview-grid{grid-template-columns:minmax(0,1.6fr) minmax(300px,.7fr);gap:14px;display:grid}.balance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);padding:20px}.full-panel{min-height:520px}.panel-intro{margin:10px 0 18px}.count-badge{min-width:30px;height:30px;color:var(--navy);background:#eaf0f6;border-radius:20px;place-items:center;padding:0 8px;font-size:12px;font-weight:750;display:grid}.legend{color:var(--muted);align-items:center;gap:12px;font-size:12px;display:flex}.legend span{align-items:center;gap:5px;display:flex}.legend i{border-radius:50%;width:8px;height:8px}.legend .received,.bar.received{background:var(--emerald)}.legend .paid,.bar.paid{background:var(--navy)}.legend .margin,.bar.margin{background:#d99a45}.chart{background:repeating-linear-gradient(#0000 0 61px,#edf0ec 62px),linear-gradient(#fbfcfa,#f7f9f6);border-radius:14px;height:250px;margin-top:20px;padding:20px 12px 0}.chart-bars{align-items:flex-end;gap:clamp(8px,2vw,20px);height:100%;display:flex}.bar-group{flex:1;justify-content:center;align-items:flex-end;gap:3px;min-width:26px;height:100%;padding-bottom:27px;display:flex;position:relative}.bar{opacity:.92;border-radius:5px 5px 2px 2px;width:min(13px,28%);min-height:4px;transition:height .22s}.bar-group small{color:var(--muted);font-size:11px;position:absolute;bottom:3px}.accessible-data{color:var(--muted);margin-top:14px}.accessible-data summary{align-items:center;min-height:44px;font-weight:650;display:inline-flex}.accessible-data table{margin-top:8px}.alert-list{gap:8px;margin-top:16px;display:grid}.alert-item{border:0;border-bottom:1px solid var(--line);width:100%;min-height:74px;color:var(--ink);text-align:left;background:0 0;grid-template-columns:35px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 8px;display:grid}.alert-item:hover{background:var(--surface-soft);border-radius:10px}.alert-item>span:nth-child(2){gap:3px;display:grid}.alert-item small{color:var(--muted);font-size:12px}.alert-icon{border-radius:9px;place-items:center;width:30px;height:30px;font-weight:800;display:grid}.alert-icon.critical{color:var(--red);background:var(--red-soft)}.alert-icon.warning{color:var(--amber);background:var(--amber-soft)}.alert-icon.info{color:var(--navy);background:#edf2f7}.table-wrap{border-radius:12px;max-width:100%;margin-top:15px;overflow:auto}table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}th,td{border-bottom:1px solid var(--line);text-align:right;white-space:nowrap;padding:13px 12px}th{color:var(--muted);letter-spacing:.025em;background:#fafbf9;font-size:12px;font-weight:720}th:first-child,td:first-child,td:nth-child(2){text-align:left}tbody tr:hover{background:#fbfcfa}td strong,td small{display:block}td small{color:var(--muted);margin-top:2px;font-size:12px}.wide-table{min-width:1120px}.settled{color:var(--emerald);font-weight:700}.outstanding{color:var(--red);font-weight:700}.credit{color:var(--navy);font-weight:700}.outstanding small,.settled small,.credit small{font-weight:500}.missing-value{color:var(--red);background:var(--red-soft);border-radius:7px;padding:4px 7px;font-weight:700;display:inline-flex}.status-badge{white-space:nowrap;border-radius:8px;align-items:center;min-height:27px;padding:4px 8px;font-size:11px;font-weight:750;display:inline-flex}.summary-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.summary-strip>div{border:1px solid var(--line);background:var(--surface);border-radius:14px;gap:5px;padding:18px 20px;display:grid}.summary-strip span{color:var(--muted)}.summary-strip strong{font-size:24px}.party-ledger-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.party-profile-grid{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:14px;margin-top:20px;display:grid}.party-profile-card{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;padding:18px}.party-profile-card.terms-card{background:linear-gradient(145deg,#f3faf7,#fff);border-color:#16806a3d}.party-profile-card h3{margin-top:4px;font-size:21px}.party-profile-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:16px 0 0;display:grid}.party-profile-card dl div{border-top:1px solid var(--line);gap:4px;padding-top:10px;display:grid}.party-availability-note{margin:14px 0 0}.party-ledger-title:focus{outline:none}.party-ledger-title:focus-visible{outline-offset:5px;border-radius:4px;outline:3px solid #0b5d4f}.party-ledger-summary{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:22px}.party-ledger-summary>div{padding:15px 16px}.party-ledger-summary strong{font-size:clamp(18px,2vw,23px)}.party-ledger-summary small{color:var(--muted);font-size:12px}.party-ledger-control-note{margin-top:18px}.party-ledger-control-note.success-note{border-left-color:var(--emerald);background:var(--emerald-soft)}.party-ledger-control-note.success-note p{color:#315f55}.party-ledger-table{min-width:1320px}.party-ledger-explanation{white-space:normal;max-width:300px}.schedule-control-note{border-left-color:var(--navy);background:#edf2f7}.schedule-control-note p{color:#42546b}.schedule-toolbar{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;grid-template-columns:minmax(240px,1.8fr) repeat(4,minmax(145px,1fr));align-items:end;gap:11px;padding:15px;display:grid}.schedule-filter{color:#3f4960;gap:6px;min-width:0;font-size:12px;font-weight:700;display:grid}.schedule-filter input,.schedule-filter select{border:1px solid var(--line-strong);width:100%;min-height:44px;color:var(--ink);background:var(--surface);border-radius:10px;padding:0 34px 0 11px;font-weight:500}.schedule-search input{padding-right:11px}.schedule-results{color:var(--muted);margin:12px 2px 0;font-size:12px;font-weight:650}.journal-control-note{border-left-color:var(--navy);background:#edf2f7}.journal-control-note p{color:#42546b}.journal-heading{align-items:flex-start;gap:16px}.journal-tabs{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;gap:4px;padding:4px;display:inline-flex}.journal-tabs button{min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0 12px;font-size:12px;font-weight:750}.journal-tabs button:hover{color:var(--ink)}.journal-tabs button.active{color:#fff;background:var(--navy);box-shadow:0 4px 12px #11264029}.journal-toolbar{grid-template-columns:minmax(240px,2fr) repeat(2,minmax(155px,1fr)) auto}.journal-export-button{white-space:nowrap;min-height:44px}.journal-table{min-width:1180px}.journal-table td small,.journal-table .technical-id{white-space:normal}.table-scroll-hint{color:var(--muted);margin:12px 2px -4px;font-size:12px;font-weight:650;display:none}.technical-id{overflow-wrap:anywhere;max-width:190px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;display:inline-block}.schedule-table{min-width:1280px}.cash-direction,.due-situation{white-space:nowrap;border-radius:8px;align-items:center;min-height:27px;padding:4px 8px;font-size:11px;font-weight:750;display:inline-flex}.cash-direction.in{color:#0d6a57;background:var(--emerald-soft)}.cash-direction.out{color:var(--navy);background:#eaf0f6}.due-situation.overdue{color:var(--red);background:var(--red-soft)}.due-situation.today{color:#8a5616;background:var(--amber-soft)}.due-situation.upcoming{color:#0d6a57;background:var(--emerald-soft)}.due-situation.future{color:var(--muted);background:#eff2f0}.document-due-help{margin:-2px 0 0}.reconciliation-hero{border-radius:var(--radius);color:#fff;background:linear-gradient(125deg, var(--navy-strong), var(--navy) 64%, #24547b);box-shadow:var(--shadow);justify-content:space-between;align-items:center;gap:20px;padding:24px;display:flex}.reconciliation-hero .eyebrow{color:#9ed9cb}.reconciliation-hero p:last-child{color:#d7e2ef;max-width:680px;margin:8px 0 0}.reconciliation-hero .primary-button{color:var(--navy);box-shadow:none;background:#fff}.control-note{border-left:4px solid var(--amber);background:var(--amber-soft);border-radius:0 12px 12px 0;padding:17px 19px}.control-note p{color:#6e511e;margin:4px 0 0}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.report-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);grid-template-columns:auto 1fr;align-items:start;gap:14px;min-height:150px;padding:22px;display:grid}.report-card>span:first-child{width:40px;height:40px;color:var(--emerald);background:var(--emerald-soft);border-radius:12px;place-items:center;font-size:19px;display:grid}.report-card p{color:var(--muted);margin:7px 0 14px}.report-card .status-badge{grid-column:2;justify-self:start}.empty-state{min-height:150px;color:var(--muted);text-align:center;place-content:center;justify-items:center;padding:24px;display:grid}.empty-state p{max-width:420px;margin:5px 0 0}.finance-dialog{width:min(590px,100vw - 28px);max-height:calc(100vh - 40px);color:var(--ink);background:var(--surface);border:0;border-radius:20px;padding:0;overflow:auto;box-shadow:0 30px 100px #08132257}.wide-dialog{width:min(760px,100vw - 28px)}.finance-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0b18298f}.dialog-form{padding:24px}.party-create-dialog{width:min(760px,100vw - 28px)}.party-stepper{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 24px;padding:0;list-style:none;display:grid}.party-stepper li{border:1px solid var(--line);color:var(--muted);background:var(--surface-soft);border-radius:12px;align-items:center;gap:10px;padding:12px 14px;display:flex}.party-stepper li span{color:#fff;background:#8190a6;border-radius:50%;place-items:center;width:30px;height:30px;font-size:13px;font-weight:800;display:grid}.party-stepper li.active,.party-stepper li.complete{color:var(--ink);background:var(--emerald-soft);border-color:#16806a59}.party-stepper li.active span,.party-stepper li.complete span{background:var(--emerald)}.party-step{display:grid}.due-date-example{background:linear-gradient(135deg,#edf8f4,#f7faf8);border:1px solid #16806a47;border-radius:14px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:18px;margin-top:20px;padding:18px 20px;display:grid}.due-date-example div:not(.due-date-arrow){gap:5px;display:grid}.due-date-example span,.party-result-terms span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:750}.due-date-example strong{font-size:16px}.due-date-arrow{color:var(--emerald);font-size:26px;font-weight:800}.due-date-example p{color:#315f55;border-top:1px solid #16806a2e;grid-column:1/-1;margin:0;padding-top:12px;line-height:1.55}.party-create-success{gap:16px;margin-top:22px;display:grid}.party-create-success h3,.party-create-success p{margin:0}.success-kicker{color:#0d6556;background:var(--emerald-soft);border-radius:999px;width:fit-content;padding:7px 10px;font-size:12px;font-weight:800}.party-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.party-result-grid div,.party-result-terms{border:1px solid var(--line);background:var(--surface-soft);border-radius:11px;gap:5px;padding:13px 14px;display:grid}.party-result-grid dt,.party-profile-card dt{color:var(--muted);font-size:12px}.party-result-grid dd,.party-profile-card dd{overflow-wrap:anywhere;margin:0;font-weight:760}.party-result-terms strong{line-height:1.5}.availability-note,.party-availability-note{border-left:4px solid var(--navy);color:#42546b;background:#edf2f7;border-radius:8px;padding:12px 14px}.dialog-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.dialog-heading h2{font-size:24px}.form-help{margin:10px 0 21px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.field{color:#3f4960;gap:6px;font-size:13px;font-weight:680;display:grid}.field input,.field select,.field textarea{width:100%;padding:0 12px;font-weight:500}.field input::placeholder{color:#a1a8b5}.field textarea{resize:vertical;min-height:94px;font:inherit;padding:11px 12px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--emerald)}.full-field{grid-column:1/-1}.allocation-lines{gap:14px;display:grid}.allocation-line{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;grid-template-columns:minmax(0,2fr) minmax(160px,1fr);align-items:end;gap:12px;padding:13px;display:grid}.allocation-line-actions{flex-wrap:wrap;gap:8px;display:flex}.optional{color:var(--faint);font-size:11px;font-weight:500}.money-input{position:relative}.money-input input{padding-right:48px}.money-input span{color:var(--muted);font-size:11px;font-weight:750;position:absolute;top:50%;right:11px;transform:translateY(-50%)}.dialog-actions{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:10px;margin-top:22px;padding-top:18px;display:flex}.form-message{border-radius:10px;margin:16px 0 0;padding:10px 12px}.form-message.error{color:var(--red);background:var(--red-soft)}.form-message.success{color:#0d6556;background:var(--emerald-soft)}.form-message.warning{color:#7a4a00;background:#fff3d6}.table-actions{flex-wrap:wrap;gap:6px;display:flex}.table-action{border:1px solid var(--line-strong);min-height:44px;color:var(--navy);background:var(--surface);white-space:nowrap;border-radius:9px;padding:6px 10px;font-size:12px;font-weight:750}.table-action:hover{background:var(--surface-soft);border-color:#9eb2c7}.danger-text{color:var(--red)}.muted-text{color:var(--faint)}.close-hero{align-items:flex-start}.close-form{grid-template-columns:minmax(135px,.8fr) minmax(220px,1.3fr) auto;align-items:end;gap:10px;width:min(520px,100%);display:grid}.close-form .field{color:#eef5fb}.close-form .primary-button{white-space:nowrap}.bank-empty-state{text-align:center;place-content:center;justify-items:center;gap:18px;min-height:360px;padding:48px 24px;display:grid}.bank-empty-state>div:not(.bank-empty-symbol){max-width:590px}.bank-empty-state h2{margin-top:6px;font-size:clamp(24px,3vw,34px)}.bank-empty-state p:last-child{color:var(--muted);margin:10px 0 0}.bank-empty-symbol{width:64px;height:64px;color:var(--emerald);background:var(--emerald-soft);border-radius:20px;place-items:center;font-size:28px;display:grid}.bank-position-hero{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:linear-gradient(135deg,#fff,#f3f8f5);gap:20px;padding:24px;display:grid}.bank-position-heading{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.bank-position-heading>div:first-child{max-width:690px}.bank-position-heading p:last-child{color:var(--muted);margin:8px 0 0}.bank-position-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.bank-account-filter{color:#3f4960;gap:6px;width:min(430px,100%);font-size:13px;font-weight:680;display:grid}.bank-account-filter select{border:1px solid var(--line-strong);min-height:44px;color:var(--ink);background:var(--surface);border-radius:11px;padding:0 36px 0 12px}.bank-formula{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);grid-template-columns:minmax(130px,1fr) auto minmax(150px,1fr) auto minmax(150px,1fr) auto minmax(150px,1.1fr);align-items:stretch;gap:10px;padding:14px;display:grid}.bank-formula>div{background:var(--surface-soft);border-radius:12px;gap:5px;min-width:0;padding:13px 14px;display:grid}.bank-formula span:not(.formula-operator){color:var(--muted);font-size:12px}.bank-formula strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(16px,2vw,21px)}.formula-operator{color:var(--faint);align-self:center;font-size:20px;font-weight:800}.bank-formula .formula-result{color:#fff;background:var(--navy)}.bank-formula .formula-result span{color:#d7e2ef}.bank-exception-panel{border-color:#e4bd7e;box-shadow:0 14px 35px #a7651414}.read-only-summary{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;gap:4px;margin:16px 0;padding:14px 16px;display:grid}.read-only-summary span,.read-only-summary small{color:var(--muted)}.read-only-summary strong{font-variant-numeric:tabular-nums;font-size:22px}.bank-close-panel{align-items:center}.bank-close-form{grid-template-columns:minmax(170px,1fr) auto;width:min(420px,100%)}.bank-close-note{margin-top:-8px}.bank-closed-note{border-left-color:var(--emerald);background:var(--emerald-soft)}.bank-closed-note p{color:#315f55}.report-card .table-action{grid-column:2;justify-self:start}.report-card .table-action:disabled,.journal-export-button:disabled{cursor:not-allowed}.source-safety-banner{border-radius:var(--radius);color:#5e3d08;background:#fff7e5;border:1px solid #e2b665;border-left:5px solid #c57a0c;gap:7px;padding:18px 20px;display:grid}.source-safety-banner strong{color:#4c3004;font-size:17px}.source-safety-banner p{margin:0}.source-tabs{border:1px solid var(--line);background:var(--surface);border-radius:14px;flex-wrap:wrap;gap:8px;padding:6px;display:flex}.source-tabs button{min-height:44px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:9px 14px;font-weight:740;display:inline-flex}.source-tabs button span{min-width:24px;color:var(--navy);background:var(--surface-soft);border-radius:999px;padding:2px 7px;font-size:12px}.source-tabs button.active{color:var(--navy);background:#eef4f8;border-color:#cbd8e3}.source-filter-bar{grid-template-columns:minmax(220px,1.4fr) minmax(190px,.8fr) auto;align-items:end;gap:12px;margin:18px 0 8px;display:grid}.source-filter-bar label,.source-reject-form label{color:#3f4960;gap:6px;font-size:13px;font-weight:680;display:grid}.source-filter-bar input,.source-filter-bar select,.source-reject-form select{border:1px solid var(--line-strong);width:100%;min-height:44px;color:var(--ink);background:var(--surface);border-radius:10px;padding:0 12px}.source-review-grid,.source-system-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.source-review-card,.source-system-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;align-content:start;gap:14px;min-width:0;padding:18px;display:grid}.source-review-card{box-shadow:0 10px 28px #12283d0d}.source-card-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.source-card-heading h3{color:var(--navy);overflow-wrap:anywhere;margin-top:3px;font-size:18px}.source-evidence-list,.source-system-card dl{gap:8px;margin:0;display:grid}.source-evidence-list>div,.source-system-card dl>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(115px,.75fr) minmax(0,1.25fr);gap:10px;padding-bottom:8px;display:grid}.source-evidence-list dt,.source-system-card dt{color:var(--muted);font-size:12px}.source-evidence-list dd,.source-system-card dd{color:var(--ink);text-align:right;overflow-wrap:anywhere;margin:0;font-weight:680}.demo-only-badge,.real-read-only-badge{border-radius:999px;padding:4px 8px;font-size:12px;font-weight:760;display:inline-flex}.demo-only-badge{color:#5d430c;background:#fff0c7}.real-read-only-badge{color:#174b67;background:#dff2fb}.source-review-explanation,.source-system-limit,.read-only-source-note{color:var(--muted);background:var(--surface-soft);border-radius:10px;margin:0;padding:11px 12px}.source-review-actions{border-top:1px solid var(--line);gap:10px;padding-top:2px;display:grid}.source-review-actions>form:not(.source-reject-form) button{width:100%}.source-review-actions>p{color:var(--faint);margin:0;font-size:12px}.source-reject-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.source-system-card>p{color:var(--muted);margin:0}.source-system-card .source-system-limit{color:#5e3d08;background:#fff7e5}.follow-up-panel{gap:18px;display:grid}.follow-up-panel .panel-intro{max-width:900px;margin:-6px 0 0}.follow-up-kpis{margin:0}.follow-up-closeout{background:#fffaf0;border:1px solid #d9a441;border-radius:14px;gap:14px;padding:16px;display:grid}.follow-up-closeout .panel-intro{margin:0}.follow-up-queue{gap:12px;margin:0;padding:0;list-style:none;display:grid}.follow-up-card{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;gap:14px;padding:17px;display:grid}.follow-up-card-heading,.follow-up-card-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.follow-up-card-heading>div{gap:3px;display:grid}.follow-up-card-heading>div>span{color:var(--muted);font-size:13px}.follow-up-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;display:grid}.follow-up-facts.two-up{grid-template-columns:repeat(2,minmax(0,1fr))}.follow-up-facts>div{border:1px solid var(--line);background:var(--surface);border-radius:11px;min-width:0;padding:11px}.follow-up-facts dt{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin-bottom:6px;font-size:11px;font-weight:760}.follow-up-facts dd{overflow-wrap:anywhere;gap:3px;margin:0;display:grid}.follow-up-facts dd span{color:var(--muted);font-size:12px;line-height:1.35}.follow-up-card-actions{flex-wrap:wrap;justify-content:flex-end}.follow-up-history{border-top:1px solid var(--line);padding-top:15px}.follow-up-history summary{width:fit-content;min-height:44px;color:var(--navy);cursor:pointer;align-items:center;font-weight:760;display:flex}.follow-up-history[open] summary{margin-bottom:10px}.follow-up-dialog{width:min(720px,100vw - 28px)}.field-note{color:var(--muted);background:var(--surface-soft);border-radius:10px;margin:0;padding:10px 12px;font-size:12px;line-height:1.45}@media (max-width:1180px){.app-shell{grid-template-columns:218px minmax(0,1fr)}.sidebar{padding-inline:12px}.kpi-grid.four-up{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid{grid-template-columns:1fr}.follow-up-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.schedule-search{grid-column:span 2}.source-review-grid,.source-system-grid{grid-template-columns:1fr}}@media (max-width:860px){.app-shell{width:100%;display:block;overflow-x:clip}.sidebar{border-right:0;border-bottom:1px solid var(--line);height:auto;padding:14px;position:static}.brand-mark{padding:0 4px}.primary-nav{overscroll-behavior-inline:contain;gap:6px;width:100%;min-width:0;margin-top:14px;padding-bottom:4px;display:flex;overflow-x:auto}.nav-item{flex:none;width:auto}.nav-item.active:after,.sidebar-footer{display:none}.workspace{width:100%;min-width:0;padding:24px 16px 50px}.topbar{display:grid}.topbar-actions{justify-content:flex-start}.balance-grid,.report-grid,.party-profile-grid{grid-template-columns:1fr}.bank-position-heading{flex-direction:column}.bank-position-actions{justify-content:flex-start}.bank-formula{grid-template-columns:1fr}.schedule-toolbar,.source-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.source-filter-bar .text-button{grid-column:1/-1;justify-self:start}.formula-operator{display:none}}@media (max-width:640px){body,.field input,.field select,.field textarea,.period-control select{font-size:16px}.topbar-actions,.demo-banner,.data-freshness,.reconciliation-hero,.bank-position-heading{flex-direction:column;align-items:stretch}.topbar-actions>*,.topbar-actions .period-control select{width:100%}.kpi-grid.three-up,.kpi-grid.four-up,.summary-strip,.form-grid,.party-result-grid,.party-profile-card dl,.allocation-line,.close-form,.schedule-toolbar,.due-date-example{grid-template-columns:1fr}.due-date-arrow{transform:rotate(90deg)}.due-date-example p{grid-column:1}.schedule-search{grid-column:auto}.source-tabs,.source-filter-bar,.source-reject-form{grid-template-columns:1fr}.source-tabs{display:grid}.source-tabs button,.source-filter-bar .text-button,.source-reject-form button{width:100%}.source-card-heading{flex-direction:column}.follow-up-card-heading,.follow-up-card-actions{flex-direction:column;align-items:stretch}.follow-up-facts{grid-template-columns:1fr}.follow-up-card-actions>*{width:100%}.source-evidence-list>div,.source-system-card dl>div{grid-template-columns:1fr}.source-evidence-list dd,.source-system-card dd{text-align:left}.schedule-filter input,.schedule-filter select{font-size:16px}.table-scroll-hint{display:block}.close-form{width:100%}.bank-position-actions{grid-template-columns:1fr;display:grid}.bank-position-actions>*,.bank-account-filter,.bank-account-filter select{width:100%}.bank-empty-state,.bank-position-hero{padding:20px 17px}.full-field{grid-column:auto}.kpi-card{min-height:126px}.section-heading,.panel-heading{flex-direction:column;align-items:flex-start}.party-ledger-actions,.party-ledger-actions>*{width:100%}.view-stack,.view-stack>*,.kpi-grid,.kpi-card{min-width:0;max-width:100%}.legend{gap:4px;display:grid}.chart{height:210px;padding-inline:4px}.panel,.dialog-form{padding:17px}.dialog-actions{grid-template-columns:1fr 1fr;display:grid}}.tutorial-library{gap:30px;display:grid}.tutorial-featured{color:#fff;background:radial-gradient(circle at 88% 12%,#24be9a47,#0000 34%),linear-gradient(135deg,#10294b 0%,#17365f 57%,#0c594d 125%);border:1px solid #ffffff1a;border-radius:24px;grid-template-columns:minmax(0,1.28fr) minmax(340px,.72fr);gap:0;display:grid;position:relative;overflow:hidden;box-shadow:0 24px 64px #10294b2e}.tutorial-featured-media{min-width:0;padding:26px 0 26px 26px}.tutorial-featured-copy{align-self:center;gap:14px;padding:36px 34px;display:grid}.tutorial-featured-copy .eyebrow{color:#8de0cb;margin:0}.tutorial-featured-copy h2{color:#fff;letter-spacing:-.035em;max-width:520px;margin:0;font-size:clamp(26px,3vw,38px);line-height:1.08}.tutorial-featured-copy>p:not(.eyebrow){color:#ffffffc2;max-width:560px;margin:0}.tutorial-status-badge{color:#bcefe2;letter-spacing:.08em;text-transform:uppercase;background:#16806a33;border:1px solid #8de0cb52;border-radius:999px;justify-self:start;padding:6px 10px;font-size:11px;font-weight:800}.tutorial-facts{flex-wrap:wrap;gap:9px;display:flex}.tutorial-facts span{color:#ffffffb8;background:#ffffff0f;border:1px solid #ffffff24;border-radius:10px;align-items:center;gap:6px;padding:8px 10px;font-size:12px;display:inline-flex}.tutorial-facts strong{color:#fff;font-size:14px}.tutorial-coming-note{padding-top:3px;font-size:12px}.tutorial-video,.tutorial-placeholder{aspect-ratio:16/9;border-radius:17px;width:100%}.tutorial-video{background:#081a2e;border:0;display:block}.tutorial-placeholder{isolation:isolate;color:#fff;background:linear-gradient(140deg,#16806a3d,#0000 52%),radial-gradient(circle at 75% 22%,#ffffff24,#0000 28%),#122f53;place-items:center;display:grid;position:relative;overflow:hidden}.tutorial-placeholder:before{content:"";z-index:-1;border:1px solid #ffffff17;border-radius:14px;position:absolute;inset:12%;transform:rotate(-2deg)}.tutorial-placeholder-number{color:#ffffffbd;letter-spacing:.12em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;font-weight:760;position:absolute;top:14px;left:16px}.tutorial-play-symbol{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff24;border:1px solid #ffffff6b;border-radius:50%;place-items:center;width:58px;height:58px;padding-left:4px;font-size:20px;display:grid;box-shadow:0 12px 32px #00000029}.tutorial-placeholder-status{color:#ffffffd1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#04112080;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:700;position:absolute;bottom:14px;right:14px}.tutorial-catalogue{gap:18px;display:grid}.tutorial-catalogue-heading{justify-content:space-between;align-items:end;gap:24px;display:flex}.tutorial-catalogue-heading h2{margin:2px 0 5px;font-size:clamp(23px,3vw,30px)}.tutorial-catalogue-heading p:last-child{color:var(--muted);margin:0}.tutorial-search{border:1px solid var(--line-strong);min-width:250px;color:var(--muted);background:var(--surface);border-radius:12px;flex:0 340px;align-items:center;gap:9px;padding:0 12px;display:flex;box-shadow:0 8px 22px #17233b0a}.tutorial-search:focus-within{border-color:var(--emerald);box-shadow:0 0 0 3px var(--emerald-soft)}.tutorial-search input{width:100%;min-height:44px;color:var(--ink);background:0 0;border:0;outline:0}.tutorial-result-count{color:var(--muted);margin:0;font-size:12px;font-weight:650}.tutorial-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.tutorial-card{border:1px solid var(--line);background:var(--surface);border-radius:17px;min-width:0;transition:transform .15s,border-color .15s,box-shadow .15s;overflow:hidden;box-shadow:0 12px 34px #17233b0e}.tutorial-card:hover{border-color:#c8d8d1;transform:translateY(-2px);box-shadow:0 17px 38px #17233b14}.tutorial-card .tutorial-placeholder,.tutorial-card .tutorial-video{border-radius:0}.tutorial-card-copy{gap:8px;padding:16px 17px 18px;display:grid}.tutorial-card-meta{color:var(--emerald);letter-spacing:.045em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:12px;font-size:11px;font-weight:760;display:flex}.tutorial-card-meta span:last-child{color:var(--muted)}.tutorial-card h3{min-height:2.7em;margin:0;font-size:16px;line-height:1.35}.tutorial-card p{color:var(--muted);margin:0;font-size:12px}.tutorial-empty-state{border:1px dashed var(--line-strong);color:var(--muted);background:var(--surface-soft);text-align:center;border-radius:17px;justify-items:center;gap:8px;padding:48px 24px;display:grid}.tutorial-empty-state>span{font-size:30px}.tutorial-empty-state h3{color:var(--ink);margin:0}@media (max-width:1180px){.tutorial-featured{grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr)}.tutorial-featured-copy{padding:30px 26px}.tutorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:860px){.tutorial-featured{grid-template-columns:1fr}.tutorial-featured-media{padding:20px 20px 0}.tutorial-catalogue-heading{flex-direction:column;align-items:stretch}.tutorial-search{flex-basis:auto;width:min(100%,420px);min-width:0}}@media (max-width:640px){.tutorial-library{gap:24px}.tutorial-featured{border-radius:18px}.tutorial-featured-media{padding:14px 14px 0}.tutorial-featured-copy{padding:24px 20px}.tutorial-grid{grid-template-columns:1fr}.tutorial-card h3{min-height:0}.tutorial-search{width:100%}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.sidebar .primary-nav{min-height:0;padding-right:3px;overflow-y:auto}.offer-cycle-view{gap:22px}.offer-hero{box-shadow:var(--shadow);background:radial-gradient(circle at 92% 12%,#16806a24,#0000 33%),linear-gradient(135deg,#f8fcf9,#eef6f1);border:1px solid #cfe0da;border-radius:20px;justify-content:space-between;align-items:flex-start;gap:24px;padding:26px;display:flex}.offer-hero h2{margin-bottom:8px;font-size:clamp(22px,3vw,30px)}.offer-hero p:last-child{max-width:820px;color:var(--muted);margin-bottom:0}.offer-hero-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.mode-chip,.mini-control,.priority-badge,.status-badge{border-radius:999px;justify-content:center;align-items:center;width:fit-content;font-size:11px;font-weight:750;line-height:1.25;display:inline-flex}.mode-chip{color:#11614f;background:#dff1ea;border:1px solid #b9ded1;padding:8px 11px}.offer-feedback{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin:0;padding:12px 15px;font-weight:650}.offer-feedback.success{color:#11614f;background:var(--emerald-soft);border-color:#b9ded1}.offer-feedback.warning{color:#815011;background:var(--amber-soft);border-color:#ecd2a6}.offer-feedback.error{color:#963737;background:var(--red-soft);border-color:#edc4c1}.offer-kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;display:grid}.offer-kpi{border:1px solid var(--line);background:var(--surface);border-radius:16px;align-content:start;gap:5px;min-width:0;min-height:125px;padding:18px;display:grid;box-shadow:0 9px 24px #17233b0a}.offer-kpi>span,.offer-metric>span,.publisher-fact>span{color:var(--muted);letter-spacing:.045em;text-transform:uppercase;font-size:11px;font-weight:720}.offer-kpi>strong{overflow-wrap:anywhere;font-size:21px;line-height:1.18}.offer-kpi>small,.offer-metric>small,.publisher-fact>small{color:var(--muted);line-height:1.35}.offer-kpi.success{border-top:3px solid var(--emerald)}.offer-kpi.warning{border-top:3px solid var(--amber)}.offer-kpi.danger{border-top:3px solid var(--red)}.offer-queues,.offer-list-panel,.terms-panel{gap:18px;display:grid}.queue-family{gap:9px;display:grid}.queue-family h3,.offer-section-heading h3,.close-history h4,.blocker-panel h4,.publisher-card h4{color:var(--ink);margin:0;font-size:15px}.queue-chip-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.queue-chip{border:1px solid var(--line);min-width:0;min-height:54px;color:var(--ink);background:var(--surface-soft);text-align:left;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.queue-chip:hover,.queue-chip.active{background:var(--emerald-soft);border-color:#9dc8bb}.queue-chip strong{color:#11614f;background:#fff;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;display:grid}.queue-results{border-top:1px solid var(--line);min-width:0;padding-top:4px}.queue-results-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px;display:flex}.queue-results-heading span,.result-count{color:var(--muted);font-size:12px}.offer-work-table,.offer-main-table,.offer-subtable{min-width:920px}.offer-work-table td small,.offer-main-table td small,.offer-subtable td small,.offer-detail-header small,.close-history small{color:var(--muted);margin-top:3px;line-height:1.45;display:block}.clickable-row,.offer-main-table tbody tr{cursor:pointer}.clickable-row:hover,.offer-main-table tbody tr:hover,.offer-main-table .selected-row{background:#f0f7f3}.priority-badge{padding:5px 8px}.priority-badge.critical{color:#963737;background:var(--red-soft)}.priority-badge.high{color:#815011;background:var(--amber-soft)}.priority-badge.medium,.priority-badge.low{color:var(--navy);background:#edf2f7}.offer-filter-grid{grid-template-columns:minmax(230px,1.8fr) repeat(4,minmax(130px,1fr));align-items:end;gap:10px;display:grid}.offer-filter-grid.advanced{grid-template-columns:repeat(4,minmax(150px,1fr));padding-top:12px}.advanced-filters{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;padding:10px 12px}.advanced-filters summary,.eligibility-details summary,.publisher-inline-panel summary{color:var(--navy);cursor:pointer;font-weight:700}.filter-reset{place-self:end start;min-height:42px}.offer-main-table{min-width:1320px}.offer-main-table td{vertical-align:top}.control-dot{border-radius:50%;width:8px;height:8px;margin-right:7px;display:inline-block}.control-dot.ok{background:var(--emerald);box-shadow:0 0 0 4px var(--emerald-soft)}.control-dot.warning{background:var(--amber);box-shadow:0 0 0 4px var(--amber-soft)}.status-badge{text-align:center;max-width:270px;padding:6px 9px}.status-badge.success{color:#11614f;background:var(--emerald-soft)}.status-badge.warning{color:#815011;background:var(--amber-soft)}.status-badge.danger{color:#963737;background:var(--red-soft)}.status-badge.info{color:var(--navy);background:#edf2f7}.offer-empty{border:1px dashed var(--line-strong);color:var(--muted);background:var(--surface-soft);text-align:center;border-radius:12px;padding:18px}.offer-detail{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:20px;overflow:hidden}.offer-detail-header{border-bottom:1px solid var(--line);background:linear-gradient(135deg,#f9fbf8,#f2f7f4);justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 26px;display:flex}.offer-detail-header h2{margin-bottom:6px;font-size:24px}.offer-detail-header p{color:var(--muted);margin-bottom:0}.offer-detail-header>div:last-child{text-align:right;justify-items:end;gap:6px;display:grid}.offer-detail-section{border-bottom:1px solid var(--line);grid-template-columns:52px minmax(0,1fr);display:grid}.offer-detail-section:last-child{border-bottom:0}.offer-section-index{color:#fff;background:var(--navy);place-items:start center;padding-top:24px;font-size:20px;font-weight:800;display:grid}.offer-section-content{gap:18px;min-width:0;padding:24px;display:grid}.offer-section-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.offer-section-heading h3{font-size:18px}.mini-control{color:var(--navy);background:#edf2f7;padding:7px 10px}.mini-control.ok{color:#11614f;background:var(--emerald-soft)}.mini-control.warning{color:#815011;background:var(--amber-soft)}.offer-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.offer-metric{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;gap:4px;min-width:0;padding:14px;display:grid}.offer-metric strong{overflow-wrap:anywhere;font-size:17px}.offer-metric.compact strong{font-size:13px}.offer-metric.success{background:var(--emerald-soft);border-color:#b9ded1}.offer-metric.danger{background:var(--red-soft);border-color:#edc4c1}.publisher-stack{gap:14px;display:grid}.publisher-card{border:1px solid var(--line);background:#fbfcfa;border-radius:15px;gap:14px;min-width:0;padding:18px;display:grid}.publisher-card>header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.publisher-card>header h4{font-size:17px}.publisher-card>header p{color:var(--muted);margin:3px 0 0;font-size:12px}.publisher-facts{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.publisher-fact{border:1px solid var(--line);background:#fff;border-radius:10px;gap:3px;min-width:0;padding:11px;display:grid}.publisher-fact strong{overflow-wrap:anywhere;font-size:14px}.publisher-fact.success{border-color:#b9ded1}.publisher-fact.danger{background:var(--red-soft);border-color:#edc4c1}.publisher-state-row{flex-wrap:wrap;gap:8px;display:flex}.publisher-state-row>span{color:var(--muted);background:#eef2ef;border-radius:9px;padding:7px 9px;font-size:12px}.publisher-state-row strong{color:var(--ink)}.publisher-credit-note,.publisher-payment-exception{background:var(--emerald-soft);border:1px solid #b9ded1;border-radius:11px;align-items:flex-start;gap:11px;padding:12px 13px;display:flex}.publisher-payment-exception{background:var(--amber-soft);border-color:#e4bd7e}.publisher-credit-note>span,.publisher-payment-exception>span{color:#fff;background:var(--emerald);border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font-size:15px;font-weight:850;display:grid}.publisher-payment-exception>span{background:var(--amber)}.publisher-credit-note strong,.publisher-payment-exception strong,.publisher-credit-note p,.publisher-payment-exception p,.publisher-payment-exception small{display:block}.publisher-credit-note p,.publisher-payment-exception p{color:var(--ink);margin:3px 0 0;line-height:1.45}.publisher-payment-exception small{color:var(--muted);margin-top:5px;line-height:1.45}.eligibility-details,.publisher-inline-panel{border:1px solid var(--line);background:#fff;border-radius:11px;padding:11px 13px}.eligibility-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:11px;display:grid}.eligibility-grid>div{border-radius:10px;align-items:flex-start;gap:9px;padding:10px;display:flex}.eligibility-grid>div>span{color:#fff;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-weight:800;display:grid}.eligibility-grid .passed{background:var(--emerald-soft)}.eligibility-grid .passed>span{background:var(--emerald)}.eligibility-grid .failed{background:var(--amber-soft)}.eligibility-grid .failed>span{background:var(--amber)}.eligibility-grid strong,.eligibility-grid small{display:block}.eligibility-grid small{color:var(--muted);margin-top:2px}.publisher-actions{flex-wrap:wrap;gap:8px;display:flex}.publisher-actions form{display:contents}.publisher-upload-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.publisher-upload-form .full-field,.publisher-upload-form button{grid-column:1/-1}.publisher-document-table{min-width:1180px}.publisher-payment-table{min-width:980px}.publisher-document-table td,.publisher-payment-table td{vertical-align:top}.compact-button{min-height:32px;padding:6px 9px;font-size:12px}.credit-file-form{gap:7px;min-width:210px;display:grid}.credit-file-form input[type=file]{max-width:230px;padding:6px;font-size:12px}.missing-proof{color:#963737;font-size:12px;font-weight:750}.payment-observation-grid{grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:14px;margin-top:12px;display:grid}.publisher-payment-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.publisher-payment-form button{grid-column:1/-1}.publisher-reject-form{border-left:1px solid var(--line);align-content:start;gap:9px;padding-left:14px;display:grid}.publisher-reconcile-form{background:var(--amber-soft);border:1px solid #ecd2a6;border-radius:11px;justify-content:space-between;align-items:center;gap:15px;padding:12px;display:flex}.publisher-reconcile-form p{margin:0}.closure-grid{grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:14px;display:grid}.blocker-panel,.close-action-panel,.close-history{border:1px solid var(--line);background:var(--surface-soft);border-radius:13px;padding:16px}.blocker-panel ul{color:#794e1b;gap:6px;margin:10px 0 0;padding-left:20px;display:grid}.all-clear{color:#11614f;margin:10px 0 0;font-weight:700}.close-action-panel form{gap:10px;display:grid}.close-action-panel small{color:var(--muted)}.close-history{gap:10px;display:grid}.close-history article{border-top:1px solid var(--line);align-items:flex-start;gap:10px;padding-top:10px;display:flex}.terms-party-select{max-width:520px}.payment-terms-form{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px;display:grid}.payment-terms-form .full-field,.terms-summary{grid-column:1/-1}.payment-terms-form>button{grid-column:4}.checkbox-field{background:#fff;border-radius:10px;align-items:center;gap:8px;padding:10px;display:flex}.checkbox-field input{width:18px;height:18px}.terms-summary{color:var(--muted);background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:11px 12px;display:flex}.terms-summary strong{color:var(--ink)}.offer-create-dialog{width:min(780px,100vw - 28px)}@media (max-width:1420px){.offer-kpis,.publisher-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:1180px){.offer-filter-grid,.offer-filter-grid.advanced,.payment-terms-form{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-search,.payment-terms-form .full-field,.terms-summary{grid-column:1/-1}.payment-terms-form>button{grid-column:2}.offer-metric-grid,.publisher-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:860px){.offer-hero,.offer-detail-header,.offer-section-heading,.publisher-card>header,.publisher-reconcile-form{flex-direction:column;align-items:stretch}.offer-hero-actions{justify-content:flex-start}.offer-detail-header>div:last-child{text-align:left;justify-items:start}.queue-chip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-detail-section{grid-template-columns:38px minmax(0,1fr)}.offer-section-content{padding:18px}.eligibility-grid,.closure-grid,.payment-observation-grid{grid-template-columns:1fr}.publisher-reject-form{border-top:1px solid var(--line);border-left:0;padding:12px 0 0}}@media (max-width:640px){.offer-hero,.offer-detail-header,.offer-section-content{padding:17px}.offer-kpis,.queue-chip-grid,.offer-filter-grid,.offer-filter-grid.advanced,.offer-metric-grid,.publisher-facts,.publisher-upload-form,.publisher-payment-form,.payment-terms-form{grid-template-columns:1fr}.offer-search,.publisher-upload-form .full-field,.publisher-upload-form button,.publisher-payment-form button,.payment-terms-form .full-field,.terms-summary,.payment-terms-form>button{grid-column:1}.terms-summary{flex-direction:column;align-items:flex-start}.publisher-actions,.publisher-actions>*,.publisher-actions button,.publisher-actions a{width:100%}.offer-detail-section{grid-template-columns:30px minmax(0,1fr)}.offer-section-index{font-size:15px}}
