/* WTF People design system — frozen 2026-10-19 (see DESIGN.md). wtf-design-system */
:root {
  --wtf-ground: #F6F5FB;
  --wtf-surface: #FFFFFF;
  --wtf-surface-2: #FAFAFE;
  --wtf-border: #E8E6F2;
  --wtf-border-strong: #D5D2E6;
  --wtf-text: #1A1836;
  --wtf-text-2: #4B4969;
  --wtf-text-muted: #6E6C88;
  --wtf-success: #1F9D5A;
  --wtf-success-tint: #E6F7EE;
  --wtf-warning: #C2660A;
  --wtf-warning-tint: #FFF4E0;
  --wtf-danger: #DC2626;
  --wtf-danger-tint: #FDECEC;
  --wtf-info: #2563EB;
  --wtf-info-tint: #E8F1FF;
  --wtf-radius-sm: 8px;
  --wtf-radius-md: 10px;
  --wtf-radius-lg: 14px;
  --wtf-radius-xl: 20px;
  --wtf-shadow-card: 0 1px 2px rgba(26, 24, 54, .04), 0 2px 8px rgba(26, 24, 54, .06);
  --wtf-shadow-raised: 0 8px 24px rgba(26, 24, 54, .10);
  --wtf-shadow-sheet: 0 -8px 32px rgba(26, 24, 54, .16);
  --wtf-topbar-h: 56px;
  --wtf-tabbar-h: 56px;
  --wtf-header-h: 64px;
  --wtf-sidebar-w: 15rem;
  --wtf-rail-w: 4rem;
  --wtf-gutter: 16px;
  --wtf-z-topbar: 40;
  --wtf-z-scrim: 45;
  --wtf-z-sidebar: 50;
  --wtf-z-sheet: 60;
  --wtf-z-toast: 70;
  --wtf-ease: cubic-bezier(.22, 1, .36, 1);
  --wtf-safe-bottom: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 1024px) { :root { --wtf-gutter: 24px; } }

body.dark {
  --wtf-ground: #0F0E1A;
  --wtf-surface: #1A1929;
  --wtf-surface-2: #22213A;
  --wtf-border: #2E2D46;
  --wtf-border-strong: #3B3A55;
  --wtf-text: #ECEBF5;
  --wtf-text-2: #C9C8DA;
  --wtf-text-muted: #A5A3BC;
  --wtf-success-tint: rgba(31, 157, 90, .18);
  --wtf-warning-tint: rgba(194, 102, 10, .18);
  --wtf-danger-tint: rgba(220, 38, 38, .18);
  --wtf-info-tint: rgba(37, 99, 235, .18);
  --wtf-shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .3);
}

