/* =============================================================
   NUSEI Dashboard — Theme
   Palette, type and layout follow the NUSEI brand guideline.
   ============================================================= */

:root {
  /* Brand palette */
  --nusei-navy: #071B38;      /* primary / foundation */
  --nusei-navy-mid: #0D2952;
  --nusei-navy-light: #1A3D6B;
  --nusei-blue-tint: #DDE5F3;
  --nusei-orange: #F0651E;    /* accent / energy */
  --nusei-orange-tint: #FEF1EB;
  --white: #FFFFFF;
  --off-white: #F7F6F3;
  --ink: #1A1714;

  /* Roles */
  --bg: var(--off-white);
  --surface: var(--white);
  --text: var(--ink);
  --text-dim: #5b6472;
  --border: #e6e3dd;
  --shadow: 0 1px 2px rgba(7, 27, 56, .06), 0 8px 24px rgba(7, 27, 56, .06);
  --shadow-lg: 0 20px 60px rgba(7, 27, 56, .28);

  --sidebar-w: 264px;
  --radius: 12px;
  --radius-sm: 8px;

  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  height: 100vh;          /* fill the viewport; the body itself never scrolls */
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

/* ===================== Sidebar ===================== */
.sidebar {
  background: var(--nusei-navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  height: 100vh;          /* full height; body doesn't scroll, so it stays put */
  overflow-y: auto;       /* scroll within the sidebar if its own content is tall */
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.brand-mark { flex: none; line-height: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-word {
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 22px;
  letter-spacing: .5px;
}
.brand-sub {
  font-size: 8.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--nusei-blue-tint);
  margin-top: 2px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
  flex: 1;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(255, 255, 255, .78);
  font-family: var(--font-body);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.nav-item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav-item.is-active {
  background: var(--nusei-navy-light);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--nusei-orange);
}
.nav-glyph { font-size: 16px; width: 20px; text-align: center; }

.sidebar-foot { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--nusei-blue-tint);
  margin: 0;
  line-height: 1.4;
}

/* ===================== Main ===================== */
.main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100vh;          /* the main panel is the scroll container */
  overflow-y: auto;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.menu-btn {
  display: none;
  border: 0; background: transparent;
  font-size: 22px; cursor: pointer; color: var(--nusei-navy);
}
.topbar-titles { flex: 1; min-width: 0; }
.page-title {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0;
  color: var(--nusei-navy);
  font-style: italic;
}
.page-sub { margin: 2px 0 0; font-size: 13px; color: var(--text-dim); }

.topbar-tools { display: flex; align-items: center; gap: 14px; }
.search input {
  width: 240px;
  max-width: 40vw;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  background: var(--off-white);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.search input:focus {
  border-color: var(--nusei-orange);
  box-shadow: 0 0 0 3px var(--nusei-orange-tint);
  background: #fff;
}
.data-badge {
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 1.2px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--nusei-blue-tint);
  color: var(--nusei-navy-mid);
}
.data-badge.is-live { background: var(--nusei-orange); color: #fff; }

.content { padding: 32px; flex: 1; }

/* ===================== Home ===================== */
.home-hero { margin-bottom: 30px; max-width: 720px; }
.hero-kicker {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nusei-orange);
  font-weight: bold;
  margin: 0 0 10px;
}
.hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 34px;
  color: var(--nusei-navy);
  margin: 0 0 10px;
  line-height: 1.15;
}
.hero-lead { font-size: 15px; color: var(--text-dim); margin: 0; line-height: 1.6; }

.bucket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
}
.bucket-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.bucket-card:hover {
  transform: translateY(-3px);
  border-color: var(--nusei-orange);
  box-shadow: 0 12px 34px rgba(7, 27, 56, .12);
}
.bucket-card-glyph {
  flex: none;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-size: 26px;
  background: var(--nusei-navy);
  border-radius: var(--radius-sm);
}
.bucket-card-body { flex: 1; min-width: 0; }
.bucket-card-title {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--nusei-navy);
  margin-bottom: 4px;
}
.bucket-card-blurb { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.bucket-card-arrow {
  flex: none;
  font-size: 20px;
  color: var(--nusei-orange);
  transition: transform .15s;
}
.bucket-card:hover .bucket-card-arrow { transform: translateX(4px); }

/* ===================== Week selector (Monitor) ===================== */
.week-bar { margin-bottom: 24px; }
.week-bar-head {
  font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--text-dim); font-weight: bold; margin-bottom: 10px;
}
.week-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.week-chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--nusei-navy);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s, transform .1s;
}
.week-chip:hover { border-color: var(--nusei-navy); transform: translateY(-1px); }
.week-chip.is-selected {
  background: var(--nusei-navy);
  border-color: var(--nusei-navy);
  color: #fff;
  box-shadow: var(--shadow);
}
.week-chip.is-current .week-chip-badge {
  font-size: 8.5px; font-weight: bold; letter-spacing: .8px; text-transform: uppercase;
  background: var(--nusei-orange); color: #fff;
  padding: 3px 7px; border-radius: 999px; line-height: 1;
}
.week-chip.is-selected.is-current { box-shadow: inset 0 0 0 1px var(--nusei-orange), var(--shadow); }
.week-chip-label { white-space: nowrap; }

