/* VCxO Portal (23 Nov 2026): polished, in the manner of Apple's website and
   apps. System type with tight large headings, a frosted top bar, generous
   space, soft rounded surfaces without hard borders, pill buttons, and a tab
   bar at the bottom on phones. VCxO Blue is the accent; red only for "late". */

:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --hover: #f2f2f5;
  --sep: rgba(0, 0, 0, 0.08);
  --sep-strong: rgba(0, 0, 0, 0.14);
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --accent: #1e4e8c;
  --link: #1767c2;
  --accent-soft: rgba(23, 103, 194, 0.1);
  --red: #e5352b;
  --orange: #c26a00;
  --orange-soft: rgba(255, 159, 10, 0.14);
  --bar: rgba(255, 255, 255, 0.72);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.05), 0 12px 28px -8px rgba(0, 0, 0, 0.12);
  --r-lg: 22px;
  --r-md: 16px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #000000;
    --surface: #1c1c1e;
    --hover: #2c2c2e;
    --sep: rgba(255, 255, 255, 0.1);
    --sep-strong: rgba(255, 255, 255, 0.18);
    --ink: #f5f5f7;
    --ink-2: #a1a1a6;
    --ink-3: #8e8e93;
    --accent: #2f7de0;
    --link: #4a9df5;
    --accent-soft: rgba(74, 157, 245, 0.16);
    --red: #ff453a;
    --orange: #ffb340;
    --orange-soft: rgba(255, 159, 10, 0.18);
    --bar: rgba(22, 22, 24, 0.72);
    --shadow-sm: none;
    --shadow-md: 0 12px 28px -10px rgba(0, 0, 0, 0.7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font: 400 15px/1.47 var(--font); letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1, h2 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--surface); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(23, 103, 194, 0.45); outline-offset: 2px; border-radius: 10px; }
form.inline { display: contents; }
.i { width: 20px; height: 20px; flex: none; }
.i.sm { width: 16px; height: 16px; }
.faint { color: var(--ink-3); }

