@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&display=swap');

/* =====================================================================
   Finns Shell — Sidebar + Title bar
   Source: Figma "[Dash] Finns Captive Portal" node 4:57
   ===================================================================== */
:root {
  /* Figma variables */
  --fs-primary-300: #96DFE0;
  /* Brand/Color-Primary-300 */
  --fs-primary-500: #4BBDBE;
  /* Brand/Color-Primary-500 */
  --fs-primary-700: #1A8C8D;
  /* Brand/Color-Primary-700 */
  --fs-grey-500: #C2C2C2;
  /* Brand/Color-Grey-500   */
  --fs-text: #7F7F7F;
  /* Brand/Color-Text       */
  --fs-border: #E5E5E5;
  /* Brand/Color-Border     */
  --fs-white: #FFFFFF;
  /* Brand/Color-White      */
  --fs-black: #000000;
  --fs-live-bg: rgba(75, 189, 190, 0.05);

  /* Layout */
  --fs-sidebar-w: 245px;
  --fs-bar-h: 54px;
  --fs-stroke: 0.75px;
  --fs-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Icon base (Material Symbols Outlined) ---------- */
.fs-icon {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  line-height: 1;
  width: 1em;
  height: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

.fs-icon--18 {
  font-size: 18px;
}

.fs-icon--24 {
  font-size: 24px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ---------- Sidebar column (fixed, full height) ---------- */
.fs-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
  width: var(--fs-sidebar-w);
  display: flex;
  flex-direction: column;
  background: var(--fs-white);
  font-family: var(--fs-font);
}

/* Brand block — Figma 4:445 (245×54, padding 10/16, gap 8, inside stroke) */
.fs-brand {
  box-sizing: border-box;
  flex: 0 0 var(--fs-bar-h);
  height: var(--fs-bar-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--fs-white);
  box-shadow: inset 0 0 0 var(--fs-stroke) var(--fs-border);
}

.fs-brand__link {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
  text-decoration: none;
}

.fs-brand__mark {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.fs-brand__text {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  line-height: normal;
}

.fs-brand__title {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1.28px;
  text-transform: uppercase;
  color: var(--fs-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-brand__subtitle {
  font-weight: 400;
  font-size: 12px;
  color: var(--fs-text);
}

/* Sidebar body — Figma 4:475 (inside stroke, column) */
.fs-sidebar__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--fs-white);
  box-shadow: inset 0 0 0 var(--fs-stroke) var(--fs-border);
}

/* Venue switch — Figma 4:473 / 4:237 */
.fs-venue-wrap {
  box-sizing: border-box;
  flex: 0 0 58px;
  height: 58px;
  padding: 12px 16px;
}

.fs-venue {
  box-sizing: border-box;
  height: 33.5px;
  display: flex;
  align-items: stretch;
  border: var(--fs-stroke) solid var(--fs-primary-500);
  border-radius: 6px;
  overflow: hidden;
}

.fs-venue__seg {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
}

.fs-venue__seg--node {
  background: var(--fs-white);
}

.fs-venue__seg--node .fs-icon {
  color: var(--fs-grey-500);
}

.fs-venue__seg--node .fs-venue__label {
  color: var(--fs-text);
}

.fs-venue__seg--active {
  background: var(--fs-primary-500);
}

.fs-venue__seg--active .fs-icon,
.fs-venue__seg--active .fs-venue__label {
  color: var(--fs-white);
}

.fs-venue__label {
  flex: 1 1 0;
  min-width: 0;
  font-weight: 500;
  font-size: 11px;
  line-height: normal;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Menu — Figma 4:422 (padding 8/16) → 4:436 (groups gap 24) */
.fs-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  scrollbar-width: none;
}

.fs-nav::-webkit-scrollbar {
  display: none;
}

.fs-nav__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fs-nav__heading {
  margin: 0;
  padding: 4px 8px;
  font-weight: 400;
  font-size: 10px;
  line-height: normal;
  text-transform: uppercase;
  color: var(--fs-text);
}

/* Menu item — 213 wide, padding 8, gap 6, height 32 (33.5 when active) */
.fs-nav__item {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  margin: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-family: var(--fs-font);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.fs-nav__item .fs-icon {
  color: var(--fs-grey-500);
}

.fs-nav__label {
  flex: 1 1 0;
  min-width: 0;
  font-weight: 500;
  font-size: 12px;
  line-height: normal;
  text-transform: capitalize;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-nav__chevron {
  color: var(--fs-grey-500);
}

/* Active — Figma 4:280: white bg, 0.75 stroke Primary-500 (stroke adds to size), text/icon Primary-700 */
.fs-nav__item.is-active {
  background: var(--fs-white);
  border: var(--fs-stroke) solid var(--fs-primary-500);
}

.fs-nav__item.is-active .fs-icon,
.fs-nav__item.is-active .fs-nav__label {
  color: var(--fs-primary-700);
}

/* Sidebar footer — Figma 4:474 (56h, padding 12/16, gap 10, inside stroke) */
.fs-user {
  box-sizing: border-box;
  flex: 0 0 56px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  box-shadow: inset 0 0 0 var(--fs-stroke) var(--fs-border);
}

.fs-user__avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: var(--fs-primary-300);
}

.fs-user__info {
  width: 131.5px;
  flex: 0 0 131.5px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: normal;
  text-transform: capitalize;
}

.fs-user__name {
  font-weight: 500;
  font-size: 12px;
  color: var(--fs-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-user__role {
  font-weight: 400;
  font-size: 11px;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-user__logout {
  display: inline-flex;
  color: var(--fs-grey-500);
  text-decoration: none;
}

/* ---------- Title bar — Figma 4:225 (54h, padding 12/16, space-between) ---------- */
.fs-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  box-sizing: border-box;
  height: var(--fs-bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: var(--fs-white);
  box-shadow: inset 0 0 0 var(--fs-stroke) var(--fs-border);
  font-family: var(--fs-font);
}

.fs-topbar__left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* Breadcrumbs — 4:124 (gap 8) */
.fs-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.fs-crumbs__item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 500;
  font-size: 12px;
  line-height: normal;
  text-transform: capitalize;
  color: var(--fs-text);
  text-decoration: none;
  white-space: nowrap;
}

.fs-crumbs__item .fs-icon {
  color: var(--fs-grey-500);
}

.fs-crumbs__item--current {
  color: var(--fs-black);
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.fs-crumbs__sep {
  color: var(--fs-grey-500);
}

/* Right cluster — 4:144 (gap 16) */
.fs-usermenu {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

/* Live status pill — 4:145 (30h, padding 2/4, gap 4, 1px border, radius 80) */
.fs-live {
  box-sizing: border-box;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
  border: 1px solid var(--fs-primary-500);
  border-radius: 80px;
  background: var(--fs-live-bg);
}

.fs-live .fs-icon {
  color: var(--fs-primary-500);
}

.fs-live__text {
  font-weight: 500;
  font-size: 12px;
  line-height: normal;
  text-transform: capitalize;
  color: var(--fs-primary-700);
  white-space: nowrap;
}

.fs-iconbtn {
  display: inline-flex;
  color: var(--fs-text);
  text-decoration: none;
}

.fs-divider {
  width: 1px;
  height: 24px;
  margin: 0 -0.5px;
  background: var(--fs-border);
  flex: 0 0 auto;
}

/* Account — 4:161 (gap 8) */
.fs-account {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-account__icon {
  color: var(--fs-primary-500);
}

.fs-account__label {
  font-weight: 500;
  font-size: 12px;
  line-height: normal;
  text-transform: capitalize;
  color: var(--fs-primary-500);
  white-space: nowrap;
}

.fs-account__caret {
  color: var(--fs-grey-500);
}

/* ---------- Content offset ---------- */
html,
body {
  background-color: var(--fs-canvas) !important;
}

.fs-main {
  background-color: var(--fs-canvas) !important;
}

@media (min-width: 768px) {
  .fs-main {
    padding-left: var(--fs-sidebar-w);
  }
}

/* ---------- ⛔ PENDING D4 — proposed, not in Figma ---------- */
.fs-nav__item:hover .fs-nav__label,
.fs-subnav__item:hover {
  color: var(--fs-primary-700);
}

.fs-nav__item:focus-visible,
.fs-subnav__item:focus-visible,
.fs-crumbs__item:focus-visible,
.fs-iconbtn:focus-visible,
.fs-user__logout:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* =====================================================================
   02 — Dashboard content (Figma 12:452)
   ===================================================================== */
:root {
  --fs-ink: #262626;
  /* headings / primary text (no Figma variable yet) */
  --fs-canvas: #F9F9F9;
  /* page bg, soft pill bg                          */
  --fs-line: #E3E3E3;
  /* card border, dividers                           */
  --fs-primary-900: #0F5C5C;
  /* text on Primary-300 pill                        */
  --fs-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Content frame — 12:452 */
.fs-content,
#main-content.fs-content,
#main-content {
  flex: 1 1 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 28px 28px 40px !important;
  /* Figma 44:5155 */
  background-color: var(--fs-canvas) !important;
}

.fs-dash {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: var(--fs-font);
  color: var(--fs-ink);
}

.fs-dash p,
.fs-dash h1,
.fs-dash h2 {
  margin: 0;
}

/* ---------- Page header — 13:14 ---------- */
.fs-pagehead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.fs-pagehead__heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fs-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-eyebrow__dot {
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: var(--fs-primary-700);
}

.fs-pagehead__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-pagehead__meta {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-pagehead__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

/* Segmented — 13:3 (35 h) */
.fs-segmented {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  padding: 3px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 999px;
}

.fs-segmented__pill {
  display: flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-segmented__pill.is-active {
  background: var(--fs-ink);
  color: var(--fs-white);
}

/* Primary button — 13:12 (36 h) */
.fs-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--fs-primary-700);
  color: var(--fs-white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- Card base ---------- */
.fs-card {
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
}

.fs-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fs-card__titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.fs-card__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-card__sub {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-card__meta-mono {
  font-family: var(--fs-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

/* ---------- Pills ---------- */
.fs-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  flex: 0 0 auto;
}

.fs-pill--accent {
  background: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

/* KPI delta   13:25 */
.fs-pill--soft {
  background: var(--fs-canvas);
  color: var(--fs-ink);
}

/* router ok   13:88 */
.fs-pill--muted {
  background: var(--fs-line);
  color: var(--fs-ink);
}

/* router off 13:109 */
.fs-pill--outline {
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  color: var(--fs-ink);
  font-weight: 400;
  padding: 1px 8px;
}

/* VIA 13:184 */

/* ---------- KPI row — 13:21 ---------- */
.fs-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fs-kpi {
  padding: 20px 24px;
  gap: 10px;
  box-shadow: 0 16px 24px -12px rgba(0, 0, 0, 0.03);
}

.fs-kpi__label {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-kpi__value {
  font-family: var(--fs-mono);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.2px;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-kpi__delta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.fs-kpi__caption {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Two-column rows ---------- */
.fs-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.fs-row>.fs-card--fluid {
  flex: 1 1 0;
}

.fs-row>.fs-card--side {
  flex: 0 0 470px;
  width: 470px;
}

/* ---------- Visitor trend — 13:51 ---------- */
.fs-trend {
  gap: 16px;
}

.fs-trend__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fs-legend {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.fs-legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-legend__swatch {
  width: 10px;
  height: 3px;
  border-radius: 2px;
  flex: 0 0 10px;
}

.fs-trend__canvas {
  position: relative;
  width: 100%;
  height: 240px;
}

.fs-trend__axis {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

/* ---------- Router activity — 13:63 ---------- */
.fs-routers {
  gap: 12px;
}

.fs-list {
  display: flex;
  flex-direction: column;
}

.fs-router {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--fs-line);
}

.fs-router__dot {
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
}

.fs-router__dot--on {
  background: var(--fs-primary-700);
}

.fs-router__dot--off {
  border: 1.5px solid var(--fs-text);
  background: transparent;
}

/* verify stroke in Dev Mode 13:105 */
.fs-router__name {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.fs-router__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-router__sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-router__sub--mono {
  font-family: var(--fs-mono);
}

.fs-link-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  text-decoration: none;
  white-space: nowrap;
}

.fs-link-btn--outline {
  border: 1px solid var(--fs-line);
}

/* ---------- Login provider — 13:121 ---------- */
.fs-providers {
  gap: 18px;
}

.fs-splitbar {
  display: flex;
  gap: 2px;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
}

.fs-splitbar__seg {
  height: 12px;
  min-width: 0;
  flex-basis: 0;
}

.fs-provider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--fs-line);
}

.fs-provider__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-provider__swatch {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 3px;
}

.fs-provider__nums {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

.fs-provider__count {
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-provider__pct {
  width: 36px;
  text-align: right;
  color: var(--fs-ink);
}

.fs-c-1 {
  background: var(--fs-primary-700);
}

/* Google    */
.fs-c-2 {
  background: var(--fs-primary-500);
}

/* Form      */
.fs-c-3 {
  background: var(--fs-primary-300);
}

/* Facebook  */
.fs-c-4 {
  background: var(--fs-grey-500);
}

/* Phone OTP */

/* ---------- Latest guests — 13:159 ---------- */
.fs-guests {
  gap: 12px;
}

.fs-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.fs-table {
  width: 889px;
  border-collapse: collapse;
  table-layout: fixed;
}

/* 150+196+80+92+115+104+80 + 6×12 gap */
.fs-table th,
.fs-table td {
  padding: 0 12px 0 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid var(--fs-line);
  vertical-align: middle;
}

.fs-table th:last-child,
.fs-table td:last-child {
  padding-right: 0;
  text-align: right;
}

.fs-table th {
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
}

.fs-table td {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-table td.fs-td--strong {
  font-weight: 500;
}

.fs-table td.fs-td--muted {
  color: var(--fs-text);
}

/* ---------- ⛔ PENDING C19 / C20 — proposed, not in Figma ---------- */
.fs-empty {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

@media (max-width: 1279.98px) {
  .fs-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fs-row {
    flex-direction: column;
  }

  .fs-row>.fs-card--side {
    flex: 1 1 auto;
    width: auto;
  }

  .fs-pagehead {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 639.98px) {
  .fs-kpis {
    grid-template-columns: 1fr;
  }

  .fs-pagehead__controls {
    flex-wrap: wrap;
  }
}

/* =====================================================================
   03 — Export social users (Figma 44:5155)
   ===================================================================== */

/* Page wrapper — header + body, gap 20 */
.fs-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: var(--fs-font);
  color: var(--fs-ink);
}

.fs-page p,
.fs-page h1,
.fs-page h2 {
  margin: 0;
}

/* Secondary outline button — 45:5746 (38 h) */
.fs-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  color: var(--fs-ink);
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

/* Form + summary row — 44:5162 */
.fs-export {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* ---------- Export form card — 44:5163 ---------- */
.fs-form {
  flex: 1 1 0;
  padding: 0;
}

.fs-field {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-field:last-child {
  border-bottom: 0;
}

.fs-field__label {
  flex: 0 0 200px;
  width: 200px;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.fs-field__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-field__hint {
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-field__control {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.fs-field__help {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

/* Date range — 44:5170 (440 wide, inputs 37 h) */
.fs-daterange {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 440px;
  max-width: 100%;
}

.fs-input {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-daterange__arrow {
  font-size: 14px;
  line-height: 1.3;
  color: var(--fs-grey-500);
}

/* Quick date pills — 44:5176 (22 h, gap 4) */
.fs-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.fs-quick__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  cursor: pointer;
}

.fs-quick__pill.is-active {
  background: var(--fs-primary-300);
  border-color: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

/* Choice chips (radio / checkbox) — 44:5191, 44:5203 (31 h, gap 6) */
.fs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fs-chip {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.fs-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.fs-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-chip input:checked+span {
  background: var(--fs-primary-300);
  border-color: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

/* Token input — 44:5221 / 44:5241 (min 40 h) */
.fs-tokens {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  cursor: text;
}

.fs-tokens.has-tokens,
.fs-tokens:focus-within {
  border-color: var(--fs-primary-500);
}

/* ⛔ PENDING E10 */
.fs-token {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px 3px 10px;
  border-radius: 999px;
  background: var(--fs-primary-300);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-900);
  white-space: nowrap;
}

.fs-token__remove {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--fs-font);
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  color: var(--fs-primary-900);
}

.fs-tokens__input {
  flex: 1 1 120px;
  min-width: 120px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-tokens__input::placeholder {
  color: var(--fs-grey-500);
}

/* ---------- Export summary card — 44:5252 (340 wide) ---------- */
.fs-summary {
  flex: 0 0 340px;
  width: 340px;
  gap: 16px;
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.03), 0 24px 32px -12px rgba(0, 0, 0, 0.03);
}

.fs-summary__label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-summary__count {
  display: flex;
  flex-direction: column;
}

.fs-summary__num {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.2px;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-summary__cap {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-summary__rows {
  display: flex;
  flex-direction: column;
  width: 100%;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

.fs-summary__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--fs-line);
}

.fs-summary__key {
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-summary__val {
  flex: 1 1 0;
  min-width: 0;
  text-align: right;
  color: var(--fs-ink);
}

.fs-filename {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  border-radius: 8px;
}

.fs-filename__badge {
  flex: 0 0 auto;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--fs-ink);
  color: var(--fs-white);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
}

.fs-filename__name {
  flex: 1 1 0;
  min-width: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Full-width primary — 44:5277 (40 h) */
.fs-btn-primary--block {
  width: 100%;
  justify-content: center;
  padding: 11px 0;
  border: 0;
  cursor: pointer;
  font-family: var(--fs-font);
}

.fs-summary__note {
  width: 100%;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  color: var(--fs-text);
}

/* ---------- Focus (reuses 01 D4 rule) ---------- */
.fs-chip input:focus-visible+span,
.fs-quick__pill:focus-visible,
.fs-token__remove:focus-visible,
.fs-btn-secondary:focus-visible,
.fs-btn-primary:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

.fs-input:focus {
  outline: 0;
  border-color: var(--fs-primary-500);
}

/* ⛔ PENDING, not designed */

/* ---------- ⛔ PENDING E16 — responsive ---------- */
@media (max-width: 1279.98px) {
  .fs-export {
    flex-direction: column;
    align-items: stretch;
  }

  .fs-summary {
    flex: 1 1 auto;
    width: auto;
  }
}

@media (max-width: 767.98px) {
  .fs-field {
    flex-direction: column;
    gap: 12px;
  }

  .fs-field__label {
    flex: 0 0 auto;
    width: auto;
  }
}

/* =====================================================================
   04 — Login Period Calendar & Sidebar Sub-menu Redesign
   ===================================================================== */

/* Export form overflow fix for popovers */
.fs-card.fs-form {
  overflow: visible !important;
}

/* Date input trigger */
.fs-date-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 205px;
  height: 37px;
  padding: 0 12px;
  background: #FFFFFF;
  border: 1px solid var(--fs-line);
  border-radius: 6px;
  cursor: pointer;
  box-sizing: border-box;
}

.fs-date-input-wrap:hover {
  border-color: var(--fs-primary-500);
}

.fs-date-input-val {
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-ink);
}

.fs-date-input-icon {
  font-size: 18px;
  color: var(--fs-grey-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* Custom Calendar Popover */
#fs-cal-popover {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  width: 720px;
  background: #FFFFFF;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 1050;
  display: none;
  font-family: var(--fs-font);
}

.fs-cal-container {
  display: flex;
  min-height: 320px;
}

.fs-cal-sidebar {
  width: 170px;
  border-right: 1px solid var(--fs-line);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
}

.fs-cal-preset-btn {
  display: flex;
  align-items: center;
  width: 100%;
  height: 34px;
  padding: 0 12px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fs-ink);
  text-align: left;
  cursor: pointer;
}

.fs-cal-preset-btn:hover {
  background: var(--fs-canvas);
}

.fs-cal-preset-btn.active {
  background: #E4F5F6;
  color: var(--fs-primary-700);
  font-weight: 600;
}

.fs-cal-body {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  gap: 24px;
}

.fs-cal-month {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fs-cal-month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  margin-bottom: 12px;
}

.fs-cal-month-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--fs-ink);
}

.fs-cal-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  color: var(--fs-ink);
}

.fs-cal-nav-btn:hover {
  background: var(--fs-canvas);
}

.fs-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 6px;
}

.fs-cal-weekday {
  font-size: 11px;
  font-weight: 600;
  color: var(--fs-text);
  text-transform: uppercase;
}

.fs-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 4px;
}

.fs-day-cell {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-ink);
  cursor: pointer;
  user-select: none;
  position: relative;
}

.fs-day-cell.disabled {
  color: #CCC;
  cursor: not-allowed;
}

.fs-day-cell.empty {
  cursor: default;
}

.fs-day-cell.in-range {
  background: #E4F5F6;
}

.fs-day-cell.range-start {
  background: var(--fs-primary-700) !important;
  color: #FFF !important;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  font-weight: 600;
}

.fs-day-cell.range-end {
  background: var(--fs-primary-700) !important;
  color: #FFF !important;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  font-weight: 600;
}

.fs-day-cell.range-start.range-end {
  border-radius: 6px;
}

.fs-cal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--fs-line);
  background: #FFF;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.fs-cal-summary-text {
  font-size: 13px;
  color: var(--fs-text);
}

.fs-cal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Token input chevron icon (matching sidebar menu dropdown chevron) */
.fs-tokens__chevron {
  font-size: 18px;
  color: var(--fs-grey-500);
  margin-left: auto;
  pointer-events: none;
  transition: transform 0.2s ease;
  user-select: none;
}

.fs-tokens.is-open .fs-tokens__chevron {
  transform: rotate(180deg);
  color: var(--fs-primary-700);
}

/* Custom Token Dropdown Popover (matching calendar picker reference style) */
.fs-tokens-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-height: 240px;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 1050;
  padding: 6px;
  display: none;
  box-sizing: border-box;
  font-family: var(--fs-font);
}

.fs-tokens-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fs-ink);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.fs-tokens-dropdown-item:hover,
.fs-tokens-dropdown-item.is-selected {
  background-color: #F9F9F9;
  color: var(--fs-primary-700);
  font-weight: 600;
}

.fs-tokens-dropdown-empty {
  padding: 12px;
  font-size: 13px;
  color: var(--fs-text);
  text-align: center;
}

/* =====================================================================
   05 — Sidebar expand / dropdown (Figma 60:2)
   Replaces sub-menu rules from specs 01 (D3) and 04 (§7.1)
   ===================================================================== */

/* Parent row — 60:26. Expanded looks the same as collapsed (S1, S2):
   no bg, no border, text #7F7F7F, icon + chevron #C2C2C2, chevron not rotated.
   Base styles come from .fs-nav__item (spec 01). Nothing to add here. */

/* Sub-menu wrapper + list — 60:34 (pl 14) / 60:35 (1px left rule, pl 10, gap 2) */
.fs-subnav {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* S6 */
  margin: 0 0 0 14px;
  /* S5: no top/bottom margin, group gap 4 does the spacing */
  padding: 0 0 0 10px;
  border-left: 1px solid var(--fs-line);
  /* #E3E3E3 */
  overflow: hidden;
}

.fs-subnav[hidden] {
  display: none;
}

/* Sub-item default — 60:38 (188 × 27, p 6/10, r 6) */
.fs-subnav__item {
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: var(--fs-font);
  font-weight: 500;
  font-size: 12px;
  line-height: normal;
  /* S4 */
  color: var(--fs-text);
  /* #7F7F7F */
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sub-item active — 60:36 (188 × 28.5: the 0.75 border adds to the size, as in Figma) */
.fs-subnav__item.is-active {
  background: var(--fs-canvas);
  /* #F9F9F9 */
  border: 0.75px solid var(--fs-line);
  /* #E3E3E3 */
  color: var(--fs-primary-700);
  /* #1A8C8D (S7) */
}

/* =====================================================================
   06–08 — Reports & Stats shared (Figma 32:1144 · 32:1866 · 42:2274)
   ===================================================================== */

/* Content wrapper — 28/28/40 total with .fs-content's 16 (N18) */
.fs-report {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 12px 12px 24px;
  font-family: var(--fs-font);
  color: var(--fs-ink);
}

.fs-report p,
.fs-report h1,
.fs-report h2,
.fs-report h3 {
  margin: 0;
}

/* Buttons (page header + cards) */
.fs-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  color: var(--fs-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.fs-btn-sm {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: transparent;
  color: var(--fs-ink);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.fs-btn-sm--dark {
  background: var(--fs-ink);
  border-color: var(--fs-ink);
  color: var(--fs-white);
}

.fs-btn-xs {
  display: inline-flex;
  align-items: center;
  padding: 1px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: transparent;
  color: var(--fs-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.fs-btn-primary,
.fs-btn-outline,
.fs-btn-sm,
.fs-btn-xs {
  transition: opacity .15s ease;
}

.fs-btn-primary:hover,
.fs-btn-outline:hover,
.fs-btn-sm:hover,
.fs-btn-xs:hover {
  opacity: .85;
}

/* ⛔ PENDING: hover not designed */

/* Segmented pills rendered as <a>/<button> */
a.fs-segmented__pill,
button.fs-segmented__pill {
  border: 0;
  background: transparent;
  font-family: var(--fs-font);
  text-decoration: none;
  cursor: pointer;
}

a.fs-segmented__pill.is-active,
button.fs-segmented__pill.is-active {
  background: var(--fs-ink);
  color: var(--fs-white);
}

.fs-segmented__pill[disabled],
.fs-segmented__pill.is-disabled {
  cursor: default;
}

.fs-segmented--sm .fs-segmented__pill {
  padding: 4px 10px;
  font-size: 12px;
}

/* Search pill input — 32:1324 / 42:2597 */
.fs-search {
  box-sizing: border-box;
  width: 200px;
  padding: 8px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fs-search::placeholder {
  color: var(--fs-grey-500);
  opacity: 1;
}

.fs-search:focus,
.fs-search:focus-visible {
  border-color: var(--fs-primary-500);
  background: var(--fs-white);
}

/* Card text helpers */
.fs-card__link {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-700);
  text-decoration: none;
  white-space: nowrap;
}

.fs-stat-label {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-stat-label--sm {
  font-size: 11px;
  letter-spacing: 0.44px;
}

.fs-caption {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-mono {
  font-family: var(--fs-mono);
  font-weight: 400;
}

/* Square legend swatch (10 × 10, r 3) */
.fs-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 3px;
}

/* Progress track (8 h) */
.fs-track {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--fs-line);
}

.fs-track--canvas {
  background: var(--fs-canvas);
}

.fs-track__fill {
  height: 8px;
  border-radius: 999px;
  background: var(--fs-primary-700);
}

.fs-track__fill--500 {
  background: var(--fs-primary-500);
}

/* Status dots */
.fs-dot {
  box-sizing: border-box;
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
}

.fs-dot--on {
  background: var(--fs-primary-700);
}

.fs-dot--off {
  border: 1.5px solid var(--fs-text);
  background: transparent;
}

.fs-dot--10 {
  width: 10px;
  height: 10px;
  flex-basis: 10px;
}

.fs-pill .fs-dot {
  margin-right: 6px;
}

.fs-pill--status-on {
  background: var(--fs-canvas);
  color: var(--fs-primary-700);
}

/* Table variants (base .fs-table from spec 02) */
.fs-table--fluid {
  width: 100%;
}

/* colgroup widths = Figma column + gap; wrapper scrolls if narrower */
.fs-table td.fs-td--mono {
  font-family: var(--fs-mono);
  font-size: 12px;
}

.fs-table td.fs-td--sm {
  font-size: 12px;
}

.fs-table td.fs-td--right,
.fs-table th.fs-td--right {
  text-align: right;
}

.fs-table tr[hidden] {
  display: none;
}

/* Hidden-by-filter helper */
.is-filtered-out {
  display: none !important;
}

/* =====================================================================
   06 — Network Status (Figma 32:1307)
   ===================================================================== */
.fs-noc {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.fs-noc__main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fs-noc__side {
  flex: 0 0 300px;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fs-noc .fs-pagehead__controls {
  gap: 10px;
}

/* Heartbeat alert — 32:1328 */
.fs-alert {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 20px;
  background: var(--fs-white);
  border: 1px solid var(--fs-grey-500);
  border-radius: 16px;
}

.fs-alert__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.fs-alert__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-alert__sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-alert__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* Router tiles — 32:1337 */
.fs-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fs-tile {
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
}

.fs-tile--off {
  background: var(--fs-canvas);
  border: 1px dashed var(--fs-grey-500);
}

.fs-tile__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.fs-tile__name {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.fs-tile__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-tile__ip {
  font-family: var(--fs-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-spark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 28px;
}

.fs-spark__bar {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 2px 2px 0 0;
  background: var(--fs-primary-300);
}

.fs-tile--off .fs-spark__bar {
  background: var(--fs-line);
}

.fs-tile__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.3;
  white-space: nowrap;
}

.fs-tile__guests {
  display: flex;
  gap: 4px;
  font-size: 13px;
}

.fs-tile__guests b {
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-tile__guests span {
  font-weight: 400;
  color: var(--fs-text);
}

.fs-tile__seen {
  font-family: var(--fs-mono);
  font-size: 12px;
  color: var(--fs-text);
}

/* Live hotspot sessions — 32:1702 */
.fs-sessions {
  gap: 12px;
}

.fs-card__actions {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.fs-sessions .fs-table th {
  padding-top: 8px;
  padding-bottom: 8px;
}

.fs-sessions .fs-table td {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Side cards — 32:1809 … 32:1830 */
.fs-side-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 24px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
}

.fs-side-card__value {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.2px;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-side-card__value--32 {
  font-size: 32px;
  letter-spacing: 0;
}

.fs-side-card__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.fs-side-card__split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.3;
  white-space: nowrap;
}

.fs-side-card__num {
  font-size: 13px;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-online-spark {
  display: block;
  width: 252px;
  height: 48px;
}

/* Heartbeat log — 32:1830 */
.fs-beats {
  gap: 4px;
}

.fs-beats__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
}

.fs-live-ind {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-700);
}

.fs-live-ind__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fs-primary-700);
  box-shadow: 0 0 0 3px rgba(75, 189, 190, 0.25);
}

/* verify glow 32:1834 */
.fs-beat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--fs-line);
}

.fs-beat__time {
  width: 44px;
  flex: 0 0 44px;
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-beat__name {
  flex: 1 1 0;
  min-width: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-beat--off .fs-beat__name {
  color: var(--fs-text);
}

@media (max-width: 1399.98px) {
  .fs-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023.98px) {
  .fs-noc {
    flex-direction: column;
  }

  .fs-noc__side {
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (max-width: 639.98px) {
  .fs-tiles {
    grid-template-columns: 1fr;
  }

  .fs-noc .fs-pagehead__controls {
    flex-wrap: wrap;
  }
}

/* =====================================================================
   07 — Audience & Marketing (Figma 32:2019)
   Requires 06 §5.1 shared block.
   ===================================================================== */
.fs-aud-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.fs-aud-row>.fs-card {
  flex: 1 1 0;
  min-height: 229px;
}

/* Custom range popover — ⛔ PENDING A5 (not designed) */
.fs-range {
  position: relative;
}

.fs-range__pop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 16px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  box-shadow: 0 16px 24px -12px rgba(0, 0, 0, 0.08);
}

.fs-range__pop[hidden] {
  display: none;
}

.fs-range__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
}

.fs-range__field input {
  box-sizing: border-box;
  height: 35px;
  padding: 6px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  font-family: var(--fs-font);
  font-size: 13px;
  color: var(--fs-ink);
  text-transform: none;
  letter-spacing: 0;
}

/* Gender — 32:2042 */
.fs-gender {
  gap: 16px;
}

.fs-bignum {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.fs-bignum__value {
  font-family: var(--fs-mono);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.2px;
  color: var(--fs-ink);
}

.fs-bignum__unit {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-legend--sq {
  gap: 16px;
}

.fs-legend--sq .fs-legend__item {
  color: var(--fs-ink);
}

.fs-legend--sq .fs-legend__item.is-muted {
  color: var(--fs-text);
}

/* Age range — 32:2063 */
.fs-age {
  gap: 12px;
}

.fs-age__plot {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-age__col {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.fs-age__pct {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-age__bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: var(--fs-primary-300);
}

.fs-age__bar.is-peak {
  background: var(--fs-primary-700);
}

.fs-age__labels {
  display: flex;
  gap: 10px;
}

.fs-age__labels span {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

/* Top countries — 32:2089 */
.fs-countries {
  gap: 10px;
}

.fs-country {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fs-country__name {
  width: 96px;
  flex: 0 0 96px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-country .fs-track {
  flex: 1 1 0;
  min-width: 0;
}

.fs-country__pct {
  width: 40px;
  flex: 0 0 40px;
  text-align: right;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
}

/* Campaign performance — 32:2119 */
.fs-campaigns {
  gap: 12px;
}

.fs-campaigns .fs-table th {
  padding-right: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.fs-campaigns .fs-table td {
  padding-right: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 12px;
}

.fs-campaigns .fs-table th:last-child,
.fs-campaigns .fs-table td:last-child {
  padding-right: 0;
  text-align: left;
}

.fs-thumb {
  display: block;
  box-sizing: border-box;
  width: 72px;
  height: 36px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-canvas);
  object-fit: cover;
}

.fs-campaign {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.fs-campaign__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-campaign__sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-campaigns .fs-td--ctr {
  font-size: 13px;
  font-weight: 500;
}

.fs-campaigns .fs-track {
  width: 181px;
}

/* Right column — 32:2220 */
.fs-col-side {
  flex: 0 0 470px;
  width: 470px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Vouchers — 32:2221 */
.fs-vouchers {
  gap: 14px;
}

.fs-vstats {
  display: flex;
  gap: 12px;
}

.fs-vstat {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.fs-vstat__value {
  font-family: var(--fs-mono);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-vstat--muted .fs-vstat__value {
  color: var(--fs-text);
}

.fs-splitbar--8 {
  height: 8px;
}

.fs-splitbar--8 .fs-splitbar__seg {
  height: 8px;
}

.fs-vcode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--fs-line);
}

.fs-vcode__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.fs-vcode__code {
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-vcode__guest {
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Top provinces — 32:2260 */
.fs-provinces {
  gap: 10px;
}

.fs-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid var(--fs-line);
  line-height: 1.3;
  white-space: nowrap;
}

.fs-kv__key {
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-ink);
}

.fs-kv__val {
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-text);
}

/* ⛔ PENDING A18 — responsive, not in Figma */
@media (max-width: 1279.98px) {
  .fs-aud-row {
    flex-direction: column;
  }

  .fs-col-side {
    flex: 1 1 auto;
    width: auto;
  }
}

/* =====================================================================
   08 — Role Aware (Figma 42:2427)
   Requires 06 §5.1 shared block.
   ===================================================================== */

/* Title row + role badge — 42:2433 */
.fs-pagehead__titlerow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fs-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--fs-ink);
  color: var(--fs-white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

/* KPI strip — 42:2448 (one card, 5 cells) */
.fs-kstrip {
  display: flex;
  align-items: stretch;
  padding: 0;
  gap: 0;
  flex-direction: row;
}

.fs-kstrip__cell {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
}

.fs-kstrip__cell+.fs-kstrip__cell {
  border-left: 1px solid var(--fs-line);
}

.fs-kstrip__value {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.16px;
  color: var(--fs-ink);
  white-space: nowrap;
}

/* Guests by tenant — 42:2469 */
.fs-stack {
  gap: 16px;
}

.fs-stack__controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.fs-stack__controls .fs-legend {
  gap: 14px;
}

.fs-stack__controls .fs-legend__item {
  color: var(--fs-ink);
}

.fs-stack__chart {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.fs-stack__y {
  width: 40px;
  flex: 0 0 40px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-stack__plot {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 220px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-stack__grid {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--fs-line);
  pointer-events: none;
}

.fs-stack__grid:nth-child(1) {
  top: 0;
}

.fs-stack__grid:nth-child(2) {
  top: 55px;
}

.fs-stack__grid:nth-child(3) {
  top: 110px;
}

.fs-stack__grid:nth-child(4) {
  top: 165px;
}

.fs-stack__bar {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fs-stack__seg {
  width: 100%;
}

.fs-stack__seg:first-child {
  border-radius: 4px 4px 0 0;
}

.fs-stack__seg:last-child {
  border-radius: 0 0 2px 2px;
}

.fs-stack__seg:only-child {
  border-radius: 4px 4px 2px 2px;
}

.fs-stack__x {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-left: 48px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

/* Tabbed data — 42:2583 */
.fs-tabcard {
  padding: 0;
  gap: 0;
}

.fs-tabbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-tabs {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.fs-tab {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 16px 0 13px;
  border-bottom: 3px solid transparent;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.fs-tab__label {
  font-size: 14px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-tab__count {
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-tab.is-active {
  border-bottom-color: var(--fs-primary-700);
}

.fs-tab.is-active .fs-tab__label {
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-tab:hover .fs-tab__label {
  color: var(--fs-ink);
}

/* ⛔ PENDING: hover not designed */
.fs-tabbar .fs-search {
  width: 220px;
  padding: 7px 16px;
}

.fs-tabpanel {
  padding: 4px 24px 12px;
}

/* Tenants table — 42:2599 (gap 14) */
.fs-tenants .fs-table th {
  padding: 12px 14px 8px 0;
}

.fs-tenants .fs-table td {
  padding: 12px 14px 12px 0;
}

.fs-tenants .fs-table th:last-child,
.fs-tenants .fs-table td:last-child {
  padding-right: 0;
}

.fs-tenant {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fs-avatar {
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  color: var(--fs-ink);
}

.fs-tenant__name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-lic {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fs-lic .fs-track {
  flex: 1 1 0;
  min-width: 0;
}

.fs-lic__num {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-row-menu {
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
  text-decoration: none;
  letter-spacing: 1px;
}

/* ⛔ PENDING R17 — responsive, not in Figma */
@media (max-width: 1279.98px) {
  .fs-kstrip {
    flex-wrap: wrap;
  }

  .fs-kstrip__cell {
    flex: 1 1 33%;
  }

  .fs-stack .fs-card__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 639.98px) {
  .fs-kstrip__cell {
    flex-basis: 100%;
  }

  .fs-kstrip__cell+.fs-kstrip__cell {
    border-left: 0;
    border-top: 1px solid var(--fs-line);
  }

  .fs-tabbar {
    flex-wrap: wrap;
    padding-bottom: 8px;
  }
}

/* =====================================================================
   09 — Dashboard custom range (Figma 63:2 · popover 64:2)
   Shared picker: .fs-drp (finns-daterange.js)
   ===================================================================== */

/* Controls anchor the popover */
.fs-pagehead__controls {
  position: relative;
}

/* Segmented · Custom (active) — 63:124 */
.fs-segmented__pill--custom {
  gap: 8px;
}

.fs-segmented__range {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-primary-300);
  white-space: nowrap;
}

.fs-segmented__caret {
  font-size: 9px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-grey-500);
}

/* KPI delta hidden when compare is off (G4 PENDING) — keeps card height */
.fs-kpi__delta.is-off {
  visibility: hidden;
}

/* Trend single-day message (G8 PENDING) */
.fs-trend__canvas>.fs-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* ---------- Popover shell — 64:2 (760 wide, r 16) ---------- */
.fs-drp {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 45;
  box-sizing: border-box;
  width: 760px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.06), 0 24px 48px -12px rgba(0, 0, 0, 0.08);
  /* G14 verify */
  font-family: var(--fs-font);
  color: var(--fs-ink);
}

.fs-drp[hidden] {
  display: none;
}

.fs-drp p {
  margin: 0;
}

.fs-drp__body {
  display: flex;
  align-items: stretch;
}

/* Side: Quick range + Compare — 64:4 (168 wide, p 16/12, gap 2) */
.fs-drp__side {
  box-sizing: border-box;
  flex: 0 0 168px;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 12px;
  border-right: 1px solid var(--fs-line);
}

.fs-drp__label {
  padding: 0 10px 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-drp__preset {
  display: block;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-drp__preset.is-active {
  background: var(--fs-primary-300);
  color: var(--fs-primary-900);
  font-weight: 500;
}

/* Compare — 64:21 (after a 10 px spacer: 2 + 10 + 2 = 14 from Custom) */
.fs-drp__compare {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px 0;
  border-top: 1px solid var(--fs-line);
}

.fs-drp__compare .fs-drp__label {
  padding: 0;
}

.fs-drp__check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-drp__check-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.fs-drp__box {
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fs-line);
  border-radius: 4px;
  background: var(--fs-white);
  font-size: 10px;
  line-height: 1;
  color: transparent;
  /* unchecked = ⛔ PENDING (not designed) */
}

.fs-drp__check.is-checked .fs-drp__box {
  background: var(--fs-primary-700);
  border-color: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-drp__compare-range {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-drp__compare-range[hidden] {
  display: none;
}

/* Main column — inputs 64:30 (pt 16, px 20, gap 8; inputs 35 h) */
.fs-drp__main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.fs-drp__inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px 0;
}

.fs-drp__input {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 12px;
  outline: 0;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-drp__input.is-active {
  border-color: var(--fs-primary-700);
}

.fs-drp__arrow {
  font-size: 14px;
  line-height: 1.3;
  color: var(--fs-grey-500);
}

/* Months — 64:36 (p 16/20, gap 28, each ≈261) */
.fs-drp__months {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 16px 20px;
}

.fs-drp__month {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fs-drp__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fs-drp__navspacer {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.fs-drp__navbtn {
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  cursor: pointer;
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  color: var(--fs-text);
}

.fs-drp__navbtn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* ⛔ PENDING (04-F5) */
.fs-drp__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-drp__grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fs-drp__week {
  display: flex;
}

.fs-drp__wd {
  flex: 1 1 0;
  min-width: 0;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-drp__cell {
  flex: 1 1 0;
  min-width: 0;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-drp__cell.is-in-range {
  background: var(--fs-primary-100);
}

.fs-drp__cell.is-range-start {
  background: linear-gradient(90deg, transparent 50%, var(--fs-primary-100) 50%);
}

.fs-drp__cell.is-range-end {
  background: linear-gradient(90deg, var(--fs-primary-100) 50%, transparent 50%);
}

.fs-drp__day {
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  color: var(--fs-ink);
}

.fs-drp__cell.is-in-range .fs-drp__day {
  color: var(--fs-primary-900);
}

.fs-drp__day.is-today {
  border-color: var(--fs-primary-500);
}

.fs-drp__day.is-selected {
  background: var(--fs-primary-700);
  border-color: var(--fs-primary-700);
  color: var(--fs-white);
  font-weight: 500;
}

.fs-drp__day:disabled {
  color: var(--fs-grey-500);
  cursor: default;
}

.fs-drp__day:not(:disabled):not(.is-selected):hover {
  background: var(--fs-canvas);
}

/* ⛔ PENDING (04-F7) */

/* Footer — 64:291 (p 12/20, border-top, 61 h) */
.fs-drp__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-top: 1px solid var(--fs-line);
}

.fs-drp__range {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-drp__meta {
  color: var(--fs-text);
}

.fs-drp__meta.is-error {
  color: #BA1A1A;
}

/* ⛔ PENDING G9 */
.fs-drp__actions {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Cancel 36 h, Apply 34 h */
.fs-drp__cancel {
  padding: 8px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  cursor: pointer;
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-drp__apply {
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--fs-primary-700);
  cursor: pointer;
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-white);
  white-space: nowrap;
}

.fs-drp__apply:disabled {
  opacity: 0.5;
  cursor: default;
}

/* Focus */
.fs-drp__preset:focus-visible,
.fs-drp__navbtn:focus-visible,
.fs-drp__day:focus-visible,
.fs-drp__cancel:focus-visible,
.fs-drp__apply:focus-visible,
.fs-drp__check-input:focus-visible+.fs-drp__box,
.fs-segmented__pill--custom:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* =====================================================================
   11–15 — Routers & Hardware shared (Figma 100:3 · 100:654 · 100:831 · 100:1008 · 100:1185)
   Replaces the old "10 — Routers & Hardware" section.
   ===================================================================== */
:root {
  --fs-primary-50: #EAF8F9;
  /* tint: tenant tag, rail active, chips on, status On (R17) */
  --fs-primary-25: #F0FBFB;
  /* lightest tint: MAC card, selected template, inherit note */
  --fs-danger: #C0392B;
  /* destructive text (Delete router) */
}

/* Page header: header right side is bottom-aligned (spec 02 .fs-pagehead) */
.fs-rt-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Buttons ---------- */
.fs-btn-outline--sm16 {
  padding: 9px 16px;
}

/* Cancel 103:3, Back 100:1183 */
.fs-btn-primary--16 {
  padding: 9px 16px;
}

/* + Add router 100:170 */
.fs-rt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  color: var(--fs-ink);
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.fs-rt-btn .fs-rt-select__arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 6px;
  transition: transform 0.15s ease;
}

.fs-rt-btn.is-open,
.fs-rt-btn[aria-expanded="true"] {
  background: var(--fs-primary-50);
  border-color: var(--fs-primary-700);
  color: var(--fs-primary-900);
}

.fs-rt-btn.is-open .fs-rt-select__arrow,
.fs-rt-btn[aria-expanded="true"] .fs-rt-select__arrow {
  transform: rotate(180deg);
}

.fs-rt-btn.is-open .fs-rt-select__arrow path,
.fs-rt-btn[aria-expanded="true"] .fs-rt-select__arrow path {
  stroke: var(--fs-primary-700);
}

.fs-rt-btn--icon {
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 11px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-rt-more {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fs-text);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 1px;
  cursor: pointer;
}

.fs-rt-more.is-open {
  background: var(--fs-line);
}

.fs-rt-btn-test {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--fs-primary-500);
  border-radius: 999px;
  background: var(--fs-white);
  color: var(--fs-primary-700);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
}

.fs-rt-btn-test::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fs-primary-700);
}

/* verify dot 103:83 */

/* ---------- Filter pills (101:21 · 104:49 · badge counter style) ---------- */
.fs-rt-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-rt-fpill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  box-sizing: border-box;
  padding: 5px 6px 5px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.fs-rt-fpill__n {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  box-sizing: border-box;
  padding: 0 6px;
  border-radius: 999px;
  background: #F2F4F4;
  border: 1px solid #E2E4E4;
  color: #555555;
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.fs-rt-fpill:not(.is-active) .fs-rt-fpill__n::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: #E2E4E4;
}

.fs-rt-fpill:not(.is-active):hover {
  background: var(--fs-canvas);
  border-color: var(--fs-grey-500);
}

.fs-rt-fpill.is-active {
  background: var(--fs-primary-300);
  border-color: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

.fs-rt-fpill.is-active .fs-rt-fpill__n {
  background: #E6F5F5;
  border-color: #D3EBEC;
  color: #555555;
}

.fs-rt-fpill:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* ---------- Pill select + pill search (101:35 · 101:38 · 106:2) ---------- */
.fs-rt-pillselect {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: auto !important;
  flex: 0 0 auto !important;
  height: 36px;
}

.fs-rt-pillselect select {
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 36px;
  padding: 8px 34px 8px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.fs-rt-pillselect::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%237F7F7F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.fs-rt-pillselect.has-custom select,
.fs-rt-pillselect.has-custom::after {
  display: none !important;
}

.fs-rt-pillselect .fs-rt-select__btn {
  box-sizing: border-box;
  width: auto;
  min-width: 130px;
  height: 36px;
  border-radius: 999px;
  padding: 8px 14px 8px 16px;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  justify-content: space-between;
}

.fs-rt-pillselect .fs-rt-select__menu {
  min-width: 150px;
  width: max-content;
  left: 0;
  right: auto;
  margin-top: 4px;
}

.fs-rt-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 360px;
  height: 36px;
}

.fs-rt-search::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 10.5A4.5 4.5 0 1 0 6 1.5a4.5 4.5 0 0 0 0 9zm0 0l3.5 3.5' stroke='%237F7F7F' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.fs-rt-search input {
  box-sizing: border-box;
  width: 100%;
  height: 36px;
  padding: 8px 14px 8px 36px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fs-rt-search input::placeholder {
  color: var(--fs-grey-500);
  opacity: 1;
}

.fs-rt-search input:focus,
.fs-rt-search input:focus-visible,
.fs-rt-pillselect select:focus,
.fs-rt-pillselect select:focus-visible,
.fs-rt-pillselect .fs-rt-select__btn:focus-visible,
.fs-rt-pillselect .fs-rt-select__btn.is-open {
  border-color: var(--fs-primary-500);
  background: var(--fs-white);
  outline: none;
}

/* ---------- Tags / status ---------- */
.fs-rt-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--fs-primary-50);
  color: var(--fs-primary-900);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

.fs-rt-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.fs-rt-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.fs-rt-status--on {
  background: var(--fs-primary-50);
  color: var(--fs-primary-900);
}

.fs-rt-status--on::before {
  background: var(--fs-primary-700);
}

.fs-rt-status--off {
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  color: var(--fs-text);
}

.fs-rt-status--off::before {
  background: var(--fs-grey-500);
}

/* verify dot 104:144 */
.fs-rt-muted {
  color: var(--fs-grey-500) !important;
}

/* ---------- Table base (101:41 · 104:59) ---------- */
.fs-rt-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--fs-font);
}

.fs-rt-table th,
.fs-rt-table td {
  padding: 0 16px 0 0;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--fs-line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-rt-table th:last-child,
.fs-rt-table td:last-child {
  padding-right: 0;
}

.fs-rt-table th {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
}

.fs-rt-table td {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-rt-table .is-right {
  text-align: right;
}

.fs-rt-table .is-strong {
  font-weight: 500;
}

.fs-rt-table .is-muted {
  color: var(--fs-text);
}

.fs-rt-table .fs-mono {
  font-size: 12px;
}

.fs-rt-table tbody tr:hover {
  background: var(--fs-canvas);
}

.fs-rt-table tr[hidden] {
  display: none;
}

.fs-rt-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

/* ---------- Dropdown menu (102:165) ---------- */
.fs-rt-menu {
  position: absolute;
  z-index: 60;
  right: 0;
  top: calc(100% + 6px);
  box-sizing: border-box;
  width: 260px;
  display: flex;
  flex-direction: column;
  padding: 6px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.08);
  text-align: left;
  white-space: nowrap;
}

.fs-rt-menu[hidden] {
  display: none;
}

.fs-rt-menu__label {
  padding: 8px 10px 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
}

.fs-rt-menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  text-decoration: none;
}

.fs-rt-menu__item:hover,
.fs-rt-menu__item:focus-visible {
  background: var(--fs-canvas);
  outline: none;
}

.fs-rt-menu__hint {
  color: var(--fs-grey-500);
}

.fs-rt-menu__item--danger {
  color: var(--fs-danger);
}

.fs-rt-menu__divider {
  height: 1px;
  margin: 4px 0;
  background: var(--fs-line);
}

/* ---------- Form building blocks (1b 100:654 · 1d 100:1008) ---------- */
.fs-rt-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fs-rt-label {
  display: flex;
  gap: 3px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-rt-label b {
  font-weight: 500;
  color: var(--fs-primary-700);
}

/* required * */
.fs-rt-help {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-rt-input {
  box-sizing: border-box;
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
}

.fs-rt-input:focus {
  border-color: var(--fs-primary-500);
}

/* Member tenant 103:44, Router name 105:26 */
.fs-rt-input::placeholder {
  color: var(--fs-grey-500);
  opacity: 1;
}

.fs-rt-input.fs-mono {
  font-family: var(--fs-mono);
  font-size: 13px;
}

.fs-rt-input[disabled] {
  background: var(--fs-canvas);
  color: var(--fs-text);
  cursor: not-allowed;
}

/* ⛔ PENDING B-fields */
.fs-rt-select {
  position: relative;
  display: block;
  width: 100%;
}

.fs-rt-select:has(.fs-rt-select__btn.is-open),
.fs-rt-select.is-open {
  position: relative !important;
  z-index: 1050 !important;
}

.fs-rt-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box;
  width: 100%;
  height: 37px;
  padding: 8px 34px 8px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background-color: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.fs-rt-select select:focus {
  border-color: var(--fs-primary-500);
}

.fs-rt-select::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%237F7F7F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.fs-rt-select.has-custom select,
.fs-rt-select.has-custom::after {
  display: none !important;
}

/* Custom Dropdown Field Component (Figma media_1790356074975) */
.fs-rt-select__btn {
  box-sizing: border-box;
  width: 100%;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.fs-rt-select__btn:focus-visible,
.fs-rt-select__btn.is-open {
  border-color: var(--fs-primary-500);
}

.fs-rt-select__val {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.fs-rt-select__arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 6px;
  transition: transform 0.15s ease;
}

.fs-rt-select__btn.is-open .fs-rt-select__arrow {
  transform: rotate(180deg);
}

.fs-rt-select__menu {
  position: absolute !important;
  z-index: 1055 !important;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  min-width: 100%;
  max-height: 280px;
  overflow-y: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 6px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  text-align: left;
}

.fs-rt-select__menu[hidden] {
  display: none;
}

.fs-rt-select__option {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.fs-rt-select__option:hover,
.fs-rt-select__option.is-selected {
  background: var(--fs-canvas);
}

.fs-rt-secret {
  position: relative;
}

.fs-rt-secret .fs-rt-input {
  padding-right: 60px;
}

.fs-rt-secret__toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-700);
  cursor: pointer;
}

.fs-rt-row {
  display: grid;
  gap: 16px;
  align-items: start;
}

.fs-rt-row--1 {
  grid-template-columns: minmax(0, 1fr);
}

.fs-rt-row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fs-rt-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fs-rt-row--2-1 {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.fs-rt-row--1-2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

/* Segmented radio (1d router_status 105:66) */
.fs-rt-seg {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  max-width: max-content;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
}

.fs-rt-seg label {
  position: relative;
}

.fs-rt-seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fs-rt-seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
  cursor: pointer;
  white-space: nowrap;
}

.fs-rt-seg input:checked+span {
  background: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-rt-seg input:focus-visible+span {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* Card footer row with actions (1b 103:253 · 1d 105:76) */
.fs-rt-formfoot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.fs-rt-formfoot__note {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

/* Flash message (R16 — ⛔ PENDING, not designed) */
.fs-rt-flash {
  font-size: 13px;
}

.fs-rt-flash .alert {
  margin: 0;
  border-radius: 12px;
}

/* =====================================================================
   11 — Router nodes (Figma 100:162)
   ===================================================================== */
.fs-rt-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fs-rt-kpi {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
}

.fs-rt-kpi__label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-rt-kpi__value {
  font-family: var(--fs-mono);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.16px;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-rt-kpi__caption {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-rt-nodes {
  gap: 12px;
  padding: 20px 24px 16px;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.fs-rt-nodes .fs-table-wrap {
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
}

.fs-rt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fs-rt-toolbar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.fs-rt-nodes .fs-rt-table th {
  padding-top: 8px;
  padding-bottom: 8px;
}

.fs-rt-nodes .fs-rt-table td {
  padding-top: 12px;
  padding-bottom: 12px;
}

.fs-rt-nodes .fs-rt-table td:last-child {
  overflow: visible;
  position: relative;
}

.fs-rt-router {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.fs-rt-router__name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.fs-rt-api {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--fs-mono);
  line-height: 1.3;
  margin: 0;
  padding: 0;
}

.fs-rt-api__host {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-rt-api__user {
  display: block;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-rt-menuwrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Menu is position:fixed and placed by JS, so it is never clipped by
   .fs-table-wrap's scroll container. Scoped to the router-nodes table. */
.fs-rt-menu--fixed {
  position: fixed;
  z-index: 1050;
  right: auto;
  left: auto;
  top: auto;
  bottom: auto;
}

.fs-rt-nodes .fs-rt-menu--fixed {
  top: auto;
  bottom: auto;
  z-index: 1050;
}

/* Table footer + pagination — 102:152 */
.fs-rt-tfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.fs-rt-tfoot__text {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-rt-pager {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fs-rt-pager button {
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-ink);
  cursor: pointer;
}

.fs-rt-pager button.is-current {
  background: var(--fs-ink);
  border-color: var(--fs-ink);
  color: var(--fs-white);
  font-weight: 500;
}

.fs-rt-pager button[disabled] {
  opacity: .4;
  cursor: default;
}

/* ⛔ PENDING R11 */

/* ⛔ PENDING R19 */
@media (max-width: 1279.98px) {
  .fs-rt-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fs-rt-toolbar {
    flex-wrap: wrap;
  }

  .fs-rt-row--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .fs-rt-kpis {
    grid-template-columns: 1fr;
  }

  .fs-rt-search {
    width: 100%;
  }

  .fs-rt-row--2,
  .fs-rt-row--3,
  .fs-rt-row--2-1,
  .fs-rt-row--1-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =====================================================================
   12 — Add / Edit router (Figma 100:821). Requires spec 11 §5.1.
   ===================================================================== */
.fs-rt-editor {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.fs-rt-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* Section rail — 103:8 */
.fs-rt-rail {
  position: sticky;
  top: 74px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
}

.fs-rt-rail__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  text-decoration: none;
  white-space: nowrap;
}

.fs-rt-rail__step {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--fs-line);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-rt-rail__item.is-active {
  background: var(--fs-primary-50);
  color: var(--fs-primary-900);
  font-weight: 500;
}

.fs-rt-rail__item.is-active .fs-rt-rail__step {
  background: var(--fs-primary-700);
  color: var(--fs-white);
}

/* Section card — 103:34 */
.fs-rt-sec {
  box-sizing: border-box;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: visible;
  scroll-margin-top: 74px;
  position: relative;
}

.fs-rt-sec__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--fs-line);
  border-radius: 16px 16px 0 0;
}

.fs-rt-sec__titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
  min-width: 0;
}

.fs-rt-sec__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-rt-sec__sub {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-rt-sec__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 24px 24px;
}

/* Checkbox card (MAC binding) — 103:147 */
.fs-rt-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
}

.fs-rt-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fs-rt-check__box {
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fs-grey-500);
  border-radius: 4px;
  background: var(--fs-white);
  font-size: 10px;
  font-weight: 600;
  color: transparent;
}

.fs-rt-check:has(input:checked) {
  background: var(--fs-primary-25);
  border-color: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

.fs-rt-check:has(input:checked) .fs-rt-check__box {
  background: var(--fs-primary-700);
  border-color: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-rt-check:has(input:focus-visible) {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* Template cards — 103:167 */
.fs-rt-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  align-items: flex-start;
  width: fit-content;
  max-width: 100%;
}

.fs-rt-fieldset>legend {
  padding: 0;
  margin-bottom: 6px;
}

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

.fs-rt-tpl {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  background: var(--fs-white);
  cursor: pointer;
}

.fs-rt-tpl input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fs-rt-tpl__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-rt-tpl__radio {
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  border: 1px solid var(--fs-grey-500);
  border-radius: 50%;
  background: var(--fs-white);
}

.fs-rt-tpl__desc {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-rt-tpl:has(input:checked) {
  background: var(--fs-primary-25);
  border-color: var(--fs-primary-700);
}

.fs-rt-tpl:has(input:checked) .fs-rt-tpl__top {
  color: var(--fs-primary-900);
}

.fs-rt-tpl:has(input:checked) .fs-rt-tpl__radio {
  border: 4px solid var(--fs-primary-700);
}

.fs-rt-tpl:has(input:focus-visible) {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* Login method chips — 103:203 */
.fs-rt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fs-rt-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.fs-rt-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fs-rt-chip__tick {
  display: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--fs-primary-700);
}

.fs-rt-chip:has(input:checked) {
  background: var(--fs-primary-50);
  border-color: var(--fs-primary-500);
  color: var(--fs-primary-900);
}

.fs-rt-chip:has(input:checked) .fs-rt-chip__tick {
  display: inline;
}

.fs-rt-chip:has(input:focus-visible) {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* Footer under the sections — 103:253 */
.fs-rt-editor .fs-rt-formfoot {
  margin-top: 0;
}

/* ⛔ PENDING A20 */
@media (max-width: 1023.98px) {
  .fs-rt-editor {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-rt-rail {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .fs-rt-tpls {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =====================================================================
   13 — Child routers (Figma 100:998). Requires spec 11 §5.1.
   ===================================================================== */
.fs-rt-childgrid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

/* Master node list — 104:3 */
.fs-rt-masters {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
}

.fs-rt-masters__label {
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
}

.fs-rt-master {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
}

.fs-rt-master:hover {
  background: var(--fs-canvas);
}

/* ⛔ PENDING: hover not designed */
.fs-rt-master__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.3;
}

.fs-rt-master__name {
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-rt-master__sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-rt-count {
  flex: 0 0 auto;
  padding: 1px 8px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-rt-master.is-active {
  background: var(--fs-primary-50);
  border-color: var(--fs-primary-500);
}

.fs-rt-master.is-active .fs-rt-master__name {
  font-weight: 500;
  color: var(--fs-primary-900);
}

.fs-rt-master.is-active .fs-rt-count {
  background: var(--fs-white);
}

/* Table card — 104:42 */
.fs-rt-childcard {
  padding: 0;
  gap: 0;
}

.fs-rt-childcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-rt-childcard__titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.3;
}

.fs-rt-childcard__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-rt-childcard__meta {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-rt-childcard__body {
  padding: 0 24px;
}

.fs-rt-childcard .fs-rt-table th {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 10px;
}

.fs-rt-childcard .fs-rt-table td {
  padding-top: 13px;
  padding-bottom: 13px;
  padding-right: 10px;
}

.fs-rt-childcard .fs-rt-table tbody tr:hover {
  background: transparent;
}

.fs-rt-childcard .fs-rt-table tr.is-off {
  background: var(--fs-canvas);
}

.fs-rt-childcard .fs-rt-table tr.is-off .fs-rt-childname {
  color: var(--fs-text);
}

.fs-rt-childname {
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-rt-childcard .fs-rt-created {
  font-size: 12px;
}

/* CREATED is Inter 12 (104:88) */
.fs-rt-childcard__foot {
  padding: 12px 24px 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

/* ⛔ PENDING C11 */
@media (max-width: 1023.98px) {
  .fs-rt-childgrid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-rt-childcard__head {
    flex-wrap: wrap;
  }
}

/* =====================================================================
   14 — Add / Edit child router (Figma 100:1175). Requires spec 11 §5.1.
   ===================================================================== */
.fs-rt-childedit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

/* Form card — 105:3 */
.fs-rt-form {
  padding: 0;
  gap: 0;
}

.fs-rt-fsec {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  padding: 24px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-rt-fsec__stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.fs-rt-fsec__title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-rt-fsec__desc {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-rt-fsec__controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.fs-rt-row--port {
  grid-template-columns: minmax(0, 1fr) 253px;
}

/* Router IP 520 + API port 253 (105:41) */
.fs-rt-form .fs-rt-formfoot {
  justify-content: space-between;
  padding: 16px 24px;
}

.fs-rt-form .fs-rt-formfoot__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.fs-btn-outline--18 {
  padding: 9px 18px;
}

/* Cancel 105:81 */
.fs-btn-primary--20 {
  padding: 9px 20px;
}

/* Save child router 105:83 */

/* Master node summary — 105:85 */
.fs-rt-summary {
  gap: 16px;
}

.fs-rt-summary__label {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
}

.fs-rt-summary__id {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.fs-rt-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--fs-primary-300);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-900);
}

.fs-rt-summary__names {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.3;
}

.fs-rt-summary__name {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-rt-summary__tenant {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-rt-kv {
  display: flex;
  flex-direction: column;
}

.fs-rt-kv__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--fs-line);
  line-height: 1.3;
  white-space: nowrap;
}

.fs-rt-kv__row:last-child {
  border-bottom: 0;
}

.fs-rt-kv__key {
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-rt-kv__val {
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-ink);
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-rt-kv__val.fs-mono {
  font-size: 12px;
}

.fs-rt-note {
  padding: 10px 12px;
  border: 1px solid var(--fs-primary-300);
  border-radius: 8px;
  background: var(--fs-primary-25);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-primary-900);
}

/* ⛔ PENDING D12 */
@media (max-width: 1023.98px) {
  .fs-rt-childedit {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .fs-rt-fsec {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .fs-rt-row--port {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =====================================================================
   15 — Walled garden (Figma 100:1352). Requires spec 11 §5.1.
   ===================================================================== */
.fs-wg .fs-pagehead__meta {
  max-width: 720px;
  white-space: normal;
}

.fs-wg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 20px;
  align-items: start;
}

.fs-wg-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* Router selector — 106:2 */
.fs-wg-select {
  position: relative;
  display: inline-flex;
}

.fs-wg-select.is-open {
  z-index: 100;
}

.fs-wg-selector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.fs-wg-selector:focus-visible,
.fs-wg-selector.is-open {
  border-color: var(--fs-primary-500);
}

.fs-wg-selector__key {
  font-weight: 400;
  color: var(--fs-text);
}

.fs-wg-selector__name {
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-wg-selector .fs-rt-select__arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 6px;
  transition: transform 0.15s ease;
}

.fs-wg-selector.is-open .fs-rt-select__arrow {
  transform: rotate(180deg);
}

.fs-wg-select .fs-rt-select__menu {
  right: 0;
  left: auto;
  min-width: 200px;
}

/* Host chips — 106:16 · 106:34 · 106:47 */
.fs-wg-hosts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fs-wg-host {
  display: inline-flex;
  padding: 3px 9px;
  border: 1px solid var(--fs-line);
  border-radius: 6px;
  background: var(--fs-canvas);
  font-family: var(--fs-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-wg-host--core {
  padding: 4px 10px;
}

.fs-wg-host--extra {
  padding: 2px 8px;
  background: transparent;
  font-size: 11px;
  color: var(--fs-text);
}

/* Always required — 106:8 */
.fs-wg-required {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  background: var(--fs-white);
  border: 1px solid var(--fs-primary-500);
  border-radius: 16px;
}

.fs-wg-required__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fs-wg-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.3;
}

.fs-wg-title14 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-wg-sub13 {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-wg-badge {
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--fs-primary-300);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-900);
}

/* Providers card — 106:22 */
.fs-wg-providers {
  padding: 0;
  gap: 0;
}

.fs-wg-providers__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-wg-count {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-wg-provider {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--fs-line);
  background: var(--fs-white);
  cursor: pointer;
}

.fs-wg-provider:last-child {
  border-bottom: 0;
}

.fs-wg-provider input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fs-wg-box {
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fs-grey-500);
  border-radius: 4px;
  background: var(--fs-white);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: transparent;
}

.fs-wg-provider__name {
  width: 140px;
  flex: 0 0 140px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-wg-provider__hosts {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fs-wg-provider .fs-wg-host:not(.fs-wg-host--extra) {
  color: var(--fs-text);
}

.fs-wg-provider:not(:has(input:checked)) {
  background: var(--fs-canvas);
}

.fs-wg-provider:has(input:checked) .fs-wg-box {
  background: var(--fs-primary-700);
  border-color: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-wg-provider:has(input:checked) .fs-wg-provider__name {
  color: var(--fs-ink);
}

.fs-wg-provider:has(input:checked) .fs-wg-host:not(.fs-wg-host--extra) {
  color: var(--fs-ink);
}

.fs-wg-provider:has(input:focus-visible) .fs-wg-box {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

.fs-wg-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border: 1px dashed var(--fs-grey-500);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
}

/* Script column (sticky) — 106:112 */
.fs-wg-side {
  position: sticky;
  top: 74px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fs-wg-script {
  border-radius: 16px;
  background: var(--fs-ink);
  overflow: hidden;
}

.fs-wg-script__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #3D3D3D;
}

/* script divider (W12) */
.fs-wg-script__title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-white);
}

.fs-wg-script__sub {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-grey-500);
}

.fs-wg-copy {
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--fs-primary-500);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #0F3D3D;
  cursor: pointer;
}

/* text colour only used here (W12) */
.fs-wg-script__body {
  margin: 0;
  padding: 14px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--fs-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--fs-line);
  white-space: pre;
  overflow-x: auto;
}

.fs-wg-script__body .is-cmd {
  color: var(--fs-primary-300);
}

.fs-wg-more {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--fs-font);
  font-size: 12px;
  line-height: 1.7;
  color: var(--fs-text);
  cursor: pointer;
}

/* ⛔ PENDING W13 */
@media (max-width: 1023.98px) {
  .fs-wg-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-wg-side {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .fs-wg-provider {
    flex-wrap: wrap;
  }

  .fs-wg-provider__hosts {
    flex-basis: 100%;
  }
}

/* =====================================================================
   16 — Router detail (Figma 114:167). Requires spec 11 §5.1.
   ===================================================================== */
:root {
  --fs-line-soft: #F0F0F0;
}

/* row dividers inside detail groups (V23) */

/* Header — 114:168 */
.fs-rd-titlerow {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.fs-rd-tpl {
  display: inline-flex;
  padding: 2px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-rd-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

.fs-rd-meta__key {
  color: var(--fs-text);
}

.fs-rd-meta__val {
  color: var(--fs-ink);
}

.fs-rd-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-rd-actions .fs-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  cursor: pointer;
  font-family: var(--fs-font);
}

.fs-rd-actions .fs-btn-outline[aria-expanded="true"] .fs-rt-select__arrow {
  transform: rotate(180deg);
}

.fs-btn-primary--ring {
  padding: 9px 18px;
  border: 4px solid var(--fs-primary-300);
}

/* Edit router 114:451 (V8) */

/* Layout */
.fs-rd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.fs-rd-groups {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* Group card — 114:455 */
.fs-rd-group {
  box-sizing: border-box;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
}

.fs-rd-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-rd-group__titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.3;
}

.fs-rd-group__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-rd-group__sub {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-rd-link {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-700);
  text-decoration: none;
  white-space: nowrap;
}

.fs-rd-group__body {
  display: flex;
  flex-direction: column;
  padding: 6px 24px 10px;
}

/* Rows — label 170 | value, pairs gap 32 */
.fs-rd-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.fs-rd-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--fs-line-soft);
}

.fs-rd-group__body> :last-child .fs-rd-row,
.fs-rd-group__body>.fs-rd-row:last-child {
  border-bottom: 0;
}

.fs-rd-row__label {
  width: 170px;
  flex: 0 0 170px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-rd-row__value {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fs-rd-val {
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-rd-val.fs-mono {
  font-size: 13px;
}

.fs-rd-val.is-empty {
  color: var(--fs-grey-500);
}

.fs-rd-acts {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 0 0 auto;
}

.fs-rd-act {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--fs-font);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-primary-700);
  cursor: pointer;
}

.fs-rd-act:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* Stage chips (read-only) — 114:575 */
.fs-rd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 0;
  min-width: 0;
}

.fs-rd-chip {
  display: inline-flex;
  padding: 3px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-grey-500);
  white-space: nowrap;
}

.fs-rd-chip.is-on {
  background: var(--fs-primary-50);
  border-color: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

/* Side column — 114:656 */
.fs-rd-side {
  position: sticky;
  top: 74px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fs-rd-card {
  box-sizing: border-box;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
}

.fs-rd-api {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-rd-api__label {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
}

.fs-rd-api__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-rd-api__status::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--fs-grey-500);
}

.fs-rd-api__status.is-ok::before {
  background: var(--fs-primary-700);
}

.fs-rd-api__host {
  margin: 0;
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-rd-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--fs-line);
  line-height: 1.3;
  white-space: nowrap;
}

.fs-rd-stat:last-child {
  border-bottom: 0;
}

.fs-rd-stat__key {
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-rd-stat__val {
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-ink);
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-rd-stat__val.fs-mono {
  font-size: 12px;
}

.fs-rd-stat__val.is-empty {
  color: var(--fs-grey-500);
}

/* Child routers — 114:679 */
.fs-rd-cardhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-rd-cardhead__title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-rd-cardhead__sub {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-rd-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-rd-child:last-child {
  border-bottom: 0;
}

.fs-rd-child__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.3;
}

.fs-rd-child__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-rd-child__ip {
  font-family: var(--fs-mono);
  font-size: 11px;
  color: var(--fs-text);
}

.fs-rd-child.is-off .fs-rd-child__name {
  color: var(--fs-text);
}

.fs-rd-card .fs-empty {
  padding: 16px 20px;
}

/* Quick links — 114:706 */
.fs-rd-links {
  display: flex;
  flex-direction: column;
  padding: 8px;
}

.fs-rd-qlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  text-decoration: none;
}

.fs-rd-qlink:hover,
.fs-rd-qlink:focus-visible {
  background: var(--fs-canvas);
  outline: none;
}

/* ⛔ PENDING: hover not designed */
.fs-rd-qlink span {
  color: var(--fs-grey-500);
}

/* ⛔ PENDING V24 */
@media (max-width: 1023.98px) {
  .fs-rd-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-rd-side {
    position: static;
  }

  .fs-rd-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .fs-pagehead {
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .fs-rd-row__label {
    width: 140px;
    flex-basis: 140px;
  }
}

/* =====================================================================
   17 — Members · Member list (Figma 73:2)
   ===================================================================== */
.fs-members {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 12px;
  font-family: var(--fs-font);
  color: var(--fs-ink);
}

.fs-members p,
.fs-members h1,
.fs-members h2 {
  margin: 0;
}

.fs-member-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.fs-member-head__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fs-member-head__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--fs-ink);
}

.fs-member-head__sub {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-member-flash .alert {
  margin: 0;
}

.fs-member-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.fs-member-kpi {
  min-height: 123px;
  gap: 8px;
  padding: 20px 24px;
  border-radius: 16px;
}

.fs-member-kpi__label {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.24px;
  color: var(--fs-text);
  text-transform: uppercase;
}

.fs-member-kpi__value {
  font-family: var(--fs-mono);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--fs-ink);
}

.fs-member-kpi__note {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-quota {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fs-quota__bar {
  width: 110px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--fs-line);
  flex: 0 0 110px;
}

.fs-quota__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--fs-primary-700);
}

.fs-member-quota-text {
  color: var(--fs-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.fs-members-tablecard {
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
}

.fs-member-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fs-member-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fs-filter-chip {
  box-sizing: border-box;
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 6px 5px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  color: var(--fs-ink);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.fs-filter-chip__label {
  display: inline-flex;
  align-items: center;
}

.fs-filter-chip__sep {
  width: 1px;
  height: 12px;
  border-radius: 999px;
  background: #E2E4E4;
}

.fs-filter-chip__count {
  min-width: 24px;
  height: 24px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 1px solid #E2E4E4;
  border-radius: 999px;
  background: #F2F4F4;
  color: #555555;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.fs-filter-chip:not(.is-active):hover {
  background: var(--fs-canvas);
  border-color: var(--fs-grey-500);
}

.fs-filter-chip.is-active {
  border-color: var(--fs-primary-300);
  background: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

.fs-filter-chip.is-active .fs-filter-chip__sep {
  background: rgba(15, 92, 92, 0.22);
}

.fs-filter-chip.is-active .fs-filter-chip__count {
  border-color: #D3EBEC;
  background: #E6F5F5;
  color: #555555;
}

.fs-filter-chip:focus-visible,
.fs-mini-btn:focus-visible,
.fs-page-pill:focus-visible,
.fs-btn-primary:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

.fs-member-search {
  box-sizing: border-box;
  width: 280px;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  color: var(--fs-text);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fs-member-search:focus-within {
  border-color: var(--fs-primary-500);
  background: var(--fs-white);
}

.fs-member-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fs-ink);
  font: inherit;
  font-size: 12px;
}

.fs-member-search input::placeholder {
  color: var(--fs-grey-500);
}

.fs-member-tablewrap {
  overflow-x: auto;
}

.fs-member-table {
  min-width: 1180px;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.fs-member-table th {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--fs-line);
  color: var(--fs-text);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  text-transform: uppercase;
}

.fs-member-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--fs-line);
  color: var(--fs-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  vertical-align: middle;
}

.fs-member-table tbody tr:last-child td {
  border-bottom: 0;
}

.fs-member-table .col-num {
  width: 36px;
}

.fs-member-table .col-email {
  width: 230px;
}

.fs-member-table .col-quota {
  width: 210px;
}

.fs-member-table .col-access {
  width: 140px;
}

.fs-member-table .col-token {
  width: 190px;
}

.fs-member-table .col-actions {
  width: 150px;
  text-align: right;
}

.fs-member-id {
  color: var(--fs-text);
}

.fs-member-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fs-member-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fs-primary-300);
  border-radius: 999px;
  background: var(--fs-primary-50, #EAF8F9);
  color: var(--fs-primary-900);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.fs-member-avatar.is-muted {
  border-color: var(--fs-line);
  background: var(--fs-canvas);
}

.fs-member-name {
  min-width: 0;
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.fs-member-name__main {
  color: var(--fs-ink);
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-member-name__sub {
  color: var(--fs-text);
  font-size: 12px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-pill--dark {
  background: var(--fs-ink);
  color: var(--fs-white);
}

.fs-pill--access {
  background: var(--fs-primary-300);
  border: 1px solid var(--fs-primary-300);
  color: var(--fs-primary-900);
  font-weight: 400;
}

.fs-pill--token-empty {
  background: var(--fs-canvas);
  color: var(--fs-text);
  font-weight: 400;
}

.fs-token {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fs-ink);
  font-size: 12px;
  white-space: nowrap;
}

.fs-token__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--fs-primary-700);
  flex: 0 0 6px;
}

.fs-empty-dash {
  color: var(--fs-grey-500);
}

.fs-row-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.fs-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  color: var(--fs-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.fs-mini-btn--plain {
  border-color: transparent;
  color: var(--fs-text);
  padding-inline: 9px;
}

.fs-member-empty {
  padding: 28px 0 !important;
  color: var(--fs-text);
  text-align: center;
}

.fs-member-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
  color: var(--fs-text);
  font-size: 13px;
  line-height: 1.3;
}

.fs-pages {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fs-page-pill {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  color: var(--fs-ink);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.fs-page-pill.is-active {
  border-color: var(--fs-ink);
  background: var(--fs-ink);
  color: var(--fs-white);
}

.fs-page-pill.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

@media (max-width: 1279.98px) {
  .fs-member-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .fs-members {
    padding: 0;
  }

  .fs-member-head,
  .fs-member-toolbar,
  .fs-member-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .fs-member-kpis {
    grid-template-columns: 1fr;
  }

  .fs-member-search {
    width: 100%;
  }
}

/* =====================================================================
   18 — Members · Member editor/detail (Figma 73:2 / 77)
   ===================================================================== */
.fs-member-editor {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 12px;
  font-family: var(--fs-font);
  color: var(--fs-ink);
}

.fs-member-editor p,
.fs-member-editor h1,
.fs-member-editor h2 {
  margin: 0;
}

.fs-me-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.fs-me-head__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fs-me-head__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--fs-ink);
}

.fs-me-head__sub {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-me-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.fs-me-btn {
  box-sizing: border-box;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  color: var(--fs-ink);
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.fs-me-btn--primary {
  border-color: var(--fs-primary-700);
  background: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-me-btn:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

.fs-me-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: start;
}

.fs-me-formcard {
  padding: 24px;
  border-radius: 16px;
  gap: 0;
}

.fs-me-cardhead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-me-cardhead h2,
.fs-me-sidehead h2,
.fs-me-profile h2 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-me-cardhead p {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-me-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  padding-top: 20px;
}

.fs-me-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.fs-me-field--full {
  grid-column: 1 / -1;
}

.fs-me-field>span {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.24px;
  color: var(--fs-text);
  text-transform: uppercase;
}

.fs-me-field b {
  color: var(--fs-primary-700);
}

.fs-me-field small,
.fs-me-password small,
.fs-me-token-note {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-me-field input[type="text"],
.fs-me-field input[type="email"],
.fs-me-field input[type="number"],
.fs-me-field input[type="password"] {
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--fs-line);
  border-radius: 10px;
  background: var(--fs-white);
  color: var(--fs-ink);
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  outline: none;
}

.fs-me-field input:focus {
  border-color: var(--fs-primary-500);
  box-shadow: 0 0 0 3px rgba(75, 189, 190, 0.15);
}

.fs-me-field input[readonly] {
  background: var(--fs-canvas);
  font-family: var(--fs-mono);
  font-size: 13px;
}

.fs-me-check {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--fs-line);
  border-radius: 10px;
  background: var(--fs-white);
  color: var(--fs-ink);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.fs-me-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--fs-primary-700);
}

.fs-me-password {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  background: var(--fs-canvas);
}

.fs-me-password div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.fs-me-password strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-me-password a {
  color: var(--fs-primary-700);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.fs-me-token-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-me-token-input input {
  flex: 1 1 auto;
  min-width: 0;
}

.fs-me-token-input button,
.fs-me-token-preview button {
  border: 0;
  background: transparent;
  color: var(--fs-primary-700);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.fs-me-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--fs-line);
}

.fs-me-side {
  position: sticky;
  top: 74px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.fs-me-side .fs-card {
  border-radius: 16px;
  padding: 24px;
  gap: 0;
}

.fs-me-profile__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-member-avatar--large {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
  font-size: 16px;
}

.fs-me-profile__identity div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fs-me-profile__identity p {
  font-size: 13px;
  color: var(--fs-text);
}

.fs-me-details {
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
}

.fs-me-details div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  border-bottom: 1px solid var(--fs-line-soft);
}

.fs-me-details div:last-child {
  border-bottom: 0;
}

.fs-me-details dt {
  color: var(--fs-text);
  font-size: 13px;
  font-weight: 400;
}

.fs-me-details dd {
  margin: 0;
  color: var(--fs-ink);
  font-size: 13px;
  font-weight: 400;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-me-sidehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fs-me-sidehead>span:not(.fs-pill) {
  font-size: 13px;
  color: var(--fs-primary-700);
}

.fs-me-quota {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 14px !important;
}

.fs-me-quota strong {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--fs-ink);
}

.fs-me-quota span {
  font-size: 16px;
  color: var(--fs-text);
}

.fs-me-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18px, 1fr));
  gap: 4px;
  margin-top: 16px;
}

.fs-me-slots span {
  height: 8px;
  border-radius: 999px;
  background: var(--fs-line);
}

.fs-me-slots span.is-used {
  background: var(--fs-primary-700);
}

.fs-me-token-preview {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid var(--fs-line);
  border-radius: 10px;
  background: var(--fs-canvas);
}

.fs-me-token-preview code {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--fs-ink);
  font-family: var(--fs-mono);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-me-token-note {
  margin-top: 14px !important;
}

@media (max-width: 1279.98px) {
  .fs-me-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-me-side {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023.98px) {
  .fs-me-side {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .fs-member-editor {
    padding: 0;
  }

  .fs-me-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .fs-me-actions,
  .fs-me-actions .fs-me-btn {
    width: 100%;
  }

  .fs-me-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-me-formcard,
  .fs-me-side .fs-card {
    padding: 18px;
  }

  .fs-me-cardhead,
  .fs-me-password,
  .fs-me-footer,
  .fs-me-token-input {
    align-items: stretch;
    flex-direction: column;
  }

  .fs-me-footer .fs-me-btn,
  .fs-me-token-input button {
    width: 100%;
  }
}

/* =====================================================================
   18 — Members · View member (Figma 73:790)
   ===================================================================== */
.fs-mv {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 12px;
  font-family: var(--fs-font);
  color: var(--fs-ink);
}

.fs-mv p,
.fs-mv h1,
.fs-mv h2 {
  margin: 0;
}

.fs-mv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: start;
}

.fs-mv-main,
.fs-mv-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.fs-mv-card {
  gap: 14px;
  padding: 24px;
  border-radius: 16px;
}

.fs-mv-cardhead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.fs-mv-cardhead__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fs-mv-cardhead h2 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-mv-cardhead p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-mv-link {
  color: var(--fs-primary-700);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.fs-mv-tablewrap {
  overflow-x: auto;
}

.fs-mv-table {
  min-width: 820px;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.fs-mv-table th {
  padding: 0 12px 10px 0;
  border-bottom: 1px solid var(--fs-line);
  color: var(--fs-text);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-align: left;
  text-transform: uppercase;
}

.fs-mv-table td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--fs-line);
  color: var(--fs-ink);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-mv-table tbody tr:last-child td {
  border-bottom: 0;
}

.fs-mv-table .is-right {
  text-align: right;
  padding-right: 0;
}

.fs-mv-muted {
  color: var(--fs-text);
}

.fs-mv-sub {
  display: block;
  color: var(--fs-text);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-mv-empty {
  padding: 20px 0 !important;
  color: var(--fs-text) !important;
  font-size: 13px !important;
  text-align: center;
}

.fs-mv-profile {
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
}

.fs-mv-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.fs-mv-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--fs-primary-300);
  color: var(--fs-primary-900);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
}

.fs-mv-identity h2 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-mv-identity p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-mv-details {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.fs-mv-details div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--fs-line);
  font-size: 13px;
  line-height: 1.3;
}

.fs-mv-details div:last-child {
  border-bottom: 0;
}

.fs-mv-details dt {
  color: var(--fs-text);
  font-weight: 400;
}

.fs-mv-details dd {
  margin: 0;
  color: var(--fs-ink);
  font-weight: 400;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-mv-password {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fs-mv-quota {
  gap: 12px;
  padding: 24px;
  border-radius: 16px;
}

.fs-mv-sidehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fs-mv-sidehead h2 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-mv-quota__usage {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.fs-mv-quota__usage strong {
  color: var(--fs-ink);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.2px;
}

.fs-mv-quota__usage span {
  color: var(--fs-text);
  font-size: 16px;
  line-height: 1.3;
}

.fs-mv-slots {
  display: flex;
  gap: 4px;
  width: 100%;
}

.fs-mv-slots span {
  flex: 1 1 0;
  min-width: 0;
  height: 8px;
  border-radius: 3px;
  background: var(--fs-line);
}

.fs-mv-slots span.is-used {
  background: var(--fs-primary-700);
}

.fs-mv-note {
  color: var(--fs-text);
  font-size: 13px;
  line-height: 1.3;
}

.fs-mv-token {
  gap: 12px;
  padding: 24px;
  border-radius: 16px;
}

.fs-mv-tokenbox {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-canvas);
}

.fs-mv-tokenbox code {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--fs-ink);
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
}

.fs-mv-tokenbox button,
.fs-mv-tokenbox a {
  padding: 0;
  border: 0;
  background: none;
  color: var(--fs-primary-700);
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.fs-mv-tokenbox button:disabled {
  color: var(--fs-grey-500);
  cursor: not-allowed;
}

.fs-mv-tokenbtn {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  color: var(--fs-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

@media (max-width: 1099.98px) {
  .fs-mv-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .fs-mv {
    padding: 0;
  }

  .fs-mv .fs-pagehead {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =====================================================================
   19 — Visitor log · Table-first (Figma 21:3 · content 22:2)
   Replaces the previous section 19 entirely.
   Requires 06 §5.1 (.fs-report, .fs-btn-outline), 09 (.fs-drp), 11 §5.1 (.fs-rt-menu, .fs-rt-flash)
   ===================================================================== */
.fs-vl .fs-pagehead__controls {
  gap: 10px;
}

/* 22:16 */
.fs-vl .fs-pagehead__controls .fs-btn-outline {
  padding: 9px 16px;
}

/* 22:10 · 22:12 — 38 h */

/* Card — 22:17 (no padding, r 16). Overflow stays visible so the date popover is not clipped. */
.fs-vl-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
}

/* Filter bar — 22:18 (p 16/12) */
.fs-vl-filterbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-vl-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* Search — 22:21 (280 × 35) */
.fs-vl-search {
  box-sizing: border-box;
  flex: 0 0 280px;
  width: 280px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
}

.fs-vl-search::placeholder {
  color: var(--fs-text);
  opacity: 1;
}

/* Filter chip — idle 22:26 · active 22:23 (33 h, p 7/14, gap 6) */
.fs-vl-chipwrap {
  position: relative;
  display: inline-flex;
}

.fs-vl-chip {
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
}

.fs-vl-chip__text {
  font-size: 13px;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-vl-chip .fs-rt-select__arrow,
.fs-vl-viewopt .fs-rt-select__arrow,
.fs-vl-perpage .fs-rt-select__arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 6px;
  transition: transform 0.15s ease;
}

.fs-vl-chip.is-active {
  background: var(--fs-primary-300);
  border-color: var(--fs-primary-300);
}

.fs-vl-chip.is-active .fs-vl-chip__text {
  color: var(--fs-primary-900);
}

.fs-vl-chip.is-active .fs-rt-select__arrow path {
  stroke: rgba(15, 92, 92, 0.9);
}

.fs-vl-chip[aria-expanded="true"] .fs-rt-select__arrow,
.fs-vl-chip:focus-within .fs-rt-select__arrow,
.fs-vl-viewopt[aria-expanded="true"] .fs-rt-select__arrow,
.fs-vl-viewopt:focus-within .fs-rt-select__arrow,
.fs-vl-perpage:focus-within .fs-rt-select__arrow {
  transform: rotate(180deg);
}

/* Custom chip dropdown popover menu (Image 2 design with inline search) */
.fs-vl-chipmenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 210px;
  max-width: 280px;
  padding: 8px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.fs-vl-chipmenu__searchwrap {
  padding-bottom: 6px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-vl-chipmenu__search {
  box-sizing: border-box;
  width: 100%;
  height: 32px;
  padding: 6px 10px;
  margin: 0;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-canvas);
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-ink);
  outline: none;
}

.fs-vl-chipmenu__search:focus {
  border-color: var(--fs-primary-500);
  background: var(--fs-white);
}

.fs-vl-chipmenu__list {
  display: block;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 2px;
}

.fs-vl-chipmenu__list::-webkit-scrollbar {
  width: 4px;
}

.fs-vl-chipmenu__list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.fs-vl-chipmenu__item {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 32px;
  padding: 7px 10px;
  margin: 0 0 2px 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--fs-ink);
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 0 auto;
}

.fs-vl-chipmenu__item:hover,
.fs-vl-chipmenu__item.is-selected {
  background: var(--fs-canvas);
  font-weight: 500;
  color: var(--fs-ink);
}

/* Custom row & header checkbox */
.fs-vl-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid var(--fs-line);
  border-radius: 4px;
  background: var(--fs-white);
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  display: inline-block;
  flex: 0 0 16px;
  outline: none;
}

.fs-vl-checkbox:checked {
  background-color: var(--fs-primary-700);
  border-color: var(--fs-primary-700);
}

.fs-vl-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Invisible native select laid over view option / per-page (V6, V8, V13) */
.fs-vl-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  font-size: 13px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* Date chip anchors the shared picker (V4 ⛔ PENDING) */
.fs-vl-datewrap {
  position: relative;
  display: inline-flex;
}

.fs-vl-datewrap .fs-drp {
  left: 0;
  right: auto;
}

/* Reset button — styled as secondary pill button (Figma media_1790397057235) */
.fs-vl-reset {
  box-sizing: border-box;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.fs-vl-reset:hover {
  background: var(--fs-canvas);
  border-color: var(--fs-grey-500);
}

.fs-vl-reset:focus-visible {
  border-color: var(--fs-primary-500);
  outline: none;
}

/* Result summary — 22:38 (canvas, p 10/12) */
.fs-vl-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  background: var(--fs-canvas);
  border-bottom: 1px solid var(--fs-line);
}

.fs-vl-summary__count {
  display: flex;
  gap: 4px;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-vl-summary__count strong {
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-vl-summary__label {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* View options — 22:47 (gap 8, divider 1 × 14) */
.fs-vl-viewopts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.fs-vl-viewopt {
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fs-vl-viewopt:hover {
  background: var(--fs-canvas);
  border-color: var(--fs-grey-500);
}

.fs-vl-viewopt[aria-expanded="true"] {
  border-color: var(--fs-primary-500);
  background: var(--fs-primary-25);
  color: var(--fs-primary-900);
}

.fs-vl-viewopts__divider {
  width: 1px;
  height: 14px;
  background: var(--fs-line);
}

.fs-vl-menuwrap {
  position: relative;
  display: inline-flex;
}

/* Columns Popover Menu (Figma media_1790396596049) */
.fs-vl-colmenu {
  position: absolute;
  z-index: 110;
  top: calc(100% + 6px);
  right: 0;
  width: 210px;
  padding: 6px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.12), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
  flex-direction: column;
  text-align: left;
}

.fs-vl-colmenu[hidden] {
  display: none !important;
}

.fs-vl-colmenu__head {
  padding: 8px 10px 6px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--fs-text);
  user-select: none;
}

.fs-vl-colmenu__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fs-vl-colitem {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.15s ease;
  user-select: none;
}

.fs-vl-colitem:hover,
.fs-vl-colitem:has(input:checked) {
  background: var(--fs-canvas);
}

.fs-vl-colitem__label {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-vl-colitem:has(input:checked) .fs-vl-colitem__label {
  font-weight: 500;
}

/* Custom Checkbox on Right */
.fs-vl-colmenu .fs-vl-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid var(--fs-grey-500);
  border-radius: 4px;
  background: var(--fs-white);
  cursor: pointer;
  position: relative;
  display: inline-block;
  flex: 0 0 16px;
  outline: none;
  transition: all 0.15s ease;
}

.fs-vl-colmenu .fs-vl-checkbox:checked {
  background-color: var(--fs-primary-700);
  border-color: var(--fs-primary-700);
}

.fs-vl-colmenu .fs-vl-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Density Popover Menu (Figma media_1790396596049) */
.fs-vl-densitymenu {
  position: absolute;
  z-index: 110;
  top: calc(100% + 6px);
  right: 0;
  width: 160px;
  padding: 6px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 14px;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.12), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
  flex-direction: column;
  text-align: left;
}

.fs-vl-densitymenu[hidden] {
  display: none !important;
}

.fs-vl-densityitem {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  margin: 0 0 2px 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.fs-vl-densityitem:hover,
.fs-vl-densityitem.is-selected {
  background: var(--fs-canvas);
  font-weight: 500;
}

/* Table — 22:48 (px 12) · header 22:49 · row 22:91 */
.fs-vl-tablewrap {
  position: relative;
  padding: 0 12px;
  overflow-x: auto;
}

.fs-vl-table {
  width: 100% !important;
  min-width: 1245px;
  margin: 0 !important;
  border-collapse: collapse;
  border: 0 !important;
  table-layout: fixed;
  font-family: var(--fs-font);
}

.fs-vl-table th,
.fs-vl-table td {
  box-sizing: border-box;
  padding: 0 8px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left;
  vertical-align: middle;
}

.fs-vl-table th:last-child,
.fs-vl-table td:last-child {
  padding-right: 12px !important;
}

.fs-vl-table thead th {
  padding-top: 12px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid var(--fs-line) !important;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-vl-table tbody td {
  padding-top: 9px !important;
  padding-bottom: 9px !important;
  border-bottom: 1px solid var(--fs-line) !important;
}

.fs-vl-table.is-compact tbody td {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  padding-right: 6px !important;
}

/* Cell text */
.fs-vl-cell {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-vl-cell--strong {
  font-weight: 500;
}

.fs-vl-cell--muted {
  color: var(--fs-text);
}

.fs-vl-cell--sm {
  font-size: 12px;
}

.fs-vl-cell.is-empty {
  color: var(--fs-text);
}

/* Type pill — 22:86 */
.fs-vl-type {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 1px 8px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Visits pill — returning 22:77 · single 22:143 */
.fs-vl-visits {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--fs-canvas);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-vl-visits.is-returning {
  background: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

/* Actions — 22:81 (gap 4) */
.fs-vl-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.fs-vl-view {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  text-decoration: none;
  white-space: nowrap;
}

.fs-vl-del {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  color: var(--fs-text);
  text-decoration: none;
}

/* States (V17 ⛔ PENDING) */
.fs-vl-table td.dataTables_empty,
.fs-vl-empty {
  padding: 28px 0 !important;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  color: var(--fs-text);
}

.fs-vl-card div.dataTables_processing {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 6px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

/* Pagination — 22:472 (p 14/20) */
.fs-vl-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.fs-vl-foot__info {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.fs-vl-perpage-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 1050;
}

.fs-vl-perpage__label {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  margin-right: 2px;
}

.fs-vl-perpage {
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 4px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fs-vl-perpage:hover,
.fs-vl-perpage[aria-expanded="true"],
.fs-vl-perpage.is-open {
  border-color: var(--fs-primary-500);
}

.fs-vl-perpage[aria-expanded="true"] .fs-rt-select__arrow,
.fs-vl-perpage.is-open .fs-rt-select__arrow {
  transform: rotate(180deg);
}

.fs-vl-perpagemenu,
.fs-news-rowsmenu,
.fs-vc-rowsmenu,
.fs-ac-rowsmenu {
  position: absolute !important;
  bottom: calc(100% + 6px) !important;
  top: auto !important;
  left: 0 !important;
  right: auto !important;
  width: 88px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  padding: 6px !important;
  background: var(--fs-white) !important;
  border: 1px solid var(--fs-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  z-index: 1055 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.fs-vl-perpagemenu[hidden],
.fs-news-rowsmenu[hidden],
.fs-vc-rowsmenu[hidden],
.fs-ac-rowsmenu[hidden] {
  display: none !important;
}

.fs-vl-perpageitem {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 14px !important;
  margin: 0;
  border: 0;
  border-radius: 10px !important;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--fs-ink) !important;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.fs-vl-perpageitem:hover,
.fs-vl-perpageitem.is-selected {
  background: var(--fs-canvas) !important;
  font-weight: 500 !important;
  color: var(--fs-ink) !important;
}

.fs-vl-perpageitem.is-selected {
  font-weight: 400;
}

.fs-vl-card .dataTables_paginate {
  float: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 !important;
  text-align: left;
}

.fs-vl-card .dataTables_paginate>span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fs-vl-card .dataTables_paginate .paginate_button,
.fs-vl-card .dataTables_paginate .ellipsis {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 4px 10px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink) !important;
  text-decoration: none !important;
  cursor: pointer;
}

.fs-vl-card .dataTables_paginate .paginate_button.previous,
.fs-vl-card .dataTables_paginate .paginate_button.next {
  border: 1px solid var(--fs-line) !important;
}

/* 27 × 26 */
.fs-vl-card .dataTables_paginate .paginate_button.current,
.fs-vl-card .dataTables_paginate .paginate_button.current:hover {
  background: var(--fs-ink) !important;
  color: var(--fs-white) !important;
}

.fs-vl-card .dataTables_paginate .ellipsis {
  cursor: default;
}

.fs-vl-card .dataTables_paginate .paginate_button.disabled {
  opacity: 0.45;
  cursor: default;
}

/* ⛔ PENDING */

/* Hover / focus (V18 ⛔ PENDING — not designed) */
.fs-vl-card .dataTables_paginate .paginate_button:not(.current):not(.disabled):hover,
.fs-vl-view:hover,
.fs-vl-del:hover {
  background: var(--fs-canvas) !important;
  color: var(--fs-ink) !important;
}

.fs-vl-search:focus-visible {
  border-color: var(--fs-primary-500);
}

.fs-vl-chip:focus-within,
.fs-vl-chip:focus-visible,
.fs-vl-viewopt:focus-within,
.fs-vl-viewopt:focus-visible,
.fs-vl-perpage:focus-within,
.fs-vl-reset:focus-visible,
.fs-vl-view:focus-visible,
.fs-vl-del:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Responsive (V21 ⛔ PENDING) */
@media (max-width: 1279.98px) {
  .fs-vl-filterbar {
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .fs-vl .fs-pagehead {
    flex-direction: column;
    align-items: flex-start;
  }

  .fs-vl .fs-pagehead__controls {
    flex-wrap: wrap;
  }

  .fs-vl-search {
    flex-basis: 100%;
    width: 100%;
  }

  .fs-vl-summary,
  .fs-vl-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* =====================================================================
   20–24 — Portal designer shared (Figma 123:3 · 123:474 · 123:941 · 123:1412 · 130:2)
   Requires 02 tokens, 06 §5.1 (.fs-report, .fs-btn-outline), 11 §5.1 (.fs-rt-field, .fs-rt-label,
   .fs-rt-input, .fs-rt-help, .fs-rt-row, .fs-rt-flash, --fs-primary-50/25, --fs-danger)
   ===================================================================== */
.fs-pd .fs-pagehead__meta {
  white-space: normal;
}

/* Title row — 123:435 (gap 10) */
.fs-pd-titlerow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.fs-pd-titlerow .fs-pagehead__title {
  margin: 0;
}

.fs-pd-tenant {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--fs-primary-50);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-900);
  white-space: nowrap;
}

/* 123:436 */
.fs-pd-template {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

/* 123:438 */

/* Save state — dirty 123:440 · clean 123:911 (gap 10) */
.fs-pd-save {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.fs-pd-save__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-pd-save__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--fs-ink);
}

/* SVG in Figma — verify colour in Dev Mode */
.fs-pd-save .fs-btn-outline {
  padding: 9px 16px;
  font-family: var(--fs-font);
  cursor: pointer;
}

/* Discard 123:444 — 38 h */
.fs-pd-save .fs-btn-primary {
  border: 0;
  font-family: var(--fs-font);
  cursor: pointer;
}

/* Save 123:446 — 36 h */
.fs-pd-save .fs-btn-primary:disabled {
  padding: 11px 20px;
  background: var(--fs-line);
  color: var(--fs-text);
  opacity: 1;
  cursor: default;
}

/* 123:913 — 40 h */
.fs-pd-save .fs-btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--fs-primary-300);
}

/* 130:327 ring — ⛔ PENDING P6 */
.fs-pd-save .fs-btn-outline:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

.fs-pd-save.is-clean [data-pd-dirty-only] {
  display: none;
}

.fs-pd-save:not(.is-clean) [data-pd-clean-only] {
  display: none;
}

/* Tabs — 123:448 (gap 4, border-bottom; active 2 px Primary-700) */
.fs-pd-tabs {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  border-bottom: 1px solid var(--fs-line);
  overflow-x: auto;
}

.fs-pd-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  text-decoration: none;
  white-space: nowrap;
}

.fs-pd-tab small {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-pd-tab.is-active {
  border-bottom-color: var(--fs-primary-700);
  font-weight: 500;
  color: var(--fs-primary-700);
}

.fs-pd-tab:hover {
  color: var(--fs-primary-700);
}

/* ⛔ PENDING — hover not designed */
.fs-pd-tab:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: -2px;
}

/* Editor + preview — 123:461 (843 | 24 | 560) */
.fs-pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 24px;
  align-items: start;
}

.fs-pd-editor {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.fs-pd-aside {
  position: sticky;
  top: 74px;
  min-width: 0;
}

/* 54 title bar + 20 */

/* Section card — 124:2 (r 16; head p 16/22; body p 18/22/22, gap 18) */
.fs-pd-sec {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
}

.fs-pd-sec.is-open-sec,
.fs-pd-sec:has(.fs-pd-color.is-open) {
  overflow: visible !important;
  z-index: 100 !important;
}

.fs-pd-sec__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--fs-line);
  line-height: 1.3;
}

.fs-pd-sec__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-pd-sec__sub {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-pd-sec__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 22px 22px;
}

.fs-pd-sec__body--tight {
  gap: 12px;
}

.fs-pd-labelrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fs-pd-count {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

/* 124:44 */
.fs-pd-count.is-over {
  color: var(--fs-danger);
}

/* ⛔ PENDING */
.fs-pd textarea.fs-rt-input {
  height: 84px;
  resize: vertical;
}

/* 124:52 */

/* Upload card — 124:10 (p 10, gap 10, r 12) */
.fs-pd-upload {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  min-width: 0;
}

.fs-pd-upload[hidden],
.fs-pd-drop[hidden] {
  display: none;
}

.fs-pd-upload__thumb {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 64px;
  flex: 0 0 52px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-primary-50);
  overflow: hidden;
}

.fs-pd-upload__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fs-pd-upload__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.fs-pd-upload__name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-pd-upload__meta {
  min-height: 16px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-pd-upload__actions {
  display: flex;
  gap: 6px;
}

.fs-pd-mini {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

/* 124:16 */
.fs-pd-mini--muted {
  color: var(--fs-text);
}

/* Remove 124:18 */
.fs-pd-mini[hidden] {
  display: none;
}

.fs-pd-file {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.fs-pd-mini:focus-within,
.fs-pd-mini:focus-visible,
.fs-pd-drop:focus-within {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* Dropzone — 126:129 (86 h, canvas, 1.5 dashed Grey-500, r 12) */
.fs-pd-drop {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 86px;
  margin: 0;
  border: 1.5px dashed var(--fs-grey-500);
  border-radius: 12px;
  background: var(--fs-canvas);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
  cursor: pointer;
}

.fs-pd-drop b {
  font-weight: 500;
  color: var(--fs-primary-700);
}

.fs-pd-drop.is-over {
  border-color: var(--fs-primary-500);
  background: var(--fs-primary-25);
}

/* ⛔ PENDING */

/* Colour input — 124:63 (p 5/12/5/5, gap 10, r 8; swatch 30, r 6) */
.fs-pd-color {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
}

.fs-pd-color.is-open {
  z-index: 1000 !important;
}

.fs-pd-color:focus-within {
  border-color: var(--fs-primary-500);
}

.fs-pd-color.is-invalid {
  border-color: var(--fs-danger);
}

/* ⛔ PENDING */
.fs-pd-color__swatch {
  position: relative;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid var(--fs-line);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}

.fs-pd-color__picker {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.fs-pd-color__value {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-pd-color__caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  cursor: pointer;
}

.fs-pd-contrast.is-fail {
  color: var(--fs-danger);
}

/* ⛔ PENDING */

/* Custom Color Picker Popover — Figma 139:19 */
.fs-pd-colorpop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 1050;
  box-sizing: border-box;
  width: 250px;
  padding: 10px;
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.15), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  user-select: none;
}

.fs-pd-colorpop[hidden] {
  display: none !important;
}

/* 2D Canvas Area */
.fs-pd-colorpop__sat {
  position: relative;
  width: 100%;
  height: 130px;
  border-radius: 8px;
  overflow: hidden;
  cursor: crosshair;
}

.fs-pd-colorpop__satbg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fs-pd-colorpop__handle {
  position: absolute;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  box-sizing: border-box;
}

/* Control Row (Eyedropper, Circle, Hue Slider) */
.fs-pd-colorpop__bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-pd-colorpop__pipette {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 0;
  border: 1px solid var(--fs-line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--fs-ink);
  cursor: pointer;
  transition: background 0.15s ease;
}

.fs-pd-colorpop__pipette:hover {
  background: var(--fs-canvas);
}

.fs-pd-colorpop__circle {
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid var(--fs-line);
  border-radius: 50%;
}

.fs-pd-colorpop__hueslider {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.fs-pd-colorpop__hue {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(to right, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
  margin: 0;
  cursor: pointer;
}

.fs-pd-colorpop__hue::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: var(--hue-color, #ff0000);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.fs-pd-colorpop__hue::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: var(--hue-color, #ff0000);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

/* Modes Switcher Bar (RGB | HSL | HEX) */
.fs-pd-colorpop__modes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-canvas);
}

.fs-pd-colorpop__modebtn {
  flex: 1;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 11px;
  font-weight: 500;
  color: var(--fs-text);
  cursor: pointer;
  transition: all 0.15s ease;
}

.fs-pd-colorpop__modebtn.is-active {
  background: #ffffff;
  color: var(--fs-ink);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Inputs Area */
.fs-pd-colorpop__inputs {
  display: flex;
  flex-direction: column;
}

.fs-pd-colorpop__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.fs-pd-colorpop__row[hidden] {
  display: none !important;
}

.fs-pd-colorpop__inlinefield {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 6px;
  border: 1px solid var(--fs-line);
  border-radius: 6px;
  background: #ffffff;
  transition: border-color 0.15s ease;
}

.fs-pd-colorpop__inlinefield:focus-within {
  border-color: var(--fs-primary-500);
}

.fs-pd-colorpop__inlinefield--full {
  grid-column: 1 / -1;
  justify-content: space-between;
  padding: 0 10px;
}

.fs-pd-colorpop__inlinelabel {
  font-size: 11px;
  font-weight: 600;
  color: var(--fs-text);
  user-select: none;
  flex: 0 0 auto;
}

.fs-pd-colorpop__inlinefield input {
  border: 0;
  outline: none;
  background: transparent;
  width: 100%;
  height: 100%;
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 500;
  color: var(--fs-ink);
  text-align: center;
  padding: 0;
}

.fs-pd-colorpop__inlinefield input::-webkit-inner-spin-button,
.fs-pd-colorpop__inlinefield input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Toggle card — 124:99 (p 12/14, r 12, Primary-25 + Primary-300 border) */
.fs-pd-togglecard {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--fs-primary-300);
  border-radius: 12px;
  background: var(--fs-primary-25);
  cursor: pointer;
}

.fs-pd-togglecard__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.3;
}

.fs-pd-togglecard__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-pd-togglecard__sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-primary-900);
}

.fs-pd-togglecard:has(input:not(:checked)) {
  border-color: var(--fs-line);
  background: var(--fs-white);
}

/* ⛔ PENDING — off not designed */
.fs-pd-togglecard:has(input:not(:checked)) .fs-pd-togglecard__sub {
  color: var(--fs-text);
}

/* Switch — 124:103 (40 × 22, knob 18). SVG in Figma — colours per screenshot, verify in Dev Mode */
.fs-pd-switch {
  position: relative;
  display: inline-flex;
  width: 40px;
  height: 22px;
  flex: 0 0 40px;
}

.fs-pd-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.fs-pd-switch__track {
  box-sizing: border-box;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: var(--fs-line);
  transition: background .15s ease;
  pointer-events: none;
}

.fs-pd-switch__track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fs-white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: left .15s ease;
}

.fs-pd-switch input:checked+.fs-pd-switch__track {
  background: var(--fs-primary-700);
}

.fs-pd-switch input:checked+.fs-pd-switch__track::after {
  left: 20px;
}

.fs-pd-switch input:focus-visible+.fs-pd-switch__track {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* Dark code field — 124:108 / 130:338 (Ink, r 10, p 12/14, Geist Mono 12 / 1.7, gutter 18 + gap 14) */
.fs-pd-code {
  box-sizing: border-box;
  width: 100%;
  min-height: 124px;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--fs-ink);
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.7;
  color: #E3E3E3;
  resize: vertical;
}

/* fallback without CodeMirror */
.fs-pd .CodeMirror.fs-pd-cm {
  height: auto;
  min-height: 124px;
  padding: 12px 14px 12px 0;
  border: 0;
  border-radius: 10px;
  background: var(--fs-ink);
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.7;
  color: #E3E3E3;
}

.fs-pd .CodeMirror.fs-pd-cm--tall {
  min-height: 324px;
}

/* 130:338 */
.fs-pd .fs-pd-cm .CodeMirror-scroll {
  min-height: inherit;
}

.fs-pd .fs-pd-cm .CodeMirror-gutters {
  border: 0;
  background: var(--fs-ink);
}

.fs-pd .fs-pd-cm .CodeMirror-linenumber {
  min-width: 18px;
  padding: 0 14px 0 14px;
  text-align: right;
  color: var(--fs-text);
}

.fs-pd .fs-pd-cm .CodeMirror-cursor {
  border-left-color: #E3E3E3;
}

.fs-pd .fs-pd-cm .CodeMirror-selected,
.fs-pd .fs-pd-cm.CodeMirror-focused .CodeMirror-selected {
  background: rgba(150, 223, 224, 0.2);
}

.fs-pd .fs-pd-cm .cm-comment {
  color: var(--fs-text);
}

.fs-pd .fs-pd-cm .cm-qualifier,
.fs-pd .fs-pd-cm .cm-tag,
.fs-pd .fs-pd-cm .cm-builtin,
.fs-pd .fs-pd-cm .cm-def {
  color: var(--fs-primary-300);
}

.fs-pd .fs-pd-cm .cm-property,
.fs-pd .fs-pd-cm .cm-atom,
.fs-pd .fs-pd-cm .cm-number,
.fs-pd .fs-pd-cm .cm-string,
.fs-pd .fs-pd-cm .cm-keyword,
.fs-pd .fs-pd-cm .cm-variable-2 {
  color: #E3E3E3;
}

/* Info banner · login methods — 126:2 (p 14/18, r 16, Primary-25 + Primary-500 border) */
.fs-pd-info {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--fs-primary-500);
  border-radius: 16px;
  background: var(--fs-primary-25);
}

.fs-pd-info__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fs-pd-info__title {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-900);
}

.fs-pd-info__methods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fs-pd-info__method {
  display: inline-flex;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-900);
  white-space: nowrap;
}

.fs-pd-info__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--fs-primary-500);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-700);
  text-decoration: none;
  white-space: nowrap;
}

/* Live preview card — 123:463 (r 16; head p 12/16; stage canvas p 24) */
.fs-pd-pcard {
  box-sizing: border-box;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
}

.fs-pd-pcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-pd-pcard__titles {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.3;
}

.fs-pd-pcard__title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-pd-pcard__sub {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-pd-devseg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
}

/* 123:468 */
.fs-pd-devseg button {
  padding: 5px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
  cursor: pointer;
}

.fs-pd-devseg button.is-active {
  background: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-pd-devseg button:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 1px;
}

.fs-pd-stage {
  display: flex;
  justify-content: center;
  padding: 24px;
  background: var(--fs-canvas);
}

/* Device frames — desktop 125:2 (512 × 460, r 10) · phone 125:45 (290 × 600, 8 px Ink border, r 36) */
.fs-pd-device {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: var(--fs-white);
  overflow: hidden;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.08);
}

.fs-pd-device--desktop {
  width: 512px;
  max-width: 100%;
  height: 460px;
  border: 1px solid var(--fs-line);
  border-radius: 10px;
}

.fs-pd-device--phone {
  width: 290px;
  height: 600px;
  border: 8px solid var(--fs-ink);
  border-radius: 36px;
}

.fs-pd-bar {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  flex: 0 0 28px;
  padding: 0 10px;
  border-bottom: 1px solid var(--fs-line);
  background: var(--fs-canvas);
}

/* 125:3 */
.fs-pd-device--phone .fs-pd-bar {
  display: none;
}

.fs-pd-bar__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--fs-line);
}

/* SVG in Figma — verify colour */
.fs-pd-bar__url {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 13px;
  padding: 2px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-mono);
  font-size: 10px;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-pd-frame {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border: 0;
  display: block;
}

/* 2e iframe */

/* Portal screen (also used inside the 2e iframe) — 125:9 · 125:27 · 125:46 · 125:64 */
.fp-page {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  background-color: var(--fs-primary-700);
  background-image: linear-gradient(90deg, var(--fs-primary-500), var(--fs-primary-700));
  background-size: cover;
  background-position: center;
  font-family: var(--fs-font);
  overflow: hidden;
}

.fp-page[style*="background-image"] {
  background-color: var(--fs-ink);
}

.fp-page--solid {
  background-image: none;
}

/* 125:46 — no background image */
.fp-page--solid>.fp-overlay--img {
  display: none;
}

/* login pages: overlay only over a photo (P17) */
.fp-overlay {
  position: absolute;
  inset: 0;
  background: var(--pd-overlay, rgba(15, 92, 92, 0.55));
  pointer-events: none;
}

.fp-content {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 26px;
  text-align: center;
  min-height: 0;
}

.fp-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 999px;
  background: var(--fs-white);
  overflow: hidden;
}

.fp-logo img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.fp-logo[hidden],
.fp-logo img[hidden] {
  display: none;
}

.fp-title {
  width: 400px;
  max-width: 100%;
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--pd-title, #FFFFFF);
  overflow-wrap: anywhere;
}

.fp-desc {
  width: 320px;
  max-width: 100%;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #FFFFFF;
  overflow-wrap: anywhere;
}

.fp-cta {
  display: inline-flex;
  padding: 9px 26px;
  border-radius: 999px;
  background: var(--pd-btn, #1A8C8C);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--pd-btn-text, #FFFFFF);
  white-space: nowrap;
}

/* 125:16 */
.fp-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  max-width: 100%;
  height: 54px;
  border: 1px dashed #FFFFFF;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.3;
  color: #FFFFFF;
}

/* 125:18 */
.fp-ad[hidden] {
  display: none;
}

.fp-btns {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 240px;
  max-width: 100%;
}

/* 125:34 */
.fp-btn {
  display: block;
  padding: 8px 0;
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fs-ink);
  text-align: center;
  white-space: nowrap;
}

.fp-btn--primary {
  background: var(--fs-ink);
  color: #FFFFFF;
}

.fp-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 230px;
  max-width: 100%;
}

/* 125:71 */
.fp-input {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 11px;
  line-height: 1.3;
  color: var(--fs-text);
  text-align: left;
  white-space: nowrap;
}

.fp-input[hidden] {
  display: none;
}

.fp-input span+span {
  color: var(--fs-grey-500);
}

.fp-connect {
  padding: 9px 0;
  border-radius: 999px;
  background: var(--fs-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #FFFFFF;
  text-align: center;
}

.fp-footer {
  position: relative;
  flex: 0 0 auto;
  padding: 10px;
  font-size: 11px;
  line-height: 1.3;
  color: #FFFFFF;
  text-align: center;
  text-decoration: underline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 125:43 */
.fp-footer.is-empty {
  visibility: hidden;
}

/* Phone sizes — 125:47 (title 19, text columns 220) */
.fs-pd-device--phone .fp-title {
  width: 220px;
  font-size: 19px;
}

.fs-pd-device--phone .fp-desc,
.fs-pd-device--phone .fp-btns {
  width: 220px;
}

/* Responsive — ⛔ PENDING P12 (not designed) */
@media (max-width: 1279.98px) {
  .fs-pd-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-pd-aside {
    position: static;
  }

  .fs-pd-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .fs-pd .fs-rt-row--2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-pd-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .fs-pd-stage {
    padding: 16px 8px;
  }

  .fs-pd-device--desktop {
    height: 400px;
  }
}

/* =====================================================================
   24 — Portal designer · Custom CSS (Figma 130:2 · 130:329 · 130:396). Requires 20.
   ===================================================================== */
.fs-pd-check {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

/* 130:384 */
.fs-pd-check__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--fs-primary-700);
}

/* SVG in Figma — verify colour */
.fs-pd-check.is-bad {
  color: var(--fs-danger);
}

/* ⛔ PENDING C3 */
.fs-pd-check.is-bad .fs-pd-check__dot {
  background: var(--fs-danger);
}

.fs-pd-hooks {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  overflow: hidden;
}

/* 130:404 */
.fs-pd-hook {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--fs-line);
  line-height: 1.3;
}

.fs-pd-hook:last-child {
  border-bottom: 0;
}

.fs-pd-hook__sel {
  flex: 0 0 200px;
  width: 200px;
  padding: 0;
  border-radius: 0;
  background: none;
  font-family: var(--fs-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-primary-900);
  white-space: nowrap;
}

.fs-pd-hook__desc {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-pd-hook__insert {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--fs-font);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-primary-700);
  cursor: pointer;
}

.fs-pd-hook__insert:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* =====================================================================
   23 — Portal designer · Registration form (Figma 123:1412 · section 126:169). Requires 20.
   ===================================================================== */
.fs-pd-sec__body--tight {
  gap: 6px;
}

/* 126:173 · 130:401 */
.fs-pd-fields {
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  overflow: hidden;
}

/* 126:176 */
.fs-pd-fieldrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--fs-line);
  background: var(--fs-white);
  cursor: pointer;
}

div.fs-pd-fieldrow {
  cursor: default;
}

.fs-pd-fieldrow:last-child {
  border-bottom: 0;
}

.fs-pd-fieldrow__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.3;
}

.fs-pd-fieldrow__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-pd-fieldrow__sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-pd-fieldrow.is-off {
  background: var(--fs-canvas);
}

/* 126:201 */
.fs-pd-fieldrow.is-off .fs-pd-fieldrow__title {
  color: var(--fs-text);
}

.fs-pd-always {
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--fs-primary-300);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-900);
  white-space: nowrap;
}

/* 126:181 */

/* =====================================================================
   25 — Auto report · Schedule + SMTP (Figma 35:1300 · content 37:2)
   Requires 02 tokens, 06 §5.1 (.fs-report, .fs-btn-outline), 11 §5.1 (.fs-btn-outline--sm16)
   ===================================================================== */
.fs-ar-eyebrow {
  font-weight: 500;
  letter-spacing: 0.24px;
}

/* 37:5 */

/* Success banner — 37:12 (white, 1px Primary-500, r 16, p 12/20, gap 12) */
.fs-ar-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid var(--fs-primary-500);
  border-radius: 16px;
  background: var(--fs-white);
}

.fs-ar-banner__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--fs-primary-700);
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

/* SVG with 3 px halo — verify in Dev Mode */
.fs-ar-banner__text {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ar-banner__text strong {
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-ar-banner__close {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
  cursor: pointer;
}

/* Cards row — 37:18 (2 × 703.5, gap 20, top-aligned) */
.fs-ar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.fs-ar-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
}

.fs-ar-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-ar-card__titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.fs-ar-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-ar-card__sub {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-ar-card__code {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

/* 37:20 */
.fs-ar-card__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 24px;
}

.fs-ar-card__body--16 {
  gap: 16px;
}

/* 37:150 */
.fs-ar-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  border-top: 1px solid var(--fs-line);
}

/* Stacked title + sub (37:28) */
.fs-ar-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.fs-ar-stack__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-ar-stack__sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
}

/* Dispatch toggle row — 37:31 (canvas, 1px line, r 12, p 14/16) */
.fs-ar-togglerow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  background: var(--fs-canvas);
  cursor: pointer;
}

/* Switch — 37:29 (44 × 24, knob 20). SVG in Figma — colours per screenshot, verify */
.fs-ar-switch {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
  flex: 0 0 44px;
}

.fs-ar-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.fs-ar-switch__track {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: var(--fs-grey-500);
  transition: background .15s ease;
  pointer-events: none;
}

.fs-ar-switch__track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fs-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: left .15s ease;
}

.fs-ar-switch input:checked+.fs-ar-switch__track {
  background: var(--fs-primary-700);
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

/* ring per Figma overflow — verify */
.fs-ar-switch input:checked+.fs-ar-switch__track::after {
  left: 22px;
}

.fs-ar-switch input:focus-visible+.fs-ar-switch__track {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 4px;
}

/* Fields — 37:33 / 37:151 (label 13/500, gap 6; input p 10/14, r 8) */
.fs-ar-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fs-ar-label {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-ar-label i {
  font-style: normal;
  font-weight: 400;
  color: var(--fs-text);
}

/* " *" 37:153 */
.fs-ar-input {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
}

.fs-ar-input.fs-mono {
  font-family: var(--fs-mono);
}

.fs-ar-input--14 {
  font-size: 14px;
}

/* 37:35 */
.fs-ar-input:focus {
  border-color: var(--fs-primary-500);
}

/* ⛔ PENDING — focus not designed */
.fs-ar-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* 37:170 */

/* Custom Encryption Dropdown (Figma media_1790398352483) */
.fs-ar-selectwrap {
  position: relative;
  display: block;
}

.fs-ar-select__btn {
  box-sizing: border-box;
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.fs-ar-select__btn:focus-visible,
.fs-ar-select__btn[aria-expanded="true"] {
  border-color: var(--fs-primary-500);
}

.fs-ar-select__val {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.fs-ar-select__hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
  flex: 0 0 auto;
}

.fs-ar-select__hint .fs-rt-select__arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 6px;
  transition: transform 0.15s ease;
}

.fs-ar-select__btn[aria-expanded="true"] .fs-rt-select__arrow {
  transform: rotate(180deg);
}

.fs-ar-select__menu {
  position: absolute;
  z-index: 110;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  padding: 6px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.fs-ar-select__menu[hidden] {
  display: none !important;
}

.fs-ar-select__option {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  margin: 0 0 2px 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: var(--fs-mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.fs-ar-select__option:hover,
.fs-ar-select__option.is-selected {
  background: var(--fs-canvas);
  font-weight: 500;
}

/* Password + Show — 37:182 */
.fs-ar-secret {
  position: relative;
  display: block;
}

.fs-ar-secret .fs-ar-input {
  padding-right: 64px;
}

.fs-ar-secret__toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  cursor: pointer;
}

/* Digest blocks — 37:36 / 37:58 (border-top, pt 14, gap 10) */
.fs-ar-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--fs-line);
}

.fs-ar-block__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fs-ar-check {
  position: relative;
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  cursor: pointer;
}

/* 37:41 */
.fs-ar-check input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.fs-ar-check span {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--fs-grey-500);
  border-radius: 5px;
  background: var(--fs-white);
  font-size: 12px;
  line-height: 1;
  color: transparent;
  pointer-events: none;
}

.fs-ar-check input:checked+span {
  border-color: var(--fs-primary-700);
  background: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-ar-check input:focus-visible+span {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* Weekday pills — 37:43 (7 × flex 1, gap 6, p 8, r 999) */
.fs-ar-days {
  display: flex;
  gap: 6px;
}

.fs-ar-pill {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

.fs-ar-pill input,
.fs-ar-daycell input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fs-ar-pill span {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
}

.fs-ar-pill input:checked+span {
  border-color: var(--fs-primary-700);
  background: var(--fs-primary-700);
  color: var(--fs-white);
}

/* Month grid — 37:65 (7 columns, gap 4, cell p 5, r 8, 12/400) */
.fs-ar-month {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.fs-ar-daycell {
  position: relative;
  margin: 0;
}

.fs-ar-daycell span {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
}

.fs-ar-daycell input:checked+span {
  border-color: var(--fs-primary-700);
  background: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-ar-pill input:focus-visible+span,
.fs-ar-daycell input:focus-visible+span {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

.fs-ar-days.is-off,
.fs-ar-month.is-off {
  opacity: 0.45;
}

/* ⛔ PENDING A6 */
.fs-ar-help {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

/* 37:137 */

/* Footer — 37:141 / 37:201 */
.fs-ar-summary {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ar-btn {
  border: 0;
  font-family: var(--fs-font);
  cursor: pointer;
}

.fs-ar-btn--dark {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--fs-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-white);
  white-space: nowrap;
}

/* 37:199 */
.fs-ar-btn:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* Connected pill — 37:144 (A9, only with B3) */
.fs-ar-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-ar-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fs-primary-700);
}

.fs-ar-status.is-off .fs-ar-status__dot {
  background: var(--fs-danger);
}

/* Responsive — ⛔ PENDING A12 */
@media (max-width: 1279.98px) {
  .fs-ar-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .fs-ar-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-ar-days {
    flex-wrap: wrap;
  }

  .fs-ar-pill {
    flex: 1 1 calc(25% - 6px);
  }
}

/* =====================================================================
   26 — Filter presets · Builder on top (Figma 35:2 · content 36:2)
   Requires 02 tokens, 06 §5.1 (.fs-report, .fs-btn-outline, .fs-btn-primary), 11 §5.1 (.fs-btn-outline--sm16)
   ===================================================================== */
.fs-fp-eyebrow {
  font-weight: 500;
  letter-spacing: 0.24px;
}

/* 36:5 */
.fs-fp-controls {
  gap: 10px;
}

/* 36:14 */
.fs-fp-btn {
  border: 0;
  font-family: var(--fs-font);
  cursor: pointer;
}

/* Cards — 36:15 / 36:101 (white, 1px line, r 16) */
.fs-fp-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: visible !important;
}

.fs-fp-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-fp-card__head--14 {
  padding: 14px 24px;
  min-height: 56px;
  box-sizing: border-box;
}

/* 36:16 */
.fs-fp-card__titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.fs-fp-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-fp-card__sub {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-fp-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  border-top: 1px solid var(--fs-line);
}

.fs-fp-cap {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--fs-line);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

/* 36:106 */

/* Criteria card header presets — 36:16 / 36:19 */
.fs-fp-presets {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fs-fp-presets__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
  margin-right: 2px;
}

.fs-fp-preset {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
  transition: all 0.15s ease;
}

.fs-fp-preset:hover {
  background: var(--fs-canvas);
}

.fs-fp-preset.is-active {
  border-color: var(--fs-primary-300);
  background: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

.fs-fp-preset--add {
  border-style: dashed;
  color: var(--fs-text);
}

.fs-fp-preset--add:hover {
  border-color: var(--fs-grey-500);
  color: var(--fs-ink);
}

/* Criteria grid — 36:28 (p 20/24, rows gap 20, columns 450 | 346 | rest, gap 24) */
.fs-fp-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 24px;
}

.fs-fp-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.fs-fp-row--end {
  align-items: flex-start;
}

.fs-fp-col--450 {
  flex: 0 0 450px;
}

.fs-fp-col--346 {
  flex: 0 0 346px;
}

.fs-fp-col--fill {
  flex: 1 1 auto;
}

.fs-fp-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fs-fp-label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-fp-help {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  min-height: 16px;
}

/* Date range — 36:33 (inputs p 8/12, r 8; arrow 14 px Grey-500, gap 8) */
.fs-fp-datewrap {
  position: relative;
  width: 100%;
}

.fs-fp-datewrap .fs-drp {
  left: 0;
  right: auto;
  top: calc(100% + 8px);
  z-index: 1060 !important;
}

.fs-fp-range {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-fp-single-range {
  box-sizing: border-box;
  width: 100%;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.fs-fp-single-range:hover {
  border-color: var(--fs-grey-500);
}

.fs-fp-single-range:focus-visible,
.fs-fp-single-range.is-open,
.fs-fp-single-range[aria-expanded="true"] {
  border-color: var(--fs-primary-500);
}

.fs-fp-single-range__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--fs-grey-500);
}

.fs-fp-single-range__text {
  flex: 1 1 auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-fp-single-range .fs-fp-select__caret {
  flex: 0 0 auto;
  transition: transform 0.15s ease;
}

.fs-fp-single-range[aria-expanded="true"] .fs-fp-select__caret,
.fs-fp-single-range.is-open .fs-fp-select__caret {
  transform: rotate(180deg);
}

.fs-fp-input {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
}

.fs-fp-input:focus,
.fs-fp-input.is-active {
  border-color: var(--fs-primary-500);
}

.fs-fp-range__arrow {
  font-size: 14px;
  line-height: 1.3;
  color: var(--fs-grey-500);
}

/* Quick dates — 36:39 (gap 4; pill p 2/10, 12/500; active Primary-300 / Primary-900) */
.fs-fp-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.fs-fp-qpill {
  padding: 2px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  cursor: pointer;
}

.fs-fp-qpill.is-active {
  border-color: var(--fs-primary-300);
  background: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

/* Gender segmented — 36:51 (canvas, p 3, gap 2; pill p 5, 13/500; active Ink) */
.fs-fp-seg {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
}

.fs-fp-seg label {
  position: relative;
  flex: 1 1 0;
  margin: 0;
}

.fs-fp-seg input,
.fs-fp-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fs-fp-seg span {
  display: flex;
  justify-content: center;
  padding: 5px 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
  cursor: pointer;
}

.fs-fp-seg input:checked+span {
  background: var(--fs-ink);
  color: var(--fs-white);
}

/* Age chips — 36:60 (gap 6; p 5/12, 13/500; active Primary-300 / Primary-900) */
.fs-fp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fs-fp-chip {
  position: relative;
  margin: 0;
}

.fs-fp-chip span {
  display: inline-flex;
  padding: 5px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  cursor: pointer;
}

.fs-fp-chip input:checked+span {
  border-color: var(--fs-primary-300);
  background: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

.fs-fp-seg input:focus-visible+span,
.fs-fp-chip input:focus-visible+span,
.fs-fp-qpill:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* Selects — 36:78 / 36:83 */
.fs-fp-select {
  position: relative;
  box-sizing: border-box;
  width: 100%;
}

.fs-fp-select__btn {
  box-sizing: border-box;
  width: 100%;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.fs-fp-select__btn:hover {
  border-color: var(--fs-grey-500);
}

.fs-fp-select__btn:focus-visible,
.fs-fp-select__btn.is-open {
  border-color: var(--fs-primary-500);
}

.fs-fp-select__face {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  line-height: 1.3;
  pointer-events: none;
}

.fs-fp-select__code {
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-text);
  font-family: var(--fs-mono);
}

.fs-fp-select__code:empty {
  display: none;
}

.fs-fp-select__text {
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-fp-select__caret {
  flex: 0 0 auto;
  width: 10px;
  height: 6px;
  pointer-events: none;
  transition: transform 0.15s ease;
}

.fs-fp-select__btn.is-open .fs-fp-select__caret {
  transform: rotate(180deg);
}

/* Custom Popover Menu */
.fs-fp-menu {
  position: absolute !important;
  z-index: 1055 !important;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  min-width: 240px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 10px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;
}

.fs-fp-menu[hidden] {
  display: none !important;
}

.fs-fp-menu__search {
  position: sticky;
  top: 0;
  z-index: 2;
  margin-bottom: 8px;
}

.fs-fp-menu__input {
  box-sizing: border-box;
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  color: var(--fs-ink);
  outline: none;
}

.fs-fp-menu__input:focus {
  border-color: var(--fs-primary-500);
}

.fs-fp-menu__list {
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 4px;
}

.fs-fp-menu__list::-webkit-scrollbar {
  width: 5px;
}

.fs-fp-menu__list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 4px;
}

.fs-fp-menu__item {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--fs-ink);
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.15s ease;
}

.fs-fp-menu__item:hover,
.fs-fp-menu__item.is-selected {
  background: var(--fs-canvas);
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-fp-menu__code {
  font-size: 11px;
  font-weight: 500;
  color: var(--fs-text);
  font-family: var(--fs-mono);
}

.fs-fp-menu__empty {
  padding: 16px 12px;
  text-align: center;
  font-size: 13px;
  color: var(--fs-text);
}

/* Shareable URL — 36:87 (canvas, p 8/12, r 8, 12 px; Copy 12/500 Primary-700) */
.fs-fp-url {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-canvas);
  font-size: 12px;
  line-height: 1.3;
}

.fs-fp-url__text {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--fs-mono);
}

.fs-fp-url__copy {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-700);
  cursor: pointer;
}

/* Criteria footer — 36:90 */
.fs-fp-count {
  display: flex;
  gap: 4px;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-fp-count strong {
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-fp-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-fp-textbtn {
  padding: 8px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
}

/* 36:94 secondary pill */
.fs-fp-textbtn:hover {
  background: var(--fs-canvas);
  border-color: var(--fs-grey-500);
}

.fs-fp-darkbtn {
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--fs-ink);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-white);
  cursor: pointer;
}

/* 36:98 */
.fs-fp-darkbtn:focus-visible,
.fs-fp-btn:focus-visible,
.fs-fp-url__copy:focus-visible,
.fs-fp-textbtn:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* Table — 36:108 (px 24; header pt 12 pb 8, 11/500 ls .44; rows py 9; gap 12) */
.fs-fp-tablewrap {
  padding: 0 24px;
  overflow-x: auto;
}

.fs-fp-table {
  width: 100%;
  min-width: 1377px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--fs-font);
}

.fs-fp-table col:nth-child(1) {
  width: 260px;
}

.fs-fp-table col:nth-child(2) {
  width: 150px;
}

.fs-fp-table col:nth-child(3) {
  width: 122px;
}

.fs-fp-table col:nth-child(4) {
  width: 108px;
}

.fs-fp-table col:nth-child(5) {
  width: 108px;
}

.fs-fp-table col:nth-child(6) {
  width: 150px;
}

.fs-fp-table col:nth-child(7) {
  width: 163px;
}

.fs-fp-table col:nth-child(8) {
  width: 122px;
}

.fs-fp-table col:nth-child(9) {
  width: 122px;
}

.fs-fp-table col:nth-child(10) {
  width: 69px;
}

.fs-fp-table th,
.fs-fp-table td {
  box-sizing: border-box;
  padding: 0 12px 0 0;
  border: 0;
  text-align: left;
  vertical-align: middle;
}

.fs-fp-table th:last-child,
.fs-fp-table td:last-child {
  padding-right: 0;
}

.fs-fp-table thead th {
  padding-top: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--fs-line);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-fp-table tbody td {
  padding-top: 9px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-fp-cell {
  display: block;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-fp-cell--sm {
  font-size: 12px;
}

.fs-fp-cell--muted,
.fs-fp-cell.is-empty {
  color: var(--fs-text);
}

.fs-fp-type {
  display: inline-flex;
  max-width: 100%;
  padding: 1px 8px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 36:132 */
.fs-fp-visits {
  display: inline-flex;
  justify-content: center;
  min-width: 22px;
  box-sizing: border-box;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--fs-canvas);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
}

/* 36:176 */
.fs-fp-visits.is-returning {
  background: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

/* 36:130 */
.fs-fp-empty {
  padding: 28px 0 !important;
  text-align: center;
  font-size: 13px;
  color: var(--fs-text);
}

/* Pagination — 36:316 (p 14/24; info 13 grey; pages 12 grey) */
.fs-fp-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}

.fs-fp-pager__info {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-fp-pager__pages {
  display: flex;
  align-items: center;
  gap: 2px;
}

.fs-fp-page {
  padding: 0 4px;
  border: 0;
  background: none;
  font-family: var(--fs-font);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
  cursor: pointer;
}

.fs-fp-page.is-current {
  font-weight: 500;
  color: var(--fs-ink);
}

/* ⛔ PENDING — Figma pager is plain text */
.fs-fp-page.is-disabled {
  opacity: .45;
  cursor: default;
}

.fs-fp-page.is-gap {
  cursor: default;
}

.fs-fp-page:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 1px;
}

/* Responsive — ⛔ PENDING F12 */
@media (max-width: 1279.98px) {
  .fs-fp-row {
    flex-wrap: wrap;
  }

  .fs-fp-col--450,
  .fs-fp-col--346 {
    flex: 1 1 320px;
  }

  .fs-fp-col--fill {
    flex: 1 1 100%;
  }
}

@media (max-width: 767.98px) {

  .fs-fp-card__foot,
  .fs-fp-pager {
    flex-direction: column;
    align-items: flex-start;
  }

  .fs-fp-controls {
    flex-wrap: wrap;
  }
}

/* =====================================================================
   27 — Finnstastic members · Members table (Figma 150:2 · content 150:162)
   Requires 02 tokens, 06 §5.1 (.fs-report), 11 §5.1 (--fs-primary-50)
   ===================================================================== */
.fs-fm-eyebrow {
  letter-spacing: 0.24px;
}

/* 150:167 */

/* KPI row — 150:759 (3 × 1fr, gap 16; card p 20/24, r 16, gap 8) */
.fs-fm-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fs-fm-kpi {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
}

.fs-fm-kpi p {
  margin: 0;
  white-space: nowrap;
}

.fs-fm-kpi__label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
}

.fs-fm-kpi__value {
  font-family: var(--fs-mono);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.16px;
  color: var(--fs-ink);
}

.fs-fm-kpi__value.is-empty {
  color: var(--fs-grey-500);
}

/* ⛔ PENDING M2 — awaiting data */
.fs-fm-kpi__note {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

/* Table card — 150:177 (r 16, no padding) */
.fs-fm-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
}

/* Filter bar — 150:178 (p 16/12, border-bottom) */
.fs-fm-filterbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-fm-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.fs-fm-search {
  box-sizing: border-box;
  flex: 0 0 280px;
  width: 280px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
}

/* 150:180 */
.fs-fm-search::placeholder {
  color: var(--fs-text);
  opacity: 1;
}

.fs-fm-search:focus-visible {
  border-color: var(--fs-primary-500);
}

/* Chip — 150:772 idle · 150:777 active (p 7/14, gap 6, 13/500, icon 16) */
.fs-fm-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  cursor: pointer;
}

.fs-fm-chip__icon {
  font-size: 16px;
  color: var(--fs-text);
}

.fs-fm-chip.is-active {
  border-color: var(--fs-primary-300);
  background: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

.fs-fm-chip.is-active .fs-fm-chip__icon {
  color: var(--fs-primary-900);
}

.fs-fm-chip:focus-within {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

.fs-fm-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  font-size: 13px;
  cursor: pointer;
}

.fs-fm-reset {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
  cursor: pointer;
}

/* 150:207 */

/* Table — 150:224 (px 12; header pt 12 pb 8, 11/500 ls .44; rows py 10 (55 h); gap 16) */
.fs-fm-tablewrap {
  position: relative;
  padding: 0 12px;
  overflow-x: auto;
}

.fs-fm-table {
  width: 100% !important;
  min-width: 1338px;
  margin: 0 !important;
  border-collapse: collapse;
  border: 0 !important;
  table-layout: fixed;
  font-family: var(--fs-font);
}

.fs-fm-table col:nth-child(1) {
  width: 316px;
}

.fs-fm-table col:nth-child(2) {
  width: 227px;
}

.fs-fm-table col:nth-child(3) {
  width: 86px;
}

.fs-fm-table col:nth-child(4) {
  width: 212px;
}

.fs-fm-table col:nth-child(5) {
  width: 212px;
}

.fs-fm-table col:nth-child(6) {
  width: 135px;
}

.fs-fm-table col:nth-child(7) {
  width: 150px;
}

.fs-fm-table th,
.fs-fm-table td {
  box-sizing: border-box;
  padding: 0 16px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left;
  vertical-align: middle;
}

.fs-fm-table th:last-child,
.fs-fm-table td:last-child {
  padding-right: 0 !important;
}

.fs-fm-table thead th {
  padding-top: 12px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid var(--fs-line) !important;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-fm-table tbody td {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid var(--fs-line) !important;
}

.fs-fm-email {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 150:804 */
.fs-fm-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.3;
  white-space: nowrap;
}

.fs-fm-stack__main {
  font-size: 13px;
  font-weight: 400;
  color: var(--fs-ink);
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-fm-stack__main.is-empty {
  color: var(--fs-text);
}

.fs-fm-stack__sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-text);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 150:815 */
.fs-fm-stack__sub--11 {
  font-size: 11px;
}

/* 150:807 · 150:818 */
.fs-fm-mac {
  font-family: var(--fs-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

/* 150:812 */
.fs-fm-date {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

/* 150:820 */
/* Visits — >1 150:808 (Primary-50 / Primary-900) · 1 150:827 (canvas / text) */
.fs-fm-visits {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  min-width: 22px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--fs-canvas);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-fm-visits.is-returning {
  background: var(--fs-primary-50);
  color: var(--fs-primary-900);
}

.fs-fm-table td.dataTables_empty,
.fs-fm-empty {
  padding: 28px 0 !important;
  text-align: center;
  font-size: 13px;
  color: var(--fs-text);
}

.fs-fm-card div.dataTables_processing {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 6px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 12px;
  color: var(--fs-text);
}

/* Pagination — 150:648 (p 14/20; same as spec 19) */
.fs-fm-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.fs-fm-foot__info {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.fs-fm-card .dataTables_info {
  float: none;
  padding: 0 !important;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text) !important;
}

.fs-fm-perpage {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
}

.fs-fm-card .dataTables_paginate {
  float: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 !important;
}

.fs-fm-card .dataTables_paginate>span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fs-fm-card .dataTables_paginate .paginate_button,
.fs-fm-card .dataTables_paginate .ellipsis {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 4px 10px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink) !important;
  text-decoration: none !important;
  cursor: pointer;
}

.fs-fm-card .dataTables_paginate .paginate_button.previous,
.fs-fm-card .dataTables_paginate .paginate_button.next {
  border: 1px solid var(--fs-line) !important;
}

.fs-fm-card .dataTables_paginate .paginate_button.current {
  background: var(--fs-ink) !important;
  color: var(--fs-white) !important;
}

.fs-fm-card .dataTables_paginate .paginate_button.disabled {
  opacity: 0.45;
  cursor: default;
}

/* ⛔ PENDING */
.fs-fm-card .dataTables_paginate .ellipsis {
  cursor: default;
}

/* Responsive — ⛔ PENDING M9 */
@media (max-width: 1023.98px) {
  .fs-fm-kpis {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .fs-fm-search {
    flex-basis: 100%;
    width: 100%;
  }

  .fs-fm-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =====================================================================
   28 — Vouchers · Voucher list (Figma 154:3 · content 154:162)
   Requires 02 tokens, 06 §5.1 (.fs-report, .fs-btn-outline, .fs-btn-primary), 11 §5.1 (.fs-btn-outline--sm16, .fs-rt-flash)
   ===================================================================== */
.fs-vc-actions {
  gap: 8px;
}

/* 154:472 */
.fs-vc-btn {
  font-family: var(--fs-font);
  cursor: pointer;
}

.fs-vc-btn[disabled] {
  opacity: .6;
  cursor: default;
}

.fs-vc-add {
  padding: 9px 16px;
}

/* 154:170 */

/* KPI row — 154:172 (4 × 1fr, gap 16; card p 20/24, r 16, gap 8) */
.fs-vc-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fs-vc-kpi {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
}

.fs-vc-kpi p {
  margin: 0;
  white-space: nowrap;
}

.fs-vc-kpi__label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
}

.fs-vc-kpi__value {
  font-family: var(--fs-mono);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.16px;
  color: var(--fs-ink);
}

.fs-vc-kpi__value.is-empty {
  color: var(--fs-grey-500);
}

/* ⛔ PENDING V2 */
.fs-vc-kpi__note {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

/* Table card — 155:2 (r 16, border, overflow visible so popovers float in front, no outer padding) */
.fs-vc-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* Toolbar — 155:3 (p 16/12, border-bottom) */
.fs-vc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 12px;
  border-bottom: 1px solid var(--fs-line);
  position: relative;
  z-index: 20;
}

.fs-vc-toolbar__left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-vc-search {
  box-sizing: border-box;
  flex: 0 0 280px;
  width: 280px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
  transition: border-color 0.15s ease;
}

.fs-vc-search::placeholder {
  color: var(--fs-text);
  opacity: 1;
}

.fs-vc-search:focus-visible,
.fs-vc-search:focus {
  border-color: var(--fs-primary-500);
}

.fs-vc-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  cursor: pointer;
}

/* 155:8 */
.fs-vc-chip .fs-rt-select__arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 6px;
  transition: transform 0.15s ease;
}

.fs-vc-chip.is-active {
  border-color: var(--fs-primary-300);
  background: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

.fs-vc-chip.is-active .fs-rt-select__arrow path {
  stroke: rgba(15, 92, 92, 0.9);
}

.fs-vc-chip:focus-within .fs-rt-select__arrow,
.js-vc-chip-btn[aria-expanded="true"] .fs-rt-select__arrow {
  transform: rotate(180deg);
}

.fs-vc-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  font-size: 13px;
  cursor: pointer;
}

/* Status pills (155:11 · standardized badge counter style) */
.fs-vc-status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fs-vc-spill {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.fs-vc-spill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Outer pill button */
.fs-vc-spill__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  box-sizing: border-box;
  padding: 5px 6px 5px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* Inactive chip hover */
.fs-vc-spill:hover input:not(:checked)+.fs-vc-spill__btn {
  background: var(--fs-canvas);
  border-color: var(--fs-grey-500);
}

/* Active outer pill */
.fs-vc-spill input:checked+.fs-vc-spill__btn {
  background: var(--fs-primary-300);
  border-color: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

.fs-vc-spill input:focus-visible+.fs-vc-spill__btn {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* Inner counter badge */
.fs-vc-spill__count {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  box-sizing: border-box;
  padding: 0 6px;
  border-radius: 999px;
  background: #F2F4F4;
  border: 1px solid #E2E4E4;
  color: #555555;
  font-family: var(--fs-font);
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

/* Vertical separator line '|' via pseudo-element ::before on inactive chips ONLY */
.fs-vc-spill input:not(:checked)+.fs-vc-spill__btn .fs-vc-spill__count::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: #E2E4E4;
}

/* Active counter badge */
.fs-vc-spill input:checked+.fs-vc-spill__btn .fs-vc-spill__count {
  background: #E6F5F5;
  border-color: #D3EBEC;
  color: #555555;
}

/* Table — 155:24 (header py 8, 11/500 ls .44; rows py 12 (59 h); gap 14; last row no border) */
.fs-vc-tablewrap {
  position: relative;
  padding: 0 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fs-vc-table {
  width: 100% !important;
  min-width: 1115px;
  margin: 0 !important;
  border-collapse: collapse;
  border: 0 !important;
  table-layout: fixed;
  font-family: var(--fs-font);
}

.fs-vc-table col:nth-child(1) {
  width: 125px;
}

.fs-vc-table col:nth-child(2) {
  width: 210px;
}

.fs-vc-table col:nth-child(3) {
  width: 110px;
}

.fs-vc-table col:nth-child(4) {
  width: 110px;
}

.fs-vc-table col:nth-child(5) {
  width: 135px;
}

.fs-vc-table col:nth-child(6) {
  width: 60px;
}

.fs-vc-table col:nth-child(7) {
  width: 175px;
}

.fs-vc-table col:nth-child(8) {
  width: 80px;
}

.fs-vc-table col:nth-child(9) {
  width: 120px;
}

.fs-vc-table th,
.fs-vc-table td {
  box-sizing: border-box;
  padding: 0 14px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left;
  vertical-align: middle;
}

.fs-vc-table th:last-child,
.fs-vc-table td:last-child {
  padding-right: 12px !important;
}

.fs-vc-table .is-right {
  text-align: right !important;
}

.fs-vc-table thead th {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid var(--fs-line) !important;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-vc-table tbody td {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--fs-line) !important;
}

.fs-vc-table tbody tr:last-child td {
  border-bottom: 0 !important;
}

.fs-vc-table tbody tr.is-disabled td {
  background: var(--fs-canvas) !important;
}

/* 155:173 */
.fs-vc-no {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-vc-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.3;
  white-space: nowrap;
  min-width: 0;
}

.fs-vc-stack__main {
  font-size: 13px;
  font-weight: 500;
  color: var(--fs-ink);
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-vc-stack__sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-vc-cell {
  display: block;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-vc-cell--sm {
  font-size: 12px;
}

.fs-vc-cell.is-empty,
.fs-vc-cell .is-empty {
  font-style: normal;
  color: var(--fs-grey-500);
}

/* 155:158 / 155:160 */
.fs-vc-profile {
  display: inline-flex;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 2px 8px;
  border: 1px solid var(--fs-line);
  border-radius: 6px;
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-ink);
}

/* 155:57 */
/* Status — 155:60 (switch 32 × 18, knob 14; label 12 px). SVG in Figma — drawn in CSS, verify colours */
.fs-vc-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-vc-state.is-on {
  color: var(--fs-ink);
}

.fs-vc-switch {
  position: relative;
  width: 32px;
  height: 18px;
  flex: 0 0 32px;
  border-radius: 999px;
  background: var(--fs-line);
}

.fs-vc-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--fs-white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.fs-vc-state.is-on .fs-vc-switch {
  background: var(--fs-primary-700);
}

.fs-vc-state.is-on .fs-vc-switch::after {
  left: 16px;
}

/* Actions — 155:64 (gap 6; Edit p 5/12 12/500; Delete 28 × 28 "✕" 11 px) */
.fs-vc-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.fs-vc-edit {
  padding: 5px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  text-decoration: none;
}

.fs-vc-del {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 11px;
  line-height: 1;
  color: var(--fs-text);
  text-decoration: none;
}

.fs-vc-edit:focus-visible,
.fs-vc-del:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

.fs-vc-table td.dataTables_empty,
.fs-vc-empty {
  padding: 28px 0 !important;
  text-align: center;
  font-size: 13px;
  color: var(--fs-text);
}

.fs-vc-card div.dataTables_processing {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 6px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 12px;
  color: var(--fs-text);
}

/* Footer — 155:303 (p 12/12/16, border-top) */
.fs-vc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 12px 16px;
  border-top: 1px solid var(--fs-line);
  position: relative;
  z-index: 10;
}

.fs-vc-rowsmenu {
  bottom: calc(100% + 6px) !important;
  top: auto !important;
  right: 0 !important;
  left: auto !important;
  width: 88px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  z-index: 1055 !important;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.fs-vc-foot__left {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.fs-vc-rows {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.fs-vc-rows__label {
  float: none;
  padding: 0 !important;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text) !important;
}

.fs-vc-rows__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 5px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fs-vc-rows__btn:hover {
  border-color: var(--fs-grey-300, #CBD5E1);
  background: var(--fs-canvas, #F8FAFC);
}

.fs-vc-rows__btn:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

.fs-vc-rows__btn .fs-rt-select__arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 6px;
  transition: transform 0.15s ease;
}

.fs-vc-rows__btn[aria-expanded="true"] .fs-rt-select__arrow {
  transform: rotate(180deg);
}

.fs-vc-card .dataTables_paginate {
  float: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 !important;
}

.fs-vc-card .dataTables_paginate>span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fs-vc-card .dataTables_paginate .paginate_button {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 30px !important;
  height: 30px;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid var(--fs-line) !important;
  border-radius: 999px !important;
  background: var(--fs-white) !important;
  box-shadow: none !important;
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink) !important;
  text-decoration: none !important;
  cursor: pointer;
}

.fs-vc-card .dataTables_paginate .paginate_button.current {
  border-color: var(--fs-ink) !important;
  background: var(--fs-ink) !important;
  font-weight: 500;
  color: var(--fs-white) !important;
}

.fs-vc-card .dataTables_paginate .paginate_button.disabled {
  opacity: .45;
  cursor: default;
}

/* ⛔ PENDING */
.fs-vc-card .dataTables_paginate .ellipsis {
  padding: 0 2px;
  font-size: 12px;
  color: var(--fs-grey-500);
}

/* Responsive — ⛔ PENDING V10 */
@media (max-width: 1279.98px) {
  .fs-vc-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .fs-vc-kpis {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-vc-search {
    width: 100%;
  }

  .fs-vc-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =====================================================================
   29 — Vouchers · Add / Edit voucher (Figma 156:2 · content 156:165)
   Requires 02 tokens, 06 §5.1 (.fs-report, .fs-btn-outline, .fs-btn-primary), 11 §5.1 (.fs-btn-outline--sm16, .fs-rt-flash)
   ===================================================================== */
.fs-ve-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}

/* 156:520 */

/* Form card — 156:521 */
/* Form card — 156:521 (overflow visible so popover dropdowns float in front of sections) */
.fs-ve-form {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: visible;
}

.fs-ve-sec {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 28px;
  padding: 24px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-ve-sec:has(.is-open),
.fs-ve-sec.is-open {
  z-index: 100;
}

.fs-ve-sec__label {
  flex: 0 0 200px;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fs-ve-sec__label h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ve-sec__label p {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ve-sec__controls {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fs-ve-sec__controls--18 {
  gap: 18px;
}

/* Guest 156:555 */
.fs-ve-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Field — label 13/500 + teal *, gap 6 */
.fs-ve-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fs-ve-label {
  display: inline-flex;
  gap: 3px;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ve-label b {
  font-weight: 500;
  color: var(--fs-primary-700);
}

.fs-ve-input {
  box-sizing: border-box;
  width: 100%;
  height: 37px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
}

.fs-ve-input::placeholder {
  color: var(--fs-grey-500);
  opacity: 1;
}

.fs-ve-input:focus {
  border-color: var(--fs-primary-500);
}

.fs-ve-input--mono {
  font-family: var(--fs-mono);
}

/* Hotspot profile */
.fs-ve-input--number {
  height: 38px;
  font-size: 14px;
  font-weight: 500;
}

/* 156:549 */
.fs-ve-help {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

/* Select — custom popover dropdown button with SVG arrow */
.fs-ve-selectwrap {
  position: relative;
  display: block;
  width: 100%;
  z-index: 1;
}

.fs-ve-selectwrap:has(.is-open),
.fs-ve-selectwrap.is-open {
  z-index: 110;
}

.fs-ve-selectbtn {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 37px;
  padding: 8px 12px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.fs-ve-selectbtn:focus-visible,
.fs-ve-selectbtn.is-open {
  border-color: var(--fs-primary-500);
}

.fs-ve-selectbtn .fs-rt-select__arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 6px;
  transition: transform 0.15s ease;
}

.fs-ve-selectbtn.is-open .fs-rt-select__arrow {
  transform: rotate(180deg);
}

.fs-ve-popmenu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  width: 100%;
  max-height: 280px;
  box-sizing: border-box;
  margin: 0;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.15), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
}

/* Gender segmented — 156:571 */
.fs-ve-seg {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  height: 37px;
  padding: 3px;
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  border-radius: 999px;
}

.fs-ve-seg label {
  display: block;
  margin: 0;
  cursor: pointer;
}

.fs-ve-seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fs-ve-seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ve-seg input:checked+span {
  background: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-ve-seg input:focus-visible+span {
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

/* Status toggle card — 156:594 */
.fs-ve-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  background: var(--fs-primary-25);
  border: 1px solid var(--fs-primary-300);
  border-radius: 12px;
  cursor: pointer;
}

.fs-ve-toggle__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fs-ve-toggle__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ve-toggle__sub {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-primary-900);
}

.fs-ve-switch {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 22px;
}

/* SVG in Figma — verify colours in Dev Mode */
.fs-ve-switch input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.fs-ve-switch__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--fs-grey-500);
  transition: background .15s;
  pointer-events: none;
}

.fs-ve-switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fs-white);
  transition: transform .15s;
}

.fs-ve-switch input:checked+.fs-ve-switch__track {
  background: var(--fs-primary-700);
}

.fs-ve-switch input:checked+.fs-ve-switch__track::after {
  transform: translateX(18px);
}

.fs-ve-switch input:focus-visible+.fs-ve-switch__track {
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

/* Footer — 156:603 (p 16/24) */
.fs-ve-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
}

.fs-ve-foot__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.fs-ve-cancel,
.fs-ve-save {
  padding: 99px 20px;
  font-family: var(--fs-font);
  font-size: 14px;
  line-height: 1.3;
}

.fs-ve-cancel {
  padding: 9px 20px;
}

.fs-ve-save {
  padding: 9px 20px;
  border: 0;
  cursor: pointer;
}

.fs-ve-save:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--fs-primary-300);
}

/* A2 — 4px #98DFE2 ring = focus */

/* Preview — 156:612 */
.fs-ve-aside {
  position: sticky;
  top: 74px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.fs-ve-aside__label {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
}

.fs-ve-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 22px;
  background: var(--fs-primary-700);
  border-radius: 16px;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .08);
  color: var(--fs-white);
}

.fs-ve-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fs-ve-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 1.04px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-ve-card__mark {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fs-white);
}

/* SVG in Figma — verify in Dev Mode */
.fs-ve-card__pill {
  flex: 0 0 auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--fs-primary-300);
  color: var(--fs-primary-900);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.fs-ve-card__pill.is-off {
  background: rgba(255, 255, 255, .16);
  color: var(--fs-white);
}

/* ⛔ PENDING A7 — not in Figma */
.fs-ve-card__number {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fs-ve-card__caption {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-primary-300);
}

.fs-ve-card__caption:empty {
  display: none;
}

.fs-ve-card__code {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 1.04px;
  word-break: break-all;
}

.fs-ve-card__holder {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.fs-ve-card__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fs-ve-card__name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-ve-card__profile {
  flex: 0 0 auto;
  padding: 3px 10px;
  border: 1px solid var(--fs-primary-500);
  border-radius: 6px;
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
}

.fs-ve-card__profile[hidden] {
  display: none;
}

.fs-ve-how {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
}

.fs-ve-how__title {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ve-how__text {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--fs-text);
}

/* ⛔ PENDING A9 — responsive (not designed) */
@media (max-width: 1279px) {
  .fs-ve-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-ve-aside {
    position: static;
    order: -1;
  }
}

@media (max-width: 767px) {
  .fs-ve-sec {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }

  .fs-ve-sec__label {
    flex-basis: auto;
    width: auto;
  }

  .fs-ve-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-ve-foot {
    padding: 16px 20px;
  }
}

/* =====================================================================
   30 — Admin Login (Figma 160:2 · 1a 160:3 · 1b 160:38 · 1c 160:77)
   Standalone page: web/login.php links finns-shell.css for the tokens + these rules.
   ===================================================================== */
html:has(.fs-login-body),
.fs-login-body {
  background-color: var(--fs-white) !important;
}

/* overrides the shell's #F9F9F9 page bg */
.fs-login-body {
  margin: 0;
  font-family: var(--fs-font);
  color: var(--fs-ink);
  -webkit-font-smoothing: antialiased;
}

.fs-login {
  display: flex;
  min-height: 100vh;
}

/* Brand panel — 160:4 (#0F5C5C, p 56/64, space-between) */
.fs-login-brand {
  position: relative;
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 64px;
  background: var(--fs-primary-900);
  overflow: hidden;
}

.fs-login-brand>*:not(.fs-login-brand__ring) {
  position: relative;
  z-index: 1;
}

.fs-login-brand__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(152, 223, 226, .35);
  pointer-events: none;
}

/* SVG rings in Figma — verify stroke in Dev Mode */
.fs-login-brand__ring--lg {
  width: 672px;
  height: 672px;
  left: 600px;
  top: 624px;
}

/* 160:5 */
.fs-login-brand__ring--sm {
  width: 384px;
  height: 384px;
  left: 744px;
  top: 768px;
}

/* 160:6 */
.fs-login-brand__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 245px;
}

/* 160:7 */
.fs-login-brand__logo img {
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}

.fs-login-brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: normal;
}

.fs-login-brand__title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.28px;
  text-transform: uppercase;
  color: var(--fs-white);
}

.fs-login-brand__sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-primary-300);
}

.fs-login-brand__headline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 624px;
}

/* 160:13 */
.fs-login-brand__headline p,
.fs-login-brand__headline h2 {
  margin: 0;
}

.fs-login-brand__eyebrow {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.52px;
  color: var(--fs-primary-300);
}

.fs-login-brand__title-lg {
  font-size: 53px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.06px;
  color: var(--fs-white);
}

.fs-login-brand__lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #E4F5F6;
}

.fs-login-brand__copy {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--fs-primary-300);
}

/* Form panel — 160:18 (672 wide, p 48, centered) */
.fs-login-panel {
  box-sizing: border-box;
  flex: 0 0 672px;
  width: 672px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: var(--fs-white);
}

.fs-login-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 420px;
  max-width: 100%;
  margin: 0;
}

/* 160:19 */
.fs-login-form__heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-login-form__heading h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.28px;
  color: var(--fs-ink);
}

.fs-login-form__heading p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--fs-text);
}

/* Flash · error — 160:58 */
.fs-login-flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #FDF1F0;
  border: 1px solid #F3C7C3;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #9B2C24;
}

.fs-login-flash__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #C2413A;
  color: var(--fs-white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* Fields — 160:23 (gap 16; field gap 6) */
.fs-login-form__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fs-login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-login-field label {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--fs-ink);
}

.fs-login-input {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--fs-ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.fs-login-input::placeholder {
  color: var(--fs-grey-500);
  opacity: 1;
}

.fs-login-input:focus {
  border-color: var(--fs-primary-700);
  box-shadow: 0 0 0 3px #E4F5F6;
}

/* focus state from 160:93 */
.fs-login-input[type="password"] {
  letter-spacing: 2.8px;
}

/* dots 160:31 */
.fs-login-input[type="password"]::placeholder {
  letter-spacing: 0;
}

.fs-login-pass {
  position: relative;
  display: block;
}

.fs-login-pass .fs-login-input {
  padding-right: 66px;
}

.fs-login-pass__toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--fs-primary-700);
  cursor: pointer;
}

/* 160:32 */
.fs-login-pass__toggle:hover,
.fs-login-pass__toggle:focus-visible {
  background: var(--fs-primary-25);
  outline: none;
}

/* ⛔ PENDING L6 */

/* Sign in — 160:34 */
.fs-login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--fs-primary-700);
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--fs-white);
  cursor: pointer;
}

.fs-login-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--fs-primary-300);
}

.fs-login-submit:disabled {
  opacity: .7;
  cursor: default;
}

/* ⛔ PENDING L6 */

/* Help — 160:36 */
.fs-login-help {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--fs-line);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--fs-text);
}

.fs-login-panel__copy {
  display: none;
}

/* ⛔ PENDING L7 — between desktop and mobile (not designed) */
@media (max-width: 1279px) {
  .fs-login-panel {
    flex-basis: 520px;
    width: 520px;
  }

  .fs-login-brand__title-lg {
    font-size: 44px;
  }
}

/* Mobile — 160:77 (below 1024 px) */
@media (max-width: 1023px) {
  .fs-login {
    flex-direction: column;
  }

  .fs-login-brand {
    flex: 0 0 auto;
    gap: 20px;
    padding: 40px 24px 28px;
  }

  /* 160:78 */
  .fs-login-brand__ring,
  .fs-login-brand__title-lg,
  .fs-login-brand__lead,
  .fs-login-brand__copy {
    display: none;
  }

  .fs-login-panel {
    flex: 1 0 auto;
    width: auto;
    align-items: stretch;
    justify-content: flex-start;
    gap: 22px;
    padding: 28px 24px;
  }

  /* 160:86 */
  .fs-login-form {
    width: auto;
    gap: 22px;
  }

  .fs-login-form__heading {
    gap: 4px;
  }

  .fs-login-form__heading h1 {
    font-size: 24px;
    letter-spacing: 0;
  }

  .fs-login-input {
    height: 48px;
  }

  .fs-login-submit {
    height: 48px;
  }

  .fs-login-help {
    display: none;
  }

  /* not in 160:77 */
}

/* Toast Notification Component */
.fs-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.fs-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--fs-ink);
  color: var(--fs-white);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s ease;
}

.fs-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

.fs-toast--success {
  background: #0F5C5C;
  border: 1px solid #1E7A7A;
  color: var(--fs-white);
}

.fs-toast--warning {
  background: #5C430F;
  border: 1px solid #7A5B1E;
  color: var(--fs-white);
}

/* SweetAlert2 Finns Theme Standard Overrides */
.swal2-popup.fs-swal-modal {
  font-family: var(--fs-font) !important;
  border-radius: 20px !important;
  padding: 24px !important;
}

.swal2-title {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--fs-ink) !important;
}

.swal2-html-container {
  font-size: 14px !important;
  color: var(--fs-text) !important;
}

.swal2-styled.swal2-confirm {
  border-radius: 999px !important;
  font-family: var(--fs-font) !important;
  font-weight: 500 !important;
  padding: 10px 24px !important;
}

.swal2-styled.swal2-cancel {
  border-radius: 999px !important;
  font-family: var(--fs-font) !important;
  font-weight: 500 !important;
  padding: 10px 20px !important;
}

/* =====================================================================
   31 — News & Media · News list (Figma 174:2 · content 174:165)
   Requires 02 tokens, 06 §5.1 (.fs-report, .fs-btn-primary), 19/28 (.fs-sr-only)
   ===================================================================== */
.fs-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.fs-news-add {
  padding: 9px 16px;
}

/* 174:178 */

/* Flash · Article saved — 174:809 */
.fs-news-flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #E4F5F6;
  border: 1px solid var(--fs-primary-300);
  border-radius: 12px;
}

.fs-news-flash__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--fs-primary-700);
  color: var(--fs-white);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.fs-news-flash__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-primary-900);
}

.fs-news-flash__close {
  flex: 0 0 auto;
  padding: 0 2px;
  border: 0;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-primary-700);
  cursor: pointer;
}

/* Table card — 174:197 (p 20/24/16, gap 12, r 16) */
.fs-news-card {
  box-sizing: border-box;
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px;
  min-width: 0;
  padding: 20px 24px 16px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: visible !important;
}

.fs-news-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
  flex-wrap: wrap;
}

/* Search — 174:200 (280, #F9F9F9, p 8/16, r 999) */
.fs-news-search {
  display: block !important;
  width: 280px;
  max-width: 100%;
  margin: 0;
}

.fs-news-search input {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-family: var(--fs-font);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.fs-news-search input::placeholder {
  color: var(--fs-grey-500);
  opacity: 1;
}

.fs-news-search input:focus {
  border-color: var(--fs-primary-500);
  background: var(--fs-white);
}

/* Sort & Rows Popover Component (174:202, 174:499) */
.fs-news-chipwrap,
.fs-news-rowswrap {
  position: relative !important;
  display: inline-flex !important;
}

.fs-news-chip {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.fs-news-chip[aria-expanded="true"],
.fs-news-chip:focus-visible {
  border-color: var(--fs-primary-500);
}

.fs-news-chip .fs-rt-select__arrow,
.fs-news-rows__btn .fs-rt-select__arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 6px;
  transition: transform 0.15s ease;
}

.fs-news-chip[aria-expanded="true"] .fs-rt-select__arrow,
.fs-news-rows__btn[aria-expanded="true"] .fs-rt-select__arrow {
  transform: rotate(180deg);
}

.fs-news-rows__btn {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
  margin: 0;
  padding: 4px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.fs-news-rows__btn[aria-expanded="true"],
.fs-news-rows__btn:focus-visible {
  border-color: var(--fs-primary-500);
}

.fs-news-popmenu {
  position: absolute !important;
  z-index: 1050 !important;
  top: calc(100% + 6px) !important;
  right: 0;
  left: auto;
  min-width: 150px;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
  padding: 6px !important;
  background: var(--fs-white) !important;
  border: 1px solid var(--fs-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
  text-align: left;
  white-space: nowrap;
}

.fs-news-popmenu[hidden] {
  display: none !important;
}

.fs-news-rowsmenu {
  bottom: calc(100% + 6px) !important;
  top: auto !important;
  left: 0 !important;
  right: auto !important;
  width: 88px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  z-index: 1055 !important;
}

.fs-news-popmenu__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.fs-news-popmenu__item {
  box-sizing: border-box;
  display: block !important;
  width: 100% !important;
  padding: 8px 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  font-family: var(--fs-font) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  color: var(--fs-ink) !important;
  text-align: left !important;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.fs-news-popmenu__item:hover,
.fs-news-popmenu__item.is-selected {
  background: var(--fs-canvas) !important;
  font-weight: 500 !important;
}

/* Table — 174:220 (# 48 · title flex · last saved 268 · author 223 · actions 112 · gap 14) */
.fs-news-scroll {
  overflow-x: auto;
}

.fs-news-table {
  width: 100% !important;
  min-width: 960px;
  margin: 0 !important;
  border-collapse: collapse;
  border: 0 !important;
  table-layout: fixed;
  font-family: var(--fs-font);
}

.fs-news-table th:nth-child(1) {
  width: 68px;
}

.fs-news-table th:nth-child(3) {
  width: 282px;
}

.fs-news-table th:nth-child(4) {
  width: 237px;
}

.fs-news-table th:nth-child(5) {
  width: 130px;
}

.fs-news-table th,
.fs-news-table td {
  box-sizing: border-box;
  padding: 0 14px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left;
  vertical-align: middle;
}

.fs-news-table th:first-child,
.fs-news-table td:first-child {
  padding-left: 12px !important;
}

.fs-news-table th:last-child,
.fs-news-table td:last-child {
  padding-right: 12px !important;
  text-align: right !important;
}

.fs-news-table .is-right {
  text-align: right !important;
}

.fs-news-table thead th {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid var(--fs-line) !important;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-news-table tbody td {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--fs-line) !important;
}

.fs-news-table tbody tr:last-child td {
  border-bottom: 0 !important;
}

.fs-news-no {
  font-family: var(--fs-mono);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-news-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0;
}

.fs-news-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-news-mono {
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-news-cell {
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-news-cell.is-empty {
  color: var(--fs-grey-500);
}

.fs-news-actions {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
}

.fs-news-edit {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 14px !important;
  border: 1px solid var(--fs-line) !important;
  border-radius: 999px !important;
  background: var(--fs-white) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: var(--fs-ink) !important;
  text-decoration: none !important;
}

.fs-news-del {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 32px !important;
  height: 32px !important;
  border: 1px solid var(--fs-line) !important;
  border-radius: 999px !important;
  background: var(--fs-white) !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  color: var(--fs-text) !important;
  text-decoration: none !important;
}

.fs-news-edit:hover,
.fs-news-del:hover {
  border-color: var(--fs-grey-500) !important;
}

.fs-news-table td.dataTables_empty,
.fs-news-empty {
  padding: 28px 0 !important;
  text-align: center;
  font-size: 13px;
  color: var(--fs-text);
}

.fs-news-card div.dataTables_processing {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: auto;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 12px;
  color: var(--fs-text);
}

/* Footer — 174:499 */
.fs-news-foot {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px;
  padding-top: 4px;
  position: relative !important;
  overflow: visible !important;
}

.fs-news-foot__left {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  white-space: nowrap;
  position: relative !important;
  overflow: visible !important;
}

.fs-news-rows {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  position: relative !important;
  overflow: visible !important;
}

.fs-news-rows__label,
.fs-news-card .dataTables_info {
  float: none;
  padding: 0 !important;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text) !important;
}

.fs-news-rows__select {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
  margin: 0;
  padding: 3px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
}

.fs-news-card .dataTables_paginate {
  float: none;
  display: flex !important;
  align-items: center !important;
  gap: 4px;
  padding: 0 !important;
}

.fs-news-card .dataTables_paginate>span {
  display: flex !important;
  align-items: center !important;
  gap: 4px;
}

.fs-news-card .dataTables_paginate .paginate_button {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 30px !important;
  height: 30px;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid var(--fs-line) !important;
  border-radius: 999px !important;
  background: var(--fs-white) !important;
  box-shadow: none !important;
  font-family: var(--fs-font);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-ink) !important;
  text-decoration: none !important;
  cursor: pointer;
}

.fs-news-card .dataTables_paginate .paginate_button.current {
  border-color: var(--fs-ink) !important;
  background: var(--fs-ink) !important;
  font-weight: 500;
  color: var(--fs-white) !important;
}

.fs-news-card .dataTables_paginate .paginate_button.disabled {
  opacity: .45;
  cursor: default;
}

.fs-news-card .dataTables_paginate .ellipsis {
  padding: 0 2px;
  font-size: 12px;
  color: var(--fs-grey-500);
}

@media (max-width: 767px) {
  .fs-news-card {
    padding: 16px;
  }

  .fs-news-search {
    width: 100%;
  }

  .fs-news-foot {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}


/* =====================================================================
   32 — News & Media · Add / Edit news (Figma 174:522 · content 174:685)
   Requires 02 tokens, 06 §5.1 (.fs-report, .fs-btn-outline, .fs-btn-primary), 11 §5.1 (.fs-btn-outline--sm16)
   ===================================================================== */
.fs-ne-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}

/* 174:696 */

/* Form card — 176:2 */
.fs-ne-form {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
}

.fs-ne-sec {
  display: flex;
  gap: 28px;
  padding: 24px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-ne-sec__label {
  flex: 0 0 200px;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fs-ne-sec__label h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ne-sec__label p {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ne-sec__controls {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.fs-ne-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fs-ne-label {
  display: inline-flex;
  gap: 3px;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ne-label b {
  font-weight: 500;
  color: var(--fs-primary-700);
}

/* Title — 176:12 (48 h, r 12, 18/500) */
.fs-ne-title {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
}

.fs-ne-title::placeholder {
  color: var(--fs-grey-500);
  font-weight: 400;
  opacity: 1;
}

.fs-ne-title:focus {
  border-color: var(--fs-primary-700);
}

/* focused state in Figma */
.fs-ne-slug {
  display: flex;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
  min-width: 0;
}

.fs-ne-slug__value {
  font-family: var(--fs-mono);
  color: var(--fs-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Editor — 176:24 (r 12, toolbar #F9F9F9 p 6/8 gap 2, body 380 p 16, footer p 8/14) */
.fs-ne-editor {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--fs-white);
}

.fs-ne-editor:focus-within {
  border-color: var(--fs-primary-500);
}

/* ⛔ PENDING E6 */
.fs-ne-tools {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  padding: 6px 8px;
  background: var(--fs-canvas);
  border-bottom: 1px solid var(--fs-line);
}

.fs-ne-tools[hidden] {
  display: none;
}

.fs-ne-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
}

.fs-ne-tool--sq {
  width: 30px;
  padding: 0;
}

.fs-ne-tool.is-b {
  font-weight: 600;
}

.fs-ne-tool:hover,
.fs-ne-tool:focus-visible {
  background: var(--fs-line);
  outline: none;
}

/* ⛔ PENDING E6 */
.fs-ne-tool.is-on {
  background: var(--fs-primary-50);
  color: var(--fs-primary-900);
}

/* ⛔ PENDING E6 */
.fs-ne-tools__sep {
  width: 1px;
  height: 18px;
  background: var(--fs-line);
}

.fs-ne-body {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 380px;
  margin: 0;
  padding: 16px;
  border: 0;
  resize: vertical;
  font-family: var(--fs-font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--fs-ink);
  outline: none;
}

/* plain fallback */
.fs-ne-editor .cke {
  border: 0 !important;
  box-shadow: none !important;
}

/* CKEditor chrome off */
.fs-ne-editor .cke_inner,
.fs-ne-editor .cke_contents {
  background: var(--fs-white) !important;
}

.fs-ne-editor .cke_top,
.fs-ne-editor .cke_bottom {
  display: none !important;
}

.fs-ne-editor__foot {
  display: flex;
  justify-content: flex-end;
  padding: 8px 14px;
  border-top: 1px solid var(--fs-line);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

/* Footer — 176:48 (p 16/24) */
.fs-ne-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
}

.fs-ne-foot__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ne-foot__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.fs-ne-cancel {
  padding: 10px 20px;
  font-size: 14px;
  line-height: 1.3;
}

.fs-ne-save {
  padding: 10px 22px;
  border: 0;
  font-family: var(--fs-font);
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
}

.fs-ne-save:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--fs-primary-300);
}

/* Preview — 176:55 */
.fs-ne-aside {
  position: sticky;
  top: 74px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.fs-ne-aside__label {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
}

.fs-ne-phone {
  overflow: hidden;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 28px;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .08);
}

/* 176:57 */
.fs-ne-phone__head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 100px;
  padding: 18px 18px 16px;
  background: var(--fs-primary-700);
}

/* 176:58 */
.fs-ne-phone__mark {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--fs-white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/* SVG in Figma — verify in Dev Mode */
.fs-ne-phone__brand {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.96px;
  color: var(--fs-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-ne-phone__tag {
  font-size: 11px;
  line-height: 1.3;
  color: var(--fs-primary-300);
}

.fs-ne-phone__body {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: auto;
  min-height: 140px;
  max-height: calc(100vh - 280px);
  max-height: 520px;
  padding: 18px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--fs-line) transparent;
}

.fs-ne-phone__body::-webkit-scrollbar {
  width: 6px;
}

.fs-ne-phone__body::-webkit-scrollbar-track {
  background: transparent;
}

.fs-ne-phone__body::-webkit-scrollbar-thumb {
  background: var(--fs-line);
  border-radius: 999px;
}

.fs-ne-phone__body::-webkit-scrollbar-thumb:hover {
  background: var(--fs-grey-500);
}

.fs-ne-phone__date {
  margin: 0;
  font-size: 11px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ne-phone__title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  overflow-wrap: anywhere;
}

.fs-ne-phone__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fs-text);
  overflow-wrap: anywhere;
}

.fs-ne .fs-ne-phone__text>* {
  margin: 0 0 1.6em;
}

.fs-ne .fs-ne-phone__text h2 {
  font-size: 14px;
  font-weight: 500;
  color: var(--fs-ink);
  margin-bottom: .6em;
}

.fs-ne-phone__text ul,
.fs-ne-phone__text ol {
  padding-left: 1.3em;
}

.fs-ne-phone__text img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.fs-ne-phone__text a {
  color: var(--fs-primary-700);
}

.fs-ne-phone__text .is-empty {
  color: var(--fs-grey-500);
}

.fs-ne-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 16px 18px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.3;
}

/* 176:67 */
.fs-ne-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.fs-ne-meta dt {
  font-weight: 400;
  color: var(--fs-text);
}

.fs-ne-meta dd {
  margin: 0;
  color: var(--fs-ink);
  text-align: right;
}

/* ⛔ PENDING E8 — responsive (not designed) */
@media (max-width: 1279px) {
  .fs-ne-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-ne-aside {
    position: static;
  }
}

@media (max-width: 767px) {
  .fs-ne-sec {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }

  .fs-ne-sec__label {
    flex-basis: auto;
    width: auto;
  }

  .fs-ne-foot {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
  }
}

/* =====================================================================
   33 — Ads & Campaigns · All campaigns grid (Figma 209:2 · content 209:167)
   Requires 02 tokens, 06 §5.1 (.fs-report), 11 §5.1 (.fs-rt-flash), 19/28 (.fs-sr-only)
   ===================================================================== */
.fs-ac-actions {
  gap: 8px;
}

/* 209:175 */
.fs-ac-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  text-decoration: none;
  white-space: nowrap;
}

/* 209:711 */
.fs-ac-btn-ghost:hover {
  border-color: var(--fs-grey-500);
}

/* ⛔ PENDING C10 */

/* New campaign — 209:713 + menu 218:7427 */
.fs-ac-new {
  position: relative;
}

.fs-ac-new__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--fs-primary-700);
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-white);
  white-space: nowrap;
  cursor: pointer;
}

.fs-ac-new__btn .fs-icon {
  color: var(--fs-white);
}

.fs-ac-new__sep {
  align-self: stretch;
  width: 1px;
  background: rgba(255, 255, 255, .35);
}

/* 217:7416 — verify in Dev Mode */
.fs-ac-new__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--fs-primary-300);
}

.fs-ac-menu {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  z-index: 30;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 253px;
  padding: 6px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, .08);
}

.fs-ac-menu[hidden] {
  display: none;
}

.fs-ac-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
  text-decoration: none;
  outline: none;
}

.fs-ac-menu a .fs-icon {
  color: var(--fs-grey-500);
}

.fs-ac-menu a:hover,
.fs-ac-menu a:focus-visible {
  background: var(--fs-canvas);
  color: var(--fs-ink);
}

/* 218:7430 */
.fs-ac-menu a:hover .fs-icon,
.fs-ac-menu a:focus-visible .fs-icon {
  color: var(--fs-text);
}

/* Stats — 210:2 (4 × 1fr, gap 12; card r 14, p 16/18, gap 6) */
.fs-ac-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fs-ac-stat {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 16px 18px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 14px;
}

.fs-ac-stat p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-ac-stat__label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  color: var(--fs-text);
}

.fs-ac-stat__value {
  font-family: var(--fs-mono);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--fs-ink);
}

.fs-ac-stat__value.is-teal {
  color: var(--fs-primary-700);
}

.fs-ac-stat__value.is-empty {
  color: var(--fs-grey-500);
}

.fs-ac-stat__note {
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ac-stat.is-muted .fs-ac-stat__value {
  color: var(--fs-text);
}

/* 210:11 */

/* Campaigns card — 210:19 */
.fs-ac-card {
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
}

.fs-ac-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-ac-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fs-ac-search {
  display: block;
  width: 280px;
  max-width: 100%;
  margin: 0;
}

.fs-ac-search input {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-family: var(--fs-font);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
  -webkit-appearance: none;
}

.fs-ac-search input::placeholder {
  color: var(--fs-text);
  opacity: 1;
}

.fs-ac-search input:focus {
  border-color: var(--fs-primary-500);
  background: var(--fs-white);
}

/* Custom Popover Dropdown Components — 210:20 & 210:328 */
.fs-ac-chipwrap,
.fs-ac-rowswrap {
  position: relative !important;
  display: inline-flex !important;
}

.fs-ac-chip,
.fs-ac-pill {
  position: relative;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between;
  gap: 8px;
  height: 36px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fs-ac-chip:hover,
.fs-ac-pill:hover {
  border-color: var(--fs-grey-500);
}

.fs-ac-chip[aria-expanded="true"],
.fs-ac-pill[aria-expanded="true"],
.fs-ac-chip:focus-visible,
.fs-ac-pill:focus-visible,
.fs-ac-chip:active,
.fs-ac-pill:active {
  border-color: var(--fs-primary-500);
  box-shadow: 0 0 0 3.5px #E4F5F6 !important;
  outline: none !important;
}

.fs-ac-chip .fs-rt-select__arrow,
.fs-ac-pill .fs-rt-select__arrow,
.fs-ac-rows__btn .fs-rt-select__arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 6px;
  transition: transform 0.15s ease;
}

.fs-ac-chip[aria-expanded="true"] .fs-rt-select__arrow,
.fs-ac-pill[aria-expanded="true"] .fs-rt-select__arrow,
.fs-ac-rows__btn[aria-expanded="true"] .fs-rt-select__arrow {
  transform: rotate(180deg);
}

.fs-ac-rows__btn {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
  margin: 0;
  padding: 4px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.fs-ac-rows__btn[aria-expanded="true"],
.fs-ac-rows__btn:focus-visible {
  border-color: var(--fs-primary-500);
}

.fs-ac-popmenu {
  position: absolute !important;
  z-index: 1050 !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: auto !important;
  min-width: 160px;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
  padding: 6px !important;
  background: var(--fs-white) !important;
  border: 1px solid var(--fs-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
  text-align: left;
  white-space: nowrap;
}

.fs-ac-popmenu[hidden] {
  display: none !important;
}

.fs-ac-rowsmenu {
  bottom: calc(100% + 6px) !important;
  top: auto !important;
  left: 0 !important;
  right: auto !important;
  width: 80px !important;
  min-width: 80px !important;
  max-width: 80px !important;
}

.fs-ac-popmenu__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.fs-ac-popmenu__item {
  box-sizing: border-box;
  display: block !important;
  width: 100% !important;
  padding: 8px 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  font-family: var(--fs-font) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  color: var(--fs-ink) !important;
  text-align: left !important;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.fs-ac-popmenu__item:hover,
.fs-ac-popmenu__item.is-selected {
  background: var(--fs-canvas) !important;
  font-weight: 500 !important;
}

/* Type tabs — 210:21 */
.fs-ac-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  border-radius: 999px;
}

.fs-ac-tabs label {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.fs-ac-tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fs-ac-tabs span {
  display: block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-ac-tabs input:checked+span {
  background: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-ac-tabs input:focus-visible+span {
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

/* Creative grid — 210:39 (3 columns, p 20, gap 16) */
.fs-ac-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
}

.fs-ac-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 14px;
}

.fs-ac-item[hidden],
.fs-ac-empty[hidden] {
  display: none;
}

.fs-ac-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  background: var(--fs-canvas);
  overflow: hidden;
}

/* 210:41 */
.fs-ac-thumb--video {
  background: #E4F5F6;
}

/* 210:137 */
.fs-ac-thumb__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.fs-ac-thumb__type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--fs-text);
}

.fs-ac-thumb__type i {
  font-size: 26px;
  line-height: 1;
}

.fs-ac-thumb--swipe .fs-ac-thumb__type {
  color: var(--fs-primary-700);
}

.fs-ac-thumb--video .fs-ac-thumb__type {
  color: var(--fs-primary-900);
}

.fs-ac-status-group {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fs-ac-status {
  padding: 3px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
}

/* Scheduled 210:269 */
.fs-ac-status--running {
  background: #E4F5F6;
  border-color: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

/* 210:45 */
.fs-ac-status--expired {
  background: #FDF1F0;
  border-color: #F3C7C3;
  color: #C2413A;
}

/* 210:77 */
.fs-ac-status--disabled {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #64748B;
}

.fs-ac-nonstop {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid #7DD3FC;
  border-radius: 999px;
  background: #E0F2FE;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: #0369A1;
}

.fs-ac-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
}

/* 210:47 */
.fs-ac-id {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fs-ac-id__name {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-ac-id__sub {
  margin: 0;
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-ac-id__link {
  color: var(--fs-primary-700);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.fs-ac-id__link:hover {
  text-decoration: underline;
  color: var(--fs-primary-900);
}

.fs-ac-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
}

/* 210:51 */
.fs-ac-meta div {
  display: flex;
  gap: 10px;
  min-width: 0;
}

.fs-ac-meta dt {
  flex: 0 0 70px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-ac-meta dd {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--fs-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-ac-meta dd.is-mono {
  font-family: var(--fs-mono);
}

.fs-ac-item__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--fs-line);
}

/* 210:64 */
.fs-ac-edit,
.fs-ac-report {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
}

.fs-ac-edit {
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-ac-report {
  font-weight: 400;
  color: var(--fs-text);
}

.fs-ac-del {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
  text-decoration: none;
}

.fs-ac-edit:hover,
.fs-ac-report:hover,
.fs-ac-del:hover {
  border-color: var(--fs-grey-500);
}

/* ⛔ PENDING C10 */
.fs-ac-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  color: var(--fs-text);
}

/* Footer — 210:328 */
.fs-ac-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-top: 1px solid var(--fs-line);
}

.fs-ac-foot__left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-ac-rows {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 3px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  color: var(--fs-ink);
  cursor: pointer;
}

.fs-ac-pages {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fs-ac-page {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
}

.fs-ac-page[disabled] {
  color: var(--fs-grey-500);
  cursor: default;
}

/* 210:331 */
.fs-ac-page.is-current {
  border-color: var(--fs-primary-700);
  background: var(--fs-primary-700);
  font-weight: 500;
  color: var(--fs-white);
}

/* 210:333 */
.fs-ac-page__gap {
  font-size: 13px;
  color: var(--fs-grey-500);
}

/* ⛔ PENDING C11 — responsive (not designed) */
@media (max-width: 1279px) {
  .fs-ac-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fs-ac-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .fs-pagehead:has(.fs-ac-actions) {
    flex-direction: column;
    align-items: flex-start;
  }

  .fs-ac-stats,
  .fs-ac-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-ac-grid {
    padding: 16px;
  }

  .fs-ac-search {
    width: 100%;
  }

  .fs-ac-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =====================================================================
   UNIFIED PAGINATION STYLING — Image 1 Standard (media_1790493785029.png)
   ===================================================================== */
.fs-pages,
.fs-ac-pages,
.fs-bk-pages,
.dataTables_wrapper .dataTables_paginate,
.fs-news-card .dataTables_paginate,
.fs-vc-card .dataTables_paginate,
.fs-vl-card .dataTables_paginate,
.fs-fm-card .dataTables_paginate {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

.dataTables_wrapper .dataTables_paginate>span,
.fs-news-card .dataTables_paginate>span,
.fs-vc-card .dataTables_paginate>span,
.fs-vl-card .dataTables_paginate>span,
.fs-fm-card .dataTables_paginate>span {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.fs-page-pill,
.fs-ac-page,
.fs-bk-page,
.dataTables_wrapper .dataTables_paginate .paginate_button,
.fs-news-card .dataTables_paginate .paginate_button,
.fs-vc-card .dataTables_paginate .paginate_button,
.fs-vl-card .dataTables_paginate .paginate_button,
.fs-fm-card .dataTables_paginate .paginate_button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 10px !important;
  margin: 0 !important;
  border: 1px solid var(--fs-line, #E2E8F0) !important;
  border-radius: 10px !important;
  background: var(--fs-white, #FFFFFF) !important;
  font-family: var(--fs-font) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: var(--fs-ink, #334155) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.15s ease-in-out !important;
}

.fs-page-pill:not(.is-active):not(.is-disabled):hover,
.fs-ac-page:not(.is-current):not([disabled]):hover,
.fs-bk-page:not(.is-current):not([disabled]):hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:not(.current):not(.disabled):hover {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}

.fs-page-pill.is-active,
.fs-ac-page.is-current,
.fs-bk-page.is-current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.fs-news-card .dataTables_paginate .paginate_button.current,
.fs-vc-card .dataTables_paginate .paginate_button.current,
.fs-vl-card .dataTables_paginate .paginate_button.current,
.fs-fm-card .dataTables_paginate .paginate_button.current {
  border-color: #0F5C5C !important;
  background: #0F5C5C !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px -2px rgba(15, 92, 92, 0.35) !important;
}

.fs-page-pill.is-disabled,
.fs-ac-page[disabled],
.fs-bk-page[disabled],
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.fs-news-card .dataTables_paginate .paginate_button.disabled,
.fs-vc-card .dataTables_paginate .paginate_button.disabled,
.fs-vl-card .dataTables_paginate .paginate_button.disabled,
.fs-fm-card .dataTables_paginate .paginate_button.disabled {
  opacity: 0.5 !important;
  cursor: default !important;
  background: #FFFFFF !important;
  border-color: #F1F5F9 !important;
  color: #CBD5E1 !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

.dataTables_wrapper .dataTables_paginate .ellipsis,
.fs-news-card .dataTables_paginate .ellipsis,
.fs-vc-card .dataTables_paginate .ellipsis,
.fs-vl-card .dataTables_paginate .ellipsis,
.fs-fm-card .dataTables_paginate .ellipsis,
.fs-ac-page__gap {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 4px !important;
  margin: 0 2px !important;
  border: 0 !important;
  background: transparent !important;
  font-family: var(--fs-font) !important;
  font-size: 14px !important;
  color: #94A3B8 !important;
  cursor: default !important;
}

/* =====================================================================
   34 — Ads & Campaigns · New / Edit image campaign (Figma 209:715 · content 209:880)
   Requires 02 tokens, 06 §5.1 (.fs-report), 11 §5.1 (.fs-rt-flash), 19/28 (.fs-sr-only)
   ===================================================================== */
.fs-ce-actions {
  gap: 8px;
}

/* 209:888 */
.fs-ce-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  text-decoration: none;
}

.fs-ce-btn-save {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--fs-primary-700);
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-white);
  cursor: pointer;
}

.fs-ce-btn-save:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--fs-primary-300);
}

.fs-ce-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: start;
}

/* 212:2 */
.fs-ce-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  margin: 0;
}

.fs-ce-error {
  margin: 0;
  padding: 12px 16px;
  background: #FDF1F0;
  border: 1px solid #F3C7C3;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #9B2C24;
}

/* ⛔ PENDING K7 */
.fs-ce-error[hidden] {
  display: none;
}

/* Section card — 212:4 (p 22/24, gap 18, r 16) */
.fs-ce-sec {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 24px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
}

.fs-ce-sec__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.3;
}

.fs-ce-sec__head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ce-sec__head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ce-sec__head>span {
  font-family: var(--fs-mono);
  font-size: 11px;
  color: var(--fs-text);
}

.fs-ce-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fs-ce-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fs-ce-label {
  display: inline-flex;
  gap: 3px;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ce-label b {
  font-weight: 500;
  color: var(--fs-primary-700);
}

.fs-ce-sublabel {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
}

/* START DATE & TIME, BUTTON LABEL */
.fs-ce-help {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ce-fieldhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.fs-ce-fieldhead+* {
  margin-top: 2px;
}

/* head → control gap 8 */
.fs-ce-hint {
  font-size: 11px;
  line-height: 1.3;
  color: var(--fs-grey-500);
}

.fs-ce-link {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-700);
  cursor: pointer;
}

/* Inputs — 44 h r 12 (main) · 40 h r 10 (inside grey boxes) */
.fs-ce-input {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 14px;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
}

.fs-ce-input::placeholder {
  color: var(--fs-grey-500);
  opacity: 1;
}

.fs-ce-input:focus {
  border-color: var(--fs-primary-500);
}

/* 212:29 */
.fs-ce-input--sm {
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
}

.fs-ce-mono {
  font-family: var(--fs-mono);
}

.fs-ce-input--sm.fs-ce-mono[name="ads_special_button_link"] {
  font-size: 12px;
}

/* 212:95 */
.fs-ce-select {
  position: relative;
  display: block;
}

.fs-ce-select.fs-rt-select {
  display: block;
  width: 100%;
  position: relative;
}

.fs-ce-select.fs-rt-select select {
  display: none !important;
}

.fs-ce-select.fs-rt-select .fs-rt-select__btn {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 14px;
  color: var(--fs-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fs-ce-select.fs-rt-select:has(.fs-ce-input--sm) .fs-rt-select__btn {
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
}

.fs-ce-select.fs-rt-select .fs-rt-select__val {
  flex: 1 1 auto;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-ce-select.fs-rt-select .fs-rt-select__arrow {
  flex: 0 0 10px;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.fs-ce-select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.fs-ce-select select:has(option[value=""]:checked) {
  color: var(--fs-grey-500);
}

.fs-ce-select .fs-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--fs-grey-500);
  pointer-events: none;
}

.fs-ce-iconinput {
  position: relative;
  display: block;
}

.fs-ce-iconinput i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--fs-text);
  pointer-events: none;
}

.fs-ce-iconinput .fs-ce-input {
  padding-left: 38px;
  font-size: 13px;
}

/* 212:75 */

/* Grey sub-box: Runtime 212:32 · CTA 212:77 (#F9F9F9, r 14, p 16/18, gap 14) */
.fs-ce-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px;
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  border-radius: 14px;
}

.fs-ce-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fs-ce-box__title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ce-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fs-ce-box.is-nonstop .fs-ce-expiry,
.fs-ce-box.is-off .fs-ce-row {
  opacity: .45;
}

/* ⛔ PENDING K4 */

/* Toggle — 36 × 20, knob 16 (SVG in Figma — verify colours in Dev Mode) */
.fs-ce-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
}

.fs-ce-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.fs-ce-toggle__track {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: var(--fs-grey-500);
  transition: background .15s;
}

.fs-ce-toggle__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--fs-white);
  transition: transform .15s;
}

.fs-ce-toggle input:checked+.fs-ce-toggle__track {
  background: var(--fs-primary-700);
}

.fs-ce-toggle input:checked+.fs-ce-toggle__track::after {
  transform: translateX(16px);
}

.fs-ce-toggle input:focus-visible+.fs-ce-toggle__track {
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

.fs-ce-toggle__text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ce-toggle input:checked~.fs-ce-toggle__text {
  color: var(--fs-primary-700);
}

/* 212:81 */

/* Creative row — 212:60 (thumb 150 + dropzone, gap 16) */
.fs-ce-creative {
  display: flex;
  gap: 16px;
}

.fs-ce-thumb {
  position: relative;
  flex: 0 0 150px;
  width: 150px;
  height: 150px;
  overflow: hidden;
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  border-radius: 14px;
  box-sizing: border-box;
}

.fs-ce-thumb img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fs-ce-thumb.has-img img {
  display: block;
}

.fs-ce-thumb__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.6px;
  color: var(--fs-text);
}

.fs-ce-thumb__empty i {
  font-size: 22px;
  line-height: 1;
}

.fs-ce-thumb.has-img .fs-ce-thumb__empty {
  display: none;
}

.fs-ce-drop {
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 10px 20px;
  background: var(--fs-canvas);
  border: 1px dashed #C4C4C4;
  border-radius: 14px;
  text-align: center;
  cursor: pointer;
}

/* 212:64 */
.fs-ce-drop.is-over,
.fs-ce-drop:focus-within {
  border-color: var(--fs-primary-500);
  background: #E4F5F6;
}

/* ⛔ PENDING K5 */
.fs-ce-drop>* {
  flex-shrink: 0;
}

.fs-ce-drop__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 16px;
  line-height: 1;
  color: var(--fs-primary-700);
}

.fs-ce-drop__title {
  max-width: 100%;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-ce-drop__hint {
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ce-drop__hint.is-error {
  color: #C2413A;
}

.fs-ce-drop__btn {
  padding: 7px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

/* Gender radios — 212:107 (44 h row, gap 12) */
.fs-ce-radios {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 14px;
  flex-wrap: wrap;
}

.fs-ce-radios label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
  white-space: nowrap;
}

.fs-ce-radios input {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1.5px solid var(--fs-text);
  border-radius: 50%;
  background: var(--fs-white);
  cursor: pointer;
}

.fs-ce-radios input:checked {
  border-color: var(--fs-primary-700);
  box-shadow: inset 0 0 0 3px var(--fs-white);
  background: var(--fs-primary-700);
}

/* Material radio icons — verify in Dev Mode */
.fs-ce-radios input:focus-visible {
  outline: 2px solid var(--fs-primary-300);
  outline-offset: 2px;
}

/* Age chips — 212:119 */
.fs-ce-field:has(.fs-ce-chips) {
  gap: 8px;
}

.fs-ce-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fs-ce-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
}

.fs-ce-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.fs-ce-chip__box {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border: 1px solid #C4C4C4;
  border-radius: 4px;
  background: var(--fs-white);
  font-size: 10px;
  line-height: 1;
  color: transparent;
}

.fs-ce-chip:has(input:checked) {
  background: #E4F5F6;
  border-color: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

.fs-ce-chip:has(input:checked) .fs-ce-chip__box {
  background: var(--fs-primary-700);
  border-color: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-ce-chip:has(input:focus-visible) {
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

/* Days — 212:143 (7 × 1fr, gap 6, r 10, py 10, Geist Mono 13/500) */
.fs-ce-field:has(.fs-ce-days),
.fs-ce-field:has(.fs-ce-window),
.fs-ce-field:has(.fs-ce-list) {
  gap: 8px;
}

.fs-ce-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.fs-ce-days label {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.fs-ce-days input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.fs-ce-days span {
  display: block;
  padding: 10px 0;
  border: 1px solid var(--fs-line);
  border-radius: 10px;
  background: var(--fs-white);
  text-align: center;
  font-family: var(--fs-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

/* off state ⛔ PENDING K8 */
.fs-ce-days input:checked+span {
  background: var(--fs-primary-700);
  border-color: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-ce-days input:focus-visible+span {
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

/* Daily window — 212:162 */
.fs-ce-window {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-ce-window .fs-ce-input {
  flex: 1 1 0;
  text-align: center;
}

.fs-ce-window span {
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

/* Multi-select lists — 212:175 / 212:190 (4 rows visible, then scroll) */
.fs-ce-list {
  box-sizing: border-box;
  max-height: 145px;
  overflow-y: auto;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  background: var(--fs-white);
}

.fs-ce-list label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 12px;
  border-bottom: 1px solid #F0F0F0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
}

.fs-ce-list label:last-child {
  border-bottom: 0;
}

.fs-ce-list input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.fs-ce-list__box {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1px solid #C4C4C4;
  border-radius: 4px;
  background: var(--fs-white);
  font-size: 10px;
  line-height: 1;
  color: transparent;
  transition: all 0.15s ease;
}

.fs-ce-list label:has(input:checked) {
  background: #E4F5F6;
  font-weight: 500;
  color: var(--fs-primary-900);
}

.fs-ce-list label:has(input:checked) .fs-ce-list__box {
  background: var(--fs-primary-700);
  border-color: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-ce-list label:has(input:focus-visible) {
  box-shadow: inset 0 0 0 2px var(--fs-primary-300);
}

.fs-ce-list__text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-ce-list__empty {
  margin: 0;
  padding: 12px;
  font-size: 13px;
  color: var(--fs-text);
}

/* Preview — 212:199 (380, sticky) */
.fs-ce-aside {
  position: sticky;
  top: 74px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.fs-ce-aside__label,
.fs-ce-summary__label {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  color: var(--fs-text);
}

.fs-ce-phone {
  align-self: center;
  width: 300px;
  overflow: hidden;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 28px;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .08);
}

.fs-ce-phone__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 18px 16px;
  background: var(--fs-primary-700);
}

.fs-ce-phone__mark {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--fs-white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/* SVG in Figma — verify */
.fs-ce-phone__brand {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.96px;
  color: var(--fs-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-ce-phone__tag {
  font-size: 11px;
  line-height: 1.3;
  color: var(--fs-primary-300);
}

.fs-ce-phone__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--fs-canvas);
}

.fs-ce-phone__timer {
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--fs-ink);
  font-family: var(--fs-mono);
  font-size: 11px;
  line-height: 1.3;
  color: var(--fs-white);
}

.fs-ce-phone__art {
  position: relative;
  box-sizing: border-box;
  width: 268px;
  height: 268px;
  overflow: hidden;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 14px;
}

.fs-ce-phone__art img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fs-ce-phone__art.has-img img {
  display: block;
}

.fs-ce-phone__empty {
  position: absolute;
  inset: 0 0 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.fs-ce-phone__empty i {
  font-size: 24px;
  line-height: 1;
  color: #C4C4C4;
}

.fs-ce-phone__empty b {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #C4C4C4;
}

.fs-ce-phone__empty small {
  font-size: 11px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ce-phone__art.has-img .fs-ce-phone__empty {
  display: none;
}

.fs-ce-phone__cta {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 11px;
  padding: 9px 0;
  border-radius: 10px;
  background: var(--fs-primary-700);
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-white);
}

.fs-ce-phone__cta[hidden] {
  display: none;
}

.fs-ce-phone__connect {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 0;
  border: 1px solid var(--fs-line);
  border-radius: 10px;
  background: var(--fs-white);
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-700);
}

.fs-ce-summary {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 18px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
}

.fs-ce-summary dl {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
}

.fs-ce-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  line-height: 1.3;
}

.fs-ce-summary dt {
  font-weight: 400;
  color: var(--fs-text);
}

.fs-ce-summary dd {
  margin: 0;
  text-align: right;
  color: var(--fs-ink);
}

/* ⛔ PENDING K10 — responsive (not designed) */
@media (max-width: 1279px) {
  .fs-ce-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-ce-aside {
    position: static;
  }
}

@media (max-width: 767px) {
  .fs-pagehead:has(.fs-ce-actions) {
    flex-direction: column;
    align-items: flex-start;
  }

  .fs-ce-sec {
    padding: 18px 16px;
  }

  .fs-ce-row,
  .fs-ce-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-ce-creative {
    flex-direction: column;
  }

  .fs-ce-radios {
    height: auto;
    padding: 8px 0;
  }
}

/* Audience reach projection — 224:2 (image) · 224:23 (video) · 224:44 (carousel) — shared by specs 34/36/37 */
.fs-ce-reach {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
}

.fs-ce-reach__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fs-ce-reach__title {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  color: var(--fs-text);
}

.fs-ce-reach__pill {
  padding: 3px 9px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-family: var(--fs-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

/* Medium / no data — 224:5 */
.fs-ce-reach__pill.is-high {
  background: #E4F5F6;
  border-color: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

/* High — 224:26 */
.fs-ce-reach__tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fs-ce-reach__tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 11px 12px;
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  border-radius: 12px;
}

/* 224:8 */
.fs-ce-reach__label {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.4px;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-ce-reach__tile b {
  font-family: var(--fs-mono);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--fs-ink);
}

.fs-ce-reach__tile b.is-teal {
  color: var(--fs-primary-700);
}

.fs-ce-reach__tile small {
  font-size: 11px;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-ce-reach__bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-ce-reach__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  line-height: 1.3;
}

.fs-ce-reach__row span {
  color: var(--fs-ink);
}

.fs-ce-reach__row b {
  font-weight: 500;
  color: var(--fs-primary-700);
  white-space: nowrap;
}

.fs-ce-reach__track {
  position: relative;
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #F0EEE9;
}

/* 224:20 */
.fs-ce-reach__track span {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--fs-primary-700);
  transition: width .2s;
}

.fs-ce-reach__foot {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--fs-text);
}

/* =====================================================================
   35 — Ads & Campaigns · Expired campaigns (Figma 209:2854 · content 209:3019)
   Requires 02 tokens, 06 §5.1 (.fs-report), 11 §5.1 (.fs-rt-flash), 19/28 (.fs-sr-only)
   ===================================================================== */
.fs-ax-actions {
  gap: 8px;
}

/* 209:3027 */
.fs-ax-btn-ghost,
.fs-ax-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  line-height: 1.3;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.fs-ax-btn-ghost {
  padding: 10px 18px;
  border: 1px solid var(--fs-line);
  background: var(--fs-white);
  font-size: 13px;
  color: var(--fs-ink);
}

.fs-ax-btn-primary {
  padding: 10px 22px;
  background: var(--fs-primary-700);
  font-size: 14px;
  color: var(--fs-white);
}

.fs-ax-btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--fs-primary-300);
}

/* Stats — 215:2 (3 × 1fr, gap 12; card r 14, p 16/18, gap 6) */
.fs-ax-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fs-ax-stat {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 16px 18px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 14px;
}

.fs-ax-stat p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-ax-stat__label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  color: var(--fs-text);
}

.fs-ax-stat__value {
  font-family: var(--fs-mono);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--fs-ink);
}

.fs-ax-stat__note {
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ax-stat.is-muted .fs-ax-stat__value {
  color: var(--fs-text);
}

/* 215:7 */

/* List card — 215:15 */
.fs-ax-card {
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
}

.fs-ax-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-ax-toolbar__title h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ax-toolbar__title p {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ax-toolbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fs-ax-total {
  padding: 5px 12px;
  border: 1px solid var(--fs-primary-300);
  border-radius: 999px;
  background: #E4F5F6;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-900);
}

/* 215:21 */
.fs-ax-pill {
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
}

/* 215:23 */
.fs-ax-pill .fs-icon {
  color: var(--fs-grey-500);
}

.fs-ax-pill:focus-within {
  border-color: var(--fs-primary-500);
}

.fs-ax-pill select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 13px;
}

/* Table — 215:26 (px 20, gap 14 · CAMPAIGN 327 · FORMAT 96 · SCHEDULE 203 · AUDIENCE 234 · ROUTER 155 · ACTIONS 300) */
.fs-ax-scroll {
  overflow-x: auto;
}

.fs-ax-table {
  width: 100%;
  min-width: 1385px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--fs-font);
}

.fs-ax-table th:nth-child(1) {
  width: 361px;
}

/* 20 + 327 + 14 */
.fs-ax-table th:nth-child(2) {
  width: 110px;
}

.fs-ax-table th:nth-child(3) {
  width: 217px;
}

.fs-ax-table th:nth-child(4) {
  width: 248px;
}

.fs-ax-table th:nth-child(6) {
  width: 324px;
}

/* 300 + 20 pad + room for wider fonts; ROUTER takes the rest (≈155) */
.fs-ax-table th,
.fs-ax-table td {
  box-sizing: border-box;
  padding: 0 14px 0 0;
  border: 0;
  text-align: left;
  vertical-align: middle;
}

.fs-ax-table th:first-child,
.fs-ax-table td:first-child {
  padding-left: 20px;
}

.fs-ax-table th:last-child,
.fs-ax-table td:last-child {
  padding-right: 20px;
}

.fs-ax-table .is-right {
  text-align: right;
}

.fs-ax-table thead th {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--fs-line);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-ax-table tbody td {
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-ax-table tbody tr[hidden] {
  display: none;
}

.fs-ax-camp {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.fs-ax-thumb {
  box-sizing: border-box;
  flex: 0 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 72px;
  height: 50px;
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  border-radius: 10px;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.54px;
  color: var(--fs-text);
}

/* 215:41 */
.fs-ax-thumb i {
  font-size: 14px;
  line-height: 1;
}

.fs-ax-thumb--swipe {
  color: var(--fs-primary-700);
}

.fs-ax-thumb--video {
  background: #E4F5F6;
  color: var(--fs-primary-900);
}

.fs-ax-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.3;
}

.fs-ax-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--fs-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-ax-mono {
  font-family: var(--fs-mono);
  font-size: 12px;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-ax-main {
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

.fs-ax-sub {
  font-size: 12px;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-ax-ellipsis {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-ax-format {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

/* 215:48 */
.fs-ax-row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.fs-ax-act {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  text-decoration: none;
  white-space: nowrap;
}

.fs-ax-act--edit {
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-ax-act--enable {
  background: #E4F5F6;
  border-color: var(--fs-primary-300);
  font-weight: 500;
  color: var(--fs-primary-900);
}

/* 215:65 */
.fs-ax-del {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
  text-decoration: none;
}

.fs-ax-act:hover,
.fs-ax-del:hover {
  border-color: var(--fs-grey-500);
}

/* ⛔ PENDING X14 */
.fs-ax-empty td {
  padding: 32px 20px !important;
  text-align: center;
  font-size: 13px;
  color: var(--fs-text);
}

/* Footer — 215:159 */
.fs-ax-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 20px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

/* ⛔ PENDING X14 — responsive (not designed) */
@media (max-width: 1023px) {
  .fs-ax-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .fs-pagehead:has(.fs-ax-actions) {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =====================================================================
   36 — Ads & Campaigns · New / Edit video campaign (Figma 209:1428 · content 209:1593)
   Requires spec 34 §5 (.fs-ce-*). Only the video-specific parts are below.
   ===================================================================== */
.fs-cv-titlerow {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 213:2 */
.fs-cv-badge {
  padding: 3px 10px;
  border: 1px solid var(--fs-primary-300);
  border-radius: 999px;
  background: #E4F5F6;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-900);
  white-space: nowrap;
}

/* Video dropzone — 213:63 (dashed, p 20/22, gap 20) */
.fs-cv-drop {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 20px 22px;
  background: var(--fs-canvas);
  border: 1px dashed #C4C4C4;
  border-radius: 14px;
  cursor: pointer;
}

.fs-cv-drop.is-over,
.fs-cv-drop:focus-within {
  border-color: var(--fs-primary-500);
  background: #E4F5F6;
}

/* ⛔ PENDING V5 */
.fs-cv-drop.is-locked {
  border-style: solid;
  border-color: var(--fs-line);
  cursor: default;
}

/* ⛔ PENDING V3 */
.fs-cv-drop__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.fs-cv-drop__text .fs-ce-drop__title,
.fs-cv-drop__text .fs-ce-drop__hint {
  text-align: left;
  white-space: normal;
}

.fs-cv-thumb {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 98px;
  width: 98px;
  height: 174px;
  overflow: hidden;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 12px;
}

/* 213:64 */
.fs-cv-thumb video {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.fs-cv-thumb.has-video video {
  display: block;
}

.fs-cv-thumb__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.54px;
  color: var(--fs-text);
}

.fs-cv-thumb__empty i {
  font-size: 20px;
  line-height: 1;
  color: var(--fs-primary-700);
}

.fs-cv-thumb.has-video .fs-cv-thumb__empty {
  display: none;
}

.fs-cv-pick {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fs-cv-file {
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: #C4C4C4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
}

/* Note — 213:74 */
.fs-cv-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-cv-note i {
  font-size: 12px;
  line-height: 1.3;
}

/* Mandatory play — 213:77 */
.fs-cv-mandatory {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.fs-cv-mandatory__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.fs-cv-mandatory__text b {
  font-size: 13px;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-cv-mandatory__text small {
  font-size: 12px;
  color: var(--fs-text);
}

.fs-cv .fs-ce-select.is-ignored select {
  color: #C4C4C4;
}

/* ⛔ PENDING V4 */

/* CTA disabled look — 213:91 (inputs grey text instead of dimming the row) */
.fs-cv .fs-ce-box.is-off .fs-ce-row {
  opacity: 1;
}

.fs-cv .fs-ce-box.is-off .fs-ce-input {
  color: #C4C4C4;
}

/* Phone screen 9:16 — 213:228 (268 × 476) */
.fs-cv-screen {
  position: relative;
  box-sizing: border-box;
  width: 268px;
  height: 476px;
  overflow: hidden;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 14px;
}

.fs-cv-screen video {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.fs-cv-screen.has-video video {
  display: block;
}

.fs-cv-screen__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.fs-cv-screen__empty b {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #C4C4C4;
}

.fs-cv-screen__empty small {
  font-size: 11px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-cv-screen.has-video .fs-cv-screen__empty {
  display: none;
}

.fs-cv-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--fs-primary-300);
  border-radius: 999px;
  background: #E4F5F6;
  font-size: 16px;
  color: var(--fs-primary-900);
}

.fs-cv-skip {
  position: absolute;
  top: 11px;
  right: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--fs-canvas);
  font-family: var(--fs-mono);
  font-size: 10px;
  line-height: 1.3;
  color: var(--fs-text);
}

/* 213:234 */
.fs-cv-progress {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 12px;
  height: 3px;
  border-radius: 999px;
  background: var(--fs-line);
}

.fs-cv-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--fs-primary-700);
}

/* static in the preview */
.fs-cv-cta {
  bottom: 26px;
}

/* ⛔ PENDING V6 — not shown in Figma (CTA off) */
.fs-ce-phone__connect.is-waiting {
  background: var(--fs-canvas);
  color: #C4C4C4;
}

/* 213:238 */

@media (max-width: 767px) {

  /* ⛔ PENDING — see spec 34 K10 */
  .fs-cv-drop {
    flex-direction: column;
    align-items: flex-start;
  }

  .fs-cv-titlerow {
    flex-wrap: wrap;
  }
}

/* =====================================================================
   37 — Ads & Campaigns · New / Edit carousel campaign (Figma 209:2141 · content 209:2306)
   Requires spec 34 §5 (.fs-ce-*) and spec 36 §5 (.fs-cv-titlerow, .fs-cv-badge, .fs-cv-note).
   ===================================================================== */
.fs-cs-sec {
  gap: 16px;
}

/* 214:57 */

/* Slide row — 214:63 (white, border, r 14, p 14/16, gap 16) · empty 214:91 (#F9F9F9) */
.fs-cs-slide {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  border-radius: 14px;
}

.fs-cs-slide.is-set {
  background: var(--fs-white);
}

.fs-cs-slide.is-error {
  border-color: #F3C7C3;
}

.fs-cs-num {
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--fs-line);
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-cs-slide.is-set .fs-cs-num {
  background: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-cs-thumb {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 12px;
}

.fs-cs-thumb img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fs-cs-thumb img[src] {
  display: block;
}

.fs-cs-thumb__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.fs-cs-thumb__empty i {
  font-size: 16px;
  line-height: 1;
  color: var(--fs-line);
}

.fs-cs-slide.is-set .fs-cs-thumb__empty i {
  color: var(--fs-text);
}

.fs-cs-thumb__empty em {
  font-style: normal;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.36px;
  color: #C4C4C4;
}

.fs-cs-thumb img[src]+.fs-cs-thumb__empty {
  display: none;
}

.fs-cs-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.3;
}

.fs-cs-text b {
  font-size: 13px;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-cs-slide.is-set .fs-cs-opt {
  display: none;
}

/* "· optional" / "· required" only on empty slots */
.fs-cs-file {
  font-family: var(--fs-mono);
  font-size: 12px;
  color: #C4C4C4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-cs-slide.is-set .fs-cs-file {
  color: var(--fs-text);
}

.fs-cs-slide.is-error .fs-cs-file {
  color: #C2413A;
}

.fs-cs-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-cs-pick {
  padding: 7px 14px;
  cursor: pointer;
  margin: 0;
}

/* Replace / Browse image — 214:73 */
.fs-cs-pick:focus-within,
.fs-cs-slide:focus-within .fs-cs-pick {
  border-color: var(--fs-primary-500);
}

.fs-cs-clear {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  line-height: 1;
  color: var(--fs-text);
  cursor: pointer;
}

/* 214:75 */
.fs-cs-clear[hidden] {
  display: none;
}

.fs-cs-warn {
  background: #FFF8EC;
  border-color: #F2DDB0;
  color: #8A5A00;
}

/* ⛔ PENDING S5 — until B2 */

/* Phone carousel — 214:249 */
.fs-cs-art {
  cursor: pointer;
  outline: none;
}

.fs-cs-art:focus-visible {
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

.fs-cs-art__empty {
  inset: 0 0 70px;
}

.fs-cs-art__empty b {
  color: var(--fs-ink);
}

.fs-cs-count {
  position: absolute;
  top: 11px;
  left: 11px;
  font-family: var(--fs-mono);
  font-size: 10px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ce-phone__art.has-img .fs-cs-count {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
}

.fs-cs-cta {
  bottom: 34px;
}

/* 214:259 — top 199 in a 268 box */
.fs-cs-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}

.fs-cs-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--fs-line);
  transition: width .15s;
}

.fs-cs-dots i.is-set {
  background: #C4C4C4;
}

.fs-cs-dots i.is-on {
  width: 18px;
  background: var(--fs-primary-700);
}

/* 214:256 */

@media (max-width: 767px) {

  /* ⛔ PENDING — see spec 34 K10 */
  .fs-cs-slide {
    flex-wrap: wrap;
  }

  .fs-cs-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* =====================================================================
   38 — Ads & Campaigns · Campaign detail (Figma 225:2 · content 225:163)
   Requires 02 tokens, 06 §5.1 (.fs-report), 19/28 (.fs-sr-only)
   ===================================================================== */
.fs-cd {
  --fs-cd-rule: #F0EEE9;
}

.fs-cd a {
  text-decoration: none;
}

/* Header — 225:164 (items end, space-between) */
.fs-cd-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.fs-cd-head__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fs-cd-back {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-700);
}

/* 225:616 */
.fs-cd-back:hover {
  color: var(--fs-primary-900);
}

.fs-cd-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

/* 225:617 */
.fs-cd-title h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--fs-ink);
  overflow-wrap: anywhere;
}

.fs-cd-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-cd-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fs-grey-500);
}

.fs-cd-status--running {
  background: #E4F5F6;
  border-color: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

/* 225:618 */
.fs-cd-status--running .fs-cd-status__dot {
  background: var(--fs-primary-700);
}

.fs-cd-status--expired {
  color: #C2413A;
}

/* D5 — spec 33 palette */
.fs-cd-status--expired .fs-cd-status__dot {
  background: #C2413A;
}

.fs-cd-type {
  padding: 4px 11px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  color: var(--fs-text);
  white-space: nowrap;
}

/* 225:621 */
.fs-cd-meta {
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

/* 225:170 */

/* Buttons — 225:171 */
.fs-cd-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fs-cd-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  cursor: pointer;
}

.fs-cd-btn:hover {
  border-color: var(--fs-grey-500);
  color: var(--fs-ink);
}

.fs-cd-btn:focus-visible,
.fs-cd-seg__item:focus-visible,
.fs-cd-file__open:focus-visible,
.fs-cd-back:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

.fs-cd-btn--muted {
  color: var(--fs-text);
}

/* 225:627 Disable */
.fs-cd-btn--primary {
  padding: 10px 20px;
  border-color: var(--fs-primary-700);
  background: var(--fs-primary-700);
  color: var(--fs-white);
}

/* 225:629 */
.fs-cd-btn--primary:hover {
  border-color: var(--fs-primary-900);
  background: var(--fs-primary-900);
  color: var(--fs-white);
}

.fs-cd-btn--icon {
  width: 38px;
  height: 38px;
  padding: 0;
  font-weight: 400;
  color: var(--fs-text);
}

/* 225:631 */
.fs-cd-btn--icon:hover {
  border-color: #F3C7C3;
  background: #FDF1F0;
  color: #9B2C24;
}

.fs-cd-btn--block {
  width: 100%;
}

/* 225:820 */

/* Layout — 225:633 (left fluid · right 396, gap 20) */
.fs-cd-body {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.fs-cd-main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fs-cd-side {
  flex: 0 0 396px;
  width: 396px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card — 16 radius, 22/24 padding */
.fs-cd-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  min-width: 0;
}

.fs-cd-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.fs-cd-card__head--end {
  align-items: flex-end;
}

.fs-cd-card__head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-cd-card__head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-cd-note {
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-cd-mono {
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-cd-empty {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-cd-main>.fs-cd-card:first-child {
  gap: 18px;
}

/* 225:636 */
.fs-cd-main>.fs-cd-card:last-child {
  gap: 14px;
}

/* 225:724 */
.fs-cd-side>.fs-cd-card:last-child {
  gap: 12px;
}

/* 225:772 */

/* Segmented control — 225:637 / 228:6 */
.fs-cd-seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
}

.fs-cd-seg__item {
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-cd-seg__item.is-on {
  background: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-cd-seg__item[aria-disabled="true"] {
  cursor: default;
}

button.fs-cd-seg__item {
  cursor: pointer;
}

button.fs-cd-seg__item:not(.is-on):hover {
  color: var(--fs-ink);
}

.fs-cd-seg--sm .fs-cd-seg__item {
  padding: 6px 13px;
  font-size: 12px;
}

/* Creative — 225:648 (splash 236 · files fluid, gap 22) */
.fs-cd-creative {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.fs-cd-splash {
  box-sizing: border-box;
  flex: 0 0 236px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px;
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  border-radius: 18px;
}

.fs-cd-splash figcaption {
  font-size: 11px;
  line-height: 1.3;
  color: var(--fs-text);
  text-align: center;
}

.fs-cd-art {
  box-sizing: border-box;
  position: relative;
  width: 206px;
  height: 340px;
  overflow: hidden;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 14px;
}

/* 225:650 */
.fs-cd-art__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

img.fs-cd-art__media {
  background: var(--fs-white);
}

.fs-cd-art__media[hidden],
.fs-cd-art__empty[hidden] {
  display: none;
}

.fs-cd-art__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* 225:651 */
.fs-cd-art__empty i {
  font-size: 34px;
  line-height: 1;
  color: var(--fs-text);
}

.fs-cd-art__empty span {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.66px;
  color: #C4C4C4;
}

.fs-cd-art__cta {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  max-width: 176px;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--fs-primary-700);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.48px;
  color: var(--fs-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 225:654 */
.fs-cd-dots {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.fs-cd-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(38, 38, 38, 0.15);
  cursor: pointer;
}

.fs-cd-dot.is-on {
  width: 16px;
  background: var(--fs-white);
}

.fs-cd-files {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 225:657 */
.fs-cd-file {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
}

/* 225:658 */
.fs-cd-file__icon {
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  border-radius: 10px;
  font-size: 14px;
  color: var(--fs-text);
}

.fs-cd-file__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.3;
}

.fs-cd-file__name {
  font-family: var(--fs-mono);
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-cd-file__meta {
  color: var(--fs-text);
}

.fs-cd-file__open {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-cd-file__open:hover {
  color: var(--fs-ink);
  border-color: var(--fs-grey-500);
}

.fs-cd-tiles {
  display: flex;
  gap: 12px;
}

/* 225:666 */
.fs-cd-tile {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  line-height: 1.3;
}

.fs-cd-tile__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.44px;
  color: var(--fs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-cd-tile__value {
  font-size: 13px;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-cd-tile__value.is-empty {
  color: var(--fs-text);
}

/* Delivery rules — 228:11 (2 columns, gap 28; row py 11, bottom rule #F0EEE9) */
.fs-cd-rules {
  display: flex;
  gap: 28px;
}

.fs-cd-rules__col {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

.fs-cd-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--fs-cd-rule);
  font-size: 13px;
  line-height: 1.3;
}

.fs-cd-rule dt {
  flex: 0 0 auto;
  margin: 0;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-cd-rule dd {
  min-width: 0;
  margin: 0;
  font-weight: 500;
  color: var(--fs-ink);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-cd-rule dd.is-on {
  color: var(--fs-primary-900);
}

/* 228:43 */
.fs-cd-rule dd.is-off {
  color: #C2413A;
}

.fs-cd-rule .is-field {
  display: none;
  font-family: var(--fs-mono);
  font-size: 12px;
  font-weight: 400;
}

#cd-rules.is-fields .fs-cd-rule .is-plain {
  display: none;
}

#cd-rules.is-fields .fs-cd-rule .is-field {
  display: inline;
}

/* Routers — 225:730 */
.fs-cd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fs-cd-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 14px;
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  box-sizing: border-box;
}

.fs-cd-chip__dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fs-primary-700);
}

.fs-cd-chip__id {
  font-family: var(--fs-mono);
  font-size: 11px;
  color: var(--fs-text);
}

/* Lifecycle — 225:747 / 225:753 */
.fs-cd-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-cd-track {
  position: relative;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--fs-cd-rule);
}

.fs-cd-track--thin {
  height: 6px;
}

.fs-cd-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 999px;
  background: var(--fs-primary-700);
}

.fs-cd-track--thin .fs-cd-fill {
  background: var(--fs-primary-500);
}

/* 225:801 */
.fs-cd-dates {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--fs-mono);
  font-size: 11px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-cd-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fs-cd-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 21px;
  line-height: 1.3;
}

.fs-cd-steps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fs-line);
}

.fs-cd-steps li.is-done::before {
  background: var(--fs-primary-700);
}

.fs-cd-steps b {
  font-size: 13px;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-cd-steps span {
  font-size: 12px;
  color: var(--fs-text);
}

/* Performance — 225:776 */
.fs-cd-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fs-cd-metric {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
}

.fs-cd-metric>span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-cd-metric__label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  color: var(--fs-text);
}

.fs-cd-metric__value {
  font-family: var(--fs-mono);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--fs-ink);
}

.fs-cd-metric__note {
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-cd-metric.is-muted .fs-cd-metric__value {
  color: var(--fs-grey-500);
}

.fs-cd-who {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

/* 225:794 */
.fs-cd-who__label {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.48px;
  color: var(--fs-text);
}

.fs-cd-band {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fs-cd-band__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-cd-band__pct {
  font-family: var(--fs-mono);
  color: var(--fs-text);
}

/* Not found */
.fs-cd-missing {
  align-items: flex-start;
}

.fs-cd-missing h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.fs-cd-missing p {
  margin: 0;
  font-size: 13px;
  color: var(--fs-text);
}

/* Responsive */
@media (max-width: 1279.98px) {
  .fs-cd-body {
    flex-direction: column;
    align-items: stretch;
  }

  .fs-cd-side {
    flex: none;
    width: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 991.98px) {
  .fs-cd-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-cd-creative {
    flex-direction: column;
    align-items: stretch;
  }

  .fs-cd-splash {
    flex: none;
    align-self: center;
  }

  .fs-cd-rules {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 575.98px) {
  .fs-cd-card {
    padding: 18px 16px;
  }

  .fs-cd-tiles {
    flex-direction: column;
  }

  .fs-cd-actions {
    width: 100%;
  }
}

/* Interactive Campaign Title Links */
.fs-ac-title-link,
.fs-ax-title-link {
  font-size: inherit;
  font-weight: 500;
  color: var(--fs-ink);
  text-decoration: none;
  transition: color .15s ease;
}

.fs-ac-title-link:hover,
.fs-ax-title-link:hover {
  color: var(--fs-primary-700);
  text-decoration: underline;
}

/* =====================================================================
   39 — Ads & Campaigns · Table view + toolbar update (Figma 237:2 · table 237:616)
   Extends spec 33 (.fs-ac-*). Append after the 33 block.
   ===================================================================== */
.fs-ac-toolbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fs-ac-grid[hidden],
.fs-ac-tablewrap[hidden] {
  display: none;
}

/* View switch — optical alignment update (Figma 236:9211 · menu 236:9326) */
.fs-ac-view {
  position: relative;
}

.fs-ac-view__btn {
  font-family: var(--fs-font);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fs-ac-view__btn:focus-visible {
  outline: none;
  border-color: var(--fs-primary-500);
}

.fs-ac-view__btn .fs-icon:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: var(--fs-text);
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.fs-ac-view__menu {
  left: auto !important;
  right: 0 !important;
  width: 148px !important;
  min-width: 148px !important;
}

.fs-ac-view__menu button,
.fs-ac-view__menu .fs-ac-popmenu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--fs-text);
  text-align: left;
  cursor: pointer;
  outline: none;
  box-sizing: border-box;
}

.fs-ac-view__menu button .fs-icon,
.fs-ac-view__menu .fs-ac-popmenu__item .fs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: var(--fs-grey-500);
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 1px 0 0 0;
}

.fs-ac-view__menu button span,
.fs-ac-view__menu .fs-ac-popmenu__item span {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  font-weight: 500;
  color: var(--fs-text);
}

.fs-ac-view__menu button.is-on,
.fs-ac-view__menu .fs-ac-popmenu__item.is-selected {
  background: var(--fs-canvas);
  color: var(--fs-ink);
}

.fs-ac-view__menu button.is-on span,
.fs-ac-view__menu .fs-ac-popmenu__item.is-selected span {
  color: var(--fs-ink);
}

.fs-ac-view__menu button:hover,
.fs-ac-view__menu button:focus-visible,
.fs-ac-view__menu .fs-ac-popmenu__item:hover {
  background: var(--fs-canvas);
  color: var(--fs-ink);
}

.fs-ac-view__menu button.is-on .fs-icon,
.fs-ac-view__menu button:hover .fs-icon,
.fs-ac-view__menu .fs-ac-popmenu__item.is-selected .fs-icon,
.fs-ac-view__menu .fs-ac-popmenu__item:hover .fs-icon {
  color: var(--fs-text);
}

/* Table — 237:616 · cols # 40 · CREATIVE 76 · CAMPAIGN fluid (391) · SCHEDULE 283 · TARGET 203 · ROUTER 177 · ACTIONS 131 · gap 14 · px 20 */
.fs-ac-tablewrap {
  overflow-x: auto;
}

.fs-ac-table {
  width: 100%;
  min-width: 1180px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--fs-font);
}

.fs-ac-table th,
.fs-ac-table td {
  box-sizing: border-box;
  padding: 0 14px 0 0;
  border: 0;
  text-align: left;
  vertical-align: middle;
}

.fs-ac-table th:first-child,
.fs-ac-table td:first-child {
  padding-left: 20px;
}

.fs-ac-table th:last-child,
.fs-ac-table td:last-child {
  padding-right: 20px;
}

.fs-ac-table th:nth-child(1) {
  width: 74px;
}

.fs-ac-table th:nth-child(2) {
  width: 90px;
}

.fs-ac-table th:nth-child(4) {
  width: 297px;
}

.fs-ac-table th:nth-child(5) {
  width: 217px;
}

.fs-ac-table th:nth-child(6) {
  width: 191px;
}

.fs-ac-table th:nth-child(7) {
  width: 151px;
}

.fs-ac-table th {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--fs-line);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-ac-table td {
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-ac-table tbody tr.is-last td {
  border-bottom: 0;
}

.fs-ac-table tr[hidden] {
  display: none;
}

.fs-ac-table .is-right {
  text-align: right;
}

.fs-ac-table tbody tr[data-id] {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.fs-ac-table tbody tr[data-id]:hover td {
  background: #F4FBFB;
}

.fs-ac-t-no {
  font-family: var(--fs-mono);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

/* Creative thumb 76 × 52 — 237:636 / 665 / 723 */
.fs-ac-tthumb {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 76px;
  height: 52px;
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  border-radius: 10px;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.54px;
  color: var(--fs-text);
  overflow: hidden;
}

.fs-ac-tthumb img,
.fs-ac-tthumb video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  border-radius: 8px;
}

.fs-ac-tthumb i {
  font-size: 15px;
  line-height: 1;
}

.fs-ac-tthumb--swipe {
  color: var(--fs-primary-700);
}

.fs-ac-tthumb--video {
  background: #E4F5F6;
  color: var(--fs-primary-900);
}

/* Table Thumbnail Swipe Carousel Slider */
.fs-ac-tbl-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.fs-ac-tbl-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.fs-ac-tbl-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-ac-tbl-slider__slide img {
  width: 100%;
  height: 100%;
  max-height: 50px;
  object-fit: contain;
}

.fs-ac-tbl-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--fs-line);
  color: var(--fs-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  padding: 0;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.fs-ac-tbl-slider__nav:hover:not(:disabled) {
  background: #FFFFFF;
  border-color: var(--fs-grey-500);
}

.fs-ac-tbl-slider__nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.fs-ac-tbl-slider__nav.is-prev {
  left: 2px;
}

.fs-ac-tbl-slider__nav.is-next {
  right: 2px;
}

.fs-ac-tbl-slider__badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  padding: 1px 3px;
  background: rgba(0, 0, 0, 0.65);
  color: #FFFFFF;
  font-size: 7px;
  font-weight: 500;
  line-height: 1;
  border-radius: 3px;
  z-index: 2;
  pointer-events: none;
}

/* Cells */
.fs-ac-table td>span:not(.fs-ac-tthumb):not(.fs-ac-t-actions) {
  display: block;
}

.fs-ac-t-name {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 3px;
}

.fs-ac-t-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ac-t-main {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ac-t-main+.fs-ac-t-sub {
  margin-top: 2px;
}

.fs-ac-t-sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ac-t-sub.is-mono {
  font-family: var(--fs-mono);
}

/* Status pill (inline) — 237:642 · 671 · 845 */
.fs-ac-state {
  flex: 0 0 auto;
  padding: 2px 8px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-ac-state--running {
  background: #E4F5F6;
  border-color: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

.fs-ac-state--expired {
  color: #C2413A;
}

/* Actions — 237:654 (gap 6, right) */
.fs-ac-t-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.fs-ac-t-actions .fs-ac-del {
  margin-left: 0;
}

.fs-ac-t-icon {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 12px;
  color: var(--fs-text);
  text-decoration: none;
}

.fs-ac-t-icon:hover {
  border-color: var(--fs-grey-500);
  color: var(--fs-ink);
}

.fs-ac-t-icon:focus-visible,
.fs-ac-table .fs-ac-edit:focus-visible,
.fs-ac-table .fs-ac-del:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

.fs-ac-t-empty td {
  padding: 40px 20px !important;
  text-align: center;
  font-size: 13px;
  color: var(--fs-text);
}

@media (max-width: 1279px) {
  .fs-ac-toolbar__right {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .fs-ac-toolbar__right .fs-ac-tabs {
    overflow-x: auto;
    max-width: 100%;
  }
}

/* =====================================================================
   40 — User Management (Spec 40 helper rules for card, table, scroll, del, flash, row-actions)
   ===================================================================== */
.fs-um-card {
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 20px;
}

.fs-um-scroll {
  overflow-x: auto;
}

.fs-um-table {
  width: 100%;
  min-width: 900px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--fs-font);
}

.fs-um-table th,
.fs-um-table td {
  box-sizing: border-box;
  padding: 0 16px 0 0;
  border: 0;
  border-bottom: 1px solid var(--fs-line);
  text-align: left;
  vertical-align: middle;
}

.fs-um-table th:first-child,
.fs-um-table td:first-child {
  padding-left: 20px;
}

.fs-um-table th:last-child,
.fs-um-table td:last-child {
  padding-right: 20px;
}

.fs-um-table th {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-um-table td {
  padding-top: 12px;
  padding-bottom: 12px;
}

.fs-um-table .is-right {
  text-align: right;
}

.fs-um-row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.fs-um-del {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
  text-decoration: none;
  cursor: pointer;
}

.fs-um-del:hover,
a.fs-um-del:hover {
  border-color: #F3C7C3;
  background: #FDF1F0;
  color: #9B2C24;
}

.fs-um-empty td {
  padding: 40px 20px !important;
  text-align: center;
  font-size: 13px;
  color: var(--fs-text);
}

.fs-um-flash {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid var(--fs-primary-300);
  border-radius: 12px;
  background: #E4F5F6;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-primary-900);
}

.fs-um-flash.is-warn {
  border-color: #F3C7C3;
  background: #FDF1F0;
  color: #9B2C24;
}

.fs-um-flash__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fs-primary-700);
  font-size: 11px;
  font-weight: 700;
  color: var(--fs-white);
  flex: 0 0 20px;
}

.fs-um-flash.is-warn .fs-um-flash__icon {
  background: #C2413A;
}

.fs-um-flash__close {
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: currentColor;
  cursor: pointer;
  opacity: .7;
}

.fs-um-flash__close:hover {
  opacity: 1;
}

/* =====================================================================
   43 — Systems Settings · Database backup (Figma 211:6687) + confirm delete (Figma 211:6984)
   Requires the spec 40 block (.fs-um-card, .fs-um-table, .fs-um-del, .fs-um-flash, .fs-um-row-actions)
   ===================================================================== */
.fs-db a {
  text-decoration: none;
}

.fs-db-generate {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--fs-primary-700);
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-white);
  cursor: pointer;
}

/* 211:6859 */
.fs-db-generate:hover {
  background: var(--fs-primary-900);
}

.fs-db-generate:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

.fs-db-generate.is-busy {
  opacity: .7;
  cursor: progress;
}

/* KPI row — 211:6862 (4 × 1fr, gap 12) */
.fs-db-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.fs-db-kpi {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 16px 18px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 14px;
}

.fs-db-kpi>span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-db-kpi__label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  color: var(--fs-text);
}

.fs-db-kpi__value {
  font-family: var(--fs-mono);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--fs-ink);
}

.fs-db-kpi__value.is-text {
  font-size: 20px;
}

/* 211:6865 */
.fs-db-kpi__note {
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

/* Toolbar — 211:6880 */
.fs-db-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-db-toolbar__title h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-db-toolbar__title p {
  margin: 0;
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-db-toolbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fs-db-count {
  padding: 5px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
}

/* 211:6885 */
.fs-db-sort {
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
}

/* 211:6887 */
.fs-db-sort__caret {
  font-size: 10px;
  color: var(--fs-text);
}

.fs-db-sort:focus-within {
  border-color: var(--fs-primary-500);
}

.fs-db-sort select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

/* Table — 211:6890 · # 44 · FILE NAME fluid (765) · SIZE 130 · DATE CREATED 200 · ACTIONS 190 · gap 14 · px 20 */
.fs-db-table {
  min-width: 900px;
}

.fs-db-table th,
.fs-db-table td {
  padding-right: 14px;
}

.fs-db-table th:nth-child(1) {
  width: 78px;
}

/* 20 + 44 + 14 */
.fs-db-table th:nth-child(3) {
  width: 144px;
}

.fs-db-table th:nth-child(4) {
  width: 214px;
}

.fs-db-table th:nth-child(5) {
  width: 210px;
}

.fs-db-table td {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* 211:6901 */
.fs-db-table tbody tr:hover td {
  background: #FCFCFC;
}

/* ⛔ PENDING D8 */
.fs-db-no {
  font-family: var(--fs-mono);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-db-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--fs-mono);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-db-kind {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-db-mono {
  font-family: var(--fs-mono);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-db-mono.is-ink {
  color: var(--fs-ink);
}

.fs-db-table .fs-um-row-actions {
  gap: 8px;
}

.fs-db-dl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  text-decoration: none;
}

/* 211:6912 */
.fs-db-dl:hover {
  border-color: var(--fs-grey-500);
  color: var(--fs-ink);
}

.fs-db-dl:focus-visible,
.fs-db-del:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

.fs-db-del.is-armed {
  border-color: #C2413A;
  color: #C2413A;
}

/* 211:7212 */
.fs-db-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 20px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

/* 211:6981 */

/* Confirm dialog — 211:7281 */
.fs-db-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(38, 38, 38, .4);
}

.fs-db-overlay[hidden] {
  display: none;
}

.fs-db-dialog {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 420px;
  max-width: 100%;
  padding: 24px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 18px;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .18);
  font-family: var(--fs-font);
}

.fs-db-dialog__title {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-db-dialog__text {
  margin: -8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fs-text);
  overflow-wrap: anywhere;
}

.fs-db-dialog__text code {
  padding: 0;
  background: none;
  font-family: var(--fs-mono);
  font-size: 13px;
  color: var(--fs-ink);
}

.fs-db-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.fs-db-cancel,
.fs-db-confirm {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  text-decoration: none;
}

.fs-db-cancel {
  border: 1px solid var(--fs-line);
  background: var(--fs-white);
  color: var(--fs-ink);
}

.fs-db-cancel:hover {
  border-color: var(--fs-grey-500);
}

.fs-db-confirm {
  border: 1px solid #C2413A;
  background: #C2413A;
  color: var(--fs-white);
}

/* 211:7289 */
.fs-db-confirm:hover {
  background: #9B2C24;
  border-color: #9B2C24;
  color: var(--fs-white);
}

.fs-db-cancel:focus-visible,
.fs-db-confirm:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

.fs-db-confirm.is-busy {
  opacity: .7;
  pointer-events: none;
}

body.fs-db-lock {
  overflow: hidden;
}

@media (max-width: 1023.98px) {
  .fs-db-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .fs-db-kpis {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =====================================================================
   42 — Systems Settings · App settings (Figma 211:5343) + Terms & conditions (Figma 211:5715)
   Requires the spec 40 block (.fs-um-btn, .fs-um-flash, .fs-ue-* labels, inputs, helps, footer, save)
   ===================================================================== */
.fs-gs a,
.fs-tc a {
  text-decoration: none;
}

.fs-gs-save {
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--fs-primary-700);
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-white);
  cursor: pointer;
}

/* 211:5520 */
.fs-gs-save:hover {
  background: var(--fs-primary-900);
}

.fs-gs-save:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

/* Layout — 211:5522 (rail 200 · sections fluid, gap 24) */
.fs-gs-body {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.fs-gs-rail {
  position: sticky;
  top: 84px;
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fs-gs-rail a {
  box-sizing: border-box;
  display: block;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.fs-gs-rail a:hover {
  background: var(--fs-white);
}

.fs-gs-rail a.is-on {
  border-color: var(--fs-line);
  background: var(--fs-white);
  font-weight: 500;
  color: var(--fs-primary-700);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

/* 211:5524 */
.fs-gs-rail a.fs-gs-rail__link {
  margin-top: 16px;
  padding: 10px 14px;
  font-weight: 500;
  color: var(--fs-primary-700);
}

/* 211:5532 */
.fs-gs-rail a.fs-gs-rail__link:hover {
  background: none;
  text-decoration: underline;
}

.fs-gs-sections {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

/* Section card — 211:5535 (p 24, gap 28, label column 200 from spec 40) */
.fs-gs-sec {
  display: flex;
  gap: 28px;
  padding: 24px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  scroll-margin-top: 80px;
}

.fs-gs-controls {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fs-gs-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fs-gs-stack {
  gap: 12px;
}

.fs-gs-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fs-gs .fs-ue-input[aria-invalid="true"] {
  border-color: #C2413A;
}

.fs-gs .fs-ue-help.is-error,
.fs-gs-upload__hint.is-error {
  color: #C2413A;
}

/* Logo upload — 211:5542 */
.fs-gs-upload {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px dashed #C4C4C4;
  border-radius: 12px;
}

.fs-gs-logo {
  box-sizing: border-box;
  flex: 0 0 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 72px;
  padding: 8px;
  overflow: hidden;
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  border-radius: 8px;
}

.fs-gs-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fs-gs-logo__empty {
  font-size: 12px;
  color: #C4C4C4;
}

.fs-gs-upload__info {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  line-height: 1.3;
}

.fs-gs-upload__file {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--fs-mono);
  color: var(--fs-ink);
}

.fs-gs-upload__hint {
  color: var(--fs-text);
}

.fs-gs-upload__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.fs-gs-pill {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
}

.fs-gs-pill.is-muted {
  color: var(--fs-text);
}

.fs-gs-pill:hover {
  border-color: var(--fs-grey-500);
}

.fs-gs-pill[disabled] {
  opacity: .5;
  cursor: default;
}

.fs-gs-upload:focus-within .fs-gs-pill:first-child {
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

/* Provider / integration cards — 211:5599 */
.fs-gs-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
}

.fs-gs-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fs-gs-mark {
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  background: var(--fs-canvas);
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fs-ink);
}

.fs-gs-card__title {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-gs-card__title small {
  font-size: 12px;
  font-weight: 400;
  color: var(--fs-text);
}

.fs-gs-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.3;
}

/* 211:5604 */
.fs-gs-status b {
  font-weight: 500;
}

.fs-gs-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.fs-gs-status.is-ok {
  background: #E4F5F6;
  color: var(--fs-primary-900);
}

.fs-gs-status.is-ok span {
  background: var(--fs-primary-700);
}

.fs-gs-status.is-none {
  background: var(--fs-canvas);
  color: var(--fs-text);
}

/* 211:5627 */
.fs-gs-status.is-none span {
  background: var(--fs-grey-500);
}

.fs-gs-status.is-part {
  background: #FDF6E8;
  color: #8A5A12;
}

/* 211:5694 */
.fs-gs-status.is-part span {
  background: #D9A441;
}

.fs-gs-card__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fs-gs-card__fields.fs-gs-one {
  grid-template-columns: minmax(0, 1fr);
}

.fs-gs-card__fields.fs-gs-ac {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 120px;
}

/* 211:5697 */
.fs-gs-sublabel {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-gs-row {
  display: flex;
  gap: 6px;
}

.fs-gs-input {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: 38px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 12px;
  color: var(--fs-ink);
  outline: none;
}

/* 211:5612 */
.fs-gs-input.is-mono {
  font-family: var(--fs-mono);
}

.fs-gs-input::placeholder {
  font-family: var(--fs-font);
  color: #C4C4C4;
  opacity: 1;
}

.fs-gs-input:focus {
  border-color: var(--fs-primary-500);
  box-shadow: 0 0 0 3px #E4F5F6;
}

.fs-gs-show {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 500;
  color: var(--fs-primary-700);
  cursor: pointer;
}

/* 211:5620 */
.fs-gs-show:hover {
  border-color: var(--fs-grey-500);
}

.fs-gs-show:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

/* ---------- Terms & conditions — 211:5891 (editor fluid · guest view 360, gap 20) ---------- */
.fs-tc-grid {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.fs-tc-editor {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
}

.fs-tc-tools {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  padding: 8px 10px;
  background: var(--fs-canvas);
  border-bottom: 1px solid var(--fs-line);
}

/* 211:5893 */
.fs-tc-tools[hidden] {
  display: none;
}

.fs-tc-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
}

.fs-tc-tool.is-sq {
  width: 30px;
  padding: 0;
}

.fs-tc-tool.is-b {
  font-weight: 600;
}

.fs-tc-tool:hover,
.fs-tc-tool:focus-visible {
  background: var(--fs-line);
  outline: none;
}

.fs-tc-tool.is-on {
  background: #E4F5F6;
  color: var(--fs-primary-900);
}

/* ⛔ PENDING T3 */
.fs-tc-sep {
  width: 1px;
  height: 18px;
  background: var(--fs-line);
}

.fs-tc-body {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 520px;
  margin: 0;
  padding: 20px 24px;
  border: 0;
  resize: vertical;
  font-family: var(--fs-font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--fs-ink);
  outline: none;
}

/* 211:5910 — plain fallback */
.fs-tc-editor .cke {
  border: 0 !important;
  box-shadow: none !important;
}

.fs-tc-editor .cke_top,
.fs-tc-editor .cke_bottom {
  display: none !important;
}

.fs-tc-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--fs-line);
  border-bottom: 1px solid var(--fs-line);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

/* 211:5912 */

/* Guest view — 211:5920 (360, sticky) */
.fs-tc-aside {
  position: sticky;
  top: 84px;
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fs-tc-phone {
  padding: 56px 14px 14px;
  background: var(--fs-primary-900);
  border: 1px solid var(--fs-line);
  border-radius: 28px;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .08);
}

/* 211:5922 */
.fs-tc-sheet {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--fs-white);
  border-radius: 20px;
}

.fs-tc-sheet__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-tc-sheet__text {
  position: relative;
  height: 430px;
  overflow-y: auto;
  scrollbar-width: thin;
  font-size: 12px;
  line-height: 1.6;
  color: var(--fs-text);
  overflow-wrap: anywhere;
}

/* 211:5925 */
.fs-tc-sheet__text::after {
  display: none;
}

.fs-tc-sheet__text>* {
  margin: 0 0 1em;
  padding: 0;
  border: 0;
  font: inherit;
  color: inherit;
}

.fs-tc-sheet__text h2 {
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-tc-sheet__text ul,
.fs-tc-sheet__text ol {
  padding-left: 18px;
}

.fs-tc-sheet__text a {
  color: var(--fs-primary-700);
}

.fs-tc-sheet__text .is-empty {
  color: #C4C4C4;
}

.fs-tc-sheet__accept {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-tc-check {
  flex: 0 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--fs-primary-700);
  font-size: 10px;
  color: var(--fs-white);
}

.fs-tc-sheet__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 999px;
  background: var(--fs-primary-700);
  font-size: 13px;
  font-weight: 500;
  color: var(--fs-white);
}

/* Terms & Conditions Footer & Button Standardization — Spec 42 (211:5715) */
.fs-ue-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 20px;
  background: var(--fs-white);
  border-top: 1px solid var(--fs-line);
}

.fs-btn-secondary,
.fs-ue-cancel {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border: 1px solid var(--fs-line, #E2E8F0);
  border-radius: 999px;
  background: var(--fs-white, #FFFFFF);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink, #334155);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fs-btn-secondary:hover,
.fs-ue-cancel:hover {
  background: #F8FAFC;
  border-color: var(--fs-grey-500, #CBD5E1);
  color: var(--fs-ink, #0F172A);
}

.fs-btn-primary,
.fs-ue-save {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--fs-primary-700, #0F5C5C);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-white, #FFFFFF);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.fs-btn-primary:hover,
.fs-ue-save:hover {
  background: var(--fs-primary-900, #0A3F3F);
  color: var(--fs-white, #FFFFFF);
}

.fs-btn-primary:focus-visible,
.fs-ue-save:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px #E4F5F6;
}

/* Responsive — ⛔ PENDING G8 / T6 */
@media (max-width: 1199.98px) {
  .fs-gs-body {
    flex-direction: column;
    align-items: stretch;
  }

  .fs-gs-rail {
    position: static;
    flex: none;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .fs-gs-rail a.fs-gs-rail__link {
    padding-top: 8px;
  }

  .fs-tc-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .fs-tc-aside {
    position: static;
    flex: none;
    max-width: 360px;
  }
}

@media (max-width: 767.98px) {
  .fs-gs-sec {
    flex-direction: column;
    gap: 14px;
    padding: 20px 16px;
  }

  .fs-gs-sec .fs-ue-sec__label {
    flex: none;
  }

  .fs-gs-grid2,
  .fs-gs-card__fields,
  .fs-gs-card__fields.fs-gs-ac {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-gs-upload {
    flex-wrap: wrap;
  }

  .fs-tc-body {
    height: 380px;
  }
}

/* =====================================================================
   44 — Ads & Campaigns · All Campaign Grid Alt (Figma 238:9400 · card 238:10407)
   Extends spec 33 + 39 (.fs-ac-*). Append after the 39 block.
   ===================================================================== */

/* Dropdown pills — 238:9603 · menus 238:10072 (p 6, r 12, item p 8/10 r 8, 13 ink, active #F9F9F9) */
.fs-ac-dd {
  position: relative;
}

.fs-ac-dd__btn {
  font-family: var(--fs-font);
  cursor: pointer;
}

.fs-ac-dd--router .fs-ac-dd__btn {
  width: 156px;
}

.fs-ac-dd__btn:focus-visible {
  outline: none;
  border-color: var(--fs-primary-500);
}

.fs-ac-dd__menu {
  left: 0;
  right: auto;
  width: auto;
  min-width: 100%;
  max-height: 320px;
  overflow-y: auto;
}

.fs-ac-dd__menu button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
}

.fs-ac-dd__menu button:hover,
.fs-ac-dd__menu button:focus-visible,
.fs-ac-dd__menu button.is-on {
  background: var(--fs-canvas);
}

.fs-ac-dd__menu button.is-on {
  font-weight: 500;
}

/* Card — 238:10407 (border #E5E5E5, r 14, max-h 197 thumb) */
.fs-ag-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.fs-ag-card:hover {
  border-color: #4BBDBE;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.fs-ag-card[hidden] {
  display: none;
}

.fs-ag-card__main {
  display: flex;
  flex: 1 1 auto;
  border-bottom: 1px solid var(--fs-line);
}

.fs-ag-thumb {
  position: relative;
  flex: 0 0 140px;
  width: 140px;
  max-height: 197px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F7F7F7;
  border-radius: 13px 0 0 0;
  overflow: hidden;
  padding: 6px;
  box-sizing: border-box;
}

/* 238:10409 */
.fs-ag-thumb img,
.fs-ag-thumb video {
  max-width: 100%;
  max-height: 197px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.fs-ag-thumb.fs-ac-thumb--video {
  background: #E4F5F6;
}

.fs-ag-thumb .fs-ac-thumb__type {
  position: absolute;
  z-index: 2;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.88);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  color: #595959;
}

.fs-ag-thumb:has(img) .fs-ac-thumb__type,
.fs-ag-thumb:has(video) .fs-ac-thumb__type,
.fs-ag-thumb:has(.fs-ag-slider) .fs-ac-thumb__type {
  display: none;
}

/* Grid Card Slider for Swipe Creatives */
.fs-ag-slider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: 197px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fs-ag-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.25s ease;
}

.fs-ag-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-ag-slider__slide img {
  max-width: 100%;
  max-height: 197px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.fs-ag-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #262626;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fs-ag-slider__nav:hover:not(:disabled) {
  background: #FFFFFF;
  transform: translateY(-50%) scale(1.1);
  color: var(--fs-primary-700);
}

.fs-ag-slider__nav:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.fs-ag-slider__nav.is-prev {
  left: 4px;
}

.fs-ag-slider__nav.is-next {
  right: 4px;
}

.fs-ag-slider__badge {
  position: absolute;
  z-index: 3;
  bottom: 6px;
  right: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(38, 38, 38, 0.75);
  font-size: 10px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.2;
}

.fs-ag-body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.fs-ag-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--fs-line);
}

/* 238:10414 */
.fs-ag-id {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fs-ag-name {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ag-url {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-primary-700);
}

.fs-ag-url .fs-icon {
  flex: 0 0 auto;
  font-size: 14px;
}

.fs-ag-url span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-ag-url.is-note {
  font-family: var(--fs-font);
  color: var(--fs-text);
}

/* "…" menu — ⛔ PENDING A5 (menu not in Figma; same style as the dropdowns) */
.fs-ag-more {
  position: relative;
  flex-shrink: 0;
}

.fs-ag-more__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fs-grey-500);
  cursor: pointer;
}

.fs-ag-more__btn .fs-icon {
  font-size: 24px;
}

.fs-ag-more__btn:hover,
.fs-ag-more__btn[aria-expanded="true"] {
  background: var(--fs-canvas);
  color: var(--fs-text);
}

.fs-ag-more__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

.fs-ag-more__menu {
  width: 180px;
}

.fs-ag-more__menu a.is-danger {
  color: #C2413A;
}

.fs-ag-more__menu a.is-danger .fs-icon {
  color: #C2413A;
}

.fs-ag-more__menu a.is-danger:hover,
.fs-ag-more__menu a.is-danger:focus-visible {
  background: #FDF1F0;
  color: #9B2C24;
}

/* Meta — 238:10425 (2 × 2; left column 126px, gap 4 / 12) */
.fs-ag-meta {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 12px 4px;
}

.fs-ag-f {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.fs-ag-f__label {
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ag-f__v {
  display: block;
  min-width: 0;
  padding: 0 4px 0 6px;
  border-left: 1px solid var(--fs-primary-500);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-ag-f__v.is-mono {
  font-family: var(--fs-mono);
  font-size: 11px;
  letter-spacing: -0.2px;
}

.fs-ag-f__v.is-sub {
  border-left-color: var(--fs-line);
  color: var(--fs-text);
  font-size: 11.5px;
}

.fs-ag-dot {
  display: inline-block;
  margin: 0 4px;
  vertical-align: middle;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fs-grey-500);
}

/* Footer — 238:10451 */
.fs-ag-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
  border-radius: 0 0 13px 13px;
}

.fs-ag-foot__label {
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-ag-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.fs-ag-chip {
  padding: 3px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

/* 238:10454 */
.fs-ag-chip.fs-ac-state--running {
  background: #E4F5F6;
  border-color: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

/* 238:10456 */
.fs-ag-chip.fs-ac-state--scheduled {
  background: var(--fs-white);
  color: var(--fs-text);
}

.fs-ag-chip.fs-ac-state--expired {
  background: var(--fs-white);
  color: #C2413A;
}

@media (max-width: 575.98px) {
  .fs-ag-card__main {
    flex-direction: column;
  }

  .fs-ag-thumb {
    flex-basis: 96px;
    border-radius: 13px 13px 0 0;
  }

  .fs-ag-foot {
    flex-wrap: wrap;
  }
}

/* =====================================================================
   41 — Systems Settings · Roles list (Figma 211:1910) + Add / Edit role (Figma 211:2337)
   Requires the spec 40 block (.fs-um-* list parts, .fs-ue-* form parts)
   ===================================================================== */
.fs-rl a,
.fs-re a {
  text-decoration: none;
}

.fs-rl .fs-um-card,
.fs-re .fs-ue-form {
  margin-top: 14px !important;
}

/* User / Roles Shared Action Buttons & Card Footer (.fs-um-*) */
.fs-um-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-um-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fs-um-btn:hover {
  background: var(--fs-canvas);
  border-color: var(--fs-grey-500);
  color: var(--fs-ink);
}

.fs-um-btn--primary {
  border: 0;
  background: var(--fs-primary-700);
  color: var(--fs-white) !important;
}

.fs-um-btn--primary:hover {
  background: var(--fs-primary-900);
  color: var(--fs-white) !important;
}

.fs-um-foot {
  box-sizing: border-box;
  padding: 14px 20px;
  border-top: 1px solid var(--fs-line);
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-text);
  border-radius: 0 0 16px 16px;
}

.fs-um-edit {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fs-um-edit:hover {
  background: #F8FAFC;
  border-color: var(--fs-grey-500);
  color: var(--fs-ink);
}

/* Roles table — 211:2088 · cols ROLE ID 72 · ROLE NAME 200 · MENUS fluid (953) · ACTIONS 112 · gap 16 · px 20 */
.fs-rl-table {
  min-width: 900px;
}

.fs-rl-table th:nth-child(1) {
  width: 108px;
}

/* 20 + 72 + 16 */
.fs-rl-table th:nth-child(2) {
  width: 216px;
}

.fs-rl-table th:nth-child(3) {
  width: auto;
}

.fs-rl-table th:nth-child(4) {
  width: 132px;
}

.fs-rl-table td {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* 211:2098 */
.fs-rl-table tbody tr:hover td {
  background: #FCFCFC;
}

/* ⛔ PENDING R10 */
.fs-rl-id {
  font-size: 13px;
}

.fs-rl-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-rl-count {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-rl-menus {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* 211:2104 */
.fs-rl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px 3px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
}

/* 211:2105 */
.fs-rl-chip__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  color: var(--fs-text);
  text-decoration: none;
}

.fs-rl-chip__x:hover {
  background: #FDF1F0;
  color: #9B2C24;
}

.fs-rl-chip__x:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--fs-primary-300);
}

.fs-rl-none {
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

/* 211:2279 */
.fs-rl-none a {
  font-weight: 500;
  color: var(--fs-primary-700);
  text-decoration: none;
}

.fs-rl-none a:hover {
  text-decoration: underline;
}

/* User Editor Shared Form Section Layout (.fs-ue-*) — Spec 40 & 41 */
.fs-ue-form {
  box-sizing: border-box;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 20px;
}

.fs-ue-sec {
  display: flex;
  gap: 28px;
  padding: 24px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-ue-sec__label {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fs-ue-sec__label h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ue-sec__label p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--fs-text);
}

.fs-ue-sec__controls {
  flex: 1 1 0;
  min-width: 0;
}

.fs-ue-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-ue-label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ue-label b {
  color: var(--fs-primary-700);
  font-weight: 500;
  margin-left: 2px;
}

.fs-ue-input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 14px;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
  transition: border-color 0.15s ease;
}

.fs-ue-input::placeholder {
  color: var(--fs-grey-500, #C4C4C4);
  opacity: 1;
}

.fs-ue-input:focus {
  border-color: var(--fs-primary-500);
}

.fs-ue-input.fs-ue-mono {
  font-family: var(--fs-mono);
}

.fs-ue-help {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ue-help.is-error {
  color: #C2413A;
}

.fs-ue-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  background: var(--fs-white);
  border-radius: 0 0 16px 16px;
}

.fs-ue-save:disabled,
.fs-btn-primary:disabled {
  background: #C4C4C4 !important;
  color: #FFFFFF !important;
  border: 0 !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

/* Role form — 211:2513 (880 wide) */
.fs-re-w,
.fs-re .fs-ue-form {
  box-sizing: border-box;
  flex: none !important;
  width: 100%;
  max-width: 880px;
}

/* flex: none — prevent flex column height collapse */
.fs-re-row {
  display: flex;
  gap: 16px;
}

.fs-re-id {
  flex: 0 0 160px;
}

/* 211:2519 */
.fs-re-row>.fs-ue-field:last-child {
  flex: 1 1 0;
}

.fs-re-id input::-webkit-outer-spin-button,
.fs-re-id input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.fs-re-id input[type=number] {
  -moz-appearance: textfield;
}

.fs-ue-input[aria-invalid="true"] {
  border-color: #C2413A;
}

.fs-ue-help.is-error {
  color: #C2413A;
}

.fs-re-ids {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 211:2537 */
.fs-re-ids li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

.fs-re-ids b {
  font-family: var(--fs-mono);
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-re-ids span {
  color: var(--fs-text);
}

.fs-re-ids li.is-hit {
  border-color: #F3C7C3;
  background: #FDF1F0;
}

/* ⛔ PENDING RE4 */
.fs-re-ids li.is-hit b,
.fs-re-ids li.is-hit span {
  color: #9B2C24;
}

@media (max-width: 767.98px) {
  .fs-re-row {
    flex-direction: column;
  }

  .fs-re-id {
    flex: none;
    width: 160px;
  }
}

/* =====================================================================
   40 — Systems Settings · Users Managements (Figma 211:2) + Add / Edit user (Figma 211:326)
   Requires 02 tokens, 06 §5.1 (.fs-report / .fs-pagehead), 19/28 (.fs-sr-only)
   ===================================================================== */
.fs-um a,
.fs-ue a {
  text-decoration: none;
}

/* Buttons — 211:174 / 211:176 / 211:498 */
.fs-um-actions {
  gap: 8px;
}

.fs-um-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  cursor: pointer;
}

.fs-um-btn:hover {
  border-color: var(--fs-grey-500);
  color: var(--fs-ink);
}

.fs-um-btn--primary {
  border-color: var(--fs-primary-700);
  background: var(--fs-primary-700);
  color: var(--fs-white);
}

.fs-um-btn--primary:hover {
  border-color: var(--fs-primary-900);
  background: var(--fs-primary-900);
  color: var(--fs-white);
}

.fs-um-btn:focus-visible,
.fs-um-edit:focus-visible,
.fs-um-del:focus-visible,
.fs-ue-btn:focus-visible,
.fs-ue-save:focus-visible,
.fs-ue-show:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

/* Flash (U10 / E11 — not in Figma) */
.fs-um-flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--fs-primary-300);
  border-radius: 12px;
  background: #E4F5F6;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-primary-900);
  margin-bottom: 16px;
}

.fs-um-flash.is-warn {
  border-color: #F3C7C3;
  background: #FDF1F0;
  color: #9B2C24;
}

.fs-um-flash__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fs-primary-700);
  font-size: 12px;
  font-weight: 600;
  color: var(--fs-white);
}

.fs-um-flash.is-warn .fs-um-flash__icon {
  background: #C2413A;
}

.fs-um-flash__close {
  margin-left: auto;
  padding: 0 4px;
  border: 0;
  background: none;
  font-size: 13px;
  color: inherit;
  cursor: pointer;
}

/* ---------- List — 211:178 ---------- */
.fs-um-card {
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
}

.fs-um-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-um-search {
  position: relative;
  display: block;
  width: 300px;
  max-width: 100%;
  margin: 0;
}

/* 211:180 */
.fs-um-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #C4C4C4;
  pointer-events: none;
}

.fs-um-search input {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 8px 12px 8px 28px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-family: var(--fs-font);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fs-um-search input::placeholder {
  color: #C4C4C4;
  opacity: 1;
}

.fs-um-search input:focus {
  border-color: var(--fs-primary-500);
  background: var(--fs-white);
}

.fs-um-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 211:182 */
.fs-um-chips label {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.fs-um-chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Outer pill button */
.fs-um-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  box-sizing: border-box;
  padding: 5px 6px 5px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* Inactive chip hover */
.fs-um-chips label:hover input:not(:checked)+.fs-um-chip {
  background: var(--fs-canvas);
  border-color: var(--fs-grey-500);
}

/* Active outer pill */
.fs-um-chips input:checked+.fs-um-chip {
  background: var(--fs-primary-300);
  border-color: var(--fs-primary-300);
  color: var(--fs-primary-900);
}

.fs-um-chips input:focus-visible+.fs-um-chip {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* Inner counter badge */
.fs-um-chip-count {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  box-sizing: border-box;
  padding: 0 6px;
  border-radius: 999px;
  background: #F2F4F4;
  border: 1px solid #E2E4E4;
  color: #555555;
  font-family: var(--fs-font);
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

/* Vertical separator line '|' via pseudo-element ::before on inactive chips ONLY */
.fs-um-chips input:not(:checked)+.fs-um-chip .fs-um-chip-count::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: #E2E4E4;
}

/* Active counter badge */
.fs-um-chips input:checked+.fs-um-chip .fs-um-chip-count {
  background: #E6F5F5;
  border-color: #D3EBEC;
  color: #555555;
}







/* Table — cols NAME 362 · USERNAME 217 · ROLE 181 · CREATED 217 · LAST UPDATED 216 · ACTIONS 112 · gap 16 · px 20 */
.fs-um-scroll {
  overflow-x: auto;
}

.fs-um-table {
  width: 100%;
  min-width: 1100px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--fs-font);
}

.fs-um-table th,
.fs-um-table td {
  box-sizing: border-box;
  padding: 0 16px 0 0;
  border: 0;
  border-bottom: 1px solid var(--fs-line);
  text-align: left;
  vertical-align: middle;
}

.fs-um-table th:first-child,
.fs-um-table td:first-child {
  padding-left: 20px;
}

.fs-um-table th:last-child,
.fs-um-table td:last-child {
  padding-right: 20px;
}

.fs-um-table th:nth-child(2) {
  width: 233px;
}

.fs-um-table th:nth-child(3) {
  width: 197px;
}

.fs-um-table th:nth-child(4) {
  width: 233px;
}

.fs-um-table th:nth-child(5) {
  width: 232px;
}

.fs-um-table th:nth-child(6) {
  width: 132px;
}

.fs-um-table th {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
  white-space: nowrap;
}

/* 211:195 */
.fs-um-table td {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* 211:208 */
.fs-um-table tr[hidden] {
  display: none;
}

.fs-um-table .is-right {
  text-align: right;
}

.fs-um-table tbody tr[data-role]:hover td {
  background: #FCFCFC;
}

/* ⛔ PENDING U12 */
.fs-um-who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.fs-um-avatar {
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #E4F5F6;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-900);
}

/* 211:210 */
.fs-um-avatar--lg {
  flex-basis: 44px;
  width: 44px;
  height: 44px;
  font-size: 14px;
}

/* 211:587 */
.fs-um-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-um-you {
  flex: 0 0 auto;
  padding: 1px 8px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--fs-text);
}

/* 211:213 */
.fs-um-mono {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-um-table td:nth-child(2) .fs-um-mono {
  font-size: 13px;
}

.fs-um-ink {
  color: var(--fs-ink);
}

.fs-um-role {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 3px 10px;
  border: 1px solid var(--fs-primary-300);
  border-radius: 999px;
  background: #E4F5F6;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-900);
}

/* 211:237 */
.fs-um-role.is-top {
  border-color: var(--fs-primary-700);
  background: var(--fs-primary-700);
  color: var(--fs-white);
}

/* 211:218 */
.fs-um-role.is-plain {
  border-color: var(--fs-line);
  background: var(--fs-white);
  color: var(--fs-ink);
}

/* 211:294 */
.fs-um-row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.fs-um-edit {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-um-del {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-um-edit:hover {
  border-color: var(--fs-grey-500);
  color: var(--fs-ink);
}

a.fs-um-del:hover {
  border-color: #F3C7C3;
  background: #FDF1F0;
  color: #9B2C24;
}

.fs-um-del.is-disabled {
  color: var(--fs-line);
  cursor: not-allowed;
}

/* 211:227 */
.fs-um-empty td {
  padding: 40px 20px !important;
  text-align: center;
  font-size: 13px;
  color: var(--fs-text);
}

.fs-um-foot {
  padding: 12px 20px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

/* 211:324 */

/* ---------- Editor — 211:500 (form fluid · summary 340, gap 20) ---------- */
.fs-ue-grid {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.fs-ue-form {
  flex: none;
  min-width: 0;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 0;
}

.fs-ue-grid>.fs-ue-form {
  flex: 1 1 0;
}

.fs-ue-sec {
  display: flex;
  gap: 28px;
  padding: 24px;
  border-bottom: 1px solid var(--fs-line);
}

/* 211:502 */
.fs-ue-sec__label {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fs-ue-sec__label h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ue-sec__label h2 b,
.fs-ue-label b {
  margin-left: 3px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fs-primary-700);
}

.fs-ue-sec__label p {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-ue-sec__label a,
.fs-ue-help a {
  color: var(--fs-primary-700);
}

.fs-ue-sec__controls {
  flex: 1 1 0;
  min-width: 0;
}

.fs-ue-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fs-ue-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fs-ue-label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-ue-input {
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 14px;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
}

/* 211:513 */
.fs-ue-input::placeholder,
.fs-ue-pass__box input::placeholder {
  color: #C4C4C4;
  opacity: 1;
}

.fs-ue-input:focus,
.fs-ue-pass__box:focus-within {
  border-color: var(--fs-primary-500);
  box-shadow: 0 0 0 3px #E4F5F6;
}

.fs-ue-input[readonly] {
  background: var(--fs-canvas);
  color: var(--fs-text);
  cursor: not-allowed;
}

.fs-ue-input[readonly]:focus {
  border-color: var(--fs-line);
  box-shadow: none;
}

.fs-ue-mono {
  font-family: var(--fs-mono);
}

.fs-ue-help {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

/* Role radios — 211:528 (4 per row, gap 16 / 12) */
.fs-ue-radios {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 16px;
}

.fs-ue-radios label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
}

.fs-ue-radios input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid var(--fs-grey-500);
  border-radius: 50%;
  background: var(--fs-white);
  cursor: pointer;
}

.fs-ue-radios input:checked {
  border: 5px solid var(--fs-primary-700);
}

.fs-ue-radios input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--fs-primary-300);
}

.fs-ue-radios span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Password — 211:559 (460 wide) */
.fs-ue-pass {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 460px;
  max-width: 100%;
}

.fs-ue-pass__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-ue-pass__box {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0 5px 0 12px;
}

/* 211:564 */
.fs-ue-pass__box input {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 14px;
  color: var(--fs-ink);
  outline: none;
}

.fs-ue-show {
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 500;
  color: var(--fs-primary-700);
  cursor: pointer;
}

/* 211:566 */
.fs-ue-show:hover {
  background: var(--fs-canvas);
}

.fs-ue-btn {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--fs-ink);
  cursor: pointer;
}

/* 211:568 */
.fs-ue-btn:hover {
  border-color: var(--fs-grey-500);
}

.fs-ue-meter {
  display: flex;
  gap: 4px;
}

/* 211:572 */
.fs-ue-meter i {
  flex: 1 1 0;
  height: 4px;
  border-radius: 999px;
  background: var(--fs-line);
}

.fs-ue-meter[data-score="1"] i:nth-child(-n+1) {
  background: #C2413A;
}

/* ⛔ PENDING E6 */
.fs-ue-meter[data-score="2"] i:nth-child(-n+2) {
  background: #D9A441;
}

.fs-ue-meter[data-score="3"] i:nth-child(-n+3) {
  background: var(--fs-primary-500);
}

.fs-ue-meter[data-score="4"] i {
  background: var(--fs-primary-700);
}

/* Footer — 211:578 */
.fs-ue-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
}

.fs-ue-cancel {
  padding: 10px 20px;
}

.fs-ue-save {
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--fs-primary-700);
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-white);
  cursor: pointer;
}

.fs-ue-save:hover {
  background: var(--fs-primary-900);
}

.fs-ue-save[disabled] {
  background: #C4C4C4;
  cursor: not-allowed;
}

/* 211:581 */

/* Summary — 211:583 (340, sticky) */
.fs-ue-aside {
  position: sticky;
  top: 24px;
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fs-ue-aside__label {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  color: var(--fs-text);
}

.fs-ue-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
}

.fs-ue-id {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.fs-ue-id__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.fs-ue-id__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-ue-id__user {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--fs-mono);
  font-size: 12px;
  color: var(--fs-text);
}

.fs-ue-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--fs-line);
}

.fs-ue-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  line-height: 1.3;
}

.fs-ue-meta dt {
  font-weight: 400;
  color: var(--fs-text);
}

.fs-ue-meta dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-ue-meta dd.is-mono {
  font-family: var(--fs-mono);
  font-size: 12px;
  font-weight: 400;
}

/* Responsive — ⛔ PENDING U13 / E10 */
@media (max-width: 1199.98px) {
  .fs-ue-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .fs-ue-aside {
    position: static;
    flex: none;
    order: -1;
  }
}

@media (max-width: 767.98px) {
  .fs-um-search {
    width: 100%;
  }

  .fs-ue-sec {
    flex-direction: column;
    gap: 14px;
    padding: 20px 16px;
  }

  .fs-ue-sec__label {
    flex: none;
  }

  .fs-ue-row,
  .fs-ue-radios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fs-ue-pass__row {
    flex-wrap: wrap;
  }

  .fs-ue-pass__box {
    flex-basis: 100%;
  }

  .fs-ue-foot {
    padding: 16px;
  }
}

/* =====================================================================
   46 — Systems Settings · Navigation menus (Figma 211:2565) + Add / Edit menu (Figma 211:3274)
   Self-contained. Uses shared tokens, .fs-report, .fs-pagehead, .fs-eyebrow, .fs-sr-only, .fs-um-flash (40).
   ===================================================================== */
.fs-mn a,
.fs-me a {
  text-decoration: none;
}

/* Buttons — 211:2739 / 211:2741 (38 h outline · 36 h primary) */
.fs-mn-actions {
  gap: 8px;
}

.fs-mn-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 9px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink) !important;
  white-space: nowrap;
  cursor: pointer;
}

.fs-mn-btn--primary {
  border: 0;
  background: var(--fs-primary-700);
  color: var(--fs-white) !important;
}

.fs-mn-btn:hover {
  background: var(--fs-canvas);
}

/* ⛔ PENDING — hover not designed */
.fs-mn-btn--primary:hover {
  background: var(--fs-primary-900);
}

.fs-mn-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.fs-mn-btn:focus-visible,
.fs-mn-edit:focus-visible,
.fs-mn-del:focus-visible,
.fs-me-pick:focus-visible {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* ---------- 9.3 Menu tree — 211:2743 ---------- */
.fs-mn-card {
  box-sizing: border-box;
  min-width: 0;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: hidden;
}

/* Toolbar — 211:2744 (p 14/20) */
.fs-mn-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-mn-search {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 300px;
  max-width: 100%;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  cursor: text;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fs-mn-search:focus-within {
  border-color: var(--fs-primary-500);
  background: var(--fs-white);
}

.fs-mn-search__icon {
  flex: 0 0 auto;
  color: #C4C4C4;
}

.fs-mn-search input {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-mn-search input::placeholder {
  color: #C4C4C4;
  opacity: 1;
}

.fs-mn-search input::-webkit-search-cancel-button {
  cursor: pointer;
}

.fs-mn-count {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

/* Table — header 211:2748 (py 10) · root 211:2759 (py 12) · sub 211:2791 (py 8, #F9F9F9) · cells gap 16 */
.fs-mn-scroll {
  overflow-x: auto;
}

.fs-mn-table {
  width: 100%;
  min-width: 1000px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--fs-font);
}

.fs-mn-c-order {
  width: 100px;
}

/* 20 pad + 64 + 16 gap */
.fs-mn-c-route {
  width: 382px;
}

/* 366 + 16 */
.fs-mn-c-icon {
  width: 337px;
}

/* 321 + 16 */
.fs-mn-c-actions {
  width: 132px;
}

/* 112 + 20 pad */
.fs-mn-table th,
.fs-mn-table td {
  box-sizing: border-box;
  padding: 0 16px 0 0;
  border: 0;
  border-bottom: 1px solid var(--fs-line);
  text-align: left;
  vertical-align: middle;
  overflow: hidden;
}

.fs-mn-table th:first-child,
.fs-mn-table td:first-child {
  padding-left: 20px;
}

.fs-mn-table th:last-child,
.fs-mn-table td:last-child {
  padding-right: 20px;
}

.fs-mn-table th {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-mn-table .is-right {
  text-align: right;
}

.fs-mn-root td {
  padding-top: 12px;
  padding-bottom: 12px;
  background: var(--fs-white);
}

.fs-mn-sub td {
  padding-top: 8px;
  padding-bottom: 8px;
  background: var(--fs-canvas);
}

.fs-mn-table tbody tr:last-child td {
  border-bottom: 0;
}

.fs-mn-table tr[hidden] {
  display: none;
}

.fs-mn-order {
  font-family: var(--fs-mono);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-mn-sub .fs-mn-order {
  padding-left: 20px;
}

.fs-mn-order.is-dupe {
  color: #8A5A12;
  text-decoration: underline dotted #D9A441;
  text-underline-offset: 3px;
  cursor: help;
}

/* M5 ⛔ PENDING */

.fs-mn-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fs-mn-sub .fs-mn-title {
  padding-left: 20px;
}

.fs-mn-ibox {
  display: inline-flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #E4F5F6;
  font-size: 12px;
  line-height: 1;
  color: var(--fs-primary-900);
}

.fs-mn-ibox.is-sub {
  background: transparent;
  color: #C4C4C4;
}

.fs-mn-branch {
  flex: 0 0 auto;
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: #C4C4C4;
}

.fs-mn-title__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-mn-sub .fs-mn-title__text {
  font-weight: 400;
}

.fs-mn-flag {
  flex: 0 0 auto;
  padding: 1px 8px;
  border: 1px solid #D9A441;
  border-radius: 999px;
  background: #FDF6E8;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: #8A5A12;
}

/* M9 ⛔ PENDING */

.fs-mn-mono {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-mn-mono.is-hash {
  color: #C4C4C4;
}

.fs-mn-mono.is-muted {
  color: var(--fs-text);
}

/* Row actions — Edit 211:2771 (31 h) · Delete 211:2773 (32 circle) */
.fs-mn-rowact {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.fs-mn-edit {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink) !important;
  white-space: nowrap;
}

.fs-mn-del {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text) !important;
  cursor: pointer;
}

.fs-mn-edit:hover {
  background: var(--fs-canvas);
}

.fs-mn-del:hover {
  border-color: #F3C7C3;
  background: #FDF1F0;
  color: #9B2C24 !important;
}

.fs-mn-empty td {
  padding: 40px 20px !important;
  background: var(--fs-white);
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  color: var(--fs-text);
}

/* ---------- 9.3b Add / Edit menu — 211:3450 (form flex 1 + preview 300, gap 20) ---------- */
.fs-me-grid {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
}

.fs-me-form {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  overflow: visible !important;
}

/* Section — 211:3452 (p 24, gap 28, label column 200) */
.fs-me-sec {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 24px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-me-sec:has(.is-open),
.fs-me-sec.is-dropdown-open {
  position: relative !important;
  z-index: 1050 !important;
}

.fs-me-sec__label {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fs-me-sec__label h2 {
  margin: 0;
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-me-sec__label p {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-me-sec__controls {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.fs-me-sec__controls.is-stack {
  flex-direction: column;
  gap: 10px;
}

.fs-me-field {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-me-field--order {
  flex: 0 0 160px;
}

.fs-me-label {
  display: flex;
  gap: 3px;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-me-label b {
  font-weight: 500;
  color: var(--fs-primary-700);
}

.fs-me-help {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-me-help.is-warn {
  color: #8A5A12;
}

/* E4 ⛔ PENDING */

/* Inputs — 211:3461 (42 h, r 8, px 12) */
.fs-me-input {
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 14px;
  line-height: 1.3;
  color: var(--fs-ink);
  outline: none;
}

.fs-me-input::placeholder,
.fs-me-route__value::placeholder {
  color: #C4C4C4;
  opacity: 1;
}

.fs-me-input:focus,
.fs-me-route:focus-within {
  border-color: var(--fs-primary-500);
  box-shadow: 0 0 0 3px #E4F5F6;
}

/* ⛔ PENDING — focus not designed */
.fs-me-input[aria-invalid="true"],
.fs-me-route.is-invalid {
  border-color: #C2413A;
}

.fs-me-mono {
  font-family: var(--fs-mono);
}

#me-icon {
  font-size: 13px;
}

/* Route with base-path prefix — 211:3467 */
.fs-me-route {
  box-sizing: border-box;
  display: flex;
  height: 42px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  overflow: hidden;
}

.fs-me-route__prefix {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 10px;
  border-right: 1px solid var(--fs-line);
  background: var(--fs-canvas);
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-me-route__value {
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 12px;
  border: 0 !important;
  border-radius: 0;
  outline: none;
  box-shadow: none !important;
  background: transparent;
  font-family: var(--fs-mono);
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
}

/* Parent select — 211:3481 (standard project dropdown) */
.fs-me-select {
  position: relative;
  width: 100%;
}

.fs-me-select.is-open {
  position: relative !important;
  z-index: 1050 !important;
}

.fs-me-select.has-custom select {
  display: none !important;
}

.fs-me-select .fs-rt-select__btn {
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.fs-me-select .fs-rt-select__btn:focus-visible,
.fs-me-select .fs-rt-select__btn.is-open {
  border-color: var(--fs-primary-500);
}

.fs-me-select .fs-rt-select__menu {
  position: absolute !important;
  z-index: 1055 !important;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  min-width: 100%;
  max-height: 260px;
  overflow-y: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 6px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  text-align: left;
}

.fs-me-select .fs-rt-select__menu[hidden] {
  display: none;
}

.fs-me-select .fs-rt-select__option {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.fs-me-select .fs-rt-select__option:hover,
.fs-me-select .fs-rt-select__option.is-selected {
  background: var(--fs-canvas);
}


/* Icon — preview 42 (211:3498) · picker 36 (211:3502, gap 6) */
.fs-me-iconrow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.fs-me-iconprev {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #E4F5F6;
  font-size: 16px;
  line-height: 1;
  color: var(--fs-primary-900);
}

.fs-me-iconprev.is-empty {
  background: var(--fs-canvas);
  color: #C4C4C4;
}

.fs-me-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fs-me-pick {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-white);
  font-size: 14px;
  line-height: 1;
  color: var(--fs-ink);
  cursor: pointer;
}

.fs-me-pick:hover {
  background: var(--fs-canvas);
}

.fs-me-pick.is-on {
  border-color: var(--fs-primary-700);
  background: #E4F5F6;
  color: var(--fs-primary-900);
}

/* 211:3525 */

/* Footer — 211:3531 (p 16/24, gap 10) · Cancel p 10/20 · Save p 10/22 */
.fs-me-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
}

.fs-me-cancel {
  padding: 10px 20px;
}

.fs-me-save {
  padding: 10px 22px;
}

/* Sidebar preview — 211:3536 (300 w, sticky) · card 211:3538 (p 10, gap 1, r 16) */
.fs-me-aside {
  position: sticky;
  top: calc(var(--fs-bar-h) + 20px);
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.fs-me-aside__label {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  color: var(--fs-text);
}

.fs-me-aside__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--fs-text);
}

/* E7 ⛔ PENDING */
.fs-me-preview {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
}

.fs-me-pv {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.fs-me-pv.is-sub {
  padding: 5px 10px 5px 28px;
}

.fs-me-pv__icon {
  display: inline-flex;
  flex: 0 0 16px;
  align-items: center;
  justify-content: center;
  width: 16px;
  font-size: 12px;
  line-height: 1;
  color: var(--fs-text);
}

.fs-me-pv.is-sub .fs-me-pv__icon {
  color: #C4C4C4;
}

.fs-me-pv__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-me-pv.is-sub .fs-me-pv__text {
  font-weight: 400;
}

.fs-me-pv.is-new {
  border-color: var(--fs-primary-500);
  background: #E4F5F6;
}

/* 211:3551 */
.fs-me-pv.is-new .fs-me-pv__icon {
  color: var(--fs-primary-700);
}

.fs-me-pv.is-new .fs-me-pv__text {
  font-weight: 500;
  color: var(--fs-primary-900);
}

/* Responsive (⛔ PENDING — desktop only in Figma) */
@media (max-width: 1199.98px) {
  .fs-me-grid {
    flex-direction: column;
  }

  .fs-me-aside {
    position: static;
    flex: none;
    width: 100%;
    max-width: 420px;
  }
}

@media (max-width: 767.98px) {

  .fs-mn .fs-pagehead,
  .fs-me .fs-pagehead {
    flex-direction: column;
    align-items: flex-start;
  }

  .fs-mn .fs-pagehead__heading,
  .fs-me .fs-pagehead__heading {
    max-width: 100%;
  }

  .fs-mn .fs-pagehead__meta,
  .fs-me .fs-pagehead__meta,
  .fs-mn .fs-eyebrow,
  .fs-me .fs-eyebrow {
    white-space: normal;
  }

  .fs-mn-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .fs-mn-search {
    width: 100%;
  }

  .fs-me-sec {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }

  .fs-me-sec__label {
    flex: none;
  }

  .fs-me-sec__controls {
    flex-direction: column;
    width: 100%;
  }

  .fs-me-field,
  .fs-me-field--order {
    flex: none;
    width: 100%;
  }

  .fs-me-foot {
    padding: 16px 20px;
  }
}

/* =====================================================================
   Universal Dropdown Menu Elevation & Stacking Rule
   Guarantees that all active custom dropdowns and their parent containers
   float in front of all sibling sections, table rows, cards, and footers.
   ===================================================================== */
.is-dropdown-open,
.fs-me-sec.is-dropdown-open,
.fs-ue-sec.is-dropdown-open,
.fs-rt-fsec.is-dropdown-open,
.fs-rt-row.is-dropdown-open,
.fs-fp-row.is-dropdown-open,
.fs-fp-field.is-dropdown-open,
.fs-me-sec:has(.is-open),
.fs-ue-sec:has(.is-open),
.fs-rt-fsec:has(.is-open),
.fs-rt-row:has(.is-open),
.fs-fp-row:has(.is-open),
.fs-fp-field:has(.is-open),
.fs-fp-row:has(.fs-drp:not([hidden])),
.fs-fp-field:has(.fs-drp:not([hidden])),
.fs-rt-select.is-open,
.fs-me-select.is-open,
.fs-fp-select.is-open {
  position: relative !important;
  z-index: 1050 !important;
}

.fs-rt-select__menu,
.fs-me-select .fs-rt-select__menu,
.fs-rt-menu,
.fs-ve-popmenu,
.fs-ac-popmenu,
.fs-news-popmenu,
.fs-vl-perpagemenu,
.fs-fp-menu {
  z-index: 1055 !important;
}

/* Universal Search Input Background Alignment (#F9F9F9 Resting -> #FFFFFF Focus) */
input[type="search"]:not(.fs-login-input),
.fs-search-input {
  background-color: var(--fs-canvas) !important;
}

input[type="search"]:not(.fs-login-input):focus,
.fs-search-input:focus {
  background-color: var(--fs-white) !important;
}

/* Universal Default Pill Dropdown Trigger & Popover Standard */
.fs-news-chip[aria-expanded="true"],
.fs-news-rows__btn[aria-expanded="true"],
.fs-ac-chip[aria-expanded="true"],
.fs-ac-pill[aria-expanded="true"],
.fs-ac-rows__btn[aria-expanded="true"],
.fs-vc-rows__btn[aria-expanded="true"],
.js-vc-chip-btn[aria-expanded="true"],
.fs-vl-chip[aria-expanded="true"],
.fs-vl-perpage[aria-expanded="true"],
.fs-vl-viewopt[aria-expanded="true"],
.fs-fp-single-range[aria-expanded="true"],
.fs-ar-select__btn[aria-expanded="true"],
.fs-rt-select__btn[aria-expanded="true"],
.fs-news-chip:focus,
.fs-news-chip:focus-visible,
.fs-news-rows__btn:focus,
.fs-news-rows__btn:focus-visible,
.fs-ac-chip:focus,
.fs-ac-chip:focus-visible,
.fs-ac-pill:focus,
.fs-ac-pill:focus-visible,
.fs-ac-rows__btn:focus,
.fs-ac-rows__btn:focus-visible,
.fs-vc-rows__btn:focus,
.fs-vc-rows__btn:focus-visible,
.js-vc-chip-btn:focus,
.js-vc-chip-btn:focus-visible,
.fs-vl-chip:focus,
.fs-vl-chip:focus-visible,
.fs-vl-chip:focus-within,
.fs-vl-perpage:focus,
.fs-vl-perpage:focus-visible,
.fs-vl-viewopt:focus,
.fs-vl-viewopt:focus-visible,
.fs-fp-single-range:focus,
.fs-fp-single-range:focus-visible,
.fs-ar-select__btn:focus,
.fs-ar-select__btn:focus-visible,
.fs-rt-select__btn:focus,
.fs-rt-select__btn:focus-visible,
.fs-news-chip:active,
.fs-news-rows__btn:active,
.fs-ac-chip:active,
.fs-ac-pill:active,
.fs-ac-rows__btn:active,
.fs-vc-rows__btn:active,
.js-vc-chip-btn:active,
.fs-vl-chip:active,
.fs-vl-perpage:active,
.fs-vl-viewopt:active,
.fs-fp-single-range:active,
.fs-ar-select__btn:active,
.fs-rt-select__btn:active,
.fs-news-chip.is-open,
.fs-news-rows__btn.is-open,
.fs-ac-chip.is-open,
.fs-ac-pill.is-open,
.fs-ac-rows__btn.is-open,
.fs-vc-rows__btn.is-open,
.js-vc-chip-btn.is-open,
.fs-vl-chip.is-open,
.fs-vl-perpage.is-open,
.fs-vl-viewopt.is-open,
.fs-fp-single-range.is-open,
.fs-ar-select__btn.is-open,
.fs-rt-select__btn.is-open {
  border-color: var(--fs-primary-500) !important;
  box-shadow: 0 0 0 3.5px #E4F5F6 !important;
  outline: none !important;
  background: var(--fs-white) !important;
}

.fs-news-chip[aria-expanded="true"] .fs-rt-select__arrow,
.fs-news-rows__btn[aria-expanded="true"] .fs-rt-select__arrow,
.fs-ac-chip[aria-expanded="true"] .fs-rt-select__arrow,
.fs-ac-pill[aria-expanded="true"] .fs-rt-select__arrow,
.fs-ac-rows__btn[aria-expanded="true"] .fs-rt-select__arrow,
.fs-vc-rows__btn[aria-expanded="true"] .fs-rt-select__arrow,
.js-vc-chip-btn[aria-expanded="true"] .fs-rt-select__arrow,
.fs-vl-chip[aria-expanded="true"] .fs-rt-select__arrow,
.fs-vl-perpage[aria-expanded="true"] .fs-rt-select__arrow,
.fs-vl-viewopt[aria-expanded="true"] .fs-rt-select__arrow,
.fs-fp-single-range[aria-expanded="true"] .fs-rt-select__arrow,
.fs-ar-select__btn[aria-expanded="true"] .fs-rt-select__arrow,
.fs-rt-select__btn[aria-expanded="true"] .fs-rt-select__arrow,
.fs-news-chip.is-open .fs-rt-select__arrow,
.fs-news-rows__btn.is-open .fs-rt-select__arrow,
.fs-ac-chip.is-open .fs-rt-select__arrow,
.fs-ac-pill.is-open .fs-rt-select__arrow,
.fs-ac-rows__btn.is-open .fs-rt-select__arrow,
.fs-vc-rows__btn.is-open .fs-rt-select__arrow,
.js-vc-chip-btn.is-open .fs-rt-select__arrow,
.fs-vl-chip.is-open .fs-rt-select__arrow,
.fs-vl-perpage.is-open .fs-rt-select__arrow,
.fs-vl-viewopt.is-open .fs-rt-select__arrow,
.fs-fp-single-range.is-open .fs-rt-select__arrow,
.fs-ar-select__btn.is-open .fs-rt-select__arrow,
.fs-rt-select__btn.is-open .fs-rt-select__arrow {
  transform: rotate(180deg) !important;
}

.fs-news-popmenu,
.fs-ac-popmenu,
.fs-ac-rowsmenu,
.fs-news-rowsmenu,
.fs-vc-rowsmenu,
.fs-vl-perpagemenu,
.fs-vl-chipmenu,
.fs-rt-select__menu,
.fs-rt-menu {
  border-radius: 16px !important;
  padding: 6px !important;
  border: 1px solid var(--fs-line) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
  background: var(--fs-white) !important;
}

.fs-news-popmenu__item,
.fs-ac-popmenu__item,
.fs-ac-dd__menu button,
.fs-vl-perpageitem,
.fs-vl-chipmenu__item,
.fs-rt-select__option {
  padding: 8px 14px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  color: var(--fs-ink) !important;
}

.fs-news-popmenu__item.is-selected,
.fs-news-popmenu__item:hover,
.fs-ac-popmenu__item.is-selected,
.fs-ac-popmenu__item:hover,
.fs-ac-dd__menu button.is-on,
.fs-ac-dd__menu button:hover,
.fs-vl-perpageitem.is-selected,
.fs-vl-perpageitem:hover,
.fs-vl-chipmenu__item.is-selected,
.fs-vl-chipmenu__item:hover,
.fs-rt-select__option.is-selected,
.fs-rt-select__option:hover {
  background: var(--fs-canvas) !important;
  font-weight: 500 !important;
}

/* =====================================================================
   47 — Ads & Campaigns · Campaign report (Figma 259:2 · content 259:165)
   Self-contained. Uses shared tokens, .fs-report, .fs-pagehead, .fs-sr-only, .fs-drp (spec 09).
   Replaces any older "Ads report" block that styles ads_report.php.
   ===================================================================== */
.fs-cr {
  gap: 12px;
}

.fs-cr a {
  text-decoration: none;
}

.fs-cr-mono {
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-cr-mono.is-ink {
  color: var(--fs-ink);
}

.fs-cr-mono.is-13 {
  font-size: 13px;
}

.fs-cr-mono.is-faint {
  color: #C4C4C4;
}

/* Header — 259:166 */
.fs-cr .fs-pagehead__heading {
  flex: 1 1 0;
  min-width: 0;
}

.fs-cr .fs-pagehead__meta {
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-cr-back {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-700) !important;
}

.fs-cr-actions {
  gap: 10px;
}

.fs-cr-pick {
  position: relative;
  display: inline-flex;
  margin: 0;
}

.fs-cr .fs-pagehead__heading .fs-cr-pick {
  margin-top: 10px;
}

.fs-cr-pick.is-open {
  z-index: 1050 !important;
}

.fs-cr-pick__btn {
  box-sizing: border-box;
  height: 40px;
  min-width: 220px;
  max-width: 320px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
}

.fs-cr-pick__val {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-cr-pick__arrow {
  flex: 0 0 auto;
  transition: transform .2s ease;
}

.fs-cr-pick__btn:hover,
.fs-cr-pick__btn:focus,
.fs-cr-pick__btn.is-open,
.fs-cr-pick__btn[aria-expanded="true"] {
  border-color: var(--fs-primary-500) !important;
  box-shadow: 0 0 0 3px rgba(75, 189, 190, 0.18) !important;
}

.fs-cr-pick__btn.is-open .fs-cr-pick__arrow,
.fs-cr-pick__btn[aria-expanded="true"] .fs-cr-pick__arrow {
  transform: rotate(180deg) !important;
}

/* Popover Menu & Search */
.fs-cr-pick__menu {
  position: absolute;
  z-index: 1055 !important;
  top: calc(100% + 6px);
  left: 0;
  width: 320px;
  padding: 8px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

.fs-cr-pick__search {
  position: relative;
  margin-bottom: 6px;
}

.fs-cr-pick__search-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  pointer-events: none;
}

.fs-cr-pick__input {
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  margin: 0;
  padding: 0 10px 0 30px;
  border: 1px solid var(--fs-line);
  border-radius: 8px;
  background: var(--fs-canvas);
  font-family: var(--fs-font);
  font-size: 12px;
  color: var(--fs-ink);
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}

.fs-cr-pick__input:focus {
  border-color: var(--fs-primary-500);
  background: var(--fs-white);
}

.fs-cr-pick__filters {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--fs-line);
  overflow-x: auto;
}

.fs-cr-pick__filter-chip {
  flex: 0 0 auto;
  box-sizing: border-box;
  height: 26px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-white);
  font-family: var(--fs-font);
  font-size: 11px;
  font-weight: 500;
  line-height: 24px;
  color: #595959;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s ease;
}

.fs-cr-pick__filter-chip:hover {
  background: var(--fs-canvas);
  color: var(--fs-ink);
}

.fs-cr-pick__filter-chip.is-active {
  background: #E4F5F6;
  border-color: #B2E5E6;
  color: var(--fs-primary-700);
  font-weight: 600;
}

.fs-cr-pick__list {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fs-cr-pick__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
  cursor: pointer;
  transition: background .12s ease;
}

.fs-cr-pick__item:hover,
.fs-cr-pick__item.is-selected {
  background: var(--fs-canvas);
  font-weight: 500;
}

.fs-cr-pick__item.is-selected {
  color: var(--fs-primary-700);
}

.fs-cr-pick__item-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-cr-pick__check {
  flex: 0 0 auto;
}

.fs-cr-pick__empty {
  padding: 14px;
  font-size: 12px;
  color: var(--fs-text);
  text-align: center;
}

/* Date Range Segmented Pills & Export Button (Figma 259:344 & 260:59) */
.fs-cr-rangewrap {
  position: relative;
  display: inline-flex;
}

.fs-cr-rangewrap .fs-drp {
  top: calc(100% + 8px);
  right: 0;
}

.fs-cr-range {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 40px;
  padding: 3px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
}

.fs-cr-range__opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text) !important;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.fs-cr-range__opt:hover {
  color: var(--fs-ink) !important;
}

.fs-cr-range__opt.is-on {
  background: #000000 !important;
  color: var(--fs-white) !important;
  font-weight: 500;
}

.fs-cr-export {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin: 0;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--fs-primary-700);
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-white);
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease;
  text-decoration: none;
}

.fs-cr-export:hover {
  background: var(--fs-primary-900);
}

.fs-cr-export:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.fs-cr-range__opt:focus-visible,
.fs-cr-export:focus-visible,
.fs-cr-more__btn:focus-visible,
.fs-cr-switch input:focus-visible+.fs-cr-switch__track {
  outline: 2px solid var(--fs-primary-500);
  outline-offset: 2px;
}

/* Cards */
.fs-cr-card {
  box-sizing: border-box;
  min-width: 0;
  padding: 20px 22px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 16px;
}

.fs-cr-none {
  font-size: 14px;
  color: var(--fs-text);
}

.fs-cr-none a {
  color: var(--fs-primary-700);
}

.fs-cr-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.fs-cr-head h2,
.fs-cr-routers__head h2 {
  margin: 0;
  font-family: var(--fs-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-cr-head p,
.fs-cr-routers__head p {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-cr-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-cr-empty {
  margin: 0;
  padding: 24px 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--fs-text);
  text-align: center;
}

.fs-cr-eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  color: var(--fs-text);
}

/* Campaign card — 260:237 (r 14, thumb ~380, max-h 320) */
.fs-cr-camp {
  display: flex;
  min-height: 250px;
  max-height: 320px;
  background: var(--fs-white);
  border: 1px solid #E5E5E5;
  border-radius: 16px;
  overflow: hidden;
}

.fs-cr-camp__art {
  position: relative;
  flex: 0 0 380px;
  width: 380px;
  max-width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F7F7F7;
  overflow: hidden;
  padding: 16px;
  box-sizing: border-box;
}

.fs-cr-camp__art img,
.fs-cr-camp__art video {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.fs-cr-camp__ph {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #8C8C8C;
  text-align: center;
}

.fs-cr-camp__ph i {
  font-size: 28px;
  line-height: 1;
  color: #A0A0A0;
}

.fs-cr-camp__ph b {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.8px;
  color: #8C8C8C;
}

.fs-cr-camp__count {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(38, 38, 38, .72);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-white);
}

.fs-cr-slider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fs-cr-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.fs-cr-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-cr-slider__slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.fs-cr-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #262626;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fs-cr-slider__nav:hover:not(:disabled) {
  background: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
  color: var(--fs-primary-700);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.fs-cr-slider__nav:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.fs-cr-slider__nav.is-prev {
  left: 8px;
}

.fs-cr-slider__nav.is-next {
  right: 8px;
}

.fs-cr-slider__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  background: rgba(38, 38, 38, 0.55);
  border-radius: 999px;
}

.fs-cr-slider__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}

.fs-cr-slider__dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.fs-cr-slider__dot.is-active {
  width: 14px;
  border-radius: 999px;
  background: #FFFFFF;
}

.fs-cr-camp__body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  gap: 14px;
}

.fs-cr-camp__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: none;
  padding-bottom: 0;
}

.fs-cr-camp__id {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fs-cr-camp__id h2 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--fs-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #262626;
  letter-spacing: -0.1px;
}

.fs-cr-camp__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  overflow: hidden;
  font-family: var(--fs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-700) !important;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-decoration: none;
}

.fs-cr-camp__link i {
  font-size: 12px;
}

.fs-cr-camp__link.is-none {
  color: #8C8C8C !important;
}

.fs-cr-more {
  position: relative;
  flex: 0 0 auto;
}

.fs-cr-more__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 16px;
  color: #8C8C8C;
  cursor: pointer;
}

.fs-cr-more__btn:hover {
  background: var(--fs-canvas);
  color: var(--fs-ink);
}

.fs-cr-more__menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  padding: 6px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, .08);
}

.fs-cr-more__menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink) !important;
}

.fs-cr-more__menu a:hover {
  background: var(--fs-canvas);
}

.fs-cr-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 0;
}

.fs-cr-facts>div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.fs-cr-facts dt {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: #8C8C8C;
}

.fs-cr-facts dd {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  min-width: 0;
}

.fs-cr-facts .is-rule {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 0 0 8px;
  border-left: 2px solid var(--fs-primary-700);
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #262626;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fs-cr-facts .fs-cr-mono {
  color: #262626;
  font-family: var(--fs-font);
}

.fs-cr-dot {
  display: inline-block;
  flex: 0 0 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #A0A0A0;
  margin: 0 6px;
}

.fs-cr-camp__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #E5E5E5;
  font-size: 12px;
  line-height: 1.3;
  color: #8C8C8C;
}

.fs-cr-camp__status-label {
  font-size: 12px;
  font-weight: 400;
  color: #8C8C8C;
}

.fs-cr-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.fs-cr-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border: 1px solid #E5E5E5;
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #595959;
  white-space: nowrap;
}

.fs-cr-tag.is-running {
  border-color: #B2E5E6;
  background: #E4F5F6;
  color: var(--fs-primary-700);
  font-weight: 500;
}

.fs-cr-tag.is-scheduled {
  border-color: #F3E3B6;
  background: #FDF6E8;
  color: #8A5A12;
  font-weight: 500;
}

.fs-cr-tag.is-expired {
  border-color: #E5E5E5;
  background: #F5F5F5;
  color: #8C8C8C;
}

.fs-cr-tag.is-off {
  border-color: #E5E5E5;
  background: #FFFFFF;
  color: #8C8C8C;
}

/* KPIs — 259:353 (r 14, p 16/18, gap 10) */
.fs-cr-kpis {
  display: grid;
  grid-template-columns: repeat(var(--cr-kpis, 5), minmax(0, 1fr));
  gap: 10px;
}

.fs-cr-kpi {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 16px 18px;
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 14px;
  white-space: nowrap;
}

.fs-cr-kpi__label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  color: var(--fs-text);
}

.fs-cr-kpi__value {
  font-family: var(--fs-mono);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--fs-ink);
}

.fs-cr-kpi__value.is-accent {
  color: var(--fs-primary-700);
}

.fs-cr-kpi__note {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

/* Rows */
.fs-cr-row {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.fs-cr-row--trend {
  grid-template-columns: minmax(0, 873fr) minmax(0, 538fr);
}

.fs-cr-row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fs-cr-row--three.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fs-cr-row--trend {
  grid-template-columns: minmax(0, 873fr) minmax(0, 538fr);
}

.fs-cr-row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fs-cr-row--three.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Impressions per day — 259:375 */
.fs-cr-trend {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fs-cr-head__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fs-cr-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-cr-group {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: #F9F9F9;
  border: 1px solid #E3E3E3;
  border-radius: 999px;
  gap: 2px;
}

.fs-cr-group__opt {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 999px;
  font-family: var(--fs-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text) !important;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.fs-cr-group__opt:hover {
  color: var(--fs-ink) !important;
}

.fs-cr-group__opt.is-on {
  background: #000000 !important;
  color: var(--fs-white) !important;
  font-weight: 500;
}

.fs-cr-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fs-cr-legend .is-bar {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #4BBDBE;
}

.fs-cr-legend .is-line {
  width: 10px;
  height: 2px;
  background: #C4C4C4;
}

.fs-cr-chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 280px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-cr-chart.is-dense {
  gap: 2px;
}

.fs-cr-bar {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  border-radius: 4px 4px 0 0;
  background: #4BBDBE;
  transition: background .12s ease;
}

.fs-cr-bar.is-peak {
  background: #1A8C8D;
}

.fs-cr-bar:hover {
  background: var(--fs-primary-500);
}

.fs-cr-avg {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #C4C4C4;
  pointer-events: none;
}

.fs-cr-chart-empty {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-bottom: 1px solid var(--fs-line);
}

.fs-cr-axis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  font-family: var(--fs-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

#cr-readout {
  display: inline-flex;
  align-items: center;
  font-family: var(--fs-mono);
  font-size: 13px;
  color: #64748B;
}

.fs-cr-axis .is-live {
  color: var(--fs-ink);
}

.fs-cr-peak-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border: 1.5px solid #E2E8F0;
  border-radius: 999px;
  background: #FAFAFA;
  font-family: var(--fs-mono);
  font-size: 13px;
  font-weight: 400;
  color: #64748B;
  margin-right: 10px;
  letter-spacing: 0.2px;
}

.fs-cr-parts {
  display: flex;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid var(--fs-line);
}

.fs-cr-part {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 10px;
}

.fs-cr-part__label {
  font-size: 11px;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-cr-trend .fs-cr-note {
  margin-top: auto;
}

/* Bars (tracks) */
.fs-cr-track {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: #F0F0F0;
}

.fs-cr-track i {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  max-width: 100%;
  border-radius: 999px;
  background: var(--fs-primary-700);
}

.fs-cr-track.is-6 {
  height: 6px;
}

.fs-cr-track.is-8 {
  height: 8px;
}

.fs-cr-parts .fs-cr-track {
  background: var(--fs-line);
}

.fs-cr-parts .fs-cr-track i,
.fs-cr-track.is-light i {
  background: var(--fs-primary-500);
}

.fs-cr-track.is-venue {
  background: var(--fs-canvas);
}

.fs-cr-track.is-venue i {
  background: var(--fs-primary-300);
}

.fs-cr-track.is-grow {
  flex: 1 1 0;
  min-width: 0;
}

.fs-cr-track.is-96 {
  flex: 0 0 96px;
}

.fs-cr-track.is-76 {
  flex: 0 0 76px;
}

/* Who saw it — 259:446 · Age — 261:3 */
.fs-cr-who,
.fs-cr-age {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fs-cr-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-cr-stat.is-age {
  gap: 5px;
}

.fs-cr-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fs-cr-stat__label {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-cr-stat__label b {
  font-weight: 500;
}

.fs-cr-delta {
  font-size: 11px;
  line-height: 1.3;
  color: var(--fs-primary-900);
}

.fs-cr-delta.is-down {
  color: #C2413A;
}

.fs-cr-who:not(.is-compare) .fs-cr-venue,
.fs-cr-age:not(.is-compare) .fs-cr-venue {
  display: none;
}

.fs-cr-age .fs-cr-note,
.fs-cr-who__note {
  margin-top: auto;
}

.fs-cr-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-primary-700);
  cursor: pointer;
  white-space: nowrap;
}

.fs-cr-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fs-cr-switch__track {
  position: relative;
  width: 34px;
  height: 19px;
  border-radius: 999px;
  background: #C4C4C4;
  transition: background .15s ease;
}

.fs-cr-switch__track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--fs-white);
  transition: transform .15s ease;
}

.fs-cr-switch input:checked+.fs-cr-switch__track {
  background: var(--fs-primary-700);
}

.fs-cr-switch input:checked+.fs-cr-switch__track::after {
  transform: translateX(15px);
}

.fs-cr-chan {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--fs-line);
}

/* Lists — Where 261:48 · Devices 261:89 · channel rows */
.fs-cr-where,
.fs-cr-dev {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fs-cr-map-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--fs-line);
  background: var(--fs-canvas);
}

.fs-cr-map-wrap .leaflet-container {
  width: 100%;
  height: 100%;
  background: #F8FAFC !important;
  font-family: var(--fs-sans);
}

.fs-cr-list {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 20px;
  flex: 1 1 auto;
  padding: 6px 0;
}

.fs-cr-line {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.fs-cr-line__code {
  flex: 0 0 28px;
  font-size: 13px;
  color: #8C8C8C;
  font-family: var(--fs-mono);
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-cr-line__name {
  flex: 0 0 130px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-cr-dev .fs-cr-line__name {
  flex: 0 0 140px;
}

.fs-cr-line__name.is-100 {
  flex: 0 0 100px;
}

.fs-cr-line__pct {
  flex: 0 0 44px;
  text-align: right;
  font-size: 13px;
  font-family: var(--fs-font);
  font-weight: 500;
  color: var(--fs-ink);
}

.fs-cr-line__pct.is-48 {
  flex: 0 0 48px;
}

.fs-cr-line__pct.is-56 {
  flex: 0 0 56px;
}

/* Per router — 261:120 */
.fs-cr-routers {
  padding: 0;
  overflow: hidden;
}

.fs-cr-routers__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-cr-pill {
  flex: 0 0 auto;
  padding: 5px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 999px;
  background: var(--fs-canvas);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-cr-rt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 356px 130px 150px;
  align-items: center;
  gap: 14px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-cr-rt--head {
  padding: 10px 22px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.44px;
  color: var(--fs-text);
  white-space: nowrap;
}

.fs-cr-rt .is-right {
  text-align: right;
}

.fs-cr-rt__node {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fs-cr-rt__node b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fs-ink);
}

.fs-cr-rt__logins {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fs-cr-rt__logins .fs-cr-mono {
  flex: 0 0 56px;
  text-align: right;
}

.fs-cr-routers__foot {
  margin: 0;
  padding: 12px 22px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-cr-routers .fs-cr-empty {
  padding: 24px 22px;
}

/* Responsive (⛔ PENDING — desktop only in Figma) */
@media (max-width: 1439.98px) {
  .fs-cr .fs-pagehead {
    flex-wrap: wrap;
  }

  .fs-cr-camp__art {
    flex-basis: 42%;
  }

  .fs-cr-rt {
    grid-template-columns: minmax(0, 1fr) 110px minmax(160px, 260px) 70px 120px;
  }
}

@media (max-width: 1199.98px) {

  .fs-cr-row--trend,
  .fs-cr-row--three,
  .fs-cr-row--three.is-two {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-cr-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .fs-cr .fs-pagehead {
    flex-direction: column;
    align-items: stretch;
  }

  .fs-cr .fs-pagehead__heading {
    flex: none;
    width: 100%;
  }

  .fs-cr .fs-pagehead__meta {
    white-space: normal;
  }

  .fs-cr-actions {
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
  }

  .fs-cr-rangewrap,
  .fs-cr-range {
    max-width: 100%;
  }

  .fs-cr-range {
    overflow-x: auto;
  }

  .fs-cr-pick,
  .fs-cr-pick select {
    width: 100%;
    max-width: none;
  }

  .fs-cr-rangewrap .fs-drp {
    right: auto;
    left: 0;
    width: calc(100vw - 32px);
  }

  .fs-cr-camp {
    flex-direction: column;
  }

  .fs-cr-camp__art {
    flex: 0 0 200px;
  }

  .fs-cr-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-cr-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fs-cr-parts {
    flex-wrap: wrap;
  }

  .fs-cr-part {
    flex-basis: calc(50% - 6px);
  }

  .fs-cr-routers__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .fs-cr-routers {
    overflow-x: auto;
  }

  .fs-cr-rt {
    min-width: 760px;
  }
}

/* Target Projection vs Real Performance Comparison Card */
.fs-cr-compare {
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  padding: 18px 22px;
}

.fs-cr-compare__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-cr-compare__title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-cr-compare__title h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--fs-ink);
  margin: 0;
}

.fs-cr-compare__tag {
  font-size: 11px;
  font-weight: 500;
  background: #E4F5F6;
  color: #1A8C8D;
  padding: 2px 8px;
  border-radius: 999px;
}

.fs-cr-compare__note {
  font-size: 12px;
  color: var(--fs-muted);
}

.fs-cr-compare__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 992px) {
  .fs-cr-compare__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fs-cr-compare__item {
  background: #F9FBFB;
  border: 1px solid #E5EFEF;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-cr-compare__lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fs-muted);
  text-transform: uppercase;
}

.fs-cr-compare__vals {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fs-cr-compare__target {
  font-size: 12px;
  color: #7F7F7F;
  text-decoration: line-through;
}

.fs-cr-compare__real {
  font-size: 15px;
  font-weight: 700;
  color: var(--fs-ink);
}

.fs-cr-compare__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 4px;
}

.fs-cr-compare__badge.is-good {
  background: #E6F8F0;
  color: #0D8A54;
}

.fs-cr-compare__badge.is-warn {
  background: #FFF3E5;
  color: #D97706;
}