/* ===================== File grid ===================== */
.file-toolbar { margin-bottom: 16px; }
.file-count {
  font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--text-dim); font-weight: bold;
}
/* Advisory toolbar: file count on the left, Type + Sort dropdowns on the right */
.adv-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.adv-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
/* Advisory Deep Dive / Commentary tag chip on a file card */
.adv-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.adv-tag--deep { color: var(--nusei-orange); background: var(--nusei-orange-tint); }
.adv-tag--comm { color: var(--nusei-navy-mid); background: var(--nusei-blue-tint); }
.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.file-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.file-card:hover,
.file-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--nusei-orange);
  box-shadow: 0 12px 30px rgba(7, 27, 56, .12);
  outline: none;
}
.file-thumb-wrap {
  position: relative;
  height: 128px;
  background: var(--nusei-navy);
  display: grid; place-items: center;
  overflow: hidden;
}
.file-thumb { width: 100%; height: 100%; object-fit: cover; }
.file-glyph { font-size: 40px; }
.file-kind {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 9px; font-weight: bold; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(255, 255, 255, .92);
  color: var(--nusei-navy);
  padding: 3px 7px; border-radius: 5px;
}
.file-meta { padding: 14px 16px 6px; flex: 1; }
.file-name {
  font-size: 14px; margin: 0 0 4px; color: var(--nusei-navy);
  line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.file-sub { font-size: 12px; color: var(--text-dim); margin: 0; }
.file-actions {
  display: flex; gap: 8px; padding: 12px 16px 16px;
}

/* ===================== Buttons ===================== */
.btn {
  font-family: var(--font-body);
  font-size: 13px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-sm { padding: 7px 12px; font-size: 12px; flex: 1; }
.btn-primary { background: var(--nusei-orange); color: #fff; }
.btn-primary:hover { background: #d15414; }
.btn-ghost {
  background: transparent; color: var(--nusei-navy); border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--nusei-navy); background: var(--off-white); }
.btn-close {
  background: transparent; color: #fff; font-size: 16px; border: 0; padding: 8px 10px;
}
.btn-close:hover { color: var(--nusei-orange); }

/* ===================== States ===================== */
.loading, .empty-box, .error-box {
  padding: 40px; text-align: center; color: var(--text-dim);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 14px;
}
.error-box { color: #8a2b12; background: var(--nusei-orange-tint); border-color: #f3c9b5; }
.error-box strong { display: block; margin-bottom: 6px; color: var(--nusei-orange); }
.error-box p { margin: 0; font-size: 13px; }

/* ===================== Modal ===================== */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 4vh 3vw;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 27, 56, .55);
  backdrop-filter: blur(2px);
}
.modal-panel {
  position: relative;
  width: min(1000px, 100%);
  height: min(88vh, 900px);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.modal-head {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  background: var(--nusei-navy);
  color: #fff;
}
.modal-title {
  flex: 1; min-width: 0;
  font-family: var(--font-body); font-size: 15px; font-weight: bold; margin: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.modal-actions { display: flex; align-items: center; gap: 8px; }
.modal-actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.modal-actions .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.modal-body { flex: 1; background: #2a2f3a; }
.modal-body iframe { width: 100%; height: 100%; border: 0; }

/* ===================== Responsive ===================== */
@media (max-width: 860px) {
  body { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; z-index: 50;
    transform: translateX(-100%);
    transition: transform .2s ease;
    width: var(--sidebar-w);
    box-shadow: var(--shadow-lg);
  }
  .sidebar.is-open { transform: translateX(0); }
  .menu-btn { display: block; }
  .topbar { padding: 16px 18px; }
  .content { padding: 20px 18px; }
  .bucket-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 26px; }
  .search input { width: 150px; }
}

/* ===================== Dossier (home) ===================== */
.dossier { max-width: 1180px; }

.dossier-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.dossier-hero .hero-title { margin: 0; font-size: 30px; }
.dossier-updated {
  flex: none;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Top row: What's New + Agenda side by side */
.dossier-top {
  display: grid;
  grid-template-columns: 2.5fr 2fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* Shared box shell */
.dossier-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}
.box-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.box-eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--nusei-orange);
  margin-bottom: 5px;
  white-space: nowrap;
}
.box-title {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--nusei-navy);
  margin: 0;
}
.box-cta {
  flex: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: bold;
  color: var(--nusei-navy);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 13px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.box-cta:hover { background: var(--nusei-orange); border-color: var(--nusei-orange); color: #fff; }
.box-empty { color: var(--text-dim); font-size: 13px; list-style: none; }

/* --- What's New items (each its own clickable subwindow) --- */
.wn-list, .ag-list { list-style: none; margin: 0; padding: 0; }
.wn-list { display: flex; flex-direction: column; gap: 12px; }
.wn-item {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--off-white);
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
.wn-item.is-clickable { cursor: pointer; }
.wn-item.is-clickable:hover,
.wn-item.is-clickable:focus-visible {
  border-color: var(--nusei-orange);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
  outline: none;
}
.wn-open-hint {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: bold;
  color: var(--nusei-orange);
}
.wn-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.wn-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: bold;
  color: var(--nusei-navy);
  margin: 0;
  line-height: 1.3;
}
.wn-date { flex: none; font-size: 11px; color: var(--text-dim); white-space: nowrap; }
.wn-tag {
  display: inline-block;
  margin-top: 7px;
  font-size: 9.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--nusei-navy-mid);
  background: var(--nusei-blue-tint);
  padding: 3px 8px;
  border-radius: 5px;
}
.wn-summary { margin: 8px 0 0; font-size: 13px; line-height: 1.55; color: var(--text-dim); }

/* --- Agenda items --- */
.ag-item {
  padding: 13px 0 13px 16px;
  border-bottom: 1px dashed var(--border);
  position: relative;
}
.ag-item::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--nusei-orange);
}
.ag-item:first-child { padding-top: 0; }
.ag-item:first-child::before { top: 5px; }
.ag-item:last-child { border-bottom: 0; padding-bottom: 0; }
.ag-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.ag-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: bold;
  color: var(--nusei-navy);
  margin: 0;
  line-height: 1.3;
}
.ag-note { margin: 5px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-dim); }

