/* ------------------------------------------------------------------
   Mobily Executive Briefing — visual system
   Mobily Guidelines v3.0: #000050 Dark Blue · #1061FF Blue
   #4BF5FF Bright Blue · #00E66E Green · #FF5A3C Orange · #FFDC00 Yellow
------------------------------------------------------------------- */
@font-face {
  font-family: "InterVar";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "InterTight";
  src: url("fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Mobily licensed typefaces — bundled for this internal prototype. */
@font-face {
  font-family: "Mobily Headline";
  src: url("fonts/Mobily_Headline_v7-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mobily Headline";
  src: url("fonts/Mobily_Headline_v7-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mobily Text";
  src: url("fonts/Mobily_Text_v7-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mobily Text";
  src: url("fonts/Mobily_Text_v7-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mobily Text";
  src: url("fonts/Mobily_Text_v7-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000050;
  --navy: #000050;
  --navy-deep: #000050;
  --navy-soft: #000050;
  --blue: #1061ff;
  --blue-bright: #3b82ff;
  --cyan: #4bf5ff;
  --green: #00e66e;
  --orange: #ff5a3c;
  --coral: #ff5a3c;
  --yellow: #ffdc00;
  --paper: #f4f7ff;
  --paper-2: #eef3ff;
  --line: #d6e1f7;
  --slate: #1061ff;
  --text-soft: rgba(255, 255, 255, 0.76);
  --text-dim: rgba(255, 255, 255, 0.54);
  --white: #fff;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 30px 70px -34px rgba(0, 0, 70, 0.55);
  --font: "Mobily Text", "InterVar", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --display: "Mobily Headline", "InterTight", "Segoe UI", system-ui, Arial, sans-serif;
  --max: 1400px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--white);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  background-image:
    radial-gradient(900px 600px at 82% -10%, rgba(16, 97, 255, 0.28), transparent 65%),
    radial-gradient(700px 500px at 6% 18%, rgba(75, 245, 255, 0.08), transparent 60%),
    linear-gradient(180deg, #000050 0%, #000050 55%, #000050 100%);
  background-attachment: fixed;
}
body.is-studio { background: #f2f5fc; color: var(--ink); }
body.is-presenting { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: rgba(75, 245, 255, 0.3); color: #fff; }

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: -3px;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 34px;
  height: 76px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2 + 36px));
  background: rgba(4, 8, 42, 0.82);
  border-bottom: 1px solid rgba(150, 180, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
body.is-studio .topbar { display: none; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark, .ps-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), #0032a8 70%, #001f66);
  box-shadow: 0 8px 24px -10px rgba(16, 97, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--display); font-size: 15px; letter-spacing: 0.02em; }
.brand-text small {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 3px;
}
.main-nav { display: flex; align-items: center; gap: 22px; flex: 1 1 auto; }
.main-nav a {
  position: relative;
  font-size: 13px;
  color: var(--text-soft);
  padding: 6px 0;
  transition: color 0.18s;
  white-space: nowrap;
}
.main-nav a:hover { color: #fff; }
.main-nav a[aria-current="page"] { color: #fff; }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.nav-divider { width: 1px; height: 18px; background: rgba(150, 180, 255, 0.18); }
.topbar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 10px 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(150, 180, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-size: 12px;
  transition: border-color 0.18s, color 0.18s;
}
.search-trigger:hover { border-color: rgba(75, 245, 255, 0.5); color: #fff; }
.search-trigger .icon { width: 15px; height: 15px; }
kbd {
  font-family: var(--font);
  font-size: 10px;
  border: 1px solid rgba(150, 180, 255, 0.25);
  border-radius: 5px;
  padding: 1px 5px;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.18);
}
.menu-btn { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform 0.16s ease, background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn .icon { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(16, 97, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { background: var(--blue-bright); box-shadow: 0 18px 36px -14px rgba(16, 97, 255, 1); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(170, 195, 255, 0.24);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(170, 195, 255, 0.45); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eaf1ff; }
.btn-quiet {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 2px 4px rgba(11, 11, 59, 0.03);
}
.btn-quiet:hover { border-color: #a9c0f5; background: #f8faff; }
.btn-on-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(170, 195, 255, 0.22);
  color: #fff;
  box-shadow: none;
}
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.1); }
.btn-danger-quiet { background: #fff; border-color: #ffd7d0; color: #c0341c; }
.btn-danger-quiet:hover { background: #fff5f3; }
.btn-small { height: 36px; padding: 0 14px; font-size: 12.5px; border-radius: 10px; }
.btn-small .icon { width: 14px; height: 14px; }
.btn.pulse { animation: pulseBtn 0.7s ease; }
@keyframes pulseBtn { 0% { box-shadow: 0 0 0 0 rgba(16, 97, 255, 0.5); } 100% { box-shadow: 0 0 0 12px rgba(16, 97, 255, 0); } }

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.icon-btn:hover { background: rgba(120, 150, 220, 0.1); border-color: rgba(120, 150, 220, 0.16); }
.icon-btn .icon { width: 17px; height: 17px; }
.icon-btn-solid { background: var(--blue); color: #fff; }
.icon-btn-solid:hover { background: var(--blue-bright); }
.icon-btn-danger { color: #b53a25; }
.icon-btn-danger:hover { background: #fff0ed; }
.text-btn {
  border: 0;
  background: none;
  padding: 0;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: #b53a25;
  text-align: left;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
}
.text-link .icon { width: 14px; height: 14px; }
.text-link:hover { color: #003fbf; }
.text-link.light { color: var(--cyan); }
.text-link.light:hover { color: #fff; }
.text-link.light .icon { color: var(--cyan); }

/* ---------- shared ---------- */
.page { max-width: var(--max); margin: 0 auto; padding: 22px 36px 0; }
.section { padding-top: 64px; }
.kicker {
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-top: 8px;
}
.section-sub { color: var(--text-soft); font-size: 14px; margin-top: 9px; max-width: 620px; line-height: 1.5; }
.section-head-aside { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.section-head-tight { margin-bottom: 18px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pill .icon { width: 12px; height: 12px; }
.pill-blue { background: #e7efff; color: #0b4ed1; }
.pill-green { background: #e4fbef; color: #00804a; }
.pill-cyan { background: #e2fbfd; color: #00707a; }
.pill-key { background: #fff7d9; color: #7a5b00; border: 1px solid #ffedaa; }
.pill-soft { background: var(--paper-2); color: #2d3b6b; }
.pill-draft { background: #fff0ed; color: #b53a25; border: 1px solid #ffd7d0; }
.status-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--text-soft);
  padding: 7px 11px;
  border: 1px solid rgba(150, 180, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}
.status-inline .icon { width: 13px; height: 13px; color: var(--green); }
.status-inline.is-warn .icon { color: var(--coral); }
.muted-copy { font-size: 12.5px; color: var(--text-dim); line-height: 1.55; }

/* logo tiles */
.logo-tile {
  width: 88px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.logo-tile.tone-dark { background: #000050; border-color: #1a1a6a; }
.logo-tile-sm { width: 58px; height: 38px; padding: 4px; border-radius: 9px; }
.logo-tile-md { width: 112px; height: 70px; padding: 7px; border-radius: 14px; }
.logo-tile-lg { width: 140px; height: 88px; padding: 9px; border-radius: 18px; }
.logo-fallback {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.03em;
  color: var(--blue);
  background: linear-gradient(145deg, #eef4ff, #dfeaff);
}
.logo-tile.tone-dark .logo-fallback { color: var(--cyan); background: #10133f; }

/* avatars */
.avatar {
  width: var(--avatar, 48px);
  height: var(--avatar, 48px);
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  background: #dce6fb;
  color: #1b3b7a;
  font-size: calc(var(--avatar, 48px) * 0.3);
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(5, 12, 50, 0.12);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-initials { background: linear-gradient(145deg, #dbe7ff, #c3d7ff); }
.avatar-empty { background: #eef2fa; color: var(--slate); border-style: dashed; }
.avatar-stack { display: inline-flex; align-items: center; }
.avatar-stack .avatar + .avatar { margin-left: -10px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 44px;
  align-items: end;
  min-height: 566px;
  padding: 54px 56px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/backdrop.webp") center / cover no-repeat;
  opacity: 0.72;
  transform: scale(1.02);
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 500px at 88% 10%, rgba(75, 245, 255, 0.16), transparent 60%),
    linear-gradient(95deg, #000050 0%, rgba(0, 0, 80, 0.96) 36%, rgba(4, 8, 42, 0.62) 68%, rgba(4, 8, 42, 0.22) 100%),
    linear-gradient(0deg, rgba(0, 0, 50, 0.5), transparent 45%);
}
.hero-copy { position: relative; z-index: 1; max-width: 820px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: #b9c9f2;
}
.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(75, 245, 255, 0.9);
}
.eyebrow-sep { width: 22px; height: 1px; background: rgba(185, 201, 242, 0.35); }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(48px, 5.4vw, 78px);
  font-weight: 640;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-top: 26px;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: var(--cyan);
  background: linear-gradient(100deg, #b7f8ff 0%, #4bf5ff 45%, #6aa2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede {
  margin-top: 22px;
  max-width: 610px;
  font-size: 15.5px;
  line-height: 1.62;
  color: #c3cff0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats {
  display: flex;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(160, 190, 255, 0.18);
  max-width: 660px;
}
.stat-block { padding: 0 34px 0 0; margin-right: 34px; border-right: 1px solid rgba(160, 190, 255, 0.16); }
.stat-block:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stat-value {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.stat-label {
  margin-top: 8px;
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #93a5d4;
  white-space: nowrap;
}
.stat-accent .stat-value { color: var(--cyan); }

.next-card {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 24px;
  border-radius: 22px;
  background: rgba(7, 16, 48, 0.68);
  border: 1px solid rgba(140, 185, 255, 0.28);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.next-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.next-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
}
.next-eyebrow .icon { width: 13px; height: 13px; }
.next-countdown {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dce6ff;
  white-space: nowrap;
}
.next-person { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.next-person div { display: flex; flex-direction: column; gap: 3px; }
.next-person strong { font-size: 14px; line-height: 1.3; }
.next-person span { font-size: 11px; color: #9fb1de; }
.next-date {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-top: 20px;
}
.next-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; }
.next-meta span { font-size: 11.5px; color: #b7c4e8; display: inline-flex; align-items: center; gap: 6px; }
.next-meta .icon { width: 13px; height: 13px; color: #8396c8; }
.next-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(160, 190, 255, 0.18);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.next-link .icon { width: 15px; height: 15px; color: var(--cyan); transition: transform 0.18s; }
.next-link:hover .icon { transform: translateX(3px); }
.next-card-empty h3 { font-family: var(--display); font-size: 24px; margin: 16px 0; line-height: 1.2; }

/* ---------- quarter map ---------- */
.quarter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.month-col {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 24px 24px 18px;
  box-shadow: 0 24px 60px -44px rgba(0, 20, 90, 0.6);
}
.month-col-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.month-index { font-size: 9.5px; font-weight: 650; letter-spacing: 0.14em; color: var(--blue); }
.month-col-head h3 { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.03em; margin-top: 4px; }
.month-count {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--blue);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 650;
}
.qlist { margin-top: 18px; display: flex; flex-direction: column; }
.qevent {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.qevent:hover .qtitle { color: var(--blue); }
.qevent:hover .qarrow { opacity: 1; transform: translateX(0); }
.qdate { width: 42px; flex: 0 0 auto; display: flex; flex-direction: column; gap: 1px; }
.qday { font-family: var(--display); font-size: 22px; font-weight: 650; line-height: 1; letter-spacing: -0.03em; }
.qmonth { font-size: 8.5px; letter-spacing: 0.12em; color: var(--blue); font-weight: 650; }
.qbody { min-width: 0; flex: 1; }
.qtitle { font-size: 13.5px; font-weight: 600; line-height: 1.3; display: flex; align-items: center; gap: 6px; transition: color 0.18s; }
.key-star { color: #d6a300; display: inline-flex; }
.key-star .icon { width: 12px; height: 12px; fill: currentColor; }
.qmeta { font-size: 10.5px; color: var(--slate); margin-top: 4px; }
.qarrow { color: var(--blue); opacity: 0; transform: translateX(-4px); transition: 0.18s; }
.qarrow .icon { width: 15px; height: 15px; }
.month-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  margin-top: 18px;
  padding: 24px;
  border: 1px dashed #c9d6ef;
  border-radius: 16px;
  background: #fafcff;
}
.empty-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--blue);
  margin-bottom: 4px;
}
.empty-icon .icon { width: 19px; height: 19px; }
.month-empty strong { font-size: 13.5px; }
.month-empty p { font-size: 11.5px; color: var(--slate); line-height: 1.5; }
.month-empty .text-link { margin-top: 6px; }

/* ---------- brief cards ---------- */
.brief-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.brief-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 26px 60px -46px rgba(0, 20, 90, 0.65);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.brief-card:hover { transform: translateY(-3px); box-shadow: 0 36px 70px -40px rgba(0, 20, 90, 0.6); }
.brief-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.brief-card-title {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-top: 20px;
}
.brief-card-meta { font-size: 11.5px; color: var(--slate); margin-top: 8px; }
.brief-card-stats {
  display: flex;
  gap: 24px;
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brief-card-stats div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.brief-card-stats strong { font-family: var(--display); font-size: 20px; font-weight: 650; letter-spacing: -0.03em; }
.brief-card-stats span { font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); }
.brief-card-why {
  font-size: 12.5px;
  line-height: 1.62;
  color: #3a4468;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.brief-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--blue);
}
.brief-card-link .icon { width: 14px; height: 14px; }

/* ---------- people strip ---------- */
.people-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.person-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(150, 180, 255, 0.6);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
  min-width: 0;
}
.person-chip:hover { border-color: rgba(75, 245, 255, 0.55); background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }
.person-chip div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.person-chip strong { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person-chip span { font-size: 11px; color: #9fb1de; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person-chip small { font-size: 10px; color: #6f80b0; margin-top: 2px; }
.person-chip-add { border-style: dashed; }
.add-circle {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(75, 245, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(75, 245, 255, 0.25);
}

/* ---------- protocol banner ---------- */
.protocol-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  padding: 46px 50px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(75, 245, 255, 0.24), transparent 55%),
    linear-gradient(120deg, #0a4fe0 0%, #0637a8 45%, #001a66 100%);
  box-shadow: var(--shadow);
}
.protocol-banner::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -100px;
  bottom: -190px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.035), 0 0 0 80px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}
.protocol-banner .kicker { color: #a9c6ff; }
.protocol-banner h2 {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 630;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-top: 10px;
}
.protocol-banner p { color: #cddcff; font-size: 13.5px; line-height: 1.6; margin-top: 14px; max-width: 480px; }
.protocol-banner .btn { margin-top: 24px; }
.protocol-mini { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; align-self: center; }
.protocol-mini-row {
  display: flex;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(6px);
}
.protocol-mini-icon { color: var(--cyan); }
.protocol-mini-icon .icon { width: 16px; height: 16px; }
.protocol-mini-row div { display: flex; flex-direction: column; gap: 3px; }
.protocol-mini-row strong { font-size: 11.5px; font-weight: 600; line-height: 1.35; }
.protocol-mini-row span { font-size: 10px; color: #b9ceff; }

/* ---------- footer ---------- */
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding: 22px 0 36px;
  border-top: 1px solid rgba(150, 180, 255, 0.14);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6c7ca8;
}

/* ---------- crumbs / month ---------- */
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: #8c9bc7; margin: 8px 0 0; flex-wrap: wrap; }
.crumbs a { color: #aab8df; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: #5e6d9b; }
.month-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 26px 0 34px;
  border-bottom: 1px solid rgba(150, 180, 255, 0.15);
}
.month-hero h1 {
  font-family: var(--display);
  font-size: clamp(64px, 8vw, 100px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.9;
  margin-top: 10px;
}
.month-hero h1 .year {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #7f90be;
  vertical-align: super;
  margin-left: 14px;
}
.month-sum { font-size: 13.5px; color: var(--text-soft); margin-top: 18px; }
.month-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.month-hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.month-big-stats { display: flex; gap: 26px; }
.month-big-stats .stat-block { border: 0; padding: 0; margin: 0; text-align: right; }
.month-big-stats .stat-value { font-size: 28px; }
.month-big-stats .stat-label { font-size: 8.5px; }
.month-switch { display: flex; align-items: center; gap: 8px; }
.month-switch-label { font-size: 11px; color: #8c9bc7; letter-spacing: 0.08em; text-transform: uppercase; }
.month-switch .icon-btn { border-color: rgba(150, 180, 255, 0.2); }
.month-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; margin-top: 26px; }
.month-main { min-width: 0; }
.panel {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 26px 60px -50px rgba(0, 20, 90, 0.65);
}
.panel-head h2, .panel-head h3 { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.03em; margin-top: 4px; }
.panel-head .kicker { color: var(--blue); }
.calendar-panel { padding: 26px 26px 24px; }
.cal-legend { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 12px 0 18px; font-size: 10.5px; color: var(--slate); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-hint { margin-left: auto; color: #8d9abd; }
.cal-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: var(--blue); }
.dot-blue { background: var(--blue); }
.dot-green { background: var(--green); }
.dot-cyan { background: #00b7c7; }
.dot-key { background: var(--blue); box-shadow: 0 0 0 2px #ffde00; }
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal-dow { text-align: center; font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #91a0c6; padding-bottom: 4px; }
.cal-cell {
  position: relative;
  min-height: 55px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: #f7f9fe;
  padding: 6px 7px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--ink);
  text-align: left;
  cursor: default;
}
.cal-cell.is-weekend { background: #f1f4fa; }
.cal-cell.has-range { background: #e8f0ff; }
.cal-cell.has-event { cursor: pointer; border-color: #c9dbff; }
.cal-cell.has-event:hover { background: #dbe8ff; border-color: var(--blue); }
.cal-cell.is-today { box-shadow: inset 0 0 0 1.5px var(--blue); }
.cal-num { font-size: 11.5px; font-weight: 600; }
.cal-cell.is-weekend .cal-num { color: #7180a5; }
.cal-cell.has-event .cal-num { color: #0b44b8; }
.cal-dots { display: flex; gap: 3px; }
.cal-dots .cal-dot { width: 5px; height: 5px; }
.month-aside { min-width: 0; }
.aside-panel { padding: 22px; margin-bottom: 14px; }
.aside-panel .panel-head { margin-bottom: 14px; }
.aside-brief { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.aside-brief div { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.aside-brief strong { font-size: 11.5px; line-height: 1.3; }
.aside-brief span { font-size: 9.5px; color: var(--slate); }
.aside-brief .icon { width: 14px; height: 14px; color: var(--blue); }
.aside-note { background: linear-gradient(150deg, #000050, #000050); color: #fff; }
.aside-note .kicker { color: var(--cyan); }
.aside-note p { font-size: 12px; line-height: 1.6; color: #b9c4e6; margin: 10px 0 14px; }
.itinerary-list { display: flex; flex-direction: column; }
.itinerary-stop { padding-bottom: 4px; }
.itinerary-travel { display: flex; align-items: center; gap: 6px; font-size: 9.5px; color: var(--coral); text-transform: uppercase; letter-spacing: 0.06em; margin: 4px 0 6px 2px; }
.itinerary-travel .icon { width: 12px; height: 12px; transform: rotate(90deg); }
.itinerary-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.itinerary-date { width: 52px; font-size: 10.5px; font-weight: 650; color: var(--blue); }
.itinerary-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.itinerary-body strong { font-size: 11.5px; line-height: 1.3; }
.itinerary-body span { font-size: 9.5px; color: var(--slate); }
.itinerary-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.itinerary-dot.green { background: var(--green); }
.month-empty-small { margin-top: 0; padding: 18px; }

/* timeline */
.timeline-panel { margin-top: 34px; }
.timeline { display: flex; flex-direction: column; }
.timeline-item { display: grid; grid-template-columns: 64px 24px minmax(0, 1fr); gap: 10px; padding-bottom: 16px; }
.timeline-date { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding-top: 12px; }
.tl-dow { font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.12em; color: #8a99c2; }
.tl-day { font-family: var(--display); font-size: 27px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.tl-month { font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.1em; color: #8a99c2; }
.timeline-rail { position: relative; display: flex; justify-content: center; }
.timeline-rail::before { content: ""; position: absolute; top: 24px; bottom: -16px; width: 1px; background: rgba(150, 180, 255, 0.18); }
.timeline-item:last-child .timeline-rail::before { display: none; }
.timeline-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 24px; background: var(--blue); box-shadow: 0 0 0 4px rgba(16, 97, 255, 0.14); z-index: 1; }
.timeline-dot.green { background: var(--green); box-shadow: 0 0 0 4px rgba(0, 230, 110, 0.13); }
.timeline-card {
  display: block;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(150, 180, 255, 0.17);
  border-radius: 18px;
  padding: 20px 22px;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.timeline-card:hover { border-color: rgba(75, 245, 255, 0.45); background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }
.timeline-card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.timeline-card-top .pill { background: rgba(255, 255, 255, 0.08); color: #dbe6ff; border-color: transparent; }
.timeline-card-top .pill-key { background: rgba(255, 222, 0, 0.12); color: #ffe27a; border-color: rgba(255, 222, 0, 0.22); }
.time-note { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: #a9b8e0; }
.time-note .icon { width: 13px; height: 13px; }
.timeline-card h3 { font-family: var(--display); font-size: 21px; font-weight: 570; letter-spacing: -0.025em; margin-top: 10px; line-height: 1.2; }
.timeline-meta { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 8px; }
.timeline-meta span { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: #9fb0da; }
.timeline-meta .icon { width: 12px; height: 12px; color: #7f92c4; }
.timeline-summary { margin-top: 10px; font-size: 12px; line-height: 1.55; color: #b9c4e6; max-width: 720px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.timeline-open { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 10.5px; font-weight: 650; color: var(--cyan); }
.timeline-open .icon { width: 13px; height: 13px; }
.timeline-item.is-flash .timeline-card { animation: flashCard 1.6s ease; }
@keyframes flashCard { 0%, 100% { box-shadow: none; } 20% { box-shadow: 0 0 0 3px rgba(75, 245, 255, 0.4); } }

/* empty states */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 50px 24px;
  gap: 6px;
  color: var(--ink);
}
.empty-state .empty-icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 8px; }
.empty-state h2, .empty-state h3 { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.empty-state p { font-size: 13px; color: var(--slate); max-width: 460px; line-height: 1.6; }
.empty-state .btn { margin-top: 18px; }
.empty-state.big { background: rgba(255, 255, 255, 0.04); border: 1px dashed rgba(150, 180, 255, 0.24); border-radius: var(--radius); color: #fff; padding: 70px 30px; }
.empty-state.big p { color: var(--text-soft); }
.empty-page { min-height: 60vh; display: grid; place-items: center; }

/* ---------- event brief ---------- */
.event-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  margin-top: 18px;
  padding: 42px;
  border-radius: 30px;
  border: 1px solid rgba(150, 180, 255, 0.16);
  background:
    radial-gradient(650px 420px at 90% 0%, rgba(16, 97, 255, 0.22), transparent 60%),
    linear-gradient(135deg, rgba(9, 22, 60, 0.9), rgba(4, 8, 42, 0.72));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.event-logo-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.event-badges { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.event-portrait {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(150, 180, 255, 0.28);
}
.event-portrait .avatar { border: 0; box-shadow: none; }
.event-hero .pill { background: rgba(255, 255, 255, 0.07); color: #cdd9f7; }
.event-hero .pill-key { background: rgba(255, 222, 0, 0.12); color: #ffe27a; border-color: rgba(255, 222, 0, 0.22); }
.event-hero .pill-draft { background: rgba(255, 89, 60, 0.14); color: #ffb3a3; border-color: rgba(255, 89, 60, 0.25); }
.event-hero h1 {
  font-family: var(--display);
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-top: 26px;
}
.event-summary { font-size: 15px; line-height: 1.6; color: #c2cfef; margin-top: 16px; max-width: 760px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(150, 180, 255, 0.16);
  font-size: 11px;
  color: #c7d3f2;
}
.meta-chip .icon { width: 14px; height: 14px; color: #8ea5d8; }
.event-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.attend-panel {
  align-self: start;
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.45);
}
.attend-eyebrow { display: flex; align-items: center; gap: 7px; font-size: 9.5px; font-weight: 650; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); }
.attend-eyebrow .icon { width: 13px; height: 13px; }
.attend-date { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.attend-day { font-family: var(--display); font-size: 54px; font-weight: 600; line-height: 1; letter-spacing: -0.05em; }
.attend-month { font-size: 12px; font-weight: 650; letter-spacing: 0.14em; color: var(--blue); }
.attend-note { font-size: 11px; color: var(--slate); margin-top: 6px; line-height: 1.5; }
.attend-people { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.attend-label { font-family: var(--font); font-size: 8.5px; font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; }
.attend-person { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.attend-person div { display: flex; flex-direction: column; gap: 2px; }
.attend-person strong { font-size: 12px; font-weight: 600; }
.attend-person span { font-size: 9.5px; color: var(--slate); }
.attend-person:hover strong { color: var(--blue); }
.attend-format { font-size: 12px; color: var(--slate); line-height: 1.55; }
.attend-organiser { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.attend-organiser span { font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.attend-organiser strong { font-size: 11.5px; line-height: 1.4; }
.event-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; margin-top: 42px; }
.event-main { min-width: 0; }
.prose-block .kicker, .brief-stats .kicker, .agenda-block .kicker { color: var(--cyan); }
.big-prose { font-family: var(--display); font-size: 25px; font-weight: 450; line-height: 1.5; letter-spacing: -0.02em; color: #e3eaff; margin-top: 12px; }
.brief-stats { margin-top: 36px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.stat-card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(150, 180, 255, 0.16);
}
.stat-card strong { display: block; font-family: var(--display); font-size: 32px; font-weight: 600; letter-spacing: -0.04em; color: var(--cyan); line-height: 1; }
.stat-card span { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: 0.09em; color: #93a5d4; margin-top: 8px; }
.agenda-block { margin-top: 38px; }
.agenda-block h2 { font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -0.03em; margin-top: 6px; }
.agenda-list { margin-top: 14px; }
.agenda-list li { display: flex; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(150, 180, 255, 0.14); font-size: 14.5px; color: #dbe4ff; }
.agenda-num { font-size: 10px; font-weight: 650; letter-spacing: 0.1em; color: var(--cyan); width: 22px; flex: 0 0 auto; }
.note-callout {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(75, 245, 255, 0.055);
  border: 1px solid rgba(75, 245, 255, 0.2);
}
.note-callout > .icon { color: var(--cyan); width: 20px; height: 20px; margin-top: 1px; }
.note-callout strong { font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--cyan); }
.note-callout p { font-size: 12.5px; line-height: 1.6; color: #c3d5f4; margin-top: 5px; }
.event-side { min-width: 0; }
.detail-panel { padding: 22px; margin-bottom: 14px; }
.detail-panel .panel-head { margin-bottom: 12px; }
.detail-list > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.detail-list dt { font-family: var(--font); font-size: 8.5px; font-weight: 300; letter-spacing: 0.11em; text-transform: uppercase; color: var(--slate); padding-top: 2px; }
.detail-list dd { font-size: 11.5px; line-height: 1.45; color: var(--ink); }
.side-person { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.side-person div { display: flex; flex-direction: column; gap: 2px; }
.side-person strong { font-size: 11.5px; }
.side-person span { font-size: 9.5px; color: var(--slate); }
.side-bio { font-size: 10.5px; line-height: 1.55; color: var(--slate); padding: 6px 0 10px 54px; }
.detail-panel .text-link { margin-top: 10px; }
.detail-source p { font-size: 11px; color: var(--slate); line-height: 1.5; }
.source-note { display: block; font-size: 9.5px; color: #8c9abd; line-height: 1.5; margin-top: 8px; }
.event-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 46px; }
.event-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(150, 180, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.18s, background 0.18s;
}
.event-nav-link:hover { border-color: rgba(75, 245, 255, 0.45); background: rgba(255, 255, 255, 0.06); }
.event-nav-link.next { justify-content: flex-end; text-align: right; }
.event-nav-link div { display: flex; flex-direction: column; gap: 3px; }
.event-nav-link span { font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; color: #8c9bc7; }
.event-nav-link strong { font-size: 12.5px; font-weight: 600; }
.event-nav-link .icon { width: 16px; height: 16px; color: var(--cyan); }

/* ---------- people page ---------- */
.simple-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 26px 0 32px;
  border-bottom: 1px solid rgba(150, 180, 255, 0.15);
}
.simple-hero h1 { font-family: var(--display); font-size: clamp(44px, 5.5vw, 64px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin-top: 10px; }
.simple-hero p { font-size: 13.5px; line-height: 1.6; color: var(--text-soft); margin-top: 14px; max-width: 600px; }
.simple-hero-side { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.simple-count { font-family: var(--display); font-size: 50px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.simple-count span { display: block; font-family: var(--font); font-size: 8.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #8c9bc7; margin-top: 5px; }
.people-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 24px 0 18px; }
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 340px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(150, 180, 255, 0.2);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
}
.search-field:focus-within { border-color: var(--cyan); }
.search-field input { flex: 1; border: 0; background: none; outline: 0; font-size: 12px; color: #fff; min-width: 0; }
.search-field input::placeholder { color: #7f8db6; }
.search-field .icon { width: 15px; height: 15px; }
.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.person-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 26px 60px -50px rgba(0, 20, 90, 0.65);
}
.person-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.person-card .icon-btn { color: #8c9abd; }
.person-card .icon-btn:hover { color: var(--blue); }
.person-card h3 { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.person-role { font-size: 11px; color: var(--slate); margin-top: 5px; }
.person-card .pill { margin-top: 10px; align-self: flex-start; }
.person-bio { font-size: 11.5px; line-height: 1.6; color: #46507a; margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.person-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.person-tags span { font-size: 9px; color: #4c5a8c; background: var(--paper-2); border-radius: 5px; padding: 3px 6px; }
.person-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; font-size: 10px; color: var(--slate); }
.person-card-foot span, .person-card-foot a { display: inline-flex; align-items: center; gap: 5px; }
.person-card-foot .icon { width: 12px; height: 12px; }
.person-card-foot a { color: var(--blue); font-weight: 600; }
.person-card-new { border: 1px dashed #b9c9e8; background: rgba(255, 255, 255, 0.04); color: #fff; align-items: flex-start; justify-content: center; gap: 8px; min-height: 240px; }
.person-card-new .add-circle { margin-bottom: 6px; }
.person-card-new strong { font-family: var(--display); font-size: 18px; }
.person-card-new p { font-size: 11.5px; color: #9fb0da; line-height: 1.55; max-width: 220px; }
.person-card-new:hover { border-color: var(--cyan); background: rgba(255, 255, 255, 0.07); }

/* ---------- protocol ---------- */
.approach-legend { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0; }
.approach-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 27px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid rgba(150, 180, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  font-size: 10px;
  color: #c3cff0;
  white-space: nowrap;
}
.approach-chip .icon { width: 12px; height: 12px; color: var(--cyan); }
.protocol-table { background: #fff; color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 0 26px 60px -50px rgba(0, 20, 90, 0.65); }
.protocol-head, .protocol-row { display: grid; grid-template-columns: 1.15fr 1fr 44px; gap: 30px; padding: 20px 26px; align-items: center; }
.protocol-head { border-bottom: 1px solid var(--line); font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; color: #8c9abd; padding-top: 16px; padding-bottom: 16px; }
.protocol-row { border-top: 1px solid var(--line); }
.protocol-row:first-of-type { border-top: 0; }
.protocol-occasion { display: flex; gap: 14px; align-items: flex-start; }
.protocol-num { font-size: 10px; font-weight: 650; color: var(--blue); padding-top: 2px; letter-spacing: 0.06em; }
.protocol-occasion div { display: flex; flex-direction: column; gap: 4px; }
.protocol-occasion strong { font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.protocol-occasion span { font-size: 10.5px; color: var(--slate); line-height: 1.5; }
.protocol-approaches { display: flex; flex-wrap: wrap; gap: 5px; }
.protocol-table .approach-chip { background: var(--paper-2); border-color: var(--line); color: #2b3560; }
.protocol-table .approach-chip .icon { color: var(--blue); }
.protocol-row .icon-btn { color: #8c9abd; }
.protocol-row .icon-btn:hover { color: var(--blue); }
.protocol-footnote { display: flex; gap: 12px; margin-top: 20px; padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(150, 180, 255, 0.16); background: rgba(255, 255, 255, 0.035); }
.protocol-footnote .icon { color: var(--cyan); width: 18px; height: 18px; }
.protocol-footnote p { font-size: 11.5px; line-height: 1.6; color: #aab8df; }
.protocol-footnote a { display: inline-flex; align-items: center; gap: 4px; color: var(--cyan); font-weight: 600; }
.protocol-footnote a .icon { width: 12px; height: 12px; }

/* ---------- study ---------- */
.studio { min-height: 100vh; background: #f3f6fd; color: var(--ink); }
.studio-top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 26px;
  height: 68px;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.studio-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.studio-brand .brand-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 16px; }
.studio-brand > span:last-child { display: flex; flex-direction: column; font-family: var(--display); font-size: 13px; font-weight: 650; line-height: 1.2; }
.studio-brand small { font-family: var(--font); font-size: 8.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: #8c9abd; margin-top: 2px; }
.studio-status-wrap { display: flex; flex-direction: column; gap: 2px; }
.studio-status { font-size: 11px; font-weight: 600; color: #0b8a52; display: inline-flex; align-items: center; gap: 5px; }
.studio-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.studio-status.is-dirty { color: #b77900; }
.studio-status-sub { font-size: 9px; color: #8c9abd; }
.studio-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.studio-tabs {
  position: sticky;
  top: 68px;
  z-index: 29;
  display: flex;
  gap: 2px;
  height: 46px;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.studio-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: #65729b;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.studio-tab .icon { width: 14px; height: 14px; }
.studio-tab:hover { color: var(--ink); }
.studio-tab.is-active { color: var(--blue); border-color: var(--blue); }
.studio-shell { display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: calc(100vh - 114px); }
.studio-list {
  position: sticky;
  top: 114px;
  align-self: start;
  max-height: calc(100vh - 114px);
  overflow: auto;
  padding: 22px 14px;
  background: #fff;
  border-right: 1px solid var(--line);
}
.studio-list-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 0 6px 14px; }
.studio-list-head h2 { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.03em; margin-top: 3px; }
.studio-list-head .kicker { color: #8c9abd; }
.studio-list-items { display: flex; flex-direction: column; gap: 2px; }
.studio-group { margin-bottom: 10px; }
.studio-group-label { font-size: 8.5px; letter-spacing: 0.13em; text-transform: uppercase; color: #8c9abd; padding: 8px 8px 4px; }
.studio-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 9px;
  border-radius: 9px;
  color: var(--ink);
  transition: background 0.15s;
}
.studio-item:hover { background: #f4f7fd; }
.studio-item.is-active { background: #eaf1ff; }
.studio-item-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }
.studio-item-dot.green { background: var(--green); }
.studio-item-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }

.activity-options { display: flex; flex-wrap: wrap; gap: 6px; }

.studio-prefs { display: flex; flex-direction: column; gap: 4px; margin-left: auto; margin-right: 12px; }
.studio-seg { display: flex; gap: 2px; padding: 2px; border: 1px solid #d6e1f7; border-radius: 7px; background: #f5f8ff; }
.studio-choice { height: 21px; min-width: 38px; padding: 0 5px; border-radius: 4px; color: #51607f; font-size: 8px; font-weight: 700; }
.studio-choice:hover { color: #000050; background: #e9f1ff; }
.studio-choice.is-active { color: #fff; background: #1061ff; }
html[dir="rtl"] .studio-prefs { margin-left: 12px; margin-right: auto; }
html[dir="rtl"] .studio { text-align: right; }
@media (max-width: 1180px) {
  .studio-prefs { display: none; }
}