/* Browser surfaces */
::selection { background: var(--primary-200, #DDD8FB); color: var(--wtf-text); }
:focus-visible { outline: 2px solid var(--primary-300, #C2B9F6); outline-offset: 2px; }
.wtf-tnum, .wtf-stat__value, table td.wtf-num { font-variant-numeric: tabular-nums; }
h1, h2, h3 { text-wrap: balance; }
button, [role="button"], a { touch-action: manipulation; }

/* Visibility helpers */
@media (max-width: 1023.98px) { .wtf-desktop-only { display: none !important; } }
@media (min-width: 1024px) { .wtf-mobile-only { display: none !important; } }

/* Card */
.wtf-card { background: var(--wtf-surface); border: 1px solid var(--wtf-border); border-radius: var(--wtf-radius-lg); box-shadow: var(--wtf-shadow-card); padding: 16px; color: var(--wtf-text); }
@media (min-width: 1024px) { .wtf-card { padding: 20px; } }
.wtf-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.wtf-card__title { font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--wtf-text); display: flex; align-items: center; gap: 8px; }
.wtf-card__link { font-size: .8125rem; font-weight: 500; color: var(--primary-600); }
.wtf-well { background: var(--wtf-surface-2); border-radius: var(--wtf-radius-md); padding: 12px; }

/* Icon well + stat */
.wtf-icon-well { width: 40px; height: 40px; border-radius: var(--wtf-radius-md); display: inline-flex; align-items: center; justify-content: center; background: var(--primary-100); color: var(--primary-600); flex: 0 0 auto; }
.wtf-icon-well--success { background: var(--wtf-success-tint); color: var(--wtf-success); }
.wtf-icon-well--warning { background: var(--wtf-warning-tint); color: var(--wtf-warning); }
.wtf-icon-well--danger { background: var(--wtf-danger-tint); color: var(--wtf-danger); }
.wtf-icon-well--info { background: var(--wtf-info-tint); color: var(--wtf-info); }
.wtf-icon-well--sm { width: 32px; height: 32px; border-radius: var(--wtf-radius-sm); }
.wtf-stat { display: flex; flex-direction: column; gap: 10px; }
.wtf-stat__label { font-size: .8125rem; font-weight: 500; color: var(--wtf-text-muted); }
.wtf-stat__value { font-size: 1.75rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--wtf-text); }
.wtf-stat__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Chip */
.wtf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 9999px; font-size: .75rem; font-weight: 500; line-height: 1.4; white-space: nowrap; background: var(--wtf-surface-2); color: var(--wtf-text-2); }
.wtf-chip--primary { background: var(--primary-100); color: var(--primary-700); }
.wtf-chip--success { background: var(--wtf-success-tint); color: var(--wtf-success); }
.wtf-chip--warning { background: var(--wtf-warning-tint); color: var(--wtf-warning); }
.wtf-chip--danger { background: var(--wtf-danger-tint); color: var(--wtf-danger); }
.wtf-chip--info { background: var(--wtf-info-tint); color: var(--wtf-info); }
.wtf-chip--neutral { background: var(--wtf-surface-2); color: var(--wtf-text-muted); }
.wtf-chip__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Buttons */
.wtf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--wtf-radius-md); font-size: .875rem; font-weight: 600; line-height: 1; border: 1px solid transparent; cursor: pointer; transition: background-color .15s var(--wtf-ease), color .15s, box-shadow .15s, transform .1s; white-space: nowrap; }
@media (min-width: 1024px) { .wtf-btn { height: 40px; } }
.wtf-btn:active { transform: scale(.98); }
.wtf-btn:disabled, .wtf-btn[aria-disabled="true"] { opacity: .4; pointer-events: none; box-shadow: none; }
.wtf-btn--primary { background: var(--primary-600); color: #fff; }
.wtf-btn--primary:hover { background: var(--primary-700); color: #fff; }
.wtf-btn--secondary { background: var(--wtf-surface); color: var(--wtf-text); border-color: var(--wtf-border); }
.wtf-btn--secondary:hover { background: var(--primary-50, var(--primary-100)); border-color: var(--wtf-border-strong); }
.wtf-btn--ghost { background: transparent; color: var(--wtf-text-2); }
.wtf-btn--ghost:hover { background: var(--primary-50, var(--primary-100)); color: var(--wtf-text); }
/* Dark: the light primary tint behind light text made hovered ghost buttons unreadable. */
body.dark .wtf-btn--ghost:hover { background: var(--wtf-surface-2); }
.wtf-btn--danger { background: var(--wtf-danger); color: #fff; }
.wtf-btn--danger:hover { background: #B91C1C; color: #fff; }
.wtf-btn--icon { width: 44px; padding: 0; }
@media (min-width: 1024px) { .wtf-btn--icon { width: 40px; } }
.wtf-btn--block { width: 100%; }
.wtf-btn .material-symbols-outlined { font-size: 20px; }
.wtf-btn.is-loading { position: relative; color: transparent !important; }
.wtf-btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: wtf-spin .7s linear infinite; }
@keyframes wtf-spin { to { transform: rotate(360deg); } }

/* Inputs */
.wtf-label { display: block; font-size: .8125rem; font-weight: 500; color: var(--wtf-text-2); margin-bottom: 6px; }
.wtf-input, .wtf-select, .wtf-textarea { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--wtf-border); border-radius: var(--wtf-radius-md); background: var(--wtf-surface); color: var(--wtf-text); font-size: 1rem; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
.wtf-textarea { height: auto; min-height: 96px; padding: 10px 12px; }
@media (min-width: 1024px) { .wtf-input, .wtf-select { height: 40px; font-size: .875rem; } .wtf-textarea { font-size: .875rem; } }
.wtf-input::placeholder, .wtf-textarea::placeholder { color: var(--wtf-text-muted); }
.wtf-input:hover, .wtf-select:hover, .wtf-textarea:hover { border-color: var(--wtf-border-strong); }
.wtf-input:focus, .wtf-select:focus, .wtf-textarea:focus { outline: none; border-color: var(--primary-600); box-shadow: 0 0 0 3px var(--primary-100); }
.wtf-input.is-invalid { border-color: var(--wtf-danger); }
.wtf-help { font-size: .75rem; color: var(--wtf-text-muted); margin-top: 6px; }
.wtf-error { font-size: .75rem; color: var(--wtf-danger); margin-top: 6px; }
@media (max-width: 1023.98px) {
  #ohMainContent input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), #ohMainContent select, #ohMainContent textarea, .wtf-sheet input, .wtf-sheet select, .wtf-sheet textarea { font-size: 16px !important; min-height: 44px; }
}

/* Mobile top bar */
.wtf-topbar { position: fixed; top: 0; left: 0; right: 0; height: var(--wtf-topbar-h); display: flex; align-items: center; gap: 4px; padding: 0 8px; background: var(--wtf-surface); border-bottom: 1px solid var(--wtf-border); z-index: var(--wtf-z-topbar); padding-top: env(safe-area-inset-top, 0px); }
.wtf-topbar__btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--wtf-radius-md); color: var(--wtf-text-2); position: relative; }
.wtf-topbar__btn:hover { background: var(--primary-50, var(--primary-100)); }
.wtf-topbar__titlewrap { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.wtf-topbar__back { font-size: .75rem; font-weight: 500; color: var(--wtf-text-muted); display: inline-flex; align-items: center; gap: 2px; line-height: 1.2; }
.wtf-topbar__title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; color: var(--wtf-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25; }
.wtf-badge { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9999px; background: var(--wtf-danger); color: #fff; font-size: .625rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.wtf-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* Bottom tab bar */
.wtf-tabbar { position: fixed; left: 0; right: 0; bottom: 0; height: calc(var(--wtf-tabbar-h) + var(--wtf-safe-bottom)); padding-bottom: var(--wtf-safe-bottom); display: flex; background: var(--wtf-surface); border-top: 1px solid var(--wtf-border); z-index: var(--wtf-z-topbar); }
.wtf-tabbar__item { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: var(--wtf-tabbar-h); color: var(--wtf-text-muted); font-size: .6875rem; font-weight: 500; position: relative; text-decoration: none; }
.wtf-tabbar__item .material-symbols-outlined { font-size: 24px; }
.wtf-tabbar__item--active { color: var(--primary-600); }
.wtf-tabbar__item--active .material-symbols-outlined { font-variation-settings: 'FILL' 1; }
.wtf-tabbar__item .wtf-badge { top: 4px; right: calc(50% - 20px); }

/* Drawer (the sidebar under lg) and scrim */
.wtf-drawer-scrim { position: fixed; inset: 0; background: rgba(26, 24, 54, .45); z-index: var(--wtf-z-scrim); opacity: 0; pointer-events: none; transition: opacity .2s var(--wtf-ease); }
body.wtf-drawer-open .wtf-drawer-scrim { opacity: 1; pointer-events: auto; }
@media (max-width: 1023.98px) {
  body.wtf-drawer-open { overflow: hidden; }
}

/* Sheet (mobile) / modal (desktop) */
.wtf-sheet-scrim { position: fixed; inset: 0; background: rgba(26, 24, 54, .45); z-index: calc(var(--wtf-z-sheet) - 1); }
.wtf-sheet { position: fixed; z-index: var(--wtf-z-sheet); background: var(--wtf-surface); color: var(--wtf-text); display: flex; flex-direction: column; box-shadow: var(--wtf-shadow-sheet); }
@media (max-width: 1023.98px) {
  .wtf-sheet { left: 0; right: 0; bottom: 0; max-height: 92dvh; border-radius: var(--wtf-radius-xl) var(--wtf-radius-xl) 0 0; padding-bottom: var(--wtf-safe-bottom); animation: wtf-sheet-up .22s var(--wtf-ease); }
  .wtf-sheet::before { content: ""; width: 40px; height: 4px; border-radius: 2px; background: var(--wtf-border-strong); margin: 8px auto 0; }
}
@media (min-width: 1024px) {
  .wtf-sheet { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(640px, calc(100vw - 48px)); max-height: 88vh; border-radius: var(--wtf-radius-lg); border: 1px solid var(--wtf-border); }
  .wtf-sheet--wide { width: min(960px, calc(100vw - 48px)); }
}
@keyframes wtf-sheet-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.wtf-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--wtf-border); }
.wtf-sheet__title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.wtf-sheet__body { overflow: auto; padding: 16px; flex: 1 1 auto; -webkit-overflow-scrolling: touch; }
.wtf-sheet__foot { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--wtf-border); background: var(--wtf-surface); }
.wtf-sheet__foot .wtf-btn { flex: 1 1 0; }
@media (prefers-reduced-motion: reduce) { .wtf-sheet, .wtf-drawer-scrim, .wtf-btn { animation: none; transition: none; } }

