.netunco-theme-toggle{position:fixed;right:20px;bottom:20px;z-index:200;padding:10px 16px;min-height:44px;border:1px solid #a8b8d0;border-radius:99px;background:#fff;color:#10131a;font:600 14px 'Segoe UI',Arial,sans-serif;cursor:pointer;box-shadow:0 4px 16px #10131a20}.netunco-theme-toggle:focus-visible{outline:3px solid #246bfd;outline-offset:3px}.netunco-theme-toggle:disabled{opacity:.65}html[data-theme=dark]{color-scheme:dark;--line:#344158;--muted:#a8b8ce;--paper:#101722;--ink:#eef3fc;--blue:#76a6ff;background:#101722;color:#eef3fc}html[data-theme=dark] body{background:#101722;color:#eef3fc}html[data-theme=dark] :is(header,.header,.mobile-nav,.card,.position,.person-menu,.notification-panel,.multi-filter,.filter-options,.saved-batch,.history-card,.batch-card){background:#1a2434;color:#eef3fc;border-color:#344158;box-shadow:none}html[data-theme=dark] :is(input:not([type=checkbox]),textarea,select){background:#111b2a;color:#eef3fc;border-color:#536480}html[data-theme=dark] :is(.secondary,.portal-return,.person-results button,.person-option,.request-button,.link-result){background:#243249;color:#eef3fc;border-color:#536480}html[data-theme=dark] :is(.secondary:hover,.person-results button:hover,.person-option:hover,.notification-item:hover){background:#30415d}html[data-theme=dark] :is(.hint,.help,.tiny,.intro,.section-intro,.person-email,.person-picker small,footer,.contact-note,.side-note,.muted,dt){color:#a8b8ce}html[data-theme=dark] :is(.brand,.logo,h1,h2,h3,strong,td,th){color:inherit}html[data-theme=dark] :is(.brand img,.logo img){filter:brightness(0) invert(1)}html[data-theme=dark] :is(.notification-item,.category-row,.comment,.event,table,td,th,.problem-lines article){border-color:#344158}html[data-theme=dark] .notification-item{background:#1a2434;color:#eef3fc}html[data-theme=dark] :is(.notification-item.unread,.confirmation,.request-button[aria-current=true],.tabs button[aria-current=page],.dashboard-status button[aria-pressed=true]){background:#203e67;color:#bdd4ff;border-color:#76a6ff}html[data-theme=dark] :is(.badge,.status){background:#30415d;color:#d9e7fc}html[data-theme=dark] :is(.badge.approved,.badge.completed,.badge.ready,.saved){background:#183d32;color:#a7e8c1;border-color:#438267}html[data-theme=dark] :is(.badge.pending,.badge.needs_reply,.defer,.notice,.approval-note,.field.missing input){background:#46381e;color:#ffe0a0;border-color:#ab8845}html[data-theme=dark] :is(.error,.error-summary,.field.invalid,.field.invalid input,.field.invalid textarea,.danger){background:#4a242e;color:#ffbbc3;border-color:#c97786}html[data-theme=dark] :is(.overdue,.priority-urgent,.error-link){color:#ffadb6}html[data-theme=dark] :is(.primary,.button.blue){background:#246bfd;color:white}html[data-theme=dark] .netunco-theme-toggle{background:#243249;color:#eef3fc;border-color:#536480}html[data-theme=dark] :is(.hero,.contact,.request-heading){background:#0d1420;color:#eef3fc}html[data-theme=dark] :is(.hero h1,.contact h2,.contact p,.contact label,.contact small){color:#eef3fc}html[data-theme=dark] :is(.demo-window,.demo,.demo-content,.demo-panel,.preview,.problem,.process,.approach){background:#1a2434;color:#eef3fc}html[data-theme=dark] :is(.demo-header,.demo-tabs,.demo-table th){background:#243249;color:#eef3fc}html[data-theme=dark] :is(.nav-cta,.menu-button){background:#243249;color:#eef3fc;border-color:#536480}html[data-theme=light] .hero{background:#10131a;color:white}body{padding-bottom:70px}@media(max-width:600px){.netunco-theme-toggle{right:12px;bottom:12px}}

html[data-theme=dark] :is(.brand img,.logo img){filter:none;content:url("logo-dark.svg")}html[data-theme=dark] :is(.demo-layout,.mock-window,.mock-top,.mock-footer,.demo-file,.demo-table){background:#1a2434;color:#eef3fc;border-color:#344158}html[data-theme=dark] :is(.demo-summary,.check){background:#183d32;color:#a7e8c1}html[data-theme=dark] .demo-warning{background:#46381e;color:#ffe0a0;border-color:#ab8845}html[data-theme=dark] .contact form{background:#1a2434;border-color:#344158}.tabs button[aria-current=page]{box-shadow:inset 0 -3px 0 #246bfd;font-weight:700}#list tbody td{padding-top:20px;padding-bottom:20px}html[data-theme=dark] tr:nth-child(even){background:#182233}

/* v0.5.1: explicit surfaces, readable text and individual demo tabs */
html[data-theme=dark] .auth{background:#1a2434;color:#eef3fc;border-color:#344158;box-shadow:0 12px 40px #0002}
html[data-theme=dark] .auth :is(h1,h2,label){color:#eef3fc}
html[data-theme=dark] .auth p{color:#b8c5d9}
html[data-theme=dark] .auth .eyebrow{color:#8bb3ff}
html[data-theme=dark] :is(.product-heading p,.approach-heading p,.demo-panel p,.demo-note,.product-facts p,.pilot-note p,.steps p,.about p,.problem-lines p,.mock-sub,.mock-row small,.footer p,.footer-right,.footer a,.footer button,dialog p){color:#b8c5d9}
html[data-theme=dark] :is(.footer img){content:url("logo-dark.svg");filter:none}
html[data-theme=dark] .demo-layout{background:#1a2434;border-color:#344158}
html[data-theme=dark] .demo-panel{background:#202d40;border-color:#40516a}
html[data-theme=dark] .demo-tabs{background:transparent}
html[data-theme=dark] .demo-tabs button{background:transparent;color:#bdcbe0;border-color:#40516a;border-radius:6px;padding-left:12px;padding-right:12px;box-shadow:none}
html[data-theme=dark] .demo-tabs button:hover{background:#293950;color:#eef3fc}
html[data-theme=dark] .demo-tabs button[aria-selected=true]{background:#203e67;color:#bdd4ff;box-shadow:inset 3px 0 0 #76a6ff}
html[data-theme=dark] .demo-panel .demo-state{color:#a7e8c1}
html[data-theme=dark] .pill{color:#bdd4ff;border-color:#536480}
html[data-theme=dark] :is(dialog){background:#1a2434;color:#eef3fc;border-color:#40516a}
html[data-theme=dark] :is(.footer button,.dialog-close){background:transparent;border-color:transparent}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#a8b8ce}

/* v0.5.2: each RequestHub ticket has its own bordered surface */
#list table{border-collapse:separate;border-spacing:0 12px;min-width:980px}
#list thead th{border-bottom:0;padding-bottom:2px}
#list tbody td{background:#f3f6fb;border-top:1px solid #c5d1e3;border-bottom:1px solid #c5d1e3;padding-top:22px;padding-bottom:22px}
#list tbody td:first-child{border-left:4px solid #246bfd;border-radius:12px 0 0 12px;padding-left:18px}
#list tbody td:last-child{border-right:1px solid #c5d1e3;border-radius:0 12px 12px 0;padding-right:16px}
#list tbody tr:hover td{background:#eaf1fd}
#list th:first-child{width:31%}#list th:nth-child(4){width:24%}
#list .request-title{font-size:16px;font-weight:700;margin-top:6px;margin-bottom:6px}
#list .person-email{line-height:1.5;word-break:normal;overflow-wrap:anywhere}
html[data-theme=dark] #list tbody td{background:#202d40;border-top-color:#536480;border-bottom-color:#536480}
html[data-theme=dark] #list tbody td:first-child{border-left-color:#76a6ff}
html[data-theme=dark] #list tbody td:last-child{border-right-color:#536480}
html[data-theme=dark] #list tbody tr:hover td{background:#293b56}
/* v0.6 explicit contrast and security surfaces */
.mfa-qr{display:block;width:220px;max-width:100%;height:auto;background:white;padding:12px;border:1px solid #c5d1e3;border-radius:12px;margin:20px 0}.mfa-secret{display:block;overflow-wrap:anywhere;padding:14px;background:#edf3ff;color:#10131a;border-radius:8px;font-size:15px}.recovery-box{padding:20px;background:#edf3ff;border:1px solid #b6c8e8;border-radius:12px;margin-top:20px}.recovery-box pre{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.recovery-box button{margin:6px}.mfa-enrollment{margin-top:20px}#mfa-login .check{display:flex;gap:10px;align-items:flex-start}#mfa-login .check input{width:18px;height:18px;flex:0 0 18px;margin-top:2px}form[id^=mfa-]{border-top:1px solid #d7e0ea;margin-top:20px;padding-top:16px}.compact form[id^=mfa-] input{max-width:100%}
html[data-theme=dark] :is(p,#account,.stat span,.metadata dt,.brand span){color:#bdcbe0}html[data-theme=dark] :is(.recovery-box,.mfa-secret){background:#203e67;color:#eef3fc;border-color:#536480}html[data-theme=dark] :is(.badge.rejected,.badge.failed,.badge.invalid){background:#4a242e;color:#ffbbc3}html[data-theme=dark] :is(.badge.approved,.badge.completed,.badge.ready,.demo-state){background:#183d32;color:#a7e8c1}html[data-theme=dark] :is(.badge.pending,.badge.waiting){background:#46381e;color:#ffe0a0}html[data-theme=dark] :is(.auth,.card,.compact,.recovery-box) :is(label,h1,h2,h3){color:#eef3fc}html[data-theme=dark] :is(.row,.rh-program-card,form[id^=mfa-],.metadata,.comment,.event){border-color:#40516a}html[data-theme=dark] :is(.error-summary p,.error p){color:#ffbbc3}html[data-theme=dark] :is(.notice p,.approval-note p){color:#ffe0a0}html[data-theme=dark] :is(.saved p,.demo-panel .demo-state){color:#a7e8c1}html[data-theme=dark] #form-message{color:#a7e8c1}
html[data-theme=dark] .button.dark{background:#243249;color:#eef3fc;border:1px solid #536480}html[data-theme=dark] .button.dark:hover{background:#30415d}form[id^=mfa-] .check{display:flex;align-items:flex-start;gap:10px}form[id^=mfa-] .check input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:2px 0;padding:0}#account{flex-wrap:wrap}

/* v0.6.1 – targeted fixes for the seven reported views */
html[data-theme=dark] .steps article{border-top-color:#7f96b8}
html[data-theme=dark] .status-tile{background:#1a2434;color:#eef3fc;border-color:#536480}
html[data-theme=dark] .status-tile span{color:#bdcbe0}
html[data-theme=dark] .status-tile strong{color:#eef3fc}
html[data-theme=dark] .status-tile[aria-pressed=true]{background:#203e67;border-color:#76a6ff}
html[data-theme=dark] .dashboard-table th{background:#243249;color:#d9e7fc;border-color:#40516a}
html[data-theme=dark] .dashboard-table td{background:#1a2434;color:#eef3fc;border-color:#40516a}
html[data-theme=dark] .dashboard-table tr:nth-child(even) td{background:#202d40}
html[data-theme=dark] .backup-tools{background:#202d40;color:#eef3fc;border-color:#536480}
html[data-theme=dark] .backup-tools :is(h2,h3,label){color:#eef3fc}
html[data-theme=dark] .backup-tools :is(p,.help){color:#bdcbe0}
html[data-theme=dark] .history-item{background:#243249;color:#eef3fc;border-color:#536480}
html[data-theme=dark] .history-item:hover{background:#30415d}
html[data-theme=dark] .history-item strong{color:#eef3fc}
html[data-theme=dark] .history-item small{color:#bdcbe0}
html[data-theme=dark] .danger-outline{background:#4a242e;color:#ffbbc3;border-color:#c97786}
html[data-theme=dark] .status:not(.off){background:#183d32;color:#a7e8c1;border:1px solid #438267}
html[data-theme=dark] .status.off{background:#46381e;color:#ffe0a0;border:1px solid #ab8845}
#rh-roles-bulk td:first-child strong{display:block;line-height:1.5}
#rh-roles-bulk td:first-child small{display:block;margin-top:6px;line-height:1.5;color:#617285;font-size:12px;overflow-wrap:anywhere}
#rh-roles-bulk input[type=checkbox]{width:18px;height:18px;accent-color:#246bfd}
#rh-roles-bulk table{min-width:620px;table-layout:fixed}
#rh-roles-bulk th:first-child{width:58%}
#rh-roles-bulk th:nth-child(2),#rh-roles-bulk th:nth-child(3){width:21%}
html[data-theme=dark] #rh-roles-bulk td:first-child small{color:#bdcbe0}
#list table{min-width:1100px}
#list th:first-child{width:26%}#list th:nth-child(4){width:26%}
#list th:nth-child(2){width:150px}#list th:nth-child(3){width:90px}#list th:nth-child(5){width:110px}
#list tbody td:nth-child(2)>br{display:none}
#list tbody td:nth-child(2) .tiny{display:block;width:fit-content;white-space:nowrap;margin-top:8px;padding:5px 9px;border:1px solid #e1bd72;border-radius:7px;background:#fff3d6;color:#765014;font-size:11px;font-weight:600;line-height:1.4}
html[data-theme=dark] #list tbody td:nth-child(2) .tiny{background:#46381e;color:#ffe0a0;border-color:#ab8845}
html[data-theme=dark] .request-title{color:#eef3fc}

/* v0.6.2 – finish employee tables without trailing separators */
#view > section.card.section > .table-wrap > table > tbody > tr:last-child > td,
#rh-roles-bulk tbody tr:last-child td{border-bottom:0}
#rh-roles-bulk > .actions{margin-top:24px;padding-top:0}
#rh-roles-bulk > .actions > button{margin-top:0;margin-bottom:0}

/* v0.6.3 – readable feedback and consistent status pills */
#notice{color:#10131a}
html[data-theme=dark] #notice{background:#203e67;color:#eef3fc;border-color:#536480}
html[data-theme=dark] #notice.error{background:#4a242e;color:#ffbbc3;border-color:#c97786}
#list tbody td:nth-child(2) .tiny{border:0;border-radius:20px;padding:6px 10px;font-size:12px;font-weight:400;line-height:normal}

/* v0.6.5 – application headers follow the customer portal */
body:has(#dashboard-panel)>header,body:has(#firm)>header{min-height:0;padding:20px max(24px,calc((100vw - 1200px)/2));gap:20px;font:14px/1.4 Inter,'Segoe UI',Arial,sans-serif;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}
body:has(#dashboard-panel)>header .brand,body:has(#firm)>header .brand{display:flex;flex-direction:row;align-items:center;flex-shrink:0;text-decoration:none;gap:22px;letter-spacing:0}
body:has(#dashboard-panel)>header .brand img,body:has(#firm)>header .brand img{display:block;width:200px;height:44px;max-width:45vw;object-fit:contain}
body:has(#dashboard-panel)>header .brand span,body:has(#firm)>header .brand span{display:inline;font-size:16px;font-weight:400;letter-spacing:0;line-height:1.4;margin:0;text-transform:none}
body:has(#dashboard-panel)>header .header-actions,body:has(#firm)>header #account{display:flex;gap:14px;align-items:center;justify-content:flex-end;flex-wrap:wrap;font-size:14px}
body:has(#dashboard-panel)>header :is(button,.portal-return),body:has(#firm)>header :is(button,.button){font:inherit;font-weight:600;border-radius:9px;padding:12px 17px;min-height:46px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
body:has(#firm)>header .bell-button{position:relative;width:46px;height:46px;min-width:46px;flex:0 0 46px;padding:0}
body:has(#firm)>header .bell-button svg{width:22px;height:22px;flex-shrink:0}
#list .priority-pill{display:inline-block;padding:6px 10px;border-radius:20px;border:0;font-size:12px;font-weight:400;line-height:normal;white-space:nowrap;background:#eef2f7;color:#566176}
#list .priority-pill.priority-low{background:#eaf2ff;color:#245692}
#list .priority-pill.priority-high{background:#fff2de;color:#805716}
#list .priority-pill.priority-urgent{background:#ffe9ec;color:#a12639}
html[data-theme=dark] #list .priority-pill.priority-normal{background:#30415d;color:#d9e7fc}
html[data-theme=dark] #list .priority-pill.priority-low{background:#203e67;color:#bdd4ff}
html[data-theme=dark] #list .priority-pill.priority-high{background:#46381e;color:#ffe0a0}
html[data-theme=dark] #list .priority-pill.priority-urgent{background:#4a242e;color:#ffbbc3}
@media(max-width:760px){body:has(#dashboard-panel)>header,body:has(#firm)>header{padding:16px;align-items:flex-start;gap:16px}body:has(#dashboard-panel)>header .brand,body:has(#firm)>header .brand{gap:10px}body:has(#dashboard-panel)>header .brand span,body:has(#firm)>header .brand span{font-size:13px}body:has(#dashboard-panel)>header .header-actions,body:has(#firm)>header #account{gap:14px;justify-content:flex-start}}

/* v0.6.6 – DocumentFlow uses the portal and RequestHub visual scale */
body:has(#dashboard-panel){font:16px/1.4 Inter,'Segoe UI',Arial,sans-serif}
body:has(#dashboard-panel)>main{max-width:1200px;margin:36px auto;padding:0 24px}
body:has(#dashboard-panel) .card{padding:28px;border-radius:16px;box-shadow:0 6px 25px #10131a04}
body:has(#dashboard-panel) .eyebrow{color:#246bfd;font-size:12px;font-weight:700;letter-spacing:.15em}
body:has(#dashboard-panel) :is(h1,.batch-bar h1,.upload-panel h1){font-size:clamp(28px,4vw,40px);letter-spacing:-.04em;line-height:1.2;margin:10px 0 18px}
body:has(#dashboard-panel) h2{font-size:21px;margin-bottom:16px}
body:has(#dashboard-panel) h3{font-size:16px;margin-bottom:10px}
body:has(#dashboard-panel) label{font-size:14px;font-weight:600}
body:has(#dashboard-panel) .help{font-size:13px;line-height:1.6}
body:has(#dashboard-panel) .batch-bar>div>.help{font-size:16px;margin-top:20px}
body:has(#dashboard-panel) button{font-weight:600;padding:12px 17px;border-radius:9px}
body:has(#dashboard-panel) .badge{font-size:12px;font-weight:400;line-height:normal;padding:6px 10px;border-radius:20px}
body:has(#dashboard-panel) .dashboard-status{margin:24px 0;gap:16px}
body:has(#dashboard-panel) .status-tile{padding:28px;border-radius:16px;border-width:1px;text-align:left}
body:has(#dashboard-panel) .status-tile span{font-size:14px;font-weight:400}
body:has(#dashboard-panel) .status-tile strong{font-size:32px;margin-top:8px;line-height:1.4}
body:has(#dashboard-panel) .status-tile[aria-pressed=true]{border-color:#246bfd;box-shadow:inset 0 -2px 0 #246bfd}
body:has(#dashboard-panel) .dashboard-table-wrap{border:0;border-radius:0}
body:has(#dashboard-panel) .dashboard-table{border-collapse:separate;border-spacing:0 12px;font-size:14px;min-width:1100px}
body:has(#dashboard-panel) .dashboard-table th{padding:12px 10px 2px;font-size:11px;text-transform:uppercase;background:transparent;border:0}
body:has(#dashboard-panel) .dashboard-table td{padding:22px 10px;background:#f3f6fb;border-top:1px solid #c5d1e3;border-bottom:1px solid #c5d1e3}
body:has(#dashboard-panel) .dashboard-table td:first-child{padding-left:18px;border-left:4px solid #246bfd;border-radius:12px 0 0 12px}
body:has(#dashboard-panel) .dashboard-table td:last-child{padding-right:16px;border-right:1px solid #c5d1e3;border-radius:0 12px 12px 0}
body:has(#dashboard-panel) .dashboard-table td strong{font-size:16px;font-weight:700;line-height:1.5}
body:has(#dashboard-panel) .dashboard-table small{font-size:12px;line-height:1.5;margin-top:6px}
body:has(#dashboard-panel) .dashboard-table button{font-size:13px;padding:8px 12px;min-height:36px}
body:has(#dashboard-panel) .dashboard-table tbody tr:hover td{background:#eaf1fd}
body:has(#dashboard-panel) .request-heading{margin:-28px -28px 24px;padding:24px 28px}
body:has(#dashboard-panel) .history-item{padding:20px;border-radius:12px}
html[data-theme=dark] body:has(#dashboard-panel) .dashboard-table th{background:transparent;color:#d9e7fc}
html[data-theme=dark] body:has(#dashboard-panel) .dashboard-table td{background:#202d40;border-color:#536480;color:#eef3fc}
html[data-theme=dark] body:has(#dashboard-panel) .dashboard-table td:first-child{border-left-color:#76a6ff}
html[data-theme=dark] body:has(#dashboard-panel) .dashboard-table tbody tr:hover td{background:#293b56}
html[data-theme=dark] body:has(#dashboard-panel) .dashboard-table small{color:#bdcbe0}
html[data-theme=dark] body:has(#dashboard-panel) .status-tile[aria-pressed=true]{border-color:#76a6ff;box-shadow:inset 0 -2px 0 #76a6ff}
@media(max-width:700px){body:has(#dashboard-panel) .status-tile{padding:20px}body:has(#dashboard-panel) .dashboard-status{gap:12px}}
@media(max-width:500px){body:has(#dashboard-panel)>main{padding:0 14px}body:has(#dashboard-panel) .card{padding:20px}body:has(#dashboard-panel) .request-heading{margin:-20px -20px 20px;padding:20px}}

/* One capsule for language and appearance; native SVG flags render on Windows. */
.netunco-preferences{position:fixed;right:18px;bottom:18px;z-index:9999;display:flex;align-items:center;gap:0;padding:4px;border:1px solid #a8b8d0;border-radius:99px;background:#fff;color:#10131a;box-shadow:0 5px 22px #10131a20;max-width:calc(100vw - 36px)}
.netunco-preferences .netunco-theme-toggle,.netunco-preferences .netunco-language{position:static;margin:0;min-height:40px;padding:9px 12px;border:0;border-radius:99px;background:transparent;color:inherit;box-shadow:none;font:600 13px/1.4 Inter,'Segoe UI',Arial,sans-serif;white-space:nowrap;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:88px}
.netunco-preferences .netunco-language{border-radius:99px 0 0 99px;border-right:1px solid #d7e0ea;padding-right:14px}
.netunco-preferences .netunco-theme-toggle{border-radius:0 99px 99px 0;padding-left:14px}
.netunco-preferences svg{flex-shrink:0;border-radius:3px;overflow:hidden}
.netunco-menu-chevron{font-size:16px;line-height:1}
.netunco-preferences button:hover{background:#edf3ff}
.netunco-preferences button:focus-visible{outline:3px solid #80adff;outline-offset:2px}
.netunco-language-menu{position:absolute;right:0;bottom:calc(100% + 10px);width:240px;max-width:calc(100vw - 24px);padding:10px;border:1px solid #cbd5e2;border-radius:16px;background:#fff;color:#10131a;box-shadow:0 12px 40px #10131a24}
.netunco-language-menu[hidden]{display:none!important}
.netunco-language-heading{margin:4px 8px 10px;font-size:12px;font-weight:600;color:#617285}
.netunco-language-menu button{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:12px;border:0;border-radius:10px;background:transparent;color:inherit;font:14px/1.4 Inter,'Segoe UI',Arial,sans-serif;min-height:56px}
.netunco-language-menu button strong{display:block;font-size:14px;color:inherit}
.netunco-language-menu button small{display:block;font-size:12px;color:#617285;margin-top:2px}
.netunco-language-menu button[aria-checked=true]{background:#edf3ff;color:#1758db}
.netunco-language-check{margin-left:auto;visibility:hidden}
.netunco-language-menu button[aria-checked=true] .netunco-language-check{visibility:visible}
html[data-theme=dark] .netunco-preferences,html[data-theme=dark] .netunco-language-menu{background:#243249;color:#eef3fc;border-color:#536480}
html[data-theme=dark] .netunco-preferences .netunco-language{border-right-color:#536480}
html[data-theme=dark] .netunco-preferences button:hover{background:#30415d}
html[data-theme=dark] .netunco-language-menu button[aria-checked=true]{background:#203e67;color:#bdd4ff}
html[data-theme=dark] :is(.netunco-language-heading,.netunco-language-menu button small){color:#bdcbe0}
/* DocumentFlow actions keep the same positions in both languages. */
body:has(#dashboard-panel) #workspace>.batch-bar{display:flex;flex-direction:column;align-items:stretch;gap:20px}
body:has(#dashboard-panel) #workspace>.batch-bar>div:first-child{width:100%;min-width:0}
body:has(#dashboard-panel) #workspace .export-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:620px;align-self:flex-start}
body:has(#dashboard-panel) #workspace .export-actions button{width:100%;min-height:50px;white-space:normal;line-height:1.4;text-align:center;margin:0}
body:has(#dashboard-panel) .batch-name-form{max-width:620px}
body:has(#dashboard-panel) .batch-name-form>div{display:grid;grid-template-columns:minmax(0,1fr)160px;gap:12px}
body:has(#dashboard-panel) .batch-name-form button{width:100%;white-space:normal}
body:has(#dashboard-panel)>header .header-actions{display:grid;grid-template-columns:110px 175px 160px 170px;gap:12px}
body:has(#dashboard-panel)>header .header-actions :is(button,a){width:100%;padding:12px 10px;text-align:center}
html[data-theme=dark] #global-message:not(:empty){background:#203e67;color:#eef3fc;border:1px solid #536480}
html[data-theme=dark] #global-message.error{background:#4a242e;color:#ffbbc3;border-color:#c97786}
body{padding-bottom:70px}
@media(max-width:1100px){body:has(#dashboard-panel)>header .header-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:620px;justify-content:stretch}body:has(#dashboard-panel)>header .header-actions :is(button,a){white-space:normal}}
@media(max-width:550px){body:has(#dashboard-panel) #workspace .export-actions{grid-template-columns:1fr}body:has(#dashboard-panel) .batch-name-form>div{grid-template-columns:1fr}body:has(#dashboard-panel) .batch-name-form button{width:100%}}
@media(max-width:500px){.netunco-preferences{right:12px;bottom:12px;max-width:calc(100vw - 24px)}}

.netunco-file-picker{position:relative;display:flex;align-items:center;gap:14px;border:1px solid #bbc9da;border-radius:9px;padding:8px 12px;background:#fbfcfe;min-height:54px}
.netunco-file-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);opacity:0}
.netunco-file-picker .netunco-file-button{min-width:180px;margin:0;font-size:14px}
.netunco-file-name{font-size:14px;overflow-wrap:anywhere;color:#566176}
.netunco-update-banner{padding:14px max(24px,calc((100vw - 1200px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;background:#edf3ff;color:#10131a;border-bottom:1px solid #b6c8e8}
.netunco-update-banner[hidden]{display:none!important}.netunco-update-banner strong,.netunco-update-banner [data-program-message]{display:block}
.netunco-update-banner [data-program-message]{font-size:13px;margin-top:4px}
.netunco-update-actions{display:flex;gap:10px;flex-shrink:0}.netunco-update-actions button{font:600 14px/1.4 Inter,'Segoe UI',Arial,sans-serif;border:1px solid #cbd5e2;border-radius:9px;padding:10px 14px;cursor:pointer}
.netunco-update-actions .primary{background:#246bfd;color:white;border-color:#246bfd}
.rh-live-dock{margin:0 0 20px}.rh-live-line{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:12px}.rh-live-status{padding:5px 10px;border-radius:20px;background:#eef2f7;color:#617285}.rh-live-status.online{background:#e6f5ec;color:#24633d}.rh-live-line .hint{font-size:12px;overflow-wrap:anywhere}
.rh-live-stale{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid #e1bd72;border-radius:12px;background:#fff3d6;color:#765014;font-size:14px}
.rh-live-stale[hidden]{display:none!important}.rh-live-stale button{flex-shrink:0}
.rh-conflict-dialog{width:min(980px,calc(100vw - 32px));max-width:980px;max-height:90vh;overflow:auto;padding:28px;border:1px solid #c5d1e3;border-radius:16px;background:#fff;color:#10131a}.rh-conflict-dialog::backdrop{background:#10131a99}.rh-conflict-dialog h2{font-size:22px}.rh-conflict-dialog p{font-size:14px;line-height:1.6}.rh-conflict-dialog table{min-width:680px;font-size:14px;table-layout:auto}.rh-conflict-dialog th:first-child{width:auto}.rh-conflict-dialog td{vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere}.rh-conflict-dialog .actions{gap:12px}.rh-conflict-choice{display:flex;align-items:flex-start;gap:8px;font-size:12px;font-weight:400;margin-top:12px}.rh-conflict-choice input{width:16px;height:16px;flex:0 0 16px;margin:2px 0 0;padding:0;accent-color:#246bfd}
html[data-theme=dark] .netunco-file-picker{background:#111b2a;border-color:#536480}html[data-theme=dark] .netunco-file-name{color:#bdcbe0}
html[data-theme=dark] .netunco-update-banner{background:#203e67;color:#eef3fc;border-color:#536480}html[data-theme=dark] .netunco-update-actions .secondary{background:#243249;color:#eef3fc;border-color:#536480}
html[data-theme=dark] .rh-live-status{background:#30415d;color:#d9e7fc}html[data-theme=dark] .rh-live-status.online{background:#183d32;color:#a7e8c1}html[data-theme=dark] .rh-live-stale{background:#46381e;color:#ffe0a0;border-color:#ab8845}html[data-theme=dark] .rh-conflict-dialog{background:#1a2434;color:#eef3fc;border-color:#536480}html[data-theme=dark] .rh-conflict-dialog :is(p,th,td){color:#eef3fc}
@media(max-width:600px){.netunco-file-picker{align-items:stretch;flex-direction:column}.netunco-file-picker .netunco-file-button{width:100%}.netunco-update-banner,.rh-live-stale{align-items:stretch;flex-direction:column}.netunco-update-actions button{flex:1}.rh-conflict-dialog{padding:20px}}

/* Keep notification content independent of header action styling. */
body:has(#firm)>header .notification-panel .notification-item{display:block;min-height:0;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:14px 12px;font-size:14px;line-height:1.5;border-radius:9px;margin:4px 0;font-weight:400}
body:has(#firm)>header .notification-panel .notification-item small{display:block;margin-top:6px;font-size:12px;line-height:1.5;white-space:normal;color:#647084}
html[data-theme=dark] body:has(#firm)>header .notification-panel .notification-item small{color:#bdcbe0}
body:has(#firm)>header .notification-panel{overflow-x:hidden;max-width:calc(100vw - 32px)}
body:has(#firm)>header .notification-panel .notification-item.unread{font-weight:600}
body:has(#dashboard-panel) .netunco-file-picker{border:0;padding:0;min-height:48px;background:transparent;gap:12px;flex-wrap:wrap}
body:has(#dashboard-panel) .netunco-file-picker .netunco-file-button{font:inherit;font-weight:600;min-width:0;min-height:48px;padding:12px 17px;border-radius:9px;flex-shrink:0}
body:has(#dashboard-panel) .select-request{cursor:pointer;accent-color:#246bfd}

body:has(#firm)>header .notification-panel .notification-item:last-child{border-bottom:0}
html[data-theme=dark] body:has(#firm) :is(.text,.text p,.comment p,.event p){color:#dce5f3}
html[data-theme=dark] body:has(#firm) .metadata dt{color:#a8b8ce}
.rh-mail-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;padding:3px 7px;margin-left:9px;border-radius:99px;background:#246bfd;color:#fff;font:700 12px/1.2 Inter,'Segoe UI',Arial,sans-serif}.rh-mail-count[hidden],[data-action=mail-inbox][hidden]{display:none!important}
.rh-attachment{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line,#dfe5ee)}.rh-attachment:last-child{border-bottom:0}.rh-attachment>div:first-child{min-width:0;overflow-wrap:anywhere}.rh-attachment .actions{margin:0;gap:8px}.rh-attachment .actions button{min-width:0;font-size:13px;padding:9px 12px}.rh-image-dialog{width:min(960px,calc(100vw - 32px));max-height:90vh;overflow:auto;padding:24px;border:1px solid #a8b8ce;border-radius:16px}.rh-image-dialog img{display:block;max-width:100%;max-height:65vh;margin:auto;object-fit:contain}.rh-image-dialog::backdrop{background:#10131a99}.rh-mail-item{padding:24px 0;border-bottom:1px solid var(--line,#dfe5ee)}.rh-mail-item:last-child{border:0}html[data-theme=dark] :is(.rh-mail-item,.rh-observers) p{color:#dce5f3}html[data-theme=dark] .rh-image-dialog{background:#1a2434;color:#eef3fc}@media(max-width:650px){.rh-attachment{align-items:flex-start;flex-direction:column}}


/* Netunco RequestHub comfortable width */
body:has(#firm)>main{max-width:1264px}
body:has(#firm)>header{padding-left:max(24px,calc((100vw - 1264px)/2));padding-right:max(24px,calc((100vw - 1264px)/2))}
body:has(#firm)>.netunco-update-banner{padding-left:max(24px,calc((100vw - 1264px)/2));padding-right:max(24px,calc((100vw - 1264px)/2))}
