/* Özyurt 2026 appearance. Data, permissions and transaction semantics live in the existing app. */
:root{--ui-ink:#173d4d;--ui-muted:#6e8894;--ui-line:#dbe4e8;--ui-surface:#fff;--ui-canvas:#f3f6f8;--ui-brand:#439db7;--ui-brand-soft:#deeff4;--ui-danger:#e03c31;--ui-positive:#1d9e56}
.renewed-workspace{font-family:'Public Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ui-ink);background:var(--ui-canvas);font-size:14px;font-weight:400}
.renewed-workspace :is(button,input,select,textarea){font-family:inherit}
.renewed-workspace :is(button,a,input,textarea,select):focus-visible{outline:2px solid #1788ad;outline-offset:3px}
.renewed-workspace .negative,.renewed-workspace .debt-amount{color:var(--ui-danger)!important}
.renewed-workspace .context-name:not(.negative){color:var(--ui-ink)}
.renewed-workspace .context-amount:not(.negative){color:var(--ui-positive)}
.renewed-workspace>.sidebar{background:var(--ui-surface);border-right:1px solid var(--ui-line);padding:8px 12px;gap:0}
.renewed-workspace .nav{gap:3px}
.renewed-workspace .nav-label{color:#7c8da5;font-size:10px;letter-spacing:.07em;padding:16px 9px 7px}
.renewed-workspace .nav>:is(button,a[data-workspace-link]){min-height:32px;padding:6px 10px;gap:10px;border:1px solid transparent;border-radius:7px;color:#475d78;font-size:12px;font-weight:500;transition:background-color .15s,color .15s,border-color .15s}
.renewed-workspace .nav>:is(button,a[data-workspace-link]):hover{background:#f4f8fc;color:var(--ui-brand)}
.renewed-workspace .nav>:is(button,a[data-workspace-link]).active{background:#edf8fc;border-color:#aaddf0;color:#075b74;font-weight:700}
.renewed-workspace .nav .icon{color:#849ab6;flex:0 0 21px;line-height:1}
.renewed-workspace .nav :is(button,a[data-workspace-link]).active .icon{color:var(--ui-brand)}
.renewed-workspace .nav .icon svg{width:21px;height:21px}
.renewed-workspace .nav :is(button,a[data-workspace-link]).active .icon svg{width:23px;height:23px}
.renewed-workspace .nav :is(button,a[data-workspace-link])[data-page=upcoming],.renewed-workspace .nav :is(button,a[data-workspace-link])[data-staff-page=upcoming]{color:var(--ui-danger)}
.renewed-workspace .upcoming-warning,.renewed-workspace .notification-count{background:var(--ui-danger);color:#fff;border-radius:12px;font-size:10px}
.renewed-workspace .nav>:is(button,a[data-workspace-link]):has(>.upcoming-warning,>.nav-wage-warning){display:grid;grid-template-columns:21px minmax(0,1fr) max-content;align-items:center;column-gap:4px;min-width:0;white-space:normal;overflow-wrap:anywhere;}
.renewed-workspace .nav>:is(button,a[data-workspace-link]):has(>.upcoming-warning,>.nav-wage-warning)>.icon{width:21px;min-width:21px;}
.renewed-workspace .nav>:is(button,a[data-workspace-link]):has(>.upcoming-warning,>.nav-wage-warning)>.icon svg{width:21px;height:21px;}
.renewed-workspace .nav>:is(button,a[data-workspace-link])>.upcoming-warning,.renewed-workspace .nav>:is(button,a[data-workspace-link])>.nav-wage-warning{justify-self:end;margin-left:0;white-space:nowrap;}
.renewed-workspace .sidebar-foot{font-size:10px;color:#8493a9;border-color:var(--ui-line);line-height:1.6;padding:14px 6px}
.renewed-workspace>.context-panel{background:#fbfcfe;border-color:var(--ui-line)}
.renewed-workspace .context-heading{background:#fff;color:#243c5c;border-color:var(--ui-line);padding:14px 12px;font-size:12px;letter-spacing:.03em}
.renewed-workspace .context-heading small{background:#eff3f9;border-radius:12px;padding:2px 7px;color:#596c87}
.renewed-workspace .context-search{background:#fff;border-color:var(--ui-line);padding:0 12px 12px;top:45px}
.renewed-workspace .context-search input{height:34px;background:#f7f9fc;border:1px solid var(--ui-line);border-radius:6px;font-size:12px;color:#253d5c;padding:6px 10px}
.renewed-workspace .context-search input::placeholder{color:#73839b}
.renewed-workspace .context-group-heading{border:0;border-top:1px solid var(--ui-line);border-bottom:1px solid var(--ui-line);background:#f0f4f9;padding:9px 12px;color:#536782;font-size:10px;font-weight:600}
.renewed-workspace .context-group-heading small{color:#697f99}
.renewed-workspace .context-group-summary b{font-size:11px}
.renewed-workspace .context-item{background:transparent;padding:10px 12px;min-height:55px;border:1px solid transparent;border-bottom-color:#eef2f7;gap:4px 8px;border-radius:0;align-content:center}
.renewed-workspace .context-item:hover{background:#f0f8fc}
.renewed-workspace .context-item.active{position:relative;background:#edf7fa;border:1px solid #b3d9e4;border-left:3px solid #439db7;border-radius:6px;padding:10px 10px;box-shadow:0 2px 7px #12364e08}
.renewed-workspace .context-item.active::before{content:'';position:absolute;width:5px;height:5px;left:2px;top:calc(50% - 3px);background:#167c9a;border-radius:50%}
.renewed-workspace .context-name{font-size:15px;font-weight:550;line-height:1.45;overflow-wrap:break-word;word-break:normal}
.renewed-workspace .context-item.active .context-name{font-weight:700}
.renewed-workspace .context-amount{font-size:15px;font-weight:550;font-variant-numeric:tabular-nums;align-self:start;line-height:1.45}
.renewed-workspace .context-item small{font-size:14px;line-height:1.5;color:#778ba6;white-space:normal;overflow-wrap:break-word}
.renewed-workspace>main.content{background:var(--ui-canvas);padding-left:22px;padding-right:22px}
.renewed-workspace .topbar{background:white;color:var(--ui-muted);border-color:var(--ui-line);margin-left:-22px;margin-right:-22px;padding-left:22px;padding-right:22px}
.renewed-workspace .account-detail-content>.topbar{display:none}
.renewed-workspace .page-head{background:white;color:var(--ui-ink);margin-left:-22px;margin-right:-22px;padding:16px 22px;border-bottom:1px solid var(--ui-line);min-height:72px}
.renewed-workspace .page-head h1{font-family:inherit;font-size:21px;letter-spacing:-.025em;font-weight:700;color:#192c44}
.renewed-workspace .page-head :is(.eyebrow,p){color:var(--ui-muted)}
.renewed-workspace .page-head .eyebrow{font-size:10px;letter-spacing:.06em}
.renewed-workspace .page-head p{font-size:12px}
.renewed-workspace .page-head-actions{gap:7px}
.renewed-workspace .page-head-actions>.btn{height:33px;border:1px solid var(--ui-line);border-radius:7px;background:#fff;color:var(--ui-brand);font-size:12px;font-weight:600;padding:6px 12px}
.renewed-workspace .page-head-actions>.account-menu-button{background:var(--ui-brand);border-color:var(--ui-brand);color:white}
.renewed-workspace .compact-page-title .compact-title-content{background:#fff;color:var(--ui-ink);border-color:var(--ui-line);box-shadow:0 2px 9px #163c5410;padding:11px 18px;gap:8px 12px}
.renewed-workspace .compact-title-name{font-size:15px;letter-spacing:-.015em}
.renewed-workspace .compact-title-name>.account-return{font-size:12px;background:#f6f9fd;border:1px solid var(--ui-line);border-radius:6px;color:#315777;padding:7px 10px;white-space:nowrap;max-width:180px}
.renewed-workspace .workspace-balance-summary{font-size:12px;font-weight:650;color:var(--ui-brand);white-space:nowrap;border-left:1px solid var(--ui-line);padding-left:10px;margin-left:4px;font-variant-numeric:tabular-nums;letter-spacing:0}
.renewed-workspace .card,.renewed-workspace .form-card{background:#fff;border-color:var(--ui-line);border-radius:8px;box-shadow:0 1px 3px #173d4d03;padding:16px}
.renewed-workspace .metric{min-height:80px}
.renewed-workspace .account-summary-metrics{margin:6px 0 16px;gap:12px}
.renewed-workspace .account-summary-metrics .metric{background:white;min-height:76px;gap:7px}
.renewed-workspace .metric-label{font-size:11px;color:#6a7e98;font-weight:500}
.renewed-workspace .metric-value{font-family:inherit;font-size:23px;letter-spacing:-.025em}
.renewed-workspace .section-head{margin:18px 0 10px}
.renewed-workspace .section-head h2{font-size:14px;color:#324860;letter-spacing:0}
.renewed-workspace .table-wrap{padding:0}
.renewed-workspace .table{border-collapse:separate;border-spacing:0;min-width:0;width:100%}
.renewed-workspace .table th{background:#f8fafd;color:#667c99;border-color:var(--ui-line);padding:10px 12px;font-size:11px;letter-spacing:.035em;line-height:1.4;font-weight:600}
.renewed-workspace .table th:first-child{border-top-left-radius:11px}
.renewed-workspace .table th:last-child{border-top-right-radius:11px}
.renewed-workspace .table td{border-color:#edf1f6;color:#2c415c;padding:10px 12px;font-size:13px;line-height:1.5}
.renewed-workspace .table tbody tr:nth-child(even){background:#fbfcfe}
.renewed-workspace .table strong{color:#1a304b;font-weight:700}
.renewed-workspace .table .amount,.renewed-workspace .ledger-balance{font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.renewed-workspace .detail-link{color:#0c526f;text-decoration:none;font-weight:700}
.renewed-workspace .detail-link:hover{text-decoration:underline}
.renewed-workspace .work-description{font-size:12px;line-height:1.7;color:#60758e}
.renewed-workspace .movement-actions{align-items:center;gap:14px;margin-top:8px;line-height:1.3}
.renewed-workspace .movement-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12px;font-weight:500;color:#426481;line-height:1.4;vertical-align:middle}
.renewed-workspace .movement-actions :is([data-movement-action=delete],[data-saving-action=delete],[data-staff-delete]){color:var(--ui-danger)}
.movement-action-icon{width:13px;height:13px;flex:0 0 13px;display:inline-block}
.ledger-card-heading{display:none}
.renewed-workspace .ledger-kind-tag{display:inline-block!important;width:fit-content;padding:2px 7px;border:1px solid #dce5ef;border-radius:5px;font-size:11px;font-weight:600;line-height:1.5;color:#4b6685;background:#f3f7fc;margin-bottom:5px}
.renewed-workspace .ledger-kind-tag.ledger-kind-wage{background:#fff9e9;border-color:#f1d994;color:#916316!important}
.renewed-workspace .ledger-kind-tag.ledger-kind-payment{background:#eaf7f2;border-color:#c9e9da;color:#13684f!important}
.ledger-chip{display:inline-block;border-radius:5px;padding:1px 6px;font-size:11px;line-height:1.65;margin:2px 3px 2px 0;font-weight:500}
.ledger-chip-hours{background:#edf8fc;color:#17657b;border:1px solid #d5edf5}
.ledger-chip-travel{background:#fff8e8;color:#8c621e;border:1px solid #f3e2b8}
.renewed-workspace .ledger-mobile-filters{background:#f8fafd;border-color:var(--ui-line);gap:6px;padding:8px 0}
.renewed-workspace .ledger-filter{font-size:12px}
.renewed-workspace .ledger-filter summary{border-color:#d3e4ef;border-radius:6px;background:#eef7fc;color:#215d7c;font-size:12px;padding:4px 7px}
.renewed-workspace .ledger-filter-panel{border:1px solid #d1dfed;border-radius:10px;box-shadow:0 8px 30px #1b3e5d1a;padding:14px}
.renewed-workspace .ledger-filter-panel :is(input,select,button){min-height:34px;font-size:14px}
.renewed-workspace .responsive-ledger tfoot tr{background:#eef4f9;color:#183651}
.renewed-workspace .responsive-ledger tfoot :is(.ledger-total-label,.ledger-total-value){font-size:14px;font-weight:700;color:#183651;border-top:1px solid var(--ui-line);padding-top:13px;padding-bottom:13px}
.renewed-workspace .responsive-ledger tfoot .ledger-total-value.negative{color:var(--ui-danger)}
.renewed-workspace :is(.btn,.action-tabs button){border-radius:7px;transition:background-color .15s,border-color .15s,box-shadow .15s}
.renewed-workspace .btn{background:var(--ui-brand);color:white}
.renewed-workspace .btn:hover{background:#084c62}
.renewed-workspace .btn.secondary{background:#edf5fa;color:#265d79}
.renewed-workspace .btn.secondary:hover{background:#deedf5}
.renewed-workspace .btn.ghost{background:#f3f6fa;color:#526985}
.renewed-workspace .entry-income{background:#0e687f}
.renewed-workspace .entry-expense{background:#b53a47}
.renewed-workspace .entry-expense:hover{background:#96303d}
.renewed-workspace .field label{color:#4c627c;font-weight:600;font-size:11px}
.renewed-workspace :is(.field input,.field textarea,.smart-select-trigger,.money-entry){background:#fff;border-color:#cddaea;border-radius:6px;color:#243d58}
.renewed-workspace .field input::placeholder,.renewed-workspace .field textarea::placeholder{color:#7e8da3}
.renewed-workspace .smart-select-menu{border-color:#ccdceb;border-radius:9px;box-shadow:0 6px 24px #193c5720}
.renewed-workspace .smart-select-option{color:#324b68;padding:9px;font-size:13px;border-radius:5px}
.renewed-workspace .smart-select-option:hover,.renewed-workspace .smart-select-option[aria-selected=true]{background:#eaf5fb}
.renewed-workspace .entry-dock{background:#f7f9fc;border-top:1px solid #dce5ef;box-shadow:0 -4px 12px #183c5509;margin-left:-22px;margin-right:-22px;width:calc(100% + 44px);padding:14px 18px;color:#34516d}
.renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock{gap:10px 12px}
.renewed-workspace .entry-hint{font-size:11px;color:#73839b;line-height:1.6}
.renewed-workspace .schedule-modes button{border-color:#cfdaea;background:white;color:#57708e}
.renewed-workspace .schedule-modes button[aria-pressed=true]{background:#e8f4fa;color:#126583;border-color:#9bc9dc;box-shadow:none}
.renewed-workspace .worker-wage-toggle,.renewed-workspace .staff-wage-toggle{border:1px solid #a9cddd;border-radius:6px;background:#f4fafc;color:#126780;font-weight:650}
.renewed-workspace .worker-wage-toggle.active{background:#e1f2f8;border-color:#358da7}
.renewed-workspace main details.wage-reminder{background:#fff3f4;border-color:#efbcc5;color:#942537;border-radius:9px}
.renewed-workspace main details.wage-reminder>summary{background:#ffe8ed;border-color:#efc2cb;color:#9b2339}
.renewed-workspace .table tr.wage-absence-pending{background:#fff1f3}
.renewed-workspace .wage-absence-actions .btn{font-size:12px}
.renewed-workspace .mobile-nav-toggle{border-radius:7px;border-color:#d3dfec;background:white;color:#3a526f}
.renewed-workspace .mobile-brand-mark{background:#439db7;border-radius:6px;color:white}
.renewed-workspace .mobile-brand-home strong{color:#087792}
.renewed-workspace .mobile-user-greeting{color:#62758f}
.renewed-workspace .mobile-user-greeting strong{color:#075c78}
.renewed-workspace .mobile-alert-panel{border-color:var(--ui-line);border-radius:10px}
.workspace-caption{min-width:0;color:#6b819a;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Desktop reference: full-height navigation and accounts, session bar inside the right pane. */
@media(min-width:761px){
 .app-shell.renewed-workspace{--nav-width:180px;--account-width:248px;display:grid;grid-template-columns:var(--nav-width) var(--account-width) minmax(0,1fr);grid-template-rows:minmax(0,1fr);height:100dvh;min-height:0;overflow:hidden}
 .app-shell.renewed-workspace>.mobile-navigation{display:none}
 .renewed-workspace>.sidebar,.renewed-workspace>.context-panel,.renewed-workspace>main.content{grid-row:1;height:100dvh;top:0;min-height:0;overflow-y:auto}
 .renewed-workspace>.sidebar{grid-column:1;padding:0 8px}
 .renewed-workspace>.sidebar>.brand{display:grid;grid-template-columns:32px minmax(0,1fr);gap:3px 9px;min-height:80px;padding:12px 6px;border-color:var(--ui-line)}
 .renewed-workspace>.sidebar .brand-mark{width:32px;height:32px;font-size:22px;line-height:32px;align-self:center;grid-column:1;grid-row:1}
 .renewed-workspace>.sidebar .brand-name{grid-column:2;grid-row:1;height:auto;font-family:inherit;font-size:14px;line-height:1.05;align-self:center}
 .renewed-workspace>.sidebar .brand-small,.renewed-workspace>.sidebar .brand-site{font-family:inherit;font-size:9px;letter-spacing:.025em;color:#6e8894}
 .renewed-workspace>.sidebar .mobile-session-action{display:none}
 .renewed-workspace>.context-panel{grid-column:2;position:relative;background:#fff}
 .renewed-workspace>main.content{grid-column:3;--compact-title-top:48px}
 .renewed-workspace .topbar,.renewed-workspace .account-detail-content>.topbar{display:flex;position:sticky;top:0;z-index:45;height:48px;min-height:48px;flex-shrink:0;flex-direction:row;align-items:center;justify-content:space-between;margin-bottom:0;background:#fff;padding-top:0;padding-bottom:0;gap:8px}
 .renewed-workspace .topbar .crumb{font-size:11px;min-width:0;white-space:normal}
 .renewed-workspace .top-actions{display:flex;flex-wrap:nowrap;gap:8px;align-items:center;flex-shrink:0}
 .renewed-workspace .topbar .user-name{display:inline;color:#173d4d;font-weight:600;font-size:12px}
 .renewed-workspace .topbar .online-account{display:flex;flex-wrap:nowrap;align-items:center;gap:8px}
 .renewed-workspace .topbar :is([data-online-refresh],[data-staff-refresh]){background:#deeff4;color:#2b6d80;border:0;border-radius:5px;padding:5px 9px;font-size:11px;font-weight:600;min-height:28px}
 .renewed-workspace .topbar :is([data-online-logout],[data-staff-logout]){background:#fff2f1;color:#c7352d;border:0;border-radius:5px;padding:5px 9px;font-size:11px;font-weight:600;min-height:28px}
 .renewed-workspace .topbar .notification-bell{background:#f5f9fa;border:0;border-radius:5px;color:#557685}
 .renewed-workspace .compact-page-title{top:48px}
 .renewed-workspace .staff-page-head{top:48px}
 .renewed-workspace main.content .table thead th{top:calc(var(--compact-title-height,0px) + var(--compact-title-top,48px))}
 .renewed-workspace .page-head{margin:12px 0;min-height:74px;border:1px solid var(--ui-line);border-radius:8px;padding:14px;background:#fff}
 .renewed-workspace .page-head h1{font-size:21px;color:#173d4d;font-weight:700;letter-spacing:-.025em}
 .renewed-workspace .page-head .eyebrow{font-size:10px;font-weight:700;letter-spacing:.06em}
 .renewed-workspace .page-head .page-head-actions>.account-menu-button{background:white;color:#2c4855;border-color:#d5dfe3}
 .renewed-workspace .page-head-actions>[data-insurance-open]{background:#439db7;border-color:#439db7;color:white}
 .renewed-workspace .account-detail-content>.back-link{margin:0 -22px;padding:9px 22px;background:#fff;border:0;border-bottom:1px solid #e3ebef;border-radius:0;color:#439db7;font-size:12px}
 .renewed-workspace .entry-dock{background:white;border-top:1px solid #dbe4e8;box-shadow:0 -3px 15px #173d4d0a;padding:10px 16px 9px}
 .renewed-workspace .entry-dock .entry-hint{font-size:10px;margin:2px 0 0;line-height:1.5}
 .renewed-workspace .entry-dock .entry-expense{background:white;color:#c7352d;border:1px solid #e03c3180}
 .renewed-workspace .entry-dock .entry-expense:hover{background:#fff3f2}
 .renewed-workspace .entry-dock.worker-wage-mode .entry-expense,.renewed-workspace .entry-dock[data-wage=true] .entry-expense{background:#c13c33;color:#fff;border-color:#c13c33}
}
@media(min-width:1280px){.app-shell.renewed-workspace{--nav-width:230px;--account-width:280px}}
@media(min-width:761px) and (max-width:1100px){
 /* Give navigation readable words while retaining the account list and a flexible ledger pane. */
 .app-shell.renewed-workspace{--nav-width:clamp(144px,16.6667vw,160px);--account-width:212px}
 .renewed-workspace>.sidebar{padding:7px}
 .renewed-workspace .nav>:is(button,a[data-workspace-link]){padding:8px 6px;font-size:12px;gap:6px;min-width:0;white-space:normal;overflow-wrap:normal;word-break:normal}
 .renewed-workspace .nav>:is(button,a[data-workspace-link]):has(>.upcoming-warning,>.nav-wage-warning){column-gap:4px;overflow-wrap:normal}
 .renewed-workspace .context-item{padding:11px 9px}
 .renewed-workspace .context-name,.renewed-workspace .context-amount{font-size:15px}
 .renewed-workspace .context-item.active{padding:10px 8px}
 .renewed-workspace .context-item.active::before{left:2px;width:4px;height:4px}
 .renewed-workspace>main.content{padding-left:14px;padding-right:14px}
 .renewed-workspace .page-head{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}
 .renewed-workspace .entry-dock{margin-left:-14px;margin-right:-14px;width:calc(100% + 28px)}
}
/* Card presentation is driven by the width of the ledger pane, not device names. */
@container account-pane (max-width:780px){
 .renewed-workspace .responsive-ledger{border-collapse:separate;border-spacing:0}
 .renewed-workspace .responsive-ledger tbody{padding:8px 0}
 .renewed-workspace .responsive-ledger tbody tr.ledger-card-ready{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0 0 12px;padding:14px 15px;background:#fff;border:1px solid #e0e8f1;border-left:3px solid #2897b5;border-radius:12px;box-shadow:0 2px 4px #284d6b05}
 .renewed-workspace .responsive-ledger tbody tr.ledger-card-ready>td.ledger-description{display:block!important;grid-column:1;grid-row:1;width:auto;min-width:0;padding:0;border:0;font-size:13px;line-height:1.6;white-space:normal}
 .renewed-workspace .responsive-ledger tbody tr.ledger-card-ready>td:is(.ledger-amount,.ledger-balance){display:none!important}
 .renewed-workspace .ledger-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;margin-bottom:8px;line-height:1.4}
 .renewed-workspace .ledger-card-date{font-size:11px;color:#647c99;padding-top:2px;font-weight:550;min-width:0}
 .renewed-workspace .ledger-card-sums{display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex:none;max-width:62%;font-variant-numeric:tabular-nums;text-align:right}
 .renewed-workspace .ledger-card-sums .ledger-card-amount{font-size:15px;font-weight:700;line-height:1.3;color:#214664;overflow-wrap:anywhere}
 .renewed-workspace .ledger-card-balance{color:#72839a;font-size:11px;white-space:normal;overflow-wrap:anywhere}
 .renewed-workspace .ledger-card-balance b{color:#324d6d;font-size:12px;font-weight:700}
 .renewed-workspace .ledger-date-copy{display:none!important}
 .renewed-workspace .ledger-mobile-meta{font-size:12px;line-height:1.5;color:#6a7f96;margin-bottom:5px}
 .renewed-workspace .responsive-ledger .desktop-hours{display:inline}
 .renewed-workspace .responsive-ledger .work-description{display:block;min-width:0;max-width:none;font-size:12px;margin-top:5px;line-height:1.7}
 .renewed-workspace .movement-actions{border-top:1px solid #edf1f6;margin-top:12px;padding-top:9px;gap:10px 16px;line-height:1.3}
 .renewed-workspace .movement-actions button{font-size:12px;min-height:30px;padding:3px 0}
 .renewed-workspace .movement-actions :is([data-movement-action=delete],[data-saving-action=delete],[data-staff-delete]){margin-left:auto}
 .renewed-workspace .responsive-ledger tbody tr.wage-absence-pending{background:#fff3f5;border-color:#efc5ce;border-left-color:#cf3a51}
 .renewed-workspace .responsive-ledger tbody tr.absence-row:not(.wage-absence-pending){background:#f4f7fa;border-left-color:#a8b8c9}
 .renewed-workspace .responsive-ledger tbody tr:has(.recently-edited){background:#fff9ec!important;border-color:#ead8b4}
 .renewed-workspace .responsive-ledger tfoot tr{border-radius:7px;padding:11px 12px}
 .renewed-workspace .responsive-ledger tfoot td:is(.ledger-total-label,.ledger-total-value){padding:0;border-top:0;white-space:normal;overflow-wrap:anywhere}
 .renewed-workspace .responsive-ledger .project-report-cell{grid-column:1;grid-row:auto;margin-top:6px}
 .renewed-workspace .ledger-mobile-filters{padding:8px 0;gap:6px}
}
@media(max-width:760px), (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (max-width:1100px){
 .app-shell.renewed-workspace{display:block;height:auto;min-height:100dvh;overflow-x:clip}
 .app-shell.renewed-workspace>.mobile-navigation{position:sticky;top:0;display:grid;grid-template-columns:minmax(70px,1fr) auto minmax(0,1fr);grid-template-rows:1fr;height:62px;min-height:62px;padding:7px 12px;background:#fff;border-bottom:1px solid var(--ui-line);gap:5px;z-index:92}
 .renewed-workspace>.mobile-navigation>.mobile-nav-toggle{display:block;grid-column:1;grid-row:1;width:36px;min-height:34px;height:34px;justify-self:start;font-size:21px}
 .renewed-workspace>.mobile-navigation>.mobile-brand-home{grid-column:2;grid-row:1;justify-self:center;gap:5px}
 .renewed-workspace>.mobile-navigation>.mobile-brand-home .mobile-brand-mark{width:26px;height:30px;font-size:24px}
 .renewed-workspace>.mobile-navigation>.mobile-brand-home strong{font-size:11px;line-height:1.05;text-align:left}
 .renewed-workspace>.mobile-navigation>.mobile-user-greeting{display:block;grid-column:3;grid-row:1;font-size:9px;max-height:38px;text-align:right}
 .renewed-workspace>.mobile-navigation>.mobile-user-greeting strong{font-size:10px;-webkit-line-clamp:2}
 .renewed-workspace>.mobile-navigation>.mobile-notification-control{grid-column:1;grid-row:1;margin-left:40px;justify-self:start}
 .renewed-workspace>.mobile-navigation>.workspace-caption{display:none}
 .renewed-workspace>.sidebar{height:auto;overflow-y:auto}
 .renewed-workspace.mobile-nav-open>.sidebar{padding:8px;top:62px;bottom:0;height:auto;z-index:91;padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}
 .renewed-workspace.mobile-nav-open>.sidebar .nav>:is(button,a[data-workspace-link]){min-height:34px;font-size:12px}
 .renewed-workspace .nav-label{padding:11px 8px 5px}
 .renewed-workspace.mobile-accounts>.context-panel{height:calc(100dvh - 62px);max-height:none;background:#fbfcfe;padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}
 .renewed-workspace>main.content{padding:0 14px calc(22px + env(safe-area-inset-bottom,0px));height:auto;overflow:visible;--compact-title-top:62px}
 .renewed-workspace .topbar{margin-left:-14px;margin-right:-14px}
 .renewed-workspace .page-head{background:#439db7;color:white;padding:10px 14px;min-height:58px;margin:0 -14px 10px;border-bottom:0;gap:8px}
 .renewed-workspace .page-head :is(h1,p,.eyebrow){color:white}
 .renewed-workspace .page-head h1{font-size:17px;font-weight:700}
 .renewed-workspace .page-head p{font-size:11px;line-height:1.4}
 .renewed-workspace .page-head .eyebrow{display:none}
 .renewed-workspace .compact-page-title .compact-title-content{background:#1886a1;color:white;min-height:52px;padding:8px 10px;border-bottom:0;gap:7px}
 .renewed-workspace .compact-title-name{font-size:14px;gap:7px}
 .renewed-workspace .compact-title-name>.account-return{font-size:11px;padding:5px 7px;background:#f3fbfd;max-width:140px}
 .renewed-workspace .workspace-balance-summary{font-size:11px;line-height:1.5;color:white!important;border-color:#ffffff50;padding-left:7px;margin-left:auto}
 .renewed-workspace .page-head-actions{display:flex;flex-wrap:wrap;gap:5px}
 .renewed-workspace .page-head-actions>.btn,.renewed-workspace .compact-page-title .btn{height:29px;min-height:29px;font-size:10px;padding:5px 8px;border-radius:4px;border-color:#c8e4ed;background:#f3fbfd;color:#155e78;white-space:normal}
 .renewed-workspace .page-head-actions>.account-menu-button{background:#f3fbfd;color:#155e78}
 .renewed-workspace .account-summary-metrics{display:none}
 .renewed-workspace .section-head{margin-top:10px}
 .renewed-workspace .context-heading{padding-top:11px;padding-bottom:11px}
 .renewed-workspace .context-search{top:40px}
 .renewed-workspace .entry-dock{position:static;margin:18px -14px 0;width:calc(100% + 28px);max-width:calc(100% + 28px);padding:14px 14px calc(16px + env(safe-area-inset-bottom,0px));box-shadow:none;border-top:1px solid #dce5ef;border-radius:0;background:#f4f7fb}
 .renewed-workspace .entry-dock .entry-hint{font-size:10px;line-height:1.5}
 .renewed-workspace .entry-dock .field label{font-size:11px}
 .renewed-workspace .entry-dock .entry-actions>.btn{font-size:12px;min-height:36px}
 .renewed-workspace .ledger-running-label{font-size:11px;padding-left:0;padding-right:0;color:#627794}
 .renewed-workspace .responsive-ledger tbody tr.ledger-card-ready{padding:12px;margin-bottom:12px}
 .renewed-workspace .card,.renewed-workspace .form-card{padding:12px}
 .renewed-workspace .table-wrap{padding:0}
 .renewed-workspace .staff-page-head{top:62px}
}
@media(hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (max-width:1100px){
 .app-shell.renewed-workspace>.mobile-navigation{height:52px;min-height:52px;padding-top:4px;padding-bottom:4px}
 .renewed-workspace.mobile-accounts>.context-panel{height:calc(100dvh - 52px)}
 .renewed-workspace>main.content{--compact-title-top:52px;padding-bottom:calc(65px + env(safe-area-inset-bottom,0px))}
 .renewed-workspace.mobile-nav-open>.sidebar{top:52px}
 .renewed-workspace .staff-page-head{top:52px}
 .renewed-workspace .landscape-entry-dock.entry-dock{position:fixed;margin:0!important;width:auto!important;max-width:none!important}
 .renewed-workspace .ledger-mobile-filters{top:calc(var(--compact-title-height,0px) + 52px)}
}
@media(prefers-reduced-motion:reduce){.renewed-workspace :is(button,.btn,.context-item){transition:none}}
@media print{
 .renewed-workspace .ledger-card-heading,.renewed-workspace>.mobile-navigation,.renewed-workspace .workspace-balance-summary{display:none!important}
 .app-shell.renewed-workspace{display:block;height:auto;overflow:visible}
 .renewed-workspace>main.content{height:auto;overflow:visible;background:white}
 .renewed-workspace .responsive-ledger{display:table!important}
 .renewed-workspace .responsive-ledger tbody{display:table-row-group!important}
 .renewed-workspace .responsive-ledger tbody tr.ledger-card-ready{display:table-row!important;border:0;box-shadow:none}
 .renewed-workspace .responsive-ledger tbody tr.ledger-card-ready>td:is(.ledger-description,.ledger-amount,.ledger-balance){display:table-cell!important}
 .renewed-workspace .responsive-ledger thead{display:table-header-group!important}
}
/* Native control sizing stays common; short labels also fit intermediate tablet panes. */
@container account-pane (max-width:780px){
 .renewed-workspace .worker-wage-toggle .wage-toggle-label{display:none}
 .renewed-workspace .worker-wage-toggle .wage-toggle-short{display:inline}
}
@media(hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (max-width:1100px){
 .renewed-workspace>main.content{padding-left:calc(14px + env(safe-area-inset-left,0px));padding-right:calc(14px + env(safe-area-inset-right,0px))}
}
.renewed-workspace .worker-account-view .account-summary-metrics{grid-template-columns:minmax(0,340px)}
.renewed-workspace .worker-account-view .account-summary-metrics>.metric:not(:last-child){display:none}
.ledger-card-amount-note{font-size:11px;line-height:1.5;color:#6a7f96;font-weight:400;max-width:100%;overflow-wrap:anywhere}
/* Match live iOS input typography in the standalone demos as well. */
@media(max-width:1024px),(any-pointer:coarse){
 .renewed-workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select){font-size:16px!important}
}
/* Two composer rows on wide screens; preserve DOM/Tab order on every screen. */
.renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock .dock-primary-row{grid-row:1}
.renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock .dock-options-row{grid-row:2}
.renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock>.entry-actions{grid-row:1/3}
@container account-pane (max-width:780px){
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock>.entry-actions{grid-row:3}
}
@media(max-width:760px), (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (max-width:1100px){
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock>.entry-actions{grid-row:3}
}

/* Preserve the existing phone navigation when a wide phone is rotated. */
@media(max-width:760px), (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (max-width:1100px){
 .renewed-workspace .account-detail-content>.topbar{display:none}
 .renewed-workspace .compact-page-title{top:62px}
}
@media(hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (max-width:1100px){
 .renewed-workspace .compact-page-title{top:52px}
}
@media(min-width:761px){
 .renewed-workspace .topbar .notification-panel{position:fixed;left:auto;right:16px;top:54px;width:min(360px,calc(100cqw - 32px));max-width:calc(100vw - 32px);max-height:70dvh;overflow:auto}
 .renewed-workspace .ledger-kind-tag,.renewed-workspace .ledger-kind-tag.ledger-kind-wage{background:none;border:0;padding:0;color:#e03c31!important;font-size:12px}
 .renewed-workspace .ledger-kind-tag.ledger-kind-payment{background:none;border:0;color:#1d9e56!important}
}
/* Compact two-line desktop composer from the supplied reference; fields remain real controls. */
@container account-pane (min-width:781px){
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock{grid-template-columns:minmax(0,1fr) 144px;gap:8px 10px}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock .dock-options-row{gap:6px}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock:not([data-schedule-mode=repeat]) .dock-options-row:not(:has(details[open],[data-vehicle-fields]:not([hidden]))){flex-wrap:nowrap}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock .dock-options-row>.field{flex:1 1 0;min-width:0}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock .dock-options-row>.datetime-field{flex:0 0 164px;min-width:0}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock .schedule-controls{flex:0 0 90px}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock .schedule-modes button{width:30px}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock .field>label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock .smart-select-trigger{font-size:11px;padding-right:24px;padding-left:7px}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock input[type=datetime-local]{font-size:12px;padding-left:7px;padding-right:4px}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock[data-schedule-mode=repeat] .dock-options-row{flex-wrap:wrap}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock[data-schedule-mode=repeat] .schedule-controls{flex-basis:100%}
}
/* The reference's outlined icons and thin scrollbars, without an external icon runtime. */
.renewed-workspace :is(.sidebar,.context-panel,main.content,.smart-select-list){scrollbar-width:thin;scrollbar-color:#cfd9de transparent}
.renewed-workspace ::-webkit-scrollbar{width:5px;height:5px}
.renewed-workspace ::-webkit-scrollbar-track{background:transparent}
.renewed-workspace ::-webkit-scrollbar-thumb{background:#cfd9de;border-radius:4px}
.renewed-workspace ::-webkit-scrollbar-thumb:hover{background:#aab8bf}
.renewed-workspace .workspace-tool-icon{display:inline-block;width:14px;height:14px;flex:0 0 14px;vertical-align:middle}
.renewed-workspace .page-head-actions>.btn{display:inline-flex;align-items:center;justify-content:center;gap:5px}
.renewed-workspace .tool-excel{color:#1d9e56}
.renewed-workspace .tool-pdf{color:#c7352d}
.renewed-workspace .responsive-ledger .detail-link[data-open-project]{display:inline-block;background:#e8f3ee;color:#196b43;border-radius:4px;padding:1px 5px;line-height:1.5}
.renewed-workspace .responsive-ledger .detail-link[data-open-account]{display:inline-block;background:#eff4f6;color:#173d4d;border-radius:4px;padding:1px 5px;line-height:1.5}
@media(max-width:760px), (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (max-width:1100px){
 .renewed-workspace .workspace-tool-icon{display:none}
}
.renewed-workspace :is(h1,h2,h3,.metric-value,.brand-name){font-family:inherit}
@media(min-width:761px){
 .renewed-workspace .topbar .user-name{max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .renewed-workspace .topbar .online-account{min-width:0}
}
@media(min-width:761px) and (max-width:1100px){
 .renewed-workspace .topbar .crumb{display:none}
 .renewed-workspace .topbar .top-actions{width:100%;justify-content:flex-end;min-width:0}
 .renewed-workspace .topbar .user-name{max-width:140px}
}
/* Shared account tools: warnings remain visible; actions move into a touch menu. */
.account-wide-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.account-mobile-actions{display:none}
@container account-pane (max-width:780px){
 .renewed-workspace .account-wide-actions{display:none}
 .renewed-workspace .account-mobile-actions{display:block;position:relative;margin-left:auto}
 .renewed-workspace .account-mobile-actions>summary{list-style:none;cursor:pointer;display:flex;align-items:center;min-height:30px}
 .renewed-workspace .account-mobile-actions>summary::-webkit-details-marker{display:none}
 .renewed-workspace .account-mobile-actions-panel{position:absolute;right:0;top:calc(100% + 5px);width:210px;max-width:calc(100vw - 28px);padding:7px;background:white;color:#173d4d;border:1px solid #cfdee5;border-radius:7px;box-shadow:0 6px 20px #173d4d20;z-index:80}
 .renewed-workspace .account-mobile-actions-panel>button{display:flex;align-items:center;gap:6px;width:100%;min-height:36px;height:auto;text-align:left;border:0;border-radius:4px;background:white;color:#176d85;padding:8px;font-size:12px}
 .renewed-workspace .account-mobile-actions-panel>button:hover{background:#edf6fa}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock .dock-options-row{gap:8px;flex-wrap:wrap}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock .dock-options-row>.schedule-controls{flex:0 0 84px;min-width:0}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock .schedule-modes button{width:28px}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock .dock-options-row>.datetime-field{flex:1 1 calc(100% - 92px);min-width:0;max-width:none}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock .datetime-field input{font-size:13px!important;padding:5px 7px;min-width:0;width:100%}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock .dock-options-row>.field:not(.datetime-field){flex:1 1 calc(50% - 8px);min-width:0}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock[data-schedule-mode=repeat] .dock-options-row>.schedule-controls{flex-basis:100%}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock[data-schedule-mode=repeat] .dock-options-row>.datetime-field{flex-basis:100%}
 .renewed-workspace .entry-dock .entry-hint{display:none}
 .renewed-workspace .compact-title-name{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(80px,max-content);gap:6px;flex-basis:100%;min-width:0;width:100%}
 .renewed-workspace .compact-title-name>.account-return{max-width:100px;white-space:normal}
 .renewed-workspace .compact-title-name>.workspace-balance-summary{max-width:145px;min-width:0;white-space:normal;overflow-wrap:anywhere;font-size:10px;padding-left:5px;margin-left:0}
 .renewed-workspace .page-head-actions{width:100%;min-width:0}
}
/* Attach the wage toggle to the note without changing reading or Tab order. */
@container account-pane (max-width:780px){
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock.has-dock-wage .dock-primary-row{grid-template-columns:minmax(0,1fr) 64px minmax(80px,32%);column-gap:0}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock.has-dock-wage .dock-primary-row>.field:first-child textarea{border-top-right-radius:0;border-bottom-right-radius:0}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock.has-dock-wage .dock-wage-control button{border-top-left-radius:0;border-bottom-left-radius:0;border-left:0}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock.has-dock-wage .dock-primary-row>.field:last-child{margin-left:10px}
 .renewed-workspace .upcoming-warning{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex-shrink:0}
}

@media(max-width:760px), (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (max-width:1100px){
 .renewed-workspace .account-wide-actions{display:none}
 .renewed-workspace .account-mobile-actions{display:block;position:relative;margin-left:auto}
 .renewed-workspace .account-mobile-actions>summary{list-style:none;cursor:pointer;display:flex;align-items:center;min-height:30px}
 .renewed-workspace .account-mobile-actions>summary::-webkit-details-marker{display:none}
 .renewed-workspace .account-mobile-actions-panel{position:absolute;right:0;top:calc(100% + 5px);width:210px;max-width:calc(100vw - 28px);padding:7px;background:white;color:#173d4d;border:1px solid #cfdee5;border-radius:7px;box-shadow:0 6px 20px #173d4d20;z-index:80}
 .renewed-workspace .account-mobile-actions-panel>button{display:flex;align-items:center;gap:6px;width:100%;min-height:36px;height:auto;text-align:left;border:0;border-radius:4px;background:white;color:#176d85;padding:8px;font-size:12px}
 .renewed-workspace .account-mobile-actions-panel>button:hover{background:#edf6fa}

 .renewed-workspace .entry-dock .entry-hint{display:none}
}
.account-wide-actions>.btn{display:inline-flex;align-items:center;justify-content:center;gap:5px}
/* Financial summaries must take part in layout, never overflow into neighbouring groups. */
.renewed-workspace .compact-page-title .compact-title-content{align-items:center;flex-wrap:wrap}
.renewed-workspace .compact-title-name{flex:1 1 260px;flex-wrap:wrap;min-width:0;max-width:100%}
.renewed-workspace .compact-title-name>.workspace-balance-summary{flex:0 1 auto;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.renewed-workspace .compact-project-metrics{flex:0 1 auto;min-width:0;max-width:100%;align-items:center;gap:6px 12px}
.renewed-workspace .compact-project-metrics>span{min-width:0;max-width:100%;overflow-wrap:anywhere}
.renewed-workspace .compact-project-metrics>.workspace-balance-summary{margin:0;padding:0;border:0;white-space:normal;font-size:12px;flex:0 0 auto}
.renewed-workspace .compact-page-title .page-head-actions{min-width:0;max-width:100%}
@container account-pane (max-width:780px){
 .renewed-workspace .compact-title-name{flex-basis:100%}
 .renewed-workspace .compact-title-name>.workspace-balance-summary{grid-column:3;grid-row:1}
 .renewed-workspace .compact-project-metrics{flex-basis:100%;font-size:12px}
}
@container account-pane (max-width:780px){
 .renewed-workspace .compact-title-name:not(:has(>.workspace-balance-summary)){grid-template-columns:auto minmax(0,1fr)}
}
/* Project entry is part of the ledger; dialogs reuse the workspace palette. */
.renewed-workspace tr.project-inline-entry {display:table-row!important; background:#f3f8fb!important; border-top:2px solid var(--ui-brand,#439db7);}
.renewed-workspace tr.project-inline-entry>td {display:table-cell!important;padding:12px!important;white-space:normal!important;overflow:visible!important;}
.renewed-workspace .responsive-ledger-wrap:has(.project-inline-entry) {overflow:visible;}
.renewed-workspace .project-inline-form {position:static!important;inset:auto!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;align-items:start;}
.renewed-workspace .project-inline-grid {grid-column:1/-1;display:grid;grid-template-columns:minmax(272px,max-content) minmax(100px,.9fr) minmax(110px,.9fr) minmax(110px,1fr) minmax(150px,1.7fr) minmax(95px,.8fr);gap:8px;align-items:start;}
.renewed-workspace .project-inline-grid>.field {min-width:0;margin:0;display:flex;flex-direction:column;gap:5px;}
.renewed-workspace .project-inline-grid input,.renewed-workspace .project-inline-grid select,.renewed-workspace .project-inline-grid .smart-select-trigger {width:100%;min-width:0;height:36px;box-sizing:border-box;}
.renewed-workspace .project-inline-grid .schedule-controls {margin:0;padding:0;border:0;min-width:0;}
.renewed-workspace .project-inline-grid .schedule-controls legend {display:none;}
.renewed-workspace .project-inline-grid .schedule-modes button {height:26px;min-height:26px;}
.renewed-workspace .project-inline-form>.entry-actions {grid-column:2;grid-row:2;display:flex!important;flex-direction:row!important;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:0;width:auto!important;}
.renewed-workspace .project-inline-form>.entry-actions>.btn {min-width:110px;min-height:34px;height:auto;}
.renewed-workspace .project-inline-form.project-inline-batch>.entry-actions {display:none!important;}
.renewed-workspace .project-batch-open {align-self:flex-start;min-height:22px;line-height:1.25;padding:3px 7px;white-space:normal;font-size:11px;}
.renewed-workspace .batch-selected-names {max-height:60px;overflow:auto;overflow-wrap:anywhere;font-size:10px;}
.renewed-workspace .project-batch-backdrop {position:fixed;inset:0;z-index:1200;background:#173d4d66;display:flex;align-items:center;justify-content:center;padding:16px;overscroll-behavior:contain;}
.renewed-workspace .project-batch-dialog {display:flex;flex-direction:column;width:min(1150px,100%);max-height:calc(100dvh - 32px);min-height:0;overflow:hidden;border:1px solid #d5e3ec;border-radius:12px;background:#f7fafc;box-shadow:0 18px 64px #173d4d44;box-sizing:border-box;}
.renewed-workspace .project-batch-dialog>header {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:white;border-bottom:1px solid #dce7ef;flex-shrink:0;}
.renewed-workspace .project-batch-dialog h2 {font-size:18px;margin:0 0 5px;}
.renewed-workspace .project-batch-dialog>header>div {min-width:0;overflow-wrap:anywhere;}
.renewed-workspace .batch-dialog-body {overflow:auto;overscroll-behavior:contain;padding:16px;min-height:0;}
.renewed-workspace .batch-dialog-body>.batch-field {margin-bottom:12px;}
.renewed-workspace .batch-field {display:flex;flex-direction:column;min-width:0;gap:5px;font-size:12px;font-weight:500;}
.renewed-workspace .batch-field input,.renewed-workspace .batch-field select {height:36px;min-height:36px;min-width:0;width:100%;padding:6px 8px;border:1px solid #c8d9e5;border-radius:5px;background:white;font:inherit;color:inherit;box-sizing:border-box;}
.renewed-workspace .batch-field input:focus,.renewed-workspace .batch-field select:focus {outline:2px solid #439db755;border-color:#439db7;}
.renewed-workspace .batch-field input[readonly] {background:#edf3f6;color:#627c89;}
.renewed-workspace .batch-field input[aria-invalid="true"] {border-color:var(--ui-danger);}
.renewed-workspace .batch-card-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.renewed-workspace .batch-person-card {min-width:0;background:white;border:1px solid #d8e4ed;border-radius:10px;padding:12px;}
.renewed-workspace .batch-person-card.selected {border-color:#439db7;box-shadow:0 0 0 1px #439db7;}
.renewed-workspace .batch-person-card[hidden],.renewed-workspace .batch-worker-empty[hidden] {display:none;}
.renewed-workspace .batch-worker-search small {font-size:11px;color:#617d91;}
.renewed-workspace .insurance-action-buttons .btn[data-insurance-action] {background:var(--ssk-bg);color:var(--ssk-ink);border:1px solid var(--ssk-border);box-shadow:none;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease;}
.renewed-workspace .insurance-action-buttons [data-insurance-action="entry"] {--ssk-bg:#edf7f1;--ssk-ink:#246a46;--ssk-border:#bddcc9;--ssk-active:#dcefe3;}
.renewed-workspace .insurance-action-buttons [data-insurance-action="exit"] {--ssk-bg:#fbefef;--ssk-ink:#a34444;--ssk-border:#e8c3c3;--ssk-active:#f5dddd;}
.renewed-workspace .insurance-action-buttons [data-insurance-action="transfer"] {--ssk-bg:#edf4fb;--ssk-ink:#286695;--ssk-border:#bfd5e8;--ssk-active:#dcebf8;}
.renewed-workspace .insurance-action-buttons .btn[data-insurance-action][aria-expanded="true"] {background:var(--ssk-active);border-color:var(--ssk-ink);box-shadow:inset 0 0 0 1px var(--ssk-ink);}
@media(hover:hover){.renewed-workspace .insurance-action-buttons .btn[data-insurance-action]:not(:disabled):hover {background:var(--ssk-active);border-color:var(--ssk-ink);box-shadow:0 0 0 2px color-mix(in srgb,var(--ssk-ink) 18%,transparent);transform:none;}}
.renewed-workspace .insurance-action-buttons .btn[data-insurance-action]:focus-visible {outline:2px solid var(--ssk-ink);outline-offset:3px;}
.renewed-workspace .batch-card-choice {display:flex;align-items:center;gap:8px;margin-bottom:5px;overflow-wrap:anywhere;}
.renewed-workspace .batch-card-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0;}
.renewed-workspace .batch-card-fields>.batch-field:last-child,.renewed-workspace .batch-card-fields>.batch-field:has(select) {grid-column:1/-1;}
.renewed-workspace .batch-check {display:flex;align-items:center;gap:6px;}
.renewed-workspace .batch-check input,.renewed-workspace .batch-card-choice input {width:17px;height:17px;flex-shrink:0;accent-color:#16849e;}
.renewed-workspace .batch-card-warning {font-size:11px;color:#a96718;background:#fff6df;padding:6px;border-radius:5px;}
.renewed-workspace .batch-person-card>output {font-size:12px;font-weight:600;display:block;overflow-wrap:anywhere;}
.renewed-workspace .batch-material-head,.renewed-workspace .batch-material-row {display:grid;grid-template-columns:minmax(180px,2.5fr) minmax(65px,.8fr) minmax(75px,1fr) minmax(95px,1.1fr) minmax(65px,.7fr) minmax(125px,1.2fr) 32px;gap:8px;align-items:center;}
.renewed-workspace .batch-material-head {font-size:11px;font-weight:700;padding:8px;background:#eaf3f8;}
.renewed-workspace .batch-material-row {padding:8px;border-bottom:1px solid #dde7ef;background:white;}
.renewed-workspace .batch-material-row .batch-field>span {display:none;}
.renewed-workspace .batch-material-row output {text-align:right;font-size:12px;font-weight:600;overflow-wrap:anywhere;}
.renewed-workspace .project-batch-dialog>footer {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0;background:white;border-top:1px solid #dce7ef;padding:12px 16px;}
.renewed-workspace .project-batch-dialog>footer>div {display:flex;gap:8px;}
.renewed-workspace .batch-error {width:100%;margin:0;color:#c5342e;font-size:12px;}
.renewed-workspace .batch-error:empty {display:none;}
.renewed-workspace .project-batch-dialog>footer>strong {min-width:0;overflow-wrap:anywhere;font-size:12px;line-height:1.6;}
.renewed-workspace .staff-material-fields {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0;}
@media (max-width:1550px) {
 .renewed-workspace .project-inline-grid {grid-template-columns:repeat(4,minmax(0,1fr));}
 .renewed-workspace .project-inline-grid>[data-inline-field="description"] {grid-column:span 2;}
}
@media (max-width:1100px) {
 .renewed-workspace .project-inline-form {grid-template-columns:minmax(0,1fr);gap:8px;}
 .renewed-workspace .project-inline-form>.entry-actions {grid-column:1;grid-row:2;}
 .renewed-workspace .project-inline-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .renewed-workspace .project-inline-grid>[data-inline-field="description"] {grid-column:auto;}
 .renewed-workspace .batch-card-list {grid-template-columns:repeat(2,minmax(0,1fr));}
 .renewed-workspace .batch-material-head {display:none;}
 .renewed-workspace .batch-material-row {grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #d8e4ed;border-radius:8px;margin-bottom:10px;}
 .renewed-workspace .batch-material-row .batch-field>span {display:block;}
 .renewed-workspace .batch-material-row>.batch-field:first-child {grid-column:span 2;}
 .renewed-workspace .batch-material-row>output {grid-column:span 2;text-align:left;}
}
@media (min-width:761px) and (max-width:1100px) {
 .renewed-workspace .project-inline-grid [data-inline-field="workReportId"] .smart-select-menu,
 .renewed-workspace .project-inline-grid [data-inline-field="directionId"] .smart-select-menu {left:auto;right:0;}
}
@media (max-width:760px),(max-height:500px) and (pointer:coarse) {
 .renewed-workspace tr.project-inline-entry,.renewed-workspace tr.project-inline-entry>td {display:block!important;width:100%!important;box-sizing:border-box;}
 .renewed-workspace tr.project-inline-entry>td::before {display:none!important;}
 .renewed-workspace .project-inline-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .renewed-workspace .project-inline-grid .schedule-controls {display:none;}
 .renewed-workspace .project-inline-grid [data-inline-field="date"] {grid-column:1/-1;}
 .renewed-workspace .project-inline-grid [data-inline-field="category"] .smart-select-menu {left:auto;right:0;}
 .renewed-workspace .project-inline-grid [data-inline-field="workReportId"] .smart-select-menu,
 .renewed-workspace .project-inline-grid [data-inline-field="directionId"] .smart-select-menu {left:0;right:auto;}
 .renewed-workspace .project-inline-form>.entry-actions>.btn {flex:1;min-width:0;font-size:11px;}
 .renewed-workspace .project-batch-backdrop {padding:8px;padding-bottom:max(8px,env(safe-area-inset-bottom));}
 .renewed-workspace .project-batch-dialog {max-height:calc(100dvh - 16px - env(safe-area-inset-bottom));border-radius:9px;}
 .renewed-workspace .batch-card-list {grid-template-columns:minmax(0,1fr);}
 .renewed-workspace .batch-dialog-body {padding:10px;}
 .renewed-workspace .project-batch-dialog>header {padding:10px;}
 .renewed-workspace .project-batch-dialog>footer {padding:10px;font-size:12px;}
 .renewed-workspace .project-batch-dialog>footer>div {width:100%;}
 .renewed-workspace .project-batch-dialog>footer .btn {flex:1;min-width:0;}
 .renewed-workspace .batch-material-row {grid-template-columns:repeat(2,minmax(0,1fr));}
 .renewed-workspace .batch-material-row>output {grid-column:auto;}
 .renewed-workspace .batch-material-row>.batch-field:first-child {grid-column:1/-1;}
}
@media (max-height:500px) {
 .renewed-workspace .project-batch-dialog>header {padding:6px 10px;}
 .renewed-workspace .project-batch-dialog h2 {font-size:14px;}
 .renewed-workspace .project-batch-dialog>footer {padding:6px 10px;}
}
@media print {
 .renewed-workspace tr.project-inline-entry,.renewed-workspace .project-batch-backdrop {display:none!important;}
}
.renewed-workspace .project-net-ledger .project-cost-amount.negative {color:var(--ui-danger)!important;}
.renewed-workspace .project-net-ledger :is(.project-cumulative,.ledger-balance) {font-weight:700;}
.renewed-workspace .project-net-ledger .ledger-total-label {text-align:left;}
.renewed-workspace .special-entry-tag {display:inline-block;padding:3px 8px;border:1px solid #439db7;border-radius:6px;background:#f1fafd;color:#176f87;font-size:11px;font-weight:600;line-height:1.4;}
.renewed-workspace .smart-select-option.special-entry-option {border:1px solid #439db7;border-radius:6px;background:#f1fafd;margin:3px 0;font-weight:600;}
.renewed-workspace .smart-select-option.special-entry-option:is(:hover,:focus,[aria-selected="true"]) {background:#deeff4;border-color:#16849e;}
.renewed-workspace .smart-select-trigger.special-entry-trigger {border-color:#439db7;background:#f1fafd;color:#176f87;font-weight:600;}
.renewed-workspace .project-bulk-check {width:17px;height:17px;min-width:17px;vertical-align:middle;margin:0 7px 0 0;accent-color:#16849e;cursor:pointer;}
.renewed-workspace .project-bulk-check:disabled {cursor:not-allowed;opacity:.4;}
.renewed-workspace .project-bulk-toolbar {position:sticky;top:calc(var(--compact-title-height,0px) + var(--compact-title-top,48px));z-index:35;display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:8px 10px;margin-bottom:6px;border:1px solid #b8dce8;border-radius:6px;background:#edf8fc;box-shadow:0 2px 5px #173d4d0c;}
.renewed-workspace .project-bulk-toolbar[hidden] {display:none;}
.renewed-workspace .project-bulk-toolbar>strong {font-size:12px;margin-right:auto;}
.renewed-workspace .project-bulk-toolbar>.btn {font-size:11px;min-height:30px;white-space:normal;}
.renewed-workspace .project-bulk-selected {box-shadow:inset 3px 0 #16849e;}
.renewed-workspace .account-detail-content {overflow-anchor:none;}
@media(min-width:761px) {
 .renewed-workspace>main.account-detail-content {scrollbar-gutter:stable;}
}
.renewed-workspace main.content:has(.project-bulk-toolbar:not([hidden])) .responsive-ledger thead th,
.renewed-workspace main.content:has(.project-bulk-toolbar:not([hidden])) .ledger-mobile-filters {top:calc(var(--compact-title-height,0px) + var(--compact-title-top,48px) + var(--project-bulk-height,48px));}
.renewed-workspace .project-bulk-editor {width:min(760px,100%);}
.renewed-workspace .project-bulk-edit-form {display:flex;flex-direction:column;min-height:0;overflow:hidden;}
.renewed-workspace .project-bulk-edit-form>footer {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding:12px 16px;border-top:1px solid #dce7ef;background:white;flex-shrink:0;}
.renewed-workspace .bulk-edit-fields {display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,1.3fr);align-items:center;gap:12px;}
.renewed-workspace .bulk-edit-fields .bulk-edit-hours-toggle {grid-column:1/-1;}
.renewed-workspace .bulk-edit-fields input:disabled {background:#edf2f5;color:#80939d;}
.renewed-workspace .project-bulk-records {margin-top:14px;font-size:12px;}
.renewed-workspace .project-bulk-records>summary {cursor:pointer;color:#227e9a;}
.renewed-workspace .project-bulk-records ul {list-style:none;margin:8px 0 0;padding:0;}
.renewed-workspace .project-bulk-records li {display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:9px 0;border-bottom:1px solid #dce7ef;overflow-wrap:anywhere;}
@container account-pane (max-width:780px) {
 .renewed-workspace tr.project-inline-entry,.renewed-workspace tr.project-inline-entry>td {display:block!important;width:100%!important;box-sizing:border-box;}
 .renewed-workspace .project-inline-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .renewed-workspace .project-inline-grid>[data-inline-field="description"] {grid-column:auto;}
}
@media(max-width:760px) {
 .renewed-workspace .bulk-edit-fields {grid-template-columns:minmax(0,1fr);gap:8px;}
 .renewed-workspace .project-bulk-toolbar>.btn {flex:1;min-width:0;}
 .renewed-workspace .project-bulk-toolbar>strong {width:100%;}
}
@media print {
 .renewed-workspace .project-bulk-toolbar,.renewed-workspace .project-bulk-check {display:none!important;}
}
/* Compact inline timing: labels expand sideways only after choosing a mode. */
.renewed-workspace .project-inline-timing {display:grid;grid-template-columns:minmax(150px,180px) max-content;align-items:end;gap:8px;min-width:0;}
.renewed-workspace .project-inline-timing>.field {grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:5px;min-width:0;margin:0;}
.renewed-workspace .project-inline-grid .project-inline-timing>.schedule-controls {display:block;grid-column:2;grid-row:1;min-width:0;width:auto;margin:0;padding:0;border:0;align-self:end;}
.renewed-workspace .project-inline-timing .schedule-controls legend {display:none;}
.renewed-workspace .project-inline-timing .schedule-modes button {width:auto;min-width:28px;height:36px;min-height:36px;padding:6px 7px;gap:0;font-size:14px;line-height:1;border-radius:0;}
.renewed-workspace .project-inline-timing .schedule-modes button:first-child {border-radius:5px 0 0 5px;}
.renewed-workspace .project-inline-timing .schedule-modes button:last-child {border-radius:0 5px 5px 0;}
.renewed-workspace .project-inline-timing .inline-mode-label {display:inline-block;max-width:0;opacity:0;overflow:hidden;white-space:nowrap;margin-left:0;font-size:11px;line-height:1.3;transition:max-width .18s ease,opacity .15s ease,margin-left .18s ease;}
.renewed-workspace .project-inline-timing [data-inline-explained="normal"] [data-schedule-mode="normal"] .inline-mode-label,
.renewed-workspace .project-inline-timing [data-inline-explained="future"] [data-schedule-mode="future"] .inline-mode-label,
.renewed-workspace .project-inline-timing [data-inline-explained="repeat"] [data-schedule-mode="repeat"] .inline-mode-label {max-width:90px;opacity:1;margin-left:4px;}
.renewed-workspace .project-inline-planning-extra {display:none;grid-column:1/-1;grid-row:2;min-width:0;}
.renewed-workspace .project-inline-form[data-schedule-mode="repeat"]>.project-inline-planning-extra {display:block;}
.renewed-workspace .project-inline-form[data-schedule-mode="repeat"]>.entry-actions {grid-row:3;}
.renewed-workspace .project-inline-planning-extra .schedule-repeat {max-width:440px;margin:0;}
.renewed-workspace .project-inline-planning-extra input {height:36px;min-width:0;width:100%;box-sizing:border-box;}
.renewed-workspace .project-inline-form.project-inline-batch .project-inline-timing>.schedule-controls,
.renewed-workspace .project-inline-form.project-inline-batch>.project-inline-planning-extra {display:none!important;}
@media(max-width:1550px) {
 .renewed-workspace .project-inline-timing {grid-column:span 2;}
}
@media(max-width:1100px) {
 .renewed-workspace .project-inline-timing {grid-column:1/-1;}
 .renewed-workspace .project-inline-timing {grid-template-columns:minmax(0,1fr) max-content;}
}
@container account-pane (max-width:780px) {
 .renewed-workspace .project-inline-timing {grid-column:1/-1;}
}
@media(prefers-reduced-motion:reduce) {
 .renewed-workspace .project-inline-timing .inline-mode-label {transition:none;}
}

/* Real navigation links retain the existing button appearance and native browser link actions. */
:where(a[data-workspace-link]){font:inherit;color:inherit;text-decoration:none;cursor:pointer;box-sizing:border-box}
/* Entry and backup management: visual adaptation only; existing controls and permissions remain authoritative. */
.entry-backups{display:flex;flex-direction:column;gap:22px;min-width:0;max-width:1280px;margin:0 auto;padding-bottom:24px;color:#243e50}
.entry-backups>.card,.entry-backups>.form-card{margin:0;border:1px solid #dce5ec;border-radius:16px;background:#fff;padding:24px;box-shadow:0 3px 12px #173d4d05;min-width:0}
.entry-backups .access-page-heading{margin:0;gap:16px;flex-wrap:wrap;border:0;background:transparent;padding:22px 0 4px;box-shadow:none}
.entry-backups .access-page-heading h1{font-size:24px;letter-spacing:-.025em}
.entry-backups h2{font-size:18px;font-weight:700;color:#173d4d;margin:0 0 8px}
.entry-backups p{line-height:1.7;color:#6b8193;font-size:13px}
.entry-backups .access-section-heading{display:flex;gap:12px;align-items:flex-start;margin-bottom:16px;min-width:0}
.entry-backups .access-section-heading p{margin:0}.entry-backups .access-section-heading small{color:#718599;font-size:12px}
.entry-backups .access-section-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:11px;background:#edf8fa;color:#0d7085;font-size:23px;font-weight:700}
.entry-backups .access-security{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.entry-backups .access-security .access-section-heading{margin:0}
.entry-backups .btn,.entry-backups .access-actions button,.entry-backups .access-actions summary{border-radius:8px;min-height:36px;font-weight:600;transition:background-color .15s,border-color .15s,box-shadow .15s;white-space:normal}
.entry-backups .btn:not(.secondary){background:#0d6a80;border-color:#0d6a80;color:white}
.entry-backups .btn:not(.secondary):hover{background:#09576a}
.entry-backups .btn.secondary{background:#f0f8fa;border:1px solid #d1e5eb;color:#0d6a80}
.entry-backups .access-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr);gap:18px 24px;align-items:start;margin-top:20px}
.entry-backups .access-grid>label{grid-column:1;min-width:0;font-size:12px;font-weight:600;gap:8px}
.entry-backups .access-grid>label:has([name=role]){grid-row:1}
.entry-backups .access-grid>label:has([name=name]){grid-row:2}
.entry-backups .access-grid>label:has([name=username]){grid-row:3}
.entry-backups .access-grid>label:has([name=password]){grid-row:4}
.entry-backups :is(.access-grid,.access-row) :is(input:not([type=checkbox]),select){width:100%;min-width:0;min-height:40px;border:1px solid #d6e1e8;border-radius:8px;background:#fff;padding:9px 11px;color:#28485c;font:inherit;font-weight:400;box-sizing:border-box}
.entry-backups input[readonly]{background:#f5f8fb!important;color:#718599!important}
.entry-backups input:focus-visible,.entry-backups select:focus-visible{outline:2px solid #62b3c6;outline-offset:2px}
.entry-backups .scope-picker{grid-column:2;grid-row:1/5;min-width:0;padding:16px;border:1px solid #dce6ed;border-radius:12px;background:#fbfcfd}
.entry-backups .scope-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:330px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:3px 2px;margin-top:12px;align-content:start}
.entry-backups .scope-options label{display:grid;grid-template-columns:18px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 9px;align-content:center;align-items:center;min-width:0;min-height:66px;text-align:left;margin:0;padding:11px;border:1px solid #dce5ed;border-radius:9px;background:#fff;cursor:pointer;transition:background-color .15s,border-color .15s,box-shadow .15s}
.entry-backups .scope-options label:hover{border-color:#9bbbc8}
.entry-backups .scope-options label:has(input:checked){border-color:#147c92;background:#edf8fa;box-shadow:0 3px 8px #0d5c7510}
.entry-backups .scope-options label:has(input:disabled){opacity:.55;cursor:default}
.entry-backups .scope-options label[hidden]{display:none!important}
.entry-backups .scope-options input{grid-column:1;grid-row:1/3;width:17px;height:17px;margin:0;accent-color:#0d7087}
.entry-backups .scope-account-name{grid-column:2;grid-row:1;font-size:12px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
.entry-backups .scope-options small{grid-column:2;grid-row:2;margin:0;font-size:10px;color:#7d90a0;line-height:1.4;overflow-wrap:anywhere}
.entry-backups .access-rights{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px 18px;border-top:1px solid #e7edf2;padding-top:18px}
.entry-backups .access-rights label{display:flex;flex-direction:row;align-items:center;gap:7px;color:#49677a;min-height:28px}
.entry-backups :is(.access-rights,[data-scope-all]) input{accent-color:#0d7087;width:17px;height:17px}
.entry-backups .access-grid>button{grid-column:1/-1;justify-self:end;min-width:210px;min-height:42px;padding:10px 22px}
.entry-backups .access-list{border-top:1px solid #e4ebf1;margin-top:24px;padding-top:10px}
.entry-backups .access-row{padding:18px 0;align-items:flex-start;min-width:0}
.entry-backups .access-row>div:first-child{min-width:0;flex:1}.entry-backups .access-row strong{font-size:14px}.entry-backups .access-row small{line-height:1.6;overflow-wrap:anywhere}
.entry-backups .access-row a{color:#147b94;font-size:12px}
.entry-backups .access-actions{justify-content:flex-end;max-width:60%;gap:8px}
.entry-backups .access-actions details[open]{width:100%;border:1px solid #dce6ed;border-radius:9px;padding:12px;background:#fbfcfd}
.entry-backups .access-actions form{max-width:none;min-width:0}.entry-backups .access-actions .scope-picker{margin:12px 0}
.entry-backups .access-actions button[data-access-action=delete],.entry-backups .access-actions button[data-access-action=disable]{background:#fff5f4;color:#c3443e;border-color:#f1d6d3}
.entry-backups .online-tools{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.entry-backups .access-automatic summary{display:flex;align-items:center;gap:10px;cursor:pointer;font-weight:700;color:#245769;min-height:28px}
.entry-backups .access-count{background:#edf5f8;border-radius:12px;padding:2px 9px;font-size:11px}
.entry-backups .access-backup-list{display:grid;gap:8px}.entry-backups .access-backup-list a{padding:10px;background:#f5f9fb;border-radius:6px;color:#13718b;font-size:12px;overflow-wrap:anywhere}
.entry-backups .access-history>.section-head{margin-top:0}.entry-backups .table-wrap{max-width:100%;overflow:auto}.entry-backups .online-history{min-width:560px}.entry-backups .online-history th{position:static!important}.entry-backups .online-history td{overflow-wrap:anywhere}
@container account-pane (max-width:900px){.entry-backups .scope-options{grid-template-columns:minmax(0,1fr)}.entry-backups .access-actions{max-width:none;width:100%;justify-content:flex-start}.entry-backups .access-row{flex-wrap:wrap}}
@container account-pane (max-width:620px){.entry-backups{gap:14px}.entry-backups>.card{padding:16px;border-radius:12px}.entry-backups .access-grid{grid-template-columns:minmax(0,1fr);gap:16px}.entry-backups .access-grid>label,.entry-backups .scope-picker,.entry-backups .access-grid>button{grid-column:1;grid-row:auto}.entry-backups .scope-options{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-backups .access-grid>button{width:100%;min-width:0}.entry-backups .access-security{align-items:stretch;flex-direction:column}.entry-backups .access-security>.btn{align-self:flex-start}}
@media(max-width:760px){.entry-backups .access-grid{grid-template-columns:minmax(0,1fr)}.entry-backups .access-grid>label,.entry-backups .scope-picker,.entry-backups .access-grid>button{grid-column:1;grid-row:auto}.entry-backups .access-actions{max-width:none;width:100%;justify-content:flex-start}.entry-backups>.card{padding:16px}.entry-backups .access-security{align-items:stretch;flex-direction:column}.entry-backups .online-tools .btn{flex:1 1 140px}.entry-backups .access-page-heading h1{font-size:21px}}
@media(max-width:460px){.entry-backups .scope-options{grid-template-columns:minmax(0,1fr)}.entry-backups .access-grid>button{width:100%;min-width:0}.entry-backups .scope-picker{padding:12px}.entry-backups .access-row{align-items:stretch;flex-direction:column}}
.entry-backups [data-access-own-password] .access-grid>label{grid-column:auto;grid-row:auto}.entry-backups [data-access-own-password] .access-grid>button{grid-column:1/-1;grid-row:auto}

/* Shared account readers use the same ledger cards, without the management columns. */
.app-shell.renewed-workspace.read-account-workspace {display:block;width:100%;max-width:none;min-width:0;height:100dvh;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0;--read-session-height:56px;--read-title-height:64px;}
.read-account-workspace .read-session-header {position:sticky;top:0;z-index:100;display:flex;align-items:center;gap:14px;min-height:56px;padding:8px 18px;background:#fff;border-bottom:1px solid var(--ui-line);}
.read-account-workspace .read-brand {display:flex;gap:7px;align-items:center;color:#08718b;flex-shrink:0;}
.read-account-workspace .read-brand>.mobile-brand-mark {display:grid;place-items:center;width:30px;height:34px;font-size:30px;line-height:1;font-weight:700;}
.read-account-workspace .read-brand>strong {font-size:12px;line-height:1.1;}
.read-account-workspace .read-greeting {margin-left:auto;min-width:0;font-size:10px;text-align:right;overflow-wrap:anywhere;}
.read-account-workspace .read-session-menu {position:relative;flex-shrink:0;}
.read-account-workspace .read-session-menu>summary {cursor:pointer;list-style:none;}
.read-account-workspace .read-session-menu>summary::-webkit-details-marker {display:none;}
.read-account-workspace .read-session-menu>div {position:absolute;right:0;top:calc(100% + 8px);display:grid;gap:7px;width:180px;padding:10px;background:#fff;border:1px solid var(--ui-line);border-radius:8px;box-shadow:0 8px 24px #173d4d25;}
.read-account-workspace .read-account-title {position:sticky;top:var(--read-session-height);z-index:90;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:10px 18px;background:#439db7;color:#fff;}
.read-account-workspace .read-account-title>div {min-width:0;}
.read-account-workspace .read-account-title h1 {font-size:20px;line-height:1.3;margin:0;overflow-wrap:anywhere;}
.read-account-workspace .read-account-title small {font-size:11px;}
.read-account-workspace .read-current-balance {text-align:right;flex-shrink:0;max-width:55%;}
.read-account-workspace .read-current-balance>span {display:block;font-size:11px;margin-bottom:3px;}
.read-account-workspace .read-current-balance>strong {display:block;font-size:21px;overflow-wrap:anywhere;}
.read-account-workspace .read-current-balance .negative {color:#fff;}
.app-shell.renewed-workspace.read-account-workspace>main.content {display:block;min-width:0;width:100%;max-width:1600px;height:auto;min-height:0;margin:0 auto;padding:14px 18px 32px;overflow:visible;container-type:inline-size;container-name:account-pane;}
.read-account-workspace .responsive-ledger-wrap {padding:0;min-width:0;max-width:100%;overflow:visible;}
.read-account-workspace .read-account-ledger {width:100%;min-width:0!important;table-layout:fixed;}
.read-account-workspace .read-account-ledger :is(th,td) {min-width:0;overflow-wrap:anywhere;}
.read-account-workspace .read-account-ledger .read-date-column {width:16%;}
.read-account-workspace .read-account-ledger .read-amount-column {width:16%;}
.read-account-workspace .read-account-ledger .read-balance-column {width:17%;}
.read-account-workspace .read-account-ledger .ledger-balance,.read-account-workspace .read-account-ledger .ledger-total-value {font-weight:700;}
.read-account-workspace .read-account-ledger thead th {position:sticky;top:calc(var(--read-session-height) + var(--read-title-height));z-index:25;background:#edf4f6;}
.read-account-workspace .ledger-mobile-filters {top:calc(var(--read-session-height) + var(--read-title-height));}
.read-account-workspace [hidden] {display:none!important;}
.read-account-workspace [data-read-security] {margin-top:18px;}
@media(max-width:480px){
 .read-account-workspace .read-session-header {gap:8px;padding:7px 10px;}
 .read-account-workspace .read-account-title {padding:9px 12px;}
 .read-account-workspace .read-account-title h1 {font-size:16px;}
 .read-account-workspace .read-current-balance>strong {font-size:17px;}
 .app-shell.renewed-workspace.read-account-workspace>main.content {padding:10px 12px calc(20px + env(safe-area-inset-bottom,0px));}
}
@media(orientation:landscape) and (max-height:500px){
 .read-account-workspace .read-session-header {min-height:40px;padding-top:3px;padding-bottom:3px;}
 .read-account-workspace .read-account-title {min-height:46px;padding-top:4px;padding-bottom:4px;}
 .read-account-workspace .read-brand>.mobile-brand-mark {height:28px;font-size:24px;}
}
@media print{.app-shell.renewed-workspace.read-account-workspace {height:auto;overflow:visible;}.read-account-workspace .read-session-header {display:none;}.read-account-workspace .read-account-title,.read-account-workspace .read-account-ledger thead th {position:static;}}
.read-account-workspace .read-current-balance>strong {background:#fff;color:var(--ui-ink);padding:3px 7px;border-radius:5px;}
.read-account-workspace .read-current-balance .negative,.read-account-workspace .ledger-card-balance b.negative {color:#d43636;}

.renewed-workspace .project-report-inline {min-width:0;width:100%;}
.renewed-workspace .project-report-inline[hidden] {display:none!important;}
.renewed-workspace .project-report-inline .smart-select {min-width:0;max-width:100%;}
.renewed-workspace .project-report-cell.report-picker-active>.report-row-badge,.renewed-workspace .project-report-cell.report-picker-active>.project-report-empty {display:none;}
.renewed-workspace .project-report-cell.report-picker-active {overflow:visible;}
.renewed-workspace .project-report-inline .smart-select-trigger {width:100%;min-width:0;height:34px;border-color:#439db7;background:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.renewed-workspace .bulk-report-picker {display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%;}
.renewed-workspace .bulk-report-picker>.smart-select {width:180px;max-width:100%;min-width:0;}
.renewed-workspace .project-report-inline .batch-error {display:block;white-space:normal;overflow-wrap:anywhere;font-size:11px;}
@container account-pane (max-width:780px){
 .renewed-workspace .project-report-cell.report-picker-active {display:block!important;grid-column:1/-1;width:auto!important;min-width:0;margin-top:8px;}
 .renewed-workspace .project-report-inline {max-width:100%;}
 .renewed-workspace .bulk-report-picker {flex-basis:100%;}
 .renewed-workspace .bulk-report-picker>.smart-select {flex:1;min-width:120px;width:auto;}
}

.renewed-workspace.workspace-confirm-backdrop {position:fixed;inset:0;z-index:4000;display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));background:#173d4d70;overscroll-behavior:contain;box-sizing:border-box;}
.renewed-workspace .workspace-confirm-dialog {width:min(460px,100%);min-width:0;max-height:calc(100dvh - 40px);overflow:auto;box-sizing:border-box;background:#fff;border:1px solid #d3e3eb;border-radius:12px;box-shadow:0 16px 60px #16374640;padding:22px;color:var(--ui-ink);}
.renewed-workspace .workspace-confirm-dialog h2 {font-size:18px;line-height:1.35;margin:0 0 12px;}
.renewed-workspace .workspace-confirm-dialog p {font-size:14px;line-height:1.6;margin:0 0 22px;white-space:pre-wrap;overflow-wrap:anywhere;}
.renewed-workspace .workspace-confirm-actions {display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;}
.renewed-workspace .workspace-confirm-actions .btn {min-width:95px;min-height:40px;}
.renewed-workspace .workspace-confirm-actions .btn:focus-visible {outline:2px solid #1886a1;outline-offset:3px;}
.renewed-workspace .workspace-confirm-danger [data-confirm-accept] {background:#b83e48;border-color:#b83e48;color:#fff;}
@media(max-width:480px){.renewed-workspace .workspace-confirm-dialog{padding:18px;}.renewed-workspace .workspace-confirm-actions .btn{flex:1;}}
@media print{.workspace-confirm-backdrop{display:none!important;}}
.renewed-workspace.workspace-confirm-backdrop {width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;z-index:20000;}
.renewed-workspace.workspace-confirm-backdrop::backdrop {background:transparent;}
.report-menu-actions {display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px;padding:12px;border:1px solid #c8dfe8;border-radius:8px;background:#f1f8fb;}
.report-menu-actions h3 {flex-basis:100%;margin:0 0 4px;font-size:14px;}

/* Keep account history visible beside another window. */
.sidebar-session{display:none}
.sidebar-logout{border:1px solid #e9c9c9;border-radius:5px;background:#fff5f4;color:#b53832;padding:7px 12px;font:inherit;cursor:pointer}
.save-notice-toast{position:fixed;z-index:3000;left:50%;top:12px;transform:translateX(-50%);width:max-content;max-width:min(560px,calc(100vw - 24px));padding:10px 14px;border:1px solid #b6d9cc;border-radius:8px;background:#eefaf4;color:#16634b;box-shadow:0 4px 16px #173d4d20;font-size:12px;pointer-events:none;box-sizing:border-box;overflow-wrap:anywhere}
.renewed-workspace [data-save-message]:not(.error),.renewed-workspace .entry-feedback:not(.error){display:none}
.renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock{height:auto;min-height:0;align-content:start;grid-auto-rows:max-content;padding-bottom:max(8px,env(safe-area-inset-bottom,0px))}
.renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock>.entry-actions{margin-bottom:0;padding-bottom:0;align-self:end}
@media (min-width:761px) and (min-height:501px),(min-width:1101px){
 .renewed-workspace .sidebar-session{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:8px 7px;border-bottom:1px solid var(--ui-line);min-width:0}
 .renewed-workspace .sidebar-session .user-name{min-width:0;font-size:11px;font-weight:600;overflow-wrap:anywhere}
 .renewed-workspace .sidebar-session .notification-bell{padding:5px;min-width:32px;border:0;background:#f2f8fb}
 .renewed-workspace .sidebar-session .notification-panel{position:fixed;left:12px;top:190px;right:auto;width:330px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 210px);overflow:auto;z-index:1600}
 .renewed-workspace .sidebar-foot{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:auto}
 .renewed-workspace .nav>.mobile-session-action{display:none}
 .renewed-workspace .account-detail-content>.topbar{display:none!important}
 .renewed-workspace>main.content.account-detail-content{--compact-title-top:0px}
 .renewed-workspace .account-detail-content .compact-page-title,.renewed-workspace .account-detail-content .staff-page-head{top:0}
 .renewed-workspace main.content.account-detail-content .table thead th{top:var(--compact-title-height,0px)}
 .renewed-workspace .account-detail-content .ledger-mobile-filters{top:var(--compact-title-height,0px)}
 .renewed-workspace .account-detail-content :is(.account-return,.workspace-balance-summary,.compact-project-metrics){display:none!important}
 .renewed-workspace .account-detail-content .compact-title-content{flex-wrap:nowrap;padding:8px 12px;min-height:44px;gap:8px}
 .renewed-workspace .account-detail-content .compact-title-name{display:block;flex:1 1 0;width:auto;min-width:0;font-size:14px;overflow-wrap:anywhere}
 .renewed-workspace .account-detail-content .page-head-actions{flex:0 0 auto;width:auto;min-width:0}
 .renewed-workspace .account-detail-content .page-head{min-height:0;padding:10px 12px;gap:8px}
 .renewed-workspace .account-detail-content .page-head h1{font-size:16px;margin:0;overflow-wrap:anywhere}
 .renewed-workspace .account-detail-content .page-head>div:first-child>p{display:none}
 .renewed-workspace .account-detail-content .account-wide-actions{display:none}
 .renewed-workspace .account-detail-content .account-mobile-actions{display:block;position:relative}
 .renewed-workspace .account-detail-content .account-mobile-actions>summary{list-style:none;cursor:pointer;white-space:nowrap}
 .renewed-workspace .account-detail-content .account-mobile-actions-panel{position:absolute;right:0;top:calc(100% + 5px);width:210px;max-width:calc(100vw - 28px);padding:7px;background:white;color:#173d4d;border:1px solid #cfdee5;border-radius:7px;box-shadow:0 6px 20px #173d4d20;z-index:80}
 .renewed-workspace .account-detail-content .account-mobile-actions-panel>button{display:block;width:100%;min-height:36px;text-align:left;border:0;background:white;color:#176d85;padding:8px;font:inherit;font-size:12px}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock{padding-top:8px;padding-bottom:8px;row-gap:6px}
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock>.entry-hint{display:none}
}
@media(max-width:760px){.sidebar-logout{display:none}.save-notice-toast{top:max(8px,env(safe-area-inset-top,0px))}}
@media print{.sidebar-session,.sidebar-logout,.save-notice-toast{display:none!important}}

/* Account tools never consume the title's minimum readable width. */
.renewed-workspace .account-detail-content .compact-title-name{word-break:normal;overflow-wrap:break-word;min-width:min(100%,180px)}
.renewed-workspace .account-detail-content .compact-title-name>span{word-break:normal;overflow-wrap:break-word}
.renewed-workspace .account-detail-content .project-wide-actions,.renewed-workspace .account-detail-content .account-wide-actions{display:none!important}
.renewed-workspace .account-detail-content .project-account-actions,.renewed-workspace .account-detail-content .account-mobile-actions{display:block!important;position:relative;margin:0}
.renewed-workspace .account-detail-content .project-account-actions>div,.renewed-workspace .account-detail-content .account-mobile-actions-panel{position:absolute;right:0;top:calc(100% + 5px);width:210px;max-width:calc(100vw - 28px);padding:7px;background:white;color:#173d4d;border:1px solid #cfdee5;border-radius:7px;box-shadow:0 6px 20px #173d4d20;z-index:80}
.renewed-workspace .account-detail-content .project-account-actions>div>button,.renewed-workspace .account-detail-content .account-mobile-actions-panel>button{display:block;width:100%;min-height:36px;text-align:left;white-space:normal;border:0;background:white;color:#176d85;padding:8px;font:inherit;font-size:12px}
.renewed-workspace .account-detail-content .project-header-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.renewed-workspace .account-detail-content .project-header-tools>.project-detail-tabs{display:flex;flex-wrap:wrap;width:auto;gap:4px;min-width:0}
.renewed-workspace .account-detail-content .project-account-actions>summary{white-space:nowrap}
@container account-pane (max-width:900px){
 .renewed-workspace .account-detail-content .compact-page-title .compact-title-content{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;padding:8px 10px}
 .renewed-workspace .account-detail-content .compact-title-content>.compact-title-name{display:block;width:100%;min-width:0;max-width:100%;overflow-wrap:break-word;word-break:normal}
 .renewed-workspace .account-detail-content .compact-title-content>.page-head-actions{width:100%;min-width:0;justify-content:flex-start;flex-wrap:wrap}
 .renewed-workspace .account-detail-content .page-head{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
 .renewed-workspace .account-detail-content .page-head h1{word-break:normal;overflow-wrap:break-word}
 .renewed-workspace .account-detail-content .page-head>.page-head-actions{width:100%;min-width:0;justify-content:flex-start;flex-wrap:wrap}
}
/* An account warning must never take the name's remaining width. */
@media (min-width:761px) and (min-height:501px),(min-width:1101px){
 @container account-pane (max-width:600px){
  .renewed-workspace .account-detail-content .compact-title-content:has(.wage-header-warning){flex-wrap:wrap}
  .renewed-workspace .account-detail-content .compact-title-content:has(.wage-header-warning) .compact-title-name{flex:1 1 100%;width:100%;overflow-wrap:break-word;word-break:normal}
  .renewed-workspace .account-detail-content :is(.compact-title-content,.page-head):has(.wage-header-warning) .page-head-actions{flex:1 1 100%;width:100%;justify-content:space-between;flex-wrap:wrap;gap:6px}
  .renewed-workspace .account-detail-content .page-head:has(.wage-header-warning)>div:first-child{flex:1 1 100%;min-width:0}
 }
}

/* Account menus belong above ledger filters, including after the title sticks. */
.renewed-workspace .compact-page-title,.renewed-workspace .staff-page-head{z-index:36}
@container account-pane (max-width:780px){
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock>.entry-actions{
  grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:45px;grid-auto-rows:45px;
  padding-top:5px;height:auto;min-height:50px;box-sizing:border-box;align-content:start;gap:6px 8px;
 }
 .renewed-workspace form.entry-dock.three-row-dock.workspace-entry-dock>.entry-actions>.btn{height:45px;min-height:45px}
}
@media(min-width:761px) and (max-width:1100px) and (min-height:501px){
 .renewed-workspace .nav>:is(button,a[data-workspace-link]){font-size:14px}
 .renewed-workspace .context-item{font-size:16px;grid-template-columns:minmax(0,1fr);row-gap:3px}
 .renewed-workspace .context-item .context-name{grid-column:1;grid-row:1;font-size:15px;overflow-wrap:break-word;word-break:normal}
 .renewed-workspace .context-item .context-amount{grid-column:1;grid-row:2;justify-self:end;font-size:15px;white-space:nowrap}
 .renewed-workspace .context-item small{grid-column:1;grid-row:3;font-size:14px}
}
.renewed-workspace .nav>:is(button,a[data-workspace-link]),.renewed-workspace.mobile-nav-open>.sidebar .nav>:is(button,a[data-workspace-link]){font-size:14px}

/* Overdue status takes precedence over alternating table row colours. */
.renewed-workspace .table tbody tr.reminder-overdue:not(.reminder-completed){background:#fde6e2;border-color:#be3b30;box-shadow:inset 0 0 0 1px #be3b30,inset 4px 0 #be3b30}
.renewed-workspace .table tbody tr.reminder-overdue:not(.reminder-completed)>td{background:transparent}

/* Render notification content outside the scrolling columns, inside the app root. */
.workspace-notification-popover{position:fixed;z-index:1800;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;background:white;border:1px solid #c5dce5;border-radius:8px;box-shadow:0 8px 28px #173d4d26;color:#173d4d;font-size:12px}
.workspace-notification-popover :is(.notification-panel,.mobile-alert-panel){position:static;inset:auto;width:auto;max-width:none;max-height:none;overflow:visible;margin:0;border:0;border-radius:0;box-shadow:none;background:white;box-sizing:border-box}
.workspace-notification-popover .notification-panel{padding:12px}
.workspace-notification-popover .section-head{position:sticky;top:0;z-index:2;margin:-12px -12px 0;padding:10px 12px;background:white;border-bottom:1px solid #e1ebef}
.workspace-notification-popover .section-head h2{font-size:15px;margin:0}
.workspace-notification-popover .notification-item{overflow-wrap:anywhere}
.workspace-notification-popover .mobile-alert-panel{padding:12px}
.workspace-notification-popover .mobile-alert-panel .notification-panel{padding:12px 0 0}
.sidebar-logout{display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;border-color:transparent;color:#4b6470;transition:background-color .15s,border-color .15s,color .15s}
:is(.sidebar-logout,.mobile-session-action[data-online-logout],.mobile-session-action[data-staff-logout])::before{content:'';display:inline-block;flex:0 0 18px;width:18px;height:18px;background:currentColor;vertical-align:middle;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H4v16h6M14 8l4 4-4 4M8 12h10'/%3E%3C/svg%3E") center/contain no-repeat}
.sidebar-logout:hover{background:#fff1ef;border-color:#e4b4af;color:#a3332d}
.sidebar-logout:focus-visible{outline:2px solid #439db7;outline-offset:2px;background:#fff1ef;border-color:#e4b4af}
@media(prefers-reduced-motion:reduce){.sidebar-logout{transition:none}}
@media(max-width:760px),(hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (max-width:1100px){.sidebar-logout{display:none}}
@media print{.workspace-notification-popover{display:none!important}}
.installment-progress{display:inline-flex;align-items:center;max-width:100%;padding:3px 7px;border:1px solid #63aec1;border-radius:5px;background:#f1f9fc;color:#176579;font-size:11px;line-height:1.4;white-space:normal;overflow-wrap:break-word}

/* Category reports use the existing palette and respond to the content pane. */
.category-report-page{container-type:inline-size;container-name:category-report;min-width:0;display:flex;flex-direction:column;gap:14px;padding-bottom:20px}
.category-report-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;background:white;border:1px solid var(--ui-line);border-radius:8px}
.category-report-heading h1{font-size:23px;margin:3px 0 6px;color:var(--ui-ink)}
.category-report-heading p{font-size:12px;margin:0;color:var(--ui-muted);line-height:1.5}
.category-report-export{display:flex;gap:6px;flex-shrink:0}
.category-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.category-report-kpis>.card{margin:0;min-width:0;padding:15px;display:flex;flex-direction:column;gap:9px}
.category-report-kpis small{font-size:11px;color:#557080}
.category-report-kpis strong{font-size:23px;line-height:1.3;overflow-wrap:anywhere}
.category-report-kpis .category-leader{font-size:18px}
.category-report-kpis span{font-size:11px}
.category-report-kpis>div>span{color:var(--ui-muted)}
.category-report-page :is(.card,.form-card){margin:0;min-width:0}
.category-report-page h2{font-size:16px;margin:0}
.category-report-page h3{font-size:14px;margin:0}
.category-report-filter .section-head{gap:10px;flex-wrap:wrap;margin-bottom:12px}
.category-report-presets{display:flex;flex-wrap:wrap;gap:5px}
.category-report-presets .btn{font-size:11px;height:29px;padding:5px 8px}
.category-report-filter-grid{display:grid;grid-template-columns:1.4fr 1.4fr 1.2fr 1fr 1fr auto;align-items:end;gap:8px}
.category-report-filter-grid .field{min-width:0}
.category-report-page .field label{font-size:11px}
.category-report-page input,.category-report-page select,.category-report-page .smart-select{min-width:0;max-width:100%}
.category-report-page input[type=date]{width:100%;box-sizing:border-box;font:inherit;padding:8px 5px;height:36px}
.category-report-support{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
.category-new>summary,.category-all-movements>summary{font-size:15px;font-weight:700;color:var(--ui-ink);cursor:pointer;min-height:28px}
.category-new .inline-form{margin-top:10px}
.category-new .inline-form .field{flex:1;max-width:none;min-width:120px}
.category-distribution-bar{display:flex;gap:2px;height:12px;overflow:hidden;border-radius:5px;background:#edf3f6;margin:13px 0}
.category-distribution-bar>span{flex-basis:0;min-width:1px}
.distribution-tone-0{background:#117b92}.distribution-tone-1{background:#408fa8}.distribution-tone-2{background:#9c6c3d}.distribution-tone-3{background:#698ca1}.distribution-tone-4{background:#b77d72}.distribution-tone-5{background:#89989e}
.category-distribution-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:7px 14px;max-height:180px;overflow:auto}
.category-distribution-list li{display:flex;align-items:center;gap:6px;font-size:11px;min-width:0}
.category-distribution-list li>span:not(.distribution-dot){flex:1;overflow-wrap:anywhere}
.distribution-dot{width:8px;height:8px;border-radius:2px;flex:0 0 8px}
.report-calculation-note{margin:0;line-height:1.5;font-size:11px}
.category-list-toolbar{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.category-list-toolbar h2{flex:1 1 170px;align-self:center}
.category-list-toolbar h2 small{display:inline-block;margin:4px;font-size:11px;font-weight:400;color:#628194}
.category-list-toolbar label{font-size:11px;display:flex;flex-direction:column;gap:4px;min-width:0}
.category-query{flex:1 1 170px}
.category-query input{width:100%;box-sizing:border-box;padding:8px;border:1px solid #c9dce6;border-radius:6px;font:inherit;height:35px}
.category-report-cards{display:flex;flex-direction:column;gap:10px}
.category-report-card{background:white;border:1px solid #d2e3ea;border-radius:8px;min-width:0}
.category-report-card>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:26px 32px minmax(140px,1fr) minmax(0,1.8fr);align-items:center;gap:8px;padding:10px;min-height:66px;box-sizing:border-box;color:var(--ui-ink);border:0;border-radius:8px;background:white;margin:0}
.category-report-card>summary:hover{background:#f5fafc}
.category-report-card[open]>summary{background:#f0f8fb;border-radius:8px 8px 0 0}
.category-type-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#eaf3f8;color:#267b96}
.category-icon-transport{background:#fff1e3;color:#a36329}
.category-icon-food{background:#edf5ec;color:#487a4d}
.category-icon-fuel{background:#fff0ed;color:#ad6251}
.category-icon-labor{background:#edf0fa;color:#637fa0}
.category-icon-equipment{background:#f0f2f4;color:#6d7e87}
.category-type-icon svg{display:block}
.category-inactive>summary{background:#f8fafb}
.category-inactive .category-type-icon{background:#eef2f4;color:#82939c}
.category-report-card>summary::-webkit-details-marker{display:none}
.category-report-card>summary:focus-visible{outline:2px solid #439db7;outline-offset:2px;border-radius:8px}
.category-chevron{display:grid;place-items:center;background:#e9f5fa;color:#176d85;border-radius:5px;width:26px;height:26px;font-size:0}
.category-chevron::before{content:'+';font-size:20px}
.category-report-card[open]>summary .category-chevron::before{content:'−'}
.category-card-name{display:flex;flex-direction:column;gap:5px;min-width:0}
.category-card-name>strong{font-size:15px;overflow-wrap:anywhere}
.category-card-name>small{color:var(--ui-muted);font-size:11px}
.category-card-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;min-width:0}
.category-card-metrics>div{background:#f3f8fb;border-radius:5px;display:flex;flex-direction:column;padding:7px;gap:5px;min-width:0}
.category-card-metrics small{font-size:10px;color:#648194}
.category-card-metrics strong{font-size:12px;overflow-wrap:anywhere;line-height:1.4}
.category-inactive{background:#f6f9fb;border-color:#e0e9ed}
.category-inactive .category-card-name{color:#69828f}
.category-card-body{padding:0 12px 12px;border-top:1px solid #edf3f5}
.category-card-body .section-head{margin:12px 0}
.category-manage{margin-top:10px}
.category-manage>summary{cursor:pointer;color:#176d85;font-size:12px;padding:5px 0}
.category-manage .inline-form{padding:8px 0;gap:6px}
.category-manage input:not([type=hidden]){flex:1;min-width:100px;padding:7px;border:1px solid #c9dce6;border-radius:5px}
.category-detail-table-wrap{max-width:100%;min-width:0}
.category-detail-table{width:100%;min-width:0!important;table-layout:fixed}
.renewed-workspace main.content .category-detail-table thead th{position:static;font-size:10px;white-space:normal;padding:8px}
.category-detail-table td{font-size:12px;white-space:normal;overflow-wrap:anywhere;padding:9px 7px;vertical-align:top}
.category-detail-table th:nth-child(1){width:14%}.category-detail-table th:nth-child(2){width:16%}.category-detail-table th:nth-child(3){width:28%}.category-detail-table th:nth-child(4){width:16%}.category-detail-table th:nth-child(5),.category-detail-table th:nth-child(6){width:13%}
.category-report-page .report-value{font-variant-numeric:tabular-nums;white-space:normal}
.category-movement-cards{display:none}
.category-movement-card{border:1px solid #dbe7ee;border-left:3px solid #439db7;border-radius:7px;padding:11px;background:white;display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px}
.category-movement-card>div{display:flex;justify-content:space-between;gap:10px;align-items:start}
.category-movement-card p{margin:0;line-height:1.5;overflow-wrap:anywhere}
.category-movement-card small{color:#66818f;overflow-wrap:anywhere;line-height:1.4}
.category-movement-card .amount{overflow-wrap:anywhere;text-align:right}
.category-show-all{margin-top:12px;max-width:100%;white-space:normal;height:auto;min-height:34px}
.category-all-movements>summary{margin-bottom:10px}
.category-report-card[hidden],.category-report-page [data-report-detail-index][hidden],.report-export-table{display:none!important}
@container category-report (max-width:1100px){.category-report-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container category-report (max-width:900px){.category-report-card>summary{grid-template-columns:26px 32px minmax(0,1fr)}.category-card-metrics{grid-column:1/-1}}
@container category-report (max-width:650px){.category-report-heading{align-items:start;flex-wrap:wrap;padding:12px}.category-report-heading h1{font-size:20px}.category-report-support{grid-template-columns:1fr}.category-report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-report-kpis>.card{padding:11px}.category-report-kpis strong{font-size:20px}.category-card-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.category-detail-table-wrap{display:none}.category-movement-cards{display:flex;flex-direction:column;gap:8px;margin-top:10px}.category-distribution-list{grid-template-columns:1fr}.category-report-page .btn{max-width:100%}.category-list-toolbar>label:last-child{flex:1 1 140px}}
@container category-report (max-width:360px){.category-report-filter-grid{grid-template-columns:1fr}.category-report-export{width:100%}}
@media print{.category-report-page{display:block;container-type:normal}.category-report-page>:not(.report-export-table){display:none!important}.category-report-page>.report-export-table{display:block!important;break-inside:auto}.category-report-page .report-export-table table{display:table!important}}
/* Account list controls share their presentation across owner and staff screens. */
.renewed-workspace .sidebar-session .user-name{font-size:13px;font-weight:700}
.renewed-workspace .context-panel-top{position:sticky;top:0;z-index:5;background:white}
.renewed-workspace .context-panel-top .context-search{position:static;padding:9px 10px;background:white}
.renewed-workspace .context-panel-top .context-heading{position:static;align-items:center;gap:6px;padding:10px 12px;background:#0e687f;color:white;font-size:13px;font-weight:800;letter-spacing:0}
.renewed-workspace .context-heading-tools{display:flex;align-items:center;gap:7px;min-width:0}
.renewed-workspace .context-heading small{font-size:10px;font-weight:500;background:#ffffff25;color:white;white-space:nowrap}
.renewed-workspace .context-add-account{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;padding:0;border:1px solid #ffffff80;border-radius:6px;background:#ffffff18;color:white;font-size:22px;line-height:1;cursor:pointer}
.renewed-workspace .context-add-account:hover{background:#ffffff35;border-color:white}
.renewed-workspace .new-account-type{display:flex;flex-direction:column;gap:6px;margin:14px 0;font-size:13px;font-weight:600}
.renewed-workspace .new-account-backdrop .form-card{margin:0;padding:12px 0;border:0;box-shadow:none}
.renewed-workspace .new-account-backdrop .form-card h2{font-size:16px}
.renewed-workspace .btn{box-shadow:0 1px 2px #173d4d18,inset 0 0 0 1px #173d4d0b}
.renewed-workspace button:not(:disabled):not([aria-disabled=true]):hover{box-shadow:0 1px 4px #173d4d25}
.renewed-workspace .btn:not(:disabled):hover{box-shadow:0 2px 5px #173d4d28,inset 0 0 0 1px #173d4d24}
.renewed-workspace .btn.ghost:not(:disabled):hover{background:#e2eef4;color:#184f67}
.renewed-workspace button:not(:disabled):focus-visible{outline:2px solid #2689a4;outline-offset:2px}
.renewed-workspace button:not(:disabled){transition:background-color .15s,border-color .15s,box-shadow .15s}
.renewed-workspace .movement-actions button:not(:disabled):hover{background:#e7f3f8;box-shadow:0 0 0 3px #e7f3f8;border-radius:3px}
.renewed-workspace .movement-actions button[data-movement-action=delete]:not(:disabled):hover{background:#fce8e8;box-shadow:0 0 0 3px #fce8e8}
.renewed-workspace .account-detail-content :is(.account-mobile-actions-panel,.project-account-actions>div)>button:not(:disabled):hover{background:#e6f2f7;box-shadow:inset 0 0 0 1px #b7d7e3}
.renewed-workspace .account-detail-content :is(.account-mobile-actions-panel,.project-account-actions>div)>.account-settings-action{display:flex;align-items:center;gap:7px;border-radius:5px;box-shadow:0 1px 2px #173d4d12}
.renewed-workspace .workspace-settings-icon{flex:0 0 16px;width:16px;height:16px}
@media(prefers-reduced-motion:reduce){.renewed-workspace button{transition:none}}
/* A short visual cue accompanies the actual sound, without moving the badge. */
.notification-bell-icon{display:inline-block;transform-origin:50% 15%}
.notification-bell-icon.reminder-ringing{animation:reminder-bell-ring .55s ease-in-out}
@keyframes reminder-bell-ring{0%,100%{transform:rotate(0)}15%{transform:rotate(12deg)}35%{transform:rotate(-12deg)}55%{transform:rotate(9deg)}75%{transform:rotate(-6deg)}}
@media(prefers-reduced-motion:reduce){.notification-bell-icon.reminder-ringing{animation:none}}
.renewed-workspace .new-account-dialog{width:min(520px,100%);border:1px solid #d5e4ea;border-radius:16px;padding:24px;background:#fbfdfe;box-shadow:0 20px 65px #143d4d35}
.renewed-workspace .new-account-heading{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.renewed-workspace .new-account-heading h2{margin:0 0 4px;font-size:21px;font-weight:700;letter-spacing:-.02em}
.renewed-workspace .new-account-heading p{margin:0;font-size:12px;line-height:1.5;color:#6a8390}
.renewed-workspace .new-account-mark{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;background:#e2f2f6;color:#0e687f;font-size:28px}
.renewed-workspace .new-account-dismiss{align-self:flex-start;margin-left:auto;flex:0 0 30px;width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#6e838d;font-size:25px;line-height:1;cursor:pointer}
.renewed-workspace .new-account-dismiss:hover{background:#e7f0f4;color:#164e62}
.renewed-workspace .new-account-dialog .new-account-type{margin:0 0 18px;gap:8px;font-size:13px;color:#254956}
.renewed-workspace .new-account-dialog :is(input:not([type=checkbox]):not([type=hidden]),textarea,select,.smart-select-trigger,.money-entry){min-height:44px;border-radius:9px;background:white;border-color:#cfdee6;font-size:14px}
.renewed-workspace .new-account-dialog textarea{min-height:84px}
.renewed-workspace .new-account-dialog .field label{font-size:12px;margin-bottom:6px;color:#375764}
.renewed-workspace .new-account-dialog .form-grid{gap:16px 14px}
.renewed-workspace .new-account-dialog .form-card{padding:0}
.renewed-workspace .new-account-dialog .form-card>h2{display:none}
.renewed-workspace .new-account-dialog .form-card>p{margin:0 0 16px;line-height:1.6}
.renewed-workspace .new-account-dialog .form-card button[type=submit]{grid-column:1/-1;width:100%;min-height:44px;margin-top:6px;background:#087c91;border-radius:9px;font-weight:700}
.renewed-workspace .new-account-dialog .form-card button[type=submit]:hover{background:#08677b}
.renewed-workspace .new-account-footer{display:flex;justify-content:flex-end;margin-top:18px;padding-top:14px;border-top:1px solid #e5eef2}
.renewed-workspace .new-account-footer .btn{min-height:36px;padding:8px 20px}
@media(max-width:560px){.renewed-workspace .new-account-backdrop{padding:12px}.renewed-workspace .new-account-dialog{padding:18px;border-radius:13px;max-height:calc(100dvh - 24px)}.renewed-workspace .new-account-heading{gap:9px;margin-bottom:20px}.renewed-workspace .new-account-heading h2{font-size:19px}.renewed-workspace .new-account-dialog .form-grid{grid-template-columns:minmax(0,1fr)}}
/* Preserve the established account-menu label and plus icon on project headers. */
.renewed-workspace .project-account-actions>summary.restored-account-menu{display:flex;align-items:center;justify-content:center;gap:7px;min-height:32px;height:auto;padding:4px 9px;list-style:none;background:#edf5fa;border:1px solid #b6d5e2;border-radius:7px;color:#265d79;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer;box-shadow:0 1px 2px #173d4d18}
.renewed-workspace .project-account-actions>summary.restored-account-menu::-webkit-details-marker{display:none}
.renewed-workspace .project-account-actions>summary.restored-account-menu::before{content:none!important}
.renewed-workspace .project-account-actions>summary.restored-account-menu:hover{background:#deedf5;border-color:#439db7;box-shadow:0 2px 5px #173d4d25}
.renewed-workspace .restored-account-menu .account-menu-mark{display:grid;place-items:center;flex:0 0 23px;width:23px;height:23px;border-radius:4px;background:#10839d;color:white;font-size:19px;line-height:1}
.renewed-workspace .restored-account-menu .account-menu-mark::before{content:'+'}
.renewed-workspace .project-account-actions[open]>.restored-account-menu .account-menu-mark::before{content:'−'}
/* Filtering is a presentation-only view of the ledger's existing movements. */
.renewed-workspace .responsive-ledger thead th.ledger-filter-active{background:#c8eaf1;color:#07586b;box-shadow:inset 0 -3px #14859d}
.renewed-workspace .responsive-ledger tbody td.ledger-filter-active{background:#edf9fb}
.renewed-workspace .ledger-filter.ledger-filter-active>summary{background:#d3eff5;color:#07586b;border-color:#3295aa;box-shadow:inset 0 0 0 1px #3295aa}
.renewed-workspace .responsive-ledger .ledger-filter-totals>td{vertical-align:middle}
.renewed-workspace .responsive-ledger .ledger-filter-totals>.ledger-count-cell{text-align:center;padding:10px 3px}
.ledger-count-box{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:64px;height:34px;border:1px solid #c5dfe7;border-radius:6px;background:#f8fcfd;color:#23566a;font-size:11px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.ledger-is-filtered .ledger-count-box{background:#ddf2f6;border-color:#82c2d1;color:#0e6175}
@container account-pane (max-width:780px){
 .renewed-workspace .responsive-ledger tfoot tr.ledger-filter-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px}
 .renewed-workspace .responsive-ledger tfoot tr.ledger-filter-totals>.ledger-total-label{grid-column:1/3;grid-row:1}
 .renewed-workspace .responsive-ledger tfoot tr.ledger-filter-totals>.ledger-total-value{grid-column:3;grid-row:1;text-align:right}
 .renewed-workspace .responsive-ledger tfoot tr.ledger-filter-totals>.ledger-count-cell{display:flex!important;flex-direction:column;align-items:stretch;gap:5px;padding:0;grid-row:2;font-size:10px}
 .ledger-count-cell::before{content:attr(data-summary-label);color:#63828e;font-size:10px}
 .ledger-count-box{width:100%;height:34px}
}
@container account-pane (width > 780px){
 .renewed-workspace .responsive-ledger[data-project-ledger=cost] tfoot{display:table-footer-group}
 .renewed-workspace .responsive-ledger tfoot tr.ledger-filter-totals{display:table-row;padding:0}
 .renewed-workspace .responsive-ledger tfoot tr.ledger-filter-totals>td{display:table-cell!important;width:auto;padding:12px 6px}
}
@container account-pane (780px < width < 1000px){
 .renewed-workspace .responsive-ledger tfoot tr.ledger-filter-totals>.ledger-total-value{font-size:11px;padding-left:2px;padding-right:4px;white-space:nowrap}
}
/* Clear a single column without leaving its sticky heading or mobile filter bar. */
.ledger-filter-control{display:inline-flex;align-items:center;gap:3px;vertical-align:middle;max-width:100%}
.ledger-filter-clear{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:26px;padding:0;border:1px solid #85becd;border-radius:5px;background:#e3f4f8;color:#09657b;font:inherit;font-size:18px;line-height:1;cursor:pointer}
.ledger-filter-clear[hidden]{display:none!important}
.ledger-filter-clear:hover{background:#c5e9f1;border-color:#20849b;color:#084d60}
.ledger-mobile-filters>.ledger-filter-control{min-width:0}
@media(pointer:coarse){.ledger-filter-clear{flex-basis:30px;width:30px;height:32px}}
@media print{.ledger-filter-clear{display:none!important}}

/* Work hours share the direction summary cell; wrapping never widens the ledger. */
.ledger-count-details{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;min-width:0}
.ledger-count-details .ledger-count-box{flex:0 1 auto;max-width:100%}
.ledger-count-details .ledger-hours-total{width:auto;min-height:34px;height:auto;padding:7px;white-space:normal;overflow-wrap:anywhere;text-align:center}
.ledger-count-details .ledger-hours-total[hidden]{display:none}

/* Tutanak columns share the active-filter cues of the cost ledger. */
.renewed-workspace .report-price-table thead th.ledger-filter-active{background:#c8eaf1;color:#07586b;box-shadow:inset 0 -3px #14859d}
.renewed-workspace .report-price-table tbody td.ledger-filter-active{background:#edf9fb}
.renewed-workspace .report-price-table td.ledger-filter-active textarea,.renewed-workspace .report-price-table td.ledger-filter-active input{background:#f7fdfe}
.renewed-workspace .report-column-filter.ledger-filter-active>summary{background:#d3eff5;color:#07586b;border-color:#3295aa;box-shadow:inset 0 0 0 1px #3295aa}
.report-price-table .report-filter-heading{flex-wrap:wrap;gap:4px}
.report-price-table [data-report-header-clear][hidden]{display:none}

.renewed-workspace .responsive-ledger .ledger-km-cell{text-align:center;vertical-align:middle}
.ledger-km-total{width:auto;max-width:100%;height:auto;min-height:34px;padding:7px;white-space:normal;overflow-wrap:anywhere}
.ledger-km-total[hidden]{display:none}
@container account-pane (max-width:780px){
 .renewed-workspace .responsive-ledger tfoot tr.ledger-filter-totals>.ledger-km-cell{display:none!important}
 .renewed-workspace .responsive-ledger tfoot tr.ledger-filter-totals>.ledger-km-cell.ledger-km-visible{display:flex!important;grid-column:1/-1;grid-row:3;justify-content:center;padding:0}
}

.report-header-status{font-size:11px;font-weight:700;color:#176d85;background:#e6f3f7;border:1px solid #c4dfe8;border-radius:5px;padding:4px 7px;max-width:100%;white-space:normal}
.project-account-actions .report-menu-actions{display:grid;gap:5px;margin:7px 0 0;padding:8px 0 0;border:0;border-top:1px solid #d5e4eb;border-radius:0;background:transparent}
.project-account-actions .report-menu-actions h3{font-size:11px;white-space:normal}
.project-account-actions .report-menu-actions>.btn{width:100%;white-space:normal;text-align:left;font-size:12px;min-height:34px}
.renewed-workspace .account-detail-content .project-account-actions>div{max-height:min(70vh,560px);overflow-y:auto;overscroll-behavior:contain}
.report-price-table .report-filter-totals>td{background:#edf6f8;border-top:1px solid #c9dfe7;font-size:12px;font-weight:600;padding:10px 6px;vertical-align:middle;overflow-wrap:anywhere}
.report-price-table [data-report-summary-count]{text-align:center}
.report-price-table [data-report-summary-amount]{text-align:right;font-variant-numeric:tabular-nums}
@container account-pane (max-width:850px){.report-price-table tfoot{display:table-footer-group!important}.report-price-table .report-filter-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.report-price-table .report-filter-totals>td{display:block!important;min-width:0}.report-price-table [data-report-summary-quantity]{grid-column:1/-1}.report-price-table [data-report-summary-amount]{grid-column:1/-1}}

/* Compact project entry follows the available account pane, not the window width. */
.cost-summary-strip{display:none}
@container account-pane (max-width:780px){
 .renewed-workspace .responsive-ledger tfoot tr.ledger-filter-totals{display:block;padding:8px 10px}
 .renewed-workspace .responsive-ledger tfoot tr.ledger-filter-totals>td{display:none!important}
 .renewed-workspace .responsive-ledger tfoot tr.ledger-filter-totals>td.ledger-compact-summary-cell{display:block!important;width:100%;padding:0!important}
 .renewed-workspace .responsive-ledger tfoot tr.ledger-filter-totals>td.ledger-km-cell.ledger-km-visible{display:none!important}
 .ledger-compact-summary-cell::before{display:none!important}
 .cost-summary-strip{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;min-width:0;font-size:11px;line-height:1.5}
 .cost-summary-strip>span{white-space:nowrap}
 .cost-summary-label{font-weight:700}
 .cost-summary-count,.cost-summary-hours,.cost-summary-km{color:#176d85}
 .cost-summary-amount{margin-left:auto;font-weight:700;color:#e13e38;font-variant-numeric:tabular-nums}
 .renewed-workspace tr.project-inline-entry>td{padding:9px!important}
 .renewed-workspace .project-inline-form{grid-template-columns:minmax(0,1fr);gap:7px}
 .renewed-workspace .project-inline-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:7px 9px;align-items:end}
 .renewed-workspace .project-inline-grid>.project-inline-timing{grid-column:1/8;grid-row:1;grid-template-columns:minmax(0,1fr) max-content;gap:7px}
 .renewed-workspace .project-inline-grid>[data-inline-field="workReportId"]{grid-column:8/13;grid-row:1}
 .renewed-workspace .project-inline-grid>[data-inline-field="category"]{grid-column:1/7;grid-row:2}
 .renewed-workspace .project-inline-grid>[data-inline-field="directionId"]{grid-column:7/13;grid-row:2}
 .renewed-workspace .project-inline-grid>[data-inline-field="description"]{grid-column:1/9;grid-row:3}
 .renewed-workspace .project-inline-grid>[data-inline-field="amount"]{grid-column:9/13;grid-row:3}
 .renewed-workspace .project-inline-timing .inline-mode-label{display:none}
 .renewed-workspace .project-inline-timing .schedule-modes button{min-width:25px;width:25px;height:34px;min-height:34px;padding:4px}
 .renewed-workspace .project-inline-grid .field{gap:3px}
 .renewed-workspace .project-inline-grid .field>span,.renewed-workspace .project-inline-grid .field>label{font-size:11px}
 .renewed-workspace .project-inline-grid input,.renewed-workspace .project-inline-grid select,.renewed-workspace .project-inline-grid .smart-select-trigger{height:34px;font-size:12px}
 .renewed-workspace .project-inline-form:not(.project-inline-batch)>.entry-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-column:1;grid-row:2;gap:7px;width:100%!important}
 .renewed-workspace .project-inline-form>.entry-actions>.btn{min-width:0;width:100%;padding:6px 4px;min-height:34px;font-size:11px;white-space:normal}
 .renewed-workspace .project-inline-form[data-schedule-mode="repeat"]>.entry-actions{grid-row:3}
}
@container account-pane (max-width:440px){
 .renewed-workspace .project-inline-grid>.project-inline-timing{grid-column:1/-1;grid-row:1}
 .renewed-workspace .project-inline-grid>[data-inline-field="workReportId"]{grid-column:1/7;grid-row:2}
 .renewed-workspace .project-inline-grid>[data-inline-field="category"]{grid-column:7/13;grid-row:2}
 .renewed-workspace .project-inline-grid>[data-inline-field="directionId"]{grid-column:1/-1;grid-row:3}
 .renewed-workspace .project-inline-grid>[data-inline-field="description"]{grid-row:4}
 .renewed-workspace .project-inline-grid>[data-inline-field="amount"]{grid-row:4}
 .cost-summary-strip{gap:4px 7px;font-size:10px}
}

@container account-pane (max-width:780px){.renewed-workspace .project-inline-grid .project-inline-timing>[data-inline-field="date"]{grid-column:1;grid-row:1}.renewed-workspace .project-inline-grid .project-inline-timing>.schedule-controls{grid-column:2;grid-row:1;display:block}}