/* Tables */
.wtf-table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--wtf-radius-md); }
.wtf-table-scroll > table { min-width: 640px; }
.wtf-table-scroll::after { content: ""; position: sticky; right: 0; top: 0; display: block; width: 0; }
.wtf-table-scroll.has-overflow { mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); }
.wtf-table-scroll th:first-child, .wtf-table-scroll td:first-child { position: sticky; left: 0; background: var(--wtf-surface); z-index: 1; }

/* Row cards: a generic list table rendered as cards under lg */
@media (max-width: 1023.98px) {
  .wtf-rowcards table, .wtf-rowcards tbody, .wtf-rowcards tr { display: block; width: 100%; }
  .wtf-rowcards thead { display: none; }
  .wtf-rowcards tr { background: var(--wtf-surface); border: 1px solid var(--wtf-border); border-radius: var(--wtf-radius-lg); box-shadow: var(--wtf-shadow-card); padding: 12px 14px; margin-bottom: 10px; display: grid; grid-template-columns: auto 1fr auto; column-gap: 10px; align-items: start; }
  .wtf-rowcards td { display: block; border: 0 !important; padding: 2px 0 !important; min-height: 0; width: auto !important; max-width: none !important; }
  .wtf-rowcards td.wtf-rc-check { grid-column: 1; grid-row: 1 / span 3; padding-top: 4px !important; }
  .wtf-rowcards td.wtf-rc-title { grid-column: 2; font-size: 1rem; font-weight: 600; color: var(--wtf-text); }
  .wtf-rowcards td.wtf-rc-title a { color: inherit; }
  .wtf-rowcards td.wtf-rc-sub { grid-column: 2; font-size: .875rem; color: var(--wtf-text-2); }
  .wtf-rowcards td.wtf-rc-sub::before { content: attr(data-label) ": "; color: var(--wtf-text-muted); }
  .wtf-rowcards td.wtf-rc-more { grid-column: 2; display: none; }
  .wtf-rowcards tr.is-expanded td.wtf-rc-more { display: block; font-size: .875rem; color: var(--wtf-text-2); }
  .wtf-rowcards tr.is-expanded td.wtf-rc-more::before { content: attr(data-label) ": "; color: var(--wtf-text-muted); }
  .wtf-rowcards td.wtf-rc-actions { grid-column: 3; grid-row: 1 / span 3; padding: 0 !important; }
  .wtf-rowcards td.wtf-rc-actions > * { display: none; }
  .wtf-rowcards td.wtf-rc-actions > .wtf-rc-more-btn { display: inline-flex; }
  /* Card cells never paint their own fill (the desktop sticky first column and
     .stickyleft cells are opaque): a tinted row — selected, or meetings' inline
     background — would show white boxes behind the checkbox and title. */
  .wtf-rowcards td.wtf-rc-check, .wtf-rowcards td.wtf-rc-title, .wtf-rowcards td.wtf-rc-title .truncate, .wtf-rowcards td.wtf-rc-actions { position: static; background: transparent; }
  /* Title columns that nest a desktop table row (recruitment, stages, interviews:
     .oh-sticky-table__tr) grew to the viewport inside the card and were cut off
     mid-letter by the title's .truncate; let them flow and wrap on the card. */
  .wtf-rowcards td.wtf-rc-title .oh-sticky-table__tr { display: block; width: auto; min-width: 0; }
  .wtf-rowcards td.wtf-rc-title .oh-sticky-table__tr > .d-flex { min-width: 0; }
  .wtf-rowcards td.wtf-rc-title .oh-permission-table__user { white-space: normal; overflow-wrap: anywhere; }
  .wtf-rowcards .wtf-rc-expand { grid-column: 2; font-size: .75rem; color: var(--primary-600); font-weight: 500; padding: 4px 0; background: none; border: 0; text-align: left; }
  /* Dark: the desktop sticky-column cells keep dark.css's grey fill
     (.stickyleft / .stickyleft-second) and its !important #bbb text; on a
     card the text sits directly on the card surface and reads the tokens. */
  body.dark .wtf-rowcards td.wtf-rc-title, body.dark .wtf-rowcards td.wtf-rc-check, body.dark .wtf-rowcards td.wtf-rc-actions { background: transparent; }
  body.dark .wtf-rowcards td.wtf-rc-title, body.dark .wtf-rowcards td.wtf-rc-title .truncate { background: transparent; color: var(--wtf-text) !important; }
  body.dark .wtf-rowcards td.wtf-rc-sub, body.dark .wtf-rowcards td.wtf-rc-sub .truncate, body.dark .wtf-rowcards tr.is-expanded td.wtf-rc-more { background: transparent; color: var(--wtf-text-2) !important; }
  body.dark .wtf-rowcards td.wtf-rc-sub::before, body.dark .wtf-rowcards tr.is-expanded td.wtf-rc-more::before { color: var(--wtf-text-muted); }
}

