@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");
/* Shape — docs/04-ui-ux-brand/04.12-enterprise-template-pack.md §4.
   Generated by hand from the radii views write inline (grep border-radius in
   js/views); a value with its ';' so "9px 9px 0 0" is left alone. A template
   sets --radius-scale (1 = today's corners, 0 = square) and --radius-pill
   (999px = round chips). Loaded by every layout except Classic. */

:root .shell [style*="border-radius:2px;"],
:root .shell [style*="border-radius: 2px;"] {
  border-radius: calc(2px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:3px;"],
:root .shell [style*="border-radius: 3px;"] {
  border-radius: calc(3px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:4px;"],
:root .shell [style*="border-radius: 4px;"] {
  border-radius: calc(4px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:5px;"],
:root .shell [style*="border-radius: 5px;"] {
  border-radius: calc(5px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:6px;"],
:root .shell [style*="border-radius: 6px;"] {
  border-radius: calc(6px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:7px;"],
:root .shell [style*="border-radius: 7px;"] {
  border-radius: calc(7px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:8px;"],
:root .shell [style*="border-radius: 8px;"] {
  border-radius: calc(8px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:9px;"],
:root .shell [style*="border-radius: 9px;"] {
  border-radius: calc(9px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:10px;"],
:root .shell [style*="border-radius: 10px;"] {
  border-radius: calc(10px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:11px;"],
:root .shell [style*="border-radius: 11px;"] {
  border-radius: calc(11px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:12px;"],
:root .shell [style*="border-radius: 12px;"] {
  border-radius: calc(12px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:14px;"],
:root .shell [style*="border-radius: 14px;"] {
  border-radius: calc(14px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:16px;"],
:root .shell [style*="border-radius: 16px;"] {
  border-radius: calc(16px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:18px;"],
:root .shell [style*="border-radius: 18px;"] {
  border-radius: calc(18px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:20px;"],
:root .shell [style*="border-radius: 20px;"] {
  border-radius: calc(20px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:22px;"],
:root .shell [style*="border-radius: 22px;"] {
  border-radius: calc(22px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:24px;"],
:root .shell [style*="border-radius: 24px;"] {
  border-radius: calc(24px * var(--radius-scale)) !important;
}
:root .shell [style*="border-radius:999px"],
:root .shell [style*="border-radius: 999px"] {
  border-radius: var(--radius-pill) !important;
}
/* The shared page parts (04.11 §4 selector contract) and the shell's own boxes */
:root .shell .r-kpi__card,
:root .shell .dash-card,
:root .shell .leave-table-wrap {
  border-radius: calc(14px * var(--radius-scale));
}
:root .shell .leave-tab,
:root .shell .fb-board-tab {
  border-radius: var(--radius-pill);
}
/* Suite shell (views/shells/suite.js) — docs/04-ui-ux-brand/04.12-enterprise-template-pack.md §3.
   Desktop only: below 901px the page keeps Classic's drawer, topbar and dock.

   Layout tokens — a template on this layout may set these in its tokens.css;
   each falls back to the base tokens:
     --su-head-bg / -ink    the global header (default: the company's accent)
     --su-tabs-bg / -ink / -line, --su-tab-mark   the bar of pillar tabs
     --su-page-ico / -ink   the square behind the page-header icon, and the icon */

.su-head,
.su-tabs,
.su-pagehead,
.su-scrim {
  display: none;
}

@media (min-width: 901px) {
  .shell--suite .shell-topbar--admin-desk,
  .shell--suite .shell-topbar--desk-chrome {
    display: none !important;
  }

  /* ---- Global header ---- */
  .shell--suite .su-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 14px;
    background: var(--su-head-bg, var(--accent));
    color: var(--su-head-ink, var(--on-accent));
    flex-shrink: 0;
    position: relative;
    z-index: 206;
  }
  .su-head__btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: none;
    border: 0;
    border-radius: calc(6px * var(--radius-scale));
    color: inherit;
    cursor: pointer;
  }
  .su-head__btn:hover {
    background: color-mix(in srgb, currentColor 14%, transparent);
  }
  .su-head__btn .ms {
    font-size: 21px;
  }
  .su-brand {
    display: flex;
    align-items: center;
    padding: 0 6px;
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
  }
  .su-brand__name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
  }
  .su-brand__logo {
    height: 28px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
  }
  .su-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 600px;
    height: 34px;
    margin: 0 auto;
    padding: 0 12px;
    background: var(--bg-card);
    border: 0;
    border-radius: calc(4px * var(--radius-scale));
    color: var(--muted);
    font: inherit;
    font-size: 13.5px;
    cursor: pointer;
  }
  .su-search__text {
    flex: 1;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .su-kbd {
    padding: 1px 6px;
    border: 1px solid var(--border);
    border-radius: calc(4px * var(--radius-scale));
    font-size: 11px;
  }
  .su-head__tools {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .su-badge {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: var(--radius-pill);
    background: var(--su-head-ink, var(--on-accent));
    color: var(--su-head-bg, var(--accent));
    font-size: 10px;
    font-weight: 700;
    line-height: 17px;
  }
  .su-me {
    position: relative;
  }
  .su-me__btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: none;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
  }
  .su-dot {
    position: absolute;
    right: 5px;
    bottom: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--muted-2);
    box-shadow: 0 0 0 2px var(--su-head-bg, var(--accent));
  }
  .su-dot.is-in {
    background: var(--success);
  }
  .su-me__panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 260px;
    padding: 6px;
    background: var(--bg-card);
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: calc(6px * var(--radius-scale));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  }
  .su-me__head {
    display: flex;
    flex-direction: column;
    padding: 8px 10px 10px;
    font-weight: 700;
  }
  .su-me__head span {
    font-weight: 400;
    font-size: 12.5px;
    color: var(--muted);
  }
  .su-me__sep {
    height: 1px;
    margin: 6px 4px;
    background: var(--border);
  }

  /* ---- Pillar tabs ---- */
  .shell--suite .su-tabs {
    display: flex;
    align-items: stretch;
    gap: 2px;
    padding: 0 16px;
    background: var(--su-tabs-bg, var(--bg-card));
    color: var(--su-tabs-ink, var(--ink));
    border-bottom: 1px solid var(--su-tabs-line, var(--border));
    box-shadow: 0 2px 3px rgba(16, 24, 40, 0.06);
    flex-shrink: 0;
    position: relative;
    z-index: 205;
  }
  .su-tabs__app {
    display: flex;
    align-items: center;
    margin-right: 8px;
    padding-right: 16px;
    border-right: 1px solid var(--su-tabs-line, var(--border));
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
  }
  .su-tab {
    position: relative;
    display: flex;
  }
  .su-tab__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 12px;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    color: inherit;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
  }
  .su-tab__btn:hover {
    background: var(--bg-soft);
  }
  .su-tab.is-active > .su-tab__btn {
    border-bottom-color: var(--su-tab-mark, var(--accent));
    color: var(--su-tab-mark, var(--accent));
    font-weight: 600;
  }
  .su-tab.is-open > .su-tab__btn {
    background: var(--bg-soft);
  }
  .su-caret {
    opacity: 0.7;
  }
  .su-panel {
    position: absolute;
    top: 100%;
    left: 0;
    display: grid;
    grid-template-columns: repeat(min(var(--su-cols, 1), 4), minmax(190px, 1fr));
    gap: 4px 18px;
    padding: 12px;
    background: var(--bg-card);
    color: var(--ink);
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 calc(6px * var(--radius-scale)) calc(6px * var(--radius-scale));
    box-shadow: 0 14px 32px rgba(16, 24, 40, 0.16);
    z-index: 2;
  }
  .su-panel__col {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
  }
  .su-panel__heading {
    padding: 4px 10px 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .su-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 34px;
    padding: 0 10px;
    background: none;
    border: 0;
    border-radius: calc(4px * var(--radius-scale));
    color: inherit;
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
  }
  .su-item:hover {
    background: var(--bg-soft);
  }
  .su-item.is-active {
    background: var(--accent-tint);
    font-weight: 600;
  }
  .su-item__ico {
    font-size: 18px;
    color: var(--muted);
  }
  .su-item.is-soon {
    cursor: default;
    opacity: 0.6;
  }
  .su-soon {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .su-item--danger {
    color: var(--danger);
  }
  .su-mode {
    display: flex;
    gap: 4px;
    padding: 6px 10px;
  }
  .su-mode__btn {
    flex: 1;
    min-height: 30px;
    background: none;
    border: 1px solid var(--border);
    border-radius: calc(4px * var(--radius-scale));
    color: inherit;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
  }
  .su-mode__btn.is-on {
    background: var(--accent-tint);
    font-weight: 600;
  }
  .shell--suite .su-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 200;
  }

  /* ---- Page-header card ---- */
  .shell--suite .su-pagehead {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 16px 16px 0;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: calc(4px * var(--radius-scale));
    box-shadow: 0 2px 2px rgba(16, 24, 40, 0.05);
    flex-shrink: 0;
  }
  .su-pagehead__ico {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--su-page-ico, var(--accent));
    color: var(--su-page-ico-ink, var(--on-accent));
    border-radius: calc(4px * var(--radius-scale));
  }
  .su-pagehead__ico .ms {
    font-size: 22px;
  }
  .su-pagehead__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .su-pagehead__cat {
    font-size: 12.5px;
    color: var(--muted);
  }
  .su-back {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--muted);
    font: inherit;
    font-size: 12.5px;
    cursor: pointer;
  }
  .su-pagehead__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
  }
  .su-pagehead__hint {
    margin: 0;
    font-size: 13.5px;
    color: var(--muted);
  }
}

/* Monument — coral #FF5349 with white, monument grey (#84898C) and black, on the
   Suite layout (menu across the top). No blue: the info tone is monument grey, so
   coral never sits beside a blue. Text in the accent is a deeper coral (#C2352A) in
   light mode for 4.5:1; dark mode uses the coral itself. */

:root,
html[data-theme="light"] {
  --font-text: 'Manrope', system-ui, sans-serif;
  --font-display: 'Manrope', system-ui, sans-serif;
  --radius-scale: 0.5;
  --radius-pill: 999px;
  --bg: #F1F1F0;
  --bg-card: #FFFFFF;
  --bg-soft: #F6F6F5;
  --ink: #141414;
  --on-ink: #FFFFFF;
  --muted: #5A5F62;
  --muted-2: #666B6E;
  --border: #DEDFDF;
  --border-soft: #EAEAEA;
  --accent: #C2352A;
  --on-accent: #FFFFFF;
  --accent-pressed: #A52B22;
  --accent-tint: #FFEFEC;
  --danger: #B0213F;
  --danger-tint: #FDE7EB;
  --warning: #8F5300;
  --warning-tint: #FCF0DF;
  --success: #1A7343;
  --success-tint: #E4F5EA;
  --info: #4F5457;
  --info-tint: #ECEDEE;
  --chip-bg: #F1F1F0;
  --hover: #F6F6F5;
  --input-bg: #FFFFFF;
  --danger-pressed: #B0213F;
  --text-1: #141414;
  --text-2: #2E3133;
  --text-3: #5A5F62;
  --text-4: #606568;
  --text-5: #666B6E;
  --text-6: #666B6E;
  --text-7: #666B6E;
  --text-8: #84898C;
  --text-9: #84898C;
  --text-10: #A9ADAF;
  --fill-strong: #141414;
  --surface-1: #FCFCFC;
  --surface-2: #F9F9F8;
  --surface-3: #F6F6F5;
  --surface-4: #EEEEED;
  --surface-5: #E6E6E5;
  --line-1: #DEDFDF;
  --line-2: #DEDFDF;
  --line-3: #CDCFD0;
  --line-4: #EAEAEA;
  --line-5: #EAEAEA;
  --line-6: #E3E4E4;
  --line-7: #F2F2F2;
  --line-strong: #84898C;
  --su-head-bg: #141414;
  --su-head-ink: #FFFFFF;
  --su-tabs-bg: #FFFFFF;
  --su-tabs-ink: #141414;
  --su-tabs-line: #DEDFDF;
  --su-tab-mark: #FF5349;
  --su-page-ico: #FF5349;
  --su-page-ico-ink: #141414;
}

html[data-theme="dark"] {
  --font-text: 'Manrope', system-ui, sans-serif;
  --font-display: 'Manrope', system-ui, sans-serif;
  --radius-scale: 0.5;
  --radius-pill: 999px;
  --bg: #0E0E0E;
  --bg-card: #181818;
  --bg-soft: #222222;
  --ink: #F2F2F2;
  --on-ink: #0E0E0E;
  --muted: #B3B6B8;
  --muted-2: #9EA2A4;
  --border: #333435;
  --border-soft: #282828;
  --accent: #FF5349;
  --on-accent: #141414;
  --accent-pressed: #F0453B;
  --accent-tint: #3A1C19;
  --danger: #FF8FA3;
  --danger-tint: #3D1D25;
  --warning: #F0B060;
  --warning-tint: #36260F;
  --success: #6BD39A;
  --success-tint: #143021;
  --info: #B9BDBF;
  --info-tint: #2A2C2D;
  --chip-bg: #222222;
  --hover: #222222;
  --input-bg: #222222;
  --danger-pressed: #FF8FA3;
  --su-head-bg: #000000;
  --su-head-ink: #F2F2F2;
  --su-tabs-bg: #181818;
  --su-tabs-ink: #F2F2F2;
  --su-tabs-line: #333435;
  --su-tab-mark: #FF5349;
  --su-page-ico: #FF5349;
  --su-page-ico-ink: #141414;
}
/* Monument — page parts: a coral line under the black header, the open pillar
   underlined in coral with its label in ink, flat white cards on monument-grey rules. */

@media (min-width: 901px) {
  .shell--suite .su-head {
    border-bottom: 3px solid var(--su-tab-mark);
  }
  .shell--suite .su-tab.is-active > .su-tab__btn {
    color: var(--su-tabs-ink);
    font-weight: 700;
  }
}

:root .shell .r-kpi__card,
:root .shell .dash-card,
:root .shell .leave-table-wrap {
  border: 1px solid var(--border);
  box-shadow: none;
}
:root .shell .r-kpi__card--accent {
  border-left: 3px solid var(--kpi-accent);
}
:root .shell .r-kpi__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
:root .shell .r-kpi__value {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
:root .shell .dash-card__title {
  font-size: 15px;
  font-weight: 700;
}
:root .shell .leave-table th,
:root .shell .data-table__head {
  background: var(--bg-soft);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Tabs: underlined, coral line, ink label */
:root .shell .leave-tabs {
  gap: 2px;
  border-bottom: 1px solid var(--border);
}
:root .shell .leave-tab {
  margin-bottom: -1px;
  padding: 9px 12px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: var(--muted);
  font-weight: 600;
}
:root .shell .leave-tab.is-active {
  background: none;
  border-bottom-color: var(--su-tab-mark, var(--accent));
  color: var(--ink);
  font-weight: 700;
}
