/* Rainova / Charcoal workspace, white surfaces, navy rail and raindrop-blue selections. Print reports keep white paper. */
@font-face{font-family:Alexandria;src:url('/assets/Alexandria-variable.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
/* Signature samples only; the Rainova application typography remains unchanged. */
@font-face{font-family:NovaAllura;src:url('/assets/NovaSign-allura.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:NovaGreatVibes;src:url('/assets/NovaSign-greatvibes.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:NovaCaveat;src:url('/assets/NovaSign-caveat.ttf') format('truetype');font-weight:400 700;font-display:swap}
@font-face{font-family:NovaDancing;src:url('/assets/NovaSign-dancingscript.ttf') format('truetype');font-weight:400 700;font-display:swap}
@font-face{font-family:Oxygen;src:url('/assets/Oxygen-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Oxygen;src:url('/assets/Oxygen-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
:root{font-family:Alexandria,Arial,sans-serif}
/* Sheet-derived headers retain their original capitalization. */
#register-print .source-register-grid th,#register-print>h3{text-transform:none!important}
/* Capitalize every word in headings without changing stored names, form values or acronyms. */
:is(h1,h2,h3,h4,h5,h6,th,legend,[role="heading"],[role="columnheader"],.tabs button,.workspace-headings button,.register-tabs button,.register-tab-title,.notice>strong,.stat>span,.agency-report-kpis>div>span,.task-card summary strong){text-transform:capitalize!important}
@media screen {
 :root{--navy:#061b3a;--blue:#168cdd;--gold:#efa900;--canvas:#404040;--raindrop:#016cfc;--surface:#b9e5fb;--surface-soft:#a8def9;--line:#061b3a26;--ink:#000;--muted:#000;--display:Alexandria,Arial,sans-serif;--shadow:none;font-size:12px;color:#fff;background:var(--canvas)}
 body{margin:0;font-family:Alexandria,Arial,sans-serif;font-size:12px;line-height:1.65;color:#000;background:var(--canvas)}
 h1,h2,h3,h4{font-family:inherit;color:#000;letter-spacing:-.035em;line-height:1.25;font-weight:650}
 p,a,label,input,select,textarea,button,summary,small,table{font-family:inherit}
 p{line-height:1.75}a{color:#000;text-underline-offset:3px}a:hover{text-decoration-thickness:2px}
 button,.button{font-size:12px;font-weight:550;line-height:1.4;border:1px solid #061b3a35;border-radius:100px;background:#66c4f5;color:#000;min-height:40px;padding:10px 18px;box-shadow:none;filter:none;transition:background .15s ease}
 button:hover:not(:disabled),.button:hover{background:#45b4ee;color:#000;box-shadow:none;transform:none;filter:none}
 button:disabled{opacity:.5;cursor:not-allowed}
 button.secondary,.secondary,button.quiet,.quiet{background:#b9e5fb;color:#000;border-color:var(--line);box-shadow:none}
 button.secondary:hover,.secondary:hover,button.quiet:hover,.quiet:hover{background:#96d7f7;color:#000}
 button.danger,.danger{background:#f7c9cd;color:#000;border-color:#8c354a55}
 :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #061b3a;outline-offset:3px}
 input,select,textarea{font-size:12px;line-height:1.6;color:#000;background:#c9ebfc;border:1px solid #061b3a40;border-radius:10px;padding:10px 12px;min-height:40px;box-shadow:none}
 input:focus,select:focus,textarea:focus{background:#d3effd;border-color:#061b3a;outline:2px solid #061b3a;outline-offset:1px;box-shadow:none}
 input:disabled,select:disabled{background:#a4cddd;color:#000}
 input::placeholder,textarea::placeholder{color:#000;opacity:.65}
 input[type=checkbox]{width:17px;height:17px;min-height:17px;accent-color:#061b3a}
 input::file-selector-button{font:inherit;border:0;border-radius:20px;padding:8px 12px;background:#85d1f8;color:#000;margin-right:10px}
 label{font-size:12px;font-weight:550;color:#000;margin:10px 0 14px;letter-spacing:0}
 fieldset{border:1px solid var(--line);border-radius:14px;padding:18px;margin:20px 0}legend{font-size:12px;font-weight:600;padding:0 8px}
 .form-grid{gap:6px 22px}.form-actions{gap:10px}.raw-listing-data{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:65vh;overflow:auto}
 /* One navy rail and one continuous blue workspace, like the supplied reference. */
 .layout{display:grid;grid-template-columns:238px minmax(0,1fr);padding:0;gap:0;min-height:100vh}
 .sidebar{position:sticky;top:0;margin:0;height:100vh;overflow-y:auto;background:var(--navy);border:0;border-radius:0;padding:30px 20px 22px;gap:30px;box-shadow:none;color:#e8f6ff;scrollbar-width:thin;scrollbar-color:#7196b7 var(--navy)}
 .sidebar .logo{background:#fff;border:0;border-radius:9px;padding:4px;box-shadow:none;overflow:hidden;flex-shrink:0}
 .sidebar .logo img{display:block;width:100%;height:84px;margin-left:0;object-fit:contain;filter:none}
 .logo img{width:100%;height:56px;object-fit:cover}
 .sidebar small{color:#d9edfb;font-size:10px;letter-spacing:.08em;font-weight:400}
 .sidebar nav{display:grid;gap:9px;margin-top:18px!important}
 .sidebar nav button,.sidebar nav a{display:flex;align-items:center;justify-content:flex-start;gap:12px;position:relative;font-size:12px;font-weight:400;line-height:1.6;padding:12px 14px;min-height:46px;text-align:left;border:1px solid transparent;border-radius:100px;background:transparent;color:#e8f6ff;box-shadow:none;text-decoration:none}
 .sidebar nav button:hover,.sidebar nav a:hover{background:#ffffff12;color:#fff;transform:none;box-shadow:none}
 .sidebar nav button.active{background:#91d4f6;color:#000;border:1px solid #91d4f6;font-weight:550;box-shadow:none}
 .sidebar nav button.active:after{display:none}
 .nav-symbol{width:18px;height:18px;flex:0 0 18px;opacity:1}
 .sidebar .bottom{margin-top:auto;padding-top:18px;border-top:1px solid #b9e5fb30;gap:10px}
 .sidebar .bottom small{font-size:10px;line-height:1.7;letter-spacing:0}
 .sidebar .bottom button{background:transparent;color:#e8f6ff;border:0;box-shadow:none;padding:8px 0}
 .sidebar :is(button,a):focus-visible{outline-color:#91d4f6}
 .workspace{min-width:0;background:var(--canvas)}
 .topbar{min-height:82px;padding:24px 36px;border:0;background:transparent;gap:18px}
 .topbar h1{font-size:16px;color:#000;margin:0;font-weight:550}
 .topbar .eyebrow{display:none}
 .topbar>div:last-child{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:100px;background:#b9e5fb;padding:8px 14px;color:#000;font-size:12px}
 .topbar .small{font-size:12px;color:#000}
 .content,body.register-view .content{max-width:1800px;margin:auto;padding:6px 36px 40px;background:transparent;min-width:0}
 .page-head,body.register-view .content>.page-head,.agency-report-hero{position:relative;isolation:auto;display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:110px;margin:0 0 20px;padding:18px 0 26px;background:transparent;border:0;border-radius:0;box-shadow:none;color:#000;overflow:visible}
 .page-head:before,.page-head:after,body.register-view .content>.page-head:before,body.register-view .content>.page-head:after,.agency-report-hero:after{display:none}
 .page-head h2,body.register-view .content>.page-head h2,.agency-report-hero h2{font-family:inherit;font-size:34px;font-weight:650;line-height:1.2;letter-spacing:-.045em;color:#000;margin:0 0 10px}
 .page-head p,body.register-view .content>.page-head p,.agency-report-hero p{font-size:12px;color:#000;letter-spacing:0;margin:0;max-width:760px}
 .agency-report-hero{display:block}.agency-report-hero .form-actions{margin-top:20px}
 .eyebrow,.small,.muted,.panel p,.card p,.connection p,.step small,.empty,.empty h3,.agency-report-footnote{color:#000;font-size:12px}
 .eyebrow{letter-spacing:.06em;font-weight:500}
 .content>.row{border:0;margin-bottom:12px;padding-bottom:12px}.broker-picker{max-width:440px;background:#b9e5fb}
 .panel,.card,.task-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:none;padding:24px;margin-bottom:20px;animation:none}
 .panel h2,.card h2{font-size:22px}.panel h3,.card h3{font-size:18px;letter-spacing:-.025em;color:#000}
 .panel summary,.task-card summary strong{font-size:12px;color:#000;font-weight:600}.task-card summary small{font-size:12px;color:#000}
 .grid,.cards{gap:20px}.connection,.row,hr{border-color:var(--line)}
 .stats,.agency-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px}
 .stat,.agency-report-kpis>div,.stat:first-child,.agency-report-kpis>div:first-child{padding:22px;background:#b9e5fb;border:1px solid var(--line);border-radius:16px;box-shadow:none}
 .stat span,.agency-report-kpis span,.agency-report-kpis small{font-size:12px;color:#000}
 .stat strong,.agency-report-kpis strong,.stat:first-child strong,.agency-report-kpis>div:first-child strong{display:block;font-family:inherit;font-size:30px;line-height:1.25;letter-spacing:-.045em;font-weight:650;color:#000;margin-top:14px;font-variant-numeric:tabular-nums}
 .steps{gap:12px}.step{background:#abdff9;border:1px solid var(--line);border-radius:14px;padding:18px}.step.done{background:#a0decb;border-color:#061b3a30}.step b{font-size:12px}
 .progress{background:#88bfdc;border-radius:100px}.progress span{background:#168cdd;border-radius:100px}
 .badge,.badge.draft,.badge.candidate{font-size:12px;font-weight:450;letter-spacing:0;border:1px solid #061b3a24;border-radius:100px;padding:5px 10px;background:#a3d5ed;color:#000;white-space:normal}
 .badge.complete,.badge.completed,.badge.active,.badge.paid,.badge.published,.badge.signed{background:#92d9c1;color:#000;border-color:#061b3a24}
 .badge.blocked,.badge.waiting_connection,.badge.approved_waiting_connection,.badge.prepared_not_sent,.badge.outbound_signing_not_connected{background:#e9d999;color:#000;border-color:#061b3a24}
 .badge.refused,.badge.cancelled{background:#f0b9c3;color:#000;border-color:#061b3a24}
 .notice{background:#abdff9;border:1px solid var(--line);border-radius:12px;padding:15px 18px;color:#000;font-size:12px;line-height:1.75;box-shadow:none}.notice strong{color:#000}
 .empty{padding:44px 22px}.empty h3{font-size:18px}
 /* Quiet rounded horizontal headings; one blue table below. */
 .tabs,.workspace-headings,.register-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:4px;padding:5px;background:#78c8f1;border:0;border-radius:100px;scrollbar-width:thin;scrollbar-color:#4198c3 transparent;scroll-snap-type:x proximity}
 .tabs{margin-bottom:22px}.office-section-headings{margin-bottom:22px}
 #edm-workspace>.workspace-headings{margin-bottom:20px}
 .workspace-headings button,.register-tabs button,.tabs button{position:relative;flex:1 0 118px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;background:transparent;color:#000;font-family:inherit;font-size:12px;font-weight:450;line-height:1.5;white-space:normal;text-align:center;border:1px solid transparent;border-radius:100px;box-shadow:none;transform:none;scroll-snap-align:start}
 .register-tabs button{flex-basis:148px}.register-tab-top{display:flex;flex:0 0 17px;color:#000}.register-tab-top svg{width:17px;height:17px}.register-tab-top>span{display:none}.register-tabs button:after{display:none}.register-tab-title{display:block}
 .workspace-headings button.active,.workspace-headings button.active:hover,.register-tabs button.active,.register-tabs button.active:hover,.tabs button.active{background:#bfeaff;color:#000;border:1px solid #061b3a2b;box-shadow:none;font-weight:600}
 .workspace-headings button:hover:not(.active),.register-tabs button:hover:not(.active),.tabs button:hover:not(.active){background:#9fddfa;color:#000;box-shadow:none;transform:none}
 .workspace-headings button:focus-visible,.register-tabs button:focus-visible{outline:2px solid #061b3a;outline-offset:-3px}
 .table-workspace,#register-workspace{border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:none;margin-bottom:24px;overflow:hidden;min-width:0;animation:none}
 .table-workspace>.workspace-headings,#register-workspace>.register-tabs{margin:12px;width:calc(100% - 24px)}
 .register-toolbar,.workspace-toolbar{padding:23px 25px;gap:18px;border-bottom:1px solid var(--line);align-items:center;background:transparent}
 .register-toolbar h3,.workspace-toolbar h3{font-family:inherit;font-size:20px;line-height:1.3;letter-spacing:-.03em;font-weight:600;color:#000;margin:0 0 6px}
 .register-toolbar>div>span,.workspace-toolbar p{font-size:12px;color:#000;text-transform:none;letter-spacing:0;margin:0}
 .register-actions,.workspace-actions{gap:8px;flex-wrap:wrap}
 .register-actions button,.workspace-actions button,.register-actions #print-register,.register-actions #new-statutory-entry{font-size:12px;background:#91d4f6;color:#000;border:1px solid var(--line);border-radius:100px;padding:10px 16px;box-shadow:none;min-height:40px}
 .register-actions #new-statutory-entry:before{content:none}.register-actions select{color:#000;background:#c9ebfc;border-radius:10px;font-size:12px}
 .register-guidance{padding:0 25px;background:#acddf5;border:0;border-bottom:1px solid var(--line);font-size:12px;color:#000}
 .register-guidance summary{padding:14px 0;font-weight:500;cursor:pointer}.register-reference{font-size:12px;color:#000;letter-spacing:0}
 .register-guidance p{margin:0;padding-bottom:16px}
 .workspace-grid,.register-grid,.table-wrap{overflow:auto;scrollbar-width:thin;scrollbar-color:#4699be transparent}
 .register-grid,.workspace-grid{min-height:240px}
 table,.register-grid table,.workspace-grid table{font-family:inherit;font-size:12px;line-height:1.6;font-variant-numeric:tabular-nums;border-collapse:separate;border-spacing:0;background:var(--surface)}
 th,.register-grid th,.workspace-grid th{font-family:inherit;font-size:12px;font-weight:550;color:#000;background:#a8dbf4;border:0;border-bottom:1px solid var(--line);text-transform:none;letter-spacing:0;line-height:1.6;padding:15px 18px;white-space:normal}
 .register-grid th,.workspace-grid th{min-width:120px}.register-grid th.row-number,.workspace-grid th.row-number{min-width:42px;background:#a8dbf4;color:#000}
 td,.register-grid td,.workspace-grid td{padding:18px;color:#000;border:0;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.7;max-width:320px;background:#b9e5fb}
 .register-grid td.row-number,.workspace-grid td.row-number{color:#000;font-size:12px;background:#b9e5fb}
 .register-grid tbody tr:nth-child(even) td,.workspace-grid tbody tr:nth-child(even) td{background:#b1e1f9}
 .register-grid tbody tr:hover td,.workspace-grid tbody tr:hover td,tbody tr:hover td{background:#9bd9f7}
 .register-grid td.register-missing{background:#e9d999!important;color:#000;font-size:12px;border-left:0}
 .trust-ledger table{min-width:1910px}.trust-ledger .ledger-groups th{background:#94cfea;color:#000;font-size:12px;padding:12px 18px;border:0;border-bottom:1px solid var(--line);letter-spacing:0}
 .trust-ledger .ledger-groups .funds-in{background:#99d7c9}.trust-ledger .ledger-groups .funds-out{background:#e5d5a5}
 .trust-ledger tbody tr:not(.register-empty-row) td:nth-child(7),.trust-ledger tbody tr:not(.register-empty-row) td:nth-child(11),.trust-ledger tbody tr:not(.register-empty-row) td:nth-child(12){color:#000;background:#b9e5fb;font-weight:550}
 .register-grid .register-empty-row td{height:240px;padding:0;background:#b9e5fb!important}
 .register-empty{position:sticky;left:0;width:min(620px,calc(100vw - 64px));padding:34px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
 .register-empty svg{width:30px;height:30px;padding:9px;box-sizing:content-box;background:#91d4f6;border-radius:100px;color:#000}
 .register-empty strong{font-family:inherit;font-size:20px;color:#000;font-weight:600;letter-spacing:-.025em}
 .register-empty span{font-size:12px;color:#000;line-height:1.8;max-width:440px}
 .register-footer,.workspace-note{background:#acddf5;color:#000;font-size:12px;letter-spacing:0;border-top:1px solid var(--line);padding:17px 25px;line-height:1.8}
 .register-footer{display:flex;justify-content:space-between;gap:15px}.register-footer>span:last-child,.register-footer>span:last-child>span{color:#000}.register-footer i{background:#061b3a;border-radius:50%;width:5px;height:5px;display:inline-block;margin-right:7px;transform:none}
 .agency-filter-panel{background:#b9e5fb;border:1px solid var(--line);padding:20px 24px;border-radius:14px;box-shadow:none;margin-bottom:22px}.agency-filter-panel summary,.register-fields{font-size:12px;color:#000}
 dialog{font-family:inherit;font-size:12px;border:1px solid #061b3a55;border-radius:18px;padding:28px;background:#b9e5fb;color:#000;box-shadow:0 20px 80px #061b3a40}
 dialog::backdrop{background:#061b3a88}.dialog-head{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:18px;gap:15px}.dialog-head h2{font-size:23px;letter-spacing:-.025em;color:#000}
 #toast,#message{font:12px/1.7 Alexandria,Arial,sans-serif;background:#b9e5fb;border:1px solid #061b3a;border-radius:14px;color:#000;box-shadow:0 8px 25px #061b3a25}
 .signin{margin:10vh auto;padding:32px;max-width:440px;background:#b9e5fb;border:1px solid var(--line);border-radius:18px;box-shadow:none}.signin h1{font-size:28px}.signin img{object-fit:cover;height:90px}
 /* Other local Rainova surfaces share the same palette and typography. */
 body.records-centre>header{background:#061b3a;color:#e8f6ff;padding:22px 30px;border:0}
 .records-centre .brand img{width:190px;height:60px;object-fit:cover;background:#91d4f6;padding:6px 12px;border-radius:12px}
 .records-centre .brand span{font-size:12px;color:#e8f6ff}.records-centre nav button{font-size:12px;border-radius:100px;background:transparent;color:#e8f6ff}.records-centre nav button.active{background:#91d4f6;color:#000}
 .records-centre>main{max-width:1600px;margin:26px auto;padding:0 30px}.records-centre .card{overflow:auto}.records-centre h1{font-size:30px}
 
 
 .headshot{border-radius:16px}
 .statement-page{background:var(--canvas);color:#000;max-width:1200px;margin:30px auto;padding:0 28px}.statement-page>header,.statement-page .parties,.statement-page .print-help{background:#b9e5fb;color:#000;border:1px solid var(--line);border-radius:14px;padding:24px}.statement-page h1{font-size:30px}
 @media(min-width:1600px){.content,body.register-view .content{padding-inline:44px}.topbar{padding-inline:44px}}
 @media(max-width:1150px){.layout{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding:24px 14px}.content,body.register-view .content{padding-inline:24px}.topbar{padding-inline:24px}.stats,.steps,.agency-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.grid{grid-template-columns:1fr}}
 @media(max-width:800px){.layout{display:block}.sidebar{position:relative;height:auto;top:0;padding:16px;gap:12px;overflow:visible}.sidebar .logo{width:170px;padding:6px 10px}.logo img{height:44px}.sidebar>div>small,.sidebar .bottom{display:none}.sidebar nav{display:flex;overflow:auto;gap:6px;margin-top:0!important;padding-bottom:5px}.sidebar nav button,.sidebar nav a{flex-shrink:0;white-space:nowrap;min-height:42px;padding:10px 14px}.topbar{padding:18px 20px;min-height:auto}.content,body.register-view .content{padding:0 18px 28px}.page-head,body.register-view .content>.page-head,.agency-report-hero{padding:18px 0;min-height:100px;flex-wrap:wrap}.page-head h2,body.register-view .content>.page-head h2,.agency-report-hero h2{font-size:29px}.panel,.card{padding:22px}.register-toolbar,.workspace-toolbar{flex-direction:column;align-items:flex-start;padding:22px}.register-actions,.workspace-actions{justify-content:flex-start}.form-grid{grid-template-columns:1fr}.register-footer{flex-direction:column}.records-centre>main{padding:0 18px}.register-tabs button{flex-basis:144px}.workspace-headings button{flex-basis:114px}.register-reference{white-space:normal}}
 @media(max-width:480px){.stats,.steps,.agency-report-kpis{grid-template-columns:1fr}.signin{margin:28px 16px}.dialog-head{align-items:flex-start}dialog{padding:22px}.topbar>div:last-child{max-width:100%}}
 /* Annotated user revision: white collection surfaces, black labels; blue canvas and navy rail stay unchanged. */
 .content #broker-select,.content #broker-select:focus,.content>.row>.badge{background:#fff;color:#000;border-color:#061b3a30}
 .table-workspace,#register-workspace{background:#fff;color:#000;border-color:#061b3a30}
 :is(.table-workspace,#register-workspace) :is(.workspace-headings,.register-tabs,.workspace-toolbar,.register-toolbar,.workspace-report,.workspace-grid,.register-grid,.workspace-note,.register-footer,.register-guidance,.register-empty,table,thead,tbody,tr,th,td,button,input,select,textarea){background:#fff!important;color:#000!important}
 :is(.table-workspace,#register-workspace) :is(th,td,.workspace-toolbar,.register-toolbar,.workspace-note,.register-footer,.register-guidance){border-color:#e1e5eb}
 :is(.table-workspace,#register-workspace) :is(button,input,select,textarea){border-color:#cbd2dc}
 :is(.table-workspace,#register-workspace) :is(.workspace-headings,.register-tabs){border:1px solid #e1e5eb}
 :is(.table-workspace,#register-workspace) :is(.workspace-headings,.register-tabs) button.active{border-color:#061b3a;box-shadow:inset 0 -3px 0 #061b3a;font-weight:650}
 :is(.table-workspace,#register-workspace) button:hover:not(:disabled){box-shadow:inset 0 0 0 1px #061b3a}
 .office-section-headings,.office-section-headings button,.office-section-headings button.active,.office-section-headings button:hover{background:#fff;color:#000}
 .office-section-headings{border:1px solid #e1e5eb}.office-section-headings button.active{border-color:#061b3a;box-shadow:inset 0 -3px 0 #061b3a}
 /* Global surface contract: all page cards and controls are white, not only finance tables. */
 :root{--surface:#fff;--surface-soft:#fff}
 :is(.workspace,.records-centre>main,.statement-page,.signin,dialog) :is(.panel,.card,.task-card,.stat,.agency-report-kpis>div,.step,.notice,.agency-filter-panel,.tabs,.workspace-headings,.register-tabs,.badge,button,.button,input,select,textarea,table,thead,tbody,tr,th,td,.workspace-note,.register-footer,.register-guidance,.register-empty,.parties,.print-help){background:#fff!important;color:#000!important;background-image:none!important}
 :is(.workspace,.records-centre>main,.statement-page,.signin,dialog) :is(.panel,.card,.task-card,.stat,.agency-report-kpis>div,.step,.notice,.agency-filter-panel,th,td){border-color:#dce1e7}
 :is(.workspace,.records-centre>main,.statement-page,.signin,dialog) :is(button,.button,input,select,textarea,.badge){border-color:#bfc8d4}
 :is(.workspace,.records-centre>main,.statement-page,.signin,dialog) :is(.tabs,.workspace-headings,.register-tabs) button.active{border-color:#061b3a;box-shadow:inset 0 -3px 0 #061b3a;font-weight:650}
 :is(.workspace,.records-centre>main,.statement-page,.signin,dialog) button:hover:not(:disabled){box-shadow:inset 0 0 0 1px #061b3a}
 .workspace .topbar>div:last-child,.signin,dialog,.statement-page>header,#toast,#message{background:#fff;color:#000;background-image:none}
 :is(.workspace,.records-centre>main,.statement-page,.signin,dialog) input::file-selector-button{background:#fff;color:#000;border:1px solid #bfc8d4}
 /* Selected destinations use the exact raindrop blue; ordinary actions remain white. */
 .sidebar nav :is(button,a).active,.sidebar nav :is(button,a)[aria-current="page"]{background:var(--raindrop);color:#fff!important;border-color:var(--raindrop);box-shadow:none}
 :is(.workspace,#register-workspace,.table-workspace,.records-centre) :is(.tabs,.workspace-headings,.register-tabs) button.active{background:var(--raindrop)!important;color:#fff!important;border-color:var(--raindrop);box-shadow:none!important;font-weight:650}
 .records-centre>header nav button.active{background:var(--raindrop);color:#fff!important;border-color:var(--raindrop)}
 .workspace [data-action="add-broker"]{background:#fff!important;color:#000!important}
 /* Consistent 15px Alexandria on every screen, including headings and native controls.
    Text inherits its surface colour: white on charcoal/navy, black inside white panels. */
 :root{font-size:15px}
 body,body *,body *::before,body *::after{font-family:Alexandria,Arial,sans-serif!important;font-size:15px!important}
 input::file-selector-button{font-family:Alexandria,Arial,sans-serif!important;font-size:15px!important}
 .sidebar nav :is(button,a){text-transform:capitalize}
 body{color:#fff!important}
 body *{color:inherit!important}
 .workspace .topbar>div:last-child,.signin,dialog,.statement-page>header,#toast,#message{color:#000!important}
 .table-workspace,#register-workspace{color:#000!important}
 h1,h2,h3,h4,.page-head h2,.agency-report-hero h2,.stat strong,.agency-report-kpis strong{letter-spacing:normal;line-height:1.6}
 .workspace .topbar.agency-brand-header{justify-content:flex-end;min-height:0;padding-top:14px;padding-bottom:14px}
 .agency-admin>.content>.page-head p,.agency-admin .agency-report-hero>p{display:none!important}
 .agency-admin>.content>.page-head,body.register-view .agency-admin>.content>.page-head{min-height:0;padding:12px 0;margin-bottom:16px}
 .content>.row.broker-selection-toolbar{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:12px;padding:0;margin-top:0;margin-bottom:16px!important}
 .broker-selection-toolbar #broker-select{flex:1 1 230px;width:auto;max-width:440px;min-width:0;margin:0}
 .broker-selection-toolbar [data-action="add-broker"]{flex:0 0 auto;white-space:nowrap}
 .broker-selection-toolbar>.badge{margin-left:auto}
 .panel>.broker-selection-toolbar{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:12px;padding:0 0 22px!important;margin:0 0 22px!important;border-bottom:1px solid var(--line)}
 .content>.page-head.broker-actions-only{justify-content:flex-end;min-height:0;padding:0;margin-bottom:20px}
 .stats.broker-status-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
 .onboarding-checklist>.task-card{margin:0;border-radius:0;border-width:0 0 1px;padding:16px 0;box-shadow:none}
 .onboarding-checklist>.task-card:last-child{border-bottom:0}
.onboarding-responsibility-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;margin-top:24px}
.onboarding-responsibility-column{min-width:0;border:1px solid #dce1e7;border-radius:14px;padding:20px}
.onboarding-responsibility-column>h4{margin:0 0 18px}
.onboarding-responsibility-column>.task-card{margin:0;padding:18px 0;border:0;border-bottom:1px solid #dce1e7;border-radius:0;box-shadow:none}
.onboarding-responsibility-column>.task-card:last-child{border-bottom:0}
.onboarding-responsibility-column .task-card summary .onboarding-item-title{display:flex;align-items:flex-start;gap:12px}
.onboarding-item-title input[type=checkbox]{flex:0 0 auto;width:20px;height:20px;margin:3px 0 0;accent-color:#0867c8}
.onboarding-responsibility-column .task-card summary>div{min-width:0;flex:1}
.onboarding-responsibility-column .task-card summary small{margin-left:32px}
.onboarding-responsibility-column .task-card summary{gap:12px;align-items:flex-start}
.invoice-list-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.trust-deposit-receipt{padding:28px;background:#fff;color:#142b49;border:1px solid #dce1e7;border-radius:12px}
.trust-deposit-receipt>img{width:180px;height:70px;object-fit:contain;background:#102641;padding:12px;border-radius:8px}
.trust-deposit-receipt header{border-bottom:2px solid #0867c8;padding-bottom:16px;margin-bottom:22px}
.trust-deposit-receipt dl{display:grid;grid-template-columns:1fr 2fr;gap:12px 20px}
.trust-deposit-receipt dt{font-weight:600}.trust-deposit-receipt dd{margin:0;overflow-wrap:anywhere}
.trust-receipt-amount{background:#f1f6fc;border-radius:10px;padding:20px;margin:24px 0;display:grid;gap:12px}
.trust-receipt-amount strong{font-size:30px}
[data-invoice-list-filter] .report-output-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:900px){.invoice-list-grid{grid-template-columns:1fr}}
@media(max-width:1000px){.onboarding-responsibility-columns{grid-template-columns:1fr}}
 @media(max-width:480px){.stats.broker-status-summary{grid-template-columns:1fr}}
 .workspace .topbar>.agency-logo-placeholder{display:flex;align-items:center;gap:10px;padding:10px 20px;border-radius:16px;background:#fff;color:#000!important;min-width:150px}
 .agency-logo-placeholder svg{width:36px;height:36px;flex-shrink:0}
 .agency-logo-placeholder>span{font-weight:650;letter-spacing:.16em;line-height:1.5}
 .agency-logo-caption{display:block;font-weight:400;letter-spacing:.04em}
 .workspace-toolbar>.workspace-actions:only-child{margin-left:auto}
 @media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
 @media(forced-colors:active){button,.panel,.table-workspace,#register-workspace,input,select,textarea{border:1px solid ButtonText}.sidebar nav button.active,.workspace-headings button.active,.register-tabs button.active{outline:2px solid Highlight}}
}
/* Agency notification bell stays opposite the agency logo. */
.agency-brand-header .admin-header-identity{display:flex;align-items:center;gap:12px;margin-right:auto;flex:0 0 auto}
.agency-brand-header .admin-header-label{font-size:1rem;font-weight:700;color:#061b3a;white-space:nowrap}
.agency-brand-header .admin-header-identity .notification-bell{margin-right:0}
.workspace .topbar.rainova-owner-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}
.rainova-owner-header .admin-header-identity{grid-column:1;grid-row:1;margin-right:0;min-width:0}
.rainova-owner-header .rainova-agency-selector{grid-column:2;grid-row:1;margin:0;justify-self:center}
@media(max-width:1150px){.workspace .topbar.rainova-owner-header{grid-template-columns:minmax(0,1fr)}.rainova-owner-header .rainova-agency-selector{grid-column:1;grid-row:2;max-width:100%}.rainova-owner-header .rainova-agency-selector select{max-width:calc(100vw - 340px)}}
@media(max-width:800px){.rainova-owner-header .rainova-agency-selector select{max-width:calc(100vw - 140px)}}
.agency-brand-header .notification-bell{position:relative;margin-right:auto;display:inline-flex;align-items:center;justify-content:center;gap:0;flex:0 0 56px;width:56px;min-width:56px;height:44px;min-height:44px;padding:0;background:#fff;color:#061b3a;border-radius:24px}
.notification-bell svg{display:block;flex:0 0 24px;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.notification-bell [data-notification-count]:empty{display:none}
.notification-bell [data-notification-count]:not(:empty){position:absolute;top:-5px;right:-7px;min-width:22px;padding:2px 6px;border-radius:20px;background:#016cfc;color:white}
.notification-item{padding:18px 12px;border-bottom:1px solid #d7dfea;border-left:4px solid transparent}
.notification-item.is-unread{border-left-color:#016cfc;background:#f0f6ff}
.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;flex-wrap:wrap}
.notification-heading>strong{flex:1;min-width:180px}
.notification-item p{margin:6px 0}.notification-item time{display:block;margin-bottom:12px}
#invoicing-workspace{margin-top:20px}
/* Standalone section tabs need breathing room before the content they introduce.
   Table and register tab bars already sit inside their own inset cards. */
.content .workspace-headings + :not(.workspace-toolbar){margin-top:20px}
.profile-monthly-heading{color:#fff;margin:22px 0 16px}
.agency-admin .page-head.shared-document-heading{justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:16px 24px}
.shared-document-heading .workspace-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0}
.shared-document-heading h2{margin:0}
.workspace .topbar>.agency-brand-logo{display:block;width:190px;max-width:55%;height:62px;object-fit:contain;flex:0 1 190px;margin-left:auto;background:transparent;border:0;padding:0}
.workspace .topbar.rainova-owner-header>.agency-brand-logo{grid-column:3;grid-row:1;justify-self:end;margin-left:0;max-width:100%}
.workspace:has(.topbar.rainova-owner-header>.agency-brand-logo) .site-guide-launcher{top:40px}
@media(max-width:1150px){.workspace .topbar.rainova-owner-header>.agency-brand-logo{grid-column:1;grid-row:3;justify-self:end}}
.agency-brand-name{margin-left:auto;color:#fff;font-weight:700}.agency-logo-preview{padding:18px;background:#102640;border:1px solid #426184;border-radius:12px;margin:14px 0;color:white;max-width:360px}.agency-logo-preview img{display:block;max-width:100%;height:90px;object-fit:contain;margin:auto}.report-agency-logo{display:block;width:170px;height:65px;object-fit:contain;margin:0 0 12px;background:#102640;padding:8px;border-radius:6px}.report-agency-brand{display:flex;align-items:center;gap:20px;margin-bottom:16px}.report-agency-brand p{margin:6px 0}.register-document-header>.report-agency-logo{float:right;margin-left:24px}.edm-card-agency-logo{object-fit:contain}
/* Polished black metal: stationary reflections keep the workspace calm and readable. */
@media screen {
 :root{--canvas:#090b0e}
 body,.workspace{
  background-color:var(--canvas);
  background-image:
   radial-gradient(ellipse 65% 42% at 62% -8%,rgba(232,238,247,.24),transparent 72%),
   linear-gradient(118deg,transparent 20%,rgba(198,208,224,.025) 33%,rgba(224,230,239,.13) 39%,rgba(178,190,209,.035) 44%,transparent 54%),
   radial-gradient(ellipse 48% 65% at 100% 78%,rgba(132,147,171,.10),transparent 72%),
   repeating-linear-gradient(0deg,rgba(255,255,255,.012) 0,rgba(255,255,255,.012) 1px,transparent 1px,transparent 3px),
   linear-gradient(135deg,#181b20 0%,#080a0d 42%,#14171c 69%,#050608 100%);
  background-attachment:fixed;
 }
 @media(forced-colors:active){body,.workspace{background:Canvas}}
}
/* Brushed navy metal on the rail; a restrained steel-blue gleam marks the active destination. */
@media screen and (forced-colors:none) {
 .sidebar{
  background-color:#071a34;
  background-image:
   radial-gradient(ellipse 130% 32% at -25% 2%,rgba(166,204,248,.27),transparent 68%),
   linear-gradient(115deg,transparent 16%,rgba(157,194,236,.11) 31%,rgba(223,238,255,.19) 37%,rgba(108,149,202,.05) 45%,transparent 60%),
   radial-gradient(ellipse 100% 56% at 112% 82%,rgba(72,117,185,.16),transparent 73%),
   repeating-linear-gradient(0deg,rgba(235,245,255,.017) 0 1px,transparent 1px 3px),
   linear-gradient(155deg,#102c51 0%,#07172e 30%,#0a2448 63%,#041225 100%);
  box-shadow:inset -1px 0 rgba(210,231,255,.21),inset -16px 0 32px rgba(1,8,22,.28),9px 0 28px rgba(0,0,0,.18);
 }
 .sidebar nav :is(button,a).active,
 .sidebar nav :is(button,a)[aria-current="page"],
 :is(.workspace,#register-workspace,.table-workspace,.records-centre) :is(.tabs,.workspace-headings,.register-tabs) button.active,
 .records-centre>header nav button.active{
  background:
   linear-gradient(113deg,transparent 28%,rgba(234,247,255,.26) 43%,rgba(255,255,255,.08) 50%,transparent 64%),
   linear-gradient(180deg,#4aa9fa 0%,#187de6 43%,#0858be 56%,#176ed0 100%)!important;
  color:#fff!important;
  border-color:#80c9ff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.58),inset 0 -2px 0 rgba(2,31,84,.42),0 5px 14px rgba(0,42,111,.25)!important;
  text-shadow:0 1px 1px rgba(0,23,65,.38);
 }
}
@media screen and (max-width:800px){.sidebar .logo{padding:4px}.sidebar .logo img{width:100%;height:68px;margin-left:0}}
/* A consistent page-title rail anchors every agency section, including async views. */
.agency-admin>.content>.agency-page-heading,
body.register-view .agency-admin>.content>.agency-page-heading{
 display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:16px 24px;
 min-height:96px;margin:0 0 24px;padding:20px 0;
 background:transparent;border:0;box-shadow:none;
}
.agency-admin>.content>.agency-page-heading h2,
body.register-view .agency-admin>.content>.agency-page-heading h2{
 margin:0;color:#fff!important;line-height:1.3;
}
.agency-admin>.content>.agency-page-heading .workspace-actions{margin-left:auto}
@media(max-width:800px){
 .agency-admin>.content>.agency-page-heading,
 body.register-view .agency-admin>.content>.agency-page-heading{min-height:72px;margin-bottom:20px;padding:14px 0}
}
/* Full-width section rails with fixed-size rectangular tabs on every page. */
@media screen{
 :is(.workspace,.records-centre) :is(.tabs,.workspace-headings,.register-tabs){
  display:flex;flex-wrap:nowrap;justify-content:flex-start;width:100%;max-width:100%;box-sizing:border-box;
  border-radius:16px;padding:6px;gap:6px;overflow-x:auto;
 }
 :is(.workspace,.records-centre) :is(.tabs,.workspace-headings,.register-tabs)>button{
  box-sizing:border-box;flex:0 0 120px;width:120px;min-width:120px;max-width:120px;
  height:42px;min-height:42px;max-height:42px;padding:2px 6px;border-radius:7px;line-height:1.15;overflow:hidden;gap:4px;
 }
 .section-button-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;flex:1 1 auto;min-width:0;max-width:100%;max-height:2.3em;overflow:hidden;overflow-wrap:anywhere;white-space:normal;text-overflow:ellipsis;line-height:1.15;text-align:center}
 .workspace :is(.table-workspace,#register-workspace)>.workspace-headings,
 .workspace #register-workspace>.register-tabs{width:100%;max-width:100%;margin-left:0;margin-right:0}
 .sidebar nav{gap:4px}
 .sidebar nav :is(button,a){box-sizing:border-box;width:100%;height:44px;min-height:44px;padding:8px 14px;line-height:1.3}
}
@media screen and (max-width:800px){
 .sidebar nav :is(button,a){flex:0 0 180px;width:180px;max-width:180px}
}
/* Keep page controls together, in reading order, rather than at opposite edges. */
/* Every section rail stands apart from its content, including nested table tabs. */
@media screen{
 :is(.workspace,.records-centre) :is(.tabs,.workspace-headings,.register-tabs){margin:0 0 20px!important}
 .content :is(.tabs,.workspace-headings,.register-tabs)+*{margin-top:0!important}
 :is(.table-workspace,#register-workspace):has(>:is(.workspace-headings,.register-tabs)){
  background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible;
 }
 :is(.table-workspace,#register-workspace)>:is(.workspace-headings,.register-tabs){width:100%!important;box-sizing:border-box}
 :is(.table-workspace,#register-workspace)>:is(.workspace-headings,.register-tabs)~:not(nav){background-color:#fff}
 :is(.table-workspace,#register-workspace)>:is(.workspace-headings,.register-tabs)+*{border-radius:18px 18px 0 0}
 :is(.table-workspace,#register-workspace):has(>:is(.workspace-headings,.register-tabs))>:last-child:not(nav){border-radius:0 0 18px 18px;overflow:hidden}
}
@media screen{
 :is(.workspace,#register-workspace,.table-workspace,.records-centre) :is(.tabs,.workspace-headings,.register-tabs)>button:not(.active):not([aria-selected="true"]):not([aria-pressed="true"]){
  background:linear-gradient(115deg,transparent 22%,#ffffff16 43%,transparent 61%),linear-gradient(180deg,#555b62 0%,#30353b 43%,#101419 52%,#22282e 100%)!important;
  color:#fff!important;border:1px solid #68717a!important;
  box-shadow:inset 0 1px 1px #ffffff70,inset 0 -2px 2px #0009,0 2px 4px #0003!important;
  text-shadow:0 1px 1px #000;
 }
 :is(.workspace,#register-workspace,.table-workspace,.records-centre) :is(.tabs,.workspace-headings,.register-tabs)>button:not(.active):not([aria-selected="true"]):not([aria-pressed="true"]):hover{filter:brightness(1.18)}
 :is(.tabs,.workspace-headings,.register-tabs)>button:not(.active) .register-tab-top{color:inherit}
}
@media screen{
 .workspace :is(.workspace-toolbar,.register-toolbar,.register-year-toolbar){display:flex;flex-direction:row;align-items:flex-end;justify-content:flex-start;flex-wrap:wrap;gap:12px}
 .workspace :is(.workspace-actions,.register-actions){justify-content:flex-start;align-items:flex-end;gap:12px}
 .workspace .register-year-toolbar label{margin:0}
 .workspace .workspace-toolbar>.workspace-actions:only-child,
 .agency-admin>.content>.agency-page-heading .workspace-actions{margin-left:0}
 #oaciq-reporting-workspace .oaciq-controls{justify-content:flex-start;gap:12px}
 .workspace :is(.workspace-toolbar,.register-toolbar,.register-year-toolbar) :is(input,select){margin-bottom:0}
}
/* Compact, centered register grids. Keep IDs and values intact on one line. */
#register-workspace .register-grid :is(th,td){text-align:center!important;vertical-align:middle;border:1px solid #c5ccd5!important}
#register-print>h3{text-align:center;padding:12px 18px;margin:0}
@media screen{
 #register-workspace .register-grid table{table-layout:auto;width:max-content;min-width:100%;border-collapse:collapse}
 #register-workspace .register-grid :is(th,td){white-space:nowrap!important;overflow-wrap:normal;word-break:normal;min-width:0;max-width:none;width:auto;height:auto;padding:12px 16px!important;line-height:1.4}
 #register-workspace .register-grid th{font-weight:600}
}
/* Screen reports use content-sized columns and compact, single-line records. */
@media screen{
 :is(.workspace,.records-centre) :is(.workspace-grid,.register-grid,.table-wrap,.table-scroll){min-height:0!important;max-width:100%;overflow-x:auto}
 :is(.workspace,.records-centre) :has(>table){max-width:100%;min-width:0;overflow-x:auto}
 :is(.workspace,.records-centre) table{table-layout:auto!important;width:max-content!important;min-width:100%;height:auto!important}
 :is(.workspace,.records-centre) :is(thead,tbody,tr){height:auto!important;min-height:0!important}
 :is(.workspace,.records-centre) :is(th,td){white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;padding:10px 16px!important;line-height:1.4!important;vertical-align:middle}
 :is(.workspace,.records-centre) :is(th,td)>:is(div,p,small,strong,span){white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;max-width:none!important}
 :is(.workspace,.records-centre) td>:is(div,p,small){display:inline;margin:0 8px 0 0}
 :is(.workspace,.records-centre) :is(th,td) br{display:none}
}
/* The year-end OACIQ package is one continuous report with two source appendices. */
#oaciq-reporting-workspace .oaciq-controls{display:flex;align-items:end;justify-content:flex-start;gap:12px;flex-wrap:wrap}
#oaciq-reporting-workspace .oaciq-controls form,.oaciq-controls-actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
#oaciq-reporting-workspace .oaciq-controls label{display:grid;gap:8px}
#oaciq-reporting-workspace .oaciq-controls input{max-width:150px}
#oaciq-reporting-workspace .oaciq-controls{align-items:flex-end}
#oaciq-reporting-workspace .oaciq-controls form,
#oaciq-reporting-workspace .oaciq-controls .oaciq-controls-actions{align-items:flex-end;margin:0!important;padding:0;gap:12px}
#oaciq-reporting-workspace .oaciq-controls label{margin:0!important}
#oaciq-reporting-workspace .oaciq-controls :is(input,button){box-sizing:border-box;height:48px!important;min-height:48px!important;margin:0!important;align-self:flex-end}
#oaciq-reporting-workspace .oaciq-controls button{white-space:nowrap}
[data-card-report] .form-actions{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
[data-card-report] label{display:grid;gap:8px;margin:0!important}
[data-card-report] :is(input,button){box-sizing:border-box;height:48px!important;min-height:48px!important;margin:0!important;align-self:flex-end}
[data-card-report] button{flex:0 0 auto;padding:10px 20px!important;white-space:nowrap}
#oaciq-reporting-workspace .oaciq-package-head{color:#fff;margin:28px 0}
#oaciq-reporting-workspace .oaciq-package-head h2{color:#fff}
.source-form{display:block;background:#fff;margin:24px auto;padding:0;width:100%;max-width:1100px;box-shadow:0 2px 14px #0004;border:0;border-radius:0;overflow:visible}
.source-form>svg{display:block;width:100%;height:auto;max-width:none}
.source-form.modern-oaciq{box-sizing:border-box;padding:clamp(24px,3.5vw,48px)!important;box-shadow:0 16px 40px #061b3a26;outline:1px solid #cbd8e6;border-top:4px solid #2475bd;border-radius:10px;overflow:hidden}
.oaciq-annual-question{border-left:4px solid #2475bd!important;background:#edf3fa!important}
.oaciq-annual-question label{color:#142b49!important;font-weight:700;display:block;margin-bottom:14px}
.oaciq-annual-question form>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.oaciq-annual-question select{width:240px;max-width:100%;background:#fff!important;color:#142b49!important;border:1px solid #a5b8ce!important}
.oaciq-annual-question p{color:#405975!important;margin-bottom:0}
.oaciq-trust-change-warning{margin-top:20px;padding:18px 20px;border:1px solid #e4a29c;border-left:4px solid #b42318;border-radius:10px;background:#fff1f0!important}
#oaciq-reporting-workspace .oaciq-trust-change-warning :is(strong,p,a){color:#b42318!important}
.oaciq-trust-change-warning p{margin:10px 0!important;line-height:1.6}
.oaciq-trust-change-warning a{text-decoration:underline}
#register-print .register-document-header{padding:24px 26px;background:linear-gradient(110deg,#f0f4f8,#fff);border-bottom:2px solid #294967;color:#142b49;break-inside:avoid}
#register-print .register-document-title{display:flex;align-items:center;justify-content:space-between;gap:24px}
#register-print .register-agency-name{margin:0 0 8px;font-weight:600;color:#52657a}
#register-print .register-document-header h2{margin:0;font-size:22px!important;line-height:1.3}
#register-print .register-report-year{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0;gap:4px}
#register-print .register-report-year span{font-size:12px!important;color:#52657a}
#register-print .register-report-year strong{font-size:24px!important;color:#142b49}
#register-print .register-agency-details{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:18px;padding-top:14px;border-top:1px solid #d3dde8;font-size:13px;color:#44576b}
@media print{
 #register-print .register-document-header{background:white!important;padding:12px 0!important;border-bottom:1.5pt solid #294967}
.source-form.modern-oaciq{outline:0;box-shadow:none;border-top:0;border-radius:0;overflow:visible}
}
.source-monthly{width:9960px;max-width:none;margin:0}
.monthly-print{display:none}
.source-form-scroll{overflow:auto;max-width:100%;background:white}
.source-form-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.broker-context-panel .broker-selection-toolbar{margin-bottom:0!important;padding-top:0}
#client-ledger-workspace .source-form-controls{align-items:flex-end;gap:16px}
#client-ledger-workspace .source-form-controls label{display:grid;gap:8px;margin:0!important;min-width:0}
#client-ledger-workspace .source-form-controls label:first-child{width:130px}
#client-ledger-workspace .source-form-controls label:nth-child(2){width:220px;max-width:100%}
#client-ledger-workspace .source-form-controls :is(input,select,button){box-sizing:border-box;height:48px!important;min-height:48px!important;margin:0!important;align-self:end}
#client-ledger-workspace .source-form-controls :is(input,select){width:100%}
#client-ledger-workspace .source-form-controls button{flex:0 0 auto;white-space:nowrap}
/* Client ledger: Rainova report styling, without changing trust-ledger calculations. */
#client-source-report:has(.rainova-client-ledger){background:transparent;overflow:visible}
.source-form.rainova-client-ledger{max-width:none;border:1px solid #cad7e4;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px #061b3a14;font-family:Alexandria,Arial,sans-serif;color:#17334f}
.rainova-client-ledger .ledger-report-head{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px 30px;background:linear-gradient(115deg,#061b3a,#123e67);color:#fff;border-bottom:4px solid #168cdd}
.rainova-client-ledger .ledger-report-eyebrow{font-size:11px;letter-spacing:.12em;color:#b9dcf6;font-weight:600}
.rainova-client-ledger .ledger-report-head h2{margin:7px 0 5px;color:#fff;font-size:26px;line-height:1.2;letter-spacing:-.025em}
.rainova-client-ledger .ledger-report-head p{margin:0;color:#d2e3f1;font-size:12px}
.rainova-client-ledger .ledger-report-year{display:grid;gap:4px;text-align:right;flex-shrink:0}
.rainova-client-ledger .ledger-report-year span{font-size:11px;color:#b9dcf6}
.rainova-client-ledger .ledger-report-year strong{font-size:28px;line-height:1.1;font-weight:600}
.rainova-client-ledger .ledger-report-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 30px;margin:0;padding:26px 30px;background:linear-gradient(110deg,#f1f6fb,#fff)}
.rainova-client-ledger .ledger-report-details>div:last-child{grid-column:1/-1}
.rainova-client-ledger dt{font-size:10px;color:#506b85;font-weight:600;letter-spacing:.05em}
.rainova-client-ledger dd{margin:5px 0 0;font-size:14px;line-height:1.5;color:#17334f;font-weight:500;overflow-wrap:anywhere}
.rainova-client-ledger .ledger-table-wrap{overflow-x:auto}
.rainova-client-ledger .ledger-report-table{width:100%;min-width:680px;border-collapse:collapse;table-layout:auto;margin:0;font-size:12px}
.rainova-client-ledger .ledger-report-table th{background:#e4edf6;color:#17334f;padding:14px 18px;border:0;border-top:1px solid #d1deeb;border-bottom:1px solid #c5d5e4;font-size:11px;font-weight:650;text-align:left;white-space:normal;position:static}
.rainova-client-ledger .ledger-report-table td{padding:17px 18px;background:#fff;color:#17334f;border:0;border-bottom:1px solid #e1e9f1;white-space:normal;overflow-wrap:anywhere}
.rainova-client-ledger .ledger-report-table tbody tr:nth-child(even) td{background:#f6f9fc}
.rainova-client-ledger .ledger-report-table :is(th,td):nth-child(n+4){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.rainova-client-ledger .ledger-report-table td:last-child{font-weight:650;color:#0d548b}
.rainova-client-ledger .ledger-report-table td.ledger-empty{text-align:center;color:#60758a;padding:40px 20px;white-space:normal;font-weight:400}
.rainova-client-ledger .ledger-report-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 30px;background:#edf4fa;color:#506b85;border-top:1px solid #cad7e4;font-size:11px}
.rainova-client-ledger .ledger-report-foot>div{display:flex;align-items:center;gap:18px}
.rainova-client-ledger .ledger-report-foot strong{font-size:20px;font-weight:650;color:#124c79;font-variant-numeric:tabular-nums}
.ledger-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
/* Monthly breakdown shares the client-ledger design, not the old 12-month-wide worksheet. */
.monthly-report-navigation{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
#client-ledger-workspace .monthly-report-navigation a{padding:10px 16px;border:1px solid #a9c1d8;border-radius:10px;background:#edf4fa;color:#17334f!important;text-decoration:none;font-size:12px!important;font-weight:600}
.monthly-report-navigation a:hover,.monthly-report-navigation a:focus-visible{outline:2px solid #168cdd;outline-offset:2px}
.rainova-monthly-breakdown{scroll-margin-top:24px}
.rainova-monthly-breakdown .monthly-report-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:24px 30px;background:linear-gradient(110deg,#f1f6fb,#fff)}
.rainova-monthly-breakdown .monthly-report-summary>div{border-left:3px solid #b4cbe0;padding-left:14px}
.rainova-monthly-breakdown .monthly-report-summary>div:last-child{border-color:#168cdd}
#client-ledger-workspace .monthly-report-summary dt{color:#506b85!important;font-size:11px!important}
#client-ledger-workspace .monthly-report-summary dd{color:#124c79!important;font-size:22px!important;font-weight:650;font-variant-numeric:tabular-nums}
.rainova-monthly-breakdown .ledger-report-table td:first-child{font-weight:600}
.rainova-monthly-breakdown .ledger-report-table :is(th,td):nth-child(2){min-width:180px}
.rainova-monthly-breakdown .ledger-report-table :is(th,td):nth-child(3){min-width:110px}
@media(max-width:700px){.rainova-monthly-breakdown .monthly-report-summary{gap:12px;padding:20px}#client-ledger-workspace .monthly-report-summary dd{font-size:18px!important}}
@media(max-width:450px){.rainova-monthly-breakdown .monthly-report-summary{grid-template-columns:1fr}}
dialog.trust-client-ledger-dialog{width:min(1100px,94vw);max-width:94vw;max-height:90vh;overflow:auto;background:#f1f5fa;color:#17334f}
.trust-client-ledger-dialog .trust-ledger-context{color:#506b85!important}
.trust-client-ledger-dialog .ledger-report-details :is(dt,dd),.trust-client-ledger-dialog .ledger-report-foot :is(span,strong){color:#17334f!important}
.trust-client-ledger-dialog .ledger-report-head h2{font-size:26px!important;color:#fff!important}
.trust-client-ledger-dialog .ledger-report-head p{color:#d2e3f1!important}
.trust-client-ledger-dialog .ledger-report-details dt{font-size:11px!important}
.trust-client-ledger-dialog .ledger-report-details dd{font-size:14px!important}
.trust-client-ledger-dialog .ledger-report-table :is(th,td){color:#17334f!important}
/* Scope report contrast/typography against the workspace's global white-text rules. */
#client-ledger-workspace .rainova-client-ledger .ledger-report-details :is(dt,dd){color:#17334f!important}
#client-ledger-workspace .rainova-client-ledger .ledger-report-details dt{font-size:11px!important;color:#506b85!important}
#client-ledger-workspace .rainova-client-ledger .ledger-report-details dd{font-size:14px!important}
#client-ledger-workspace .rainova-client-ledger .ledger-report-head h2{font-size:26px!important}
#client-ledger-workspace .rainova-client-ledger .ledger-report-head p{font-size:12px!important;color:#d2e3f1!important}
#client-ledger-workspace .rainova-client-ledger .ledger-report-year strong{font-size:28px!important}
#client-ledger-workspace .rainova-client-ledger .ledger-report-foot :is(span,strong){color:#17334f!important}
#client-ledger-workspace .rainova-client-ledger .ledger-report-foot span{font-size:11px!important}
#client-ledger-workspace .rainova-client-ledger .ledger-report-foot strong{font-size:20px!important}
#client-ledger-workspace .rainova-client-ledger .ledger-report-table :is(th,td){color:#17334f!important;white-space:normal!important;overflow-wrap:anywhere!important}
#client-ledger-workspace .rainova-client-ledger .ledger-report-table :is(th,td):nth-child(n+4){white-space:nowrap!important}
@media(max-width:700px){.rainova-client-ledger .ledger-report-head,.rainova-client-ledger .ledger-report-details,.rainova-client-ledger .ledger-report-foot{padding:20px}.rainova-client-ledger .ledger-report-head h2{font-size:22px}.rainova-client-ledger .ledger-report-foot{align-items:flex-start;flex-direction:column}}
@media print{
 .source-form.rainova-client-ledger{height:auto!important;min-height:0;page:sourceReport;border-radius:0;overflow:visible;margin-bottom:10mm!important}
 .rainova-client-ledger .ledger-report-head{background:#fff!important;color:#17334f;border-bottom:2px solid #17334f;padding:15px 0}
 .rainova-client-ledger .ledger-report-head :is(h2,p,span,strong){color:#17334f!important}
 #client-ledger-workspace .rainova-client-ledger .ledger-report-head p{color:#17334f!important}
 .rainova-client-ledger .ledger-report-details{padding:18px 0;background:#fff!important}
 .rainova-client-ledger .ledger-table-wrap{overflow:visible}
 .rainova-client-ledger .ledger-report-table{min-width:0;font-size:10px}
 .rainova-client-ledger .ledger-report-table :is(th,td){padding:10px 8px}
 .rainova-client-ledger .ledger-report-table tr{break-inside:avoid}
 .rainova-client-ledger .ledger-report-foot{background:#fff!important;padding:15px 0}
 .rainova-monthly-breakdown .monthly-report-summary{background:#fff!important;padding:14px 0;gap:12px}
 #client-ledger-workspace .rainova-monthly-breakdown .monthly-report-summary dd{font-size:16px!important}
 .rainova-monthly-breakdown .ledger-report-table :is(th,td):nth-child(2),.rainova-monthly-breakdown .ledger-report-table :is(th,td):nth-child(3){min-width:0}
}
@media print{
 @page sourceReport{size:legal portrait;margin:8mm}
 .source-form{page:sourceReport;break-inside:avoid;break-after:page;box-shadow:none!important;margin:0!important;width:100%!important;max-width:none!important;height:335mm}
 .source-form>svg{width:100%!important;height:100%!important;object-fit:contain}
 @page oaciqReport{size:legal portrait;margin:14mm}
 .source-form.modern-oaciq{page:oaciqReport;height:327mm!important;padding:0!important;box-sizing:border-box}
 .source-monthly{display:none!important}
 .monthly-print{display:block!important}
 @page sourceMonthly{size:A3 landscape;margin:8mm}
 body.printing-ledger .sidebar,body.printing-ledger .topbar,body.printing-ledger .content>*:not(#client-ledger-workspace),body.printing-ledger .no-print,body.printing-ledger #toast{display:none!important}
 body.printing-ledger,body.printing-ledger :is(.layout,.workspace,.content,#client-ledger-workspace,.source-form-scroll){display:block!important;width:auto!important;max-width:none!important;overflow:visible!important;background:white!important;margin:0!important;padding:0!important;border:0!important}
}
#oaciq-reporting-workspace .oaciq-sheet{margin:22px 0}
#oaciq-reporting-workspace .oaciq-sheet h4{margin:22px 0 10px}
#oaciq-reporting-workspace .oaciq-source-entry{border-top:1px solid #d9e1ea;padding:18px 0;break-inside:avoid}
#oaciq-reporting-workspace .oaciq-entry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}
#oaciq-reporting-workspace .oaciq-entry-fields>div{overflow-wrap:anywhere}
#oaciq-reporting-workspace .oaciq-entry-fields dt{font-weight:700;text-transform:capitalize}
#oaciq-reporting-workspace .oaciq-entry-fields dd{margin:2px 0 0}
#oaciq-reporting-workspace .oaciq-package-foot{margin:24px 0 50px;color:#fff}
@media print{
 @page{size:letter;margin:12mm}
 body.printing-oaciq,body.printing-oaciq .layout,body.printing-oaciq .workspace,body.printing-oaciq .content{background:#fff!important;color:#000!important;box-shadow:none!important}
 body.printing-oaciq .sidebar,body.printing-oaciq .topbar,body.printing-oaciq .content>*:not(#oaciq-reporting-workspace),body.printing-oaciq .no-print,body.printing-oaciq #toast,body.printing-oaciq dialog{display:none!important}
 body.printing-oaciq .layout,body.printing-oaciq .workspace,body.printing-oaciq .content,body.printing-oaciq #oaciq-reporting-workspace{display:block!important;width:auto!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}
 body.printing-oaciq #oaciq-reporting-workspace .oaciq-package-head,body.printing-oaciq #oaciq-reporting-workspace .oaciq-package-foot{color:#000!important}
 body.printing-oaciq #oaciq-reporting-workspace .oaciq-package-head h2{color:#000!important}
 body.printing-oaciq #oaciq-reporting-workspace .panel{background:#fff!important;color:#000!important;box-shadow:none!important;border:0!important;padding:0!important}
 body.printing-oaciq #oaciq-reporting-workspace .oaciq-sheet{break-before:page;margin:0!important}
 body.printing-oaciq #oaciq-reporting-workspace .table-wrap{overflow:visible!important}
 body.printing-oaciq #oaciq-reporting-workspace table{width:100%;table-layout:fixed;font-size:8pt}
 body.printing-oaciq #oaciq-reporting-workspace th,body.printing-oaciq #oaciq-reporting-workspace td{white-space:normal!important;overflow-wrap:anywhere;padding:5px!important}
 body.printing-oaciq #oaciq-reporting-workspace thead{display:table-header-group}
 body.printing-oaciq #oaciq-reporting-workspace tr{break-inside:avoid}
}
/* EDM state colours are also labelled in text; colour is not the only signal. */
.edm-cycle { margin: 12px 0; padding: 12px; border: 2px solid; border-radius: 10px; }
.edm-cycle > summary { font-weight: 700; padding: 10px; border-radius: 6px; }
.edm-cycle-yellow { border-color: #b58b00; }
.edm-cycle-yellow > summary { background: #ffdf57; color: #161616 !important; }
.edm-cycle-red { border-color: #b42318; }
.edm-cycle-red > summary { background: #b42318; color: #ffffff !important; }
.edm-cycle-green { border-color: #157f49; }
.edm-cycle-green > summary { background: #157f49; color: #ffffff !important; }
.edm-section-navigation{position:sticky;top:0;z-index:25;display:flex;flex-wrap:wrap;gap:8px;padding:12px;margin:16px 0;background:#fff;border:1px solid #b8c6d6;border-radius:14px;box-shadow:0 4px 12px #0002}
.edm-section-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.edm-section-header h3{margin:0}
.edm-section-search{display:flex;align-items:center;width:min(380px,100%);min-width:0}
.edm-section-search input{width:100%;margin:0}
.edm-section-search input[hidden],.edm-cycle[hidden],#edm-section-address-files tr[hidden]{display:none!important}
[data-edm-property-result][hidden]{display:none!important}
.edm-thread-entry{border-bottom:1px solid #b8c6d6;padding:18px 0;overflow-wrap:anywhere}
.edm-file-section{margin:20px 0;border:1px solid #b8c6d6;border-radius:12px;overflow:hidden;background:#fff;color:#142b49}
.edm-file-section>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;cursor:pointer;background:#eef3f9;list-style:none;color:#142b49!important}
.edm-file-section>summary strong,.edm-file-section>summary span{color:#142b49!important}
.edm-file-section>summary::-webkit-details-marker{display:none}
.edm-file-section>summary:focus-visible{outline:3px solid #1681df;outline-offset:-3px}
.edm-file-section>summary span{font-size:14px;white-space:nowrap}
.edm-file-section .edm-section-collapse{display:none}
.edm-file-section[open] .edm-section-collapse{display:inline}
.edm-file-section[open] .edm-section-expand{display:none}
.edm-file-section-content>.panel{margin:0;border:0;border-radius:0}
.edm-file-section-content>.panel+.panel{border-top:1px solid #b8c6d6}
@media print{.edm-file-section{border:0;margin:0;overflow:visible}.edm-file-section>summary{display:none}.edm-file-section-content{display:block}}
.edm-email-history{display:grid;gap:14px;margin:16px 0 28px}
.edm-email-section{border:1px solid #b8c6d6;border-radius:10px;overflow:hidden;background:#fff}
.edm-email-section>summary{cursor:pointer;padding:16px 20px;background:#eef3f9;overflow-wrap:anywhere}
.edm-email-section>summary>span{display:block;margin:6px 0 0 20px;font-size:14px}
.edm-email-section-body{padding:18px 20px}
.edm-email-metadata{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:0 0 20px}
.edm-email-metadata>div{min-width:0;overflow-wrap:anywhere}
.edm-email-metadata dt{font-weight:700;font-size:14px}
.edm-email-metadata dd{margin:4px 0 0}
.edm-email-delivery-error{padding:12px;background:#fff1f1;border-left:4px solid #b42318}
@media(max-width:650px){.edm-email-metadata{grid-template-columns:1fr}.edm-email-section>summary,.edm-email-section-body{padding:12px}}
.edm-message-body{white-space:pre-wrap}
.edm-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
.edm-review-entry{min-width:0;border-top:1px solid #b8c6d6;padding:14px 0;overflow-wrap:anywhere}
@media(max-width:800px){.edm-review-grid{grid-template-columns:minmax(0,1fr)}}
.edm-review-pdf{font-weight:700;margin-bottom:12px}
.edm-review-entry dl{display:grid;grid-template-columns:minmax(100px,150px) minmax(0,1fr);gap:6px 16px}
.edm-review-entry dt{font-weight:600}.edm-review-entry dd{margin:0;overflow-wrap:anywhere}
.edm-folder-section,.edm-address-section{scroll-margin-top:160px}
@media(max-width:600px){.edm-section-navigation button{padding:8px 10px;font-size:11px}.edm-folder-section,.edm-address-section{scroll-margin-top:240px}}
@media print{.edm-section-navigation,.edm-section-search{display:none!important}}
@media print { .edm-cycle > summary { background: white !important; color: black !important; } }
/* Fixed eight-column document deck, independent of document count. */
.workspace-report a.edm-property-file-link{color:#145da0!important;text-decoration:underline;text-underline-offset:3px;font-weight:600}
.workspace-report a.edm-property-file-link:focus-visible{outline:2px solid #145da0;outline-offset:4px;border-radius:2px}
.edm-document-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:24px 14px;padding:12px 4px 24px}
.edm-document-card{min-width:0}.edm-document-card h5{font-size:12px!important;line-height:1.35;height:64px;margin:0 0 10px;color:#111!important}
.edm-document-card :is(.edm-document-status,.edm-upload-label,.edm-version-history,.edm-history-version){color:#111!important}
.edm-document-stack{position:relative;margin:0 10px 18px 0}
.edm-document-face{position:relative;z-index:4;display:flex;align-items:center;justify-content:center;height:150px;border:4px solid;border-radius:7px;overflow:hidden;color:#111;text-decoration:none;box-sizing:border-box}
button.edm-document-face{width:100%;padding:0;cursor:pointer}#edm-requirement-window{width:min(580px,90vw);max-height:85vh;overflow:auto}#edm-requirement-window label{display:block;margin:12px 0}#edm-requirement-window select,#edm-requirement-window textarea{display:block;width:100%}#edm-requirement-window textarea{min-height:90px}
.edm-document-yellow{background:#ffe052;border-color:#e4bb16}.edm-document-red{background:#ffc4c4;border-color:#d63232}.edm-document-green{background:#b7e7c6;border-color:#168a48}
.edm-document-face img{width:100%;height:100%;object-fit:contain}.edm-document-face strong{position:absolute;bottom:0;right:0;background:#fff;padding:2px 5px;font-size:12px}
.edm-document-old{position:absolute;inset:0;background:white;border:1px solid #aaa;border-radius:7px;transform:translate(calc(var(--stack)*4px),calc(var(--stack)*5px));z-index:calc(4 - var(--stack));font-size:10px;display:flex;align-items:flex-end;padding:2px}
.edm-empty-page{width:48%;height:65%;border:2px solid #af8f15;border-radius:3px;opacity:.45}
.edm-document-status{font-size:11px!important;margin:8px 0!important}.edm-document-note{font-size:11px!important;overflow-wrap:anywhere;margin:6px 0!important;color:#8c1818}
.edm-document-card form{display:block}.edm-upload-label{font-size:11px!important;margin:0!important}.edm-upload-label input{width:100%;padding:3px!important;font-size:10px!important}
.edm-document-card button{font-size:10px!important;padding:5px 7px!important;min-height:28px!important;border-radius:5px!important;margin:4px 2px 0 0!important}
.edm-card-decisions{display:flex;flex-wrap:wrap}.edm-version-history{font-size:11px;margin-top:8px}.edm-history-version{display:block;background:white;color:#111;padding:5px;border:1px solid #ccc;margin-top:4px;overflow-wrap:anywhere}
@media(max-width:1000px){.edm-document-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:550px){.edm-document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
#pdf-review-window{width:96vw!important;max-width:1600px!important;height:94vh!important;max-height:94vh!important;padding:0!important;border-radius:12px!important;overflow:hidden!important;background:#f4f6f9;color:#172337}
#pdf-review-window::backdrop{background:rgba(0,0,0,.7)}
#pdf-review-window>header{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:#143455;color:white;height:76px;box-sizing:border-box}
#pdf-review-window h2{font-size:18px!important;margin:0!important}#pdf-review-window h3{font-size:14px!important}
.pdf-review-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;height:calc(100% - 76px)}
.pdf-review-scroll{overflow:auto;padding:16px 24px;background:#c4cbd5}.pdf-review-toolbar{display:flex;justify-content:space-between;align-items:center;font-size:12px;gap:16px}
.pdf-review-sheet{position:relative;width:100%;background:white;min-height:100px;box-shadow:0 2px 8px #727b89;cursor:crosshair}
.pdf-review-sheet>img{width:100%;height:auto;display:block}
#pdf-review-window .pdf-marker{position:absolute;transform:translate(-50%,-50%);border:2px solid white!important;background:#ce2635!important;color:white!important;width:26px!important;height:26px!important;min-height:0!important;padding:0!important;border-radius:50%!important;font-size:12px!important;z-index:2}
#pdf-review-window aside{padding:16px;overflow:auto;background:white;border-left:1px solid #aaa;font-size:13px}
#pdf-review-window aside p,#pdf-review-window aside label{font-size:13px!important}
#pdf-review-window aside article{border-bottom:1px solid #ccd5df;padding:10px 0}
#pdf-review-window pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
#pdf-review-window button{font-size:12px!important;padding:7px 10px!important;min-height:32px!important}
.pdf-review-decisions{display:flex;flex-direction:column;gap:10px;margin:16px 0}
#pdf-review-window [data-review-final="needs_correction"]{background:#c93038!important;color:white!important}
#pdf-review-window [data-review-final="verified"]{background:#168348!important;color:white!important}
#pdf-review-editor{position:static;width:auto;max-width:none;padding:12px;background:white;border:2px solid #205c9c;border-radius:10px;margin-top:8px}
#pdf-review-editor[hidden]{display:none}#pdf-review-editor textarea{width:100%;box-sizing:border-box;font-size:14px}
@media(max-width:700px){.pdf-review-layout{grid-template-columns:minmax(0,1fr) 220px}.pdf-review-scroll{padding:8px}.pdf-review-toolbar{flex-wrap:wrap}}


#pdf-review-window>header h2,#pdf-review-window>header span{color:white!important}
/* Agency-branded document covers: colour communicates status at the edges, never a solid slab. */
.edm-document-grid{padding:0 4px 8px;gap:8px 14px;align-items:start}
/* Shared row tracks align even the longest document titles in each deck row. */
.edm-document-card .edm-document-title-link{display:block;background:transparent!important;border:0!important;box-shadow:none!important;color:#145da0!important;font:inherit!important;font-weight:inherit!important;text-align:left;text-decoration:underline;text-underline-offset:3px;padding:0!important;margin:0!important;min-height:0!important;border-radius:0!important;cursor:pointer;white-space:normal}
.edm-document-title-link:focus-visible{outline:2px solid #145da0;outline-offset:3px}
#edm-card-details-window{width:min(520px,90vw);padding:24px;border:1px solid #cbd6e3;border-radius:14px}
.edm-document-grid>.edm-document-card{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:4px}
.edm-document-card h5{height:auto;min-height:34px;display:flex;align-items:flex-end;margin-bottom:4px;overflow-wrap:anywhere}
.edm-document-actions{display:flex;flex-direction:column;align-items:stretch;gap:4px}
.edm-document-actions>.edm-document-note{order:2}
.edm-document-actions>.edm-version-history{order:3}
.edm-document-card .edm-upload-label{display:flex;flex-direction:column;gap:6px}
.edm-document-card .edm-document-face{height:156px!important;min-height:156px!important;padding:0!important;margin:0!important}
.edm-cycle>h4{margin:12px 0 4px;line-height:1.3}
.edm-cycle>p{margin:4px 0 6px;line-height:1.35}
.edm-document-grid>.edm-document-card{margin:0;padding:0;align-self:start}
.edm-document-stack{margin-top:0;margin-bottom:4px}
.edm-document-face{height:156px;flex-direction:column;background:linear-gradient(155deg,#fff 55%,#edf1f6)!important;border-width:5px;border-radius:10px;box-shadow:0 3px 7px #14283c24}
.edm-document-yellow{border-color:#e7bf16!important}.edm-document-red{border-color:#d63232!important}.edm-document-green{border-color:#168a48!important}.edm-document-white{border-color:#fff!important}
.edm-card-brand{display:flex;align-items:center;justify-content:center;height:40px;width:100%;padding:8px 7px;box-sizing:border-box;border-bottom:1px solid #dbe2eb;background:white;flex-shrink:0}
.edm-document-face .edm-card-agency-logo,.edm-document-old .edm-card-agency-logo{width:100%;height:auto;max-height:26px;object-fit:contain}
.edm-card-agency-name{font-size:10px;line-height:1.2;color:#1c3552}
.edm-document-face .edm-card-pdf-preview{width:100%;height:calc(100% - 40px);object-fit:contain;padding:5px;box-sizing:border-box}
.edm-empty-page{display:flex;flex-direction:column;gap:9px;width:65%;height:68px;border:0;margin:18px auto;background:transparent;transform:none;box-shadow:none}
.edm-empty-page i{display:block;height:3px;border-radius:2px;background:#dce4ed;width:100%}.edm-empty-page i:last-child{width:65%}
.edm-document-old{border:2px solid #fff;box-shadow:0 1px 3px #14283c33;align-items:flex-start;flex-direction:column;justify-content:space-between;padding:8px 5px}
.edm-document-old small{font-size:10px}
.edm-card-brand{background:linear-gradient(145deg,#143455,#08192c);border-bottom-color:#183b60}
.edm-card-brand .edm-card-agency-name{color:#fff}
.edm-document-old .edm-card-agency-logo{background:#143455;border-radius:3px;padding:3px;box-sizing:border-box}
.pdf-document-type{padding:10px;border:1px solid #bac9db;border-radius:8px;margin-bottom:18px;background:#fff}.pdf-document-type label{display:block}.pdf-document-type select{max-width:100%;width:100%;box-sizing:border-box}.pdf-document-type p{font-size:12px!important;line-height:1.4}
.pdf-review-column{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}
.pdf-review-column .pdf-review-scroll{flex:1;min-height:0}
.pdf-notes-workspace{flex-shrink:0;max-height:45%;overflow:auto;padding:12px 24px;background:#f5f9ff;border-bottom:2px solid #b9cce2}
#pdf-review-window .pdf-notes-workspace p{font-size:12px!important;margin:4px 0}
.pdf-notes-workspace h3{margin:0 0 5px}
#pdf-review-notes{display:flex;flex-wrap:wrap;gap:8px}
#pdf-review-notes article{flex:1 1 200px;padding:6px 10px;border:1px solid #ccd5df;border-radius:6px;background:white}
.pdf-common-errors{display:flex;flex-wrap:wrap;gap:6px 16px;border:0;padding:0;margin:0 0 8px}
.pdf-common-errors legend{font-size:12px;font-weight:bold;margin-bottom:5px}
#pdf-review-window .pdf-common-errors label{display:flex;align-items:center;gap:5px;font-size:12px!important;margin:0}
#pdf-review-window .pdf-common-errors input{width:auto!important;min-height:0!important;margin:0}
@media(max-width:700px){.pdf-notes-workspace{padding:8px;max-height:50%}}
.pdf-notes-workspace:has(#pdf-review-editor:not([hidden])){max-height:65%}
.pdf-notes-workspace:has(#pdf-review-editor:not([hidden]))>p,.pdf-notes-workspace:has(#pdf-review-editor:not([hidden]))>.pdf-note-history{display:none}
/* Review controls belong above the document, never in a narrow sidebar. */
#pdf-review-window{display:flex;flex-direction:column;width:calc(100vw - 24px)!important;max-width:none!important;height:calc(100dvh - 24px)!important;max-height:none!important}
#pdf-review-window>header{flex-shrink:0;height:auto;min-height:64px}
#pdf-review-window:not([open]){display:none}
#pdf-review-window .pdf-review-layout{display:flex;flex:1;min-height:0;height:auto}
#pdf-review-window .pdf-review-column{width:100%}
.pdf-review-actions{display:flex;align-items:center;gap:12px;padding:8px 16px;background:white;border-bottom:1px solid #bac9db;flex-shrink:0;position:relative;font-size:12px}
.pdf-review-actions:empty{display:none}
#pdf-review-window .pdf-review-actions>label{display:flex;align-items:center;gap:6px;max-width:230px;font-size:12px!important;margin:0}
#pdf-review-window .pdf-review-actions input[type=checkbox]{width:auto;min-height:0;margin:0;flex-shrink:0}
#pdf-review-window .pdf-review-actions .pdf-document-type{display:flex;align-items:center;gap:8px;margin:0;padding:0;border:0;flex:1;min-width:220px}
#pdf-review-window .pdf-review-actions .pdf-document-type label{display:flex;align-items:center;gap:8px;flex:1;min-width:0;margin:0!important;white-space:nowrap;font-size:12px!important}
#pdf-review-window .pdf-review-actions .pdf-document-type select{padding:6px 10px;min-height:34px;font-size:12px}
#pdf-review-window .pdf-review-actions .pdf-document-type p{display:none}
#pdf-review-window .pdf-review-actions .pdf-review-decisions{flex-direction:row;gap:8px;margin:0;flex-shrink:0}
.pdf-review-actions .pdf-approval-exception{flex-shrink:0;max-width:210px}
.pdf-review-actions .pdf-approval-exception[open]{position:absolute;right:16px;top:8px;width:330px;max-width:calc(100vw - 60px);padding:12px;background:white;border:1px solid #bac9db;border-radius:8px;box-shadow:0 8px 30px #0003;z-index:5}
#pdf-review-window .pdf-notes-workspace{padding:8px 16px;max-height:24%;}
#pdf-review-notes{display:flex;gap:8px;overflow:auto}
#pdf-review-notes article{flex:0 0 auto;max-width:400px;padding:6px 10px}
#pdf-review-window .pdf-review-scroll{padding:6px 16px}
#pdf-review-window .pdf-review-toolbar label{display:flex;align-items:center;gap:8px}
#pdf-review-window .pdf-review-toolbar select{margin:0;padding:4px 8px;min-height:32px}
#pdf-review-window .pdf-page-block>h3{margin:6px 0}
#pdf-review-window .pdf-notes-workspace:has(#pdf-review-editor:not([hidden])){max-height:45%}
@media(max-width:1100px){.pdf-review-actions{flex-wrap:wrap}.pdf-review-actions .pdf-document-type{flex-basis:100%}}
@media(max-width:700px){#pdf-review-window .pdf-notes-workspace{max-height:30%}#pdf-review-window .pdf-review-scroll{padding:6px}.pdf-review-actions{gap:8px;padding:8px}.pdf-review-actions .pdf-approval-exception{max-width:100%}}
#pdf-review-notes article p{white-space:pre-line}
.edm-listing-checklist{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin:4px 0 6px;font-size:12px}.edm-listing-checklist label{display:flex;align-items:center;gap:8px;margin:0!important;font-size:12px!important}.edm-listing-checklist select{width:auto;max-width:100%;margin:0!important;font-size:12px!important;min-height:32px!important;padding:5px 10px!important}
.document-master-list{max-height:70vh;overflow:auto}.document-master-list>div{display:flex;flex-direction:column;gap:4px;padding:8px 0;border-bottom:1px solid #dce3ec}.document-master-list button{text-align:left}.document-master-list [hidden]{display:none}
@media(max-width:800px){.sidebar .bottom:has([data-my-employee-profile]){display:flex;flex-direction:row;justify-content:space-between;gap:16px;padding-top:10px}.sidebar .bottom:has([data-my-employee-profile]) small{display:none}}
#oaciq-reporting-workspace [data-oaciq-register-pdf]{display:flex;align-items:center;justify-content:center;flex:1 0 150px;min-height:44px;padding:8px 12px;box-sizing:border-box;background:linear-gradient(#636b73 0%,#252c32 48%,#10171c 52%,#20272d 100%);color:white!important;border:1px solid #889099;border-radius:8px;box-shadow:0 2px 3px #0003;font-size:12px;font-weight:650;line-height:1.3;text-align:center;text-decoration:none}
#oaciq-reporting-workspace [data-oaciq-register-pdf]:focus-visible{outline:2px solid #167ad4;outline-offset:2px}
#oaciq-reporting-workspace [data-oaciq-register-pdf] .section-button-label{display:block;-webkit-line-clamp:unset;line-clamp:unset;max-height:none;overflow:visible;font-size:12px!important}
#oaciq-reporting-workspace>.workspace-headings{align-items:stretch}
#oaciq-reporting-workspace>.workspace-headings button{height:auto!important;min-height:64px!important;align-self:stretch}
.agency-page-guide ol{padding-left:28px;max-width:1100px}
.agency-page-guide li{padding-left:6px;margin:12px 0;line-height:1.65}
.agency-page-guide .agency-guide-done{border-top:1px solid #d5deea;padding-top:16px}
@media print{.agency-page-guide{display:none!important}}
#oaciq-reporting-workspace [data-oaciq-register-pdf][aria-disabled="true"]{opacity:.5;pointer-events:none}
.document-master-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start;margin:20px 0}
.document-master-rule-column{display:flex;flex-direction:column;gap:12px;min-width:0;margin:0;padding:14px;border:1px solid #b8c6d6;border-radius:10px}
.document-master-rule-column legend{padding:0 8px;font-size:18px;font-weight:700}
.document-master-rules .document-master-rule{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0;padding:12px;border:1px solid;border-radius:8px;font-size:14px;line-height:1.3}
.document-master-rule[data-rule-state="mandatory"]{background:#18743b;border-color:#0c5126;color:#fff}
.document-master-rule[data-rule-state="optional"]{background:#b4232e;border-color:#7f1420;color:#fff}
.document-master-rule[data-rule-state="mandatory"]>span,.document-master-rule[data-rule-state="mandatory"]>[data-rule-status],.document-master-rule[data-rule-state="optional"]>span,.document-master-rule[data-rule-state="optional"]>[data-rule-status]{color:#fff!important}
.document-master-rule[data-rule-state="conditional"]{background:#fff8df;border-color:#b78615;color:#795700}
.document-master-rules select{box-sizing:border-box;width:100%;min-width:0;margin:0;font-size:14px;min-height:40px;padding:6px 10px;line-height:1.3;background:#fff;color:#142b49;border-color:#b8c6d6}
.document-master-rule [data-rule-status]{font-weight:700}
@media(max-width:900px){.document-master-rules{grid-template-columns:1fr}}










#edm-requirement-window .edm-requirement-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}#edm-requirement-window .edm-requirement-heading h3{margin:0}#edm-requirement-window [data-edm-card-upload]{padding:12px 0;border-bottom:1px solid #c5cdd8}#edm-requirement-window [data-edm-card-upload][hidden]{display:none}
.oaciq-bank-card details{margin-top:18px}
#oaciq-bank-workspace form>label{display:grid;gap:8px;margin:14px 0}
#oaciq-bank-workspace label:has(input[type="checkbox"]){display:flex;align-items:flex-start;gap:10px}
#oaciq-bank-workspace input[type="checkbox"]{width:20px;min-height:20px;flex:0 0 20px;margin:3px 0}
.oaciq-bank-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
[data-invoice-manual] [hidden] { display: none !important; }
[data-office-tools-tabs] button{flex:0 0 210px!important;width:210px!important;max-width:none!important}
.edm-property-picker{position:relative;min-width:0;display:grid;gap:8px;align-content:start;margin:10px 0 14px}
.edm-property-picker>label{font-weight:700;margin:0!important}
.edm-property-anchor{position:relative;min-width:0}
.edm-property-anchor>input{display:block;width:100%;min-width:0;margin:0!important}
.edm-property-picker>small{font-size:14px;color:#475569;line-height:1.4}
.edm-property-options{position:absolute;z-index:40;top:calc(100% + 4px);left:0;right:0;max-height:300px;overflow:auto;background:#fff;border:1px solid #a8b7c9;border-radius:10px;box-shadow:0 8px 24px #0003;padding:5px}
.edm-property-options[hidden]{display:none!important}
.edm-property-options [role="option"]{display:block;width:100%;text-align:left;border:0;border-radius:6px;background:#fff;color:#101827;box-shadow:none;padding:12px;white-space:normal}
.edm-property-options [role="option"] strong,.edm-property-options [role="option"] span{display:block;overflow-wrap:anywhere}
.edm-property-options [role="option"] span{font-size:14px;font-weight:400;margin-top:4px}
.edm-property-options [role="option"]:hover,.edm-property-options [role="option"][aria-selected="true"]{background:#e8f2ff;outline:2px solid #1267b4;outline-offset:-2px}
.edm-property-empty{padding:12px;color:#475569}
.edm-property-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#pdf-preview-window{width:calc(100vw - 24px);max-width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box;padding:0;background:#fff;color:#142b49;border:0;border-radius:12px;overflow:hidden}
#pdf-preview-window[open]{display:flex;flex-direction:column}
#pdf-preview-window::backdrop{background:#0009}
#pdf-preview-window>header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 20px;border-bottom:1px solid #cbd5e1;flex-shrink:0}
#pdf-preview-window h2{font-size:18px!important;margin:0 0 4px;overflow-wrap:anywhere}
.pdf-preview-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 20px;border-bottom:1px solid #cbd5e1;flex-shrink:0}
.pdf-preview-actions>span{font-size:13px}
.pdf-preview-pages{flex:1;min-height:0;overflow:auto;background:#e6eaf0;padding:16px}
.pdf-preview-pages>section{max-width:1200px;margin:0 auto 20px}
.pdf-preview-pages h3{font-size:14px;margin:0 0 8px}
.pdf-preview-pages img{display:block;width:100%;height:auto;background:white;box-shadow:0 2px 6px #0003}
.pdf-preview-print-frame{position:fixed;left:-10000px;top:0;width:816px;height:1056px;border:0}
@media(max-width:650px){#pdf-preview-window>header,.pdf-preview-actions{padding:10px;gap:8px}.pdf-preview-pages{padding:8px}}
@media print{#pdf-preview-window,.pdf-preview-print-frame{display:none!important}}
@media print{
 @page brokerageRegister{size:letter landscape;margin:0.25in}
 body.printing-register #register-print[data-register-source="brokerage_contract"]{page:brokerageRegister;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
 body.printing-register:has(#register-print[data-register-source="brokerage_contract"]),body.printing-register:has(#register-print[data-register-source="brokerage_contract"]) :is(.layout,.workspace,.content,#register-workspace,.register-grid){width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important;box-sizing:border-box}
 body.printing-register #register-print[data-register-source="brokerage_contract"] .register-grid :is(th,td):nth-child(n+10){display:none!important}
 body.printing-register #register-print[data-register-source="brokerage_contract"] table{width:100%!important;min-width:0!important;table-layout:fixed!important}
 body.printing-register #register-print[data-register-source="brokerage_contract"] :is(th,td){font-size:9pt!important;line-height:1.35!important;padding:6px 4px!important;white-space:normal!important;min-width:0!important;overflow-wrap:normal!important;word-break:normal!important}
 body.printing-register #register-print[data-register-source="brokerage_contract"] td:not(:nth-child(5)):not(:nth-child(6)){white-space:nowrap!important}
 body.printing-register #register-print[data-register-source="brokerage_contract"] th:nth-child(1){width:3%}
 body.printing-register #register-print[data-register-source="brokerage_contract"] th:nth-child(2){width:12%}
 body.printing-register #register-print[data-register-source="brokerage_contract"] th:nth-child(3){width:11%}
 body.printing-register #register-print[data-register-source="brokerage_contract"] th:nth-child(4){width:10%}
 body.printing-register #register-print[data-register-source="brokerage_contract"] th:nth-child(5){width:21%}
 body.printing-register #register-print[data-register-source="brokerage_contract"] th:nth-child(6){width:11%}
 body.printing-register #register-print[data-register-source="brokerage_contract"] th:nth-child(7){width:10%}
 body.printing-register #register-print[data-register-source="brokerage_contract"] th:nth-child(8){width:10%}
 body.printing-register #register-print[data-register-source="brokerage_contract"] th:nth-child(9){width:12%}
}
@media print and (max-width:850px){
 body.printing-register #register-print[data-register-source="brokerage_contract"] :is(th,td){font-size:8pt!important;padding:6px 3px!important}
}
.register-print-bands{display:none}
@media print{
 body.printing-register #register-print[data-register-source="trust"] .register-grid :is(th,td):nth-child(n+13){display:none!important}
 body.printing-register #register-print[data-register-source="trust"] .register-year-divider{display:none!important}
 body.printing-register #register-print[data-register-source="trust"] table{table-layout:fixed!important}
 body.printing-register #register-print[data-register-source="trust"] th:nth-child(1){width:3%}
 body.printing-register #register-print[data-register-source="trust"] th:nth-child(2){width:7%}
 body.printing-register #register-print[data-register-source="trust"] th:nth-child(3){width:8%}
 body.printing-register #register-print[data-register-source="trust"] th:nth-child(4){width:12%}
 body.printing-register #register-print[data-register-source="trust"] th:nth-child(5){width:6%}
 body.printing-register #register-print[data-register-source="trust"] th:nth-child(6){width:7%}
 body.printing-register #register-print[data-register-source="trust"] th:nth-child(7){width:14%}
 body.printing-register #register-print[data-register-source="trust"] th:nth-child(8),body.printing-register #register-print[data-register-source="trust"] th:nth-child(9),body.printing-register #register-print[data-register-source="trust"] th:nth-child(10){width:8%}
 body.printing-register #register-print[data-register-source="trust"] th:nth-child(11){width:11%}
 body.printing-register #register-print[data-register-source="trust"] th:nth-child(12){width:8%}
}
@media print{
 body.printing-register #register-print:is([data-register-source="transaction"],[data-register-source="transaction_completed"]) .register-grid :is(th,td):nth-child(n+9){display:none!important}
 body.printing-register #register-print:is([data-register-source="transaction"],[data-register-source="transaction_completed"]) table{table-layout:fixed!important}
 body.printing-register #register-print:is([data-register-source="transaction"],[data-register-source="transaction_completed"]) th:nth-child(1){width:4%}
 body.printing-register #register-print:is([data-register-source="transaction"],[data-register-source="transaction_completed"]) th:nth-child(2){width:13%}
 body.printing-register #register-print:is([data-register-source="transaction"],[data-register-source="transaction_completed"]) th:nth-child(3){width:10%}
 body.printing-register #register-print:is([data-register-source="transaction"],[data-register-source="transaction_completed"]) th:nth-child(4){width:25%}
 body.printing-register #register-print:is([data-register-source="transaction"],[data-register-source="transaction_completed"]) th:nth-child(5){width:12%}
 body.printing-register #register-print:is([data-register-source="transaction"],[data-register-source="transaction_completed"]) th:nth-child(6){width:13%}
 body.printing-register #register-print:is([data-register-source="transaction"],[data-register-source="transaction_completed"]) th:nth-child(7){width:11%}
 body.printing-register #register-print:is([data-register-source="transaction"],[data-register-source="transaction_completed"]) th:nth-child(8){width:12%}
}
@media print{
 @page agencyRegister{size:letter landscape;margin:0.25in}
 body.printing-register #register-print:not([data-register-source="brokerage_contract"]){page:agencyRegister}
 body.printing-register,body.printing-register :is(.layout,.workspace,.content,#register-workspace,#register-print,.register-grid){width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important;box-sizing:border-box}
 body.printing-register #register-print table{width:100%!important;min-width:0!important;max-width:none!important;table-layout:auto!important;border-collapse:collapse!important}
 body.printing-register #register-print :is(th,td){min-width:0!important;max-width:none!important;width:auto;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;font-size:9pt!important;line-height:1.3!important;padding:5px 4px!important;vertical-align:top!important}
 body.printing-register #register-print.has-print-bands>.register-grid,body.printing-register #register-print.has-print-bands>.register-document-header{display:none!important}
 body.printing-register .register-print-bands{display:block!important}
 .register-print-band{break-before:page}
 .register-print-band:first-child{break-before:auto}
 .register-print-band-caption{font-size:8pt!important;margin:6px 0!important;color:#333!important}
 body.printing-register #register-print[data-register-source="brokerage_contract"] table{table-layout:fixed!important}
 body.printing-register #register-print[data-register-source="brokerage_contract"] td:not(:nth-child(5)):not(:nth-child(6)){white-space:nowrap!important;overflow-wrap:normal!important}
}
[data-office-tools-tabs] .section-button-label{display:block!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;max-height:none!important;white-space:normal!important}
/* Keep platform agency context visible beside the selected agency brand. */
.rainova-agency-selector { display:flex; align-items:center; gap:10px; margin-left:18px; color:white; font-weight:700; }
.rainova-agency-selector select { width:260px; max-width:35vw; margin:0; color:#102b46; background:white; border:1px solid #a8bdd2; border-radius:9px; padding:9px 12px; }
@media(max-width:700px) { .rainova-agency-selector { gap:6px; margin-left:8px; font-size:13px; } .rainova-agency-selector select { width:190px; max-width:43vw; font-size:13px; padding:7px; } }
.notification-title-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