/* Skeleton + empty */
.wtf-skeleton { background: linear-gradient(90deg, var(--wtf-surface-2) 25%, var(--wtf-border) 37%, var(--wtf-surface-2) 63%); background-size: 400% 100%; animation: wtf-shimmer 1.4s ease infinite; border-radius: var(--wtf-radius-sm); min-height: 12px; }
@keyframes wtf-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.wtf-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 32px 16px; color: var(--wtf-text-muted); }
.wtf-empty img, .wtf-empty svg { max-height: 120px; }
.wtf-empty__title { font-size: 1rem; font-weight: 600; color: var(--wtf-text); }

/* Quick-access tile (dashboards) */
.wtf-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .75rem; font-weight: 500; color: var(--wtf-text-2); text-align: center; text-decoration: none; min-height: 44px; }
.wtf-tile .wtf-icon-well { width: 44px; height: 44px; }
.wtf-tile:hover .wtf-icon-well { background: var(--primary-200); }

/* Select2 + datepicker widgets (consumed by generic forms) */
.select2-container { width: 100% !important; }
/* select2 hides the native <select> with `width: 1px !important`, but
   `.w-100 { width: 100% !important }` on the same element wins (and
   `.myform select { transition }` animates it); the absolutely-positioned
   select then resolves 100% against the viewport and widens the page at
   every width. Element+class beats `.w-100`. */
