/* CASH Workspace R1 — additive presentation layer, 2026-11-07.
   All original routes, forms, action attributes, visibility and permission
   decisions remain owned by the existing application. Enable on body only.
   Theme contract: existing body.dark-mode and cash_theme preference. */
body.cash-workspace-r1 {
  --cash-bg:#f3f5f2; --cash-surface:#fafbf8; --cash-nav:#edf2ec;
  --cash-raised:#fff; --cash-hover:#e8efea; --cash-selected:#dfece3;
  --cash-line:#d4ded6; --cash-soft:#e4eae4; --cash-text:#20362d;
  --cash-muted:#586e62; --cash-accent:#24634b; --cash-on-accent:#fff;
  --cash-success:#276c4e; --cash-warning:#866421; --cash-danger:#ab4143;
  --cash-info:#426883; --cash-input:#fff; --cash-focus:#3a9875;
  --cash-shadow:0 18px 56px #18362a20;
  --bg:var(--cash-bg); --surface:var(--cash-surface); --surface-2:var(--cash-raised);
  --surface-3:var(--cash-hover); --text:var(--cash-text); --ink:var(--cash-text);
  --ink-2:var(--cash-text); --ink-3:var(--cash-muted); --muted:var(--cash-muted);
  --line:var(--cash-line); --line-soft:var(--cash-soft); --accent:var(--cash-accent);
  --accent-2:var(--cash-accent); --accent-soft:var(--cash-selected);
  --danger:var(--cash-danger); --warn:var(--cash-warning); --ok:var(--cash-success);
  --blue:var(--cash-info); --gold:var(--cash-warning); --radius:4px;
  --shadow:var(--cash-shadow); --r19-bg:var(--cash-bg); --r19-surface:var(--cash-surface);
  --r19-surface-soft:var(--cash-hover); --r19-text:var(--cash-text);
  --r19-muted:var(--cash-muted); --r19-line:var(--cash-line);
  --r19-line-strong:var(--cash-line); --r19-accent:var(--cash-accent);
  --r19-accent-soft:var(--cash-selected); --r19-radius:4px; --r19-radius-sm:3px;
  --r19-shadow:none; --r19-shadow-hover:none;
  color:var(--cash-text)!important; background:var(--cash-bg)!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:14px!important; line-height:1.45; letter-spacing:0;
  color-scheme:light;
}
body.cash-workspace-r1.dark-mode {
  --cash-bg:#131e21; --cash-surface:#162226; --cash-nav:#122a23;
  --cash-raised:#1b2a2e; --cash-hover:#20332f; --cash-selected:#244235;
  --cash-line:#354b48; --cash-soft:#2a3b3b; --cash-text:#e4ede7;
  --cash-muted:#a9beb3; --cash-accent:#add2bb; --cash-on-accent:#142b20;
  --cash-success:#9bcfae; --cash-warning:#ddc486; --cash-danger:#e9a2a5;
  --cash-info:#a9c5dc; --cash-input:#17282a; --cash-focus:#b5ddc5;
  --cash-shadow:0 20px 64px #0007; color-scheme:dark;
}
/* Shell: one stable workspace, compact controls, no replacement navigation. */
body.cash-workspace-r1 #app {grid-template-rows:48px 38px minmax(0,1fr)!important;background:var(--cash-bg)!important}
body.cash-workspace-r1 #app .global-header {min-height:48px!important;height:48px!important;grid-template-columns:184px minmax(160px,1fr) auto auto!important;gap:8px!important;padding:0 12px!important;background:var(--cash-surface)!important;border:0!important;border-bottom:1px solid var(--cash-line)!important;box-shadow:none!important;overflow-x:auto;scrollbar-width:thin}
body.cash-workspace-r1 #app .brand-lockup {gap:8px;min-width:0;white-space:nowrap}
body.cash-workspace-r1 #app .brand-lockup b {font-size:14px!important;letter-spacing:.16em!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #app .brand-lockup small {font-size:8px!important;letter-spacing:.14em;color:var(--cash-muted)!important}
body.cash-workspace-r1 #app .logo-mark {width:29px!important;height:29px!important;border-radius:7px!important;box-shadow:none!important;background:#236b53!important;color:#fff!important;flex:none}
body.cash-workspace-r1 #app .logo-mark svg {width:23px;height:23px}
body.cash-workspace-r1 #app .global-search {height:31px!important;min-height:31px!important;border:1px solid var(--cash-line)!important;border-radius:4px!important;background:var(--cash-input)!important;color:var(--cash-muted)!important;box-shadow:none!important;gap:7px;padding:0 10px;min-width:160px;max-width:none!important}
body.cash-workspace-r1 #app .global-search b {font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.cash-workspace-r1 #app .global-search kbd {font-size:10px;background:transparent!important;color:var(--cash-muted)!important;border-color:var(--cash-line)!important}
body.cash-workspace-r1 #app .global-actions,body.cash-workspace-r1 #app .header-right {display:flex!important;gap:4px!important;align-items:center;flex-wrap:nowrap;min-width:max-content}
body.cash-workspace-r1 #app .global-actions button,body.cash-workspace-r1 #app .header-button,body.cash-workspace-r1 #app .chip,body.cash-workspace-r1 #app .presence,body.cash-workspace-r1 #app .profile {height:30px!important;min-height:30px!important;padding:0 8px!important;border:1px solid transparent!important;background:transparent!important;color:var(--cash-text)!important;border-radius:4px!important;box-shadow:none!important;white-space:nowrap;font-size:12px!important;transform:none!important}
body.cash-workspace-r1 #app .global-actions button:hover,body.cash-workspace-r1 #app .header-button:hover,body.cash-workspace-r1 #app .chip:hover,body.cash-workspace-r1 #app .presence:hover,body.cash-workspace-r1 #app .profile:hover {background:var(--cash-hover)!important;border-color:var(--cash-line)!important}
body.cash-workspace-r1 #app .global-actions .primary {background:var(--cash-accent)!important;color:var(--cash-on-accent)!important;padding:0 10px!important}
body.cash-workspace-r1 #app .header-mini-icon,body.cash-workspace-r1 #app .action-icon {width:15px!important;height:15px!important;font-size:13px!important}
body.cash-workspace-r1 #app .header-mini-icon svg,body.cash-workspace-r1 #app .action-icon svg {width:15px!important;height:15px!important}
body.cash-workspace-r1 #app .profile {max-width:160px!important}
body.cash-workspace-r1 #app .profile span {width:23px;height:23px;border-radius:50%;background:var(--cash-selected)!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #app .profile b {font-size:11px!important}
body.cash-workspace-r1 #app .clock {display:inline!important;font-size:11px!important;color:var(--cash-muted)!important;font-variant-numeric:tabular-nums}
body.cash-workspace-r1 #app .language-control {background:transparent!important;border-color:transparent!important;height:30px!important;color:var(--cash-muted)!important}
body.cash-workspace-r1 #app .language-control select {min-height:28px!important;height:28px!important;background:transparent!important;color:var(--cash-text)!important;font-size:11px!important;border:0!important}
body.cash-workspace-r1 #app .drk-total {min-width:105px!important;max-width:120px!important;min-height:32px!important;height:32px!important;background:var(--cash-hover)!important;border:0!important;border-radius:4px!important;padding:3px 8px!important;box-shadow:none!important}
body.cash-workspace-r1 #app .drk-total-label {font-size:8px!important;line-height:1.2;color:var(--cash-muted)!important}
body.cash-workspace-r1 #app .drk-total strong {font-size:12px!important;line-height:1.25;color:var(--cash-text)!important}
body.cash-workspace-r1 #app .drk-total small {font-size:8px!important;line-height:1.2;color:var(--cash-muted)!important}
body.cash-workspace-r1 #app .domain-bar {height:38px!important;min-height:38px!important;padding:0 14px!important;gap:14px!important;background:var(--cash-surface)!important;color:var(--cash-text)!important;border-bottom:1px solid var(--cash-line)!important;box-shadow:none!important;overflow-x:auto}
body.cash-workspace-r1 #app .context-switchers {gap:10px!important;flex-wrap:nowrap}
body.cash-workspace-r1 #app .context-switchers label {gap:6px!important}
body.cash-workspace-r1 #app .context-switchers label>span {font-size:9px!important;color:var(--cash-muted)!important;letter-spacing:.07em}
body.cash-workspace-r1 #app .context-switchers select {height:27px!important;min-height:27px!important;max-width:210px!important;background:var(--cash-input)!important;border:1px solid var(--cash-line)!important;color:var(--cash-text)!important;border-radius:3px!important;padding:0 22px 0 8px!important;font-size:12px!important}
body.cash-workspace-r1 #app .context-path b {font-size:12px!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #app .context-path small,body.cash-workspace-r1 #app .context-state {font-size:10px!important;color:var(--cash-muted)!important}
body.cash-workspace-r1 #app .workspace {grid-template-columns:208px minmax(0,1fr) auto!important;background:var(--cash-bg)!important}
body.cash-workspace-r1 #app .side-nav {background:var(--cash-nav)!important;border-color:var(--cash-line)!important;width:auto;box-shadow:none!important}
body.cash-workspace-r1 #app .side-head {min-height:53px!important;padding:10px 14px!important;background:transparent!important;border-bottom:1px solid var(--cash-line)!important}
body.cash-workspace-r1 #cashWorkspaceContext {display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 6px;margin-top:4px;font-size:10px;line-height:1.4}
body.cash-workspace-r1 #cashWorkspaceContext .cash-context-caption {color:var(--cash-muted);font-size:9px}
body.cash-workspace-r1 #cashWorkspaceContext .cash-context-name {color:var(--cash-text);font-weight:500;font-size:10px;overflow-wrap:anywhere}
body.cash-workspace-r1 #app .side-head h2 {font-size:13px!important;line-height:1.4!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #app .side-head small#domainKicker {font-size:8px!important;letter-spacing:.13em!important;color:var(--cash-muted)!important}
body.cash-workspace-r1 #app .side-nav nav {padding:8px 7px 14px!important;scrollbar-width:thin;scrollbar-color:var(--cash-line) transparent}
body.cash-workspace-r1 #app .nav-group {margin:0!important;padding:3px 0!important;border-bottom:1px solid var(--cash-soft)!important;background:transparent!important;border-radius:0!important}
body.cash-workspace-r1 #app .nav-group-head {min-height:35px!important;height:auto!important;padding:7px 9px!important;background:transparent!important;color:var(--cash-muted)!important;border-radius:3px!important;box-shadow:none!important;font-size:12px!important;line-height:1.4!important}
body.cash-workspace-r1 #app .nav-group-head:hover,body.cash-workspace-r1 #app .nav-group.open>.nav-group-head {background:var(--cash-hover)!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #app .nav-group-head small {font-size:9px!important}
body.cash-workspace-r1 #app .side-nav nav button.side-link {min-height:34px!important;height:auto!important;padding:7px 8px 7px 12px!important;border:0!important;border-left:2px solid transparent!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:var(--cash-muted)!important;transform:none!important;font-size:12px!important;line-height:1.4}
body.cash-workspace-r1 #app .side-nav nav button.side-link:hover {background:var(--cash-hover)!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #app .side-nav nav button.side-link.active {background:var(--cash-selected)!important;color:var(--cash-text)!important;border-left-color:var(--cash-accent)!important;font-weight:650!important}
body.cash-workspace-r1 #app .side-foot {height:34px!important;min-height:34px!important;background:transparent!important;border-color:var(--cash-line)!important;color:var(--cash-muted)!important;font-size:10px!important}
body.cash-workspace-r1 #app .main {background:var(--cash-bg)!important;scrollbar-width:thin;scrollbar-color:var(--cash-line) transparent}
body.cash-workspace-r1 #pageMount {padding:22px 24px 32px!important;max-width:none!important;width:100%;color:var(--cash-text)!important;font-size:14px!important}
/* Shared page grammar: headings, toolbar, list, detail and settings. */
body.cash-workspace-r1 #pageMount .page-head {min-height:56px!important;padding:0 0 17px!important;margin:0 0 18px!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--cash-line)!important;border-radius:0!important;box-shadow:none!important;gap:16px!important;align-items:center!important}
body.cash-workspace-r1 #pageMount .page-title h1 {font-size:24px!important;line-height:1.22!important;letter-spacing:-.025em!important;color:var(--cash-text)!important;font-weight:650!important}
body.cash-workspace-r1 #pageMount .page-title p {font-size:12px!important;line-height:1.5!important;color:var(--cash-muted)!important;margin:5px 0 0!important;max-width:68ch}
body.cash-workspace-r1 #pageMount .page-kicker {font-size:9px!important;color:var(--cash-muted)!important;letter-spacing:.13em!important}
body.cash-workspace-r1 #pageMount .page-title-icon {width:26px!important;height:26px!important;flex-basis:26px!important;background:transparent!important;color:var(--cash-muted)!important;border:0!important;border-radius:0!important}
body.cash-workspace-r1 #pageMount .page-actions {gap:5px!important;align-items:center}
body.cash-workspace-r1 #pageMount .section {margin:0 0 22px!important;border:0!important;border-top:1px solid var(--cash-line)!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;min-width:0}
body.cash-workspace-r1 #pageMount .section-head,body.cash-workspace-r1 #inspector .section-head,body.cash-workspace-r1 #overlayCard .section-head {min-height:42px!important;padding:10px 0!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--cash-soft)!important;border-radius:0!important;gap:12px}
body.cash-workspace-r1 #pageMount .section-head h3,body.cash-workspace-r1 #inspector .section-head h3 {font-size:14px!important;line-height:1.4!important;font-weight:650!important;letter-spacing:0!important;text-transform:none!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #pageMount .section-head small,body.cash-workspace-r1 #inspector .section-head small {font-size:11px!important;color:var(--cash-muted)!important}
body.cash-workspace-r1 #pageMount .section-body {padding:14px 0!important;background:transparent!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #pageMount .command-bar,body.cash-workspace-r1 #pageMount .ux-toolbar {min-height:42px!important;padding:6px 0 10px!important;margin-bottom:12px!important;gap:8px!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--cash-line)!important;border-radius:0!important;box-shadow:none!important}
body.cash-workspace-r1 #pageMount .site-scope-strip.compact {min-height:35px!important;padding:5px 0 8px!important;margin-bottom:16px!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--cash-soft)!important;border-radius:0!important;box-shadow:none!important;color:var(--cash-muted)!important}
body.cash-workspace-r1 #pageMount .ux-section-nav {padding:7px 0!important;border:0!important;border-bottom:1px solid var(--cash-line)!important;border-radius:0!important;background:var(--cash-bg)!important;backdrop-filter:none!important;box-shadow:none!important;gap:7px}
body.cash-workspace-r1 #pageMount .scope-ribbon {background:var(--cash-hover)!important;border:0!important;border-left:2px solid var(--cash-accent)!important;border-radius:0!important;box-shadow:none!important;padding:10px 12px!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #pageMount :is(.grid-2,.grid-3,.record-grid,.master-detail) {gap:24px!important}
body.cash-workspace-r1 #pageMount :is(.metric-strip,.uy-stat-grid,.mrw-v3-stats,.mrwcard-metrics,.support-stats-strip) {border:0!important;border-bottom:1px solid var(--cash-line)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;gap:0!important;margin:0 0 18px!important}
body.cash-workspace-r1 #pageMount :is(.metric,.uy-stat,.mrw-v3-stat,.mrwcard-stat,.support-stat-pill) {border:0!important;border-right:1px solid var(--cash-line)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:12px 16px!important;min-height:0!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #pageMount :is(.metric,.uy-stat,.mrw-v3-stat,.mrwcard-stat)::after {content:none!important}
body.cash-workspace-r1 #pageMount :is(.metric,.uy-stat,.mrw-v3-stat,.mrwcard-stat)>:is(b,strong) {font-size:24px!important;line-height:1.2!important;font-weight:650!important;letter-spacing:-.025em;color:var(--cash-text)!important;font-variant-numeric:tabular-nums}
body.cash-workspace-r1 #pageMount :is(.metric,.uy-stat,.mrw-v3-stat,.mrwcard-stat) :is(label,small) {font-size:11px!important;line-height:1.5!important;letter-spacing:0!important;text-transform:none!important;color:var(--cash-muted)!important}
/* Tables retain their overflow, column semantics, card-mode and actions. */
body.cash-workspace-r1 #pageMount :is(.data-wrap,.table-wrap,.table-container,.mrwcard-table-wrap) {border-radius:0!important;box-shadow:none!important;background:transparent!important;border-color:var(--cash-line)!important;scrollbar-width:thin}
body.cash-workspace-r1 #pageMount :is(.data-table,.mrwcard-table) {border-spacing:0!important;background:transparent!important;color:var(--cash-text)!important;font-size:13px!important}
body.cash-workspace-r1 #pageMount :is(.data-table,.mrwcard-table) th {height:34px!important;padding:8px 10px!important;font-size:10px!important;line-height:1.4!important;text-transform:uppercase!important;letter-spacing:.07em!important;font-weight:650!important;color:var(--cash-muted)!important;background:var(--cash-bg)!important;border:0!important;border-bottom:1px solid var(--cash-line)!important;box-shadow:none!important}
body.cash-workspace-r1 #pageMount :is(.data-table,.mrwcard-table) td {height:40px!important;padding:9px 10px!important;font-size:13px!important;line-height:1.45!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--cash-soft)!important;border-radius:0!important;box-shadow:none!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #pageMount :is(.data-table,.mrwcard-table) tbody tr {background:transparent!important;border-color:var(--cash-line)!important;box-shadow:none!important;transform:none!important;border-radius:0!important}
body.cash-workspace-r1 #pageMount :is(.data-table,.mrwcard-table) tbody tr:hover td {background:var(--cash-hover)!important}
body.cash-workspace-r1 #pageMount :is(.data-table,.mrwcard-table) tbody tr:is(.active,.selected) td {background:var(--cash-selected)!important}
body.cash-workspace-r1 #pageMount .subline {font-size:11px!important;line-height:1.45!important;color:var(--cash-muted)!important}
body.cash-workspace-r1 #pageMount :is(.table-pager,.finance-table-pager,.mrw-ops-paging) {background:transparent!important;border-top:1px solid var(--cash-line)!important;padding:10px 0!important;font-size:12px!important;color:var(--cash-muted)!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) :is(.btn,.mini,button:not(.section-collapse-btn):not(.uy-slim-row):not(.chat-thread-row):not(.support-thread)) {font-family:inherit;font-size:12px!important;line-height:1.4;min-height:30px;border-radius:4px!important;box-shadow:none!important;text-shadow:none!important;transform:none!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) :is(.btn,.mini) {height:auto!important;min-height:30px!important;padding:6px 10px!important;background:var(--cash-raised)!important;border:1px solid var(--cash-line)!important;color:var(--cash-text)!important;margin:0}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) :is(.btn,.mini):hover {background:var(--cash-hover)!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) :is(.btn,.mini).primary {background:var(--cash-accent)!important;border-color:var(--cash-accent)!important;color:var(--cash-on-accent)!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) :is(.btn,.mini).danger {color:var(--cash-danger)!important;background:var(--cash-raised)!important;border-color:var(--cash-danger)!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) :is(.status,.mrwcard-pill,.mrw-comm-pill,.support-thread-badge) {border:0!important;border-radius:2px!important;box-shadow:none!important;background:var(--cash-hover)!important;color:var(--cash-muted)!important;font-size:10px!important;min-height:20px;line-height:1.35!important;padding:3px 6px!important;letter-spacing:.02em!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) .status.ok {color:var(--cash-success)!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) .status.bad {color:var(--cash-danger)!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) .status.warn {color:var(--cash-warning)!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) .status.info {color:var(--cash-info)!important}
/* Form controls: no global resizing of checkboxes, files or hidden inputs. */
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector,#auth,#passwordGate) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),select,textarea) {color:var(--cash-text)!important;background:var(--cash-input)!important;border:1px solid var(--cash-line)!important;border-radius:4px!important;box-shadow:none!important;font-size:13px!important;line-height:1.4!important;min-height:34px;padding:7px 10px!important;max-width:100%}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) :is(input,textarea)::placeholder {color:var(--cash-muted)!important;opacity:.85}
body.cash-workspace-r1 :is(input[type=checkbox],input[type=radio]) {accent-color:var(--cash-accent)}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) :is(.form-grid,.mrwcard-formgrid,.mrw-comm-field-grid) {gap:14px 18px!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) :is(.form-grid label,.mrwcard-field,.mrw-comm-label) {font-size:12px!important;line-height:1.5!important;font-weight:550!important;color:var(--cash-muted)!important;gap:6px}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) .form-actions {padding:14px 0 0!important;margin-top:12px!important;border-top:1px solid var(--cash-line)!important;gap:8px!important;flex-wrap:wrap}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) :is(.kv,.ux-form-group,.mrw-contact-block,.mrw-comm-panel,.staff-access-permissions) {background:transparent!important;border:0!important;border-top:1px solid var(--cash-line)!important;border-radius:0!important;box-shadow:none!important;color:var(--cash-text)!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) :is(.kv header,.ux-form-group-head) {height:auto!important;min-height:34px;background:transparent!important;padding:9px 0!important;color:var(--cash-text)!important;border-color:var(--cash-soft)!important;font-size:12px!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) .kv-row {padding:9px 0!important;border-color:var(--cash-soft)!important;font-size:13px!important;gap:18px!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) .kv-row>span:first-child {font-size:12px!important;color:var(--cash-muted)!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) :is(.form-error,.uy-alert,.mrw-comm-warning,.mrw-ov-alert) {padding:11px 14px!important;border:1px solid var(--cash-warning)!important;border-left-width:3px!important;border-radius:3px!important;background:var(--cash-hover)!important;color:var(--cash-warning)!important;font-size:13px!important;line-height:1.55!important;box-shadow:none!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) .form-error {color:var(--cash-danger)!important;border-color:var(--cash-danger)!important}
body.cash-workspace-r1 #pageMount :is(.empty-state,.disconnected) {min-height:124px!important;padding:24px 16px!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;color:var(--cash-muted)!important;border-color:var(--cash-line)!important}
body.cash-workspace-r1 #pageMount :is(.empty-state b,.disconnected h3) {font-size:15px!important;color:var(--cash-text)!important;font-weight:600!important}
/* One overlay family and a true contextual side inspector. */
body.cash-workspace-r1 #overlay {background:#071412b8!important;backdrop-filter:blur(3px);padding:24px!important}
body.cash-workspace-r1 #overlayCard {position:relative;width:min(640px,calc(100vw - 48px))!important;max-width:calc(100vw - 48px)!important;max-height:calc(100dvh - 48px)!important;padding:20px 24px!important;background:var(--cash-surface)!important;border:1px solid var(--cash-line)!important;border-radius:6px!important;box-shadow:var(--cash-shadow)!important;color:var(--cash-text)!important;overflow:auto;scrollbar-width:thin}
body.cash-workspace-r1 #overlayCard:is(.wide-modal,.staff-access-dialog),body.cash-workspace-r1 #overlayCard:has(.handoff-two-col,.wide-modal-shell,.mrw-contact-dialog,.mrw-v3-money-dialog,.data-table) {width:min(1040px,calc(100vw - 48px))!important}
body.cash-workspace-r1 #overlayCard :is(.section-head h3,h2) {font-size:19px!important;line-height:1.3!important;font-weight:650!important;letter-spacing:-.015em!important;color:var(--cash-text)!important;text-transform:none!important}
body.cash-workspace-r1 #overlayCard .section-head {padding:0 32px 14px 0!important;margin-bottom:14px}
body.cash-workspace-r1 #overlayCard .section-body {padding:0!important;font-size:13px!important;line-height:1.55!important;background:transparent!important}
body.cash-workspace-r1 #overlayCard .overlay-close-btn {position:absolute;right:12px;top:10px;width:28px!important;height:28px!important;border:0!important;border-radius:3px!important;background:transparent!important;color:var(--cash-muted)!important;font-size:17px!important;box-shadow:none!important}
body.cash-workspace-r1 #overlayCard :is(.fs-dialog,.mrwcard-edit,.mrw-contact-modal,.mrw-tg-link-modal,.mrw-tg-login-modal,.mrw-tg-announcements-modal) {color:var(--cash-text)!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:13px!important;max-height:none!important}
body.cash-workspace-r1 #overlayCard .data-table {font-size:12px!important;color:var(--cash-text)!important;background:transparent!important;min-width:540px}
body.cash-workspace-r1 #overlayCard .data-table th {font-size:10px!important;background:var(--cash-surface)!important;color:var(--cash-muted)!important;border-color:var(--cash-line)!important;padding:8px!important}
body.cash-workspace-r1 #overlayCard .data-table td {font-size:12px!important;background:transparent!important;color:var(--cash-text)!important;border-color:var(--cash-soft)!important;padding:8px!important}
body.cash-workspace-r1 #inspector {width:360px!important;background:var(--cash-surface)!important;border-left:1px solid var(--cash-line)!important;box-shadow:none!important;color:var(--cash-text)!important;padding:16px!important;font-size:13px!important}
body.cash-workspace-r1 #inspector :is(h2,h3) {font-size:18px!important;color:var(--cash-text)!important;letter-spacing:-.015em}
body.cash-workspace-r1 #command {background:#071412a6!important;backdrop-filter:blur(2px)}
body.cash-workspace-r1 #command .command-box {background:var(--cash-surface)!important;color:var(--cash-text)!important;border:1px solid var(--cash-line)!important;border-radius:6px!important;box-shadow:var(--cash-shadow)!important}
body.cash-workspace-r1 #command input {height:46px!important;background:var(--cash-input)!important;color:var(--cash-text)!important;border-color:var(--cash-line)!important;font-size:14px!important}
body.cash-workspace-r1 #command .command-item {background:transparent!important;color:var(--cash-text)!important;border-color:var(--cash-soft)!important;padding:11px 16px!important;font-size:13px!important;border-radius:0!important}
body.cash-workspace-r1 #command .command-item:hover {background:var(--cash-hover)!important}
body.cash-workspace-r1 #command .command-item small,body.cash-workspace-r1 #command .command-help {color:var(--cash-muted)!important;font-size:11px!important;background:transparent!important;border-color:var(--cash-line)!important}
body.cash-workspace-r1 .toast {background:var(--cash-raised)!important;color:var(--cash-text)!important;border:1px solid var(--cash-line)!important;border-left:3px solid var(--cash-accent)!important;border-radius:4px!important;padding:12px 15px!important;font-size:13px!important;box-shadow:var(--cash-shadow)!important}
/* Overview: all fifteen KPIs and lower report blocks retained as a ledger. */
body.cash-workspace-r1 #pageMount .mrw-ov {--mrw-ink:var(--cash-text);--mrw-muted:var(--cash-muted);--mrw-green:var(--cash-success);--mrw-gold:var(--cash-warning);--mrw-panel:var(--cash-surface);--mrw-outline:var(--cash-line);max-width:none!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #pageMount .mrw-ov-head {padding:0 0 18px!important;min-height:0!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--cash-line)!important;border-radius:0!important;box-shadow:none!important;gap:16px!important;align-items:center!important}
body.cash-workspace-r1 #pageMount .mrw-ov-head::after,body.cash-workspace-r1 #pageMount .mrw-ov-metric::after {content:none!important}
body.cash-workspace-r1 #pageMount .mrw-ov-head h2 {font-size:24px!important;color:var(--cash-text)!important;font-weight:650!important;line-height:1.25!important;margin:4px 0 6px!important}
body.cash-workspace-r1 #pageMount .mrw-ov-eyebrow {font-size:9px!important;letter-spacing:.13em!important;color:var(--cash-muted)!important;margin-bottom:4px!important}
body.cash-workspace-r1 #pageMount .mrw-ov-head p {font-size:12px!important;color:var(--cash-muted)!important;line-height:1.5!important}
body.cash-workspace-r1 #pageMount .mrw-ov-actions {gap:4px!important}
body.cash-workspace-r1 #pageMount .mrw-ov-actions button {min-height:30px!important;padding:6px 10px!important;background:transparent!important;border:1px solid var(--cash-line)!important;border-radius:3px!important;color:var(--cash-muted)!important;font-size:11px!important}
body.cash-workspace-r1 #pageMount .mrw-ov-actions button[aria-pressed=true] {background:var(--cash-selected)!important;border-color:var(--cash-accent)!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #pageMount .mrw-ov-asof {font-size:10px!important;color:var(--cash-muted)!important;padding-top:8px!important}
body.cash-workspace-r1 #pageMount .mrw-ov-sectionline {margin:22px 0 10px!important}
body.cash-workspace-r1 #pageMount .mrw-ov-sectionline h3 {font-size:14px!important;color:var(--cash-text)!important;font-weight:650!important}
body.cash-workspace-r1 #pageMount .mrw-ov-sectionline span {font-size:10px!important;color:var(--cash-muted)!important}
body.cash-workspace-r1 #pageMount .mrw-ov-kpis {grid-template-columns:repeat(5,minmax(0,1fr));gap:0!important;border-top:1px solid var(--cash-line);border-left:1px solid var(--cash-line)}
body.cash-workspace-r1 #pageMount .mrw-ov-metric {min-height:100px!important;padding:14px 16px!important;background:transparent!important;border:0!important;border-right:1px solid var(--cash-line)!important;border-bottom:1px solid var(--cash-line)!important;border-radius:0!important;box-shadow:none!important}
body.cash-workspace-r1 #pageMount .mrw-ov-metric small {font-size:11px!important;color:var(--cash-muted)!important;font-weight:550!important;margin-bottom:7px!important}
body.cash-workspace-r1 #pageMount .mrw-ov-metric strong {font-size:24px!important;line-height:1.2!important;font-weight:650!important;color:var(--cash-text)!important;letter-spacing:-.025em!important}
body.cash-workspace-r1 #pageMount .mrw-ov-metric.feature strong {color:var(--cash-text)!important}
body.cash-workspace-r1 #pageMount .mrw-ov-sub {font-size:10px!important;color:var(--cash-muted)!important;line-height:1.5!important;margin-top:7px!important}
body.cash-workspace-r1 #pageMount .mrw-ov-marker {color:var(--cash-accent)!important;font-size:11px!important}
body.cash-workspace-r1 #pageMount .mrw-ov-chartgrid {gap:24px!important;margin-top:16px!important}
body.cash-workspace-r1 #pageMount .mrw-ov-box {padding:14px 0!important;background:transparent!important;border:0!important;border-top:1px solid var(--cash-line)!important;border-radius:0!important;box-shadow:none!important}
body.cash-workspace-r1 #pageMount .mrw-ov-box h3 {font-size:14px!important;color:var(--cash-text)!important;font-weight:650!important}
body.cash-workspace-r1 #pageMount .mrw-ov-box p,body.cash-workspace-r1 #pageMount .mrw-ov-chartkey {font-size:11px!important;color:var(--cash-muted)!important}
body.cash-workspace-r1 #pageMount :is(.mrw-ov-bonus-strip,.mrw-ov-catgrid) {gap:0!important;border-top:1px solid var(--cash-line);grid-template-columns:repeat(5,minmax(0,1fr))}
body.cash-workspace-r1 #pageMount :is(.mrw-ov-bonus-pill,.mrw-ov-cat) {min-height:104px!important;padding:14px 16px!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--cash-line)!important;border-right:1px solid var(--cash-line)!important;border-radius:0!important;box-shadow:none!important}
body.cash-workspace-r1 #pageMount :is(.mrw-ov-bonus-pill,.mrw-ov-cat) :is(b,h4) {font-size:11px!important;color:var(--cash-muted)!important;font-weight:550!important}
body.cash-workspace-r1 #pageMount :is(.mrw-ov-bonus-pill,.mrw-ov-cat) strong {font-size:20px!important;color:var(--cash-text)!important;font-weight:650!important}
body.cash-workspace-r1 #pageMount :is(.mrw-ov-bonus-pill,.mrw-ov-cat) small,body.cash-workspace-r1 #pageMount .mrw-ov-footnote {font-size:10px!important;line-height:1.5!important;color:var(--cash-muted)!important}
body.cash-workspace-r1 #pageMount .mrw-ov-legacy {background:transparent!important;border:0!important;border-top:1px solid var(--cash-line)!important;border-radius:0!important}
body.cash-workspace-r1 #pageMount .mrw-ov-legacy summary {font-size:12px!important;color:var(--cash-muted)!important;padding:14px 0!important}
/* Members, CMS, workflows: existing specialized structures remain intact. */
body.cash-workspace-r1 #pageMount :is(.uy-member-index,.uy-slim-list,.mrw-v3-overview,.mrw-v3-activity,.mrw-v3-finance,.mrw-member-security,.mrwcard-panel,.mrwcard-console,.mrw-community-group,.mrw-promopack-admin,.mso-hero-card,.mso-toolbar-card,.mso-workload-container,.cash-fin-section,.cash-fin-card) {background:transparent!important;border-radius:0!important;box-shadow:none!important;border-color:var(--cash-line)!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #pageMount :is(.mso-hero-card,.mrw-member-hero) {padding:16px 0!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--cash-line)!important;border-radius:0!important;box-shadow:none!important}
body.cash-workspace-r1 #pageMount :is(.mso-hero-card h1,.mrw-member-hero-title,.mrw-member-person) {font-size:24px!important;line-height:1.25!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #pageMount :is(.uy-slim-row,.mrwcard-row,.mrw-community-row,.mrw-promopack-row,.home-work-card,.chat-thread-row,.chat-person-row,.support-thread) {background:transparent!important;color:var(--cash-text)!important;border:0!important;border-bottom:1px solid var(--cash-soft)!important;border-radius:0!important;box-shadow:none!important;transform:none!important}
body.cash-workspace-r1 #pageMount :is(.uy-slim-row,.mrwcard-row,.mrw-community-row,.mrw-promopack-row) {min-height:56px!important;padding-top:10px!important;padding-bottom:10px!important}
body.cash-workspace-r1 #pageMount :is(.uy-slim-row,.mrwcard-row,.mrw-community-row,.mrw-promopack-row,.chat-thread-row,.chat-person-row,.support-thread):hover {background:var(--cash-hover)!important}
body.cash-workspace-r1 #pageMount :is(.uy-slim-row,.chat-thread-row,.chat-person-row,.support-thread).active {background:var(--cash-selected)!important;border-left:2px solid var(--cash-accent)!important}
body.cash-workspace-r1 #pageMount :is(.uy-slim-name,.uy-slim-balance,.uy-slim-money,.mrw-community-info b,.mrw-promopack-body b) {color:var(--cash-text)!important;font-size:13px!important}
body.cash-workspace-r1 #pageMount :is(.uy-slim-id,.uy-source-note,.mrw-ops-note,.mrw-social-help,.mrw-community-hint,.mrw-import-file,.mrw-comm-muted) {color:var(--cash-muted)!important;font-size:11px!important;line-height:1.5!important}
body.cash-workspace-r1 #pageMount :is(.uy-tabs,.detail-tabs,.workqueue-tabs,.mrwcard-tabs) {background:transparent!important;border:0!important;border-bottom:1px solid var(--cash-line)!important;border-radius:0!important;box-shadow:none!important;gap:3px!important;padding:0!important}
body.cash-workspace-r1 #pageMount :is(.uy-tabs,.detail-tabs,.workqueue-tabs,.mrwcard-tabs) button {min-height:36px!important;padding:8px 12px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;color:var(--cash-muted)!important;font-size:12px!important}
body.cash-workspace-r1 #pageMount :is(.uy-tabs,.detail-tabs,.workqueue-tabs,.mrwcard-tabs) button.active {background:transparent!important;color:var(--cash-text)!important;border-bottom-color:var(--cash-accent)!important}
body.cash-workspace-r1 #pageMount :is(.mrw-import-topbar,.mrw-ops-filters,.mrwcard-toolbar,.mrw-social-toolbar,.mrw-tg-account-toolbar,.mrw-tg-bulk-toolbar) {padding:10px 0!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--cash-line)!important;border-radius:0!important;box-shadow:none!important;gap:8px!important}
body.cash-workspace-r1 #pageMount :is(.home-quick-card,.home-recent-card,.attendance-person-card,.department-shift-card,.shift-department-card,.site-module-card,.mrw-tg-account-card) {background:var(--cash-surface)!important;color:var(--cash-text)!important;border:1px solid var(--cash-line)!important;border-radius:4px!important;box-shadow:none!important}
body.cash-workspace-r1 #pageMount :is(.mrwcard-info,.mrwcard-sync-state,.mrw-tg-overview,.mrw-online-card,.mrw-payment-check) {background:var(--cash-hover)!important;border:0!important;border-radius:3px!important;box-shadow:none!important;color:var(--cash-text)!important}
/* Conversations remain conversations: bubbles are semantic, outer cards are not. */
body.cash-workspace-r1 #pageMount :is(.support-layout,.chat-list,.chat-people,.chat-log,.chat-composer,.support-conversation-head,.support-ops-bridge-bar) {background:transparent!important;color:var(--cash-text)!important;border-color:var(--cash-line)!important;border-radius:0!important;box-shadow:none!important}
body.cash-workspace-r1 #pageMount :is(.chat-list,.chat-people) {gap:0!important;padding:0!important}
body.cash-workspace-r1 #pageMount :is(.chat-thread-row,.chat-person-row,.support-thread) {padding:12px!important}
body.cash-workspace-r1 #pageMount :is(.chat-thread-row,.chat-person-row,.support-thread) :is(b,strong) {font-size:13px!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #pageMount :is(.chat-thread-row,.chat-person-row,.support-thread) :is(small,.support-thread-preview,.support-thread-meta) {font-size:11px!important;color:var(--cash-muted)!important}
body.cash-workspace-r1 #pageMount .chat-log {padding:16px!important;gap:10px!important}
body.cash-workspace-r1 #pageMount .chat-message {background:var(--cash-raised)!important;color:var(--cash-text)!important;border:1px solid var(--cash-line)!important;border-radius:6px!important;box-shadow:none!important;padding:10px 12px!important;font-size:13px!important;line-height:1.55!important}
body.cash-workspace-r1 #pageMount .chat-message.mine {background:var(--cash-selected)!important;border-color:var(--cash-line)!important}
body.cash-workspace-r1 #pageMount .chat-composer {padding:12px 0!important;border-top:1px solid var(--cash-line)!important;gap:8px!important}
/* Authentication and security surfaces share the same visual system. */
body.cash-workspace-r1 :is(#auth,#passwordGate) {background:var(--cash-bg)!important}
body.cash-workspace-r1 :is(#auth,#passwordGate) .auth-card {background:var(--cash-surface)!important;color:var(--cash-text)!important;border:1px solid var(--cash-line)!important;border-radius:6px!important;box-shadow:var(--cash-shadow)!important;padding:26px!important}
body.cash-workspace-r1 :is(#auth,#passwordGate) h1 {font-size:22px!important;color:var(--cash-text)!important}
body.cash-workspace-r1 :is(#auth,#passwordGate) label {font-size:12px!important;color:var(--cash-muted)!important}
body.cash-workspace-r1 :is(#auth,#passwordGate) .btn.primary {background:var(--cash-accent)!important;color:var(--cash-on-accent)!important;border-color:var(--cash-accent)!important;border-radius:4px!important}
/* Accessible interaction/state invariants. */
body.cash-workspace-r1 :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible {outline:2px solid var(--cash-focus)!important;outline-offset:3px!important}
body.cash-workspace-r1 :is(button,input,select,textarea):disabled {cursor:not-allowed!important;opacity:.56}
body.cash-workspace-r1 :is(.permission-risk,.permission-help,.permission-count-strip,.staff-access-save-state) {border-color:var(--cash-line)!important;border-radius:3px!important;box-shadow:none!important}
body.cash-workspace-r1 .session-watermark {pointer-events:none!important;opacity:.055!important;color:var(--cash-accent)!important}
body.cash-workspace-r1.dark-mode .session-watermark {opacity:.035!important}
body.cash-workspace-r1 .session-watermark span {text-shadow:none!important}
@media print {body.cash-workspace-r1 .session-watermark {opacity:.13!important;color:#000!important}}
/* Responsive layout preserves controls; header scrolls instead of losing actions. */
@media (max-width:1440px) {
  body.cash-workspace-r1 #app .global-header {grid-template-columns:160px minmax(150px,1fr) auto auto!important;gap:5px!important;padding:0 9px!important}
  body.cash-workspace-r1 #app .global-search {min-width:150px!important}
  body.cash-workspace-r1 #app .header-right {gap:2px!important}
  body.cash-workspace-r1 #app .profile {max-width:126px!important}
  body.cash-workspace-r1 #pageMount {padding:20px!important}
}
@media (max-width:1240px) {
  body.cash-workspace-r1 #pageMount .mrw-ov-kpis {grid-template-columns:repeat(3,minmax(0,1fr))}
  body.cash-workspace-r1 #pageMount :is(.mrw-ov-bonus-strip,.mrw-ov-catgrid) {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1600px) and (min-width:761px) {
  body.cash-workspace-r1 #app {grid-template-rows:84px 38px minmax(0,1fr)!important}
  body.cash-workspace-r1 #app .global-header {height:84px!important;min-height:84px!important;grid-template-columns:184px minmax(160px,1fr) auto!important;grid-template-rows:44px 36px!important;grid-template-areas:"brand search actions" "right right right";gap:0 10px!important;overflow:visible}
  body.cash-workspace-r1 #app .brand-lockup {grid-area:brand}
  body.cash-workspace-r1 #app .global-search {grid-area:search}
  body.cash-workspace-r1 #app .global-actions {grid-area:actions}
  body.cash-workspace-r1 #app .header-right {grid-area:right;min-width:0;max-width:100%;width:100%;padding-top:3px;border-top:1px solid var(--cash-soft);justify-content:flex-end;overflow-x:auto;scrollbar-width:thin}
  body.cash-workspace-r1 #app .header-right>* {flex-shrink:0}
}
@media (min-width:761px) and (max-width:1180px) {
  body.cash-workspace-r1 #app .workspace {grid-template-columns:196px minmax(0,1fr)!important}
  body.cash-workspace-r1 #inspector {position:fixed;top:122px!important;bottom:0;right:0;z-index:100;width:min(360px,85vw)!important;box-shadow:var(--cash-shadow)!important}
  body.cash-workspace-r1 #pageMount :is(.grid-3,.mrw-ov-chartgrid) {grid-template-columns:minmax(0,1fr)!important}
}
@media (max-width:760px) {
  body.cash-workspace-r1 #app {grid-template-rows:114px 48px minmax(0,1fr)!important}
  body.cash-workspace-r1 #app .global-header {height:114px!important;min-height:114px!important;grid-template-columns:36px minmax(0,1fr)!important;grid-template-rows:42px 34px 36px!important;grid-template-areas:"brand search" "actions actions" "right right";gap:0 6px!important;padding:0 8px!important;overflow:visible}
  body.cash-workspace-r1 #app .brand-lockup {grid-area:brand}
  body.cash-workspace-r1 #app .global-search {grid-area:search;min-width:0}
  body.cash-workspace-r1 #app .global-actions {grid-area:actions;min-width:0;max-width:100%;overflow-x:auto;justify-content:flex-start}
  body.cash-workspace-r1 #app .header-right {grid-area:right;min-width:0;max-width:100%;width:100%;justify-content:flex-start;overflow-x:auto;scrollbar-width:thin;border-top:1px solid var(--cash-soft);padding-top:3px}
  body.cash-workspace-r1 #app .header-right>* {flex-shrink:0}
  body.cash-workspace-r1 #app .mobile-nav-toggle {display:inline-flex!important;width:32px!important;height:32px!important;background:transparent!important;border-color:var(--cash-line)!important;color:var(--cash-text)!important;border-radius:4px!important}
  body.cash-workspace-r1 #app .global-search b {display:block!important;font-size:11px!important}
  body.cash-workspace-r1 #app .header-right .chip {display:inline-flex!important}
  body.cash-workspace-r1 #app .domain-bar {height:48px!important;min-height:48px!important;display:flex!important;gap:8px!important;padding:6px 8px!important;overflow-x:auto!important;white-space:nowrap}
  body.cash-workspace-r1 #app .context-switchers {flex:none!important}
  body.cash-workspace-r1 #app .context-switchers select {max-width:160px!important;width:auto!important;font-size:11px!important}
  body.cash-workspace-r1 #app .context-state {flex:none!important;font-size:9px!important}
  body.cash-workspace-r1 #app .workspace {grid-template-columns:minmax(0,1fr)!important}
  body.cash-workspace-r1 #app .side-nav {position:fixed!important;left:0;top:162px!important;bottom:0;width:228px!important;z-index:90;background:var(--cash-nav)!important}
  body.cash-workspace-r1 #app .side-nav.open {box-shadow:var(--cash-shadow)!important}
  body.cash-workspace-r1 #pageMount {padding:16px 12px 76px!important}
  body.cash-workspace-r1 #pageMount .page-head {align-items:flex-start!important;flex-wrap:wrap;gap:10px!important}
  body.cash-workspace-r1 #pageMount .page-title h1,body.cash-workspace-r1 #pageMount .mrw-ov-head h2 {font-size:22px!important}
  body.cash-workspace-r1 #pageMount .page-actions {justify-content:flex-start!important;gap:6px!important}
  body.cash-workspace-r1 #pageMount :is(.grid-2,.grid-3,.record-grid,.master-detail,.mrw-ov-chartgrid) {grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
  body.cash-workspace-r1 #pageMount .mrw-ov-kpis,body.cash-workspace-r1 #pageMount :is(.mrw-ov-bonus-strip,.mrw-ov-catgrid) {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.cash-workspace-r1 #pageMount .mrw-ov-metric {padding:12px!important;min-height:100px!important}
  body.cash-workspace-r1 #pageMount .mrw-ov-metric strong {font-size:21px!important}
  body.cash-workspace-r1 #pageMount .ux-mobile-cards .data-table tbody tr {border-bottom:1px solid var(--cash-line)!important;padding:10px!important;margin:0!important}
  body.cash-workspace-r1 #pageMount .ux-mobile-cards .data-table td {height:auto!important;min-height:34px;padding:6px 0!important}
  body.cash-workspace-r1 #pageMount .ux-mobile-cards .data-table td::before {font-size:10px!important;color:var(--cash-muted)!important;line-height:1.45!important}
  body.cash-workspace-r1 #overlay {padding:12px!important}
  body.cash-workspace-r1 #overlayCard,body.cash-workspace-r1 #overlayCard:is(.wide-modal,.staff-access-dialog),body.cash-workspace-r1 #overlayCard:has(.handoff-two-col,.wide-modal-shell,.mrw-contact-dialog,.mrw-v3-money-dialog,.data-table) {width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;padding:18px 16px!important}
  body.cash-workspace-r1 #overlayCard :is(.form-grid,.mrwcard-formgrid,.handoff-two-col,.mrw-comm-columns) {grid-template-columns:minmax(0,1fr)!important}
  body.cash-workspace-r1 #inspector {position:fixed;top:162px!important;bottom:0;right:0;z-index:100;width:min(360px,100vw)!important;padding:16px!important;box-shadow:var(--cash-shadow)!important}
  body.cash-workspace-r1 #quickDock {background:var(--cash-surface)!important;border-top:1px solid var(--cash-line)!important;border-radius:0!important;box-shadow:none!important}
  body.cash-workspace-r1 #quickDock button {background:transparent!important;color:var(--cash-muted)!important;border-radius:0!important;min-height:44px}
}
@media (pointer:coarse) {
  body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) :is(.btn,.mini,input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select) {min-height:42px!important}
  body.cash-workspace-r1 #app .side-nav nav button {min-height:42px!important}
}
@media (prefers-reduced-motion:reduce) {
  body.cash-workspace-r1 *,body.cash-workspace-r1 *::before,body.cash-workspace-r1 *::after {scroll-behavior:auto!important;animation:none!important;transition:none!important}
}
/* Source-specific dialogs: preserve native controls and replace blocked inline layout. */
body.cash-workspace-r1 #overlay #overlayCard #r17QuickHandoff > .member-picker-container {grid-column:1/-1!important;width:100%!important;min-width:0;box-sizing:border-box;background:transparent!important;border:0!important;border-top:1px solid var(--cash-line)!important;border-bottom:1px solid var(--cash-line)!important;border-radius:0!important;padding:12px 0!important;margin:0!important}
body.cash-workspace-r1 #overlay #overlayCard #r17QuickHandoff .member-picker-container>label {display:block!important;margin:0 0 4px!important;font-size:12px!important;font-weight:550!important;color:var(--cash-text)!important}
body.cash-workspace-r1 #overlay #overlayCard #r17QuickHandoff .member-picker-container>div:not(.member-autocomplete-wrap) {font-size:11px!important;color:var(--cash-muted)!important;margin:0 0 9px!important;line-height:1.5}
body.cash-workspace-r1 #overlay #overlayCard #r17QuickHandoff .member-autocomplete-wrap {position:relative;width:100%;min-width:0}
body.cash-workspace-r1 #overlay #overlayCard #handoffMemberSearch {width:100%!important;min-width:0!important}
body.cash-workspace-r1 #overlay #overlayCard #handoffSelectedMemberBox {background:var(--cash-selected)!important;color:var(--cash-text)!important;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border-radius:3px;margin-top:8px}
body.cash-workspace-r1 #overlay #overlayCard:has(input[data-change="mrwPositionPermissionSwitch"]) {width:min(920px,calc(100vw - 48px))!important}
body.cash-workspace-r1 #overlay #overlayCard .section-body>div:has(>label>input[data-change="mrwPositionPermissionSwitch"]) {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;max-height:54dvh!important;overflow:auto!important;border-top:1px solid var(--cash-line);scrollbar-width:thin;overscroll-behavior:contain}
body.cash-workspace-r1 #overlay #overlayCard label:has(>input[data-change="mrwPositionPermissionSwitch"]) {display:flex!important;align-items:flex-start!important;gap:10px!important;padding:10px 2px!important;min-height:58px;border-bottom:1px solid var(--cash-line)!important;color:var(--cash-text)!important;cursor:pointer}
body.cash-workspace-r1 #overlay #overlayCard label:has(>input[data-change="mrwPositionPermissionSwitch"])>input {flex:0 0 16px!important;width:16px!important;height:16px!important;margin:2px 0 0!important}
body.cash-workspace-r1 #overlay #overlayCard label:has(>input[data-change="mrwPositionPermissionSwitch"])>span {display:grid!important;gap:3px;min-width:0}
body.cash-workspace-r1 #overlay #overlayCard label:has(>input[data-change="mrwPositionPermissionSwitch"]) b {font-size:12px!important;line-height:1.4;font-weight:600!important}
body.cash-workspace-r1 #overlay #overlayCard label:has(>input[data-change="mrwPositionPermissionSwitch"]) small {display:block!important;font-size:10px!important;line-height:1.4;color:var(--cash-muted)!important;overflow-wrap:anywhere}
body.cash-workspace-r1 #overlay #overlayCard.staff-access-dialog .section {background:transparent!important;border:0!important;border-top:1px solid var(--cash-line)!important;border-radius:0!important;box-shadow:none!important}
body.cash-workspace-r1 #overlay #overlayCard.staff-access-dialog .section .section-head {margin:0!important;padding:10px 0!important;background:transparent!important;border-radius:0!important;min-height:40px!important}
body.cash-workspace-r1 #overlay #overlayCard.staff-access-dialog .section .section-head h3 {font-size:14px!important}
body.cash-workspace-r1 #overlay #overlayCard.staff-access-dialog .grid-2 {gap:18px!important}
body.cash-workspace-r1 #overlay #overlayCard.staff-access-dialog .grid-2 .data-table {min-width:0!important;width:100%!important}
body.cash-workspace-r1 #overlay #overlayCard.staff-access-dialog .grid-2 .data-table :is(tbody,tr,td) {background:var(--cash-surface)!important;color:var(--cash-text)!important;border-color:var(--cash-line)!important}
body.cash-workspace-r1 #overlay #overlayCard.staff-access-dialog .grid-2 .data-table th {color:var(--cash-muted)!important;background:var(--cash-surface)!important}
body.cash-workspace-r1 #overlay #overlayCard .mrw-staff-position-rights-summary {padding:12px 0!important;margin:8px 0 18px!important;border:0!important;border-top:1px solid var(--cash-line)!important;border-bottom:1px solid var(--cash-line)!important;border-radius:0!important;background:transparent!important}
body.cash-workspace-r1 #overlay #overlayCard .mrw-staff-position-rights-summary>div {display:flex!important;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 14px}
body.cash-workspace-r1 #overlay #overlayCard .mrw-staff-position-rights-summary>div+div {justify-content:flex-start;margin-top:8px!important;gap:8px 20px;font-size:11px;color:var(--cash-muted)}
body.cash-workspace-r1 #pageMount :is(.home-quick-card,.home-recent-card) {background:transparent!important;border:0!important;border-bottom:1px solid var(--cash-line)!important;border-radius:0!important;box-shadow:none!important}
body.cash-workspace-r1 #app .global-actions button>span:not(.action-icon) {display:inline!important;font-size:12px!important}
@media (min-width:761px) and (max-width:1600px) {
  body.cash-workspace-r1 #app .header-right {padding-left:194px!important;box-sizing:border-box;justify-content:flex-start!important;gap:5px!important}
  body.cash-workspace-r1 #app #workChip {width:auto!important;display:inline-flex!important;gap:5px}
  body.cash-workspace-r1 #app #workChip .header-text {display:inline!important;font-size:11px!important}
  body.cash-workspace-r1 #app #clock {margin-left:auto!important}
}
@media (min-width:761px) and (max-width:980px) {body.cash-workspace-r1 #app .header-right {padding-left:0!important}}
@media (max-width:760px) {
  body.cash-workspace-r1 #overlay #overlayCard:has(input[data-change="mrwPositionPermissionSwitch"]) {width:calc(100vw - 24px)!important}
  body.cash-workspace-r1 #overlay #overlayCard .section-body>div:has(>label>input[data-change="mrwPositionPermissionSwitch"]) {grid-template-columns:minmax(0,1fr);max-height:56dvh!important}
  body.cash-workspace-r1 #overlay #overlayCard.staff-access-dialog .grid-2 {grid-template-columns:minmax(0,1fr)!important}
}
/* Quarantined support attachments must expose their name and both decisions. */
body.cash-workspace-r1 #pageMount .support-layout .support-attach-tray {height:auto!important;max-height:none!important;min-height:88px;align-items:center!important;overflow-x:auto!important;overflow-y:visible!important;padding:8px 10px!important;border-radius:3px!important}
body.cash-workspace-r1 #pageMount .support-layout .support-attach-tray>.attach-chip {height:auto!important;max-height:none!important;min-height:72px;max-width:280px!important;align-items:flex-start!important;overflow:visible!important;padding:9px!important;border-radius:3px!important}
body.cash-workspace-r1 #pageMount .support-layout .support-attach-tray>.attach-chip>div {display:grid!important;gap:5px;max-width:220px!important;min-width:0!important;overflow:visible!important}
body.cash-workspace-r1 #pageMount .support-layout .support-attach-tray>.attach-chip a {display:block!important;max-width:100%;white-space:normal!important;overflow-wrap:anywhere!important;color:var(--cash-accent)!important;font-size:12px!important;line-height:1.4!important}
body.cash-workspace-r1 #pageMount .support-layout .support-attach-tray>.attach-chip :is(.mini,.btn) {min-height:30px!important;line-height:1.35!important}
/* Late legacy SIP columns must not clip queue, phone or member context. */
@media (max-width:1180px) {
  body.cash-workspace-r1 #pageMount .sip-workspace {grid-template-columns:minmax(0,1fr)!important;width:100%!important;min-width:0!important;gap:16px!important}
  body.cash-workspace-r1 #pageMount .sip-workspace>:is(aside,main,section,div),body.cash-workspace-r1 #pageMount .sip-workspace :is(.sip-queue-pane,.sip-center,.sip-profile-pane) {grid-column:1!important;grid-row:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
  body.cash-workspace-r1 #pageMount .sip-workspace .sip-center {grid-template-columns:minmax(0,1fr)!important}
  body.cash-workspace-r1 #pageMount .sip-workspace .sip-phone {width:100%!important;max-width:410px!important;min-width:0!important;margin:0 auto!important;box-sizing:border-box}
}
/* Shortcut actions scroll inside their subsection on small support dialogs. */
body.cash-workspace-r1 #overlay #overlayCard:has(#mrwSupportSettingsForm) .section-body>div:has(>table.data-table) {max-width:100%!important;min-width:0!important;overflow-x:auto!important;box-sizing:border-box;overscroll-behavior-x:contain;scrollbar-width:thin}
body.cash-workspace-r1 #overlay #overlayCard:has(#mrwSupportSettingsForm) .section-body>div:has(>table.data-table)>table {width:100%!important}
/* Text links retain their native actions and remain legible in both palettes. */
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) :is(a:not(.btn):not(.mini),.link-btn:not(.btn):not(.mini)) {color:var(--cash-accent)!important;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) .link-btn>b {color:var(--cash-accent)!important}
body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) :is(a:not(.btn):not(.mini),.link-btn:not(.btn):not(.mini)):is(:hover,:focus-visible),body.cash-workspace-r1 :is(#pageMount,#overlayCard,#inspector) .link-btn:is(:hover,:focus-visible)>b {color:var(--cash-text)!important}
body.cash-workspace-r1 #app #pageMount .page-head .page-title h1 {font-size:24px!important;line-height:1.25!important;font-weight:650!important;letter-spacing:-.025em!important}
@media (max-width:760px) {body.cash-workspace-r1 #app #pageMount .page-head .page-title h1 {font-size:22px!important}}
/* These are application state flags, including permission-denied controls.
   Keep them after presentation display rules; never unhide gated functions. */
body.cash-workspace-r1 .hidden,body.cash-workspace-r1 [hidden] {display:none!important}

/* Explicit state always wins over scoped presentation display rules above.
   Repeated attributes/classes increase specificity without changing matching. */
body.cash-workspace-r1 :is(#app,#overlay,#command,#auth,#passwordGate,#inspector,#quickDock):is(.hidden,[hidden]),
body.cash-workspace-r1 #app :is(.hidden.hidden,[hidden][hidden]),
body.cash-workspace-r1 #overlay :is(.hidden.hidden,[hidden][hidden]),
body.cash-workspace-r1 #command :is(.hidden.hidden,[hidden][hidden]),
body.cash-workspace-r1 #overlay #overlayCard :is(.hidden.hidden,[hidden][hidden]),
body.cash-workspace-r1 #app #workChip:is(.hidden,[hidden]) {display:none!important}
/* Existing shortener actions follow the existing site editing permission. */
body.cash-workspace-r1 #app [data-action].cash-write-denied,
body.cash-workspace-r1 #overlay #overlayCard [data-action].cash-write-denied {display:none!important}

/* Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL

-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION AND CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
 */
@font-face{font-family:"CASH Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("/cash-nightshift-inter-v4.1.woff2") format("woff2")}

/* CASH Nightshift R2. Structural presentation for the selected workdesk.
   Existing theme, permission flags, forms, IDs and business actions remain live.
   Reference: image(1).png, 1568 × 1005. Deliberately compact 72 / 232 / 64 shell. */
body.cash-nightshift-r2 {
  --ns-bg:#eef4f0; --ns-surface:#f8faf7; --ns-raised:#fff; --ns-nav:#eaf1ed;
  --ns-rail:#e0ebe5; --ns-line:#becfc6; --ns-soft:#d5e1da; --ns-ink:#18362e;
  --ns-muted:#526f64; --ns-faint:#718b80; --ns-active:#d7efe2; --ns-accent:#087c55;
  --ns-accent-strong:#086847; --ns-accent-ink:#fff; --ns-gold:#806625;
  --ns-gold-surface:#f3ead2; --ns-hover:#e1ece5; --ns-danger:#ad4148;
  --ns-shadow:0 20px 60px #102e2922; --ns-rail-width:72px; --ns-nav-width:232px;
  --ns-header-height:64px; --ns-footer-height:32px;
  --cash-bg:var(--ns-bg); --cash-surface:var(--ns-surface); --cash-nav:var(--ns-nav);
  --cash-raised:var(--ns-raised); --cash-hover:var(--ns-hover); --cash-selected:var(--ns-active);
  --cash-line:var(--ns-line); --cash-soft:var(--ns-soft); --cash-text:var(--ns-ink);
  --cash-muted:var(--ns-muted); --cash-accent:var(--ns-accent); --cash-on-accent:var(--ns-accent-ink);
  --cash-success:var(--ns-accent); --cash-warning:var(--ns-gold); --cash-input:var(--ns-surface);
  --cash-focus:var(--ns-accent); --cash-shadow:var(--ns-shadow); --cash-danger:var(--ns-danger);
  background:var(--ns-bg)!important;color:var(--ns-ink)!important;font-size:14px!important;
  font-family:"CASH Inter",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI","Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
  line-height:1.5;letter-spacing:0;overflow:hidden;
}
body.cash-nightshift-r2.dark-mode {
  --ns-bg:#071b20; --ns-surface:#10272a; --ns-raised:#163034; --ns-nav:#0d2327;
  --ns-rail:#071a1f; --ns-line:#345154; --ns-soft:#233f43; --ns-ink:#f3f3e9;
  --ns-muted:#bdcecc; --ns-faint:#91abaa; --ns-active:#124b3c; --ns-accent:#39d79a;
  --ns-accent-strong:#087f59; --ns-accent-ink:#f7fff9; --ns-gold:#dbc180;
  --ns-gold-surface:#3c3724; --ns-hover:#17373a; --ns-danger:#f2a3ad;
  --ns-shadow:0 22px 64px #0006;
}
body.cash-nightshift-r2 *,body.cash-nightshift-r2 *::before,body.cash-nightshift-r2 *::after {box-sizing:border-box}
body.cash-nightshift-r2 :is(button,input,select,textarea) {font-family:"CASH Inter",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI","Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif!important}
body.cash-nightshift-r2 #app {
  height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  display:grid!important;grid-template-rows:var(--ns-header-height) minmax(0,1fr) var(--ns-footer-height)!important;
  overflow:hidden!important;background:var(--ns-bg)!important;
}
/* One header row; original secondary actions are accessible in its utility menu. */
body.cash-nightshift-r2 #app>.global-header {
  position:relative;z-index:60;grid-row:1;display:grid!important;
  grid-template-columns:174px minmax(150px,270px) minmax(240px,1fr) auto!important;
  align-items:center!important;height:var(--ns-header-height)!important;min-height:var(--ns-header-height)!important;
  padding:0 18px!important;gap:18px!important;overflow:visible!important;
  background:var(--ns-nav)!important;border-bottom:1px solid var(--ns-line)!important;
}
body.cash-nightshift-r2 #app .global-header>.brand-lockup {grid-column:1!important;grid-row:1!important;gap:12px!important;padding-right:18px;border-right:1px solid var(--ns-line);height:38px}
body.cash-nightshift-r2 #app .brand-lockup .logo-mark {height:38px!important;width:38px!important;border-radius:10px!important;background:#08744f!important;border:1px solid #299f78!important}
body.cash-nightshift-r2 #app .brand-lockup .logo-mark svg {width:31px!important;height:31px!important}
body.cash-nightshift-r2 #app .brand-lockup b {font-size:21px!important;font-weight:700!important;letter-spacing:.12em!important;line-height:1.2!important;color:var(--ns-ink)!important}
body.cash-nightshift-r2 #app .brand-lockup small {display:block;font-size:9px!important;letter-spacing:.2em!important;color:var(--ns-ink)!important;margin-top:2px!important}
body.cash-nightshift-r2 #nsBrandTitle {grid-column:2!important;grid-row:1!important;display:flex;align-items:center;gap:14px;min-width:0;color:var(--ns-ink);white-space:nowrap;font-size:14px;font-weight:650}
body.cash-nightshift-r2 #nsBrandTitle .ns-preview-badge {display:inline-flex;align-items:center;padding:3px 8px;min-width:0;max-width:165px;overflow:hidden;text-overflow:ellipsis;border:1px solid #8f7a47;border-radius:6px;background:var(--ns-gold-surface);color:var(--ns-gold);font-size:10px;font-weight:500;letter-spacing:.03em}
body.cash-nightshift-r2 #app .global-header>#globalSearch {grid-column:3!important;grid-row:1!important;display:flex!important;align-items:center;height:38px!important;min-height:38px!important;width:100%!important;min-width:0!important;padding:0 14px!important;gap:10px!important;border-radius:9px!important;border:1px solid var(--ns-line)!important;background:var(--ns-raised)!important;box-shadow:none!important;color:var(--ns-muted)!important}
body.cash-nightshift-r2 #app #globalSearch b {font-size:13px!important;font-weight:450!important;letter-spacing:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.cash-nightshift-r2 #app #globalSearch .search-glyph {width:18px!important;height:18px!important;flex:0 0 18px}
body.cash-nightshift-r2 #app #globalSearch kbd {margin-left:auto;font-size:10px!important;border:0!important;white-space:nowrap;opacity:.7}
body.cash-nightshift-r2 #nsHeaderActions {grid-column:4!important;grid-row:1!important;display:flex;align-items:center;gap:10px;min-width:0}
body.cash-nightshift-r2 #app #nsHeaderActions>button {display:inline-flex!important;align-items:center!important;justify-content:center;gap:8px;height:36px!important;min-height:36px!important;width:auto!important;min-width:36px!important;padding:0 12px!important;border:1px solid var(--ns-line)!important;border-radius:8px!important;background:var(--ns-surface)!important;color:var(--ns-ink)!important;box-shadow:none!important;font-size:12px!important;white-space:nowrap!important}
body.cash-nightshift-r2 #app #nsHeaderActions>button:hover {background:var(--ns-hover)!important;border-color:var(--ns-faint)!important}
body.cash-nightshift-r2 #app #nsHeaderActions #presenceButton {font-size:12px!important;min-width:98px!important}
body.cash-nightshift-r2 #app #nsHeaderActions #presenceDot {height:8px!important;width:8px!important;margin:0!important;box-shadow:none!important}
body.cash-nightshift-r2 #app #nsHeaderActions :is(.header-mini-icon,.action-icon) {width:17px!important;height:17px!important;display:inline-flex!important;align-items:center;justify-content:center}
body.cash-nightshift-r2 #app #nsHeaderActions :is(.header-mini-icon,.action-icon) svg {width:17px!important;height:17px!important}
body.cash-nightshift-r2 #app #nsHeaderActions #themeToggle {width:36px!important;padding:0!important}
body.cash-nightshift-r2 #app #nsHeaderActions #themeText {display:none!important}
body.cash-nightshift-r2 #app #nsHeaderActions #profileButton {padding:0!important;gap:9px!important;border:0!important;background:transparent!important;max-width:180px!important}
body.cash-nightshift-r2 #app #nsHeaderActions #profileAvatar {height:32px!important;width:32px!important;display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;background:var(--ns-active)!important;border:1px solid var(--ns-line);color:var(--ns-ink)!important;font-size:13px!important;border-radius:50%!important}
body.cash-nightshift-r2 #app #nsHeaderActions #profileName {max-width:122px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px!important;font-weight:600!important}
body.cash-nightshift-r2 #app #nsHeaderActions #nsUtilityToggle {width:32px!important;min-width:32px!important;padding:0!important;border-color:transparent!important;background:transparent!important}
body.cash-nightshift-r2 #nsUtilityMenu {position:absolute;top:calc(100% + 8px);right:16px;z-index:300;width:348px;max-width:calc(100vw - 24px);padding:12px;display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:8px;border:1px solid var(--ns-line);border-radius:12px;background:var(--ns-surface);color:var(--ns-ink);box-shadow:var(--ns-shadow);max-height:calc(100dvh - 100px);overflow:auto;overscroll-behavior:contain}
body.cash-nightshift-r2 #nsUtilityMenu>.ns-utility-heading {grid-column:1/-1;font-size:13px;padding:2px 2px 8px;font-weight:600}
body.cash-nightshift-r2 #app .global-header>.ns-legacy-header-container {display:none!important}
body.cash-nightshift-r2 #app #nsUtilityMenu :is(button,.language-control,.drk-total) {height:38px!important;min-height:38px!important;max-width:none!important;width:100%!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;padding:0 10px!important;border:1px solid var(--ns-soft)!important;border-radius:7px!important;background:var(--ns-raised)!important;color:var(--ns-ink)!important;font-size:12px!important}
body.cash-nightshift-r2 #app #nsUtilityMenu button .header-text {display:inline!important;font-size:12px!important}
body.cash-nightshift-r2 #app #nsUtilityMenu button:hover {border-color:var(--ns-line)!important;background:var(--ns-hover)!important}
body.cash-nightshift-r2 #app #nsUtilityMenu button.primary {background:var(--ns-accent-strong)!important;color:#fff!important}
body.cash-nightshift-r2 #app #nsUtilityMenu .drk-total {height:auto!important;min-height:60px!important;display:grid!important;gap:1px!important;padding:6px 10px!important;grid-column:1/-1}
body.cash-nightshift-r2 #app #nsUtilityMenu .drk-total strong {font-size:16px!important}
body.cash-nightshift-r2 #app #nsUtilityMenu #clock {height:auto!important;min-height:20px!important;padding:0 4px!important;font-size:11px!important;grid-column:1/-1;margin:0!important;color:var(--ns-muted)!important}
body.cash-nightshift-r2 #app #nsUtilityMenu .language-control select {height:30px!important;min-height:30px!important;flex:1}
/* Permanent rail and contextual second navigation. */
body.cash-nightshift-r2 #app>.workspace {grid-row:2;display:grid!important;grid-template-columns:var(--ns-rail-width) var(--ns-nav-width) minmax(0,1fr) auto!important;min-height:0!important;height:100%!important;overflow:hidden!important;background:var(--ns-bg)!important}
body.cash-nightshift-r2 #nsRail {grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:stretch;gap:11px;min-height:0;padding:16px 7px 14px;overflow:auto;scrollbar-width:none;border-right:1px solid var(--ns-line);background:var(--ns-rail);z-index:20}
body.cash-nightshift-r2 #nsRail::-webkit-scrollbar {display:none}
body.cash-nightshift-r2 #nsRail .ns-rail-main {display:flex;flex-direction:column;gap:11px}
body.cash-nightshift-r2 #nsRail .ns-rail-label {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.cash-nightshift-r2 #app #nsRail .ns-rail-button {position:relative;display:flex!important;align-items:center;justify-content:center;flex:0 0 48px;width:100%!important;height:48px!important;min-height:48px!important;padding:0!important;background:transparent!important;color:var(--ns-ink)!important;border:0!important;border-left:3px solid transparent!important;border-radius:7px!important;box-shadow:none!important;cursor:pointer}
body.cash-nightshift-r2 #app #nsRail .ns-rail-button:hover {background:var(--ns-hover)!important}
body.cash-nightshift-r2 #app #nsRail .ns-rail-button:is(.active,[aria-current=page],[aria-pressed=true]) {border-left-color:var(--ns-accent)!important;background:var(--ns-active)!important;color:var(--ns-ink)!important}
body.cash-nightshift-r2 #nsRail .ns-rail-button .ico,body.cash-nightshift-r2 #nsRail .ns-rail-button svg {height:23px!important;width:23px!important;display:inline-flex;align-items:center;justify-content:center}
body.cash-nightshift-r2 #nsRail .ns-rail-spacer {flex:1;min-height:16px}
body.cash-nightshift-r2 #nsRail .ns-rail-collapse,body.cash-nightshift-r2 #nsRail [data-ns-collapse] {margin-top:auto;flex-shrink:0}
body.cash-nightshift-r2 #app #nsSidebar {grid-column:2;grid-row:1;display:flex!important;flex-direction:column;position:relative!important;top:auto!important;left:auto!important;bottom:auto!important;min-height:0!important;height:100%!important;width:var(--ns-nav-width)!important;max-width:var(--ns-nav-width)!important;transform:none!important;visibility:visible!important;overflow:hidden!important;background:var(--ns-nav)!important;border:0!important;border-right:1px solid var(--ns-line)!important;box-shadow:none!important;z-index:21}
body.cash-nightshift-r2 #app #nsSidebar>.side-head,body.cash-nightshift-r2 #app #nsSidebar>.side-foot {display:none!important}
body.cash-nightshift-r2 #nsWorkspaceIdentity {flex:0 0 auto;padding:18px 16px 0;min-width:0;font-size:11px;line-height:1.45;color:var(--ns-muted)}
body.cash-nightshift-r2 #nsWorkspaceIdentity b,body.cash-nightshift-r2 #nsWorkspaceIdentity strong {display:block;margin-top:6px;color:var(--ns-ink);font-size:13px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
body.cash-nightshift-r2 #nsAdminSiteContext {flex:0 0 auto;display:flex;flex-direction:column;gap:6px;margin:0 16px 16px;padding:0 0 16px;border-bottom:1px solid var(--ns-line);font-size:10px;color:var(--ns-muted)}
body.cash-nightshift-r2 #app #nsAdminSiteContext select {width:100%!important;min-width:0;max-width:100%;height:34px!important;min-height:34px!important;padding:0 26px 0 11px!important;font-size:12px!important;font-weight:550;border:1px solid var(--ns-line)!important;border-radius:8px!important;background:var(--ns-surface)!important;color:var(--ns-ink)!important}
body.cash-nightshift-r2 #app #nsSidebar #domainBar {flex:0 0 auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:10px!important;height:auto!important;min-height:0!important;width:auto!important;margin:0 16px 10px!important;padding:12px 0 16px!important;border:0!important;border-bottom:1px solid var(--ns-line)!important;background:transparent!important;overflow:visible!important;white-space:normal!important}
body.cash-nightshift-r2 #app #nsSidebar #domainBar .context-switchers {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;width:100%!important}
body.cash-nightshift-r2 #app #nsSidebar #domainBar .context-switchers label {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;width:100%!important}
body.cash-nightshift-r2 #app #nsSidebar #domainBar .context-switchers label>span {font-size:10px!important;font-weight:450!important;letter-spacing:.015em!important;color:var(--ns-muted)!important}
body.cash-nightshift-r2 #app #nsSidebar #domainBar select {width:100%!important;max-width:100%!important;min-width:0!important;height:34px!important;min-height:34px!important;padding:0 28px 0 11px!important;border:1px solid var(--ns-line)!important;border-radius:8px!important;background:var(--ns-surface)!important;color:var(--ns-ink)!important;font-size:12px!important;font-weight:550!important}
body.cash-nightshift-r2 #app #nsSidebar #domainBar .context-path {display:none!important}
body.cash-nightshift-r2 #app #nsSidebar #domainBar .context-state {margin:0!important;padding:0!important;font-size:9px!important;color:var(--ns-faint)!important}
body.cash-nightshift-r2 #app #nsSidebar #sideNav {flex:1;min-height:0;overflow-y:auto!important;overflow-x:hidden!important;padding:0 10px 20px!important;scrollbar-width:thin;scrollbar-color:var(--ns-line) transparent}
body.cash-nightshift-r2 #app #sideNav .ns-nav-home,body.cash-nightshift-r2 #app #sideNav .ns-nav-link {display:flex!important;align-items:center;gap:10px;width:100%!important;min-height:34px!important;height:auto!important;padding:6px 10px!important;border:0!important;border-left:2px solid transparent!important;border-radius:0!important;background:transparent!important;color:var(--ns-ink)!important;font-size:13px!important;font-weight:450!important;line-height:1.45!important;text-align:left;box-shadow:none!important;cursor:pointer}
body.cash-nightshift-r2 #app #sideNav .ns-nav-home {margin:0 0 6px;padding:9px 10px!important;min-height:39px!important;border-radius:5px!important;font-weight:600!important;font-size:14px!important}
body.cash-nightshift-r2 #app #sideNav .ns-nav-link .ico,body.cash-nightshift-r2 #app #sideNav .ns-nav-home .ico {display:inline-flex;flex:0 0 18px;align-items:center;justify-content:center;width:18px!important;height:18px!important;color:inherit!important}
body.cash-nightshift-r2 #app #sideNav :is(.ns-nav-link,.ns-nav-home) svg {height:18px!important;width:18px!important}
body.cash-nightshift-r2 #app #sideNav :is(.ns-nav-home,.ns-nav-link):hover {background:var(--ns-hover)!important}
body.cash-nightshift-r2 #app #sideNav :is(.ns-nav-home,.ns-nav-link):is(.active,[aria-current=page]) {color:var(--ns-ink)!important;border-left-color:var(--ns-accent)!important;background:var(--ns-active)!important;font-weight:600!important}
body.cash-nightshift-r2 #sideNav .ns-nav-section {margin:0;padding:10px 0 8px;border-bottom:1px solid var(--ns-line)}
body.cash-nightshift-r2 #sideNav .ns-nav-section:last-child {border-bottom:0}
body.cash-nightshift-r2 #sideNav .ns-nav-heading {margin:0 10px 5px;font-size:10px;line-height:1.4;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--ns-muted)}
body.cash-nightshift-r2 #sideNav .ns-nav-folder {margin:0;padding:0;border:0;background:transparent}
body.cash-nightshift-r2 #sideNav .ns-nav-folder-head {display:flex;align-items:center;gap:8px;min-height:34px;padding:6px 10px;list-style:none;color:var(--ns-ink);font-size:13px;font-weight:450;cursor:pointer;border-radius:4px}
body.cash-nightshift-r2 #sideNav .ns-nav-folder-head::-webkit-details-marker {display:none}
body.cash-nightshift-r2 #sideNav .ns-nav-folder-head:hover {background:var(--ns-hover)}
body.cash-nightshift-r2 #sideNav .ns-nav-folder-head>.ico {display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px}
body.cash-nightshift-r2 #sideNav .ns-nav-folder-head svg {width:18px;height:18px}
body.cash-nightshift-r2 #sideNav .ns-nav-folder-head :is(.ns-nav-chevron,.ns-folder-caret) {margin-left:auto;display:flex;transition:transform .16s ease}
body.cash-nightshift-r2 #sideNav .ns-nav-folder[open]>.ns-nav-folder-head :is(.ns-nav-chevron,.ns-folder-caret) {transform:rotate(90deg)}
body.cash-nightshift-r2 #sideNav .ns-nav-icon {display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px}
body.cash-nightshift-r2 #sideNav .ns-nav-links {margin:1px 0 5px 17px;border-left:1px solid var(--ns-soft);padding-left:3px}
body.cash-nightshift-r2 #app #sideNav .ns-nav-links .ns-nav-link {padding:6px 8px!important;min-height:31px!important;font-size:12px!important;color:var(--ns-muted)!important}
body.cash-nightshift-r2 #app #sideNav .ns-nav-links .ns-nav-link.active {color:var(--ns-ink)!important}
body.cash-nightshift-r2 #app>.workspace>.main {grid-column:3;grid-row:1;position:relative!important;min-height:0!important;min-width:0!important;height:100%!important;overflow:auto!important;background:var(--ns-bg)!important;scrollbar-width:thin;scrollbar-color:var(--ns-line) transparent}
body.cash-nightshift-r2 #app #pageMount {width:100%!important;min-height:100%;padding:24px 24px 28px!important;font-size:14px!important;background:transparent!important;max-width:none!important}
body.cash-nightshift-r2 #app #inspector {grid-column:4;grid-row:1;top:auto!important;min-height:0;max-height:100%;background:var(--ns-surface)!important;border-left:1px solid var(--ns-line)!important;overflow:auto!important}
body.cash-nightshift-r2 #app #inspector .section {border:0!important;border-top:1px solid var(--ns-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.cash-nightshift-r2 #app #inspector .data-table :is(th,td) {border-color:var(--ns-soft)!important;background:transparent!important;color:var(--ns-ink)!important}
body.cash-nightshift-r2 #app #inspector .data-table th {font-size:10px!important;color:var(--ns-faint)!important}
body.cash-nightshift-r2 #app #inspector .data-table thead {background:var(--ns-surface)!important}
body.cash-nightshift-r2 #nsFooter {grid-row:3;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 22px;border-top:1px solid var(--ns-line);background:var(--ns-nav);color:var(--ns-muted);font-size:10px;min-height:32px;overflow:hidden}
body.cash-nightshift-r2 #nsFooter>span {display:flex;align-items:center;gap:10px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.cash-nightshift-r2 #nsFooter .health-dot,body.cash-nightshift-r2 #nsFooter .ns-status-dot {width:7px;height:7px;border-radius:50%;background:var(--ns-accent);flex:none;box-shadow:none}
body.cash-nightshift-r2 #nsFooter .ns-footer-mode {display:flex;align-items:center;gap:10px;white-space:nowrap}
body.cash-nightshift-r2 #nsFooter .ns-footer-mode>i {height:7px;width:7px;display:block;border-radius:50%;background:var(--ns-accent)}
body.cash-nightshift-r2 #app #mobileNavToggle {display:none!important}
body.cash-nightshift-r2.ns-nav-collapsed #app>.workspace {grid-template-columns:var(--ns-rail-width) 0 minmax(0,1fr) auto!important}
body.cash-nightshift-r2.ns-nav-collapsed #app #nsSidebar {width:0!important;max-width:0!important;visibility:hidden!important;border:0!important;pointer-events:none}
/* Workdesk: list and selected-record inspector are one persistent composition. */
body.cash-nightshift-r2 #app #pageMount .ns-workdesk {margin:0;color:var(--ns-ink);min-width:0;width:100%}
body.cash-nightshift-r2 #app #pageMount .ns-desk-head {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 0 17px;margin:0 0 18px;border-bottom:1px solid var(--ns-line);min-width:0}
body.cash-nightshift-r2 #pageMount .ns-desk-head>div {min-width:0}
body.cash-nightshift-r2 #pageMount :is(.ns-desk-kicker,.ns-desk-eyebrow),body.cash-nightshift-r2 #pageMount .ns-desk-head .page-kicker {font-size:10px!important;font-weight:600!important;letter-spacing:.11em!important;text-transform:uppercase!important;color:var(--ns-ink)!important;line-height:1.4}
body.cash-nightshift-r2 #app #pageMount .ns-desk-head h1 {font-size:36px!important;font-weight:680!important;letter-spacing:-.035em!important;line-height:1.15!important;margin:8px 0 5px!important;color:var(--ns-ink)!important}
body.cash-nightshift-r2 #app #pageMount .ns-desk-head p {font-size:13px!important;line-height:1.55!important;margin:0!important;color:var(--ns-muted)!important;font-weight:400!important;max-width:82ch}
body.cash-nightshift-r2 #pageMount .ns-desk-date {display:flex;align-items:center;gap:10px;flex:none;text-align:right;font-size:12px;color:var(--ns-ink);white-space:nowrap}
body.cash-nightshift-r2 #pageMount .ns-desk-date .ico {width:20px;height:20px;display:flex}
body.cash-nightshift-r2 #pageMount .ns-desk-date svg {width:20px;height:20px}
body.cash-nightshift-r2 #pageMount .ns-desk-date small {display:block;color:var(--ns-muted);font-size:10px;margin-top:2px}
body.cash-nightshift-r2 #pageMount .ns-desk-layout {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(360px,1fr);gap:18px;align-items:start;min-width:0}
body.cash-nightshift-r2 #pageMount .ns-desk-main {min-width:0}
body.cash-nightshift-r2 #pageMount .ns-desk-tabs {display:flex;align-items:stretch;gap:0;margin:0 0 16px;padding:0;border-bottom:1px solid var(--ns-line);min-width:0;overflow:auto;scrollbar-width:none}
body.cash-nightshift-r2 #app #pageMount .ns-desk-tabs button {position:relative;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px!important;flex:1;min-width:max-content;padding:10px 18px!important;border:1px solid transparent!important;border-bottom:3px solid transparent!important;border-radius:8px 8px 0 0!important;background:transparent!important;color:var(--ns-ink)!important;font-size:14px!important;font-weight:500!important;line-height:1.4!important;box-shadow:none!important;cursor:pointer}
body.cash-nightshift-r2 #app #pageMount .ns-desk-tabs button:hover {background:var(--ns-hover)!important}
body.cash-nightshift-r2 #app #pageMount .ns-desk-tabs button:is(.active,[aria-selected=true]) {background:var(--ns-active)!important;border-color:var(--ns-line)!important;border-bottom-color:var(--ns-accent)!important;font-weight:650!important}
body.cash-nightshift-r2 #pageMount .ns-desk-tabs button :is(b,small,.ns-tab-count) {padding:1px 8px;border-radius:10px;background:var(--ns-hover);color:var(--ns-ink);font-size:12px;font-weight:550;line-height:1.4}
body.cash-nightshift-r2 #pageMount .ns-desk-tabs button.active :is(b,small,.ns-tab-count) {background:#357e6655}
body.cash-nightshift-r2 #pageMount .ns-desk-tools {display:flex;align-items:center;gap:8px;min-width:0;margin:0 0 20px;padding:0}
body.cash-nightshift-r2 #pageMount .ns-desk-tools .ns-search {flex:1;min-width:0;position:relative}
body.cash-nightshift-r2 #pageMount .ns-desk-tools .ns-task-search {display:flex;align-items:center;flex:1;min-width:120px;position:relative;margin:0}
body.cash-nightshift-r2 #pageMount .ns-desk-tools .ns-task-search>:is(.ico,svg) {position:absolute;left:10px;top:9px;display:flex;width:16px;height:16px;color:var(--ns-faint);pointer-events:none}
body.cash-nightshift-r2 #pageMount .ns-desk-tools .ns-task-search svg {width:16px;height:16px}
body.cash-nightshift-r2 #app #pageMount .ns-desk-tools .ns-task-search>input {padding-left:32px!important}
body.cash-nightshift-r2 #pageMount .ns-desk-tools .ns-quiet-button {display:inline-flex;align-items:center;justify-content:center;gap:6px}
body.cash-nightshift-r2 #pageMount .ns-desk-tools .ns-quiet-button .ico,body.cash-nightshift-r2 #pageMount .ns-desk-tools .ns-quiet-button svg {width:15px;height:15px;display:flex}
body.cash-nightshift-r2 #pageMount .ns-desk-tools :is(input[type=search],input[type=text]) {flex:1;min-width:0!important;width:100%!important;height:34px!important;min-height:34px!important;padding:0 11px!important;border:1px solid var(--ns-line)!important;border-radius:6px!important;background:transparent!important;color:var(--ns-ink)!important;font-size:12px!important}
body.cash-nightshift-r2 #pageMount .ns-desk-tools :is(button,select) {flex:none;min-height:34px!important;height:34px!important;padding:0 10px!important;border-radius:6px!important;border:1px solid var(--ns-line)!important;background:transparent!important;color:var(--ns-muted)!important;font-size:11px!important;white-space:nowrap!important}
body.cash-nightshift-r2 #pageMount .ns-desk-tools :is(button,select):hover {background:var(--ns-hover)!important;color:var(--ns-ink)!important}
body.cash-nightshift-r2 #pageMount .ns-task-group {margin:0 0 28px;min-width:0}
body.cash-nightshift-r2 #pageMount .ns-group-heading {display:flex;align-items:center;gap:10px;min-height:28px;padding:0 4px;margin:0 0 12px;color:var(--ns-ink);font-size:19px;line-height:1.3;font-weight:650}
body.cash-nightshift-r2 #pageMount .ns-group-heading .ico {display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;color:var(--ns-gold)}
body.cash-nightshift-r2 #pageMount .ns-group-heading svg {width:20px;height:20px}
body.cash-nightshift-r2 #pageMount .ns-group-heading small {font-size:16px;font-weight:400;color:var(--ns-ink)}
body.cash-nightshift-r2 #pageMount .ns-group-heading>span:not(.ico) {font:inherit;color:inherit}
body.cash-nightshift-r2 #pageMount .ns-task-list {border:1px solid var(--ns-line);border-radius:9px;overflow:hidden;background:var(--ns-surface)}
body.cash-nightshift-r2 #app #pageMount .ns-task-row {display:grid!important;grid-template-columns:38px minmax(0,1fr) auto auto 14px!important;align-items:center;gap:12px;width:100%!important;min-width:0!important;min-height:74px!important;height:auto!important;padding:12px 16px!important;text-align:left!important;border:1px solid var(--ns-line)!important;border-radius:8px!important;background:var(--ns-surface)!important;color:var(--ns-ink)!important;box-shadow:none!important;cursor:pointer;transition:background .14s,border-color .14s}
body.cash-nightshift-r2 #pageMount .ns-task-row+.ns-task-row {margin-top:6px}
body.cash-nightshift-r2 #app #pageMount .ns-task-list>.ns-task-row {margin:0!important;border:0!important;border-bottom:1px solid var(--ns-line)!important;border-radius:0!important}
body.cash-nightshift-r2 #app #pageMount .ns-task-list>.ns-task-row:last-child {border-bottom:0!important}
body.cash-nightshift-r2 #pageMount .ns-task-group--priority>.ns-task-list {border:0!important;background:transparent!important;border-radius:0!important;overflow:visible!important}
body.cash-nightshift-r2 #app #pageMount .ns-task-group--priority>.ns-task-list>.ns-task-row {border:1px solid var(--ns-line)!important;border-radius:8px!important;margin:0 0 6px!important}
body.cash-nightshift-r2 #app #pageMount .ns-task-row:hover {background:var(--ns-hover)!important;border-color:var(--ns-faint)!important}
body.cash-nightshift-r2 #app #pageMount .ns-task-row:is(.selected,.active,[aria-selected=true],[aria-pressed=true]) {background:var(--ns-active)!important;border-color:var(--ns-accent)!important;box-shadow:inset 0 0 0 1px #39d79a25!important}
body.cash-nightshift-r2 #pageMount .ns-task-avatar {display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#38565b;color:var(--ns-ink);font-size:15px;font-weight:500;line-height:1;letter-spacing:-.02em}
body.cash-nightshift-r2:not(.dark-mode) #pageMount .ns-task-avatar {background:#cfdfd6;color:#305448}
body.cash-nightshift-r2 #pageMount .ns-task-row:is(.selected,.active,.is-selected) .ns-task-avatar {background:#2b715f;color:#f2fff5}
body.cash-nightshift-r2 #pageMount .ns-task-copy {min-width:0;overflow:hidden}
body.cash-nightshift-r2 #pageMount .ns-task-title {display:block;font-size:16px;font-weight:650;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ns-ink)}
body.cash-nightshift-r2 #pageMount .ns-task-meta {display:block;font-size:13px;font-weight:400;line-height:1.5;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ns-muted)}
body.cash-nightshift-r2 #pageMount .ns-task-time {font-size:12px;font-weight:400;color:var(--ns-muted);line-height:1.4;white-space:nowrap;text-align:right}
body.cash-nightshift-r2 #pageMount .ns-status {display:inline-flex;align-items:center;justify-content:center;min-width:76px;max-width:120px;min-height:23px;padding:2px 9px;border:1px solid var(--ns-faint);border-radius:6px;background:var(--ns-raised);color:var(--ns-ink);font-size:12px;font-weight:500;line-height:1.35;text-align:center;white-space:normal;overflow-wrap:anywhere}
body.cash-nightshift-r2 #pageMount .ns-status:is(.urgent,.high,.ns-status--urgent,[data-status=urgent],[data-tone=warning]) {background:var(--ns-gold-surface);border-color:#9b8754;color:var(--ns-gold)}
body.cash-nightshift-r2 #pageMount .ns-status:is(.active,.progress,.in_progress,.ns-status--active,[data-status=in_progress],[data-tone=success]) {background:#0d634653;border-color:#38b781;color:#c1f4d7}
body.cash-nightshift-r2:not(.dark-mode) #pageMount .ns-status:is(.active,.progress,.in_progress,.ns-status--active,[data-status=in_progress],[data-tone=success]) {background:#d7efe2;color:#14553b}
body.cash-nightshift-r2 #pageMount .ns-task-chevron {display:flex;align-items:center;justify-content:center;color:var(--ns-ink);width:14px;height:18px}
body.cash-nightshift-r2 #pageMount .ns-task-chevron svg {width:14px;height:14px}
body.cash-nightshift-r2 #pageMount .ns-desk-detail {position:sticky;top:0;display:flex;flex-direction:column;min-width:0;min-height:min(700px,calc(100dvh - 230px));max-height:calc(100dvh - 220px);padding:20px;border:1px solid var(--ns-line);border-radius:13px;background:var(--ns-surface);overflow:auto;scrollbar-width:thin;scrollbar-color:var(--ns-line) transparent;box-shadow:0 1px 0 #ffffff08 inset}
body.cash-nightshift-r2 #pageMount .ns-detail-top {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 8px}
body.cash-nightshift-r2 #pageMount .ns-detail-kicker {display:inline-flex;align-items:center;align-self:flex-start;padding:2px 10px;border:1px solid #9b8754;border-radius:6px;background:var(--ns-gold-surface);color:var(--ns-gold);font-size:12px;line-height:1.5;font-weight:450}
body.cash-nightshift-r2 #app #pageMount .ns-detail-top button {display:flex;align-items:center;justify-content:center;width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border:1px solid var(--ns-line)!important;border-radius:7px!important;background:transparent!important;color:var(--ns-ink)!important;font-size:16px!important;flex:none;box-shadow:none!important}
body.cash-nightshift-r2 #pageMount .ns-detail-top button svg {height:16px;width:16px}
body.cash-nightshift-r2 #pageMount .ns-detail-close svg {transform:rotate(45deg)}
body.cash-nightshift-r2 #app #pageMount .ns-detail-title {font-size:27px!important;line-height:1.2!important;letter-spacing:-.035em!important;font-weight:670!important;margin:0 0 8px!important;padding:0!important;color:var(--ns-ink)!important;overflow-wrap:anywhere}
body.cash-nightshift-r2 #pageMount .ns-detail-owner {display:flex;align-items:center;gap:9px;margin:0 0 16px;font-size:13px;color:var(--ns-ink);line-height:1.45}
body.cash-nightshift-r2 #pageMount .ns-detail-owner .ico,body.cash-nightshift-r2 #pageMount .ns-detail-owner svg {width:17px;height:17px;display:flex;flex:none}
body.cash-nightshift-r2 #pageMount .ns-detail-description {font-size:14px;line-height:1.65;color:var(--ns-muted);white-space:pre-wrap;overflow-wrap:anywhere;padding:14px 0;border-top:1px solid var(--ns-line);margin:0}
body.cash-nightshift-r2 #pageMount .ns-detail-section {margin:0;padding:14px 0;border-top:1px solid var(--ns-line);min-width:0}
body.cash-nightshift-r2 #pageMount .ns-detail-section h3 {margin:0 0 12px;font-size:16px;line-height:1.4;font-weight:650;color:var(--ns-ink)}
body.cash-nightshift-r2 #pageMount .ns-detail-section p {font-size:14px;line-height:1.65;margin:0;color:var(--ns-muted);overflow-wrap:anywhere}
body.cash-nightshift-r2 #pageMount .ns-detail-fields {margin:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px}
body.cash-nightshift-r2 #pageMount .ns-detail-fields>div {min-width:0}
body.cash-nightshift-r2 #pageMount .ns-detail-fields dt {font-size:10px;line-height:1.4;color:var(--ns-faint);margin:0 0 3px}
body.cash-nightshift-r2 #pageMount .ns-detail-fields dd {font-size:12px;line-height:1.5;color:var(--ns-ink);margin:0;overflow-wrap:anywhere}
body.cash-nightshift-r2 #pageMount .ns-task-fields {margin:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px}
body.cash-nightshift-r2 #pageMount .ns-task-fields>div {min-width:0}
body.cash-nightshift-r2 #pageMount .ns-task-fields dt {font-size:11px;line-height:1.4;color:var(--ns-faint);margin:0 0 3px}
body.cash-nightshift-r2 #pageMount .ns-task-fields dd {font-size:13px;line-height:1.5;color:var(--ns-ink);margin:0;overflow-wrap:anywhere}
body.cash-nightshift-r2 #pageMount .ns-timeline {list-style:none;margin:0;padding:0}
body.cash-nightshift-r2 #pageMount .ns-timeline>li {position:relative;margin:0 0 0 8px;padding:0 0 18px 21px;border-left:1px solid var(--ns-accent);min-width:0;color:var(--ns-ink);font-size:12px;line-height:1.4}
body.cash-nightshift-r2 #pageMount .ns-timeline>li:last-child {border-left-color:transparent;padding-bottom:0}
body.cash-nightshift-r2 #pageMount .ns-timeline>li>.ico {position:absolute;left:-9px;top:0;display:flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;color:var(--ns-accent);background:var(--ns-surface)}
body.cash-nightshift-r2 #pageMount .ns-timeline>li>.ico svg {width:17px;height:17px}
body.cash-nightshift-r2 #pageMount .ns-timeline strong {display:block;font-weight:600;font-size:12px;margin:0 0 3px}
body.cash-nightshift-r2 #pageMount .ns-timeline small {display:block;font-size:11px;color:var(--ns-muted);line-height:1.5}
body.cash-nightshift-r2 #pageMount .ns-timeline time {display:block;font-size:10px;color:var(--ns-faint);margin-top:3px;white-space:nowrap}
body.cash-nightshift-r2 #pageMount .ns-timeline>li {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
body.cash-nightshift-r2 #pageMount .ns-timeline>li .ns-timeline-marker {position:absolute;left:-8px;top:1px;width:15px;height:15px;border:2px solid var(--ns-accent);border-radius:50%;background:var(--ns-surface)}
body.cash-nightshift-r2 #pageMount .ns-timeline>li.is-complete .ns-timeline-marker {background:var(--ns-accent)}
body.cash-nightshift-r2 #pageMount .ns-timeline>li>div>b {display:block;margin:0 0 3px;font-size:13px;line-height:1.4;font-weight:600;color:var(--ns-ink)}
body.cash-nightshift-r2 #pageMount .ns-timeline>li>div>span {display:block;font-size:12px;line-height:1.5;color:var(--ns-muted)}
body.cash-nightshift-r2 #pageMount .ns-timeline>li>time {align-self:start;font-size:11px;line-height:1.5;margin:0;padding-top:2px}
body.cash-nightshift-r2 #pageMount .ns-detail-footer {margin-top:auto;padding-top:22px;display:flex;align-items:stretch;gap:8px}
body.cash-nightshift-r2 #app #pageMount .ns-detail-footer button {display:flex!important;align-items:center;justify-content:center;gap:14px;flex:1;min-height:42px!important;height:auto!important;padding:10px 16px!important;border:1px solid var(--ns-accent)!important;border-radius:8px!important;background:var(--ns-accent-strong)!important;color:#fff!important;font-size:14px!important;font-weight:600!important;box-shadow:none!important}
body.cash-nightshift-r2 #pageMount .ns-detail-footer button:hover {filter:brightness(1.1)}
body.cash-nightshift-r2 #pageMount .ns-detail-footer .ico,body.cash-nightshift-r2 #pageMount .ns-detail-footer svg {width:18px;height:18px;display:inline-flex}
body.cash-nightshift-r2 #pageMount .ns-empty {padding:34px 22px;min-height:160px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;border:1px solid var(--ns-line);border-radius:10px;background:var(--ns-surface);color:var(--ns-muted);font-size:13px;line-height:1.6}
body.cash-nightshift-r2 #pageMount .ns-empty strong,body.cash-nightshift-r2 #pageMount .ns-empty h3 {font-size:17px;font-weight:600;line-height:1.4;color:var(--ns-ink);margin:0}
body.cash-nightshift-r2 #pageMount .ns-empty p {margin:0;max-width:45ch}
body.cash-nightshift-r2 #pageMount .ns-empty>b {font-size:17px;font-weight:600;color:var(--ns-ink)}
body.cash-nightshift-r2 #pageMount .ns-detail-placeholder {min-height:450px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;color:var(--ns-muted);font-size:13px}
body.cash-nightshift-r2 #pageMount .ns-detail-placeholder>.ico,body.cash-nightshift-r2 #pageMount .ns-detail-placeholder>.ico svg {display:flex;width:30px;height:30px;color:var(--ns-faint)}
body.cash-nightshift-r2 #pageMount .ns-detail-placeholder h2 {font-size:20px;margin:4px 0 0;color:var(--ns-ink);font-weight:600}
body.cash-nightshift-r2 #pageMount .ns-detail-placeholder p {margin:0;max-width:26ch}
body.cash-nightshift-r2 #pageMount :is(.ns-detail-loading,.ns-detail-error) {padding:10px 0;color:var(--ns-muted);font-size:11px}
body.cash-nightshift-r2 #pageMount .ns-detail-error {color:var(--ns-danger)}
body.cash-nightshift-r2 #pageMount .ns-latest-note>small {display:block;font-size:10px;margin-top:8px;color:var(--ns-faint)}
body.cash-nightshift-r2 #pageMount .ns-desk-list-footer {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;padding-top:12px;border-top:1px solid var(--ns-line);font-size:10px;color:var(--ns-faint);flex-wrap:wrap}
body.cash-nightshift-r2 #pageMount .ns-desk-list-footer>div {display:flex;align-items:center;gap:12px}
body.cash-nightshift-r2 #pageMount .ns-text-button {display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:2px 0;background:transparent!important;color:var(--ns-muted)!important;border:0!important;box-shadow:none!important;font-size:11px}
body.cash-nightshift-r2 #pageMount .ns-text-button:hover {color:var(--ns-accent)!important}
body.cash-nightshift-r2 #pageMount .ns-text-button .ico,body.cash-nightshift-r2 #pageMount .ns-text-button svg {width:14px;height:14px;display:flex}
body.cash-nightshift-r2 #pageMount .ns-view-switch {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid var(--ns-line);font-size:12px;color:var(--ns-muted)}
/* The same material, rhythm and controls carry through every existing page. */
body.cash-nightshift-r2 #app #pageMount>.page-head {margin-bottom:20px!important;padding-bottom:18px!important;min-height:64px!important}
body.cash-nightshift-r2 #app #pageMount .page-head .page-title h1 {font-size:25px!important;letter-spacing:-.025em!important;font-weight:650!important}
body.cash-nightshift-r2 #app #pageMount .page-head .page-title p {font-size:12px!important;color:var(--ns-muted)!important;line-height:1.5!important}
body.cash-nightshift-r2 #pageMount .page-kicker {font-size:9px!important;color:var(--ns-faint)!important;letter-spacing:.12em!important}
body.cash-nightshift-r2 #pageMount>.site-scope-strip {margin-bottom:18px!important;font-size:11px!important}
body.cash-nightshift-r2 :is(#pageMount,#overlayCard,#inspector) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {border-color:var(--ns-line)!important;border-radius:7px!important;background:var(--ns-surface)!important;color:var(--ns-ink)!important;font-size:12px!important;line-height:1.5!important}
body.cash-nightshift-r2 :is(#pageMount,#overlayCard,#inspector) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select) {min-height:34px!important}
body.cash-nightshift-r2 :is(#pageMount,#overlayCard,#inspector) :is(input,textarea)::placeholder {color:var(--ns-faint)!important;opacity:1}
body.cash-nightshift-r2 :is(#pageMount,#overlayCard,#inspector) :is(.btn,.mini) {border-radius:6px!important;border-color:var(--ns-line)!important;background:var(--ns-surface)!important;color:var(--ns-ink)!important;font-size:12px!important;box-shadow:none!important}
body.cash-nightshift-r2 :is(#pageMount,#overlayCard,#inspector) :is(.btn,.mini).primary {background:var(--ns-accent-strong)!important;border-color:var(--ns-accent)!important;color:#fff!important}
body.cash-nightshift-r2 :is(#pageMount,#overlayCard,#inspector) :is(.btn,.mini):hover {background:var(--ns-hover)!important}
body.cash-nightshift-r2 :is(#pageMount,#overlayCard,#inspector) :is(.btn,.mini).primary:hover {background:var(--ns-accent-strong)!important;filter:brightness(1.1)}
body.cash-nightshift-r2 #pageMount .section-head h3,body.cash-nightshift-r2 #inspector .section-head h3 {font-size:15px!important;font-weight:620!important;color:var(--ns-ink)!important}
body.cash-nightshift-r2 #pageMount :is(.data-table,.cash-data-table) {border-collapse:separate!important;border-spacing:0!important}
body.cash-nightshift-r2 #pageMount :is(.data-table,.cash-data-table) thead th {padding:10px 12px!important;font-size:10px!important;letter-spacing:.06em!important;text-transform:uppercase;color:var(--ns-faint)!important;background:var(--ns-bg)!important;border-bottom:1px solid var(--ns-line)!important}
body.cash-nightshift-r2 #pageMount :is(.data-table,.cash-data-table) tbody td {padding:11px 12px!important;height:auto!important;min-height:42px!important;color:var(--ns-ink)!important;font-size:12px!important;line-height:1.5!important;border-color:var(--ns-soft)!important}
body.cash-nightshift-r2 #pageMount :is(.data-table,.cash-data-table) tbody tr:hover td {background:var(--ns-hover)!important}
body.cash-nightshift-r2 #app #pageMount[data-page-type="directory"][data-view="cards"] .ux-card-grid .data-table tbody {grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr))!important;gap:12px!important}
body.cash-nightshift-r2 #app #pageMount[data-page-type="directory"][data-view="cards"] .ux-card-grid .data-table tbody tr {border:1px solid var(--ns-line)!important;border-radius:8px!important;background:var(--ns-surface)!important;box-shadow:none!important;transform:none!important}
body.cash-nightshift-r2 #app #pageMount[data-page-type="directory"][data-view="cards"] .ux-card-grid .data-table tbody td {border-color:var(--ns-soft)!important;padding:7px 8px!important;background:transparent!important}
body.cash-nightshift-r2 #app #pageMount[data-page-type="directory"][data-view="cards"] .ux-card-grid .data-table tbody td::before {font-size:10px!important;font-weight:500!important;letter-spacing:.03em!important;color:var(--ns-faint)!important}
body.cash-nightshift-r2 #app #pageMount[data-page-type="directory"][data-view="cards"] .ux-card-grid .data-table tbody td:first-child {border-bottom:1px solid var(--ns-line)!important;padding-bottom:10px!important;font-size:14px!important}
body.cash-nightshift-r2 #app #pageMount[data-page-type="directory"][data-view="cards"] .ux-card-grid .data-table tbody td:first-child .primary-cell {font-size:14px!important}
body.cash-nightshift-r2 #app #pageMount[data-page-type="directory"][data-view="cards"] .ux-card-grid .data-table tbody td:last-child {border-top:1px solid var(--ns-line)!important;padding-top:9px!important}
body.cash-nightshift-r2 #pageMount :is(.metric-strip,.mrw-ov-kpis) {border:1px solid var(--ns-line)!important;border-radius:9px!important;overflow:hidden!important;background:var(--ns-surface)!important}
body.cash-nightshift-r2 #pageMount .mrw-ov-metric {background:transparent!important;border-color:var(--ns-line)!important}
body.cash-nightshift-r2 #pageMount .mrw-ov-head {padding:0 0 20px!important;margin-bottom:18px!important}
body.cash-nightshift-r2 #pageMount .mrw-ov-head h2 {font-size:28px!important;letter-spacing:-.025em!important}
body.cash-nightshift-r2 #pageMount :is(.mrw-v3-layout,.mrwcard-admin,.support-layout,.sip-workspace) {gap:18px!important}
body.cash-nightshift-r2 #pageMount :is(.home-quick-card,.home-recent-card) {border-color:var(--ns-soft)!important}
/* Popups inherit the workspace instead of a disconnected legacy skin. */
/* Imported profiles have three named actions; the legacy 48px account action
   column only fitted the short Open button. Keep each label inside its cell. */
@media (min-width:1280px) {
 body.cash-nightshift-r2 #pageMount .uy-member-index .mrw-import-slim-row {grid-template-columns:minmax(142px,1.8fr) minmax(72px,.75fr) minmax(108px,1.1fr) minmax(68px,.7fr) minmax(96px,.9fr) minmax(86px,1fr) 84px!important}
}
@media (min-width:791px) and (max-width:1279px) {
 body.cash-nightshift-r2 #pageMount .uy-member-index .mrw-import-slim-row {grid-template-columns:minmax(145px,1.75fr) minmax(80px,.8fr) minmax(110px,1.05fr) minmax(105px,1fr) 84px!important}
}
body.cash-nightshift-r2 #overlay {background:#020d12b8!important;backdrop-filter:blur(5px);padding:24px!important}
body.cash-nightshift-r2 #overlay #overlayCard {border:1px solid var(--ns-line)!important;border-radius:14px!important;background:var(--ns-surface)!important;padding:22px!important;color:var(--ns-ink)!important;box-shadow:var(--ns-shadow)!important;max-height:calc(100dvh - 48px)!important}
body.cash-nightshift-r2 #overlay #overlayCard .section-head {padding:0 0 16px!important;min-height:38px!important;border-bottom:1px solid var(--ns-line)!important;margin-bottom:16px!important}
body.cash-nightshift-r2 #overlay #overlayCard .section-head h3 {font-size:15px!important;font-weight:600!important;letter-spacing:0!important;color:var(--ns-ink)!important}
body.cash-nightshift-r2 #overlay #overlayCard>.section-head h3 {font-size:22px!important;font-weight:650!important;letter-spacing:-.025em!important}
body.cash-nightshift-r2 #overlay #overlayCard>.section-head,body.cash-nightshift-r2 #overlay #overlayCard>.wide-modal-shell>.section-head {padding-right:40px!important;gap:16px!important}
body.cash-nightshift-r2 #overlay #overlayCard>.wide-modal-shell>.section-head h3 {min-width:0;font-size:20px!important;font-weight:650!important;line-height:1.4;overflow-wrap:anywhere}
body.cash-nightshift-r2 #overlay #overlayCard>.wide-modal-shell>.section-head h3 .mono {font-size:12px!important;font-weight:450!important;letter-spacing:0!important}
body.cash-nightshift-r2 #overlay #overlayCard>.wide-modal-shell>.section-head>div {flex:none}
body.cash-nightshift-r2 #overlay #overlayCard .section-head small {font-size:11px!important;color:var(--ns-muted)!important}
body.cash-nightshift-r2 #overlay #overlayCard .section-body {padding:0!important;color:var(--ns-ink)!important}
body.cash-nightshift-r2 #overlay #overlayCard .form-actions {padding-top:16px!important;margin-top:18px!important;border-top:1px solid var(--ns-line)!important;background:transparent!important;gap:8px!important}
body.cash-nightshift-r2 #overlay #overlayCard .overlay-close-btn {width:30px!important;height:30px!important;min-height:30px!important;display:flex;align-items:center;justify-content:center;background:transparent!important;color:var(--ns-muted)!important;border:1px solid var(--ns-line)!important;border-radius:6px!important}
body.cash-nightshift-r2 #overlay #overlayCard label {font-size:12px!important;line-height:1.5!important;color:var(--ns-muted)!important}
body.cash-nightshift-r2 #overlay #overlayCard .section {border:0!important;border-top:1px solid var(--ns-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.cash-nightshift-r2 #overlay #overlayCard:has(>.wide-modal-shell) {display:block!important;overflow:auto!important}
body.cash-nightshift-r2 #overlay #overlayCard>.wide-modal-shell {display:block!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important}
body.cash-nightshift-r2 #overlay #overlayCard>.wide-modal-shell>.section-head {height:auto!important;flex:none!important}
body.cash-nightshift-r2 #overlay #overlayCard>.wide-modal-shell>.section-body {height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important}
body.cash-nightshift-r2 #overlay #overlayCard .handoff-two-col {gap:24px!important;height:auto!important;min-height:0!important}
body.cash-nightshift-r2 #overlay #overlayCard .handoff-left-col {max-height:none!important;overflow:visible!important;padding-right:0!important;gap:16px!important;min-width:0}
body.cash-nightshift-r2 #overlay #overlayCard .handoff-right-col {min-width:0;height:auto!important;max-height:none!important;overflow:visible!important;background:transparent!important;border:0!important;border-left:1px solid var(--ns-line)!important;border-radius:0!important;padding:0 0 0 22px!important;gap:14px!important}
body.cash-nightshift-r2 #overlay #overlayCard #handoffChatLog {min-height:280px!important;max-height:420px!important;overflow-y:auto!important;flex:1 1 auto!important}
body.cash-nightshift-r2 #overlay #overlayCard :is(.quick-status-bar,.member-mini-card,.handoff-assign-bar) {background:var(--ns-surface)!important;border:1px solid var(--ns-line)!important;border-radius:8px!important;color:var(--ns-ink)!important}
body.cash-nightshift-r2 #overlay #overlayCard .handoff-description-card {background:transparent!important;border:0!important;border-top:1px solid var(--ns-line)!important;border-radius:0!important;padding:14px 0 0!important;color:var(--ns-ink)!important}
body.cash-nightshift-r2 #overlay #overlayCard .handoff-description-card>div:first-child {color:var(--ns-muted)!important;font-size:11px!important;font-weight:500!important;line-height:1.5!important;margin-bottom:8px!important}
body.cash-nightshift-r2 #overlay #overlayCard .handoff-description-card .desc-body {background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;color:var(--ns-ink)!important;font-size:13px!important;line-height:1.6!important}
body.cash-nightshift-r2 #overlay #overlayCard .handoff-right-col>.chat-log {background:var(--ns-bg)!important;border:1px solid var(--ns-line)!important;border-radius:8px!important;padding:14px!important;color:var(--ns-muted)!important}
body.cash-nightshift-r2 #overlay #overlayCard .handoff-composer {background:transparent!important;border:0!important;border-top:1px solid var(--ns-line)!important;border-radius:0!important;padding:14px 0 0!important;color:var(--ns-ink)!important}
body.cash-nightshift-r2 :is(#pageMount,#overlayCard,#inspector) .badge:is(.success,.ok) {background:var(--ns-active)!important;color:var(--ns-accent)!important;border-color:var(--ns-line)!important}
body.cash-nightshift-r2 :is(#pageMount,#overlayCard,#inspector) .badge:is(.danger,.bad) {background:var(--ns-surface)!important;color:var(--ns-danger)!important;border-color:var(--ns-danger)!important}
body.cash-nightshift-r2 :is(#pageMount,#overlayCard,#inspector) .badge:is(.warn,.warning) {background:var(--ns-gold-surface)!important;color:var(--ns-gold)!important;border-color:var(--ns-gold)!important}
body.cash-nightshift-r2 #command .command-box {background:var(--ns-surface)!important;color:var(--ns-ink)!important;border:1px solid var(--ns-line)!important;border-radius:12px!important;box-shadow:var(--ns-shadow)!important}
body.cash-nightshift-r2 #commandInput {font-size:15px!important;background:transparent!important;color:var(--ns-ink)!important;border-bottom-color:var(--ns-line)!important}
body.cash-nightshift-r2 :is(#app,#overlay,#command) :is(button,a,input,select,textarea,summary):focus-visible {outline:2px solid var(--ns-accent)!important;outline-offset:3px!important}
/* Responsive composition: no feature is clipped or silently removed. */
@media (min-width:821px) and (max-width:1500px) {
 body.cash-nightshift-r2 #app>.workspace:has(>#inspector:not(.hidden):not([hidden])) #pageMount .ns-desk-layout {grid-template-columns:minmax(0,1fr)}
 body.cash-nightshift-r2 #app>.workspace:has(>#inspector:not(.hidden):not([hidden])) #pageMount .ns-desk-detail {position:relative;top:auto;max-height:none;min-height:0}
 body.cash-nightshift-r2 #app>.workspace:has(>#inspector:not(.hidden):not([hidden])) #pageMount .ns-detail-footer {margin-top:12px}
}
@media (max-width:1390px) {
 body.cash-nightshift-r2 #app>.global-header {grid-template-columns:170px 150px minmax(180px,1fr) auto!important;gap:14px!important;padding:0 14px!important}
 body.cash-nightshift-r2 #nsBrandTitle .ns-preview-badge {display:none}
 body.cash-nightshift-r2 #pageMount .ns-desk-layout {grid-template-columns:minmax(0,1.3fr) minmax(360px,1fr);gap:16px}
 body.cash-nightshift-r2 #app #pageMount {padding:22px 20px 28px!important}
 body.cash-nightshift-r2 #app #pageMount .ns-task-row {grid-template-columns:34px minmax(0,1fr) auto 12px!important;gap:10px!important;padding:12px!important}
 body.cash-nightshift-r2 #pageMount .ns-task-avatar {width:34px;height:34px;font-size:14px}
 body.cash-nightshift-r2 #pageMount .ns-task-time {grid-column:2;grid-row:2;text-align:left;font-size:11px;margin-top:-7px}
 body.cash-nightshift-r2 #pageMount .ns-task-copy {grid-column:2;grid-row:1}
 body.cash-nightshift-r2 #pageMount .ns-task-avatar {grid-column:1;grid-row:1/3}
 body.cash-nightshift-r2 #pageMount .ns-task-row>.ns-status {grid-column:3;grid-row:1/3;min-width:66px;font-size:11px;padding:2px 7px}
 body.cash-nightshift-r2 #pageMount .ns-task-chevron {grid-column:4;grid-row:1/3}
 body.cash-nightshift-r2 #pageMount .ns-desk-date {font-size:11px}
 body.cash-nightshift-r2 #pageMount .ns-desk-tools {flex-wrap:wrap}
 body.cash-nightshift-r2 #pageMount .ns-desk-tools :is(input,.ns-search) {flex:1 1 180px}
}
@media (max-width:1180px) {
 body.cash-nightshift-r2 {--ns-nav-width:212px;--ns-rail-width:64px}
 body.cash-nightshift-r2 #app>.global-header {grid-template-columns:160px minmax(160px,1fr) auto!important;gap:12px!important}
 body.cash-nightshift-r2 #nsBrandTitle {display:none!important}
 body.cash-nightshift-r2 #app .global-header>#globalSearch {grid-column:2!important}
 body.cash-nightshift-r2 #nsHeaderActions {grid-column:3!important;gap:8px}
 body.cash-nightshift-r2 #app #nsHeaderActions #profileName {max-width:80px}
 body.cash-nightshift-r2 #pageMount .ns-desk-layout {grid-template-columns:minmax(0,1.2fr) minmax(320px,1fr);gap:14px}
 body.cash-nightshift-r2 #pageMount .ns-desk-detail {padding:18px;min-height:560px}
 body.cash-nightshift-r2 #app #pageMount .ns-desk-head h1 {font-size:32px!important}
 body.cash-nightshift-r2 #pageMount .ns-desk-date {display:none}
 body.cash-nightshift-r2 #pageMount .ns-desk-tabs button {padding:9px 10px!important;font-size:12px!important;gap:7px}
 body.cash-nightshift-r2 #pageMount .ns-task-title {font-size:15px}
 body.cash-nightshift-r2 #pageMount .ns-task-meta {font-size:12px}
 body.cash-nightshift-r2 #app #pageMount .ns-detail-title {font-size:24px!important}
}
@media (max-width:1020px) {
 body.cash-nightshift-r2 #pageMount .ns-desk-layout {grid-template-columns:minmax(0,1fr)}
 body.cash-nightshift-r2 #pageMount .ns-desk-detail {position:relative;top:auto;max-height:none;min-height:0;padding:20px}
 body.cash-nightshift-r2 #pageMount .ns-detail-footer {margin-top:12px}
 body.cash-nightshift-r2 #pageMount .ns-desk-main {min-width:0}
 body.cash-nightshift-r2 #app #pageMount .ns-task-row {grid-template-columns:38px minmax(0,1fr) auto auto 14px!important}
 body.cash-nightshift-r2 #pageMount .ns-task-avatar {grid-column:1;grid-row:1;width:38px;height:38px}
 body.cash-nightshift-r2 #pageMount .ns-task-copy {grid-column:2;grid-row:1}
 body.cash-nightshift-r2 #pageMount .ns-task-time {grid-column:3;grid-row:1;margin:0;text-align:right}
 body.cash-nightshift-r2 #pageMount .ns-task-row>.ns-status {grid-column:4;grid-row:1}
 body.cash-nightshift-r2 #pageMount .ns-task-chevron {grid-column:5;grid-row:1}
}
@media (max-width:820px) {
 body.cash-nightshift-r2 {--ns-header-height:60px;--ns-footer-height:30px;--ns-rail-width:58px;--ns-nav-width:236px}
 body.cash-nightshift-r2 #app>.global-header {grid-template-columns:145px minmax(120px,1fr) auto!important;padding:0 10px!important;gap:10px!important}
 body.cash-nightshift-r2 #app .global-header>.brand-lockup {gap:8px!important;border:0;padding:0;height:36px}
 body.cash-nightshift-r2 #app .global-header>.brand-lockup>div:has(>b) {display:block!important}
 body.cash-nightshift-r2 #app .brand-lockup .logo-mark {width:30px!important;height:30px!important;border-radius:8px!important}
 body.cash-nightshift-r2 #app .brand-lockup .logo-mark svg {width:24px!important;height:24px!important}
 body.cash-nightshift-r2 #app .brand-lockup b {font-size:16px!important}
 body.cash-nightshift-r2 #app .brand-lockup small {font-size:7px!important;letter-spacing:.15em!important}
 body.cash-nightshift-r2 #app #mobileNavToggle {display:inline-flex!important;align-items:center;justify-content:center;width:24px;height:32px;min-width:24px;padding:0;border:0;background:transparent!important;color:var(--ns-ink)!important;font-size:17px!important;flex:none}
 body.cash-nightshift-r2 #app #globalSearch {height:34px!important;min-height:34px!important;padding:0 10px!important}
 body.cash-nightshift-r2 #app #globalSearch b {font-size:11px!important}
 body.cash-nightshift-r2 #app #globalSearch kbd {display:none!important}
 body.cash-nightshift-r2 #nsHeaderActions {gap:6px}
 body.cash-nightshift-r2 #app #nsHeaderActions>button {min-width:32px!important;height:34px!important;min-height:34px!important;padding:0 8px!important}
 body.cash-nightshift-r2 #app #nsHeaderActions #presenceButton {min-width:0!important;width:32px!important;padding:0!important}
 body.cash-nightshift-r2 #app #nsHeaderActions #presenceText {position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
 body.cash-nightshift-r2 #app #nsHeaderActions #profileButton {max-width:32px!important}
 body.cash-nightshift-r2 #app #nsHeaderActions #profileName {display:none!important}
 body.cash-nightshift-r2 #app #nsHeaderActions [data-action=openQuickAttendance] {width:32px!important;padding:0!important}
 body.cash-nightshift-r2 #app #nsHeaderActions [data-action=openQuickAttendance]>span:not(.action-icon) {display:none!important}
 body.cash-nightshift-r2 #app>.workspace,body.cash-nightshift-r2.ns-nav-collapsed #app>.workspace {grid-template-columns:var(--ns-rail-width) minmax(0,1fr) auto!important}
 body.cash-nightshift-r2 #app #nsRail {padding:12px 5px;gap:6px}
 body.cash-nightshift-r2 #app #nsRail .ns-rail-button {height:44px!important;min-height:44px!important;flex-basis:44px;border-left-width:2px!important}
 body.cash-nightshift-r2 #app #nsRail .ns-rail-button .ico,body.cash-nightshift-r2 #app #nsRail .ns-rail-button svg {height:21px!important;width:21px!important}
 body.cash-nightshift-r2 #app #nsSidebar,body.cash-nightshift-r2.ns-nav-collapsed #app #nsSidebar {position:fixed!important;top:var(--ns-header-height)!important;bottom:var(--ns-footer-height)!important;left:var(--ns-rail-width)!important;height:auto!important;width:var(--ns-nav-width)!important;max-width:calc(100vw - var(--ns-rail-width) - 24px)!important;transform:translateX(calc(-100% - var(--ns-rail-width)))!important;visibility:hidden!important;pointer-events:none;border-right:1px solid var(--ns-line)!important;z-index:55;transition:transform .18s ease,visibility .18s}
 body.cash-nightshift-r2 #app #nsSidebar.open,body.cash-nightshift-r2.nav-open #app #nsSidebar,body.cash-nightshift-r2 #app.nav-open #nsSidebar,body.cash-nightshift-r2.ns-nav-open #app #nsSidebar {transform:none!important;visibility:visible!important;pointer-events:auto;box-shadow:var(--ns-shadow)!important}
 body.cash-nightshift-r2 #app>.workspace>.main {grid-column:2!important}
 body.cash-nightshift-r2 #app #inspector {grid-column:3;position:fixed!important;top:var(--ns-header-height)!important;bottom:var(--ns-footer-height)!important;right:0!important;height:auto!important;max-height:none!important;z-index:80;max-width:calc(100vw - 24px)!important}
 body.cash-nightshift-r2 #app #pageMount {padding:20px 18px 28px!important}
 body.cash-nightshift-r2 #nsFooter {padding:0 16px;gap:12px;font-size:9px}
 body.cash-nightshift-r2 #pageMount .ns-desk-head {padding-bottom:16px;margin-bottom:16px}
 body.cash-nightshift-r2 #app #pageMount .ns-desk-head h1 {font-size:30px!important}
 body.cash-nightshift-r2 #pageMount .ns-desk-head p {font-size:12px!important}
 body.cash-nightshift-r2 #pageMount .ns-task-time {font-size:10px}
 body.cash-nightshift-r2 #app #quickDock {display:none!important}
 body.cash-nightshift-r2 #overlay {padding:14px!important}
 body.cash-nightshift-r2 #overlay #overlayCard {width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px)!important;max-height:calc(100dvh - 28px)!important;padding:20px 18px!important;border-radius:12px!important}
 body.cash-nightshift-r2 #overlay #overlayCard>.section-head h3 {font-size:20px!important}
 body.cash-nightshift-r2 #overlay #overlayCard .handoff-two-col {grid-template-columns:minmax(0,1fr)!important}
 body.cash-nightshift-r2 #overlay #overlayCard .handoff-right-col {border-left:0!important;border-top:1px solid var(--ns-line)!important;padding:18px 0 0!important}
}
@media (max-width:560px) {
 body.cash-nightshift-r2 {--ns-rail-width:48px}
 body.cash-nightshift-r2 #app>.global-header {grid-template-columns:104px minmax(40px,1fr) auto!important;gap:6px!important;padding:0 7px!important}
 body.cash-nightshift-r2 #app .global-header>.brand-lockup {gap:6px!important}
 body.cash-nightshift-r2 #app .brand-lockup .logo-mark {display:none!important}
 body.cash-nightshift-r2 #app .brand-lockup b {font-size:17px!important}
 body.cash-nightshift-r2 #app .brand-lockup small {font-size:6px!important}
 body.cash-nightshift-r2 #app #globalSearch {justify-content:center!important;padding:0 8px!important;min-width:0!important}
 body.cash-nightshift-r2 #app #globalSearch b {display:none!important}
 body.cash-nightshift-r2 #nsHeaderActions {gap:3px}
 body.cash-nightshift-r2 #app #nsHeaderActions>button {height:32px!important;min-height:32px!important;min-width:29px!important}
 body.cash-nightshift-r2 #app #nsHeaderActions #profileButton,body.cash-nightshift-r2 #app #nsHeaderActions #profileAvatar {width:28px!important;height:28px!important;min-width:28px!important;flex-basis:28px!important}
 body.cash-nightshift-r2 #app #nsHeaderActions :is(#themeToggle,[data-action=openQuickAttendance],#nsUtilityToggle,#presenceButton) {width:29px!important;min-width:29px!important}
 body.cash-nightshift-r2 #app #nsRail {padding:10px 3px;gap:5px}
 body.cash-nightshift-r2 #app #nsRail .ns-rail-button {height:40px!important;min-height:40px!important;flex-basis:40px}
 body.cash-nightshift-r2 #app #nsRail .ns-rail-button .ico,body.cash-nightshift-r2 #app #nsRail .ns-rail-button svg {height:19px!important;width:19px!important}
 body.cash-nightshift-r2 #app #pageMount {padding:18px 12px 24px!important}
 body.cash-nightshift-r2 #app #pageMount .ns-desk-head h1 {font-size:27px!important;margin-top:7px!important}
 body.cash-nightshift-r2 #pageMount .ns-desk-kicker {font-size:8px!important;letter-spacing:.08em!important}
 body.cash-nightshift-r2 #pageMount .ns-desk-head p {font-size:11px!important}
 body.cash-nightshift-r2 #pageMount .ns-desk-tabs {margin-bottom:12px}
 body.cash-nightshift-r2 #app #pageMount .ns-desk-tabs button {font-size:11px!important;padding:9px 8px!important;min-height:40px!important;gap:5px}
 body.cash-nightshift-r2 #pageMount .ns-desk-tabs button :is(b,small,.ns-tab-count) {font-size:10px;padding:1px 5px}
 body.cash-nightshift-r2 #pageMount .ns-desk-tools {gap:6px;margin-bottom:18px}
 body.cash-nightshift-r2 #pageMount .ns-desk-tools :is(input,.ns-search) {flex-basis:100%}
 body.cash-nightshift-r2 #pageMount .ns-desk-tools :is(button,select) {flex:1;padding:0 6px!important;font-size:10px!important;max-width:100%}
 body.cash-nightshift-r2 #pageMount .ns-group-heading {font-size:17px;gap:8px;padding:0;margin-bottom:10px}
 body.cash-nightshift-r2 #pageMount .ns-group-heading :is(small,span:not(.ico)) {font-size:13px}
 body.cash-nightshift-r2 #app #pageMount .ns-task-row {grid-template-columns:31px minmax(0,1fr) 12px!important;gap:4px 9px!important;padding:11px 10px!important;min-height:84px!important}
 body.cash-nightshift-r2 #pageMount .ns-task-avatar {grid-column:1;grid-row:1/3;width:31px;height:31px;font-size:12px}
 body.cash-nightshift-r2 #pageMount .ns-task-copy {grid-column:2;grid-row:1}
 body.cash-nightshift-r2 #pageMount .ns-task-title {font-size:14px;line-height:1.4}
 body.cash-nightshift-r2 #pageMount .ns-task-meta {font-size:11px;line-height:1.45}
 body.cash-nightshift-r2 #pageMount .ns-task-time {grid-column:2;grid-row:2;text-align:left;margin:2px 0 0;font-size:10px;padding-right:80px}
 body.cash-nightshift-r2 #pageMount .ns-task-row>.ns-status {grid-column:2;grid-row:2;justify-self:end;align-self:center;font-size:10px;min-height:21px;min-width:60px;max-width:82px;padding:1px 5px}
 body.cash-nightshift-r2 #pageMount .ns-task-chevron {grid-column:3;grid-row:1/3}
 body.cash-nightshift-r2 #pageMount .ns-task-group {margin-bottom:24px}
 body.cash-nightshift-r2 #pageMount .ns-desk-detail {padding:16px;border-radius:10px}
 body.cash-nightshift-r2 #app #pageMount .ns-detail-title {font-size:23px!important}
 body.cash-nightshift-r2 #pageMount .ns-detail-owner {font-size:11px}
 body.cash-nightshift-r2 #pageMount .ns-detail-section h3 {font-size:15px}
 body.cash-nightshift-r2 #pageMount .ns-detail-description,body.cash-nightshift-r2 #pageMount .ns-detail-section p {font-size:13px}
 body.cash-nightshift-r2 #pageMount .ns-detail-fields {gap:9px 12px}
 body.cash-nightshift-r2 #pageMount .ns-detail-fields dd {font-size:11px}
 body.cash-nightshift-r2 #pageMount .ns-detail-footer button {font-size:12px!important}
 body.cash-nightshift-r2 #nsFooter>span:last-child {max-width:48%;font-size:8px}
 body.cash-nightshift-r2 #app #pageMount .page-head .page-title h1 {font-size:22px!important}
 body.cash-nightshift-r2 #app #pageMount .page-head .page-title p {font-size:11px!important}
 body.cash-nightshift-r2 #app #pageMount .page-actions {flex-wrap:wrap}
 body.cash-nightshift-r2 #overlay #overlayCard {padding:17px 14px!important}
}
@media (pointer:coarse) {body.cash-nightshift-r2 #sideNav :is(.ns-nav-link,.ns-nav-folder-head) {min-height:40px!important}body.cash-nightshift-r2 #app #nsHeaderActions>button {touch-action:manipulation}}
@media (prefers-reduced-motion:reduce) {body.cash-nightshift-r2 *,body.cash-nightshift-r2 *::before,body.cash-nightshift-r2 *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Application visibility and permission state wins over every visual display rule. */
body.cash-nightshift-r2 :is(#app,#auth,#passwordGate,#command,#overlay,#inspector,#quickDock):is(.hidden,[hidden]),
body.cash-nightshift-r2 #app :is(.hidden.hidden,[hidden][hidden]),
body.cash-nightshift-r2 #app #nsHeaderActions :is(.hidden.hidden,[hidden][hidden]),
body.cash-nightshift-r2 #app #nsUtilityMenu :is(.hidden.hidden,[hidden][hidden]),
body.cash-nightshift-r2 #app #nsUtilityMenu[hidden],
body.cash-nightshift-r2 #overlay #overlayCard :is(.hidden.hidden,[hidden][hidden]),
body.cash-nightshift-r2 #command :is(.hidden.hidden,[hidden][hidden]),
body.cash-nightshift-r2 #app .cash-write-denied.cash-write-denied,
body.cash-nightshift-r2 #overlay #overlayCard .cash-write-denied.cash-write-denied,
body.cash-nightshift-r2 #app #nsUtilityMenu .ns-action-unavailable.ns-action-unavailable,
body.cash-nightshift-r2 #app #nsHeaderActions .ns-action-unavailable.ns-action-unavailable,
body.cash-nightshift-r2 #app #quickDock .ns-action-unavailable.ns-action-unavailable,
body.cash-nightshift-r2 #app #pageMount .ns-action-unavailable.ns-action-unavailable {display:none!important}

body.cash-nightshift-r2 .session-watermark {opacity:.028!important}
body.cash-nightshift-r2.dark-mode .session-watermark {opacity:.018!important}
@media print {body.cash-nightshift-r2 .session-watermark,body.cash-nightshift-r2.dark-mode .session-watermark {opacity:.13!important;color:#000!important}}

/* R3: compact editorial workspace. Hierarchy comes from alignment and type,
   with one surface per workflow, rather than a separate card per value. */
body.cash-nightshift-r3 {
  --ns-rail-width:56px;--ns-nav-width:204px;--ns-header-height:52px;--ns-footer-height:24px;
  font-size:13px!important;line-height:1.45;
}
body.cash-nightshift-r3.dark-mode {
  --ns-bg:#101c1e;--ns-surface:#162426;--ns-raised:#1b2e30;--ns-nav:#132124;--ns-rail:#0d191b;
  --ns-line:#36484a;--ns-soft:#283b3d;--ns-ink:#ecefe9;--ns-muted:#b4c4c2;--ns-faint:#91a9a6;
  --ns-active:#193e34;--ns-hover:#213538;--ns-accent:#67d7ad;--ns-accent-strong:#127552;
}
body.cash-nightshift-r3 #app>.global-header {grid-template-columns:142px minmax(110px,215px) minmax(210px,1fr) auto!important;padding:0 14px!important;gap:14px!important}
body.cash-nightshift-r3 #app .global-header>.brand-lockup {gap:9px!important;height:32px;padding-right:12px}
body.cash-nightshift-r3 #app .brand-lockup .logo-mark {width:32px!important;height:32px!important;border-radius:8px!important}
body.cash-nightshift-r3 #app .brand-lockup .logo-mark svg {width:27px!important;height:27px!important}
body.cash-nightshift-r3 #app .brand-lockup b {font-size:18px!important}
body.cash-nightshift-r3 #app .brand-lockup small {font-size:8px!important}
body.cash-nightshift-r3 #nsBrandTitle {font-size:12px!important;gap:8px}
body.cash-nightshift-r3 #nsBrandTitle .ns-preview-badge {font-size:9px;max-width:123px;padding:2px 6px}
body.cash-nightshift-r3 #app .global-header>#globalSearch {height:32px!important;min-height:32px!important;border-radius:5px!important}
body.cash-nightshift-r3 #app #nsHeaderActions>button {height:32px!important;min-height:32px!important;min-width:32px!important;border-radius:5px!important;padding:0 9px!important}
body.cash-nightshift-r3 #nsHeaderActions {gap:7px}
body.cash-nightshift-r3 #nsRail {padding:12px 5px;gap:8px}
body.cash-nightshift-r3 #nsRail .ns-rail-main {gap:7px}
body.cash-nightshift-r3 #app #nsRail .ns-rail-button {height:40px!important;min-height:40px!important;flex-basis:40px;border-radius:4px!important}
body.cash-nightshift-r3 #nsRail .ns-rail-button svg {width:20px!important;height:20px!important}
body.cash-nightshift-r3 #nsWorkspaceIdentity {padding:12px 12px 0;font-size:11px}
body.cash-nightshift-r3 #app #nsSidebar #domainBar {margin:0 12px 8px!important;padding:9px 0 10px!important;gap:8px!important}
body.cash-nightshift-r3 #app #nsSidebar #domainBar .context-switchers {gap:8px!important}
body.cash-nightshift-r3 #app #nsSidebar #domainBar .context-switchers label {gap:4px!important}
body.cash-nightshift-r3 #app #nsSidebar #domainBar select {height:30px!important;min-height:30px!important;font-size:11px!important;border-radius:4px!important}
body.cash-nightshift-r3 #nsAdminSiteContext {margin:0 12px 10px;padding-bottom:10px}
body.cash-nightshift-r3 #app #sideNav .ns-nav-link {font-size:12px!important;min-height:30px!important;padding:5px 8px!important;gap:8px}
body.cash-nightshift-r3 #app #sideNav .ns-nav-home {font-size:13px!important;min-height:34px!important;margin-bottom:4px}
body.cash-nightshift-r3 #sideNav .ns-nav-folder-head {font-size:12px!important;min-height:30px!important;padding:5px 8px!important;gap:8px}
body.cash-nightshift-r3 #sideNav .ns-nav-heading {margin:11px 8px 4px!important;font-size:9px!important;letter-spacing:.1em}
body.cash-nightshift-r3 #app #sideNav .ns-nav-links .ns-nav-link {font-size:11px!important;min-height:28px!important;padding:4px 7px!important}
body.cash-nightshift-r3 #nsFooter {min-height:24px;padding:0 16px;font-size:10px}
body.cash-nightshift-r3 #app #pageMount {padding:18px 20px 24px!important;font-size:13px!important}
body.cash-nightshift-r3 #app #pageMount .page-head {margin:0 0 12px!important;padding:0 0 12px!important;min-height:0!important;gap:12px!important;align-items:center!important}
body.cash-nightshift-r3 #app #pageMount .page-title h1 {font-size:23px!important;line-height:1.2!important;letter-spacing:-.025em!important;margin:2px 0 0!important}
body.cash-nightshift-r3 #app #pageMount .page-title p {font-size:12px!important;line-height:1.4!important;margin:5px 0 0!important}
body.cash-nightshift-r3 #app #pageMount .page-kicker {font-size:9px!important;letter-spacing:.12em!important}
body.cash-nightshift-r3 #app #pageMount .page-title-icon {width:24px!important;height:24px!important}
body.cash-nightshift-r3 #app #pageMount .page-back {width:28px!important;height:28px!important;min-height:28px!important}
body.cash-nightshift-r3 #app #pageMount :is(.btn,.mini) {min-height:30px!important;padding:5px 10px!important;font-size:12px!important;border-radius:4px!important;line-height:1.4!important}
body.cash-nightshift-r3 #app #pageMount :is(input:not([type=checkbox]):not([type=radio]),select) {min-height:32px!important;height:32px!important;font-size:12px!important;border-radius:4px!important}
body.cash-nightshift-r3 #app #pageMount .command-bar {padding:0 0 10px!important;margin:10px 0 0!important;gap:7px!important}
body.cash-nightshift-r3 #app #pageMount .section {margin-top:12px!important;border-radius:0!important;box-shadow:none!important}
body.cash-nightshift-r3 #app #pageMount .section-head {min-height:0!important;padding:10px 0!important;gap:8px!important}
body.cash-nightshift-r3 #app #pageMount .section-head h3 {font-size:13px!important;font-weight:600!important}
body.cash-nightshift-r3 #app #pageMount .section-head small {font-size:11px!important}
body.cash-nightshift-r3 #app #pageMount .data-table th {padding:9px 11px!important;font-size:10px!important;letter-spacing:.045em!important;background:var(--ns-surface)!important}
body.cash-nightshift-r3 #app #pageMount .data-table td {padding:10px 11px!important;font-size:12px!important;line-height:1.4!important}
body.cash-nightshift-r3 #app #pageMount .data-table tbody tr:nth-child(even) {background:color-mix(in srgb,var(--ns-surface) 55%,transparent)!important}
body.cash-nightshift-r3 #app #pageMount .data-table tbody tr:hover {background:var(--ns-hover)!important}
body.cash-nightshift-r3 #app #pageMount .data-table .subline {font-size:11px!important;margin-top:2px!important}
body.cash-nightshift-r3 #app #pageMount .metric-strip {display:flex!important;flex-wrap:wrap!important;gap:0!important;border-bottom:1px solid var(--ns-line)!important;margin:0!important;padding:0 0 10px!important}
body.cash-nightshift-r3 #app #pageMount .metric {display:flex!important;align-items:baseline!important;flex-direction:row!important;gap:8px!important;min-height:0!important;min-width:0!important;padding:4px 20px 4px 0!important;margin-right:20px!important;border:0!important;background:transparent!important;border-radius:0!important}
body.cash-nightshift-r3 #app #pageMount .metric b {font-size:20px!important;line-height:1.2!important;font-variant-numeric:tabular-nums}
body.cash-nightshift-r3 #app #pageMount .metric label {font-size:12px!important}
body.cash-nightshift-r3 #app #pageMount .metric small {font-size:10px!important;color:var(--ns-faint)!important}
/* Members: title/actions -> source tabs -> compact context -> filters -> rows. */
body.cash-nightshift-r3 #app #pageMount.ns-member-directory .mrw-import-topbar {display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin:0!important;padding:0!important;border:0!important}
body.cash-nightshift-r3 #app #pageMount.ns-member-directory .uy-tabs {margin:0!important;gap:18px!important;width:100%;border-bottom:1px solid var(--ns-line)!important}
body.cash-nightshift-r3 #app #pageMount.ns-member-directory .uy-tabs button {font-size:12px!important;min-height:36px!important;padding:7px 0!important;border-radius:0!important}
body.cash-nightshift-r3 .ns-member-status {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--ns-soft)}
body.cash-nightshift-r3 #app #pageMount .ns-member-status .uy-stat-grid {display:flex!important;flex-wrap:wrap!important;gap:14px!important;margin:0!important;border:0!important}
body.cash-nightshift-r3 #app #pageMount .ns-member-status .uy-stat {display:flex!important;align-items:baseline!important;gap:7px!important;padding:2px 0!important;min-height:28px!important;border:0!important;background:transparent!important;border-radius:0!important}
body.cash-nightshift-r3 #app #pageMount .ns-member-status .uy-stat strong {font-size:18px!important;line-height:1.2!important;font-variant-numeric:tabular-nums}
body.cash-nightshift-r3 #app #pageMount .ns-member-status .uy-stat span {font-size:12px!important;font-weight:450!important}
body.cash-nightshift-r3 #app #pageMount .ns-member-status .mrw-online-card {display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;padding:0!important;min-height:0!important;flex:0 1 auto;background:transparent!important;border:0!important;box-shadow:none!important}
body.cash-nightshift-r3 #app #pageMount .ns-member-status .mrw-online-caption {display:flex!important;flex-direction:column;gap:0}
body.cash-nightshift-r3 #app #pageMount .ns-member-status .mrw-online-caption strong {font-size:11px!important;font-weight:500!important}
body.cash-nightshift-r3 #app #pageMount .ns-member-status .mrw-online-caption small {font-size:9px!important}
body.cash-nightshift-r3 #app #pageMount .ns-member-status .mrw-online-count {font-size:20px!important;line-height:1!important;margin:0!important}
body.cash-nightshift-r3 #app #pageMount .ns-member-status .mrw-online-updated {font-size:9px!important;max-width:100px!important}
body.cash-nightshift-r3 #app #pageMount.ns-member-directory .section {margin-top:0!important}
body.cash-nightshift-r3 #app #pageMount.ns-member-directory .section-head {display:flex!important;align-items:center!important;padding:8px 0!important}
body.cash-nightshift-r3 #app #pageMount.ns-member-directory .section-head>div {display:flex!important;align-items:baseline!important;gap:12px!important}
body.cash-nightshift-r3 #app #pageMount.ns-member-directory .uy-slim-row {min-height:52px!important;padding:8px 10px!important;border-radius:0!important;gap:14px!important}
body.cash-nightshift-r3 #app #pageMount.ns-member-directory .uy-slim-row:nth-child(even) {background:var(--ns-surface)!important}
body.cash-nightshift-r3 #app #pageMount.ns-member-directory .uy-slim-cell>small {font-size:9px!important;letter-spacing:.04em!important;margin-bottom:3px!important}
body.cash-nightshift-r3 #app #pageMount.ns-member-directory .uy-source-note {margin:12px 0 0!important;padding:0!important;border:0!important;background:transparent!important;font-size:11px!important;line-height:1.4!important;color:var(--ns-faint)!important}
body.cash-nightshift-r3 .ns-page-context {margin-top:18px;border-top:1px solid var(--ns-soft);padding-top:8px;color:var(--ns-faint);font-size:11px}
body.cash-nightshift-r3 .ns-page-context>summary {cursor:pointer;min-height:30px;padding:5px 0;width:fit-content}
body.cash-nightshift-r3 .ns-page-context .site-scope-strip {margin-top:6px!important}
/* Personnel defaults to its preserved table view. Cards remain selectable. */
body.cash-nightshift-r3 #app #pageMount.ns-staff-directory .data-wrap:not(.ux-card-grid) {border:1px solid var(--ns-soft)!important;border-radius:5px!important}
body.cash-nightshift-r3 #app #pageMount.ns-staff-directory .data-table tbody tr {min-height:48px}
body.cash-nightshift-r3 #app #pageMount.ns-staff-directory .status {font-size:10px!important;padding:2px 6px!important;border-radius:3px!important}
/* Member profile: source identity beside operational activity. */
body.cash-nightshift-r3 #app #pageMount .mrw-member-hero {padding:0 0 12px!important;margin:0!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--ns-line)!important;box-shadow:none!important;border-radius:0!important}
body.cash-nightshift-r3 #app #pageMount .mrw-member-hero-heading {padding:0!important;margin:0 0 12px!important}
body.cash-nightshift-r3 #app #pageMount .mrw-member-hero h1 {font-size:21px!important;line-height:1.2!important}
body.cash-nightshift-r3 #app #pageMount .mrw-member-hero-main {gap:12px!important;padding:0!important}
body.cash-nightshift-r3 #app #pageMount .member-avatar {width:38px!important;height:38px!important;min-width:38px!important;font-size:14px!important;border-radius:7px!important}
body.cash-nightshift-r3 #app #pageMount .mrw-member-person-label b {font-size:18px!important}
body.cash-nightshift-r3 #app #pageMount .mrw-member-facts {gap:12px!important;font-size:11px!important}
body.cash-nightshift-r3 #app #pageMount .mrw-member-facts>span {padding:0!important;background:transparent!important;border:0!important}
body.cash-nightshift-r3 #app #pageMount .mrw-member-quick-actions {gap:6px!important;margin:0!important}
body.cash-nightshift-r3 #app #pageMount .mrw-member-security {margin:10px 0 0!important;padding:0!important;background:transparent!important;border:0!important}
body.cash-nightshift-r3 #app #pageMount .mrw-member-security>summary {font-size:11px!important;padding:4px 0!important}
body.cash-nightshift-r3 #app #pageMount .detail-tabs {gap:14px!important;margin:0 0 14px!important;padding:0!important;border-bottom:1px solid var(--ns-line)!important;overflow-x:auto!important;flex-wrap:nowrap!important}
body.cash-nightshift-r3 #app #pageMount .detail-tabs>button {font-size:12px!important;padding:10px 0!important;white-space:nowrap!important;flex-shrink:0!important;min-height:36px!important}
body.cash-nightshift-r3 .ns-profile-columns {display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,2fr);gap:24px;align-items:start}
body.cash-nightshift-r3 .ns-profile-identity {min-width:0;border-right:1px solid var(--ns-line);padding-right:20px}
body.cash-nightshift-r3 #app #pageMount .ns-profile-identity .section {margin:0 0 16px!important;border:0!important}
body.cash-nightshift-r3 #app #pageMount .ns-profile-identity .mrw-profile-fields {display:grid!important;grid-template-columns:1fr!important;gap:0!important;padding:0!important}
body.cash-nightshift-r3 #app #pageMount .ns-profile-identity .mrw-profile-field {display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;gap:8px!important;padding:8px 0!important;border:0!important;border-bottom:1px solid var(--ns-soft)!important;background:transparent!important;min-height:0!important;border-radius:0!important}
body.cash-nightshift-r3 #app #pageMount .ns-profile-identity .mrw-profile-field small {font-size:11px!important;color:var(--ns-muted)!important}
body.cash-nightshift-r3 #app #pageMount .ns-profile-identity .mrw-profile-field b {font-size:12px!important;font-weight:500!important;overflow-wrap:anywhere}
body.cash-nightshift-r3 #app #pageMount .mrw-profile-muted {font-size:11px!important;padding:8px 0!important;color:var(--ns-faint)!important}
body.cash-nightshift-r3 .ns-profile-technical {font-size:11px;border-top:1px solid var(--ns-soft);padding-top:9px}
body.cash-nightshift-r3 .ns-profile-technical>summary {cursor:pointer;min-height:32px;line-height:1.5}
body.cash-nightshift-r3 #app #pageMount .ns-profile-technical .record-grid {display:block!important}
body.cash-nightshift-r3 #app #pageMount .ns-profile-technical .kv {padding:8px 0!important;border:0!important}
body.cash-nightshift-r3 #app #pageMount .mrw-v3-overview {min-width:0;gap:12px!important}
body.cash-nightshift-r3 #app #pageMount .mrw-v3-intro {padding:9px 0!important;margin:0!important;border-bottom:1px solid var(--ns-line)!important}
body.cash-nightshift-r3 #app #pageMount .mrw-v3-intro b {font-size:13px!important}
body.cash-nightshift-r3 #app #pageMount .mrw-v3-finance {margin:12px 0!important;border:0!important;border-radius:0!important;background:transparent!important;padding:0!important}
body.cash-nightshift-r3 #app #pageMount .mrw-v3-finance-heading {padding:0 0 10px!important;gap:4px!important}
body.cash-nightshift-r3 #app #pageMount .mrw-v3-finance-heading b {font-size:13px!important}
body.cash-nightshift-r3 #app #pageMount .mrw-v3-finance-heading small {font-size:10px!important}
body.cash-nightshift-r3 #app #pageMount .mrw-v3-stats {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;border-top:1px solid var(--ns-line)!important}
body.cash-nightshift-r3 #app #pageMount .mrw-v3-stat {padding:12px 12px 12px 0!important;min-height:0!important;border:0!important;border-bottom:1px solid var(--ns-soft)!important;background:transparent!important;border-radius:0!important}
body.cash-nightshift-r3 #app #pageMount .mrw-v3-stat b {font-size:18px!important;line-height:1.3!important;margin:5px 0!important;font-variant-numeric:tabular-nums}
body.cash-nightshift-r3 #app #pageMount .mrw-v3-stat small {font-size:11px!important}
body.cash-nightshift-r3 #app #pageMount .mrw-v3-stat span {font-size:10px!important}
body.cash-nightshift-r3 #app #pageMount .mrw-v3-recent {gap:20px!important}
body.cash-nightshift-r3 #app #pageMount .empty-state {min-height:0!important;padding:18px 8px!important;font-size:12px!important}
/* Overview: related metrics share a ledger, every metric and graph is retained. */
body.cash-nightshift-r3 #app #pageMount .mrw-ov-head {padding:0 0 15px!important;border:0!important;border-bottom:1px solid var(--ns-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important}
body.cash-nightshift-r3 #app #pageMount .mrw-ov-head::after,body.cash-nightshift-r3 #app #pageMount .mrw-ov-head::before {content:none!important}
body.cash-nightshift-r3 #app #pageMount .mrw-ov-head h2 {font-size:26px!important;margin:5px 0!important;line-height:1.2!important;letter-spacing:-.025em!important}
body.cash-nightshift-r3 #app #pageMount .mrw-ov-head p {font-size:12px!important;margin:0!important}
body.cash-nightshift-r3 #app #pageMount .mrw-ov-eyebrow {font-size:9px!important;letter-spacing:.14em!important}
body.cash-nightshift-r3 #app #pageMount .mrw-ov-actions button {font-size:11px!important;min-height:31px!important;padding:5px 10px!important;border-radius:4px!important}
body.cash-nightshift-r3 #app #pageMount .mrw-ov-asof {font-size:10px!important;margin:9px 0 14px!important}
body.cash-nightshift-r3 #app #pageMount .mrw-ov-sectionline {margin:0 0 8px!important}
body.cash-nightshift-r3 #app #pageMount .mrw-ov-sectionline h3 {font-size:13px!important}
body.cash-nightshift-r3 #app #pageMount .ns-overview-ledger {display:grid!important;grid-template-columns:1fr 1fr!important;gap:20px 28px!important;margin-bottom:24px!important}
body.cash-nightshift-r3 .ns-metric-group {min-width:0;border-top:2px solid var(--ns-line);padding-top:10px}
body.cash-nightshift-r3 .ns-metric-group:first-child {border-top-color:var(--ns-accent)}
body.cash-nightshift-r3 .ns-metric-group h3 {font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--ns-muted);margin:0 0 8px}
body.cash-nightshift-r3 #app #pageMount .ns-metric-group .mrw-ov-metric {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:baseline!important;gap:2px 12px!important;padding:8px 0!important;min-height:0!important;border:0!important;border-bottom:1px solid var(--ns-soft)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.cash-nightshift-r3 #app #pageMount .ns-metric-group .mrw-ov-metric::after {content:none!important}
body.cash-nightshift-r3 #app #pageMount .ns-metric-group .mrw-ov-metric small {font-size:12px!important;margin:0!important}
body.cash-nightshift-r3 #app #pageMount .ns-metric-group .mrw-ov-metric strong {font-size:22px!important;line-height:1.3!important;letter-spacing:-.02em!important;grid-row:1/3;grid-column:2;color:var(--ns-ink)!important;font-variant-numeric:tabular-nums;margin:0!important}
body.cash-nightshift-r3 #app #pageMount .ns-metric-group .mrw-ov-sub {font-size:10px!important;margin:0!important;grid-column:1;color:var(--ns-faint)!important}
body.cash-nightshift-r3 #app #pageMount .mrw-ov-marker {display:none!important}
/* Workdesk scale: keep the selected task's content, reduce surrounding chrome. */
body.cash-nightshift-r3 #app #pageMount .ns-desk-heading h1 {font-size:29px!important;line-height:1.2!important}
body.cash-nightshift-r3 #app #pageMount .ns-desk-heading {padding-bottom:14px!important;margin-bottom:14px!important}
body.cash-nightshift-r3 #app #pageMount .ns-desk-layout {gap:20px!important}
body.cash-nightshift-r3 #app #pageMount .ns-task-row {min-height:58px!important;padding:10px 12px!important;border-radius:4px!important}
body.cash-nightshift-r3 #app #pageMount .ns-task-avatar {width:32px!important;height:32px!important;min-width:32px!important;font-size:12px!important}
body.cash-nightshift-r3 #app #pageMount .ns-task-title {font-size:14px!important}
body.cash-nightshift-r3 #app #pageMount .ns-desk-tabs>button {font-size:13px!important;min-height:36px!important;padding:7px 12px!important}
body.cash-nightshift-r3 #app #pageMount .ns-desk-detail {padding:18px!important;border-radius:6px!important}
body.cash-nightshift-r3 #app #pageMount .ns-desk-detail h2 {font-size:24px!important;line-height:1.25!important}
/* Dialogs: readable forms and compact communication surface, no loss of fields. */
body.cash-nightshift-r3 #overlayCard {border-radius:7px!important;max-height:calc(100dvh - 40px)!important;font-size:13px!important}
body.cash-nightshift-r3 #overlayCard .section-head {padding:10px 0!important;min-height:0!important}
body.cash-nightshift-r3 #overlayCard .section-head h3 {font-size:16px!important;line-height:1.4!important}
body.cash-nightshift-r3 #overlayCard :is(.btn,.mini) {min-height:32px!important;border-radius:4px!important;font-size:12px!important;padding:5px 10px!important}
body.cash-nightshift-r3 #overlayCard :is(input:not([type=checkbox]):not([type=radio]),select) {min-height:34px!important;height:34px!important;font-size:12px!important;border-radius:4px!important}
body.cash-nightshift-r3 #overlayCard .form-grid {gap:12px 16px!important}
body.cash-nightshift-r3 #overlayCard .form-actions {position:sticky;bottom:-1px;z-index:2;background:var(--ns-surface)!important;border-top:1px solid var(--ns-line)!important;padding:12px 0!important;margin-top:6px!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog {width:1040px!important;max-width:calc(100vw - 40px)!important;padding:14px 20px!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .wide-modal-shell {min-width:0!important;max-width:none!important;width:100%!important;padding:0!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .handoff-two-col {display:grid!important;grid-template-columns:minmax(280px,1fr) minmax(0,1.25fr)!important;gap:24px!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .handoff-left-col {gap:12px!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .handoff-right-col {gap:10px!important;min-width:0!important;border-left:1px solid var(--ns-line);padding-left:20px}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .quick-status-bar {padding:0 0 12px!important;border:0!important;border-bottom:1px solid var(--ns-line)!important;background:transparent!important;border-radius:0!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .quick-status-bar>div:last-child {gap:6px!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .handoff-description-card {padding:0!important;border:0!important;background:transparent!important;border-radius:0!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .desc-body {padding:0!important;background:transparent!important;border:0!important;line-height:1.6!important;font-size:12px!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .section {margin:0!important;border:0!important;border-top:1px solid var(--ns-line)!important;border-radius:0!important;background:transparent!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .section-head {padding:8px 0!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .section-head h3 {font-size:12px!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .section>div:not(.section-head) {border:0!important;border-radius:0!important;background:transparent!important;padding:6px 0!important;font-size:12px!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .disconnected {text-align:left!important;min-height:0!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .disconnected h3 {font-size:12px!important;margin:0 0 3px!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .disconnected p {font-size:11px!important;margin:0!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog #handoffChatLog {min-height:170px!important;max-height:320px!important;padding:4px 0!important;border:0!important;background:transparent!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .handoff-right-col>div:first-child {display:flex!important;align-items:flex-start!important;flex-direction:column!important;gap:8px!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .handoff-composer {padding:10px 0 0!important;border:0!important;border-top:1px solid var(--ns-line)!important;background:transparent!important;margin:0!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .composer-top-row {flex-wrap:wrap!important;gap:6px!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog .composer-hint {font-size:10px!important}
body.cash-nightshift-r3 #overlayCard.ns-task-dialog textarea {font-size:12px!important;min-height:76px!important;height:76px!important;border-radius:4px!important}
@media(min-width:1001px){body.cash-nightshift-r3 #app #pageMount.ns-staff-directory .data-wrap.ux-card-grid tbody {grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1200px){
  body.cash-nightshift-r3 #app>.global-header {grid-template-columns:142px minmax(180px,1fr) auto!important}
  body.cash-nightshift-r3 #nsBrandTitle {display:none!important}
  body.cash-nightshift-r3 #app .global-header>#globalSearch {grid-column:2!important}
  body.cash-nightshift-r3 #nsHeaderActions {grid-column:3!important}
  body.cash-nightshift-r3 .ns-profile-columns {grid-template-columns:minmax(210px,.8fr) minmax(0,1.4fr);gap:16px}
  body.cash-nightshift-r3 #app #pageMount .mrw-v3-recent {grid-template-columns:1fr!important}
}
@media(max-width:900px){
  body.cash-nightshift-r3 #app #pageMount {padding:14px!important}
  body.cash-nightshift-r3 .ns-profile-columns {grid-template-columns:1fr}
  body.cash-nightshift-r3 .ns-profile-identity {border-right:0;border-bottom:1px solid var(--ns-line);padding:0 0 12px}
  body.cash-nightshift-r3 #app #pageMount .ns-profile-identity .mrw-profile-fields {grid-template-columns:1fr 1fr!important;column-gap:20px!important}
}
@media(max-width:700px){
  body.cash-nightshift-r3 #app>.global-header {display:flex!important;padding:0 10px!important;gap:8px!important}
  body.cash-nightshift-r3 #app .global-header>.brand-lockup {width:auto!important;flex:0 0 auto!important}
  body.cash-nightshift-r3 #nsHeaderActions {margin-left:auto!important;gap:5px!important}
  body.cash-nightshift-r3 #app .global-header>#globalSearch {height:30px!important;min-height:30px!important;flex:0 0 30px!important;width:30px!important}
  body.cash-nightshift-r3 #app #pageMount .page-head {align-items:flex-start!important;flex-wrap:wrap!important}
  body.cash-nightshift-r3 #app #pageMount .page-actions {gap:6px!important}
  body.cash-nightshift-r3 #app #pageMount .page-title h1 {font-size:22px!important}
  body.cash-nightshift-r3 #app #pageMount.ns-member-directory .uy-tabs {gap:14px!important;flex-wrap:nowrap!important;overflow:auto!important}
  body.cash-nightshift-r3 #app #pageMount.ns-member-directory .uy-tabs button {white-space:nowrap!important;flex-shrink:0;font-size:11px!important}
  body.cash-nightshift-r3 .ns-member-status {gap:8px;padding:8px 0}
  body.cash-nightshift-r3 #app #pageMount .ns-member-status .uy-stat-grid {gap:12px!important}
  body.cash-nightshift-r3 #app #pageMount .ns-member-status .mrw-online-card {width:100%!important}
  body.cash-nightshift-r3 #app #pageMount .ns-member-status .mrw-online-caption {flex:1!important}
  body.cash-nightshift-r3 #app #pageMount .ns-profile-identity .mrw-profile-fields {grid-template-columns:1fr!important}
  body.cash-nightshift-r3 #app #pageMount .mrw-v3-stats {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.cash-nightshift-r3 #app #pageMount .ns-overview-ledger {grid-template-columns:1fr!important;gap:18px!important}
  body.cash-nightshift-r3 #app #pageMount .mrw-ov-head h2 {font-size:24px!important}
  body.cash-nightshift-r3 #overlayCard.ns-task-dialog {max-width:calc(100vw - 16px)!important;padding:12px 14px!important;max-height:calc(100dvh - 16px)!important}
  body.cash-nightshift-r3 #overlayCard.ns-task-dialog .handoff-two-col {grid-template-columns:1fr!important;gap:16px!important}
  body.cash-nightshift-r3 #overlayCard.ns-task-dialog .handoff-right-col {border-left:0;border-top:1px solid var(--ns-line);padding:12px 0 0}
  body.cash-nightshift-r3 #overlayCard.ns-task-dialog #handoffChatLog {min-height:100px!important;max-height:220px!important}
}
@media(prefers-reduced-motion:reduce){body.cash-nightshift-r3 * {scroll-behavior:auto!important}}
/* Final layout ownership: legacy page CSS also assigns grid positions. */
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-v3-overview {display:block!important}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-v3-overview>* {grid-column:auto!important;grid-row:auto!important;width:auto!important;min-width:0!important}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-v3-stat {display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:3px!important}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-v3-stat>* {position:static!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-v3-tags {padding:10px 0!important;border:0!important;background:transparent!important;border-radius:0!important}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-v3-tags>div {padding:0!important;border:0!important;background:transparent!important}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-profile-fields {background:transparent!important;border:0!important;border-radius:0!important}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-ov .ns-overview-ledger {background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;overflow:visible!important}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .metric-strip {background:transparent!important;border:0!important;border-bottom:1px solid var(--ns-line)!important;border-radius:0!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard.ns-task-dialog .wide-modal-shell .quick-status-bar {display:flex!important;flex-direction:column!important;padding:0 0 10px!important;border:0!important;border-bottom:1px solid var(--ns-line)!important;border-radius:0!important;background:transparent!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard.ns-task-dialog .wide-modal-shell .quick-status-bar>div {display:flex!important;flex-direction:row!important;gap:6px!important;flex-wrap:wrap!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard.ns-task-dialog .wide-modal-shell .handoff-left-col>.section>div:not(.section-head):not(.disconnected) {display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px 10px!important;padding:8px 0!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard.ns-task-dialog .wide-modal-shell #handoffChatLog {min-height:160px!important;max-height:240px!important;border:0!important;border-bottom:1px solid var(--ns-soft)!important;background:transparent!important;flex:1!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard.ns-task-dialog .wide-modal-shell .handoff-composer {grid-column:auto!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard.ns-task-dialog .wide-modal-shell .handoff-composer textarea {height:76px!important;min-height:76px!important}
body.cash-nightshift-r3 #app #pageMount .ns-desk-head {padding:0 0 14px!important;margin:0 0 14px!important;gap:16px!important}
body.cash-nightshift-r3 #app #pageMount .ns-desk-head h1 {font-size:29px!important;line-height:1.2!important;margin:5px 0!important;letter-spacing:-.025em!important}
body.cash-nightshift-r3 #app #pageMount .ns-desk-head p {font-size:12px!important;line-height:1.5!important;margin:0!important}
body.cash-nightshift-r3 #app #pageMount .ns-group-heading {font-size:16px!important;line-height:1.3!important;margin:15px 0 9px!important}
body.cash-nightshift-r3 #app #pageMount .ns-desk-eyebrow {font-size:9px!important}
body.cash-nightshift-r3 #app #pageMount .ns-desk-date {font-size:12px!important}
body.cash-nightshift-r3 #app #pageMount .ns-desk-detail .ns-detail-block {padding:12px 0!important;margin:0!important}

/* Review fixes: distinct security facts and a shorter mobile filter toolbar. */
body.cash-nightshift-r3 #app #pageMount .mrw-member-hero .uy-source-note {display:flex!important;flex-wrap:wrap!important;gap:7px 20px!important;align-items:baseline!important;font-size:11px!important;padding:9px 12px!important}
body.cash-nightshift-r3 #app #pageMount .mrw-member-hero .uy-source-note>span {display:inline-block!important;max-width:100%!important}
@media(max-width:700px){
 body.cash-nightshift-r3 #app #pageMount.ns-member-directory .command-bar {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:7px!important}
 body.cash-nightshift-r3 #app #pageMount.ns-member-directory .command-bar>* {width:100%!important;min-width:0!important}
 body.cash-nightshift-r3 #app #pageMount.ns-member-directory .command-bar>[data-input="uyMemberFilter"],
 body.cash-nightshift-r3 #app #pageMount.ns-member-directory .command-bar>[data-action="uyClearFilters"] {grid-column:1/-1!important}
 body.cash-nightshift-r3 #app #pageMount .ns-member-status .mrw-online-updated {max-width:90px!important;flex:0 0 90px!important}
}

/* R3.2: modal tables share the theme palette and compact ledger rhythm. */
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard :is(.data-wrap,.table-wrap,.table-container) {background:transparent!important;border-color:var(--ns-line)!important;box-shadow:none!important;border-radius:4px!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard .data-table {background:var(--ns-surface)!important;color:var(--ns-ink)!important;border-collapse:collapse!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard .data-table :is(tbody,tr,td) {background:transparent!important;color:var(--ns-ink)!important;box-shadow:none!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard .data-table td {padding:8px 10px!important;font-size:12px!important;line-height:1.45!important;border-bottom:1px solid var(--ns-soft)!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard .data-table th {background:var(--ns-surface)!important;color:var(--ns-muted)!important;border-bottom:1px solid var(--ns-line)!important;font-size:10px!important;padding:7px 10px!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard .data-table tbody tr:hover td {background:var(--ns-hover)!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard .data-table tbody tr:is(.active,.selected) td {background:var(--ns-active)!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard .metric-strip {background:transparent!important;border:0!important;border-bottom:1px solid var(--ns-line)!important;border-radius:0!important;box-shadow:none!important;gap:0!important;margin-bottom:12px!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard .metric {background:transparent!important;border:0!important;border-right:1px solid var(--ns-soft)!important;border-radius:0!important;box-shadow:none!important;padding:9px 12px!important;min-height:0!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard .metric:last-child {border-right:0!important}
body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard .metric::after,body.cash-nightshift-r2.cash-nightshift-r3 #overlayCard .metric::before {content:none!important}

/* R33 CMS density: scoped to the existing content-management page. */
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-navigation {
  gap:0 18px;margin:10px 0 12px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;
}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-nav-group {
  gap:6px;padding:9px 0;border:0;border-bottom:1px solid var(--ns-soft);border-radius:0;background:none;box-shadow:none;
}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-nav-heading {
  font-size:10px;line-height:1.4;letter-spacing:.065em;
}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-nav-tabs {gap:5px}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-nav-tab.btn {
  min-height:30px;padding:5px 8px;font-size:11px;line-height:1.35;white-space:normal;
}
@media(max-width:760px) {
  body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-page-head {
    gap:8px!important;padding-bottom:10px!important;margin-bottom:10px!important;
  }
  body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-page-head .page-title {
    display:grid!important;grid-template-columns:28px minmax(0,1fr);align-items:start!important;gap:8px!important;
  }
  body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-page-head .page-title-icon {display:none!important}
  body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-page-head .page-title h1 {
    font-size:18px!important;line-height:1.28!important;letter-spacing:-.015em!important;
  }
  body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-page-head .page-title p {
    font-size:11px!important;line-height:1.45!important;margin-top:5px!important;
  }
  body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-page-head .page-actions {margin-left:36px}
  body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-metrics {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 12px!important;padding-bottom:6px!important;
  }
  body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-metrics .metric {
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:2px 5px!important;padding:6px 0!important;margin:0!important;
  }
  body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-metrics .metric label {
    grid-column:1;grid-row:1;font-size:10px!important;line-height:1.4!important;
  }
  body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-metrics .metric b {
    grid-column:2;grid-row:1/3;font-size:15px!important;line-height:1.3!important;
  }
  body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-metrics .metric small {
    grid-column:1;grid-row:2;font-size:10px!important;line-height:1.3!important;
  }
  body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-navigation {
    grid-template-columns:minmax(0,1fr);gap:0;margin:5px 0 10px;
  }
  body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-nav-group {gap:5px;padding:7px 0}
  body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-cms-nav-tab.btn {
    min-height:32px;padding:5px 7px;font-size:10px;
  }
}

/* R33 observed member layout corrections; no shared header structure changes. */
@media(max-width:760px) {
  body.cash-nightshift-r2.cash-nightshift-r3[data-cash-route="user-details"] #app .global-header .brand-lockup {
    flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:none!important;
  }
}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .mrw-import-slim-row :is(.uy-slim-login,.uy-slim-groups)>span {
  max-width:100%;min-width:0;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
}
/* R33 account security layout; root adds explicit section classes. */
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .ns-account-security-layout .ns-account-sessions {
  grid-column:1/-1!important;min-width:0;
}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .ns-account-sessions .data-table {
  width:100%;min-width:720px;table-layout:fixed;
}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .ns-account-sessions .data-table th,
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .ns-account-sessions .data-table td {
  overflow-wrap:anywhere;white-space:normal;
}
body.cash-nightshift-r2.cash-nightshift-r3 #app #pageMount .ns-account-sessions .data-table :is(th,td):nth-child(3) {width:27%}

/* Scoped final density pass; existing actions, forms and data sources retained. */
body.cash-nightshift-r4{--ns-r4-radius:5px}
body.cash-nightshift-r4 #pageMount{font-size:13px}
body.cash-nightshift-r4 #pageMount .page-head h1{font-size:24px;line-height:1.25;letter-spacing:-.025em}
body.cash-nightshift-r4 #pageMount .page-head p{font-size:12px;line-height:1.5}
body.cash-nightshift-r4 #pageMount .page-head{margin-bottom:16px;gap:12px}
body.cash-nightshift-r4 #pageMount .section-head{min-height:40px;padding:10px 12px}
body.cash-nightshift-r4 #pageMount .section-head h2,body.cash-nightshift-r4 #pageMount .section-head h3{font-size:13px;line-height:1.4}
body.cash-nightshift-r4 #pageMount .btn,body.cash-nightshift-r4 #pageMount .mini{min-height:30px;font-size:12px;border-radius:4px;padding:5px 10px}
body.cash-nightshift-r4 #pageMount .mini{min-height:27px;font-size:11px;padding:4px 8px}
body.cash-nightshift-r4 #pageMount th{font-size:10px;padding:9px 10px;line-height:1.4;letter-spacing:.035em}
body.cash-nightshift-r4 #pageMount td{font-size:12px;padding:8px 10px;line-height:1.45;font-variant-numeric:tabular-nums}
body.cash-nightshift-r4 #pageMount [data-ns-table-wrap]{max-width:100%;overflow:auto;scrollbar-width:thin}
body.cash-nightshift-r4 #pageMount [data-ns-table-wrap]:focus-visible{outline:2px solid #39c89b;outline-offset:2px}
body.cash-nightshift-r4 #pageMount .toolbar input,body.cash-nightshift-r4 #pageMount .toolbar select,body.cash-nightshift-r4 #pageMount .command-bar input,body.cash-nightshift-r4 #pageMount .command-bar select{min-width:0;max-width:100%;height:32px;font-size:12px;border-radius:4px}
body.cash-nightshift-r4 #pageMount [data-ns-page-family=organization]{min-width:0}
body.cash-nightshift-r4 #pageMount[data-ns-page-family=organization] .grid-2{display:contents}
body.cash-nightshift-r4 #pageMount[data-ns-page-family=organization] .ux-section-nav{gap:3px;align-items:center;border-radius:0;margin-bottom:12px}
body.cash-nightshift-r4 #pageMount[data-ns-page-family=organization] [role=tab].mini{min-height:36px;border-radius:0;border-bottom:2px solid transparent;background:transparent;padding:8px 14px}
body.cash-nightshift-r4 #pageMount[data-ns-page-family=organization] [role=tab].mini[aria-selected=true]{border-bottom-color:#33d79e;color:var(--text,#e4eceb);background:rgba(36,181,139,.1)}
body.cash-nightshift-r4 #pageMount[data-ns-page-family=organization] table{min-width:640px;width:100%}
body.cash-nightshift-r4 #pageMount[data-ns-page-family=organization] td:last-child{white-space:nowrap}
body.cash-nightshift-r4 #pageMount .ns-r4-tab-hidden{display:none!important}
body.cash-nightshift-r4 #pageMount[data-ns-page-family=access] .master-detail{grid-template-columns:minmax(230px,.65fr) minmax(0,1.65fr);gap:16px}
body.cash-nightshift-r4 #pageMount[data-ns-page-family=access]>.grid-2{grid-template-columns:minmax(0,1fr);gap:16px}
body.cash-nightshift-r4 #pageMount[data-ns-page-family=schedule]>.grid-2{grid-template-columns:minmax(0,1.5fr) minmax(260px,.65fr);gap:16px}
body.cash-nightshift-r4 .ns-desk-head{padding-bottom:14px;margin-bottom:14px}
body.cash-nightshift-r4 .ns-desk-head h1{font-size:28px;line-height:1.2}
body.cash-nightshift-r4 .ns-desk-head p{font-size:12px}
body.cash-nightshift-r4 .ns-task-row{min-height:62px;padding:10px 12px;gap:10px}
body.cash-nightshift-r4 .ns-task-avatar{width:32px;height:32px;min-width:32px;font-size:12px}
body.cash-nightshift-r4 .ns-task-title{font-size:13px;line-height:1.4}
body.cash-nightshift-r4 .ns-task-meta,body.cash-nightshift-r4 .ns-task-time{font-size:11px;line-height:1.45}
body.cash-nightshift-r4 .ns-desk-detail{padding:16px}
body.cash-nightshift-r4 .ns-detail-title{font-size:22px;line-height:1.25}
body.cash-nightshift-r4 .ns-detail-description{font-size:13px;line-height:1.6}
body.cash-nightshift-r4 .ns-detail-section{padding-top:13px;margin-top:13px}
body.cash-nightshift-r4 #overlay{padding:20px}
body.cash-nightshift-r4 #overlay .overlay-card{max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);border-radius:6px;overflow:auto;scrollbar-width:thin}
body.cash-nightshift-r4 #overlay .overlay-card[data-ns-dialog-family=form]{width:min(720px,calc(100vw - 40px))}
body.cash-nightshift-r4 #overlay .overlay-card[data-ns-dialog-family=detail]{width:min(860px,calc(100vw - 40px))}
body.cash-nightshift-r4 #overlay .overlay-card .card-head,body.cash-nightshift-r4 #overlay .overlay-card .section-head{padding:13px 16px}
body.cash-nightshift-r4 #overlay .overlay-card h2{font-size:18px;line-height:1.35;letter-spacing:-.015em}
body.cash-nightshift-r4 #overlay .overlay-card .card-body,body.cash-nightshift-r4 #overlay .overlay-card .section-body{padding:14px 16px}
body.cash-nightshift-r4 #overlay .overlay-card form,body.cash-nightshift-r4 #overlay .overlay-card .field,body.cash-nightshift-r4 #overlay .overlay-card label,body.cash-nightshift-r4 #overlay .overlay-card .form-grid>*{min-width:0}
body.cash-nightshift-r4 #overlay .overlay-card .form-grid{gap:12px 14px}
body.cash-nightshift-r4 #overlay .overlay-card input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.cash-nightshift-r4 #overlay .overlay-card select,body.cash-nightshift-r4 #overlay .overlay-card textarea{min-width:0;max-width:100%;width:100%;box-sizing:border-box;font-size:13px;min-height:35px;border-radius:4px;padding:8px 10px}
body.cash-nightshift-r4 #overlay .overlay-card textarea{min-height:84px}
body.cash-nightshift-r4 #overlay .overlay-card input[type=checkbox],body.cash-nightshift-r4 #overlay .overlay-card input[type=radio]{width:16px;height:16px;flex:0 0 auto}
body.cash-nightshift-r4 #overlay .overlay-card .btn{min-height:32px;font-size:12px;border-radius:4px}
body.cash-nightshift-r4 #overlay .overlay-card th,body.cash-nightshift-r4 #overlay .overlay-card td{padding:8px 10px;font-size:12px}
@media(max-width:900px){body.cash-nightshift-r4 #pageMount[data-ns-page-family=access] .master-detail,body.cash-nightshift-r4 #pageMount[data-ns-page-family=schedule]>.grid-2{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){body.cash-nightshift-r4 #overlay{padding:10px}body.cash-nightshift-r4 #overlay .overlay-card,body.cash-nightshift-r4 #overlay .overlay-card[data-ns-dialog-family]{max-width:calc(100vw - 20px);width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}body.cash-nightshift-r4 #overlay .overlay-card .form-grid{grid-template-columns:minmax(0,1fr)}body.cash-nightshift-r4 #overlay .overlay-card .form-grid>*{grid-column:auto!important}body.cash-nightshift-r4 #pageMount .page-head h1{font-size:21px}body.cash-nightshift-r4 #pageMount[data-ns-page-family=organization] .ux-section-nav{flex-wrap:wrap}body.cash-nightshift-r4 #pageMount[data-ns-page-family=organization] [role=tab].mini{font-size:11px;padding:7px 9px}body.cash-nightshift-r4 .ns-desk-head h1{font-size:24px}body.cash-nightshift-r4 .ns-task-row{min-height:64px}}
@media(pointer:coarse){body.cash-nightshift-r4 #pageMount .btn,body.cash-nightshift-r4 #pageMount .mini,body.cash-nightshift-r4 #overlay .overlay-card .btn{min-height:40px}}
@media(prefers-reduced-motion:reduce){body.cash-nightshift-r4 *,body.cash-nightshift-r4 *:before,body.cash-nightshift-r4 *:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
body.cash-nightshift-r4 [hidden],body.cash-nightshift-r4 [inert]{display:none!important}

body.cash-nightshift-r4 #overlay .overlay-card .section-head h3{font-size:18px;line-height:1.3}


/* CASH UX R1 — explicit user-requested header cleanup.
   The command palette shortcut and all existing header handlers stay wired. */
body.cash-nightshift-r2 #app>.global-header {
  grid-template-columns:minmax(145px,1fr) auto!important;
  gap:12px!important;
}
body.cash-nightshift-r2 #app>.global-header .brand-lockup {
  grid-column:1!important;grid-row:1!important;
  border-right:0!important;padding-right:0!important;
  justify-self:start!important;
}
body.cash-nightshift-r2 #nsBrandTitle,
body.cash-nightshift-r2 #app>.global-header>#globalSearch {
  display:none!important;
}
body.cash-nightshift-r2 #app>.global-header #nsHeaderActions {
  grid-column:2!important;grid-row:1!important;
  justify-self:end!important;margin-left:auto!important;
  gap:8px!important;
}
@media (max-width:700px) {
  body.cash-nightshift-r2 #app>.global-header {
    grid-template-columns:minmax(105px,1fr) auto!important;
    gap:7px!important;padding-inline:10px!important;
  }
  body.cash-nightshift-r2 #app>.global-header #nsHeaderActions {gap:5px!important;}
  body.cash-nightshift-r2 #app .global-header>.brand-lockup {
    display:flex!important;align-items:center!important;
    flex:0 1 120px!important;gap:7px!important;min-width:0!important;
  }
  body.cash-nightshift-r2 #app .brand-lockup .logo-mark {
    display:grid!important;place-items:center!important;
    width:30px!important;height:30px!important;flex:0 0 30px!important;
  }
  body.cash-nightshift-r2 #app .brand-lockup b {font-size:15px!important;}
  body.cash-nightshift-r2 #app .brand-lockup small {display:none!important;}
}

/* R1 staff messages visual layer (scoped to #pageMount) */
/* CASH Staff Messages / R1 — scoped to the existing messages page */
#pageMount .cash-messages-switch{display:none}
#pageMount .cash-messages-layout{display:grid!important;grid-template-columns:minmax(265px,32%) minmax(0,1fr)!important;gap:14px!important;min-height:500px!important;height:min(68dvh,690px)!important;max-height:760px!important;margin:0!important;align-items:stretch!important}
#pageMount .cash-messages-layout *{box-sizing:border-box}
#pageMount .cash-messages-sidebar{display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important;min-height:0!important}
#pageMount .cash-messages-sidebar>div{min-width:0!important;min-height:0!important}
#pageMount .cash-messages-sidebar .section{display:flex!important;flex-direction:column!important;margin:0!important;min-height:0!important}
#pageMount .cash-messages-conversations{display:flex!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
#pageMount .cash-messages-conversations .section{flex:1 1 auto!important}
#pageMount .cash-messages-conversations .chat-list{flex:1 1 auto!important;max-height:none!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important}
#pageMount .cash-messages-people{flex:0 0 auto!important}
#pageMount .cash-messages-people .chat-people{max-height:175px!important;height:auto!important;overflow-y:auto!important;overscroll-behavior:contain!important}
#pageMount .cash-messages-layout :is(.chat-thread-row,.chat-person-row){min-width:0!important;text-align:left!important}
#pageMount .cash-messages-layout .chat-thread-row>span{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#pageMount .cash-messages-thread{display:flex!important;flex-direction:column!important;min-height:0!important;min-width:0!important}
#pageMount .cash-messages-thread>.section{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;margin:0!important;overflow:hidden!important}
#pageMount .cash-messages-thread>.section>.section-head,#pageMount .cash-messages-thread>.section>.command-bar{flex:0 0 auto!important}
#pageMount .cash-messages-thread .chat-log{flex:1 1 auto!important;height:auto!important;min-height:120px!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain!important}
#pageMount .cash-messages-thread .chat-message{max-width:85%!important;overflow-wrap:anywhere!important}
#pageMount .cash-messages-thread .chat-composer{flex:0 0 auto!important;display:flex!important;align-items:stretch!important;gap:8px!important;padding:11px!important;margin:0!important;background:var(--cash-surface,#fff)!important}
#pageMount .cash-messages-thread .chat-composer textarea{flex:1 1 auto!important;min-width:0!important;min-height:50px!important;max-height:112px!important;resize:vertical!important}
#pageMount .cash-messages-thread .chat-composer button{flex:0 0 auto!important;min-width:96px!important;min-height:44px!important;align-self:flex-end!important}
#pageMount .cash-messages-layout :is(input,select,textarea):focus-visible,#pageMount .cash-messages-switch button:focus-visible{outline:2px solid #138369!important;outline-offset:2px!important}
@media(max-width:800px){
 #pageMount .cash-messages-switch{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;padding:5px!important;margin:0 0 10px!important;border:1px solid var(--cash-line,#d0ddd6)!important;background:var(--cash-surface,#fff)!important;border-radius:9px!important}
 #pageMount .cash-messages-switch button{min-width:0!important;height:38px!important;border:1px solid transparent!important;border-radius:6px!important;background:transparent!important;color:var(--cash-text,#1d3730)!important;font:650 12px/1.2 system-ui,sans-serif!important;padding:6px 9px!important}
 #pageMount .cash-messages-switch button[aria-selected=true]{border-color:rgba(17,122,92,.28)!important;background:var(--cash-selected,#dbf2e8)!important;color:var(--cash-ink,#0b664b)!important}
 #pageMount .cash-messages-metrics .metric-strip{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important}
 body.cash-nightshift-r2 #pageMount .cash-messages-metrics .metric:nth-child(n+3){display:none!important}
 #pageMount .cash-messages-layout{display:block!important;height:auto!important;min-height:360px!important;max-height:none!important;width:100%!important}
 #pageMount .cash-messages-sidebar,#pageMount .cash-messages-thread{display:none!important;min-width:0!important}
 #pageMount .cash-messages-layout[data-mobile-view=threads]>.cash-messages-sidebar,#pageMount .cash-messages-layout[data-mobile-view=people]>.cash-messages-sidebar{display:block!important}
 #pageMount .cash-messages-layout[data-mobile-view=threads] .cash-messages-people,#pageMount .cash-messages-layout[data-mobile-view=people] .cash-messages-conversations{display:none!important}
 #pageMount .cash-messages-layout[data-mobile-view=threads] .cash-messages-conversations,#pageMount .cash-messages-layout[data-mobile-view=people] .cash-messages-people{display:block!important;overflow:visible!important}
 #pageMount .cash-messages-layout[data-mobile-view=chat]>.cash-messages-thread{display:flex!important}
 #pageMount .cash-messages-sidebar .chat-list,#pageMount .cash-messages-sidebar .chat-people{height:auto!important;min-height:180px!important;max-height:calc(100dvh - 340px)!important;overflow-y:auto!important}
 #pageMount .cash-messages-thread>.section{height:calc(100dvh - 360px)!important;min-height:325px!important;max-height:600px!important}
 #pageMount .cash-messages-thread .chat-log{min-height:150px!important;flex:1 1 auto!important}
 #pageMount .cash-messages-thread .chat-composer{flex-direction:row!important;align-items:stretch!important;padding:9px!important}
 #pageMount .cash-messages-thread .chat-composer textarea{min-height:48px!important;max-height:92px!important}
 #pageMount .cash-messages-thread .chat-composer button{min-width:76px!important;min-height:42px!important}
}
@media(prefers-reduced-motion:reduce){#pageMount .cash-messages-layout *{transition:none!important;animation:none!important}}

/* CASH Staff Messages contrast R2 — only own message bubbles. */
#pageMount .cash-messages-thread .chat-message.mine {
  background:#daeee2!important;
  border:1px solid #a6cdb8!important;
  color:#123d2d!important;
}
#pageMount .cash-messages-thread .chat-message.mine :is(header b,header small,div) {
  color:#123d2d!important;
}
body.dark-mode #pageMount .cash-messages-thread .chat-message.mine {
  background:#174b36!important;
  border-color:#3b785c!important;
  color:#f0f8f1!important;
}
body.dark-mode #pageMount .cash-messages-thread .chat-message.mine :is(header b,header small,div) {
  color:#f0f8f1!important;
}

body.dark-mode #pageMount .cash-messages-switch button[aria-selected=true] {
  color:#f0f8f1!important;
  border-color:#60977a!important;
  background:#234d39!important;
}

/* CASH — Bilgi Aktarım Detail UX R2. Scoped solely to handoff modal. */
body.cash-nightshift-r2 #overlay #overlayCard:has(.cash-handoff-detail){
  width:min(1080px,calc(100vw - 32px))!important;
  max-width:calc(100vw - 32px)!important;
  max-height:calc(100dvh - 28px)!important;
  overflow:auto!important;
  padding:16px 18px!important;
}
body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .quick-status-bar{
  border:1px solid var(--ns-line)!important;
  border-radius:9px!important;
  padding:12px!important;
  background:var(--ns-surface)!important;
}
body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .quick-status-bar>div:last-child{
  display:flex!important;flex-wrap:wrap!important;gap:7px!important;
}
body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .quick-status-bar .btn{
  flex:0 1 auto!important;min-height:34px!important;height:auto!important;
  padding:7px 11px!important;border-radius:7px!important;
  font-size:11px!important;font-weight:650!important;white-space:normal!important;
}
body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .cash-handoff-status{
  color:var(--ns-ink)!important;background:var(--ns-active)!important;
  border:1px solid var(--ns-line)!important;padding:5px 9px!important;border-radius:7px!important;
  font-size:11px!important;
}
body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .handoff-left-col,
body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .handoff-right-col{
  min-width:0!important;
}
body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .member-mini-card{
  display:block!important;min-width:0!important;overflow-wrap:anywhere!important;
}
body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .handoff-assign-bar{
  flex-wrap:wrap!important;gap:8px!important;
}
body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .handoff-assign-bar select{
  flex:1 1 175px!important;min-width:0!important;max-width:100%!important;
}
body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail #handoffChatLog{
  min-height:180px!important;max-height:340px!important;overflow-y:auto!important;
}
@media(max-width:760px){
 body.cash-nightshift-r2 #overlay{padding:7px!important;align-items:start!important;}
 body.cash-nightshift-r2 #overlay #overlayCard:has(.cash-handoff-detail){
  width:calc(100vw - 14px)!important;max-width:calc(100vw - 14px)!important;
  max-height:calc(100dvh - 14px)!important;padding:12px!important;margin:auto!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .handoff-two-col{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;width:100%!important;max-width:100%!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .handoff-right-col{
  border-left:0!important;padding-left:0!important;border-top:1px solid var(--ns-line)!important;
  padding-top:12px!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .member-mini-card>div:first-child{
  display:flex!important;flex-wrap:wrap!important;gap:7px!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .handoff-left-col>.section>div:not(.section-head):not(.disconnected){
  display:block!important;max-width:100%!important;overflow-wrap:anywhere!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .quick-status-bar .btn{
  flex:1 1 145px!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .handoff-composer{
  display:flex!important;flex-direction:column!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .handoff-composer .composer-bottom-row{
  display:flex!important;gap:7px!important;
 }
}

/* Mobile task detail / messages switch: no content or event handlers removed. */
body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .cash-handoff-mobile-tabs{display:none!important}
@media(max-width:760px){
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .cash-handoff-mobile-tabs{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:5px!important;padding:5px!important;margin:0 0 12px!important;
  border:1px solid var(--ns-line)!important;border-radius:9px!important;
  background:var(--ns-surface)!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .cash-handoff-mobile-tabs button{
  min-height:39px!important;min-width:0!important;padding:8px 9px!important;
  border-radius:7px!important;border:1px solid transparent!important;
  color:var(--ns-muted)!important;background:transparent!important;
  font:650 12px/1.25 system-ui,sans-serif!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .cash-handoff-mobile-tabs button[aria-selected=true]{
  color:var(--ns-ink)!important;border-color:var(--ns-line)!important;
  background:var(--ns-active)!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail[data-mobile-view=details] .handoff-right-col,
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail[data-mobile-view=messages] .handoff-left-col{
  display:none!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail[data-mobile-view=messages] .handoff-right-col{
  display:flex!important;flex-direction:column!important;
  border:0!important;padding:0!important;margin:0!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail[data-mobile-view=messages] #handoffChatLog{
  min-height:190px!important;max-height:calc(100dvh - 350px)!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail[data-mobile-view=messages] .handoff-composer textarea{
  min-height:72px!important;
 }
}

/* CASH Handoff R2.1: narrow phone chat composer remains visible. */
@media(max-width:360px){
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail[data-mobile-view=messages] #handoffChatLog{
   min-height:120px!important;
   max-height:min(205px,calc(100dvh - 470px))!important;
   overflow-y:auto!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail[data-mobile-view=messages] .handoff-composer{
   gap:7px!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail[data-mobile-view=messages] .handoff-composer textarea{
   min-height:58px!important;height:58px!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail[data-mobile-view=messages] .handoff-composer .composer-bottom-row button{
   min-width:74px!important;
   padding:8px 10px!important;
 }
}
@media(max-width:360px){
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail>.section-head{
   position:relative!important;min-height:0!important;
   padding:0 0 10px!important;margin:0 0 8px!important;display:block!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail>.section-head h3{
   display:block!important;max-width:100%!important;padding:0 104px 0 0!important;
   margin:0!important;font-size:16px!important;line-height:1.18!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail>.section-head h3 .mono{
   display:block!important;margin-top:3px!important;font-size:9px!important;
   overflow-wrap:anywhere!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail>.section-head>div{
   position:absolute!important;top:0!important;right:0!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .cash-handoff-mobile-tabs button{
   min-height:33px!important;padding:5px 6px!important;font-size:11px!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .handoff-right-col>div:first-child{
   gap:5px!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail .handoff-right-col>div:first-child>div{
   margin:0!important;
 }
}
@media(max-width:360px){
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail>.section-head{
   display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
   grid-template-rows:auto auto!important;align-items:start!important;
   gap:5px 6px!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail>.section-head::before{
   content:"BİLGİ AKTARIM"!important;display:block!important;
   grid-column:1!important;grid-row:1!important;
   font-size:10px!important;font-weight:700!important;
   line-height:1.3!important;color:var(--ns-muted)!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail>.section-head h3{
   grid-column:1/-1!important;grid-row:2!important;
   display:block!important;width:100%!important;max-width:100%!important;
   padding:0!important;margin:0!important;
   font-size:16px!important;line-height:1.2!important;
   overflow-wrap:anywhere!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail>.section-head>div{
   grid-column:2!important;grid-row:1!important;
   position:static!important;justify-self:end!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail[data-mobile-view=messages] #handoffChatLog{
   max-height:150px!important;min-height:120px!important;
 }
}


/* CASH / Header: direct Yeni İşlem CTA; same original permission and delegated action. */
body.cash-nightshift-r2 #app>.global-header #nsHeaderActions>[data-action="newHandoff"]{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 auto!important;width:auto!important;min-width:120px!important;
 height:34px!important;min-height:34px!important;padding:0 12px!important;gap:8px!important;
 border:1px solid #147558!important;border-radius:8px!important;
 background:#0e7155!important;color:#fff!important;
 box-shadow:none!important;cursor:pointer!important;
 font:700 12px/1.15 system-ui,sans-serif!important;
}
body.cash-nightshift-r2 #app>.global-header #nsHeaderActions>[data-action="newHandoff"]:hover{
 background:#096246!important;border-color:#0e674d!important;
}
body.cash-nightshift-r2 #app>.global-header #nsHeaderActions>[data-action="newHandoff"]:focus-visible{
 outline:2px solid #e7c684!important;outline-offset:2px!important;
}
body.cash-nightshift-r2 #app>.global-header #nsHeaderActions>[data-action="newHandoff"]>.action-icon,
body.cash-nightshift-r2 #app>.global-header #nsHeaderActions>[data-action="newHandoff"]>.action-icon svg{
 display:inline-flex!important;width:16px!important;height:16px!important;
 flex:0 0 16px!important;stroke:currentColor!important;
}
body.cash-nightshift-r2 #app>.global-header #nsHeaderActions>[data-action="newHandoff"]>span:not(.action-icon){
 display:inline!important;font-size:12px!important;white-space:nowrap!important;
}
@media(max-width:980px){
 body.cash-nightshift-r2 #app>.global-header #nsHeaderActions>[data-action="newHandoff"]{
   min-width:34px!important;width:34px!important;padding:0 8px!important;
 }
 body.cash-nightshift-r2 #app>.global-header #nsHeaderActions>[data-action="newHandoff"]>span:not(.action-icon){
   display:none!important;
 }
}
@media(max-width:700px){
 body.cash-nightshift-r2 #app>.global-header #nsHeaderActions>[data-action="newHandoff"]{
   min-width:32px!important;width:32px!important;height:32px!important;min-height:32px!important;
   padding:0 7px!important;
 }
}

@media(max-width:360px){
 body.cash-nightshift-r2 #app>.global-header{
  grid-template-columns:44px minmax(0,1fr)!important;
  gap:4px!important;padding-inline:6px!important;
 }
 body.cash-nightshift-r2 #app>.global-header .brand-lockup{
  width:44px!important;min-width:0!important;gap:0!important;
 }
 body.cash-nightshift-r2 #app>.global-header .brand-lockup>div{display:none!important;}
 body.cash-nightshift-r2 #app>.global-header #nsHeaderActions{gap:3px!important;}
}

/* Explicit permission wins over the visible CTA, including mobile states. */
body.cash-nightshift-r2 #app>.global-header #nsHeaderActions>[data-action="newHandoff"].ns-action-unavailable.ns-action-unavailable,
body.cash-nightshift-r2 #app>.global-header #nsHeaderActions>[data-action="newHandoff"].hidden.hidden,
body.cash-nightshift-r2 #app>.global-header #nsHeaderActions>[data-action="newHandoff"][hidden][hidden]{
 display:none!important;
}

/* CASH Handoff 320px: forbid horizontal overflow in messages; vertical scroll retained. */
@media(max-width:760px){
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail[data-mobile-view=messages] #handoffChatLog{
   overflow-x:hidden!important;
   overscroll-behavior-x:none!important;
   min-width:0!important;
   max-width:100%!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail[data-mobile-view=messages] #handoffChatLog .chat-message{
   max-width:100%!important;min-width:0!important;
   overflow-wrap:anywhere!important;word-break:break-word!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail[data-mobile-view=messages] .handoff-right-col{
   min-width:0!important;max-width:100%!important;
 }
}

/* Narrow sender metadata: full-width name and timestamp, never one-character columns */
@media(max-width:760px){
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail[data-mobile-view=messages] #handoffChatLog .chat-message header{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:flex-start!important;gap:3px!important;width:100%!important;
 }
 body.cash-nightshift-r2 #overlay #overlayCard .cash-handoff-detail[data-mobile-view=messages] #handoffChatLog .chat-message header :is(b,small){
  display:block!important;min-width:0!important;max-width:100%!important;width:auto!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
 }
}
