:root{--bg:#f4f7fb;--card:#fff;--text:#172033;--muted:#667085;--line:#e4e7ec;--accent:#155eef;--danger:#d92d20;--good:#067647;--warn:#b54708}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}.top{height:64px;background:#101828;color:white;display:flex;align-items:center;padding:0 24px;gap:26px}.brand{font-weight:800;letter-spacing:.2px;margin-right:18px}.top a{opacity:.85}.top a:hover{opacity:1}.wrap{max-width:1500px;margin:0 auto;padding:24px}.pagehead{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.pagehead h1{margin:0;font-size:26px}.muted{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:0 1px 2px rgba(16,24,40,.03)}.metric{font-size:28px;font-weight:800;margin-top:8px}.danger{color:var(--danger)}.good{color:var(--good)}table{width:100%;border-collapse:collapse;background:white;border-radius:12px;overflow:hidden}th,td{border-bottom:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:middle}th{background:#f9fafb;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#475467}.grid{overflow:auto;border:1px solid var(--line);border-radius:12px}.grid th,.grid td{white-space:nowrap}.toolbar,.formrow{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin-bottom:14px}.field{display:flex;flex-direction:column;gap:5px}.field label{font-size:12px;color:#475467;font-weight:700}input,select,textarea,button{font:inherit;border:1px solid #d0d5dd;border-radius:8px;padding:9px 10px;background:white}button,.btn{background:var(--accent);color:white;border:0;font-weight:700;cursor:pointer;padding:10px 14px;border-radius:8px}.btn.secondary{background:#344054}.btn.danger{background:var(--danger);color:white}.section{margin-top:22px}.section h2{font-size:18px}.pill{display:inline-block;padding:4px 8px;border-radius:999px;background:#eef4ff;color:#3538cd;font-size:12px;font-weight:700}.pill.own{background:#ecfdf3;color:#067647}.pill.out{background:#fff7ed;color:#b54708}.cellbad{background:#fef3f2;color:#b42318;font-weight:800}.cellgood{background:#ecfdf3;color:#067647;font-weight:800}.loginbox{max-width:420px;margin:11vh auto;background:white;border:1px solid var(--line);border-radius:18px;padding:32px;box-shadow:0 20px 50px rgba(16,24,40,.08)}.loginbox h1{margin-top:0}.error{background:#fef3f2;color:#b42318;padding:10px;border-radius:8px;margin-bottom:12px}.small{font-size:12px}.two{display:grid;grid-template-columns:1fr 1fr;gap:18px}@media(max-width:1000px){.cards{grid-template-columns:repeat(2,1fr)}.two{grid-template-columns:1fr}}
/* Rev1.1 compact planning matrices */
.compact-toolbar{padding:10px 12px}.matrix-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:white;max-width:100%}.matrix{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}.matrix th,.matrix td{padding:3px 4px;min-width:46px;height:42px;text-align:center;border-right:1px solid #eef0f3;border-bottom:1px solid #eef0f3}.matrix thead th,.matrix>tbody>tr:first-child th{position:sticky;top:0;z-index:3}.matrix th span,.matrix th small,.matrix .sticky-col small{display:block}.matrix th small,.matrix .sticky-col small{font-size:9px;color:#667085;text-transform:none;letter-spacing:0}.matrix .sticky-col{position:sticky;left:0;z-index:2;min-width:155px;max-width:155px;text-align:left;background:#f9fafb}.matrix thead .sticky-col{z-index:4}.matrix-cell span{display:block;font-weight:800;font-size:14px}.matrix-cell small{display:block;font-size:9px;font-weight:600}.matrix-cell.neg,.legend-box.neg{background:#fecaca;color:#991b1b}.matrix-cell.neg{box-shadow:inset 0 0 0 1px #f87171}.matrix-cell.neg .cell-link span{font-size:16px;font-weight:900;color:#991b1b}.matrix-cell.neg .cell-link small{color:#b91c1c;font-weight:800}.matrix-cell.zero,.legend-box.zero{background:#ecfdf3;color:#067647}.matrix-cell.pos,.legend-box.pos{background:#eff8ff;color:#175cd3}.matrix-cell.empty{color:#c5cad3;background:#fff}.legend{display:flex;align-items:center;gap:7px;margin-top:8px}.legend-box{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;border-radius:5px;font-weight:800}.cell-form{display:flex;gap:2px}.cell-form input{width:45px;padding:4px 2px;text-align:center;border-radius:5px}.cell-form button{padding:4px 5px;border-radius:5px}.calendar-cell select{width:72px;font-size:9px;padding:4px 1px;border:0;background:transparent}.calendar-cell.unavailable{background:#fff1f0}.alloc-code{display:block;font-size:8px;max-width:70px;overflow:hidden;text-overflow:ellipsis}.mini-cards{grid-template-columns:repeat(3,1fr);gap:8px}.mini-cards>div{border:1px solid var(--line);border-radius:10px;padding:10px;background:#f9fafb}.mini-cards span{display:block;font-size:11px;color:var(--muted)}.mini-cards strong{display:block;font-size:22px;margin-top:3px}.compact-list td,.compact-list th{padding:7px 9px}
/* Rev1.2 planning and drill-down */
.dashboard-cards{grid-template-columns:repeat(6,1fr)}.metric-link{display:block}.metric-link:hover{border-color:#98a2b3}.block{display:block}.section-title{display:flex;justify-content:space-between;align-items:center}.discipline-chips{display:flex;gap:6px;flex-wrap:wrap}.balance-chip{display:grid;grid-template-columns:auto auto;gap:1px 7px;align-items:center;min-width:72px;padding:5px 7px;border-radius:8px;border:1px solid var(--line)}.balance-chip span{font-size:10px;font-weight:800}.balance-chip strong{font-size:15px}.balance-chip small{grid-column:1/3;font-size:9px;color:inherit}.balance-chip.neg{background:#fef3f2;color:#b42318}.balance-chip.zero{background:#ecfdf3;color:#067647}.balance-chip.pos{background:#eff8ff;color:#175cd3}.cell-link{display:block;margin:-3px -4px;padding:3px 4px}.range-entry{display:flex;gap:18px;align-items:end;justify-content:space-between;flex-wrap:wrap}.inline-range{margin:0}.detail-cards{grid-template-columns:repeat(3,minmax(0,1fr));max-width:700px}.shortage-callout{display:flex;gap:14px;align-items:center;flex-wrap:wrap;background:#fef3f2;border:1px solid #fecdca;color:#b42318;padding:14px;border-radius:12px}.shortage-callout .btn{margin-left:auto}.name-link{color:#175cd3;font-weight:700}.tiny{padding:5px 8px}.resource-select{min-width:320px}.person-calendar{display:grid;grid-template-columns:repeat(10,minmax(100px,1fr));gap:7px}.person-day{min-height:124px;border:1px solid var(--line);border-radius:10px;padding:8px;background:white}.person-day.status-free{background:#f6fef9}.person-day.status-allocated{background:#eff8ff}.person-day.status-blocked{background:#fff6ed}.day-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:4px;margin-bottom:6px}.day-head strong{font-size:18px}.day-head span{font-size:10px;color:var(--muted)}.person-status{font-weight:800;font-size:11px;margin:9px 0}.person-status.free{color:var(--good)}.allocation-tag{display:flex;justify-content:space-between;gap:4px;padding:5px 6px;margin:4px 0;border-radius:6px;background:white;border:1px solid #b2ddff;color:#175cd3;font-size:11px;font-weight:800}.mini-status select{width:100%;font-size:9px;padding:4px;margin-top:8px}.status-travel{background:#fff6ed!important}.status-leave{background:#fef3f2!important}@media(max-width:1200px){.dashboard-cards{grid-template-columns:repeat(3,1fr)}.person-calendar{grid-template-columns:repeat(5,minmax(100px,1fr))}}@media(max-width:700px){.dashboard-cards{grid-template-columns:repeat(2,1fr)}.person-calendar{grid-template-columns:repeat(2,minmax(100px,1fr))}.detail-cards{grid-template-columns:1fr}.range-entry{align-items:stretch}}
.scenario-active{background:#155eef!important}.scenario-banner{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:9px 12px;border-radius:10px;margin-bottom:9px;font-size:12px}.scenario-banner.own-scenario{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}.scenario-banner.final-scenario{background:#ecfdf3;color:#067647;border:1px solid #abefc6}

/* Rev1.2.1 Manning filters */
.compact-toolbar .filter-field select{min-width:150px;max-width:220px}.compact-toolbar .field{min-width:0}.matrix-cell.neg:hover{background:#fca5a5}.legend-box.neg{border:1px solid #f87171}.matrix-cell.neg .cell-link:focus{outline:2px solid #991b1b;outline-offset:-2px}
@media(max-width:1100px){.compact-toolbar .filter-field select{min-width:130px;max-width:180px}}

/* Rev1.4 own-first availability allocation workflow */
.allocation-filter{align-items:end}.result-banner{padding:12px 16px;margin-bottom:14px;background:#f0f9ff;border-color:#b9e6fe}.allocation-guidance{padding:24px;margin-top:18px;border-style:dashed}.allocation-step{display:flex;align-items:center;gap:10px;margin:22px 0 10px}.allocation-step>span{display:inline-flex;width:32px;height:32px;border-radius:50%;align-items:center;justify-content:center;background:#155eef;color:white;font-weight:900}.allocation-step strong{display:block;font-size:18px}.allocation-step small{display:block;color:var(--muted);margin-top:2px}.allocation-step.outsource-step>span{background:#b54708}.resource-pool-card{padding:16px}.compact-fraction select{min-width:145px}.resource-pool-table{overflow:auto;border:1px solid var(--line);border-radius:10px;margin-top:12px}.resource-pool-table table{border-radius:0}.resource-pool-table input[type=checkbox]{width:18px;height:18px}.resource-unavailable{opacity:.58;background:#f9fafb}.status-chip{display:inline-block;padding:3px 6px;border-radius:6px;background:#fff1f0;color:#b42318;font-size:10px;font-weight:700;margin:1px}.pool-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.vendor-group{border:1px solid var(--line);border-radius:12px;margin-top:14px;overflow:hidden}.vendor-head{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;background:#fff7ed;color:#9a3412}.vendor-head span{font-size:11px}.strong-shortage{background:#fee2e2!important;color:#991b1b!important;font-size:16px}.warn{color:#b54708}
@media(max-width:800px){.section-title{align-items:flex-start;gap:10px;flex-direction:column}.compact-fraction{width:100%}.compact-fraction select{width:100%}.pool-actions button{width:100%}}
.required-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:22px 0 8px}.required-head h2{margin:0 0 2px}.required-matrix-wrap{border-color:#d0d5dd}.required-cell{padding:2px!important;background:#fff}.required-cell input{width:52px;min-width:52px;padding:6px 3px;border:1px solid #d0d5dd;border-radius:6px;text-align:center;font-weight:800;background:#fff}.required-cell input:focus{outline:2px solid #175cd3;outline-offset:-1px;border-color:#175cd3}.required-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:9px;flex-wrap:wrap}.notice.success{margin:10px 0;padding:9px 12px;border:1px solid #abefc6;background:#ecfdf3;color:#067647;border-radius:9px;font-weight:700}

/* Rev1.4.2 Own resource availability calendar on Manning Matrix */
.own-calendar-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:24px 0 8px;flex-wrap:wrap}.own-calendar-head h2{margin:0 0 2px}.own-calendar-table .resource-select-col{min-width:190px;max-width:190px}.own-calendar-table .resource-select-col label{display:flex;align-items:center;gap:7px;text-transform:none;letter-spacing:0}.own-calendar-table .resource-select-col input{width:17px;height:17px}.availability-cell{min-width:74px!important;max-width:92px;font-size:9px;font-weight:800;line-height:1.15;padding:4px!important}.availability-cell.free{background:#ecfdf3;color:#067647}.availability-cell.this{background:#eff8ff;color:#175cd3}.availability-cell.other{background:#fff7ed;color:#b54708}.availability-cell.blocked{background:#fef3f2;color:#b42318}.availability-cell a{color:inherit}.own-calendar-actions{display:flex;align-items:center;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:10px}.own-calendar-actions select{min-width:150px}.calendar-guidance{padding:15px;margin-top:20px;border-style:dashed}.sample-scenario{border:1px solid #b2ddff;background:#f0f9ff;border-radius:12px;padding:14px;margin-top:16px}.sample-scenario h3{margin:0 0 5px}
.matrix-context{margin:10px 0 12px;padding:12px 14px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.context-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#667085;font-weight:800}.context-project{font-size:19px;font-weight:850;color:#172033}.context-discipline{font-size:24px;font-weight:900;color:#101828;margin-left:auto}.context-discipline span{font-size:12px;color:#667085;margin-left:6px}.discipline-only-label strong{font-size:15px!important;line-height:1.05;color:#172033}.discipline-only-label small{font-size:10px!important;margin-top:3px}.required-head{margin-top:26px}.own-calendar-head{margin-top:18px}@media(max-width:700px){.context-discipline{width:100%;margin-left:0}}

/* Rev1.4.4 month workbench */
.calendar-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:8px 10px;margin:8px 0}.calendar-nav-group{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.calendar-nav-group.right{justify-content:flex-end}.calendar-window-title{display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.calendar-window-title small{color:var(--muted);font-weight:600}.nav-mini{padding:6px 8px;font-size:11px}.month-workbench-wrap{overflow-x:hidden}.matrix.month-fit{width:100%;min-width:0;table-layout:fixed}.matrix.month-fit th,.matrix.month-fit td{min-width:0!important;height:34px;padding:1px 2px;font-size:9px;overflow:hidden}.matrix.month-fit .sticky-col{width:164px;min-width:164px!important;max-width:164px!important}.matrix.month-fit .summary-col,.matrix.month-fit .summary-value{width:48px;min-width:48px!important;max-width:48px!important}.matrix.month-fit .date-col{width:auto}.matrix.month-fit .matrix-cell span{font-size:11px}.matrix.month-fit .matrix-cell.neg .cell-link span{font-size:12px}.matrix.month-fit .matrix-cell small{font-size:7px}.matrix.month-fit .required-cell input{width:100%;min-width:0;padding:4px 0;font-size:9px;border-radius:4px}.summary-col{background:#f2f4f7!important;font-size:9px!important}.summary-value{background:#f8fafc;font-weight:900;font-size:14px!important}.required-summary{color:#344054}.allocated-summary-cell{padding:0!important}.allocated-summary{width:100%;height:100%;border:0;background:transparent;color:#175cd3;font-weight:900;font-size:14px;cursor:pointer}.allocated-summary:hover,.allocated-summary.active{background:#dbeafe;color:#1d4ed8}.allocation-names-panel{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid #b2ddff;background:#f0f9ff;border-radius:10px;padding:9px 10px;margin-top:8px}.allocation-names-panel[hidden]{display:none}.allocation-names-panel>div:first-child{display:flex;flex-direction:column;gap:2px}.allocation-name-chips{display:flex;gap:5px;flex-wrap:wrap;flex:1}.allocation-name-chip{border:1px solid #b2ddff;background:#fff;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:750}.resource-calendar-row.allocated-highlight>th,.resource-calendar-row.allocated-highlight>td{box-shadow:inset 0 2px 0 #2563eb,inset 0 -2px 0 #2563eb}.resource-calendar-row.allocated-highlight .sticky-col{background:#dbeafe!important}.own-calendar-table.month-fit .resource-select-col{width:190px;min-width:190px!important;max-width:190px!important}.own-calendar-table.month-fit .summary-col,.own-calendar-table.month-fit .resource-check-indicator,.own-calendar-table.month-fit .resource-load-indicator{width:38px;min-width:38px!important;max-width:38px!important}.own-calendar-table.month-fit .availability-cell{font-size:8px!important;padding:1px!important}.compact-status{display:inline-flex;align-items:center;justify-content:center;min-width:18px;font-size:8px;font-weight:900;line-height:1}.resource-check-indicator,.resource-load-indicator{text-align:center;font-weight:900;background:#f8fafc}.discipline-only-label strong{font-size:13px!important}@media(max-width:1100px){.calendar-nav{grid-template-columns:1fr}.calendar-nav-group,.calendar-nav-group.right{justify-content:center}.matrix.month-fit .sticky-col{width:145px;min-width:145px!important;max-width:145px!important}.own-calendar-table.month-fit .resource-select-col{width:170px;min-width:170px!important;max-width:170px!important}.matrix.month-fit .summary-col,.matrix.month-fit .summary-value{width:40px;min-width:40px!important;max-width:40px!important}}

/* Rev1.4.5 multi-period demand builder */
.period-builder{margin-bottom:12px}.requirement-periods{margin:12px 0 18px}.requirement-periods h2{margin:0 0 3px}.requirement-periods table{margin-top:12px}.requirement-periods .tiny{padding:5px 8px}.period-builder .inline-range{flex:1;justify-content:flex-end}

/* Rev1.4.7 individual-period workbench */
.matrix-cell .alloc-required{display:block;font-size:13px;font-weight:900;line-height:1.05}.matrix-cell .balance{display:block;font-size:11px;font-weight:900;margin-top:3px}.matrix-cell.neg .alloc-required{color:#991b1b}.matrix-cell.neg .balance{color:#991b1b}.matrix-cell.pos .balance{color:#175cd3}.matrix-cell.zero .balance{color:#067647}.matrix.month-fit .matrix-cell{height:48px!important}.matrix.month-fit .matrix-cell .alloc-required{font-size:10px}.matrix.month-fit .matrix-cell .balance{font-size:9px;margin-top:2px}.individual-range-table .resource-select-col{vertical-align:middle}.resource-row-head{display:flex;flex-direction:column;gap:4px}.individual-period-controls{display:flex;align-items:center;gap:3px}.individual-period-controls select{width:68px;min-width:0;padding:2px 2px;font-size:9px;height:23px}.individual-period-controls .fraction-select{width:42px}.own-calendar-table.month-fit .resource-select-col{width:205px;min-width:205px!important;max-width:205px!important}.own-calendar-table.month-fit th,.own-calendar-table.month-fit td{height:52px}.summary-value{white-space:nowrap}@media(max-width:1100px){.own-calendar-table.month-fit .resource-select-col{width:190px;min-width:190px!important;max-width:190px!important}.individual-period-controls select{width:61px}}

/* Rev1.4.8 outsource workbench */
.allocation-workbench-switch{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:14px 16px}
.allocation-switch-actions{display:flex;gap:8px;flex-wrap:wrap}
.outsource-company-picker{margin:10px 0 12px;display:flex;align-items:end;gap:10px}
.vendor-context{display:flex;align-items:baseline;gap:10px;margin:8px 0 10px;padding:8px 12px;border-left:4px solid #2563eb;background:#f8fafc;border-radius:6px}
@media(max-width:900px){.allocation-workbench-switch{align-items:flex-start;flex-direction:column}.outsource-company-picker{align-items:stretch;flex-direction:column}}


/* Rev1.4.9 scenario + readability refinements */
.scenario-banner.outsource-scenario{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.matrix-cell .balance-primary{display:block;font-size:16px;font-weight:950;line-height:1;color:inherit}
.matrix-cell .alloc-required-secondary{display:block;font-size:10px;font-weight:850;line-height:1.05;margin-top:4px;color:inherit}
.matrix-cell.neg .balance-primary,.matrix-cell.neg .alloc-required-secondary{color:#991b1b}
.matrix-cell.pos .balance-primary,.matrix-cell.pos .alloc-required-secondary{color:#175cd3}
.matrix-cell.zero .balance-primary,.matrix-cell.zero .alloc-required-secondary{color:#067647}
.matrix.month-fit .matrix-cell{height:54px!important}
.matrix.month-fit .matrix-cell .balance-primary{font-size:13px}
.matrix.month-fit .matrix-cell .alloc-required-secondary{font-size:9px;margin-top:3px}
.own-calendar-table.month-fit .availability-cell{font-size:11px!important}
.compact-status{min-width:22px;font-size:12px!important;font-weight:950;line-height:1.1}
.availability-cell.other .compact-status{font-size:12px!important}

/* Rev1.5.0: synchronized workbench grid, stronger typography and admin edit screens */
.notice.error{margin:10px 0;padding:9px 12px;border:1px solid #fda29b;background:#fef3f2;color:#b42318;border-radius:9px;font-weight:700}
.admin-edit-table input,.admin-edit-table select{width:100%;min-width:110px;padding:7px 8px;font-size:13px}.admin-edit-table td{vertical-align:middle}.admin-edit-table small{display:block;color:var(--muted);margin-top:2px}.btn-small{padding:7px 10px}

/* All month-fit workbench tables reserve exactly 300px before day 01. */
.matrix.month-fit .sticky-col{width:200px!important;min-width:200px!important;max-width:200px!important}
.matrix.month-fit .summary-col,.matrix.month-fit .summary-value{width:50px!important;min-width:50px!important;max-width:50px!important}
.own-calendar-table.month-fit .resource-select-col{width:220px!important;min-width:220px!important;max-width:220px!important}
.own-calendar-table.month-fit .summary-col,.own-calendar-table.month-fit .resource-check-indicator,.own-calendar-table.month-fit .resource-load-indicator{width:40px!important;min-width:40px!important;max-width:40px!important}
.matrix.month-fit .date-col,.matrix.month-fit td:not(.sticky-col):not(.summary-col):not(.summary-value):not(.resource-check-indicator):not(.resource-load-indicator){width:auto}

/* Larger project/discipline labels across Manning + Required matrices. */
.matrix .sticky-col>strong,.discipline-only-label strong{font-size:17px!important;line-height:1.08!important;font-weight:900!important;letter-spacing:.01em}
.matrix .sticky-col>small,.discipline-only-label small{font-size:12px!important;line-height:1.15!important;margin-top:4px!important;font-weight:750!important}
.matrix.month-fit .sticky-col>strong,.matrix.month-fit .discipline-only-label strong{font-size:14px!important}
.matrix.month-fit .sticky-col>small,.matrix.month-fit .discipline-only-label small{font-size:10px!important}

/* Required Matrix values: larger, centered and high contrast without widening columns. */
.required-cell input{font-size:15px!important;font-weight:900!important;line-height:1!important;padding:7px 1px!important;color:#101828}
.matrix.month-fit .required-cell input{font-size:13px!important;font-weight:950!important;padding:6px 0!important}

/* Resource calendar labels stay readable while preserving the aligned 300px leading area. */
.resource-row-head strong,.resource-row-head .name-link{font-size:13px!important;line-height:1.1!important;font-weight:900!important}
.resource-row-head small{font-size:10px!important}
.compact-status{font-size:13px!important;font-weight:950!important}

@media(max-width:1100px){
  .matrix.month-fit .sticky-col{width:180px!important;min-width:180px!important;max-width:180px!important}
  .matrix.month-fit .summary-col,.matrix.month-fit .summary-value{width:45px!important;min-width:45px!important;max-width:45px!important}
  .own-calendar-table.month-fit .resource-select-col{width:200px!important;min-width:200px!important;max-width:200px!important}
  .own-calendar-table.month-fit .summary-col,.own-calendar-table.month-fit .resource-check-indicator,.own-calendar-table.month-fit .resource-load-indicator{width:35px!important;min-width:35px!important;max-width:35px!important}
}

/* Rev1.5.1: single-day allocation, configurable fractions, final named manpower plan */
.day-allocate-trigger{border:0;background:#ecfdf3;color:#067647;cursor:pointer;padding:4px 5px;border-radius:5px;box-shadow:inset 0 0 0 1px #abefc6}.day-allocate-trigger:hover{background:#d1fadf;box-shadow:inset 0 0 0 2px #12b76a}.quick-day-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:12px 0}.quick-day-panel[hidden]{display:none}.quick-day-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.quick-day-form select{min-width:155px}.final-plan-section{margin-top:26px}.final-plan-head{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:10px}.final-plan-head h2{margin:0 0 3px}.pdf-export-controls{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.pdf-export-controls label{font-size:12px;font-weight:800;color:#475467}.pdf-export-controls select{display:block;margin-top:4px}.final-plan-summary{display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding:10px 14px;margin-bottom:12px}.final-plan-section h3{margin:16px 0 7px;font-size:15px}.final-roster-table .final-name-col{width:220px!important;min-width:220px!important;max-width:220px!important}.final-roster-table .final-disc-col{width:40px!important;min-width:40px!important;max-width:40px!important}.final-roster-table .final-load-col{width:40px!important;min-width:40px!important;max-width:40px!important}.final-roster-table.month-fit .sticky-col{width:220px!important;min-width:220px!important;max-width:220px!important}.final-roster-table.month-fit .summary-col,.final-roster-table.month-fit .summary-value{width:40px!important;min-width:40px!important;max-width:40px!important}.final-allocation-cell{font-size:10px;font-weight:850;color:#98a2b3}.final-allocation-cell.allocated{background:#eff8ff;color:#175cd3;font-size:12px;font-weight:950}.final-roster-table .sticky-col strong{font-size:12px!important}.final-roster-table .sticky-col small{font-size:9px!important}@media(max-width:900px){.quick-day-panel,.final-plan-head{align-items:stretch;flex-direction:column}.pdf-export-controls{align-items:stretch}.final-roster-table .final-name-col,.final-roster-table.month-fit .sticky-col{width:190px!important;min-width:190px!important;max-width:190px!important}}

/* Rev1.5.2: anchored day allocation + sticky manning context + in-place messages */
.sticky-manning-summary{position:sticky;top:8px;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:9px 12px;border:1px solid #d0d5dd;border-radius:10px;background:rgba(255,255,255,.97);box-shadow:0 4px 14px rgba(16,24,40,.10);backdrop-filter:blur(8px)}
.sticky-summary-main,.sticky-summary-metrics{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sticky-summary-main strong{font-size:14px}.sticky-summary-main span{font-size:12px;color:#475467;font-weight:750}.sticky-summary-metrics>span{font-size:11px;color:#475467;border-left:1px solid #e4e7ec;padding-left:9px}.sticky-summary-metrics strong{font-size:14px;color:#101828}.sticky-balance{display:inline-flex;align-items:center;justify-content:center;min-width:44px;border-radius:7px;padding:5px 8px!important;border-left:0!important;font-size:14px!important;font-weight:950}.sticky-balance.neg{background:#fecaca;color:#991b1b}.sticky-balance.zero{background:#ecfdf3;color:#067647}.sticky-balance.pos{background:#eff8ff;color:#175cd3}.sticky-balance.neutral{background:#f2f4f7;color:#667085}
.quick-day-popover{position:fixed;z-index:90;padding:12px;border:1px solid #b2ddff;border-radius:12px;background:#fff;box-shadow:0 12px 32px rgba(16,24,40,.22)}.quick-day-popover[hidden]{display:none}.quick-popover-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:2px}.quick-popover-head strong{font-size:14px}.quick-popover-x{border:0;background:transparent;color:#667085;font-size:22px;line-height:1;cursor:pointer;padding:2px 5px}.quick-day-popover .quick-day-form{display:block;margin-top:10px}.quick-day-popover .quick-day-form select{width:100%;min-width:0;font-size:14px}.quick-popover-actions{display:flex;gap:7px;margin-top:9px}.quick-popover-actions button{flex:1}.day-allocate-trigger:focus{outline:2px solid #1570ef;outline-offset:2px}
.workbench-message-modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(16,24,40,.32)}.workbench-message-modal[hidden]{display:none}.workbench-message-card{width:min(420px,calc(100vw - 32px));background:#fff;border-radius:14px;border:1px solid #e4e7ec;box-shadow:0 18px 50px rgba(16,24,40,.25);padding:18px}.workbench-message-card strong{display:block;font-size:18px;margin-bottom:8px}.workbench-message-card #workbench-message-text{color:#475467;line-height:1.45;margin-bottom:14px}.workbench-message-card button{min-width:90px}
@media(max-width:900px){.sticky-manning-summary{align-items:flex-start;flex-direction:column}.sticky-summary-metrics>span:first-child{border-left:0;padding-left:0}}

/* Rev1.5.3: keep the complete Manning block visible while allocating long resource lists. */
.sticky-manning-block{
  position:sticky;
  top:6px;
  z-index:45;
  margin:8px 0 12px;
  padding:6px 0 7px;
  background:rgba(248,250,252,.985);
  border-radius:12px;
  box-shadow:0 7px 18px rgba(16,24,40,.08);
  backdrop-filter:blur(8px);
}
.sticky-manning-block .matrix-context{margin-top:0}
.sticky-manning-block .scenario-banner{margin-top:7px}
.sticky-manning-block .month-workbench-wrap{margin-bottom:0}
.sticky-manning-block .legend{margin-bottom:0;padding-bottom:1px}
/* Avoid a second competing sticky element after Rev1.5.3. */
.sticky-manning-summary{display:none!important}
@media(max-width:900px){
  .sticky-manning-block{position:relative;top:auto;box-shadow:none;backdrop-filter:none}
}

/* Rev1.5.4 granular permissions */
.permission-card{margin-bottom:16px}.permission-user{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:12px}.permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px;margin:10px 0 14px}.permission-item{display:flex;align-items:flex-start;gap:9px;padding:9px 10px;border:1px solid #e4e7ec;border-radius:10px;background:#fff}.permission-item input{width:18px;height:18px;margin-top:2px}.permission-item span{display:flex;flex-direction:column;gap:2px}.permission-item small{color:#667085;line-height:1.25}@media(max-width:1000px){.permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.permission-grid{grid-template-columns:1fr}.permission-user{align-items:flex-start;flex-direction:column}}


/* Rev1.5.6: project-first Manning Workbench hierarchy */
.workbench-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}.workbench-hero h1{margin:0 0 4px;font-size:31px;line-height:1.05}.workbench-steps{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.workbench-step{display:inline-flex;align-items:center;gap:7px;border:1px solid #e4e7ec;background:#fff;color:#475467;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:850;text-decoration:none}.workbench-step span{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#eef2f6;color:#667085;font-weight:950}.workbench-step.active{background:#eff8ff;border-color:#84caff;color:#175cd3}.workbench-step.active span{background:#1570ef;color:#fff}
.workbench-focus-form{display:grid;grid-template-columns:minmax(300px,1.5fr) minmax(260px,1.05fr) minmax(380px,1.35fr) auto;gap:0;padding:0!important;overflow:hidden;margin-bottom:12px;align-items:stretch}.workbench-focus-card,.workbench-period-card{padding:16px 18px;border-right:1px solid #e4e7ec;min-width:0}.workbench-focus-card select{width:100%;border:0;background:transparent;padding:2px 26px 2px 0;font-size:21px;font-weight:950;color:#101828;box-shadow:none}.workbench-focus-card select:focus{outline:none}.focus-label{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#667085;font-weight:900;margin-bottom:6px}.focus-support{font-size:12px;color:#667085;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-focus{background:linear-gradient(180deg,#fff,#fbfcfe)}.discipline-focus{background:#f4fbf7}.discipline-focus .focus-label{color:#067647}.discipline-focus select{color:#065f46}.period-fields{display:flex;align-items:flex-end;gap:9px}.period-fields label{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.period-fields label span{font-size:10px;color:#667085;font-weight:800}.period-fields input{width:100%;padding:8px 9px;font-size:14px;font-weight:800}.period-arrow{font-weight:950;color:#98a2b3;padding-bottom:9px}.load-context-btn{align-self:stretch;border-radius:0!important;min-width:92px;padding:0 22px!important;font-size:15px!important}.workbench-viewbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 12px!important;margin-bottom:10px}.scenario-tabs{display:flex;align-items:center;gap:5px}.viewbar-label{font-size:11px;color:#667085;font-weight:850;margin-right:4px}.scenario-tab{padding:7px 12px;border-radius:8px;text-decoration:none;font-size:12px;font-weight:850;color:#475467;background:#f2f4f7}.scenario-tab.active{background:#1570ef;color:#fff}.demand-plan-link{font-size:12px;font-weight:850;color:#344054;text-decoration:none}.demand-plan-link:hover{color:#175cd3}.calendar-nav{margin-top:0!important}.allocation-overview-head{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:5px 8px 6px}.allocation-overview-head>div:first-child{display:grid;gap:1px}.allocation-overview-head .section-kicker{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#175cd3;font-weight:950}.allocation-overview-head strong{font-size:16px;color:#101828}.allocation-overview-head small{font-size:10px;color:#667085}.overview-period{font-size:11px;color:#475467;font-weight:800}.sticky-manning-block .matrix-context{border:1px solid #e4e7ec;background:#fff;box-shadow:none}.sticky-manning-block .scenario-banner{margin-top:4px}.required-head h2{font-size:24px;margin-bottom:2px}.own-calendar-head h2{font-size:24px}.own-calendar-head,.required-head{margin-top:20px}.own-calendar-actions,.allocation-switcher{border-radius:12px}.workbench-focus-form+.workbench-viewbar+.calendar-nav{margin-bottom:10px}
@media(max-width:1200px){.workbench-focus-form{grid-template-columns:1fr 1fr}.workbench-period-card{border-top:1px solid #e4e7ec}.load-context-btn{min-height:58px}.workbench-steps{justify-content:flex-end}}
@media(max-width:760px){.workbench-hero{flex-direction:column}.workbench-steps{justify-content:flex-start}.workbench-focus-form{grid-template-columns:1fr}.workbench-focus-card,.workbench-period-card{border-right:0;border-bottom:1px solid #e4e7ec}.workbench-viewbar{align-items:flex-start;flex-direction:column}.scenario-tabs{width:100%}.scenario-tab{flex:1;text-align:center}.period-fields{flex-wrap:wrap}.period-arrow{display:none}.workbench-focus-card select{font-size:18px}}

/* Rev1.5.7: single-day manage/de-allocate + synchronized date-column focus */
.day-project-trigger{border:0;background:#eff8ff;color:#175cd3;cursor:pointer;padding:4px 5px;border-radius:5px;font-weight:950}.day-project-trigger:hover{background:#dbeafe;box-shadow:inset 0 0 0 2px #1570ef}.quick-deallocate-btn{background:#b42318!important;border-color:#b42318!important;color:#fff!important}.quick-deallocate-btn:hover{background:#912018!important}.date-column-focus{background-image:linear-gradient(rgba(21,112,239,.09),rgba(21,112,239,.09))!important;background-blend-mode:multiply;box-shadow:inset 2px 0 0 #84adff,inset -2px 0 0 #84adff!important}.matrix thead .date-column-focus{background:#dbeafe!important;color:#175cd3}.availability-cell .day-allocation-trigger{font-size:inherit;font-weight:950}


/* Rev1.5.8: calmer availability cells + blank zero-demand inputs */
.availability-cell.free{background:#f0fdf4!important}
.availability-cell.free .day-allocation-trigger{background:transparent!important;color:#067647!important;border:1px solid #86efac!important;box-shadow:none!important;border-radius:7px!important;padding:3px 6px!important}
.availability-cell.free .day-allocation-trigger:hover{background:#dcfce7!important;border-color:#22c55e!important;box-shadow:none!important}
.availability-cell.free .day-allocation-trigger:focus{background:#dcfce7!important;outline:2px solid #22c55e!important;outline-offset:1px!important}
.availability-cell.this{background:#eff6ff!important}
.availability-cell.this .day-project-trigger{background:transparent!important;color:#175cd3!important;border:1px solid #93c5fd!important;box-shadow:none!important;border-radius:7px!important;padding:3px 6px!important}
.required-cell input:placeholder-shown{background:#fff;color:#98a2b3}
.required-cell input[value=""]{color:#101828}

/* Rev1.5.16 compact admin + grouped resource UX */
.resource-pagehead{align-items:center}.resource-page-actions{display:flex;gap:7px;align-items:center}.compact-create-panel{padding:0;overflow:hidden}.compact-create-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 15px;cursor:pointer;list-style:none}.compact-create-panel>summary::-webkit-details-marker{display:none}.compact-create-form{padding:12px 15px 14px;margin:0;border-top:1px solid var(--line)}.compact-create-form .grow{flex:1;min-width:220px}.resource-pool-groups,.calendar-group-stack,.master-accordion-stack{display:grid;gap:10px}.pool-accordion,.calendar-pool-group,.master-accordion{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.pool-summary,.calendar-pool-summary,.master-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 14px;cursor:pointer;list-style:none;background:#fff}.pool-summary::-webkit-details-marker,.calendar-pool-summary::-webkit-details-marker,.master-accordion>summary::-webkit-details-marker,.discipline-summary::-webkit-details-marker,.calendar-discipline-summary::-webkit-details-marker{display:none}.pool-summary>div:first-child,.calendar-pool-summary>div:first-child{display:flex;align-items:center;gap:9px}.pool-summary strong,.calendar-pool-summary strong{font-size:17px}.accordion-metrics{display:flex;align-items:center;gap:12px;font-size:11px;color:#667085}.chevron{font-size:16px;color:#98a2b3;transition:transform .15s}.pool-accordion[open]>.pool-summary .chevron,.calendar-pool-group[open]>.calendar-pool-summary .chevron,.master-accordion[open]>summary .chevron,.discipline-accordion[open]>.discipline-summary .chevron,.calendar-discipline-group[open]>.calendar-discipline-summary .chevron{transform:rotate(180deg)}.pool-body,.calendar-pool-body{padding:0 10px 10px;display:grid;gap:7px}.discipline-accordion,.calendar-discipline-group{border:1px solid #eaecf0;border-radius:9px;overflow:hidden}.discipline-summary,.calendar-discipline-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;background:#f9fafb;cursor:pointer;list-style:none}.discipline-summary strong,.calendar-discipline-summary strong{font-size:14px}.compact-resource-table-wrap{overflow:auto}.compact-resource-table th,.compact-resource-table td{padding:6px 9px}.compact-resource-table form{margin:0}.muted-row{opacity:.58}.master-accordion>summary>div:first-child{display:grid;gap:1px}.master-accordion>summary strong{font-size:15px}.master-accordion>summary small{font-size:11px;color:#667085}.master-count{display:flex;gap:10px;align-items:center;color:#667085;font-size:11px}.master-body{padding:10px 12px 12px;border-top:1px solid var(--line)}.compact-master-form{margin:0 0 9px}.compact-master-form input,.compact-master-form select{padding:7px 8px}.compact-list th,.compact-list td{padding:6px 8px}.configurable-table input,.configurable-table select{padding:5px 6px;font-size:12px}.inline-check{display:flex;align-items:center;gap:6px;font-size:12px}.inline-check input{width:16px;height:16px}.calendar-discipline-summary>div:first-child{display:grid;gap:1px}.calendar-discipline-summary small{font-size:10px;color:#667085}.calendar-discipline-metrics{display:flex;align-items:center;gap:10px;font-size:10px;color:#667085}.grouped-calendar-wrap{border:0;border-top:1px solid #eaecf0;border-radius:0}.calendar-pool-body{padding-top:0}
/* Users & Permissions: compact two-pane workspace */
.compact-users-head{align-items:center}.compact-user-create{margin-bottom:12px;padding:12px}.compact-user-create .formrow{margin:0}.compact-user-create .grow{flex:1;min-width:220px}.user-admin-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);gap:12px;align-items:start}.user-list-panel{padding:10px;position:sticky;top:10px}.user-list-tools{display:grid;grid-template-columns:1fr;gap:7px;margin-bottom:8px}.user-list-tools input,.user-list-tools select{padding:7px 8px;font-size:12px}.user-list{display:grid;gap:4px;max-height:calc(100vh - 230px);overflow:auto}.user-list-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:8px;align-items:center;width:100%;padding:8px;border:1px solid transparent;border-radius:9px;background:transparent;color:#344054;text-align:left}.user-list-row:hover{background:#f9fafb}.user-list-row.active{background:#eff8ff;border-color:#84caff}.user-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f2f4f7;font-size:12px;font-weight:900}.user-list-row.active .user-avatar{background:#1570ef;color:#fff}.user-list-main{display:grid;min-width:0}.user-list-main strong{font-size:12px}.user-list-main small{font-size:10px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-list-meta{display:grid;justify-items:end;gap:4px}.user-list-meta small{font-size:9px;color:#667085}.status-dot{width:7px;height:7px;border-radius:50%;background:#d0d5dd}.status-dot.active{background:#12b76a}.user-detail-panel{min-width:0}.user-detail{padding:14px}.user-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #eaecf0}.user-title-line{display:flex;align-items:center;gap:9px}.user-title-line h2{margin:0;font-size:20px}.full-access-badge{padding:6px 10px;border-radius:999px;background:#ecfdf3;color:#067647;font-size:11px;font-weight:850}.permission-count{font-size:11px;color:#667085;font-weight:800}.root-protection-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.root-protection-grid>div{border:1px solid #eaecf0;border-radius:9px;padding:9px;background:#f9fafb;display:grid;gap:2px}.root-protection-grid span,.root-protection-grid small{font-size:9px;color:#667085}.root-protection-grid strong{font-size:12px}.compact-root-password{margin-top:10px}.compact-root-password .formrow{margin:10px 0 0}.compact-account-form{padding:10px 0 12px;border-bottom:1px solid #eaecf0}.section-label{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#667085;font-weight:900;margin-bottom:7px}.account-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr auto;gap:8px;align-items:end}.account-grid input,.account-grid select{width:100%;padding:7px 8px;font-size:12px}.account-grid button{padding:8px 11px}.permission-section{padding-top:11px}.section-label-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.permission-quick-actions{display:flex;gap:6px}.compact-permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:8px}.compact-permission-item{display:grid;grid-template-columns:17px minmax(0,1fr);gap:6px;align-items:start;padding:6px 7px;border:1px solid #eaecf0;border-radius:8px;background:#fff}.compact-permission-item input{width:15px;height:15px;margin:1px 0}.compact-permission-item span{display:grid;gap:1px}.compact-permission-item strong{font-size:10px;line-height:1.15}.compact-permission-item small{font-size:8.5px;color:#667085;line-height:1.2}.permission-save-row{display:flex;justify-content:flex-end;margin-top:8px}.permission-save-row button{padding:8px 12px}.user-detail[hidden]{display:none!important}
@media(max-width:1100px){.user-admin-workspace{grid-template-columns:230px minmax(0,1fr)}.account-grid{grid-template-columns:repeat(2,1fr)}.compact-permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.root-protection-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.user-admin-workspace{grid-template-columns:1fr}.user-list-panel{position:relative;top:auto}.user-list{max-height:260px}.compact-permission-grid{grid-template-columns:1fr}.account-grid{grid-template-columns:1fr}.root-protection-grid{grid-template-columns:1fr}.calendar-discipline-metrics,.accordion-metrics{flex-wrap:wrap;justify-content:flex-end}}

/* Rev1.5.19 - true Sunday-first month calendar and visual status icons */
.resource-dashboard-toolbar{align-items:end}.month-calendar-shell{padding:12px}.month-calendar-title{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 10px}.month-calendar-title strong{font-size:20px}.month-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #e4e7ec;border-bottom:0;border-radius:10px 10px 0 0;overflow:hidden}.month-weekdays span{text-align:center;padding:8px 4px;background:#f9fafb;border-right:1px solid #e4e7ec;color:#475467;font-size:11px;font-weight:900}.month-weekdays span:last-child{border-right:0}.person-calendar.month-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;border:1px solid #e4e7ec;border-radius:0 0 10px 10px;overflow:hidden}.month-calendar-grid .person-day,.month-blank{border:0;border-radius:0;border-right:1px solid #e4e7ec;border-bottom:1px solid #e4e7ec;min-height:146px;padding:8px}.month-calendar-grid .person-day:nth-child(7n),.month-calendar-grid .month-blank:nth-child(7n){border-right:0}.month-blank{background:#f9fafb}.calendar-status-visual{display:flex;align-items:flex-start;gap:7px;min-height:51px}.status-icon{width:30px;height:30px;flex:0 0 30px;border-radius:8px;display:grid;place-items:center;margin-top:4px}.status-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.status-visual-available .status-icon{background:#dcfae6;color:#067647}.status-visual-project .status-icon{background:#dbeafe;color:#175cd3}.status-visual-travel .status-icon{background:#eef2ff;color:#4f46e5}.status-visual-leave .status-icon{background:#fff1e6;color:#b54708}.status-visual-training .status-icon{background:#fff7d6;color:#b26a00}.status-visual-unavailable .status-icon{background:#fee4e2;color:#b42318}.person-day.status-travel{background:#f4f3ff!important}.person-day.status-leave{background:#fff8f0!important}.person-day.status-training{background:#fffbeb!important}.person-day.status-unavailable{background:#fff1f0!important}.month-person-day .resource-day-display{min-width:0;flex:1}.month-person-day .person-status{font-size:12px;margin:9px 0 4px}.month-person-day .allocation-tag{font-size:10px}.strip-calendar .calendar-status-visual{display:block}.strip-calendar .status-icon{float:left;margin-right:7px}.strip-calendar .resource-day-display{min-height:38px}.strip-calendar .mini-status{clear:both}.resource-dashboard-status-form select{font-weight:700}
@media(max-width:900px){.month-weekdays span{font-size:9px}.month-calendar-grid .person-day,.month-blank{min-height:132px;padding:6px}.status-icon{width:25px;height:25px;flex-basis:25px}.status-icon svg{width:18px;height:18px}}
@media(max-width:700px){.month-calendar-shell{overflow-x:auto}.month-weekdays,.person-calendar.month-calendar-grid{min-width:760px}.strip-calendar{grid-template-columns:repeat(2,minmax(100px,1fr))}}

/* Rev1.5.20 - compact Manning Workbench context header */
.workbench-hero{margin-bottom:8px;align-items:center}.workbench-hero h1{font-size:27px;margin-bottom:2px}.workbench-hero .muted{font-size:12px}.workbench-steps{gap:6px}.workbench-step{padding:6px 9px;font-size:11px;gap:5px}.workbench-step span{width:19px;height:19px;font-size:10px}
.workbench-focus-form{grid-template-columns:minmax(250px,1.35fr) minmax(220px,1fr) minmax(330px,1.25fr) 82px;margin-bottom:8px;min-height:0}.workbench-focus-card,.workbench-period-card{padding:8px 12px}.focus-label{font-size:9px;margin-bottom:2px;letter-spacing:.07em}.workbench-focus-card select{font-size:17px;line-height:1.15;padding-top:0;padding-bottom:0}.focus-support{font-size:10px;margin-top:2px;line-height:1.2}.period-fields{gap:6px}.period-fields label{gap:2px}.period-fields label span{font-size:9px}.period-fields input{padding:5px 7px;font-size:12px;min-height:34px}.period-arrow{padding-bottom:7px}.load-context-btn{align-self:center;justify-self:center;width:68px;min-width:68px;height:38px;min-height:38px;margin:0;padding:0 10px!important;border-radius:8px!important;font-size:13px!important}.workbench-period-card .focus-support{margin-top:3px}
.workbench-viewbar{padding:6px 10px!important;margin-bottom:7px}.scenario-tab{padding:5px 10px;font-size:11px}.demand-plan-link,.viewbar-label{font-size:10px}.calendar-nav{padding:6px 10px!important}.nav-mini{padding:5px 8px!important;font-size:10px!important}.calendar-window-title strong{font-size:12px}.calendar-window-title small{font-size:9px}
@media(max-width:1200px){.workbench-focus-form{grid-template-columns:1fr 1fr}.load-context-btn{width:auto;min-width:90px;margin:8px 12px;justify-self:start}.workbench-focus-card,.workbench-period-card{padding:9px 12px}}

/* Rev1.5.22 - Project Manning report preview */
.report-page-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:10px}.report-page-head h1{margin:0;font-size:28px}.report-filterbar{display:grid;grid-template-columns:1.35fr 1fr .7fr .7fr auto;gap:10px;align-items:end;padding:12px;margin-bottom:10px}.report-filterbar label,.report-export-actions label{display:grid;gap:4px;font-size:10px;font-weight:850;color:#475467}.report-filterbar select,.report-filterbar input,.report-export-actions select{padding:8px 9px}.report-exportbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;margin-bottom:10px}.report-exportbar>div:first-child{display:grid;gap:2px}.report-exportbar>div:first-child span{font-size:11px;color:#667085}.report-export-actions{display:flex;align-items:end;gap:7px}.excel-btn{background:#ecfdf3!important;color:#067647!important;border:1px solid #6ce9a6!important}.pdf-btn{background:#fff1f0!important;color:#b42318!important;border:1px solid #fda29b!important}.project-manning-report-preview{padding:12px}.report-preview-title{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #e4e7ec;padding-bottom:8px}.report-preview-title h2{margin:0;font-size:22px}.report-preview-title>div>div{font-size:11px;color:#667085}.report-brand{font-size:28px!important;font-weight:950!important;color:#102a56!important}.report-meta-grid{display:grid;grid-template-columns:1.2fr 1fr 1.35fr .6fr;gap:8px;padding:9px 0}.report-meta-grid>div{display:grid;gap:2px}.report-meta-grid span{font-size:9px;color:#667085;text-transform:uppercase;font-weight:850}.report-meta-grid strong{font-size:12px}.report-section-title{margin:9px 0 0;padding:6px 8px;background:#0b5cad;color:#fff;font-size:12px;border-radius:6px 6px 0 0}.report-scroll{overflow-x:auto}.report-calendar-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:900px}.report-calendar-table th,.report-calendar-table td{border:1px solid #d0d5dd;padding:4px 3px;text-align:center;font-size:9px;height:28px}.report-calendar-table thead th{background:#eef4f8;font-weight:900}.report-calendar-table thead th:first-child{width:120px;text-align:left}.report-calendar-table thead th:nth-child(2):not(:last-child){width:auto}.summary-calendar tbody th{text-align:left;background:#f9fafb;font-size:10px}.summary-calendar thead th span,.summary-calendar thead th small{display:block}.summary-calendar thead th small{font-size:8px;color:#667085}.report-total-row{font-weight:850;background:#f5faff}.gap-row{font-weight:950}.gap-neg{background:#fecaca!important;color:#991b1b!important;font-weight:950!important}.gap-zero{background:#dcfce7!important;color:#067647!important;font-weight:950!important}.gap-pos{background:#dbeafe!important;color:#175cd3!important;font-weight:950!important}.total-cell{font-weight:900;background:#f2f4f7}.resource-report-table thead th:first-child{width:170px}.resource-report-table thead th:nth-child(2){width:80px}.resource-report-table tbody th{text-align:left;padding-left:6px;background:#f9fafb}.resource-report-table tbody th strong,.resource-report-table tbody th small{display:block}.resource-report-table tbody th small{font-size:8px;color:#667085;margin-top:2px}.allocated-cell{background:#eff8ff;color:#175cd3;font-weight:850}.travel-cell{background:#eef2ff;color:#4f46e5;font-weight:950}.travel-mark{white-space:nowrap}.empty-report-row{color:#667085;padding:12px!important}.report-bottom-grid{display:grid;grid-template-columns:.8fr 1.3fr 1.3fr;gap:10px;margin-top:10px}.compact-summary-table{width:100%;border-collapse:collapse}.compact-summary-table th,.compact-summary-table td{border:1px solid #e4e7ec;padding:5px 7px;font-size:10px}.compact-summary-table th{text-align:left;background:#f9fafb}.compact-summary-table td{text-align:right;font-weight:850}.report-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.report-kpis div{border:1px solid #e4e7ec;border-radius:7px;padding:8px;text-align:center}.report-kpis strong{display:block;font-size:18px}.report-kpis span{font-size:8px;color:#667085}.report-legend{display:flex;gap:7px;flex-wrap:wrap;padding:5px}.report-legend span{display:flex;align-items:center;gap:4px;font-size:9px}.legend-box{min-width:27px;height:22px;display:inline-grid;place-items:center;border-radius:5px;padding:0 4px}.legend-box.exact{background:#dcfce7;color:#067647}.legend-box.neg{background:#fecaca;color:#991b1b}.legend-box.pos{background:#dbeafe;color:#175cd3}.legend-box.travel{background:#eef2ff;color:#4f46e5}.legend-box.partial{background:#fff4cc;color:#8a5d00}@media(max-width:1000px){.report-filterbar{grid-template-columns:1fr 1fr}.report-exportbar{align-items:stretch;flex-direction:column}.report-bottom-grid{grid-template-columns:1fr}.report-meta-grid{grid-template-columns:1fr 1fr}}
.multi-report-filter{grid-template-columns:1.5fr 1fr .7fr .7fr auto}.project-scope-field{min-width:0}.project-multi-picker{position:relative}.project-multi-picker>summary{list-style:none;border:1px solid #d0d5dd;border-radius:8px;background:#fff;padding:9px 10px;font-size:13px;font-weight:800;cursor:pointer;min-height:38px;display:flex;align-items:center}.project-multi-picker>summary::-webkit-details-marker{display:none}.project-picker-panel{position:absolute;z-index:30;left:0;top:calc(100% + 5px);width:min(520px,75vw);max-height:360px;overflow:auto;background:#fff;border:1px solid #d0d5dd;border-radius:10px;box-shadow:0 12px 30px rgba(16,24,40,.16);padding:8px}.project-picker-panel label{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px;padding:7px 8px;border-radius:7px;font-size:12px!important;color:#172033!important}.project-picker-panel label:hover{background:#f2f4f7}.project-picker-panel input{width:auto!important;margin:0}.project-all-option{border-bottom:1px solid #e4e7ec;margin-bottom:4px}.project-picker-list{display:grid;gap:1px}.portfolio-report-summary{padding:12px;margin-bottom:10px}
@media(max-width:1000px){.multi-report-filter{grid-template-columns:1fr 1fr}.project-picker-panel{position:fixed;left:5vw;right:5vw;top:18vh;width:90vw;max-height:65vh}}

/* Rev1.5.25 - Report-style Manning Workbench */
.report-style-hero{margin-bottom:8px}
.simple-workbench-filter{display:grid;grid-template-columns:minmax(220px,1.1fr) minmax(210px,1fr) minmax(360px,1.35fr) minmax(250px,.9fr) 82px;gap:0;padding:0!important;overflow:hidden;align-items:stretch;margin-bottom:8px}
.simple-workbench-filter>label,.simple-workbench-filter>.simple-period,.simple-workbench-filter>.simple-scenario{padding:10px 12px;border-right:1px solid #e4e7ec;min-width:0}
.simple-workbench-filter>label>span,.simple-period>span,.simple-scenario>span{display:block;font-size:9px;letter-spacing:.07em;text-transform:uppercase;font-weight:900;color:#667085;margin-bottom:5px}
.simple-workbench-filter select{width:100%;padding:7px 9px;font-size:13px;font-weight:800;background:#fff;border:1px solid #d0d5dd;border-radius:7px;color:#101828}
.simple-period>div{display:flex;align-items:center;gap:6px}.simple-period input{min-width:0;width:100%;padding:7px 8px;font-size:12px;font-weight:800}.simple-period b{color:#98a2b3}.simple-period small{display:block;margin-top:3px;color:#667085;font-size:9px}
.simple-scenario>div{display:flex;gap:5px}.scenario-choice{position:relative;display:flex!important;align-items:center;justify-content:center;flex:1;padding:8px 7px!important;border:1px solid #d0d5dd!important;border-radius:7px;background:#fff;font-size:11px!important;font-weight:850;color:#475467;cursor:pointer}.scenario-choice input{position:absolute;opacity:0;pointer-events:none}.scenario-choice.active{background:#1570ef!important;color:#fff!important;border-color:#1570ef!important}
.simple-workbench-filter .load-context-btn{align-self:stretch;width:auto;min-width:82px;height:auto;min-height:58px;margin:0;border-radius:0!important}
.simple-window-bar{margin:0 0 12px!important;border:1px solid #e4e7ec;box-shadow:none}.demand-edit-btn{background:#eff8ff!important;color:#175cd3!important;border-color:#b2ddff!important}
.report-workbench-section{margin:14px 0 0;border:1px solid #d0d5dd;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.report-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#1668b7;color:#fff;padding:8px 12px;margin:14px 0 0;border-radius:9px 9px 0 0}.report-workbench-section>.report-section-title{margin:0;border-radius:0}.report-section-title>div:first-child{display:flex;flex-direction:column;gap:1px}.report-section-title strong{font-size:14px;line-height:1.2}.report-section-title small{font-size:9px;color:#dbeafe;font-weight:600}.report-section-title .section-period{font-size:10px;font-weight:750;color:#eaf2ff;white-space:nowrap}.section-link{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:6px;background:#fff;color:#175cd3!important;text-decoration:none;font-size:10px;font-weight:850;border:1px solid #dbeafe;white-space:nowrap}.section-link.selected{background:#dbeafe;color:#1849a9!important}.section-switches{display:flex;gap:5px}.calendar-section-title{margin-top:14px}
.required-matrix-wrap{border-top:0!important;border-radius:0 0 9px 9px;margin:0}.required-actions{margin:0;padding:8px 10px;border:1px solid #d0d5dd;border-top:0;border-radius:0 0 9px 9px;background:#f8fafc}.required-actions button{padding:7px 12px;font-size:11px}
.report-workbench-section .month-workbench-wrap{border:0;border-radius:0}.report-workbench-section .allocation-names-panel{margin:8px 10px}.report-workbench-section .legend{margin:0;padding:7px 10px;border-top:1px solid #e4e7ec;background:#f8fafc}
.report-allocation-summary-wrap{border:0;border-radius:0}.report-allocation-summary .source-summary{font-size:9px!important;color:#475467}.allocation-summary-cell{text-align:center;font-size:10px;font-weight:800;background:#fff}.allocation-summary-cell.allocated{background:#eff8ff;color:#175cd3}.report-allocation-summary .sticky-col strong{display:block}.report-allocation-summary .sticky-col small{display:block;color:#667085;font-size:8px;margin-top:1px;text-transform:none;letter-spacing:0}
.compact-allocation-switch{margin:12px 0 0!important;padding:9px 11px!important;border-radius:8px}.compact-allocation-switch .btn{padding:7px 10px;font-size:10px}.calendar-section-title+.outsource-company-picker{margin-top:0!important;border-radius:0;border-top:0}.calendar-section-title+form .matrix-wrap{margin-top:0}
.own-calendar-table,.outsource-calendar-table{border-top:0}.own-calendar-actions{margin:0;padding:8px 10px;border:1px solid #d0d5dd;border-top:0;background:#f8fafc;border-radius:0 0 9px 9px}.own-calendar-actions button{padding:7px 12px;font-size:11px}
.matrix th{background:#edf4fa;color:#344054}.matrix thead th{border-color:#d0d9e5}.matrix td,.matrix th{border-color:#d9e1ea}.matrix .sticky-col{background:#f8fafc}.matrix-cell.neg{background:#fecaca!important;color:#b42318!important}.matrix-cell.zero{background:#d1fadf!important;color:#067647!important}.matrix-cell.pos{background:#dbeafe!important;color:#175cd3!important}.availability-cell.free{background:#dcfae6!important}.availability-cell.this{background:#eaf2ff!important}
.sticky-manning-block{position:relative!important;top:auto!important;z-index:auto!important;box-shadow:none!important;backdrop-filter:none!important;padding:0!important;background:#fff!important}
.matrix-context,.allocation-overview-head,.scenario-banner{display:none!important}
@media(max-width:1250px){.simple-workbench-filter{grid-template-columns:1fr 1fr}.simple-workbench-filter .load-context-btn{margin:8px 12px;width:100px;min-height:42px;border-radius:8px!important}.simple-workbench-filter>label,.simple-workbench-filter>.simple-period,.simple-workbench-filter>.simple-scenario{border-bottom:1px solid #e4e7ec}}
@media(max-width:760px){.simple-workbench-filter{grid-template-columns:1fr}.simple-scenario>div{flex-wrap:wrap}.report-section-title{align-items:flex-start;flex-direction:column}.section-switches{width:100%}.section-switches .section-link{flex:1}.simple-period>div{flex-wrap:wrap}.simple-period b{display:none}}

/* Rev1.5.26 - Unified calendar grid alignment across Manning Workbench cards */
@media(min-width:1101px){
  /* Shared geometry: 300px before day 01 and a reserved 50px right summary zone. */
  .required-matrix.month-fit,
  .workbench-matrix.month-fit,
  .own-calendar-table.month-fit,
  .outsource-calendar-table.month-fit{
    width:calc(100% - 50px)!important;
    min-width:0!important;
    table-layout:fixed!important;
  }
  .report-allocation-summary.month-fit{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
  }

  /* Demand + Gap: 200 + 50 + 50 = 300px before first date. */
  .required-matrix.month-fit .sticky-col,
  .workbench-matrix.month-fit .sticky-col{
    width:200px!important;
    min-width:200px!important;
    max-width:200px!important;
  }
  .required-matrix.month-fit .summary-col,
  .required-matrix.month-fit .summary-value,
  .workbench-matrix.month-fit .summary-col,
  .workbench-matrix.month-fit .summary-value{
    width:50px!important;
    min-width:50px!important;
    max-width:50px!important;
  }

  /* Named allocation summary: 200 + 100 = 300px, plus its existing 50px Total at right. */
  .report-allocation-summary.month-fit .sticky-col{
    width:200px!important;
    min-width:200px!important;
    max-width:200px!important;
  }
  .report-allocation-summary.month-fit .sticky-col + .summary-col,
  .report-allocation-summary.month-fit .sticky-col + .summary-value{
    width:100px!important;
    min-width:100px!important;
    max-width:100px!important;
  }
  .report-allocation-summary.month-fit thead .summary-col:last-child,
  .report-allocation-summary.month-fit tbody .summary-value:last-child{
    width:50px!important;
    min-width:50px!important;
    max-width:50px!important;
  }

  /* Availability: 200 + 50 + 50 = 300px before first date. */
  .own-calendar-table.month-fit .resource-select-col,
  .outsource-calendar-table.month-fit .resource-select-col{
    width:200px!important;
    min-width:200px!important;
    max-width:200px!important;
  }
  .own-calendar-table.month-fit .mini-summary,
  .own-calendar-table.month-fit .resource-check-indicator,
  .own-calendar-table.month-fit .resource-load-indicator,
  .outsource-calendar-table.month-fit .mini-summary,
  .outsource-calendar-table.month-fit .resource-check-indicator,
  .outsource-calendar-table.month-fit .resource-load-indicator{
    width:50px!important;
    min-width:50px!important;
    max-width:50px!important;
  }

  /* Date columns share the exact same remaining width in every card. */
  .required-matrix.month-fit .date-col,
  .required-matrix.month-fit .required-cell,
  .report-allocation-summary.month-fit .date-col,
  .report-allocation-summary.month-fit .allocation-summary-cell,
  .workbench-matrix.month-fit .date-col,
  .workbench-matrix.month-fit .matrix-cell,
  .own-calendar-table.month-fit .date-col,
  .own-calendar-table.month-fit .availability-cell,
  .outsource-calendar-table.month-fit .date-col,
  .outsource-calendar-table.month-fit .availability-cell{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
  }
}


/* Rev1.5.27 - true shared Workbench column grid using explicit colgroups.
   Every section has exactly 300px before Day 01, 50px after the last day,
   and the remaining width is divided identically across the same date columns. */
@media(min-width:1101px){
  .workbench-aligned-table.month-fit{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
  }
  .workbench-aligned-table.month-fit col.wb-col-main{width:200px!important}
  .workbench-aligned-table.month-fit col.wb-col-meta{width:50px!important}
  .workbench-aligned-table.month-fit col.wb-col-meta-wide{width:100px!important}
  .workbench-aligned-table.month-fit col.wb-col-total{width:50px!important}
  .workbench-aligned-table.month-fit col.wb-col-day{width:auto!important}

  /* Let the colgroup, not individual cells, own the geometry. */
  .workbench-aligned-table.month-fit .sticky-col,
  .workbench-aligned-table.month-fit .resource-select-col,
  .workbench-aligned-table.month-fit .summary-col,
  .workbench-aligned-table.month-fit .summary-value,
  .workbench-aligned-table.month-fit .mini-summary,
  .workbench-aligned-table.month-fit .resource-check-indicator,
  .workbench-aligned-table.month-fit .resource-load-indicator,
  .workbench-aligned-table.month-fit .date-col,
  .workbench-aligned-table.month-fit .required-cell,
  .workbench-aligned-table.month-fit .allocation-summary-cell,
  .workbench-aligned-table.month-fit .matrix-cell,
  .workbench-aligned-table.month-fit .availability-cell{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    box-sizing:border-box!important;
  }
  .workbench-aligned-table.month-fit .wb-total-head,
  .workbench-aligned-table.month-fit .wb-total-cell{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    text-align:center;
    font-weight:950;
    background:#f2f4f7!important;
  }
  .workbench-aligned-table.month-fit .wb-total-cell.total-neg{background:#fecaca!important;color:#991b1b!important}
  .workbench-aligned-table.month-fit .wb-total-cell.total-zero{background:#d1fadf!important;color:#067647!important}
  .workbench-aligned-table.month-fit .wb-total-cell.total-pos{background:#dbeafe!important;color:#175cd3!important}

  /* Neutralise the Rev1.5.26 per-table width compensation. */
  .required-matrix.month-fit,
  .workbench-matrix.month-fit,
  .own-calendar-table.month-fit,
  .outsource-calendar-table.month-fit,
  .report-allocation-summary.month-fit{width:100%!important}
}


/* Rev1.5.29 - immediate Scenario selection feedback before Load */
.simple-scenario{display:flex;flex-direction:column;justify-content:center}
.scenario-choice{transition:background .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease,transform .08s ease}
.scenario-choice:hover{border-color:#84adff!important;background:#f5f9ff}
.scenario-choice.active{background:#1570ef!important;color:#fff!important;border-color:#1570ef!important;box-shadow:0 0 0 2px rgba(21,112,239,.12)}
.scenario-choice.pending{background:#0b63e5!important;color:#fff!important;border-color:#0b63e5!important;box-shadow:0 0 0 3px rgba(21,112,239,.18)}
.scenario-choice.loaded-context:not(.active){background:#eff8ff!important;color:#175cd3!important;border-color:#b2ddff!important;box-shadow:inset 0 0 0 1px #dbeafe}
.scenario-choice.loaded-context:not(.active)::after{content:'✓';margin-left:5px;font-size:9px;font-weight:950;color:#175cd3}
.scenario-selection-status{display:block;margin-top:5px;min-height:13px;color:#067647;font-size:9px!important;font-weight:800;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scenario-selection-status b{font-style:normal}.scenario-selection-status em{font-style:normal;color:#667085;font-weight:700}
.simple-scenario:has(.scenario-choice.pending) .scenario-selection-status{color:#175cd3}
.load-context-btn.scenario-load-pending{background:#175cd3!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.22),0 0 0 3px rgba(21,112,239,.12)}


/* Rev1.5.30 - prominent first-selection Workbench selector (Option A) */
.simple-workbench-filter{
  grid-template-columns:minmax(250px,1.25fr) minmax(235px,1.08fr) minmax(365px,1.45fr) minmax(330px,1.18fr) 132px;
  min-height:104px;
  border:1px solid #d8e1ee;
  border-radius:14px!important;
  box-shadow:0 6px 18px rgba(16,24,40,.07)!important;
  background:#fff;
}
.simple-workbench-filter>label,.simple-workbench-filter>.simple-period,.simple-workbench-filter>.simple-scenario{
  padding:15px 16px 13px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.simple-workbench-filter>label>span,.simple-period>span,.simple-scenario>span{
  font-size:11px!important;
  letter-spacing:.09em;
  color:#475467;
  margin-bottom:8px;
  line-height:1;
}
.selector-icon{font-style:normal;color:#175cd3;font-size:13px;margin-right:5px}
.simple-workbench-filter select{
  min-height:44px;
  padding:9px 12px;
  font-size:17px;
  line-height:1.2;
  font-weight:900;
  border-radius:9px;
  border-color:#cfd8e6;
}
.simple-period>div{gap:8px}.simple-period input{
  min-height:44px;
  padding:9px 10px;
  font-size:15px;
  font-weight:900;
  border-radius:9px;
}
.simple-period small{font-size:10px;margin-top:5px;font-weight:650}
.simple-scenario>div{gap:8px}
.scenario-choice{
  min-height:44px;
  padding:10px 9px!important;
  border-radius:9px!important;
  font-size:15px!important;
  font-weight:900!important;
}
.scenario-selection-status{
  margin-top:7px!important;
  min-height:27px!important;
  padding:6px 9px;
  border-radius:7px;
  background:#ecfdf3;
  border:1px solid #abefc6;
  color:#067647!important;
  font-size:10px!important;
  display:flex!important;
  align-items:center;
}
.simple-scenario:has(.scenario-choice.pending) .scenario-selection-status{
  background:#eff8ff;
  border-color:#b2ddff;
  color:#175cd3!important;
}
.prominent-load-btn{
  min-width:132px!important;
  border-radius:0 13px 13px 0!important;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:0 14px!important;
  background:linear-gradient(180deg,#2870ef,#155eef)!important;
  box-shadow:none!important;
}
.prominent-load-btn .load-main{font-size:19px;line-height:1.05;color:#fff;white-space:nowrap}
.prominent-load-btn small{font-size:9px;color:#dbeafe;font-weight:650;white-space:nowrap}
.prominent-load-btn.scenario-load-pending{background:linear-gradient(180deg,#175cd3,#004eeb)!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.16)!important}
@media(max-width:1250px){
  .simple-workbench-filter{grid-template-columns:1fr 1fr;min-height:0}
  .simple-workbench-filter .prominent-load-btn{width:auto;min-width:150px;min-height:58px;margin:10px 14px;border-radius:9px!important;justify-self:start}
}
@media(max-width:760px){
  .simple-workbench-filter{grid-template-columns:1fr}
  .simple-workbench-filter>label,.simple-workbench-filter>.simple-period,.simple-workbench-filter>.simple-scenario{padding:13px}
  .simple-workbench-filter select{font-size:16px}
}


/* Rev1.5.31 weekend + public holiday calendar visuals */
th.calendar-sat,.date-col.calendar-sat,.month-day-head.calendar-sat,.calendar-date-head.calendar-sat{background-color:#f4f8fd!important}
th.calendar-sun,.date-col.calendar-sun,.month-day-head.calendar-sun,.calendar-date-head.calendar-sun{background-color:#eef2f7!important}
th.calendar-holiday,.date-col.calendar-holiday,.month-day-head.calendar-holiday,.calendar-date-head.calendar-holiday{background-color:#fff2cc!important;box-shadow:inset 0 2px 0 #f5b700}
th.calendar-holiday,.date-col.calendar-holiday{position:relative;color:#7a4b00!important}
.holiday-badge{display:none!important}
.matrix-cell.neg,.gap-neg,.status-leave,.status-travel,.status-training,.status-unavailable,.final-allocation-cell.allocated,.allocated-cell,.travel-cell{background-clip:padding-box}
.calendar-day-legend{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:6px;color:#667085;font-size:11px}
.calendar-day-legend .sat,.calendar-day-legend .sun,.calendar-day-legend .hol{display:inline-flex;align-items:center;gap:5px}
.calendar-day-legend i{width:18px;height:14px;border:1px solid #d0d5dd;border-radius:4px;display:inline-block}.calendar-day-legend .sat i{background:#f4f8fd}.calendar-day-legend .sun i{background:#eef2f7}.calendar-day-legend .hol i{background:#fff2cc;border-color:#f5b700}
.holiday-master-form{grid-template-columns:180px minmax(220px,1fr) 130px auto}.holiday-copy-form{margin-top:8px;align-items:center}.holiday-copy-form input{max-width:120px}.holiday-inline-edit{display:grid;grid-template-columns:140px minmax(180px,1fr) 100px auto;gap:6px;align-items:center}.holiday-actions{display:flex;gap:5px}.holiday-master-note{margin-top:10px;padding:8px 10px;background:#fffaeb;border:1px solid #fedf89;border-radius:8px;color:#7a4b00}


/* Rev1.5.33 - direct scenario apply + fixed Resource Pool column grid */
.simple-workbench-filter{
  grid-template-columns:minmax(250px,1.25fr) minmax(235px,1.08fr) minmax(365px,1.45fr) minmax(390px,1.35fr)!important;
}
.simple-workbench-filter>.simple-scenario{border-right:0!important;}
.scenario-choice.scenario-applying{
  background:#175cd3!important;color:#fff!important;border-color:#175cd3!important;
  box-shadow:0 0 0 3px rgba(21,112,239,.16)!important;cursor:progress;
}
.scenario-choice.scenario-applying::after{content:' …';font-weight:900;}
.resource-pool-fixed-grid{width:100%;table-layout:fixed;border-collapse:collapse;}
.resource-pool-fixed-grid .rp-col-system{width:20%;}
.resource-pool-fixed-grid .rp-col-code{width:15%;}
.resource-pool-fixed-grid .rp-col-name{width:28%;}
.resource-pool-fixed-grid .rp-col-status{width:20%;}
.resource-pool-fixed-grid .rp-col-action{width:17%;}
.resource-pool-fixed-grid th,.resource-pool-fixed-grid td{box-sizing:border-box;vertical-align:middle;}
.resource-pool-fixed-grid td:nth-child(1),.resource-pool-fixed-grid td:nth-child(2),.resource-pool-fixed-grid td:nth-child(4),.resource-pool-fixed-grid td:nth-child(5){white-space:nowrap;}
.resource-pool-fixed-grid td:nth-child(3){overflow:hidden;text-overflow:ellipsis;}
@media(max-width:1250px){.simple-workbench-filter{grid-template-columns:1fr 1fr!important;}}
@media(max-width:760px){.simple-workbench-filter{grid-template-columns:1fr!important;}.resource-pool-fixed-grid{min-width:760px;}}

/* Rev1.5.34 - synchronized month/year bands above the aligned Workbench day axis. */
.workbench-aligned-table .wb-month-band-row th{
  height:24px!important;
  min-height:24px!important;
  padding:3px 4px!important;
  border-bottom:1px solid #b9d5f2!important;
  font-size:10px!important;
  line-height:1.1!important;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.workbench-aligned-table .wb-month-band{
  background:#eaf3fb!important;
  color:#175cd3!important;
  text-align:center!important;
  font-weight:950!important;
  white-space:nowrap;
}
.workbench-aligned-table .wb-month-band + .wb-month-band{
  border-left:2px solid #84adff!important;
}
.workbench-aligned-table .wb-month-band-spacer{
  background:#f8fafc!important;
  color:transparent!important;
}
/* Make month changes readable through every Workbench card without changing
   the operational status fill in body cells. Only the divider is added. */
.workbench-aligned-table [data-calendar-date$="-01"]{
  border-left:2px solid #84adff!important;
}

/* Rev1.5.35 - synchronized horizontal scrolling for planning ranges over 30 days.
   Every Workbench calendar gets the same physical table width and day tracks.
   Scrolling any calendar is mirrored to every other visible calendar. */
.workbench-sync-scroll{
  overflow-x:auto!important;
  overflow-y:visible;
  max-width:100%;
  scrollbar-gutter:stable;
  overscroll-behavior-x:contain;
}
.workbench-sync-scroll .workbench-aligned-table{
  width:var(--wb-long-width)!important;
  min-width:var(--wb-long-width)!important;
  max-width:none!important;
  table-layout:fixed!important;
}
.workbench-sync-scroll .workbench-aligned-table col.wb-col-main{width:200px!important}
.workbench-sync-scroll .workbench-aligned-table col.wb-col-meta{width:50px!important}
.workbench-sync-scroll .workbench-aligned-table col.wb-col-meta-wide{width:100px!important}
.workbench-sync-scroll .workbench-aligned-table col.wb-col-day{width:42px!important}
.workbench-sync-scroll .workbench-aligned-table col.wb-col-total{width:50px!important}
.workbench-sync-scroll .workbench-aligned-table .date-col,
.workbench-sync-scroll .workbench-aligned-table .required-cell,
.workbench-sync-scroll .workbench-aligned-table .allocation-summary-cell,
.workbench-sync-scroll .workbench-aligned-table .matrix-cell,
.workbench-sync-scroll .workbench-aligned-table .availability-cell{
  width:42px!important;
  min-width:42px!important;
  max-width:42px!important;
}
/* Keep the left descriptor zone visible while only the date axis moves. */
.workbench-sync-scroll .workbench-aligned-table tbody .sticky-col,
.workbench-sync-scroll .workbench-aligned-table thead tr:not(.wb-month-band-row) .sticky-col{
  position:sticky!important;
  left:0!important;
  z-index:8!important;
  width:200px!important;
  min-width:200px!important;
  max-width:200px!important;
  box-shadow:1px 0 0 #d9e1ea;
}
.workbench-sync-scroll .workbench-aligned-table[data-wb-layout="three"] thead tr:not(.wb-month-band-row)>th:nth-child(2),
.workbench-sync-scroll .workbench-aligned-table[data-wb-layout="three"] tbody>tr>td:nth-child(2){
  position:sticky!important;left:200px!important;z-index:7!important;width:50px!important;min-width:50px!important;max-width:50px!important;background:#f8fafc!important;
}
.workbench-sync-scroll .workbench-aligned-table[data-wb-layout="three"] thead tr:not(.wb-month-band-row)>th:nth-child(3),
.workbench-sync-scroll .workbench-aligned-table[data-wb-layout="three"] tbody>tr>td:nth-child(3){
  position:sticky!important;left:250px!important;z-index:7!important;width:50px!important;min-width:50px!important;max-width:50px!important;background:#f8fafc!important;box-shadow:1px 0 0 #d9e1ea;
}
.workbench-sync-scroll .workbench-aligned-table[data-wb-layout="two"] thead tr:not(.wb-month-band-row)>th:nth-child(2),
.workbench-sync-scroll .workbench-aligned-table[data-wb-layout="two"] tbody>tr>td:nth-child(2){
  position:sticky!important;left:200px!important;z-index:7!important;width:100px!important;min-width:100px!important;max-width:100px!important;background:#f8fafc!important;box-shadow:1px 0 0 #d9e1ea;
}
.workbench-sync-scroll .workbench-aligned-table thead tr:not(.wb-month-band-row)>th:nth-child(-n+3){z-index:10!important}
.workbench-sync-scroll::-webkit-scrollbar{height:12px}
.workbench-sync-scroll::-webkit-scrollbar-track{background:#eef2f6;border-radius:999px}
.workbench-sync-scroll::-webkit-scrollbar-thumb{background:#98a2b3;border:3px solid #eef2f6;border-radius:999px}
.workbench-sync-scroll::-webkit-scrollbar-thumb:hover{background:#667085}


/* Rev1.5.36 - true frozen context panes + frozen Total for long Workbench ranges.
   Only the middle date axis scrolls. Left context and right Total stay visible. */
.workbench-sync-scroll{position:relative!important;}
.workbench-sync-scroll .workbench-aligned-table thead tr:not(.wb-month-band-row) > th:nth-child(1),
.workbench-sync-scroll .workbench-aligned-table tbody > tr > :nth-child(1){
  position:sticky!important;left:0!important;z-index:15!important;background:#f8fafc!important;
}
.workbench-sync-scroll .workbench-aligned-table[data-wb-layout="three"] thead tr:not(.wb-month-band-row) > th:nth-child(2),
.workbench-sync-scroll .workbench-aligned-table[data-wb-layout="three"] tbody > tr > :nth-child(2){
  position:sticky!important;left:200px!important;z-index:14!important;background:#f8fafc!important;
}
.workbench-sync-scroll .workbench-aligned-table[data-wb-layout="three"] thead tr:not(.wb-month-band-row) > th:nth-child(3),
.workbench-sync-scroll .workbench-aligned-table[data-wb-layout="three"] tbody > tr > :nth-child(3){
  position:sticky!important;left:250px!important;z-index:14!important;background:#f8fafc!important;
  box-shadow:2px 0 0 #d0d5dd;
}
.workbench-sync-scroll .workbench-aligned-table[data-wb-layout="two"] thead tr:not(.wb-month-band-row) > th:nth-child(2),
.workbench-sync-scroll .workbench-aligned-table[data-wb-layout="two"] tbody > tr > :nth-child(2){
  position:sticky!important;left:200px!important;z-index:14!important;background:#f8fafc!important;
  box-shadow:2px 0 0 #d0d5dd;
}
/* Freeze the Total column at the far right in every long-range table. */
.workbench-sync-scroll .workbench-aligned-table thead tr:not(.wb-month-band-row) > th:last-child,
.workbench-sync-scroll .workbench-aligned-table tbody > tr > :last-child{
  position:sticky!important;right:0!important;z-index:16!important;
  width:50px!important;min-width:50px!important;max-width:50px!important;
  background:#f8fafc!important;box-shadow:-2px 0 0 #d0d5dd;
}
.workbench-sync-scroll .workbench-aligned-table tbody > tr > :last-child.total-neg{background:#fecaca!important;color:#991b1b!important}
.workbench-sync-scroll .workbench-aligned-table tbody > tr > :last-child.total-zero{background:#d1fadf!important;color:#067647!important}
.workbench-sync-scroll .workbench-aligned-table tbody > tr > :last-child.total-pos{background:#dbeafe!important;color:#175cd3!important}
/* Month-band edge cells also stay frozen so the band never paints over the frozen panes. */
.workbench-sync-scroll .workbench-aligned-table .wb-month-band-row > th:first-child{
  position:sticky!important;left:0!important;z-index:17!important;background:#eaf2fb!important;
}
.workbench-sync-scroll .workbench-aligned-table .wb-month-band-row > th:last-child{
  position:sticky!important;right:0!important;z-index:17!important;width:50px!important;min-width:50px!important;background:#eaf2fb!important;
  box-shadow:-2px 0 0 #d0d5dd;
}
/* Public holidays are identified by header color + tooltip only. */
.holiday-badge{display:none!important}


/* Rev1.5.37 - Safari-reliable frozen panes for long-range Workbench tables.
   Sticky table cells are unreliable in Safari inside horizontally scrolling table wrappers,
   so JS offsets the context and Total cells by the live scroll amount. */
.workbench-sync-scroll .wb-freeze-left,
.workbench-sync-scroll .wb-freeze-right{
  position:relative!important;
  will-change:transform;
  background:#f8fafc!important;
}
.workbench-sync-scroll .wb-freeze-left{z-index:30!important}
.workbench-sync-scroll .wb-freeze-right{z-index:31!important;box-shadow:-2px 0 0 #d0d5dd}
.workbench-sync-scroll .wb-month-band-row .wb-freeze-left,
.workbench-sync-scroll .wb-month-band-row .wb-freeze-right{z-index:34!important;background:#eaf2fb!important}
/* Disable the older sticky offsets when JS frozen panes are active, avoiding double movement. */
.workbench-sync-scroll.wb-js-freeze .workbench-aligned-table tbody .sticky-col,
.workbench-sync-scroll.wb-js-freeze .workbench-aligned-table thead tr:not(.wb-month-band-row) .sticky-col,
.workbench-sync-scroll.wb-js-freeze .workbench-aligned-table[data-wb-layout="three"] thead tr:not(.wb-month-band-row)>th:nth-child(2),
.workbench-sync-scroll.wb-js-freeze .workbench-aligned-table[data-wb-layout="three"] tbody>tr>td:nth-child(2),
.workbench-sync-scroll.wb-js-freeze .workbench-aligned-table[data-wb-layout="three"] thead tr:not(.wb-month-band-row)>th:nth-child(3),
.workbench-sync-scroll.wb-js-freeze .workbench-aligned-table[data-wb-layout="three"] tbody>tr>td:nth-child(3),
.workbench-sync-scroll.wb-js-freeze .workbench-aligned-table[data-wb-layout="two"] thead tr:not(.wb-month-band-row)>th:nth-child(2),
.workbench-sync-scroll.wb-js-freeze .workbench-aligned-table[data-wb-layout="two"] tbody>tr>td:nth-child(2),
.workbench-sync-scroll.wb-js-freeze .workbench-aligned-table thead tr:not(.wb-month-band-row)>th:last-child,
.workbench-sync-scroll.wb-js-freeze .workbench-aligned-table tbody>tr>:last-child,
.workbench-sync-scroll.wb-js-freeze .workbench-aligned-table .wb-month-band-row>th:first-child,
.workbench-sync-scroll.wb-js-freeze .workbench-aligned-table .wb-month-band-row>th:last-child{
  position:relative!important;left:auto!important;right:auto!important;
}


/* Rev1.5.38 - TOTAL is a true fixed rail outside the horizontal date scroller.
   This avoids Safari/table transform behavior that could place TOTAL inside the date stream. */
.wb-scroll-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) 50px;
  width:100%;
  min-width:0;
  align-items:stretch;
}
.wb-scroll-shell>.workbench-sync-scroll{
  grid-column:1;
  min-width:0;
  width:100%;
  border-top-right-radius:0!important;
  border-bottom-right-radius:0!important;
}
.wb-total-rail{
  grid-column:2;
  min-width:50px;
  width:50px;
  overflow:hidden;
  background:#f8fafc;
  border-left:2px solid #cbd5e1;
  border-top-right-radius:12px;
  border-bottom-right-radius:12px;
  z-index:45;
}
.wb-total-rail-row{
  box-sizing:border-box;
  width:50px;
  min-width:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-weight:800;
  color:#172033;
  border-bottom:1px solid #d8e0ea;
  background:#f8fafc;
  overflow:hidden;
}
.wb-total-rail-month{background:#eaf2fb;color:#175cd3;font-size:12px}
.wb-total-rail-head{background:#edf3f8;color:#344054;font-size:11px;text-transform:uppercase;letter-spacing:.05em}
.wb-total-rail-body{font-size:16px}
.wb-total-rail-row.total-neg{background:#fecaca!important;color:#991b1b!important}
.wb-total-rail-row.total-zero{background:#d1fadf!important;color:#067647!important}
.wb-total-rail-row.total-pos{background:#dbeafe!important;color:#175cd3!important}
/* The original TOTAL cells remain in the table only to preserve intrinsic row/grid geometry. */
.wb-scroll-shell .workbench-sync-scroll.wb-js-freeze .workbench-aligned-table thead tr>th:last-child,
.wb-scroll-shell .workbench-sync-scroll.wb-js-freeze .workbench-aligned-table tbody tr>:last-child{
  visibility:hidden!important;
  pointer-events:none!important;
}
/* Rev1.5.38 no longer uses transformed right cells. */
.workbench-sync-scroll .wb-freeze-right{transform:none!important}

/* Rev1.5.41 Travel Compliance */
.nav-with-badge{display:inline-flex!important;align-items:center;gap:5px}.nav-badge{background:#dc2626;color:#fff;min-width:18px;height:18px;border-radius:10px;display:inline-grid;place-items:center;font-size:11px;font-weight:900;padding:0 5px}
.report-launch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.report-launch-card{display:grid;gap:8px;text-decoration:none;color:inherit;padding:20px}.report-launch-card strong{font-size:22px}.report-launch-card span{color:#667085}.report-launch-card b{color:#175cd3}
.travel-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px;margin:12px 0}.travel-kpi{background:#fff;border:1px solid #e4e7ec;border-radius:12px;padding:13px}.travel-kpi strong{display:block;font-size:26px}.travel-kpi span{font-size:12px;color:#667085}.travel-kpi.danger{background:#fff1f1}.travel-kpi.warn{background:#fff8e8}.travel-kpi.good{background:#ecfdf3}.travel-kpi.info{background:#eff8ff}
.travel-alert-panel{padding:12px;margin-bottom:12px}.travel-alert-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px;margin-top:8px}.travel-alert-item{display:grid;gap:2px;padding:10px;border-radius:9px;text-decoration:none;color:inherit;border:1px solid #e4e7ec}.travel-alert-item.danger{background:#fff1f1;border-color:#fda29b}.travel-alert-item.good{background:#ecfdf3;border-color:#abefc6}.travel-alert-item span{font-size:12px;color:#667085}.travel-alert-item b{font-size:12px}
.travel-filter-bar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;padding:12px;margin-bottom:12px}.travel-filter-bar .field{min-width:140px}.travel-record-list{display:grid;gap:12px}.travel-record{padding:14px}.travel-record-head{display:flex;justify-content:space-between;gap:12px;align-items:start}.travel-record-head h2{margin:0}.travel-summary-line{display:flex;gap:18px;flex-wrap:wrap;margin:10px 0;font-size:13px}.travel-summary-line span{display:flex;gap:5px}.travel-state{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:900;background:#f2f4f7;color:#344054}.travel-state.pnr-required,.travel-state.overdue,.travel-state.details-required{background:#fee4e2;color:#b42318}.travel-state.ready,.travel-state.completed{background:#dcfae6;color:#067647}.travel-state.travel-in-progress{background:#dbeafe;color:#175cd3}.travel-state.upcoming{background:#fff4cc;color:#8a5d00}.travel-edit{margin-top:10px}.travel-edit summary{cursor:pointer;display:inline-flex}.travel-edit-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;margin-top:12px;align-items:end}.travel-edit-grid .grow{grid-column:span 2}.travel-report-table{width:100%;border-collapse:collapse}.travel-report-table th,.travel-report-table td{border-bottom:1px solid #e4e7ec;padding:10px;text-align:left}.travel-report-table thead th{background:#eef4f8;font-size:12px}.travel-report-table td small{display:block;color:#667085}.alert-cell{background:#fff1f1;color:#b42318;font-weight:900}.report-action-row{display:flex;gap:8px;justify-content:flex-end;margin:10px 0}
@media(max-width:900px){.travel-kpi-grid{grid-template-columns:repeat(2,1fr)}.travel-edit-grid{grid-template-columns:1fr 1fr}.travel-filter-bar .field{flex:1 1 180px}}

/* Rev1.5.42 - Edit Resource modal */
.resource-row-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.resource-row-actions form{display:inline-flex}.resource-edit-modal[hidden]{display:none!important}.resource-edit-modal{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px}.resource-edit-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.45)}.resource-edit-dialog{position:relative;width:min(640px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:16px;border:1px solid #dbe3ef;box-shadow:0 24px 70px rgba(15,23,42,.24);padding:20px}.resource-edit-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:16px}.resource-edit-head h2{margin:2px 0 0}.resource-edit-head .eyebrow{font-size:10px;letter-spacing:.12em;font-weight:800;color:#667085}.icon-close{border:0;background:#f2f4f7;border-radius:9px;width:36px;height:36px;font-size:24px;line-height:1;cursor:pointer}.resource-edit-form{display:grid;gap:14px}.locked-resource-grid,.edit-resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.resource-edit-form .field{display:grid;gap:6px}.resource-edit-form label{font-weight:700;color:#344054}.resource-edit-form input[readonly]{background:#f2f4f7;color:#667085;font-weight:700}.lock-label{font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:#667085;background:#eaecf0;border-radius:999px;padding:2px 6px;margin-left:5px}.resource-edit-note{font-size:12px;line-height:1.45;color:#475467;background:#f8fafc;border:1px solid #e4e7ec;border-radius:10px;padding:10px 12px}.resource-edit-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);padding-top:14px}.modal-open{overflow:hidden}@media(max-width:680px){.locked-resource-grid,.edit-resource-grid{grid-template-columns:1fr}.resource-edit-dialog{padding:16px}.resource-row-actions{gap:5px}}