/* ---- buttons: pills ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 20px; border: 0; border-radius: 980px; cursor: pointer;
  background: var(--accent); color: #fff; font-weight: 500; font-size: 15px;
  transition: background 200ms var(--ease), transform 100ms var(--ease);
}
.btn:hover { background: #1a5aa8; text-decoration: none; }
.btn:active { transform: scale(0.97); }
.icon-btn {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: var(--hover); color: var(--ink-2); cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease), transform 100ms var(--ease);
}
.icon-btn:hover { color: var(--link); background: var(--accent-soft); text-decoration: none; }
.icon-btn:active { transform: scale(0.94); }
.link { font-size: 15px; color: var(--link); background: none; border: 0; padding: 0; cursor: pointer; }
.link:hover { text-decoration: underline; }
.link::after { content: ' \203A'; }
.chip-btn {
  flex: none; font-size: 13px; font-weight: 500; padding: 5px 14px; border-radius: 980px;
  background: var(--accent); color: #fff;
}
.chip-btn:hover { text-decoration: none; background: #1a5aa8; }
.tag {
  display: inline-block; align-self: flex-start; padding: 2px 10px; border-radius: 980px;
  background: var(--hover); color: var(--ink-2); font-size: 12px; font-weight: 500; white-space: nowrap;
}
.tag.warm { background: var(--orange-soft); color: var(--orange); }
.note { margin: 0 0 20px; padding: 12px 16px; border-radius: var(--r-md); font-size: 14px; background: var(--accent-soft); color: var(--ink); }
.note.err { background: rgba(229, 53, 43, 0.1); color: var(--red); }
.empty { color: var(--ink-3); font-size: 15px; padding: 6px 0 4px; }
.hint { margin-top: 28px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* ==== sign-in: an Apple ID-like page ==== */
.signin-page { justify-content: center; align-items: center; padding: 32px 20px; }
.signin { width: 100%; display: grid; place-items: center; }
.signin-box { width: 100%; max-width: 380px; text-align: center; }
.signin-logo { display: block; height: 50px; width: auto; margin: 0 auto 28px; }
.signin-box h1 { font-size: 32px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }
.signin-box .sub { margin: 8px 0 28px; color: var(--ink-2); font-size: 17px; }
.signin-form { display: grid; text-align: start; }
.signin-form label:not(.check) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.signin-form input[type='email'], .signin-form input[type='password'] {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--sep-strong); padding: 14px 16px; min-height: 54px; margin: 0;
}
.signin-form input[type='email'] { border-radius: 14px 14px 0 0; }
.signin-form input[type='password'] { border-radius: 0 0 14px 14px; border-top: 0; }
.signin-form input::placeholder { color: var(--ink-3); }
.signin-form input:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px var(--accent-soft); position: relative; z-index: 1; }
.signin-form .check { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.signin-form .check input { width: 16px; height: 16px; accent-color: var(--accent); }
.signin-form .btn { margin-top: 20px; width: 100%; min-height: 48px; font-size: 17px; }
.fine { margin-top: 22px; font-size: 13px; color: var(--ink-3); }

/* ==== the bar: frosted, content scrolls under ==== */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--sep);
}
.topbar-inner { max-width: 1080px; margin: 0 auto; padding: 0 22px; height: 52px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font: 600 17px/1 var(--font-display); letter-spacing: -0.02em; flex: none; }
.brand img { width: 22px; height: auto; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 4px; }
.nav a {
  display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 980px;
  color: var(--ink-2); font-size: 14px; white-space: nowrap; transition: color 200ms var(--ease), background 200ms var(--ease);
}
.nav-i { display: none; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a[aria-current='page'] { color: var(--ink); background: var(--hover); font-weight: 500; }
.topsearch { position: relative; margin-inline-start: auto; width: 220px; }
.topsearch svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.topsearch input {
  width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: var(--hover);
  border: 1px solid transparent; border-radius: 10px; padding: 7px 12px 7px 32px; min-height: 34px;
}
.topsearch input::placeholder { color: var(--ink-3); }
.topsearch input:focus { outline: none; background: var(--surface); border-color: var(--link); box-shadow: 0 0 0 3px var(--accent-soft); }
.me { display: flex; align-items: center; gap: 8px; flex: none; }
.me form { margin: 0; }
.me-avatar {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(180deg, #3d8ef0, #1550a8); color: #fff; font: 600 12.5px/1 var(--font); letter-spacing: 0;
}

/* ==== page ==== */
.wrap { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 44px 22px 64px; }
.narrow { max-width: 720px; margin: 0 auto; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.page-head h1 { font-size: 40px; font-weight: 600; line-height: 1.1; letter-spacing: -0.028em; }
.page-head .sub { margin-top: 6px; color: var(--ink-2); font-size: 19px; letter-spacing: -0.015em; }

/* happy hour: a quiet capsule */
.happy {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 980px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.happy:hover { text-decoration: none; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.happy > svg { color: var(--orange); }
.happy > span { display: flex; flex-direction: column; line-height: 1.25; }
.happy-label { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-3); }
.happy-when { font-size: 14px; font-weight: 500; }
.happy.now { background: var(--orange-soft); box-shadow: none; }
.happy.now .happy-label { color: var(--orange); }

/* block headings */
.block { margin-bottom: 40px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.block-head h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }

/* ---- app launcher: like a home screen ---- */
.tiles {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px 4px;
  padding: 22px 16px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.tile {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; height: 100%;
  padding: 14px 8px 12px; text-align: center; cursor: pointer; color: var(--ink);
  background: none; border: 0; border-radius: var(--r-md);
  transition: background 200ms var(--ease);
}
.tile:hover { text-decoration: none; background: var(--hover); }
.tile:active .app-icon { transform: scale(0.94); }
.icon-wrap { position: relative; display: inline-block; margin-bottom: 10px; }
.app-icon {
  display: block; width: 64px; height: 64px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12)) drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.08));
  transition: transform 300ms cubic-bezier(0.34, 1.4, 0.64, 1);
}
.tile:hover .app-icon { transform: scale(1.06); }
.app-icon.xs { width: 28px; height: 28px; filter: none; flex: none; }
.tile-name { font-size: 14px; font-weight: 500; line-height: 1.25; }
.tile-sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.35; max-width: 20ch; }
.tiles.home .tile-sub { display: none; }
.pill-count {
  position: absolute; top: -6px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 980px;
  display: grid; place-items: center; background: var(--red); color: #fff; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 0 0 2.5px var(--surface);
}
.pill-week {
  position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 2px 8px; border-radius: 980px; background: var(--orange); color: #fff;
  font-size: 10.5px; font-weight: 600; box-shadow: 0 0 0 2.5px var(--surface);
}
.tiles.brands { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.brand-logo {
  display: grid; place-items: center; width: 100%; height: 78px; margin-bottom: 12px; padding: 12px 16px;
  background: #ffffff; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.brand-logo img { max-width: 100%; max-height: 50px; width: auto; height: auto; }

/* ---- numbers: widgets ---- */
.stats { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 12px; margin-bottom: 40px; }
.stats.n1 { --n: 1; } .stats.n2 { --n: 2; } .stats.n3 { --n: 3; } .stats.n4 { --n: 4; } .stats.n5 { --n: 5; }
.stat-btn {
  display: flex; flex-direction: column; gap: 2px; width: 100%; height: 100%; padding: 18px 18px 16px; text-align: start;
  background: var(--surface); border: 0; border-radius: var(--r-md); box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.stat-btn:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-btn:active { transform: scale(0.98); }
.stat-n { font: 600 34px/1.05 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-l { font-size: 13px; color: var(--ink-2); }
.stat.bad .stat-n { color: var(--red); }
.stat.act .stat-n { color: var(--link); }

/* ---- panels ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.panel { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 22px 24px 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.panel-head h2 { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.018em; }
.head-i { display: none; }
.panel-head .link { font-size: 14px; }
.mini { margin: 12px 0 2px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-3); }
.list > li + li { border-top: 1px solid var(--sep); }
.item { display: flex; align-items: center; gap: 12px; padding: 11px 0; min-width: 0; }
.item-btn {
  background: none; border: 0; text-align: start; cursor: pointer; color: var(--ink);
  border-radius: 12px; margin-inline: -10px; padding-inline: 10px; width: calc(100% + 20px);
  transition: background 200ms var(--ease);
}
.item-btn:hover { background: var(--hover); text-decoration: none; }
.item-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.item-title { flex: 1; min-width: 0; font-weight: 500; font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
.item-sub { font-size: 13.5px; color: var(--ink-2); }
.item-meta { font-size: 12.5px; color: var(--ink-3); }
.time { flex: none; width: 70px; font-size: 13.5px; font-weight: 600; color: var(--link); font-variant-numeric: tabular-nums; }
.dot { flex: none; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--link); }
.news-item { flex-direction: column; align-items: flex-start; gap: 2px; }
.news-item .item-title { white-space: normal; font-weight: 600; }
.news-item .item-sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* faces */
.face { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; background: var(--hover); }
.face.sm { width: 38px; height: 38px; }
.initials {
  display: grid; place-items: center; color: #fff; font: 600 15px/1 var(--font); letter-spacing: 0;
  background: linear-gradient(180deg, #a5abb6, #7d8490);
}
.face.sm.initials { font-size: 13px; }

/* ---- news page: like a newsroom ---- */
.stack { display: grid; gap: 16px; }
.article { padding: 28px 32px; scroll-margin-top: 80px; }
.article h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.022em; line-height: 1.2; margin: 6px 0 12px; }
.article:target { box-shadow: 0 0 0 2px var(--link), var(--shadow-sm); }
.article-body { display: grid; gap: 12px; font-size: 17px; line-height: 1.55; color: var(--ink); letter-spacing: -0.015em; }
.article .item-meta { font-size: 13px; text-transform: uppercase; letter-spacing: 0.02em; font-weight: 600; }

/* ---- people page: contacts ---- */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.field-search { position: relative; flex: 1; min-width: 220px; max-width: 480px; }
.field-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.field-search input, .toolbar select {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--sep-strong); border-radius: 12px; min-height: 44px;
}
.field-search input { padding: 10px 14px 10px 40px; }
.toolbar select { width: auto; max-width: 280px; padding: 0 14px; }
.field-search input:focus, .toolbar select:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px var(--accent-soft); }
.toolbar .link::after { content: ''; }
.count { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.person {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-sm);
}
.person-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.person-text .item-title { white-space: nowrap; font-weight: 600; }
.person-text .tag { margin-top: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.person-actions { display: flex; gap: 6px; flex: none; }

/* footer */
.foot {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding: 22px 22px 28px;
  border-top: 1px solid var(--sep); font-size: 12px; color: var(--ink-3);
}
.foot a { color: var(--ink-2); }

/* ==== phones: a tab bar at the bottom ==== */
@media (max-width: 960px) {
  .topsearch { width: 170px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  /* A blurred parent would hold the fixed tab bar inside it, so on phones the top bar is solid. */
  .topbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .topbar-inner { height: auto; flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  .me { margin-inline-start: auto; }
  .topsearch { order: 3; width: auto; flex: 1 1 100%; margin: 0; }
  .topsearch input { min-height: 38px; font-size: 16px; }
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--sep);
  }
  .nav a { flex-direction: column; gap: 3px; padding: 4px 0; border-radius: 10px; font-size: 10px; min-width: 0; font-weight: 500; color: var(--ink-3); }
  .nav a[aria-current='page'] { background: none; color: var(--link); }
  .nav-i { display: block; width: 24px; height: 24px; }
  .wrap { padding: 26px 16px 40px; }
  .page-head { margin-bottom: 22px; }
  .page-head h1 { font-size: 30px; }
  .page-head .sub { font-size: 16px; }
  .happy { width: 100%; }
  .block-head h2 { font-size: 21px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats.n3 > li:last-child, .stats.n5 > li:last-child { grid-column: span 2; }
  .stat-n { font-size: 30px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 14px 6px; gap: 4px 0; }
  .tiles:not(.brands) .tile-sub { display: none; }
  .tile { padding: 8px 2px; }
  .tile-name { font-size: 11.5px; }
  .app-icon { width: 58px; height: 58px; }
  .tiles.brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 18px 18px 14px; }
  .article { padding: 22px 20px; }
  .article h2 { font-size: 22px; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .toolbar select { flex: 1; max-width: none; }
}
@media (max-width: 400px) {
  .tiles:not(.brands) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .topbar, .nav { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* =====================================================================
   Liquid glass on VCxO Blue (23 Nov 2026, Farida's idea).
   A deep VCxO Blue backdrop with a few soft, blurred glows; every surface
   on top is frosted glass with a bright edge. Text on the blue is white;
   text on glass stays dark, so it reads like the rest of the page.
   ===================================================================== */
:root {
  --glass: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --glass-edge: rgba(255, 255, 255, 0.65);
  --glass-blur: saturate(170%) blur(26px);
  --on-blue: #ffffff;
  --on-blue-2: rgba(255, 255, 255, 0.78);
  --on-blue-3: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 1px 1px rgba(8, 26, 56, 0.06), 0 10px 30px -12px rgba(8, 26, 56, 0.35);
  --shadow-md: 0 2px 4px rgba(8, 26, 56, 0.08), 0 18px 40px -14px rgba(8, 26, 56, 0.5);
}
@media (prefers-color-scheme: dark) {
  :root {
    --glass: rgba(28, 30, 36, 0.72);
    --glass-strong: rgba(28, 30, 36, 0.86);
    --glass-edge: rgba(255, 255, 255, 0.12);
    --surface: rgba(28, 30, 36, 0.72);
    --shadow-sm: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  }
}
body { background: #12407a; position: relative; isolation: isolate; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    url('/lines.svg') center / cover no-repeat,
    radial-gradient(55% 45% at 12% 8%, rgba(96, 170, 255, 0.55), transparent 62%),
    radial-gradient(45% 40% at 92% 18%, rgba(56, 205, 230, 0.32), transparent 60%),
    radial-gradient(60% 55% at 75% 100%, rgba(118, 96, 255, 0.32), transparent 62%),
    radial-gradient(40% 35% at 5% 85%, rgba(30, 111, 168, 0.55), transparent 60%),
    linear-gradient(160deg, #0f3a73 0%, #1e4e8c 48%, #102f5c 100%);
}
@media (prefers-color-scheme: dark) {
  body { background: #07152c; }
  body::before {
    background:
      url('/lines.svg') center / cover no-repeat,
      radial-gradient(55% 45% at 12% 8%, rgba(56, 120, 220, 0.45), transparent 62%),
      radial-gradient(45% 40% at 92% 18%, rgba(30, 150, 190, 0.22), transparent 60%),
      radial-gradient(60% 55% at 75% 100%, rgba(90, 70, 220, 0.25), transparent 62%),
      linear-gradient(160deg, #0a2550 0%, #0d2f61 48%, #061630 100%);
  }
}

/* glass surfaces: liquid glass, per the liquid-glass skill. A clear body with
   a light grey wash (never frosted), a lens that bends the backdrop (glass.js,
   Chromium), and a rim on the rounded corners only: no line of any kind
   along a straight edge. Text on the glass is white, in
   both modes, so it reads against the blue showing through. */
.tiles, .panel, .person, .stat-btn, .happy, .glance, .signin-box {
  --lg-r: var(--r-lg);
  position: relative;
  /* a navy tint, not a white one: the text on it is white, and needs 4.5:1 over the brightest glow */
  background: linear-gradient(180deg, rgba(8, 28, 60, 0.3), rgba(8, 28, 60, 0.4));
  -webkit-backdrop-filter: saturate(140%); backdrop-filter: saturate(140%);
  box-shadow: var(--shadow-sm);
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.82);
  --ink-3: rgba(255, 255, 255, 0.76);
  --sep: rgba(255, 255, 255, 0.16);
  --sep-strong: rgba(255, 255, 255, 0.28);
  --hover: rgba(255, 255, 255, 0.12);
  --surface: rgba(255, 255, 255, 0.14);
  --link: #a9d1ff;
  --accent-soft: rgba(169, 209, 255, 0.2);
  --red: #ffaea6;
  --orange: #ffc36b;
  --orange-soft: rgba(255, 179, 64, 0.22);
  color: var(--ink);
}
.person, .stat-btn { --lg-r: var(--r-md); }
.happy { --lg-r: 22px; }
.signin-box { --lg-r: 26px; }
/* the rim: lit from the top left, on the four rounded corners only, so no straight edge carries a line */
.tiles::after, .panel::after, .person::after, .stat-btn::after, .happy::after, .glance::after, .signin-box::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.25px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.18) 38%, rgba(255, 255, 255, 0.08) 62%, rgba(255, 255, 255, 0.5));
  -webkit-mask:
    linear-gradient(90deg, #000 0, #000 calc(var(--lg-r) * 0.6), transparent calc(var(--lg-r) * 1.2), transparent calc(100% - var(--lg-r) * 1.2), #000 calc(100% - var(--lg-r) * 0.6), #000 100%),
    linear-gradient(180deg, #000 0, #000 calc(var(--lg-r) * 0.6), transparent calc(var(--lg-r) * 1.2), transparent calc(100% - var(--lg-r) * 1.2), #000 calc(100% - var(--lg-r) * 0.6), #000 100%),
    linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: source-in, source-in, xor;
  mask:
    linear-gradient(90deg, #000 0, #000 calc(var(--lg-r) * 0.6), transparent calc(var(--lg-r) * 1.2), transparent calc(100% - var(--lg-r) * 1.2), #000 calc(100% - var(--lg-r) * 0.6), #000 100%),
    linear-gradient(180deg, #000 0, #000 calc(var(--lg-r) * 0.6), transparent calc(var(--lg-r) * 1.2), transparent calc(100% - var(--lg-r) * 1.2), #000 calc(100% - var(--lg-r) * 0.6), #000 100%),
    linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: intersect, intersect, exclude;
}
@media (prefers-color-scheme: dark) {
  .tiles, .panel, .person, .stat-btn, .happy, .glance, .signin-box {
    background: linear-gradient(180deg, rgba(59, 59, 59, 0.45), rgba(59, 59, 59, 0.18));
  }
  .tiles::after, .panel::after, .person::after, .stat-btn::after, .happy::after, .glance::after, .signin-box::after { opacity: 0.6; }
}
/* light that follows the pointer (glass.js sets --lg-x/--lg-y), on mice only */
.tiles::before, .panel::before, .person::before, .stat-btn::before, .happy::before, .glance::before, .signin-box::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(circle 220px at var(--lg-x, 50%) var(--lg-y, 0%), rgba(255, 255, 255, 0.1), transparent 70%);
  transition: opacity 300ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .tiles:hover::before, .panel:hover::before, .person:hover::before, .stat-btn:hover::before, .happy:hover::before, .glance:hover::before, .signin-box:hover::before { opacity: 1; }
}
.happy:active { transform: scale(0.98); }
.tile { transition: transform 200ms var(--ease), background 200ms var(--ease); }
.tile:active { transform: scale(0.96); }
/* no lens (Safari, Firefox): a touch of depth instead, and a fuller rim, so it still reads as glass */
.lg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* buttons on glass: a brighter blue in both modes, white text 4.9:1 */
:is(.tiles, .panel, .person, .glance, .signin-box) .btn { background: #1f6fd6; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 16px -8px rgba(0, 20, 60, 0.6); }
:is(.tiles, .panel, .person, .glance, .signin-box) .btn:hover { background: #2a7be3; }
.signin-form input { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.24); }
.signin-form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.brand-logo { background: #ffffff; }

/* text that sits straight on the blue */
.page-head h1, .block-head h2 { color: var(--on-blue); }
.page-head .sub, .count, .hint { color: var(--on-blue-2); }
.block-head .link, .toolbar > .link { color: var(--on-blue); }
.foot { color: var(--on-blue-3); border-top-color: rgba(255, 255, 255, 0.14); }
.foot a { color: var(--on-blue-2); }
.note { background: var(--glass-strong); }

/* top bar: darker glass over the blue, no line along its edge */
.topbar { background: linear-gradient(180deg, rgba(6, 24, 52, 0.5), rgba(6, 24, 52, 0.36)); border-bottom: 0; -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.brand { color: var(--on-blue); }
.brand img { filter: brightness(0) invert(1); }
.nav a { color: var(--on-blue-2); }
.nav a:hover { color: var(--on-blue); }
.nav a[aria-current='page'] { color: var(--on-blue); background: rgba(255, 255, 255, 0.16); }
.topsearch svg { color: var(--on-blue-3); }
.topsearch input { background: rgba(255, 255, 255, 0.14); color: var(--on-blue); }
.topsearch input::placeholder { color: var(--on-blue-3); }
.topsearch input:focus { background: #ffffff; color: #1d1d1f; }
.me-avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35); }
.me .icon-btn { background: rgba(255, 255, 255, 0.14); color: var(--on-blue); }
.me .icon-btn:hover { background: rgba(255, 255, 255, 0.24); color: var(--on-blue); }

/* sign-in: a glass card on the blue */
.signin-box { padding: 36px 32px 30px; border-radius: 26px; max-width: 420px; }
/* the real logo keeps its colours: on a white plate, as the brand tiles do */
.signin-page .signin-logo { height: 62px; padding: 8px 16px; background: #ffffff; border-radius: 14px; box-shadow: 0 6px 18px -10px rgba(0, 20, 60, 0.6); }

/* ---- today at a glance: one widget, five sections ---- */
.glance { border-radius: var(--r-lg); padding: 18px 10px 12px; margin-bottom: 40px; }
.glance-title { padding: 0 14px 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-3); }
.glance-row { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.glance-row.n1 { --n: 1; } .glance-row.n2 { --n: 2; } .glance-row.n3 { --n: 3; } .glance-row.n4 { --n: 4; } .glance-row.n5 { --n: 5; }
.g-item { position: relative; }
.g-item + .g-item::before {
  content: ''; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: var(--sep);
}
.g-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; height: 100%;
  padding: 10px 16px 12px; text-align: start; cursor: pointer; background: none; border: 0; border-radius: 16px;
  transition: background 200ms var(--ease);
}
.g-btn:hover { background: rgba(127, 127, 127, 0.1); }
.g-btn:active { transform: scale(0.98); }
.g-ico {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; margin-bottom: 10px; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 3px 8px -4px rgba(0, 0, 0, 0.35);
}
.g-ico .i { width: 17px; height: 17px; stroke-width: 2.2; }
.g-ico.blue { background: linear-gradient(180deg, #3d8ef0, #1550a8); }
.g-ico.red { background: linear-gradient(180deg, #ff6b5e, #c8201b); }
.g-ico.green { background: linear-gradient(180deg, #5ad485, #178a48); }
.g-ico.orange { background: linear-gradient(180deg, #ffb347, #ea6a0c); }
.g-ico.teal { background: linear-gradient(180deg, #2fc7a8, #0b7a66); }
.g-ico.purple { background: linear-gradient(180deg, #a07cf5, #5b36c4); }
.g-item .stat-n { font-size: 34px; }
.g-item .stat-l { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.g-hint { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }
.g-chev { width: 13px; height: 13px; opacity: 0; transform: translateX(-3px); transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.g-btn:hover .g-chev { opacity: 1; transform: none; }
.g-item.zero .stat-n { color: var(--ink-3); }
.g-item.hot .stat-n { color: var(--ink); }
.g-item.hot .g-hint { color: var(--link); font-weight: 600; }
.g-item.hot:has(.red) .stat-n, .g-item.hot:has(.red) .g-hint { color: var(--red); }

@media (max-width: 960px) {
  .glance-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 6px; }
  .g-item:nth-child(3n + 1)::before { display: none; }
}
@media (max-width: 760px) {
  .topbar { background: #0f3a73; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glance { padding: 14px 4px 8px; }
  .glance-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-item:nth-child(3n + 1)::before { display: block; }
  .g-item:nth-child(odd)::before { display: none; }
  .glance-row.n3 > .g-item:last-child, .glance-row.n5 > .g-item:last-child { grid-column: span 2; }
  .nav { background: linear-gradient(180deg, rgba(10, 36, 74, 0.72), rgba(10, 36, 74, 0.86)); border-top: 0; -webkit-backdrop-filter: saturate(140%); backdrop-filter: saturate(140%); }
  .nav a { color: var(--on-blue-3); }
  .nav a[aria-current='page'] { color: #ffffff; }
}
@media (prefers-reduced-transparency: reduce) {
  .tiles, .panel, .person, .stat-btn, .happy, .glance, .signin-box { background: rgba(10, 36, 74, 0.92); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .topbar, .nav { background: #0f3a73; }
}

/* =====================================================================
   23 Nov 2026: search everything, the bell, requests, recognition,
   templates, the welcome checklist and the admin page.
   ===================================================================== */
.i.xs { width: 13px; height: 13px; }

/* search box: Ctrl K hint and the suggestions under it */
.topsearch .kbd {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); pointer-events: none;
  font: 500 11px/1 var(--font); padding: 3px 6px; border-radius: 6px;
  color: var(--on-blue-3); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
}
.topsearch input:focus + .kbd, .topsearch input:not(:placeholder-shown) + .kbd { display: none; }
.topsearch input { padding-right: 58px; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 320px;
  max-height: min(70vh, 520px); overflow: auto; padding: 8px; border-radius: 18px;
  background: rgba(10, 32, 66, 0.94); color: #fff;
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 24px 60px -20px rgba(0, 10, 30, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.suggest[hidden] { display: none; }
.suggest-head { margin: 8px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.suggest-row { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.suggest-row[aria-selected='true'] { background: rgba(255, 255, 255, 0.12); }
.suggest-t { font-size: 14px; font-weight: 500; }
.suggest-s { font-size: 12.5px; color: rgba(255, 255, 255, 0.7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-all { display: block; margin-top: 6px; padding: 9px 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: #a9d1ff; }

/* the bell */
.bell { position: relative; }
.bell-n {
  position: absolute; top: -4px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 980px;
  display: grid; place-items: center; font: 600 10.5px/1 var(--font); color: #fff; background: #e5352b;
  box-shadow: 0 0 0 2px #0f3a73;
}
.list > li.unread .item-title { font-weight: 600; }
.list > li.unread .item-btn::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #6fb3ff; margin-left: -2px; }
.list .g-ico { margin-bottom: 0; flex: none; }
.r-ico { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, 0.12); color: var(--ink); }

/* forms on glass */
.grid-2.top { align-items: start; }
.form { display: grid; gap: 14px; }
.form-title { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field em { font-style: normal; color: var(--ink-3); font-weight: 400; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form input:not([type='radio']):not([type='file']):not([type='checkbox']), .form select, .form textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); min-height: 42px; padding: 9px 12px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 12px;
}
.form textarea { resize: vertical; line-height: 1.45; }
.form select option { color: #1d1d1f; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255, 255, 255, 0.55); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: #a9d1ff; box-shadow: 0 0 0 3px rgba(169, 209, 255, 0.25); }
.form input[type='file'] { font-size: 14px; color: var(--ink-2); }
.form input[type='file']::file-selector-button { font: inherit; margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 980px; background: rgba(255, 255, 255, 0.16); color: #fff; cursor: pointer; }
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hint-dark { font-size: 12.5px; color: var(--ink-3); }
.kinds { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kinds legend { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.kind { position: relative; display: flex; cursor: pointer; }
.kind input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.kind > span { flex: 1; display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); transition: background 160ms var(--ease), border-color 160ms var(--ease); }
.kind:hover > span { background: rgba(255, 255, 255, 0.1); }
.kind input:checked + span { border-color: #a9d1ff; background: rgba(169, 209, 255, 0.16); box-shadow: inset 0 0 0 1px #a9d1ff; }
.kind input:focus-visible + span { outline: 3px solid rgba(169, 209, 255, 0.5); outline-offset: 2px; }
.kind-t { font-size: 14px; font-weight: 600; color: var(--ink); }
.kind-s { font-size: 12px; color: var(--ink-3); line-height: 1.35; }
.btn .i, .chip-btn .i { width: 16px; height: 16px; }
.btn.ghost { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.22); }
.note.ok { background: rgba(48, 209, 88, 0.16); color: #ffffff; box-shadow: inset 0 0 0 1px rgba(48, 209, 88, 0.4); }
.note.err { background: rgba(255, 69, 58, 0.18); color: #ffffff; box-shadow: inset 0 0 0 1px rgba(255, 69, 58, 0.45); }
.link.danger { color: var(--red); font-size: 13px; }
.link.danger::after { content: ''; }
.inline { display: inline; margin: 0; }

/* my requests */
.req { align-items: flex-start; }
.req-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.hr-note { color: var(--ink); }
.tag.st-new { background: rgba(169, 209, 255, 0.18); color: #cfe5ff; }
.tag.st-in_progress { background: rgba(255, 195, 107, 0.2); color: #ffd79a; }
.tag.st-done { background: rgba(48, 209, 88, 0.2); color: #9ef0b4; }
.tag.st-declined { background: rgba(255, 69, 58, 0.2); color: #ffb3ad; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; }

/* recognition */
.award { display: flex; align-items: center; gap: 16px; padding: 6px 0 10px; }
.award.big { padding: 26px 28px; border-radius: var(--r-lg); position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 196, 92, 0.28), rgba(255, 140, 50, 0.1) 45%, rgba(8, 28, 60, 0.35));
  box-shadow: inset 0 0 0 1px rgba(255, 214, 140, 0.35), var(--shadow-sm); color: #fff; }
.award-text { min-width: 0; }
.award-k { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: #ffd38a; }
.award h3 { font: 600 20px/1.2 var(--font-display); letter-spacing: -0.015em; margin-top: 4px; }
.award.big h3 { font-size: 30px; }
.award-praise { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.award.big .award-praise { font-size: 17px; color: rgba(255, 255, 255, 0.88); max-width: 60ch; }
.face.xl { width: 96px; height: 96px; box-shadow: 0 0 0 3px rgba(255, 211, 138, 0.8); }
.face.xl.initials { font-size: 30px; }
.fame .award .face { box-shadow: 0 0 0 2px rgba(255, 211, 138, 0.8); }

/* templates */
.file-ext { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font: 700 10.5px/1 var(--font); letter-spacing: 0.03em; color: #fff; background: linear-gradient(180deg, #3d8ef0, #1550a8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }

/* the welcome checklist */
.welcome-banner { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; padding: 14px 18px; border-radius: var(--r-md); color: #fff;
  background: linear-gradient(135deg, rgba(47, 199, 168, 0.35), rgba(30, 111, 168, 0.3)); box-shadow: inset 0 0 0 1px rgba(160, 255, 230, 0.3), var(--shadow-sm); }
.welcome-banner:hover { text-decoration: none; filter: brightness(1.08); }
.welcome-banner > span { display: flex; flex-direction: column; flex: 1; }
.welcome-banner .item-sub { color: rgba(255, 255, 255, 0.85); }
.checklist { display: grid; gap: 2px; }
.checklist > li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; }
.checklist > li + li { border-top: 1px solid var(--sep); }
.checklist form { margin: 0; }
.checklist > li.done .item-title { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.4); }
.tick { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; color: transparent;
  background: rgba(255, 255, 255, 0.08); border: 1.5px solid rgba(255, 255, 255, 0.45); transition: background 160ms var(--ease), transform 100ms var(--ease); }
.tick:hover { background: rgba(255, 255, 255, 0.16); }
.tick:active { transform: scale(0.92); }
.tick[aria-pressed='true'] { color: #fff; background: #30b45a; border-color: #30b45a; }
.meter { height: 8px; margin: -12px 0 28px; border-radius: 980px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.meter-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2fc7a8, #6fb3ff); }
.m0 { width: 0; } .m1 { width: 10%; } .m2 { width: 20%; } .m3 { width: 30%; } .m4 { width: 40%; } .m5 { width: 50%; }
.m6 { width: 60%; } .m7 { width: 70%; } .m8 { width: 80%; } .m9 { width: 90%; } .m10 { width: 100%; }
.steps-edit { margin-top: 14px; }
.steps-edit summary { cursor: pointer; font-size: 14px; color: var(--link); }
.steps-edit .form { margin-top: 12px; }

@media (max-width: 760px) {
  .suggest { position: fixed; left: 12px; right: 12px; top: 112px; min-width: 0; }
  .topsearch .kbd { display: none; }
  .field-row, .kinds { grid-template-columns: minmax(0, 1fr); }
  .award.big { flex-direction: column; text-align: center; padding: 22px 18px; }
  .award.big h3 { font-size: 24px; }
  .req { flex-wrap: wrap; }
  .req-side { flex-direction: row; align-items: center; }
}

/* ---- My card (23 Nov 2026) ---- */
.seg { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 22px; border-radius: 980px; background: rgba(6, 24, 52, 0.35); }
.seg a { padding: 7px 16px; border-radius: 980px; color: var(--on-blue-2); font-size: 14px; font-weight: 500; }
.seg a:hover { color: #fff; text-decoration: none; }
.seg a[aria-current='page'] { background: rgba(255, 255, 255, 0.18); color: #fff; }
.stack-col { display: grid; gap: 16px; align-content: start; }
.photo-row { display: flex; align-items: center; gap: 18px; }
.photo-actions { display: grid; gap: 8px; }
.file-btn { position: relative; overflow: hidden; cursor: pointer; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.field input.ro { opacity: 0.7; cursor: default; }
.field-hint { font-size: 12px; color: var(--ink-3); font-style: normal; }
.checks { display: grid; gap: 8px; }
.check-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: #2f7de0; }
.count-dark { font-size: 13px; color: var(--ink-3); }
.links-list > li { flex-wrap: wrap; }
.link-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.link-row.off .item-title { color: var(--ink-3); }
.row-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn.sm { width: 28px; height: 28px; font-size: 10px; }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
.link-edit { flex-basis: 100%; margin: 2px 0 4px 48px; }
.link-edit summary { cursor: pointer; font-size: 13px; color: var(--link); width: max-content; }
.link-edit .form { margin-top: 10px; }
.add-link { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--sep); }
.kind-tile { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font: 700 11px/1 var(--font); color: #fff; background: #1e6fa8; }
.k-linkedin { background: #0a66c2; } .k-whatsapp { background: #25d366; } .k-email { background: #f97316; } .k-phone { background: #0ea5e9; }
.k-booking { background: #7c3aed; } .k-document { background: #e11d48; } .k-video { background: #ff0000; } .k-instagram { background: #d6249f; }
.k-facebook { background: #1877f2; } .k-x { background: #111111; }
.sig-paper { border-radius: 14px; overflow: hidden; background: #ffffff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.sig-paper iframe { display: block; width: 100%; height: 300px; border: 0; background: #fff; }
.howto { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.howto summary { cursor: pointer; color: var(--link); }
.howto ol { margin: 10px 0 8px 20px; display: grid; gap: 6px; list-style: decimal; }
.copy-box { position: fixed; left: -10000px; top: 0; }
.qr-panel { text-align: center; }
.qr-box { display: inline-grid; place-items: center; padding: 14px; margin: 6px 0 12px; border-radius: 18px; background: #fff; }
.qr-box img { width: 200px; height: 200px; }
.page-url { font-size: 15px; margin-bottom: 14px; }
.form-foot.center { justify-content: center; }
.big-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.big-n { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); }
.big-n .stat-n { font-size: 28px; }
.stat-mini { font: 600 15px/1 var(--font-display); font-variant-numeric: tabular-nums; }
a.me-avatar:hover { text-decoration: none; filter: brightness(1.12); }
@media (max-width: 760px) {
  .seg { display: flex; overflow-x: auto; }
  .big-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-edit { margin-left: 0; }
  .row-actions { flex-basis: 100%; justify-content: flex-end; }
}
.row-actions .link::after, .photo-actions .link::after { content: ''; }
.form input.ro { opacity: 0.65; cursor: default; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 12px; }
.field-grid:not(:has(> :not([hidden]))) { display: none; }
@media (max-width: 760px) { .field-grid { grid-template-columns: minmax(0, 1fr); } }
.form [hidden], .field-grid [hidden] { display: none !important; }
.ask-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ask-chip { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 12px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--ink); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); transition: background 160ms var(--ease); }
.ask-chip:hover { text-decoration: none; background: rgba(255, 255, 255, 0.14); }

/* ---- My backups (23 Nov 2026) ---- */
.drop { margin: 12px 0; padding: 22px 16px; border-radius: 16px; text-align: center; border: 1.5px dashed rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.05); transition: background 160ms var(--ease), border-color 160ms var(--ease); }
.drop.over { background: rgba(169, 209, 255, 0.16); border-color: #a9d1ff; }
.drop .form-foot { margin-top: 12px; }
.bk-queue { display: grid; gap: 8px; margin: 6px 0 14px; }
.bk-item { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); }
.bk-item .item-title { font-size: 14px; overflow-wrap: anywhere; }
.bk-bar { display: block; height: 5px; border-radius: 980px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.bk-bar > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2fc7a8, #6fb3ff); transition: width 300ms var(--ease); }
.bk-item.ok .bk-bar > span { background: #30b45a; }
.bk-files .item-title { font-size: 13.5px; font-weight: 500; overflow-wrap: anywhere; white-space: normal; }
.bk-send { margin-top: 10px; }

/* ---- View as (23 Nov 2026) ---- */
.viewing { position: sticky; top: 52px; z-index: 9; display: flex; align-items: center; gap: 12px; padding: 10px 22px; color: #1d1d1f; background: #ffc36b; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.5); }
.viewing > span { flex: 1; font-size: 14px; }
.viewing form { margin: 0; }
.viewing .btn { background: #1d1d1f; min-height: 34px; padding: 0 16px; font-size: 14px; }
.ghost-chip { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); font-size: 12px; padding: 5px 10px; }
.ghost-chip:hover { background: rgba(255, 255, 255, 0.24); }
@media (max-width: 760px) { .viewing { top: 0; flex-wrap: wrap; padding: 10px 16px; } }

.viewing.acting { background: #ff6b5e; color: #1d1d1f; }
.viewing .ghost-dark { background: transparent; color: #1d1d1f; box-shadow: inset 0 0 0 1.5px #1d1d1f; }

/* ---- Act as: the top bar's list (23 Nov 2026) ---- */
.actas { position: relative; }
.actas-pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 40; width: 320px; padding: 10px; border-radius: 18px; color: #fff;
  background: rgba(10, 32, 66, 0.96); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 24px 60px -20px rgba(0, 10, 30, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.actas-pop[hidden] { display: none; }
.actas-pop input { width: 100%; min-height: 38px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.1); color: #fff; font: inherit; font-size: 14px; }
.actas-pop input::placeholder { color: rgba(255, 255, 255, 0.55); }
.actas-pop input:focus { outline: none; border-color: #a9d1ff; }
.actas-list { max-height: min(60vh, 420px); overflow: auto; margin: 8px 0 4px; display: grid; gap: 2px; }
.actas-list form { margin: 0; }
.actas-row { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; background: none; color: #fff; text-align: start; cursor: pointer; font: inherit; }
.actas-row:hover, .actas-row:focus-visible { background: rgba(255, 255, 255, 0.12); outline: none; }
.actas-name { font-size: 14px; font-weight: 500; }
.actas-sub { font-size: 12px; color: rgba(255, 255, 255, 0.65); padding: 0 10px; }
.actas-row .actas-sub { padding: 0; }
.actas-hint { font-size: 11.5px; color: rgba(255, 255, 255, 0.55); padding: 4px 6px 0; }
@media (max-width: 760px) { .actas-pop { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; } }

.msg-actions { margin: 4px 0 14px; gap: 10px; }
.msg-actions form { margin: 0; }
.tile.off { opacity: 0.5; cursor: not-allowed; }

/* ---- Quote of the day (24 Nov 2026, option A) ---- */
.qotd { position: relative; margin: -8px 0 34px; padding: 22px 26px 18px; border-radius: var(--r-lg); color: #fff;
  background: linear-gradient(135deg, rgba(6, 24, 52, 0.55), rgba(6, 24, 52, 0.32));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 18px 40px -22px rgba(0, 10, 30, 0.7); }
.qotd-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.qotd-tag { font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 980px; color: #cfe5ff; background: rgba(169, 209, 255, 0.16); }
.qotd-k { font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.qotd-preview { font-size: 12px; font-weight: 600; color: #1d1d1f; background: #ffc36b; padding: 4px 11px; border-radius: 980px; }
.qotd-quote { margin: 14px 0 16px; font: 500 26px/1.32 Georgia, 'Times New Roman', serif; letter-spacing: -0.01em; color: #fff; max-width: 52ch; }
.qotd-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.qotd-foot > .i { flex: none; width: 20px; height: 20px; color: #ffd38a; }
.qotd-foot p { flex: 1; min-width: 220px; margin: 0; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.86); }
.qotd-foot b { color: #fff; font-weight: 600; }
.qotd-foot form { margin: 0; }
.qotd-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 980px; border: 0; cursor: pointer; font: 500 14px var(--font); color: #fff; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); white-space: nowrap; }
.qotd-btn:hover { background: rgba(255, 255, 255, 0.24); text-decoration: none; }
.qotd-btn .i { width: 15px; height: 15px; }
@media (max-width: 760px) { .qotd { padding: 18px 18px 16px; margin-top: 0; } .qotd-quote { font-size: 21px; } }

/* ---- Gallery (24 Nov 2026) ---- */
.new-album { margin-bottom: 22px; }
.new-album > summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; }
.new-album > summary::-webkit-details-marker { display: none; }
.new-album .form { margin-top: 14px; }
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.album { display: grid; gap: 10px; padding: 10px; border-radius: var(--r-lg); color: #fff; background: rgba(6, 24, 52, 0.35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); transition: transform 200ms var(--ease), background 200ms var(--ease); }
.album:hover { text-decoration: none; background: rgba(6, 24, 52, 0.5); transform: translateY(-2px); }
.album-cover { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.album-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.album-empty { display: grid; place-items: center; height: 100%; color: rgba(255, 255, 255, 0.5); }
.album-text { display: grid; gap: 2px; padding: 0 4px 4px; }
.album-text .item-sub { color: rgba(255, 255, 255, 0.72); }
.album-admin { margin-bottom: 18px; }
.back-link { color: var(--on-blue); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.photo { position: relative; }
.photo-link { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.photo-link img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 300ms var(--ease); }
.photo-link:hover img { transform: scale(1.04); }
.photo-tools { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.photo-tools .ghost-chip { background: rgba(6, 24, 52, 0.7); }
.lightbox { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; background: rgba(2, 8, 20, 0.94); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 10px; }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.lightbox figcaption { color: rgba(255, 255, 255, 0.8); font-size: 14px; }
.lb-prev, .lb-next, .lb-close { border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; border-radius: 50%; width: 46px; height: 46px; font-size: 28px; line-height: 1; justify-self: center; }
.lb-prev:hover, .lb-next:hover, .lb-close:hover { background: rgba(255, 255, 255, 0.22); }
.lb-close { position: absolute; top: 16px; right: 16px; font-size: 26px; }
.lb-dl { position: absolute; bottom: 18px; right: 20px; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 14px; }
body.lb-open { overflow: hidden; }
.home-album { display: grid; gap: 4px; color: var(--ink); }
.home-album:hover { text-decoration: none; }
.home-shots { display: grid; gap: 6px; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 9; margin-bottom: 6px; }
.home-shots img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; min-height: 0; }
.home-shots img:first-child { grid-row: span 2; }
.home-shots.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.home-shots.n2 { grid-template-rows: 1fr; }
.home-shots.n2 img:first-child { grid-row: auto; }
@media (max-width: 760px) {
  .photos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .photo-link { border-radius: 6px; }
  .lightbox { grid-template-columns: 0 1fr 0; }
  .lb-prev, .lb-next { display: none; }
}

/* ---- Our brands, with where to follow them (24 Nov 2026) ---- */
.brand-group { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 18px; margin-bottom: 12px; border-radius: var(--r-lg); background: rgba(6, 24, 52, 0.35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.brand-group .brand-logo { width: 170px; padding: 6px 10px; border-radius: 12px; }
.brand-group .brand-logo img { max-height: 44px; }
.brand-text { display: grid; gap: 2px; flex: 1; min-width: 220px; color: #fff; }
.brand-text .item-sub { color: rgba(255, 255, 255, 0.78); }
.brand-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.brand-card { display: grid; gap: 4px; align-content: start; padding: 14px; border-radius: var(--r-lg); color: #fff; background: rgba(6, 24, 52, 0.35); box-shadow: inset 0 3px 0 var(--bc, #1e6fa8), inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.brand-card .brand-logo { display: grid; place-items: center; height: 70px; margin-bottom: 8px; padding: 8px; border-radius: 12px; }
.brand-card .brand-logo img { max-height: 50px; max-width: 100%; }
.brand-site { font-size: 13px; color: #a9d1ff; overflow-wrap: anywhere; }
.brand-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.bc-cfo { --bc: #2b7bd6; } .bc-chro { --bc: #3b8fd4; } .bc-clo { --bc: #b5677c; } .bc-cmo { --bc: #f57c00; } .bc-academy { --bc: #00c26a; }
.socials { display: flex; gap: 6px; flex-wrap: wrap; }
.soc { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, 0.12); transition: background 160ms var(--ease), transform 120ms var(--ease); }
.soc:hover { text-decoration: none; transform: translateY(-1px); }
.soc .i { width: 17px; height: 17px; }
.soc-linkedin:hover { background: #0a66c2; } .soc-facebook:hover { background: #1877f2; } .soc-instagram:hover { background: #d6249f; }
.soc-youtube:hover { background: #ff0000; } .soc-x:hover { background: #111; } .soc-whatsapp:hover { background: #25d366; }
.soc-website:hover, .soc-email:hover { background: rgba(255, 255, 255, 0.26); }
.copy-links { border: 0; background: none; color: rgba(255, 255, 255, 0.7); font: inherit; font-size: 12.5px; cursor: pointer; padding: 4px 2px; }
.copy-links:hover { color: #fff; text-decoration: underline; }
@media (max-width: 760px) { .brand-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brand-group .brand-logo { width: 140px; } }
/* Quote of the day, option 1 (24 Nov 2026): the topic is the heading, the angle a note beside it. */
.qotd-top { align-items: baseline; }
.qotd-topic { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font: 600 19px/1.25 var(--font-display); letter-spacing: -0.015em; color: #fff; }
.qotd-angle { font: 400 14px var(--font); color: #a9d1ff; letter-spacing: 0; }
.qotd-angle b { color: #fff; font-weight: 600; }
@media (max-width: 760px) { .qotd-topic { font-size: 17px; } }

/* ---- Date, Hijri date and clock under the greeting (24 Nov 2026) ---- */
.day-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.day-line .hijri { position: relative; padding-left: 14px; }
.day-line .hijri::before, .day-line .clock::before { content: ''; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); }
.day-line .clock { position: relative; padding-left: 14px; font-variant-numeric: tabular-nums; color: #fff; font-weight: 600; }

/* ---- 24 Nov 2026: glance sources, Hijri in Arabic, mailboxes, my calendar, Academy ---- */
.g-src { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin: 8px 0 2px; }
.day-line .hijri { font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", sans-serif; font-size: 1.05em; }

.mailboxes { margin: 0 0 22px; }
.mb-title { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin: 0 0 10px; }
.mailboxes ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mailbox { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: inherit; text-decoration: none; transition: background 0.15s ease, transform 0.15s ease; }
.mailbox:hover { background: rgba(255, 255, 255, 0.14); }
.mailbox:active { transform: scale(0.98); }
.mb-ico { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(160deg, #3d8bfd, #1f5fd1); color: #fff; }
.mb-text { display: grid; min-width: 0; }
.mb-text .item-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cal-nav { display: flex; gap: 6px; align-items: center; }
.cal-nav .btn.on { background: rgba(255, 255, 255, 0.2); }
.i.flip { transform: scaleX(-1); }
.cal-wrap { padding: 16px; }
.cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cal-day { min-height: 180px; border-radius: 14px; padding: 10px 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); }
.cal-day.today { background: rgba(61, 139, 253, 0.16); border-color: rgba(120, 170, 255, 0.5); }
.cal-date { display: flex; align-items: baseline; gap: 6px; margin: 0 0 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.7); }
.cal-date b { font-size: 20px; color: #fff; letter-spacing: 0; }
.cal-day.today .cal-date b { color: #9cc2ff; }
.cal-free { margin: 0; font-size: 12px; color: rgba(255, 255, 255, 0.4); }
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ev { position: relative; display: grid; gap: 2px; padding: 7px 8px 7px 11px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); font-size: 12.5px; line-height: 1.3; }
.ev::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: #9aa9bb; }
.ev.proposals::before { background: #ff9f43; }
.ev.outlook::before { background: #4fc3f7; }
.ev.task::before { background: #7aa7ff; }
.ev.task.late::before { background: #ff6b6b; }
.ev.task { padding: 0; }
.ev .inline { display: block; }
.ev-btn { all: unset; box-sizing: border-box; display: grid; gap: 2px; width: 100%; padding: 7px 8px 7px 11px; cursor: pointer; border-radius: 10px; }
.ev-btn:hover { background: rgba(255, 255, 255, 0.08); }
.ev-btn:focus-visible { outline: 2px solid #9cc2ff; outline-offset: 1px; }
.ev-time { font-size: 11px; color: rgba(255, 255, 255, 0.6); font-variant-numeric: tabular-nums; }
.ev.late .ev-time { color: #ff9b9b; }
.ev-title { font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.ev-join { justify-self: start; margin-top: 3px; font-size: 11.5px; font-weight: 600; color: #9cc2ff; }
.cal-note { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.cal-key { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0 0; font-size: 12px; color: rgba(255, 255, 255, 0.65); }
.cal-key .k { display: inline-flex; align-items: center; gap: 6px; }
.cal-key .k::before { content: ''; width: 10px; height: 3px; border-radius: 2px; background: #7aa7ff; }
.cal-key .k.meeting::before { background: #ff9f43; }
.cal-key .k.outlook::before { background: #4fc3f7; }
.cal-more { margin: 14px 0 0; }
@media (max-width: 900px) {
  .cal-week { grid-template-columns: 1fr; }
  .cal-day { min-height: 0; display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: start; }
  .cal-day.free { opacity: 0.7; }
  .cal-date { flex-direction: column; gap: 0; margin: 0; }
}

.course-group { margin: 4px 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.courses + .course-group { margin-top: 18px; }
.courses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.course { display: grid; align-content: start; gap: 6px; padding: 14px 16px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); }
.course.past { opacity: 0.72; }
.course-when { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #9cc2ff; }
.course.past .course-when { color: rgba(255, 255, 255, 0.6); }
.course-name { font-weight: 600; font-size: 15px; color: #fff; line-height: 1.3; }
.course-about { font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.7); }
.course-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.course-facts span { font-size: 11.5px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.85); }
.course-by { font-size: 12px; color: rgba(255, 255, 255, 0.6); }

/* ====================================================================
   Glassmorphism (24 Nov 2026), per the glassmorphism-design skill, in
   place of the liquid-glass lens. Glass is a window, not a filter: every
   surface is white at low opacity, frosted, with a 1px border and the
   specular top edge. The colour comes from behind it: a deep VCxO navy
   with slow blobs in our business-line colours (VCFO blue, ATF teal,
   VCLO violet).
   ==================================================================== */
:root {
  --bg-primary: #071a36;
  --bg-secondary: #0c2a57;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-hover: rgba(255, 255, 255, 0.13);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-hover: rgba(255, 255, 255, 0.22);
  --glass-blur: blur(20px) saturate(180%);
  --glass-specular: 0 1px 0 0 rgba(255, 255, 255, 0.2) inset;
  --glass-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --glass-shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.5);
  --blob-1: #2a78d6;
  --blob-2: #0e8a9e;
  --blob-3: #4a3aa7;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
body { background: var(--bg-primary); }
body::before, body::after, .bg-scene { display: block; }
body::before {
  background:
    url('/lines.svg') center / cover no-repeat,
    linear-gradient(160deg, var(--bg-secondary) 0%, var(--bg-primary) 55%, #050f22 100%);
  opacity: 1;
}
.bg-scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; animation: blob-float 14s ease-in-out infinite; will-change: transform; }
.blob.b1 { width: 650px; height: 650px; background: var(--blob-1); top: -200px; left: -180px; }
.blob.b2 { width: 460px; height: 460px; background: var(--blob-2); bottom: -140px; right: -120px; animation-delay: -5s; }
.blob.b3 { width: 380px; height: 380px; background: var(--blob-3); top: 42%; left: 52%; opacity: 0.4; animation-delay: -9s; }
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -40px) scale(1.06); }
  66% { transform: translate(-25px, 25px) scale(0.95); }
}

/* the glass */
.tiles, .panel, .person, .stat-btn, .happy, .glance, .signin-box, .course, .mailbox, .cal-day, .ev {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-specular), var(--glass-shadow);
}
@media (prefers-color-scheme: dark) {
  .tiles, .panel, .person, .stat-btn, .happy, .glance, .signin-box { background: var(--glass-bg); }
}
/* inner pieces sit on glass already: no second blur (never more than three layers) */
.cal-day, .ev, .course, .mailbox { -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--glass-specular); }
.cal-day { background: rgba(255, 255, 255, 0.05); }
.cal-day.today { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
.course, .mailbox { -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-specular), var(--glass-shadow); }
.tiles, .panel, .glance, .signin-box { border-radius: 20px; }
/* the lens's rim and pointer light are gone */
.tiles::after, .panel::after, .person::after, .stat-btn::after, .happy::after, .glance::after, .signin-box::after,
.tiles::before, .panel::before, .person::before, .stat-btn::before, .happy::before, .glance::before, .signin-box::before { content: none; }

/* things you click lift a little, on a spring, with a light sweep */
.person, .mailbox, .happy, .g-btn, .tile { transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--spring); }
@media (hover: hover) and (pointer: fine) {
  .person:hover, .mailbox:hover, .happy:hover {
    background: var(--glass-bg-hover); border-color: var(--glass-border-hover);
    box-shadow: var(--glass-specular), var(--glass-shadow-hover); transform: translateY(-4px);
  }
  .tile:hover { transform: translateY(-3px); }
}
.person, .mailbox { position: relative; overflow: hidden; }
.person::after, .mailbox::after {
  content: ''; position: absolute; top: 0; left: 0; width: 50%; height: 100%; pointer-events: none;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0));
  transform: skewX(-18deg) translateX(-200%); transition: transform 0.65s ease;
}
@media (hover: hover) and (pointer: fine) {
  .person:hover::after, .mailbox:hover::after { transform: skewX(-18deg) translateX(500%); }
}

/* top bar and phone tab bar: frosted, a hairline below, no shadow */
.topbar {
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
@media (max-width: 760px) {
  /* no blur on the bar itself here: a filtered parent would hold the fixed tab bar inside it */
  .topbar { background: rgba(7, 26, 54, 0.92); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav {
    background: rgba(7, 26, 54, 0.62);
    -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* buttons: solid primary, pill; glass secondary; inputs pill */
.btn { border-radius: 999px; transition: transform 0.18s var(--spring), filter 0.18s ease, background 0.2s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn:active { transform: translateY(1px) scale(0.97); transition-duration: 0.08s; }
.btn.ghost, .cal-nav .btn {
  background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-specular);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn.ghost:hover, .cal-nav .btn:hover { background: var(--glass-bg-hover); border-color: var(--glass-border-hover); }
.topsearch input, .field-search input, .signin-form input {
  border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
}
.topsearch input:focus, .field-search input:focus, .signin-form input:focus {
  background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06), var(--glass-specular);
}
.tag, .course-facts span { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px; }

/* when blur isn't there, or isn't wanted: near-solid navy, still readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tiles, .panel, .person, .stat-btn, .happy, .glance, .signin-box, .course, .mailbox, .topbar { background: rgba(8, 26, 54, 0.92); }
}
@media (prefers-reduced-transparency: reduce) {
  .tiles, .panel, .person, .stat-btn, .happy, .glance, .signin-box, .course, .mailbox, .topbar, .nav {
    background: rgba(8, 26, 54, 0.95); -webkit-backdrop-filter: none; backdrop-filter: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  .person, .mailbox, .happy, .g-btn, .tile, .btn { transition: none; }
  .person:hover, .mailbox:hover, .happy:hover, .tile:hover, .btn:hover { transform: none; }
}

/* ---- Fits every screen (24 Nov 2026) ----
   Home: one column on a phone, two on a laptop, three on a wide screen; the
   page grows wider on big monitors instead of leaving a narrow strip. */
.home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: start; margin: 0 0 34px; }
.home-grid:empty { display: none; }
.home-grid > .panel { min-width: 0; }
.glance { margin-bottom: 34px; }
.qotd { margin: 0 0 34px; }
.academy { margin-bottom: 34px; }
@media (min-width: 1440px) {
  .wrap, .topbar-inner { max-width: 1280px; }
}
@media (min-width: 1920px) {
  .wrap, .topbar-inner { max-width: 1440px; }
  html { font-size: 17px; }
}
/* small phones: tighter gutters, the numbers in a compact two-up grid */
@media (max-width: 420px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  .page-head h1 { font-size: 26px; }
  .day-line { gap: 4px 10px; font-size: 14px; }
  .g-btn { padding: 12px 10px; }
  .glance-row .stat-n { font-size: 26px; }
  .qotd-quote { font-size: 19px; }
}
/* short, wide screens (laptops at 125%): less space above the page */
@media (min-width: 761px) and (max-height: 720px) {
  .wrap { padding-top: 26px; }
}
/* tablets and small laptops: the tabs show their icons only, so the bar fits */
@media (min-width: 761px) and (max-width: 1000px) {
  .nav-i { display: block; width: 20px; height: 20px; }
  .nav a { padding: 7px 9px; }
  .nav a > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .topsearch { width: 150px; }
  .topsearch input::placeholder { color: var(--on-blue-3, rgba(255, 255, 255, 0.6)); }
}
/* phones: the numbers as a compact list, one row each, the number on the right */
@media (max-width: 600px) {
  .glance-row, .glance-row.n3, .glance-row.n4, .glance-row.n5 { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .glance-row.n3 > .g-item:last-child, .glance-row.n5 > .g-item:last-child { grid-column: auto; }
  .g-item + .g-item { border-top: 1px solid rgba(255, 255, 255, 0.08); border-left: 0; }
  .g-item + .g-item::before { display: none; }
  .g-btn {
    display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 12px; align-items: center;
    grid-template-areas: 'ico src n' 'ico lbl n' 'ico hint n'; padding: 10px 8px;
  }
  .g-ico { grid-area: ico; margin: 0; }
  .g-src { grid-area: src; margin: 0; }
  .g-item .stat-l { grid-area: lbl; }
  .g-hint { grid-area: hint; margin: 0; }
  .g-item .stat-n, .glance-row .stat-n { grid-area: n; font-size: 26px; text-align: end; }
}
/* Home's main row (24 Nov 2026): Today + news with the quote under them, Quick links beside, so both columns end together */
.home-main { display: grid; gap: 16px; margin: 0 0 34px; }
.home-left { display: grid; gap: 16px; min-width: 0; align-content: start; }
.home-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.home-left .qotd { margin: 0; }
.home-side { min-width: 0; }
@media (min-width: 1000px) {
  .home-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: stretch; }
  .home-left .qotd-quote { font-size: 22px; }
}
/* the quote is back at the top (24 Nov 2026); Today and news stack beside Quick links */
.page-head + .qotd { margin: 0 0 30px; }
@media (min-width: 1000px) {
  .home-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .home-left { grid-template-rows: auto 1fr; }
}
/* team mailboxes (24 Nov 2026): white text on the glass, the full address shown, three across on a laptop */
.mailboxes ul { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.mailbox { color: #fff; }
.mailbox .item-title { color: #fff; font-weight: 600; font-size: 15px; }
.mailbox .item-sub { color: rgba(255, 255, 255, 0.72); font-size: 13px; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.mailbox:hover .item-sub { color: rgba(255, 255, 255, 0.9); }
/* the team picker matches the glass pills */
.toolbar select {
  height: 44px; border-radius: 999px; padding: 0 38px 0 18px; color: #fff;
  background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid rgba(255, 255, 255, 0.12); -webkit-appearance: none; appearance: none;
}
.toolbar select option { color: #10223f; background: #fff; }
.toolbar select:focus { background-color: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }

/* ---- Profile page (24 Nov 2026) ---- */
.person-open { flex: none; border-radius: 50%; }
.person-name { color: inherit; text-decoration: none; }
.person-name:hover { text-decoration: underline; }
.pp-back { margin: 0 0 14px; }
.pp-back .link { display: inline-flex; align-items: center; gap: 4px; color: var(--on-blue-2, rgba(255, 255, 255, 0.8)); }
.pp-hero { display: flex; align-items: center; gap: 24px; padding: 26px; margin-bottom: 16px; flex-wrap: wrap; }
.pp-face { width: 112px; height: 112px; font-size: 36px; flex: none; border: 3px solid rgba(255, 255, 255, 0.25); }
.pp-id { min-width: 0; flex: 1 1 260px; display: grid; gap: 6px; }
.pp-id h1 { margin: 0; font-size: clamp(26px, 4vw, 36px); line-height: 1.15; color: #fff; overflow-wrap: anywhere; }
.pp-title { margin: 0; font-size: 16px; color: rgba(255, 255, 255, 0.8); }
.pp-chips { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pp-actions .btn { display: inline-flex; align-items: center; gap: 6px; }
.pp-grid { display: grid; gap: 16px; margin-bottom: 16px; }
.pp-col { display: grid; gap: 16px; align-content: start; min-width: 0; }
@media (min-width: 900px) { .pp-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; } }
.pp-bio { margin: 0; padding: 0 20px 20px; white-space: pre-line; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
.pp-dl { margin: 0; padding: 0 20px 14px; }
.pp-dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); align-items: center; }
.pp-dl > div:first-child { border-top: 0; }
.pp-dl dt { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.pp-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; color: #fff; }
.pp-person { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; border-radius: 12px; padding: 4px; margin: -4px; min-width: 0; }
.pp-person:hover { background: rgba(255, 255, 255, 0.08); }
.pp-person-text { display: grid; min-width: 0; }
.pp-person-text .item-title { color: #fff; }
.pp-person-text .item-sub { color: rgba(255, 255, 255, 0.65); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.face.sm { width: 36px; height: 36px; font-size: 13px; }
.pp-people { list-style: none; margin: 0; padding: 0 20px 20px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 520px) {
  .pp-hero { flex-direction: column; text-align: center; padding: 22px 16px; }
  .pp-chips, .pp-actions { justify-content: center; }
  .pp-dl > div { grid-template-columns: 1fr; gap: 2px; }
}
.pp-back .link::after, .pp-dl .link::after { content: ''; }

/* Resources jump links (24 Nov 2026): glass pills, they scroll sideways on a phone rather than wrap */
.jump { display: flex; gap: 8px; margin: -8px 0 28px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.jump::-webkit-scrollbar { display: none; }
.jump a {
  flex: none; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #fff; text-decoration: none;
  background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-specular);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.jump a:hover { background: var(--glass-bg-hover); border-color: var(--glass-border-hover); }
#brands, #templates, #courses, section[id] { scroll-margin-top: 76px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* My profile overview (24 Nov 2026) */
.pp-yours { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.pp-yours-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; color: #fff; text-decoration: none;
  background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-specular), var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--spring);
}
.pp-yours-item > .i { width: 22px; height: 22px; flex: none; }
.pp-yours-item > span { display: grid; min-width: 0; }
.pp-yours-item .item-title { color: #fff; font-weight: 600; }
.pp-yours-item .item-sub { color: rgba(255, 255, 255, 0.65); font-size: 12.5px; }
@media (hover: hover) and (pointer: fine) {
  .pp-yours-item:hover { background: var(--glass-bg-hover); border-color: var(--glass-border-hover); transform: translateY(-3px); }
}
.pp-note { margin: 0; padding: 0 20px 18px; font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }

/* your photo in the top bar (24 Nov 2026) */
.me-avatar { overflow: hidden; }
.me-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.me-avatar:has(img) { background: rgba(255, 255, 255, 0.15); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35); }

/* Open jobs (24 Nov 2026) */
.jump a[aria-current] { background: #fff; color: #0c2a57; border-color: #fff; }
.jump a b { font-weight: 600; opacity: 0.7; margin-left: 4px; }
.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.job {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 20px; color: #fff;
  background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-specular), var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.job-line { font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #9cc2ff; }
.job-title { margin: 0; font-size: 18px; line-height: 1.3; color: #fff; }
.job-meta { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.job-intro { margin: 4px 0 0; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); flex: 1; }
.job-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.job-actions .btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 7px 14px; min-height: 0; }