/* Agenda tag chip (Ongoing / Plan to start) */
.ag-tag {
  display: inline-block;
  flex: none;
  white-space: nowrap;
  margin-top: 7px;
  font-size: 9.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 5px;
}
.ag-tag--ongoing { color: var(--nusei-orange); background: var(--nusei-orange-tint); }
.ag-tag--plan    { color: var(--nusei-navy-mid); background: var(--nusei-blue-tint); }

/* Agenda filter / sort control — a compact dropdown in the box header */
.ag-sort {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.ag-sort-label {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--text-dim);
}
.ag-sort-select {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: bold;
  color: var(--nusei-navy);
  background-color: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 30px 6px 13px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23071B38' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 6px;
  transition: border-color .15s, box-shadow .15s;
}
.ag-sort-select:hover { border-color: var(--nusei-orange); }
.ag-sort-select:focus {
  outline: none;
  border-color: var(--nusei-orange);
  box-shadow: 0 0 0 3px var(--nusei-orange-tint);
}

/* The agenda box is a flex column: the header stays put and the list fills
   the rest of the box, scrolling within it. The box itself is stretched by
   the dossier grid to match the taller "What's New" column, so the agenda
   list fills the column down to the same bottom edge. */
.ag-box { display: flex; flex-direction: column; }
.ag-box .box-head { flex: none; }
.ag-list-wrap { position: relative; flex: 1 1 0; min-height: 0; margin-top: 2px; }
.ag-list {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.ag-list::-webkit-scrollbar { width: 8px; }
.ag-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.ag-list::-webkit-scrollbar-track { background: transparent; }

/* --- Monitoring (full-width) --- */
.mon-box { margin-bottom: 20px; }
.mon-body {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 28px;
}
.mon-files-label, .workstreams-label {
  display: block;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.mon-file-list { list-style: none; margin: 0 0 12px; padding: 0; }
.mon-file {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  margin-bottom: 6px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--nusei-navy);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.mon-file.is-clickable { cursor: pointer; }
.mon-file.is-clickable:hover,
.mon-file.is-clickable:focus-visible {
  border-color: var(--nusei-orange);
  background: #fff;
  box-shadow: var(--shadow);
  outline: none;
}
.mon-file-glyph { flex: none; font-size: 15px; }
.mon-file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mon-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  align-self: center;
}

/* --- Workstream quick-links --- */
.workstreams {
  padding-top: 6px;
  border-top: 1px solid var(--border);
}
.workstreams-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ws-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--nusei-navy);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .15s, border-color .15s;
}
.ws-chip:hover { transform: translateY(-2px); border-color: var(--nusei-orange); }
.ws-chip-glyph { font-size: 15px; }

@media (max-width: 980px) {
  .dossier-top { grid-template-columns: 1fr; }
  .mon-body { grid-template-columns: 1fr; gap: 16px; }
  /* Single column: no taller sibling to match, so let the agenda list flow
     with a normal capped height instead of absolute-filling a 0-height box. */
  .ag-box { display: block; }
  .ag-list-wrap { position: static; min-height: 0; margin-top: 14px; }
  .ag-list { position: static; max-height: 360px; }
}
