
  .kpi-cutoff-note {
    margin: 8px 0 12px;
    color: var(--soft);
    font-size: 12px;
    line-height: 1.5;
  }
  /* ==================================================================== */
  /* CONTENT CMS v14 — « Studio ink & cart yellow »                        */
  /* Identité STUDIO DJEMPOL : encre studio + jaune panier, Space Grotesk  */
  /* pour les chiffres de production, Instrument Sans pour le texte.       */
  /* Signature : le tick jaune (titre de page, navigation, objectifs).     */
  /* ==================================================================== */

  :root {
    color-scheme: light;
    /* Encres */
    --ink: #191a1e;
    --ink-2: #3d424d;
    --soft: #646a78;
    --faint: #9aa0ac;
    /* Surfaces */
    --canvas: #f3f3f0;
    --surface: #ffffff;
    --surface-2: #f7f7f5;
    --line: #e5e5e1;
    --line-strong: #d2d3cd;
    /* Signature — jaune panier */
    --brand: #f5b301;
    --brand-deep: #dfa300;
    --brand-text: #8a6100;
    --brand-soft: #fdf3d7;
    --brand-line: #f0d382;
    --focus: 0 0 0 3px rgba(245, 179, 1, .24);
    --on-brand: #1a1400;
    /* Sémantique */
    --ok: #188a52;      --ok-bg: #e5f4ec;      --ok-line: #bfe3cf;
    --warn: #b4690e;    --warn-bg: #fcf1dd;    --warn-line: #f0d9ae;
    --bad: #c63b3f;     --bad-bg: #fbe9e9;     --bad-line: #f0c4c5;
    --info: #2e63c9;    --info-bg: #e9f0fc;    --info-line: #c4d5f2;
    /* Compatibilité des anciens composants : « violet » suit désormais la
       couleur de marque afin d'éviter un tableau de bord arc-en-ciel. */
    --violet: var(--brand-deep);  --violet-bg: var(--brand-soft);  --violet-line: var(--brand-line);
    /* Barre latérale — encre studio */
    --side-bg: #141419;
    --side-line: #26262e;
    --side-text: #b7bac4;
    --side-dim: #8f96a4;
    /* Typographie */
    --font-display: "Space Grotesk", "Instrument Sans", system-ui, sans-serif;
    --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    /* Géométrie */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --sidebar-width: 272px;
    --topbar-height: 66px;
    --shadow-1: 0 1px 2px rgba(20, 20, 25, .06);
    --shadow-2: 0 10px 30px rgba(20, 20, 25, .10);
    --shadow-3: 0 24px 60px rgba(20, 20, 25, .18);
    /* Stable Design System aliases used by newer workflow components. */
    --border: var(--line);
    --shadow-sm: var(--shadow-1);
    --shadow-md: var(--shadow-2);
    --muted: var(--soft);
    --text-soft: var(--soft);
    --text: var(--ink);
    --danger: var(--bad);
    --danger-bg: var(--bad-bg);
    --danger-line: var(--bad-line);
    --green: var(--ok);
    --success: var(--ok);
    --surface-soft: var(--surface-2);
    --semantic-ok-fg: #0e6b3d;
    --semantic-warn-fg: #854b08;
    --semantic-bad-fg: #9d2e33;
    --semantic-info-fg: #214fa8;
  }

  [data-theme="dark"] {
    color-scheme: dark;
    --ink: #ecedf0;
    --ink-2: #c6c9d2;
    --soft: #9ba0ac;
    --faint: #6b707c;
    --canvas: #101014;
    --surface: #17181d;
    --surface-2: #1d1e24;
    --line: #272931;
    --line-strong: #34363f;
    --brand-soft: #2c2405;
    --brand-line: #70570b;
    --ok: #3dbb7d;      --ok-bg: #0f2b1e;      --ok-line: #1d5138;
    --warn: #e0a33e;    --warn-bg: #2c2005;    --warn-line: #5c430e;
    --bad: #e46f72;     --bad-bg: #2c1213;     --bad-line: #5c2426;
    --info: #7aa3ee;    --info-bg: #131f38;    --info-line: #26406e;
    --violet: var(--brand);  --violet-bg: var(--brand-soft);  --violet-line: var(--brand-line);
    --side-bg: #0c0c10;
    --side-line: #202027;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-2: 0 10px 30px rgba(0, 0, 0, .45);
    --shadow-3: 0 24px 60px rgba(0, 0, 0, .6);
    --semantic-ok-fg: #72d6a6;
    --semantic-warn-fg: #f2bb60;
    --semantic-bad-fg: #f09093;
    --semantic-info-fg: #9bb9f3;
  }

  /* ------------------------------------------------------------------ */
  /* Base                                                                */
  /* ------------------------------------------------------------------ */
  * { box-sizing: border-box; }
  html { min-height: 100%; background: var(--canvas); }
  body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.015em; }
  button, input, select, textarea { font: inherit; color: inherit; }
  button { cursor: pointer; touch-action: manipulation; }
  input, select, textarea { touch-action: auto; }
  button:disabled { cursor: not-allowed; opacity: .55; }
  a { color: inherit; }
  .hidden { display: none !important; }
  .muted { color: var(--soft); }
  .text-danger { color: var(--bad); }
  .text-success { color: var(--ok) !important; }
  .text-warning { color: var(--warn) !important; }
  :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
  ::selection { background: var(--brand); color: var(--on-brand); }

  .sr-only {
    position: absolute !important;
    width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important;
    overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important; border: 0 !important;
  }
  .skip-link {
    position: fixed; z-index: 2000; left: 12px; top: -80px;
    padding: 10px 14px;
    color: var(--on-brand); background: var(--brand);
    border-radius: var(--r-sm); font-weight: 700;
    transition: top .2s ease;
  }
  .skip-link:focus { top: 12px; }

  /* ------------------------------------------------------------------ */
  /* Marque — carré encre, lettres jaunes, tick de production            */
  /* ------------------------------------------------------------------ */
  .boot-mark, .brand-mark {
    position: relative;
    display: grid; place-items: center;
    width: 54px; height: 54px;
    color: var(--brand);
    background: #141419;
    border: 1px solid #26262e;
    border-radius: 14px;
    font-family: var(--font-display);
    font-weight: 700; font-size: 15px; letter-spacing: .04em;
  }
  .boot-mark::after, .brand-mark::after {
    content: "";
    position: absolute; left: 12px; bottom: 8px;
    width: 16px; height: 3px;
    background: var(--brand); border-radius: 2px;
  }
  .brand-mark.small { width: 42px; height: 42px; border-radius: 11px; font-size: 12px; }
  .brand-mark.small::after { left: 9px; bottom: 6px; width: 13px; }

  .boot-screen {
    position: fixed; inset: 0; z-index: 1500;
    display: grid; place-content: center;
    grid-template-columns: auto auto; gap: 16px; align-items: center;
    color: #ecedf0; background: #101014;
  }
  .boot-screen > div:last-child { display: grid; gap: 3px; }
  .boot-screen strong { font-family: var(--font-display); font-size: 16px; }
  .boot-screen span { color: #9ba0ac; font-size: 13px; }
  .boot-mark { animation: bootPulse 1.4s ease-in-out infinite; }
  @keyframes bootPulse { 50% { border-color: var(--brand); } }

  /* ------------------------------------------------------------------ */
  /* Connexion — écran encre, carte claire                               */
  /* ------------------------------------------------------------------ */
  .auth-orb { display: none; }
  .auth-view {
    position: relative;
    min-height: 100vh;
    display: grid; place-items: center;
    padding: 42px 20px;
    background: #101014;
  }
  .auth-view::before {
    /* Trame de production discrète, comme un planning heure par heure. */
    content: "";
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(245, 179, 1, .05) 1px, transparent 1px);
    background-size: 100% 56px;
    pointer-events: none;
  }
  .auth-card {
    position: relative; z-index: 1;
    width: min(100%, 460px);
    padding: 38px 36px 30px;
    color: #191a1e;
    background: #ffffff;
    border: 1px solid #e5e5e1;
    border-radius: var(--r-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  }
  .auth-card.compact { width: min(100%, 440px); }
  .auth-brand {
    display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
    padding-bottom: 24px; margin-bottom: 24px;
    border-bottom: 1px solid #e5e5e1;
  }
  .auth-brand h1 { margin: 2px 0 0; font-size: 26px; line-height: 1.1; color: #191a1e; }
  .auth-brand p { margin: 6px 0 0; color: #646a78; font-size: 13.5px; }
  .eyebrow {
    color: #b48300;
    font-family: var(--font-display);
    font-size: 11px; font-weight: 700; letter-spacing: .18em;
  }
  .auth-card label { color: #3d424d; }
  .auth-card input {
    color: #191a1e; background: #ffffff; border-color: #d2d3cd;
  }
  .auth-help { margin: 20px 0 0; color: #646a78; font-size: 13px; }
  .auth-version {
    margin: 26px 0 -12px; text-align: center;
    color: #9aa0ac;
    font-family: var(--font-display);
    font-size: 11px; letter-spacing: .12em;
  }
  .inline-alert {
    margin: -4px 0 20px; padding: 11px 13px;
    color: #a12f33; background: #fbe9e9;
    border: 1px solid #f0c4c5; border-radius: var(--r-sm);
    font-weight: 600; font-size: 13.5px;
  }

  /* ------------------------------------------------------------------ */
  /* Formulaires                                                         */
  /* ------------------------------------------------------------------ */
  .form-stack { display: grid; gap: 16px; }
  label { display: grid; gap: 6px; color: var(--ink-2); font-weight: 600; font-size: 13px; }
  input, select, textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  input:focus, select:focus, textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(245, 179, 1, .25);
  }
  textarea { min-height: 96px; resize: vertical; }
  input[type="checkbox"], input[type="radio"] {
    width: 17px; min-height: 17px; height: 17px; padding: 0;
    accent-color: var(--brand);
  }
  input[type="color"] { height: 42px; padding: 4px; }
  .password-field { position: relative; display: grid; }
  .password-field input { padding-right: 92px; }
  .password-toggle {
    position: absolute; right: 6px; top: 6px;
    height: 30px; padding: 0 11px;
    color: #191a1e; background: #f1f1ee;
    border: 0; border-radius: 6px;
    font-size: 12px; font-weight: 700;
  }
  .field-help { color: var(--soft); font-size: 11.5px; font-weight: 500; }
  .field-error { color: var(--bad); font-size: 11.5px; font-weight: 700; }
  .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 16px; }
  .form-grid .full { grid-column: 1 / -1; }
  .form-section-title {
    grid-column: 1 / -1; padding-top: 4px;
    color: var(--ink); font-family: var(--font-display);
    font-size: 13px; font-weight: 700;
  }
  .checkbox-row { display: flex; gap: 9px; align-items: flex-start; font-weight: 500; }
  .checkbox-row input { margin-top: 2px; flex: 0 0 auto; }
  .checkbox-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 6px; }
  .multi-check { position: relative; }
  .multi-check-toggle {
    width: 100%; min-height: 45px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 13px;
    color: var(--ink); background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--r-sm);
    text-align: left; font: inherit; font-weight: 600; cursor: pointer;
  }
  .multi-check-toggle.open { border-color: var(--brand); box-shadow: var(--focus); }
  .multi-check-toggle svg { transition: transform .16s ease; }
  .multi-check-toggle.open svg { transform: rotate(90deg); }
  .multi-check-panel {
    max-height: 260px; margin-top: 6px; padding: 7px;
    overflow-y: auto;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-sm); box-shadow: var(--shadow-md);
  }
  .multi-check-option {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: 7px; cursor: pointer;
  }
  .multi-check-option:hover { background: var(--surface-2); }
  .multi-check-option input { width: 18px; height: 18px; min-height: 18px; }
  .coverage-cart-detail {
    display: flex; flex-wrap: wrap; gap: 8px 16px;
    margin-top: 6px; color: var(--soft); font-size: 11.5px;
  }
  .coverage-cart-detail strong { color: var(--ink-2); font-family: var(--font-display); }

  /* ------------------------------------------------------------------ */
  /* Boutons                                                             */
  /* ------------------------------------------------------------------ */
  .button, .icon-button, .language-button, .profile-button {
    min-height: 40px;
    padding: 0 15px;
    color: var(--ink-2);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    font-weight: 650;
    font-size: 13.5px;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
  }
  .button:hover:not(:disabled), .icon-button:hover:not(:disabled),
  .language-button:hover, .profile-button:hover {
    border-color: var(--faint);
    background: var(--surface-2);
  }
  .button:active:not(:disabled), .icon-action:active { transform: scale(.97); }
  .button.primary {
    color: var(--on-brand);
    background: var(--brand);
    border-color: var(--brand);
    font-weight: 700;
  }
  .button.primary:hover:not(:disabled) {
    color: var(--on-brand);
    background: var(--brand-deep);
    border-color: var(--brand-deep);
  }
  .button.success { color: #fff; background: var(--ok); border-color: var(--ok); }
  .button.success:hover:not(:disabled) { color: #fff; background: var(--ok); filter: brightness(1.1); }
  .button.warning { color: #fff; background: var(--warn); border-color: var(--warn); }
  .button.danger, .button.primary.danger, #modalSaveButton.danger {
    color: #fff; background: var(--bad); border-color: var(--bad);
  }
  .button.danger:hover:not(:disabled), .button.primary.danger:hover:not(:disabled) {
    color: #fff; background: var(--bad); filter: brightness(1.1);
  }
  .button.soft-danger { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-line); }
  .button.ghost { background: transparent; border-color: transparent; }
  .button.ghost:hover:not(:disabled) { background: var(--surface-2); border-color: transparent; }
  .button.small { min-height: 32px; padding: 0 10px; border-radius: 7px; font-size: 12.5px; }
  .button.wide { width: 100%; }
  .button.logout {
    color: #e46f72; background: rgba(198, 59, 63, .12);
    border-color: rgba(198, 59, 63, .3);
  }
  .button.with-icon svg { vertical-align: -3px; margin-right: 3px; }
  .button[aria-busy="true"] {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    cursor: wait; opacity: .9;
  }
  .button-spinner {
    width: 15px; height: 15px; flex: 0 0 15px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: mutationSpin .68s linear infinite;
  }
  .icon-button { position: relative; width: 40px; padding: 0; display: inline-grid; place-items: center; }
  .icon-button svg { vertical-align: middle; }

  .icon-action {
    width: 32px; height: 32px;
    display: inline-grid; place-items: center;
    color: var(--soft);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 7px;
    cursor: pointer;
    transition: color .15s, border-color .15s, background .15s, transform .1s;
  }
  .icon-action:hover {
    color: var(--ink);
    border-color: var(--brand);
    background: var(--brand-soft);
  }
  .icon-action.danger:hover { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-line); }
  .icon-action.warning:hover { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }

  .link-button {
    padding: 0; background: none; border: 0;
    color: var(--info); font-size: 12px; font-weight: 700; cursor: pointer;
  }

  /* ------------------------------------------------------------------ */
  /* Coquille : barre latérale encre                                     */
  /* ------------------------------------------------------------------ */
  .app-shell { min-height: 100vh; }
  .sidebar {
    position: fixed; z-index: 500;
    left: 0; top: 0; bottom: 0;
    width: var(--sidebar-width);
    display: flex; flex-direction: column;
    color: var(--side-text);
    background: var(--side-bg);
    border-right: 1px solid var(--side-line);
    overflow-y: auto;
  }
  .sidebar-brand {
    display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
    padding: 20px 18px 14px;
  }
  .sidebar-brand strong, .sidebar-brand span { display: block; }
  .sidebar-brand strong {
    color: #fff; font-family: var(--font-display); font-size: 15px; letter-spacing: -.01em;
  }
  .sidebar-brand span {
    color: var(--side-dim);
    font-family: var(--font-display);
    font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  }
  .sidebar .icon-button {
    color: var(--side-text);
    background: transparent;
    border-color: var(--side-line);
  }
  .workspace-pill { display: none; }
  #mainNav { flex: 1; padding: 2px 12px 18px; }
  .nav-group-label {
    padding: 18px 12px 6px;
    color: var(--side-dim);
    font-family: var(--font-display);
    font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  }
  .nav-item {
    position: relative;
    width: 100%;
    display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center;
    min-height: 42px;
    margin: 2px 0;
    padding: 0 12px;
    color: var(--side-text);
    text-align: left;
    background: transparent;
    border: 0; border-radius: var(--r-sm);
    font-weight: 600; font-size: 13.5px; letter-spacing: .01em;
    transition: background .15s, color .15s;
  }
  .nav-item:hover { color: #fff; background: rgba(255, 255, 255, .06); }
  .nav-item.active { color: #fff; background: rgba(255, 255, 255, .08); }
  .nav-item.active::before {
    content: "";
    position: absolute; left: -12px; top: 50%;
    transform: translateY(-50%);
    width: 3px; height: 18px;
    background: var(--brand);
    border-radius: 0 3px 3px 0;
  }
  .nav-icon {
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 18px; text-align: center;
    color: var(--side-dim);
    background: rgba(255,255,255,.025);
    transition: color .15s, background .15s, border-color .15s, transform .15s;
  }
  .nav-icon svg { display: block; margin: 0 auto; width: 18px; height: 18px; }
  .nav-item:hover .nav-icon {
    color: #fff;
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.08);
    transform: translateY(-1px);
  }
  .nav-item.active .nav-icon {
    color: #17181d;
    background: var(--brand);
    border-color: color-mix(in srgb, var(--brand) 80%, #fff);
    box-shadow: 0 5px 16px rgba(246,183,0,.22);
  }

  .sidebar-footer {
    position: sticky; bottom: 0;
    padding: 15px 16px 12px;
    background: var(--side-bg);
    border-top: 1px solid var(--side-line);
  }
  .sidebar-footer > small {
    display: block; margin-top: 9px;
    color: var(--side-dim); text-align: center;
    font-family: var(--font-display); font-size: 10px; letter-spacing: .08em;
  }
  .user-mini {
    display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center;
    margin-bottom: 11px;
  }
  .user-mini strong, .user-mini small { display: block; }
  .user-mini strong { color: #fff; font-size: 13.5px; }
  .user-mini small { color: var(--side-dim); font-size: 11.5px; }
  .avatar {
    display: inline-grid; place-items: center;
    width: 38px; height: 38px; flex: 0 0 38px;
    color: var(--on-brand);
    background: var(--brand);
    border-radius: 10px;
    font-family: var(--font-display); font-weight: 700; font-size: 14px;
  }

  /* ------------------------------------------------------------------ */
  /* Barre du haut                                                       */
  /* ------------------------------------------------------------------ */
  .main-column { min-height: 100vh; margin-left: var(--sidebar-width); }
  .topbar {
    position: sticky; z-index: 300; top: 0;
    min-height: var(--topbar-height);
    display: grid;
    grid-template-columns: minmax(160px, 240px) minmax(240px, 1fr) auto;
    gap: 16px; align-items: center;
    padding: 10px 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }
  .topbar-title strong, .topbar-title small { display: block; }
  .topbar-title strong { font-family: var(--font-display); font-size: 16px; }
  .topbar-title small { color: var(--soft); font-size: 11px; }
  .global-search { position: relative; max-width: 680px; }
  .global-search input {
    min-height: 42px; padding-left: 16px; padding-right: 88px;
    background: var(--surface-2);
    border-color: var(--line);
  }
  .global-search i {
    position: absolute; right: 14px; top: 50%;
    transform: translateY(-50%);
    display: grid;
    color: var(--soft); font-style: normal;
  }
  .topbar-actions { display: flex; gap: 8px; align-items: center; }
  .notification-center { position: relative; }
  .notification-button .badge {
    position: absolute; top: -5px; right: -5px;
    min-width: 18px; height: 18px;
    display: grid; place-items: center;
    padding: 0 4px;
    color: var(--on-brand);
    background: var(--brand);
    border: 2px solid var(--surface);
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 10px; font-weight: 700;
  }
  .notification-popover {
    position: absolute; z-index: 90; top: calc(100% + 12px); right: -72px;
    width: min(390px, calc(100vw - 28px)); overflow: hidden;
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .2), 0 3px 12px rgba(15, 23, 42, .08);
    transform-origin: top right; animation: notificationIn .16s ease-out;
  }
  @keyframes notificationIn { from { opacity: 0; transform: translateY(-5px) scale(.98); } }
  .notification-popover-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 17px 12px; border-bottom: 1px solid var(--line);
  }
  .notification-popover-head strong { font-family: var(--font-display); font-size: 15px; }
  .notification-popover-head button {
    min-height: auto; padding: 0; border: 0; color: var(--brand);
    background: transparent; font-size: 11.5px; font-weight: 700;
  }
  .notification-preview-list { max-height: 430px; overflow: auto; }
  .notification-preview {
    width: 100%; display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 11px;
    min-height: auto; padding: 13px 17px; text-align: left; border: 0;
    border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
  }
  .notification-preview:hover { background: var(--surface-2); }
  .notification-preview-dot {
    width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft);
  }
  .notification-preview strong, .notification-preview small,
  .notification-preview time { display: block; }
  .notification-preview strong { color: var(--ink); font-family: var(--font-display); font-size: 13px; }
  .notification-preview small {
    margin-top: 3px; overflow: hidden; color: var(--soft); font-size: 12px;
    line-height: 1.4; text-overflow: ellipsis; white-space: nowrap;
  }
  .notification-preview time { margin-top: 5px; color: var(--faint); font-size: 10.5px; }
  .notification-preview-empty {
    display: grid; place-items: center; gap: 8px; padding: 34px 18px;
    color: var(--soft); font-size: 12.5px;
  }
  .notification-preview-empty svg { color: var(--green); }
  .notification-view-all {
    width: 100%; min-height: 43px; border: 0; border-radius: 0;
    color: var(--ink); background: var(--surface); font-weight: 700; font-size: 12px;
  }
  .notification-view-all:hover { color: var(--brand); background: var(--surface-2); }
  .language-button { min-width: 48px; padding: 0 12px; font-family: var(--font-display); letter-spacing: .06em; }
  .profile-button { display: flex; align-items: center; gap: 9px; padding: 3px 12px 3px 4px; }
  .profile-button .avatar { width: 32px; height: 32px; flex-basis: 32px; border-radius: 8px; font-size: 12px; }

  .content { padding: 28px 30px 60px; }
  #pageRoot { max-width: 1560px; margin: 0 auto; animation: pageIn .22s ease; }
  @keyframes pageIn { from { opacity: 0; transform: translateY(5px); } }

  /* ------------------------------------------------------------------ */
  /* Tête de page — le tick signature                                    */
  /* ------------------------------------------------------------------ */
  .page-head {
    display: flex; gap: 20px; align-items: flex-start; justify-content: space-between;
    margin-bottom: 24px;
  }
  .page-head h1 {
    position: relative;
    margin: 0; padding-bottom: 12px;
    font-size: clamp(24px, 3vw, 30px); line-height: 1.1; font-weight: 700;
  }
  .page-head h1::after {
    content: "";
    position: absolute; left: 1px; bottom: 0;
    width: 26px; height: 4px;
    background: var(--brand); border-radius: 2px;
  }
  .page-head p { margin: 10px 0 0; color: var(--soft); font-size: 14px; }
  .page-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
  .dashboard-section-label {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    margin: 22px 2px 10px;
  }
  .dashboard-section-label span { color: var(--ink); font-family: var(--font-display); font-size: 13px; font-weight: 750; }
  .dashboard-section-label small { color: var(--soft); font-size: 10.5px; }

  /* ------------------------------------------------------------------ */
  /* Cartes KPI — chiffres de production en Space Grotesk                */
  /* ------------------------------------------------------------------ */
  .kpi-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px; margin-bottom: 18px;
  }
  .kpi-grid + .kpi-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .kpi-card {
    position: relative;
    min-height: 118px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto;
    gap: 3px 10px;
    padding: 18px 18px 15px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-1);
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  .kpi-card.clickable { cursor: pointer; }
  .kpi-card.clickable:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
  .kpi-card.clickable:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
  .kpi-label {
    align-self: center;
    color: var(--soft);
    font-family: var(--font-display);
    font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  }
  .kpi-value {
    align-self: end;
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -.02em;
  }
  .kpi-note { color: var(--soft); font-size: 11.5px; }
  .kpi-icon {
    grid-column: 2; grid-row: 1 / span 2;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 10px;
  }
  .kpi-icon svg { display: block; }
  .kpi-card.blue .kpi-icon { color: var(--ink-2); background: var(--surface-2); }
  .kpi-card.green .kpi-icon { color: var(--ok); background: var(--ok-bg); }
  .kpi-card.amber .kpi-icon { color: var(--warn); background: var(--warn-bg); }
  .kpi-card.red .kpi-icon { color: var(--bad); background: var(--bad-bg); }
  .kpi-card.violet .kpi-icon { color: var(--violet); background: var(--violet-bg); }

  /* ------------------------------------------------------------------ */
  /* Panneaux et grilles                                                 */
  /* ------------------------------------------------------------------ */
  .layout-grid { display: grid; gap: 16px; margin-bottom: 18px; }
  .layout-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout-grid.sidebar-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 430px); }
  .panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-1);
    overflow: hidden;
    margin-bottom: 16px;
  }
  .layout-grid .panel { margin-bottom: 0; }
  .panel.padded { padding: 22px; }
  .panel.attention { border-left: 3px solid var(--brand); }
  .panel-head {
    display: flex; gap: 16px; align-items: flex-start; justify-content: space-between;
    padding: 18px 20px 12px;
  }
  .panel-head h2, .panel-head h3 { margin: 0; line-height: 1.25; }
  .panel-head h2 { font-size: 17px; }
  .panel-head h3 { font-size: 14.5px; }
  .panel-head h3 svg { vertical-align: -2px; margin-right: 5px; color: var(--soft); }
  .panel-head p { margin: 4px 0 0; color: var(--soft); font-size: 13px; }
  .panel-body { padding: 4px 20px 20px; }
  .panel-body.padded { padding: 20px; }
  .panel-divider { border-top: 1px solid var(--line); }

  /* ------------------------------------------------------------------ */
  /* Tableaux                                                            */
  /* ------------------------------------------------------------------ */
  .table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface);
  }
  .table-pagination {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 13px 4px 2px; color: var(--soft); font-size: 12px;
  }
  .table-pagination label { display: flex; align-items: center; gap: 8px; }
  .table-pagination select { width: auto; min-height: 34px; padding: 5px 28px 5px 9px; }
  .pagination-actions { display: flex; align-items: center; gap: 9px; }
  .pagination-actions strong { min-width: 92px; color: var(--ink-2); text-align: center; font-size: 11.5px; }
  .pagination-actions .icon-button.small { width: 34px; min-width: 34px; height: 34px; min-height: 34px; }
  .posting-filters {
    margin-bottom: 14px; padding: 14px 16px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-1);
  }
  .posting-filter-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
  .posting-filter-title strong { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-size: 12px; }
  .posting-filter-fields { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 10px; }
  .posting-filter-fields label span { display: block; margin-bottom: 5px; color: var(--soft); font-size: 10.5px; font-weight: 700; }
  .posting-filter-fields select, .posting-filter-fields input { min-height: 38px; font-size: 12px; }
  .posting-commandbar {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
    padding: 5px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2);
  }
  .posting-commandbar .tabs { min-width: 0; overflow-x: auto; }
  .posting-density {
    display: inline-flex; align-items: center; gap: 7px; margin-left: 2px;
    padding-left: 10px; border-left: 1px solid var(--line); color: var(--soft);
    font-size: 10.5px; font-weight: 750; white-space: nowrap;
  }
  .posting-density select { width: auto; min-height: 34px; padding: 5px 28px 5px 9px; }
  .smart-filter-panel {
    overflow: hidden; margin-bottom: 14px; border: 1px solid var(--line);
    border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-1);
  }
  .smart-filter-panel > summary {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center;
    min-height: 50px; padding: 10px 14px; list-style: none; cursor: pointer; background: var(--surface);
  }
  .smart-filter-panel > summary::-webkit-details-marker { display: none; }
  .smart-filter-panel > summary:hover { background: var(--surface-2); }
  .smart-filter-panel > summary > span { display: flex; align-items: center; gap: 8px; }
  .smart-filter-panel > summary strong { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; }
  .smart-filter-panel > summary b { min-width: 22px; padding: 3px 6px; color: var(--on-brand); background: var(--brand); border-radius: 999px; font-size: 9px; text-align: center; }
  .smart-filter-panel > summary small { overflow: hidden; color: var(--soft); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
  .smart-filter-panel > summary > svg { color: var(--faint); transition: transform .16s ease; }
  .smart-filter-panel[open] > summary { border-bottom: 1px solid var(--line); background: var(--surface-2); }
  .smart-filter-panel[open] > summary > svg { transform: rotate(90deg); }
  .smart-filter-panel .posting-filters { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .smart-filter-panel.embedded { margin: 0 0 14px; box-shadow: none; }
  table { width: 100%; border-collapse: collapse; font-size: 13px; }
  th, td {
    padding: 11px 14px;
    text-align: left; vertical-align: middle;
    border-bottom: 1px solid var(--line);
  }
  th {
    color: var(--soft);
    background: var(--surface-2);
    font-family: var(--font-display);
    font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    white-space: nowrap;
  }
  td { font-variant-numeric: tabular-nums; }
  tbody tr:last-child td { border-bottom: 0; }
  tbody tr:hover { background: var(--surface-2); }
  td.actions { min-width: 180px; }
  .row-actions { display: flex; flex-wrap: nowrap; gap: 6px; align-items: center; }
  .cell-primary { display: block; font-weight: 650; }
  .cell-secondary { display: block; color: var(--soft); font-size: 11.5px; }
  .cell-link { color: var(--info); text-decoration: none; font-weight: 650; }
  .cell-link:hover { text-decoration: underline; }
  .draft-link { margin-left: 6px; color: var(--info); vertical-align: -2px; }
  .draft-link:hover { color: var(--brand-deep); }
  .posting-file-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 3px; }
  .posting-file-link {
    display: inline-flex; align-items: center; gap: 5px; width: fit-content;
    padding: 4px 7px; color: var(--info); background: var(--info-bg);
    border: 1px solid var(--info-line);
    border-radius: 7px; font-size: 10.5px; font-weight: 700; text-decoration: none;
  }
  .posting-file-link.public { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
  .posting-file-link.draft-text {
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-soft);
    cursor: default;
  }
  .posting-file-link.draft-text strong { color: var(--text); }
  .posting-file-link:hover { filter: brightness(.94); transform: translateY(-1px); }
  .posting-file-link.draft-text:hover { transform: none; }

  /* ------------------------------------------------------------------ */
  /* Badges de statut                                                    */
  /* ------------------------------------------------------------------ */
  .badge {
    display: inline-block;
    padding: 3px 9px;
    color: var(--ink-2);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 11.5px; font-weight: 650; letter-spacing: .01em;
    white-space: nowrap;
  }
  .badge.green { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
  .badge.amber { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
  .badge.red { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-line); }
  .badge.blue { color: var(--info); background: var(--info-bg); border-color: var(--info-line); }
  .badge.violet { color: var(--violet); background: var(--violet-bg); border-color: var(--violet-line); }

  .platform-dot {
    display: inline-block;
    width: 10px; height: 10px;
    margin-right: 3px; vertical-align: -1px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--line);
  }

  /* ------------------------------------------------------------------ */
  /* États vides, métriques, progression                                 */
  /* ------------------------------------------------------------------ */
  .empty-state {
    min-height: 200px;
    display: grid; place-items: center; align-content: center; gap: 8px;
    padding: 30px;
    color: var(--soft); text-align: center;
    border: 1px dashed var(--line-strong);
    border-radius: var(--r-sm);
  }
  .empty-state strong { color: var(--ink-2); font-family: var(--font-display); font-size: 16px; }
  .empty-icon { color: var(--faint); }
  .empty-icon svg { display: block; }

  .metric-list { display: grid; gap: 8px; }
  .metric-line {
    display: flex; gap: 12px; justify-content: space-between; align-items: center;
    padding: 10px 12px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    font-size: 13px;
  }
  .metric-line span { color: var(--soft); }
  .metric-line strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
  }
  .notif-unread { background: var(--brand-soft); border-color: var(--brand); }
  .notification-page-item { cursor: pointer; transition: background .16s ease, transform .16s ease; }
  .notification-page-item:hover { background: var(--surface-2); transform: translateY(-1px); }
  .revision-count { min-height: 24px; padding: 2px 7px; cursor: pointer; }
  .revision-history-inline {
    padding: 14px; background: var(--surface-2); border: 1px solid var(--line);
    border-radius: var(--r-md);
  }
  .revision-timeline { display: grid; gap: 0; margin-top: 10px; }
  .revision-event { position: relative; display: grid; grid-template-columns: 12px 1fr; gap: 10px; padding-bottom: 16px; }
  .revision-event:not(:last-child)::before {
    content: ""; position: absolute; left: 4px; top: 10px; bottom: 0;
    width: 1px; background: var(--line-strong);
  }
  .revision-event-dot { position: relative; z-index: 1; width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; background: var(--brand); }
  .revision-event strong, .revision-event time { display: block; }
  .revision-event strong { font-size: 12.5px; }
  .revision-event time { margin-top: 2px; color: var(--faint); font-size: 10.5px; }
  .revision-event p { margin: 5px 0 0; color: var(--soft); font-size: 12px; }
  .report-filter { margin-bottom: 18px; }
  .report-filter-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
  .report-filter-head strong { font-family: var(--font-display); }
  .report-filter-head span { color: var(--soft); font-size: 12px; }
  .report-date-fields { display: flex; gap: 12px; margin-top: 14px; }
  .report-dimension-filters {
    display: grid; grid-template-columns: repeat(5, minmax(130px, 1fr));
    align-items: end; gap: 10px; margin-top: 14px; padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  .report-dimension-filters label { display: grid; gap: 5px; }
  .report-dimension-filters label > span { color: var(--soft); font-size: 10px; font-weight: 750; }
  .report-dimension-filters .button { align-self: end; }
  .report-date-fields label { flex: 1; }
  .report-date-fields label span { display: block; margin-bottom: 5px; color: var(--soft); font-size: 11px; font-weight: 700; }

  .progress-meta {
    display: flex; justify-content: space-between; gap: 12px;
    margin: 0 0 6px;
    color: var(--soft); font-size: 12.5px;
  }
  .progress-meta strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
  }
  .progress-track {
    height: 7px; overflow: hidden;
    background: var(--line);
    border-radius: 999px;
  }
  .progress-bar {
    height: 100%;
    background: var(--ink-2);
    border-radius: inherit;
    transition: width .3s ease;
  }
  .progress-bar.green { background: var(--ok); }

  /* Comparatif opérationnel : publié au premier plan, objectif en repère.
     Une seule couleur de marque, le vert étant réservé à l'objectif atteint. */
  .performance-chart { min-width: 0; margin: 0; }
  .performance-chart-legend {
    display: flex; align-items: center; justify-content: flex-end; gap: 14px;
    min-height: 28px; padding: 0 4px; color: var(--soft); font-size: 10px;
  }
  .performance-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
  .performance-chart-legend i { display: inline-block; width: 14px; height: 6px; border-radius: 3px; }
  .performance-chart-legend i.published { background: var(--brand); }
  .performance-chart-legend i.planned { height: 0; border-top: 1px dashed var(--ink-2); border-radius: 0; }
  .bar-chart {
    min-height: 205px;
    display: flex; gap: 8px; align-items: flex-end;
    padding: 8px 6px 6px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
  }
  .bar-column {
    min-width: 34px; flex: 1;
    display: grid; grid-template-rows: 156px auto auto; gap: 5px;
    align-items: end; text-align: center;
  }
  .bar-zone {
    position: relative; height: 156px;
    display: flex; align-items: flex-end; justify-content: center;
    border-bottom: 1px solid var(--line);
    background: repeating-linear-gradient(to top, transparent 0 38px,
      color-mix(in srgb, var(--line) 62%, transparent) 38px 39px);
  }
  .bar-goal {
    position: absolute; z-index: 1; right: 8%; left: 8%;
    border-top: 1px dashed var(--ink-2); transform: translateY(50%);
    pointer-events: none;
  }
  .bar-fill {
    width: min(34px, 62%); min-height: 0;
    background: var(--brand);
    border-radius: 5px 5px 1px 1px;
    transition: height .18s cubic-bezier(.2, .8, .2, 1);
  }
  .bar-fill.green { background: var(--ok); }
  .bar-fill.empty { height: 0 !important; }
  .bar-values { display: flex; align-items: baseline; justify-content: center; gap: 3px; min-height: 17px; }
  .bar-values strong {
    color: var(--ink); font-family: var(--font-display);
    font-size: 12px; font-variant-numeric: tabular-nums;
  }
  .bar-values small { color: var(--soft); font-size: 9px; }
  .bar-date { min-height: 15px; color: var(--soft); font-size: 10px; }

  .distribution-list { display: grid; gap: 10px; }
  .distribution-row {
    display: grid; grid-template-columns: minmax(90px, 1fr) 3fr auto;
    gap: 12px; align-items: center; font-size: 13px;
  }
  .distribution-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .distribution-row strong { font-family: var(--font-display); font-variant-numeric: tabular-nums; }
  .mini-track { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
  .mini-fill { height: 100%; min-width: 3px; background: var(--ink-2); border-radius: inherit; }

  .quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

  /* ------------------------------------------------------------------ */
  /* Calendrier                                                          */
  /* ------------------------------------------------------------------ */
  .calendar-grid {
    display: grid; grid-template-columns: repeat(7, minmax(112px, 1fr));
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
  }
  .calendar-head {
    padding: 9px;
    color: var(--soft); background: var(--surface-2);
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-align: center;
    text-transform: uppercase;
  }
  .calendar-day {
    min-height: 128px; padding: 8px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .calendar-day:nth-child(7n) { border-right: 0; }
  .calendar-day.muted { background: var(--surface-2); color: var(--faint); }
  .calendar-day.today { box-shadow: inset 0 0 0 2px var(--brand); }
  .calendar-day.today .calendar-date { color: var(--brand-deep); }
  .calendar-date {
    display: flex; justify-content: space-between; margin-bottom: 6px;
    font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  }
  .calendar-item {
    display: block; width: 100%;
    margin: 4px 0; padding: 5px 7px;
    color: var(--ink-2);
    text-align: left;
    background: var(--surface-2);
    border: 0; border-left: 3px solid var(--faint);
    border-radius: 5px;
    font-size: 10.5px;
    overflow: hidden;
    cursor: pointer;
  }
  .calendar-item span, .calendar-item strong, .calendar-item small { display: block; }
  .calendar-item span { margin-bottom: 2px; font-size: 9px; opacity: .8; }
  .calendar-item strong { overflow: hidden; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
  .calendar-item small { margin-top: 2px; overflow: hidden; font-size: 8.5px; opacity: .78; text-overflow: ellipsis; white-space: nowrap; }
  .calendar-more {
    min-height: auto; padding: 3px 0; color: var(--info); background: transparent;
    border: 0; font-size: 10px; font-weight: 700;
  }
  .calendar-summary {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px;
  }
  .calendar-summary span {
    display: inline-flex; align-items: baseline; gap: 5px; padding: 8px 11px;
    color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
    border-radius: 9px; font-size: 11px;
  }
  .calendar-summary strong { font-family: var(--font-display); font-size: 15px; }
  .calendar-summary .green strong { color: var(--ok); }
  .calendar-summary .amber strong { color: var(--warn); }
  .calendar-modebar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    margin-bottom: 12px; padding: 12px 14px;
    border: 1px solid var(--line); border-radius: var(--r-lg);
    background: linear-gradient(135deg, color-mix(in srgb, var(--info) 6%, var(--surface)), var(--surface));
    box-shadow: var(--shadow-1);
  }
  .calendar-modebar > div:first-child { display: grid; gap: 2px; }
  .calendar-modebar > div:first-child strong { font: 800 16px/1.2 var(--font-display); text-transform: capitalize; }
  .calendar-modebar .tabs { padding: 3px; background: color-mix(in srgb, var(--ink) 5%, var(--surface)); }
  .calendar-modebar .tab { display: inline-flex; align-items: center; gap: 6px; }
  .calendar-summary.modern {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  }
  .calendar-summary.modern span {
    display: grid; gap: 4px; min-height: 70px; padding: 12px 14px;
    background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-1);
  }
  .calendar-summary.modern small {
    color: var(--soft); font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  }
  .calendar-summary.modern strong { font-size: 23px; line-height: 1; }
  .calendar-summary.modern .blue { background: var(--info-bg); border-color: var(--info-line); }
  .calendar-summary.modern .blue strong { color: var(--info); }
  .calendar-month-panel .panel-body { padding: 14px; }
  .calendar-month-panel { overflow: hidden; }
  .calendar-date b { font: inherit; }
  .calendar-date em {
    padding: 2px 5px; color: var(--info); background: var(--info-bg);
    border: 1px solid var(--info-line); border-radius: 999px;
    font-size: 8px; font-style: normal; font-weight: 800;
  }
  .calendar-day { transition: background .14s ease, box-shadow .14s ease; }
  .calendar-day:hover { background: color-mix(in srgb, var(--info) 3%, var(--surface)); }
  .calendar-filters .posting-filter-title { margin-bottom: 10px; }
  .calendar-item.green { color: var(--ok); background: var(--ok-bg); border-left-color: var(--ok); }
  .calendar-item.amber { color: var(--warn); background: var(--warn-bg); border-left-color: var(--warn); }
  .calendar-item.red { color: var(--bad); background: var(--bad-bg); border-left-color: var(--bad); }
  .calendar-item.blue { color: var(--info); background: var(--info-bg); border-left-color: var(--info); }
  .calendar-item.violet { color: var(--violet); background: var(--violet-bg); border-left-color: var(--violet); }

  /* ------------------------------------------------------------------ */
  /* Kanban                                                              */
  /* ------------------------------------------------------------------ */
  .kanban {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: minmax(228px, 1fr);
    gap: 12px; padding-bottom: 8px;
    overflow-x: auto;
  }
  .kanban-col {
    display: grid; align-content: start; gap: 8px;
    min-height: 260px; padding: 10px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
  }
  .kanban-head {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 2px 2px 5px;
  }
  .kanban-count {
    color: var(--soft);
    font-family: var(--font-display); font-variant-numeric: tabular-nums;
    font-size: 12px; font-weight: 700;
  }
  .kanban-card {
    display: grid; gap: 3px;
    padding: 10px 12px;
    text-align: left;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-1);
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, transform .1s;
  }
  .kanban-card:hover { transform: translateY(-1px); border-color: var(--line-strong); box-shadow: var(--shadow-2); }
  .kanban-card strong { font-size: 13px; line-height: 1.3; }
  .kanban-card small { color: var(--faint); font-size: 11px; }
  .kanban-empty { color: var(--faint); text-align: center; padding: 18px 0; }

  /* ------------------------------------------------------------------ */
  /* Onglets                                                             */
  /* ------------------------------------------------------------------ */
  .tabs {
    display: flex; gap: 4px;
    padding: 4px;
    background: var(--line);
    border-radius: var(--r-sm);
    flex-wrap: wrap;
  }
  .tab {
    min-height: 32px; padding: 0 12px;
    color: var(--soft);
    background: transparent;
    border: 0; border-radius: 6px;
    font-weight: 650; font-size: 12.5px;
    transition: background .15s, color .15s;
  }
  .tab:hover { color: var(--ink); }
  .tab.active { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-1); }

  /* ------------------------------------------------------------------ */
  /* Bannières, définitions, assistant                                   */
  /* ------------------------------------------------------------------ */
  .info-banner, .warning-banner, .danger-banner {
    display: flex; gap: 12px; align-items: flex-start;
    margin-bottom: 16px; padding: 12px 14px;
    border-radius: var(--r-sm);
    font-size: 13px;
  }
  .info-banner { color: var(--info); background: var(--info-bg); border: 1px solid var(--info-line); }
  .warning-banner { color: var(--warn); background: var(--warn-bg); border: 1px solid var(--warn-line); }
  .danger-banner { color: var(--bad); background: var(--bad-bg); border: 1px solid var(--bad-line); }

  .definition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .definition {
    padding: 12px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
  }
  .definition span, .definition strong { display: block; }
  .definition span { color: var(--soft); font-size: 11px; }
  .code-value { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; word-break: break-all; }

  .wizard-step {
    display: flex; gap: 8px; align-items: center;
    margin-bottom: 14px; padding: 9px 12px;
    color: var(--ink-2);
    background: var(--brand-soft);
    border: 1px solid var(--brand);
    border-radius: var(--r-sm);
    font-size: 13px; font-weight: 600;
  }
  .wizard-step strong {
    padding: 1px 8px;
    color: var(--on-brand); background: var(--brand);
    border-radius: 6px;
    font-family: var(--font-display); font-size: 12px;
  }

  /* ------------------------------------------------------------------ */
  /* Commentaires                                                        */
  /* ------------------------------------------------------------------ */
  .comment-thread { display: grid; gap: 10px; max-height: 300px; margin-bottom: 16px; overflow-y: auto; }
  .comment-item {
    padding: 10px 12px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
  }
  .comment-item.internal { background: var(--warn-bg); border-color: var(--warn-line); }
  .comment-item p { margin: 6px 0 0; font-size: 13px; white-space: pre-wrap; }
  .comment-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: var(--soft); }
  .comment-meta strong { color: var(--ink); font-size: 12.5px; }

  /* ------------------------------------------------------------------ */
  /* Modales                                                             */
  /* ------------------------------------------------------------------ */
  .modal-root {
    position: fixed; z-index: 1000; inset: 0;
    display: grid; place-items: center;
    padding: 24px;
    background: rgba(12, 12, 16, .6);
  }
  .modal {
    width: min(100%, 860px);
    max-height: calc(100vh - 48px);
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-3);
    overflow: hidden;
    animation: modalIn .14s ease-out;
  }
  .modal.small { width: min(100%, 520px); }
  .modal.large { width: min(100%, 1060px); }
  @keyframes modalIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .modal-header {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
  }
  .modal-header h2 { margin: 0; font-size: 18px; }
  .modal-close {
    width: 38px; height: 38px; padding: 0;
    color: var(--soft);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    font-size: 20px; line-height: 1;
  }
  .modal-close:hover { color: var(--ink); border-color: var(--line-strong); }
  .modal-body { padding: 20px 22px; overflow-y: auto; }
  .modal-footer {
    display: flex; gap: 9px; justify-content: flex-end;
    padding: 14px 22px;
    background: var(--surface-2);
    border-top: 1px solid var(--line);
  }
  body.modal-open { overflow: hidden; }

  /* Panneau latéral de lecture — détail rapide sans quitter la liste. */
  .drawer-root {
    position: fixed; z-index: 1100; inset: 0;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  }
  .drawer-backdrop {
    grid-column: 1 / -1; grid-row: 1;
    padding: 0; border: 0;
    background: rgba(12, 12, 16, .46);
    backdrop-filter: blur(3px);
  }
  .posting-drawer {
    position: relative; z-index: 1;
    grid-column: 2; grid-row: 1;
    height: 100vh; overflow-y: auto;
    background: var(--surface);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-3);
    animation: drawerIn .2s cubic-bezier(.2, .9, .3, 1);
  }
  @keyframes drawerIn {
    from { opacity: .5; transform: translateX(28px); }
    to { opacity: 1; transform: none; }
  }
  .posting-drawer > header {
    position: sticky; z-index: 2; top: 0;
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    padding: 22px 22px 18px;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }
  .posting-drawer > header > div { min-width: 0; }
  .posting-drawer > header > div > span:first-child {
    display: block; margin-bottom: 5px;
    color: var(--brand-deep); font-size: 9px; font-weight: 850; letter-spacing: .12em;
  }
  .posting-drawer > header h2 {
    overflow: hidden; margin: 0;
    font-size: 21px; line-height: 1.2; text-overflow: ellipsis;
  }
  .posting-drawer > header p { margin: 7px 0 0; color: var(--soft); font-size: 11px; }
  .posting-drawer-body { display: grid; gap: 18px; padding: 20px 22px 34px; }
  .drawer-status-row { display: flex; flex-wrap: wrap; gap: 6px; }
  .drawer-facts {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
    margin: 0;
  }
  .drawer-facts > div {
    min-width: 0; padding: 12px;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  }
  .drawer-facts dt {
    margin-bottom: 4px; color: var(--soft);
    font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  }
  .drawer-facts dd { overflow-wrap: anywhere; margin: 0; font-size: 12px; font-weight: 700; }
  .posting-drawer-body section { min-width: 0; }
  .posting-drawer-body section h3,
  .drawer-section-title h3 { margin: 0 0 8px; font-size: 12.5px; }
  .drawer-copy, .drawer-note p {
    margin: 0; color: var(--ink-2); font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere;
  }
  .drawer-note {
    padding: 13px 14px; color: var(--warn);
    background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--r-sm);
  }
  .drawer-note h3 { color: var(--warn); }
  .drawer-section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .posting-drawer .revision-timeline { max-height: none; }
  body.drawer-open { overflow: hidden; }

  /* ------------------------------------------------------------------ */
  /* Toasts et occupation                                                */
  /* ------------------------------------------------------------------ */
  .toast-region {
    position: fixed; z-index: 1300;
    right: 18px; bottom: 18px;
    width: min(380px, calc(100vw - 36px));
    display: grid; gap: 9px;
    pointer-events: none;
  }
  .toast {
    padding: 13px 15px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--brand);
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-2);
    font-size: 13.5px; font-weight: 600;
    animation: toastIn .24s cubic-bezier(.2, .9, .3, 1.1);
    transition: opacity .3s;
    pointer-events: auto;
  }
  .toast.success { border-left-color: var(--ok); }
  .toast.error { border-left-color: var(--bad); }
  .toast.warning { border-left-color: var(--warn); }
  .toast strong, .toast span { display: block; }
  .toast span { margin-top: 2px; color: var(--soft); font-size: 12px; font-weight: 500; }
  @keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

  body.is-busy { cursor: progress; }
  body.is-busy::after {
    content: "";
    position: fixed; z-index: 2000; top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
    background-size: 200% 100%;
    animation: busySlide 1s linear infinite;
  }
  @keyframes busySlide { from { background-position: 200% 0; } to { background-position: -200% 0; } }

  /* Retour d'action discret : aucune couche plein écran ni flou pendant le
     travail. Le verrou métier reste porté par le bouton et l'outbox. */
  .modal-root.mutation-suspended {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .16s ease, visibility .16s ease;
  }
  .mutation-feedback {
    position: fixed; z-index: 2200; top: 76px; right: 18px;
    width: min(320px, calc(100vw - 28px));
    display: grid; grid-template-columns: 34px minmax(0, 1fr);
    align-items: center; gap: 9px; padding: 9px 11px;
    color: var(--ink);
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
  }
  .mutation-feedback.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .mutation-feedback.is-visible.is-success { pointer-events: none; }
  .mutation-feedback.is-visible.is-error { pointer-events: auto; cursor: pointer; }
  .mutation-feedback-icon,
  .mutation-feedback-copy {
    position: relative; z-index: 1;
  }
  .mutation-feedback-icon {
    width: 28px; height: 28px;
    display: grid; place-items: center;
    color: #111318;
    background: var(--brand);
    border-radius: 50%;
    font-size: 16px; font-weight: 900;
  }
  .mutation-feedback-copy {
    min-width: 0;
  }
  .mutation-feedback-copy strong,
  .mutation-feedback-copy small { display: block; }
  .mutation-feedback-copy strong { font-size: 13px; line-height: 1.2; }
  .mutation-feedback-copy small {
    margin-top: 3px; color: var(--soft); font-size: 10.5px; font-weight: 600;
  }
  .mutation-spinner {
    width: 22px; height: 22px;
    border: 3px solid rgba(17, 19, 24, .22);
    border-top-color: #111318;
    border-radius: 50%;
    animation: mutationSpin .72s linear infinite;
  }
  .mutation-feedback.is-success .mutation-feedback-icon {
    color: #fff; background: var(--ok);
    animation: mutationResult .22s ease-out;
  }
  .mutation-feedback.is-error .mutation-feedback-icon {
    color: #fff; background: var(--bad);
    animation: mutationResult .22s ease-out;
  }
  @keyframes mutationSpin { to { transform: rotate(360deg); } }
  @keyframes mutationResult {
    from { transform: scale(.72); opacity: .4; }
    to { transform: scale(1); opacity: 1; }
  }
  @media (max-width: 640px) {
    .mutation-feedback {
      top: auto; right: 16px; bottom: max(18px, env(safe-area-inset-bottom));
      grid-template-columns: 40px minmax(0, 1fr);
    }
    .mutation-feedback-icon { width: 32px; height: 32px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .mutation-spinner, .button-spinner { animation-duration: 1.6s; }
    .mutation-feedback, .modal-root.mutation-suspended { transition: none; }
  }

  .fatal-root {
    position: fixed; z-index: 1800; inset: 0;
    display: grid; place-items: center;
    padding: 22px;
    background: rgba(12, 12, 16, .8);
  }
  .fatal-card {
    width: min(100%, 580px); padding: 28px;
    background: var(--surface);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-3);
  }
  .fatal-card h2 { margin-top: 0; }
  .fatal-card pre {
    overflow: auto; padding: 12px;
    background: var(--surface-2);
    border-radius: var(--r-sm);
    font-size: 11px;
  }

  /* ------------------------------------------------------------------ */
  /* Menu des langues                                                    */
  /* ------------------------------------------------------------------ */
  .lang-menu {
    position: fixed; z-index: 1200;
    min-width: 208px; padding: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-2);
    animation: modalIn .15s ease;
  }
  .lang-menu-title {
    padding: 7px 10px 5px;
    color: var(--soft);
    font-family: var(--font-display);
    font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  }
  .lang-option {
    width: 100%;
    display: flex; gap: 10px; align-items: center;
    padding: 8px 10px;
    color: var(--ink-2);
    background: transparent;
    border: 0; border-radius: 6px;
    font-size: 13px; font-weight: 600;
    cursor: pointer; text-align: left;
  }
  .lang-option:hover { background: var(--surface-2); }
  .lang-option.active { color: var(--ink); background: var(--brand-soft); }
  .lang-code {
    min-width: 26px; padding: 2px 0;
    color: var(--soft); background: var(--surface-2);
    border-radius: 5px;
    text-align: center;
    font-family: var(--font-display); font-size: 10px; font-weight: 700;
  }
  .lang-option.active .lang-code { color: var(--on-brand); background: var(--brand); }
  .lang-check { margin-left: auto; color: var(--brand-deep); display: grid; }

  /* ------------------------------------------------------------------ */
  /* Accessibilité et mouvement                                          */
  /* ------------------------------------------------------------------ */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }

  /* ------------------------------------------------------------------ */
  /* Réactivité                                                          */
  /* ------------------------------------------------------------------ */
  .mobile-only { display: none; }
  .mobile-backdrop { display: none; }

  .dashboard-date-control {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
  }
  .dashboard-date-control input[type="date"] {
    width: 148px;
    min-height: 36px;
    padding: 6px 9px;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-weight: 700;
  }
  .dashboard-date-control .icon-button {
    width: 34px;
    min-height: 34px;
    height: 34px;
    padding: 0;
    box-shadow: none;
  }

  .planning-choice-grid { display: grid; gap: 12px; }
  .planning-choice {
    width: 100%; display: grid; grid-template-columns: 44px 1fr; align-items: center;
    gap: 14px; padding: 18px; text-align: left; color: var(--ink);
    border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
    cursor: pointer; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
  }
  .planning-choice:hover:not(:disabled) {
    transform: translateY(-1px); border-color: var(--brand);
    box-shadow: 0 12px 28px rgba(20, 20, 23, .08);
  }
  .planning-choice > svg { color: var(--brand-deep); }
  .planning-choice span { display: grid; gap: 4px; }
  .planning-choice strong { font: 700 15px/1.3 var(--font-body); }
  .planning-choice small { color: var(--muted); font-size: 12px; line-height: 1.45; }
  .planning-choice.secondary { background: var(--surface-soft); }
  .planning-choice:disabled { cursor: not-allowed; opacity: .48; }
  .planning-center-modal { width: min(100%, 1120px); }
  .planning-center-modal .modal-body { padding: 0; background: var(--surface-2); }
  .planning-center-shell { display: grid; gap: 14px; padding: 18px 20px 22px; }
  .planning-center-hero {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 17px 18px; color: var(--ink); border: 1px solid var(--line-strong);
    border-radius: var(--r-lg); background:
      radial-gradient(circle at 88% 0%, color-mix(in srgb, var(--brand) 15%, transparent), transparent 34%),
      linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--surface) 94%, var(--brand) 6%));
    box-shadow: 0 14px 34px rgba(20, 20, 23, .06);
  }
  .planning-center-hero h3 { margin: 4px 0 0; font: 760 18px/1.25 var(--font-display); }
  .planning-center-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
  .planning-center-kpi {
    display: grid; gap: 7px; min-width: 0; padding: 12px 13px; color: var(--ink);
    text-align: left; border: 1px solid var(--line); border-radius: var(--r-md);
    background: var(--surface); box-shadow: 0 5px 15px rgba(20, 20, 23, .035);
  }
  button.planning-center-kpi { cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
  button.planning-center-kpi:hover { transform: translateY(-1px); border-color: var(--line-strong); }
  .planning-center-kpi small { overflow: hidden; color: var(--soft); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
  .planning-center-kpi strong { font: 780 24px/1 var(--font-display); }
  .planning-center-kpi.blue,
  .planning-center-kpi.cyan { background: var(--surface); border-color: var(--line); }
  .planning-center-kpi.amber,
  .planning-center-kpi.violet { background: var(--brand-soft); border-color: var(--brand-line); }
  .planning-center-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .planning-choice.compact { grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); }
  .planning-choice.compact strong { font-size: 12.5px; }
  .planning-choice.compact small { font-size: 10px; }
  .planning-center-tabs {
    display: flex; gap: 4px; padding: 4px; overflow-x: auto;
    border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  }
  .planning-center-tabs .tab { flex: 1 0 auto; justify-content: center; }
  .planning-center-content { display: grid; gap: 9px; }
  .planning-center-empty {
    display: grid; place-items: center; gap: 7px; min-height: 160px; padding: 24px;
    color: var(--soft); text-align: center; border: 1px dashed var(--line-strong);
    border-radius: var(--r-lg); background: var(--surface);
  }
  .planning-center-empty strong { color: var(--ink); font-size: 13px; }
  .planning-center-empty span { max-width: 54ch; font-size: 11px; }
  .planning-center-empty.compact { min-height: 110px; }
  .planning-template-card {
    display: grid; grid-template-columns: minmax(240px, 1.2fr) minmax(250px, .9fr) auto;
    gap: 13px; align-items: center; padding: 13px 14px;
    border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  }
  .planning-template-main { min-width: 0; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
  .planning-template-icon { display: grid; place-items: center; width: 36px; height: 36px; color: var(--brand-deep); border: 1px solid var(--brand-line); border-radius: 10px; background: var(--brand-soft); }
  .planning-template-main > div { min-width: 0; display: grid; gap: 3px; }
  .planning-template-main strong, .planning-template-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .planning-template-main strong { font-size: 12.5px; }
  .planning-template-main small { color: var(--soft); font-size: 10px; }
  .planning-template-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .planning-template-meta span { display: grid; gap: 2px; color: var(--soft); font-size: 8.5px; }
  .planning-template-meta b { overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .planning-template-actions { display: flex; justify-content: flex-end; gap: 6px; }
  .planning-additive-note { display: grid; gap: 3px; margin-bottom: 14px; }
  .planning-additive-note span { color: var(--soft); font-size: 11px; line-height: 1.45; }
  .import-summary {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
    margin: 18px 0 12px;
  }
  .import-summary > div {
    display: grid; gap: 3px; padding: 13px; border: 1px solid var(--line);
    border-radius: var(--r-md); background: var(--surface-soft);
  }
  .import-summary strong { font: 750 22px/1 var(--font-display); }
  .import-summary span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
  .mapping-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
  .mapping-grid section {
    max-height: 320px; overflow: auto; padding: 14px; border: 1px solid var(--line);
    border-radius: var(--r-md); background: var(--surface-soft);
  }
  .mapping-grid h4 { margin: 0 0 12px; font-size: 13px; }
  .mapping-grid label { display: grid; gap: 5px; margin-bottom: 10px; }
  .mapping-grid label span { color: var(--muted); font-size: 12px; font-weight: 650; }
  .success-banner {
    padding: 12px 14px; color: var(--ok); background: var(--ok-bg);
    border: 1px solid rgba(16, 145, 90, .22); border-radius: var(--r-md); font-size: 13px;
  }
  .command-center {
    position: relative; isolation: isolate; overflow: hidden; border-color: var(--line-strong);
    background:
      radial-gradient(circle at 92% 0%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 25%),
      linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, var(--brand) 4%), var(--surface));
  }
  .command-center::after {
    position: absolute; z-index: -1; inset: 0; content: ""; pointer-events: none; opacity: .26;
    background-image: linear-gradient(color-mix(in srgb, var(--line) 54%, transparent) 1px, transparent 1px),
      linear-gradient(90deg, color-mix(in srgb, var(--line) 54%, transparent) 1px, transparent 1px);
    background-size: 32px 32px; mask-image: linear-gradient(to bottom, #000, transparent 54%);
  }
  .command-center .panel-head { align-items: flex-start; border-bottom-color: color-mix(in srgb, var(--brand) 18%, var(--line)); }
  .command-title small { display: block; margin-top: 5px; color: var(--soft); font-size: 11px; }
  .command-date-status { display: flex; align-items: center; gap: 7px; }
  .date-context { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 9.5px; }
  .date-context.past { color: #647085; background: color-mix(in srgb, #647085 9%, var(--surface)); }
  .date-context.today { color: var(--brand-deep); background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
  .date-context.future { color: var(--info); background: var(--info-bg); border-color: var(--info-line); }
  .eyebrow { color: var(--brand-deep); font-size: 10px; font-weight: 800; letter-spacing: .11em; }
  .command-center h3 { margin-top: 4px; }
  .command-stat-grid {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
  }
  .operations-brief {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    margin-bottom: 12px; padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
    border-radius: var(--r-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 7%, var(--surface)), var(--surface));
    box-shadow: inset 3px 0 0 var(--brand), var(--shadow-sm);
  }
  .operations-brief > div { display: grid; gap: 4px; min-width: 0; }
  .operations-brief span { color: var(--soft); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
  .operations-brief strong { color: var(--ink); font: 780 25px/1.15 var(--font-display); }
  .operations-brief small { color: var(--soft); font-size: 12px; }
  .operations-state { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; }
  .operations-state.blue { color: var(--info); background: var(--info-bg); border-color: var(--info-line); }
  .operations-state.amber { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
  .operations-state.red { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-line); }
  .operations-state.green { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
  .operations-funnel {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch; gap: 7px; margin-bottom: 12px; padding: 9px;
    overflow-x: auto;
    border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-soft);
  }
  .funnel-step {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    gap: 10px; min-width: 0; padding: 10px 12px; color: var(--ink);
    text-align: left; border: 1px solid var(--line); border-radius: var(--r-sm);
    background: var(--surface); cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
  }
  .funnel-step:hover { background: var(--surface-2); border-color: var(--line-strong); }
  .funnel-step span { overflow: hidden; color: var(--soft); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .funnel-step strong { font: 760 20px/1 var(--font-display); }
  .funnel-step.blue strong { color: var(--ink); }
  .funnel-step.violet strong { color: var(--brand-deep); }
  .funnel-step.green strong { color: var(--ok); }
  .funnel-arrow { display: none; }
  .operations-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .operations-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 9px; color: var(--soft); font-size: 9px; }
  .operations-legend > span { display: inline-flex; align-items: center; gap: 5px; }
  .legend-dot { width: 7px; height: 7px; border-radius: 50%; }
  .legend-dot.blue { background: var(--faint); }
  .legend-dot.violet { background: var(--brand); }
  .legend-dot.green { background: var(--ok); }
  .legend-dot.amber { background: var(--warn); }
  .legend-dot.red { background: var(--bad); }
  .operations-quality { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 7px; color: var(--soft); font-size: 10px; }
  .operations-quality b { color: var(--ink); }
  .command-stat {
    position: relative; display: grid; gap: 8px; min-width: 0; min-height: 102px; padding: 14px;
    overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-2);
  }
  .command-stat::before { position: absolute; inset: 0 auto 0 0; width: 3px; content: ""; background: currentColor; opacity: .8; }
  .command-stat span { display: flex; align-items: center; gap: 6px; color: var(--soft); font-size: 11px; }
  .command-stat strong { font: 750 24px/1 var(--font-display); color: var(--ink); }
  .command-stat small { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--soft); font-size: 9.5px; }
  .command-stat.actionable {
    width: 100%; color: inherit; font: inherit; text-align: left; appearance: none; cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
  }
  .command-stat.actionable:hover {
    z-index: 1; transform: none; border-color: var(--line-strong);
    box-shadow: var(--shadow-1); filter: none;
  }
  .command-stat.actionable:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 28%, transparent); outline-offset: 2px; }
  .command-stat.red { background: var(--bad-bg); border-color: var(--bad-line); }
  .command-stat.amber { background: var(--brand-soft); border-color: var(--brand-line); }
  .command-stat.green { background: var(--ok-bg); border-color: var(--ok-line); }
  .command-stat.violet { background: var(--brand-soft); border-color: var(--brand-line); }
  .command-stat.blue { background: var(--surface-2); border-color: var(--line); }
  .command-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
  .command-columns h4 { margin: 0 0 10px; font-size: 13px; }
  .section-heading-with-count { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
  .section-heading-with-count h4 { margin: 0; }
  .section-heading-with-count > span { padding: 5px 8px; color: var(--soft); border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); font-size: 10px; font-weight: 750; }
  .section-heading-with-count > span.red { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-line); }
  .section-heading-with-count > span.amber { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
  .section-heading-with-count > span.green { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
  .coverage-summary-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
  .coverage-summary-pills span { padding: 4px 8px; border-radius: 999px; font-size: 9.5px; font-weight: 750; }
  .coverage-summary-pills .green { color: var(--ok); background: var(--ok-bg); }
  .coverage-summary-pills .amber { color: var(--warn); background: var(--warn-bg); }
  .scrollable-metrics { max-height: 338px; padding-right: 4px; overflow: auto; scrollbar-width: thin; }
  .scrollable-metrics.compact { gap: 5px; }
  .scrollable-metrics.compact .metric-line { min-height: 48px; padding: 7px 10px; }
  .command-link { width: 100%; border: 0; cursor: pointer; text-align: left; background: transparent; }
  .command-link:hover { background: var(--surface-2); }
  .command-link span { display: grid; gap: 2px; }
  .command-link small { color: var(--soft); }
  .command-link b { color: var(--bad); font-size: 12px; }
  .link-deadline-list .metric-line { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .link-deadline {
    justify-self: end; padding: 5px 8px; border: 1px solid var(--line);
    border-radius: 999px; white-space: nowrap; font-size: 10px !important;
  }
  .link-deadline.available { color: var(--ok) !important; background: var(--ok-bg); border-color: var(--ok-line); }
  .link-deadline.due-soon { color: var(--warn) !important; background: var(--warn-bg); border-color: var(--warn-line); }
  .link-deadline.overdue { color: var(--bad) !important; background: var(--bad-bg); border-color: var(--bad-line); }
  .product-progress { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: center; gap: 10px; }
  .product-progress span b { color: var(--ink); font-size: 12px; }
  .product-progress > strong { max-width: 260px; text-align: right; }
  .product-progress > svg { color: var(--faint); }
  .product-progress-copy { display: grid !important; gap: 7px !important; min-width: 0; }
  .product-progress-copy > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .product-progress-track { display: block; overflow: hidden; height: 5px; background: var(--line); border-radius: 999px; }
  .product-progress-track > i { display: block; height: 100%; background: var(--brand); border-radius: inherit; }
  .product-progress.future .product-progress-track > i { background: var(--info); }
  .product-state { justify-self: start; width: max-content; padding: 2px 5px; border-radius: 999px; font-size: 8.5px; font-weight: 750; }
  .product-state.blue { color: var(--info); background: var(--info-bg); }
  .product-state.green { color: var(--ok); background: var(--ok-bg); }
  .product-state.amber { color: var(--warn); background: var(--warn-bg); }
  .product-state.red { color: var(--bad); background: var(--bad-bg); }

  .coverage-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
  .coverage-filter-tabs { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); }
  .coverage-filter-tab {
    display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 5px 8px;
    color: var(--soft); border: 0; border-radius: 999px; background: transparent; font-size: 9.5px; cursor: pointer;
  }
  .coverage-filter-tab b { min-width: 17px; padding: 2px 5px; color: var(--soft); background: var(--surface-2); border-radius: 999px; font-size: 8.5px; text-align: center; }
  .coverage-filter-tab.active { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); }
  .coverage-filter-tab.active b { color: var(--brand-deep); background: var(--brand-soft); }
  .compact-toggle {
    display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 5px 8px;
    color: var(--soft); border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 9.5px; cursor: pointer;
  }
  .compact-toggle.active { color: var(--brand-deep); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); background: var(--brand-soft); }

  .coverage-overview {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px;
    padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
    border-radius: var(--r-md); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 6%, var(--surface)), var(--surface));
  }
  .coverage-overview > div:first-child { display: grid; gap: 2px; }
  .coverage-overview > div:first-child span { color: var(--soft); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
  .coverage-overview > div:first-child strong { font: 800 24px/1 var(--font-display); }
  .coverage-summary { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
  .coverage-chip { padding: 5px 8px; border-radius: 999px; font-size: 9.5px; white-space: nowrap; }
  .coverage-chip.red { color: var(--bad); background: var(--bad-bg); }
  .coverage-chip.amber { color: var(--warn); background: var(--warn-bg); }
  .coverage-chip.green { color: var(--ok); background: var(--ok-bg); }
  .coverage-list-full { display: grid; gap: 9px; max-height: 615px; padding-right: 4px; overflow: auto; scrollbar-width: thin; }
  .coverage-list-full.compact { gap: 5px; }
  .coverage-list-full.compact .coverage-item { gap: 6px; padding: 9px 10px; }
  .coverage-list-full.compact .coverage-cart-detail, .coverage-list-full.compact .coverage-open { display: none; }
  .coverage-list-full.compact .progress-track { height: 5px; }
  .coverage-item {
    display: grid; gap: 8px; width: 100%; padding: 12px; color: var(--ink); text-align: left;
    border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
    cursor: pointer; transition: transform .14s ease, border-color .14s ease, background .14s ease;
  }
  .coverage-item:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--brand) 38%, var(--line)); background: var(--surface-soft); }
  .coverage-item.missing { border-left: 3px solid var(--bad); }
  .coverage-item.progress { border-left: 3px solid var(--warn); }
  .coverage-item.complete { border-left: 3px solid var(--ok); }
  .coverage-item .progress-meta span:first-child { display: flex; align-items: baseline; gap: 4px; min-width: 0; }
  .coverage-item .progress-meta small { overflow: hidden; color: var(--soft); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .coverage-status { display: grid; justify-items: end; gap: 3px; color: var(--soft); font-size: 10px; font-weight: 700; text-align: right; }
  .coverage-status em { font-style: normal; }
  .coverage-state { width: max-content; padding: 2px 5px; border-radius: 999px; font-size: 8.5px; }
  .coverage-state.missing { color: var(--bad); background: var(--bad-bg); }
  .coverage-state.progress { color: var(--warn); background: var(--warn-bg); }
  .coverage-state.complete { color: var(--ok); background: var(--ok-bg); }
  .coverage-open { display: flex; align-items: center; justify-content: flex-end; gap: 4px; color: var(--brand-deep); font-size: 9.5px; font-weight: 750; }
  .posting-filter-alert { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; padding: 9px 11px; color: var(--bad); background: var(--bad-bg); border: 1px solid var(--bad-line); border-radius: var(--r-sm); font-size: 11px; font-weight: 750; }
  .manager-insight-grid {
    display: grid; grid-template-columns: 1.35fr .9fr; gap: 18px; margin-top: 18px;
  }
  .command-details { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-soft); }
  .command-details > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 14px; color: var(--ink); cursor: pointer; list-style: none;
  }
  .command-details > summary::-webkit-details-marker { display: none; }
  .command-details > summary span { display: flex; align-items: center; gap: 8px; }
  .command-details > summary strong { font-size: 12px; }
  .command-details > summary small { color: var(--soft); font-size: 10px; }
  .command-details[open] > summary { border-bottom: 1px solid var(--line); }
  .command-details .manager-insight-grid { margin: 0; padding: 14px; }
  .manager-insight-grid > section {
    min-width: 0; padding: 14px; border: 1px solid var(--line);
    border-radius: var(--r-md); background: var(--surface-soft);
  }
  .insight-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
  .insight-title h4 { margin: 0; font-size: 13px; }
  .insight-title small { color: var(--soft); font-size: 10px; }
  .performance-table { overflow-x: auto; }
  .performance-row {
    display: grid; grid-template-columns: minmax(110px, 1fr) repeat(7, minmax(42px, .45fr));
    align-items: center; gap: 7px; min-width: 560px; padding: 8px 3px;
    border-top: 1px solid var(--line); font-size: 11px;
  }
  .performance-row:first-child { border-top: 0; }
  .performance-row span { overflow: hidden; color: var(--ink); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .performance-row b { color: var(--soft); text-align: center; }
  .performance-head { color: var(--muted); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
  .performance-head span, .performance-head b { color: var(--muted); }
  .missed-days-list { display: grid; gap: 6px; }
  .missed-day {
    display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 9px;
    width: 100%; padding: 8px 10px; color: var(--ink); border: 1px solid var(--bad-line);
    border-radius: var(--r-sm); background: var(--bad-bg); cursor: pointer; text-align: left;
  }
  .missed-day:hover { border-color: var(--bad); }
  .missed-day strong { font-size: 11px; }
  .missed-day small { color: var(--bad); font-size: 10px; }
  .empty-inline { padding: 12px; color: var(--soft); text-align: center; font-size: 12px; }
  .workflow-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
  .workflow-pill { padding: 6px 9px; border-radius: 999px; background: var(--surface-2); color: var(--soft); font-size: 11px; }
  .workflow-pill b { color: var(--ink); }
  .workflow-pill.actionable { cursor: pointer; transition: transform .14s ease, box-shadow .14s ease; }
  .workflow-pill.actionable:hover { transform: translateY(-1px); box-shadow: var(--shadow-1); }
  .workflow-pill.actionable:focus-visible { outline: none; box-shadow: var(--focus); }
  .team-goal-strip { margin-top: 16px; padding: 15px; border: 1px solid var(--line); border-radius: var(--r-md); }
  .team-goal-strip > div:first-child { display: flex; justify-content: space-between; gap: 12px; }
  .team-goal-strip small { color: var(--soft); }
  .automatic-goals { border-color: var(--brand-line); }
  .automatic-goal-note { display: block; margin-top: 12px; color: var(--soft); line-height: 1.5; }
  .legacy-targets {
    padding: 12px 14px; border: 1px dashed var(--line-strong);
    border-radius: var(--r-md); background: var(--surface-soft);
  }
  .legacy-targets summary { color: var(--soft); font-size: 12px; font-weight: 750; cursor: pointer; }
  .legacy-targets[open] summary { margin-bottom: 10px; color: var(--ink); }
  .legacy-targets .form-grid { margin-top: 12px; }
  .progress-track { height: 7px; overflow: hidden; margin: 10px 0; background: var(--line); border-radius: 999px; }
  .progress-track span { display: block; height: 100%; background: var(--brand); border-radius: inherit; }
  .release-guide { display: grid; gap: 14px; }
  .release-guide h3 { margin: 0 0 2px; font-size: 22px; }
  .modal.release-notes-modal { width: min(100%, 480px); }
  .release-notes-modal .modal-header { padding: 15px 18px; }
  .release-notes-modal .modal-body { padding: 17px 18px 14px; }
  .release-notes-modal .modal-footer { padding: 11px 18px; }
  .release-notes-modal .release-guide { gap: 9px; }
  .release-notes-modal .release-guide h3 { font-size: 18px; line-height: 1.25; }
  .release-summary-list {
    display: grid; gap: 8px; margin: 3px 0 0; padding: 0; list-style: none;
  }
  .release-summary-list li {
    position: relative; padding: 9px 10px 9px 30px; color: var(--soft);
    border: 1px solid var(--line); border-radius: 10px;
    background: var(--surface-soft); font-size: 11.5px; line-height: 1.45;
  }
  .release-summary-list li::before {
    position: absolute; left: 10px; top: 10px; content: "✓";
    color: var(--ok); font-weight: 850;
  }
  .release-badge {
    width: max-content; padding: 5px 8px; border-radius: 999px;
    color: var(--on-brand); background: var(--brand); font-size: 10px; font-weight: 850; letter-spacing: .08em;
  }
  .guide-step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: var(--r-md); }
  .guide-step > b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); }
  .guide-step strong { font-size: 13px; }
  .guide-step p { margin: 4px 0 0; color: var(--soft); font-size: 12px; line-height: 1.5; }
  .available-slot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .available-slot {
    position: relative; display: grid; gap: 5px; padding: 0; text-align: left; color: var(--ink);
    border: 1px solid var(--line); border-left: 3px solid var(--brand);
    border-radius: var(--r-md); background: var(--surface); overflow: hidden;
  }
  .available-slot:hover { border-color: var(--brand); background: var(--brand-soft); }
  .available-slot-open {
    display: grid; gap: 5px; width: 100%; padding: 13px 44px 13px 13px;
    color: inherit; border: 0; background: transparent; cursor: pointer; text-align: left;
  }
  .slot-actions { position: absolute; top: 8px; right: 7px; display: grid; gap: 5px; }
  .slot-actions .icon-action { width: 29px; height: 29px; background: var(--surface); }
  .available-slot time { color: var(--brand-deep); font-size: 11px; font-weight: 750; }
  .available-slot strong { font-size: 13px; }
  .available-slot span, .available-slot small { color: var(--soft); font-size: 11px; }

  /* ------------------------------------------------------------------ */
  /* v14.2 — parcours quotidien progressif                              */
  /* ------------------------------------------------------------------ */
  .content { padding: 24px 26px 52px; }
  .page-head { margin-bottom: 18px; }
  .page-head h1 { font-size: clamp(23px, 2.6vw, 28px); }
  .kpi-card { min-height: 106px; padding: 15px 16px 13px; }
  .kpi-value { font-size: 28px; }
  .panel-head { padding: 15px 18px 10px; }
  .panel-body { padding: 4px 18px 17px; }

  .posting-modal { width: min(96vw, 1040px); max-height: calc(100vh - 28px); overflow: hidden; }
  .posting-modal .modal-header { padding: 15px 20px; }
  .posting-modal .modal-body { min-width: 0; padding: 0; overflow-x: hidden; background: var(--surface-2); }
  .posting-modal .modal-footer { position: sticky; bottom: 0; z-index: 3; padding: 12px 20px; }
  .posting-modal #entityForm { width: 100%; min-width: 0; max-width: 100%; gap: 14px; padding: 16px 18px 22px; overflow-x: hidden; }
  .posting-modal #entityForm > *, .posting-modal label,
  .posting-modal input, .posting-modal select, .posting-modal textarea {
    min-width: 0; max-width: 100%;
  }
  .posting-flow {
    width: 100%; min-width: 0; max-width: 100%;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px; padding: 5px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r-md);
  }
  .posting-flow button {
    display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 10px;
    color: var(--soft); background: transparent; border: 0; border-radius: var(--r-sm);
    font: inherit; font-size: 11.5px; font-weight: 700; text-align: left; cursor: pointer;
  }
  .posting-flow button:hover { color: var(--ink); background: var(--surface-2); }
  .posting-flow button.active { color: var(--ink); background: var(--brand-soft); }
  .posting-flow button.done { color: var(--ok); }
  .posting-flow button b {
    display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 23px;
    color: var(--ink); background: var(--surface-2); border-radius: 50%; font-size: 10px;
  }
  .posting-flow button.active b { color: var(--on-brand); background: var(--brand); }
  .posting-flow button.done b { color: var(--on-brand); background: var(--ok); }
  .posting-form-section {
    width: 100%; min-width: 0; max-width: 100%;
    display: grid; gap: 13px; padding: 17px;
    overflow: hidden;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow-1);
  }
  .posting-section-head { display: flex; gap: 11px; align-items: flex-start; }
  .posting-section-head > span {
    display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px;
    color: var(--on-brand); background: var(--brand); border-radius: 9px;
    font-family: var(--font-display); font-size: 12px; font-weight: 800;
  }
  .posting-section-head h3 { margin: 1px 0 3px; font-size: 15px; }
  .posting-section-head p { margin: 0; color: var(--soft); font-size: 11.5px; line-height: 1.45; }
  .posting-assignee { max-width: 320px; }
  .posting-owner-chip {
    display: flex; align-items: center; gap: 11px; padding: 11px 13px;
    color: var(--brand-deep); background: var(--brand-soft);
    border: 1px solid var(--brand-line); border-radius: var(--r-md);
  }
  .posting-owner-chip > span { display: grid; gap: 2px; min-width: 0; flex: 1; }
  .posting-owner-chip small { color: var(--soft); font-size: 10px; }
  .posting-owner-chip strong { overflow: hidden; color: var(--ink); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
  .posting-owner-chip b { padding: 5px 8px; background: var(--surface); border-radius: 999px; font-size: 9.5px; }
  .posting-task-picker { display: grid; gap: 10px; width: 100%; min-width: 0; max-width: 100%; }
  .posting-task-range {
    display: flex; align-items: center; flex-wrap: wrap; gap: 5px; padding: 4px;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px;
  }
  .posting-task-range button {
    min-height: 32px; padding: 6px 11px; color: var(--soft); background: transparent;
    border: 0; border-radius: 8px; font: inherit; font-size: 10.5px; font-weight: 750;
    white-space: nowrap; cursor: pointer;
  }
  .posting-task-range button:hover { color: var(--ink); background: var(--surface); }
  .posting-task-range button.active {
    color: var(--ink); background: var(--surface); box-shadow: var(--shadow-1);
  }
  .posting-task-toolbar {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px;
    width: 100%; min-width: 0;
  }
  .posting-task-toolbar > * { width: 100%; min-width: 0; height: 38px; }
  .posting-task-toolbar input, .posting-task-toolbar select {
    height: 38px; min-height: 38px; padding: 7px 9px; font-size: 10.5px;
  }
  .posting-task-search { position: relative; grid-column: span 2; }
  .posting-task-search > span {
    position: absolute; z-index: 1; left: 10px; top: 50%; display: grid;
    color: var(--soft); pointer-events: none; transform: translateY(-50%);
  }
  .posting-task-search input { padding-left: 31px; }
  .posting-task-workspace {
    display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(240px, .72fr);
    gap: 10px; width: 100%; min-width: 0; max-width: 100%; align-items: start;
  }
  .posting-task-list-wrap {
    min-width: 0; overflow: hidden; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r-md);
  }
  .posting-task-list { max-height: 390px; min-height: 212px; overflow-y: auto; overflow-x: hidden; }
  .posting-task-list-note {
    padding: 8px 11px; color: var(--soft); background: var(--surface-2);
    border-top: 1px solid var(--line); font-size: 9.5px; font-weight: 650;
  }
  .posting-task-day { min-width: 0; }
  .posting-task-day + .posting-task-day { border-top: 1px solid var(--line); }
  .posting-task-day > header {
    position: sticky; z-index: 2; top: 0; display: flex; align-items: center;
    justify-content: space-between; gap: 8px; padding: 7px 10px;
    color: var(--soft); background: color-mix(in srgb, var(--surface-2) 94%, transparent);
    backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
    font-size: 9.5px; font-weight: 800; text-transform: uppercase;
  }
  .posting-task-day > header b {
    min-width: 22px; padding: 2px 6px; color: var(--ink); background: var(--surface);
    border: 1px solid var(--line); border-radius: 999px; text-align: center;
  }
  .posting-task-row {
    width: 100%; min-width: 0; display: grid;
    grid-template-columns: 70px minmax(0, 1fr) minmax(128px, .68fr) 22px;
    align-items: center; gap: 9px; padding: 9px 10px; color: var(--ink);
    background: var(--surface); border: 0; border-bottom: 1px solid var(--line);
    font: inherit; text-align: left; cursor: pointer;
  }
  .posting-task-row:last-child { border-bottom: 0; }
  .posting-task-row:hover { background: var(--surface-2); }
  .posting-task-row.active {
    background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand);
  }
  .posting-task-row time, .posting-task-row-main, .posting-task-row-meta {
    min-width: 0; display: grid; gap: 2px;
  }
  .posting-task-row time strong { color: var(--brand-deep); font-size: 11px; }
  .posting-task-row time small, .posting-task-row-main small,
  .posting-task-row-meta small { overflow: hidden; color: var(--soft); font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
  .posting-task-row-main strong { overflow: hidden; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
  .posting-task-row-meta { justify-items: start; }
  .posting-task-row-meta em {
    max-width: 100%; padding: 3px 6px; overflow: hidden; border-radius: 999px;
    font-size: 8.5px; font-style: normal; font-weight: 800; text-overflow: ellipsis; white-space: nowrap;
  }
  .posting-task-row-meta em.yellow { color: #825500; background: #fff2bf; }
  .posting-task-row-meta em.neutral { color: var(--soft); background: var(--surface-2); border: 1px solid var(--line); }
  .posting-task-check { display: grid; place-items: center; color: var(--soft); }
  .posting-task-row.active .posting-task-check { color: var(--ok); }
  .posting-task-preview {
    min-width: 0; position: sticky; top: 0; display: grid; align-content: start;
    min-height: 212px; padding: 11px; background: var(--surface-2);
    border: 1px solid var(--line); border-radius: var(--r-md);
  }
  .posting-task-preview-empty {
    min-height: 188px; display: grid; place-items: center; align-content: center;
    gap: 6px; padding: 20px; color: var(--soft); text-align: center;
  }
  .posting-task-preview-empty strong { color: var(--ink); font-size: 12px; }
  .posting-task-preview-empty small { max-width: 27ch; font-size: 10px; line-height: 1.45; }
  .posting-free-choice {
    width: 100%; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center; gap: 10px; padding: 10px 12px; color: var(--soft);
    background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-sm);
    font: inherit; text-align: left; cursor: pointer;
  }
  .posting-free-choice:hover, .posting-free-choice.active { color: var(--ink); border-color: var(--brand); background: var(--brand-soft); }
  .posting-free-choice span { min-width: 0; display: grid; gap: 2px; }
  .posting-free-choice strong { color: var(--ink); font-size: 11px; }
  .posting-free-choice small { overflow: hidden; font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
  .posting-task-empty, .posting-free-note, .posting-task-selected.free {
    display: flex; align-items: center; gap: 11px; padding: 12px 13px;
    color: var(--soft); background: var(--surface-2); border: 1px dashed var(--line-strong);
    border-radius: var(--r-sm);
  }
  .posting-task-empty span, .posting-free-note span, .posting-task-selected.free span { display: grid; gap: 2px; }
  .posting-task-empty strong, .posting-free-note strong, .posting-task-selected.free strong { color: var(--ink); font-size: 12px; }
  .posting-task-empty small, .posting-free-note small, .posting-task-selected.free small { font-size: 10.5px; line-height: 1.4; }
  .posting-task-selected {
    display: grid; gap: 12px; padding: 13px 15px;
    background: linear-gradient(135deg, var(--brand-soft), var(--surface));
    border: 1px solid var(--brand-line); border-radius: var(--r-md);
  }
  .posting-task-selected > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .posting-task-selected > div:first-child span { color: var(--brand-deep); font-size: 9.5px; font-weight: 850; letter-spacing: .08em; }
  .posting-task-selected > div:first-child strong { font-size: 12.5px; }
  .posting-task-selected-actions { display: flex; align-items: center; gap: 8px; }
  .posting-task-clear {
    display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px;
    color: var(--soft); background: var(--surface); border: 1px solid var(--line);
    border-radius: 7px; font: inherit; font-size: 10px; font-weight: 750; cursor: pointer;
  }
  .posting-task-clear:hover { color: var(--danger); border-color: var(--danger); }
  .posting-task-selected dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
  .posting-task-selected dl div { min-width: 0; padding: 9px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
  .posting-task-selected dt { color: var(--soft); font-size: 9px; font-weight: 800; text-transform: uppercase; }
  .posting-task-selected dd { margin: 3px 0 0; overflow: hidden; font-size: 11.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .posting-free-fields { display: grid; gap: 12px; }
  .posting-additional-products { display: grid; gap: 9px; }
  .posting-additional-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
  .posting-additional-head span { display: grid; gap: 3px; }
  .posting-additional-head strong { font-size: 12px; }
  .posting-additional-head small { color: var(--soft); font-size: 10px; line-height: 1.4; }
  .posting-additional-head em { padding: 4px 7px; color: var(--soft); background: var(--surface-2); border-radius: 999px; font-size: 9px; font-style: normal; font-weight: 800; text-transform: uppercase; }
  .posting-product-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .posting-product-choice {
    min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 9px 10px; color: var(--soft); background: var(--surface-2);
    border: 1px solid var(--line); border-radius: 9px; cursor: pointer;
  }
  .posting-product-choice:hover, .posting-product-choice.active { color: var(--ink); border-color: var(--brand-line); background: var(--brand-soft); }
  .posting-product-choice input { position: absolute; opacity: 0; pointer-events: none; }
  .posting-product-choice > span { min-width: 0; display: flex; align-items: center; gap: 7px; }
  .posting-product-choice strong { overflow: hidden; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
  .posting-product-choice > svg:last-child { flex: 0 0 auto; opacity: .22; }
  .posting-product-choice.active > svg:last-child { color: var(--ok); opacity: 1; }
  .posting-product-choice-empty { display: flex; align-items: center; gap: 8px; padding: 11px 12px; color: var(--soft); background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: 9px; font-size: 10.5px; }
  .form-grid.compact { gap: 11px 12px; }
  .posting-step-hidden { display: none !important; }
  .posting-step-actions {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: 2px; padding-top: 14px; border-top: 1px solid var(--line);
  }
  .posting-ready-note { display: flex; align-items: center; gap: 7px; color: var(--ok); font-size: 11px; font-weight: 750; }
  .posting-review-summary { display: grid; gap: 13px; }
  .posting-review-hero {
    display: grid; gap: 5px; padding: 15px 16px;
    background: linear-gradient(135deg, var(--brand-soft), var(--surface));
    border: 1px solid var(--brand-line); border-radius: var(--r-md);
  }
  .posting-review-hero span { color: var(--brand-deep); font-size: 9.5px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
  .posting-review-hero strong { font-size: 17px; }
  .posting-review-hero small { max-width: 70ch; overflow: hidden; color: var(--soft); font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
  .posting-review-summary dl {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 0;
  }
  .posting-review-summary dl div { min-width: 0; padding: 11px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); }
  .posting-review-summary dt { color: var(--soft); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
  .posting-review-summary dd { margin: 4px 0 0; overflow: hidden; font-size: 11.5px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }

  /* Review decision — one compact, accessible segmented control. Only the
     selected outcome receives a semantic colour, keeping the surface calm. */
  .modal.review-modal { width: min(100%, 720px); }
  .review-form { gap: 14px; }
  .review-decision-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .review-decision-fieldset legend {
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 700;
  }
  .review-decision-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .review-decision-option {
    position: relative;
    min-width: 0;
    min-height: 46px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    color: var(--soft);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    transition: background .14s ease, border-color .14s ease, box-shadow .14s ease,
      transform .14s ease;
  }
  .review-decision-option:hover {
    color: var(--ink-2);
    background: var(--surface);
    border-color: var(--line-strong);
    transform: translateY(-1px);
  }
  .review-decision-option:has(input:focus-visible) {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
  }
  .review-decision-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: var(--soft);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .review-decision-copy { min-width: 0; display: grid; gap: 2px; }
  .review-decision-copy strong {
    overflow: hidden;
    color: var(--ink);
    font-size: 11px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .review-decision-copy small { display: none; }
  .review-decision-check {
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    color: var(--surface);
    background: var(--ink);
    border-radius: 999px;
    opacity: 0;
    transform: scale(.78);
    transition: opacity .14s ease, transform .14s ease;
  }
  .review-decision-option.is-selected,
  .review-decision-option:has(input:checked) {
    color: var(--ink);
    background: var(--surface);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-1);
  }
  .review-decision-option.is-selected .review-decision-check,
  .review-decision-option:has(input:checked) .review-decision-check {
    opacity: 1;
    transform: scale(1);
  }
  .review-decision-option[data-tone="approved"].is-selected,
  .review-decision-option[data-tone="approved"]:has(input:checked) {
    background: color-mix(in srgb, var(--ok-bg) 58%, var(--surface));
    border-color: var(--ok-line);
  }
  .review-decision-option[data-tone="approved"].is-selected .review-decision-icon,
  .review-decision-option[data-tone="approved"]:has(input:checked) .review-decision-icon {
    color: var(--ok);
    border-color: var(--ok-line);
  }
  .review-decision-option[data-tone="revision"].is-selected,
  .review-decision-option[data-tone="revision"]:has(input:checked) {
    background: color-mix(in srgb, var(--warn-bg) 62%, var(--surface));
    border-color: var(--warn-line);
  }
  .review-decision-option[data-tone="revision"].is-selected .review-decision-icon,
  .review-decision-option[data-tone="revision"]:has(input:checked) .review-decision-icon {
    color: var(--warn);
    border-color: var(--warn-line);
  }
  .review-decision-option[data-tone="rejected"].is-selected,
  .review-decision-option[data-tone="rejected"]:has(input:checked) {
    background: color-mix(in srgb, var(--bad-bg) 60%, var(--surface));
    border-color: var(--bad-line);
  }
  .review-decision-option[data-tone="rejected"].is-selected .review-decision-icon,
  .review-decision-option[data-tone="rejected"]:has(input:checked) .review-decision-icon {
    color: var(--bad);
    border-color: var(--bad-line);
  }
  .review-decision-hint {
    min-height: 16px;
    margin: 7px 2px 0;
    color: var(--soft);
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.4;
  }
  .review-decision-hint.is-error { color: var(--bad); }
  #modalSaveButton[data-review-tone="approved"] {
    color: #fff;
    background: var(--button-ok-bg);
    border-color: var(--button-ok-bg);
    box-shadow: none;
  }
  #modalSaveButton[data-review-tone="revision"] {
    color: var(--semantic-warn-fg);
    background: var(--warn-bg);
    border-color: var(--warn-line);
    box-shadow: none;
  }
  #modalSaveButton[data-review-tone="rejected"] {
    color: #fff;
    background: var(--button-bad-bg);
    border-color: var(--button-bad-bg);
    box-shadow: none;
  }
  .review-notes-field { gap: 7px; }
  .review-notes-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .review-notes-title em {
    padding: 3px 7px;
    color: var(--semantic-warn-fg);
    background: var(--warn-bg);
    border: 1px solid var(--warn-line);
    border-radius: 999px;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
  }
  .review-notes-help {
    min-height: 16px;
    color: var(--soft);
    font-size: 10.5px;
    font-weight: 550;
    line-height: 1.45;
  }

  @media (max-width: 700px) {
    .review-decision-group { grid-template-columns: 1fr; }
    .review-decision-option { min-height: 48px; }
    .review-decision-copy strong { white-space: normal; }
  }

  @media (prefers-reduced-motion: reduce) {
    .review-decision-option,
    .review-decision-check { transition: none; }
    .review-decision-option:hover { transform: none; }
  }

  .calendar-day { min-height: 96px; padding: 7px; }
  .calendar-item { margin: 3px 0; padding: 4px 6px; }
  .planning-activation { border-color: var(--brand-line); background: linear-gradient(135deg, var(--brand-soft), var(--surface)); }
  .planning-activation-content { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
  .planning-activation-icon { display: grid; place-items: center; width: 42px; height: 42px; color: var(--brand-deep); background: var(--surface); border: 1px solid var(--brand-line); border-radius: 12px; }
  .planning-activation h3 { margin: 2px 0 3px; font-size: 15px; }
  .planning-activation p { margin: 0; color: var(--soft); font-size: 11.5px; line-height: 1.45; }
  .planning-runs-panel .panel-head p {
    max-width: 72ch; margin: 4px 0 0; color: var(--soft); font-size: 11.5px; line-height: 1.45;
  }
  .planning-run-list { display: grid; gap: 10px; }
  .planning-run-card {
    display: grid; grid-template-columns: minmax(210px, 1.25fr) minmax(250px, .9fr) auto;
    gap: 14px; align-items: center; padding: 13px 14px;
    border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2);
  }
  .planning-run-main { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .planning-run-main > div { min-width: 0; display: grid; gap: 4px; }
  .planning-run-main strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .planning-run-main span { color: var(--soft); font-size: 10.5px; }
  .planning-run-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .planning-run-stats span {
    display: grid; gap: 2px; padding: 8px 9px; color: var(--soft); font-size: 9px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  }
  .planning-run-stats strong { color: var(--ink); font-size: 15px; }
  .planning-run-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
  .planning-run-closed { color: var(--soft); font-size: 10.5px; font-weight: 700; text-align: right; }
  .planning-run-card.center { background: var(--surface); box-shadow: 0 5px 15px rgba(20, 20, 23, .035); }
  .planning-command-bar {
    display: grid; grid-template-columns: minmax(190px, .8fr) minmax(420px, 1.6fr) auto;
    gap: 14px; align-items: center; margin: 14px 0; padding: 12px 14px;
    border: 1px solid var(--line-strong); border-radius: var(--r-lg); background:
      linear-gradient(135deg, color-mix(in srgb, var(--surface) 95%, var(--brand) 5%), var(--surface));
    box-shadow: 0 9px 24px rgba(20, 20, 23, .045);
  }
  .planning-command-identity { display: flex; align-items: center; gap: 10px; }
  .planning-command-identity > div { display: grid; gap: 2px; }
  .planning-command-identity strong { font-size: 13px; }
  .planning-command-icon { display: grid; place-items: center; width: 36px; height: 36px; color: var(--brand-deep); border: 1px solid var(--brand-line); border-radius: 10px; background: var(--brand-soft); }
  .planning-command-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .planning-command-stats span { display: grid; gap: 2px; padding: 7px 9px; color: var(--soft); font-size: 8.5px; border-left: 2px solid var(--line-strong); }
  .planning-command-stats b { color: var(--ink); font-size: 15px; }
  .planning-command-stats .blue { border-color: var(--line-strong); }
  .planning-command-stats .amber { border-color: var(--warn); }
  .planning-command-stats .violet { border-color: var(--brand); }
  .planning-action-summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-bottom: 12px; padding: 12px 14px; border: 1px solid var(--line);
    border-radius: var(--r-md); background: var(--surface-2);
  }
  .planning-action-summary strong { font-size: 14px; }
  .planning-action-summary span { color: var(--soft); font-size: 11px; }
  .planning-action-impact {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px;
  }
  .planning-action-impact > div {
    display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--line);
    border-radius: var(--r-md); background: var(--surface);
  }
  .planning-action-impact strong { font: 750 22px/1 var(--font-display); }
  .planning-action-impact span { color: var(--soft); font-size: 10.5px; }
  .planning-action-modal { width: min(92vw, 680px); }
  .planning-action-modal .info-banner,
  .planning-action-modal .warning-banner,
  .planning-action-modal .danger-banner,
  .planning-action-modal .success-banner { margin-bottom: 14px; }
  .calendar-agenda-panel .panel-head { align-items: center; }
  .calendar-agenda-list { display: grid; gap: 13px; }
  .calendar-agenda-day { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
  .calendar-agenda-day > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 11px 13px; background: var(--surface-2); cursor: pointer; list-style: none;
  }
  .calendar-agenda-day > summary::-webkit-details-marker { display: none; }
  .calendar-agenda-day[open] > summary { border-bottom: 1px solid var(--line); }
  .calendar-agenda-day > summary:hover { background: color-mix(in srgb, var(--brand) 5%, var(--surface-2)); }
  .calendar-agenda-day > summary div { display: flex; align-items: baseline; gap: 9px; min-width: 0; }
  .calendar-agenda-day > summary div > span { font-size: 12.5px; font-weight: 800; text-transform: capitalize; }
  .calendar-agenda-day > summary strong { color: var(--soft); font-size: 10.5px; white-space: nowrap; }
  .calendar-agenda-day > summary em { margin-left: auto; padding: 4px 7px; color: var(--brand-deep); background: var(--brand-soft); border-radius: 999px; font-size: 9.5px; font-style: normal; font-weight: 800; }
  .calendar-agenda-day > summary .calendar-day-title { display: grid; gap: 4px; }
  .calendar-day-kpis { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
  .calendar-day-kpis b { padding: 3px 6px; color: var(--soft); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 8.5px; font-weight: 750; }
  .calendar-day-kpis b.green { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
  .calendar-day-empty { padding: 18px; color: var(--soft); font-size: 11px; text-align: center; background: var(--surface-2); }
  .calendar-agenda-chevron { display: inline-flex; color: var(--faint); transition: transform .16s ease; }
  .calendar-agenda-day[open] .calendar-agenda-chevron { transform: rotate(90deg); }
  .calendar-agenda-rows { display: grid; }
  .calendar-agenda-row {
    display: grid; grid-template-columns: 60px minmax(180px, 1fr) auto 18px;
    gap: 12px; align-items: center; width: 100%; min-height: 58px; padding: 9px 13px;
    color: var(--ink); text-align: left; background: var(--surface); border: 0;
    border-bottom: 1px solid var(--line); cursor: pointer;
  }
  .calendar-agenda-row:last-child { border-bottom: 0; }
  .calendar-agenda-row:hover { background: var(--surface-2); }
  .calendar-agenda-row > time { color: var(--brand-deep); font-family: var(--font-display); font-size: 12px; font-weight: 800; }
  .agenda-posting-main { display: grid; gap: 3px; min-width: 0; }
  .agenda-posting-main strong, .agenda-posting-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .agenda-posting-main strong { font-size: 12.5px; }
  .agenda-posting-main small { color: var(--soft); font-size: 10.5px; }
  .agenda-posting-status { display: flex; gap: 5px; justify-content: flex-end; }
  .calendar-agenda-row > svg { color: var(--faint); }

  /* v14.4 — lecture temporelle et centre d'approbation */
  .command-center.date-state-past { border-top: 3px solid #8b95a5; }
  .command-center.date-state-today { border-top: 3px solid var(--brand); }
  .command-center.date-state-future { border-top: 3px solid #4d7fd8; }
  .product-progress.future { background: color-mix(in srgb, #4d7fd8 7%, var(--surface)); }
  .text-info { color: #3567b7 !important; }
  .approval-card-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px; margin-bottom: 18px;
  }
  .approval-filter-card {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; min-height: 92px; padding: 15px 16px;
    text-align: left; border: 1px solid var(--line); border-radius: var(--r-lg);
    background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1);
    cursor: pointer; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
  }
  .approval-filter-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
  .approval-filter-card.active { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
  .approval-filter-card > span { display: flex; align-items: center; gap: 8px; color: var(--soft); font-size: 12px; font-weight: 750; }
  .approval-filter-card > strong { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 800 28px/1 var(--font-display); }
  .approval-filter-card > small { grid-column: 1; overflow: hidden; color: var(--soft); font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
  .approval-filter-card.amber { background: color-mix(in srgb, #f5a800 8%, var(--surface)); }
  .approval-filter-card.blue { background: color-mix(in srgb, #4d7fd8 8%, var(--surface)); }
  .approval-filter-card.green { background: color-mix(in srgb, #20a464 8%, var(--surface)); }
  .approval-filter-card.red { background: color-mix(in srgb, #dc4c4c 8%, var(--surface)); }
  .approval-toolbar {
    display: grid; grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 12px; margin-bottom: 18px; padding: 14px;
    border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2);
  }
  .approval-toolbar label { display: grid; gap: 6px; }
  .approval-toolbar label > span { color: var(--soft); font-size: 11px; font-weight: 750; }
  .approval-toolbar .approval-date-filter { grid-column: span 2; }
  .compact-posting-list {
    overflow: hidden; display: grid; border: 1px solid var(--line);
    border-radius: var(--r-md); background: var(--surface);
  }
  .compact-list-overview {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-bottom: 9px; color: var(--soft); font-size: 10.5px;
  }
  .compact-list-overview strong { color: var(--ink-2); font-size: 11px; }
  .compact-posting-card {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    min-height: 72px; border-bottom: 1px solid var(--line);
  }
  .compact-posting-card:last-child { border-bottom: 0; }
  .compact-posting-card:hover { background: color-mix(in srgb, var(--brand) 3%, var(--surface)); }
  .compact-posting-main {
    display: grid; grid-template-columns: 118px minmax(170px, 1fr) auto 18px;
    gap: 13px; align-items: center; min-width: 0; min-height: 72px; padding: 10px 12px;
    color: var(--ink); text-align: left; background: transparent; border: 0; cursor: pointer;
  }
  .compact-posting-date { color: var(--soft); font-size: 10.5px; font-weight: 700; }
  .compact-posting-copy { display: grid; gap: 4px; min-width: 0; }
  .compact-posting-copy strong, .compact-posting-copy small {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .compact-posting-copy strong { font-size: 12.5px; }
  .compact-posting-copy small { color: var(--soft); font-size: 10.5px; }
  .compact-posting-statuses { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
  .compact-posting-open { display: inline-flex; color: var(--faint); }
  .compact-link-ok { display: inline-flex; padding: 5px; color: var(--success); }
  .compact-posting-actions {
    display: flex; align-items: center; justify-content: flex-end; gap: 5px;
    padding: 8px 11px 8px 0;
  }
  .approval-queue .compact-posting-card { border-left: 3px solid color-mix(in srgb, var(--brand) 52%, var(--line)); }
  .compact-list-pagination { margin-top: 12px; }
  .recent-postings-panel .panel-head p { margin: 3px 0 0; color: var(--soft); font-size: 10.5px; }
  .recent-postings-panel .compact-posting-actions { display: none; }
  .recent-postings-panel .compact-posting-main { grid-template-columns: 112px minmax(170px, 1fr) auto 18px; }
  .preference-panel .panel-head p { margin: 3px 0 0; color: var(--soft); font-size: 10.5px; }
  .settings-status-strip {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px;
  }
  .settings-status-strip > div {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; align-items: center;
    padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  }
  .settings-status-strip span { display: flex; align-items: center; gap: 6px; color: var(--soft); font-size: 9.5px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
  .settings-status-strip strong { grid-column: 2; font-size: 13px; }
  .settings-status-strip small { grid-column: 2; color: var(--soft); font-size: 9.5px; }
  .settings-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 14px; align-items: start; }
  .settings-main, .settings-aside { display: grid; gap: 14px; }
  .settings-aside { position: sticky; top: calc(var(--topbar-height) + 14px); }
  .settings-section-tag { display: block; margin-bottom: 4px; color: var(--brand-deep); font-size: 8.5px; font-weight: 850; letter-spacing: .11em; }
  .workflow-settings .panel-head p { margin: 3px 0 0; color: var(--soft); font-size: 10.5px; }
  .settings-routing {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-bottom: 14px; padding: 11px 12px;
    background: var(--info-bg); border: 1px solid var(--info-line); border-radius: var(--r-sm);
  }
  .settings-routing > span { display: grid; gap: 2px; }
  .settings-routing strong { font-size: 11px; }
  .settings-routing small { color: var(--soft); font-size: 9.5px; }
  .settings-routing > div { display: flex; gap: 6px; }
  .full-width { width: 100%; justify-content: center; }
  .settings-availability .panel-body p { margin: 0 0 14px; font-size: 11px; }
  .system-online { padding: 4px 7px; color: var(--ok); background: var(--ok-bg); border: 1px solid var(--ok-line); border-radius: 999px; font-size: 10px; font-weight: 800; }
  .system-online.is-attention { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
  .system-online.is-waiting { color: var(--soft); background: var(--surface-2); border-color: var(--line); }
  .system-health-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 10.5px; }
  .system-health-row span { color: var(--soft); }
  .system-health-note { margin: 10px 0 0; color: var(--soft); font-size: 10.5px; }
  .automation-health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 6px;
    margin: 11px 0;
  }
  .automation-health-item {
    display: grid; gap: 2px; min-width: 0; padding: 8px;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  }
  .automation-health-item span { overflow: hidden; color: var(--soft); font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
  .automation-health-item strong { color: var(--ok); font-size: 10.5px; }
  .automation-health-item small { overflow: hidden; color: var(--soft); font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
  .automation-health-item.failed strong { color: var(--bad); }
  .automation-health-item.waiting strong { color: var(--warn); }
  .system-observability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 12px 0 8px;
  }
  .system-observability-item {
    display: grid;
    min-width: 0;
    gap: 4px;
    padding: 10px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 11px;
  }
  .system-observability-item > span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--soft);
    font-size: 9.5px;
    font-weight: 750;
  }
  .system-observability-item > strong { font-size: 14px; font-variant-numeric: tabular-nums; }
  .system-observability-item > small { color: var(--soft); font-size: 9.5px; line-height: 1.4; }
  .system-observability-item.attention { border-color: var(--warn-line); }
  .system-observability-item.attention > strong { color: var(--warn); }
  .system-observability-item.failed { border-color: var(--bad-line); }
  .system-observability-item.failed > strong { color: var(--bad); }
  .system-health-error {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 10px 0;
    padding: 9px 10px;
    color: var(--semantic-warn-fg);
    background: var(--warn-bg);
    border: 1px solid var(--warn-line);
    border-radius: 10px;
    font-size: 10.5px;
    line-height: 1.4;
  }
  .system-health-error svg { flex: 0 0 auto; margin-top: 1px; }
  .system-check-button { margin-top: 10px; }
  .preference-grid { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 12px; }
  .preference-grid > label { display: grid; gap: 7px; }
  .preference-grid > label > span {
    color: var(--soft); font-size: 10.5px; font-weight: 750;
  }
  .planning-window-tabs { flex-wrap: wrap; justify-content: flex-end; }
  .load-more-row { display: flex; justify-content: center; padding-top: 16px; }

  /* Planning Editor v14.8 — preview-first, compact and role-safe */
  .planning-editor-modal { width: min(1040px, calc(100vw - 32px)); }
  .planning-editor-modal .modal-body { padding: 0; background: #f7f8fa; }
  .planning-editor-intro {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 20px 24px; color: #fff;
    background: linear-gradient(135deg, #111827 0%, #1f2937 68%, #3f3520 100%);
  }
  .planning-editor-intro > div:first-child { display: grid; gap: 4px; }
  .planning-editor-intro .eyebrow { color: #fbbf24; }
  .planning-editor-intro strong { font-size: 19px; }
  .planning-editor-intro small { color: #cbd5e1; }
  .planning-editor-intro > div:last-child {
    display: grid; min-width: 150px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.15);
    border-radius: 14px; background: rgba(255,255,255,.08); text-align: right;
  }
  .planning-editor-intro b { color: #fbbf24; font-size: 25px; line-height: 1; }
  .planning-editor-intro span { font-size: 11px; color: #dbe2ea; }
  .planning-editor-form { display: grid; gap: 12px; padding: 16px; }
  .planning-editor-form > section {
    padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
  }
  .planning-editor-form h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font-size: 14px; }
  .planning-editor-form h3 > span {
    display: inline-grid; width: 25px; height: 25px; place-items: center; border-radius: 8px;
    background: var(--brand); color: #171717; font-size: 12px;
  }
  .planning-editor-actions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .planning-editor-actions label { cursor: pointer; }
  .planning-editor-actions input { position: absolute; opacity: 0; pointer-events: none; }
  .planning-editor-actions label > span {
    display: grid; min-height: 90px; padding: 12px; border: 1px solid var(--border);
    border-radius: 13px; background: var(--surface-soft); transition: .16s ease;
  }
  .planning-editor-actions svg { color: var(--muted); margin-bottom: 8px; }
  .planning-editor-actions b { font-size: 13px; }
  .planning-editor-actions small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.35; }
  .planning-editor-actions input:checked + span {
    border-color: #e5a900; background: #fff7db; box-shadow: inset 0 0 0 1px #f6c344;
  }
  .planning-editor-actions input:checked + span svg { color: #b77900; }
  .planning-editor-fields { align-items: end; }
  .planning-editor-fields > label > span { display: block; min-height: 18px; }
  .planning-editor-fields > label > span small { color: var(--muted); font-weight: 500; }
  .planning-editor-add-fields {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
    padding: 13px; border: 1px solid #dbe7fb; border-radius: 13px; background: #f5f9ff;
  }
  .planning-editor-add-fields[hidden], .planning-editor-fields [hidden] { display: none !important; }
  .planning-editor-template { align-items: flex-start; padding: 12px; border-radius: 12px; background: #f8f5ff; }
  .planning-editor-template span { display: grid !important; gap: 3px; }
  .planning-editor-template small { line-height: 1.4; }
  .planning-editor-preview {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  }
  .planning-editor-preview > div { display: grid; gap: 3px; padding: 12px; border-radius: 12px; background: var(--surface-soft); }
  .planning-editor-preview > div small { color: var(--muted); font-size: 10px; letter-spacing: .06em; }
  .planning-editor-preview > div strong { font-size: 24px; }
  .planning-editor-preview > p {
    grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 4px 0 0;
    padding: 11px 12px; border-radius: 11px; font-size: 12px;
  }
  .planning-editor-preview.ready > p { color: #18794e; background: #eaf8f1; }
  .planning-editor-preview.warning > p { color: #9a6700; background: #fff7d6; }
  .planning-editor-preview.empty {
    display: flex; min-height: 70px; align-items: center; justify-content: center; gap: 9px;
    border: 1px dashed var(--border); border-radius: 12px; color: var(--muted); font-size: 12px;
  }

  @media (max-width: 1250px) {
    .kpi-grid, .kpi-grid + .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .layout-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .topbar { grid-template-columns: minmax(150px, 220px) minmax(200px, 1fr) auto; }
    .profile-button strong { display: none; }
    .available-slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .planning-run-card { grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr); }
    .planning-run-actions, .planning-run-closed { grid-column: 1 / -1; justify-content: flex-start; text-align: left; }
    .report-dimension-filters { grid-template-columns: repeat(3, minmax(130px, 1fr)); }
    .approval-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .approval-toolbar { grid-template-columns: repeat(3, minmax(140px, 1fr)); }
    .settings-layout { grid-template-columns: minmax(0, 1fr) 280px; }
    .planning-center-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .planning-template-card { grid-template-columns: minmax(220px, 1fr) minmax(240px, 1fr); }
    .planning-template-actions { grid-column: 1 / -1; justify-content: flex-start; }
    .planning-command-bar { grid-template-columns: minmax(180px, .8fr) minmax(360px, 1.4fr); }
    .planning-command-bar > .button { grid-column: 1 / -1; justify-self: end; }
  }

  @media (max-width: 980px) {
    :root { --sidebar-width: 264px; }
    .mobile-only { display: inline-grid; place-items: center; }
    .sidebar { transform: translateX(-102%); transition: transform .22s ease; }
    .sidebar.open { transform: translateX(0); }
    .mobile-backdrop {
      position: fixed; z-index: 450; inset: 0;
      display: block; visibility: hidden; opacity: 0;
      background: rgba(12, 12, 16, .55);
      transition: opacity .2s ease, visibility .2s ease;
    }
    .mobile-backdrop.open { visibility: visible; opacity: 1; }
    .main-column { margin-left: 0; }
    .topbar { grid-template-columns: auto minmax(130px, 200px) minmax(160px, 1fr) auto; padding: 10px 14px; }
    .content { padding: 22px 18px 50px; }
    .layout-grid.sidebar-layout { grid-template-columns: 1fr; }
    .posting-filter-fields { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
    .settings-layout { grid-template-columns: 1fr; }
    .settings-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .system-health { grid-column: 1 / -1; }
    .planning-command-bar { grid-template-columns: 1fr; }
    .planning-command-bar > .button { grid-column: 1; justify-self: stretch; }
  }

  @media (max-width: 740px) {
    .planning-editor-modal { width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
    .planning-editor-intro { align-items: flex-start; padding: 16px; }
    .planning-editor-intro > div:last-child { min-width: 105px; }
    .planning-editor-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .planning-editor-actions label > span { min-height: 76px; }
    .planning-editor-add-fields { grid-template-columns: 1fr; }
    .planning-editor-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .auth-card { padding: 26px 20px; }
    .auth-brand { grid-template-columns: 1fr; }
    .topbar { min-height: auto; grid-template-columns: auto 1fr auto; gap: 9px; }
    .topbar-title small, .global-search, .profile-button, .notification-button { display: none; }
    .topbar-actions { gap: 5px; }
    .language-button, .icon-button { min-height: 38px; height: 38px; }
    .content { padding: 20px 12px 44px; }
    .page-head { display: grid; }
    .page-actions { justify-content: flex-start; }
    .dashboard-date-control { width: 100%; }
    .dashboard-date-control input[type="date"] { flex: 1; width: auto; }
    .kpi-grid, .kpi-grid + .kpi-grid, .layout-grid.two, .layout-grid.three { grid-template-columns: 1fr; }
    .quick-actions { grid-template-columns: 1fr; }
    .form-grid, .checkbox-list, .definition-grid { grid-template-columns: 1fr; }
    .form-grid .full, .form-section-title { grid-column: 1; }
    .modal-root { padding: 0; align-items: end; }
    .modal, .modal.small, .modal.large {
      width: 100%; max-height: 94vh;
      border-radius: var(--r-lg) var(--r-lg) 0 0;
    }
    .modal-header, .modal-body, .modal-footer { padding-left: 16px; padding-right: 16px; }
    .modal-footer { display: grid; grid-template-columns: 1fr 1fr; }
    .posting-modal .modal-footer .success { grid-column: 1 / -1; }
    .drawer-root { grid-template-columns: 1fr; }
    .posting-drawer {
      grid-column: 1; width: 100%;
      border-left: 0; border-radius: var(--r-lg) var(--r-lg) 0 0;
    }
    .posting-drawer > header { padding: 18px 16px 14px; }
    .posting-drawer-body { padding: 16px 16px 30px; }
    .drawer-facts { grid-template-columns: 1fr; }
    .panel-head { padding: 16px 16px 12px; }
    .panel-body { padding: 2px 16px 16px; }
    .panel.padded, .panel-body.padded { padding: 16px; }
    .kpi-card { min-height: 104px; }
    .posting-filter-fields { grid-template-columns: 1fr; }
    .system-observability-grid { grid-template-columns: 1fr; }
    .posting-commandbar { align-items: stretch; flex-direction: column; }
    .posting-commandbar .tabs { width: 100%; }
    .posting-commandbar > .tabs:last-child { margin-left: 0 !important; }
    .posting-density { justify-content: space-between; margin-left: 0; padding: 7px 4px 2px; border-left: 0; border-top: 1px solid var(--line); }
    .calendar-modebar { align-items: stretch; flex-direction: column; }
    .calendar-modebar .tabs { width: 100%; }
    .calendar-modebar .tab { flex: 1; justify-content: center; }
    .calendar-summary.modern { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .smart-filter-panel > summary { grid-template-columns: minmax(0, 1fr) auto; }
    .smart-filter-panel > summary small { display: none; }
    .command-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .command-columns, .manager-insight-grid { grid-template-columns: 1fr; }
    .operations-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .command-stat { min-height: 88px; padding: 12px; }
    .command-stat strong { font-size: 22px; }
    .command-stat span { font-size: 10px; }
    .command-center .panel-body.padded { padding: 14px; }
    .operations-brief { padding: 14px; }
    .operations-brief strong { font-size: 21px; }
    .link-deadline-list .metric-line { align-items: flex-start; }
    .link-deadline { white-space: normal; text-align: right; }
    .operations-brief { align-items: flex-start; flex-direction: column; }
    .operations-quality { align-items: flex-start; flex-direction: column; }
    .coverage-overview { align-items: flex-start; flex-direction: column; }
    .coverage-summary { justify-content: flex-start; }
    .coverage-toolbar { align-items: flex-start; flex-direction: column; width: 100%; }
    .coverage-filter-tabs { width: 100%; overflow-x: auto; }
    .coverage-filter-tab { flex: 1 0 auto; justify-content: center; }
    .command-date-status { align-items: flex-end; flex-direction: column; }
    .product-progress { grid-template-columns: minmax(0, 1fr) 16px; }
    .product-progress > strong { grid-column: 1 / -1; grid-row: 2; max-width: none; text-align: left; }
    .product-progress > svg { grid-column: 2; grid-row: 1; }
    .available-slot-grid { grid-template-columns: 1fr; }
    .planning-run-card { grid-template-columns: 1fr; }
    .planning-run-actions, .planning-run-closed { grid-column: 1; }
    .planning-run-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .planning-action-summary { align-items: flex-start; flex-direction: column; }
    .report-dimension-filters { grid-template-columns: 1fr; }
    .approval-card-grid, .approval-toolbar { grid-template-columns: 1fr; }
    .approval-toolbar .approval-date-filter { grid-column: 1; }
    .preference-grid { grid-template-columns: 1fr; }
    .settings-status-strip, .settings-aside { grid-template-columns: 1fr; }
    .system-health { grid-column: 1; }
    .settings-routing { align-items: flex-start; flex-direction: column; }
    .posting-modal #entityForm { padding: 12px; }
    .posting-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .posting-flow button { justify-content: center; min-height: 36px; padding: 6px; }
    .posting-flow button span { display: none; }
    .posting-task-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .posting-task-search { grid-column: 1 / -1; }
    .posting-task-workspace { grid-template-columns: 1fr; }
    .posting-task-list { max-height: 46vh; min-height: 190px; }
    .posting-task-preview { position: static; min-height: 0; }
    .posting-task-preview-empty { min-height: 100px; }
    .posting-task-selected dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .posting-task-row { grid-template-columns: 58px minmax(0, 1fr) 22px; gap: 8px; }
    .posting-task-row-meta { grid-column: 2; display: flex; align-items: center; gap: 6px; }
    .posting-task-check { grid-column: 3; grid-row: 1 / span 2; }
    .posting-free-choice small { white-space: normal; }
    .posting-review-summary dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .posting-product-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .posting-owner-chip b { display: none; }
    .posting-step-actions { align-items: stretch; }
    .posting-step-actions .button { flex: 1; }
    .posting-ready-note { display: none; }
    .planning-activation-content { grid-template-columns: auto minmax(0, 1fr); }
    .planning-activation-content .button { grid-column: 1 / -1; width: 100%; }
    .planning-center-shell { padding: 14px 12px 18px; }
    .planning-center-hero { align-items: stretch; flex-direction: column; }
    .planning-center-hero .button { width: 100%; justify-content: center; }
    .planning-center-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .planning-center-actions { grid-template-columns: 1fr; }
    .planning-template-card { grid-template-columns: 1fr; }
    .planning-template-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .planning-template-actions { grid-column: 1; }
    .planning-command-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .calendar-agenda-row { grid-template-columns: 52px minmax(0, 1fr) 16px; gap: 8px; padding: 9px 10px; }
    .agenda-posting-status { grid-column: 2; justify-content: flex-start; }
    .calendar-agenda-row > svg { grid-column: 3; grid-row: 1; }
    .calendar-agenda-day > summary div { display: grid; gap: 2px; }
    .compact-posting-card { grid-template-columns: minmax(0, 1fr); }
    .compact-posting-main { grid-template-columns: 78px minmax(0, 1fr) 16px; gap: 8px; }
    .compact-posting-statuses { grid-column: 2; justify-content: flex-start; flex-wrap: wrap; }
    .compact-posting-open { grid-column: 3; grid-row: 1; }
    .compact-posting-actions { padding: 0 10px 10px; justify-content: flex-start; }
    .recent-postings-panel .compact-posting-main { grid-template-columns: 78px minmax(0, 1fr) 16px; }
    .table-pagination { flex-wrap: wrap; }
    .table-pagination > span { width: 100%; }
    .import-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mapping-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 460px) {
    .page-head h1 { font-size: 27px; }
    .page-actions, .page-actions .button { width: 100%; }
    .page-actions .button { min-height: 44px; justify-content: center; }
    .command-stat-grid, .operations-kpis { gap: 7px; }
    .command-stat { min-height: 82px; padding: 10px; }
    .command-stat strong { font-size: 20px; }
    .section-heading-with-count { align-items: flex-start; }
    .section-heading-with-count > span { max-width: 48%; text-align: right; }
    .metric-line { min-height: 48px; padding: 9px 10px; }
    .modal-footer .button { min-height: 44px; }
    .posting-task-toolbar { grid-template-columns: 1fr; }
    .posting-task-search { grid-column: 1; }
    .posting-task-range button { flex: 1 1 calc(50% - 5px); }
    .posting-task-selected dl { grid-template-columns: 1fr; }
    .posting-task-selected > div:first-child { align-items: flex-start; flex-direction: column; }
    .posting-task-selected-actions { width: 100%; justify-content: space-between; }
    .posting-product-choice-grid { grid-template-columns: 1fr; }
  }
/* v14.10 · recherche universelle */
.saved-view-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -1px 0 14px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.saved-view-bar > div, .saved-view-bar > div > span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.saved-view-bar > div { flex: 1; }.saved-view-bar > div > span { color: var(--soft); white-space: nowrap; }
.saved-view-bar strong { color: var(--ink); font-size: 12px; }.saved-view-list { display: flex; align-items: center; gap: 6px; overflow-x: auto; min-width: 0; padding: 1px; }
.saved-view-list > small { color: var(--soft); }
.saved-view-chip { display: inline-flex; align-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.saved-view-chip.active { border-color: var(--brand); background: var(--brand-soft); }
.saved-view-chip button { min-height: 29px; padding: 0 10px; border: 0; background: transparent; color: var(--ink); font-size: 11px; font-weight: 700; cursor: pointer; }
.saved-view-chip button + button { padding: 0 8px; border-left: 1px solid var(--line); color: var(--soft); }
.notification-category-tabs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; margin: 12px 0; }
.notification-category-tab { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--soft); font-weight: 700; cursor: pointer; }
.notification-category-tab b { min-width: 25px; padding: 3px 6px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: 10px; }
.notification-category-tab.active { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); }
.notification-page-list { display: grid; gap: 8px; }
.notification-page-item { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 11px; min-height: 74px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; }
.notification-page-item:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); transform: translateY(-1px); }
.notification-page-item.notif-unread { box-shadow: inset 3px 0 0 var(--brand); }
.notification-category-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--surface-2); color: var(--soft); }
.notification-action .notification-category-icon { background: var(--brand-soft); color: var(--brand); }
.notification-system .notification-category-icon { background: var(--info-bg); color: var(--info); }
.notification-page-item > div { min-width: 0; display: grid; gap: 3px; }
.notification-page-item strong, .notification-page-item .cell-secondary { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notification-meta { color: var(--soft); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.global-search kbd {
  position: absolute; right: 40px; top: 50%; z-index: 1;
  transform: translateY(-50%); pointer-events: none;
  padding: 3px 7px; border: 1px solid var(--line);
  border-radius: 7px; background: var(--surface); color: var(--soft);
  font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.command-root { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: start center; padding: 11vh 18px 24px; }
.command-root.hidden { display: none; }
.command-backdrop { position: absolute; inset: 0; border: 0; background: rgba(10, 12, 18, .56); backdrop-filter: blur(10px); }
.command-palette {
  position: relative; width: min(680px, 100%); max-height: min(72vh, 720px); overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent); border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 96%, transparent); box-shadow: 0 28px 80px rgba(0,0,0,.28);
}
.command-palette > label { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 17px 18px; border-bottom: 1px solid var(--line); }
.command-palette > label input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px; font-weight: 650; }
.command-palette kbd { padding: 4px 7px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--soft); font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.command-caption { display: flex; justify-content: space-between; gap: 10px; padding: 9px 18px; color: var(--soft); font-size: 11px; border-bottom: 1px solid var(--line); }
.command-caption b { color: var(--brand); }
.command-results { max-height: calc(min(72vh, 720px) - 104px); overflow: auto; padding: 8px; }
.command-result { width: 100%; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 10px 11px; border: 0; border-radius: 13px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.command-result:hover, .command-result:focus-visible { outline: 0; background: var(--surface-2); }
.command-result-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
.command-result span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.command-result strong, .command-result small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.command-result strong { font-size: 13px; }.command-result small { color: var(--soft); font-size: 11px; }
.command-empty { min-height: 180px; display: grid; place-items: center; align-content: center; gap: 7px; color: var(--soft); text-align: center; }
.command-empty strong { color: var(--ink); }.command-empty small { max-width: 340px; }
body.command-open { overflow: hidden; }
.posting-autosave {
  display: flex; align-items: center; gap: 7px; min-height: 34px; margin-top: -2px;
  padding: 7px 10px; border: 1px solid var(--line); border-radius: 11px;
  background: var(--surface-2); color: var(--soft); font-size: 10.5px; font-weight: 700;
}
.posting-autosave svg { color: var(--info); }
.posting-autosave.restored { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: var(--brand-soft); color: var(--ink); }
.posting-autosave button { margin-left: auto; padding: 4px 7px; border: 0; border-radius: 7px; background: transparent; color: var(--soft); font-size: 9.5px; font-weight: 800; cursor: pointer; }
.posting-autosave button:hover { background: var(--surface); color: var(--ink); }
.settings-jump-nav {
  display: flex; align-items: center; gap: 7px; margin: 0 0 14px; padding: 6px;
  overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
}
.settings-jump-nav button { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; min-height: 34px; padding: 0 11px; border: 0; border-radius: 9px; background: transparent; color: var(--soft); font-size: 10.5px; font-weight: 800; cursor: pointer; }
.settings-jump-nav button:hover, .settings-jump-nav button:focus-visible { outline: 0; background: var(--surface-2); color: var(--ink); }
.settings-focus-pulse { animation: settingsFocusPulse .9s ease-out; }
@keyframes settingsFocusPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 30%, transparent); } 100% { box-shadow: 0 0 0 13px transparent; } }
@media (max-width: 700px) {
  .saved-view-bar { align-items: stretch; flex-direction: column; }.saved-view-bar > div { display: grid; }
  .saved-view-bar > .button { width: 100%; justify-content: center; }
  .notification-category-tabs { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .notification-page-item { grid-template-columns: 34px minmax(0,1fr); }
  .notification-page-item > .button { grid-column: 2; justify-self: start; }
  .global-search kbd { display: none; }
  .command-root { padding: 0; place-items: end center; }
  .command-palette { width: 100%; max-height: 88vh; border-radius: 22px 22px 0 0; }
  .command-results { max-height: calc(88vh - 104px); padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .posting-autosave { align-items: flex-start; flex-wrap: wrap; }
  .settings-jump-nav { margin-inline: -2px; }
}

/* ==================================================================== */
/* v14.11 · interface unifiée, lisible et multilingue                    */
/* Évolution visuelle sans dépendance externe ni animation coûteuse.     */
/* ==================================================================== */
.sidebar {
  background:
    radial-gradient(circle at 18% 0%, rgba(245, 179, 1, .10), transparent 24%),
    linear-gradient(180deg, #15151b 0%, #101015 100%);
  box-shadow: 14px 0 44px rgba(12, 12, 18, .08);
}
.sidebar-brand { padding: 20px 18px 12px; }
.workspace-pill {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1px 10px;
  margin: 0 14px 4px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}
.workspace-pill span, .workspace-pill strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-pill span { color: var(--side-dim); font-size: 9px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.workspace-pill strong { grid-column: 1; color: #f4f4f6; font-size: 11.5px; }
.workspace-pill i {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  display: inline-flex; align-items: center; gap: 5px;
  color: #73d5a2; font-size: 9px; font-style: normal; font-weight: 800;
}
.workspace-pill i::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #42bd7b; box-shadow: 0 0 0 3px rgba(66, 189, 123, .12); }
#mainNav { padding-inline: 11px; }
.nav-item { min-height: 44px; border: 1px solid transparent; border-radius: 11px; }
.nav-item:hover { border-color: rgba(255,255,255,.05); background: rgba(255,255,255,.055); }
.nav-item.active {
  border-color: rgba(255,255,255,.08);
  background: linear-gradient(90deg, rgba(245,179,1,.13), rgba(255,255,255,.055));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.nav-item.active::before { left: -11px; width: 4px; height: 24px; }
.sidebar-footer { background: linear-gradient(180deg, rgba(16,16,21,.94), #101015 28%); }

.topbar {
  background: color-mix(in srgb, var(--surface) 97%, var(--canvas));
  box-shadow: 0 1px 0 var(--line), 0 9px 30px rgba(20, 24, 34, .035);
}
.topbar-title strong { letter-spacing: -.025em; }
.global-search input {
  border-color: color-mix(in srgb, var(--line) 78%, var(--ink) 4%);
  border-radius: 13px;
  background: color-mix(in srgb, var(--surface-2) 82%, var(--surface));
}
.global-search input:focus { background: var(--surface); box-shadow: var(--focus), 0 9px 24px rgba(20, 24, 34, .055); }
.topbar-actions > button, .notification-center > button { border-radius: 11px; }
.profile-button { border-radius: 12px; }

.content {
  background:
    radial-gradient(circle at 92% 3%, color-mix(in srgb, var(--brand) 5%, transparent), transparent 23%),
    radial-gradient(circle at 7% 42%, color-mix(in srgb, var(--info) 3.5%, transparent), transparent 25%);
}
.page-head {
  position: relative;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 91% -25%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 34%),
    linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--surface) 96%, var(--brand) 4%));
  box-shadow: 0 8px 28px rgba(20, 24, 34, .05), inset 0 1px 0 rgba(255,255,255,.46);
}
.page-head::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 45%, transparent));
}
.page-head h1 { padding-bottom: 9px; font-size: clamp(25px, 3vw, 32px); letter-spacing: -.035em; }
.page-head h1::after { width: 34px; height: 3px; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 30%, transparent)); }
.page-head p { margin-top: 7px; max-width: 68ch; font-size: 12.5px; }
.page-actions .button { min-height: 40px; border-radius: 11px; }

.panel {
  border-color: color-mix(in srgb, var(--line) 90%, var(--ink) 3%);
  border-radius: 17px;
  box-shadow: 0 5px 20px rgba(20, 24, 34, .042), 0 1px 2px rgba(20, 24, 34, .025);
}
.panel-head { border-radius: 17px 17px 0 0; }
.kpi-card {
  border-radius: 15px;
  box-shadow: 0 5px 18px rgba(20, 24, 34, .045), inset 0 1px 0 rgba(255,255,255,.4);
}
.kpi-card.clickable:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 26%, var(--line)); box-shadow: 0 13px 30px rgba(20, 24, 34, .09); }
.button, .icon-button, .language-button, .profile-button { border-radius: 10px; }
.button.primary {
  background: linear-gradient(180deg, #ffc21c 0%, var(--brand) 70%, var(--brand-deep) 100%);
  box-shadow: 0 6px 15px rgba(245,179,1,.18), inset 0 1px 0 rgba(255,255,255,.38);
}
.button.primary:hover:not(:disabled) { box-shadow: 0 9px 22px rgba(245,179,1,.24), inset 0 1px 0 rgba(255,255,255,.42); }
input, select, textarea { border-radius: 10px; background: color-mix(in srgb, var(--surface) 94%, var(--canvas)); }
.table-wrap { border-radius: 13px; }
tbody tr { transition: background .14s ease, box-shadow .14s ease; }
tbody tr:hover { background: color-mix(in srgb, var(--brand) 3.5%, var(--surface-2)); box-shadow: inset 3px 0 0 color-mix(in srgb, var(--brand) 70%, transparent); }
.posting-commandbar, .tabs, .settings-jump-nav { border-radius: 14px; }
.command-center { box-shadow: 0 12px 36px rgba(20, 24, 34, .065), inset 0 1px 0 rgba(255,255,255,.38); }
.command-stat { border-radius: 14px; }
.notification-popover, .command-palette, .modal-card { border-color: color-mix(in srgb, var(--line) 82%, var(--ink) 5%); }

@media (max-width: 900px) {
  .workspace-pill { display: none; }
  .page-head { padding: 15px 16px; border-radius: 15px; }
  .page-head p { font-size: 12px; }
}
@media (max-width: 700px) {
  .content { padding-top: 14px; }
  .page-head { align-items: stretch; flex-direction: column; gap: 13px; }
  .page-head h1 { font-size: 27px; }
  .page-actions { justify-content: stretch; }
  .page-actions > * { flex: 1 1 auto; }
  .panel { border-radius: 14px; }
}
/* ==================================================================== */
/* v15.0 · PREMIUM OPERATIONS SAAS — PRIVATE PREVIEW                    */
/* Design system local, sans CDN : rapide, durable, accessible.         */
/* ==================================================================== */
:root {
  --font-display: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --canvas: #f5f6f8;
  --surface-2: #f8f9fb;
  --line: #e6e8ed;
  --line-strong: #d7dbe3;
  --ink: #15171c;
  --ink-2: #3e4552;
  --soft: #697180;
  --faint: #9aa2af;
  --side-bg: #111319;
  --side-line: #272a33;
  --sidebar-width: 252px;
  --topbar-height: 64px;
  --r-sm: 9px;
  --r-md: 13px;
  --r-lg: 18px;
  --shadow-1: 0 1px 2px rgba(17, 24, 39, .035), 0 5px 18px rgba(17, 24, 39, .035);
  --shadow-2: 0 2px 4px rgba(17, 24, 39, .04), 0 14px 36px rgba(17, 24, 39, .075);
  --shadow-3: 0 24px 70px rgba(17, 24, 39, .18);
}
[data-theme="dark"] {
  --canvas: #0f1116;
  --surface: #17191f;
  --surface-2: #1d2027;
  --line: #292d36;
  --line-strong: #383d48;
  --ink: #f3f4f6;
  --ink-2: #d1d5dc;
  --soft: #a2a9b5;
  --faint: #717987;
  --side-bg: #0b0d12;
  --side-line: #222631;
}

html {
  scroll-behavior: auto;
  /* Keep content width stable when a modal or drawer locks body scrolling. */
  scrollbar-gutter: stable;
}
body {
  font-size: 14px;
  letter-spacing: -.006em;
  background: var(--canvas);
}
h1, h2, h3, h4, strong, b { letter-spacing: -.018em; }
.button, .icon-button, .nav-item, .tab, .approval-filter-card, .command-stat,
.calendar-item, .compact-posting-card, .metric-line {
  transition: background-color .16s ease, border-color .16s ease,
    color .16s ease, box-shadow .16s ease, transform .16s ease;
}

/* Premium shell */
.sidebar {
  width: var(--sidebar-width);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% -8%, rgba(245, 179, 1, .13), transparent 29%),
    linear-gradient(180deg, #15171e 0%, var(--side-bg) 50%, #0d0f14 100%);
  box-shadow: 12px 0 36px rgba(13, 16, 24, .055);
  transition: width .2s cubic-bezier(.2, .7, .2, 1);
}
.sidebar-brand {
  min-height: 72px;
  padding: 15px 14px 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.sidebar-brand strong { font-size: 14px; }
.sidebar-brand span { font-size: 8.5px; letter-spacing: .15em; }
.brand-mark.small { width: 40px; height: 40px; border-radius: 12px; }
.workspace-pill {
  margin: 2px 12px 5px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, .035);
  border-color: rgba(255, 255, 255, .065);
}
#mainNav { padding: 3px 9px 18px; }
.nav-group-label { padding: 17px 12px 6px; font-size: 8.5px; letter-spacing: .17em; }
.nav-item {
  min-height: 42px;
  padding: 0 11px;
  border-radius: 11px;
  font-size: 12.5px;
}
.nav-item.active {
  background: linear-gradient(90deg, rgba(245,179,1,.14), rgba(255,255,255,.055));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 5px 16px rgba(0,0,0,.07);
}
.nav-item { --nav-accent: #a5adbb; }
.nav-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: color-mix(in srgb, var(--nav-accent) 56%, #d5d9e2);
  background: rgba(255,255,255,.026);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.nav-icon svg { width: 17px; height: 17px; stroke-width: 1.8; }
.nav-item:not(.active):hover .nav-icon {
  color: color-mix(in srgb, var(--nav-accent) 82%, #fff);
  background: color-mix(in srgb, var(--nav-accent) 11%, transparent);
  border-color: color-mix(in srgb, var(--nav-accent) 21%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 6px 18px rgba(0,0,0,.1);
}
.nav-item.active .nav-icon {
  color: #17181d;
  background: linear-gradient(145deg, #ffd45c, var(--brand) 72%);
  border-color: rgba(255,221,117,.78);
  box-shadow: 0 6px 18px rgba(246,183,0,.23), inset 0 1px 0 rgba(255,255,255,.45);
}
.nav-item.active .nav-icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  pointer-events: none;
}
.sidebar-collapse-button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #8f96a4;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 9px;
}
.sidebar-collapse-button:hover { color: #fff; background: rgba(255,255,255,.08); }
.sidebar-footer { padding: 12px; }
.sidebar-footer .button { min-height: 38px; }
.main-column {
  margin-left: var(--sidebar-width);
  transition: margin-left .2s cubic-bezier(.2, .7, .2, 1);
}
body.sidebar-compact { --sidebar-width: 82px; }
body.sidebar-compact .sidebar-brand { grid-template-columns: 1fr; justify-items: center; padding-inline: 10px; }
body.sidebar-compact .sidebar-brand > div:nth-child(2),
body.sidebar-compact .workspace-pill,
body.sidebar-compact .nav-group-label,
body.sidebar-compact .nav-label,
body.sidebar-compact .user-mini > div,
body.sidebar-compact .user-mini > span:nth-child(2),
body.sidebar-compact .sidebar-footer > .button,
body.sidebar-compact .sidebar-footer > small { display: none; }
body.sidebar-compact .sidebar-collapse-button { position: absolute; top: 56px; right: 9px; z-index: 2; }
body.sidebar-compact #mainNav { padding: 19px 10px; }
body.sidebar-compact .nav-item {
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 46px;
  padding: 6px 0;
}
body.sidebar-compact .nav-item.active::before { left: -10px; }
body.sidebar-compact .nav-icon { width: 36px; height: 36px; border-radius: 11px; }
body.sidebar-compact .nav-icon svg { width: 19px; height: 19px; }
body.sidebar-compact .sidebar-footer { display: grid; place-items: center; }
body.sidebar-compact .user-mini { margin: 0; grid-template-columns: 1fr; }

.table-limit-note {
  margin: 10px 2px 0;
  color: var(--soft);
  font-size: 11px;
  text-align: right;
}
.notification-pagination { margin-top: 12px; }

.topbar {
  min-height: var(--topbar-height);
  grid-template-columns: minmax(130px, 190px) minmax(280px, 1fr) auto;
  gap: 14px;
  padding: 9px 20px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom-color: color-mix(in srgb, var(--line) 82%, transparent);
  box-shadow: 0 8px 28px rgba(20, 24, 34, .035);
  -webkit-backdrop-filter: saturate(1.25) blur(18px);
  backdrop-filter: saturate(1.25) blur(18px);
}
.topbar-title strong { font-size: 14px; }
.topbar-title small { font-size: 9.5px; }
.global-search { max-width: 720px; }
.global-search input {
  min-height: 40px;
  border-color: transparent;
  background: color-mix(in srgb, var(--surface-2) 88%, var(--canvas));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 74%, transparent);
}
.global-search input:focus {
  border-color: color-mix(in srgb, var(--brand) 70%, transparent);
  box-shadow: var(--focus), 0 8px 22px rgba(20,24,34,.055);
}
.topbar-actions > button, .notification-center > button, .language-button {
  min-width: 38px;
  min-height: 38px;
  border-color: color-mix(in srgb, var(--line) 84%, transparent);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}
.profile-button { min-height: 40px; padding: 3px 10px 3px 4px; }

/* Page rhythm */
.content {
  min-height: calc(100vh - var(--topbar-height));
  padding: 24px clamp(18px, 2.1vw, 34px) 56px;
  background:
    radial-gradient(circle at 92% 0%, color-mix(in srgb, var(--info) 4%, transparent), transparent 24%),
    var(--canvas);
}
#pageRoot { max-width: 1660px; }
.page-head {
  min-height: 64px;
  margin-bottom: 16px;
  padding: 2px 2px 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.page-head::before { display: none; }
.page-head h1 {
  padding: 0 0 8px;
  font-size: clamp(25px, 2.2vw, 31px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.page-head h1::after { width: 30px; height: 3px; }
.page-head p { margin-top: 4px; font-size: 12px; }
.page-actions { gap: 8px; }
.page-actions .button { min-height: 39px; }

.panel {
  margin-bottom: 15px;
  overflow: clip;
  border-color: color-mix(in srgb, var(--line) 92%, var(--ink) 2%);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.panel-head { min-height: 55px; padding: 14px 17px; }
.panel-head h3 { font-size: 14px; }
.panel-body.padded { padding: 16px 17px; }
.layout-grid { gap: 14px; margin-bottom: 15px; }
.button { min-height: 38px; padding-inline: 13px; font-size: 12px; }
.button.primary { box-shadow: 0 7px 18px rgba(221, 158, 0, .18), inset 0 1px rgba(255,255,255,.38); }
.button.primary:hover:not(:disabled) { transform: translateY(-1px); }
.icon-button, .icon-action { border-radius: 10px; }
.badge { border-radius: 999px; font-size: 9.5px; }
input, select, textarea { min-height: 40px; border-radius: 10px; font-size: 12.5px; }

/* Dashboard command center */
body[data-route="dashboard"] .page-head { margin-bottom: 10px; }
.command-center {
  overflow: visible;
  border-top: 0 !important;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(17,24,39,.03), 0 18px 50px rgba(17,24,39,.07);
}
.command-center::after { display: none; }
.command-center .panel-head {
  min-height: 62px;
  align-items: center;
  border-bottom: 0;
  padding: 16px 20px 8px;
}
.command-center .panel-body.padded { padding: 8px 20px 20px; }
.command-center h3 { margin: 0; font-size: 16px; }
.command-date-status .badge { padding: 6px 9px; }
.date-context { padding: 5px 8px; }
.operations-brief {
  margin-bottom: 12px;
  padding: 18px 19px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: #1b202b;
  box-shadow: 0 13px 34px rgba(16,22,33,.16), inset 0 1px rgba(255,255,255,.06);
}
.operations-brief span, .operations-brief small { color: #aeb6c4; }
.operations-brief strong { color: #fff; font-size: 23px; }
.operations-brief .operations-state { color: #11151d; background: #fff; border-color: rgba(255,255,255,.55); }
.operations-brief .operations-state.red { color: #fff; background: #c63b3f; border-color: #db6c70; }
.operations-brief .operations-state.green { color: #fff; background: #188a52; border-color: #3aa06d; }
.operations-activity-context {
  display: flex; align-items: baseline; gap: 8px; margin: 0 2px 7px;
  color: var(--soft); font-size: 10px;
}
.operations-activity-context strong { color: var(--ink); font-size: 11px; }
.operations-activity-context span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.operations-funnel {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 12px;
  padding: 7px;
  background: color-mix(in srgb, var(--surface-2) 88%, var(--surface));
  border-radius: 14px;
}
.funnel-step {
  min-height: 50px;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.funnel-step span { font-size: 9.5px; }
.funnel-step strong { font-size: 17px; }
.planning-integrity-note {
  display: flex; align-items: center; gap: 10px; margin: -2px 0 12px;
  padding: 10px 12px; color: var(--warn); border: 1px solid var(--warn-line);
  border-radius: 12px; background: var(--warn-bg);
}
.planning-integrity-note > svg { flex: 0 0 auto; }
.planning-integrity-note span { display: grid; gap: 2px; min-width: 0; }
.planning-integrity-note strong { color: var(--ink); font-size: 11.5px; }
.planning-integrity-note small { color: var(--soft); font-size: 10.5px; line-height: 1.35; }
.daily-activity-summary {
  display: grid; gap: 8px; margin: 0 0 12px; padding: 10px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
}
.daily-activity-title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 0 2px;
}
.daily-activity-title strong { color: var(--ink); font-size: 11px; }
.daily-activity-title span { color: var(--soft); font-size: 9.5px; }
.daily-activity-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.daily-activity-step {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 3px 8px; min-width: 0; padding: 8px 9px; color: var(--ink);
  text-align: left; border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface-soft); cursor: pointer;
}
.daily-activity-step:hover { border-color: var(--line-strong); background: var(--surface-2); }
.daily-activity-step span { overflow: hidden; color: var(--soft); font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.daily-activity-step strong { font: 760 16px/1 var(--font-display); }
.daily-activity-step small {
  grid-column: 1 / -1; overflow: hidden; color: var(--soft); font-size: 8.5px;
  text-overflow: ellipsis; white-space: nowrap;
}
.daily-activity-step.violet strong { color: var(--brand-deep); }
.daily-activity-step.green strong { color: var(--ok); }
.command-stat-grid, .operations-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.operations-exceptions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.operations-exceptions .command-stat {
  min-height: 70px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
}
.operations-exceptions .command-stat span { min-height: 0; }
.operations-exceptions .command-stat small { justify-self: end; }
.command-stat {
  min-height: 94px;
  padding: 13px;
  gap: 6px;
  border-radius: 14px;
  box-shadow: inset 0 1px rgba(255,255,255,.32);
}
.command-stat::before { width: 2px; }
.command-stat span { min-height: 28px; align-items: flex-start; font-size: 10.5px; line-height: 1.25; }
.command-stat strong { font-size: 24px; }
.command-stat small { font-size: 8.7px; }
.command-stat.actionable:hover { transform: none; border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.command-columns { gap: 12px; margin-top: 15px; }
.command-columns > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface-2) 48%, var(--surface));
}
.section-heading-with-count > span { border: 0; }
.coverage-summary-pills span { padding: 4px 8px; }
.scrollable-metrics { max-height: 330px; }
.metric-line {
  min-height: 46px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface);
}
.metric-line:hover { background: color-mix(in srgb, var(--info) 3.5%, var(--surface)); }

.dashboard-insights {
  margin: 0 0 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.dashboard-insights > summary {
  min-height: 68px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 12px;
  padding: 12px 17px;
  list-style: none;
  cursor: pointer;
}
.dashboard-insights > summary::-webkit-details-marker { display: none; }
.dashboard-insights > summary:hover { background: var(--surface-2); }
.dashboard-insights-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--violet);
  background: var(--violet-bg);
  border: 1px solid var(--violet-line);
  border-radius: 11px;
}
.dashboard-insights > summary > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.dashboard-insights > summary strong { font-size: 13px; }
.dashboard-insights > summary small { color: var(--soft); font-size: 10.5px; }
.dashboard-insights-summary { display: flex; align-items: center; gap: 6px; color: var(--soft); font-size: 10px; }
.dashboard-insights-summary b { margin-left: 8px; color: var(--ink); font-size: 13px; }
.dashboard-insights > summary > svg { color: var(--faint); transition: transform .16s ease; }
.dashboard-insights[open] > summary { border-bottom: 1px solid var(--line); }
.dashboard-insights[open] > summary > svg { transform: rotate(90deg); }
.dashboard-insights-body { padding: 15px; }
.dashboard-insights-body > .tabs { width: fit-content; margin-bottom: 14px !important; }
.recent-postings-panel .panel-head { min-height: 54px; }
.recent-postings-panel .compact-posting-main { min-height: 64px; }

/* Postings: command bar + compact operational rows */
body[data-route="postings"] .posting-commandbar {
  position: sticky;
  z-index: 80;
  top: calc(var(--topbar-height) + 8px);
}
.posting-commandbar {
  gap: 8px;
  padding: 5px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 7px 22px rgba(17,24,39,.05);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.tabs { padding: 3px; border-radius: 11px; }
.tab { min-height: 33px; border-radius: 8px; font-size: 10.5px; }
.tab.active { box-shadow: 0 2px 7px rgba(17,24,39,.07); }
.smart-filter-panel { border-radius: 14px; box-shadow: none; }
.smart-filter-panel > summary { min-height: 47px; }
.compact-posting-list { border-radius: 14px; }
.compact-posting-card { min-height: 66px; }
.compact-posting-main { min-height: 66px; padding: 9px 12px; }
.compact-posting-card:hover { background: color-mix(in srgb, var(--info) 3%, var(--surface)); }
.compact-posting-copy strong { font-size: 12.5px; }
.compact-posting-copy small, .compact-posting-date { font-size: 10px; }
.compact-posting-actions .icon-action { width: 30px; height: 30px; }

/* Approvals */
.approval-card-grid { gap: 10px; margin-bottom: 14px; }
.approval-filter-card {
  min-height: 82px;
  padding: 13px 14px;
  border-radius: 15px;
  box-shadow: var(--shadow-1);
}
.approval-filter-card::before { content: ""; position: absolute; inset: 12px auto 12px 0; width: 3px; border-radius: 0 4px 4px 0; background: var(--faint); }
.approval-filter-card { position: relative; }
.approval-filter-card.amber::before { background: var(--warn); }
.approval-filter-card.blue::before { background: var(--info); }
.approval-filter-card.green::before { background: var(--ok); }
.approval-filter-card.red::before { background: var(--bad); }
.approval-filter-card > strong { font-size: 25px; }
.approval-filter-card:hover { transform: translateY(-1px); }
.approval-toolbar { gap: 9px; margin-bottom: 14px; padding: 11px; border-radius: 14px; }
.approval-toolbar select, .approval-toolbar input { min-height: 37px; }
.approval-queue .compact-posting-card { border-left-width: 2px; }

/* Calendar */
.calendar-modebar {
  padding: 11px 13px;
  border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.calendar-summary.modern { gap: 9px; }
.calendar-summary.modern span {
  min-height: 66px;
  padding: 11px 13px;
  border-radius: 14px;
  box-shadow: none;
}
.calendar-summary.modern strong { font-size: 21px; }
.calendar-month-panel .panel-body { padding: 11px; }
.calendar-grid { border-radius: 13px; background: var(--surface); }
.calendar-head { padding: 8px; font-size: 9.5px; background: var(--surface-2); }
.calendar-day { min-height: 112px; padding: 7px; }
.calendar-day:hover { background: color-mix(in srgb, var(--info) 3%, var(--surface)); }
.calendar-day.today { box-shadow: inset 0 0 0 2px var(--brand); background: color-mix(in srgb, var(--brand) 3%, var(--surface)); }
.calendar-date { margin-bottom: 5px; font-size: 11.5px; }
.calendar-item { margin: 3px 0; padding: 5px 6px; border-radius: 7px; }
.calendar-item:hover { transform: translateX(1px); filter: saturate(1.05); }
.calendar-agenda-list { gap: 9px; }
.calendar-agenda-day { border-radius: 14px; }
.calendar-agenda-day > summary { min-height: 52px; padding: 10px 13px; }
.calendar-agenda-row { min-height: 55px; padding: 8px 12px; }

/* Settings + management pages */
.settings-status-strip { gap: 9px; }
.settings-status-strip > div { min-height: 67px; border-radius: 14px; }
.settings-layout { gap: 13px; grid-template-columns: minmax(0, 1fr) 300px; }
.settings-main, .settings-aside { gap: 13px; }
.settings-jump-nav { position: sticky; z-index: 70; top: calc(var(--topbar-height) + 8px); box-shadow: 0 8px 24px rgba(17,24,39,.045); }
.settings-routing { border-radius: 11px; }
.table-wrap { border-radius: 13px; }
th { font-size: 9px; letter-spacing: .09em; }
th, td { padding: 10px 12px; }
tbody tr:hover { box-shadow: inset 2px 0 0 color-mix(in srgb, var(--brand) 72%, transparent); }
.notification-page-item { border-radius: 13px; }

/* Authentication */
.auth-view {
  background:
    radial-gradient(circle at 18% 16%, rgba(245,179,1,.12), transparent 28%),
    radial-gradient(circle at 84% 82%, rgba(255,255,255,.045), transparent 26%),
    #0d0f14;
}
.auth-view::before {
  opacity: .45;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 52px 52px;
}
.auth-card {
  padding: 34px 34px 28px;
  border-color: rgba(255,255,255,.75);
  border-radius: 22px;
  box-shadow: 0 34px 90px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.85);
}
.auth-brand { gap: 15px; padding-bottom: 21px; margin-bottom: 21px; }
.auth-brand h1 { font-size: 25px; letter-spacing: -.045em; }
.auth-card .button.primary { min-height: 45px; }

/* Dark polish */
[data-theme="dark"] .operations-brief { background: #111722; }
[data-theme="dark"] .topbar { background: rgba(23,25,31,.86); }
[data-theme="dark"] .command-columns > div { background: var(--surface-2); }
[data-theme="dark"] .global-search input { background: #20232b; }

/* Responsive: tablet */
@media (max-width: 1250px) {
  .command-stat-grid, .operations-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .approval-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar { grid-template-columns: minmax(110px, 150px) minmax(220px, 1fr) auto; padding-inline: 15px; }
  .profile-button span:last-child { display: none; }
  .settings-layout { grid-template-columns: minmax(0, 1fr) 270px; }
}
@media (max-width: 900px) {
  .sidebar-collapse-button { display: none; }
  body.sidebar-compact { --sidebar-width: 252px; }
  body.sidebar-compact .sidebar-brand { grid-template-columns: auto 1fr auto; justify-items: initial; padding: 15px 14px 10px; }
  body.sidebar-compact .sidebar-brand > div:nth-child(2),
  body.sidebar-compact .nav-label,
  body.sidebar-compact .user-mini > div,
  body.sidebar-compact .user-mini > span:nth-child(2),
  body.sidebar-compact .sidebar-footer > .button,
  body.sidebar-compact .sidebar-footer > small { display: block; }
  body.sidebar-compact .workspace-pill { display: grid; }
  body.sidebar-compact .nav-group-label { display: block; }
  body.sidebar-compact #mainNav { padding: 3px 9px 18px; }
  body.sidebar-compact .nav-item { grid-template-columns: 26px 1fr; justify-items: initial; padding: 0 11px; }
  body.sidebar-compact .user-mini { grid-template-columns: auto 1fr; }
  .main-column, body.sidebar-compact .main-column { margin-left: 0; }
  .content { padding-inline: 18px; }
  .command-columns { grid-template-columns: 1fr; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-day { min-height: 96px; }
}

/* Responsive: phone */
@media (max-width: 700px) {
  :root { --topbar-height: 58px; }
  body { font-size: 13.5px; }
  .topbar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; min-height: 58px; padding: 7px 10px; }
  .topbar-title { display: none; }
  .global-search input { min-height: 38px; padding-right: 36px; font-size: 11px; }
  .global-search kbd { display: none; }
  .topbar-actions { gap: 5px; }
  .topbar-actions > button, .notification-center > button, .language-button { min-width: 36px; min-height: 36px; }
  .topbar-actions #helpButton, .topbar-actions .profile-button { display: none; }
  .content { padding: 15px 11px 88px; }
  .page-head { min-height: 0; margin-bottom: 10px; padding: 0 2px 9px; gap: 9px; }
  .page-head h1 { font-size: 23px; }
  .page-head p { display: none; }
  .page-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .page-actions > * { min-width: 0; }
  .panel { margin-bottom: 11px; border-radius: 14px; }
  .panel-head { min-height: 50px; padding: 12px; }
  .panel-body.padded { padding: 12px; }
  .command-center { border-radius: 16px; }
  .command-center .panel-head { min-height: 54px; padding: 13px 12px 7px; }
  .command-center .panel-body.padded { padding: 7px 12px 13px; }
  .command-date-status .date-context { display: none; }
  .operations-brief { align-items: flex-start; flex-direction: column; gap: 10px; padding: 14px; border-radius: 13px; }
  .operations-brief strong { font-size: 20px; }
  .operations-funnel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operations-funnel > .funnel-step:last-child { grid-column: 1 / -1; }
  .daily-activity-title { align-items: flex-start; flex-direction: column; gap: 2px; }
  .daily-activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .daily-activity-step:nth-child(3) { grid-column: 1 / -1; }
  .funnel-arrow { display: none; }
  .funnel-step { min-height: 46px; }
  .command-stat-grid, .operations-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .operations-exceptions { grid-template-columns: 1fr; }
  .command-stat { min-height: 84px; padding: 10px; }
  .command-stat strong { font-size: 21px; }
  .command-columns { gap: 9px; margin-top: 11px; }
  .command-columns > div { padding: 11px; }
  .scrollable-metrics { max-height: 290px; }
  .dashboard-insights > summary { grid-template-columns: 36px minmax(0, 1fr) 16px; min-height: 60px; padding: 10px 12px; }
  .dashboard-insights-icon { width: 34px; height: 34px; }
  .dashboard-insights-summary { display: none; }
  .dashboard-insights-body { padding: 11px; }
  .layout-grid.two, .layout-grid.three { gap: 10px; }
  body[data-route="postings"] .posting-commandbar { top: calc(var(--topbar-height) + 5px); }
  .posting-commandbar { align-items: stretch; flex-direction: column; gap: 5px; }
  .posting-commandbar .tabs { width: 100%; }
  .compact-posting-main, .recent-postings-panel .compact-posting-main { grid-template-columns: 76px minmax(0,1fr) 16px; gap: 7px; }
  .compact-posting-statuses { grid-column: 2; justify-content: flex-start; flex-wrap: wrap; }
  .compact-posting-actions { padding: 0 9px 9px; }
  .approval-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .approval-filter-card { min-height: 74px; padding: 11px; }
  .approval-filter-card > strong { font-size: 22px; }
  .approval-toolbar { grid-template-columns: 1fr; padding: 10px; }
  .calendar-summary.modern { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-modebar { align-items: stretch; flex-direction: column; }
  .calendar-grid { grid-template-columns: repeat(7, minmax(88px, 1fr)); }
  .calendar-day { min-height: 86px; }
  .calendar-item small { display: none; }
  .settings-status-strip, .settings-aside { grid-template-columns: 1fr; }
  .settings-jump-nav { top: calc(var(--topbar-height) + 5px); }
  .auth-view { padding: 20px 12px; }
  .auth-card { padding: 27px 21px 23px; border-radius: 19px; }
  .auth-brand { grid-template-columns: 44px 1fr; gap: 12px; }
  .auth-brand h1 { font-size: 22px; }
}

/* ==================================================================== */
/* v15.1 · INTERACTIVE COVERAGE & PLATFORM SYSTEM — PRIVATE PREVIEW     */
/* ==================================================================== */
.platform-mark {
  --platform-mark-size: 24px;
  width: var(--platform-mark-size);
  height: var(--platform-mark-size);
  flex: 0 0 var(--platform-mark-size);
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: calc(var(--platform-mark-size) * .31);
  color: #fff;
  background: #64748b;
  box-shadow: inset 0 1px rgba(255,255,255,.24), 0 3px 9px rgba(15,23,42,.08);
  font-size: calc(var(--platform-mark-size) * .36);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.04em;
}
.platform-mark .brand-icon {
  width: 72%;
  height: 72%;
  display: block;
  color: currentColor;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.12));
}
.platform-mark.instagram .brand-icon { width: 76%; height: 76%; }
.platform-mark.shopee .brand-icon { width: 78%; height: 78%; }
.platform-mark.tiktok { color: #fff; background: linear-gradient(145deg, #15171c, #030407); text-shadow: -1px 0 #25f4ee, 1px 0 #fe2c55; }
.platform-mark.shopee { background: linear-gradient(145deg, #ff7848, #ee4d2d); }
.platform-mark.youtube { background: linear-gradient(145deg, #ff3030, #e00000); font-size: calc(var(--platform-mark-size) * .31); }
.platform-mark.youtube .brand-icon { width: 68%; height: 68%; }
.platform-mark.instagram { background: linear-gradient(145deg, #7c3aed 3%, #d946ef 45%, #fb923c 100%); }
.platform-mark.facebook { background: linear-gradient(145deg, #3185f8, #0866ff); font-family: Arial, sans-serif; font-size: calc(var(--platform-mark-size) * .58); }
.platform-mark.x { color: #fff; background: #0b0c0f; }
.platform-mark.linkedin { background: #0a66c2; }
.platform-mark.pinterest { background: #e60023; }
.platform-chip.icon-only {
  min-width: 30px;
  justify-content: center;
  padding: 3px;
  border-color: transparent;
  background: transparent;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.platform-chip-list { display: flex; flex-wrap: wrap; gap: 5px; }
.posting-context {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  color: var(--soft);
  font-size: 10px;
  line-height: 1.3;
}
.posting-context.no-platform { grid-template-columns: minmax(0, 1fr); }
.posting-context-copy { display: grid; gap: 3px; min-width: 0; }
.posting-context-primary,
.posting-context-detail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 6px;
  min-width: 0;
}
.posting-context-primary { flex-wrap: nowrap; }
.posting-context-primary > * { overflow: hidden; min-width: 0; text-overflow: ellipsis; white-space: nowrap; }
.posting-context-primary > * + *::before { content: "·"; margin-right: 6px; color: var(--faint); }
.posting-context-account { color: var(--ink); font-weight: 780; }
.posting-context-products { color: var(--soft); }
.posting-context-person,
.posting-context-content,
.posting-context-cart {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
.posting-context-person > span,
.posting-context-content { overflow: hidden; max-width: 150px; text-overflow: ellipsis; white-space: nowrap; }
.posting-context-cart {
  min-height: 19px;
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 8px;
  font-weight: 780;
  white-space: nowrap;
}
.posting-context-cart.yellow { color: var(--semantic-warn-fg); background: var(--warn-bg); border-color: var(--warn-line); }
.posting-context-cart.neutral { color: var(--soft); }
.posting-table-meta,
.agenda-posting-meta,
.compact-posting-meta { width: 100%; }
.posting-drawer-context .posting-context { margin-top: 1px; }
.posting-drawer-context .posting-context-detail { font-size: 10px; }
.kanban-posting-meta { margin-top: 2px; }
.kanban-posting-meta .posting-context-primary,
.kanban-posting-meta .posting-context-detail { align-items: flex-start; }
.calendar-item-meta {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.calendar-item-meta > span { overflow: hidden; min-width: 0; text-overflow: ellipsis; white-space: nowrap; }
.calendar-item-meta .platform-mark { flex: 0 0 17px; border-radius: 5px; }
.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--ink);
  white-space: nowrap;
}
.platform-chip.large > span:last-child { display: grid; gap: 2px; }
.platform-chip.large small { font-size: 9px; }
.metric-line > span:has(.platform-mark) { display: inline-flex; align-items: center; gap: 8px; }
.posting-task-row time small { display: flex; align-items: center; gap: 5px; }

.platform-goal-list { display: grid; gap: 8px; }
.platform-progress-link {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(142px, .8fr) minmax(170px, 1.2fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface);
  text-align: left;
  transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.platform-progress-link:hover {
  border-color: color-mix(in srgb, var(--info) 28%, var(--line));
  background: color-mix(in srgb, var(--info) 3.5%, var(--surface));
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
  transform: translateY(-1px);
}
.platform-progress-heading { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 3px 8px; }
.platform-progress-heading .platform-mark { grid-row: 1 / 3; }
.platform-progress-heading b { overflow: hidden; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.platform-progress-heading small { color: var(--soft); font-size: 9.5px; }
.platform-progress-link > div { margin: 0 !important; }
.platform-progress-link > div .progress-meta > span:first-child { display: none; }
.platform-progress-open { display: grid; place-items: center; color: var(--faint); }

.coverage-item.unplanned { border-style: dashed; background: color-mix(in srgb, var(--surface-2) 68%, var(--surface)); }
.coverage-state.unplanned { color: var(--soft); background: var(--surface-2); border-color: var(--line); }
.coverage-item.unplanned .progress-track { opacity: .45; }
.coverage-item.unplanned .coverage-open { color: var(--faint); }

.catalog-command {
  display: grid;
  grid-template-columns: minmax(170px, .38fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 94%, var(--info-bg)), var(--surface));
  box-shadow: var(--shadow-1);
}
.catalog-command > div:first-child {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px 13px;
  border-right: 1px solid var(--line);
}
.catalog-command > div:first-child span { color: var(--soft); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.catalog-command > div:first-child strong { font-size: 12px; }
.catalog-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 7px; }
.catalog-stat {
  position: relative;
  min-width: 0;
  min-height: 65px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface-2);
  text-align: left;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.catalog-stat:hover { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(15,23,42,.06); }
.catalog-stat.active { border-color: currentColor; box-shadow: 0 0 0 2px color-mix(in srgb, currentColor 9%, transparent); }
.catalog-stat span { overflow: hidden; color: var(--soft); font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.catalog-stat strong { font-size: 21px; line-height: 1; }
.catalog-stat.blue { color: var(--info); background: var(--info-bg); }
.catalog-stat.amber { color: var(--warn); background: var(--warn-bg); }
.catalog-stat.green { color: var(--ok); background: var(--ok-bg); }
.catalog-stat.gray { color: var(--soft); background: var(--surface-2); }
.catalog-panel table { min-width: 940px; }
.catalog-product-name { font-size: 12px; }
.catalog-coverage {
  width: min(230px, 100%);
  display: grid;
  grid-template-columns: minmax(82px,1fr) 80px 14px;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--surface);
  text-align: left;
}
.catalog-coverage:hover { border-color: color-mix(in srgb, var(--info) 30%, var(--line)); background: var(--surface-2); }
.catalog-coverage > span { display: grid; gap: 1px; }
.catalog-coverage b { font-size: 11px; }
.catalog-coverage em { color: var(--soft); font-size: 9px; font-style: normal; }
.catalog-coverage > i { height: 5px; overflow: hidden; border-radius: 99px; background: var(--line); }
.catalog-coverage > i > i { display: block; height: 100%; border-radius: inherit; background: var(--warn); }
.catalog-coverage.complete > i > i { background: var(--ok); }
.catalog-coverage.unplanned { border-style: dashed; }
.catalog-coverage.unplanned > i { opacity: .45; }
.catalog-coverage > svg { color: var(--faint); }
.catalog-cart-mix { display: flex; gap: 5px; }
.catalog-cart-mix span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 8px; color: var(--soft); background: var(--surface-2); font-size: 8.5px; }
.catalog-cart-mix span.yellow { color: #7c5700; border-color: #f3d880; background: #fff7d7; }
.catalog-cart-mix b { color: var(--ink); font-size: 10px; }

.command-center {
  background: var(--surface);
}
.command-stat.actionable { overflow: hidden; }
.command-stat.actionable::after { content: none; }
.dashboard-insights[open] { border-color: color-mix(in srgb, var(--violet) 20%, var(--line)); }
.dashboard-insights[open] > summary { background: color-mix(in srgb, var(--violet-bg) 35%, var(--surface)); }
.dashboard-analysis-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}
.dashboard-analysis-topline .dashboard-period-tabs { width: fit-content; margin: 0 !important; }
.dashboard-analysis-topline > span {
  color: var(--soft);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.dashboard-analysis-toolbar {
  display: grid;
  grid-template-columns: minmax(170px, .58fr) minmax(0, 1.42fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-2) 72%, var(--surface));
}
.dashboard-analysis-heading { display: flex; align-items: center; gap: 9px; min-width: 0; }
.dashboard-analysis-heading > span {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--info);
  border: 1px solid color-mix(in srgb, var(--info) 22%, var(--line));
  border-radius: 10px;
  background: var(--info-bg);
}
.dashboard-analysis-heading > div { display: grid; gap: 2px; min-width: 0; }
.dashboard-analysis-heading strong { font-size: 11px; }
.dashboard-analysis-heading small {
  overflow: hidden;
  color: var(--soft);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-analysis-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.dashboard-analysis-controls select {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 28px 0 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background-color: var(--surface);
  font-size: 9.5px;
}
.analysis-kpi-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 14px;
}
.analysis-kpi-strip .command-stat { min-height: 78px; padding: 10px; }
.analysis-kpi-strip .command-stat span { min-height: 0; }
.analysis-kpi-strip .command-stat strong { font-size: 21px; }
.command-details[open] {
  border-color: color-mix(in srgb, var(--violet) 22%, var(--line));
  box-shadow: 0 12px 32px rgba(55, 39, 114, .06);
}
.command-details[open] > summary {
  background: color-mix(in srgb, var(--violet-bg) 35%, var(--surface));
}
.command-details > summary::after {
  content: "+";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin-left: 4px;
  color: var(--violet);
  background: var(--violet-bg);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
}
.command-details[open] > summary::after { content: "−"; }

@media (max-width: 980px) {
  .dashboard-analysis-toolbar { grid-template-columns: 1fr; }
  .analysis-kpi-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-command { grid-template-columns: 1fr; }
  .catalog-command > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .platform-progress-link { grid-template-columns: minmax(130px,.8fr) minmax(150px,1.2fr) 16px; }
}
@media (max-width: 700px) {
  .dashboard-analysis-topline { align-items: flex-start; }
  .dashboard-analysis-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-analysis-controls .button { width: 100%; }
  .analysis-kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .catalog-command { padding: 8px; border-radius: 14px; }
  .catalog-command > div:first-child { padding: 7px 8px; }
  .catalog-stat { min-height: 58px; }
  .platform-progress-link { grid-template-columns: minmax(0,1fr) 16px; }
  .platform-progress-link > div { grid-column: 1 / -1; }
  .platform-progress-open { grid-column: 2; grid-row: 1; }
}

/* ==================================================================== */
/* v15.2.2 · OPERATIONAL ANALYTICS & QUIET NOTIFICATIONS                */
/* ==================================================================== */
.analytics-progress {
  display: grid;
  gap: 7px;
  padding: 10px 0;
}
.analytics-progress + .analytics-progress { border-top: 1px solid var(--line); }
.analytics-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  color: var(--soft);
  font-size: 11.5px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.analytics-progress-head > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.analytics-progress-head b { color: var(--ink); font-size: 12px; }
.analytics-progress-head strong { color: var(--ink); font: 800 13px/1 var(--font-display); }
.analytics-progress-head em {
  padding: 3px 6px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  color: var(--brand-text);
  background: var(--brand-soft);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 800;
}
.analytics-progress .progress-track,
.account-performance-track,
.cart-goal-track {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--line) 83%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--line-strong) 58%, transparent);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.05);
}
.analytics-progress .progress-track { height: 9px; margin: 0; }
.analytics-progress .progress-bar {
  position: relative;
  min-width: 0;
  background: var(--brand);
  box-shadow: none;
}
.analytics-progress .progress-bar.green {
  background: var(--ok);
  box-shadow: none;
}

.cart-performance { display: grid; gap: 11px; }
.cart-performance-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cart-performance-head > span { color: var(--soft); font-size: 10px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.cart-performance-head strong { color: var(--ink); font: 820 22px/1 var(--font-display); }
.cart-performance-head small { color: var(--soft); font: 650 9px/1 var(--font-body); }
.cart-goal-track { display: block; height: 9px; }
.cart-goal-track > span {
  display: block; min-width: 0; height: 100%; background: var(--brand);
  border-radius: inherit; transition: width .18s cubic-bezier(.2,.8,.2,1);
}
.cart-goal-track.complete > span { background: var(--ok); }
.cart-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.cart-stat-grid.has-unknown .cart-stat:last-child { grid-column: 1 / -1; }
.cart-stat {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto 14px;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.cart-stat:hover { border-color: var(--line-strong); background: var(--surface-2); }
.cart-stat-label { overflow: hidden; display: flex; align-items: center; gap: 7px; color: var(--soft); font-size: 10px; font-weight: 720; text-overflow: ellipsis; white-space: nowrap; }
.cart-stat-label > i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--ink-2); }
.cart-stat.yellow .cart-stat-label > i { background: var(--brand); }
.cart-stat-value { display: grid; justify-items: end; gap: 2px; white-space: nowrap; }
.cart-stat-value strong { font: 820 14px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.cart-stat-value small { color: var(--soft); font-size: 8px; }
.cart-stat > em { color: var(--soft); font-size: 9px; font-style: normal; font-weight: 800; }
.cart-stat > svg { color: var(--faint); }
.cart-stat-progress {
  grid-column: 1 / -1; display: block; height: 5px; overflow: hidden;
  background: var(--line); border-radius: 999px;
}
.cart-stat-progress > i { display: block; height: 100%; background: var(--ink-2); border-radius: inherit; }
.cart-stat.yellow .cart-stat-progress > i { background: var(--brand); }
.cart-stat.complete .cart-stat-progress > i { background: var(--ok); }

.account-performance-list { display: grid; gap: 5px; }
.account-performance-row {
  width: 100%;
  display: grid;
  grid-template-columns: 31px minmax(0,1fr) auto 14px;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.account-performance-row:hover { border-color: var(--line); background: var(--surface-2); }
.account-platform { display: grid; place-items: center; }
.account-performance-main { min-width: 0; display: grid; gap: 6px; }
.account-performance-main b { overflow: hidden; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.account-performance-track { display: block; width: 100%; height: 6px; }
.account-performance-track i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.account-performance-row.complete .account-performance-track i { background: var(--ok); }
.account-performance-row.unplanned .account-performance-track { opacity: .55; }
.account-performance-value { display: grid; justify-items: end; gap: 1px; font-variant-numeric: tabular-nums; }
.account-performance-value strong { font: 820 13px/1 var(--font-display); }
.account-performance-value small { color: var(--soft); font-size: 8.5px; }
.account-performance-row > svg { color: var(--faint); }

.coverage-percent {
  min-width: 38px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: var(--surface-2);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

/* Calendar: a compact operational surface, not a wall of rows. */
.calendar-grid {
  display: block;
  overflow-x: auto;
  border-color: color-mix(in srgb, var(--line-strong) 72%, var(--line));
  box-shadow: 0 12px 34px rgba(15,23,42,.045);
}
.calendar-weekdays,
.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(112px, 1fr));
  min-width: 784px;
}
.calendar-weekdays { border-bottom: 1px solid var(--line); }
.calendar-head {
  min-height: 34px;
  background: color-mix(in srgb, var(--surface) 92%, var(--surface-2));
}
.calendar-day { min-height: 106px; padding: 8px; background: var(--surface); }
.calendar-day:nth-child(7n), .calendar-day:nth-child(7n-1) { background: color-mix(in srgb, var(--surface-2) 38%, var(--surface)); }
.calendar-day.today { background: color-mix(in srgb, var(--brand) 5%, var(--surface)); box-shadow: inset 0 0 0 2px var(--brand); }
.calendar-date { min-height: 22px; align-items: center; }
.calendar-date b { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 8px; }
.calendar-day.today .calendar-date b { color: #111827; background: var(--brand); box-shadow: 0 5px 12px rgba(242,174,0,.22); }
.calendar-date em {
  padding: 3px 6px;
  border: 1px solid var(--info-line);
  border-radius: 999px;
  color: var(--info);
  background: var(--info-bg);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}
.calendar-item { border-radius: 9px; box-shadow: inset 2px 0 currentColor; }
.calendar-item:hover { filter: saturate(1.04); transform: translateY(-1px); }
.calendar-item-meta { margin-top: 3px; }
.calendar-item-meta .platform-mark { box-shadow: none; }
.calendar-more {
  width: fit-content;
  margin-top: 3px;
  padding: 3px 6px;
  border: 0;
  border-radius: 7px;
  color: var(--info);
  background: var(--info-bg);
  font-size: 8.5px;
  font-weight: 800;
}
.agenda-posting { transition: background .14s ease, transform .14s ease; }
.agenda-posting:hover { transform: translateX(2px); background: color-mix(in srgb, var(--info) 3%, var(--surface)); }

/* Read notifications remain only in history and are visually quiet. */
.notification-page-item:not(.notif-unread) {
  opacity: .66;
  background: color-mix(in srgb, var(--surface-2) 34%, var(--surface));
}
.notification-page-item:not(.notif-unread):hover { opacity: 1; }
.notification-page-item.notif-unread {
  position: relative;
  box-shadow: inset 3px 0 var(--brand);
}
.notification-page-item.notif-unread::after {
  content: "";
  position: absolute;
  top: 13px;
  right: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 13%, transparent);
}
.notification-page-item.notif-unread:has(.button)::after { right: 132px; }
.notification-pagination { margin-top: 12px; }

@media (max-width: 980px) {
  .cart-stat-grid { grid-template-columns: 1fr; }
  .calendar-day { min-height: 92px; }
}
@media (max-width: 700px) {
  .calendar-weekdays,
  .calendar-days-grid { grid-template-columns: repeat(7, minmax(88px, 1fr)); min-width: 616px; }
  .account-performance-row { grid-template-columns: 29px minmax(0,1fr) auto; }
  .account-performance-row > svg { display: none; }
  .calendar-day { min-height: 82px; padding: 6px; }
  .calendar-date em { display: none; }
  .notification-page-item.notif-unread::after { display: none; }
}

/* ==================================================================== */
/* v15.3.0 · DAILY CONTROL & PRODUCT DRILLDOWN                          */
/* ==================================================================== */
.calendar-day-workspace {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 96%, var(--info-bg));
  box-shadow: 0 18px 46px rgba(15,23,42,.055);
}
.calendar-day-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 2px 2px 4px;
}
.calendar-day-hero h3 { margin: 3px 0 0; font: 850 22px/1.12 var(--font-display); }
.calendar-day-hero p { margin: 4px 0 0; color: var(--soft); font-size: 11px; }
.calendar-day-state {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--info-line);
  border-radius: 999px;
  color: var(--info);
  background: var(--info-bg);
  font-size: 10px;
  font-weight: 800;
}
.calendar-day-state.today { color: #8a5b00; background: var(--brand-soft); border-color: var(--brand-line); }
.calendar-day-state.past { color: var(--soft); background: var(--surface-2); border-color: var(--line); }
.calendar-day-kpi-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; }
.calendar-day-kpi {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  min-height: 86px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(15,23,42,.035);
}
.calendar-day-kpi::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--line-strong); }
.calendar-day-kpi > span { display: flex; align-items: center; gap: 6px; color: var(--soft); font-size: 9.5px; font-weight: 760; }
.calendar-day-kpi strong { margin-top: 12px; font: 850 24px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.calendar-day-kpi small { margin-top: 4px; color: var(--soft); font-size: 9px; }
.calendar-day-kpi.blue { background: var(--info-bg); border-color: var(--info-line); }
.calendar-day-kpi.blue::before, .calendar-day-kpi.cyan::before { background: var(--info); }
.calendar-day-kpi.cyan { background: color-mix(in srgb, #e7f5ff 76%, var(--surface)); border-color: color-mix(in srgb, #53a7df 30%, var(--line)); }
.calendar-day-kpi.violet { background: var(--violet-bg); border-color: var(--violet-line); }
.calendar-day-kpi.violet::before { background: var(--violet); }
.calendar-day-kpi.green { background: var(--ok-bg); border-color: var(--ok-line); }
.calendar-day-kpi.green::before { background: var(--ok); }
.calendar-day-kpi.amber { background: var(--warn-bg); border-color: var(--warn-line); }
.calendar-day-kpi.amber::before { background: var(--warn); }
.calendar-day-kpi.red { background: var(--danger-bg); border-color: var(--danger-line); }
.calendar-day-kpi.red::before { background: var(--danger); }
.calendar-day-columns { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr); gap: 10px; }
.calendar-day-section {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.calendar-day-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
}
.calendar-day-section-head h3 { margin: 3px 0 0; font: 820 14px/1.2 var(--font-display); }
.calendar-day-section-head > small { max-width: 210px; color: var(--soft); font-size: 9px; text-align: right; }
.calendar-day-filter-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.calendar-day-filter-tabs .coverage-filter { min-height: 26px; padding: 0 8px; font-size: 8.5px; }
.calendar-day-product-list,
.calendar-day-task-list { max-height: 560px; overflow: auto; scrollbar-width: thin; }
.calendar-day-product-row {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: background .14s ease, transform .14s ease;
}
.calendar-day-product-row:last-child { border-bottom: 0; }
.calendar-day-product-row:hover { background: color-mix(in srgb, var(--info-bg) 32%, var(--surface)); transform: translateX(2px); }
.calendar-day-product-top,
.calendar-day-product-bottom { display: flex; align-items: center; gap: 8px; min-width: 0; }
.calendar-day-product-top { justify-content: space-between; }
.calendar-day-product-name { min-width: 0; display: grid; gap: 4px; }
.calendar-day-product-name > strong { overflow: hidden; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.calendar-day-destinations { min-width: 0; display: flex; align-items: center; gap: 5px; color: var(--soft); }
.calendar-day-destinations small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-day-product-state {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: var(--surface-2);
  font-size: 8px;
  font-weight: 800;
}
.calendar-day-product-state.complete { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
.calendar-day-product-state.progress { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
.calendar-day-product-state.attention { color: var(--danger); background: var(--danger-bg); border-color: var(--danger-line); }
.calendar-day-product-progress { overflow: hidden; height: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); }
.calendar-day-product-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#f2ae00,#ffd34d); }
.calendar-day-product-row.complete .calendar-day-product-progress i { background: linear-gradient(90deg,#15965b,#27b574); }
.calendar-day-product-bottom { color: var(--soft); font-size: 9px; font-variant-numeric: tabular-nums; }
.calendar-day-product-bottom b { color: var(--ink); font-size: 11px; }
.calendar-day-remaining { margin-right: auto; color: var(--warn); font-weight: 760; }
.calendar-cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 21px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: var(--surface-2);
  font-size: 8px;
  font-weight: 750;
  white-space: nowrap;
}
.calendar-cart-pill.yellow { color: #8a5b00; background: var(--brand-soft); border-color: var(--brand-line); }
.calendar-day-task-row {
  width: 100%;
  display: grid;
  grid-template-columns: 62px 28px minmax(0,1fr) auto 14px;
  align-items: center;
  gap: 8px;
  min-height: 67px;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
  text-align: left;
  transition: background .14s ease, transform .14s ease;
}
button.calendar-day-task-row { cursor: pointer; }
button.calendar-day-task-row:hover { background: color-mix(in srgb, var(--info-bg) 36%, var(--surface)); transform: translateX(2px); }
.calendar-day-task-row:last-child { border-bottom: 0; }
.calendar-day-task-row > time { color: var(--warn); font-size: 9px; font-weight: 820; font-variant-numeric: tabular-nums; }
.calendar-day-task-platform { display: grid; place-items: center; }
.calendar-day-task-main { min-width: 0; display: grid; gap: 3px; }
.calendar-day-task-main > strong,
.calendar-day-task-main > small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-day-task-main > strong { font-size: 10.5px; }
.calendar-day-task-main > small { color: var(--soft); font-size: 8.5px; }
.calendar-day-task-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: var(--soft); font-size: 8px; }
.calendar-day-task-meta > span:not(.calendar-cart-pill) { display: inline-flex; align-items: center; gap: 3px; }
.calendar-day-task-stage { padding: 4px 7px; border: 1px solid var(--line); border-radius: 999px; font-size: 8px; font-weight: 800; white-space: nowrap; }
.calendar-day-task-stage.complete { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
.calendar-day-task-stage.progress { color: var(--info); background: var(--info-bg); border-color: var(--info-line); }
.calendar-day-task-stage.attention { color: var(--danger); background: var(--danger-bg); border-color: var(--danger-line); }
.calendar-day-empty { padding: 34px 18px; color: var(--soft); font-size: 10px; text-align: center; }

/* Product drilldown: precise destinations, carts and workflow without a table wall. */
.drawer-root.daily-product-open {
  grid-template-columns: minmax(0,1fr) clamp(600px,52vw,820px);
}
.daily-product-drawer {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.daily-product-drawer > header .modal-close { flex: 0 0 auto; }
.daily-product-drawer .posting-drawer-body { overflow-x: hidden; }
.daily-product-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
}
.daily-product-hero > div:first-child { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.daily-product-hero > div:first-child > strong { font: 850 21px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.daily-product-hero > div:first-child > small { color: var(--soft); font-size: 10px; }
.daily-product-hero-platforms { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; }
.daily-product-stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.daily-product-stat-grid > article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 8px;
  min-width: 0;
  min-height: 74px;
  padding: 13px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}
.daily-product-stat-grid > article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--line-strong);
}
.daily-product-stat-grid > article:nth-child(2)::before,
.daily-product-stat-grid > article:nth-child(3)::before { background: var(--brand); }
.daily-product-stat-grid > article:nth-child(4)::before { background: var(--ok); }
.daily-product-stat-grid span { min-width: 0; color: var(--soft); font-size: 9px; font-weight: 780; }
.daily-product-stat-grid strong { font: 850 23px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.daily-cart-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.daily-cart-card { display: grid; gap: 9px; min-width: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.daily-cart-card.yellow { background: linear-gradient(135deg, var(--warn-bg), var(--surface) 58%); border-color: var(--warn-line); }
.daily-cart-card > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.daily-cart-card strong { font-size: 10.5px; }
.daily-cart-card span { overflow: hidden; color: var(--soft); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.daily-cart-card .product-progress-track { height: 7px; margin: 0; }
.daily-cart-card small { color: var(--soft); font-size: 9px; }
.daily-task-list { display: grid; gap: 7px; margin-top: 10px; }
.daily-task-row {
  display: grid;
  grid-template-columns: 64px 26px minmax(0,1fr) auto 16px;
  grid-template-areas: "time platform main stage arrow";
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}
button.daily-task-row { width: 100%; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .14s ease, background .14s ease, transform .14s ease; }
button.daily-task-row:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateX(-2px); }
.daily-task-row > time { grid-area: time; color: var(--warn); font-size: 9.5px; font-weight: 820; font-variant-numeric: tabular-nums; white-space: nowrap; }
.daily-task-platform { grid-area: platform; display: grid; place-items: center; }
.daily-task-main { grid-area: main; min-width: 0; display: grid; gap: 3px; }
.daily-task-main strong,
.daily-task-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.daily-task-main strong { font-size: 10.5px; }
.daily-task-main small { color: var(--soft); font-size: 8.5px; }
.daily-task-stage { grid-area: stage; max-width: 150px; overflow: hidden; padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 8px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.daily-task-stage.green { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
.daily-task-stage.amber { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
.daily-task-stage.red { color: var(--danger); background: var(--danger-bg); border-color: var(--danger-line); }
.daily-task-stage.blue { color: var(--info); background: var(--info-bg); border-color: var(--info-line); }
.daily-task-row > svg { grid-area: arrow; color: var(--muted); }

@media (max-width: 1180px) {
  .calendar-day-kpi-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .calendar-day-columns { grid-template-columns: 1fr; }
  .calendar-day-product-list,
  .calendar-day-task-list { max-height: 460px; }
}
@media (max-width: 700px) {
  .calendar-day-workspace { padding: 9px; border-radius: 15px; }
  .calendar-day-hero { align-items: flex-start; }
  .calendar-day-hero h3 { font-size: 18px; }
  .calendar-day-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .calendar-day-kpi { min-height: 73px; padding: 10px; }
  .calendar-day-kpi strong { font-size: 20px; }
  .calendar-day-section-head { flex-direction: column; }
  .calendar-day-filter-tabs { justify-content: flex-start; }
  .calendar-day-product-bottom { flex-wrap: wrap; }
  .calendar-day-remaining { margin-right: 0; }
  .calendar-day-task-row { grid-template-columns: 52px 24px minmax(0,1fr) 14px; }
  .calendar-day-task-stage { grid-column: 3; width: fit-content; }
  .calendar-day-task-row > svg { grid-column: 4; grid-row: 1 / span 2; }
  .daily-product-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .daily-cart-grid { grid-template-columns: 1fr; }
  .drawer-root.daily-product-open { grid-template-columns: 1fr; }
  .daily-product-drawer { width: 100%; }
  .daily-product-hero { align-items: flex-start; }
  .daily-product-stat-grid > article { min-height: 66px; padding: 11px 12px; }
  .daily-task-row {
    grid-template-columns: 50px 24px minmax(0,1fr) 14px;
    grid-template-areas: "time platform main arrow" ". . stage stage";
    gap: 7px 9px;
  }
  .daily-task-stage { justify-self: start; max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Optional social integrations: compact, informative and never required for CMS work. */
.account-integration-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 4px 6px;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .14s ease, transform .14s ease;
}
.account-integration-trigger:hover {
  background: var(--surface-2);
  transform: translateY(-1px);
}
.account-integration-trigger > span:last-child { min-width: 0; display: grid; gap: 3px; }
.account-integration-trigger small {
  overflow: hidden;
  color: var(--soft);
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.integration-provider-mini,
.integration-provider-mark { display: grid; place-items: center; flex: 0 0 auto; }
.integration-status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
}
.integration-status-badge.green { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
.integration-status-badge.blue { color: var(--info); background: var(--info-bg); border-color: var(--info-line); }
.integration-status-badge.amber { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
.integration-status-badge.red { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-line); }
.integration-status-badge.gray { color: var(--soft); background: var(--surface-2); }
.integration-unavailable { color: var(--soft); font-size: 9px; }
.account-integration-modal { width: min(720px, calc(100vw - 28px)); }
.integration-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 190px;
  color: var(--soft);
}
.integration-modal-shell { display: grid; gap: 14px; }
.integration-hero {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--info-bg) 48%, var(--surface)), var(--surface));
}
.integration-provider-mark {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.integration-hero > div:nth-child(2) { min-width: 0; }
.integration-hero span { color: var(--soft); font-size: 9px; font-weight: 740; }
.integration-hero h3 {
  overflow: hidden;
  margin: 3px 0 0;
  font: 850 20px/1.15 var(--font-display);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.integration-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.integration-detail-card {
  display: grid;
  gap: 6px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-2);
}
.integration-detail-card span { color: var(--soft); font-size: 8.5px; font-weight: 760; }
.integration-detail-card strong { overflow-wrap: anywhere; font-size: 11px; }
.integration-note {
  padding: 11px 12px;
  border: 1px solid var(--info-line);
  border-radius: 12px;
  color: var(--info);
  background: var(--info-bg);
  font-size: 9px;
  line-height: 1.55;
}
.integration-note.action-message { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
.integration-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.danger-text { color: var(--bad) !important; }

@media (max-width: 700px) {
  .integration-hero { grid-template-columns: auto minmax(0,1fr); }
  .integration-hero > .integration-status-badge { grid-column: 1 / -1; }
  .integration-detail-grid { grid-template-columns: 1fr; }
  .integration-actions { align-items: stretch; flex-direction: column; }
  .integration-actions .button { justify-content: center; width: 100%; }
}

/* Verrou opérationnel des liens publics : visible, clair et sans connotation
   de notation ou de sanction. */
.public-link-gate-banner {
  position: sticky;
  z-index: 12;
  top: 68px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--warn-line);
  border-radius: 16px;
  color: var(--text);
  background: color-mix(in srgb, var(--warn-bg) 90%, var(--surface));
  box-shadow: var(--shadow-2);
}
.public-link-gate-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: var(--warn);
  background: var(--surface);
}
.public-link-gate-banner strong,
.public-link-gate-banner small { display: block; }
.public-link-gate-banner strong { font-size: 12px; }
.public-link-gate-banner small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.public-link-gate-modal { display: grid; gap: 14px; }
.public-link-gate-summary {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--warn-line);
  border-radius: 15px;
  color: var(--text);
  background: var(--warn-bg);
}
.public-link-gate-summary > svg { color: var(--warn); }
.public-link-gate-summary strong { font-size: 13px; }
.public-link-gate-summary p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.public-link-gate-list {
  display: grid;
  gap: 7px;
  max-height: 310px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}
.public-link-gate-list li {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}
.public-link-gate-list strong,
.public-link-gate-list small { display: block; }
.public-link-gate-list strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.public-link-gate-list small { margin-top: 2px; color: var(--soft); font-size: 9px; }

@media (max-width: 700px) {
  .public-link-gate-banner { top: 58px; grid-template-columns: auto minmax(0,1fr); }
  .public-link-gate-banner .button { grid-column: 1 / -1; justify-content: center; width: 100%; }
}

/* ==================================================================== */
/* Private evolution layer — stable DS, accessibility and responsive UI */
/* ==================================================================== */
.badge.green,
.integration-status-badge.green { color: var(--semantic-ok-fg); }
.badge.amber,
.integration-status-badge.amber { color: var(--semantic-warn-fg); }
.badge.red,
.integration-status-badge.red { color: var(--semantic-bad-fg); }
.badge.blue,
.integration-status-badge.blue { color: var(--semantic-info-fg); }

.notification-page-item { cursor: default; }
.notification-page-open {
  grid-column: 1 / 3;
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
}
.notification-page-open > div { min-width: 0; display: grid; gap: 3px; }
.notification-page-item:not(.notif-unread) {
  opacity: 1;
  background: color-mix(in srgb, var(--surface-2) 52%, var(--surface));
  border-color: color-mix(in srgb, var(--line) 82%, transparent);
}

.table-wrap.table-scrollable {
  max-width: 100%;
  overflow: auto;
  overscroll-behavior: contain;
}
.table-wrap.table-scrollable .data-table thead th {
  position: sticky;
  z-index: 2;
  top: 0;
  background: var(--surface-2);
  box-shadow: 0 1px 0 var(--line);
}

@media (pointer: coarse) {
  .icon-action,
  .icon-button.small,
  .tab,
  .coverage-filter-tab,
  .posting-task-range button,
  .pagination-actions button {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 740px) {
  /* Keep the two high-value global actions reachable on phones. */
  .topbar-actions > :not(.notification-center) { display: none !important; }
  .notification-button { display: inline-grid !important; }
  .global-search {
    position: absolute;
    right: 60px;
    display: grid !important;
    width: 38px;
    height: 38px;
  }
  .global-search input {
    width: 38px;
    min-height: 38px;
    padding: 0;
    color: transparent;
    caret-color: transparent;
    border-radius: 10px;
  }
  .global-search i {
    right: 50%;
    pointer-events: none;
    transform: translate(50%, -50%);
  }
  .global-search kbd { display: none; }

  table[data-mobile-cards],
  table[data-mobile-cards] tbody,
  table[data-mobile-cards] tr,
  table[data-mobile-cards] td { display: block; width: 100%; }
  table[data-mobile-cards] thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  table[data-mobile-cards] tbody { display: grid; gap: 10px; }
  table[data-mobile-cards] tr {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-1);
  }
  table[data-mobile-cards] td {
    display: grid;
    grid-template-columns: minmax(92px, 36%) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere;
  }
  table[data-mobile-cards] td:last-child { border-bottom: 0; }
  table[data-mobile-cards] td::before {
    content: attr(data-label);
    color: var(--soft);
    font-size: 11px;
    font-weight: 700;
  }
  table[data-mobile-cards] .row-actions { justify-content: flex-start; flex-wrap: wrap; }
}

/* ==================================================================== */
/* v15.3.4 · PREMIUM CLARITY — additive, data-safe component refinements */
/* ==================================================================== */
:root {
  --control-height: 42px;
  --control-touch-height: 44px;
  --focus-ring-color: var(--brand-text);
  --focus-ring-soft: color-mix(in srgb, var(--focus-ring-color) 22%, transparent);
  --button-ok-bg: #116f43;
  --button-warn-bg: #8b5009;
  --button-bad-bg: #a92f34;
}
[data-theme="dark"] {
  --focus-ring-color: var(--brand);
  --focus-ring-soft: color-mix(in srgb, var(--focus-ring-color) 28%, transparent);
  --button-ok-bg: #176b45;
  --button-warn-bg: #86530d;
  --button-bad-bg: #a8383c;
}

/* Shared foundations: contain long content and keep keyboard focus visible. */
.content,
.panel,
.panel-body,
.layout-grid > *,
.form-grid > *,
.posting-form-section,
.calendar-day-workspace,
.calendar-day-section { min-width: 0; max-width: 100%; }
img, video { max-width: 100%; height: auto; }
:where(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus-ring-color);
  outline-offset: 2px;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--focus-ring-color);
  outline: 0;
  box-shadow: 0 0 0 3px var(--focus-ring-soft);
}
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--semantic-bad-fg);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--semantic-bad-fg) 15%, transparent);
}
.field-error { color: var(--semantic-bad-fg); line-height: 1.4; }
.text-success { color: var(--semantic-ok-fg) !important; }
.text-warning { color: var(--semantic-warn-fg) !important; }
.text-danger,
.button.soft-danger,
.posting-filter-alert { color: var(--semantic-bad-fg) !important; }
.button.success {
  color: #fff;
  background: var(--button-ok-bg);
  border-color: var(--button-ok-bg);
}
.button.success:hover:not(:disabled) {
  color: #fff;
  background: var(--button-ok-bg);
  border-color: var(--button-ok-bg);
  filter: none;
}
.button.warning {
  color: #fff;
  background: var(--button-warn-bg);
  border-color: var(--button-warn-bg);
}
.button.warning:hover:not(:disabled) {
  color: #fff;
  background: var(--button-warn-bg);
  border-color: var(--button-warn-bg);
  filter: none;
}
.button.danger,
.button.primary.danger,
#modalSaveButton.danger {
  color: #fff;
  background: var(--button-bad-bg);
  border-color: var(--button-bad-bg);
}
.button.danger:hover:not(:disabled),
.button.primary.danger:hover:not(:disabled),
#modalSaveButton.danger:hover:not(:disabled) {
  color: #fff;
  background: var(--button-bad-bg);
  border-color: var(--button-bad-bg);
  filter: none;
}
.eyebrow,
.notification-popover-head button,
.notification-view-all:hover,
.command-caption b,
.command-result-icon,
.posting-task-row time strong,
.posting-task-selected > div:first-child span,
.posting-review-hero span,
.coverage-filter-tab.active b,
.compact-toggle.active,
.coverage-open { color: var(--semantic-warn-fg); }

/* Progress and Product Coverage: quiet tracks, explicit states, readable mix. */
.progress-track,
.product-progress-track,
.calendar-day-product-progress {
  border: 1px solid color-mix(in srgb, var(--line-strong) 66%, transparent);
  background: color-mix(in srgb, var(--line) 80%, var(--surface));
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .055);
}
.progress-bar,
.product-progress-track > i,
.calendar-day-product-progress > i { min-width: 0; }
.coverage-overview {
  padding: 13px 14px;
  background: color-mix(in srgb, var(--brand-soft) 34%, var(--surface));
}
.coverage-toolbar,
.coverage-filter-tabs { max-width: 100%; }
.coverage-filter-tabs {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}
.coverage-filter-tab,
.compact-toggle { min-height: 34px; font-size: 10.5px; }
.coverage-filter-tab b { font-size: 9.5px; }
.coverage-list-full {
  gap: 8px;
  padding: 1px 5px 1px 1px;
  scrollbar-gutter: stable;
}
.coverage-item {
  gap: 9px;
  padding: 12px 13px;
  border-radius: 13px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .025);
}
.coverage-item:hover,
.coverage-item:focus-visible {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface-2) 74%, var(--surface));
}
.coverage-item .progress-meta small { font-size: 10.5px; }
.coverage-status { font-size: 10.5px; line-height: 1.35; }
.coverage-state {
  padding: 3px 7px;
  border: 1px solid var(--line);
  font-size: 10px;
}
.coverage-state.missing,
.coverage-chip.red { color: var(--semantic-bad-fg); border-color: var(--bad-line); }
.coverage-state.progress,
.coverage-chip.amber { color: var(--semantic-warn-fg); border-color: var(--warn-line); }
.coverage-state.complete,
.coverage-chip.green { color: var(--semantic-ok-fg); border-color: var(--ok-line); }
.product-state.green,
.posting-ready-note,
.calendar-day-kpis b.green { color: var(--semantic-ok-fg); }
.product-state.amber,
.calendar-day-remaining,
.daily-task-row > time { color: var(--semantic-warn-fg); }
.product-state.red { color: var(--semantic-bad-fg); }
.product-state.blue { color: var(--semantic-info-fg); }
.coverage-percent {
  min-width: 44px;
  padding: 4px 7px;
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 780;
}
.coverage-cart-detail { gap: 6px; margin-top: 1px; }
.coverage-cart-detail span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 10.5px;
  white-space: nowrap;
}
.coverage-list-full.compact .coverage-cart-detail {
  display: flex;
  gap: 5px;
}
.coverage-list-full.compact .coverage-cart-detail span { padding-block: 3px; }
.coverage-list-full.compact .progress-track { height: 7px; }

/* Calendar: preserve density while making every operational state legible. */
.calendar-grid {
  max-width: 100%;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}
.calendar-modebar { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.calendar-modebar .tabs { max-width: 100%; overflow-x: auto; scrollbar-width: thin; }
.calendar-summary.modern span { min-height: 78px; }
.calendar-summary.modern small { font-size: 10.5px; }
.calendar-item {
  min-width: 0;
  padding: 6px 7px;
  border: 1px solid var(--line);
  border-left: 3px solid currentColor;
  line-height: 1.3;
}
.calendar-item strong { font-size: 11.5px; }
.calendar-item span,
.calendar-item small,
.calendar-item-meta { font-size: 10px; }
.calendar-item.green,
.calendar-day-product-state.complete,
.calendar-day-task-stage.complete,
.daily-task-stage.green { color: var(--semantic-ok-fg); }
.calendar-item.amber,
.calendar-day-product-state.progress,
.daily-task-stage.amber { color: var(--semantic-warn-fg); }
.calendar-item.red,
.calendar-day-product-state.attention,
.calendar-day-task-stage.attention,
.daily-task-stage.red { color: var(--semantic-bad-fg); }
.calendar-item.blue,
.calendar-day-task-stage.progress,
.daily-task-stage.blue { color: var(--semantic-info-fg); }
.calendar-date em,
.calendar-more { color: var(--semantic-info-fg); font-size: 10px; }
.calendar-more { min-height: 30px; padding: 5px 8px; }
.calendar-agenda-day > summary { min-height: 56px; }
.calendar-agenda-day > summary em { color: var(--semantic-warn-fg); font-size: 10px; }
.calendar-agenda-row { min-height: 58px; }
.calendar-agenda-row > time { color: var(--semantic-warn-fg); }
.calendar-day-kpi > span { font-size: 11px; line-height: 1.3; }
.calendar-day-kpi small { font-size: 10.5px; line-height: 1.35; }
.calendar-day-state.today,
.calendar-cart-pill.yellow { color: var(--semantic-warn-fg); }
.calendar-day-section-head > small { font-size: 10.5px; line-height: 1.4; }
.calendar-day-filter-tabs .coverage-filter { min-height: 34px; font-size: 10px; }
.calendar-day-product-name > strong { font-size: 12px; }
.calendar-day-product-state,
.calendar-day-task-stage { font-size: 10px; }
.calendar-day-product-bottom { font-size: 10.5px; line-height: 1.4; }
.calendar-day-task-main > strong { font-size: 12px; }
.calendar-day-task-main > small,
.calendar-day-task-meta { font-size: 10.5px; line-height: 1.35; }
.calendar-day-task-row > time { color: var(--semantic-warn-fg); font-size: 10.5px; }
.calendar-day-empty { font-size: 11.5px; }

/* Forms and modals: stable controls, inline validation, viewport-safe sheets. */
label { color: var(--ink-2); font-size: 13px; line-height: 1.35; }
input,
select,
textarea {
  min-height: var(--control-height);
  border-color: var(--line-strong);
  background: var(--surface);
  font-size: 13px;
  line-height: 1.35;
}
textarea { line-height: 1.5; }
input::placeholder,
textarea::placeholder { color: var(--soft); opacity: .86; }
input:disabled,
select:disabled,
textarea:disabled {
  color: var(--soft);
  background: var(--surface-2);
}
.field-help { font-size: 11.5px; line-height: 1.45; }
.modal-root { padding: 16px; }
.modal {
  max-width: 100%;
  max-height: min(calc(100vh - 32px), calc(100dvh - 32px));
  border-color: var(--line-strong);
}
.modal-header,
.modal-footer { flex: 0 0 auto; }
.modal-header { min-height: 62px; }
.modal-header h2 { overflow-wrap: anywhere; font-size: 18px; line-height: 1.25; }
.modal-body {
  min-height: 0;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.modal-footer {
  box-shadow: 0 -8px 22px color-mix(in srgb, var(--ink) 5%, transparent);
}
.posting-modal { max-height: min(calc(100vh - 24px), calc(100dvh - 24px)); }
.posting-modal .modal-body { scrollbar-gutter: stable; }
.posting-flow button { min-height: 44px; }
.posting-form-section { gap: 15px; padding: 18px; }
.posting-task-toolbar > *,
.posting-task-toolbar input,
.posting-task-toolbar select { height: var(--control-height); min-height: var(--control-height); }
.posting-task-row { min-height: 52px; }
.posting-task-row time strong,
.posting-task-row-main strong { font-size: 12px; }
.posting-task-row time small,
.posting-task-row-main small,
.posting-task-row-meta small { font-size: 10.5px; }
.posting-task-row-meta em { font-size: 10px; }
.posting-task-row-meta em.yellow { color: var(--semantic-warn-fg); }
.posting-product-choice { min-height: 44px; }
.posting-product-choice:focus-within {
  border-color: var(--focus-ring-color);
  box-shadow: 0 0 0 3px var(--focus-ring-soft);
}
.posting-product-choice strong { font-size: 11.5px; }
.posting-autosave { font-size: 11.5px; line-height: 1.4; }
.posting-review-summary dt,
.posting-task-selected dt { font-size: 10px; }
.posting-review-summary dd,
.posting-task-selected dd { font-size: 12px; }

/* Tables: aligned dense desktop view and contained mobile cards. */
.table-wrap {
  max-width: 100%;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  border-color: var(--line-strong);
}
.table-wrap:focus-within { border-color: color-mix(in srgb, var(--focus-ring-color) 44%, var(--line)); }
table { line-height: 1.4; }
th,
td { padding: 12px 14px; }
th {
  color: var(--ink-2);
  font-size: 11px;
  letter-spacing: .065em;
}
tbody tr { transition: background-color .14s ease; }
tbody tr:hover,
tbody tr:focus-within { background: color-mix(in srgb, var(--surface-2) 78%, var(--surface)); }
.cell-secondary { font-size: 12px; line-height: 1.4; }
.row-actions { gap: 7px; }
.table-pagination {
  min-height: 48px;
  padding-top: 12px;
  color: var(--ink-2);
  font-size: 12px;
}

/* Notifications: compact hierarchy without reducing read-item opacity. */
.notification-popover { border-color: var(--line-strong); }
.notification-preview { min-height: 62px; }
.notification-preview time { color: var(--soft); font-size: 11px; }
.notification-category-tab { min-height: 44px; }
.notification-category-tab.active {
  border-color: var(--brand-line);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 18%, transparent);
}
.notification-page-list { gap: 9px; }
.notification-page-item {
  min-height: 78px;
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .025);
}
.notification-page-item:hover,
.notification-page-item:focus-within {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface-2) 66%, var(--surface));
  transform: none;
}
.notification-page-item.notif-unread {
  background: color-mix(in srgb, var(--brand-soft) 28%, var(--surface));
  box-shadow: inset 3px 0 0 var(--brand), 0 1px 2px rgba(15, 23, 42, .025);
}
.notification-page-open { min-height: 54px; border-radius: 10px; }
.notification-page-open .cell-secondary:not(.muted) {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.notification-page-open .cell-secondary.muted { color: var(--soft); font-size: 11px; }
.notification-meta { color: var(--ink-2); font-size: 10px; }
.notification-action .notification-category-icon { color: var(--semantic-warn-fg); }
.notification-system .notification-category-icon { color: var(--semantic-info-fg); }

/* The compact sidebar remains a complete, high-contrast navigation surface. */
@media (min-width: 901px) {
  body.sidebar-compact { --sidebar-width: 80px; }
  body.sidebar-compact .sidebar-brand {
    min-height: 90px;
    align-content: start;
    padding: 12px 10px 8px;
  }
  body.sidebar-compact .brand-mark.small { width: 40px; height: 40px; }
  body.sidebar-compact .sidebar-collapse-button {
    top: 57px;
    right: 50%;
    width: 32px;
    height: 32px;
    transform: translateX(50%);
  }
  body.sidebar-compact #mainNav { padding: 8px 8px 18px; }
  body.sidebar-compact .nav-item { min-height: 48px; margin-block: 3px; border-radius: 12px; }
  body.sidebar-compact .nav-item.active::before { left: -8px; height: 28px; }
  body.sidebar-compact .nav-icon { width: 38px; height: 38px; }
  body.sidebar-compact .user-mini .avatar { width: 40px; height: 40px; }
}

/* Responsive containment: retain search, refresh, language and notifications. */
@media (max-width: 740px) {
  .topbar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .global-search {
    position: relative;
    right: auto;
    top: auto;
    display: grid !important;
    justify-self: end;
    width: 40px;
    height: 40px;
  }
  .global-search input { width: 40px; min-height: 40px; border-radius: 11px; }
  .topbar-actions > [data-action="refresh"],
  .topbar-actions > .language-button { display: inline-grid !important; }
  .topbar-actions > [data-action="refresh"],
  .topbar-actions > .language-button,
  .notification-button { min-width: 40px; min-height: 40px; }
  .notification-button { display: inline-grid !important; }
  .notification-popover {
    position: fixed;
    top: calc(var(--topbar-height) + 8px);
    right: 10px;
    left: 10px;
    width: auto;
    max-height: calc(100dvh - var(--topbar-height) - 18px);
  }
  .notification-preview-list { max-height: calc(100dvh - var(--topbar-height) - 190px); }
  .coverage-overview { align-items: stretch; }
  .coverage-toolbar { align-items: stretch; flex-direction: column; width: 100%; }
  .coverage-filter-tabs { width: 100%; }
  .coverage-filter-tab { flex: 0 0 auto; }
  .coverage-item .progress-meta { align-items: flex-start; flex-direction: column; gap: 7px; }
  .coverage-status { justify-items: start; text-align: left; }
  .coverage-cart-detail { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; }
  .calendar-modebar .tabs { width: 100%; }
  .calendar-day-kpi-grid { gap: 7px; }
  .calendar-day-section-head > small { max-width: none; text-align: left; }
  .modal-root {
    align-items: end;
    padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
  }
  .modal,
  .posting-modal {
    width: 100%;
    max-height: calc(100dvh - 16px);
    border-radius: 16px;
  }
  .modal-header { min-height: 56px; }
  .modal-footer { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .posting-form-section { padding: 14px; }
  .posting-review-summary dd,
  .posting-task-selected dd { overflow-wrap: anywhere; white-space: normal; }
  .table-pagination { align-items: stretch; }
  .pagination-actions { justify-content: space-between; width: 100%; }
  table[data-mobile-cards] td { font-size: 12.5px; line-height: 1.45; }
  .notification-page-open { grid-template-columns: 34px minmax(0, 1fr); }
}

@media (pointer: coarse) {
  input,
  select,
  textarea,
  .button,
  .icon-button,
  .language-button,
  .notification-category-tab,
  .coverage-filter-tab,
  .compact-toggle,
  .calendar-item,
  .calendar-more,
  .calendar-agenda-day > summary,
  .calendar-agenda-row,
  .calendar-day-product-row,
  .calendar-day-task-row,
  .posting-product-choice,
  .posting-task-range button,
  .posting-task-row,
  .pagination-actions button,
  .row-actions button { min-height: var(--control-touch-height); }
  .icon-button,
  .icon-action,
  .pagination-actions button { min-width: var(--control-touch-height); }
  input[type="checkbox"],
  input[type="radio"] { width: 22px; min-height: 22px; height: 22px; }
}

[data-theme="dark"] .calendar-day-kpi.cyan { background: var(--info-bg); border-color: var(--info-line); }
[data-theme="dark"] .planning-editor-modal .modal-body { background: var(--surface-2); }
[data-theme="dark"] .posting-task-row-meta em.yellow {
  color: var(--semantic-warn-fg);
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
}

/* v15.4.0 · Calendar week control ------------------------------------- */
.calendar-week-panel { overflow: hidden; }
.calendar-week-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 8px;
  scrollbar-width: thin;
}
.calendar-week-day {
  min-width: 0;
  min-height: 430px;
  background: var(--surface);
  border-right: 1px solid var(--border);
}
.calendar-week-day:last-child { border-right: 0; }
.calendar-week-day.today { background: color-mix(in srgb, var(--brand) 4%, var(--surface)); }
.calendar-week-day-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 8px;
  width: 100%;
  min-height: 72px;
  padding: 12px;
  color: var(--text);
  text-align: left;
  background: var(--surface-soft);
  border: 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.calendar-week-day.today .calendar-week-day-head { box-shadow: inset 0 3px 0 var(--semantic-warn-fg); }
.calendar-week-day-head:focus-visible { outline-offset: -3px; }
.calendar-week-day-head > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.calendar-week-day-head > strong { font-size: 22px; line-height: 1; }
.calendar-week-day-head > small {
  grid-column: 1 / -1;
  color: var(--text-soft);
  font-size: 10px;
}
.calendar-week-task-list { display: grid; gap: 7px; padding: 9px; }
.calendar-week-task {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  width: 100%;
  min-height: 72px;
  padding: 9px;
  color: var(--text);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--info);
  border-radius: 11px;
  cursor: pointer;
}
.calendar-week-task.status-published,
.calendar-week-task.published,
.calendar-week-task.green { border-left-color: var(--success); }
.calendar-week-task.status-revision-required,
.calendar-week-task.revision-required,
.calendar-week-task.amber { border-left-color: var(--warn); }
.calendar-week-task.status-rejected,
.calendar-week-task.rejected,
.calendar-week-task.red { border-left-color: var(--danger); }
.calendar-week-task.violet { border-left-color: var(--violet); }
.calendar-week-task.neutral { border-left-color: var(--muted); }
.calendar-week-task[aria-disabled="true"] { cursor: default; }
.calendar-week-task:hover {
  border-top-color: var(--line-strong);
  border-right-color: var(--line-strong);
  border-bottom-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.calendar-week-time { padding-top: 2px; color: var(--text-soft); font-size: 10px; font-weight: 800; }
.calendar-week-platform { display: inline-grid; place-items: center; justify-self: end; }
.calendar-week-copy { display: grid; grid-column: 1 / -1; min-width: 0; gap: 3px; }
.calendar-week-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.calendar-week-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.calendar-week-state {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 3px 6px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 800;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.calendar-week-more {
  width: 100%;
  min-height: 34px;
  color: var(--semantic-info-fg);
  font-size: 10px;
  font-weight: 800;
  background: var(--info-bg);
  border: 1px solid var(--info-line);
  border-radius: 9px;
  cursor: pointer;
}
.calendar-week-empty { padding: 24px 8px; color: var(--muted); font-size: 11px; text-align: center; }

@media (max-width: 740px) {
  .calendar-week-panel { margin-inline: -2px; }
  .calendar-week-board {
    grid-template-columns: repeat(7, minmax(clamp(280px, 82vw, 360px), 1fr));
    scroll-snap-type: x proximity;
  }
  .calendar-week-day { min-height: 340px; scroll-snap-align: start; }
}

@media (pointer: coarse) {
  .calendar-week-more { min-height: var(--control-touch-height); }
}

@media (forced-colors: active) {
  .calendar-week-day.today .calendar-week-day-head { border-top: 3px solid Highlight; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .analytics-progress .progress-bar::after { display: none !important; }
}

/* Keep the ink sidebar readable and keyboard-safe in every theme. */
.sidebar :where(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .sidebar {
    visibility: hidden;
    transition: transform .22s ease, visibility 0s linear .22s;
  }
  .sidebar.open {
    visibility: visible;
    transition-delay: 0s;
  }
}

/* v15.4.0 private · personal notification audio lives in Settings only. */
.notification-audio-panel { overflow: hidden; }
.notification-audio-panel .panel-head { align-items: center; }
.notification-audio-panel .panel-head p {
  max-width: 650px;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.45;
}
.notification-sound-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  cursor: pointer;
}
.notification-sound-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.notification-sound-switch > span {
  position: relative;
  width: 38px;
  height: 22px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background .16s ease, border-color .16s ease;
}
.notification-sound-switch > span > i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: var(--surface);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(15,23,42,.22);
  transition: transform .16s ease;
}
.notification-sound-switch input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
}
.notification-sound-switch input:checked + span > i { transform: translateX(16px); }
.notification-sound-switch input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--brand) 34%, transparent);
  outline-offset: 3px;
}
.notification-sound-switch > strong { min-width: 42px; font-size: 10.5px; }
.notification-control-label { display: grid; gap: 3px; }
.notification-control-label strong { font-size: 11px; }
.notification-control-label small { color: var(--muted); font-size: 9.5px; }
.notification-audio-body { display: grid; gap: 11px; }
.notification-audio-controls {
  display: grid;
  gap: 9px;
  padding: 11px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 13px;
}
.notification-tone-section {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.notification-tone-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  min-width: 0;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
}
.notification-tone-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 36px;
  padding: 5px 8px;
  color: var(--text);
  text-align: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.notification-tone-option:hover:not(:disabled) { background: var(--surface-soft); }
.notification-tone-option.active {
  background: var(--brand-soft);
  border-color: var(--brand);
  box-shadow: none;
}
.notification-tone-option:focus-visible { outline-offset: 2px; }
.notification-tone-option:disabled { cursor: default; opacity: .48; }
.notification-tone-option strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notification-tone-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  color: var(--brand-deep);
  background: transparent;
}
.notification-tone-wave i {
  display: block;
  width: 2px;
  height: 7px;
  background: currentColor;
  border-radius: 999px;
}
.notification-tone-wave i:nth-child(2) { height: 13px; }
.notification-tone-wave.soft i:first-child { height: 5px; }
.notification-tone-wave.soft i:nth-child(2) { height: 9px; }
.notification-tone-wave.soft i:last-child { height: 6px; }
.notification-tone-wave.pulse i:first-child { height: 10px; }
.notification-tone-wave.pulse i:nth-child(2) { height: 5px; }
.notification-tone-wave.pulse i:last-child { height: 13px; }
.notification-volume-row {
  display: grid;
  grid-template-columns: 34px minmax(250px, 1fr) 34px auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.notification-volume-step {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.notification-volume-step:hover:not(:disabled) {
  color: var(--brand-text);
  background: var(--brand-soft);
  border-color: var(--brand-line);
}
.notification-volume-step:focus-visible { outline-offset: 2px; }
.notification-volume-console {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 8px 10px 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
}
.notification-volume-readout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.notification-volume-readout > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--brand-text);
  background: var(--brand-soft);
  border-radius: 7px;
}
.notification-volume-readout > strong {
  color: var(--text);
  font-size: 10.5px;
}
.notification-volume-row output {
  min-width: 45px;
  color: var(--text);
  font: 800 12px/1 var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}
.notification-volume-track {
  position: relative;
  height: 26px;
  min-width: 0;
  border-radius: 7px;
}
.notification-volume-meter {
  position: absolute;
  inset: 6px 0;
  display: grid;
  grid-template-columns: repeat(20, minmax(2px, 1fr));
  gap: 3px;
  pointer-events: none;
}
.notification-volume-meter i {
  min-width: 0;
  background: var(--line-strong);
  border-radius: 999px;
  transition: background .12s ease, transform .12s ease;
}
.notification-volume-meter i.active {
  background: var(--brand);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-text) 25%, transparent);
}
.notification-audio-panel .notification-volume-row input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 26px;
  min-height: 22px;
  margin: 0;
  padding: 0;
  line-height: normal;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  opacity: 0;
  appearance: none;
  -webkit-appearance: none;
}
.notification-volume-track:focus-within {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.notification-audio-panel .notification-volume-row input[type="range"]:disabled {
  cursor: default;
}
.notification-volume-device {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.25;
}
.notification-volume-device svg { flex: 0 0 auto; }
.notification-volume-device.is-ready { color: var(--brand-text); }
.notification-volume-device span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notification-audio-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 92px;
  min-height: 34px;
  margin: 0;
  padding: 5px 9px;
  text-align: center;
}
.notification-audio-preview strong { font-size: 9.5px; line-height: 1.15; }
.notification-role-policy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 1px 2px 0;
}
.notification-role-policy > div { display: flex; align-items: center; gap: 8px; }
.notification-role-policy > div:first-child { min-width: 0; }
.notification-role-policy > div:first-child > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: var(--semantic-info-fg);
  background: var(--info-bg);
  border-radius: 8px;
}
.notification-role-policy > div:first-child > div { display: grid; gap: 2px; min-width: 0; }
.notification-role-policy strong { font-size: 10.5px; }
.notification-role-policy small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.notification-role-policy > div:last-child { justify-content: flex-end; flex-wrap: wrap; }
.notification-role-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 23px;
  padding: 3px 7px;
  color: var(--semantic-info-fg);
  font-size: 8.5px;
  font-weight: 800;
  background: var(--surface);
  border: 1px solid var(--info-line);
  border-radius: 999px;
  white-space: nowrap;
}
.notification-audio-note {
  margin: 0 2px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}
.notification-audio-panel.is-muted .notification-audio-controls { opacity: .68; }

@media (max-width: 760px) {
  .notification-tone-section { grid-template-columns: 1fr; gap: 7px; }
  .notification-volume-row { grid-template-columns: 40px minmax(0, 1fr) 40px; }
  .notification-audio-preview { grid-column: 1 / -1; width: 100%; }
  .notification-role-policy { align-items: flex-start; flex-direction: column; }
  .notification-role-policy > div:last-child { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .notification-audio-panel .panel-head { align-items: flex-start; }
  .notification-sound-switch { margin-top: 2px; }
  .notification-tone-option { padding-inline: 5px; }
  .notification-tone-option strong { font-size: 9px; }
  .notification-volume-readout { grid-template-columns: auto minmax(0, 1fr) auto; }
}

@media (pointer: coarse) {
  .notification-tone-option,
  .notification-sound-switch,
  .notification-audio-preview { min-height: var(--control-touch-height); }
  .notification-volume-step {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }
  .notification-audio-panel .notification-volume-row input[type="range"] {
    height: 30px;
    min-height: 30px;
  }
}

@media (forced-colors: active) {
  .notification-sound-switch input:checked + span { background: Highlight; }
  .notification-tone-option.active { outline: 2px solid Highlight; }
  .notification-volume-meter { display: none; }
  .notification-audio-panel .notification-volume-row input[type="range"] {
    position: static;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notification-sound-switch > span,
  .notification-sound-switch > span > i,
  .notification-tone-option,
  .notification-volume-meter i { transition: none; }
}

/* v15.4 — cycle de vie des publications supprimées */
.posting-scope-tabs { flex: 1 1 auto; }
.posting-trash-tab { gap: 6px; }
.posting-trash-tab > b {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  color: var(--bad);
  font-size: 9px;
  background: var(--bad-bg);
  border: 1px solid var(--bad-line);
  border-radius: 999px;
}
.posting-trash-tab.active > b {
  color: var(--surface);
  background: var(--bad);
  border-color: var(--bad);
}
.posting-trash-overview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--bad-bg) 45%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--bad-line) 72%, var(--line));
  border-radius: 16px;
}
.posting-trash-overview-icon,
.trash-confirmation-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--bad);
  background: var(--bad-bg);
  border: 1px solid var(--bad-line);
  border-radius: 12px;
}
.posting-trash-overview > div { min-width: 0; }
.posting-trash-overview p {
  max-width: 820px;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.posting-trash-retention { display: grid; justify-items: end; gap: 1px; white-space: nowrap; }
.posting-trash-retention strong { color: var(--text); font-size: 18px; line-height: 1; }
.posting-trash-retention small { color: var(--muted); font-size: 9px; }
.posting-trash-panel { overflow: clip; }
.posting-trash-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 180px;
  color: var(--muted);
  text-align: center;
}
.posting-trash-loading:not(.error) svg { animation: spin .9s linear infinite; }
.posting-trash-loading.error { color: var(--bad); flex-wrap: wrap; }
.posting-trash-list .compact-posting-card { border-left: 3px solid var(--bad-line); }
.posting-trash-list .compact-posting-card:hover {
  background: color-mix(in srgb, var(--bad-bg) 30%, var(--surface));
}
.posting-trash-list .compact-posting-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.trash-audit,
.trash-expiry { display: grid; gap: 3px; }
.trash-audit strong,
.trash-expiry strong { color: var(--text); font-size: 10px; }
.trash-audit small,
.trash-expiry small,
.trash-by { color: var(--muted); font-size: 9px; line-height: 1.4; }
.trash-by { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; }
.trash-expiry.urgent strong,
.trash-expiry.urgent small { color: var(--bad); }
.trash-confirmation,
.trash-purge-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}
.trash-confirmation strong,
.trash-purge-summary strong,
.trash-confirmation-summary > strong { display: block; margin-bottom: 5px; font-size: 14px; }
.trash-confirmation p,
.trash-purge-summary p { margin: 11px 0 0; color: var(--muted); line-height: 1.55; }
.trash-confirmation-summary { display: grid; gap: 5px; padding: 13px 2px 2px; }
.trash-confirmation-meta { margin-top: 3px; }
.trash-purge-summary dl { display: grid; gap: 6px; margin: 13px 0 0; }
.trash-purge-summary dl > div {
  display: grid;
  grid-template-columns: minmax(110px, auto) 1fr;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.trash-purge-summary dt { color: var(--muted); font-size: 9px; font-weight: 800; }
.trash-purge-summary dd { margin: 0; font-size: 10px; font-weight: 700; }
.trash-purge-form input { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }

@media (max-width: 760px) {
  .posting-trash-overview { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .posting-trash-retention { justify-items: start; grid-column: 2; white-space: normal; }
  .posting-trash-overview > .button { grid-column: 1 / -1; width: 100%; }
  .posting-trash-list .compact-posting-actions .button { flex: 1 1 180px; justify-content: center; }
  .trash-confirmation,
  .trash-purge-summary { grid-template-columns: 1fr; }
}

@media (pointer: coarse) {
  .posting-trash-list .button,
  .posting-trash-overview .button { min-height: var(--control-touch-height); }
}

/* Fenêtres de planning chargées à la demande : état neutre et compact. */
.planning-window-loader,
.planning-window-empty {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.planning-window-loader { margin: 10px 0 14px; }
.planning-window-loader svg { animation: spin .9s linear infinite; }
.planning-window-empty { min-height: 76px; }

/* v15.6 — présence opérationnelle et provenance des actions */
.presence-trigger {
  gap: 7px;
  color: var(--ink-2);
  background: var(--surface);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-1);
}
.presence-trigger:hover { border-color: var(--ok-line); background: var(--ok-bg); }
.presence-trigger b { color: var(--ok); font-size: 10px; white-space: nowrap; }
.presence-live-dot,
.presence-status > i,
.presence-summary-chip > i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 13%, transparent);
}
.presence-live-dot { animation: presencePulse 2.2s ease-out infinite; }
@keyframes presencePulse {
  0%, 70%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 13%, transparent); }
  35% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ok) 3%, transparent); }
}
.presence-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  color: var(--ok);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.presence-status.idle { color: var(--warn); }
.presence-status.offline { color: var(--soft); }
.presence-status.idle > i,
.presence-summary-chip.idle > i { background: var(--warn); box-shadow: none; }
.presence-status.offline > i,
.presence-summary-chip.offline > i { background: var(--faint); box-shadow: none; }
.employee-presence-cell { display: grid; gap: 3px; }
.employee-presence-cell small { color: var(--soft); font-size: 10px; white-space: nowrap; }
.employee-presence-cell em {
  width: max-content;
  color: var(--soft);
  font-size: 10px;
  font-style: normal;
}
.drawer-header-actions { display: flex !important; align-items: center; gap: 7px; }
.team-presence-drawer { justify-self: end; width: min(620px, 100vw); }
.team-presence-body { align-content: start; gap: 14px; }
.presence-summary { display: flex; flex-wrap: wrap; gap: 7px; }
.presence-summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  color: var(--ink-2);
  font-size: 10.5px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.presence-summary-chip b { font-family: var(--font-display); font-size: 11px; }
.presence-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  padding: 10px 12px;
  color: var(--soft);
  font-size: 10px;
  background: var(--surface-2);
  border-radius: var(--r-sm);
}
.team-presence-list { display: grid; gap: 7px; }
.team-presence-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 10px;
  min-width: 0;
  padding: 11px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .16s ease, background .16s ease;
}
.team-presence-row:hover { border-color: var(--line-strong); background: var(--surface-2); }
.presence-avatar {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--brand-text);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 11px;
}
.presence-person,
.presence-activity { min-width: 0; }
.presence-person { display: grid; gap: 1px; }
.presence-person strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.presence-person small,
.presence-activity small { color: var(--soft); font-size: 10px; }
.presence-activity { display: grid; gap: 2px; }
.presence-activity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.presence-session-count {
  grid-column: 3;
  grid-row: 1;
  display: inline-flex;
  align-items: baseline;
  justify-content: end;
  gap: 4px;
  color: var(--soft);
  white-space: nowrap;
}
.presence-session-count b { color: var(--ink); font-family: var(--font-display); font-size: 12px; }
.presence-session-count span { font-size: 10px; }
.team-presence-row > .button {
  grid-column: 3;
  grid-row: 2;
  min-height: 27px;
  padding: 4px 8px;
  font-size: 10px;
}
.danger-text { color: var(--bad) !important; }
.presence-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
  color: var(--soft);
  font-size: 11px;
}
.presence-loading svg { animation: spin .9s linear infinite; }
.posting-provenance {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  color: var(--ok);
  background: color-mix(in srgb, var(--ok-bg) 70%, var(--surface));
  border: 1px solid var(--ok-line);
  border-radius: var(--r-sm);
}
.posting-provenance > div { display: grid; gap: 2px; min-width: 0; }
.posting-provenance strong { color: var(--ink); font-size: 10.5px; }
.posting-provenance small { color: var(--soft); font-size: 9.5px; overflow-wrap: anywhere; }
.revision-actor {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 9.5px;
  font-weight: 700;
}

@media (max-width: 740px) {
  .presence-trigger { flex: 1 1 auto; justify-content: center; }
  .team-presence-drawer { width: 100%; }
  .team-presence-row { grid-template-columns: 36px minmax(0, 1fr); }
  .presence-session-count { grid-column: 2; grid-row: auto; justify-content: start; }
  .team-presence-row > .button { grid-column: 1 / -1; grid-row: auto; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .presence-live-dot { animation: none; }
}

/* v15.7.0 · Daily Missing control center. */
.missing-center-banner {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--info);
  border-radius: 13px;
  box-shadow: var(--shadow-1);
}
.missing-center-banner.blocking { border-left-color: var(--bad); }
.missing-center-banner-icon,
.missing-center-overview-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.missing-center-banner.blocking .missing-center-banner-icon {
  color: var(--bad);
  background: var(--bad-bg);
  border-color: var(--bad-line);
}
.missing-center-banner > div { display: grid; min-width: 0; gap: 2px; }
.missing-center-banner strong { font-family: var(--font-display); font-size: 12.5px; }
.missing-center-banner small { color: var(--soft); font-size: 10.5px; line-height: 1.4; }
.missing-center-overview {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 13px;
  margin: 0 0 14px;
  padding: 12px 14px;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface-2) 60%, var(--surface));
  border: 1px solid var(--line);
  border-left: 3px solid var(--ok);
  border-radius: 14px;
}
.missing-center-overview.red { border-left-color: var(--bad); }
.missing-center-overview.blue { border-left-color: var(--info); }
.missing-center-overview > div { display: grid; min-width: 0; gap: 2px; }
.missing-center-overview > div > span {
  color: var(--soft);
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: .09em;
}
.missing-center-overview > div > strong { font: 760 13px/1.3 var(--font-display); }
.missing-center-overview > div > small { color: var(--soft); font-size: 10px; }
.missing-center-overview > b { min-width: 28px; font: 800 20px/1 var(--font-display); text-align: center; }
.modal.missing-center-modal { width: min(1040px, calc(100vw - 30px)); }
.missing-center-modal .modal-body {
  max-height: min(74dvh, 760px);
  padding: 15px;
  overflow: auto;
  background: color-mix(in srgb, var(--surface-2) 52%, var(--surface));
  overscroll-behavior: contain;
}
.missing-center-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.missing-center-intro > div { display: grid; gap: 2px; }
.missing-center-intro strong { font-size: 11.5px; }
.missing-center-intro small { color: var(--soft); font-size: 9.5px; line-height: 1.4; }
.missing-center-loading {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 220px;
  color: var(--soft);
}
.missing-center-loading svg { animation: spin .85s linear infinite; }
.missing-report-list { display: grid; gap: 12px; }
.missing-history-more {
  display: flex;
  justify-content: center;
  padding: 14px 0 2px;
}
.missing-report-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--warn);
  border-radius: 14px;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 4%, transparent);
}
.missing-report-card.blue { border-top-color: var(--info); }
.missing-report-card.red { border-top-color: var(--bad); }
.missing-report-card.green { border-top-color: var(--ok); }
.missing-report-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.missing-report-card > header > div { display: grid; gap: 2px; }
.missing-report-card > header > div > span {
  color: var(--soft);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .1em;
}
.missing-report-card > header strong { font: 780 15px/1.2 var(--font-display); }
.missing-report-card > header small { color: var(--soft); font-size: 9.5px; }
.missing-report-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 16px;
  padding: 8px 14px;
  color: var(--soft);
  background: color-mix(in srgb, var(--surface-2) 68%, var(--surface));
  border-bottom: 1px solid var(--line);
  font-size: 9.5px;
}
.missing-report-progress b { color: var(--ink); }
.missing-admin-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 9px 14px;
  color: var(--bad);
  background: var(--bad-bg);
  border-bottom: 1px solid var(--bad-line);
  font-size: 10.5px;
}
.missing-item-list { display: grid; gap: 8px; padding: 10px; }
.missing-item-card {
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
}
.missing-item-card.saved { background: color-mix(in srgb, var(--ok-bg) 24%, var(--surface)); }
.missing-item-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}
.missing-item-card > header > div { display: flex; align-items: center; min-width: 0; gap: 9px; }
.missing-item-card > header > div > div { display: grid; min-width: 0; gap: 2px; }
.missing-item-card > header strong { font: 750 11.5px/1.25 var(--font-display); }
.missing-item-card > header small {
  overflow: hidden;
  color: var(--soft);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.missing-justification-fields {
  display: grid;
  grid-template-columns: minmax(150px, .75fr) minmax(260px, 1.6fr) auto;
  align-items: end;
  gap: 8px;
}
.missing-justification-fields label,
.missing-admin-review label { display: grid; min-width: 0; gap: 4px; }
.missing-justification-fields label > span,
.missing-admin-review label > span {
  color: var(--soft);
  font-size: 9px;
  font-weight: 750;
}
.missing-justification-fields select,
.missing-justification-fields input,
.missing-justification-fields textarea,
.missing-admin-review textarea { min-height: 36px; font-size: 11px; }
.missing-justification-fields textarea { height: 36px; resize: vertical; }
.missing-justification-fields .button { min-height: 36px; }
.missing-justification-readonly {
  display: grid;
  grid-template-columns: minmax(120px, .7fr) minmax(240px, 1.75fr);
  gap: 7px;
  margin: 0;
}
.missing-justification-readonly > div {
  min-width: 0;
  padding: 8px 9px;
  background: var(--surface-2);
  border-radius: 9px;
}
.missing-justification-readonly dt { color: var(--soft); font-size: 8.5px; font-weight: 750; }
.missing-justification-readonly dd { margin: 2px 0 0; font-size: 10.5px; line-height: 1.4; }
.missing-report-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: var(--soft);
  background: color-mix(in srgb, var(--surface-2) 72%, var(--surface));
  border-top: 1px solid var(--line);
  font-size: 9.5px;
}
.missing-admin-review { align-items: end !important; }
.missing-admin-review > label { flex: 1; }
.missing-admin-review > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }

@media (max-width: 740px) {
  .missing-center-banner,
  .missing-center-overview { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 9px; }
  .missing-center-banner > .button,
  .missing-center-overview > .button { grid-column: 1 / -1; width: 100%; }
  .modal.missing-center-modal { width: 100%; }
  .missing-center-modal .modal-body { max-height: calc(94dvh - 118px); padding: 10px; }
  .missing-justification-fields,
  .missing-justification-readonly { grid-template-columns: 1fr; }
  .missing-justification-fields .button { width: 100%; }
  .missing-report-card > footer,
  .missing-admin-review { align-items: stretch !important; flex-direction: column; }
  .missing-admin-review > div { display: grid; grid-template-columns: 1fr; width: 100%; }
  .missing-admin-review .button { width: 100%; }
}

/* v15.7.0 · Shared, dependency-free date range control. */
.date-range-picker {
  position: relative;
  display: grid;
  gap: 5px;
  min-width: 0;
}
.date-range-caption {
  color: var(--soft);
  font-size: 10.5px;
  font-weight: 750;
}
.date-range-trigger {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 6px 10px 6px 7px;
  color: var(--ink);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  box-shadow: 0 1px 1px color-mix(in srgb, var(--ink) 4%, transparent);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.date-range-trigger:hover { background: var(--surface-2); border-color: var(--brand-line); }
.date-range-picker.open .date-range-trigger {
  border-color: var(--focus-ring-color);
  box-shadow: 0 0 0 3px var(--focus-ring-soft);
}
.date-range-trigger-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 32px;
  color: var(--brand-text);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 9px;
}
[data-theme="dark"] .date-range-trigger-icon { color: var(--brand); }
.date-range-trigger-copy { display: grid; min-width: 0; gap: 1px; }
.date-range-trigger-copy strong {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.date-range-trigger-copy small { color: var(--soft); font-size: 9.5px; }
.date-range-trigger-chevron {
  display: grid;
  place-items: center;
  color: var(--faint);
  transition: transform .15s ease;
}
.date-range-picker.open .date-range-trigger-chevron { transform: rotate(90deg); }
.posting-date-range-field,
.approval-date-filter,
.calendar-date-filter { grid-column: span 2; }

.active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: -4px 0 14px;
  padding: 0 2px;
}
.active-filter-strip-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  color: var(--soft);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.active-filter-chip {
  display: inline-grid;
  grid-template-columns: auto minmax(0, auto) 12px;
  align-items: center;
  gap: 5px;
  max-width: min(100%, 330px);
  min-height: 30px;
  padding: 4px 8px 4px 9px;
  color: var(--ink-2);
  font: inherit;
  text-align: left;
  background: color-mix(in srgb, var(--surface-2) 72%, var(--surface));
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color .14s ease, background-color .14s ease, border-color .14s ease;
}
.active-filter-chip small {
  color: var(--soft);
  font-size: 8.5px;
  font-weight: 750;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.active-filter-chip strong {
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.active-filter-chip svg { color: var(--faint); }
.active-filter-chip:hover {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--brand-line);
}
.active-filter-chip:hover svg { color: var(--bad); }
.active-filter-chip:focus-visible { outline-offset: 2px; }

.date-range-popover {
  position: fixed;
  z-index: 1120;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(660px, calc(100vw - 24px));
  max-height: min(560px, calc(100dvh - 24px));
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-3);
  overscroll-behavior: contain;
}
/* The author-level grid declaration above otherwise wins over Safari's
   user-agent [hidden] rule when a collapsed filter panel becomes visible. */
.date-range-popover[hidden] { display: none !important; }
.date-range-popover > header,
.date-range-popover > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
}
.date-range-popover > header { border-bottom: 1px solid var(--line); }
.date-range-popover > header > div { display: grid; gap: 1px; }
.date-range-popover > header strong { font-family: var(--font-display); font-size: 13px; }
.date-range-popover > header small { color: var(--soft); font-size: 9.5px; }
.date-range-popover > footer {
  justify-content: flex-end;
  background: color-mix(in srgb, var(--surface-2) 68%, var(--surface));
  border-top: 1px solid var(--line);
}
.date-range-popover-body {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 0;
  overflow: auto;
}
.date-range-presets {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 8px;
  background: color-mix(in srgb, var(--surface-2) 76%, var(--surface));
  border-right: 1px solid var(--line);
}
.date-range-presets button {
  min-height: 30px;
  padding: 5px 9px;
  color: var(--ink-2);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
}
.date-range-presets button:hover { color: var(--ink); background: var(--surface); }
.date-range-presets button.active {
  color: var(--on-brand);
  background: var(--brand);
  border-color: var(--brand-deep);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 20%, transparent);
}
.date-range-custom { display: grid; align-content: start; gap: 9px; padding: 12px; }
.date-range-custom-head { display: grid; gap: 2px; }
.date-range-custom-head strong { font-family: var(--font-display); font-size: 12.5px; }
.date-range-custom-head span { color: var(--soft); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.date-range-calendar-toolbar {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
}
.date-range-calendar-toolbar > span {
  overflow: hidden;
  color: var(--soft);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.date-range-calendars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.date-range-month { min-width: 0; }
.date-range-month h4 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 12.5px;
  text-align: center;
}
.date-range-grid,
.date-range-days { display: grid; }
.date-range-weekdays,
.date-range-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.date-range-weekdays { margin-bottom: 4px; }
.date-range-weekdays span {
  padding: 2px 0 5px;
  color: var(--faint);
  font-size: 8.5px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.date-range-day {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  height: 28px;
  padding: 0;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}
.date-range-day:hover { color: var(--ink); background: var(--surface-2); }
.date-range-day.outside { color: var(--faint); opacity: .55; }
.date-range-day.in-range {
  color: var(--brand-text);
  background: color-mix(in srgb, var(--brand-soft) 88%, var(--surface));
  border-radius: 0;
}
[data-theme="dark"] .date-range-day.in-range { color: var(--brand); }
.date-range-day.range-start,
.date-range-day.range-end {
  z-index: 1;
  color: var(--on-brand);
  background: var(--brand);
  border-radius: 9px;
  box-shadow: 0 3px 9px color-mix(in srgb, var(--brand) 24%, transparent);
  font-weight: 850;
}
.date-range-day.today:not(.range-start):not(.range-end)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 2px;
  background: var(--brand-deep);
  border-radius: 99px;
  transform: translateX(-50%);
}
.date-range-day:focus-visible { z-index: 2; outline-offset: 1px; }
.date-range-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
  align-items: end;
  gap: 8px;
}
.date-range-inputs label { display: grid; min-width: 0; gap: 5px; }
.date-range-inputs label > span { color: var(--soft); font-size: 10px; font-weight: 750; }
.date-range-inputs input {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.date-range-separator { align-self: center; padding-top: 18px; color: var(--faint); text-align: center; }
.date-range-error { min-height: 14px; margin: -3px 0 0; color: var(--bad); font-size: 10.5px; }
.date-range-error:empty { visibility: hidden; }
.date-range-selection-summary {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 10px;
  color: var(--brand-text);
  background: color-mix(in srgb, var(--brand-soft) 68%, var(--surface));
  border: 1px solid var(--brand-line);
  border-radius: 11px;
}
[data-theme="dark"] .date-range-selection-summary { color: var(--brand); }
.date-range-selection-summary > svg { justify-self: center; }
.date-range-selection-summary > div { display: grid; min-width: 0; gap: 2px; }
.date-range-selection-summary small { color: var(--soft); font-size: 9.5px; }
.date-range-selection-summary strong {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.posting-filter-title:empty { display: none; }
.posting-filter-alert.info {
  color: var(--semantic-info-fg) !important;
  background: var(--info-bg);
  border-color: var(--info-line);
}

/* v15.7.0 — compact analytical filters for precise desktop pointers only. */
@media (min-width: 741px) and (pointer: fine) {
  .smart-filter-panel > summary {
    min-height: 42px;
    padding: 7px 12px;
  }
  body[data-route="postings"] .posting-smart-filters .posting-filters {
    padding: 10px 12px 12px;
  }
  body[data-route="postings"] .posting-smart-filters .posting-filter-title {
    margin-bottom: 7px;
  }
  body[data-route="postings"] .posting-smart-filters .posting-filter-fields {
    gap: 7px 9px;
  }
  body[data-route="postings"] .posting-smart-filters .posting-filter-fields label span {
    margin-bottom: 3px;
    font-size: 9.5px;
  }
  body[data-route="postings"] .posting-smart-filters select,
  body[data-route="postings"] .posting-smart-filters input { min-height: 34px; }
  body[data-route="postings"] .posting-smart-filters .posting-filter-alert {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 10px;
  }
}
@media (min-width: 1181px) and (pointer: fine) {
  body[data-route="postings"] .posting-smart-filters .posting-filter-fields {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
  }
}
.report-period-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(300px, 430px);
  align-items: end;
  gap: 18px;
}
.report-period-copy { display: grid; align-self: center; gap: 3px; }
.report-period-copy strong { font-family: var(--font-display); font-size: 14px; }
.report-period-copy small { color: var(--soft); font-size: 10.5px; }

/* v15.6.3 — explicit plan-vs-actual context and missing-slot calendar states. */
.analysis-context-strip {
  display: grid;
  grid-template-columns: minmax(150px, .72fr) minmax(150px, .72fr) minmax(260px, 1.56fr);
  gap: 8px;
  margin: -4px 0 14px;
}
.analysis-context-strip > span,
.analysis-context-strip > .analysis-context-stat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 3px 10px;
  min-width: 0;
  min-height: 60px;
  padding: 10px 12px;
  color: var(--ink);
  text-align: left;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}
button.analysis-context-stat {
  font: inherit;
  cursor: pointer;
  transition: border-color .14s ease, background .14s ease, transform .14s ease;
}
button.analysis-context-stat:hover {
  transform: translateY(-1px);
  background: var(--surface);
  border-color: color-mix(in srgb, var(--brand) 34%, var(--line));
}
button.analysis-context-stat:focus-visible { outline-offset: 2px; }
.analysis-context-strip small {
  min-width: 0;
  color: var(--soft);
  font-size: 9.5px;
  font-weight: 750;
  line-height: 1.35;
}
.analysis-context-strip strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  font: 800 22px/1 var(--font-display);
}
.analysis-context-strip svg { grid-column: 3; grid-row: 1 / span 2; color: var(--faint); }
.analysis-context-strip > span:last-child {
  grid-template-columns: 1fr;
  align-content: center;
}
.analysis-context-strip > span:last-child b {
  color: var(--ink-2);
  font-size: 10.5px;
  line-height: 1.45;
}
.calendar-summary.modern { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.calendar-summary .red strong { color: var(--bad); }
.calendar-summary.modern .red { background: var(--bad-bg); border-color: var(--bad-line); }
.calendar-day-kpis b.red { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-line); }
.calendar-missing-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-height: 26px;
  margin: 3px 0 2px;
  padding: 4px 6px;
  color: var(--bad);
  text-align: left;
  background: color-mix(in srgb, var(--bad-bg) 72%, var(--surface));
  border: 1px dashed var(--bad-line);
  border-radius: 7px;
  font-size: 8.5px;
  font-weight: 800;
  cursor: pointer;
}
.calendar-missing-shortcut:hover { background: var(--bad-bg); border-style: solid; }
.calendar-agenda-row.missing {
  color: var(--ink);
  background: color-mix(in srgb, var(--bad-bg) 48%, var(--surface));
  border-left: 3px solid var(--bad);
}
.calendar-agenda-row.missing:hover { background: var(--bad-bg); }
.calendar-agenda-row.missing > time { color: var(--bad); }

@media (max-width: 740px) {
  .posting-date-range-field,
  .approval-date-filter,
  .calendar-date-filter { grid-column: 1; }
  .active-filter-chips { gap: 6px; margin-bottom: 11px; }
  .active-filter-chip { max-width: 100%; min-height: 34px; }
  .report-period-row { grid-template-columns: 1fr; gap: 12px; }
  .analysis-context-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analysis-context-strip > span:last-child { grid-column: 1 / -1; }
  .date-range-popover {
    inset: auto 8px 8px 8px !important;
    width: auto !important;
    max-height: min(88dvh, 680px);
    border-radius: 18px;
  }
  .date-range-popover-body { grid-template-columns: 1fr; min-height: 0; }
  .date-range-presets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .date-range-presets button { text-align: center; }
  .date-range-custom { gap: 12px; padding: 14px; }
  .date-range-calendar-toolbar,
  .date-range-calendars { display: none; }
  .date-range-popover > footer .button { flex: 1; }
}

@media (max-width: 430px) {
  .date-range-inputs { grid-template-columns: 1fr; }
  .date-range-separator { display: none; }
  .date-range-trigger-copy small { display: none; }
  .analysis-context-strip { grid-template-columns: 1fr; }
  .analysis-context-strip > span:last-child { grid-column: auto; }
}

@media (pointer: coarse) {
  .missing-justification-fields select,
  .missing-justification-fields input,
  .missing-justification-fields textarea,
  .missing-justification-fields .button,
  .missing-admin-review textarea,
  .missing-admin-review .button,
  .active-filter-chip,
  .date-range-presets button,
  .date-range-inputs input,
  .calendar-missing-shortcut { min-height: var(--control-touch-height); }
  .date-range-calendar-toolbar {
    grid-template-columns: var(--control-touch-height) minmax(0, 1fr) var(--control-touch-height);
  }
  .date-range-day {
    height: var(--control-touch-height);
    min-height: var(--control-touch-height);
  }
}

@media (prefers-reduced-motion: reduce) {
  .date-range-trigger,
  .date-range-trigger-chevron { transition: none; }
}
/* BEGIN DASHBOARD DATE SEPARATION 20260908 — Dashboard-only selectors. */
.command-center .dashboard-planning-note { color: var(--soft); font-size: 12px; margin: 5px 0 0; line-height: 1.5; }
.command-center .dashboard-plan-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.command-center .dashboard-plan-metrics .funnel-step { width: auto; min-width: 0; min-height: 64px; }
.command-center .dashboard-plan-metrics .funnel-step span { white-space: normal; font-size: 12px; }
.dashboard-daily-activity { margin: 18px 0 22px; padding: 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; }
.dashboard-daily-activity > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dashboard-scope-label { color: var(--soft); font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.dashboard-daily-activity h4 { margin: 4px 0; font-size: 16px; }
.dashboard-daily-activity header p, .dashboard-activity-note { color: var(--soft); font-size: 12px; line-height: 1.5; margin: 0; }
.dashboard-activity-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.dashboard-action-card { display: grid; gap: 10px; text-align: left; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--ink); cursor: pointer; }
.dashboard-action-card:hover { border-color: var(--brand); }
.dashboard-action-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.dashboard-action-card > span { display: flex; align-items: center; gap: 7px; font-size: 12px; line-height: 1.4; }
.dashboard-action-card > strong { font: 760 25px/1.15 var(--font-display); }
.dashboard-action-card > small { display: flex; align-items: center; gap: 5px; color: var(--soft); font-size: 11px; }
.dashboard-action-card.approved > strong, .dashboard-action-card.links > strong { color: var(--ok); }
.dashboard-activity-note { margin-top: 12px; }
.dashboard-undated { margin-top: 5px; }
.dashboard-detail-intro { color: var(--soft); line-height: 1.5; margin: 0 0 14px; }
.dashboard-activity-details { display: grid; gap: 10px; }
.dashboard-activity-details article { display: grid; gap: 7px; border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow-wrap: anywhere; }
.dashboard-activity-details article > small { color: var(--soft); line-height: 1.5; }
.dashboard-activity-details dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 4px 0 0; }
.dashboard-activity-details dt { color: var(--soft); font-size: 11px; }
.dashboard-activity-details dd { margin: 4px 0 0; font-size: 12px; }
.dashboard-activity-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
@media (max-width: 600px) {
  .dashboard-daily-activity { padding: 12px; }
  .dashboard-daily-activity > header { flex-direction: column; }
  .dashboard-activity-grid { grid-template-columns: 1fr; }
  .dashboard-action-card { grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 7px; }
  .dashboard-action-card > small { grid-column: 1 / -1; }
  .command-center .dashboard-plan-metrics { grid-template-columns: 1fr; }
  .command-center .dashboard-plan-metrics > .funnel-step:last-child { grid-column: auto; }
}
/* END DASHBOARD DATE SEPARATION 20260908 */

/* Compact counter presentation only. Shared by the private Dashboard / Calendar. */
.dashboard-daily-activity.activity-compact {
  position: relative;
  margin: 14px 0 22px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.activity-compact > header {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  min-height: 28px;
  padding-right: 32px;
  margin-bottom: 12px;
}
.activity-compact > header h4 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -.015em; }
.activity-compact > header time { color: var(--soft); font-size: 12px; font-variant-numeric: tabular-nums; }
.activity-compact .dashboard-activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
}
.activity-compact .dashboard-action-card {
  grid-template-columns: 34px minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background .15s ease;
}
.activity-compact .dashboard-action-card + .dashboard-action-card { border-left: 1px solid var(--line); }
.activity-compact .dashboard-action-card:hover:not(:disabled) { background: var(--surface); }
.activity-compact .dashboard-action-card:focus-visible { outline: 2px solid var(--brand); outline-offset: -3px; }
.activity-compact .dashboard-action-card:disabled { cursor: not-allowed; opacity: .65; }
.activity-compact .dashboard-action-card > .activity-card-icon {
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-2);
}
.activity-compact .dashboard-action-card.approved > .activity-card-icon,
.activity-compact .dashboard-action-card.links > .activity-card-icon { color: var(--ok); }
.activity-compact .dashboard-action-card > .activity-card-label { font-size: 12px; line-height: 1.4; font-weight: 550; overflow-wrap: anywhere; }
.activity-compact .dashboard-action-card > strong { font: 750 25px/1.15 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.activity-compact .dashboard-action-card > .activity-card-arrow { color: var(--soft); }
.activity-compact .activity-status { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; font-size: 12px; color: var(--warn); line-height: 1.5; }
.activity-status svg { flex-shrink: 0; }
.cms-counter-help > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  width: fit-content;
  list-style: none;
  border-radius: 7px;
  color: var(--soft);
  cursor: pointer;
  font-size: 11px;
}
.cms-counter-help > summary::-webkit-details-marker { display: none; }
.cms-counter-help > summary:hover, .cms-counter-help[open] > summary { background: var(--surface-2); color: var(--ink); }
.cms-counter-help > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.cms-counter-help-content { margin: 8px 0 12px; padding: 12px 14px; border-radius: 9px; background: var(--surface-2); color: var(--soft); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.cms-counter-help-content > p { margin: 0; }
.cms-counter-help-content > p + p { margin-top: 7px; }
.activity-help > summary { position: absolute; top: 15px; right: 14px; width: 30px; }
.planning-reconciliation-note { position: relative; margin: 8px 0 0; color: var(--soft); font-size: 12px; }
.planning-help > summary { margin-left: auto; padding: 0 6px; }
.planning-reconciliation-warning { display: inline-flex; align-items: center; gap: 6px; color: var(--warn); font-size: 12px; font-weight: 600; line-height: 1.5; }
.planning-reconciliation-note > .planning-reconciliation-warning { float: left; margin: 6px 12px 4px 0; }
.planning-reconciliation-note:after { content: ""; display: table; clear: both; }
.planning-help .cms-counter-help-content { clear: both; }
@media (max-width: 900px) {
  .activity-compact .dashboard-action-card { gap: 8px; padding: 12px 10px; grid-template-columns: 30px minmax(0, 1fr) auto 10px; }
  .activity-compact .dashboard-action-card > .activity-card-icon { width: 30px; height: 30px; }
}
@media (max-width: 600px) {
  .dashboard-daily-activity.activity-compact { padding: 12px; }
  .activity-compact > header { justify-content: flex-start; gap: 4px 12px; }
  .activity-compact > header h4 { width: 100%; }
  .activity-help > summary { top: 10px; right: 10px; width: 34px; min-height: 34px; }
  .activity-compact .dashboard-activity-grid { grid-template-columns: 1fr; }
  .activity-compact .dashboard-action-card { grid-template-columns: 32px minmax(0, 1fr) auto 12px; min-height: 62px; padding: 10px 12px; gap: 10px; }
  .activity-compact .dashboard-action-card + .dashboard-action-card { border-left: 0; border-top: 1px solid var(--line); }
  .activity-compact .dashboard-action-card > .activity-card-label { font-size: 13px; }
  .activity-compact .dashboard-action-card > strong { font-size: 23px; }
  .planning-help > summary { min-height: 36px; }
  .planning-reconciliation-note > .planning-reconciliation-warning { float: none; }
}
@media (prefers-reduced-motion: reduce) {
  .activity-compact .dashboard-action-card { transition: none; }
}


.reliability-toolbar{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-bottom:16px;font-size:12px;color:var(--muted,#687386)}
.reliability-issue{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #dfe4ec;flex-wrap:wrap}
.reliability-issue p{margin:6px 0}.reliability-issue label{display:block;margin-top:10px}.reliability-issue strong{overflow-wrap:anywhere}
.late-evidence158{margin:14px 0;padding:16px 18px;border:1px solid var(--border,#dfe4ec);border-left:4px solid #b45309;border-radius:8px;background:var(--surface,#fff)}
.late-evidence158>strong{display:block;color:var(--text,#243746)}
.late-evidence158 dl{display:flex;flex-wrap:wrap;gap:16px 32px;margin:14px 0}
.late-evidence158 dl div{min-width:180px}.late-evidence158 dt{font-size:12px;color:var(--muted,#687386);margin-bottom:4px}.late-evidence158 dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}
.late-evidence158 p{margin:0;max-width:78ch;line-height:1.55;color:var(--muted,#687386)}
.late-case158{margin:20px 0}.late-case158 h4{margin:0 0 6px}.late-case158>p{color:var(--muted,#687386)}
.late-case158 article{margin:14px 0;padding:16px;border:1px solid var(--border,#dfe4ec);border-radius:8px}.late-case158 article>p{margin:6px 0}.late-case158 article>strong{overflow-wrap:anywhere}


/* Content Operations design system. Native HTML Service; no runtime dependencies. */
:root {
  --color-primary:#f5b800;--color-primary-hover:#dfaa00;--color-primary-subtle:#fff8dc;
  --color-bg:#f6f8fb;--color-surface:#fff;--color-surface-subtle:#f8fafc;
  --color-text:#0f172a;--color-text-secondary:#526177;--color-text-tertiary:#64748b;
  --color-border:#e2e8f0;--color-border-strong:#cbd5e1;
  --color-success:#157347;--color-success-subtle:#eaf7ef;--color-warning:#805600;--color-warning-subtle:#fff7db;
  --color-danger:#b42332;--color-danger-subtle:#fff0f1;--color-info:#245db5;--color-info-subtle:#edf4ff;
  --color-revision:#a34b10;--color-revision-subtle:#fff3e9;--sidebar-bg:#0f2233;
  --radius-sm:6px;--radius-md:8px;--radius-lg:10px;
  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;
  --type-page:28px;--type-section:17px;--type-card:15px;--type-body:14px;--type-meta:12px;--type-table:13px;--type-kpi:28px;
  --font-body:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-display:var(--font-body);
  --canvas:var(--color-bg);--surface:var(--color-surface);--surface-2:var(--color-surface-subtle);--ink:var(--color-text);--ink-2:var(--color-text-secondary);--soft:var(--color-text-secondary);--faint:var(--color-text-tertiary);--line:var(--color-border);--line-strong:var(--color-border-strong);
  --brand:var(--color-primary);--brand-deep:var(--color-primary-hover);--brand-soft:var(--color-primary-subtle);--brand-text:#785800;--brand-line:#ead185;--on-brand:#171d25;
  --ok:var(--color-success);--ok-bg:var(--color-success-subtle);--warn:var(--color-warning);--warn-bg:var(--color-warning-subtle);--bad:var(--color-danger);--bad-bg:var(--color-danger-subtle);--info:var(--color-info);--info-bg:var(--color-info-subtle);
  --r-sm:var(--radius-sm);--r-md:var(--radius-md);--r-lg:var(--radius-lg);--sidebar-width:232px;
  --shadow-1:0 1px 2px #0f172a05;--shadow-2:0 4px 16px #0f172a0a;--shadow-3:0 12px 36px #0f172a1f;--focus:0 0 0 3px #2563eb35;
}
:root[data-theme="dark"] {
  --color-bg:#111923;--color-surface:#182331;--color-surface-subtle:#1d2b3c;--color-text:#edf2f8;--color-text-secondary:#b0bed0;--color-text-tertiary:#9cabbe;--color-border:#304155;--color-border-strong:#52657c;
  --color-success:#81d7a5;--color-success-subtle:#17392c;--color-warning:#f1cd76;--color-warning-subtle:#3c321d;--color-danger:#ffabb2;--color-danger-subtle:#42252d;--color-info:#9ec2ff;--color-info-subtle:#203956;--color-revision:#efb585;--color-revision-subtle:#3d2b21;--color-primary-subtle:#3a321c;--brand-text:#f1cd76;
}
body.saas {font-family:var(--font-body);font-size:var(--type-body);color:var(--ink);background:var(--canvas);line-height:1.5}
body.saas *,body.saas *:before,body.saas *:after {box-sizing:border-box}
body.saas .sidebar {width:var(--sidebar-width);background:var(--sidebar-bg);border-right:1px solid #253a4a;box-shadow:none}
body.saas .sidebar-brand {padding:18px 16px;min-height:76px;border-bottom:1px solid #253a4a}
body.saas .sidebar-brand .brand-mark {background:none;border:0;box-shadow:none;color:#f7c327;font-size:22px;width:50px;min-width:50px;height:36px;border-radius:0}
body.saas .brand-mark:after,body.saas .nav-item:before,body.saas .page-head h1:after {display:none}
body.saas .sidebar-brand strong {font-size:13px;color:#f4f7fb;letter-spacing:0}
body.saas .sidebar-brand span {font-size:11px;color:#a8b8c8;letter-spacing:0;line-height:1.4}
body.saas .sidebar-collapse-button {background:none;border:0;color:#b6c5d3;margin-left:auto}
body.saas .workspace-pill {display:none}
body.saas #mainNav {gap:3px;padding:10px}
body.saas .nav-group-label {font-size:10px;font-weight:500;letter-spacing:.08em;color:#93a8bc;padding:15px 10px 5px}
body.saas .nav-item {display:flex;min-height:38px;gap:10px;padding:9px 10px;color:#dce4ed;font-size:13px;font-weight:500;border:0;border-radius:var(--radius-sm);box-shadow:none;white-space:nowrap}
body.saas .nav-item .nav-icon {background:none;border:0;box-shadow:none;width:20px;height:20px;color:inherit}
body.saas .nav-item:hover {background:#20364a;color:white}
body.saas .nav-item.active {background:var(--brand);color:#142132;box-shadow:none}
body.saas .sidebar-footer {padding:12px 14px;border-top:1px solid #253a4a}
body.saas .sidebar-footer .logout {background:transparent;color:#d4dfeb;border:1px solid #3c5267;font-size:12px;min-height:32px}
body.saas .sidebar-footer .user-mini {display:none}
.saas-brand-footer {display:flex;justify-content:space-between;align-items:end;color:#f7c327;padding:0 0 12px}.saas-brand-footer strong{display:block;font-size:17px;letter-spacing:.04em}.saas-brand-footer small{display:block;color:#b5c4d1;font-size:10px}.saas-brand-footer>span{font-size:10px;color:#b5c4d1}
body.saas .topbar {display:flex;min-height:60px;height:60px;padding:9px 24px;gap:14px;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:none}
body.saas .topbar-title {display:none}
body.saas .global-search {flex:1;min-width:90px;max-width:640px;height:36px;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-sm);box-shadow:none}
body.saas .global-search input{height:34px;font-size:13px}
body.saas .topbar-actions {margin-left:auto;gap:7px;flex-shrink:0}
body.saas .topbar .icon-button,body.saas .language-button {height:34px;min-height:34px;min-width:34px;width:34px;border:1px solid var(--line);background:var(--surface);border-radius:var(--radius-sm)}
body.saas .profile-button {padding:2px 8px 2px 2px;min-height:36px;font-size:12px;border-radius:var(--radius-sm);box-shadow:none}
body.saas .avatar {width:30px;min-width:30px;height:30px;border-radius:var(--radius-sm);background:var(--brand);color:#19232d;font-size:12px;box-shadow:none}
.saas-team-button{display:flex;gap:6px;align-items:center;border:0;background:none;color:var(--soft);font-size:12px;cursor:pointer;white-space:nowrap}.saas-team-button i{width:6px;height:6px;border-radius:50%;background:var(--ok)}
body.saas .content {width:100%;max-width:1920px;min-width:0;padding:24px;margin:auto}
body.saas .page-head {margin-bottom:20px;align-items:center;gap:16px}
body.saas .page-head h1 {font-size:var(--type-page);font-weight:650;line-height:1.25;letter-spacing:-.7px;margin-bottom:6px}
body.saas .page-head p {font-size:13px;line-height:1.5;color:var(--soft)}
body.saas h2,body.saas h3,body.saas h4 {font-family:var(--font-body);letter-spacing:-.15px;font-weight:600}
body.saas .page-actions {gap:8px;flex-wrap:wrap}
body.saas .button {min-height:36px;padding:8px 13px;border-radius:var(--radius-sm);font-size:13px;font-weight:550;box-shadow:none;background-image:none;letter-spacing:0}
body.saas .button.primary {background:var(--brand);border:1px solid var(--brand-deep);color:var(--on-brand);box-shadow:none}
body.saas .button.primary:hover {background:var(--brand-deep)}
body.saas .button.small {min-height:30px;padding:5px 9px;font-size:12px}
body.saas .button.ghost {background:none;border-color:transparent;color:var(--soft)}
body.saas .button.danger {background:var(--bad-bg);border:1px solid color-mix(in srgb,var(--bad) 35%,var(--line));color:var(--bad)}
body.saas .icon-action {width:30px;height:30px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--soft);box-shadow:none}
body.saas input,body.saas select,body.saas textarea {min-height:36px;font-size:13px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);box-shadow:none}
body.saas label {font-size:13px;font-weight:500}
body.saas textarea {line-height:1.6}
body.saas .panel,body.saas .kpi-card,body.saas .stat-card,body.saas .catalog-command,body.saas .posting-filters,body.saas .posting-commandbar,body.saas .filter-bar {background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:none}
body.saas .panel-head {padding:16px 18px;border-bottom:1px solid var(--line);background:none}
body.saas .panel-head h3 {font-size:var(--type-card)}
body.saas .panel-head p{font-size:12px}
body.saas .panel-body.padded {padding:16px}
body.saas .kpi-grid {gap:12px}
body.saas .kpi-card,body.saas .command-stat {padding:14px 16px;background:var(--surface);border-color:var(--line);border-radius:var(--radius-md);box-shadow:none}
body.saas .kpi-card:before {display:none}
body.saas .kpi-value {font-size:var(--type-kpi);font-weight:600}
body.saas .kpi-card .kpi-icon {background:var(--surface-2);color:var(--soft);box-shadow:none}
body.saas .badge {font-size:12px;font-weight:500;border-radius:var(--radius-sm);padding:3px 7px;border:0;line-height:1.45}
body.saas .badge.green{color:var(--ok);background:var(--ok-bg)}body.saas .badge.blue{color:var(--info);background:var(--info-bg)}body.saas .badge.amber,body.saas .badge.yellow{color:var(--warn);background:var(--warn-bg)}body.saas .badge.red{color:var(--bad);background:var(--bad-bg)}body.saas .badge.gray{color:var(--soft);background:var(--surface-2)}
body.saas .data-table {font-size:var(--type-table);border-collapse:separate;border-spacing:0}
body.saas .data-table th {position:sticky;top:0;z-index:1;background:var(--surface-2);font-size:12px;font-weight:550;letter-spacing:0;text-transform:none;color:var(--soft);padding:10px 12px;border-bottom:1px solid var(--line)}
body.saas .data-table td {font-size:13px;padding:11px 12px;border-color:var(--line);vertical-align:middle;line-height:1.45}
body.saas .data-table tbody tr:hover {background:var(--surface-2)}
body.saas .data-table .cell-primary {font-size:13px;font-weight:550}
body.saas .data-table .cell-secondary {font-size:12px;color:var(--soft)}
body.saas .table-wrap {max-height:68vh;overflow:auto}
body.saas .table-pagination {padding:12px 8px;font-size:12px}
body.saas .tab {font-size:12px;font-weight:500;min-height:34px;border-radius:var(--radius-sm)}
body.saas .tab.active {background:var(--brand-soft);color:var(--ink);border-color:var(--brand-line);box-shadow:none}
body.saas .empty-state {min-height:0;padding:28px 18px;border:0;background:var(--surface-2);border-radius:var(--radius-md);font-size:13px}
body.saas .empty-state svg {width:24px;height:24px}
body.saas .compact-posting-list,body.saas .compact-posting-row {border-radius:var(--radius-md);box-shadow:none;background:var(--surface);border-color:var(--line)}
body.saas .compact-posting-row {padding:12px 14px}
body.saas .posting-commandbar {padding:12px 14px}
body.saas .posting-view-toggle {background:var(--surface-2);box-shadow:none}
body.saas .posting-view-toggle button {font-size:12px;font-weight:500}
body.saas .progress-track,body.saas .progress-bar {height:6px;border-radius:3px;background-image:none}
body.saas .progress-bar {background:var(--brand)}
body.saas .modal {width:min(720px,94vw);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-3);max-height:calc(100dvh - 36px)}
body.saas .modal.small {width:min(480px,94vw)}
body.saas .modal.large,body.saas .posting-modal,body.saas .planning-center-modal {width:min(1120px,96vw)}
body.saas .modal-header {padding:17px 20px;background:var(--surface);border-bottom:1px solid var(--line);flex-shrink:0}
body.saas .modal-header h2 {font-size:18px;font-weight:600}
body.saas .modal-body {padding:20px;overflow:auto;min-height:0}
body.saas .modal-footer {padding:12px 20px;background:var(--surface);border-top:1px solid var(--line);flex-shrink:0}
body.saas .posting-modal .modal-body {padding:0;background:var(--surface)}
body.saas .posting-modal #entityForm {padding:20px}
body.saas .posting-progress,body.saas .posting-wizard-stepper {box-shadow:none;background:var(--surface);border-bottom:1px solid var(--line)}
body.saas .planning-slot-picker {border-color:var(--line);box-shadow:none}
body.saas .planning-slot-card {box-shadow:none;border-radius:var(--radius-md)}
body.saas .drawer-root {grid-template-columns:minmax(0,1fr) minmax(0,420px)}
body.saas .posting-drawer {grid-column:2;width:min(420px,100vw);max-width:100%;justify-self:end;border-left:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-3)}
body.saas .posting-drawer-body {padding:20px;align-content:start;overflow:auto;min-height:0}
body.saas .posting-drawer>header {padding:18px 20px;border-bottom:1px solid var(--line)}
body.saas .posting-drawer h2 {font-size:19px}
body.saas .drawer-backdrop {background:#0f172a26;backdrop-filter:none}
body.saas .modal-root:has(.review-modal) {justify-content:flex-end;padding:0}
body.saas .review-modal {width:min(440px,100vw);height:100%;max-height:100%;border-radius:0;border:0;border-left:1px solid var(--line)}
body.saas .review-decision-group {grid-template-columns:1fr;gap:6px}
body.saas .review-decision-option {min-height:50px;padding:9px 12px;border-radius:var(--radius-sm);box-shadow:none}
body.saas .review-decision-icon {width:28px;height:28px}
body.saas .review-modal .modal-footer {flex-wrap:wrap;gap:8px}
.saas-video{width:100%;max-height:250px;aspect-ratio:4/3;object-fit:contain;background:#0d1925;border-radius:var(--radius-md);margin-bottom:16px}
.saas-facts{display:grid;gap:10px;margin:16px 0}.saas-facts>div{display:grid;grid-template-columns:112px 1fr;gap:12px;font-size:13px}.saas-facts dt{color:var(--soft)}.saas-facts dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.saas-drawer-tabs{display:flex;gap:3px;border-bottom:1px solid var(--line);margin-bottom:18px;overflow:auto}.saas-drawer-tabs button{border:0;border-bottom:2px solid transparent;background:none;color:var(--soft);font-size:12px;padding:10px 9px;white-space:nowrap;cursor:pointer}.saas-drawer-tabs button[aria-selected="true"]{border-color:var(--brand);color:var(--ink)}
.saas-drawer-footer{display:flex;gap:8px;padding:14px 20px;border-top:1px solid var(--line);background:var(--surface);flex-wrap:wrap}
.saas-related{display:grid;gap:0}.saas-related button{border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);padding:11px 0;text-align:left;font-size:13px;cursor:pointer}.saas-related small{display:block;color:var(--soft);font-size:12px;margin-top:3px}
.saas-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:14px;margin-bottom:16px}.saas-filters label{display:grid;gap:5px;flex:1;min-width:130px;font-size:12px;color:var(--soft)}.saas-filters label:first-child{flex:1.7}.saas-filters input,.saas-filters select{width:100%}
.saas-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.saas-metric{border:1px solid var(--line);background:var(--surface);border-radius:var(--radius-md);padding:14px 16px;display:flex;flex-direction:column;gap:5px}.saas-metric small{font-size:12px;color:var(--soft)}.saas-metric strong{font-size:28px;font-weight:600}.saas-metric span{font-size:12px;color:var(--soft)}
.saas-link-button{border:0;background:none;padding:0;color:var(--ink);font:inherit;cursor:pointer;text-align:left}.saas-link-button:hover{color:var(--info)}.saas-sort{display:flex;gap:5px;align-items:center;background:none;border:0;color:inherit;font:inherit;padding:0;cursor:pointer}.saas-sort svg{width:12px;height:12px}
.saas-identity{display:flex;align-items:center;gap:12px}.saas-identity h3{font-size:18px;margin:0 0 6px}.saas-initial{width:40px;min-width:40px;height:40px;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-md);font-size:17px;color:var(--soft)}
.saas-caption{font-size:12px;color:var(--soft);line-height:1.6}.saas-empty{padding:20px;background:var(--surface-2);border-radius:var(--radius-md);font-size:13px;color:var(--soft)}
body.saas .settings-layout{display:block;max-width:1080px}body.saas .settings-main,body.saas .settings-aside{display:contents}body.saas .settings-jump-nav{display:flex;gap:4px;padding:4px;border:1px solid var(--line);background:var(--surface);border-radius:var(--radius-md);margin:20px 0;overflow:auto}body.saas .settings-jump-nav button{border:0;background:none;white-space:nowrap;border-radius:var(--radius-sm);padding:10px 14px;font-size:13px;color:var(--soft)}body.saas .settings-jump-nav button[aria-selected="true"]{background:var(--brand-soft);color:var(--ink);box-shadow:inset 0 -2px var(--brand)}body.saas [role="tabpanel"][hidden]{display:none!important}
body.saas .settings-status-strip>div {border-radius:var(--radius-md);box-shadow:none}
body.saas .settings-routing{background:var(--surface-2);border:1px solid var(--line)}
body.saas .reliability-toolbar{min-height:24px;padding:0;margin:0 0 12px;font-size:11px;background:none;border:0}
body.saas .reliability-toolbar button{font-size:11px;min-height:26px;padding:3px 8px}
body.saas .operations-brief{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-md);padding:18px;box-shadow:none}body.saas .operations-brief span,body.saas .operations-brief small{color:var(--soft)}body.saas .operations-brief strong{font-size:28px;color:var(--ink);font-weight:600}.saas-dashboard-kpis{display:grid;grid-template-columns:1.3fr repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
body.saas .operations-state{font-size:12px;border-radius:var(--radius-sm);padding:5px 8px;box-shadow:none}body.saas .command-stat-grid{gap:12px}body.saas .command-stat strong{font-size:26px;font-weight:600}body.saas .command-stat>span{font-size:12px}body.saas .operations-exceptions .command-stat{background:var(--surface);border:1px solid var(--line)}
body.saas .operations-funnel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:0}.saas-dashboard-kpis .operations-funnel{display:contents}.saas-dashboard-kpis .operations-funnel button,.saas-dashboard-kpis .operations-funnel>div{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:14px;display:flex;flex-direction:column;align-items:start;justify-content:center;gap:7px}.saas-dashboard-kpis .operations-funnel b{font-size:28px;font-weight:600}
body.saas .command-center,body.saas .employee-command-center{border:0;background:none;box-shadow:none;padding:0}body.saas .command-center>.panel-head{padding:0 0 14px;border:0}body.saas .command-center>.panel-body{padding:0}.saas-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px;margin-bottom:16px}.saas-dashboard-grid>section{margin:0;min-width:0}
body.saas .dashboard-daily-activity{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:16px}body.saas .dashboard-action-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);box-shadow:none;padding:12px}body.saas .dashboard-action-card strong{font-size:26px;font-weight:600}body.saas .dashboard-activity-grid{gap:8px}body.saas .dashboard-action-card .activity-card-icon{background:none;color:var(--soft);box-shadow:none}
body.saas .command-columns>div{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:16px}body.saas .command-columns{gap:16px}body.saas .workflow-strip{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:12px;gap:8px}body.saas .workflow-pill{background:var(--surface-2);box-shadow:none;border-radius:var(--radius-sm)}
body.saas .dashboard-insights{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:none}body.saas .dashboard-insights>summary{padding:16px}body.saas .dashboard-insights-body{padding:16px}body.saas .dashboard-analysis-toolbar{background:var(--surface-2);border:1px solid var(--line);box-shadow:none}body.saas .dashboard-analysis-heading{display:none}
body.saas .notification-row{padding:12px 14px;border-radius:var(--radius-sm);box-shadow:none}body.saas .notification-row.unread{background:var(--surface-2)}body.saas .notification-card{box-shadow:none;border:1px solid var(--line);border-radius:var(--radius-md)}
body.saas .calendar-shell,body.saas .calendar-controls,body.saas .calendar-modebar,body.saas .calendar-day-workspace,body.saas .calendar-agenda-day{box-shadow:none;border-radius:var(--radius-md);border-color:var(--line);background:var(--surface)}body.saas .calendar-day.today{box-shadow:inset 0 0 0 1px var(--brand)}body.saas .calendar-grid{min-width:700px}.saas-calendar-scroll{overflow:auto;max-width:100%;border-radius:var(--radius-md)}body.saas .calendar-day{min-height:112px}body.saas .calendar-event{box-shadow:none;border-radius:4px;font-size:12px}body.saas .calendar-workspace{gap:16px}
body.saas .success-banner,body.saas .warning-banner,body.saas .danger-banner{border-radius:var(--radius-sm);box-shadow:none;font-size:13px;padding:12px}body.saas .success-banner{background:var(--ok-bg);color:var(--ok)}body.saas .warning-banner{background:var(--warn-bg);color:var(--warn)}body.saas .danger-banner{background:var(--bad-bg);color:var(--bad)}
.saas-skeleton{height:38px;margin:8px 0;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-sm);animation:saas-pulse 1.4s ease-in-out infinite}@keyframes saas-pulse{50%{opacity:.5}}
.saas-analytics-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px}.saas-distribution{display:grid;gap:12px}.saas-distribution>div{display:grid;grid-template-columns:1fr auto;gap:5px;font-size:13px}.saas-distribution i{grid-column:span 2;background:var(--line);height:5px;border-radius:3px}.saas-distribution b{display:block;height:5px;background:var(--info);border-radius:3px}
body.saas :focus-visible{outline:2px solid #2563eb;outline-offset:3px}body.saas button:disabled{opacity:.5;cursor:not-allowed}body.saas .sr-only{white-space:nowrap}
@media(min-width:981px){body.saas.sidebar-compact .sidebar{width:76px}body.saas.sidebar-compact .main-column{margin-left:76px}body.saas.sidebar-compact .saas-brand-footer{display:none}body.saas.sidebar-compact .sidebar-brand .brand-mark{font-size:18px}body.saas.sidebar-compact .nav-group-label{display:none}}
@media(max-width:1200px){body.saas .content{padding:20px}.saas-team-button span{display:none}body.saas .profile-button strong{display:none}.saas-dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:980px){body.saas .sidebar{width:232px}body.saas .topbar{padding:9px 14px;gap:9px}.saas-dashboard-grid,.saas-analytics-grid{grid-template-columns:1fr}.saas-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.saas .content{padding:16px 12px 28px}body.saas .page-head h1{font-size:25px}body.saas .topbar{height:56px;min-height:56px;gap:5px;padding:8px}body.saas .topbar-actions{gap:4px}body.saas .topbar .icon-button,body.saas .language-button{width:32px;min-width:32px;height:32px;min-height:32px}.saas-team-button{display:none}body.saas .global-search{height:34px}body.saas .global-search input{height:32px;font-size:12px;padding-right:24px;padding-left:8px}body.saas .global-search kbd{display:none}body.saas .page-head{align-items:start;flex-direction:column}.saas-dashboard-kpis{grid-template-columns:1fr 1fr}.saas-filters label{min-width:100%;flex-basis:100%}body.saas .modal{width:96vw;max-height:95dvh}body.saas .modal-body{padding:16px}body.saas .modal-footer{padding:12px;flex-wrap:wrap}body.saas .drawer-root{grid-template-columns:0 minmax(0,1fr)}body.saas .posting-drawer{width:100vw}body.saas .review-modal{width:100vw;max-height:100%}body.saas .table-wrap{max-height:none}body.saas .settings-jump-nav{gap:0}body.saas .settings-jump-nav button{padding:9px;font-size:12px}body.saas .dashboard-activity-grid{grid-template-columns:1fr}body.saas .dashboard-action-card{display:flex;align-items:center;gap:10px}.saas-metric{padding:12px}.saas-metric strong{font-size:25px}}
.saas-six-kpis{display:grid;grid-template-columns:1.3fr repeat(5,minmax(0,1fr));gap:10px;margin-bottom:16px}.saas-six-kpis .saas-metric{min-height:108px;max-height:132px;text-align:left;color:var(--ink);cursor:pointer;padding:13px;box-shadow:none}.saas-six-kpis .saas-metric strong{font-size:27px;line-height:1.15;white-space:nowrap}.saas-six-kpis .saas-metric small,.saas-six-kpis .saas-metric span{font-size:11px}.saas-six-kpis .saas-metric:hover{border-color:var(--brand-deep)}
.saas-context-heading h3{font-size:13px!important}.saas-context-heading p{font-size:12px!important}.saas-context-heading{margin-bottom:0}.saas-summary-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin:0 0 16px}.saas-summary-grid>.panel{margin:0;min-width:0}.saas-summary-grid .product-deficit-list,.saas-summary-grid .metric-list{max-height:200px;overflow:auto}.saas-summary-grid .metric-line{font-size:12px;padding:10px 0}.saas-summary-grid h4{font-size:14px}.saas-summary-grid .quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saas-summary-grid .quick-actions .button{font-size:12px;padding:8px}.saas-attention-items{display:grid;gap:7px}.saas-attention-items .button{justify-content:start;text-align:left;background:var(--surface-2);border:1px solid var(--line);font-size:13px}
body.saas .dashboard-insights .panel-grid{gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}body.saas .dashboard-insights .panel{min-width:0}.saas-dashboard-grid .dashboard-daily-activity{padding:16px;margin:0}body.saas .saas-dashboard-grid .dashboard-action-card{min-height:82px}body.saas .saas-dashboard-grid .dashboard-activity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.saas-dashboard-grid .dashboard-action-card .activity-card-label{font-size:12px}
@media(max-width:1100px){.saas-six-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.saas-summary-grid{grid-template-columns:1fr 1fr}.saas-summary-grid>.panel:last-child{grid-column:span 2}}
@media(max-width:600px){.saas-six-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.saas-summary-grid{grid-template-columns:1fr}.saas-summary-grid>.panel:last-child{grid-column:auto}body.saas .saas-dashboard-grid .dashboard-activity-grid{grid-template-columns:1fr}body.saas .dashboard-insights .panel-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body.saas *,body.saas *:before,body.saas *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep activity labels readable at intermediate widths. */
body.saas .activity-compact .dashboard-action-card{display:grid;grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto;gap:8px;align-content:center;min-height:110px}
body.saas .activity-compact .dashboard-action-card>.activity-card-icon{width:26px;height:26px;grid-column:1;grid-row:1}
body.saas .activity-compact .dashboard-action-card>.activity-card-label{grid-column:2;grid-row:1;overflow-wrap:normal;word-break:normal;line-height:1.4;font-size:12px}
body.saas .activity-compact .dashboard-action-card>strong{grid-column:1 / -1;grid-row:2;font-size:27px;font-weight:600}
body.saas .activity-compact .dashboard-action-card>.activity-card-arrow{display:none}
body.saas .command-title>.operations-state{margin-top:8px;display:inline-flex;width:fit-content;font-size:11px;font-weight:500}
.saas-settings-mail{display:grid;gap:14px;border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.saas-settings-mail>.button{justify-self:start}.saas-settings-language{max-width:340px;border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.saas-settings-language>label{display:grid;gap:6px}
body.saas .calendar-day-kpi,body.saas .calendar-summary.modern>span{background:var(--surface);box-shadow:none;border-color:var(--line);border-radius:var(--radius-md)}body.saas .calendar-day-kpi:before{display:none}
body.saas .auth-view{background:var(--canvas)}body.saas .auth-orb{display:none}body.saas .auth-card{border-radius:var(--radius-lg);box-shadow:var(--shadow-2);border:1px solid var(--line)}
@media(max-width:600px){body.saas .activity-compact .dashboard-action-card{min-height:60px;grid-template-columns:28px minmax(0,1fr) auto;grid-template-rows:auto}body.saas .activity-compact .dashboard-action-card>strong{grid-column:3;grid-row:1;font-size:24px}.saas-calendar-scroll:before{content:'←  Scroll calendar  →';display:block;position:sticky;left:0;width:100%;font-size:11px;color:var(--soft);padding:8px 10px;background:var(--surface-2)}}
@media(max-width:740px){body.saas .global-search{width:auto;min-width:60px;display:block!important;flex:1}body.saas .global-search input{width:100%;min-width:0;min-height:32px;color:var(--ink);caret-color:var(--ink);border:0;background:transparent}body.saas .global-search input::placeholder{color:var(--soft)}body.saas .global-search i{right:8px;transform:translateY(-50%)}body.saas .page-head .page-actions{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:8px}body.saas .dashboard-date-control{display:flex;width:100%;min-width:0;gap:4px}body.saas .dashboard-date-control input[type="date"]{min-width:0;width:auto;flex:1}body.saas .dashboard-date-control>.icon-button{flex:0 0 32px;min-width:32px;width:32px}body.saas .dashboard-date-control>.button{width:auto;min-width:50px;flex:0 0 auto}body.saas .page-head .page-actions>.button{width:100%}}
body.saas .posting-drawer{display:flex;flex-direction:column;overflow:hidden;height:100dvh}body.saas .posting-drawer>header,body.saas .saas-drawer-footer{flex:0 0 auto}body.saas .posting-drawer>.posting-drawer-body{flex:1 1 auto;min-height:0;overflow:auto}body.saas .badge.orange{color:var(--color-revision);background:var(--color-revision-subtle)}body.saas .saas-sort svg{transform:rotate(90deg)}body.saas th[aria-sort="ascending"] .saas-sort svg{transform:rotate(-90deg)}
/* Final refinement: restrained operational layouts. */
body.saas .saas-dashboard-grid{grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr)}
body.saas .saas-posting-filters{display:grid;grid-template-columns:minmax(180px,1.35fr) repeat(4,minmax(105px,1fr)) minmax(160px,1.3fr);gap:10px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:8px;margin-bottom:8px;align-items:end}
body.saas .saas-posting-filters label{display:grid;gap:5px;font-size:12px;min-width:0;margin:0;color:var(--soft)}
body.saas .saas-posting-filters input,body.saas .saas-posting-filters select{width:100%;min-width:0}
body.saas .posting-smart-filters{margin-bottom:8px}body.saas .posting-smart-filters summary{padding:9px 12px}body.saas .posting-smart-filters summary small{font-size:12px}
body.saas .saas-row-menu{display:inline-block;position:relative;text-align:left}body.saas .saas-row-menu>summary{list-style:none;cursor:pointer;width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
body.saas .saas-row-menu>summary::-webkit-details-marker{display:none}body.saas .saas-row-menu-items{position:fixed;z-index:1100;display:flex;flex-direction:column;gap:2px;background:var(--surface);border:1px solid var(--line-strong);border-radius:10px;padding:6px;width:208px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;box-shadow:var(--shadow-3)}
body.saas .saas-row-menu[open]{z-index:5}body.saas .saas-row-menu-items .icon-action{display:flex;width:100%;height:auto;min-height:38px;align-items:center;justify-content:flex-start;gap:10px;padding:8px 10px;font-size:13px;line-height:1.4;text-align:left;white-space:normal;border:0}body.saas .saas-row-menu-items .icon-action svg{flex:0 0 16px;width:16px;height:16px}body.saas .saas-row-menu-items .icon-action span{min-width:0;overflow-wrap:anywhere}body.saas .saas-row-menu-items .icon-action.danger{color:var(--bad)}body.saas .saas-row-menu>summary:focus-visible{outline:2px solid var(--color-info);outline-offset:3px}
body.saas .saas-row-menu:not([open]) .saas-row-menu-items{display:none}
body.saas .saas-volume-chart{width:100%;height:auto;display:block;margin-top:12px}body.saas .saas-volume-chart text{fill:var(--soft);font-size:11px}.saas-volume-chart .chart-grid{stroke:var(--line)}
.saas-volume-chart .series-0{stroke:var(--color-info)}.saas-volume-chart .series-1{stroke:var(--color-primary)}.saas-volume-chart .series-2{stroke:var(--color-success)}
.saas-chart-legend,.saas-chart-ends{display:flex;gap:16px;font-size:12px;color:var(--soft)}.saas-chart-ends{justify-content:space-between}.saas-chart-legend span{display:flex;gap:6px;align-items:center}.saas-chart-legend i{height:3px;width:16px}.saas-chart-legend .series-0{background:var(--color-info)}.saas-chart-legend .series-1{background:var(--color-primary)}.saas-chart-legend .series-2{background:var(--color-success)}
.saas-chart-data{margin-top:16px}.saas-chart-data>summary{cursor:pointer;font-size:12px;color:var(--soft)}.saas-chart-data:not([open])>*:not(summary){display:none}
body.saas .saas-range-shortcuts{flex-shrink:0;margin:0}body.saas .saas-range-shortcuts button{padding:7px 10px;font-size:12px;min-height:32px}
body.saas .saas-day-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}body.saas .saas-day-summary{display:grid;gap:16px;min-width:0}
body.saas .saas-day-summary .calendar-day-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin:0}
body.saas .saas-day-summary .calendar-day-kpi{min-height:80px;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:12px;background:var(--surface);box-shadow:none}
body.saas .saas-day-summary .calendar-day-kpi strong{font-size:24px}body.saas .saas-day-summary .calendar-day-kpi span{font-size:11px}body.saas .saas-day-summary .calendar-day-product-list{max-height:460px;overflow:auto}
body.saas .saas-hour{display:grid;grid-template-columns:45px minmax(0,1fr);gap:8px;border-bottom:1px solid var(--line);padding:8px 0;min-height:42px}body.saas .saas-hour h4{font-size:11px;font-weight:500;color:var(--soft);margin:5px 0}
body.saas .saas-hour-tasks{display:grid;gap:6px;min-width:0}body.saas .saas-empty-hour{color:var(--line);font-size:12px}body.saas .saas-hour .calendar-day-task-row{grid-template-columns:38px 20px minmax(0,1fr) auto 14px;padding:8px;gap:7px;min-height:54px;background:var(--surface);border:1px solid var(--line);border-radius:6px}
body.saas .saas-hour .calendar-day-task-main strong{font-size:13px}body.saas .saas-hour .calendar-day-task-main small,body.saas .calendar-day-task-meta{font-size:11px}
body.saas .calendar-agenda-row{min-height:55px;padding:9px 12px;grid-template-columns:48px minmax(0,1fr) auto 16px;border-radius:0;gap:12px}body.saas .calendar-agenda-row .agenda-posting-main strong{font-size:13px}body.saas .calendar-agenda-rows{gap:0}body.saas .calendar-agenda-day>summary{padding:12px}
body.saas .saas-drawer-tabs{position:sticky;top:-20px;background:var(--surface);z-index:2;padding-top:4px;flex-wrap:nowrap;overflow-x:auto}body.saas .saas-facts dd{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}
body.saas .saas-drawer-footer{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:14px 20px;border-top:1px solid var(--line);background:var(--surface)}body.saas .saas-drawer-footer .button{font-size:12px}body.saas .saas-related-entities .button{margin:3px;font-size:12px}
body.saas .saas-access-list{padding-left:18px;line-height:1.9;font-size:13px}.saas-template-preview{white-space:pre-wrap;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-subtle)}
body.saas .saas-number{display:block;text-align:right;font-variant-numeric:tabular-nums}body.saas .calendar-day-hero{padding:14px 16px}body.saas .calendar-day-hero p{display:none}
body.saas .dashboard-team-insights:not([open])>*:not(summary){display:none}
@media(max-width:1250px){body.saas .saas-posting-filters{grid-template-columns:repeat(3,minmax(0,1fr))}body.saas .saas-day-layout{grid-template-columns:minmax(0,1fr) 265px}}
@media(max-width:980px){body.saas .saas-dashboard-grid,body.saas .saas-day-layout{grid-template-columns:1fr}body.saas .saas-day-summary{grid-template-columns:1fr 1fr}}
@media(max-width:600px){body.saas .saas-posting-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}body.saas .saas-posting-filters label:first-child{grid-column:1/-1}body.saas .saas-day-summary{grid-template-columns:1fr}body.saas .saas-hour{grid-template-columns:33px minmax(0,1fr);gap:4px}body.saas .saas-hour .calendar-day-task-row{grid-template-columns:32px 18px minmax(0,1fr)}body.saas .saas-hour .calendar-day-task-stage{grid-column:3}body.saas .saas-hour .calendar-day-task-row>svg{display:none}body.saas .calendar-agenda-row{grid-template-columns:40px minmax(0,1fr) 16px}body.saas .calendar-agenda-row .agenda-posting-status{grid-column:2}body.saas .saas-range-shortcuts{flex-wrap:wrap}}


body.saas .saas-submission-notice{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;margin-bottom:16px;border:1px solid var(--color-success);border-radius:8px;background:var(--surface)}.saas-submission-notice>div{display:flex;gap:8px;flex-wrap:wrap}.saas-field-error{color:var(--color-danger);font-size:12px}body.saas .posting-review-summary section{padding:12px 0;border-top:1px solid var(--line)}body.saas .posting-review-summary section h3{font-size:14px}
body.saas .posting-task-toolbar input[hidden]{display:none!important}
@media(max-width:600px){body.saas .saas-submission-notice{flex-direction:column;align-items:start}}

body.saas .report-dimension-filters{grid-template-columns:repeat(6,minmax(0,1fr))}body.saas .report-period-row:has(.saas-range-shortcuts){grid-template-columns:auto minmax(100px,1fr) minmax(250px,1fr)}body.saas .saas-six-metrics{grid-template-columns:repeat(6,minmax(0,1fr))}body.saas .saas-six-metrics .kpi-value{font-size:28px}
@media(max-width:1100px){body.saas .report-dimension-filters{grid-template-columns:repeat(3,minmax(0,1fr))}body.saas .saas-six-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}body.saas .report-period-row:has(.saas-range-shortcuts){grid-template-columns:1fr 1fr}.report-period-row:has(.saas-range-shortcuts) .report-period-copy{display:none}}
@media(max-width:600px){body.saas .report-dimension-filters,body.saas .saas-six-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body.saas .report-period-row:has(.saas-range-shortcuts){grid-template-columns:1fr}}

body.saas .saas-posting-filters>.posting-date-range-field{grid-column:auto;width:auto;min-width:0;max-width:none;margin:0}body.saas .saas-five-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}body.saas .saas-day-layout .saas-day-accounts{margin:0}body.saas .saas-day-accounts h3{font-size:13px}.saas-day-accounts .panel-body{display:grid;gap:4px}.saas-day-accounts button{display:flex;justify-content:space-between;gap:8px;text-align:left;padding:8px 0;border:0;background:transparent;color:var(--text);font-size:12px}.saas-day-accounts button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.saas-day-accounts button strong{white-space:nowrap}
body.saas .calendar-day-hero{display:none}body.saas .calendar-day-workspace{padding:14px}body.saas .calendar-day-task-list{padding:0 12px}body.saas .calendar-day-task-main{min-width:0}
@media(max-width:1000px){body.saas .saas-five-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){body.saas .saas-five-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Compact notification rows retain labels, timestamps and explicit read actions. */
.saas .notification-page-list{gap:0}
.saas .notification-page-item{min-height:66px;padding:8px 10px;border-radius:0;border-width:0 0 1px;box-shadow:none}
.saas .notification-page-item.notif-unread{box-shadow:inset 2px 0 0 var(--color-primary)}
.saas .notification-page-open{min-height:44px}
.saas .notification-page-open .cell-secondary:not(.muted){-webkit-line-clamp:1;line-clamp:1}
.saas .saas-queue-submitted{display:block;font-size:11px;line-height:1.3;color:var(--color-text-secondary);margin-top:3px}
.sp-filters [hidden]{display:none!important}.sp-filter-note{margin:-6px 0 14px}.sp-results{position:relative;min-height:260px}.sp-refresh-notice{position:sticky;top:0;z-index:2;padding:9px 12px;margin:0 0 10px;background:var(--color-bg-secondary,#f8fafc);border:1px solid var(--color-border);border-radius:8px;font-size:12px}.sp-refreshing .sp-refresh-notice{position:absolute;top:6px;left:16px;right:16px}.sp-refreshing .sp-kpis{opacity:.55}.sp-video-dates{display:grid;gap:3px;margin-top:6px;font-size:11px;color:var(--color-text-secondary)}.sp-video-dates small{font-size:inherit}.sp-video-dates span{font-weight:500}
/* Social metrics use the existing shell, density, and semantic tokens. */
.sp-dashboard,.sp-results{padding:16px;margin-bottom:16px}.sp-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.sp-heading h3{margin:0;font-size:16px}.sp-heading small,.sp-caption{color:var(--color-text-secondary);font-size:12px;line-height:1.5}.sp-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--color-border);border-radius:8px;overflow:hidden}.sp-kpis>div{padding:14px 16px;border-right:1px solid var(--color-border);display:flex;flex-direction:column;gap:5px}.sp-kpis>div:last-child{border:0}.sp-kpis span{font-size:13px;color:var(--color-text-secondary)}.sp-kpis strong{font-size:26px;font-weight:600;font-variant-numeric:tabular-nums}.sp-kpis small{font-size:11px;color:var(--color-text-secondary)}.sp-caption{margin:10px 0 0}.sp-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.sp-heading .sp-tabs{margin:0}.sp-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:16px}.sp-filters label{min-width:130px;flex:1;font-size:12px}.sp-filters label:first-child{min-width:180px}.sp-filters input,.sp-filters select{min-height:36px;font-size:13px}.sp-chart-panel{padding:16px 0;border-bottom:1px solid var(--color-border);margin-bottom:16px}.sp-chart{margin:0}.sp-chart figcaption{font-size:14px;font-weight:600;margin:10px 0}.sp-chart svg{width:100%;max-height:190px;display:block;overflow:visible}.sp-chart path{stroke:var(--color-info);stroke-width:2;fill:none}.sp-chart circle{fill:var(--color-info)}.sp-chart text{fill:var(--color-text-secondary);font-size:11px}.sp-chart .sp-grid{stroke:var(--color-border);stroke-width:1}.sp-observations{font-size:12px;margin-top:6px;color:var(--color-text-secondary)}.sp-observations .table-wrap{max-height:220px;overflow:auto}.sp-empty{padding:18px 0;font-size:13px;color:var(--color-text-secondary)}.sp-video-title{background:none;border:0;color:var(--color-text);font-weight:600;padding:0;text-align:left;cursor:pointer}.sp-video-title:hover{text-decoration:underline}.sp-video-table td:first-child{min-width:215px;max-width:330px}.sp-results td small{display:block;color:var(--color-text-secondary);font-size:11px;margin-top:3px}.sp-numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.sp-pagination{display:flex;align-items:center;justify-content:end;gap:8px;margin-top:12px;font-size:12px}.sp-pagination span{margin-right:auto}.sp-post-metric{border:0;background:none;color:var(--color-text-secondary);text-align:left;cursor:pointer;min-width:110px;padding:8px;font-size:12px}.sp-post-metric strong{color:var(--color-text);font-weight:600}.sp-post-metric small{display:block;font-size:11px;margin-top:4px}.sp-has-performance{display:flex!important}.sp-has-performance .compact-posting-main{flex:1;min-width:0}.sp-loading{color:var(--color-text-secondary);font-size:12px}.sp-loading .saas-skeleton{height:46px;display:block;max-width:100%;margin:5px 0}.sp-drawer-stats{padding-bottom:16px;border-bottom:1px solid var(--color-border)}.sp-video-kpis{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:10px}.sp-video-kpis strong{font-size:22px}.sp-video-kpis>div{padding:10px}.sp-video-kpis>div:nth-child(-n+2){border-bottom:1px solid var(--color-border)}.sp-drawer-stats .sp-heading{align-items:start;flex-direction:column}.sp-drawer-stats label{font-size:12px}.sp-post-metric:focus-visible,.sp-video-title:focus-visible{outline:2px solid var(--color-info);outline-offset:3px}
@media(max-width:760px){.sp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sp-kpis>div{padding:12px}.sp-kpis>div:nth-child(-n+2){border-bottom:1px solid var(--color-border)}.sp-heading{align-items:start;flex-wrap:wrap}.sp-has-performance{flex-wrap:wrap}.sp-has-performance .compact-posting-main{flex-basis:100%}.sp-has-performance .sp-post-metric{margin-right:auto}.sp-filters label{min-width:135px}.sp-filters label:first-child{min-width:100%}.sp-kpis strong{font-size:24px}.sp-dashboard,.sp-results{padding:12px}}
.posting-drawer .sp-chart text{font-size:19px}
@media(max-width:760px){.sp-chart text{font-size:19px}}

/* Shared shell refinements — one visual system for all modules. */
body.saas .sidebar{display:flex;flex-direction:column;overflow:hidden}
body.saas .sidebar-brand,body.saas .sidebar-footer{flex:none}
body.saas #mainNav{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
body.saas .sidebar-footer{position:static}
body.saas .nav-item{min-height:34px;padding:7px 10px}
body.saas .nav-group-label{padding-top:16px}
body.saas .fe-nav-toggle.current-module{color:#fff;border-left:2px solid var(--brand)}
body.saas .topbar-title{display:flex;min-width:125px;max-width:190px;flex-direction:column;gap:2px}
body.saas .topbar-title strong{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.saas .topbar-title small{font-size:10px;color:var(--soft)}
body.saas .profile-button strong{text-align:left;line-height:1.3}
body.saas .profile-button strong:after{content:attr(data-role);display:block;color:var(--soft);font-size:10px;font-weight:400}
body.saas .content{padding:20px 24px}
body.saas .panel-head{padding:13px 16px}
body.saas .data-table td{padding:9px 12px}
body.saas :is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid var(--color-info);outline-offset:3px}
.ui-skeleton{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-md);animation:ui-pulse 1.5s ease-in-out infinite}
.ui-skeleton-heading{height:48px;margin:20px 0 12px;width:100%}
.ui-skeleton-row{height:60px;margin:8px 0}
@keyframes ui-pulse{50%{opacity:.45}}
@media(prefers-reduced-motion:reduce){.ui-skeleton{animation:none}}
.ui-disclosure{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);margin:12px 0}
.ui-disclosure>summary{cursor:pointer;padding:14px 16px;font-size:13px;font-weight:550;color:var(--ink)}
.ui-disclosure>div{padding:0 16px 16px}
body.saas .sp-dashboard{padding:0}
@media(max-width:1150px){body.saas .topbar-title{min-width:100px;max-width:135px}body.saas .saas-team-button{display:none}}
@media(max-width:900px){body.saas .topbar-title{display:none}body.saas .content{padding:16px}}
@media(max-width:600px){body.saas .content{padding:14px 12px}body.saas .topbar{padding:8px 12px;gap:8px}body.saas .topbar-actions{gap:4px}body.saas .topbar .global-search{min-width:60px}body.saas .page-head h1{font-size:24px}body.saas .button{min-height:40px}}

.field-home-upcoming{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.field-home-upcoming .button{display:flex;flex-direction:column;align-items:flex-start;white-space:normal;text-align:left}.field-home-upcoming small{font-weight:400;color:var(--color-text-secondary)}@media(max-width:767px){.field-home-upcoming{grid-template-columns:1fr}}
/* Transient feedback stays above content, clear of approval footer controls. */
body.saas .toast-region{top:calc(env(safe-area-inset-top,0px) + 72px);bottom:auto;left:50%;right:auto;transform:translateX(-50%);width:min(420px,calc(100vw - 24px));pointer-events:none}
body.saas .toast{display:flex;align-items:start;gap:8px;padding:10px 12px;font-size:12px;line-height:1.4;font-weight:500;pointer-events:none}
body.saas .toast .toast-message{flex:1;margin:0;color:var(--ink);font-size:inherit;overflow-wrap:anywhere}
body.saas .toast-dismiss{flex:0 0 28px;width:28px;height:28px;margin:-4px -5px -4px 0;border:0;background:transparent;color:var(--soft);font-size:20px;cursor:pointer;pointer-events:auto}
body.saas .notification-button #notificationBadge{min-width:17px;height:17px;padding:0 3px;top:-4px;right:-5px;font-size:9px;line-height:13px;font-weight:700;background:var(--bad,#c3313b);color:white;box-shadow:none;border:2px solid var(--surface);border-radius:20px}
body.saas .language-button{display:flex!important;align-items:center;justify-content:center;gap:5px;width:auto;min-width:53px;padding:0 8px;letter-spacing:0;font-size:11px}
body.saas .lang-option{min-height:40px;font-weight:500}.lang-option:focus-visible,.toast-dismiss:focus-visible{outline:2px solid var(--info,#2563eb);outline-offset:1px}
@media(max-width:600px){body.saas .toast-region{top:62px}body.saas .language-button{min-width:46px;padding:0 5px}}
/* Posting actions remain readable at every drawer width. */
body.saas .saas-posting-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))}
body.saas .saas-posting-actions .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 12px;line-height:1.3;white-space:normal}
body.saas .saas-posting-actions .button svg{flex:0 0 16px;width:16px;height:16px;margin:0}
.sp-verification{display:grid;justify-items:start;gap:6px;min-width:140px}.sp-verification small{white-space:normal;line-height:1.45;color:var(--soft)}
.sp-publication-notice{padding:14px;border:1px solid #e5ba60;background:#fffaeb;color:#684500;border-radius:10px;margin:0 0 16px;line-height:1.5}.sp-publication-notice p{margin:8px 0}.sp-publication-notice ul{margin:8px 0 0;padding-left:20px}
.sp-review-summary{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:10px;margin-bottom:16px;background:var(--surface-2)}.sp-review-summary small{display:block;margin-top:4px;color:var(--soft);line-height:1.5}
body.saas .sp-video-scroll{max-height:none}
@media(max-width:600px){body.saas .saas-posting-actions .button{flex:1 1 auto}.sp-review-summary{align-items:start;flex-direction:column}.sp-filters label{flex:1 1 140px}}
/* Posting records: operational facts first, supporting detail on demand. */
.posting-link-record{display:flex;align-items:flex-start;gap:8px;color:var(--color-text-secondary);font-size:12px}
.posting-link-record strong{font-weight:500}.posting-link-record small{display:block;margin-top:3px}
.posting-link-record svg{flex-shrink:0;margin-top:2px}
.posting-verification-help{color:var(--color-text-secondary);font-size:12px}
.posting-verification-help summary{cursor:pointer;padding:8px 0;min-height:36px}
.posting-verification-help p{margin:6px 0;line-height:1.5}
.posting-disclosure{border-top:1px solid var(--color-border);padding-top:4px}
.posting-disclosure>summary{cursor:pointer;padding:12px 0;font-weight:600;min-height:44px}
.posting-disclosure[open]>summary{margin-bottom:8px}
.posting-disclosure summary:focus-visible,.posting-verification-help summary:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px;border-radius:4px}
.sp-posting-check .sp-verification{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sp-posting-check .sp-publication-notice{margin-top:12px}
/* Analytics workspace: compact controls and explicit data scopes. */
.sp-filterbar{margin-bottom:16px;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:10px}
.sp-primary-filters{margin-bottom:4px}.sp-filterbar [hidden]{display:none!important}
.sp-more-filters>summary,.sp-trend>summary,.sp-insights>summary{cursor:pointer;min-height:36px;display:flex;align-items:center;font-size:13px;font-weight:600;gap:8px}
.sp-more-filters>summary:before,.sp-trend>summary:before,.sp-insights>summary:before{content:'+';color:var(--soft)}
.sp-more-filters[open]>summary:before,.sp-trend[open]>summary:before,.sp-insights[open]>summary:before{content:'−'}
.sp-more-filters>.sp-filters{margin-top:12px}.sp-buckets{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.sp-buckets .button{min-height:40px;gap:8px}.sp-buckets .button span{font-size:11px;padding:2px 6px;border-radius:20px;background:rgba(128,128,128,.12);font-variant-numeric:tabular-nums}
.sp-tracking-note{padding:12px 0;color:var(--soft);font-size:12px;line-height:1.5;margin:0 0 12px}
.sp-kpi-detail{font-size:11px;line-height:1.5}.sp-kpi-detail summary{cursor:pointer;min-height:28px;display:flex;align-items:center}.sp-kpi-detail small{display:block}
.sp-growth{border:1px solid var(--line);border-radius:8px;padding:12px 14px;margin:14px 0}.sp-growth .sp-heading{margin-bottom:8px}
.sp-growth-values{display:flex;gap:24px;flex-wrap:wrap}.sp-growth-values>div{display:grid;gap:4px}.sp-growth-values span,.sp-growth-values small{font-size:12px;color:var(--soft)}.sp-growth-values strong{font-size:20px;font-variant-numeric:tabular-nums}
.sp-insights{border:1px solid var(--line);padding:6px 14px;border-radius:8px;margin:12px 0 18px}
.sp-insight-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:20px}.sp-insight-grid h4{font-size:13px;margin:12px 0 4px}.sp-insight-grid ul{list-style:none;padding:0}.sp-insight-grid li{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:8px 0;border-bottom:1px solid var(--line)}.sp-insight-grid small{font-size:11px;color:var(--soft)}
.sp-compact-table td{vertical-align:middle;padding:12px!important;font-size:12px}.sp-compact-table td:first-child{min-width:190px;max-width:300px}.sp-compact-table th{font-size:11px}.sp-compact-table .badge{white-space:normal}.sp-compact-table .sp-video-title{font-size:13px}.sp-waiting-summary,.sp-review-intro{margin:0 0 16px}
.sp-filterbar summary:focus-visible,.sp-insights summary:focus-visible,.sp-trend summary:focus-visible{outline:2px solid var(--color-info);outline-offset:2px}
@media(max-width:760px){.sp-filterbar{padding:12px}.sp-primary-filters .button{min-height:40px}.sp-primary-filters label{min-width:140px}.sp-buckets{gap:6px}.sp-buckets .button{flex:1 1 145px}.sp-kpis>div{min-width:0}.sp-kpis strong{font-size:23px}.sp-compact-table,.sp-compact-table tbody{display:block;width:100%}.sp-compact-table thead{display:none}.sp-compact-table tr{display:block;border-bottom:1px solid var(--line);padding:10px}.sp-compact-table td{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;max-width:none!important;min-width:0!important;white-space:normal;text-align:right;border:0!important;padding:6px 0!important}.sp-compact-table td:before{content:attr(data-label);font-size:11px;color:var(--soft);text-align:left;margin-right:auto}.sp-compact-table td:first-child{display:block;text-align:left}.sp-compact-table td:first-child:before{display:none}.sp-compact-table td small{margin-left:4px}.sp-compact-table td:first-child small{margin-left:0}.sp-compact-table td .button{min-height:40px}.sp-insight-grid{grid-template-columns:1fr}}


/* Home priorities and explicit social account coverage. */
body.saas .dashboard-focus-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body.saas .dashboard-focus-kpis .saas-metric{text-align:left;color:var(--ink);cursor:pointer;min-width:0;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:10px}
body.saas .dashboard-focus-kpis .saas-metric:first-child{border-top:3px solid var(--brand)}
body.saas .dashboard-task-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);padding:12px 0;background:transparent;color:var(--ink);cursor:pointer}
body.saas .dashboard-task-row strong{display:block;font-size:13px;overflow-wrap:anywhere}body.saas .dashboard-task-row small{display:block;color:var(--soft);font-size:11px;margin-top:5px}body.saas .dashboard-task-time{font-size:12px;font-variant-numeric:tabular-nums}
body.saas .dashboard-secondary-body{display:grid;gap:18px;padding:16px}body.saas .dashboard-secondary-body>.panel{margin:0}body.saas .dashboard-secondary-body>.dashboard-insights{margin:0}
body.saas .dashboard-work-grid .recent-postings-panel .compact-posting-main{grid-template-columns:80px minmax(0,1fr);gap:10px;padding:10px 0}body.saas .dashboard-work-grid .recent-postings-panel .compact-posting-main>.compact-posting-statuses{grid-column:2}
.sp-account-scope{padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid var(--line)}.sp-scope-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}.sp-scope-heading small{font-size:12px;color:var(--soft)}.sp-scope-accounts{display:flex;flex-wrap:wrap;gap:8px}.sp-scope-account{border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);padding:10px 14px;text-align:left;min-width:180px;max-width:100%;cursor:pointer}.sp-scope-account strong,.sp-scope-account small,.sp-scope-account span{display:block;overflow-wrap:anywhere}.sp-scope-account small{font-size:11px;color:var(--soft);margin:4px 0}.sp-scope-account span{font-size:12px}.sp-scope-account .sp-account-heading{display:flex;gap:8px;align-items:center}.sp-scope-account .platform-mark{display:inline-flex;flex-shrink:0}.sp-platform-line{display:flex!important;gap:6px;align-items:center}.sp-other-accounts{margin-top:12px}.sp-other-accounts>summary{cursor:pointer;color:var(--soft);font-size:13px;margin-bottom:10px}.sp-scope-account .badge{display:inline-block;margin:5px 0 8px}.sp-scope-account:hover{border-color:var(--brand-deep)}.sp-dashboard [data-sp-dashboard-body]:not(:empty){padding:16px}.sp-dashboard-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
@media(max-width:900px){body.saas .dashboard-focus-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body.saas .dashboard-task-row{grid-template-columns:42px minmax(0,1fr)}body.saas .dashboard-task-row>.badge{grid-column:2;justify-self:start}.sp-scope-account{min-width:0;width:100%}body.saas .dashboard-secondary-body{padding:12px}}
body.saas .dashboard-work-grid .recent-postings-panel .compact-posting-main{grid-template-columns:80px minmax(0,1fr);padding:10px;gap:8px}body.saas .dashboard-work-grid .recent-postings-panel .compact-posting-open{display:none}body.saas .dashboard-work-grid .recent-postings-panel .compact-posting-statuses{grid-column:2;justify-content:flex-start}body.saas .dashboard-work-grid .recent-postings-panel .compact-posting-card{grid-template-columns:1fr}
/* Explanations appear only for a verified difference from the plan. */
.sp-explanation{margin:12px 0;padding:14px;border:1px solid var(--border,#dce3ed);border-radius:10px;background:var(--surface,#fff)}
.sp-explanation label{display:block;margin-top:12px;font-size:13px;font-weight:600}.sp-explanation textarea{display:block;width:100%;margin-top:6px;resize:vertical;min-height:78px}.sp-explanation .sp-link-check{display:flex;align-items:flex-start;gap:8px;font-weight:400;line-height:1.5}.sp-link-check input{width:auto;flex:none;margin-top:4px}.sp-explanation-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.sp-explanation article{margin:10px 0;padding-top:8px;border-top:1px solid var(--border,#dce3ed)}.sp-explanation article small{display:block}.sp-explanation article p{white-space:pre-wrap;overflow-wrap:anywhere}.sp-explanation [role=status]:empty{display:none}
/* Consistent native select appearance across browsers; option picking stays native. */
body.saas select:not([multiple]):not([size]){appearance:none;-webkit-appearance:none;min-height:38px;padding:8px 32px 8px 10px;line-height:1.4;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23526177' stroke-width='1.8' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:16px 16px}
:root[data-theme=dark] body.saas select:not([multiple]):not([size]){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23b0bed0' stroke-width='1.8' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E")}
@media(max-width:600px){body.saas .saas-row-menu-items .icon-action{min-height:44px}}
@media(forced-colors:active){body.saas select:not([multiple]):not([size]){appearance:auto;-webkit-appearance:auto;background-image:none}}
/* Multi-account analytics: compact information hierarchy, shared UI tokens. */
body.saas .sp-workspace{padding:0;background:none;border:0;box-shadow:none;min-width:0}
.sp-workspace-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-bottom:12px;overflow:auto}
.sp-workspace-tabs button{display:flex;align-items:center;gap:7px;white-space:nowrap;background:none;border:0;border-bottom:3px solid transparent;padding:10px 2px;color:var(--soft);font:inherit;font-size:13px;cursor:pointer}
.sp-workspace-tabs button.active{border-color:var(--brand);color:var(--ink);font-weight:650}
.sp-workspace-context{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px;color:var(--soft);font-size:12px}
.sp-command-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.sp-command-kpi{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:15px 17px;min-width:0;box-shadow:0 2px 4px #0f233703}
.sp-kpi-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--soft)}
.sp-kpi-label i{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;color:#976500;background:#fff5d5;flex:none}
.tone-1 .sp-kpi-label i{color:#3d6fd5;background:#edf3ff}.tone-2 .sp-kpi-label i{color:#8562b4;background:#f4eefe}.tone-3 .sp-kpi-label i{color:#16835e;background:#eaf8f1}
.sp-command-kpi>strong{display:block;font-size:29px;font-weight:650;line-height:1.3;margin:5px 0;font-variant-numeric:tabular-nums;letter-spacing:-.6px}
.sp-command-kpi>small{display:block;font-size:11px;line-height:1.5;color:var(--soft)}
.sp-surface{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:18px;min-width:0;margin-bottom:16px}
.sp-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.sp-section-head h3{font-size:15px;margin:0;display:flex;align-items:center;gap:8px}.sp-section-head h3>svg{color:var(--soft);flex:none}.sp-section-head small{display:block;font-size:11px;color:var(--soft);margin-top:6px}
.sp-workspace-middle{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:16px}.sp-workspace-middle>.sp-surface{margin-bottom:16px}
.sp-history-empty{min-height:170px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:12px 25px;color:var(--soft)}.sp-history-empty>svg{margin-bottom:12px;color:#b58b27}.sp-history-empty strong{color:var(--ink);font-size:14px}.sp-history-empty p{font-size:12px;line-height:1.6;max-width:450px}.sp-history-empty small{font-size:11px}
.sp-workspace-chart{margin:0}.sp-workspace-chart svg{display:block;width:100%;max-height:235px}.sp-workspace-chart svg line{stroke:var(--line);stroke-width:1}.sp-workspace-chart path{fill:none;stroke-width:2.5}.sp-workspace-chart path.current{stroke:#c79608}.sp-workspace-chart path.previous{stroke:#98a6b8;stroke-dasharray:5 4}.sp-workspace-chart circle.current{fill:#c79608}.sp-workspace-chart circle.previous{fill:#98a6b8}.sp-workspace-chart text{fill:var(--soft);font-size:10px}.sp-workspace-chart figcaption{display:flex;flex-wrap:wrap;gap:15px;font-size:11px;color:var(--soft);margin-top:8px}.sp-chart-key:before{content:'';display:inline-block;width:17px;margin-right:6px;vertical-align:middle;border-top:2px solid #c79608}.sp-chart-key.previous:before{border-top:2px dashed #98a6b8}
.sp-followup-list{display:grid}.sp-followup-list button{background:none;border:0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px;padding:11px 0;text-align:left;color:var(--ink);font-size:12px;cursor:pointer}.sp-followup-list button:last-child{border-bottom:0}.sp-followup-list button>svg{color:var(--soft);flex:none}.sp-followup-list button>span{flex:1}.sp-followup-list button>strong{background:var(--surface-alt,#f5f7fa);padding:3px 6px;border-radius:5px;font-size:12px}.sp-followup-list button:hover>span{text-decoration:underline}
.sp-comparison-table{font-size:12px}.sp-comparison-table th{font-size:10px;white-space:normal;line-height:1.4}.sp-comparison-table td{padding:11px 10px;font-variant-numeric:tabular-nums}.sp-comparison-table td:not(:first-child){text-align:right}.sp-account-link{display:flex;align-items:center;gap:9px;border:0;background:none;color:var(--ink);text-align:left;cursor:pointer;padding:0;width:100%;font:inherit}.sp-account-link>span{min-width:0;flex:1}.sp-account-link strong{font-size:12px}.sp-account-link>svg,.sp-account-link .platform-mark{flex:none}.sp-account-link:hover strong{text-decoration:underline}.sp-sparkline{width:88px;height:32px;display:block;margin-left:auto;color:#21875e}.sp-sparkline path{fill:none;stroke:currentColor;stroke-width:2}
.sp-insights-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sp-format-list,.sp-winners{padding:0;margin:12px 0;list-style:none}.sp-format-list li{display:grid;grid-template-columns:1fr auto;gap:3px 10px;border-bottom:1px solid var(--line);padding:9px 0;font-size:12px}.sp-format-list li small{grid-column:1/-1;color:var(--soft);font-size:11px}.sp-winners li{border-bottom:1px solid var(--line)}.sp-winners button{width:100%;display:flex;justify-content:space-between;gap:12px;text-align:left;border:0;background:none;color:var(--ink);padding:10px 0;cursor:pointer;font-size:12px}.sp-winners button small{display:block;color:var(--soft);margin-top:4px}.sp-winners button strong{white-space:nowrap;color:#21875e}.sp-planning-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.sp-reason-chip{display:flex;align-items:center;gap:8px;font-size:12px;margin-bottom:8px}.sp-workspace .sp-kpis{margin-bottom:14px}.sp-workspace .sp-video-scroll{margin-top:14px}
.sp-workspace button:focus-visible{outline:2px solid var(--color-info);outline-offset:3px}.sp-account-link,.sp-followup-list button{min-height:38px}
@media(max-width:1100px){.sp-workspace-middle{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr)}.sp-command-kpi{padding:13px}.sp-command-kpi>strong{font-size:26px}.sp-comparison-table td{padding:10px 6px}}
@media(max-width:800px){.sp-command-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sp-workspace-middle,.sp-insights-row{grid-template-columns:1fr}.sp-surface{padding:14px}.sp-workspace-tabs{gap:15px}.sp-section-head{flex-wrap:wrap}.sp-workspace-context small{font-size:11px}}
@media(max-width:480px){.sp-workspace-tabs button{font-size:12px;gap:5px}.sp-workspace-tabs{gap:12px}.sp-workspace-tabs button svg{width:14px}.sp-command-kpi>strong{font-size:25px}.sp-workspace-chart text{font-size:13px}.sp-kpi-label{font-size:11px}.sp-command-kpi{padding:12px}.sp-comparison-table .sp-account-link{margin-bottom:7px}.sp-comparison-table td:before{max-width:45%}.sp-sparkline{margin:0}}

body.saas .sp-analytics-head .page-head{min-height:0;margin:10px 0 16px}body.saas .sp-analytics-head .page-head p{margin:5px 0 0}body.saas .sp-analytics-head .sp-tabs{margin-bottom:8px}body.saas .sp-analytics-head .sp-tabs .button{min-height:30px;font-size:12px;padding:6px 10px}
.sp-product-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;margin-top:12px}.sp-product-grid button{display:flex;justify-content:space-between;gap:14px;text-align:left;padding:12px 0;background:none;border:0;border-bottom:1px solid var(--line);color:var(--ink);font-size:12px;cursor:pointer}.sp-product-grid button>span:last-child{text-align:right}.sp-product-grid small{display:block;color:var(--soft);font-size:11px;margin-top:4px}@media(max-width:700px){.sp-product-grid{grid-template-columns:1fr}}


.fe{max-width:1600px;margin:auto;color:var(--color-text);font-size:13px}.fe button,.fe input,.fe select,.fe textarea{font:inherit}.fe-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.fe-head h1{font-size:27px;margin:0 0 4px}.fe p{margin:5px 0;color:var(--color-text-secondary)}.fe-topnote{font-size:11px;color:var(--color-text-secondary);margin-bottom:12px}.fe-panel{border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);padding:16px;margin-bottom:16px}.fe-panel h2,.fe-panel h3{margin:0 0 12px;font-size:16px}.fe-toolbar,.fe-actions,.fe-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.fe-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.fe label,.fe-form label{display:flex;flex-direction:column;gap:5px;font-weight:500;font-size:12px;min-width:0}.fe input,.fe select,.fe-form input,.fe-form select,.fe-form textarea{width:100%;min-height:36px;padding:7px 9px;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface);color:var(--color-text);box-sizing:border-box}.fe input:focus,.fe select:focus,.fe-form input:focus,.fe-form select:focus,.fe-form textarea:focus{outline:2px solid #2563eb;outline-offset:1px}.fe-form textarea{min-height:75px}.fe-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fe-form .fe-wide{grid-column:1/-1}.fe-form fieldset{border:1px solid var(--color-border);border-radius:6px;padding:12px;min-width:0}.fe-form legend{font-weight:600;font-size:13px;padding:0 4px}.fe-form .fe-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fe-form .fe-checks label{display:flex;flex-direction:row;align-items:center;font-weight:400}.fe-form input[type=checkbox]{width:16px;min-height:16px;flex:none}.fe-form .fe-help{font-size:12px;color:var(--color-text-secondary);margin:0}.fe-table-wrap{overflow:auto}.fe table{border-collapse:collapse;width:100%;font-size:13px}.fe th{position:sticky;top:0;background:var(--color-surface-subtle);text-align:left;font-size:11px;font-weight:600;white-space:nowrap;padding:10px}.fe td{padding:10px;border-bottom:1px solid var(--color-border);vertical-align:top}.fe tr:hover td{background:var(--color-surface-subtle)}.fe td small{display:block;color:var(--color-text-secondary);margin-top:4px}.fe-link{border:0;background:none;padding:0;color:var(--color-text);text-align:left;font-weight:600!important;cursor:pointer}.fe-link:hover{color:#2563eb}.fe-pill{display:inline-flex;border:1px solid var(--color-border);border-radius:5px;padding:3px 7px;font-size:11px;background:var(--color-surface-subtle);white-space:nowrap}.fe-type{border-left:3px solid #2563eb}.fe-type-sponsor{border-left-color:#15803d}.fe-type-event{border-left-color:#dc2626}.fe-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:14px}.fe-empty{padding:30px 16px;text-align:center;color:var(--color-text-secondary)}.fe-error{border:1px solid #dc2626;border-radius:6px;padding:12px;color:var(--color-danger);margin-bottom:12px}.fe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.fe-facts{display:grid;grid-template-columns:150px 1fr;gap:8px;margin:0}.fe-facts dt{color:var(--color-text-secondary)}.fe-facts dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.fe-tabs{border-bottom:1px solid var(--color-border);margin-bottom:16px;padding-bottom:8px}.fe-tabs button[aria-selected=true]{background:var(--color-primary-subtle);border-color:var(--color-primary);color:var(--color-text)}.fe-map{height:480px;position:relative;isolation:isolate;z-index:0;border:1px solid var(--color-border);border-radius:7px;background:#e7edf0}.fe-map-status{font-size:11px;color:var(--color-text-secondary);padding:6px 0}.fe-marker span{display:flex;width:26px;height:26px;border-radius:50%;border:2px solid white;background:#2563eb;color:white;align-items:center;justify-content:center;font-size:11px;font-weight:bold;box-shadow:0 1px 4px #0004}.fe-cluster{border:3px solid white;background:#172d42;border-radius:50%;display:grid;place-items:center;color:white;font:600 13px system-ui;box-shadow:0 1px 4px #0004}.fe-popup{font:12px system-ui;max-width:280px;color:#0f172a}.fe-popup p{margin:5px 0;color:#475569}.fe-popup strong{font-size:14px}.fe-modal{max-width:860px!important;width:calc(100vw - 40px)!important;max-height:calc(100dvh - 90px)!important}.fe-modal .modal-body{overflow:auto}.fe-modal .modal-footer{padding:12px 18px;min-height:0}.fe-modal .fe-map{height:280px}.fe-history{list-style:none;margin:0;padding:0}.fe-history li{padding:12px 0;border-bottom:1px solid var(--color-border);overflow-wrap:anywhere}.fe-history small{display:block;color:var(--color-text-secondary);margin-top:4px}.fe-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.fe-kpi{border:1px solid var(--color-border);background:var(--color-surface);border-radius:7px;padding:14px}.fe-kpi small{display:block;color:var(--color-text-secondary)}.fe-kpi strong{display:block;font-size:24px;margin:6px 0}.fe-lines{display:flex;flex-direction:column;gap:8px}.fe-line{display:grid;grid-template-columns:1fr 1.5fr 1fr auto;gap:6px;align-items:end}.fe-line button{min-height:36px}.fe-line input,.fe-line select{min-width:0}.fe-loading{padding:24px;color:var(--color-text-secondary)}.fe-loading:before{content:'';display:inline-block;width:14px;height:14px;border:2px solid var(--color-border);border-top-color:var(--color-primary);border-radius:50%;margin-right:8px;animation:fe-spin .8s linear infinite}@keyframes fe-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.fe-loading:before{animation:none}}@media(max-width:900px){.fe-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.fe-grid{grid-template-columns:1fr}.fe-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.fe-table-wrap{max-width:100%}}@media(max-width:600px){.fe-head{align-items:flex-start;flex-direction:column}.fe-head h1{font-size:24px}.fe-filters{grid-template-columns:1fr 1fr}.fe-filters label:first-child{grid-column:1/-1}.fe-form{grid-template-columns:1fr}.fe-form .fe-wide{grid-column:auto}.fe-facts{grid-template-columns:1fr;gap:3px}.fe-facts dd{margin-bottom:10px}.fe-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.fe-kpi strong{font-size:20px}.fe-map{height:390px}.fe-modal{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 105px)!important}.fe-modal .modal-body{padding:12px}.fe-line{grid-template-columns:1fr 1fr}.fe-line button{justify-self:end}.fe-table-wrap table{min-width:760px}.fe-tabs{gap:4px}.fe-tabs .button{padding:7px 9px}.fe-panel{padding:12px}}.fe :focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.fe-calendar-scroll{overflow:auto}.fe-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(100px,1fr));min-width:760px;gap:1px;background:var(--color-border,#dfe5ed);border:1px solid var(--color-border,#dfe5ed)}.fe-calendar-grid>strong{background:#f8fafc;padding:8px}.fe-calendar-day{background:white;min-height:125px;padding:7px}.fe-calendar-day.today{box-shadow:inset 0 0 0 2px #f5b800}.fe-calendar-day.empty{background:#f8fafc}.fe-calendar-event{display:block;text-align:left;background:#f8fafc;color:#162338;border:1px solid #e2e8f0;border-left:3px solid #2563eb;border-radius:4px;padding:6px;margin-top:6px;width:100%;overflow-wrap:anywhere;font-size:12px}.fe-calendar-event.sponsorship{border-left-color:#168052}.fe-calendar-event.event{border-left-color:#c53030}.fe-calendar-event small{display:block;font-size:11px}.fe-calendar-event:hover{background:#edf2f7}
.fe-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:16px 0}.fe-kpis .fe-panel{padding:14px;margin:0}.fe-kpis strong{display:block;font-size:24px;font-weight:650;margin:8px 0}.fe-kpis small,.fe-kpis span{color:#58667b;font-size:12px}.fe-chart-row{display:grid;grid-template-columns:minmax(95px,1.3fr) 1fr auto;gap:10px;align-items:center;font-size:12px;margin:12px 0}.fe-chart-row>div{height:5px;background:#edf1f5}.fe-chart-row i{display:block;height:5px;background:#456984}.fe-chart-row span{overflow-wrap:anywhere}.fe-expense{padding:12px 0;border-bottom:1px solid #e2e8f0}
.fe-filter-more{grid-column:1/-1;border-top:1px solid var(--color-border);padding-top:8px}.fe-filter-more summary{cursor:pointer;font-size:12px;color:var(--color-text-secondary);padding:3px 0}.fe-filter-more .fe-filters{margin-top:10px}.fe-filter-actions{grid-column:1/-1}.fe-form [hidden]{display:none!important}.fe-calendar-day,.fe-calendar-grid>strong{background:var(--color-surface);color:var(--color-text)}.fe-calendar-event{background:var(--color-surface-subtle);color:var(--color-text);border-color:var(--color-border)}.fe-calendar-event.shooting{border-left-color:#2563eb}.fe-calendar-event.sponsorship{border-left-color:#168052}.fe-calendar-event.event{border-left-color:#c53030}.fe-calendar-event:hover{background:var(--color-primary-subtle)}.fe-kpis small,.fe-kpis span{color:var(--color-text-secondary)}.fe-form textarea{resize:vertical}.fe-table-wrap{max-width:100%;min-width:0}.fe-panel{min-width:0}.fe-modal .fe-error[hidden]{display:none!important}.fe button,.fe-form button{min-height:36px}@media(max-width:600px){.fe-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.fe-kpis strong{font-size:20px}.fe input,.fe select,.fe-form input,.fe-form select,.fe-form textarea{font-size:16px}.fe button,.fe-form button{min-height:40px}.fe-form .fe-checks{grid-template-columns:1fr}.fe-map{height:340px}.fe-tabs{flex-wrap:nowrap;overflow:auto}.fe-filters .fe-filters{grid-template-columns:1fr}.fe-head .fe-actions{width:100%}}
.fe-map-layout{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(260px,1fr);gap:16px}.fe-map-layout .fe-map{height:430px}.fe-map-layout .fe-facts{grid-template-columns:105px 1fr;font-size:12px}.fe-map-layout .fe-facts dd{margin-bottom:4px}.fe-map-layout #fe-map-preview{max-height:520px;overflow:auto}.fe-map-layout .fe-toolbar{justify-content:space-between}.fe-map-layout h2{margin-bottom:8px}.fe-map-legend{display:flex;gap:16px;padding-top:10px;font-size:12px}.fe-map-legend span:first-child{color:#2563eb}.fe-map-legend span:nth-child(2){color:#168052}.fe-map-legend span:nth-child(3){color:#c53030}.fe-overview-lists{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.fe-overview-item{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:0;border-bottom:1px solid var(--color-border);background:none;color:var(--color-text);padding:12px 0;font-size:12px!important}.fe-overview-item>span:nth-child(2){flex:1;min-width:0}.fe-overview-item strong,.fe-overview-item small{display:block;overflow-wrap:anywhere}.fe-overview-item small{font-size:11px;color:var(--color-text-secondary);margin-top:3px}.fe-overview-item .fe-pill{font-size:10px;white-space:normal;max-width:78px}.fe-date-label{font-size:11px;color:var(--color-text-secondary)}.fe-workflow{display:flex;gap:12px;flex-wrap:wrap;padding:8px 0 18px}.fe-workflow span{color:var(--color-text-tertiary)}.fe-kpis [hidden],.fe-record-list[hidden]{display:none!important}@media(min-width:1200px){.fe-overview-body .fe-map{height:450px}body[data-route=fieldOverview] .fe-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}body[data-route=fieldOverview] .fe-kpis strong{font-size:22px}}@media(max-width:1100px){.fe-overview-lists{grid-template-columns:1fr}.fe-map-layout{grid-template-columns:1fr}.fe-map-layout #fe-map-preview{max-height:none}}@media(max-width:600px){.fe-map-layout .fe-map{height:330px}.fe-map-layout .fe-facts{grid-template-columns:1fr}.fe-map-legend{gap:8px;font-size:11px}}
.fe-overview-filters{display:flex;align-items:end;gap:8px;position:relative;margin-bottom:12px}.fe-overview-filters>label:first-child{flex:1}.fe-overview-filters>label{min-width:0}.fe-overview-filter-pop summary{cursor:pointer;padding:9px 12px;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface);list-style:none}.fe-overview-filter-pop>div{position:absolute;z-index:550;right:0;top:64px;width:min(650px,100%);box-sizing:border-box;padding:16px;background:var(--color-surface);box-shadow:0 8px 24px #16233820;border:1px solid var(--color-border);border-radius:8px}.fe-overview-note{font-size:12px;margin:0 0 12px!important}.fe-overview-body #fe-map-preview>h2{font-size:15px}.fe-overview-body #fe-map-preview>.fe-pill{margin-bottom:12px}.fe-overview-body #fe-map-preview>.button{width:100%;margin-top:14px}body[data-route=fieldOverview] #fe-summary>.fe-toolbar{justify-content:space-between;margin:0 0 8px}body[data-route=fieldOverview] #fe-summary>.fe-toolbar p{font-size:11px;max-width:75%}body[data-route=fieldOverview] .fe-head{margin-bottom:12px}body[data-route=fieldOverview] .fe-topnote{margin-bottom:5px}body[data-route=fieldOverview] .fe-kpis{grid-template-columns:repeat(9,minmax(0,1fr));gap:6px;margin:6px 0 8px}body[data-route=fieldOverview] .fe-kpis .fe-panel{padding:10px 8px}body[data-route=fieldOverview] .fe-kpis strong{font-size:20px;margin:8px 0 3px}body[data-route=fieldOverview] .fe-kpis span{font-size:11px;min-height:28px;display:block}body[data-route=fieldOverview] .fe-kpis small{font-size:10px}body[data-route=fieldOverview] .fe-kpis [data-kpi="Proposed budget"] strong,body[data-route=fieldOverview] .fe-kpis [data-kpi="Actual cost"] strong{font-size:15px}body[data-route=fieldOverview] .fe-kpis [data-kpi="Product shootings"]{border-top:2px solid #2563eb}body[data-route=fieldOverview] .fe-kpis [data-kpi="Sponsorships"]{border-top:2px solid #168052}body[data-route=fieldOverview] .fe-kpis [data-kpi="Our events"]{border-top:2px solid #c53030}@media(max-width:1050px){body[data-route=fieldOverview] .fe-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:600px){body[data-route=fieldOverview] .fe-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.fe-overview-filters{flex-wrap:wrap}.fe-overview-filters>label:first-child{min-width:100%}.fe-overview-filters>label{flex:1}.fe-overview-filter-pop>div{top:105px;grid-template-columns:repeat(2,minmax(0,1fr))}}
body[data-route^=field] .sidebar{display:flex;flex-direction:column;overflow:hidden}body[data-route^=field] .sidebar-brand{flex:none}body[data-route^=field] #mainNav{flex:1;min-height:0;overflow:auto}body[data-route^=field] .sidebar-footer{position:static;flex:none}body[data-route^=field] .workspace-pill{display:none}
.fe .leaflet-marker-icon.fe-cluster{display:grid;place-items:center}.fe-cluster>span{line-height:1;display:block}.fe-pagination{flex-wrap:wrap}.fe-map-legend{flex-wrap:wrap}.fe-map-status{overflow-wrap:anywhere}.fe-calendar-scroll{max-width:100%;min-width:0}body[data-route=fieldOverview] .fe-kpis .fe-panel{margin-bottom:0;min-height:112px}body[data-route=fieldOverview] .fe-kpis small{line-height:1.4}body[data-route=fieldOverview] .fe-kpis strong{line-height:1.25;overflow-wrap:anywhere}.fe-kpi-icon{display:inline-flex;color:var(--color-text-secondary);margin-bottom:4px}.fe-type .fe-kpi-icon{margin:0 5px 0 0}.fe-date-display{white-space:normal}
body[data-route=fieldOverview] .fe-kpis .fe-panel{position:relative;min-height:112px}body[data-route=fieldOverview] .fe-kpi-icon{position:absolute;right:8px;top:8px}body[data-route=fieldOverview] .fe-kpis span{padding-right:16px;font-size:10px;min-height:32px}body[data-route=fieldOverview] .fe-kpis strong{margin:5px 0}body[data-route=fieldOverview] .fe-kpis small{font-size:10px}
.fe-pill[data-status="Submitted"],.fe-pill[data-status="Under Review"],.fe-pill[data-status="In Progress"]{background:#fff8dc;border-color:#ead69c;color:#735000}.fe-pill[data-status="Scheduled"]{background:#edf4ff;border-color:#c4d6f6;color:#2455a3}.fe-pill[data-status="Completed"],.fe-pill[data-status="Closed"]{background:#eef8f2;border-color:#c7e5d2;color:#17643c}.fe-pill[data-status="Changes Requested"]{background:#fff4e8;border-color:#f2d4b5;color:#914e18}.fe-pill[data-status="Rejected"],.fe-pill[data-status="Cancelled"]{background:#fff0f0;border-color:#e8c5c5;color:#a32b2b}
body[data-route=fieldOverview] .fe-topnote{display:none}body[data-route=fieldOverview] .fe-overview-filters>label{font-size:0;gap:0}body[data-route=fieldOverview] .fe-overview-filters input,body[data-route=fieldOverview] .fe-overview-filters select{font-size:13px}@media(min-width:1051px) and (max-width:1279px){body[data-route=fieldOverview] .fe-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}}

.fe-nav-toggle{display:flex;width:100%;justify-content:space-between;border:0;background:none;color:inherit;text-align:left;cursor:pointer}.fe-nav-toggle span{font-size:15px}.fe-nav-toggle:hover{color:#fff}.fe-form-more{border:1px solid var(--color-border);border-radius:6px;padding:10px 12px}.fe-form-more>summary{cursor:pointer;font-weight:600;font-size:12px}.fe-form-more[open]>.fe-form{padding-top:14px}.fe-section-label{font-size:12px;font-weight:650;border-top:1px solid var(--color-border);padding-top:10px}.fe-product-add{display:flex;align-items:end;gap:8px;margin-bottom:12px}.fe-product-add>label{flex:1}.fe-product-row{display:grid;grid-template-columns:1.4fr 120px auto auto;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--color-border)}.fe-product-row strong{font-size:12px}.fe-product-row small{color:var(--color-text-secondary)}.fe-personal-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.fe-personal-kpi{color:var(--color-text);text-align:left;cursor:pointer}.fe-personal-kpi strong{display:block;font-size:27px;margin:12px 0}.fe-personal-kpi small{font-size:11px;color:var(--color-text-secondary)}.fe-personal-lists{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fe [data-kpi]{cursor:pointer}.fe [data-kpi]:hover,.fe-personal-kpi:hover{border-color:#c69b15;background:var(--color-surface-subtle)}.product-prices{border:1px solid var(--color-border);border-radius:8px;padding:12px}.product-prices legend{font-size:13px;font-weight:600}.product-prices small{display:block;color:var(--color-text-secondary);margin:6px 0}.fe-map .leaflet-control-zoom{border:1px solid #cbd5e1;box-shadow:0 1px 5px #14233416}.fe-map .leaflet-control-zoom a{color:#273a50}.fe-map .leaflet-container{font-family:inherit}.fe-modal{max-width:760px!important}.stock-doc{font:13px system-ui;color:var(--color-text)}.stock-doc h1{font-size:20px}.stock-doc dl{display:grid;grid-template-columns:125px 1fr;gap:8px}.stock-doc dd{margin:0;overflow-wrap:anywhere}.stock-doc table{width:100%;border-collapse:collapse}.stock-doc td,.stock-doc th{padding:10px;text-align:left;border-bottom:1px solid var(--color-border)}.stock-brand{font-size:23px;font-weight:700;border-bottom:3px solid #eab308;padding-bottom:12px}.stock-brand span{float:right;font-size:11px}.stock-test{padding:8px;background:#fff8df;color:#805f00}.stock-signatures{display:flex;justify-content:space-between;gap:12px;margin:24px 0}.stock-doc p{font-size:12px}
@media(max-width:800px){.fe-personal-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.fe-personal-lists{grid-template-columns:1fr}.fe-product-row{grid-template-columns:1fr 95px auto}.fe-product-row small{grid-column:1/-1}.fe-product-row button{grid-column:3;grid-row:1}.stock-doc dl{grid-template-columns:1fr}.stock-doc dd{margin-bottom:5px}}
/* Private refinement: size the operational layout to its available width. */
body[data-route=fieldOverview] .fe-kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
body[data-route=fieldOverview] .fe-kpis [data-kpi="Proposed budget"],body[data-route=fieldOverview] .fe-kpis [data-kpi="Actual cost"],body[data-route=fieldOverview] .fe-kpis [data-kpi="Actual participants"]{grid-column:span 2}
body[data-route=fieldOverview] .fe-kpis .fe-panel{padding:12px;min-height:88px}
body[data-route=fieldOverview] .fe-kpis span{font-size:12px;line-height:1.35;min-height:30px;padding-right:18px}
body[data-route=fieldOverview] .fe-kpis strong{font-size:25px;margin:5px 0 2px}
body[data-route=fieldOverview] .fe-kpis [data-kpi="Proposed budget"] strong,body[data-route=fieldOverview] .fe-kpis [data-kpi="Actual cost"] strong{font-size:20px}
body[data-route=fieldOverview] .fe-kpis small{font-size:11px}
body[data-route=fieldMap] .fe-overview-filters{padding:12px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}
body[data-route=fieldMap] .fe-overview-filters>label{font-size:0;gap:0}body[data-route=fieldMap] .fe-overview-filters input,body[data-route=fieldMap] .fe-overview-filters select{font-size:13px}
.fe-overview-filter-pop>div{top:100%;margin-top:6px}.fe-overview-filters>label:nth-child(2){min-width:125px}.fe-overview-filter-pop summary:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.stock-modal .stock-meta th{width:120px;color:var(--color-text-secondary)}.stock-modal .stock-meta td,.stock-modal .stock-meta th{padding:5px 6px;border:0}.stock-modal .stock-items{margin:18px 0}.stock-modal .stock-signatures{display:table;width:100%;margin:26px 0}.stock-modal .stock-signatures td{width:33.3%;vertical-align:top;border:0;font-size:11px}.stock-modal [hidden]{display:none!important}
@media(max-width:1050px){body[data-route=fieldOverview] .fe-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-route=fieldOverview] .fe-kpis [data-kpi]{grid-column:auto}}
@media(max-width:600px){body[data-route=fieldOverview] .fe-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-route=fieldOverview] .fe-kpis .fe-panel{min-height:84px}body[data-route=fieldMap] .fe-overview-filters input,body[data-route=fieldMap] .fe-overview-filters select{font-size:16px}.fe-overview-filter-pop>div{top:100%}.stock-modal .stock-signatures td{font-size:10px;padding:4px}.stock-modal .stock-meta th{width:92px}}
/* Request and detail components share the shell's tokens. */
.fe-head h1{font-size:var(--type-page);font-weight:650;letter-spacing:-.6px}
.fe-topnote{display:none}
.fe-page-skeleton{min-height:280px}
.fe-page-skeleton h1{font-size:var(--type-page)}
.fe-map-on-demand .fe-toolbar{justify-content:space-between}
.fe-map-on-demand .fe-map[hidden]{display:none}
.fe-map-records .fe-overview-item{justify-content:space-between;padding:12px}
.fe-overview-lists{gap:12px}
.fe-overview-item{padding:11px 0;min-height:62px}
.fe-record-summary .fe-facts{grid-template-columns:100px minmax(0,1fr) 110px minmax(0,1fr);gap:10px 16px;margin:0}
.fe [role=tab][aria-selected=true]{border-color:var(--brand-line);background:var(--brand-soft);color:var(--ink)}
body.saas .fe-modal.fe-choice-modal{width:min(540px,94vw)}
.fe-type-choices{display:grid;gap:10px;margin-top:18px}
.fe-type-choice{display:flex;align-items:center;gap:16px;border:1px solid var(--line);border-radius:var(--radius-md);padding:18px;background:var(--surface);color:var(--ink);text-align:left;cursor:pointer}
.fe-type-choice>span:nth-child(2){flex:1}
.fe-type-choice strong{display:block;font-size:14px;font-weight:600}
.fe-type-choice small{display:block;font-size:12px;color:var(--soft);margin-top:4px;line-height:1.5}
.fe-type-choice:hover{border-color:var(--color-info);background:var(--color-info-subtle)}
.fe-type-choice[data-choice=Shooting]>svg{color:var(--color-info)}
.fe-type-choice[data-choice=Sponsorship]>svg{color:var(--color-success)}
.fe-type-choice[data-choice="Our Event"]>svg{color:var(--color-danger)}
body.saas .fe-request-wizard{width:min(860px,94vw);max-height:calc(100dvh - 90px)}
.fe-request-wizard .modal-body{padding:20px 24px;min-height:280px}
.fe-request-wizard .modal-footer{gap:8px}
.fe-request-wizard .modal-footer>[data-modal-close]{margin-right:auto}
.fe-request-wizard .fe-form{gap:16px}
.fe-request-wizard label{font-size:12px}
.fe-request-wizard .fe-wizard-header{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:4px}
.fe-wizard-header .fe-toolbar{justify-content:space-between;gap:8px}
.fe-stepper{display:flex;gap:6px;margin-top:18px}
.fe-stepper button{display:flex;align-items:center;gap:6px;border:0;background:none;color:var(--soft);font-size:12px;font-weight:500;text-align:left;flex:1;min-width:0;padding:4px 0}
.fe-stepper button>span{display:flex;align-items:center;justify-content:center;border:1px solid var(--line);width:24px;height:24px;flex:none;border-radius:50%;font-size:11px}
.fe-stepper button[aria-current=step]{color:var(--ink);font-weight:650}
.fe-stepper button[aria-current=step]>span{background:var(--brand);border-color:var(--brand-deep)}
.fe-stepper button:disabled{opacity:.7;cursor:default}
.fe-wizard-panel[hidden]{display:none!important}
.fe-wizard-panel{min-height:160px;align-content:start}
.fe-wizard-panel h3{margin:0 0 8px}
.fe-wizard-panel .fe-facts{margin-top:20px;grid-template-columns:150px minmax(0,1fr);gap:12px}
.fe-review-note{padding:10px 12px;background:var(--warn-bg);color:var(--warn)!important;border-radius:var(--radius-sm);margin:16px 0!important}
.fe-wizard-panel .fe-form-more{background:var(--surface);padding:0;border:0}
.fe-wizard-panel .fe-form-more>summary{padding:10px 0}
.fe-wizard-panel details[open]>.fe-form{padding-top:10px}
.fe-request-wizard :is(input,select){min-height:38px}
.fe-request-wizard .fe-help{line-height:1.5;font-size:12px}
.fe-request-wizard .fe-product-row{grid-template-columns:minmax(0,1fr) 120px 115px 36px}
.fe-request-wizard .fe-product-add{grid-template-columns:minmax(0,1fr) auto}
@media(min-width:1280px){.fe-overview-lists{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){
 .fe-record-summary .fe-facts{grid-template-columns:110px minmax(0,1fr)}
 body.saas .fe-request-wizard{width:calc(100vw - 16px);max-height:calc(100dvh - 70px)}
 .fe-request-wizard .modal-body{padding:16px}
 .fe-stepper{gap:5px;overflow:auto}
 .fe-stepper button{font-size:10px;flex-direction:column;align-items:flex-start;gap:5px;min-width:50px}
 .fe-request-wizard .fe-wizard-panel{grid-template-columns:1fr}
 .fe-request-wizard .modal-footer{padding:12px;flex-wrap:wrap}
 .fe-request-wizard .modal-footer .button{padding:8px 10px;font-size:12px}
 .fe-request-wizard .fe-product-row{grid-template-columns:minmax(0,1fr) 95px 36px}
 .fe-request-wizard .fe-product-row small{grid-column:1/-1}
 .fe-wizard-panel .fe-facts{grid-template-columns:1fr;gap:5px}
 .fe-record-list .fe-table-wrap table{min-width:0;display:block}
 .fe-record-list .fe-table-wrap thead{display:none}
 .fe-record-list .fe-table-wrap tbody{display:grid;gap:10px}
 .fe-record-list .fe-table-wrap tr{display:grid;grid-template-columns:1fr;gap:8px;border:1px solid var(--line);border-radius:var(--radius-md);padding:12px}
 .fe-record-list .fe-table-wrap td{display:block;padding:0;border:0;overflow-wrap:anywhere}
 .fe-record-list .fe-table-wrap td[data-label]:not(:first-child):before{content:attr(data-label);display:block;font-size:11px;color:var(--soft);margin-bottom:3px}
 .fe-record-list .fe-table-wrap td:empty{display:none}
}

.fe-required{font-size:10px!important;color:var(--soft);font-weight:400}
.fe-stepper button:disabled{opacity:1!important;color:var(--soft)!important}
.fe .fe-pill[data-status=Submitted],.fe .fe-pill[data-status=Scheduled]{color:var(--info);background:var(--info-bg)}
.fe .fe-pill[data-status=Approved],.fe .fe-pill[data-status=Completed],.fe .fe-pill[data-status=Closed]{color:var(--ok);background:var(--ok-bg)}
.fe .fe-pill[data-status=Rejected]{color:var(--bad);background:var(--bad-bg)}
.fe .fe-pill[data-status="Changes Requested"]{color:var(--color-revision);background:var(--color-revision-subtle)}
.fe .fe-pill[data-status=Draft],.fe .fe-pill[data-status=Cancelled]{color:var(--soft);background:var(--surface-2)}


.fe-pill[data-status="Under Review"]{background:#fff4d4;color:#805300}
.fe-pill[data-status="Report Changes Requested"],.fe-pill[data-status="Changes Requested"]{background:#fff0e4;color:#9a4316}
.fe-notice{padding:12px 16px;border:1px solid #ebd5a4;border-radius:8px;background:#fffbef;color:#73521a;margin:12px 0;font-size:13px}
.fe-notice p{margin:4px 0}.fe-form[inert]{opacity:.7;cursor:wait}
.fe-pill[data-status="Report Submitted"]{background:#eaf2ff;color:#265cab}.fe-active-filters{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.fe-active-filters .button{font-weight:400}

.fe-filterbar{display:flex;align-items:end;gap:8px;margin:0 0 14px;position:relative}.fe-filterbar>label{flex:1;min-width:100px}.fe-filterbar>label:first-child{flex:1.6}.fe-filterbar>.button{flex-shrink:0}.fe-filterbar .fe-overview-filter-pop>div{top:60px}.fe [data-report-panel][hidden]{display:none!important}.fe-kpis [data-kpi][hidden]{display:none!important}
@media(max-width:1100px){.fe-filterbar{flex-wrap:wrap}.fe-filterbar>label:first-child{min-width:35%}.fe-filterbar .fe-overview-filter-pop>div{top:100%;left:0;right:auto}}
@media(max-width:600px){.fe-filterbar>label:first-child{min-width:100%}.fe-filterbar>label{min-width:30%}.fe-filterbar .fe-overview-filter-pop>div{grid-template-columns:1fr 1fr}}
.fe-discard-notice{padding:12px;margin-bottom:16px;border:1px solid var(--color-warning);border-radius:8px;background:var(--color-surface-subtle);font-size:13px}
.fe-discard-notice p{margin:6px 0 10px;color:var(--color-text-secondary)}
.fe-discard-notice>div{display:flex;flex-wrap:wrap;gap:8px}

.fe .fe-type-endorsement{color:#6d28d9;background:#f3edfc;border-color:#c4b5fd}
.fe-modal .fe-collaboration{display:grid;gap:10px}.fe-modal .fe-collaboration select[multiple]{height:110px}
.fe-modal .fe-product-row{grid-template-columns:minmax(130px,1fr) 100px minmax(140px,1fr) minmax(100px,1fr) auto;align-items:end}
.fe-use-inputs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.fe-file-reference{display:block;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}
.fe .fe-expense small{display:block;margin-top:8px}.fe .fe-actions{flex-wrap:wrap}
@media(max-width:600px){.fe-modal .fe-product-row{grid-template-columns:1fr 1fr}.fe-modal .fe-product-row strong{grid-column:1/-1}.fe-use-inputs{grid-template-columns:1fr 1fr}.fe-modal .fe-collaboration select[multiple]{max-width:100%}}
.fe .fe-calendar-event.endorsement{border-left-color:#7c3aed;background:#f7f3ff}
.fe-profile-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(160px,2fr) auto;align-items:end;gap:8px;margin-bottom:10px}@media(max-width:600px){.fe-profile-row{grid-template-columns:minmax(0,1fr) auto}.fe-profile-row label:first-child{grid-column:1/-1}}
/* Purpose-specific request and record layouts. */
.fe-record-head{align-items:flex-start;margin-bottom:18px}.fe-record-head h1{font-size:25px;line-height:1.3;margin:8px 0}.fe-back{border:0;background:none;color:var(--soft);padding:0;cursor:pointer;font-size:12px!important}.fe-record-head>.fe-actions{padding-top:34px}
.fe-record-tabs{gap:20px;flex-wrap:nowrap;overflow:auto;padding-bottom:0}.fe-record-tabs .button{border:0!important;border-bottom:2px solid transparent!important;border-radius:0;background:none!important;white-space:nowrap;color:var(--soft);padding:10px 0;flex-shrink:0}.fe-record-tabs .button[aria-selected=true]{border-bottom-color:var(--brand)!important;color:var(--ink);font-weight:600}
.fe-record-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:20px;align-items:start}.fe-record-layout>.fe-panel{padding:22px}.fe-record-layout .fe-facts{grid-template-columns:140px minmax(0,1fr);gap:14px}.fe-record-layout aside .fe-facts{grid-template-columns:100px minmax(0,1fr);gap:10px}.fe-next-step>small{font-size:10px;letter-spacing:.08em;color:var(--soft)}.fe-next-step h2{margin:8px 0}.fe-next-step>p{margin-bottom:18px}.fe-profile-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.fe-profile-links a{border:1px solid var(--line);border-radius:6px;padding:7px 10px;text-decoration:none}.fe-inline-disclosure{margin-top:18px}.fe-action-menu{position:relative}.fe-action-menu summary{list-style:none;border:1px solid var(--line);padding:9px 12px;border-radius:6px;cursor:pointer;white-space:nowrap}.fe-action-menu>div{position:absolute;right:0;top:100%;z-index:10;width:210px;padding:6px;background:var(--surface);box-shadow:0 4px 16px #12233c16;border:1px solid var(--line);border-radius:8px}.fe-action-menu .button{display:block;width:100%;text-align:left;border:0;min-height:38px;background:none}.fe-action-menu .button:hover{background:var(--surface-2)}.fe-action-menu [data-fe=cancel],.fe-action-menu [data-fe=reject]{color:var(--bad)}
body.saas .fe-modal.fe-request-wizard{max-width:780px!important;width:calc(100vw - 40px)!important}.fe-request-wizard .modal-body{padding:16px 22px;min-height:0}.fe-request-wizard .fe-form{gap:14px}.fe-request-wizard .fe-wizard-header{padding-bottom:12px;margin:0}.fe-request-wizard .fe-stepper{margin:0}.fe-request-wizard textarea{min-height:60px;max-height:160px}.fe-request-wizard .fe-required{display:inline;position:absolute;right:0;top:0}.fe-request-wizard label{position:relative}.fe-request-wizard .fe-profiles{padding:10px 12px}.fe-request-wizard .fe-profiles>.button{border:0;background:var(--surface-2);font-size:12px}.fe-request-wizard .fe-profile-row{grid-template-columns:minmax(100px,.8fr) minmax(160px,1.8fr) 36px}.fe-request-wizard .fe-destinations legend{display:none}.fe-request-wizard .fe-destinations{border:0;padding:0}.fe-request-wizard .fe-destinations label{align-items:center;font-size:12px}.fe-request-wizard .fe-form-more>summary{color:var(--soft);font-weight:500}.fe-request-wizard .fe-product-row{grid-template-columns:minmax(100px,1fr) 95px 130px 36px;gap:10px;align-items:end}.fe-request-wizard .fe-product-row small{grid-column:1/4;grid-row:auto}.fe-request-wizard .fe-product-row>button{grid-column:4;grid-row:1}.fe-request-wizard .fe-product-row>strong{align-self:center}.fe .fe-history li{padding:12px 0 12px 20px;border-left:2px solid var(--line);border-bottom:0;position:relative;margin-left:5px}.fe-history li:before{content:'';position:absolute;left:-5px;top:18px;width:8px;height:8px;background:var(--soft);border-radius:50%}.fe-history li:first-child:before{background:var(--brand)}.fe .fe-history p{margin:5px 0;font-size:12px}.fe .fe-empty{padding:18px 0;text-align:left;font-size:13px}
@media(max-width:800px){.fe-record-layout{grid-template-columns:1fr}.fe-record-head>.fe-actions{padding:0}.fe-record-layout>.fe-panel{padding:16px}.fe-record-tabs{gap:16px}.fe-record-tabs .button{font-size:12px}.fe-record-head h1{font-size:23px}}
@media(max-width:600px){body.saas .fe-modal.fe-request-wizard{width:calc(100vw - 16px)!important}.fe-request-wizard .modal-body{padding:14px}.fe-record-layout .fe-facts{grid-template-columns:105px minmax(0,1fr);gap:12px}.fe-request-wizard .fe-profile-row{grid-template-columns:minmax(0,1fr) 36px}.fe-request-wizard .fe-profile-row label:first-child{grid-column:1/-1}.fe-request-wizard .fe-product-row{grid-template-columns:minmax(0,1fr) 90px 36px}.fe-request-wizard .fe-product-row>strong{grid-column:1/3}.fe-request-wizard .fe-product-row>button{grid-column:3}.fe-request-wizard .fe-product-row small{grid-column:1/-1}.fe-request-wizard .fe-stepper button{font-size:11px}}
.fe-completion-steps{list-style:none;padding:0;margin:14px 0 18px;display:grid;gap:9px}.fe-completion-steps li{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:7px;align-items:center;font-size:12px;color:var(--color-text-secondary)}.fe-completion-steps small{font-size:10px}.fe-completion-steps .is-done>span:first-child{color:var(--good,#15803d);font-weight:700}.fe-report-progress{padding:14px 16px;margin:12px 0 18px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2)}.fe-report-progress .fe-completion-steps{max-width:420px;margin-bottom:0}
.fe-refresh-note{margin:0 0 12px;padding:8px 12px;color:var(--soft);background:var(--surface-2);border-radius:8px;font-size:12px;line-height:1.5}
/* Address lookup stays in the location step; map assets load only when needed. */
.fe-location-picker{border:1px solid var(--line);border-radius:10px;padding:14px;min-width:0}.fe-location-picker>.fe-form>label:first-child{grid-column:1/-1}.fe-location-results:empty{display:none}.fe-location-results .fe-location-result{display:block;width:100%;height:auto;text-align:left;white-space:normal;margin-top:8px;padding:10px 12px}.fe-location-picker .fe-map{height:300px}.fe-location-picker .fe-map[hidden]{display:none}.fe-location-picker small{display:block;margin-top:8px;color:var(--soft)}
/* The overview prioritizes work; secondary totals and maps stay collapsed. */
.fe-workflow-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.fe-workflow-kpi{display:flex;flex-direction:column;gap:7px;text-align:left;color:var(--color-text);cursor:pointer;min-height:142px;margin:0!important;padding:20px!important;border-top:3px solid var(--color-border)!important}.fe-workflow-kpi:first-child{border-top-color:#eab308!important}.fe-workflow-kpi:nth-child(2){border-top-color:#497bf7!important}.fe-workflow-kpi:nth-child(3){border-top-color:#da9034!important}.fe-workflow-kpi:nth-child(4){border-top-color:#299569!important}.fe-workflow-kpi strong{font-size:32px;line-height:1.25}.fe-workflow-kpi small{font-size:12px;color:var(--color-text-secondary);font-weight:400}.fe-workflow-kpi:hover{background:var(--color-surface-subtle)}.fe-workflow-columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:18px}.fe-workflow-list{padding:20px!important;min-width:0}.fe-workflow-list h2{font-size:17px;margin:0}.fe-workflow-list .fe-toolbar{justify-content:space-between;gap:8px;margin-bottom:10px}.fe-workflow-count{font-size:12px;font-weight:500;color:var(--color-text-secondary);padding:3px 7px;background:var(--color-surface-subtle);border-radius:6px}.fe-workflow-row{display:flex;align-items:center;gap:12px;width:100%;background:none;border:0;border-top:1px solid var(--color-border);color:var(--color-text);text-align:left;padding:16px 0;cursor:pointer}.fe-workflow-row:hover .fe-workflow-info strong{text-decoration:underline}.fe-workflow-type{color:var(--color-text-secondary);display:flex}.fe-workflow-info{flex:1;min-width:0}.fe-workflow-info strong,.fe-workflow-info small{display:block;overflow-wrap:anywhere}.fe-workflow-info strong{font-size:14px}.fe-workflow-info small{font-size:12px;color:var(--color-text-secondary);margin-top:5px}.fe-workflow-next{max-width:112px;font-size:12px;font-weight:650;color:var(--color-text-secondary)}.fe-workflow-guide{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 20px!important}.fe-workflow-guide strong{font-size:13px}.fe-workflow-guide span{font-size:12px;color:var(--color-text-secondary)}.fe-dashboard-details>summary{cursor:pointer;font-size:14px;font-weight:600}.fe-dashboard-details[open]>summary{margin-bottom:20px}.fe-dashboard-details .fe-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important}.fe-report-block{border:1px solid var(--color-border);border-radius:8px;padding:14px;margin:0;min-width:0}.fe-report-block legend{font-weight:650;padding:0 6px}.fe-report-products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.fe-report-products input{width:100%;min-width:0}.fe-report-expense{border-top:1px solid var(--color-border);padding-top:12px;margin-top:12px}.fe-report-block label{font-size:12px}
@media(max-width:1050px){.fe-workflow-columns{grid-template-columns:1fr}.fe-workflow-kpis{gap:10px}.fe-workflow-kpi{padding:15px!important}.fe-workflow-kpi small{font-size:11px}}@media(max-width:650px){.fe-workflow-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.fe-workflow-kpi{min-height:130px}.fe-dashboard-details .fe-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fe-workflow-type{display:none}.fe-report-products{grid-template-columns:repeat(2,minmax(0,1fr))}.fe-workflow-list{padding:14px!important}}
.fe-cost-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border:1px solid var(--color-border);border-radius:8px;overflow:hidden;margin:18px 0;background:var(--color-border)}.fe-cost-summary>div{padding:16px;background:var(--color-surface);min-width:0}.fe-cost-summary span,.fe-cost-summary small{display:block;color:var(--color-text-secondary);font-size:12px}.fe-cost-summary strong{display:block;font-size:21px;margin:12px 0;overflow-wrap:anywhere}.fe-cost-summary small{font-size:11px}.fe-report-block [hidden]{display:none!important}@media(max-width:900px){.fe-cost-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

.fe-map-window{display:flex;gap:4px;flex-wrap:wrap;margin:10px 0}.fe-map-window .button[aria-pressed=true]{background:var(--color-primary-subtle);border-color:var(--color-primary);color:var(--color-text)}
.fe-marker-approximate span{border-style:dashed;outline:2px solid #fff;opacity:.82}.fe-area-note{font-weight:600;color:#925b10!important}.fe-cluster-activity{display:block;width:100%;border:0;border-bottom:1px solid #e2e8f0;background:white;padding:10px 0;text-align:left;cursor:pointer;color:#172d42}.fe-cluster-activity:hover,.fe-cluster-activity:focus-visible{background:#f1f5f9}.fe-cluster-activity small{display:block;font:11px/1.5 system-ui;color:#64748b;margin-top:4px}.fe-cluster-list>div:last-child{display:flex;align-items:center;gap:6px;margin-top:8px}.fe-cluster-list .button{font:12px system-ui;min-height:32px;padding:5px 8px}

.cms-build-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 24px;background:var(--warning-soft,#fff7df);color:var(--text,#182332);font-size:13px;border-bottom:1px solid #ecd99b}
.fe-location-quality{font-size:12px!important;color:var(--muted,#64748b)}
.fe-location-quality[data-quality="area"],.fe-location-quality[data-quality="pending"]{color:#956117}

/* Field workspace review 15.8.21: compact agenda and dedicated operations views. */
.fe-budget-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.fe-budget-kpis .fe-panel{margin:0;display:flex;flex-direction:column;gap:8px}.fe-budget-kpis strong{font-size:22px;overflow-wrap:anywhere}.fe-budget-kpis small,.fe-budget-kpis span{color:var(--color-text-secondary)}.fe-variance[data-variance=over]{color:var(--color-danger,#b42318)}.fe-variance[data-variance=within]{color:#17643c}.fe-variance[data-variance=unknown],.fe-variance[data-variance=excluded]{color:var(--color-text-secondary)}.fe-agenda-day{border-top:1px solid var(--color-border);padding:18px 0}.fe-agenda-day h2,.fe-calendar-partnerships h2{font-size:14px;margin-bottom:10px}.fe-calendar-partnerships{background:var(--color-surface-subtle);border:1px solid var(--color-border);border-radius:8px;padding:14px;margin:16px 0}.fe-agenda-day .fe-calendar-event{padding:12px;font-size:14px}.notification-group-history{grid-column:1/-1;margin:0 16px 12px 48px}.notification-group-history summary{cursor:pointer;font-size:12px;color:var(--color-text-secondary)}.notification-group-alert{display:flex;flex-direction:column;gap:5px;width:100%;text-align:left;padding:10px;border:0;border-top:1px solid var(--color-border);background:transparent;color:var(--color-text);cursor:pointer}.notification-group-alert small{font-size:12px;color:var(--color-text-secondary)}
@media(max-width:1000px){.fe-budget-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.fe-budget-kpis strong{font-size:18px}.fe-budget-kpis .fe-panel{padding:12px}.fe-agenda-day .fe-calendar-event{font-size:13px}.notification-group-history{margin-left:16px}}
/* Section workspaces: scoped, responsive and compatible with existing themes. */
.fe-activity-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}
.fe-activity-card{border:1px solid var(--color-border);border-radius:14px;padding:18px;background:var(--color-surface);min-width:0;display:flex;flex-direction:column;gap:10px;border-top:3px solid #e8c044}
.fe-activity-card[data-type="Shooting"]{border-top-color:#3974cd}.fe-activity-card[data-type="Sponsorship"]{border-top-color:#26946a}.fe-activity-card[data-type="Endorsement"]{border-top-color:#9275cf}.fe-activity-card[data-type="Our Event"]{border-top-color:#ce7272}
.fe-card-top{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap}.fe-activity-card h2{font-size:17px;line-height:1.45;margin:0}.fe-activity-card h2 button{font-size:inherit;text-align:left;white-space:normal;overflow-wrap:anywhere}.fe-activity-card p{margin:0;font-size:12px;line-height:1.55}.fe-activity-card small{color:var(--color-text-secondary);font-size:11px;overflow-wrap:anywhere}.fe-activity-card>.button{margin-top:auto;align-self:start}.fe-card-objective{color:var(--color-text-secondary)}.fe-card-feedback{background:var(--color-surface-subtle);padding:10px;border-left:3px solid #d68d45;border-radius:4px}.fe-card-date{font-weight:600}.fe-card-next{font-weight:600;color:var(--color-text)}.fe-card-alert{color:#ab4128!important;font-size:12px!important;font-weight:600}
.fe-card-metrics{display:flex;gap:16px;flex-wrap:wrap;margin:6px 0}.fe-card-metrics span{display:flex;flex-direction:column;gap:4px;font-size:11px;color:var(--color-text-secondary)}.fe-card-metrics strong{font-size:18px;color:var(--color-text)}
.fe-task-meter{display:grid;grid-template-columns:1fr auto;gap:6px;font-size:11px;margin:5px 0}.fe-task-meter progress{grid-column:1/-1;width:100%;height:6px;accent-color:#34836c}.fe-task-meter>span{color:var(--color-text-secondary)}
.fe-production-board{display:grid;grid-template-columns:repeat(5,minmax(220px,1fr));gap:12px;overflow-x:auto;padding:0 0 14px;max-width:100%;align-items:start}.fe-production-lane{background:var(--color-surface-subtle);border-radius:12px;padding:10px;min-width:0}.fe-production-lane>h2{font-size:12px;margin:4px 0 14px;display:flex;justify-content:space-between;gap:8px}.fe-production-lane>h2>span{font-weight:400}.fe-production-lane .fe-activity-card{padding:12px;margin-bottom:12px}.fe-production-lane .fe-activity-card h2{font-size:14px}
.fe-record-list:has(.fe-activity-cards),.fe-record-list:has(.fe-production-board){padding:0!important;border:0;background:transparent!important;box-shadow:none}.fe-record-list:has(.fe-activity-cards)>.fe-pagination,.fe-record-list:has(.fe-production-board)>.fe-pagination{margin-top:16px;padding:12px;background:var(--color-surface);border-radius:8px}
.fe-record-context{display:grid;grid-template-columns:1fr 1fr 2fr;gap:16px;padding:16px 18px;margin:0 0 16px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface)}.fe-record-context>div{display:flex;flex-direction:column;gap:6px;min-width:0}.fe-record-context small{font-size:10px;letter-spacing:.04em;color:var(--color-text-secondary)}.fe-record-context strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.fe-task-phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}.fe-task-phases>section{border:1px solid var(--color-border);border-radius:10px;padding:12px;background:var(--color-surface-subtle);min-width:0}.fe-task-phases h3{font-size:12px;line-height:1.5;margin:0 0 12px}.fe-plan-task{padding:12px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;margin-bottom:10px;display:flex;flex-direction:column;gap:9px}.fe-plan-task>div{display:flex;gap:8px;align-items:start}.fe-plan-task strong{font-size:12px;overflow-wrap:anywhere}.fe-plan-task.is-done strong{text-decoration:line-through;color:var(--color-text-secondary)}.fe-plan-task small{font-size:11px;color:var(--color-text-secondary)}.fe-plan-task>.button{align-self:start}.fe-task-check{font-size:17px;flex:none;padding:0;background:none;border:0;color:#347e61;cursor:pointer}.fe-task-check:disabled{cursor:default}.fe-production-stage{display:flex;gap:12px;align-items:center;padding:12px;border-radius:8px;background:var(--color-surface-subtle);font-size:13px}
.fe-content-targets{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px}.fe-content-target{border:1px solid var(--color-border);border-radius:10px;padding:16px;min-width:0}.fe-content-target h3{margin:0 0 8px;font-size:14px}.fe-content-target small{font-size:11px;color:var(--color-text-secondary)}.fe-content-target>.button{margin-top:10px}.fe-linked-post{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-top:1px solid var(--color-border)}.fe-linked-post>div{flex:1;min-width:180px;display:flex;flex-direction:column;gap:6px}.fe-linked-post strong{font-size:13px;overflow-wrap:anywhere}.fe-linked-post small{font-size:11px;color:var(--color-text-secondary)}
.fe-daily-work{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 8px}.fe-daily-work .fe-panel{border-radius:12px;border-top:3px solid #e2bd3f}.fe-daily-work .fe-panel:nth-child(2){border-top-color:#478eca}.fe-daily-work .fe-panel:nth-child(3){border-top-color:#cb7254}.fe-daily-work h2{font-size:14px}.fe-daily-item{display:flex;flex-direction:column;gap:6px;padding:12px 0;text-align:left;width:100%;background:none;border:0;border-top:1px solid var(--color-border);cursor:pointer;color:var(--color-text)}.fe-daily-item strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.fe-daily-item small{font-size:11px;color:var(--color-text-secondary);line-height:1.5}.fe-daily-item:hover strong{color:#9b7614}
.fe-conflict-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:12px;margin:16px 0}.fe-conflict-list article{border-left:3px solid #d78655;border-radius:6px;background:var(--color-surface-subtle);padding:12px;display:flex;flex-direction:column;gap:8px}.fe-conflict-list strong{font-size:12px}.fe-conflict-list small{font-size:11px;line-height:1.6;overflow-wrap:anywhere}.fe-conflict-list button{text-align:left}.fe-assignment-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.fe-calendar-availability{margin-top:20px}.fe-calendar-availability>summary{font-weight:600;cursor:pointer;padding:12px 0}
.fe-milestone-filters{display:flex;gap:16px;flex-wrap:wrap;margin:12px 0 18px;padding:10px 12px;border-radius:8px;background:var(--color-surface-subtle)}.fe-milestone-filters label{display:flex;align-items:center;gap:6px;font-size:12px}.fe-milestone-filters input{width:auto;accent-color:#cfa928}.fe-calendar-event[data-calendar-item="task"]{border-left:3px solid #d3a535}.fe-calendar-event[data-calendar-item="content"]{border-left:3px solid #8e6ac5}
.fe-map-split{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:16px;align-items:start}.fe-map-split .fe-map-browser,.fe-map-split .fe-record-list{min-width:0;margin:0}.fe-map-split .fe-map{height:480px}.fe-map-split .fe-record-list{max-height:740px;overflow:auto}.fe-map-tools{margin:12px 0}.fe-map-tools label{display:flex;flex-direction:column;gap:6px;font-size:12px}.fe-map-tools select{width:100%}.fe-map-tools [data-map-selection]{font-size:12px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.fe-map-records .is-selected{outline:2px solid #cfb245;outline-offset:-2px;background:var(--color-surface-subtle)}
@media(max-width:1000px){.fe-task-phases{grid-template-columns:1fr}.fe-record-context{grid-template-columns:1fr 1fr}.fe-record-context>div:last-child{grid-column:1/-1}.fe-daily-work{grid-template-columns:1fr}.fe-map-split{grid-template-columns:1fr}.fe-map-split .fe-record-list{max-height:none}.fe-map-split .fe-map{height:380px}}
@media(max-width:600px){.fe-production-board{grid-template-columns:1fr;overflow:visible}.fe-production-lane{padding:12px}.fe-record-context{gap:12px;padding:12px}.fe-card-top .fe-pill{font-size:10px}.fe-activity-cards{gap:12px}.fe-activity-card{padding:16px}.fe-production-stage{flex-wrap:wrap}.fe-map-split .fe-map{height:300px}.fe-milestone-filters{gap:10px}.fe-plan-task{padding:12px}.fe-linked-post>div{min-width:100%}}

/* Professional workspaces: priorities before the register, consistent compact controls. */
.fe-section-controls{margin:4px 0 20px}.fe-section-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.fe-section-metric{display:flex;flex-direction:column;align-items:start;gap:8px;padding:16px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);color:var(--color-text);text-align:left;cursor:pointer;min-width:0}.fe-section-metric>span{font-size:12px;font-weight:600}.fe-section-metric>strong{font-size:28px;line-height:1.1}.fe-section-metric>small{font-size:11px;line-height:1.5;color:var(--color-text-secondary)}.fe-section-metric:hover{border-color:#9baec3}.fe-section-metric[aria-pressed=true]{border-color:#446b9f;box-shadow:inset 0 0 0 1px #446b9f;background:var(--color-surface-subtle)}.fe-section-metric[data-focus=attention]>strong{color:#a34e27}.fe-section-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.fe-section-toolbar p{margin:0;text-align:right;font-size:11px}.fe-section-toolbar .button{flex-shrink:0}.fe [data-focus=all][aria-pressed=true],.fe [data-cost-review][aria-pressed=true]{background:var(--color-surface-subtle);border-color:#446b9f}
.fe-activity-card{border-top-width:1px;border-radius:12px;padding:18px;gap:12px}.fe-activity-card[data-type]{border-top-color:var(--color-border)}.fe-activity-card[data-priority=attention]{border-left:3px solid #ce875a}.fe-activity-card .fe-card-date{font-size:12px}.fe-card-next{border-top:1px solid var(--color-border);padding-top:12px;margin-top:auto}.fe-card-next>small:first-child{font-size:9px;letter-spacing:.07em}.fe-card-next p{font-size:12px;font-weight:550;margin:5px 0}.fe-card-next[data-tone=attention] p{color:#a34e27}.fe-activity-card>.button{margin-top:0}.fe-production-board{grid-template-columns:repeat(7,minmax(220px,1fr))}.fe-readiness{border:1px solid var(--color-border);border-radius:12px;padding:18px;display:grid;grid-template-columns:180px 1fr;gap:20px;margin-bottom:16px;background:var(--color-surface)}.fe-readiness>div:first-child{display:flex;flex-direction:column;gap:8px}.fe-readiness strong{font-size:17px}.fe-readiness small{font-size:11px;line-height:1.5;color:var(--color-text-secondary)}.fe-readiness-checks{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.fe-readiness-checks button{border:1px solid var(--color-border);border-radius:8px;padding:10px;background:var(--color-surface-subtle);color:var(--color-text);text-align:left;font:12px inherit;cursor:pointer}.fe-readiness-checks button>span{margin-right:6px;color:#aa6a37}.fe-readiness-checks button[data-ready=true]>span{color:#367253}.fe-readiness-checks button small{display:block;margin:5px 0 0 17px}.fe-task-actions{display:flex;gap:8px;align-items:center}.fe-task-actions .button{font-size:11px}.fe-task-actions [data-workspace^=remove]{background:none;border-color:transparent;color:var(--color-text-secondary)}.fe-task-actions [data-workspace^=remove]:hover{color:#ad3a27;border-color:#e5c6bf}.fe-starter-list{list-style:none;margin:18px 0;padding:0}.fe-starter-list li{display:flex;gap:12px;align-items:start;justify-content:space-between;border-top:1px solid var(--color-border);padding:12px 0}.fe-starter-list li>div{display:flex;flex-direction:column;gap:6px;min-width:0}.fe-starter-list strong{font-size:13px;overflow-wrap:anywhere}.fe-starter-list small,.fe-starter-list li>span{font-size:11px;color:var(--color-text-secondary)}.fe-starter-list li>span{flex-shrink:0}
.fe-budget-register table{table-layout:fixed;width:100%;min-width:0!important}.fe-budget-register th:nth-child(1){width:34%}.fe-budget-register th:nth-child(2){width:25%}.fe-budget-register th:nth-child(3){width:20%}.fe-budget-register th:nth-child(4){width:21%}.fe-budget-register td{overflow-wrap:anywhere;vertical-align:top;padding:18px 10px}.fe-budget-register td>strong{display:block;font-size:13px}.fe-budget-register td:nth-child(2)>strong:nth-of-type(2){margin-top:12px}.fe-budget-register .fe-link{font-weight:600;line-height:1.5;text-align:left;white-space:normal}.fe-budget-register td>.fe-pill{margin-top:10px}.fe-budget-register details{margin-top:10px;font-size:11px}.fe-budget-register details summary{cursor:pointer;color:var(--color-text-secondary)}.fe-budget-register details small{line-height:1.7}.fe-receipt-state{font-size:11px;line-height:1.55;display:block;margin-bottom:12px;color:var(--color-text-secondary)}.fe-receipt-state[data-missing=true]{color:#a34e27;font-weight:600}.fe-budget-register .button{font-size:11px;padding:7px 9px;white-space:normal;text-align:left}.fe-cost-review-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.fe-budget-kpis .fe-link{font-size:11px;text-align:left;margin-top:auto}.fe-budget-kpis .fe-panel{border-radius:12px}
@media(max-width:1100px){.fe-filterbar>label:first-child{min-width:170px}.fe-readiness{grid-template-columns:1fr;gap:14px}.fe-budget-register th:nth-child(1){width:30%}.fe-budget-register th:nth-child(4){width:25%}}
@media(max-width:700px){.fe-section-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.fe-section-metrics{gap:8px}.fe-section-metric{padding:12px}.fe-section-metric>strong{font-size:24px}.fe-section-metric>small{font-size:10px}.fe-section-toolbar{align-items:start;flex-direction:column}.fe-section-toolbar p{text-align:left}.fe-readiness{padding:14px}.fe-readiness-checks{grid-template-columns:1fr 1fr}.fe-production-board{grid-template-columns:1fr}.fe-budget-register td{padding:0}.fe-budget-register td:nth-child(2){display:grid;grid-template-columns:1fr 1fr;gap:4px 12px}.fe-budget-register td:nth-child(2)>small{font-size:10px}.fe-budget-register td:nth-child(2)>strong{font-size:13px}.fe-budget-register td:nth-child(2)>strong:nth-of-type(1){grid-column:1;grid-row:1}.fe-budget-register td:nth-child(2)>strong:nth-of-type(2){grid-column:2;grid-row:1;margin-top:0}.fe-budget-register td:nth-child(2)>small:nth-of-type(1){grid-column:1;grid-row:2}.fe-budget-register td:nth-child(2)>small:nth-of-type(2){grid-column:2;grid-row:2}.fe-budget-register td:nth-child(2):before{display:none!important}.fe-budget-register td:nth-child(2)>details{grid-column:1/-1}.fe-budget-register .button{width:100%;text-align:center}.fe-budget-register td>small{margin-bottom:6px}}
.fe-daily-work[data-workqueue-host]{display:block;margin:0 0 16px;border-top-width:1px}.fe-daily-work[data-workqueue-host] h2{margin:0}.fe-daily-work[data-workqueue-host] .fe-toolbar{margin-bottom:12px}.fe-daily-work[data-workqueue-host] .fe-daily-item{flex-direction:row;justify-content:space-between;align-items:center;gap:18px;padding:14px 0}.fe-daily-work[data-workqueue-host] .fe-daily-item>div{display:flex;flex-direction:column;gap:6px;min-width:0}.fe-daily-work[data-workqueue-host] .fe-daily-item>span{font-size:11px;flex-shrink:0;color:var(--color-text-secondary)}.fe-workqueue-more>summary{cursor:pointer;font-size:12px;padding-top:12px;color:var(--color-text-secondary)}.fe [data-workqueue][aria-pressed=true]{border-color:#446b9f;background:var(--color-surface-subtle)}
@media(min-width:901px){.fe-task-phases{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.fe-daily-work[data-workqueue-host] .fe-daily-item{align-items:start;flex-direction:column;gap:8px}.fe-daily-work[data-workqueue-host] .fe-toolbar{align-items:start}.fe-daily-work[data-workqueue-host] .fe-actions{gap:6px}.fe-daily-work[data-workqueue-host] .fe-actions .button{font-size:10px}.fe-readiness-checks{grid-template-columns:1fr 1fr}}
.fe-calendar-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:14px}.fe-calendar-period{display:flex;align-items:center;gap:8px}.fe-calendar-period h2{font-size:20px;margin:0 6px;min-width:180px;text-align:center}.fe-calendar-heading [aria-pressed=true]{background:var(--color-primary-subtle);border-color:var(--color-primary)}.fe-calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:start;margin-top:18px}.fe-calendar-layout>*{min-width:0}.fe-calendar-board{min-width:0;grid-template-columns:repeat(7,minmax(0,1fr));border-radius:8px;overflow:hidden}.fe-calendar-board>.fe-calendar-weekday{font-size:11px;text-align:center;padding:10px 2px;background:var(--color-surface-subtle);color:var(--color-text-secondary)}.fe-calendar-board .fe-calendar-day{min-height:104px;padding:5px;min-width:0;background:var(--color-surface)}.fe-calendar-board .fe-calendar-day.empty{background:var(--color-surface-subtle)}.fe-calendar-board .fe-calendar-day.is-selected{background:var(--color-primary-subtle);box-shadow:inset 0 0 0 2px var(--color-primary)}.fe-calendar-board .fe-calendar-day.today .fe-calendar-day-number>span{background:var(--color-primary);color:var(--color-on-primary,#fff);border-radius:50%}.fe-calendar-day-number{display:flex;justify-content:space-between;align-items:center;width:100%;padding:2px;border:0;background:transparent;color:var(--color-text);cursor:pointer}.fe-calendar-day-number>span{display:grid;place-items:center;width:26px;height:26px;font-size:12px;font-weight:600}.fe-calendar-day-number small{font-size:10px;color:var(--color-text-secondary);padding:0 5px}.fe-calendar-day-number small:empty{display:none}.fe-calendar-mini{font-size:11px!important;padding:5px 6px!important;display:flex!important;flex-direction:column;gap:3px;margin:4px 0!important;border-radius:4px!important}.fe-calendar-mini strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:11px!important;line-height:1.3}.fe-calendar-time{font-size:10px;color:var(--color-text-secondary);font-variant-numeric:tabular-nums}.fe-calendar-more{border:0;background:transparent;color:var(--color-text-secondary);cursor:pointer;font-size:10px!important;padding:3px 6px}.fe-calendar-selected{padding:16px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-subtle)}.fe-calendar-selected>small{font-size:10px;letter-spacing:1px;color:var(--color-text-secondary)}.fe-calendar-selected h2{margin:8px 0 5px;line-height:1.5;font-size:16px}.fe-calendar-day-list{margin-top:16px}.fe-calendar-day-list .fe-calendar-event,.fe-calendar-agenda-items .fe-calendar-event{padding:12px;font-size:13px;display:flex;flex-direction:column;gap:5px;margin:0 0 8px}.fe-calendar-day-list .fe-calendar-event strong{font-size:13px;line-height:1.5}.fe-calendar-selected .fe-empty{padding:12px 0;text-align:left}.fe-calendar-agenda-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:10px}.fe-agenda-day h2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.fe-agenda-day h2 small{font-size:11px;font-weight:400;color:var(--color-text-secondary)}.fe-calendar-partnerships>summary{font-size:12px;cursor:pointer}.fe-calendar-partnerships .fe-calendar-agenda-items{margin-top:14px}.fe-milestone-filters label{flex-direction:row;min-height:28px}.fe-milestone-filters input{min-height:16px;min-width:16px;width:16px}.fe-milestone-filters span{color:var(--color-text-secondary);font-size:11px}.fe-calendar-mobile-dots{display:none}.fe-calendar-day-list .fe-calendar-event[hidden]{display:none}.fe-calendar-board.is-week .fe-calendar-day{min-height:150px}
@media(max-width:1200px){.fe-calendar-layout{grid-template-columns:minmax(0,1fr) 240px;gap:12px}.fe-calendar-mini .fe-calendar-time{font-size:9px}}@media(max-width:1100px){.fe-calendar-layout{grid-template-columns:1fr}.fe-calendar-day-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px}.fe-calendar-selected{padding:14px}.fe-calendar-board .fe-calendar-day{min-height:94px}}@media(max-width:600px){.fe-calendar-heading{gap:12px}.fe-calendar-period{width:100%;gap:4px}.fe-calendar-period h2{font-size:17px;min-width:0;flex:1;margin:0}.fe-calendar-heading .button{padding:7px 9px}.fe-calendar-heading>.fe-actions{width:100%}.fe-calendar-heading>.fe-actions>.button{flex:1}.fe-calendar-board .fe-calendar-day,.fe-calendar-board.is-week .fe-calendar-day{min-height:55px;padding:3px 1px}.fe-calendar-cell-items{display:none}.fe-calendar-day-number{justify-content:center;position:relative}.fe-calendar-day-number small{display:none}.fe-calendar-mobile-dots{display:flex;justify-content:center;gap:3px;min-height:5px;margin:5px 0}.fe-calendar-mobile-dots i{width:4px;height:4px;border-radius:50%;background:#2563eb}.fe-calendar-mobile-dots .sponsorship{background:#15803d}.fe-calendar-mobile-dots .endorsement{background:#8e6ac5}.fe-calendar-mobile-dots .event{background:#dc2626}.fe-milestone-filters{gap:6px 12px;padding:8px;margin-bottom:10px}.fe-milestone-filters label{font-size:11px}.fe-calendar-board>.fe-calendar-weekday{font-size:10px}.fe-calendar-day-list{grid-template-columns:1fr}.fe-calendar-agenda-items{grid-template-columns:1fr}}

.fe-calendar-board .fe-calendar-day.today:not(.is-selected){box-shadow:none}
.fe-calendar-board .fe-calendar-day.today .fe-calendar-day-number>span{color:#172337}

/* Compact contextual references stay secondary to the current activity action. */
.fe-next-deadline{display:block;margin-top:8px;font-size:12px;font-weight:600}
.fe-venue-reference{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}
.fe-known-venues,.fe-partner-picker{border:1px solid var(--border,#e4e7ec);border-radius:10px;padding:12px;background:var(--surface,#fff)}
.fe-known-venues summary,.fe-partner-picker summary{cursor:pointer;font-weight:600}
.fe-known-venues .fe-actions>label{flex:1;min-width:180px}
.fe-known-venue-result{display:block;text-align:left;width:100%;padding:12px;margin:8px 0;border:1px solid var(--border,#e4e7ec);border-radius:8px;background:var(--surface,#fff);color:inherit;cursor:pointer}
.fe-known-venue-result strong,.fe-known-venue-result small{display:block;overflow-wrap:anywhere}
.fe-known-venue-result small{color:var(--muted,#667085);margin-top:4px}
.fe-template-list{display:grid;gap:10px}
.fe-template-list .fe-type-choice{width:100%;text-align:left}
@media(max-width:600px){.fe-known-venues .fe-actions{align-items:stretch;flex-direction:column}.fe-venue-reference .button{min-height:44px}.fe-head>.fe-actions{gap:8px}.fe-next-deadline{line-height:1.5}}
.fe-map-records .fe-overview-item>span:first-child{flex:1;min-width:0}.fe-map-records .fe-overview-item>span:last-child{flex:none}.fe-map-records .fe-overview-item .fe-type{max-width:100%;width:max-content;box-sizing:border-box}
/* Field workspaces show a compact register first; details retain the full dossier. */
.fe-section-controls{margin:0 0 12px;border-bottom:1px solid var(--color-border)}
.fe-section-metrics{display:flex;gap:4px;overflow-x:auto;align-items:center;padding:0 0 8px}
.fe-section-metric{display:flex;flex-direction:row;align-items:center;gap:8px;padding:8px 10px;border:1px solid transparent;border-radius:6px;background:transparent;min-height:36px;white-space:nowrap}
.fe-section-metric>span{font-size:12px;font-weight:550}.fe-section-metric>strong{font-size:12px;line-height:1;background:var(--color-surface-subtle);padding:4px 6px;border-radius:4px;font-weight:650}
.fe-section-metric[aria-pressed=true]{box-shadow:none;border-color:var(--color-border);background:var(--color-surface)}
.fe-record-list:has(.fe-operational-register){padding:0!important;overflow:hidden;box-shadow:none}
.fe-register-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid var(--color-border)}
.fe-register-toolbar>span{color:var(--color-text-secondary);font-size:12px}
.fe-view-switch{display:flex;align-items:center;gap:3px;background:var(--color-surface-subtle);padding:3px;border-radius:6px}
.fe-view-switch>.button{background:transparent;border-color:transparent;font-size:12px;padding:5px 9px;min-height:30px}
.fe-view-switch>.button[aria-pressed=true]{background:var(--color-surface);border-color:var(--color-border);color:var(--color-text)}
.fe-operational-register{max-width:100%;overflow-x:auto}
.fe-operational-register table{width:100%;min-width:860px;table-layout:fixed;border-collapse:collapse}
.fe-operational-register th{font-size:11px;line-height:1.4;font-weight:550;color:var(--color-text-secondary);padding:10px 12px;background:var(--color-surface-subtle);text-align:left;border:0;border-bottom:1px solid var(--color-border)}
.fe-operational-register th:nth-child(1){width:24%}.fe-operational-register th:nth-child(2){width:13%}.fe-operational-register th:nth-child(3){width:15%}.fe-operational-register th:nth-child(4){width:12%}.fe-operational-register th:nth-child(5){width:12%}.fe-operational-register th:nth-child(6){width:11%}.fe-operational-register th:nth-child(7){width:13%}
.fe-operational-register td{padding:12px;vertical-align:middle;font-size:12px;line-height:1.45;border:0;border-bottom:1px solid var(--color-border);overflow-wrap:anywhere}
.fe-operational-register td>span:not(.fe-pill),.fe-operational-register td>small{display:block}
.fe-operational-register td>small{margin-top:3px;color:var(--color-text-secondary);font-size:11px;line-height:1.4}
.fe-operational-register tbody tr:last-child td{border-bottom:0}.fe-operational-register tbody tr:hover{background:var(--color-surface-subtle)}
.fe-operational-register tr[data-priority=attention] td:first-child{box-shadow:inset 3px 0 0 var(--color-warning,#b77935)}
.fe-register-title{display:block;width:100%;text-align:left;font-size:13px;line-height:1.5;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fe-operational-register .fe-register-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}.fe-operational-register .fe-activity-code{font-size:inherit}
.fe-register-brief{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fe-operational-register td:nth-child(3)>span,.fe-operational-register td:nth-child(3)>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fe-operational-register progress{display:block;width:72px;max-width:100%;height:4px;margin-top:6px;accent-color:var(--color-info,#446b9f)}
.fe-operational-register .fe-pill{display:inline-block;max-width:100%;box-sizing:border-box;font-size:10px;line-height:1.35;padding:4px 6px;white-space:normal}
.fe-register-action{border:0;background:transparent;color:var(--color-text);text-align:left;padding:6px 0;line-height:1.5;cursor:pointer;font-size:12px;font-weight:550}
.fe-register-action:hover{color:var(--color-info,#446b9f);text-decoration:underline}.fe-register-muted{color:var(--color-text-secondary)}
.fe-record-list:has(.fe-operational-register)>.fe-pagination{padding:10px 14px;margin:0;border-top:1px solid var(--color-border)}
.fe-analytics-toolbar{display:flex;align-items:start;justify-content:space-between;gap:12px;margin:0 0 10px}
.fe-metric-note{font-size:12px;color:var(--color-text-secondary);max-width:75%}.fe-metric-note summary{cursor:pointer;padding:7px 0}.fe-metric-note p{max-width:780px;margin:4px 0 8px}
.fe .fe-kpis.fe-analytics-kpis{display:flex!important;gap:0;margin:0 0 16px;border:1px solid var(--color-border);border-radius:8px;overflow:hidden;background:var(--color-surface)}
.fe .fe-analytics-kpis>[data-kpi]{flex:1;min-width:0;min-height:0!important;padding:12px 14px!important;border:0;border-right:1px solid var(--color-border);margin:0!important;background:transparent;cursor:pointer}
.fe .fe-analytics-kpis>[data-kpi]:last-child{border-right:0}.fe .fe-analytics-kpis>[data-kpi]:hover{background:var(--color-surface-subtle)}
.fe .fe-analytics-kpis>[data-kpi]>span{display:block;min-height:0;padding:0;font-size:11px;line-height:1.4;color:var(--color-text-secondary)}
.fe .fe-analytics-kpis>[data-kpi]>strong{display:block;font-size:22px!important;line-height:1.3;margin:5px 0 2px;letter-spacing:-.3px;overflow-wrap:anywhere}
.fe .fe-analytics-kpis>[data-kpi]>small{display:block;font-size:10px;color:var(--color-text-secondary);line-height:1.45}
.fe .fe-analytics-kpis>[data-kpi="Actual cost"]>strong,.fe .fe-analytics-kpis>[data-kpi="Approved budget"]>strong,.fe .fe-analytics-kpis>[data-kpi="Proposed budget"]>strong{font-size:18px!important}
.fe-report-tabs{gap:5px;margin:0 0 14px;border-bottom:1px solid var(--color-border);padding-bottom:10px;overflow-x:auto;flex-wrap:nowrap}
.fe-report-tabs .button{white-space:nowrap;flex-shrink:0;font-size:12px;min-height:34px}
.fe-report-trend{border:1px solid var(--color-border);border-radius:8px;padding:16px;margin:0 0 16px;background:var(--color-surface)}
.fe-report-trend h2,.fe-report-breakdown h2{font-size:14px;font-weight:600;margin:0 0 12px}.fe-report-trend .fe-toolbar{justify-content:space-between;margin-bottom:0}.fe-report-trend svg{display:block;width:100%;max-height:180px;overflow:visible}
.fe-trend-grid{stroke:var(--color-border);stroke-width:1}.fe-trend-line{fill:none;stroke:var(--color-info,#446b9f);stroke-width:2.5;stroke-linejoin:round}.fe-trend-point{fill:var(--color-info,#446b9f)}.fe-trend-tick{font-size:10px;fill:var(--color-text-secondary)}.fe-trend-value{font-size:11px;fill:var(--color-text)}
.fe-report-table-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:16px}
.fe-report-breakdown{min-width:0;margin:0;background:transparent}.fe-report-breakdown .fe-table-wrap{max-height:280px;overflow:auto;border:1px solid var(--color-border);border-radius:7px}
.fe-report-breakdown table{width:100%;min-width:0;font-size:12px;line-height:1.5;border-collapse:collapse}.fe-report-breakdown th{position:sticky;top:0;background:var(--color-surface-subtle);padding:8px 10px;font-size:11px;font-weight:550;color:var(--color-text-secondary);text-align:left}
.fe-report-breakdown td{padding:8px 10px;border-bottom:1px solid var(--color-border);vertical-align:top}.fe-report-breakdown td>small{display:block;font-size:10px;color:var(--color-text-secondary);margin-top:3px}.fe-report-breakdown tr:last-child td{border-bottom:0}
.fe-report-breakdown th:not(:first-child),.fe-report-breakdown td:not(:first-child){text-align:right;white-space:nowrap}
.fe-report-more{border-top:1px solid var(--color-border);padding-top:10px;margin:12px 0;font-size:12px}.fe-report-more>summary{cursor:pointer;font-weight:550;color:var(--color-text-secondary)}.fe-report-more[open]>summary{margin-bottom:14px}.fe-print-summaries>.fe-actions{align-items:end}.fe-print-summaries label{min-width:0;flex:1;max-width:660px}.fe-print-summaries select{width:100%;min-width:0}
.fe-workflow-kpis{display:flex;gap:0;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);margin:0 0 14px;overflow:hidden}
.fe-workflow-kpi{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;border:0!important;border-right:1px solid var(--color-border)!important;min-height:58px!important;padding:12px 16px!important;border-radius:0;background:transparent}
.fe-workflow-kpi:last-child{border-right:0!important}.fe-workflow-kpi>span{font-size:12px;line-height:1.4;color:var(--color-text-secondary)}.fe-workflow-kpi>strong{font-size:23px;line-height:1.2}
.fe-overview-compact-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr);gap:16px;align-items:start;margin:0 0 14px}.fe-overview-main{min-width:0}
.fe-overview-main .fe-panel{padding:14px!important;margin:0 0 12px;border-radius:8px;box-shadow:none}.fe-overview-main .fe-toolbar{margin-bottom:6px;gap:8px;justify-content:space-between}.fe-overview-main h2{font-size:14px;font-weight:600}
.fe-daily-work[data-workqueue-host]{margin:0 0 12px;border-top:1px solid var(--color-border)}
.fe-daily-work[data-workqueue-host] .fe-daily-item{padding:10px 0;gap:12px;flex-direction:row;align-items:center}.fe-daily-work[data-workqueue-host] .fe-daily-item>div{gap:3px}.fe-daily-work[data-workqueue-host] .fe-daily-item strong{font-size:13px;line-height:1.45}.fe-daily-work[data-workqueue-host] .fe-daily-item small{font-size:11px;line-height:1.4}.fe-daily-work[data-workqueue-host] .fe-daily-item>span{max-width:150px;white-space:normal;font-size:12px;flex-shrink:1;line-height:1.4}
.fe-overview-main .fe-workflow-row{padding:10px 0;gap:10px}.fe-overview-main .fe-workflow-info strong{font-size:13px}.fe-overview-main .fe-workflow-info small{font-size:11px;line-height:1.4;margin-top:3px}.fe-overview-main .fe-workflow-next{max-width:150px;font-size:12px}
.fe-overview-followup{font-size:12px;border-top:1px solid var(--color-border);padding:12px 0}.fe-overview-followup>summary{cursor:pointer;font-weight:550;color:var(--color-text-secondary)}.fe-overview-followup[open]>summary{margin-bottom:12px}
.fe-overview-compact-grid .fe-overview-map-panel{padding:14px!important;box-shadow:none;border-radius:8px;min-width:0}.fe-overview-map-panel .fe-toolbar{justify-content:space-between;gap:8px;margin-bottom:8px}.fe-overview-map-panel h2{font-size:14px;margin:0}.fe-overview-map-panel .fe-map{height:260px!important;min-height:0}.fe-overview-map-panel .fe-overview-map-legend{font-size:10px;display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.fe-overview-map-legend>span{display:inline-flex;align-items:center;gap:4px}.fe-overview-map-panel .fe-help{font-size:11px;margin:8px 0}.fe-overview-map-panel .fe-map-window{gap:4px;margin:0}.fe-overview-map-panel .fe-map-window .button{font-size:11px;padding:5px 7px;min-height:30px}
.fe [data-workqueue-host] .fe-actions .button{font-size:11px;padding:5px 7px;min-height:30px}
@media(max-width:1100px){.fe-overview-compact-grid{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr)}.fe-workflow-kpi{padding:10px 12px!important}.fe-register-toolbar{padding:8px 10px}}
@media(max-width:850px){.fe-overview-compact-grid{grid-template-columns:1fr}.fe-overview-map-panel .fe-map{height:220px!important}.fe .fe-kpis.fe-analytics-kpis{flex-wrap:wrap}.fe .fe-analytics-kpis>[data-kpi]{flex:1 1 25%;border-bottom:1px solid var(--color-border);padding:10px 12px!important}.fe .fe-analytics-kpis>[data-kpi]>strong{font-size:20px!important}}
@media(max-width:700px){
 .fe-section-controls{margin-bottom:10px}.fe-section-metrics{gap:0}.fe-section-metric{padding:8px;gap:5px}.fe-section-metric>span{font-size:11px}
 .fe-record-list .fe-operational-register{overflow:visible}.fe-record-list .fe-operational-register table{display:block;min-width:0;table-layout:auto}.fe-operational-register caption{display:block}.fe-record-list .fe-operational-register thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap;display:block}
 .fe-record-list .fe-operational-register tbody{display:block}.fe-record-list .fe-operational-register tr{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:8px 14px;border:0;border-bottom:1px solid var(--color-border);border-radius:0;padding:12px 14px;background:var(--color-surface)}
 .fe-record-list .fe-operational-register td{display:block;padding:0;border:0;min-width:0;font-size:12px;box-shadow:none}.fe-record-list .fe-operational-register tr[data-priority=attention]{box-shadow:inset 3px 0 0 var(--color-warning,#b77935)}
 .fe-record-list .fe-operational-register td:before{display:none!important}.fe-record-list .fe-operational-register td:nth-child(1){grid-column:1;grid-row:1}.fe-record-list .fe-operational-register td:nth-child(6){grid-column:2;grid-row:1;text-align:right}.fe-record-list .fe-operational-register td:nth-child(2){grid-column:1;grid-row:2}.fe-record-list .fe-operational-register td:nth-child(3){grid-column:2;grid-row:2}.fe-record-list .fe-operational-register td:nth-child(4){grid-column:1;grid-row:3}.fe-record-list .fe-operational-register td:nth-child(5){grid-column:2;grid-row:3}.fe-record-list .fe-operational-register td:nth-child(7){grid-column:1/-1;grid-row:4;border-top:1px solid var(--color-border);padding-top:7px}
 .fe-register-title{font-size:13px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.fe-register-brief{display:none!important}.fe-operational-register td>small{font-size:11px}.fe-operational-register td:nth-child(3)>span{white-space:normal}.fe-register-action{min-height:34px;padding:4px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;font-size:12px}.fe-record-list .fe-operational-register td:nth-child(4):before,.fe-record-list .fe-operational-register td:nth-child(5):before{display:block!important;content:attr(data-label);font-size:10px;font-weight:500;color:var(--color-text-secondary);margin-bottom:2px}
 .fe .fe-kpis.fe-analytics-kpis{margin-bottom:12px}.fe .fe-analytics-kpis>[data-kpi]{flex-basis:33%;padding:10px!important}.fe .fe-analytics-kpis>[data-kpi]>span{font-size:10px}.fe .fe-analytics-kpis>[data-kpi]>strong{font-size:20px!important}
 .fe-report-table-grid{grid-template-columns:1fr;gap:16px}.fe-report-trend{padding:12px}.fe-report-trend svg{min-height:135px}.fe-report-trend .fe-toolbar{align-items:start;flex-direction:column;gap:0}.fe-report-breakdown table{display:table!important}.fe-report-breakdown thead{display:table-header-group!important}.fe-report-breakdown tbody{display:table-row-group!important}.fe-report-breakdown tr{display:table-row!important}.fe-report-breakdown td,.fe-report-breakdown th{display:table-cell!important;font-size:11px}.fe-metric-note{max-width:60%}
 .fe-workflow-kpis{flex-wrap:wrap}.fe-workflow-kpi{flex-basis:50%;box-sizing:border-box;min-height:54px!important;padding:10px 12px!important}.fe-workflow-kpi:nth-child(2){border-right:0!important}.fe-workflow-kpi:nth-child(-n+2){border-bottom:1px solid var(--color-border)!important}.fe-workflow-kpi>span{font-size:11px}.fe-workflow-kpi>strong{font-size:21px}
 .fe-daily-work[data-workqueue-host] .fe-toolbar{align-items:start;flex-direction:column}.fe-overview-main .fe-workflow-next,.fe-daily-work[data-workqueue-host] .fe-daily-item>span{max-width:120px;font-size:11px}.fe-overview-main .fe-workflow-type{display:none}.fe .fe-dashboard-details{padding:12px!important}.fe-print-summaries>.fe-actions{align-items:stretch;flex-direction:column}
}

.fe-collection-coverage{margin:0 0 10px;padding:8px 12px;border:1px solid var(--color-border);border-radius:7px;background:var(--color-surface-subtle);color:var(--color-text-secondary);font-size:12px;line-height:1.5;overflow-wrap:anywhere}.fe-collection-coverage.is-partial{border-left:3px solid var(--color-warning,#b77935);color:var(--color-text)}.fe-pagination[hidden]{display:none!important}


.fe-request-flyer{border:1px solid var(--color-border,#dce2e8);border-radius:8px;padding:10px 12px;min-width:0}.fe-flyer-sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.fe-flyer-layout{display:flex;gap:12px;align-items:center}.fe-flyer-controls{flex:1;min-width:0}.fe-flyer-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.fe-flyer-top>strong{font-size:13px}.fe-request-flyer .fe-actions{margin:0;gap:6px;flex-wrap:wrap}.fe-request-flyer .fe-actions .button{padding:6px 10px;min-height:32px;font-size:12px}.fe-request-flyer .fe-help{margin:6px 0 0;font-size:12px}.fe-flyer-preview{background:var(--color-surface-alt,var(--color-surface,#f3f5f7));border-radius:6px;max-width:440px;overflow:hidden}.fe-flyer-preview img{display:block;width:auto;max-width:100%;height:auto;max-height:220px;object-fit:contain;margin:auto}.fe-request-flyer .fe-flyer-preview{flex:0 0 72px;width:72px;height:96px}.fe-request-flyer .fe-flyer-preview img{width:72px;height:96px;object-fit:contain}.fe-request-flyer.is-expanded .fe-flyer-layout{flex-direction:column;align-items:stretch}.fe-request-flyer.is-expanded .fe-flyer-preview{flex:auto;width:auto;height:auto;max-width:100%}.fe-request-flyer.is-expanded .fe-flyer-preview img{width:auto;height:auto;max-height:65vh}.fe-flyer-file{font-size:12px;overflow-wrap:anywhere;margin:5px 0}.fe-request-flyer-card{margin-top:16px}.fe-request-flyer-card .fe-toolbar{gap:12px;flex-wrap:wrap}.fe-request-flyer-card .fe-toolbar h2{margin:0}.fe-flyer-viewer{width:min(1100px,96vw)!important}.fe-flyer-view{margin:0}.fe-flyer-view img{display:block;max-width:100%;max-height:72vh;width:auto;height:auto;object-fit:contain;margin:auto}.fe-flyer-view figcaption{margin-top:10px;font-size:13px;overflow-wrap:anywhere}@media(max-width:600px){.fe-request-flyer .fe-actions .button{min-height:36px}.fe-flyer-top{gap:6px}.fe-request-flyer.has-image .fe-flyer-top{display:block}.fe-request-flyer.has-image .fe-actions{margin-top:6px}.fe-flyer-view img{max-height:65vh}}
/* Request review115: complete dossier and an explicit decision share one view. */
body.saas .modal.fe-modal.fe-request-review115{width:calc(100vw - 40px)!important;max-width:1240px!important;max-height:calc(100dvh - 32px)!important}
body.saas .fe-request-review115 .modal-body{padding:0;overflow:hidden;min-height:0}
body.saas .fe-request-review115 #fe-form{display:block;padding:0;margin:0;min-width:0}
body.saas .fe-request-review115 #fe-form>.fe-error{margin:12px 16px}
body.saas .fe-request-review115 .fe-review-layout115{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:0;min-width:0;align-items:start}
body.saas .fe-request-review115 .fe-review-dossier115{padding:20px 24px;min-width:0;max-height:calc(100dvh - 180px);overflow:auto;overscroll-behavior:contain}
body.saas .fe-request-review115 .fe-review-decision115{padding:20px;border-left:1px solid var(--color-border);min-width:0;max-height:calc(100dvh - 180px);overflow:auto;overscroll-behavior:contain;background:var(--color-surface-subtle);align-self:stretch}
body.saas .fe-request-review115 .fe-review-record115{padding:0 0 16px;border-bottom:1px solid var(--color-border);margin-bottom:16px}
body.saas .fe-request-review115 .fe-review-record115 h2{font-size:21px;line-height:1.35;letter-spacing:-.02em;margin:0 0 10px;overflow-wrap:anywhere}
body.saas .fe-request-review115 .fe-review-record115 p{margin:5px 0;line-height:1.5}
body.saas .fe-request-review115 .fe-review-section115{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid var(--color-border);min-width:0}
body.saas .fe-request-review115 .fe-review-section115 h3,body.saas .fe-request-review115 .fe-review-recap115 h3{font-size:15px;line-height:1.45;font-weight:650;margin:0 0 10px}
body.saas .fe-request-review115 .fe-review-section115 h4{font-size:13px;line-height:1.5;margin:16px 0 8px}
body.saas .fe-request-review115 .fe-review-section115>summary{font-size:14px;font-weight:600;cursor:pointer;padding:6px 0;min-height:30px}
body.saas .fe-request-review115 .fe-review-objective115{font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 14px}
body.saas .fe-request-review115 .fe-review-description115{font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 14px;color:var(--color-text-secondary)}
body.saas .fe-request-review115 .fe-review-facts115{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:12px 0;min-width:0}
body.saas .fe-request-review115 .fe-review-facts115>div{display:flex;flex-direction:column;gap:4px;min-width:0}
body.saas .fe-request-review115 .fe-review-facts115 dt{font-size:12px;color:var(--color-text-secondary);line-height:1.45;font-weight:400}
body.saas .fe-request-review115 .fe-review-facts115 dd{font-size:13px;line-height:1.55;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
body.saas .fe-request-review115 .fe-review-table115{overflow:auto;max-width:100%;border:1px solid var(--color-border);border-radius:7px;margin:10px 0}
body.saas .fe-request-review115 .fe-review-table115 table{width:100%;border-collapse:collapse;font-size:12px;table-layout:auto}
body.saas .fe-request-review115 .fe-review-table115 th,body.saas .fe-request-review115 .fe-review-table115 td{padding:9px 10px;line-height:1.5;border-bottom:1px solid var(--color-border);vertical-align:top;text-align:left;font-variant-numeric:tabular-nums}
body.saas .fe-request-review115 .fe-review-table115 thead th{font-size:12px;font-weight:600;color:var(--color-text-secondary);white-space:normal;background:var(--color-surface-subtle)}
body.saas .fe-request-review115 .fe-review-table115 tbody th{font-size:12px;font-weight:550;position:static;white-space:normal;background:transparent;min-width:110px}
body.saas .fe-request-review115 .fe-review-table115 td{white-space:pre-wrap;overflow-wrap:anywhere}
body.saas .fe-request-review115 .fe-review-table115 tr:last-child>*{border-bottom:0}
body.saas .fe-request-review115 .fe-review-checks115{padding:11px 14px;border:1px solid var(--color-border);border-left:3px solid #af7d18;border-radius:7px;background:var(--color-surface-subtle);margin:0 0 16px}
body.saas .fe-request-review115 .fe-review-checks115 h3{font-size:13px;font-weight:650;line-height:1.4;margin:0 0 6px}
body.saas .fe-request-review115 .fe-review-checks115 ul{list-style:disc;padding:0 0 0 17px;margin:0;display:grid;gap:4px}
body.saas .fe-request-review115 .fe-review-check115{padding:0;border:0;border-radius:0;background:transparent;font-size:12px;line-height:1.5}
body.saas .fe-request-review115 .fe-review-check115[data-level=warning],body.saas .fe-request-review115 .fe-review-warning115{border-left-color:#af7d18}
body.saas .fe-request-review115 .fe-review-check115[data-level=blocking]{color:var(--color-danger,#b4233a)}
body.saas .fe-request-review115 .fe-review-warning115{padding:10px 12px;border:1px solid var(--color-border);border-left-width:3px;border-radius:6px;background:var(--color-surface-subtle);font-size:12px;line-height:1.55}
body.saas .fe-request-review115 .fe-review-decision115>fieldset{padding:0;border:0;margin:0 0 16px}
body.saas .fe-request-review115 .fe-review-decision115 legend{font-size:15px;font-weight:650;padding:0;margin-bottom:12px}
body.saas .fe-request-review115 .fe-review-choices115{display:grid;gap:9px}
body.saas .fe-request-review115 .fe-review-choices115>label{display:flex;flex-direction:row;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--color-border);border-radius:7px;background:var(--color-surface);cursor:pointer;min-width:0}
body.saas .fe-request-review115 .fe-review-choices115>label[data-selected=true]{border-color:#a7820f;box-shadow:inset 3px 0 #d4a90e;background:var(--color-surface)}
body.saas .fe-request-review115 .fe-review-choices115 input[type=radio]{width:16px;height:16px;min-height:16px;margin:2px 0 0;flex:0 0 16px;accent-color:#b78a00}
body.saas .fe-request-review115 .fe-review-choices115 strong{display:block;font-size:13px;line-height:1.45;font-weight:650}
body.saas .fe-request-review115 .fe-review-choices115 small{display:block;font-size:12px;line-height:1.5;color:var(--color-text-secondary);margin-top:3px}
body.saas .fe-request-review115 .fe-review-reason115{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:550}
body.saas .fe-request-review115 .fe-review-reason115 textarea{min-height:110px;max-height:260px;resize:vertical;font:13px/1.55 inherit;padding:10px;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface);color:var(--color-text)}
body.saas .fe-request-review115 .fe-review-reason115 small{font-size:12px;line-height:1.5;font-weight:400;color:var(--color-text-secondary)}
body.saas .fe-request-review115 .fe-review-decision115 .fe-help{font-size:12px;line-height:1.55}
body.saas .fe-request-review115 .fe-review-recap115{padding:14px 0;margin:14px 0 0;border-top:1px solid var(--color-border)}
body.saas .fe-request-review115 .fe-review-recap115 p{font-size:12px;line-height:1.6}
body.saas .fe-request-review115 .fe-review-recap115 .fe-review-facts115{grid-template-columns:1fr;gap:10px}
body.saas .fe-request-review115 .fe-review-last-note115{border-left:3px solid #ae8119;background:var(--color-surface-subtle);padding:12px 14px;margin:10px 0 14px;border-radius:5px}
body.saas .fe-request-review115 .fe-review-last-note115>strong{font-size:13px}
body.saas .fe-request-review115 .fe-review-last-note115 p{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}
body.saas .fe-request-review115 .fe-review-last-note115 small{font-size:12px;line-height:1.45;color:var(--color-text-secondary)}
body.saas .fe-request-review115 .fe-review-late-reason115{border-top:1px solid var(--color-border);padding-top:10px;margin-top:12px}
body.saas .fe-request-review115 .fe-review-late-reason115 summary{font-size:13px;font-weight:550;cursor:pointer;padding:4px 0}
body.saas .fe-request-review115 .fe-review-late-reason115 p{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
body.saas .fe-request-review115 .fe-review-late-reason115 small{font-size:12px;line-height:1.5;color:var(--color-text-secondary)}
body.saas .fe-request-review115 .fe-review-related115{list-style:none;margin:10px 0;padding:0}
body.saas .fe-request-review115 .fe-review-related115 li{padding:10px 0;border-bottom:1px solid var(--color-border)}
body.saas .fe-request-review115 .fe-review-related115 strong{font-size:13px;line-height:1.5;display:block}
body.saas .fe-request-review115 .fe-review-related115 small{font-size:12px;line-height:1.5;display:block;color:var(--color-text-secondary)}
body.saas .fe-request-review115 .fe-request-flyer-card{padding:14px;border-radius:7px;margin:0 0 18px;background:var(--color-surface)}
body.saas .fe-request-review115 .fe-request-flyer-card .fe-flyer-preview{max-height:260px;overflow:auto}
body.saas .fe-request-review115 .fe-request-flyer-card .fe-flyer-preview img{max-height:260px;object-fit:contain;width:100%;height:auto}
body.saas .fe-request-review115 .fe-request-flyer-card.fe-review-flyer-expanded115 .fe-flyer-preview{max-height:none}
body.saas .fe-request-review115 .fe-request-flyer-card.fe-review-flyer-expanded115 .fe-flyer-preview img{max-height:none}
body.saas .fe-request-review115 .fe-review-location115 .fe-location-picker{display:block;padding:14px;border:1px solid var(--color-border);border-radius:7px;margin:0 0 18px}
body.saas .fe-request-review115 .fe-review-location115 .fe-form{gap:12px}
body.saas .fe-request-review115 .fe-review-loading115{padding:24px;font-size:14px;line-height:1.6}
body.saas .fe-request-review115 .fe-review-loading115 .button{display:block;margin-top:14px}
body.saas .fe-request-review115 :is(button,input,textarea,summary,a):focus-visible{outline:2px solid var(--color-focus,#2b6ca3);outline-offset:3px}
body.saas .fe-request-review115 .modal-footer{padding:12px 20px;gap:10px;border-top:1px solid var(--color-border)}
@media(max-width:950px){body.saas .fe-request-review115 .fe-review-layout115{grid-template-columns:minmax(0,1fr) 300px}body.saas .fe-request-review115 .fe-review-dossier115{padding:18px}body.saas .fe-request-review115 .fe-review-decision115{padding:18px}}
@media(max-width:760px){body.saas .modal.fe-modal.fe-request-review115{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important}body.saas .fe-request-review115 .modal-body{overflow:auto}body.saas .fe-request-review115 .fe-review-layout115{display:block}body.saas .fe-request-review115 .fe-review-dossier115,body.saas .fe-request-review115 .fe-review-decision115{max-height:none;overflow:visible;padding:16px}body.saas .fe-request-review115 .fe-review-decision115{border-left:0;border-top:1px solid var(--color-border)}body.saas .fe-request-review115 .fe-review-record115 h2{font-size:19px}body.saas .fe-request-review115 .fe-review-facts115{gap:10px 12px}body.saas .fe-request-review115 .modal-footer{padding:12px;flex-wrap:wrap}body.saas .fe-request-review115 .modal-footer .button{min-height:44px}}
@media(max-width:420px){body.saas .fe-request-review115 .fe-review-facts115{grid-template-columns:1fr}body.saas .fe-request-review115 .fe-review-table115{overflow-x:auto}body.saas .fe-request-review115 .fe-review-table115 table{min-width:500px}body.saas .fe-request-review115 .modal-footer .button{flex:1;justify-content:center}}
@media(pointer:coarse){body.saas .fe-request-review115 .fe-review-choices115>label,body.saas .fe-request-review115 .button{min-height:44px}}
@media(prefers-reduced-motion:reduce){body.saas .fe-request-review115 *{animation:none;transition:none}}

/* Report review116: a decision rail beside the submitted working document. */
body.saas .fe-report-review116 .fe-review-record115 h2{font-size:21px}
body.saas .fe-report-review116 .fe-review-record115 p{overflow-wrap:anywhere}
body.saas .fe-report-review116 .fe-report-metrics116{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 18px;padding:12px 0;border-block:1px solid var(--color-border);min-width:0}
body.saas .fe-report-review116 .fe-report-metrics116>div{min-width:0}
body.saas .fe-report-review116 .fe-report-metrics116 dt{font-size:12px;font-weight:400;color:var(--color-text-secondary);line-height:1.45}
body.saas .fe-report-review116 .fe-report-metrics116 dd{font-size:17px;font-weight:650;line-height:1.45;margin:5px 0 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.saas .fe-report-review116 .fe-review-table115 th small{font-size:11px;font-weight:400;display:block;color:var(--color-text-secondary);line-height:1.5;margin-top:3px}
body.saas .fe-report-review116 .fe-report-products116 table{min-width:650px}
body.saas .fe-report-review116 .fe-report-products116 td{white-space:nowrap;text-align:right}
body.saas .fe-report-review116 .fe-report-products116 th:not(:first-child){text-align:right;min-width:68px}
body.saas .fe-report-review116 .fe-report-costs116{margin:12px 0}
body.saas .fe-report-review116 .fe-report-costs116>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:8px 0;min-width:0}
body.saas .fe-report-review116 .fe-report-costs116 dt{font-size:12px;font-weight:400;line-height:1.5;color:var(--color-text-secondary)}
body.saas .fe-report-review116 .fe-report-costs116 dd{font-size:13px;font-weight:600;line-height:1.5;margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
body.saas .fe-report-review116 .fe-report-costs116>div:last-child{border-top:1px solid var(--color-border);margin-top:6px;padding-top:12px}
body.saas .fe-report-review116 .fe-report-zero116{font-size:12px;line-height:1.5;padding:8px 0;margin:0}
body.saas .fe-report-review116 .fe-report-receipts116,body.saas .fe-report-review116 .fe-report-files116{list-style:none;padding:0;margin:10px 0}
body.saas .fe-report-review116 .fe-report-receipts116>li,body.saas .fe-report-review116 .fe-report-files116>li{padding:12px 0;border-top:1px solid var(--color-border);min-width:0;overflow-wrap:anywhere}
body.saas .fe-report-review116 .fe-report-receipts116>li>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
body.saas .fe-report-review116 .fe-report-receipts116>li>div>span{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:13px}
body.saas .fe-report-review116 .fe-report-receipts116 strong,body.saas .fe-report-review116 .fe-report-files116 strong{display:block;font-size:13px;line-height:1.5;font-weight:550}
body.saas .fe-report-review116 .fe-report-receipts116 p{font-size:12px;line-height:1.6;white-space:pre-wrap;margin:5px 0}
body.saas .fe-report-review116 .fe-report-receipts116 small,body.saas .fe-report-review116 .fe-report-files116 small{display:block;font-size:11px;line-height:1.6;color:var(--color-text-secondary)}
body.saas .fe-report-review116 .fe-report-receipts116 a,body.saas .fe-report-review116 .fe-report-files116 a{display:inline-flex;align-items:center;font-size:12px;line-height:1.5;min-height:36px;margin-top:3px}
body.saas .fe-report-review116 .fe-report-receipts116 code,body.saas .fe-report-review116 .fe-report-files116 code{display:block;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px}
body.saas .fe-report-review116 .fe-report-receipts116>.is-voided>div>span{text-decoration:line-through;color:var(--color-text-secondary)}
body.saas .fe-report-review116 .fe-report-void116{border-left:2px solid var(--color-border);padding-left:9px}
body.saas .fe-report-review116 .fe-report-closure116{padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid var(--color-border);font-size:12px;line-height:1.55}
body.saas .fe-report-review116 .fe-report-closure116 strong{font-size:13px;font-weight:600}
body.saas .fe-report-review116 .fe-report-closure116 ul{margin:8px 0 0;padding:0 0 0 17px;display:grid;gap:5px}
body.saas .fe-report-review116 .fe-review-choices115>.is-unavailable{background:var(--color-surface-subtle);cursor:not-allowed}
body.saas .fe-report-review116 .fe-review-choices115>.is-unavailable strong{color:var(--color-text-secondary)}
body.saas .fe-report-review116 .fe-report-request-flyer116>summary{min-height:44px;display:flex;align-items:center}
body.saas .fe-report-review116 .fe-report-request-flyer116 .fe-request-flyer-card{margin-top:12px}
@media(max-width:760px){body.saas .fe-report-review116 .fe-report-costs116 dt{max-width:60%}body.saas .fe-report-review116 .fe-report-costs116 dd{font-size:12px}body.saas .fe-report-review116 .fe-report-receipts116 a,body.saas .fe-report-review116 .fe-report-files116 a{min-height:44px}}
@media(max-width:420px){body.saas .fe-report-review116 .fe-report-metrics116{grid-template-columns:1fr;gap:8px}body.saas .fe-report-review116 .fe-report-metrics116>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}body.saas .fe-report-review116 .fe-report-metrics116 dd{font-size:14px;margin:0;text-align:right}}
body.saas .fe-report-review116 .fe-review-choices115>label{transition:border-color 160ms ease,background-color 160ms ease}
@media(prefers-reduced-motion:reduce){body.saas .fe-report-review116 .fe-review-choices115>label{transition:none}}
/* Desktop Field117: append-only working surfaces. */
body.saas.workspace114 .fe{font-size:13px;line-height:1.55;color:var(--color-text,#102D3A)}
body.saas.workspace114 .fe .fe-head{gap:16px;margin-bottom:20px;align-items:flex-start}
body.saas.workspace114 .fe .fe-head h1{font-size:24px;line-height:1.3;letter-spacing:-.02em;font-weight:650;margin:0 0 6px;overflow-wrap:anywhere}
body.saas.workspace114 .fe .fe-head>div:first-child{min-width:0}
body.saas.workspace114 .fe .fe-head p{font-size:12px;line-height:1.55;max-width:80ch;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .fe .fe-head>.fe-actions{align-items:center;justify-content:flex-end;gap:8px;padding-top:2px}
body.saas.workspace114 .fe .fe-panel{border:1px solid var(--color-border,#DFE5EA);border-radius:8px;background:var(--color-surface,#FFFFFF);box-shadow:none;margin-bottom:20px;padding:20px;min-width:0}
body.saas.workspace114 .fe .fe-panel :is(h2,h3){font-size:15px;line-height:1.45;font-weight:650;margin:0 0 14px}
body.saas.workspace114 .fe .fe-toolbar{gap:12px;align-items:center;margin-bottom:14px}
body.saas.workspace114 .fe .fe-toolbar :is(h2,h3){margin:0}
body.saas.workspace114 .fe :is(.fe-help,.fe-collection-coverage,.fe-location-quality,.fe-date-label,.fe-date-display,.fe-register-muted,.fe-receipt-state){font-size:12px;line-height:1.55;color:var(--color-text-secondary,#617182);overflow-wrap:anywhere}
body.saas.workspace114 .fe :is(.fe-workflow-row,.fe-daily-item,.fe-overview-item){line-height:1.5;gap:12px}
body.saas.workspace114 .fe :is(.fe-workflow-row,.fe-daily-item,.fe-overview-item) strong{font-size:13px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}
body.saas.workspace114 .fe :is(.fe-workflow-row,.fe-daily-item,.fe-overview-item) small{font-size:12px;line-height:1.55;overflow-wrap:anywhere}
body.saas.workspace114 .fe .fe-workflow-list{border-radius:8px;padding:20px;background:var(--color-surface,#FFFFFF)}
body.saas.workspace114 .fe :is(.fe-overview-compact-grid,.fe-personal-lists,.fe-overview-lists){gap:20px}
body.saas.workspace114 .fe .fe-overview-followup>summary,body.saas.workspace114 .fe .fe-dashboard-details>summary{font-size:13px;line-height:1.5;font-weight:600;min-height:36px;padding-block:8px}
body.saas.workspace114 .fe .fe-workflow-kpis{gap:0;border:1px solid var(--color-border,#DFE5EA);border-radius:8px;box-shadow:none;background:var(--color-surface,#FFFFFF);margin-bottom:20px}
body.saas.workspace114 .fe .fe-workflow-kpi{gap:12px;border:0!important;border-inline-end:1px solid var(--color-border,#DFE5EA)!important;border-radius:0;min-height:64px!important;padding:14px 16px!important;background:transparent}
body.saas.workspace114 .fe .fe-workflow-kpi:last-child{border-inline-end:0!important}
body.saas.workspace114 .fe .fe-workflow-kpi>span{font-size:12px;line-height:1.45;min-height:0;color:var(--color-text-secondary,#617182);font-weight:500}
body.saas.workspace114 .fe .fe-workflow-kpi strong{font-size:24px;line-height:1.2;letter-spacing:-.03em;margin:0;font-variant-numeric:tabular-nums}
body.saas.workspace114 .fe .fe-workflow-kpi small{font-size:12px;line-height:1.5}
body.saas.workspace114 .fe .fe-section-controls{margin:0 0 16px}
body.saas.workspace114 .fe .fe-section-metrics{gap:4px;border-bottom:1px solid var(--color-border,#DFE5EA);padding-bottom:0;align-items:stretch}
body.saas.workspace114 .fe .fe-section-metric{gap:8px;min-height:40px;padding:9px 12px;margin-bottom:-1px;border-radius:6px 6px 0 0;line-height:1.45}
body.saas.workspace114 .fe .fe-section-metric>span{font-size:12px;font-weight:500}
body.saas.workspace114 .fe .fe-section-metric>strong{font-size:13px;line-height:1.4;font-variant-numeric:tabular-nums;padding:2px 6px;border-radius:4px;min-width:22px;text-align:center;background:var(--color-surface-subtle,#F3F5F7)}
body.saas.workspace114 .fe .fe-section-metric[aria-pressed=true]{border-color:var(--color-border,#DFE5EA);border-bottom-color:var(--color-surface,#FFFFFF);box-shadow:inset 0 2px var(--workspace-accent,#EAB308);background:var(--color-surface,#FFFFFF)}
body.saas.workspace114 .fe .fe-filterbar,body.saas.workspace114 .fe .fe-overview-filters{gap:10px;align-items:end;margin-bottom:16px}
body.saas.workspace114 .fe .fe-filterbar>label,body.saas.workspace114 .fe .fe-overview-filters>label{gap:6px;font-size:12px;font-weight:500}
body.saas.workspace114 .fe :is(.fe-filterbar,.fe-overview-filters) :is(input,select){border-radius:6px;min-height:38px;padding:8px 10px;font-size:13px;line-height:1.4;border-color:var(--color-border,#DFE5EA)}
body.saas.workspace114 .fe .fe-overview-filter-pop>summary{border-radius:6px;min-height:38px;box-sizing:border-box;font-size:13px;line-height:1.4;padding:9px 11px}
body.saas.workspace114 .fe .fe-overview-filter-pop>div{border-radius:8px;border-color:var(--color-border,#DFE5EA);padding:18px}
body.saas.workspace114 .fe .fe-active-filters{gap:8px;margin:0 0 14px}
body.saas.workspace114 .fe :is(.fe-head,.fe-toolbar,.fe-filterbar,.fe-overview-filters,.fe-tabs,.fe-pagination,.fe-cost-review-shortcuts,.fe-calendar-heading,.fe-journey-tools,.fe-actions)>.button{border-radius:6px;min-height:36px;padding:8px 12px;font-size:13px;line-height:1.4;font-weight:550}
body.saas.workspace114 .fe :is(.fe-tabs,.fe-report-tabs){gap:5px;padding-bottom:10px;margin-bottom:16px;border-color:var(--color-border,#DFE5EA)}
body.saas.workspace114 .fe .fe-tabs .button{font-size:12px;white-space:nowrap}
body.saas.workspace114 .fe .fe-pagination{gap:12px;padding:14px 16px;font-size:12px;line-height:1.5;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .fe .fe-record-list:has(.fe-table-wrap){padding:0;border-radius:8px}
body.saas.workspace114 .fe .fe-register-toolbar{padding:12px 16px;gap:12px;font-size:12px;border-color:var(--color-border,#DFE5EA)}
body.saas.workspace114 .fe .fe-table-wrap table{font-size:13px;line-height:1.5}
body.saas.workspace114 .fe .fe-table-wrap th{font-size:12px;line-height:1.45;font-weight:550;color:var(--color-text-secondary,#617182);background:var(--color-surface-subtle,#F3F5F7);border-color:var(--color-border,#DFE5EA)}
body.saas.workspace114 .fe .fe-table-wrap td{font-size:13px;line-height:1.55;border-color:var(--color-border,#DFE5EA);vertical-align:top}
@media(min-width:1101px){body.saas.workspace114:not([data-workspace-density=comfortable]) .fe .fe-table-wrap :is(td,th){padding:12px 14px}
body.saas.workspace114[data-workspace-density=comfortable] .fe .fe-table-wrap :is(td,th){padding:16px 14px}}
body.saas.workspace114 .fe .fe-table-wrap :is(td>small,td .fe-register-meta){font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
body.saas.workspace114 .fe .fe-register-title{font-size:13px;line-height:1.5;font-weight:600;white-space:normal;text-overflow:clip;-webkit-line-clamp:unset;-webkit-box-orient:initial;display:block;overflow:visible;overflow-wrap:anywhere}
body.saas.workspace114 .fe .fe-operational-register .fe-register-meta{white-space:normal;overflow:visible;text-overflow:clip;font-size:12px;line-height:1.5}
body.saas.workspace114 .fe .fe-register-action{font-size:12px;line-height:1.5;min-height:36px;gap:10px}
body.saas.workspace114 .fe :is(.fe-register-action,.fe-table-wrap .fe-link){font-weight:550!important}
body.saas.workspace114 .fe :is(.fe-budget-register td strong,.fe-variance,.fe-card-metrics strong){font-variant-numeric:tabular-nums}
body.saas.workspace114 .fe .fe-budget-register td:nth-child(2)>small,body.saas.workspace114 .fe .fe-budget-register td>small{font-size:12px;line-height:1.5}
body.saas.workspace114 .fe .fe-budget-register .button{font-size:12px;line-height:1.4;min-height:36px;border-radius:6px}
body.saas.workspace114 .fe .fe-budget-kpis{gap:0;border:1px solid var(--color-border,#DFE5EA);border-radius:8px;background:var(--color-surface,#FFFFFF);margin:0 0 16px}
body.saas.workspace114 .fe .fe-budget-kpis>.fe-panel{padding:16px;margin:0;border:0;border-inline-end:1px solid var(--color-border,#DFE5EA);border-radius:0;background:transparent;gap:6px}
body.saas.workspace114 .fe .fe-budget-kpis>.fe-panel:last-child{border-inline-end:0}
body.saas.workspace114 .fe .fe-budget-kpis :is(span,small){font-size:12px;line-height:1.5}
body.saas.workspace114 .fe .fe-budget-kpis strong{font-size:24px;line-height:1.3;letter-spacing:-.025em;margin:2px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.saas.workspace114 .fe .fe-analytics-toolbar{align-items:center;gap:14px;margin-bottom:14px;font-size:12px}
body.saas.workspace114 .fe .fe-metric-note>summary{font-size:12px;line-height:1.5;min-height:36px;padding-block:8px}
body.saas.workspace114 .fe .fe-kpis.fe-analytics-kpis{gap:0;border-radius:8px;margin:0 0 20px}
body.saas.workspace114 .fe .fe-analytics-kpis>[data-kpi]{padding:14px 16px!important;min-width:0;background:var(--color-surface,#FFFFFF)}
body.saas.workspace114 .fe .fe-analytics-kpis>[data-kpi]>span{font-size:12px;line-height:1.45;min-height:0;font-weight:500;letter-spacing:0}
body.saas.workspace114 .fe .fe-analytics-kpis>[data-kpi]>strong{font-size:24px!important;line-height:1.25;margin:6px 0 3px;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
body.saas.workspace114 .fe .fe-analytics-kpis>[data-kpi]>small{font-size:12px;line-height:1.5}
body.saas.workspace114 .fe .fe-analytics-kpis>[data-kpi="Actual cost"]>strong,body.saas.workspace114 .fe .fe-analytics-kpis>[data-kpi="Approved budget"]>strong,body.saas.workspace114 .fe .fe-analytics-kpis>[data-kpi="Proposed budget"]>strong{font-size:22px!important;white-space:nowrap;overflow-wrap:normal}
body.saas.workspace114 .fe :is(.fe-report-breakdown,.fe-report-trend,.fe-report-more,.fe-report-efficiency){border-radius:8px}
body.saas.workspace114 .fe :is(.fe-report-breakdown,.fe-report-trend) h2{font-size:15px;line-height:1.45;font-weight:650}
body.saas.workspace114 .fe .fe-report-more>summary,body.saas.workspace114 .fe .fe-metric-note>summary{font-size:12px;line-height:1.5}
body.saas.workspace114 .fe .fe-chart-row{font-size:12px;line-height:1.5;margin:12px 0}
body.saas.workspace114 .fe .fe-record-head{margin-bottom:16px}
body.saas.workspace114 .fe .fe-back{font-size:12px;line-height:1.5;min-height:36px;margin-bottom:8px}
body.saas.workspace114 .fe .fe-record-head h1{max-width:60ch}
body.saas.workspace114 .fe .fe-journey-tools{gap:10px;margin-bottom:16px}
body.saas.workspace114 .fe .fe-record-context{border-radius:8px;padding:16px;gap:18px}
body.saas.workspace114 .fe .fe-record-context small{font-size:12px;line-height:1.45;letter-spacing:0}
body.saas.workspace114 .fe .fe-record-context strong{font-size:13px;line-height:1.55}
body.saas.workspace114 .fe :is(.fe-dossier-next small,.fe-card-next>small:first-child,.fe-section-label){font-size:12px;line-height:1.5;letter-spacing:0}
body.saas.workspace114 .fe :is(.fe-dossier-next p,.fe-dossier-next strong,.fe-card-next p){font-size:13px;line-height:1.55}
body.saas.workspace114 .fe .fe-readiness{border-radius:8px;gap:18px;padding:18px;margin-bottom:20px}
body.saas.workspace114 .fe .fe-readiness strong{font-size:16px;line-height:1.45}
body.saas.workspace114 .fe :is(.fe-readiness small,.fe-readiness-checks small){font-size:12px;line-height:1.5}
body.saas.workspace114 .fe .fe-task-phases{gap:16px}
body.saas.workspace114 .fe .fe-task-phases>section{padding:16px;border-radius:8px}
body.saas.workspace114 .fe :is(.fe-task-phases h3,.fe-plan-task small,.fe-content-target small,.fe-linked-post small){font-size:12px;line-height:1.5}
body.saas.workspace114 .fe :is(.fe-plan-task strong,.fe-content-target h3,.fe-linked-post strong){font-size:13px;line-height:1.55}
body.saas.workspace114 .fe .fe-cost-summary{border-radius:8px;margin:16px 0}
body.saas.workspace114 .fe .fe-cost-summary>div{padding:16px}
body.saas.workspace114 .fe .fe-cost-summary :is(span,small){font-size:12px;line-height:1.5}
body.saas.workspace114 .fe .fe-cost-summary strong{font-size:24px;line-height:1.3;margin:8px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.saas.workspace114 .fe .fe-expense{padding:14px 0;border-color:var(--color-border,#DFE5EA);font-size:13px;line-height:1.55}
body.saas.workspace114 .fe .fe-expense :is(p,small){font-size:12px;line-height:1.55;overflow-wrap:anywhere}
body.saas.workspace114 .fe .fe-history li{padding:14px 0;font-size:13px;line-height:1.6}
body.saas.workspace114 .fe .fe-history small{font-size:12px;line-height:1.5}
body.saas.workspace114 .fe .fe-calendar-heading{gap:14px;margin-bottom:16px;align-items:center}
body.saas.workspace114 .fe .fe-calendar-period h2{font-size:18px;line-height:1.4;font-weight:650;margin:0}
body.saas.workspace114 .fe .fe-calendar-board{border-radius:8px;border-color:var(--color-border,#DFE5EA)}
body.saas.workspace114 .fe .fe-calendar-board>.fe-calendar-weekday{font-size:12px;line-height:1.5;font-weight:500}
body.saas.workspace114 .fe .fe-calendar-selected{border-radius:8px}
body.saas.workspace114 .fe .fe-calendar-selected>small{font-size:12px;line-height:1.5;letter-spacing:0}
body.saas.workspace114 .fe .fe-calendar-selected h2{font-size:16px;line-height:1.45}
body.saas.workspace114 .fe :is(.fe-calendar-day-list,.fe-calendar-agenda-items) .fe-calendar-event{border-radius:6px;gap:5px;font-size:13px;line-height:1.5;padding:12px}
body.saas.workspace114 .fe :is(.fe-calendar-day-list,.fe-calendar-agenda-items) .fe-calendar-event small{font-size:12px;line-height:1.5}
body.saas.workspace114 .fe :is(.fe-map-window,.fe-map-tools,.fe-map-register-head,.fe-map-legend,.fe-overview-map-legend){font-size:12px;line-height:1.5;gap:10px}
body.saas.workspace114 .fe .fe-map-register-head{padding:14px 16px;border-color:var(--color-border,#DFE5EA)}
body.saas.workspace114 .fe .fe-map-records{padding-inline:16px}
body.saas.workspace114 .fe .fe-map-status,body.saas.workspace114 .fe [data-map-coverage]{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
body.saas.workspace114 .fe .fe-overview-map-panel>.fe-toolbar{margin-bottom:12px}
body.saas.workspace114 .fe-modal .fe-form{gap:16px;font-size:13px;line-height:1.55}
body.saas.workspace114 .fe-modal .fe-form label{gap:6px;font-size:12px;line-height:1.5;font-weight:500}
body.saas.workspace114 .fe-modal .fe-form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){border-radius:6px;border-color:var(--color-border,#DFE5EA);font-family:inherit;font-size:13px;line-height:1.5;padding:9px 10px}
body.saas.workspace114 .fe-modal .fe-form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){min-height:38px}
body.saas.workspace114 .fe-modal .fe-form fieldset{border-radius:8px;border-color:var(--color-border,#DFE5EA);padding:16px}
body.saas.workspace114 .fe-modal .fe-form legend{font-size:13px;line-height:1.45;font-weight:600;padding-inline:5px}
body.saas.workspace114 .fe-modal .fe-form .fe-help{font-size:12px;line-height:1.55}
body.saas.workspace114 .fe-modal .fe-form-more{border-radius:8px;padding:12px 14px}
body.saas.workspace114 .fe-modal .fe-form-more>summary{font-size:13px;line-height:1.5;font-weight:550;min-height:32px}
body.saas.workspace114 .fe-modal .fe-form-more[open]>.fe-form{padding-top:16px}
body.saas.workspace114 .fe-modal .modal-footer .button{border-radius:6px;font-size:13px;line-height:1.4;min-height:38px;padding:9px 13px}
body.saas.workspace114 .fe .fe-report-document{border-radius:8px;box-shadow:none}
body.saas.workspace114 .fe .fe-report-document-head{padding:24px}
body.saas.workspace114 .fe .fe-report-document-head h2{font-size:22px;line-height:1.4;letter-spacing:-.02em}
body.saas.workspace114 .fe .fe-report-document-body{padding-inline:24px}
body.saas.workspace114 .fe .fe-report-section{padding-block:20px}
body.saas.workspace114 .fe .fe-report-section h3{font-size:15px;line-height:1.45;margin-bottom:14px}
body.saas.workspace114 .fe :is(.fe-report-meta small,.fe-report-meta span,.fe-report-meta strong,.fe-report-narrative p,.fe-report-narrative h4,.fe-report-files small,.fe-report-files strong,.fe-report-files a,.fe-report-note,.fe-report-money dt,.fe-report-receipts,.fe-report-receipts small,.fe-report-product-list dt){font-size:12px;line-height:1.6;letter-spacing:0}
body.saas.workspace114 .fe :is(.fe-report-narrative p,.fe-report-files strong,.fe-report-meta strong){font-size:13px}
body.saas.workspace114 .fe :is(.fe-report-revisions p,.fe-report-revisions dd,.fe-report-decision p){font-size:13px;line-height:1.6;overflow-wrap:anywhere}
body.saas.workspace114 .fe-modal.fe-request-review115 .fe-review-record115 h2{font-size:22px;line-height:1.4}
body.saas.workspace114 .fe-modal.fe-request-review115 :is(.fe-review-record115 .fe-help,.fe-review-facts115 dt,.fe-review-check115,.fe-review-warning115,.fe-review-choices115 small,.fe-review-reason115 small,.fe-review-last-note115 small,.fe-report-receipts116 small,.fe-report-files116 small){font-size:12px;line-height:1.55}
body.saas.workspace114 .fe-modal.fe-request-review115 :is(.fe-review-description115,.fe-review-facts115 dd,.fe-review-last-note115 p,.fe-review-reason115 textarea,.fe-report-receipts116 p,.fe-report-files116 strong){font-size:13px;line-height:1.65}
body.saas.workspace114 .fe-modal.fe-request-review115 .fe-review-table115 :is(th,td){font-size:12px;line-height:1.6}
body.saas.workspace114 .fe-modal.fe-request-review115 .fe-review-decision115>fieldset{padding:0;border:0}
body.saas.workspace114 .fe-modal.fe-request-review115 .fe-review-decision115 legend{font-size:15px;padding:0}
body.saas.workspace114 .fe-modal.fe-request-review115 .fe-review-choices115>label{border-radius:6px;padding:12px;gap:10px}
body.saas.workspace114 .fe-modal.fe-request-review115 .fe-review-choices115 input[type=radio]{padding:0;min-height:16px}
body.saas.workspace114 :is(.fe,.fe-modal) :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--color-focus,var(--color-info,#24587A));outline-offset:3px}
body.saas.workspace114 .fe :is(.button,.fe-register-action,.fe-overview-item,.fe-section-metric,.fe-workflow-kpi,.fe-task-check,.fe-calendar-event),body.saas.workspace114 .fe-modal :is(.button,.fe-review-choices115>label){transition:background-color 140ms ease,border-color 140ms ease,color 140ms ease}
@media(min-width:701px) and (max-width:1399px){body.saas.workspace114 .fe .fe-analytics-kpis:has(>[data-kpi]:nth-child(6):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1100px){body.saas.workspace114 .fe .fe-budget-kpis strong{font-size:22px}}
@media(max-width:1000px){body.saas.workspace114 .fe .fe-head{flex-wrap:wrap}body.saas.workspace114 .fe .fe-head>.fe-actions{justify-content:flex-start}body.saas.workspace114 .fe .fe-budget-kpis>.fe-panel{border-bottom:1px solid var(--color-border,#DFE5EA)}body.saas.workspace114 .fe .fe-budget-kpis>.fe-panel:nth-child(2n){border-inline-end:0}body.saas.workspace114 .fe .fe-budget-kpis>.fe-panel:nth-last-child(-n+2){border-bottom:0}}
@media(max-width:700px){body.saas.workspace114 .fe .fe-head{gap:12px;margin-bottom:16px}body.saas.workspace114 .fe .fe-head h1{font-size:22px}body.saas.workspace114 .fe .fe-head>.fe-actions{width:100%;padding-top:0;justify-content:flex-start}body.saas.workspace114 .fe .fe-panel{padding:16px;margin-bottom:16px}body.saas.workspace114 .fe :is(.fe-overview-compact-grid,.fe-personal-lists,.fe-overview-lists){gap:16px}body.saas.workspace114 .fe .fe-workflow-kpi{flex-basis:50%;padding:12px 14px!important;min-height:60px!important}body.saas.workspace114 .fe .fe-workflow-kpi:nth-child(2n){border-inline-end:0!important}body.saas.workspace114 .fe .fe-workflow-kpi:nth-child(-n+2){border-bottom:1px solid var(--color-border,#DFE5EA)!important}body.saas.workspace114 .fe .fe-workflow-kpi strong{font-size:24px}body.saas.workspace114 .fe .fe-budget-kpis>.fe-panel{padding:14px}body.saas.workspace114 .fe .fe-budget-kpis strong{font-size:20px}body.saas.workspace114 .fe .fe-analytics-kpis>[data-kpi]{padding:12px 14px!important}body.saas.workspace114 .fe .fe-analytics-kpis>[data-kpi]>strong{font-size:22px!important}body.saas.workspace114 .fe .fe-analytics-kpis>[data-kpi="Actual cost"]>strong,body.saas.workspace114 .fe .fe-analytics-kpis>[data-kpi="Approved budget"]>strong,body.saas.workspace114 .fe .fe-analytics-kpis>[data-kpi="Proposed budget"]>strong{font-size:19px!important}body.saas.workspace114 .fe .fe-report-document-head{padding:20px 16px}body.saas.workspace114 .fe .fe-report-document-body{padding-inline:16px}body.saas.workspace114 .fe .fe-report-document-head h2{font-size:20px}body.saas.workspace114 .fe .fe-report-section{padding-block:18px}body.saas.workspace114 .fe-modal .fe-form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:16px}body.saas.workspace114 .fe .fe-filterbar{flex-wrap:wrap}body.saas.workspace114 .fe .fe-filterbar>label:first-child{flex-basis:100%}}
@media(pointer:coarse),(max-width:700px){body.saas.workspace114 .fe :is(.button,.fe-back,.fe-register-action,.fe-overview-item,.fe-calendar-event,.fe-task-check,.fe-section-metric),body.saas.workspace114 .fe-modal :is(.button,summary,.fe-checks label,.fe-review-choices115>label){min-height:44px}body.saas.workspace114 .fe :is(.fe-filterbar,.fe-overview-filters) :is(input,select),body.saas.workspace114 .fe-modal .fe-form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){min-height:44px}}
@media(prefers-reduced-motion:reduce){body.saas.workspace114 .fe :is(.button,.fe-register-action,.fe-overview-item,.fe-section-metric,.fe-workflow-kpi,.fe-task-check,.fe-calendar-event),body.saas.workspace114 .fe-modal :is(.button,.fe-review-choices115>label){transition:none}}
@media print{body.saas.workspace114 .fe .fe-panel,body.saas.workspace114 .fe .fe-report-document,body.saas.workspace114 .fe-modal .stock-doc{box-shadow:none;border-color:#DFE5EA;background:#FFFFFF;color:#102D3A}body.saas.workspace114 .stock-doc{font-family:inherit;font-size:12px;line-height:1.5}body.saas.workspace114 .stock-doc :is(th,td){padding:8px;text-align:start}body.saas.workspace114 .stock-doc :is(p,dd,td){overflow-wrap:anywhere}body.saas.workspace114 .stock-doc tr{break-inside:avoid}}
@media(min-width:701px){body.saas.workspace114 .fe .fe-budget-kpis>.fe-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:10px;row-gap:3px;padding:12px 16px}body.saas.workspace114 .fe .fe-budget-kpis>.fe-panel>span{grid-column:1;grid-row:1}body.saas.workspace114 .fe .fe-budget-kpis>.fe-panel>strong{grid-column:2;grid-row:1;font-size:22px;white-space:nowrap;overflow-wrap:normal;text-align:end;margin:0}body.saas.workspace114 .fe .fe-budget-kpis>.fe-panel>small{grid-column:1/-1;grid-row:2}body.saas.workspace114 .fe .fe-budget-kpis>.fe-panel:has(>.fe-link)>small{grid-column:1}body.saas.workspace114 .fe .fe-budget-kpis>.fe-panel>.fe-link{grid-column:2;grid-row:2;min-height:28px;font-size:12px;line-height:1.5;text-align:end;justify-self:end;padding:4px 0;white-space:nowrap}}
@media(min-width:701px) and (max-width:1100px){body.saas.workspace114 .fe .fe-record-list .fe-operational-register td{padding:0}body.saas.workspace114 .fe .fe-record-list .fe-operational-register tr{padding:12px 14px;gap:8px 14px}body.saas.workspace114[data-workspace-density=comfortable] .fe .fe-record-list .fe-operational-register tr{padding:16px;gap:12px 16px}}
/* End Desktop Field117. */

/* Map workspace: stable map beside an independently scrollable activity panel. */
body.saas.workspace114 .fe-map-context{margin:0 0 12px;padding:0;background:transparent}
body.saas.workspace114 .fe-map-context .fe-map-window{margin:0 0 10px;gap:6px}
body.saas.workspace114 .fe-map-context .fe-map-tools{display:grid;grid-template-columns:minmax(140px,1fr) minmax(160px,1fr) auto;align-items:end;gap:10px;margin:0}
body.saas.workspace114 .fe-map-context .fe-map-tools label{font-size:12px;line-height:1.5;gap:4px}
body.saas.workspace114 .fe-map-context .fe-map-navigation{display:flex;gap:6px;flex-wrap:wrap;margin:0}
body.saas.workspace114 .fe-map-coverage-line{display:flex;gap:8px 18px;flex-wrap:wrap;align-items:center;min-height:32px;margin-top:8px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
body.saas.workspace114 .fe-map-coverage-line span{display:inline-flex;align-items:center;gap:5px}
body.saas.workspace114 .fe-map-coverage-line b{color:var(--ink)}
body.saas.workspace114 .fe-map-coverage-line span:before{content:'';width:7px;height:7px;border-radius:50%;background:#94a3b8}
body.saas.workspace114 .fe-map-coverage-line [data-quality=recorded]:before{background:#16815c}
body.saas.workspace114 .fe-map-coverage-line [data-quality=review]:before{background:#a16207}
body.saas.workspace114 .fe-map-coverage-line [data-quality=area]:before{background:transparent;border:1px dashed #a16207}
body.saas.workspace114 .fe-map-split{--map-height:clamp(420px,65vh,720px);display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:0;border:1px solid var(--border);border-radius:12px;background:var(--panel,#fff);overflow:hidden;align-items:stretch}
body.saas.workspace114 .fe-map-split>.fe-map-browser{border:0;border-radius:0;padding:0;min-width:0;margin:0}
body.saas.workspace114 .fe-map-split .fe-map-canvas{position:relative;min-width:0}
body.saas.workspace114 .fe-map-split .fe-map{height:var(--map-height);border:0;border-radius:0}
body.saas.workspace114 .fe-map-split>.fe-record-list{border:0;border-left:1px solid var(--border);border-radius:0;padding:0;max-height:calc(var(--map-height) + 90px);overflow:auto;overscroll-behavior:contain;min-width:0;margin:0}
body.saas.workspace114 .fe-map-split.is-expanded{grid-template-columns:minmax(0,1fr) 300px;--map-height:78vh}
body.saas.workspace114 .fe-map-split .fe-map-register-head{display:flex;align-items:center;justify-content:space-between;padding:16px;gap:10px;position:sticky;top:0;background:var(--panel,#fff);z-index:1}
body.saas.workspace114 .fe-map-split .fe-map-list-help{font-size:12px;color:var(--muted);line-height:1.5;margin:0;padding:0 16px 12px;border-bottom:1px solid var(--border)}
body.saas.workspace114 .fe-map-split .fe-map-records{padding:0!important;display:block}
body.saas.workspace114 .fe-map-split .fe-map-records .fe-overview-item{width:100%;border:0;border-radius:0;border-bottom:1px solid var(--border);margin:0;padding:14px 16px;text-align:left;display:block;min-width:0;background:transparent;color:var(--ink)}
body.saas.workspace114 .fe-map-split .fe-map-records .fe-overview-item[hidden]{display:none}
body.saas.workspace114 .fe-map-split .fe-map-records .fe-overview-item:hover{background:var(--surface,#f5f8fb)}
body.saas.workspace114 .fe-map-split .fe-map-records strong{display:block;font-size:14px;line-height:1.45;margin:6px 0 4px;overflow-wrap:anywhere}
body.saas.workspace114 .fe-map-split .fe-map-records small{display:block;font-size:12px;line-height:1.5;margin:3px 0;overflow-wrap:anywhere}
body.saas.workspace114 .fe-map-split .fe-map-records .fe-pill{display:inline-flex;margin-top:4px;font-size:11px}
body.saas.workspace114 .fe-map-split .fe-map-records [aria-pressed=true]{box-shadow:inset 3px 0 #d9a500;background:#fffbeb}
body.saas.workspace114 .fe-map-split .fe-map-legend{padding:10px 14px;margin:0;gap:12px;flex-wrap:wrap}
body.saas.workspace114 .fe-map-split .fe-map-browser .fe-help{padding:0 14px 12px;margin:0;font-size:11px;line-height:1.5}
body.saas.workspace114 .fe-map-split .fe-map-status{padding:4px 14px;margin:0;font-size:11px;line-height:1.5}
body.saas.workspace114 .fe-map-no-pins{position:absolute;z-index:500;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(100% - 110px);max-width:340px;padding:16px 20px;border:1px solid var(--border);border-radius:10px;background:var(--panel,#fff);color:var(--ink);font-size:14px;line-height:1.5;text-align:center;box-shadow:0 6px 24px #14233720;pointer-events:none}
body.saas.workspace114 .fe-map-no-pins[hidden],body.saas.workspace114 .fe-map-selection[hidden],body.saas.workspace114 [data-map-results][hidden]{display:none!important}
body.saas.workspace114 .fe-map-selection{display:block!important;padding:16px}
body.saas.workspace114 .fe-map-selection .fe-map-back{margin:0 0 20px}
body.saas.workspace114 .fe-map-detail-title h2{font-size:20px;line-height:1.35;margin:12px 0 8px;overflow-wrap:anywhere}
body.saas.workspace114 .fe-map-detail-title .fe-pill{margin:0 4px 4px 0;font-size:11px}
body.saas.workspace114 .fe-map-detail-facts{margin:20px 0}
body.saas.workspace114 .fe-map-detail-facts>div{margin:0;padding:12px 0;border-bottom:1px solid var(--border)}
body.saas.workspace114 .fe-map-detail-facts dt{font-size:11px;color:var(--muted);margin:0 0 4px}
body.saas.workspace114 .fe-map-detail-facts dd{font-size:13px;line-height:1.55;margin:0;overflow-wrap:anywhere}
body.saas.workspace114 .fe-map-accuracy{padding:12px;border-radius:8px;background:var(--surface,#f5f8fb);font-size:12px;line-height:1.5;color:var(--muted)}
body.saas.workspace114 .fe-map-accuracy[data-quality=recorded]{background:#eaf7f0;color:#126443}
body.saas.workspace114 .fe-map-accuracy[data-quality=area],body.saas.workspace114 .fe-map-accuracy[data-quality=review]{background:#fff7df;color:#855900}
body.saas.workspace114 .fe-map-detail-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:18px 0 8px}
.fe-marker.fe-marker-selected span{outline:3px solid #fff;box-shadow:0 0 0 6px #16354e,0 4px 12px #0005}
body.saas.workspace114 .fe-map-split button:focus-visible,body.saas.workspace114 .fe-map-context button:focus-visible,body.saas.workspace114 .fe-map-context select:focus-visible{outline:3px solid #3975dc;outline-offset:2px}
@media(max-width:1150px){body.saas.workspace114 .fe-map-split{grid-template-columns:minmax(0,1fr) 280px}.fe-map-context .fe-map-tools{grid-template-columns:1fr 1fr}.fe-map-context .fe-map-navigation{grid-column:1/-1}.fe-map-split .fe-map{height:var(--map-height)}}
@media(max-width:850px){body.saas.workspace114 .fe-map-split,body.saas.workspace114 .fe-map-split.is-expanded{grid-template-columns:minmax(0,1fr);--map-height:360px}.fe-map-split>.fe-record-list{border-left:0;border-top:1px solid var(--border);max-height:450px}.fe-map-split.is-expanded{--map-height:65vh}.fe-map-split .fe-map{height:var(--map-height)}.fe-map-selection{padding:16px}.fe-map-detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.fe-map-detail-actions{flex-direction:row;flex-wrap:wrap}}
@media(max-width:480px){body.saas.workspace114 .fe-map-context .fe-map-tools{grid-template-columns:1fr}.fe-map-split{--map-height:300px}.fe-map-detail-facts{display:block}.fe-map-coverage-line{gap:6px 12px}.fe-map-no-pins{width:calc(100% - 72px);font-size:12px;padding:12px}.fe-map-context .fe-map-window{display:flex;overflow:auto;flex-wrap:nowrap}.fe-map-context .fe-map-window button{flex-shrink:0}}


body.saas.workspace114 #fieldRoot:has(.fe-map-context) .fe-head{margin-bottom:12px;gap:12px;align-items:center}
body.saas.workspace114 #fieldRoot:has(.fe-map-context) .fe-head p{display:none}
body.saas.workspace114 #fieldRoot:has(.fe-map-context) #fe-filters{padding:10px 12px;margin-bottom:12px;gap:8px}
body.saas.workspace114 .fe-map-context .fe-map-tools{grid-template-columns:minmax(150px,1fr) minmax(170px,1fr) auto;margin:0;gap:10px}
body.saas.workspace114 .fe-map-split .fe-map-register-head{flex-direction:row;padding:14px 16px}
body.saas.workspace114 .fe-map-split>.fe-map-browser,body.saas.workspace114 .fe-map-split>.fe-record-list{padding:0}
body.saas.workspace114 .fe-map-split .fe-map-browser>div{padding:0}
body.saas.workspace114 .fe-map-split .fe-map-selection{padding:16px}
body.saas.workspace114 .fe-map-context .fe-map-navigation{grid-column:auto}
@media(max-width:1050px){body.saas.workspace114 .fe-map-context .fe-map-tools{grid-template-columns:1fr 1fr}body.saas.workspace114 .fe-map-context .fe-map-navigation{grid-column:1/-1}}
@media(max-width:480px){body.saas.workspace114 .fe-map-context .fe-map-tools{grid-template-columns:1fr}}

body.saas.workspace114 .fe-map-context{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
body.saas.workspace114 .fe-map-context .fe-map-window{margin:0;flex:1 1 auto}
body.saas.workspace114 .fe-map-context .fe-map-tools{display:contents}
body.saas.workspace114 .fe-map-context .fe-map-coverage-line{flex-basis:100%;margin:0;min-height:28px}
body.saas.workspace114 .fe-map-context .fe-map-refine{position:relative;font-size:12px;order:0}
body.saas.workspace114 .fe-map-refine summary{border:1px solid var(--border);padding:9px 12px;border-radius:7px;background:var(--panel,#fff);cursor:pointer;list-style:revert}
body.saas.workspace114 .fe-map-refine[open] summary{border-color:#b28a0c}
body.saas.workspace114 .fe-map-refine-fields{position:absolute;right:0;top:calc(100% + 8px);z-index:700;width:440px;max-width:70vw;padding:16px;background:var(--panel,#fff);border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 32px #14233726;display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:850px){body.saas.workspace114 .fe-map-context .fe-map-window{flex-basis:100%}body.saas.workspace114 .fe-map-refine-fields{left:0;right:auto;width:380px;max-width:80vw}}
@media(max-width:480px){body.saas.workspace114 .fe-map-refine-fields{width:290px;max-width:80vw;grid-template-columns:1fr}}
body.saas.workspace114 .fe-cluster.fe-marker-selected{outline:3px solid #fff;box-shadow:0 0 0 5px #16354e}

.fe-maps-link135{margin:0 0 18px;padding:16px;border:1px solid var(--line,#dce3ea);border-radius:8px;background:var(--surface,#fff)}
.fe-maps-link135-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.fe-maps-link135-head a{white-space:nowrap}
.fe-maps-link135-entry{display:flex;align-items:flex-end;gap:10px}.fe-maps-link135-entry label{flex:1;min-width:0}.fe-maps-link135-entry input{width:100%}.fe-maps-link135-entry button{flex-shrink:0}
.fe-maps-link135 p{margin:10px 0 0;line-height:1.5}.fe-maps-link135-status:empty{display:none}.fe-maps-link135-status{color:var(--ink,#263a49);font-weight:500}
.fe-confirm-check,.fe-form .fe-confirm-check{display:flex;flex-direction:row;align-items:center;gap:10px}.fe-confirm-check input{width:20px;min-height:20px}
@media(max-width:650px){.fe-maps-link135-head,.fe-maps-link135-entry{align-items:stretch;flex-direction:column}.fe-maps-link135-head a{text-align:center}}

/* Request review: persisted venue, before any approval decision. */
.fe-review-venue-head136{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.fe-review-venue-head136 h3{margin:0!important}
.fe-review-location-state136{font-size:12px;font-weight:600;line-height:1.5;padding:4px 9px;border-radius:6px;background:#fff4d6;color:#805b00}
.fe-review-location-state136[data-confirmed="true"]{background:#e8f5ee;color:#176542}
.fe-request-review115 .fe-review-map136.fe-map{height:260px;min-height:260px;width:100%;border:1px solid var(--border);border-radius:8px;margin:12px 0;isolation:isolate}
.fe-review-venue136 .fe-actions{margin-top:12px;flex-wrap:wrap}
@media(max-width:650px){.fe-request-review115 .fe-review-map136.fe-map{height:220px;min-height:220px}}

/* Compact venue confirmation queue: no map or media loaded until opened. */
.fe-location-queue137 .fe-location-head137{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.fe-location-head137 h2{margin:0}.fe-location-head137 h2 span{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:6px;background:var(--bg);font-size:13px;font-weight:600}
.fe-location-list137{list-style:none;padding:0;margin:12px 0 0}.fe-location-list137 li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--border)}
.fe-location-list137 li>div{min-width:0}.fe-location-list137 strong,.fe-location-list137 small,.fe-location-list137 span{display:block;overflow-wrap:anywhere}.fe-location-list137 strong{font-size:14px;line-height:1.4}.fe-location-list137 small{font-size:12px;color:var(--muted);margin:4px 0}.fe-location-list137 span{font-size:13px}.fe-location-list137 button{flex-shrink:0}.fe-location-empty137{font-size:14px;color:var(--muted);margin:12px 0 0}
@media(max-width:650px){.fe-location-list137 li{align-items:flex-start;flex-direction:column;gap:10px}.fe-location-list137 button{align-self:flex-start}}
.fe-report-decision{scroll-margin-top:calc(var(--topbar-height,66px) + 16px)}


/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(images/layers.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(images/layers-2x.png);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(images/marker-icon.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
	-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
	-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
	-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
	transition: transform 0.3s ease-out, opacity 0.3s ease-in;
}

.leaflet-cluster-spider-leg {
	/* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */
	-webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
	-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
	-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
	transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
}



.cms-health{padding:20px;border-top:1px solid var(--border,#dce3ed);margin-top:16px;font-size:13px;line-height:1.5;min-width:0}
.cms-health h3{font-size:17px;margin:0}.cms-health h4{font-size:14px;margin:24px 0 8px}.cms-health p{color:var(--soft,#64748b);margin:8px 0}
.cms-health-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.cms-health-notice{padding:10px 12px;background:var(--surface-subtle,#f8fafc);border:1px solid var(--border,#dce3ed);border-radius:8px}
.cms-health-table{overflow:auto;max-width:100%}.cms-health table{width:100%;border-collapse:collapse;text-align:left}.cms-health td,.cms-health th{padding:9px 10px;border-bottom:1px solid var(--border,#dce3ed);white-space:nowrap}.cms-health th{font-weight:600;background:var(--surface-subtle,#f8fafc)}
.cms-health-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cms-health-check{display:flex;text-align:left;align-items:center;gap:12px;justify-content:space-between;padding:12px;border:1px solid var(--border,#dce3ed);background:var(--surface,#fff);color:inherit;border-radius:8px;font:inherit;cursor:pointer}.cms-health-check strong{font-size:18px}.cms-health-check:hover{border-color:var(--primary,#e4ad00)}
@media(max-width:600px){.cms-health{padding:12px}.cms-health-checks{grid-template-columns:1fr}.cms-health-heading{flex-wrap:wrap}}
/* Operational dashboard: bounded summary, detailed analysis on demand. */
body.saas[data-route=dashboard] .page-head{margin:8px 0 18px;min-height:0}body.saas[data-route=dashboard] .page-head h1{font-size:27px}body.saas[data-route=dashboard] .page-head p{margin:4px 0 0}body.saas[data-route=dashboard] .reliability-toolbar{margin:0;font-size:11px;min-height:18px}
body.saas .dashboard-command-compact>.panel-head{padding:0 0 10px}body.saas .dashboard-command-compact .command-title p{display:none}body.saas .dashboard-command-compact>.panel-body{display:grid;gap:14px}
body.saas .dashboard-command-compact .saas-six-kpis{gap:8px;margin:0}body.saas .dashboard-command-compact .saas-metric{padding:12px;min-height:104px}body.saas .dashboard-command-compact .saas-metric strong{font-size:27px;margin:8px 0 4px}body.saas .dashboard-command-compact .saas-metric span{font-size:11px;line-height:1.35}
body.saas .dashboard-work-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}body.saas .dashboard-work-grid>.panel,body.saas .dashboard-work-grid>.dashboard-daily-activity{margin:0;height:auto;min-height:0}body.saas .dashboard-work-grid .panel-head{padding:12px 16px}body.saas .dashboard-work-grid :is(h2,h3,h4){font-size:14px;margin:0}body.saas .dashboard-work-grid .panel-body{padding:12px 16px}body.saas .dashboard-work-grid .saas-attention-items .button{display:flex;justify-content:space-between;min-height:38px;background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:9px 0}body.saas .dashboard-work-grid .saas-attention-items .button:after{content:'→';color:var(--soft)}
body.saas .dashboard-field-alerts{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}body.saas .dashboard-field-alerts .button{min-height:26px;font-size:11px;padding:4px 8px;background:var(--surface-2)}body.saas .field-home-upcoming{display:grid;grid-template-columns:1fr;gap:0}body.saas .field-home-upcoming .button{display:flex;justify-content:space-between;gap:10px;text-align:left;border:0;border-radius:0;border-bottom:1px solid var(--line);padding:9px 0;min-width:0;width:100%;white-space:normal}body.saas .field-home-upcoming strong{font-size:12px;display:block;font-weight:550}body.saas .field-home-upcoming small{display:block;font-size:11px;color:var(--soft);margin-top:3px}
body.saas .dashboard-work-grid .dashboard-daily-activity{padding:14px 16px}body.saas .dashboard-work-grid .dashboard-activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:12px}body.saas .dashboard-work-grid .dashboard-action-card{border:0;border-right:1px solid var(--line);border-radius:0;background:none;min-height:74px;padding:8px}body.saas .dashboard-work-grid .dashboard-action-card:last-child{border-right:0}body.saas .dashboard-work-grid .dashboard-action-card strong{font-size:25px}body.saas .dashboard-work-grid .activity-card-label{font-size:11px}body.saas .dashboard-work-grid .activity-card-icon{display:none}body.saas .dashboard-link-queue .metric-list{max-height:220px;overflow:auto}body.saas .dashboard-link-queue .metric-line{padding:10px 0;min-width:0;gap:10px}body.saas .dashboard-link-queue .metric-line>span:first-child{min-width:0;flex:1}body.saas .dashboard-link-queue .metric-line strong{font-size:12px;white-space:normal}
body.saas[data-route=dashboard] .ui-disclosure{margin:0 0 10px}body.saas .dashboard-command-compact .ui-disclosure{margin:0}body.saas .dashboard-command-compact .dashboard-counter-help{margin:0}body.saas .dashboard-command-compact .dashboard-coverage-details .coverage-toolbar{display:flex;flex-wrap:wrap;gap:10px}body.saas .dashboard-coverage-details .coverage-filter-tabs{flex-wrap:wrap;overflow:visible}body.saas .dashboard-coverage-details .scrollable-metrics{max-height:320px;overflow:auto}
body.saas .dashboard-coverage-details .daily-product-button{display:grid;grid-template-columns:minmax(0,1fr) auto 16px;gap:14px;padding:10px 0;min-height:72px}body.saas .dashboard-coverage-details .daily-product-button .product-progress-copy{width:auto;min-width:0;max-width:none}body.saas .dashboard-coverage-details .daily-product-button>strong{position:static;max-width:none;text-align:right;font-size:12px}body.saas .dashboard-coverage-details .product-progress-copy>span{display:flex;flex-wrap:wrap;gap:8px}body.saas .dashboard-coverage-details .product-progress-track{max-width:240px}
body.saas .dashboard-insights{margin:14px 0;background:var(--surface)}body.saas .dashboard-insights>summary{padding:14px 16px;min-height:0;background:var(--surface)}body.saas .dashboard-insights>summary small{font-size:11px}body.saas .dashboard-insights .layout-grid.two{align-items:start;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}body.saas .dashboard-insights .layout-grid.two>.panel:only-child{grid-column:1/-1}body.saas .dashboard-insights .panel{min-height:0;height:auto}body.saas .dashboard-insights .metric-line{padding:10px;border-radius:0;min-height:40px}body.saas .dashboard-insights .panel-body{padding:12px}body.saas .dashboard-insights .metric-list{max-height:300px;overflow:auto}body.saas .dashboard-insights .dashboard-analysis-toolbar{display:block;padding:12px;margin-bottom:12px}body.saas .dashboard-insights .dashboard-analysis-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-width:0;width:100%}body.saas .dashboard-insights .dashboard-filter-label{display:grid;gap:5px;font-size:11px;min-width:0}body.saas .dashboard-insights select[data-dashboard-filter]{font-size:13px;width:100%;min-width:0;height:36px;padding:6px 28px 6px 8px}body.saas .dashboard-insights .dashboard-analysis-heading{display:none}body.saas .dashboard-insights .coverage-toolbar{flex-wrap:wrap}body.saas .dashboard-insights .coverage-filter-tabs{overflow:auto;max-width:100%}body.saas .dashboard-insights .cart-performance-row{flex-wrap:wrap}body.saas .dashboard-recent-details .panel{border:0;margin:0}body.saas .dashboard-recent-details .compact-posting-row{padding:10px}body.saas .dashboard-recent-details .panel-head{padding:10px 16px}
@media(max-width:1000px){body.saas .dashboard-insights .layout-grid.two{grid-template-columns:1fr}body.saas .dashboard-insights .dashboard-analysis-controls{grid-template-columns:repeat(2,minmax(0,1fr))}body.saas .dashboard-command-compact .saas-six-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){body.saas .dashboard-work-grid{grid-template-columns:1fr}body.saas .dashboard-command-compact .saas-six-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body.saas .dashboard-command-compact .saas-metric{min-height:96px}body.saas .dashboard-coverage-details .daily-product-button{grid-template-columns:minmax(0,1fr) 16px}body.saas .dashboard-coverage-details .daily-product-button>strong{grid-column:1;text-align:left}body.saas .dashboard-coverage-details .daily-product-button>svg{grid-column:2;grid-row:1}body.saas .dashboard-insights>summary{gap:8px}body.saas .dashboard-insights-summary{display:none}}
body.saas .dashboard-work-grid .panel-head{min-height:0;padding:10px 16px}body.saas .field-home-upcoming .button{flex-direction:row;align-items:center;min-height:52px;padding:8px 0}body.saas .field-home-upcoming{margin-top:6px}body.saas .dashboard-work-grid .dashboard-link-queue .metric-line{min-height:50px;padding:8px 0}body.saas .dashboard-command-compact .section-heading-with-count{margin-bottom:10px}body.saas .dashboard-command-compact .panel-head .button{min-height:28px;padding:4px 8px}body.saas[data-route=dashboard] .command-center{margin-top:0}body.saas[data-route=dashboard] .page-head{margin-bottom:8px}body.saas .dashboard-insights .dashboard-analysis-kpis{gap:6px}
body.saas .dashboard-work-column{display:grid;gap:14px;align-content:start;min-width:0}body.saas .dashboard-work-column>.panel,body.saas .dashboard-work-column>.dashboard-daily-activity{margin:0;height:auto;min-height:0}body.saas .dashboard-command-compact>.panel-head{min-height:0;padding:0 0 12px}body.saas[data-route=dashboard] .page-head{padding:0;min-height:0;margin:4px 0 12px}body.saas .dashboard-insights:not([open]){margin-bottom:10px}
/* Shared workspace design: existing controls and permissions, no external assets. */
body.saas{--color-bg:#f5f6f8;--color-surface:#fff;--color-surface-subtle:#f8fafb;--color-text:#142231;--color-text-secondary:#667588;--color-border:#e4e9ef;--sidebar-bg:#112635;--radius-lg:14px;--radius-md:10px;--canvas:var(--color-bg);--surface:var(--color-surface);--surface-2:var(--color-surface-subtle);--ink:var(--color-text);--ink-2:var(--color-text-secondary);--soft:var(--color-text-secondary);--line:var(--color-border);--workspace-accent:#efb600;--workspace-green:#17835c;--workspace-blue:#386bcc;--workspace-amber:#996513;--workspace-purple:#7860aa;--workspace-shadow:0 2px 5px #14223103,0 8px 24px #14223103;background:var(--color-bg)}
:root[data-theme=dark] body.saas{--color-bg:#101a24;--color-surface:#172635;--color-surface-subtle:#1c2e3e;--color-text:#ecf1f7;--color-text-secondary:#a7b5c4;--color-border:#304353;--sidebar-bg:#0c1c28;--workspace-green:#75d3a7;--workspace-blue:#93b7ff;--workspace-amber:#f4cc74;--workspace-purple:#bda8ec;--workspace-shadow:none}
body.saas .sidebar{background:var(--sidebar-bg)}
body.saas .sidebar-brand{padding:22px 18px;border-bottom:1px solid #ffffff0d}
body.saas .sidebar-brand .brand-mark{color:#f6c62c;font-size:24px;letter-spacing:-1px}
body.saas .nav-button{border-radius:9px;margin-bottom:3px;min-height:39px;transition:background .15s,color .15s}
body.saas .nav-button.active{background:#f4c12f;color:#172431;box-shadow:0 2px 6px #00000010}
body.saas .nav-button svg{width:19px;height:19px;stroke-width:1.8;flex-shrink:0}
body.saas .topbar{border-bottom:1px solid var(--color-border);background:var(--color-surface);box-shadow:none}
body.saas :is(.panel,.fe-panel,.table-panel){border-color:var(--color-border);border-radius:14px;box-shadow:var(--workspace-shadow)}
body.saas :is(.button,button.primary){border-radius:9px;font-weight:600;transition:background .15s,border-color .15s;gap:7px}
body.saas .button.primary{background:#f4c12f;border-color:#e7b226;color:#18212b;box-shadow:0 2px 3px #ac7d0010}
body.saas .button.primary:hover{background:#efb900;border-color:#d7a400}
body.saas :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:9px;border-color:var(--color-border);color:var(--color-text);background-color:var(--color-surface)}
body.saas :is(input,select,textarea):focus{outline:2px solid #dba700;outline-offset:2px}
body.saas :is(.page-head,.fe-head) h1{font-size:27px;font-weight:750;letter-spacing:-.8px;display:flex;align-items:center;gap:12px;line-height:1.25}
body.saas :is(.page-head,.fe-head) p{color:var(--color-text-secondary);font-size:13px;line-height:1.6}
body.saas .workspace-page-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;background:#fdf2cc;border:1px solid #f0d981;border-radius:12px;color:#8b6200}
:root[data-theme=dark] body.saas .workspace-page-icon{background:#40371e;border-color:#655324;color:#f4c64a}
body.saas .workspace-eyebrow{display:block;font-size:10px!important;font-weight:700;letter-spacing:1.2px;color:var(--color-text-secondary);margin-bottom:6px}
body.saas :is(table th,.fe-table-wrap th){font-size:10px;letter-spacing:.7px;font-weight:700;background:var(--color-surface-subtle);color:var(--color-text-secondary)}
body.saas :is(.badge,.fe-pill){border-radius:6px;font-weight:600}
body.saas [hidden]{display:none!important}
body.saas .dashboard-focus-kpis{gap:14px;margin-bottom:14px}
body.saas .dashboard-command-compact .saas-metric{position:relative;padding:17px 18px;min-height:133px;border:1px solid var(--color-border);border-radius:13px;box-shadow:var(--workspace-shadow);background:var(--color-surface);text-align:left}
body.saas .dashboard-command-compact .saas-metric>small{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--color-text-secondary);font-size:12px;min-height:32px}
body.saas .dashboard-command-compact .saas-metric strong{font-size:30px;letter-spacing:-1px;margin:10px 0 6px;line-height:1.15}
body.saas .dashboard-command-compact .saas-metric>span{font-size:10px}
body.saas :is(.dashboard-kpi-icon,.fe-workflow-kpi-icon){display:inline-flex!important;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;border-radius:9px;background:#eaf3ff;color:#386bcc}
body.saas .dashboard-kpi-tone-0 .dashboard-kpi-icon{background:#e9f6ed;color:#17835c}
body.saas .dashboard-kpi-tone-2 .dashboard-kpi-icon{background:#fff2d9;color:#996513}
body.saas .dashboard-kpi-tone-3 .dashboard-kpi-icon{background:#f3edfa;color:#7860aa}
body.saas .dashboard-command-compact>.panel-head{padding-bottom:12px}
body.saas .dashboard-work-grid{grid-template-columns:minmax(0,1.45fr) minmax(290px,1fr);gap:18px}
body.saas .dashboard-work-column{gap:18px}
body.saas .dashboard-work-grid .panel-head{padding:18px 20px;min-height:62px;border-bottom:1px solid var(--color-border)}
body.saas .dashboard-work-grid :is(h2,h3){font-size:15px;letter-spacing:-.2px;font-weight:700}
body.saas .dashboard-work-grid .panel-body{padding:12px 20px}
body.saas .dashboard-inbox .panel-head>svg{color:var(--color-text-secondary)}
body.saas .dashboard-inbox-tabs{display:flex;gap:6px;padding:14px 20px 10px;overflow:auto;scrollbar-width:thin}
body.saas .dashboard-inbox-tabs button{display:flex;align-items:center;gap:7px;white-space:nowrap;border:1px solid transparent;background:transparent;border-radius:8px;padding:8px 10px;color:var(--color-text-secondary);font-size:11px;font-weight:600;cursor:pointer}
body.saas .dashboard-inbox-tabs button[aria-pressed=true]{color:var(--color-text);background:var(--color-surface-subtle);border-color:var(--color-border)}
body.saas .dashboard-inbox-tabs button span{background:var(--color-border);color:var(--color-text);border-radius:5px;min-width:20px;padding:1px 5px;font-size:10px}
body.saas .dashboard-inbox-tabs button[aria-pressed=true] span{background:#f4c12f;color:#172431}
body.saas .dashboard-queue-scope{margin:0;padding:0 20px 8px;font-size:10px;color:var(--color-text-secondary)}
body.saas .dashboard-inbox-row{display:flex;align-items:center;gap:12px;padding:12px 20px;border-top:1px solid var(--color-border);min-height:72px}
body.saas .dashboard-inbox-record{flex:1;min-width:0;text-align:left;border:0;padding:3px 0;color:var(--color-text);background:none;cursor:pointer}
body.saas .dashboard-inbox-record strong{display:block;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
body.saas .dashboard-inbox-record small{display:block;font-size:10px;line-height:1.5;color:var(--color-text-secondary);margin-top:4px}
body.saas .dashboard-inbox-row>.button{flex-shrink:0;min-height:31px;font-size:11px;padding:5px 10px;background:var(--color-surface-subtle)}
body.saas .dashboard-queue-footer{padding:10px 20px;border-top:1px solid var(--color-border);text-align:right}
body.saas .dashboard-queue-footer>.button{border:0;color:var(--color-text-secondary);font-size:11px;min-height:28px}
body.saas .dashboard-queue-empty{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;padding:25px;min-height:180px;text-align:center}
body.saas .dashboard-queue-empty svg{color:var(--workspace-green)}
body.saas .dashboard-queue-empty strong{font-size:13px}
body.saas .dashboard-queue-empty span{font-size:12px;color:var(--color-text-secondary)}
body.saas .dashboard-preparation:has(.button){padding:0 0 12px}
body.saas .dashboard-preparation .saas-attention-items{display:flex;flex-wrap:wrap;gap:8px;margin:0}
body.saas .dashboard-preparation .saas-attention-items:empty{display:none}
body.saas .dashboard-preparation .button{font-size:11px;min-height:30px;background:var(--color-surface);border:1px solid var(--color-border)}
body.saas .dashboard-task-row{padding:13px 0;gap:12px;min-height:66px}
body.saas .dashboard-task-time{font-variant-numeric:tabular-nums;background:var(--color-surface-subtle);border:1px solid var(--color-border);padding:7px;border-radius:7px;font-weight:600;font-size:11px}
body.saas .field-home-upcoming .button{min-height:66px;padding:13px 0}
body.saas .field-home-upcoming strong{font-size:12px;font-weight:650}
body.saas .field-home-upcoming small{line-height:1.6;font-size:10px}
body.saas .dashboard-work-grid .dashboard-link-queue .panel-body{padding:18px 20px}
body.saas .dashboard-work-grid .dashboard-link-queue h4{font-size:14px}
body.saas .dashboard-work-grid .sp-dashboard .panel-head{display:block}
body.saas .dashboard-work-grid .sp-dashboard .panel-head p{font-size:11px;line-height:1.6;color:var(--color-text-secondary);margin:6px 0 14px}
body.saas .dashboard-work-grid .sp-dashboard .sp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
body.saas .dashboard-work-grid .sp-dashboard .sp-kpis>div{min-width:0;padding:12px}
body.saas .dashboard-work-grid .sp-dashboard .sp-kpis strong{font-size:23px}
body.saas .dashboard-work-grid .sp-dashboard .sp-account-scope-grid{grid-template-columns:1fr}
body.saas .dashboard-work-grid .sp-dashboard .sp-account-scope{min-width:0}
body.saas .fe-workflow-kpis{gap:14px}
body.saas .fe-workflow-kpi{padding:17px 18px;min-height:136px;border-top:1px solid var(--color-border);text-align:left}
body.saas .fe-workflow-kpi>span{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--color-text-secondary)}
body.saas .fe-workflow-kpi strong{font-size:30px;letter-spacing:-1px;margin:8px 0}
body.saas .fe-workflow-kpi small{font-size:10px;line-height:1.5}
body.saas .fe-workflow-kpi:nth-child(2) .fe-workflow-kpi-icon{background:#f3edfa;color:#7860aa}
body.saas .fe-workflow-kpi:nth-child(3) .fe-workflow-kpi-icon{background:#fff2d9;color:#996513}
body.saas .fe-workflow-kpi:nth-child(4) .fe-workflow-kpi-icon{background:#e9f6ed;color:#17835c}
body.saas .fe-workflow-columns{gap:18px}
body.saas .fe-workflow-list{padding:20px}
body.saas .fe-workflow-list .fe-toolbar{margin-bottom:10px}
body.saas .fe-workflow-list h2{font-size:16px;letter-spacing:-.3px}
body.saas .fe-workflow-row{padding:17px 0;gap:13px}
body.saas .fe-workflow-type{width:38px;height:38px;background:var(--color-surface-subtle);border:1px solid var(--color-border);border-radius:10px;color:var(--workspace-blue)}
body.saas .fe-workflow-row[data-type=Sponsorship] .fe-workflow-type{color:var(--workspace-green)}
body.saas .fe-workflow-row[data-type=Endorsement] .fe-workflow-type{color:var(--workspace-purple)}
body.saas .fe-workflow-row[data-type="Our Event"] .fe-workflow-type{color:var(--workspace-amber)}
body.saas .fe-workflow-info strong{font-size:13px;font-weight:650}
body.saas .fe-workflow-info small{font-size:11px;line-height:1.7}
body.saas .fe-workflow-next{font-size:11px;font-weight:600}
body.saas .fe-record-tabs{gap:8px;border-bottom:1px solid var(--color-border);margin-bottom:18px}
body.saas .fe-record-tabs .button{border-radius:8px 8px 0 0;font-size:12px;padding:10px 13px;gap:7px}
body.saas .fe-record-tabs .button[aria-selected=true]{background:#fff6d8;color:#795700;border-bottom:2px solid #e7b226}
:root[data-theme=dark] body.saas .fe-record-tabs .button[aria-selected=true]{background:#40371e;color:#f4c64a}
body.saas .fe-panel h2{font-size:16px;letter-spacing:-.3px}
body.saas .fe-next-step{border-top:3px solid #e7b226}
body.saas .fe-completion-steps li.is-done>span:first-child{color:var(--workspace-green)}
body.saas .fe-modal.fe-report-modal{width:calc(100vw - 48px)!important;max-width:1180px!important;border-radius:16px}
body.saas .fe-report-modal .modal-body{background:var(--color-bg);padding:22px;overflow-y:auto}
body.saas .fe-report-workspace{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px;align-items:start;min-width:0}
body.saas .fe-report-main{min-width:0;display:grid;gap:16px}
body.saas .fe-report-main>p{margin:0;line-height:1.6}
body.saas .fe-report-block{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:18px 20px;margin:0;min-width:0;box-shadow:var(--workspace-shadow)}
body.saas .fe-report-block legend{background:var(--color-surface);padding:0 6px;font-size:14px;font-weight:700;display:flex;align-items:center;gap:8px;color:var(--color-text)}
body.saas .fe-report-block legend svg{color:var(--workspace-amber)}
body.saas .fe-report-block .fe-form{gap:14px}
body.saas .fe-report-block label{font-size:12px;color:var(--color-text-secondary);gap:6px}
body.saas .fe-report-block textarea{min-height:74px;font-size:13px}
body.saas .fe-report-products{gap:8px}
body.saas .fe-report-block [data-report-product]{padding:14px 0;border-bottom:1px solid var(--color-border)}
body.saas .fe-report-block [data-report-product] h3{font-size:13px;margin:0 0 12px}
body.saas .fe-report-expense{background:var(--color-surface-subtle);padding:15px;border-radius:10px;border:1px solid var(--color-border);margin:14px 0}
body.saas .fe-report-aside{position:sticky;top:0;display:grid;gap:15px;min-width:0}
body.saas .fe-report-guide{padding:20px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);box-shadow:var(--workspace-shadow)}
body.saas .fe-report-guide:first-child{border-top:3px solid #e7b226}
body.saas .fe-report-guide h3{font-size:17px;line-height:1.4;letter-spacing:-.4px;margin:8px 0}
body.saas .fe-report-guide p{font-size:12px;line-height:1.6;color:var(--color-text-secondary)}
body.saas .fe-report-guide dl{display:grid;gap:5px;margin:18px 0}
body.saas .fe-report-guide dt{font-size:10px;color:var(--color-text-secondary);margin-top:6px}
body.saas .fe-report-guide dd{margin:0;font-size:12px;overflow-wrap:anywhere}
body.saas .fe-report-guide h4{font-size:12px;border-top:1px solid var(--color-border);padding-top:16px;margin:16px 0 10px}
body.saas .fe-report-guide ul{list-style:none;padding:0;display:grid;gap:12px;margin:0}
body.saas .fe-report-guide li{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--color-text-secondary)}
body.saas .fe-report-guide li span{font-size:16px;line-height:1}
body.saas .fe-report-guide li.is-done{color:var(--workspace-green)}
body.saas .fe-report-budget{font-size:24px;display:block;margin:12px 0}
body.saas .fe-report-modal .fe-form-more{padding:14px 18px;border:1px solid var(--color-border);background:var(--color-surface);border-radius:10px}
body.saas .fe-report-modal .fe-form-more>summary{font-size:12px;font-weight:600}
@media(max-width:1100px){body.saas .dashboard-work-grid{grid-template-columns:1fr}body.saas .dashboard-work-grid>.dashboard-work-column:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}body.saas .dashboard-work-column>[data-dashboard-social-slot]{grid-column:1/-1}body.saas .dashboard-work-grid .sp-dashboard .sp-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:780px){body.saas .fe-report-workspace{grid-template-columns:1fr}body.saas .fe-report-aside{position:static;grid-template-columns:1fr}body.saas .fe-report-modal .modal-body{padding:16px}body.saas .fe-modal.fe-report-modal{width:calc(100vw - 16px)!important}body.saas .fe-report-guide:first-child{padding:16px}body.saas .fe-report-guide dl{display:none}body.saas :is(.page-head,.fe-head) h1{font-size:24px}.workspace-page-icon{width:36px!important;height:36px!important;flex-basis:36px!important}}
@media(max-width:580px){body.saas .dashboard-work-grid>.dashboard-work-column:last-child{grid-template-columns:1fr}body.saas .dashboard-focus-kpis,body.saas .fe-workflow-kpis{gap:9px;grid-template-columns:repeat(2,minmax(0,1fr))}body.saas .dashboard-command-compact .saas-metric,body.saas .fe-workflow-kpi{min-height:138px;padding:13px}body.saas .dashboard-command-compact .saas-metric>small{align-items:start;font-size:11px;min-height:40px}body.saas .dashboard-kpi-icon{width:26px;height:26px;flex-basis:26px}body.saas .dashboard-inbox-row{padding:12px;gap:9px}body.saas .dashboard-inbox-tabs{padding:12px 10px;gap:2px}body.saas .dashboard-inbox-tabs button{font-size:10px;padding:7px}body.saas .dashboard-work-grid .panel-head{padding:16px}body.saas .dashboard-inbox-record small{font-size:10px}body.saas .dashboard-work-grid .sp-dashboard .sp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body.saas .fe-report-block{padding:14px 12px}body.saas .fe-report-products{grid-template-columns:repeat(3,minmax(0,1fr))}body.saas .fe-workflow-list{padding:16px}body.saas .fe-workflow-row{flex-wrap:wrap}body.saas .fe-workflow-next{margin-left:51px}body.saas .fe-report-modal .modal-footer{gap:8px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){body.saas :is(.button,.nav-button){transition:none}}

body.saas .dashboard-work-grid .panel-head h3{display:flex;align-items:center;gap:9px}body.saas .dashboard-work-grid .panel-head h3>svg{color:var(--workspace-amber);flex-shrink:0}
body.saas .dashboard-meta-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px}body.saas .dashboard-meta-bar .planning-reconciliation-note{margin:0;margin-left:auto}body.saas .dashboard-meta-bar .dashboard-preparation{padding:0}body.saas .dashboard-meta-bar .saas-attention-items{margin:0}
@media(max-width:580px){body.saas .fe-report-modal .modal-footer{display:grid;grid-template-columns:1fr 1fr}body.saas .fe-report-modal .modal-footer .button{min-height:40px;white-space:normal;height:auto;line-height:1.4}body.saas .fe-report-modal .modal-footer .button.primary{grid-column:1/-1}}

:root[data-theme=dark] body.saas :is(.button,.icon-button,.topbar-actions>button:not(.saas-team-button)):not(.primary):not(.danger):not(.success){background-color:var(--color-surface);color:var(--color-text);border-color:var(--color-border)}
:root[data-theme=dark] body.saas .button.primary{background:#f4c12f;color:#18212b;border-color:#e7b226}
body.saas select:not([multiple]){background-repeat:no-repeat;background-position:right 10px center;background-size:12px 12px}
/* Dashboard social results use the full workspace width, never a narrow side column. */
body.saas [data-dashboard-social-slot]{margin-top:20px;min-width:0}
body.saas [data-sp-dashboard-body]{padding:0 20px 20px;min-width:0}
body.saas .sp-dashboard-accounts{border-top:1px solid var(--color-border);margin-top:16px;padding-top:14px}
body.saas .sp-dashboard-accounts>summary{cursor:pointer;font-size:13px;font-weight:600}
body.saas .sp-dashboard-accounts .sp-scope-accounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.saas .sp-dashboard-accounts .sp-scope-account{min-width:0;width:100%}
body.saas .dashboard-link-queue .panel-head{align-items:start}
body.saas .dashboard-link-queue .panel-head p{margin:6px 0 0;max-width:32ch}
body.saas .dashboard-link-queue .metric-line{width:100%;text-align:left}
@media(max-width:1000px){body.saas .sp-dashboard-accounts .sp-scope-accounts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){body.saas [data-sp-dashboard-body]{padding:0 12px 16px}body.saas .sp-dashboard-accounts .sp-scope-accounts{grid-template-columns:1fr}body.saas .sp-dashboard .sp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Field overview: live locations beside concise operational queues. */
body.saas .fe-overview-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);gap:18px;align-items:start;margin-bottom:18px}
body.saas .fe-overview-map-panel{padding:20px;margin:0}
body.saas .fe-overview-map-panel h2{display:flex;align-items:center;gap:9px;font-size:17px;margin:6px 0 0}
body.saas .fe-overview-map-panel .fe-toolbar{justify-content:space-between;align-items:center;margin-bottom:12px}
body.saas .fe-overview-map-panel .fe-map{height:370px;min-height:300px;border-radius:12px;overflow:hidden;border:1px solid var(--color-border);background:var(--color-surface-subtle)}
body.saas .fe-overview-map-panel [data-map-summary]{min-height:20px;margin-bottom:12px}
body.saas .fe-overview-map-panel>.fe-help{font-size:11px;line-height:1.6;margin-bottom:0}
body.saas .fe-overview-map-legend{display:flex;flex-wrap:wrap;gap:10px 16px;margin:14px 0 5px;font-size:11px}
body.saas .fe-overview-map-legend>span{display:inline-flex;gap:6px;align-items:center;color:#2563eb}
body.saas .fe-overview-map-legend [data-type=Sponsorship]{color:#15803d}
body.saas .fe-overview-map-legend [data-type="Our Event"]{color:#dc2626}
body.saas .fe-overview-map-legend [data-type=Endorsement]{color:#7c3aed}
body.saas .fe-overview-action-stack{display:grid;gap:18px;min-width:0}
body.saas .fe-overview-action-stack .fe-panel{margin:0}
body.saas .fe-overview-action-stack .fe-empty{padding:16px 0;line-height:1.7;font-size:12px}
body.saas .fe-overview-action-stack .fe-workflow-list{max-height:360px;overflow:auto}
body.saas .fe-overview-action-stack .fe-workflow-row{flex-wrap:wrap;padding:13px 0}
body.saas .fe-overview-action-stack .fe-workflow-next{margin-left:51px}
body.saas .fe-workflow-guide{font-size:12px;line-height:1.7}
@media(max-width:1100px){body.saas .fe-overview-workspace{grid-template-columns:1fr}body.saas .fe-overview-action-stack{grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr))}body.saas .fe-overview-map-panel .fe-map{height:350px}}
@media(max-width:580px){body.saas .fe-overview-action-stack{grid-template-columns:1fr;gap:12px}body.saas .fe-overview-map-panel{padding:14px}body.saas .fe-overview-map-panel .fe-map{height:300px}body.saas .fe-overview-map-panel .fe-toolbar{flex-wrap:wrap}}

/* Compact metrics and activity rows with stable, centered icon alignment. */
body.saas .fe-workflow-kpi{min-height:108px;padding:12px 14px!important;gap:2px;border-top-width:2px!important;border-radius:12px}
body.saas .fe-workflow-kpi>span{font-size:12px;min-height:26px}
body.saas .fe-workflow-kpi strong{font-size:27px;line-height:1.15;margin:3px 0}
body.saas .fe-workflow-kpi small{font-size:10px;line-height:1.45}
body.saas .fe-workflow-kpi-icon{width:26px!important;height:26px!important;flex-basis:26px!important;border-radius:8px}
body.saas .fe-workflow-kpi-icon svg{width:16px;height:16px}
body.saas .fe-overview-map-panel .fe-map{height:320px;min-height:280px}
body.saas .fe-overview-action-stack .fe-workflow-list{padding:16px!important;max-height:300px}
body.saas .fe-overview-action-stack .fe-workflow-row{display:grid;grid-template-columns:30px minmax(0,1fr);gap:4px 10px;align-items:start;padding:11px 0}
body.saas .fe-workflow-type{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:8px}
body.saas .fe-workflow-type svg{width:17px;height:17px;flex:none}
body.saas .fe-overview-action-stack .fe-workflow-next{grid-column:2;margin:0;max-width:none;color:var(--workspace-blue);font-size:11px}
body.saas .fe-overview-action-stack .fe-workflow-info strong{font-size:12px;line-height:1.5}
body.saas .fe-overview-action-stack .fe-workflow-info small{font-size:10px;line-height:1.5;margin-top:3px}
body.saas .fe-overview-action-stack .fe-workflow-info small:last-child{margin-top:2px}
@media(max-width:580px){body.saas .fe-workflow-kpi{min-height:105px;padding:10px 12px!important}body.saas .fe-workflow-kpi strong{font-size:25px}body.saas .fe-overview-map-panel .fe-map{height:280px}}

/* Guided dossier: one current step, one primary action, details on demand. */
body.saas .fe-journey-tools{display:flex;align-items:flex-start;gap:12px;margin:0 0 20px;flex-wrap:wrap}
body.saas .fe-journey-tools>.button{font-size:12px;white-space:nowrap}
body.saas .fe-journey-tools>.button[aria-pressed=true]{background:var(--color-surface-subtle);border-color:#51718b}
body.saas .fe-dossier-details{flex:1;min-width:0;font-size:12px}
body.saas .fe-dossier-details>summary{cursor:pointer;padding:10px 4px;color:var(--color-text-secondary)}
body.saas .fe-dossier-details .fe-record-tabs{margin:8px 0 0;padding:12px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface);flex-wrap:wrap}
body.saas .fe-journey{border:1px solid var(--color-border);border-radius:16px;background:var(--color-surface);overflow:hidden}
body.saas .fe-journey-context{display:flex;gap:24px;align-items:center;flex-wrap:wrap;padding:16px 24px;border-bottom:1px solid var(--color-border);font-size:12px;color:var(--color-text-secondary)}
body.saas .fe-journey-context span{display:flex;align-items:center;gap:8px}
body.saas .fe-journey-steps{list-style:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;padding:20px 20px 0;margin:0}
body.saas .fe-journey-steps li{min-width:0}
body.saas .fe-journey-steps button{border:0;border-bottom:2px solid var(--color-border);background:transparent;color:var(--color-text-secondary);display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:8px;row-gap:5px;width:100%;text-align:left;padding:8px 6px 14px;cursor:pointer;min-height:64px;font:inherit}
body.saas .fe-journey-steps button>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--color-surface-subtle);font-size:11px;grid-row:1/3}
body.saas .fe-journey-steps button strong{font-size:11px;line-height:1.4;overflow-wrap:anywhere}
body.saas .fe-journey-steps button small{font-size:10px;line-height:1.4}
body.saas .fe-journey-steps button[aria-current=step]{border-color:#407665;color:var(--color-text)}
body.saas .fe-journey-steps button[aria-current=step]>span{background:#307660;color:#fff}
body.saas .fe-journey-steps button[aria-pressed=true]{background:var(--color-surface-subtle);border-radius:8px 8px 0 0}
body.saas .fe-journey-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:32px;padding:28px 26px}
body.saas .fe-journey-main{min-width:0}
body.saas .fe-journey-heading h2{font-size:23px;line-height:1.35;margin:8px 0 10px;letter-spacing:-.02em}
body.saas .fe-journey-heading p{font-size:13px;line-height:1.7;max-width:680px;color:var(--color-text-secondary);margin:0}
body.saas .fe-journey-next{display:flex;justify-content:space-between;gap:16px;align-items:center;background:var(--color-surface-subtle);padding:16px;border-radius:10px;margin:22px 0}
body.saas .fe-journey-next>div{display:grid;gap:6px;min-width:0}
body.saas .fe-journey-next small{font-size:9px;letter-spacing:.07em;color:var(--color-text-secondary)}
body.saas .fe-journey-next strong{font-size:12px;line-height:1.5}
body.saas .fe-journey-next>.button{flex-shrink:0;max-width:100%;white-space:normal;text-align:center;font-size:12px}
body.saas .fe-journey-checks{list-style:none;margin:20px 0;padding:0}
body.saas .fe-journey-checks li{display:flex;gap:12px;align-items:flex-start;padding:16px 0;border-bottom:1px solid var(--color-border)}
body.saas .fe-journey-checks li>div{flex:1;min-width:0;display:grid;gap:6px}
body.saas .fe-journey-checks li strong{font-size:13px}
body.saas .fe-journey-checks li small{font-size:12px;line-height:1.6;color:var(--color-text-secondary)}
body.saas .fe-journey-check{font-size:18px;line-height:1.2;color:var(--color-text-secondary)}
body.saas .fe-journey-check[data-done=true]{color:#307660}
body.saas .fe-journey-checks .button{font-size:11px;flex-shrink:0;max-width:100%;white-space:normal}
body.saas .fe-journey-side{border-left:1px solid var(--color-border);padding-left:24px;min-width:0}
body.saas .fe-journey-side h3{font-size:12px;margin:0 0 18px}
body.saas .fe-journey-side .fe-facts{display:block;margin:0}
body.saas .fe-journey-side dt{font-size:10px;color:var(--color-text-secondary);margin:0 0 5px;font-weight:500}
body.saas .fe-journey-side dd{font-size:12px;line-height:1.6;margin:0 0 16px;overflow-wrap:anywhere}
body.saas .fe-journey-help{border-top:1px solid var(--color-border);padding-top:16px;margin-top:20px;font-size:11px;color:var(--color-text-secondary);line-height:1.7}
body.saas .fe-journey-help summary{cursor:pointer;font-weight:600}
body.saas .fe-journey-brief h3,.fe-journey-main .fe-journey-tasks h3{font-size:14px;margin:20px 0 12px}
body.saas .fe-journey-brief .fe-facts,.fe-journey-main .fe-journey-day .fe-facts{grid-template-columns:130px minmax(0,1fr);font-size:12px}
body.saas .fe-journey-tasks ul{list-style:none;margin:12px 0;padding:0}
body.saas .fe-journey-tasks li{display:flex;align-items:flex-start;gap:10px;padding:14px 0;border-top:1px solid var(--color-border)}
body.saas .fe-journey-tasks li>div{flex:1;min-width:0;display:grid;gap:5px}
body.saas .fe-journey-tasks strong{font-size:12px;overflow-wrap:anywhere}
body.saas .fe-journey-tasks small{font-size:11px;color:var(--color-text-secondary)}
body.saas .fe-journey-tasks .is-done strong{text-decoration:line-through;color:var(--color-text-secondary)}
body.saas .fe-journey-blockers{list-style:none;padding:0;margin:16px 0}
body.saas .fe-journey-blockers li{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--color-border);padding:14px 0;font-size:12px}
body.saas .fe-section-metrics{gap:8px}
body.saas .fe-section-metric{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:12px 14px;min-height:48px;border-radius:8px}
body.saas .fe-section-metric>span{font-size:11px}
body.saas .fe-section-metric>strong{font-size:18px}
body.saas .fe-section-metric>small{display:none}
body.saas .fe-activity-card .fe-card-metrics{gap:12px;margin:0}
body.saas .fe-activity-card .fe-card-metrics strong{font-size:14px}
/* Report wizard keeps all form values while showing one section at a time. */
body.saas .fe-modal.fe-guided-report{max-width:820px!important;width:calc(100vw - 40px)!important}
body.saas .fe-guided-report .fe-report-workspace{display:block}
body.saas .fe-guided-report .fe-report-aside{display:none}
body.saas .fe-guided-report .fe-report-main{min-width:0}
body.saas .fe-guided-report .fe-report-main>p{display:none}
body.saas .fe-guided-report [hidden]{display:none!important}
body.saas .fe-guided-report .fe-report-block{border:0;padding:8px 0;border-radius:0}
body.saas .fe-guided-report .fe-report-block legend{font-size:15px;padding:0;margin-bottom:12px}
body.saas .fe-guided-report .fe-report-block label{font-size:12px}
body.saas .fe-guided-report .fe-report-block textarea{min-height:76px}
body.saas .fe-guided-report .fe-report-wizard-header{grid-column:1/-1;width:100%;border-bottom:1px solid var(--color-border);padding-bottom:16px}
body.saas .fe-report-wizard-header .fe-toolbar{margin:0 0 14px}
body.saas .fe-report-wizard-header strong{font-size:13px}
body.saas .fe-report-wizard-header small{font-size:11px;color:var(--color-text-secondary)}
body.saas .fe-report-wizard-header>p{font-size:12px;color:var(--color-text-secondary);line-height:1.6;margin:12px 0 0}
body.saas .fe-report-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;list-style:none;margin:0;padding:0}
body.saas .fe-report-steps button{display:flex;align-items:center;gap:8px;border:0;border-radius:8px;padding:10px;background:var(--color-surface-subtle);color:var(--color-text-secondary);font:inherit;font-size:11px;width:100%;cursor:pointer}
body.saas .fe-report-steps button>span{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:var(--color-surface);font-size:10px;flex-shrink:0}
body.saas .fe-report-steps button[aria-current=step]{color:var(--color-text);box-shadow:inset 0 0 0 1px #527e6f}
body.saas .fe-report-steps button[aria-current=step]>span{color:#fff;background:#307660}
body.saas .fe-report-steps button:disabled{opacity:.65;cursor:default}
body.saas .fe-report-review-section{margin:20px 0;padding-bottom:16px;border-bottom:1px solid var(--color-border);min-width:0}
body.saas .fe-report-review h3{font-size:17px;margin:0 0 12px}
body.saas .fe-report-review h4{font-size:13px;margin:0}
body.saas .fe-report-review .fe-facts{font-size:12px;grid-template-columns:130px minmax(0,1fr)}
body.saas .fe-report-review-section p,.fe-report-review-note{font-size:12px;line-height:1.7}
body.saas .fe-report-review table{font-size:11px;width:100%;min-width:0;table-layout:fixed}
body.saas .fe-report-review th,body.saas .fe-report-review td{padding:10px 5px;overflow-wrap:anywhere}
body.saas .fe-report-review th:first-child{width:30%}
@media(max-width:1000px){body.saas .fe-journey-layout{grid-template-columns:minmax(0,1fr) 190px;gap:20px;padding:24px 20px}body.saas .fe-journey-side{padding-left:18px}body.saas .fe-journey-steps button{grid-template-columns:1fr}body.saas .fe-journey-steps button>span{grid-row:auto}}
@media(max-width:700px){body.saas .fe-journey-layout{grid-template-columns:1fr}body.saas .fe-journey-side{border-left:0;border-top:1px solid var(--color-border);padding:20px 0 0}body.saas .fe-journey-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 14px 0}body.saas .fe-journey-steps button{grid-template-columns:24px minmax(0,1fr);padding:8px 6px;min-height:60px}body.saas .fe-journey-steps button>span{grid-row:1/3}body.saas .fe-journey-next{flex-direction:column;align-items:stretch}body.saas .fe-journey-checks li{flex-wrap:wrap}body.saas .fe-journey-checks li>.button{margin-left:30px}body.saas .fe-journey-context{gap:10px 20px;padding:14px;font-size:11px}body.saas .fe-journey-heading h2{font-size:20px}body.saas .fe-journey-tools{margin-bottom:14px}body.saas .fe-guided-report .modal-body{padding:16px}body.saas .fe-modal.fe-guided-report{width:calc(100vw - 16px)!important}body.saas .fe-report-steps button{padding:8px;gap:5px;font-size:10px}body.saas .fe-report-steps{gap:5px}body.saas .fe-report-review .fe-facts,body.saas .fe-journey-brief .fe-facts{grid-template-columns:1fr;gap:5px}body.saas .fe-report-review .fe-facts dd{margin-bottom:12px}body.saas .fe-report-review th,body.saas .fe-report-review td{font-size:10px;padding:8px 4px}}


body.saas .fe-report-save-inline{font-size:11px!important;color:var(--color-text-secondary);margin-top:8px!important}body.saas .fe-report-review-expenses{list-style:none;padding:0;margin:16px 0 0;font-size:12px}body.saas .fe-report-review-expenses li{padding:12px;border:1px solid var(--color-border);border-radius:8px;margin-top:10px;background:var(--color-surface)}body.saas .fe-report-review-expenses strong{font-size:12px}body.saas .fe-report-review-expenses p{margin:7px 0}body.saas .fe-report-review-expenses small{display:block;color:var(--color-text-secondary);line-height:1.6}body.saas .fe-report-review-expenses a{display:block;margin-top:8px;font-size:11px}

body.saas .fe-report-review-checks{border:1px solid var(--color-border);border-radius:10px;padding:16px;margin:16px 0;background:var(--color-surface-subtle)}body.saas .fe-report-review-checks h3{font-size:14px;margin:0 0 8px}body.saas .fe-report-review-checks .button{font-size:12px}body.saas .fe-report-review-checks .fe-notice{margin-top:14px;font-size:12px;line-height:1.6}
/* Everyday dossier and submitted report reading. */
body.saas .fe-dossier-next{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;border:1px solid var(--color-border);border-left:3px solid #397762;border-radius:12px;background:var(--color-surface);margin-bottom:12px}
body.saas .fe-dossier-next>div{min-width:0}body.saas .fe-dossier-next small{font-size:9px;letter-spacing:.09em;color:var(--color-text-secondary)}body.saas .fe-dossier-next h2{font-size:18px;margin:5px 0;line-height:1.4}body.saas .fe-dossier-next p{font-size:12px;line-height:1.6;color:var(--color-text-secondary);margin:5px 0 0}body.saas .fe-dossier-next>.button{flex-shrink:0;white-space:normal;text-align:center;max-width:240px}
body.saas .fe-step-disclosure{margin:0 0 22px;font-size:12px}body.saas .fe-step-disclosure>summary{width:max-content;cursor:pointer;padding:8px 2px;color:var(--color-text-secondary)}body.saas .fe-step-disclosure[open]{border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface);padding:12px}body.saas .fe-step-detail{padding:12px 16px}body.saas .fe-step-detail>h3{font-size:16px}body.saas .fe-step-detail .fe-journey-tasks{display:none}body.saas .fe-dossier-brief>p{font-size:14px;line-height:1.7;white-space:pre-wrap}body.saas .fe-dossier-context{border-top:1px solid var(--color-border);margin-top:16px;padding-top:4px}body.saas .fe-dossier-brief .fe-journey-tasks{margin-top:24px}
body.saas .fe-report-document{border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface);overflow:hidden;max-width:1100px;margin:0 auto 24px}body.saas .fe-report-document-head{padding:28px 32px;background:var(--color-surface-subtle);border-bottom:1px solid var(--color-border)}body.saas .fe-report-document-head h2{font-size:25px;line-height:1.35;letter-spacing:-.02em;margin:10px 0;overflow-wrap:anywhere}body.saas .fe-report-document-head>p{font-size:12px;line-height:1.6;color:var(--color-text-secondary);margin:0}body.saas .fe-report-meta{display:grid;grid-template-columns:1.4fr 1fr;gap:24px;margin-top:24px}body.saas .fe-report-meta>div{display:grid;gap:6px;min-width:0}body.saas .fe-report-meta small{font-size:9px;letter-spacing:.06em;color:var(--color-text-secondary)}body.saas .fe-report-meta strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}body.saas .fe-report-meta span{font-size:12px;color:var(--color-text-secondary);overflow-wrap:anywhere}
body.saas .fe-report-document-body{padding:0 32px}body.saas .fe-report-section{padding:26px 0;border-bottom:1px solid var(--color-border);min-width:0}body.saas .fe-report-section:last-child{border-bottom:0}body.saas .fe-report-section h3{font-size:16px;margin:0 0 18px}body.saas .fe-report-section .fe-toolbar{align-items:center;margin-bottom:18px;justify-content:space-between}body.saas .fe-report-section .fe-toolbar h3{margin:0}body.saas .fe-report-section .fe-toolbar>.button,body.saas .fe-report-section .fe-link{font-size:11px}
body.saas .fe-report-metrics{display:flex;gap:40px;margin:0 0 24px;padding:16px 20px;border-radius:8px;background:var(--color-surface-subtle);flex-wrap:wrap}body.saas .fe-report-metrics>div{display:flex;flex-direction:column-reverse;gap:6px}body.saas .fe-report-metrics dt{font-size:11px;color:var(--color-text-secondary);font-weight:400}body.saas .fe-report-metrics dd{font-size:26px;font-weight:650;margin:0;line-height:1.2}body.saas .fe-report-narrative{display:grid;grid-template-columns:1fr 1fr;gap:28px}body.saas .fe-report-narrative h4{font-size:11px;color:var(--color-text-secondary);font-weight:500;margin:0 0 8px}body.saas .fe-report-narrative p{font-size:14px;line-height:1.8;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}body.saas .fe-report-section .fe-facts{font-size:12px;grid-template-columns:130px minmax(0,1fr);margin:18px 0 0}body.saas .fe-report-section .fe-facts dd{white-space:pre-wrap}
body.saas .fe-report-balance{display:grid;grid-template-columns:1fr 1fr;gap:32px;border-bottom:1px solid var(--color-border)}body.saas .fe-report-balance>.fe-report-section{border-bottom:0}body.saas .fe-report-product-list article{padding:14px 0;border-top:1px solid var(--color-border)}body.saas .fe-report-product-list article>strong{font-size:12px;line-height:1.6}body.saas .fe-report-product-list dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:14px 0 0}body.saas .fe-report-product-list dt{font-size:10px;font-weight:400;color:var(--color-text-secondary)}body.saas .fe-report-product-list dd{margin:6px 0 0;font-size:15px;font-weight:600;overflow-wrap:anywhere}
body.saas .fe-report-money{margin:0}body.saas .fe-report-money>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;align-items:baseline}body.saas .fe-report-money dt{font-size:11px;color:var(--color-text-secondary);font-weight:400}body.saas .fe-report-money dd{font-size:13px;margin:0;text-align:right;font-weight:600;overflow-wrap:anywhere}body.saas .fe-report-money>div:last-child{border-top:1px solid var(--color-border);margin-top:6px;padding-top:14px}body.saas .fe-report-money>div:last-child dd{font-size:18px}body.saas .fe-report-note{font-size:11px;line-height:1.7;color:var(--color-text-secondary);margin:12px 0;overflow-wrap:anywhere}
body.saas .fe-report-receipts{font-size:11px;margin:20px 0 0}body.saas .fe-report-receipts>summary,body.saas .fe-report-revisions summary{cursor:pointer;font-weight:600}body.saas .fe-report-receipts ul{list-style:none;padding:0;margin:12px 0 0}body.saas .fe-report-receipts li{padding:14px 0;border-top:1px solid var(--color-border)}body.saas .fe-report-receipts li>div{display:flex;justify-content:space-between;gap:14px;line-height:1.6}body.saas .fe-report-receipts li>div>span{white-space:nowrap}body.saas .fe-report-receipts p{margin:7px 0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}body.saas .fe-report-receipts small{display:block;color:var(--color-text-secondary);line-height:1.7}body.saas .fe-report-receipts a,body.saas .fe-report-receipts code{display:block;margin-top:7px;font-size:11px;overflow-wrap:anywhere}body.saas .fe-report-receipts .is-voided{opacity:.65}
body.saas .fe-report-files{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0;margin:0}body.saas .fe-report-files li{display:flex;gap:12px;border:1px solid var(--color-border);border-radius:8px;padding:14px;min-width:0}body.saas .fe-report-files li>span{color:var(--color-text-secondary)}body.saas .fe-report-files li>div{min-width:0;display:grid;gap:7px;flex:1}body.saas .fe-report-files small{font-size:9px;color:var(--color-text-secondary)}body.saas .fe-report-files strong,body.saas .fe-report-files a,body.saas .fe-report-files code{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
body.saas .fe-report-pending{list-style:none;margin:10px 0 20px;padding:0;font-size:12px}body.saas .fe-report-pending li{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid var(--color-border);padding:12px 0}body.saas .fe-report-decision .fe-pill{white-space:normal;text-align:center}body.saas .fe-report-decision .fe-actions:empty{display:none}body.saas .fe-report-revisions{font-size:12px}body.saas .fe-report-revisions>details{margin-top:14px;padding:12px;background:var(--color-surface-subtle);border-radius:8px}
@media(max-width:1000px){body.saas .fe-report-balance{grid-template-columns:1fr;gap:0}body.saas .fe-report-balance>.fe-report-section:first-child{border-bottom:1px solid var(--color-border)}}
@media(max-width:650px){body.saas .fe-dossier-next{flex-direction:column;align-items:stretch;padding:16px;gap:16px}body.saas .fe-dossier-next>.button{max-width:none}body.saas .fe-report-document-head{padding:20px 16px}body.saas .fe-report-document-head h2{font-size:20px}body.saas .fe-report-meta{grid-template-columns:1fr;gap:18px;margin-top:20px}body.saas .fe-report-document-body{padding:0 16px}body.saas .fe-report-section{padding:22px 0}body.saas .fe-report-narrative,body.saas .fe-report-files{grid-template-columns:1fr;gap:18px}body.saas .fe-report-metrics{padding:14px;gap:18px}body.saas .fe-report-metrics dd{font-size:23px}body.saas .fe-report-metrics dt{font-size:10px}body.saas .fe-report-product-list dt{font-size:9px}body.saas .fe-report-product-list dd{font-size:13px}body.saas .fe-report-section .fe-facts{grid-template-columns:1fr;gap:5px}body.saas .fe-report-section .fe-facts dd{margin-bottom:12px}body.saas .fe-report-decision .fe-toolbar{flex-wrap:wrap;gap:12px}body.saas .fe-report-pending li{flex-wrap:wrap}body.saas .fe-report-pending li>span{flex:1;min-width:160px}body.saas .fe-step-detail{padding:6px}body.saas .fe-step-disclosure .fe-journey-steps{padding:8px 0}body.saas .fe-report-money dd{max-width:52%}}

@media(max-width:650px){body.saas .fe-journey-tools{display:block}body.saas .fe-journey-tools>.button{margin-bottom:6px}body.saas .fe-dossier-details .fe-record-tabs{flex-wrap:nowrap;overflow-x:auto;gap:8px;padding:8px;max-width:100%}body.saas .fe-dossier-details .fe-record-tabs .button{flex-shrink:0;width:auto;min-height:44px;font-size:11px;padding:7px 9px;gap:6px}}
/* Keep daily work compact; completed work remains available on demand. */
body.saas .fe-activity-cards{align-items:start;gap:14px}
body.saas .fe-activity-card{padding:16px;gap:9px}
body.saas .fe-activity-card .fe-card-top{justify-content:flex-end}
body.saas .fe-card-top:has(.fe-type){justify-content:space-between}
body.saas .fe-activity-card .fe-card-next{margin-top:0;padding-top:10px}
body.saas .fe-activity-card h2{font-size:16px;line-height:1.4}
body.saas .fe-activity-card>.button{min-height:36px}
body.saas .fe-step-disclosure{margin:0 0 16px}
body.saas .fe-dossier-brief .fe-journey-tasks{margin-top:18px}
body.saas .fe-completed-tasks{margin-top:12px;font-size:12px}
body.saas .fe-completed-tasks>summary{cursor:pointer;color:var(--color-text-secondary);padding:8px 0}
body.saas .fe-journey-tasks li{padding:12px 0}
body.saas .fe-journey-tasks li>div{min-width:0}
body.saas .fe-journey-tasks li strong{overflow-wrap:anywhere}
body.saas .fe-report-decision{scroll-margin-top:84px}
@media(max-width:650px){body.saas .fe-journey-tasks li{flex-wrap:wrap}body.saas .fe-journey-tasks li>div{flex:1;min-width:160px}body.saas .fe-journey-tasks li>.button{margin-left:30px}}
/* Maps remain stable while local selections change. */
body.saas .fe-map-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
body.saas .fe-map-tools>label{min-width:0}
body.saas .fe-map-navigation,body.saas .fe-map-tools [data-map-selection]{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
body.saas .fe-map-tools [data-map-selection]:empty{display:none}
body.saas .fe-map-tools [data-map-selection] strong{font-size:12px}
body.saas .fe-map-tools [data-map-selection] small{font-size:11px;color:var(--color-text-secondary)}
body.saas .fe-map-navigation .button{font-size:11px}
body.saas .fe-map-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:12px 0;font-size:10px;color:var(--color-text-secondary)}
body.saas .fe-map-legend>span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#7c3aed;margin-right:5px}
body.saas .fe-map-legend>[data-type=Shooting]:before{background:#2563eb}body.saas .fe-map-legend>[data-type=Sponsorship]:before{background:#15803d}body.saas .fe-map-legend>[data-type="Our Event"]:before{background:#dc2626}
body.saas .fe-map-register-head{display:flex;flex-direction:column;gap:6px;padding:4px 0 12px;font-size:13px}
body.saas .fe-map-register-head small{font-size:11px;color:var(--color-text-secondary)}
body.saas .fe-map-split.is-expanded{grid-template-columns:1fr}
body.saas .fe-map-split.is-expanded .fe-map{height:min(65dvh,720px);min-height:360px}
body.saas .fe-map-split.is-expanded .fe-record-list{max-height:none}
body.saas .fe-map-split.is-expanded .fe-map-records{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:8px}
@media(max-width:650px){body.saas .fe-map-tools{grid-template-columns:1fr}body.saas .fe-map-split.is-expanded .fe-map{height:55dvh;min-height:300px}}
body.saas .fe-activity-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-weight:500;color:var(--color-text-secondary);overflow-wrap:anywhere;user-select:text}
body.saas .fe-card-top .fe-activity-code{margin-left:auto}
body.saas .fe-record-head .fe-activity-code{margin-left:8px}
/* Keep the common video actions within reach; advanced controls remain optional. */
body.saas .posting-quick-search{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,220px);gap:10px;align-items:end}
body.saas .posting-quick-search>label{min-width:0}
body.saas .posting-quick-search :is(input,select){width:100%;min-width:0}
body.saas .posting-display-options{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0}
body.saas .posting-display-options>label{display:flex;align-items:center;gap:8px}
body.saas .posting-display-options select{width:auto;min-width:80px}
@media(max-width:650px){body.saas .posting-quick-search{grid-template-columns:minmax(0,1fr) minmax(100px,135px);gap:8px}body.saas .posting-quick-search>label:first-child{grid-column:auto}body.saas .posting-quick-search :is(input,select){min-height:42px}body.saas .posting-display-options{gap:8px}.posting-display-options .segmented{max-width:100%;flex-wrap:wrap}body.saas[data-route=postings] .page-head{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;min-height:0;margin:8px 0 16px;padding:0}body.saas[data-route=postings] .page-head h1{font-size:23px;margin:0}body.saas[data-route=postings] .page-head .workspace-page-icon{width:34px;height:34px;flex-basis:34px}body.saas[data-route=postings] .page-head .page-actions{margin:0}body.saas[data-route=postings] .posting-commandbar{margin-bottom:10px}}
/* Compact workspace: shared hierarchy, readable rows, quieter surfaces. */
body.saas{--sidebar-width:220px;--radius-lg:8px;--radius-md:6px;--workspace-shadow:none}
body.saas .sidebar-brand{padding:16px 14px;min-height:68px}
body.saas .sidebar-brand .brand-mark{font-size:22px}
body.saas :is(.nav-item,.nav-button){border-radius:5px;min-height:36px;margin-bottom:1px;font-size:13px}
body.saas :is(.nav-item,.nav-button).active{background:#243d4e;color:#ffdf73;box-shadow:inset 2px 0 #efb600}
body.saas .nav-item.active svg{color:inherit}
body.saas .nav-group-label{font-size:10px;letter-spacing:1px}
body.saas .content{padding:20px 24px 32px}
body.saas :is(.page-head,.fe-head){margin:0 0 18px;min-height:0;gap:12px}
body.saas :is(.page-head,.fe-head) h1{font-size:23px;font-weight:650;letter-spacing:-.4px;gap:9px}
body.saas :is(.page-head,.fe-head) p{font-size:12px;line-height:1.5;margin:6px 0 0}
body.saas .workspace-page-icon{width:30px;height:30px;flex-basis:30px;border-radius:6px;background:transparent;border-color:transparent;color:var(--color-text-secondary)}
body.saas :is(.panel,.fe-panel,.table-panel){border-radius:8px;box-shadow:none}
body.saas :is(.button,button.primary){border-radius:6px;font-weight:550;min-height:34px}
body.saas .button.primary{box-shadow:none}
body.saas :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:6px}
body.saas table th{letter-spacing:.25px;font-size:11px;font-weight:600;text-transform:none}
body.saas :is(.badge,.fe-pill){font-size:11px;font-weight:550;border-radius:4px}
body.saas .dashboard-focus-kpis{gap:0;border:1px solid var(--color-border);border-radius:8px;overflow:hidden;background:var(--color-surface)}
body.saas .dashboard-command-compact .saas-metric{border:0;border-right:1px solid var(--color-border);border-radius:0;box-shadow:none;min-height:92px;padding:12px 16px}
body.saas .dashboard-command-compact .saas-metric:last-child{border-right:0}
body.saas .dashboard-command-compact .saas-metric>small{min-height:0;font-size:12px}
body.saas .dashboard-command-compact .saas-metric strong{font-size:27px;margin:7px 0 4px;letter-spacing:-.5px}
body.saas .dashboard-kpi-icon{width:20px;height:20px;flex-basis:20px;background:transparent!important;color:var(--color-text-secondary)!important}
body.saas .dashboard-kpi-icon svg{width:17px;height:17px}
body.saas .dashboard-work-grid{gap:14px}
body.saas .dashboard-work-column{gap:14px}
body.saas .dashboard-work-grid .panel-head{min-height:0;padding:12px 16px}
body.saas .dashboard-work-grid :is(h2,h3){font-size:14px;font-weight:600}
body.saas .dashboard-inbox-tabs{padding:8px 12px;gap:3px}
body.saas .dashboard-inbox-row{min-height:60px;padding:10px 16px}
body.saas .cms-analysis-page{display:grid;gap:16px;min-width:0}
body.saas .cms-analysis-controls{background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;padding:12px;min-width:0}
body.saas .cms-analysis-metrics{gap:0;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);overflow:hidden;margin:0}
body.saas .cms-analysis-metrics>:is(.sp-command-kpi,.saas-metric,.kpi-card,div){border:0;border-right:1px solid var(--color-border);border-radius:0;box-shadow:none;padding:12px 16px;min-height:88px;background:transparent}
body.saas .cms-analysis-metrics>:last-child{border-right:0}
body.saas .cms-analysis-metrics :is(.sp-kpi-label,small){font-size:12px}
body.saas .cms-analysis-metrics .sp-kpi-label i{width:20px;height:20px;background:transparent;color:var(--color-text-secondary)}
body.saas .cms-analysis-metrics .sp-kpi-label i svg{width:16px;height:16px}
body.saas .cms-analysis-metrics :is(.sp-command-kpi,.saas-metric,.kpi-card,div)>strong,body.saas .cms-analysis-metrics .kpi-value{font-size:26px;line-height:1.2;letter-spacing:-.4px;margin:7px 0 4px;font-variant-numeric:tabular-nums}
body.saas .cms-analysis-metrics .sp-command-kpi>small{font-size:11px;line-height:1.5}
body.saas :is(.cms-analysis-section,.cms-analysis-details){min-width:0;box-shadow:none;border-radius:8px;margin:0}
body.saas .cms-analysis-section{border:1px solid var(--color-border);background:var(--color-surface)}
body.saas .cms-analysis-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--color-border)}
body.saas .cms-analysis-section-head :is(h2,h3,p){margin:0}
body.saas .cms-analysis-caption{font-size:12px;color:var(--color-text-secondary);line-height:1.5;margin:5px 0 0!important}
body.saas .cms-analysis-section-body{padding:12px 16px;min-width:0}
body.saas .cms-analysis-section-body>.table-scroll{margin:0}
body.saas .cms-analysis-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none}
body.saas .cms-analysis-details>summary::after{content:'›';font-size:20px;color:var(--color-text-secondary);transition:transform .15s}
body.saas .cms-analysis-details[open]>summary::after{transform:rotate(90deg)}
body.saas .cms-analysis-details>summary::-webkit-details-marker{display:none}
body.saas .cms-analysis-details>summary>span:first-child{flex:1;min-width:0}
body.saas .cms-analysis-details>summary :is(strong,small){display:block}
body.saas .cms-analysis-details>summary strong{font-size:13px;font-weight:550}
body.saas .cms-analysis-details>summary small{font-size:12px;color:var(--color-text-secondary);margin-top:4px;font-weight:400}
body.saas .cms-analysis-count{font-variant-numeric:tabular-nums;font-size:12px;color:var(--color-text-secondary)}
body.saas .cms-analysis-details-body{padding:4px 0 12px;min-width:0}
body.saas .cms-analysis-controls .cms-analysis-filter-details{border:0;border-top:1px solid var(--color-border);border-radius:0;background:transparent;padding:0;margin-top:8px}
body.saas .cms-analysis-controls .cms-analysis-filter-details>summary{padding:9px 2px}
body.saas .cms-analysis-controls .cms-analysis-filter-details>summary>span:first-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body.saas .cms-analysis-controls .cms-analysis-filter-details>summary small{margin:0}
body.saas .cms-analysis-breakdowns{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
body.saas .cms-report-export-scope{font-size:12px;color:var(--color-text-secondary);margin:0;line-height:1.5}
body.saas .cms-analysis-section.sp-surface{padding:16px}
body.saas .cms-analysis-section .sp-section-head{margin-bottom:12px}
body.saas .cms-analysis-section :is(h2,h3){font-size:14px;font-weight:600}
body.saas .cms-analysis-details{background:var(--color-surface);border:1px solid var(--color-border);padding:0 16px}
body.saas .cms-analysis-details>summary{cursor:pointer;font-size:13px;font-weight:550;padding:13px 0;color:var(--color-text)}
body.saas .cms-analysis-details[open]>summary{border-bottom:1px solid var(--color-border);margin-bottom:12px}
body.saas .cms-analysis-details .sp-surface{border:0;border-radius:0;padding:8px 0;box-shadow:none}
body.saas .cms-analysis-exceptions{padding:10px 12px;border-left:2px solid var(--color-warning,#b18a19);border-radius:0;background:var(--color-surface-subtle);font-size:12px}
body.saas .cms-analysis-page .sp-workspace-tabs{gap:18px;margin:0}
body.saas .cms-analysis-page .sp-workspace-context{margin:0}
body.saas .cms-analysis-page .sp-workspace-chart svg{max-height:210px}
body.saas .cms-analysis-page .sp-comparison-table td{padding:10px 12px;font-size:12px}
@media(max-width:980px){body.saas .content{padding:18px 20px 28px}}
@media(max-width:900px){body.saas .dashboard-command-compact .saas-metric:nth-child(2){border-right:0}body.saas .dashboard-command-compact .saas-metric:nth-child(-n+2){border-bottom:1px solid var(--color-border)}}
@media(max-width:1000px) and (min-width:601px){body.saas .cms-analysis-metrics.saas-five-metrics>:nth-child(3){border-right:0}body.saas .cms-analysis-metrics.saas-five-metrics>:nth-child(-n+3){border-bottom:1px solid var(--color-border)}}
@media(max-width:800px){body.saas .cms-analysis-metrics.sp-command-kpis>:nth-child(2n){border-right:0}body.saas .cms-analysis-metrics.sp-command-kpis>:nth-child(-n+2){border-bottom:1px solid var(--color-border)}body.saas .cms-analysis-breakdowns{grid-template-columns:1fr}}
@media(max-width:760px){body.saas .cms-analysis-metrics.sp-kpis>:nth-child(2n){border-right:0}body.saas .cms-analysis-metrics.sp-kpis>:nth-child(-n+2){border-bottom:1px solid var(--color-border)}}
@media(max-width:600px){body.saas .content{padding:14px 12px 24px}body.saas :is(.page-head,.fe-head) h1{font-size:22px}body.saas :is(.button,button.primary),body.saas .button.small{min-height:42px}body.saas .dashboard-command-compact .saas-metric{padding:11px 12px;min-height:90px}body.saas .cms-analysis-page{gap:12px}body.saas .cms-analysis-controls{padding:10px}body.saas .cms-analysis-section.sp-surface{padding:12px}body.saas .cms-analysis-metrics>:is(.sp-command-kpi,.saas-metric,.kpi-card,div){padding:11px 12px}body.saas .cms-analysis-details{padding:0 12px}body.saas .cms-analysis-section-head{padding:12px;align-items:start;flex-wrap:wrap}body.saas .cms-analysis-section-body{padding:12px}body.saas .cms-analysis-metrics.saas-five-metrics>:nth-child(2n){border-right:0}body.saas .cms-analysis-metrics.saas-five-metrics>:not(:last-child){border-bottom:1px solid var(--color-border)}}
@media(max-width:600px){body.saas .cms-analysis-page .sp-workspace-chart text{font-size:28px}body.saas .fe-report-trend .fe-trend-tick,body.saas .fe-report-trend .fe-trend-value{font-size:24px}}
@media(max-width:700px){body.saas .fe-section-metrics{gap:4px;scrollbar-width:thin}body.saas .fe-section-metric{flex:0 0 auto;width:auto;min-height:42px;padding:8px 10px;gap:8px}body.saas .fe-section-metric>span{font-size:12px}body.saas .fe-operational-register tr[data-priority=attention] td:first-child{box-shadow:none}}
/* Narrow workspaces keep the authorized next action in the visible row. */
body.saas .fe-operational-register td:nth-child(3)>:is(span,small){white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.5}
body.saas .fe-filterbar{gap:8px;margin-bottom:10px}
body.saas .fe-filterbar>label{gap:3px}
body.saas .fe-filterbar :is(input,select){min-height:34px;padding-top:5px;padding-bottom:5px}
body.saas .cms-cart-coverage{white-space:normal;display:inline-flex;flex-wrap:wrap;gap:3px 7px;text-align:left;line-height:1.45}
body.saas .cms-cart-coverage b{font-size:11px;font-weight:600}
body.saas .cms-cart-coverage>span{font-size:11px}
body.saas .calendar-day-task-stage.neutral{color:var(--color-text-secondary);background:var(--color-surface-subtle)}
body.saas .cms-audit-status{font-size:12px;line-height:1.6;padding:8px 12px;background:var(--color-surface-subtle);border:1px solid var(--color-border);border-radius:7px}
body.saas .cms-audit-status.error{color:var(--workspace-amber)}
body.saas .sp-data-state{display:flex;align-items:start;gap:12px;justify-content:space-between;border:1px solid var(--color-border);border-left:3px solid var(--workspace-blue);border-radius:7px;padding:11px 14px;background:var(--color-surface);margin:10px 0 14px;line-height:1.5}
body.saas .sp-data-state:is(.stale,.missing){border-left-color:var(--workspace-amber)}
body.saas .sp-data-state strong{font-size:13px;display:block}
body.saas .sp-data-state p{margin:4px 0 0;font-size:12px;color:var(--color-text-secondary)}
body.saas .sp-data-state>span{flex-shrink:0;font-size:13px;font-variant-numeric:tabular-nums;font-weight:600}
body.saas .cms-capacity-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
body.saas .cms-capacity-summary>div{padding:12px;border:1px solid var(--color-border);border-radius:7px;line-height:1.5}
body.saas .cms-capacity-summary strong,body.saas .cms-capacity-summary small{display:block}
body.saas .cms-capacity-summary small{font-size:12px;color:var(--color-text-secondary);margin-top:5px}
body.saas .cms-capacity-summary .attention{border-left:3px solid var(--workspace-amber)}
@media(max-width:1100px){
 body.saas .fe-filterbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:6px 8px}
 body.saas .fe-filterbar>label{min-width:0!important}
 body.saas .fe-filterbar>label:first-child{grid-column:span 2}
 body.saas .fe-filterbar>.fe-overview-filter-pop{grid-column:span 2;align-self:center}
 body.saas .fe-filterbar>.button{min-height:34px;padding:5px 10px}
 body.saas .fe-filterbar .fe-overview-filter-pop>div{top:100%;max-width:calc(100vw - 48px);z-index:5}
 body.saas .fe-record-list .fe-operational-register{overflow:visible}
 body.saas .fe-record-list .fe-operational-register table{display:block;min-width:0;table-layout:auto}
 body.saas .fe-record-list .fe-operational-register thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap;display:block}
 body.saas .fe-record-list .fe-operational-register tbody{display:block}
 body.saas .fe-record-list .fe-operational-register tr{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.3fr) minmax(0,1fr);gap:8px 14px;border-bottom:1px solid var(--color-border);padding:11px 14px;background:var(--color-surface)}
 body.saas .fe-record-list .fe-operational-register td{display:block;padding:0;border:0;min-width:0;box-shadow:none;font-size:12px}
 body.saas .fe-record-list .fe-operational-register td:before{display:none!important}
 body.saas .fe-record-list .fe-operational-register td:nth-child(1){grid-column:1/3;grid-row:1}
 body.saas .fe-record-list .fe-operational-register td:nth-child(6){grid-column:3;grid-row:1;text-align:right}
 body.saas .fe-record-list .fe-operational-register td:nth-child(2){grid-column:1;grid-row:2}
 body.saas .fe-record-list .fe-operational-register td:nth-child(3){grid-column:2;grid-row:2}
 body.saas .fe-record-list .fe-operational-register td:nth-child(4){grid-column:3;grid-row:2}
 body.saas .fe-record-list .fe-operational-register td:nth-child(5){grid-column:1;grid-row:3}
 body.saas .fe-record-list .fe-operational-register td:nth-child(7){grid-column:2/4;grid-row:3;align-self:center}
 body.saas .fe-record-list .fe-operational-register td:nth-child(4):before,body.saas .fe-record-list .fe-operational-register td:nth-child(5):before{display:block!important;content:attr(data-label);font-size:10px;color:var(--color-text-secondary);margin-bottom:2px}
 body.saas .fe-register-title{white-space:normal;line-height:1.45;display:block}
 body.saas .fe-register-brief{display:none!important}
 body.saas .fe-register-action{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:40px;white-space:normal;padding:6px 10px;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface-subtle);text-decoration:none}
 body.saas .fe-register-action:disabled{opacity:.65;cursor:wait}
}
@media(max-width:600px){
 body.saas .fe-filterbar{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.saas .fe-filterbar>label:first-child{grid-column:1/-1}
 body.saas .fe-filterbar>.fe-overview-filter-pop{grid-column:1/-1}
 body.saas .fe-record-list .fe-operational-register tr{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:12px}
 body.saas .fe-record-list .fe-operational-register td:nth-child(1){grid-column:1;grid-row:1}
 body.saas .fe-record-list .fe-operational-register td:nth-child(6){grid-column:2;grid-row:1}
 body.saas .fe-record-list .fe-operational-register td:nth-child(2){grid-column:1;grid-row:2}
 body.saas .fe-record-list .fe-operational-register td:nth-child(3){grid-column:2;grid-row:2}
 body.saas .fe-record-list .fe-operational-register td:nth-child(4){grid-column:1;grid-row:3}
 body.saas .fe-record-list .fe-operational-register td:nth-child(5){grid-column:2;grid-row:3}
 body.saas .fe-record-list .fe-operational-register td:nth-child(7){grid-column:1/-1;grid-row:4}
 body.saas .sp-data-state{flex-wrap:wrap;gap:6px}
 body.saas .cms-capacity-summary{grid-template-columns:1fr}
}
/* Workspace 113: desktop workbench, shared with the existing mobile navigation. */
body.saas.workspace113{--sidebar-width:224px;--color-bg:#f5f7fa;--color-surface:#fff;--color-surface-subtle:#f8fafc;--color-text:#243949;--color-text-secondary:#5e7082;--color-border:#dfe6ed;--sidebar-bg:#142d3a;--color-primary:#f2be18;--color-primary-hover:#dfad0d;--color-primary-subtle:#fff8de;--workspace-accent:#f2be18;--workspace-blue:#3566ac;--workspace-green:#23765a;--workspace-amber:#916014;--workspace-purple:#765ca0;--workspace113-focus:#3566ac;font-size:14px;line-height:1.5}
:root[data-theme=dark] body.saas.workspace113{--color-bg:#101c27;--color-surface:#182a38;--color-surface-subtle:#1e3242;--color-text:#edf3f7;--color-text-secondary:#adbfce;--color-border:#354c5c;--sidebar-bg:#102330;--color-primary-subtle:#3e361b;--workspace-blue:#9fc3ff;--workspace-green:#87d5b1;--workspace-amber:#edc77c;--workspace-purple:#c6b5ee;--workspace113-focus:#9fc3ff}
body.saas.workspace113 :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--workspace113-focus);outline-offset:3px}
body.saas.workspace113 .sidebar-brand{min-height:76px;padding:18px 16px;border-bottom:1px solid rgb(255 255 255 / 9%)}
body.saas.workspace113 .sidebar :is(.nav-item,.nav-button){min-height:37px;margin-bottom:2px;padding:8px 12px;gap:10px;color:#c6d3dc;border-radius:5px;font-size:13px;font-weight:450;transition:background-color .15s,color .15s}
body.saas.workspace113 .sidebar :is(.nav-item,.nav-button):hover{background:#213e4d;color:#fff;transform:none}
body.saas.workspace113 .sidebar :is(.nav-item,.nav-button).active{background:#274553;color:#ffe08a;box-shadow:inset 3px 0 var(--workspace-accent);font-weight:600}
body.saas.workspace113 .sidebar-footer{padding:13px 14px;border-top:1px solid rgb(255 255 255 / 9%)}
body.saas.workspace113 .global-search{max-width:560px;height:36px;border-color:var(--color-border);background:var(--color-surface-subtle);box-shadow:none}
body.saas.workspace113 .global-search input{font-size:13px}
body.saas.workspace113 .content{max-width:1920px;padding:22px 26px 32px}
body.saas.workspace113 :is(.page-head,.fe-head){align-items:center;gap:12px;margin:0 0 16px}
body.saas.workspace113 :is(.page-head,.fe-head) h1{font-size:24px;line-height:1.25;font-weight:650;letter-spacing:-.55px}
body.saas.workspace113 :is(.page-head,.fe-head) p{font-size:13px;line-height:1.5;margin-top:5px;color:var(--color-text-secondary)}
body.saas.workspace113 :is(.button,button.primary){min-height:36px;padding:7px 12px;font-size:13px;line-height:1.45;font-weight:550;box-shadow:none}
body.saas.workspace113 .button.primary{background:var(--color-primary);border-color:var(--color-primary);color:#26303a}
body.saas.workspace113 .button.primary:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover);transform:none}
body.saas.workspace113 :is(.panel-body.padded,.calendar-day-workspace){padding:14px 16px}
body.saas.workspace113 :is(.badge,.fe-pill){font-size:12px;font-weight:550;line-height:1.4;padding:3px 7px;border-radius:4px}
body.saas.workspace113 .smart-filter-panel>summary{min-height:42px;padding:10px 12px;font-size:13px;gap:10px}
body.saas.workspace113 .smart-filter-panel>summary small{font-size:12px;line-height:1.5}
body.saas.workspace113 :is(.posting-quick-search,.approval-toolbar,.fe-filterbar,.sp-filters) :is(input,select){min-height:36px;font-size:13px}
body.saas.workspace113 :is(.posting-quick-search,.approval-toolbar,.fe-filterbar,.sp-filters)>label{font-size:12px;line-height:1.5}
body.saas.workspace113 :is(.table-pagination,.compact-list-overview,.compact-list-pagination,.fe-pagination){font-size:12px;font-variant-numeric:tabular-nums}
body.saas.workspace113 .workspace-posting-list113{border:1px solid var(--color-border);border-radius:7px;overflow:hidden;background:var(--color-surface)}
body.saas.workspace113 .workspace-posting-row113{min-height:78px;border-color:var(--color-border);background:var(--color-surface)}
body.saas.workspace113 .workspace-posting-row113:hover{background:var(--color-surface-subtle)}
body.saas.workspace113 .workspace-posting-row113 .compact-posting-main{grid-template-columns:108px minmax(0,1fr) minmax(92px,auto) 14px;gap:12px;min-height:78px;padding:11px 14px}
body.saas.workspace113 .workspace-posting-row113 .compact-posting-date{font-size:12px;font-weight:500;line-height:1.5;font-variant-numeric:tabular-nums}
body.saas.workspace113 .workspace-posting-row113 .compact-posting-date small{display:block;font-size:12px;font-weight:400;line-height:1.45;margin-top:3px}
body.saas.workspace113 .workspace-posting-row113 .compact-posting-copy strong{font-size:13px;font-weight:650;white-space:normal;overflow-wrap:anywhere}
body.saas.workspace113 .workspace-posting-row113 .compact-posting-copy small{font-size:12px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
body.saas.workspace113 .workspace-posting-row113 .compact-posting-statuses{max-width:174px;gap:4px;flex-wrap:wrap}
body.saas.workspace113 .workspace-posting-row113 .compact-posting-actions{max-width:180px;gap:6px;padding:10px 12px 10px 0;flex-wrap:wrap}
body.saas.workspace113 .workspace-posting-row113 .compact-posting-actions .button{min-height:34px;padding:6px 10px;font-size:12px}
body.saas.workspace113 .approval-queue .workspace-posting-row113{border-left:2px solid color-mix(in srgb,var(--workspace-accent) 55%,var(--color-border))}
body.saas.workspace113 .workspace-status-strip113{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);overflow:hidden;margin-bottom:16px}
body.saas.workspace113 .workspace-status-strip113 .approval-filter-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;min-height:76px;margin:0;padding:13px 16px;border:0;border-right:1px solid var(--color-border);border-radius:0;background:transparent;box-shadow:none;transform:none}
body.saas.workspace113 .workspace-status-strip113 .approval-filter-card:last-child{border-right:0}
body.saas.workspace113 .workspace-status-strip113 .approval-filter-card::before{inset:auto 14px 0;height:3px;width:auto;border-radius:2px 2px 0 0;background:transparent}
body.saas.workspace113 .workspace-status-strip113 .approval-filter-card:hover{background:var(--color-surface-subtle);transform:none;box-shadow:none}
body.saas.workspace113 .workspace-status-strip113 .approval-filter-card[aria-pressed=true]{background:var(--color-primary-subtle)}
body.saas.workspace113 .workspace-status-strip113 .approval-filter-card[aria-pressed=true]::before{background:var(--workspace-accent)}
body.saas.workspace113 .workspace-status-strip113 .workspace-status-label113{font-size:12px;font-weight:550;color:var(--color-text);gap:7px;line-height:1.45}
body.saas.workspace113 .workspace-status-strip113 .workspace-status-count113{grid-row:1;align-self:center;font:650 26px/1.2 var(--font-body);font-variant-numeric:tabular-nums;letter-spacing:-.5px}
body.saas.workspace113 .workspace-status-strip113 .workspace-status-context113{grid-column:1/-1;font-size:12px;line-height:1.45;white-space:normal;overflow:visible;color:var(--color-text-secondary)}
body.saas.workspace113 .workspace-calendar-toolbar113{display:flex;flex-flow:row wrap;align-items:center;gap:12px;min-height:62px;padding:10px 14px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;box-shadow:none}
body.saas.workspace113 .workspace-calendar-toolbar113>.workspace-calendar-date113{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;flex:1;min-width:220px}
body.saas.workspace113 .workspace-calendar-date113 strong{font-size:16px;font-weight:650;letter-spacing:-.25px}
body.saas.workspace113 .workspace-calendar-date113>div:first-child{display:grid;gap:2px}
body.saas.workspace113 .workspace-calendar-date113 .eyebrow{font-size:12px;line-height:1.4;letter-spacing:0;text-transform:none;color:var(--color-text-secondary)}
body.saas.workspace113 .workspace-calendar-nav113{display:flex;align-items:center;gap:4px}
body.saas.workspace113 .workspace-calendar-toolbar113 .tabs{background:var(--color-surface-subtle);padding:3px;border:1px solid var(--color-border);border-radius:6px}
body.saas.workspace113 .workspace-calendar-actions113{position:relative;flex:0 0 auto}
body.saas.workspace113 .workspace-calendar-actions113>summary{display:flex;align-items:center;gap:7px;min-height:36px;padding:7px 10px;border:1px solid var(--color-border);border-radius:6px;font-size:12px;font-weight:550;cursor:pointer;list-style:none;color:var(--color-text);background:var(--color-surface)}
body.saas.workspace113 .workspace-calendar-actions113>summary::-webkit-details-marker{display:none}
body.saas.workspace113 .workspace-calendar-actions113>summary::after{content:'⌄';font-size:14px;color:var(--color-text-secondary)}
body.saas.workspace113 .workspace-calendar-menu113{position:absolute;z-index:25;top:calc(100% + 6px);right:0;display:grid;gap:4px;width:240px;max-width:calc(100vw - 40px);padding:6px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;box-shadow:0 8px 24px rgb(15 35 50 / 12%)}
body.saas.workspace113 .workspace-calendar-menu113 .button{justify-content:flex-start;width:100%;text-align:left;white-space:normal;border-color:transparent;font-size:12px;min-height:38px}
body.saas.workspace113 .saas-day-layout{grid-template-columns:minmax(0,1fr) 280px;gap:14px;align-items:start}
body.saas.workspace113 .saas-day-summary .calendar-day-kpi{min-height:76px;padding:11px 12px}
body.saas.workspace113 .saas-day-summary .calendar-day-kpi span{font-size:12px;line-height:1.45}
body.saas.workspace113 .saas-hour{grid-template-columns:45px minmax(0,1fr);gap:10px;padding:6px 0}
body.saas.workspace113 .saas-hour h4{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}
body.saas.workspace113 .saas-hour .calendar-day-task-row{min-height:58px;padding:8px 9px;border-color:transparent;border-radius:5px;box-shadow:none;background:var(--color-surface)}
body.saas.workspace113 .saas-hour .calendar-day-task-row:hover{background:var(--color-surface-subtle);border-color:var(--color-border)}
body.saas.workspace113 .calendar-day-task-main strong{font-size:13px;font-weight:600}
body.saas.workspace113 .calendar-day-task-main small{font-size:12px;line-height:1.45}
body.saas.workspace113 .calendar-day-task-stage{font-size:12px;line-height:1.4}
body.saas.workspace113 .workspace-calendar-count-context113{display:block;font-size:12px;line-height:1.45;font-weight:400;color:var(--color-text-secondary);margin-top:3px}
body.saas.workspace113 .workspace-notice113{display:flex;align-items:flex-start;gap:16px;margin:0 0 16px;padding:13px 16px;background:var(--color-surface);border:1px solid var(--color-border);border-left:3px solid var(--workspace-blue);border-radius:7px;color:var(--color-text);box-shadow:none;line-height:1.5}
body.saas.workspace113 .workspace-notice-copy113{flex:1;min-width:0}
body.saas.workspace113 .workspace-notice-actions113{display:grid;gap:6px;flex:0 0 auto;max-width:240px}
body.saas.workspace113 .workspace-notice113 strong{font-size:13px;font-weight:650}
body.saas.workspace113 .workspace-notice113 :is(p,small){font-size:12px;line-height:1.55;color:var(--color-text-secondary)}
body.saas.workspace113 .workspace-notice113 p{margin:4px 0 0}
body.saas.workspace113 .workspace-notice113 .button{flex-shrink:0;font-size:12px;min-height:34px;white-space:normal;text-align:center;justify-content:center}
body.saas.workspace113 .dashboard-command-compact .saas-metric{min-height:82px;padding:11px 15px}
body.saas.workspace113 .dashboard-command-compact .saas-metric strong{font-size:26px;line-height:1.15;margin:6px 0 3px;font-weight:650;font-variant-numeric:tabular-nums}
body.saas.workspace113 .dashboard-command-compact .saas-metric :is(small,span){font-size:12px;line-height:1.45}
body.saas.workspace113 .dashboard-inbox-record strong{font-size:13px;font-weight:600}
body.saas.workspace113 .dashboard-inbox-record small{font-size:12px;line-height:1.45}
body.saas.workspace113 :is(.dashboard-task-time,.dashboard-queue-scope,.dashboard-insights>summary small){font-size:12px;line-height:1.45}
body.saas.workspace113 .fe-section-metrics{gap:3px;padding-bottom:0;min-height:42px;border-bottom:1px solid var(--color-border)}
body.saas.workspace113 .fe-section-metric{padding:9px 11px;gap:8px;min-height:40px;margin-bottom:-1px;border-radius:5px 5px 0 0}
body.saas.workspace113 .fe-section-metric>span{font-size:12px}
body.saas.workspace113 .fe-section-metric>strong{font-size:12px;font-variant-numeric:tabular-nums;background:var(--color-surface-subtle)}
body.saas.workspace113 .fe-section-metric[aria-pressed=true]{border-color:var(--color-border);border-bottom-color:var(--color-surface);background:var(--color-surface);box-shadow:inset 0 2px var(--workspace-accent)}
body.saas.workspace113 .fe-operational-register th{font-size:12px;letter-spacing:0;padding:10px 12px;font-weight:550;background:var(--color-surface-subtle)}
body.saas.workspace113 .fe-operational-register td{font-size:13px;line-height:1.5;padding:12px}
body.saas.workspace113 .fe-operational-register td :is(small,.fe-register-code,.fe-register-brief){font-size:12px;line-height:1.5}
body.saas.workspace113 .fe-register-action{font-size:12px;line-height:1.45}
body.saas.workspace113 .cms-analysis-metrics>:is(.sp-command-kpi,.saas-metric,.kpi-card,div){min-height:82px;padding:11px 15px}
body.saas.workspace113 .cms-analysis-metrics :is(.sp-command-kpi,.saas-metric,.kpi-card,div)>strong,body.saas.workspace113 .cms-analysis-metrics .kpi-value{font-size:26px;line-height:1.2;font-weight:650;margin:6px 0 3px}
body.saas.workspace113 .cms-analysis-metrics :is(small,.sp-kpi-label){font-size:12px;line-height:1.45}
body.saas.workspace113 .cms-analysis-page .sp-comparison-table :is(td,th){font-size:12px;line-height:1.5;padding:10px 12px;font-variant-numeric:tabular-nums}
@media(min-width:1600px){body.saas.workspace113 .content{padding-right:32px;padding-left:32px}body.saas.workspace113 .workspace-posting-row113 .compact-posting-main{grid-template-columns:118px minmax(0,1fr) minmax(112px,auto) 14px}}
@media(max-width:1100px){body.saas.workspace113 .topbar{padding-right:18px;padding-left:18px;gap:10px}body.saas.workspace113 .content{padding:18px 20px 28px}body.saas.workspace113 .workspace-posting-row113 .compact-posting-main{grid-template-columns:96px minmax(0,1fr) 14px;gap:10px}body.saas.workspace113 .workspace-posting-row113 .compact-posting-copy{grid-column:2;grid-row:1}body.saas.workspace113 .workspace-posting-row113 .compact-posting-date{grid-row:1/3}body.saas.workspace113 .workspace-posting-row113 .compact-posting-statuses{grid-column:2;grid-row:2;justify-content:flex-start;max-width:none}body.saas.workspace113 .workspace-posting-row113 .compact-posting-open{grid-column:3;grid-row:1/3}body.saas.workspace113 .workspace-status-strip113 .approval-filter-card{padding:12px;gap:3px 8px}body.saas.workspace113 .workspace-status-strip113 .workspace-status-count113{font-size:24px}body.saas.workspace113 .fe-record-list .fe-operational-register td{padding:0;font-size:12px}body.saas.workspace113 .fe-record-list .fe-operational-register td:nth-child(4):before,body.saas.workspace113 .fe-record-list .fe-operational-register td:nth-child(5):before{font-size:12px}}
@media(max-width:980px){body.saas.workspace113 .saas-day-layout{grid-template-columns:minmax(0,1fr)}body.saas.workspace113 .saas-day-summary{grid-template-columns:repeat(2,minmax(0,1fr))}body.saas.workspace113 .workspace-status-strip113{grid-template-columns:repeat(2,minmax(0,1fr))}body.saas.workspace113 .workspace-status-strip113 .approval-filter-card:nth-child(2){border-right:0}body.saas.workspace113 .workspace-status-strip113 .approval-filter-card:nth-child(-n+2){border-bottom:1px solid var(--color-border)}}
@media(max-width:700px){body.saas.workspace113 .content{padding:16px 12px 24px}body.saas.workspace113 .topbar{padding:9px 12px;gap:8px}body.saas.workspace113 :is(.page-head,.fe-head){align-items:flex-start;flex-wrap:wrap;margin-bottom:14px}body.saas.workspace113 :is(.page-head,.fe-head) h1{font-size:22px}body.saas.workspace113 :is(.page-head,.fe-head) p{font-size:12px}body.saas.workspace113 .workspace-calendar-toolbar113{gap:10px;padding:12px;align-items:stretch}body.saas.workspace113 .workspace-calendar-toolbar113>.workspace-calendar-date113{width:100%;flex-basis:100%;justify-content:space-between;min-width:0}body.saas.workspace113 .workspace-calendar-toolbar113 .tabs{flex:1;width:auto}body.saas.workspace113 .workspace-calendar-actions113{align-self:center}body.saas.workspace113 .workspace-calendar-menu113{width:220px}body.saas.workspace113 .workspace-posting-row113{grid-template-columns:minmax(0,1fr)}body.saas.workspace113 .workspace-posting-row113 .compact-posting-main{grid-template-columns:80px minmax(0,1fr) 14px;padding:12px;gap:8px}body.saas.workspace113 .workspace-posting-row113 .compact-posting-actions{max-width:none;padding:0 12px 12px;justify-content:flex-end}body.saas.workspace113 .workspace-notice113{flex-wrap:wrap;gap:10px;padding:12px}body.saas.workspace113 .workspace-notice-actions113{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;width:100%;flex-basis:100%}body.saas.workspace113 .workspace-status-strip113 .approval-filter-card{min-height:82px}body.saas.workspace113 .saas-day-summary{grid-template-columns:minmax(0,1fr)}body.saas.workspace113 .saas-hour{grid-template-columns:39px minmax(0,1fr);gap:6px}body.saas.workspace113 .calendar-day-task-stage{white-space:normal}body.saas.workspace113 .fe-section-metric{min-height:44px}}
@media(pointer:coarse),(max-width:600px){body.saas.workspace113 :is(.button,button.primary,.tab,.icon-button,.icon-action,.language-button,.profile-button,summary){min-height:44px}body.saas.workspace113 :is(.icon-button,.icon-action){min-width:44px}body.saas.workspace113 .workspace-posting-row113 .compact-posting-actions :is(.button,.icon-action){min-height:44px}body.saas.workspace113 .workspace-posting-row113 .compact-posting-actions .icon-action{min-width:44px}body.saas.workspace113 .workspace-calendar-nav113 .button,body.saas.workspace113 .workspace-calendar-toolbar113 .tab,body.saas.workspace113 .workspace-calendar-actions113>summary{min-height:44px}body.saas.workspace113 .sidebar :is(.nav-item,.nav-button){min-height:44px}body.saas.workspace113 :is(.posting-quick-search,.approval-toolbar,.fe-filterbar,.sp-filters) :is(input,select){min-height:44px}}
@media(pointer:coarse),(max-width:600px){body.saas.workspace113 :is(.workspace-notice113,.workspace-calendar-menu113) .button,body.saas.workspace113 .smart-filter-panel>summary{min-height:44px}}
@media(prefers-reduced-motion:reduce){body.saas.workspace113 *,body.saas.workspace113 *::before,body.saas.workspace113 *::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Scheduled video ledger116. Calendar targets stay a separate disclosure. */
body.saas .calendar-videos116{min-width:0;background:var(--color-surface);color:var(--color-text)}
body.saas .calendar-videos116>header{padding:16px 18px 10px}body.saas .calendar-videos116 h3{font-size:16px;margin:0 0 5px;line-height:1.4}body.saas .calendar-videos116>header p{font-size:12px;line-height:1.55;color:var(--color-text-secondary);margin:0;max-width:80ch}
body.saas .calendar-cohort-filters116{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border)}
body.saas .calendar-cohort-filters116>button{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:11px 14px;min-height:48px;border:0;border-right:1px solid var(--color-border);border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--color-text);font:inherit;font-size:12px;cursor:pointer}
body.saas .calendar-cohort-filters116>button:nth-child(-n+4){border-top:0;border-bottom-color:var(--color-border)}body.saas .calendar-cohort-filters116>button:nth-child(4n){border-right:0}body.saas .calendar-cohort-filters116>button[aria-pressed=true]{border-bottom-color:var(--primary,#f4b400);background:var(--color-surface-subtle);font-weight:650}
body.saas .calendar-cohort-filters116 strong{font-size:20px;font-variant-numeric:tabular-nums;line-height:1.2}body.saas .calendar-cohort-result116{padding:11px 18px;margin:0;font-size:12px;color:var(--color-text-secondary);border-bottom:1px solid var(--color-border)}
body.saas .calendar-video-row116{display:grid;grid-template-columns:56px 24px minmax(170px,1fr) 112px minmax(138px,.6fr) 14px;gap:12px;align-items:center;width:100%;padding:11px 18px;border:0;border-bottom:1px solid var(--color-border);border-radius:0;background:transparent;color:var(--color-text);font:inherit;text-align:left;cursor:pointer;min-width:0;min-height:64px}
body.saas .calendar-video-row116:hover,body.saas .calendar-coverage-row116:hover,body.saas .calendar-cohort-filters116>button:hover{background:var(--color-surface-subtle)}body.saas .calendar-video-row116 time{font-size:12px;font-variant-numeric:tabular-nums;color:var(--color-text-secondary)}body.saas .calendar-video-copy116{min-width:0}body.saas .calendar-video-copy116 strong{display:block;font-size:13px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}body.saas .calendar-video-copy116 small{display:block;color:var(--color-text-secondary);font-size:12px;line-height:1.5;margin-top:3px}
body.saas .calendar-video-states116{display:grid;justify-items:start;gap:4px;min-width:0}body.saas .calendar-video-states116>.badge{max-width:100%;white-space:normal;font-size:11px}body.saas .calendar-video-states116>small{font-size:11px;color:var(--color-text-secondary)}body.saas .calendar-video-link116{font-size:12px;line-height:1.4;overflow-wrap:anywhere}.calendar-video-link116 small{display:block;font-size:11px;margin-top:3px}
body.saas .calendar-video-link116.complete{color:var(--success,#24734f)}body.saas .calendar-video-link116.attention{color:var(--danger,#b7442a)}body.saas .calendar-video-link116.neutral{color:var(--color-text-secondary)}body.saas .calendar-cohort-note116{font-size:12px;line-height:1.55;color:var(--color-text-secondary);margin:0;padding:12px 18px;max-width:86ch}body.saas .calendar-cohort-empty116{padding:24px 18px;color:var(--color-text-secondary);font-size:13px;line-height:1.6;margin:0}
body.saas .calendar-period-summary116{display:flex;align-items:baseline;flex-wrap:wrap;gap:9px 22px;padding:12px 16px;border-block:1px solid var(--color-border);background:var(--color-surface);font-size:13px;margin:0 0 12px}body.saas .calendar-period-summary116 strong{font-size:16px}body.saas .calendar-period-summary116 small{margin-left:auto;color:var(--color-text-secondary);font-size:12px}
body.saas .calendar-coverage116{margin-top:14px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}body.saas .calendar-coverage116>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;cursor:pointer;list-style:none;min-height:48px}body.saas .calendar-coverage116>summary::-webkit-details-marker{display:none}body.saas .calendar-coverage116>summary strong{display:block;font-size:14px;font-weight:600}.calendar-coverage116>summary small{display:block;font-size:12px;color:var(--color-text-secondary);margin-top:4px}body.saas .calendar-coverage116[open]>summary>svg{transform:rotate(90deg)}body.saas .calendar-coverage-body116{padding:0 16px 14px;border-top:1px solid var(--color-border);font-size:12px;line-height:1.55}.calendar-coverage-body116>p{max-width:85ch;color:var(--color-text-secondary)}
body.saas .calendar-coverage-row116{display:grid;grid-template-columns:56px minmax(130px,.65fr) minmax(180px,1fr) 14px;align-items:center;gap:12px;min-width:0;width:100%;padding:10px 0;min-height:52px;text-align:left;border:0;border-bottom:1px solid var(--color-border);border-radius:0;background:transparent;color:var(--color-text);font:inherit;cursor:pointer}body.saas .calendar-coverage-row116 span{min-width:0}.calendar-coverage-row116 small{display:block;color:var(--color-text-secondary);font-size:12px;line-height:1.5;margin-top:3px}
body.saas .calendar-week-panel.calendar-videos116 .calendar-video-row116.compact{grid-template-columns:38px minmax(0,1fr) 12px;gap:6px;padding:9px 7px;min-height:58px}body.saas .calendar-video-row116.compact .calendar-video-platform116,body.saas .calendar-video-row116.compact .calendar-video-states116{display:none}body.saas .calendar-video-row116.compact .calendar-video-copy116{grid-column:2}.calendar-video-row116.compact .calendar-video-copy116 strong{font-size:12px}.calendar-video-row116.compact .calendar-video-copy116 small{font-size:11px}.calendar-video-row116.compact .calendar-video-link116{grid-column:2;font-size:11px}.calendar-video-row116.compact>svg{grid-column:3;grid-row:1/3}body.saas .calendar-slot-target116{font-size:11px;color:var(--color-text-secondary);margin:0;padding:0 9px 9px}
body.saas .calendar-month-day116 .calendar-date{display:flex;align-items:baseline;justify-content:space-between;gap:6px;width:100%;border:0;background:transparent;color:var(--color-text);padding:0 0 5px;cursor:pointer;text-align:left;min-height:30px}body.saas .calendar-month-day116 .calendar-date strong{font-size:11px;font-weight:600}body.saas .calendar-month-counts116{display:block;font-size:10px;line-height:1.4;color:var(--color-text-secondary);margin-bottom:7px}body.saas .calendar-video-mini116>small{font-size:10px;white-space:normal}.calendar-videos116 .calendar-agenda-day>summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.calendar-videos116 .calendar-agenda-day>summary>span{font-size:12px}.calendar-videos116 .calendar-agenda-day>summary>small{margin-left:auto;color:var(--color-text-secondary)}.calendar-videos116 .calendar-agenda-rows>.button{margin:10px 16px}
body.saas :is(.calendar-videos116,.calendar-coverage116) :is(button,summary):focus-visible{outline:2px solid var(--primary,#f4b400);outline-offset:2px;position:relative;z-index:1}
:root[data-theme=dark] body.saas .calendar-video-link116.complete{color:#82cba6}:root[data-theme=dark] body.saas .calendar-video-link116.attention{color:#f5a08b}
@media(max-width:1050px){body.saas .calendar-video-row116{grid-template-columns:46px 20px minmax(140px,1fr) 100px minmax(110px,.65fr) 12px;gap:9px;padding:10px 12px}.calendar-videos116 .calendar-agenda-day>summary>small{margin-left:0}}
@media(max-width:700px){body.saas .calendar-cohort-filters116{grid-template-columns:repeat(2,minmax(0,1fr))}body.saas .calendar-cohort-filters116>button{padding:10px 12px;border-bottom-color:var(--color-border)}body.saas .calendar-cohort-filters116>button:nth-child(2n){border-right:0}body.saas .calendar-video-row116{grid-template-columns:43px 20px minmax(0,1fr) 12px;gap:8px;padding:12px;align-items:start}.calendar-video-row116 .calendar-video-copy116{grid-column:3}.calendar-video-row116 .calendar-video-states116{grid-column:3;grid-row:2;display:flex;flex-wrap:wrap;align-items:center}.calendar-video-row116 .calendar-video-link116{grid-column:3;grid-row:3}.calendar-video-row116>svg{grid-column:4;grid-row:1/4;align-self:center}body.saas .calendar-coverage-row116{grid-template-columns:43px minmax(0,1fr) 12px;gap:8px}.calendar-coverage-row116>span:nth-of-type(2){grid-column:2;grid-row:2}.calendar-coverage-row116>svg{grid-column:3;grid-row:1/3}.calendar-period-summary116 small{margin-left:0;width:100%}body.saas .calendar-month-day116 .calendar-date{flex-direction:column;gap:2px}.calendar-month-counts116{font-size:9px!important}body.saas .calendar-month-day116 .calendar-date strong{font-size:10px}.calendar-video-mini116>small{display:none}}
@media(pointer:coarse){body.saas .calendar-month-day116 .calendar-date,body.saas .calendar-cohort-filters116>button,body.saas .calendar-videos116 .calendar-more{min-height:44px}}

/* Subtle feedback only; no delayed entrance or layout motion. */
body.saas .calendar-cohort-filters116>button,body.saas .calendar-video-row116,body.saas .calendar-coverage-row116{transition:background-color 150ms ease,border-color 150ms ease,color 150ms ease}
@media(prefers-reduced-motion:reduce){body.saas .calendar-cohort-filters116>button,body.saas .calendar-video-row116,body.saas .calendar-coverage-row116{transition:none}}
/* Desktop workspace117: aligned operational surfaces; CSS-only, additive to116. */
@media screen {
body.saas.workspace114{--desktop117-navy:#102d3a;--desktop117-gold:#eab308;--desktop117-canvas:#f3f5f7;--desktop117-surface:#fff;--desktop117-subtle:#f7f9fa;--desktop117-border:#dfe5ea;--desktop117-secondary:#617182;--desktop117-ink:#243949;--desktop117-focus:#3566ac;--desktop117-hover:#f0f4f7}
:root[data-theme=dark] body.saas.workspace114{--desktop117-navy:#102330;--desktop117-canvas:#101c27;--desktop117-surface:#182a38;--desktop117-subtle:#1e3242;--desktop117-border:#354c5c;--desktop117-secondary:#adbfce;--desktop117-ink:#edf3f7;--desktop117-focus:#9fc3ff;--desktop117-hover:#253c4b}
/* Shared chrome stays independent of content tables, review dialogs and maps. */
body.saas.workspace114 .sidebar{background:var(--desktop117-navy)}
body.saas.workspace114 .sidebar-brand{min-height:64px;padding:14px 16px}
body.saas.workspace114 .sidebar-brand strong{font-size:13px;line-height:1.4}
body.saas.workspace114 .sidebar-brand span{line-height:1.45}
body.saas.workspace114 .sidebar :is(.nav-item,.nav-button){font-size:13px;line-height:1.45;border-radius:6px;transition:background-color 140ms ease,color 140ms ease}
body.saas.workspace114 .sidebar :is(.nav-item,.nav-button).active{background:#284451;color:#ffe28c;box-shadow:inset 3px 0 var(--desktop117-gold)}
body.saas.workspace114 .sidebar :is(.nav-item,.nav-button):hover{background:#213e4d;color:#fff}
body.saas.workspace114 .sidebar .nav-group-label{font-size:10px;line-height:1.5;letter-spacing:.08em;padding-top:16px;padding-bottom:6px}
body.saas.workspace114 .topbar{height:64px;min-height:64px;padding:10px 24px;gap:12px;background:var(--desktop117-surface);border-color:var(--desktop117-border)}
body.saas.workspace114 .global-search{height:36px;max-width:600px;background:var(--desktop117-subtle);border:1px solid var(--desktop117-border);border-radius:6px}
body.saas.workspace114 .global-search input{height:34px;font-size:13px}
body.saas.workspace114 .topbar :is(.icon-button,.language-button,.profile-button){border-radius:6px;border-color:var(--desktop117-border);box-shadow:none;transition:background-color 140ms ease,border-color 140ms ease,color 140ms ease}
body.saas.workspace114 .topbar :is(.icon-button,.language-button,.profile-button):hover{background-color:var(--desktop117-hover);border-color:var(--desktop117-secondary)}
body.saas.workspace114 .topbar :is(button,input):focus-visible{outline:2px solid var(--desktop117-focus);outline-offset:3px}
/* Main modules only: Calendar116 and Field/review workspaces keep their own layouts. */
body.saas.workspace114:is([data-route=dashboard],[data-route=postings],[data-route=approval],[data-route=analytics],[data-route=reports],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content{padding:20px 24px 32px;background:var(--desktop117-canvas)}
body.saas.workspace114:is([data-route=dashboard],[data-route=postings],[data-route=approval],[data-route=analytics],[data-route=reports],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content>.page-head{gap:12px;margin-bottom:16px}
body.saas.workspace114:is([data-route=dashboard],[data-route=postings],[data-route=approval],[data-route=analytics],[data-route=reports],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content .page-head h1{font-size:24px;font-weight:650;line-height:1.25;letter-spacing:-.5px}
body.saas.workspace114:is([data-route=dashboard],[data-route=postings],[data-route=approval],[data-route=analytics],[data-route=reports],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content .page-head p{font-size:13px;line-height:1.5;color:var(--desktop117-secondary);margin-top:5px;max-width:74ch}
body.saas.workspace114:is([data-route=dashboard],[data-route=postings],[data-route=approval],[data-route=analytics],[data-route=reports],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content .page-actions{gap:8px;align-items:center}
body.saas.workspace114:is([data-route=dashboard],[data-route=postings],[data-route=approval],[data-route=analytics],[data-route=reports],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content :is(.panel,.table-panel,.catalog-command,.smart-filter-panel,.posting-commandbar){border-color:var(--desktop117-border);border-radius:8px;box-shadow:none}
body.saas.workspace114:is([data-route=postings],[data-route=approval],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content :is(.panel-head,.table-panel-head){padding:12px 16px;gap:12px;min-height:0}
body.saas.workspace114:is([data-route=postings],[data-route=approval],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content .panel-head :is(h2,h3){font-size:14px;font-weight:600;line-height:1.4}
body.saas.workspace114:is([data-route=dashboard],[data-route=postings],[data-route=approval],[data-route=analytics],[data-route=reports],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content :is(.button,.tab,.icon-action){border-radius:6px;box-shadow:none;transition:background-color 140ms ease,border-color 140ms ease,color 140ms ease}
body.saas.workspace114:is([data-route=dashboard],[data-route=postings],[data-route=approval],[data-route=analytics],[data-route=reports],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content .button.primary{background:var(--desktop117-gold);border-color:var(--desktop117-gold);color:#24313a}
body.saas.workspace114:is([data-route=dashboard],[data-route=postings],[data-route=approval],[data-route=analytics],[data-route=reports],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content .button.primary:hover{background:#d8a407;border-color:#d8a407}
body.saas.workspace114:is([data-route=dashboard],[data-route=postings],[data-route=approval],[data-route=analytics],[data-route=reports],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--desktop117-focus);outline-offset:3px}
/* Command/dashboard: remove empty vertical intervals, retain every scope note. */
body.saas.workspace114[data-route=dashboard] .page-head{margin-bottom:12px}
body.saas.workspace114[data-route=dashboard] .page-head>div:first-child{min-width:180px}
body.saas.workspace114[data-route=dashboard] .dashboard-command-compact>.panel-head{padding-bottom:10px}
body.saas.workspace114[data-route=dashboard] .dashboard-command-compact>.panel-body{gap:10px}
body.saas.workspace114[data-route=dashboard] .dashboard-focus-kpis{margin:0 0 10px;border-color:var(--desktop117-border)}
body.saas.workspace114[data-route=dashboard] .dashboard-command-compact .saas-metric{min-height:96px;max-height:none;padding:12px 14px}
body.saas.workspace114[data-route=dashboard] .dashboard-command-compact .saas-metric>small{min-height:0;font-size:12px;line-height:1.4;align-items:flex-start}
body.saas.workspace114[data-route=dashboard] .dashboard-command-compact .saas-metric strong{font-size:26px;line-height:1.15;margin:7px 0 5px;letter-spacing:-.4px;font-variant-numeric:tabular-nums}
body.saas.workspace114[data-route=dashboard] .dashboard-command-compact .saas-metric>span{font-size:12px;line-height:1.45}
body.saas.workspace114[data-route=dashboard] .dashboard-meta-bar{gap:6px 12px;margin:0 0 10px;align-items:center}
body.saas.workspace114[data-route=dashboard] .dashboard-preparation .saas-attention-items{gap:6px}
body.saas.workspace114[data-route=dashboard] .dashboard-preparation .button{font-size:12px;padding:6px 9px}
body.saas.workspace114[data-route=dashboard] .planning-reconciliation-note{font-size:12px;line-height:1.45}
body.saas.workspace114[data-route=dashboard] .dashboard-counter-help{font-size:12px;line-height:1.45;margin:0}
body.saas.workspace114[data-route=dashboard] .dashboard-work-grid{gap:14px;margin-top:0;align-items:start}
body.saas.workspace114[data-route=dashboard] .dashboard-work-column{gap:14px}
body.saas.workspace114[data-route=dashboard] .dashboard-work-grid .panel-head{padding:12px 16px;min-height:0}
body.saas.workspace114[data-route=dashboard] .dashboard-inbox-tabs{padding:8px 12px;gap:4px}
body.saas.workspace114[data-route=dashboard] .dashboard-inbox-tabs button{font-size:12px;line-height:1.4;padding:7px 9px}
body.saas.workspace114[data-route=dashboard] .dashboard-queue-scope{font-size:12px;line-height:1.45;padding:0 16px 8px}
body.saas.workspace114[data-route=dashboard] .dashboard-inbox-record strong{font-size:13px;line-height:1.45}
body.saas.workspace114[data-route=dashboard] .dashboard-inbox-record small{font-size:12px;line-height:1.45}
body.saas.workspace114[data-route=dashboard] .dashboard-inbox-row>.button{font-size:12px}
body.saas.workspace114[data-route=dashboard] .dashboard-insights{margin:12px 0}
body.saas.workspace114[data-route=dashboard] .dashboard-insights>summary{padding:12px 16px}
/* Video filters and approval queue: preserve existing row density and states. */
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content :is(.posting-commandbar,.posting-filters,.approval-toolbar){border-color:var(--desktop117-border);background:var(--desktop117-surface);border-radius:8px}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content :is(.posting-filter-fields,.approval-toolbar){gap:10px 12px}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content :is(.posting-filter-fields,.approval-toolbar) label>span{font-size:12px;font-weight:500;line-height:1.45;color:var(--desktop117-secondary)}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content :is(.posting-quick-search,.posting-filter-fields,.approval-toolbar) :is(input,select){font-size:13px;border-radius:6px}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content :is(.compact-list-overview,.compact-list-pagination,.table-pagination){font-size:12px;line-height:1.5}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content .workspace-posting-row113{transition:background-color 140ms ease,border-color 140ms ease}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content .workspace-posting-row113:hover{background:var(--desktop117-subtle)}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content .workspace-posting-row113 .compact-posting-date{font-size:12px;font-weight:500;line-height:1.5;font-variant-numeric:tabular-nums}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content .workspace-posting-row113 .compact-posting-date small{font-size:12px;font-weight:400;line-height:1.45;margin-top:4px}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content .workspace-posting-row113 .compact-posting-copy>strong{font-size:13px;font-weight:650;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content .workspace-posting-row113 .compact-posting-copy>small{font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content .compact-posting-meta{font-size:12px;line-height:1.45}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content .compact-posting-meta .posting-context-primary{flex-wrap:wrap}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content .compact-posting-meta .posting-context-primary>*{white-space:normal;overflow-wrap:anywhere}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content .compact-posting-meta .posting-context-account{font-weight:600}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content .compact-posting-meta :is(.posting-context-person>span,.posting-context-content){font-size:12px;max-width:none;white-space:normal;overflow-wrap:anywhere}
body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content .compact-posting-meta .posting-context-cart{font-size:12px;font-weight:500;line-height:1.4;min-height:22px;border-radius:4px}
body.saas.workspace114[data-route=approval] .content .review-scope114{font-size:12px;line-height:1.5;margin-bottom:12px}
body.saas.workspace114[data-route=approval] .content .review-sort114{gap:6px;font-size:12px}
body.saas.workspace114[data-route=approval] .content .workspace-status-strip113{margin-bottom:14px;border-color:var(--desktop117-border)}
/* Analytics/reports: numerical alignment and quiet section hierarchy. */
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .cms-analysis-page{gap:14px}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) :is(.cms-analysis-controls,.cms-analysis-section,.cms-analysis-details,.cms-analysis-metrics){border-color:var(--desktop117-border);border-radius:8px;box-shadow:none}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .cms-analysis-controls{padding:12px 16px}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .report-period-row{gap:10px 16px;align-items:center}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .report-period-copy :is(strong,small){line-height:1.5}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .report-period-copy small{font-size:12px;max-width:76ch}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .report-dimension-filters{gap:10px 12px}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .report-dimension-filters label{font-size:12px}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .cms-analysis-metrics :is(.sp-command-kpi,.saas-metric,.kpi-card)>strong,body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .cms-analysis-metrics .kpi-value{font-size:26px;font-weight:650;line-height:1.2;letter-spacing:-.4px;font-variant-numeric:tabular-nums}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .cms-analysis-metrics :is(.kpi-label,.sp-kpi-label,small){font-size:12px;line-height:1.45}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .cms-analysis-section-head{padding:12px 16px;gap:12px}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .cms-analysis-section-head :is(h2,h3){font-size:14px;font-weight:600;line-height:1.4}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .cms-analysis-section-body{padding:12px 16px}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) :is(.cms-analysis-caption,.cms-report-export-scope,.saas-caption,.saas-chart-legend){font-size:12px;line-height:1.5;color:var(--desktop117-secondary)}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .cms-analysis-details>summary{padding-top:12px;padding-bottom:12px}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .cms-analysis-details>summary strong{font-size:13px;line-height:1.5;font-weight:600}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .cms-analysis-details>summary::after{transition:color 140ms ease}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .data-table :is(th,td){font-variant-numeric:tabular-nums;font-size:13px;line-height:1.5}
body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .data-table th{font-size:12px;font-weight:600;letter-spacing:0;background:var(--desktop117-subtle)}
body.saas.workspace114[data-route=analytics] .sp-analytics-head .page-head{margin-bottom:12px}
body.saas.workspace114[data-route=analytics] .sp-filterbar{margin-bottom:10px;padding:10px 14px;border-color:var(--desktop117-border);border-radius:8px}
body.saas.workspace114[data-route=analytics] .sp-primary-filters{gap:8px 12px;margin-bottom:0}
body.saas.workspace114[data-route=analytics] .sp-primary-filters label{gap:4px;font-size:12px;line-height:1.45}
body.saas.workspace114[data-route=analytics] .sp-more-filters>summary{padding:8px 0;min-height:34px;font-size:13px;line-height:1.45}
body.saas.workspace114[data-route=analytics] .sp-workspace-tabs{margin-bottom:8px;gap:18px}
body.saas.workspace114[data-route=analytics] .sp-workspace-tabs button{padding:8px 2px;line-height:1.45;transition:background-color 140ms ease,border-color 140ms ease,color 140ms ease}
body.saas.workspace114[data-route=analytics] .sp-data-state{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:5px 12px;padding:10px 14px;margin:8px 0 10px;border-color:var(--desktop117-border);background:var(--desktop117-surface);line-height:1.45}
body.saas.workspace114[data-route=analytics] .sp-data-state>div{display:contents}
body.saas.workspace114[data-route=analytics] .sp-data-state strong{grid-column:1;font-size:13px;font-weight:600;line-height:1.45}
body.saas.workspace114[data-route=analytics] .sp-data-state p{grid-column:1/-1;font-size:12px;line-height:1.45;margin:0;color:var(--desktop117-secondary)}
body.saas.workspace114[data-route=analytics] .sp-data-state>span{grid-column:2;grid-row:1;font-size:12px;line-height:1.45;text-align:right;white-space:normal;font-variant-numeric:tabular-nums}
body.saas.workspace114[data-route=analytics] .sp-command-kpi{min-height:88px;padding:11px 14px}
body.saas.workspace114[data-route=analytics] .sp-command-kpi>strong{font-size:26px;line-height:1.2;margin:5px 0;font-variant-numeric:tabular-nums}
body.saas.workspace114[data-route=analytics] .sp-command-kpi :is(.sp-kpi-label,small){font-size:12px;line-height:1.45}
body.saas.workspace114[data-route=analytics] .sp-workspace-context{font-size:12px;line-height:1.45;margin-bottom:8px}
/* Catalogues and audit: readable metadata without forcing narrower columns. */
body.saas.workspace114:is([data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=audit]) .content .data-table{font-size:13px;line-height:1.5}
body.saas.workspace114:is([data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=audit]) .content .data-table th{font-size:12px;font-weight:600;letter-spacing:0;line-height:1.45;background:var(--desktop117-subtle);color:var(--desktop117-secondary)}
body.saas.workspace114:is([data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=audit]) .content .data-table .cell-primary{font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
body.saas.workspace114:is([data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=audit]) .content .data-table .cell-secondary{font-size:12px;line-height:1.5;color:var(--desktop117-secondary);white-space:normal;overflow-wrap:anywhere}
body.saas.workspace114:is([data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=audit]) .content .data-table tbody tr{transition:background-color 140ms ease}
body.saas.workspace114:is([data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=audit]) .content .data-table tbody tr:hover{background:var(--desktop117-subtle)}
body.saas.workspace114[data-route=products] .catalog-command{padding:14px 16px}
body.saas.workspace114[data-route=products] .catalog-stat-grid{gap:0;border:1px solid var(--desktop117-border);border-radius:8px;background:var(--desktop117-surface)}
body.saas.workspace114[data-route=products] .catalog-stat{min-height:76px;padding:12px 14px;border:0;border-right:1px solid var(--desktop117-border);border-radius:0;background:transparent;box-shadow:none}
body.saas.workspace114[data-route=products] .catalog-stat:last-child{border-right:0}
body.saas.workspace114[data-route=products] .catalog-stat span{font-size:12px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
body.saas.workspace114[data-route=products] .catalog-stat strong{font-size:24px;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums}
body.saas.workspace114[data-route=products] .catalog-product-name{font-size:13px;line-height:1.5}
body.saas.workspace114[data-route=audit] .content .table-wrap{border-radius:8px}
body.saas.workspace114[data-route=audit] .content .data-table code{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
body.saas.workspace114[data-route=goals] .automatic-goals .panel-head .eyebrow{font-size:12px;font-weight:500;line-height:1.45;letter-spacing:0;text-transform:none}
body.saas.workspace114[data-route=goals] .automatic-goals .command-stat-grid{gap:0;border:1px solid var(--desktop117-border);border-radius:8px;background:var(--desktop117-surface)}
body.saas.workspace114[data-route=goals] .automatic-goals .command-stat{border:0;border-right:1px solid var(--desktop117-border);border-radius:0;box-shadow:none;padding:12px 14px;background:transparent}
body.saas.workspace114[data-route=goals] .automatic-goals .command-stat:last-child{border-right:0}
body.saas.workspace114[data-route=goals] .automatic-goals .command-stat strong{font-size:24px;font-weight:650;line-height:1.2;font-variant-numeric:tabular-nums}
body.saas.workspace114[data-route=goals] :is(.automatic-goal-note,.automatic-goals .command-stat span,.automatic-goals .command-stat small){font-size:12px;line-height:1.5;color:var(--desktop117-secondary)}
body.saas.workspace114[data-route=goals] .progress-meta{font-size:12px;line-height:1.5;gap:8px}
/* Notifications: a calm inbox; read state and every action remain explicit. */
body.saas.workspace114[data-route=notifications] .notification-controls{padding:12px 16px;gap:12px}
body.saas.workspace114[data-route=notifications] .notification-controls .posting-filter-fields{gap:10px 12px}
body.saas.workspace114[data-route=notifications] .notification-category-tabs{gap:6px}
body.saas.workspace114[data-route=notifications] .notification-category-tab{font-size:12px;line-height:1.45;padding:7px 10px;border-radius:6px;transition:background-color 140ms ease,border-color 140ms ease,color 140ms ease}
body.saas.workspace114[data-route=notifications] .notification-page-list{gap:0}
body.saas.workspace114[data-route=notifications] .notification-page-item{border-radius:0;border-color:var(--desktop117-border);background:var(--desktop117-surface);transform:none;transition:background-color 140ms ease,border-color 140ms ease}
body.saas.workspace114[data-route=notifications] .notification-page-item:hover,body.saas.workspace114[data-route=notifications] .notification-page-item:focus-within{background:var(--desktop117-subtle);transform:none}
body.saas.workspace114[data-route=notifications] .notification-page-item strong{font-size:13px;font-weight:600;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
body.saas.workspace114[data-route=notifications] .notification-page-item :is(.cell-secondary,.notification-meta){font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
body.saas.workspace114[data-route=notifications] .notification-group-history,body.saas.workspace114[data-route=notifications] .notification-group-alert{font-size:12px;line-height:1.5;color:var(--desktop117-secondary)}
/* Settings and health: keep diagnostic detail readable, avoid oversized summaries. */
body.saas.workspace114[data-route=settings] .settings-jump-nav{margin:14px 0;padding:4px;gap:4px;border-color:var(--desktop117-border);border-radius:8px}
body.saas.workspace114[data-route=settings] .settings-jump-nav button{font-size:13px;line-height:1.45;padding:9px 12px;border-radius:6px;transition:background-color 140ms ease,color 140ms ease}
body.saas.workspace114[data-route=settings] .settings-status-strip{gap:10px;margin-bottom:14px}
body.saas.workspace114[data-route=settings] .settings-status-strip>div{min-height:70px;border-radius:8px;border-color:var(--desktop117-border);box-shadow:none;padding:12px 14px}
body.saas.workspace114[data-route=settings] .settings-status-strip :is(span,small){font-size:12px;font-weight:400;line-height:1.45;letter-spacing:0;text-transform:none}
body.saas.workspace114[data-route=settings] .settings-status-strip strong{font-size:13px;font-weight:600;line-height:1.5}
body.saas.workspace114[data-route=settings] .settings-layout{max-width:1180px}
body.saas.workspace114[data-route=settings] .settings-section-tag{font-size:12px;line-height:1.4;letter-spacing:0;text-transform:none}
body.saas.workspace114[data-route=settings] .preference-grid{gap:12px 16px}
body.saas.workspace114[data-route=settings] .preference-grid label{font-size:13px;line-height:1.5}
body.saas.workspace114[data-route=settings] .cms-health{padding:16px;margin-top:14px;font-size:13px;line-height:1.5;border-color:var(--desktop117-border)}
body.saas.workspace114[data-route=settings] .cms-health h3{font-size:16px;line-height:1.4}
body.saas.workspace114[data-route=settings] .cms-health h4{font-size:14px;margin-top:20px}
body.saas.workspace114[data-route=settings] .cms-health-check{padding:12px 14px;border-color:var(--desktop117-border);border-radius:8px;font-size:13px}
body.saas.workspace114[data-route=settings] .cms-health-check strong{font-size:24px;font-weight:650;line-height:1.2;font-variant-numeric:tabular-nums}
body.saas.workspace114[data-route=settings] .cms-health-table :is(td,th){font-size:12px;line-height:1.5}
body.saas.workspace114[data-route=analytics] .sp-data-state{border-left-color:var(--workspace-blue)}
body.saas.workspace114[data-route=analytics] .sp-data-state:is(.stale,.missing){border-left-color:var(--workspace-amber)}
@media(min-width:741px){body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content .workspace-posting-row113 .compact-posting-main{grid-template-columns:120px minmax(0,1fr) minmax(92px,auto) 14px}body.saas.workspace114[data-route=goals] .automatic-goals .command-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:741px) and (max-width:1100px){body.saas.workspace114:is([data-route=postings],[data-route=approval]) .content .workspace-posting-row113 .compact-posting-main{grid-template-columns:120px minmax(0,1fr) 14px}}
@media(max-width:600px){body.saas.workspace114[data-route=analytics] .sp-data-state{grid-template-columns:minmax(0,1fr)}body.saas.workspace114[data-route=analytics] .sp-data-state>span{grid-column:1;grid-row:auto;text-align:left}body.saas.workspace114[data-route=goals] .automatic-goals .command-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.saas.workspace114[data-route=goals] .automatic-goals .command-stat:nth-child(2n){border-right:0}body.saas.workspace114[data-route=goals] .automatic-goals .command-stat:nth-child(-n+2){border-bottom:1px solid var(--desktop117-border)}}
@media(pointer:coarse),(max-width:600px){body.saas.workspace114[data-route=analytics] .sp-workspace-tabs button,body.saas.workspace114[data-route=analytics] .sp-more-filters>summary{min-height:44px}}
@media(prefers-reduced-motion:reduce){body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .cms-analysis-details>summary::after,body.saas.workspace114[data-route=analytics] .sp-workspace-tabs button{transition:none}}
/* Density remains owned by the existing user preference; no117row height reset. */
@media(min-width:981px){body.saas.workspace114:not(.sidebar-compact){--sidebar-width:220px}body.saas.workspace114:not(.sidebar-compact) .sidebar{width:220px}}
@media(min-width:741px) and (max-width:1180px){body.saas.workspace114[data-route=dashboard] .page-head{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,450px);align-items:start}body.saas.workspace114[data-route=dashboard] .page-head .page-actions{justify-content:flex-end;max-width:450px;min-width:0;gap:8px}body.saas.workspace114[data-route=dashboard] .page-head .page-actions>.button{white-space:normal;overflow-wrap:anywhere;max-width:100%}body.saas.workspace114[data-route=dashboard] .dashboard-date-control{flex:0 1 auto}}
@media(max-width:740px){body.saas.workspace114 .topbar{padding:8px 12px;gap:6px}body.saas.workspace114:is([data-route=dashboard],[data-route=postings],[data-route=approval],[data-route=analytics],[data-route=reports],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content{padding:16px 12px 28px}body.saas.workspace114[data-route=dashboard] .dashboard-command-compact .saas-metric{padding:11px 12px}body.saas.workspace114[data-route=products] .catalog-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.saas.workspace114[data-route=products] .catalog-stat:nth-child(2n){border-right:0}body.saas.workspace114[data-route=products] .catalog-stat:nth-child(-n+2){border-bottom:1px solid var(--desktop117-border)}body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .cms-analysis-section-head{align-items:flex-start;flex-wrap:wrap}body.saas.workspace114[data-route=settings] .cms-health{padding:12px}}
@media(max-width:600px){body.saas.workspace114 .topbar{height:56px;min-height:56px;padding:8px}body.saas.workspace114:is([data-route=dashboard],[data-route=postings],[data-route=approval],[data-route=analytics],[data-route=reports],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content .page-head h1{font-size:22px}body.saas.workspace114:is([data-route=analytics],[data-route=reports]) .cms-analysis-controls,body.saas.workspace114[data-route=notifications] .notification-controls{padding:10px 12px}}
@media(pointer:coarse),(max-width:600px){body.saas.workspace114 .sidebar :is(.nav-item,.nav-button){min-height:44px}body.saas.workspace114 .topbar :is(.icon-button,.language-button,.profile-button){min-height:44px}body.saas.workspace114 .topbar :is(.icon-button,.language-button){min-width:44px}body.saas.workspace114:is([data-route=dashboard],[data-route=postings],[data-route=approval],[data-route=analytics],[data-route=reports],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content :is(.button,.tab,.icon-action,.notification-category-tab,summary){min-height:44px}body.saas.workspace114:is([data-route=dashboard],[data-route=postings],[data-route=approval],[data-route=analytics],[data-route=reports],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){min-height:44px}body.saas.workspace114[data-route=settings] .settings-jump-nav button{min-height:44px}}
@media(prefers-reduced-motion:reduce){body.saas.workspace114 .sidebar :is(.nav-item,.nav-button),body.saas.workspace114 .topbar :is(.icon-button,.language-button,.profile-button),body.saas.workspace114:is([data-route=dashboard],[data-route=postings],[data-route=approval],[data-route=analytics],[data-route=reports],[data-route=products],[data-route=accounts],[data-route=employees],[data-route=platforms],[data-route=goals],[data-route=templates],[data-route=campaigns],[data-route=notifications],[data-route=settings],[data-route=audit]) .content :is(.button,.tab,.icon-action,.workspace-posting-row113,.notification-page-item,.notification-category-tab,.settings-jump-nav button,.data-table tbody tr){transition:none}}
}
/* End desktop workspace117. */
/* Media playback118: deliberate lightweight previews. */
body.saas.workspace114 .cms-media-panel118{min-width:0;border:1px solid var(--color-border,#DFE5EA);border-radius:8px;padding:16px;background:var(--color-surface,#FFFFFF);margin:0 0 16px;color:var(--color-text,#102D3A)}
body.saas.workspace114 .cms-media-submit118{grid-column:1/-1;margin:0}
body.saas.workspace114 .cms-media-heading118{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 12px}
body.saas.workspace114 .cms-media-heading118 h3{font-size:15px!important;line-height:1.45;font-weight:650;margin:0!important;letter-spacing:0}
body.saas.workspace114 .cms-media-tabs118{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px;padding:3px;border:1px solid var(--color-border,#DFE5EA);border-radius:6px;background:var(--color-surface-subtle,#F3F5F7)}
body.saas.workspace114 .cms-media-tabs118 button{font-family:inherit;font-size:12px;line-height:1.4;font-weight:550;border:1px solid transparent;border-radius:4px;min-height:32px;padding:6px 10px;background:transparent;color:var(--color-text-secondary,#617182);cursor:pointer}
body.saas.workspace114 .cms-media-tabs118 button[aria-pressed=true]{border-color:var(--color-border,#DFE5EA);background:var(--color-surface,#FFFFFF);color:var(--color-text,#102D3A);box-shadow:inset 0 -2px var(--workspace-accent,#EAB308)}
body.saas.workspace114 .cms-media-help118{font-size:12px!important;line-height:1.55!important;margin:0 0 12px!important;color:var(--color-text-secondary,#617182);max-width:80ch}
body.saas.workspace114 .cms-media-card118{display:grid;gap:10px;min-width:0;margin:0;padding:0;border:0;box-shadow:none;background:transparent}
body.saas.workspace114 .cms-media-label118{font-size:12px;line-height:1.5;font-weight:550;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .cms-media-actions118{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
body.saas.workspace114 .cms-media-actions118 .button{font-family:inherit;font-size:13px;line-height:1.4;font-weight:550;min-height:36px;border-radius:6px;padding:8px 12px;white-space:normal}
body.saas.workspace114 .cms-media-actions118 .cms-media-load118{background:var(--workspace-accent,#EAB308);border-color:var(--workspace-accent,#EAB308);color:var(--workspace-accent-ink,#102D3A)}
body.saas.workspace114 .cms-media-actions118 .cms-media-load118:disabled{cursor:default}
body.saas.workspace114 .cms-media-stage118{min-width:0;max-width:100%;border:1px solid var(--color-border,#DFE5EA);border-radius:6px;overflow:hidden;background:#000000}
body.saas.workspace114 .cms-media-stage118 :is(video,iframe){display:block;width:100%;max-width:100%;height:auto;min-height:220px;max-height:440px;border:0;background:#000000}
body.saas.workspace114 .cms-media-stage118 video{object-fit:contain}
body.saas.workspace114 .cms-media-stage118 iframe{aspect-ratio:16/9;min-height:280px}
body.saas.workspace114 .cms-media-stage118 :is(video,iframe):fullscreen{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
body.saas.workspace114 .cms-media-status118{font-size:12px!important;line-height:1.55!important;margin:0!important;max-width:80ch;color:var(--color-text-secondary,#617182);overflow-wrap:anywhere}
body.saas.workspace114 .cms-media-status118[data-state=error],body.saas.workspace114 .cms-media-status118[data-state=stale]{color:var(--color-danger,#B4233A)}
body.saas.workspace114 .cms-media-status118[data-state=timeout]{color:var(--color-warning,#926113)}
body.saas.workspace114 .cms-media-reference118{display:block;font-family:inherit;font-size:12px;line-height:1.6;color:var(--color-text-secondary,#617182);white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;max-width:100%;margin:0;padding:8px 10px;background:var(--color-surface-subtle,#F3F5F7);border-radius:4px;user-select:text}
body.saas.workspace114 .cms-media-panel118 [hidden]{display:none!important}
body.saas.workspace114 .cms-media-panel118 :is(button,a,video,iframe):focus-visible{outline:2px solid var(--color-focus,var(--color-info,#24587A));outline-offset:3px}
body.saas.workspace114 .cms-media-panel118 :is(button,a){transition:background-color 140ms ease,border-color 140ms ease,color 140ms ease}
@media(max-width:700px),(pointer:coarse){body.saas.workspace114 .cms-media-panel118{padding:14px}body.saas.workspace114 .cms-media-panel118 :is(.cms-media-tabs118 button,.cms-media-actions118 .button){min-height:44px}body.saas.workspace114 .cms-media-stage118 :is(video,iframe){min-height:200px;max-height:360px}body.saas.workspace114 .cms-media-stage118 iframe{min-height:240px}}
@media(prefers-reduced-motion:reduce){body.saas.workspace114 .cms-media-panel118 :is(button,a){transition:none}}
@media print{body.saas.workspace114 .cms-media-panel118{background:#FFFFFF;color:#102D3A;box-shadow:none;break-inside:avoid}body.saas.workspace114 .cms-media-reference118{background:#FFFFFF;color:#102D3A}}
body.saas.workspace114 .cms-media-stage118:has(>iframe[src^="https://www.tiktok.com/player/v1/"]){width:min(100%,360px,calc((100dvh - 180px)*.5625));margin-inline:auto}
body.saas.workspace114 .cms-media-stage118>iframe[src^="https://www.tiktok.com/player/v1/"]{aspect-ratio:9/16;height:auto;min-height:0;max-height:none}
@media(max-width:700px){body.saas.workspace114 .cms-media-stage118:has(>iframe[src^="https://www.tiktok.com/player/v1/"]){width:min(100%,360px,calc((100dvh - 220px)*.5625))}}
body.saas.workspace114 .cms-media-stage118 video{min-height:0;max-height:min(480px,calc(100dvh - 220px));object-fit:contain}
body.saas.workspace114 .cms-media-reference-label118{display:-webkit-box;min-width:0;max-width:100%;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-family:inherit;font-size:12px;line-height:1.5;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .cms-media-reference-details118{min-width:0;margin:0;border-top:1px solid var(--color-border,#DFE5EA);padding-top:4px}
body.saas.workspace114 .cms-media-reference-summary118{box-sizing:border-box;font-size:12px;line-height:1.5;min-height:32px;padding:6px 0;cursor:pointer;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .cms-media-reference-details118[open]>.cms-media-reference118{max-height:8em;overflow:auto;margin-top:4px}
body.saas.workspace114 .cms-media-reference-summary118:focus-visible{outline:2px solid var(--color-focus,var(--color-info,#24587A));outline-offset:3px}
@media(max-width:700px),(pointer:coarse){body.saas.workspace114 .cms-media-reference-summary118{min-height:44px}}
/* End media playback118. */
/* Calendar clarity120: separate planned slots, video records, review and link evidence. */
body.saas .calendar-day120>header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px 24px;padding-bottom:12px}
body.saas .calendar-day-heading120{min-width:0}
body.saas .calendar-day-heading120>p{max-width:62ch}
body.saas .calendar-day-totals120{display:flex;align-items:flex-start;flex-wrap:nowrap;gap:10px 24px;margin:0}
body.saas .calendar-day-totals120>div{min-width:0}
body.saas .calendar-day-totals120 dt{font-size:12px;line-height:1.5;color:var(--color-text-secondary,#64748b)}
body.saas .calendar-day-totals120 dd{margin:2px 0 0;font-size:24px;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums;color:var(--color-text,#243746)}
body.saas .calendar-day-totals120 dd small{font-size:12px;font-weight:400;color:var(--color-text-secondary,#64748b)}
body.saas .calendar-cohort-primary120{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px 18px;padding:8px 18px 6px;border-top:1px solid var(--color-border,#dce4ed)}
body.saas .calendar-filter-group120{min-width:0}
body.saas .calendar-filter-group120>span{display:block;font-size:12px;color:var(--color-text-secondary,#64748b);margin-bottom:5px}
body.saas .calendar-filter-group120>div,body.saas .calendar-cohort-secondary120>div{display:flex;flex-wrap:wrap;gap:6px}
body.saas :is(.calendar-cohort-primary120,.calendar-cohort-secondary120) button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px;padding:7px 11px;border:1px solid var(--color-border,#dce4ed);border-radius:6px;background:var(--color-surface,#fff);color:var(--color-text,#243746);font:inherit;font-size:13px;text-align:left;cursor:pointer}
body.saas :is(.calendar-cohort-primary120,.calendar-cohort-secondary120) button strong{font-size:13px;line-height:1.3;font-weight:650;font-variant-numeric:tabular-nums}
body.saas :is(.calendar-cohort-primary120,.calendar-cohort-secondary120) button[aria-pressed=true]{border-color:var(--primary,#f4b400);box-shadow:inset 0 -2px 0 var(--primary,#f4b400);background:var(--color-surface-subtle,#f3f5f7);font-weight:600}
body.saas :is(.calendar-cohort-primary120,.calendar-cohort-secondary120) button:hover{background:var(--color-surface-subtle,#f3f5f7)}
body.saas .calendar-understanding120{margin-top:6px;font-size:12px;color:var(--color-text-secondary,#64748b)}
body.saas .calendar-understanding120>summary{cursor:pointer;padding:5px 0;min-height:28px}
body.saas .calendar-understanding120>div{padding:3px 0 5px;max-width:90ch}
body.saas .calendar-understanding120 p{margin:4px 0 6px;line-height:1.5}
body.saas .calendar-understanding120>summary:focus-visible{outline:2px solid var(--primary,#f4b400);outline-offset:2px}
body.saas .calendar-filter-explanation120{margin:0;padding:0 18px 6px;font-size:12px;line-height:1.5;color:var(--color-text-secondary,#64748b);max-width:92ch}
body.saas .calendar-cohort-secondary120{margin:0 18px 12px;border-top:1px solid var(--color-border,#dce4ed);padding-top:5px}
body.saas .calendar-cohort-secondary120>summary{font-size:12px;color:var(--color-text-secondary,#64748b);cursor:pointer;padding:8px 0;min-height:32px}
body.saas .calendar-cohort-secondary120>p{font-size:12px;color:var(--color-text-secondary,#64748b);line-height:1.5;margin:0 0 8px;max-width:90ch}
body.saas .calendar-cohort-tools120{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:0 18px 8px;border-bottom:1px solid var(--color-border,#dce4ed)}
body.saas .calendar-cohort-tools120>.calendar-cohort-secondary120{flex:1;min-width:0;margin:0;padding:0;border:0}
body.saas .calendar-cohort-tools120>.calendar-cohort-result116{flex:none;white-space:nowrap;padding:8px 0;margin:0;border:0;text-align:right}
body.saas .calendar-video-columns120{display:grid;grid-template-columns:56px 24px minmax(170px,1fr) 112px minmax(138px,.6fr) 14px;gap:12px;padding:9px 18px;font-size:12px;color:var(--color-text-secondary,#64748b);background:var(--color-surface-subtle,#f3f5f7);border-bottom:1px solid var(--color-border,#dce4ed)}
body.saas .calendar-video-row116 .calendar-state-label120{display:none}
body.saas .calendar-video-row116 .calendar-video-lifecycle120{font-size:12px;color:var(--color-text-secondary,#64748b)}
body.saas :is(.calendar-cohort-primary120,.calendar-cohort-secondary120) :is(button,summary):focus-visible{outline:2px solid var(--primary,#f4b400);outline-offset:2px}
@media(max-width:1050px){body.saas .calendar-video-columns120{grid-template-columns:46px 20px minmax(140px,1fr) 100px minmax(110px,.65fr) 12px;gap:9px;padding:9px 12px}}
@media(max-width:700px){body.saas .calendar-day120>header{grid-template-columns:minmax(0,1fr);gap:10px}body.saas .calendar-day-totals120{gap:10px 28px;flex-wrap:wrap}body.saas .calendar-cohort-tools120{padding:0 12px 8px;gap:8px;flex-wrap:wrap}body.saas .calendar-cohort-tools120>.calendar-cohort-result116{padding:8px 0}body.saas .calendar-cohort-primary120{padding:12px;gap:10px 12px}body.saas .calendar-filter-explanation120{padding:0 12px 10px}body.saas .calendar-cohort-secondary120{margin:0 12px 10px}body.saas .calendar-video-columns120{display:none}body.saas .calendar-video-row116 .calendar-state-label120{display:block;margin:0 0 3px;font-size:11px;line-height:1.3;color:var(--color-text-secondary,#64748b);font-weight:400}body.saas .calendar-video-row116.compact .calendar-state-label120{display:none}body.saas :is(.calendar-cohort-primary120,.calendar-cohort-secondary120) button,body.saas .calendar-cohort-secondary120>summary,body.saas .calendar-understanding120>summary{min-height:44px}}
@media(pointer:coarse){body.saas :is(.calendar-cohort-primary120,.calendar-cohort-secondary120) button,body.saas .calendar-cohort-secondary120>summary,body.saas .calendar-understanding120>summary{min-height:44px}}
/* End calendar clarity120. */
/* Day facts and calendar usability121: distinct video evidence, planning and all-date queues. */
body.saas.workspace114 .dashboard-day-facts121{display:grid;grid-template-columns:minmax(200px,.9fr) minmax(0,1.6fr);gap:12px 24px;align-items:center}
body.saas.workspace114 .dashboard-day-main121{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;padding:0 18px 0 0;border:0;border-right:1px solid var(--color-border,#DFE5EA);background:transparent;color:var(--color-text,#102D3A);font:inherit;text-align:left;cursor:pointer}
body.saas.workspace114 .dashboard-day-main121>span{font-size:13px;line-height:1.5;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .dashboard-day-main121>strong{font-size:32px;line-height:1.25;font-weight:650;font-variant-numeric:tabular-nums}
body.saas.workspace114 .dashboard-day-main121>strong>small{font-size:22px;color:var(--color-text-secondary,#617182);font-weight:500}
body.saas.workspace114 .dashboard-day-dimensions121{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.saas.workspace114 .dashboard-day-dimensions121>button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;min-height:64px;padding:8px 0;border:0;background:transparent;color:var(--color-text,#102D3A);font:inherit;text-align:left;cursor:pointer}
body.saas.workspace114 .dashboard-day-dimensions121 strong{font-size:24px;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums}
body.saas.workspace114 .dashboard-day-dimensions121 span{font-size:12px;line-height:1.5;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .dashboard-day-facts121>p{grid-column:1/-1;margin:0;font-size:12px;line-height:1.5;color:var(--color-text-secondary,#617182);max-width:100ch}
body.saas.workspace114 .dashboard-planning121{margin-top:14px;border-top:1px solid var(--color-border,#DFE5EA);border-bottom:1px solid var(--color-border,#DFE5EA)}
body.saas.workspace114 .dashboard-planning121>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:9px 0;cursor:pointer;list-style:none}
body.saas.workspace114 .dashboard-planning121>summary>span{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 18px;min-width:0}
body.saas.workspace114 .dashboard-planning121>summary strong{font-size:13px;font-weight:600}
body.saas.workspace114 .dashboard-planning121>summary small{font-size:12px;color:var(--color-text-secondary,#617182);font-variant-numeric:tabular-nums}
body.saas.workspace114 .dashboard-planning121>div{padding:2px 0 14px}
body.saas.workspace114 .dashboard-planning121 dl{display:flex;flex-wrap:wrap;gap:12px 24px;margin:4px 0 10px}
body.saas.workspace114 .dashboard-planning121 dl>div{min-width:100px;flex:1}
body.saas.workspace114 .dashboard-planning121 dt{font-size:12px;line-height:1.5;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .dashboard-planning121 dd{margin:3px 0 0;font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}
body.saas.workspace114 .dashboard-planning121 p,body.saas.workspace114 .dashboard-association-details121>p{font-size:12px;line-height:1.5;color:var(--color-text-secondary,#617182);max-width:95ch}
body.saas.workspace114 .dashboard-current-queues121{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;padding:14px 0 2px}
body.saas.workspace114 .dashboard-current-queues121>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}
body.saas.workspace114 .dashboard-current-queues121>div:first-child>strong{font-size:13px;font-weight:600}
body.saas.workspace114 .dashboard-current-queues121 small{font-size:12px;line-height:1.5;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .dashboard-current-queues121>div:last-child{display:flex;flex-wrap:wrap;gap:8px;flex:none}
body.saas.workspace114 .dashboard-current-queues121 button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:8px 12px;border:1px solid var(--color-border,#DFE5EA);border-radius:6px;background:var(--color-surface,#fff);color:var(--color-text,#102D3A);font:inherit;font-size:13px;cursor:pointer}
body.saas.workspace114 .dashboard-current-queues121 button>strong{font-variant-numeric:tabular-nums;font-weight:650}
body.saas.workspace114 .dashboard-association-details121{margin:14px 0;border:1px solid var(--color-border,#DFE5EA);border-radius:8px;background:var(--color-surface,#fff)}
body.saas.workspace114 .dashboard-association-details121>summary{padding:13px 18px;min-height:44px;font-size:13px;font-weight:600;cursor:pointer}
body.saas.workspace114 .dashboard-association-details121>p{margin:0;padding:0 18px 12px}
body.saas.workspace114 .dashboard-association-details121>.command-center{margin:0;border:0;box-shadow:none}
body.saas.workspace114 .calendar-toolbar121 .eyebrow{text-transform:none;letter-spacing:normal;font-size:12px}
body.saas.workspace114 .calendar-date-jump121{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .calendar-date-jump121 input{width:148px;max-width:100%;min-height:36px;padding:6px 9px;border:1px solid var(--color-border,#DFE5EA);border-radius:6px;background:var(--color-surface,#fff);color:var(--color-text,#102D3A);font:inherit;font-size:13px;color-scheme:light dark}
body.saas.workspace114 .calendar-toolbar121>.workspace-calendar-date113{gap:10px 16px}
body.saas.workspace114 .calendar-week121 .calendar-week-board{grid-template-columns:repeat(7,minmax(0,1fr));gap:0;align-items:stretch}
body.saas.workspace114 .calendar-week121 .calendar-week-day121{display:flex;flex-direction:column;min-width:0;padding:12px 10px;min-height:260px;border-right:1px solid var(--color-border,#DFE5EA)}
body.saas.workspace114 .calendar-week121 .calendar-week-day121:last-child{border-right:0}
body.saas.workspace114 .calendar-week121 .calendar-week-day-head{min-width:0;padding:0 0 10px;text-align:left}
body.saas.workspace114 .calendar-week121 .calendar-week-day-head>small{font-size:12px;line-height:1.4;white-space:normal}
body.saas.workspace114 .calendar-week-facts121{display:flex;flex-wrap:wrap;gap:8px 14px;margin:0 0 6px}
body.saas.workspace114 .calendar-week-facts121>div{display:flex;flex-direction:column-reverse;gap:1px;min-width:0}
body.saas.workspace114 .calendar-week-facts121 dt{font-size:12px;color:var(--color-text-secondary,#617182);line-height:1.4}
body.saas.workspace114 .calendar-week-facts121 dd{margin:0;font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}
body.saas.workspace114 .calendar-week121 .calendar-slot-target116{font-size:12px;line-height:1.5;margin:0 0 10px;white-space:normal}
body.saas.workspace114 .calendar-week-record121{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:44px;width:100%;padding:8px 0;border:0;border-top:1px solid var(--color-border,#DFE5EA);background:transparent;color:var(--color-text,#102D3A);font:inherit;text-align:left;cursor:pointer}
body.saas.workspace114 .calendar-week-record121>time{font-size:12px;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .calendar-week-record121>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;font-size:12px;line-height:1.5}
body.saas.workspace114 .calendar-week121 .calendar-week-more{margin-top:auto;padding:10px 0 0;font-size:12px;min-height:36px;white-space:normal}
body.saas.workspace114 .calendar-month-day121{min-height:130px;padding:10px 12px}
body.saas.workspace114 .calendar-month-facts121{display:flex;flex-wrap:wrap;gap:3px 10px;font-size:12px;line-height:1.5;color:var(--color-text-secondary,#617182);font-variant-numeric:tabular-nums}
body.saas.workspace114 .calendar-month-facts121>.attention{color:var(--color-text,#102D3A);font-weight:600}
body.saas.workspace114 .calendar-month-day121 .calendar-month-counts116{font-size:12px!important;line-height:1.5;margin:4px 0;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .calendar-month-day121 .calendar-more{min-height:28px;padding:3px 0;font-size:12px}
body.saas.workspace114 :is(.dashboard-day-facts121 button,.dashboard-planning121>summary,.dashboard-current-queues121 button,.dashboard-association-details121>summary,.calendar-date-jump121 input,.calendar-week-record121):focus-visible{outline:2px solid var(--primary,#EAB308);outline-offset:3px}
body.saas.workspace114 :is(.dashboard-day-facts121 button,.dashboard-current-queues121 button,.calendar-week-record121):hover{background:var(--color-surface-subtle,#F3F5F7)}
@media(max-width:1100px){body.saas.workspace114 .dashboard-current-queues121{align-items:flex-start;flex-direction:column;gap:10px}body.saas.workspace114 .dashboard-current-queues121>div:last-child{width:100%}body.saas.workspace114 .dashboard-current-queues121 button{flex:1}body.saas.workspace114 .calendar-week121 .calendar-week-board{grid-template-columns:repeat(4,minmax(0,1fr))}body.saas.workspace114 .calendar-week121 .calendar-week-day121{border-bottom:1px solid var(--color-border,#DFE5EA)}body.saas.workspace114 .calendar-week121 .calendar-week-day121:nth-child(4){border-right:0}}
@media(max-width:700px){body.saas.workspace114 .dashboard-day-facts121{grid-template-columns:minmax(0,1fr);gap:12px}body.saas.workspace114 .dashboard-day-main121{padding:0 0 10px;border-right:0;border-bottom:1px solid var(--color-border,#DFE5EA)}body.saas.workspace114 .dashboard-day-dimensions121{gap:12px}body.saas.workspace114 .dashboard-planning121>summary>span{gap:3px;align-items:flex-start;flex-direction:column}body.saas.workspace114 .dashboard-current-queues121>div:last-child{display:grid;grid-template-columns:minmax(0,1fr)}body.saas.workspace114 .calendar-date-jump121{flex-wrap:wrap}body.saas.workspace114 .calendar-date-jump121 input{min-height:44px}body.saas.workspace114 .calendar-week121 .calendar-week-board{grid-template-columns:repeat(2,minmax(0,1fr))}body.saas.workspace114 .calendar-week121 .calendar-week-day121:nth-child(2n){border-right:0}body.saas.workspace114 .calendar-month-day121{padding:8px 5px;min-height:134px}body.saas.workspace114 .calendar-month-facts121{font-size:11px;gap:2px}body.saas.workspace114 .calendar-month-day121 .calendar-month-counts116{font-size:11px!important}body.saas.workspace114 .calendar-month-day121 .calendar-more{min-height:44px}}
@media(pointer:coarse),(max-width:700px){body.saas.workspace114 :is(.dashboard-day-facts121 button,.dashboard-current-queues121 button,.calendar-week121 .calendar-week-more,.calendar-week-record121){min-height:44px}}
@media(prefers-reduced-motion:reduce){body.saas.workspace114 :is(.dashboard-day121,.dashboard-opening121,.calendar-toolbar121,.calendar-week121) *{scroll-behavior:auto;transition:none}}
/* End day facts and calendar usability121. */
/* Daily truth122: planning target, video facts and recorded work stay independent. */
body.saas.workspace114 .dashboard-day-facts122{grid-template-columns:minmax(170px,.65fr) minmax(0,2fr);gap:12px 24px}
body.saas.workspace114 .dashboard-day-facts122 .dashboard-day-main121>strong{font-size:32px;line-height:1.25;color:var(--color-text,#102D3A)}
body.saas.workspace114 .dashboard-day-facts122 .dashboard-day-dimensions121{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 18px}
body.saas.workspace114 .dashboard-day-facts122 .dashboard-day-dimensions121>button{min-height:68px;justify-content:center}
body.saas.workspace114 .dashboard-day-facts122 .dashboard-day-dimensions121 strong{font-size:24px;color:var(--color-text,#102D3A)}
body.saas.workspace114 .dashboard-link-context122{display:inline-block}
body.saas.workspace114 .calendar-coverage116+.calendar-day120{margin-top:14px}
body.saas.workspace114 .goals-associations122{margin-top:14px;border-top:1px solid var(--color-border,#DFE5EA)}
body.saas.workspace114 .goals-associations122>summary{min-height:44px;padding:12px 0;font-size:13px;font-weight:600;cursor:pointer}
body.saas.workspace114 .goals-associations122 dl{display:flex;flex-wrap:wrap;gap:12px 24px;margin:4px 0 12px}
body.saas.workspace114 .goals-associations122 dl>div{flex:1 1 145px;min-width:0}
body.saas.workspace114 .goals-associations122 dt{font-size:12px;line-height:1.5;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .goals-associations122 dd{margin:4px 0 0;font-size:22px;line-height:1.3;font-weight:600;font-variant-numeric:tabular-nums}
body.saas.workspace114 .goals-associations122 p,body.saas.workspace114 :is(.workspace-day-note122,.workspace-day-owners122>p,.workspace-day-plan122>p){font-size:12px;line-height:1.5;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .workspace-day-plan122{margin:16px 0;padding:0 12px;border:1px solid var(--color-border,#DFE5EA);border-radius:6px}
body.saas.workspace114 .workspace-day-plan122>summary{min-height:44px;padding:12px 0;font-size:13px;font-weight:600;cursor:pointer}
body.saas.workspace114 .workspace-day-plan122 .workspace-day-counts114{padding-bottom:12px}
body.saas.workspace114 .workspace-day-owners122{margin:18px 0}
body.saas.workspace114 .workspace-day-table122{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
body.saas.workspace114 .workspace-day-table122 table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.5}
body.saas.workspace114 .workspace-day-table122 :is(th,td){padding:9px 10px;border-bottom:1px solid var(--color-border,#DFE5EA);text-align:left;vertical-align:top}
body.saas.workspace114 .workspace-day-table122 thead th{font-weight:500;color:var(--color-text-secondary,#617182);min-width:86px;white-space:normal}
body.saas.workspace114 .workspace-day-table122 tbody th{font-weight:600;min-width:120px;overflow-wrap:anywhere}
body.saas.workspace114 .workspace-day-table122 td{font-variant-numeric:tabular-nums}
body.saas.workspace114 .workspace-day-record122{display:flex;align-items:center;gap:8px;min-width:0;border-bottom:1px solid var(--color-border,#DFE5EA);padding:7px 0}
body.saas.workspace114 .workspace-day-record122>.metric-line{flex:1;min-width:0;margin:0}
body.saas.workspace114 .workspace-day-record122>.metric-line>span{min-width:0;overflow-wrap:anywhere}
body.saas.workspace114 .workspace-day-record122>a{flex:none}
body.saas.workspace114 :is(.workspace-day-plan122>summary,.goals-associations122>summary,.workspace-day-record122 a):focus-visible{outline:2px solid var(--primary,#EAB308);outline-offset:3px}
@media(max-width:1100px){body.saas.workspace114 .dashboard-day-facts122{grid-template-columns:minmax(145px,.7fr) minmax(0,2fr);gap:12px 18px}body.saas.workspace114 .dashboard-day-facts122 .dashboard-day-dimensions121{gap:10px 14px}}
@media(max-width:700px){body.saas.workspace114 .dashboard-day-facts122{grid-template-columns:minmax(0,1fr)}body.saas.workspace114 .dashboard-day-facts122 .dashboard-day-main121{flex-direction:row;align-items:center;flex-wrap:wrap;gap:5px 12px;padding-bottom:12px}body.saas.workspace114 .dashboard-day-facts122 .dashboard-day-main121>strong{order:-1}body.saas.workspace114 .dashboard-day-facts122 .dashboard-day-dimensions121{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px}body.saas.workspace114 .workspace-day-record122{align-items:stretch;flex-direction:column}body.saas.workspace114 .workspace-day-record122>a{align-self:flex-start;min-height:44px}body.saas.workspace114 .workspace-day-table122 :is(th,td){padding:9px 8px}}
@media(prefers-reduced-motion:reduce){body.saas.workspace114 :is(.dashboard-day-facts122,.goals-associations122,.workspace-day-plan122) *{scroll-behavior:auto;transition:none}}
/* End daily truth122. */
/* Operational presentation123: a legible production register with separate planning and evidence. */
body.saas.workspace114 .presentation-production123{display:grid;grid-template-columns:minmax(150px,.65fr) minmax(0,2.7fr);gap:16px 24px;align-items:stretch}
body.saas.workspace114 .presentation-target123{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;min-width:0;min-height:104px;padding:8px 20px 8px 16px;border:0;border-left:3px solid var(--primary,#EAB308);border-radius:0;background:transparent;color:var(--color-text,#102D3A);text-align:left;font:inherit;cursor:pointer}
body.saas.workspace114 .presentation-target123>span{font-size:14px;line-height:1.5;font-weight:600}
body.saas.workspace114 .presentation-target123>strong{font-size:32px;line-height:1.15;font-weight:650;font-variant-numeric:tabular-nums}
body.saas.workspace114 .presentation-target123>small{font-size:13px;line-height:1.45;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .presentation-register123{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.35fr) minmax(0,1.15fr);align-items:stretch;gap:16px}
body.saas.workspace114 .presentation-fact123{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-width:0;min-height:52px;padding:4px 0;border:0;background:transparent;color:var(--color-text,#102D3A);text-align:left;font:inherit;cursor:pointer}
body.saas.workspace114 .presentation-fact123>strong{font-size:25px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums}
body.saas.workspace114 .presentation-fact123>span{font-size:14px;line-height:1.4}
body.saas.workspace114 .presentation-record-total123{padding-right:16px;border-right:1px solid var(--color-border,#DFE5EA)}
body.saas.workspace114 .presentation-fact-group123{display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:0}
body.saas.workspace114 .presentation-fact-group123>h4{margin:0;font-size:13px;font-weight:500;line-height:1.5;color:var(--color-text-secondary,#617182);text-transform:none;letter-spacing:normal}
body.saas.workspace114 .presentation-fact-group123>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.saas.workspace114 .presentation-day-note123{grid-column:1/-1;margin:0;font-size:13px;line-height:1.5;color:var(--color-text-secondary,#617182);max-width:90ch}
body.saas.workspace114 .presentation-queues123{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px}
body.saas.workspace114 .presentation-queues123>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}
body.saas.workspace114 .presentation-queues123>div:first-child>strong{font-size:14px;font-weight:600}
body.saas.workspace114 .presentation-queues123 small{font-size:13px;line-height:1.5;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .presentation-queues123>div:last-child{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
body.saas.workspace114 .presentation-queues123 button{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 12px;border:1px solid var(--color-border,#DFE5EA);border-radius:6px;background:var(--color-surface,#fff);color:var(--color-text,#102D3A);font:inherit;font-size:14px;cursor:pointer}
body.saas.workspace114 .presentation-queues123 button>strong{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
body.saas.workspace114 :is(.dashboard-day121,.dashboard-opening121) .dashboard-planning121{margin-top:16px}
body.saas.workspace114 :is(.dashboard-day121,.dashboard-opening121) .dashboard-planning121>summary{min-height:44px}
body.saas.workspace114 :is(.dashboard-day121,.dashboard-opening121) .dashboard-planning121>summary strong{font-size:14px}
body.saas.workspace114 :is(.dashboard-day121,.dashboard-opening121) .dashboard-planning121>summary small{font-size:13px}
body.saas.workspace114 :is(.dashboard-day121,.dashboard-opening121) .dashboard-planning121 p{font-size:13px;max-width:88ch}
body.saas.workspace114 .presentation-planning123{margin:0 0 16px;background:var(--color-surface,#fff);border-color:var(--color-border,#DFE5EA);border-radius:8px}
body.saas.workspace114 .presentation-planning123>summary{min-height:52px;padding:12px 16px}
body.saas.workspace114 .presentation-planning123>summary strong{font-size:15px;font-weight:600;line-height:1.5}
body.saas.workspace114 .presentation-planning123>summary small{font-size:13px;line-height:1.5;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .presentation-planning123 .calendar-coverage-body116{font-size:14px;line-height:1.5}
body.saas.workspace114 .presentation-planning123 .calendar-coverage-row116{font-size:14px;min-height:52px}
body.saas.workspace114 .presentation-planning123 .calendar-coverage-row116 small{font-size:13px;line-height:1.45}
body.saas.workspace114 .presentation-calendar123>header{padding:18px 18px 14px;gap:16px}
body.saas.workspace114 .presentation-calendar123 .calendar-day-heading120>h3{font-size:18px;line-height:1.4;font-weight:600}
body.saas.workspace114 .presentation-calendar123 .calendar-day-heading120>p{font-size:14px;line-height:1.5;max-width:75ch}
body.saas.workspace114 .presentation-calendar123 .calendar-understanding120>summary{font-size:13px;min-height:30px}
body.saas.workspace114 .presentation-calendar123 .calendar-day-totals120 dt{font-size:13px;line-height:1.5}
body.saas.workspace114 .presentation-calendar123 .calendar-day-totals120 dd{font-size:25px;line-height:1.2}
body.saas.workspace114 .presentation-calendar123 .calendar-day-totals120 dd>small{font-size:13px}
body.saas.workspace114 .presentation-calendar123 .calendar-cohort-primary120{padding:12px 18px;gap:14px 20px;border-top:1px solid var(--color-border,#DFE5EA);border-bottom:1px solid var(--color-border,#DFE5EA);background:var(--color-surface,#fff)}
body.saas.workspace114 .presentation-calendar123 .calendar-filter-group120>span{font-size:13px;line-height:1.5;text-transform:none;letter-spacing:normal}
body.saas.workspace114 .presentation-calendar123 .calendar-cohort-primary120 button{font-size:14px;min-height:38px;border-radius:6px}
body.saas.workspace114 .presentation-calendar123 .calendar-cohort-primary120 button>strong{font-variant-numeric:tabular-nums}
body.saas.workspace114 .presentation-calendar123 .calendar-cohort-primary120 button[aria-pressed=true]{background:var(--color-surface-subtle,#F3F5F7);border-color:var(--color-border,#DFE5EA);color:var(--color-text,#102D3A);box-shadow:inset 0 -2px var(--primary,#EAB308)}
body.saas.workspace114 .presentation-calendar123 .calendar-filter-explanation120{margin:0;padding:12px 18px 0;font-size:13px;line-height:1.5}
body.saas.workspace114 .presentation-calendar123 .calendar-cohort-tools120{padding:8px 18px 12px}
body.saas.workspace114 .presentation-calendar123 .calendar-cohort-result116,body.saas.workspace114 .presentation-calendar123 .calendar-cohort-secondary120>summary{font-size:13px;line-height:1.5}
body.saas.workspace114 .presentation-calendar123 .calendar-cohort-note116{padding:12px 18px;font-size:13px;line-height:1.5}
body.saas.workspace114 .presentation-calendar123 .calendar-video-columns120,body.saas.workspace114 .calendar-videos116 .calendar-video-row116{display:grid;grid-template-columns:52px 22px minmax(150px,1.6fr) minmax(94px,.7fr) minmax(100px,.75fr) minmax(120px,.9fr) 14px;gap:12px;align-items:center;padding:13px 18px;min-width:0}
body.saas.workspace114 .presentation-calendar123 .calendar-video-columns120{font-size:13px;font-weight:500;color:var(--color-text-secondary,#617182);background:var(--color-surface-subtle,#F3F5F7);border-top:1px solid var(--color-border,#DFE5EA);border-bottom:1px solid var(--color-border,#DFE5EA)}
body.saas.workspace114 .calendar-videos116 .calendar-video-row116{font-size:14px;line-height:1.5;border-bottom:1px solid var(--color-border,#DFE5EA)}
body.saas.workspace114 .calendar-videos116 .calendar-video-row116>time{font-size:14px;line-height:1.45;font-variant-numeric:tabular-nums}
body.saas.workspace114 .calendar-videos116 .calendar-video-copy116{min-width:0}
body.saas.workspace114 .calendar-videos116 .calendar-video-copy116>strong{font-size:14px;line-height:1.5;font-weight:600;white-space:normal;overflow-wrap:anywhere;display:block;-webkit-line-clamp:unset}
body.saas.workspace114 .calendar-videos116 .calendar-video-copy116>small{font-size:13px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
body.saas.workspace114 .calendar-video-owner123{font-size:14px;line-height:1.5;min-width:0;overflow-wrap:anywhere;color:var(--color-text,#102D3A)}
body.saas.workspace114 .calendar-videos116 :is(.calendar-video-states116 .badge,.calendar-video-link116){font-size:13px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;min-width:0}
body.saas.workspace114 .calendar-videos116 .calendar-video-link116>small{font-size:12px;line-height:1.45;white-space:normal}
body.saas.workspace114 .calendar-videos116 .calendar-video-owner123>.calendar-state-label120{display:none}
body.saas.workspace114 #modalRoot:has(>.workspace-day114){box-sizing:border-box;padding:16px;place-items:center;overflow:hidden;max-height:100dvh}
body.saas.workspace114 #modalRoot>.workspace-day114{box-sizing:border-box;display:flex;flex-direction:column;width:min(1120px,calc(100vw - 32px));max-width:100%;height:auto;max-height:calc(100dvh - 32px);min-height:0;margin:0;overflow:hidden}
body.saas.workspace114 .workspace-day114>.modal-header,body.saas.workspace114 .workspace-day114>.modal-footer{flex:0 0 auto;padding:16px 20px}
body.saas.workspace114 .workspace-day114>.modal-header>h2{font-size:19px;line-height:1.4;margin:0}
body.saas.workspace114 .workspace-day114 .modal-close{width:44px;height:44px;flex:none}
body.saas.workspace114 .workspace-day114>.modal-footer .button{min-height:44px}
body.saas.workspace114 .workspace-day114>.modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:20px}
body.saas.workspace114 .workspace-day114 #workspaceDailyForm114{display:flex;flex-direction:row;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:0 0 20px}
body.saas.workspace114 .workspace-day114 #workspaceDailyForm114>label{display:flex;flex-direction:column;gap:6px;font-size:14px;line-height:1.4;max-width:100%}
body.saas.workspace114 .workspace-day114 #workspaceDailyForm114 input{min-height:42px;font-size:14px;width:190px;max-width:100%}
body.saas.workspace114 .workspace-day114 #workspaceDailyForm114>.button{min-height:42px;font-size:14px}
body.saas.workspace114 .presentation-daily123{font-size:14px;line-height:1.55;min-width:0}
body.saas.workspace114 .presentation-daily123>p{margin:8px 0 14px;max-width:92ch;font-size:13px;line-height:1.5;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .presentation-daily123 .presentation-updated123{font-size:13px;font-variant-numeric:tabular-nums}
body.saas.workspace114 .presentation-daily123 .presentation-daily-target123{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--color-border,#DFE5EA);border-bottom:1px solid var(--color-border,#DFE5EA);font-size:14px;color:var(--color-text,#102D3A);max-width:none}
body.saas.workspace114 .presentation-daily-target123>span{font-size:14px;font-weight:600}
body.saas.workspace114 .presentation-daily-target123>strong{font-size:28px;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums}
body.saas.workspace114 .presentation-daily-section123{margin:20px 0}
body.saas.workspace114 .presentation-daily123 h3{font-size:16px;font-weight:600;line-height:1.5;margin:0 0 10px}
body.saas.workspace114 .presentation-daily-section123 .workspace-day-counts114{display:flex;flex-wrap:wrap;gap:0;border-top:1px solid var(--color-border,#DFE5EA);border-bottom:1px solid var(--color-border,#DFE5EA)}
body.saas.workspace114 .presentation-daily-section123 .workspace-day-counts114>.button{display:flex;flex-direction:column-reverse;align-items:flex-start;justify-content:center;gap:5px;flex:1 1 130px;min-width:0;min-height:88px;padding:12px 14px;border:0;border-right:1px solid var(--color-border,#DFE5EA);border-radius:0;background:transparent;font-size:14px;line-height:1.4;font-weight:400;text-align:left;white-space:normal}
body.saas.workspace114 .presentation-daily-section123 .workspace-day-counts114>.button:last-child{border-right:0}
body.saas.workspace114 .presentation-daily-section123 .workspace-day-counts114 strong{font-size:24px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.2}
body.saas.workspace114 .presentation-daily123 .workspace-day-plan122{margin:16px 0;padding:0 14px;border-color:var(--color-border,#DFE5EA);background:var(--color-surface,#fff)}
body.saas.workspace114 .presentation-daily123 .workspace-day-plan122>summary{font-size:14px;line-height:1.5;min-height:48px}
body.saas.workspace114 .presentation-daily123 .workspace-day-note122,body.saas.workspace114 .presentation-owners123>p,body.saas.workspace114 .presentation-daily123 .workspace-day-plan122>p{font-size:13px;line-height:1.5;max-width:92ch}
body.saas.workspace114 .presentation-owners123{margin:24px 0}
body.saas.workspace114 .presentation-owners123 .workspace-day-table122{border:1px solid var(--color-border,#DFE5EA);border-radius:6px;scrollbar-gutter:stable}
body.saas.workspace114 .presentation-owners123 table{font-size:14px;line-height:1.5;min-width:760px}
body.saas.workspace114 .presentation-owners123 :is(th,td){padding:12px 14px;vertical-align:middle;line-height:1.5;font-size:14px}
body.saas.workspace114 .presentation-owners123 thead th{font-size:13px;min-width:88px;background:var(--color-surface-subtle,#F3F5F7);color:var(--color-text-secondary,#617182);font-weight:500}
body.saas.workspace114 .presentation-owners123 thead tr:first-child>th[scope=colgroup]{color:var(--color-text,#102D3A);font-size:14px;font-weight:600}
body.saas.workspace114 .presentation-owners123 tbody th{min-width:150px;font-size:14px;font-weight:600}
body.saas.workspace114 .presentation-owners123 tbody tr:last-child>:is(th,td){border-bottom:0}
body.saas.workspace114 .presentation-daily123 .workspace-day-record122{padding:10px 0}
body.saas.workspace114 .presentation-daily123 .workspace-day-record122>.metric-line{font-size:14px;line-height:1.5}
body.saas.workspace114 .presentation-daily123 .workspace-day-record122>.metric-line small{font-size:13px;line-height:1.5}
body.saas.workspace114 :is(.presentation-target123,.presentation-fact123,.presentation-queues123 button,.presentation-calendar123 .calendar-cohort-primary120 button,.presentation-daily123 button,.presentation-daily123 a):focus-visible{outline:2px solid var(--primary,#EAB308);outline-offset:3px}
body.saas.workspace114 :is(.presentation-target123,.presentation-fact123,.presentation-queues123 button,.presentation-daily-section123 .workspace-day-counts114>.button):hover{background:var(--color-surface-subtle,#F3F5F7)}
@media(max-width:1100px){body.saas.workspace114 .presentation-production123{grid-template-columns:145px minmax(0,1fr);gap:14px 18px}body.saas.workspace114 .presentation-register123{grid-template-columns:minmax(100px,.75fr) minmax(0,1.3fr) minmax(0,1.1fr);gap:12px}body.saas.workspace114 .presentation-fact123>span{font-size:13px}body.saas.workspace114 .presentation-queues123{align-items:flex-start;flex-direction:column;gap:10px}body.saas.workspace114 .presentation-queues123>div:last-child{width:100%}body.saas.workspace114 .presentation-queues123 button{flex:1}body.saas.workspace114 .presentation-calendar123 .calendar-video-columns120,body.saas.workspace114 .calendar-videos116 .calendar-video-row116{grid-template-columns:44px 20px minmax(130px,1.4fr) minmax(86px,.7fr) minmax(90px,.75fr) minmax(106px,.85fr) 12px;gap:8px;padding:12px}}
@media(max-width:700px){body.saas.workspace114 .presentation-production123{grid-template-columns:minmax(0,1fr);gap:14px}body.saas.workspace114 .presentation-target123{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:4px 12px;min-height:0;padding:4px 0 4px 12px}body.saas.workspace114 .presentation-target123>strong{grid-column:2;grid-row:1/3}body.saas.workspace114 .presentation-register123{grid-template-columns:minmax(0,1fr);gap:12px}body.saas.workspace114 .presentation-record-total123{display:flex;flex-direction:row;align-items:baseline;justify-content:flex-start;gap:10px;border-right:0;padding:0 0 12px;border-bottom:1px solid var(--color-border,#DFE5EA)}body.saas.workspace114 .presentation-fact-group123>div{gap:20px}body.saas.workspace114 .presentation-fact123>span{font-size:14px}body.saas.workspace114 .presentation-fact-group123>h4{font-size:13px}body.saas.workspace114 .presentation-queues123>div:last-child{display:grid;grid-template-columns:minmax(0,1fr)}body.saas.workspace114 .presentation-queues123 button{justify-content:space-between}body.saas.workspace114 .presentation-calendar123>header{padding:14px 12px}body.saas.workspace114 .presentation-calendar123 .calendar-cohort-primary120{padding:12px;gap:12px}body.saas.workspace114 .presentation-calendar123 .calendar-cohort-primary120 button{min-height:44px}body.saas.workspace114 .presentation-calendar123 .calendar-video-columns120{display:none}body.saas.workspace114 .calendar-videos116 .calendar-video-row116{grid-template-columns:44px 22px minmax(0,1fr) 14px;gap:10px;padding:14px 12px}body.saas.workspace114 .calendar-videos116 .calendar-video-row116>time{grid-column:1;grid-row:1}body.saas.workspace114 .calendar-videos116 .calendar-video-platform116{grid-column:2;grid-row:1}body.saas.workspace114 .calendar-videos116 .calendar-video-copy116{grid-column:3;grid-row:1}body.saas.workspace114 .calendar-videos116 .calendar-video-row116>svg{grid-column:4;grid-row:1}body.saas.workspace114 .calendar-videos116 .calendar-video-owner123{grid-column:1/3;grid-row:2}body.saas.workspace114 .calendar-videos116 .calendar-video-states116{grid-column:3/5;grid-row:2}body.saas.workspace114 .calendar-videos116 .calendar-video-link116{grid-column:1/-1;grid-row:3}body.saas.workspace114 .calendar-videos116 .calendar-state-label120,body.saas.workspace114 .calendar-videos116 .calendar-video-owner123>.calendar-state-label120{display:block;font-size:12px;font-weight:400;color:var(--color-text-secondary,#617182);margin:0 0 3px}body.saas.workspace114 #modalRoot:has(>.workspace-day114){padding:8px}body.saas.workspace114 #modalRoot>.workspace-day114{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:8px}body.saas.workspace114 .workspace-day114>.modal-header,body.saas.workspace114 .workspace-day114>.modal-footer{padding:12px 14px}body.saas.workspace114 .workspace-day114>.modal-body{padding:14px}body.saas.workspace114 .workspace-day114 #workspaceDailyForm114 input,body.saas.workspace114 .workspace-day114 #workspaceDailyForm114>.button{min-height:44px}body.saas.workspace114 .presentation-daily-section123 .workspace-day-counts114>.button{flex-basis:45%;min-height:84px;padding:12px}body.saas.workspace114 .presentation-owners123 :is(th,td){padding:10px 12px}}
@media(pointer:coarse){body.saas.workspace114 :is(.presentation-target123,.presentation-fact123,.presentation-queues123 button,.presentation-calendar123 button,.presentation-daily123 button,.presentation-daily123 a,.workspace-day114 input,.workspace-day114 .button){min-height:44px}}
@media(max-width:960px){body.saas.workspace114 .presentation-calendar123 .calendar-video-columns120{display:none}body.saas.workspace114 .calendar-videos116 .calendar-video-row116{grid-template-columns:44px 22px minmax(0,1fr) 14px;gap:10px;padding:14px 12px}body.saas.workspace114 .calendar-videos116 .calendar-video-row116>time{grid-column:1;grid-row:1}body.saas.workspace114 .calendar-videos116 .calendar-video-platform116{grid-column:2;grid-row:1}body.saas.workspace114 .calendar-videos116 .calendar-video-copy116{grid-column:3;grid-row:1}body.saas.workspace114 .calendar-videos116 .calendar-video-row116>svg{grid-column:4;grid-row:1}body.saas.workspace114 .calendar-videos116 .calendar-video-owner123{grid-column:1/-1;grid-row:2;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}body.saas.workspace114 .calendar-videos116 .calendar-video-states116{grid-column:1/3;grid-row:3}body.saas.workspace114 .calendar-videos116 .calendar-video-link116{grid-column:3/5;grid-row:3}body.saas.workspace114 .calendar-videos116 .calendar-state-label120,body.saas.workspace114 .calendar-videos116 .calendar-video-owner123>.calendar-state-label120{display:block;font-size:12px;font-weight:400;color:var(--color-text-secondary,#617182);margin:0 0 3px}}
body.saas.workspace114 .presentation-calendar123>header{grid-template-columns:minmax(0,1fr) minmax(230px,auto);align-items:center;padding:14px 18px;gap:12px 18px}
body.saas.workspace114 .presentation-calendar123 .calendar-day-heading120>h3{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:17px;margin:0}
body.saas.workspace114 .presentation-register-total123{font-size:14px;line-height:1.5;font-weight:500;color:var(--color-text-secondary,#617182);font-variant-numeric:tabular-nums}
body.saas.workspace114 .presentation-calendar123 .calendar-day-heading120>p{font-size:13px;line-height:1.5;margin:4px 0 0}
body.saas.workspace114 .presentation-calendar123>header>.presentation-planning123{margin:0;border:0;background:transparent;border-radius:0;min-width:0}
body.saas.workspace114 .presentation-calendar123>header>.presentation-planning123>summary{padding:8px 12px;min-height:44px;border:1px solid var(--color-border,#DFE5EA);border-radius:6px;gap:14px}
body.saas.workspace114 .presentation-calendar123>header>.presentation-planning123>summary>span{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
body.saas.workspace114 .presentation-calendar123>header>.presentation-planning123>summary strong{font-size:14px;font-weight:600}
body.saas.workspace114 .presentation-calendar123>header>.presentation-planning123>summary small{font-size:13px}
body.saas.workspace114 .presentation-calendar123>header>.presentation-planning123[open]{grid-column:1/-1}
body.saas.workspace114 .presentation-calendar123>header>.presentation-planning123[open]>.calendar-coverage-body116{padding:14px 0 0}
body.saas.workspace114 .presentation-planning-counts123{font-variant-numeric:tabular-nums;font-weight:600}
body.saas.workspace114 .presentation-calendar123 .calendar-cohort-primary120{padding:8px 18px;gap:8px 16px;align-items:center}
body.saas.workspace114 .presentation-calendar123 .calendar-filter-group120{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
body.saas.workspace114 .presentation-calendar123 .calendar-filter-group120>div{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
body.saas.workspace114 .presentation-calendar123 .calendar-cohort-tools120{align-items:baseline;gap:6px 18px;flex-wrap:wrap;padding:6px 18px;min-height:34px}
body.saas.workspace114 .presentation-calendar123 :is(.calendar-cohort-secondary120,.calendar-understanding120){margin:0;padding:0;border:0;min-width:0}
body.saas.workspace114 .presentation-calendar123 :is(.calendar-cohort-secondary120,.calendar-understanding120)>summary{font-size:13px;min-height:28px;line-height:1.5;padding:4px 0}
body.saas.workspace114 .presentation-calendar123 .calendar-cohort-tools120>details[open]{flex-basis:100%;order:2}
body.saas.workspace114 .presentation-calendar123 .calendar-cohort-result116{margin:0 0 0 auto;padding:4px 0;font-size:13px;line-height:1.5}
body.saas.workspace114 .presentation-calendar123 .calendar-video-columns120{padding-top:9px;padding-bottom:9px}
@media(max-width:960px){body.saas.workspace114 .calendar-toolbar121{flex-wrap:wrap;min-width:0;max-width:100%}body.saas.workspace114 .calendar-toolbar121>.workspace-calendar-date113{flex-wrap:wrap;min-width:0;max-width:100%}body.saas.workspace114 .calendar-toolbar121>.tabs{flex-wrap:wrap;min-width:0;max-width:100%}}
@media(max-width:700px){body.saas.workspace114 .presentation-calendar123>header{grid-template-columns:minmax(0,1fr);gap:10px;padding:12px}body.saas.workspace114 .presentation-calendar123>header>.presentation-planning123{width:100%}body.saas.workspace114 .presentation-calendar123 .calendar-cohort-primary120{padding:8px 12px}body.saas.workspace114 .presentation-calendar123 .calendar-cohort-tools120{padding:6px 12px}body.saas.workspace114 .presentation-calendar123 .calendar-cohort-result116{margin-left:0}body.saas.workspace114 .calendar-toolbar121>.tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%}body.saas.workspace114 .calendar-toolbar121>.tabs>button{min-width:0;min-height:44px;padding:6px;font-size:13px;white-space:normal}}
@media(max-width:700px){body.saas.workspace114[data-route=calendar] .page-head{display:flex;flex-direction:column;align-items:stretch;gap:14px}body.saas.workspace114[data-route=calendar] .page-head>.page-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch;justify-content:stretch;width:100%;max-width:100%;margin:0}body.saas.workspace114[data-route=calendar] .page-head>.page-actions>:is(.button,details){min-width:0;width:100%;max-width:100%;margin:0;align-self:stretch;justify-self:stretch}body.saas.workspace114[data-route=calendar] .page-head>.page-actions>.button,body.saas.workspace114[data-route=calendar] .page-head>.page-actions>details>summary{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:44px;min-height:44px;padding:5px 8px;font-size:13px;line-height:1.25;white-space:normal;text-align:center}body.saas.workspace114[data-route=calendar] .page-actions>details:nth-child(odd)>:is(.workspace-calendar-menu113,.ws114-workspace-panel){left:0;right:auto;max-width:calc(100vw - 32px)}body.saas.workspace114[data-route=calendar] .page-actions>details:nth-child(even)>:is(.workspace-calendar-menu113,.ws114-workspace-panel){left:auto;right:0;max-width:calc(100vw - 32px)}}
@media(prefers-reduced-motion:reduce){body.saas.workspace114 :is(.presentation-production123,.presentation-queues123,.presentation-calendar123,.presentation-daily123) *{transition:none;scroll-behavior:auto}}
/* End operational presentation123. */
/* Day-slot reference126: shared Dashboard and Calendar register. */
body.saas.workspace114 .daily-slot-panel126 .panel-head{align-items:flex-start;gap:12px}
body.saas.workspace114 .daily-slot-panel126 .panel-head h3{display:flex;align-items:center;gap:8px}
body.saas.workspace114 .daily-slot-panel126 .panel-head .saas-caption{margin:5px 0 0;line-height:1.45;font-size:12px;max-width:62ch}
body.saas.workspace114 .daily-slot-count126{font-variant-numeric:tabular-nums;color:var(--color-text,#102D3A)}
body.saas.workspace114 .daily-slot-register126{min-width:0;width:100%;color:var(--color-text,#102D3A)}
body.saas.workspace114 .daily-slot-columns126,body.saas.workspace114 .daily-slot-row126{display:grid;grid-template-columns:48px minmax(120px,1.3fr) minmax(112px,1.15fr) minmax(80px,.8fr) minmax(78px,.8fr);gap:12px;align-items:start;padding:12px 2px}
body.saas.workspace114 .daily-slot-columns126{border-bottom:1px solid var(--color-border,#DFE5EA);padding-top:2px;font-size:12px;font-weight:500;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .daily-slot-scroll126{max-height:450px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
body.saas.workspace114 .daily-slot-row126{width:100%;min-height:64px;margin:0;text-align:left;border:0;border-bottom:1px solid var(--color-border,#DFE5EA);border-radius:0;background:transparent;color:inherit;font:inherit;font-size:14px;line-height:1.45;cursor:pointer}
body.saas.workspace114 .daily-slot-row126:last-child{border-bottom:0}
body.saas.workspace114 .daily-slot-row126>*,body.saas.workspace114 .daily-slot-row126 :is(strong,small,span){min-width:0;overflow-wrap:anywhere}
body.saas.workspace114 .daily-slot-row126 time{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
body.saas.workspace114 .daily-slot-row126 strong{display:block;font-size:14px;font-weight:600;line-height:1.4}
body.saas.workspace114 .daily-slot-row126 small{display:block;margin-top:4px;font-size:12px;color:var(--color-text-secondary,#617182);line-height:1.45}
body.saas.workspace114 .daily-slot-owner126{display:block;margin-top:5px;font-size:13px}
body.saas.workspace114 .daily-slot-row126 .badge{white-space:normal;text-align:left;font-size:12px;line-height:1.4;padding:3px 6px}
body.saas.workspace114 .daily-slot-row126 .daily-slot-action126{color:var(--color-text,#102D3A);font-weight:600;text-decoration:underline;text-underline-offset:3px}
body.saas.workspace114 .daily-slot-row126:hover{background:var(--color-surface-subtle,#F3F5F7)}
body.saas.workspace114 :is(.daily-slot-row126,.daily-slot-scroll126):focus-visible{outline:2px solid var(--workspace-accent,#efb600);outline-offset:-2px}
body.saas.workspace114 .daily-slot-mobile-label126{display:none!important}
body.saas.workspace114 .daily-slot-note126{margin:12px 0 0;font-size:12px;line-height:1.5;max-width:80ch}
body.saas.workspace114[data-workspace-density=comfortable] .daily-slot-row126{padding-top:16px;padding-bottom:16px}
@media(max-width:700px){body.saas.workspace114 .daily-slot-columns126{display:none}body.saas.workspace114 .daily-slot-scroll126{max-height:520px}body.saas.workspace114 .daily-slot-row126{grid-template-columns:46px minmax(0,1fr);gap:10px 12px;padding:14px 2px;min-height:44px}body.saas.workspace114 .daily-slot-row126>time{grid-column:1;grid-row:1}body.saas.workspace114 .daily-slot-context126{grid-column:2;grid-row:1}body.saas.workspace114 .daily-slot-submission126{grid-column:1/-1;grid-row:2}body.saas.workspace114 .daily-slot-review126{grid-column:1/-1;grid-row:3}body.saas.workspace114 .daily-slot-link126{grid-column:1/-1;grid-row:4}body.saas.workspace114 .daily-slot-row126 :is(.daily-slot-submission126,.daily-slot-review126,.daily-slot-link126){display:grid;grid-template-columns:112px minmax(0,1fr);gap:2px 12px;align-items:start}body.saas.workspace114 .daily-slot-row126 :is(.daily-slot-submission126,.daily-slot-review126,.daily-slot-link126)>small:not(.daily-slot-mobile-label126){grid-column:2}body.saas.workspace114 .daily-slot-row126 .daily-slot-mobile-label126{display:block!important;grid-column:1;grid-row:1/4;margin:0}body.saas.workspace114 .daily-slot-row126 .badge{justify-self:start}}
/* End day-slot reference126. */
/* Task-first Submit and separate daily plan126. */
body.saas.workspace114 .daily-plan-calendar126{margin-bottom:18px}
body.saas.workspace114 .daily-plan-calendar126 .panel-head{align-items:flex-start}
body.saas.workspace114 .daily-plan-calendar126 .panel-head h3{display:flex;align-items:baseline;gap:10px}
body.saas.workspace114 .daily-plan-calendar126 .panel-head .saas-caption{margin:5px 0 0;font-size:13px}
body.saas.workspace114 .daily-plan-calendar126 .panel-body{padding:0 18px 14px}
body.saas.workspace114 .daily-plan-calendar126 .daily-slot-note126:first-child{margin:0 0 12px}
body.saas.workspace114 .posting-free-exception126{margin-top:14px;border-top:1px solid var(--color-border,#DFE5EA)}
body.saas.workspace114 .posting-free-exception126>summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:13px;font-weight:600;line-height:1.5}
body.saas.workspace114 .posting-free-exception126 .posting-free-choice{margin-top:4px}
body.saas.workspace114 [data-posting-plan-review126]{margin:0 0 14px;line-height:1.5}
body.saas.workspace114 [data-posting-plan-review126] small{display:block;margin-top:5px;font-size:13px}
@media(max-width:700px){body.saas.workspace114 .daily-plan-calendar126 .panel-body{padding:0 12px 12px}}
/* End task-first Submit126. */

/* Restore the compact dashboard and chronological calendar, without changing the shell. */
body.saas.workspace114 .restore-dashboard127>.panel-head{padding:0 0 16px;border:0;align-items:center;gap:12px}
body.saas.workspace114 .restore-dashboard127>.panel-head h3{font-size:15px;margin:0}
body.saas.workspace114 .restore-dashboard127>.panel-body{padding:0}
body.saas.workspace114 .restore-dashboard127{background:transparent;border:0;box-shadow:none}
body.saas.workspace114 .restore-kpis127{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--color-border,#dfe5ea);border-radius:10px;overflow:hidden;background:var(--color-surface,#fff)}
body.saas.workspace114 .restore-kpis127>.saas-metric{display:flex;flex-direction:column;align-items:stretch;text-align:left;border:0;border-radius:0;border-right:1px solid var(--color-border,#dfe5ea);background:transparent;min-height:132px;padding:18px;box-shadow:none;color:var(--color-text,#102d3a);gap:13px}
body.saas.workspace114 .restore-kpis127>.saas-metric:last-child{border-right:0}
body.saas.workspace114 .restore-kpis127>.saas-metric:first-child{box-shadow:inset 0 3px var(--workspace-accent,#efb600)}
body.saas.workspace114 .restore-kpis127 small{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;line-height:1.4;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .restore-kpis127 strong{font-size:30px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.2}
body.saas.workspace114 .restore-kpis127>.saas-metric>span{font-size:12px;color:var(--color-text-secondary,#617182);line-height:1.4}
body.saas.workspace114 .restore-kpis127>.saas-metric:hover{background:var(--color-surface-subtle,#f3f5f7)}
body.saas.workspace114 .restore-count-details127{font-size:13px;margin:12px 0 20px;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .restore-count-details127>summary{cursor:pointer;display:flex;align-items:center;justify-content:flex-end;gap:6px;min-height:32px}
body.saas.workspace114 .restore-count-details127[open]>summary{justify-content:flex-start}
body.saas.workspace114 .restore-count-details127 p{line-height:1.6;max-width:90ch}
body.saas.workspace114 .restore-day-facts127{display:flex;flex-wrap:wrap;gap:8px}
body.saas.workspace114 .restore-day-facts127>button{padding:9px 12px;min-height:40px;background:var(--color-surface,#fff);border:1px solid var(--color-border,#dfe5ea);border-radius:6px;color:var(--color-text,#102d3a);font:inherit;cursor:pointer}
body.saas.workspace114 .restore-day-facts127 strong{margin-left:8px}
body.saas.workspace114 .restore-calendar127>.panel-head,body.saas.workspace114 .restore-schedule127>.panel-head{padding:18px 20px;align-items:center;gap:14px}
body.saas.workspace114 .restore-calendar127 h3,body.saas.workspace114 .restore-schedule127 h3{font-size:16px;margin:0;display:flex;align-items:center;gap:8px}
body.saas.workspace114 .restore-calendar127>.panel-head small{display:block;margin-top:5px;font-size:12px;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .restore-timeline127{padding:8px 20px 16px}
body.saas.workspace114 .restore-timeline-item127{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;padding:10px 0;border-bottom:1px solid var(--color-border,#dfe5ea)}
body.saas.workspace114 .restore-timeline-item127:last-child{border-bottom:0}
body.saas.workspace114 .restore-timeline-item127>time{padding-top:14px;font-size:13px;font-weight:500;font-variant-numeric:tabular-nums;line-height:1.5;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .restore-timeline-item127>time>small{display:block;font-size:11px;font-weight:400}
body.saas.workspace114 .restore-slot127{display:grid;grid-template-columns:minmax(0,1fr) minmax(105px,auto) 14px;align-items:center;gap:16px;width:100%;padding:14px 16px;text-align:left;background:var(--color-surface,#fff);border:1px solid var(--color-border,#dfe5ea);border-radius:8px;color:var(--color-text,#102d3a);font:inherit;cursor:pointer}
body.saas.workspace114 .restore-slot127:hover{background:var(--color-surface-subtle,#f3f5f7);border-color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .restore-slot-copy127{display:flex;flex-direction:column;gap:5px;min-width:0}
body.saas.workspace114 .restore-slot-copy127 strong{font-size:14px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
body.saas.workspace114 .restore-slot-copy127>span{font-size:13px;color:var(--color-text-secondary,#617182);line-height:1.45;overflow-wrap:anywhere}
body.saas.workspace114 .restore-slot-copy127>small{display:flex;align-items:center;gap:5px;color:var(--color-text-secondary,#617182);font-size:12px;line-height:1.4}
body.saas.workspace114 .restore-slot-state127{display:flex;align-items:flex-end;flex-direction:column;gap:5px;max-width:190px}
body.saas.workspace114 .restore-slot-state127 .calendar-day-task-stage{font-size:12px;padding:5px 8px;border-radius:5px;white-space:normal;line-height:1.4}
body.saas.workspace114 .restore-slot-state127>small{font-size:11px;line-height:1.4;color:var(--color-text-secondary,#617182);text-align:right}
body.saas.workspace114 .restore-schedule127 .restore-slot127{grid-template-columns:minmax(0,1fr) 14px;gap:8px}
body.saas.workspace114 .restore-schedule127 .restore-slot-state127{grid-column:1;grid-row:2;align-items:flex-start;max-width:100%}
body.saas.workspace114 .restore-schedule127 .restore-slot127>svg{grid-column:2;grid-row:1/3}
body.saas.workspace114 .restore-schedule-footer127{padding:0 20px 18px;text-align:right}
body.saas.workspace114 .restore-calendar127>.restore-count-details127{margin:0;padding:0 20px 12px;border-top:1px solid var(--color-border,#dfe5ea)}
body.saas.workspace114 .restore-videos127{margin-top:18px;overflow:hidden}
body.saas.workspace114 .restore-videos127>summary{list-style:none;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 20px;cursor:pointer}
body.saas.workspace114 .restore-videos127>summary::-webkit-details-marker{display:none}
body.saas.workspace114 .restore-videos127>summary strong{font-size:15px;font-weight:600}
body.saas.workspace114 .restore-videos127>summary small{display:block;margin-top:5px;font-size:12px;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 .restore-videos127[open]>summary>svg{transform:rotate(90deg)}
body.saas.workspace114 .restore-video-note127{font-size:13px;line-height:1.5;padding:0 20px;color:var(--color-text-secondary,#617182);max-width:95ch}
body.saas.workspace114 .restore-videos127 .calendar-cohort-primary120{padding:10px 20px;display:flex;flex-wrap:wrap;gap:6px}
body.saas.workspace114 .restore-activity127{margin-top:22px}
body.saas.workspace114 .restore-activity127>summary{padding:14px 0;cursor:pointer;font-size:14px;font-weight:600}
body.saas.workspace114 .restore-empty127{padding:20px;font-size:13px;color:var(--color-text-secondary,#617182)}
body.saas.workspace114 :is(.restore-slot127,.restore-kpis127>button,.restore-count-details127>summary,.restore-videos127>summary,.restore-activity127>summary):focus-visible{outline:2px solid var(--workspace-accent,#efb600);outline-offset:2px}
@media(max-width:1050px){body.saas.workspace114 .restore-kpis127{grid-template-columns:repeat(2,minmax(0,1fr))}body.saas.workspace114 .restore-kpis127>.saas-metric:nth-child(2){border-right:0}body.saas.workspace114 .restore-kpis127>.saas-metric:nth-child(-n+2){border-bottom:1px solid var(--color-border,#dfe5ea)}}
@media(max-width:700px){body.saas.workspace114 .restore-kpis127>.saas-metric{padding:14px;min-height:124px;gap:10px}body.saas.workspace114 .restore-kpis127 strong{font-size:27px}body.saas.workspace114 .restore-timeline127{padding:4px 12px 12px}body.saas.workspace114 .restore-timeline-item127{grid-template-columns:43px minmax(0,1fr);gap:6px}body.saas.workspace114 .restore-slot127{padding:12px;grid-template-columns:minmax(0,1fr) 12px;gap:8px}body.saas.workspace114 .restore-slot-state127{grid-column:1;grid-row:2;align-items:flex-start;max-width:100%}body.saas.workspace114 .restore-slot-state127>small{text-align:left}body.saas.workspace114 .restore-slot127>svg{grid-column:2;grid-row:1/3}body.saas.workspace114 .restore-dashboard127>.panel-head{flex-wrap:wrap}body.saas.workspace114 .restore-calendar127>.panel-head,body.saas.workspace114 .restore-schedule127>.panel-head,body.saas.workspace114 .restore-videos127>summary{padding:14px 12px}body.saas.workspace114 .restore-schedule127>.panel-head{flex-wrap:wrap}body.saas.workspace114 .restore-count-details127>summary{min-height:44px}}

/* Two independent dates: planned day and recorded work. */
.production128{margin-top:22px;padding:22px 0 10px;border-top:1px solid var(--border,#dce4ed);color:var(--text,#243848)}
.production128 header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.production128 h3{margin:0;font-size:17px;line-height:1.4}.production128 p{font-size:13px;color:var(--muted,#60758b);line-height:1.6;margin:6px 0 12px}
.production-metrics128{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--border,#dce4ed);border-radius:10px;overflow:hidden}
.production-metrics128 button{display:flex;flex-direction:column;align-items:flex-start;gap:10px;background:transparent;color:inherit;border:0;border-right:1px solid var(--border,#dce4ed);padding:16px;text-align:left;cursor:pointer;font:inherit}
.production-metrics128 button:last-child{border-right:0}.production-metrics128 button strong{font-size:28px;line-height:1.2;font-variant-numeric:tabular-nums}.production-metrics128 button span{font-size:13px;color:var(--muted,#60758b)}
.production128 button:hover,.production-records128 button:hover{background:var(--hover,#f3f6f9)}.production128 button:focus-visible,.production-records128 button:focus-visible{outline:2px solid #ac8100;outline-offset:-3px}
.production-destinations128{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 0}.production-destinations128>span{font-size:13px;color:var(--muted,#60758b);margin-right:4px}
.production-destinations128 button{display:flex;gap:10px;align-items:center;padding:7px 10px;border:1px solid var(--border,#dce4ed);border-radius:7px;color:inherit;background:transparent;font:inherit;font-size:12px;cursor:pointer}.production-destinations128 strong{font-variant-numeric:tabular-nums}
.production128 summary{cursor:pointer;font-size:13px;color:var(--muted,#60758b);padding:9px 0}.production-table128{overflow-x:auto}.production-table128 table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.production-table128 th,.production-table128 td{padding:10px;border-bottom:1px solid var(--border,#dce4ed)}.production-table128 td button{color:inherit;background:transparent;border:0;cursor:pointer;padding:7px 12px}.production-table128 td button span{display:none}
.production-warning128{border-left:3px solid #c88b12;padding:9px 12px;font-size:13px;line-height:1.5;background:var(--panel,#fff);color:var(--text,#243848)}.production-note128{font-size:13px;color:var(--muted,#60758b);line-height:1.5}
.production-records128{display:grid;gap:8px}.production-records128 button{display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid var(--border,#dce4ed);border-radius:8px;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}.production-records128 small,.production-records128 span{color:var(--muted,#60758b);font-size:12px;line-height:1.6}.production-pager128{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:14px}
@media(max-width:900px){.production-metrics128{grid-template-columns:repeat(2,minmax(0,1fr))}.production-metrics128 button:nth-child(2){border-right:0}.production-metrics128 button:nth-child(-n+2){border-bottom:1px solid var(--border,#dce4ed)}}
@media(max-width:480px){.production128{padding-top:16px}.production-metrics128 button{padding:12px}.production-metrics128 button strong{font-size:24px}.production-destinations128>span{width:100%}}


/* Separate Admin decision inbox, using the existing DJEMPOL type and colors. */
body.saas .topbar-actions > .manager-requests143 {display:inline-flex!important;align-items:center;gap:7px;padding:8px 10px;min-height:40px;width:auto;white-space:nowrap;font-size:12px;flex-shrink:0}
.manager-requests143 .manager-requests-count143 {min-width:22px;padding:2px 5px;border-radius:5px;background:var(--color-background,#edf2f6);font-variant-numeric:tabular-nums;text-align:center}
.manager-requests143.has-pending143 .manager-requests-count143 {background:#f7bf0b;color:#162e3b}
.manager-requests143:focus-visible {outline:2px solid #9b7300;outline-offset:2px}
.manager-inbox-head143,.manager-inbox-footer143 {display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.manager-inbox-head143 strong {font-size:18px}.manager-inbox-head143 p {color:var(--muted,#60758b);font-size:13px;margin:6px 0}
.manager-inbox-note143 {padding:12px 14px;border-left:3px solid #f2b800;background:var(--color-background,#f5f7fa);line-height:1.55;margin:16px 0}
.manager-inbox-footer143 {margin-top:20px;padding-top:16px;border-top:1px solid var(--border,#dce4ed)}
.manager-requests143 .manager-requests-short143 {display:none}
@media(max-width:1500px){.manager-requests143 .manager-requests-label143 {display:none}.manager-requests143 .manager-requests-short143 {display:inline}}
@media(max-width:700px){.manager-requests143 .manager-requests-short143 {display:none}}
@media(max-width:600px){body.saas .topbar-actions > .manager-requests143 {padding:5px;gap:3px;min-height:36px}.manager-requests143 .manager-requests-count143{min-width:18px;padding:1px 3px}}

/* Submit: two independent queues, shared filters and one selected slot. */
.posting-task-groups144 { display:grid;grid-template-columns:1fr 1fr;gap:0;border-bottom:1px solid var(--line);background:var(--surface); }
.posting-task-groups144 button { display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:12px 10px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--soft);font:inherit;font-size:12px;font-weight:700;text-align:left;cursor:pointer; }
.posting-task-groups144 button + button { border-left:1px solid var(--line); }
.posting-task-groups144 button span { min-width:0;overflow-wrap:anywhere; }
.posting-task-groups144 button b { flex:none;min-width:24px;padding:3px 7px;border-radius:5px;background:var(--surface-2);color:var(--ink);text-align:center; }
.posting-task-groups144 button[aria-selected="true"] { border-bottom-color:var(--brand);color:var(--ink);background:var(--brand-soft); }
.posting-task-groups144 button[data-task-group144="recovery"][aria-selected="true"] { border-bottom-color:#397e75;background:color-mix(in srgb,var(--surface) 90%,#397e75); }
.posting-task-groups144 button:focus-visible,.posting-task-more144:focus-visible { outline:2px solid var(--brand-deep);outline-offset:-3px; }
.posting-task-group-help144 { margin:0;padding:9px 11px;border-bottom:1px solid var(--line);font-size:11px;line-height:1.45;color:var(--soft); }
.posting-task-more144 { display:block;width:100%;padding:9px 11px;border:0;border-top:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-size:12px;font-weight:700;cursor:pointer; }
.posting-task-more144[hidden] { display:none; }
body.saas .posting-modal .posting-task-selected > div:first-child { display:block; }
body.saas .posting-modal .posting-task-selected-actions { margin-top:7px;align-items:flex-start; }
body.saas .posting-modal .posting-task-selected-actions strong { flex:1;line-height:1.5; }
body.saas .posting-modal .posting-task-selected-actions button { flex:none; }
@media(max-width:600px) { .posting-task-groups144 button { padding:10px 8px;font-size:11px;gap:5px; } }
/* Mandatory Manager follow-up: integrated with existing dialog/accessibility layers. */
#goal-required145{position:fixed;inset:0;z-index:950;display:grid;place-items:center;padding:24px;overflow:auto;background:var(--color-background,#f3f6fa);color:var(--color-text-primary,#253b4a)}
#goal-required145 .goal-required-card145{width:min(720px,100%);box-sizing:border-box;background:var(--color-surface,#fff);border:1px solid var(--color-border,#dce4ec);border-top:4px solid #efb800;border-radius:16px;padding:32px;box-shadow:0 18px 50px rgb(17 41 55 / 8%)}
#goal-required145 h1{font-size:28px;line-height:1.25;margin:12px 0 16px}#goal-required145 p{line-height:1.65;margin:12px 0;color:var(--color-text-secondary,#587080)}
.goal-required-tag145{font-size:12px;letter-spacing:.09em;font-weight:700;color:var(--color-text-secondary,#587080)}
#goal-required145 .goal-actions140{margin-top:24px;display:flex;flex-wrap:wrap;gap:10px}.goal-required-note145{padding:14px 16px;border-left:4px solid #efb800;background:var(--color-surface-alt,#fff8dc);line-height:1.6}
@media(max-width:600px){#goal-required145{padding:14px}#goal-required145 .goal-required-card145{padding:22px}#goal-required145 h1{font-size:24px}#goal-required145 .goal-actions140>.button{width:100%}}


/* Desktop work controls extend the existing DJEMPOL navy / gold workspace. */
body.saas.workspace114 .ws114-workspace-menu{position:relative;flex:0 0 auto;align-self:center;margin-left:auto;font-size:13px}
body.saas.workspace114 .ws114-workspace-menu>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;min-height:36px;white-space:nowrap}
body.saas.workspace114 .ws114-workspace-menu>summary::-webkit-details-marker{display:none}
body.saas.workspace114 .ws114-workspace-menu>summary:after{content:"⌄";font-size:13px}
body.saas.workspace114 .ws114-workspace-menu[open]>summary{border-color:var(--color-primary,#e2b619)}
body.saas.workspace114 .ws114-workspace-panel{position:absolute;right:0;top:calc(100% + 8px);width:340px;max-width:calc(100vw - 32px);max-height:min(72dvh,640px);overflow:auto;overscroll-behavior:contain;padding:16px;border:1px solid var(--color-border,#dce3e9);border-radius:10px;background:var(--color-surface,#fff);color:var(--color-text,#243949);box-shadow:0 8px 24px #142d3a20;z-index:70;box-sizing:border-box}
body.saas.workspace114 .ws114-workspace-panel fieldset{border:0;border-bottom:1px solid var(--color-border,#dce3e9);padding:0 0 14px;margin:0 0 14px;min-width:0}
body.saas.workspace114 .ws114-workspace-panel legend{font-size:13px;font-weight:650;padding:0;margin-bottom:9px}
body.saas.workspace114 .ws114-workspace-panel label{display:flex;flex-direction:column;gap:5px;margin:8px 0;font-size:12px;min-width:0}
body.saas.workspace114 .ws114-workspace-panel :is(select,input[type=text]){width:100%;min-height:36px;box-sizing:border-box;font:inherit;padding:7px 9px;background:var(--color-surface,#fff);color:var(--color-text,#243949);border:1px solid var(--color-border,#dce3e9);border-radius:6px}
body.saas.workspace114 .ws114-density{display:flex;gap:18px;flex-wrap:wrap}
body.saas.workspace114 .ws114-density label{flex-direction:row;align-items:center;gap:7px;cursor:pointer;min-height:32px;margin:0}
body.saas.workspace114 .ws114-density input{width:16px;height:16px;accent-color:#ab8100;margin:0}
body.saas.workspace114 .ws114-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0}
body.saas.workspace114 .ws114-actions .button{white-space:normal;min-height:34px;max-width:100%;font-size:12px}
body.saas.workspace114 .ws114-help{font-size:12px;color:var(--color-text-secondary,#5e7082);line-height:1.55;margin:8px 0}
body.saas.workspace114 :is([data-ws114-status],[data-ws114-draft-status],.ws114-share-status){font-size:12px;line-height:1.5;color:var(--color-text-secondary,#5e7082);margin:8px 0;overflow-wrap:anywhere}
body.saas.workspace114 .ws114-error{color:var(--color-danger,#a91d35)}
body.saas.workspace114 .ws114-column-settings{border-top:1px solid var(--color-border,#dce3e9);padding:10px 0;margin:4px 0}
body.saas.workspace114 .ws114-column-settings>summary{cursor:pointer;font-size:13px;font-weight:600;padding:4px 0;min-height:28px}
body.saas.workspace114 .ws114-column-settings label{display:grid;grid-template-columns:minmax(0,1fr) 110px 48px;align-items:center;gap:8px;margin:10px 0}
body.saas.workspace114 .ws114-column-settings label>span{overflow-wrap:anywhere}
body.saas.workspace114 .ws114-column-settings input[type=range]{width:100%;accent-color:#ab8100;min-height:28px}
body.saas.workspace114 .ws114-column-settings output{text-align:right;font-variant-numeric:tabular-nums;color:var(--color-text-secondary,#5e7082);font-size:11px}
body.saas.workspace114 .ws114-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
body.saas.workspace114 .ws114-sized-table{table-layout:fixed;width:var(--ws114-table-width)!important;min-width:100%;max-width:none}
body.saas.workspace114 .ws114-sized-table :is(td,th){overflow-wrap:anywhere;white-space:normal}
body.saas.workspace114 .ws114-sized-table :is(input,select){max-width:100%;min-width:0}
body.saas.workspace114 .ws114-draft{grid-column:1/-1;border:1px solid var(--color-border,#dce3e9);border-left:3px solid #b28a0a;border-radius:8px;padding:12px 14px;background:var(--color-surface-subtle,#f8fafc);min-width:0;margin:0 0 12px}
body.saas.workspace114 .ws114-draft-head{display:flex;align-items:baseline;justify-content:space-between;gap:6px 14px;flex-wrap:wrap}
body.saas.workspace114 .ws114-draft-head strong{font-size:13px;font-weight:650}
body.saas.workspace114 .ws114-draft-head small{font-size:12px;color:var(--color-text-secondary,#5e7082);line-height:1.5}
body.saas.workspace114 .ws114-draft-preview{border-top:1px solid var(--color-border,#dce3e9);margin-top:10px;padding-top:10px}
body.saas.workspace114 .ws114-draft-preview>strong{font-size:13px}
body.saas.workspace114 .ws114-draft-preview pre{font:12px/1.6 inherit;white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;padding:10px;background:var(--color-surface,#fff);border:1px solid var(--color-border,#dce3e9);border-radius:6px}
body.saas.workspace114 .ws114-share-status{display:block;width:100%;margin:4px 0 0}
body.saas.workspace114 .ws114-share-status input{display:block;width:100%;box-sizing:border-box;font:12px/1.5 inherit;min-height:36px;padding:6px 8px;background:var(--color-surface,#fff);color:var(--color-text,#243949);border:1px solid var(--color-border,#dce3e9);border-radius:6px;margin-top:6px}
/* Numeric amounts never split into unrelated lines. Auto-fit follows actual
   content width, including the Codex side-by-side desktop browser. */
body.saas.workspace114 :is(.fe-dashboard-details,.fe-analytics,.cms-analysis-page) .fe-analytics-kpis,
body.saas.workspace114 .fe-dashboard-details .fe-kpis,
body.saas.workspace114 .fe-analytics-kpis,
body.saas.workspace114 .fe-analytics-kpi-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:0}
body.saas.workspace114 :is(.fe-dashboard-details,.fe-analytics,.fe-analytics-kpis,.fe-analytics-kpi-grid) [data-kpi]{min-width:0}
body.saas.workspace114 .fe-analytics-kpis:has(>[data-kpi]:nth-child(6):last-child){grid-template-columns:repeat(6,minmax(0,1fr))}
body.saas.workspace114 [data-kpi]>strong{font-variant-numeric:tabular-nums;overflow-wrap:normal!important;word-break:normal!important;white-space:nowrap;font-size:clamp(17px,1.6vw,23px)}
body.saas.workspace114 [data-kpi]>span{font-size:12px;line-height:1.45}
body.saas.workspace114 [data-kpi]>small{font-size:12px;line-height:1.45;overflow-wrap:normal}
body.saas.workspace114 .notification-information114{background:#e8f0fa;color:#315d87;border:1px solid #c4d5e8}
body.saas.workspace114 .notification-summary114{display:flex;gap:5px 12px;flex-wrap:wrap;font-size:12px;line-height:1.5;color:var(--color-text-secondary,#5e7082);padding:8px 0}
body.saas.workspace114 .workspace-day114{max-width:900px;width:calc(100vw - 32px)}
body.saas.workspace114 .workspace-day-counts114{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 18px}
body.saas.workspace114 .workspace-day-counts114 .button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;white-space:normal;text-align:left;font-size:13px}
body.saas.workspace114 .workspace-day-counts114 strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:16px}
body.saas.workspace114 .workspace-day114 .metric-line{min-height:44px;width:100%;white-space:normal;text-align:left;line-height:1.5;min-width:0;gap:12px}
body.saas.workspace114 .workspace-day114 .metric-line>span{min-width:0;overflow-wrap:anywhere}
body.saas.workspace114 .workspace-day114 .metric-line small{display:block;font-size:12px;line-height:1.5;color:var(--color-text-secondary,#5e7082)}
body.saas.workspace114[data-workspace-density=comfortable] :is(.table-wrap,.fe-table-wrap,.cms-analysis-page) :is(td,th){padding-top:15px;padding-bottom:15px}
body.saas.workspace114[data-workspace-density=comfortable] :is(.compact-posting-main,.notification-page-item,.fe-overview-item){padding-top:16px;padding-bottom:16px}
body.saas.workspace114[data-workspace-density=comfortable] .workspace-posting-row113 .compact-posting-main{padding-top:16px;padding-bottom:16px}
body.saas.workspace114 :is(.ws114-workspace-menu,.ws114-draft) :is(button,input,select,summary):focus-visible{outline:2px solid var(--color-focus,#2b6ca3);outline-offset:3px}
:root[data-theme=dark] body.saas.workspace114 .notification-information114{background:#213e58;color:#b9d5f2;border-color:#456780}
@media(max-width:1100px){body.saas.workspace114 .ws114-workspace-menu{margin-left:0}body.saas.workspace114 .ws114-workspace-panel{right:0}body.saas.workspace114 .fe-analytics-kpis:has(>[data-kpi]:nth-child(6):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){body.saas.workspace114 .ws114-workspace-menu{margin-left:auto}body.saas.workspace114 .ws114-workspace-panel{width:320px;max-width:calc(100vw - 24px)}body.saas.workspace114 .ws114-draft{padding:12px}body.saas.workspace114 .ws114-draft .ws114-actions{display:grid;grid-template-columns:1fr}body.saas.workspace114 .ws114-draft .ws114-actions .button{width:100%;justify-content:center}body.saas.workspace114 .ws114-column-settings label{grid-template-columns:minmax(0,1fr) 90px 45px}body.saas.workspace114 .ws114-workspace-panel :is(select,input[type=text]){font-size:16px}body.saas.workspace114 .fe-analytics-kpis:has(>[data-kpi]:nth-child(6):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){body.saas.workspace114 .fe-analytics-kpis:has(>[data-kpi]:nth-child(6):last-child){grid-template-columns:minmax(0,1fr)}}
@media(pointer:coarse){body.saas.workspace114 .ws114-workspace-menu>summary,body.saas.workspace114 :is(.ws114-workspace-menu,.ws114-draft) .button,body.saas.workspace114 .ws114-density label,body.saas.workspace114 .ws114-column-settings>summary{min-height:44px}}
@media(prefers-reduced-motion:reduce){body.saas.workspace114 :is(.ws114-workspace-menu,.ws114-draft) *{transition:none;animation:none}}
.goal-modal140{max-width:1120px!important}.goal-intro140{max-width:90ch;line-height:1.6;color:var(--muted)}.goal-range140{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.goal-range140 label{min-width:160px}.goal-item140{border-top:1px solid var(--border);padding:0}.goal-item140>summary{display:grid;grid-template-columns:minmax(250px,1.6fr) minmax(150px,1fr) auto;gap:20px;align-items:center;cursor:pointer;padding:18px 4px}.goal-item140>summary small,.goal-recovery-row140 small{display:block;color:var(--muted);margin-top:5px}.goal-detail140{padding:0 16px 20px;line-height:1.5}.goal-detail140 form{max-width:780px;display:grid;gap:14px}.goal-detail140 textarea{width:100%;resize:vertical}.goal-detail140 form>button{justify-self:start}.goal-detail140 [hidden]{display:none!important}.goal-actions140{display:flex;gap:8px;flex-wrap:wrap}.goal-facts140{display:grid;gap:12px}.goal-facts140 dt{color:var(--muted);font-size:12px}.goal-facts140 dd{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.goal-result140{border-left:3px solid var(--accent,#e9af00);padding:10px 14px;margin:20px 0;display:grid;gap:4px}.goal-empty140{padding:24px 0;color:var(--muted)}[data-goal-error140]{color:var(--danger,#b42318);margin:0}.goal-recovery-row140{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:16px;border-top:1px solid var(--border)}.goal-item140 summary:focus-visible{outline:2px solid var(--accent,#e9af00);outline-offset:2px}@media(max-width:700px){.goal-item140>summary{grid-template-columns:1fr;gap:8px}.goal-item140>summary .badge{justify-self:start}.goal-detail140{padding:0 4px 16px}.goal-recovery-row140{flex-wrap:wrap}.goal-range140 label{min-width:120px;flex:1}}



/* Review114 uses the existing navy/gold workspace, with room for the content being reviewed. */
body.saas.workspace114 .review-sort114,body.saas.workspace114 .review-scope114{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--color-text-secondary);min-width:0}
body.saas.workspace114 .review-sort114 select,body.saas.workspace114 .review-scope114 select{min-height:36px;max-width:250px;width:auto;font-size:12px}
body.saas.workspace114 .review-scope114{margin-bottom:12px;justify-content:flex-start;flex-wrap:wrap}
body.saas.workspace114 .review-context114{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 14px;margin-bottom:16px;border-bottom:1px solid var(--color-border)}
body.saas.workspace114 .review-context114>div{display:grid;gap:5px;min-width:0}
body.saas.workspace114 .review-context114 strong{font-size:14px}
body.saas.workspace114 .review-context114 small{font-size:12px;line-height:1.5;color:var(--color-text-secondary)}
body.saas.workspace114 .review-context114 .button{flex-shrink:0}
body.saas.workspace114 .review-modal{max-width:1160px;width:calc(100vw - 48px)}
body.saas.workspace114 .review-layout114{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);gap:24px;align-items:start}
body.saas.workspace114 .review-layout114>div{min-width:0}
body.saas.workspace114 .review-reference114 .saas-video{width:100%;max-height:420px;background:#142d3a;object-fit:contain;border-radius:7px}
body.saas.workspace114 .review-reference114 .saas-facts{margin-top:12px}
body.saas.workspace114 .review-reference114 .saas-facts dd{overflow-wrap:anywhere}
body.saas.workspace114 .review-decision114{border-left:1px solid var(--color-border);padding-left:24px}
body.saas.workspace114 .review-decision114 .definition-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.saas.workspace114 .review-decision114 .definition strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
body.saas.workspace114 .review-decision114 textarea{min-height:160px;line-height:1.6}
body.saas.workspace114 .review-reasons114{margin-top:4px;border-top:1px solid var(--color-border);padding-top:10px}
body.saas.workspace114 :is(.review-reasons114,.review-comparison114,.saas-review-history)>summary{cursor:pointer;font-size:12px;font-weight:600;line-height:1.5;padding:6px 0}
body.saas.workspace114 .review-reasons114 p{font-size:12px;line-height:1.5;color:var(--color-text-secondary)}
body.saas.workspace114 .review-reasons114>div{display:flex;gap:7px;flex-wrap:wrap}
body.saas.workspace114 .review-reasons114 .button{white-space:normal;text-align:left;line-height:1.5;padding:7px 9px;min-height:36px}
body.saas.workspace114 .review-receipt114{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 12px;margin-bottom:12px;border:1px solid var(--color-border);border-left:3px solid var(--color-success,#2e705a);background:var(--color-surface-subtle);border-radius:6px}
body.saas.workspace114 .review-receipt114>span{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.5;flex:1;min-width:160px}
body.saas.workspace114 .review-receipt114>small{font-size:12px;color:var(--color-text-secondary)}
body.saas.workspace114 .review-comparison114{margin-top:14px;border-top:1px solid var(--color-border);padding-top:7px}
body.saas.workspace114 .review-comparison114 p,body.saas.workspace114 .review-comparison114 blockquote{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
body.saas.workspace114 .review-comparison114 blockquote{margin:8px 0;padding:8px 12px;border-left:3px solid var(--color-border);background:var(--color-surface-subtle)}
body.saas.workspace114 .review-comparison-context114{color:var(--color-text-secondary)}
body.saas.workspace114 .review-comparison-table114{overflow:auto;max-width:100%}
body.saas.workspace114 .review-comparison-table114 table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}
body.saas.workspace114 .review-comparison-table114 :is(th,td){text-align:left;vertical-align:top;border-bottom:1px solid var(--color-border);padding:8px 7px;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.5}
body.saas.workspace114 .review-comparison-table114 thead th{background:var(--color-surface-subtle);font-weight:600}
body.saas.workspace114 .review-modal .modal-footer{flex-wrap:wrap;gap:8px}
@media(max-width:800px){body.saas.workspace114 .review-layout114{grid-template-columns:minmax(0,1fr);gap:16px}body.saas.workspace114 .review-decision114{border-left:0;border-top:1px solid var(--color-border);padding:16px 0 0}body.saas.workspace114 .review-context114{align-items:flex-start;flex-wrap:wrap}body.saas.workspace114 .review-modal{width:calc(100vw - 24px)}body.saas.workspace114 .review-sort114{flex-wrap:wrap}body.saas.workspace114 .review-reference114 .saas-video{max-height:320px}}
@media(pointer:coarse){body.saas.workspace114 :is(.review-sort114 select,.review-scope114 select,.review-reasons114 .button,.review-context114 .button,.review-receipt114 .button){min-height:44px}}
body.saas.workspace114 :is(.review-sort114 select,.review-scope114 select,.review-reasons114 summary,.review-comparison114 summary,.review-reasons114 .button):focus-visible{outline:2px solid var(--color-primary,#f2be18);outline-offset:3px}