select.select2-hidden-accessible { width: 1px !important; transition: none !important; }
.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple { min-height: 44px; border: 1px solid var(--wtf-border); border-radius: var(--wtf-radius-md); background: var(--wtf-surface); }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; color: var(--wtf-text); font-size: 1rem; padding-left: 12px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
@media (min-width: 1024px) {
  .select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple { min-height: 40px; }
  .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 38px; font-size: .875rem; }
  .select2-container--default .select2-selection--single .select2-selection__arrow { height: 38px; }
}
.select2-container--default.select2-container--focus .select2-selection--multiple, .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--primary-600); box-shadow: 0 0 0 3px var(--primary-100); }
.select2-dropdown { border: 1px solid var(--wtf-border); border-radius: var(--wtf-radius-md); box-shadow: var(--wtf-shadow-raised); background: var(--wtf-surface); color: var(--wtf-text); overflow: hidden; }
.select2-container--default .select2-results__option { min-height: 40px; display: flex; align-items: center; padding: 0 12px; font-size: 1rem; }
@media (min-width: 1024px) { .select2-container--default .select2-results__option { min-height: 36px; font-size: .875rem; } }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--primary-600); color: #fff; }
.select2-container--default .select2-search--dropdown .select2-search__field { border: 1px solid var(--wtf-border); border-radius: var(--wtf-radius-sm); min-height: 40px; font-size: 16px; }

/* Shell layout (consumed by index.html in Task 2) */
@media (max-width: 1023.98px) {
  body.wtf-shell { overflow: auto !important; background: var(--wtf-ground); }
  body.wtf-shell .oh-main-content { height: auto !important; overflow: visible !important; margin-left: 0 !important; }
  body.wtf-shell #ohMainContent { padding: calc(var(--wtf-topbar-h) + env(safe-area-inset-top, 0px) + 12px) var(--wtf-gutter) calc(var(--wtf-tabbar-h) + var(--wtf-safe-bottom) + 16px) !important; }
  body.wtf-shell #header, body.wtf-shell #fabContainer, body.wtf-shell .fab-container { display: none !important; }
  body.wtf-shell .wtf-topbar .check { display: inline-flex !important; }
  body.wtf-shell.wtf-drawer-open, body.wtf-shell.wtf-sheet-open { overflow: hidden !important; }
  /* The document scrolls (no inner scroller), so content wider than the screen would
     widen the layout viewport and stretch the fixed bars. Clip at the content column;
     clip (unlike auto) is not a scroll container, so position: sticky keeps working. */
  body.wtf-shell .oh-main-content { overflow-x: clip !important; max-width: 100vw; }
  body.wtf-shell #sidebar { transform: translateX(-100%); transition: transform .22s var(--wtf-ease); width: min(85vw, 320px) !important; box-shadow: none; }
  body.wtf-shell.wtf-drawer-open #sidebar { transform: none; box-shadow: var(--wtf-shadow-raised); }
  [dir="rtl"] body.wtf-shell #sidebar { transform: translateX(100%); }
}
@media (min-width: 1024px) {
  body.wtf-shell { background: var(--wtf-ground); }
  body.wtf-shell .wtf-topbar, body.wtf-shell .wtf-tabbar, body.wtf-shell .wtf-drawer-scrim { display: none; }
}

/* Compat overrides: !important here only beats an upstream/template !important (DESIGN.md). */
@media (max-width: 1023.98px) {
  /* horilla_list_table.html tints the selected row's sticky first cell with !important; cards tint the whole row. */
  .wtf-rowcards tbody tr.highlight-selected td:first-child { background: transparent !important; }
}
