:root {
  --glass-x: 50%;
  --glass-y: 0%;
  --canvas: #eef7ff;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-solid: rgba(255, 255, 255, 0.96);
  --surface-soft: #f6fbff;
  --surface-deep: #182232;
  --surface-deep-2: #202d42;
  --ink: #111111;
  --ink-soft: #66758d;
  --ink-faint: #8ea0b8;
  --line: rgba(17, 17, 17, 0.08);
  --line-strong: rgba(17, 17, 17, 0.14);
  --gold: #0071e3;
  --gold-soft: rgba(0, 113, 227, 0.14);
  --accent: #0071e3;
  --accent-soft: rgba(0, 113, 227, 0.14);
  --accent-strong: rgba(0, 113, 227, 0.22);
  --accent-gradient: linear-gradient(135deg, #1d7ff2, #5d85ff);
  --shadow: 0 18px 40px rgba(17, 17, 17, 0.06);
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --body-top: #f9fcff;
  --body-mid: #eef7ff;
  --body-bot: #edf5ff;
  --page-wash-top: rgba(255, 255, 255, 0.28);
  --header-bg: rgba(248, 251, 255, 0.86);
  --header-border: rgba(120, 149, 188, 0.16);
  --header-search-bg: rgba(201, 222, 247, 0.18);
  --cc-panel-bg: rgba(247, 250, 255, 0.86);
  --cc-panel-border: rgba(255, 255, 255, 0.68);
  --cu-card-top: rgba(255, 255, 255, 0.84);
  --cu-card-bottom: rgba(239, 245, 255, 0.78);
  --cu-card-hover-top: rgba(255, 255, 255, 0.94);
  --cu-card-hover-bottom: rgba(242, 248, 255, 0.9);
  --cu-card-active-top: rgba(228, 240, 255, 0.96);
  --cu-card-active-bottom: rgba(216, 232, 255, 0.9);
  --theme-ring: rgba(0, 113, 227, 0.16);
  --glass-specular: rgba(255, 255, 255, 0.62);
  --glass-highlight: rgba(196, 225, 255, 0.26);
  --glass-shadow: rgba(44, 66, 96, 0.08);
  --glass-panel: rgba(255, 255, 255, 0.72);
  --glass-panel-strong: rgba(255, 255, 255, 0.84);
}

html[data-theme="lavender"] {
  --canvas: #f4efff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: rgba(255, 255, 255, 0.96);
  --surface-soft: #fcf9ff;
  --surface-deep: #241d37;
  --surface-deep-2: #34294a;
  --ink: #1b1627;
  --ink-soft: #756d88;
  --ink-faint: #9e96b2;
  --line: rgba(43, 31, 74, 0.08);
  --line-strong: rgba(43, 31, 74, 0.14);
  --gold: #7a6cff;
  --gold-soft: rgba(122, 108, 255, 0.14);
  --accent: #7a6cff;
  --accent-soft: rgba(122, 108, 255, 0.14);
  --accent-strong: rgba(122, 108, 255, 0.22);
  --accent-gradient: linear-gradient(135deg, #8b79ff, #c08bff);
  --shadow: 0 18px 40px rgba(64, 44, 108, 0.08);
  --body-top: #fdfbff;
  --body-mid: #f4efff;
  --body-bot: #f1ebff;
  --page-wash-top: rgba(255, 255, 255, 0.24);
  --header-bg: rgba(251, 248, 255, 0.88);
  --header-border: rgba(170, 152, 214, 0.16);
  --header-search-bg: rgba(212, 199, 244, 0.18);
  --cc-panel-bg: rgba(251, 247, 255, 0.88);
  --cc-panel-border: rgba(255, 255, 255, 0.72);
  --cu-card-top: rgba(255, 255, 255, 0.86);
  --cu-card-bottom: rgba(244, 238, 255, 0.8);
  --cu-card-hover-top: rgba(255, 255, 255, 0.95);
  --cu-card-hover-bottom: rgba(247, 241, 255, 0.92);
  --cu-card-active-top: rgba(238, 231, 255, 0.96);
  --cu-card-active-bottom: rgba(230, 219, 255, 0.92);
  --theme-ring: rgba(122, 108, 255, 0.18);
}

html[data-theme="pine"] {
  --canvas: #edf5ef;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: rgba(255, 255, 255, 0.96);
  --surface-soft: #f7fbf7;
  --surface-deep: #1d2d27;
  --surface-deep-2: #294036;
  --ink: #17211b;
  --ink-soft: #607566;
  --ink-faint: #8ca294;
  --line: rgba(27, 53, 38, 0.08);
  --line-strong: rgba(27, 53, 38, 0.14);
  --gold: #2f8f67;
  --gold-soft: rgba(47, 143, 103, 0.14);
  --accent: #2f8f67;
  --accent-soft: rgba(47, 143, 103, 0.14);
  --accent-strong: rgba(47, 143, 103, 0.22);
  --accent-gradient: linear-gradient(135deg, #3b9f74, #74b984);
  --shadow: 0 18px 40px rgba(33, 61, 44, 0.08);
  --body-top: #fbfefb;
  --body-mid: #edf5ef;
  --body-bot: #e8f1ea;
  --page-wash-top: rgba(255, 255, 255, 0.22);
  --header-bg: rgba(248, 252, 248, 0.88);
  --header-border: rgba(139, 169, 148, 0.18);
  --header-search-bg: rgba(198, 223, 204, 0.2);
  --cc-panel-bg: rgba(246, 251, 247, 0.88);
  --cc-panel-border: rgba(255, 255, 255, 0.72);
  --cu-card-top: rgba(255, 255, 255, 0.86);
  --cu-card-bottom: rgba(236, 244, 238, 0.82);
  --cu-card-hover-top: rgba(255, 255, 255, 0.95);
  --cu-card-hover-bottom: rgba(240, 247, 242, 0.92);
  --cu-card-active-top: rgba(228, 241, 233, 0.96);
  --cu-card-active-bottom: rgba(219, 236, 225, 0.92);
  --theme-ring: rgba(47, 143, 103, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--body-top) 0%, var(--body-mid) 32%, var(--body-bot) 100%);
  transition: background 700ms cubic-bezier(0.22, 1, 0.36, 1), color 320ms ease;
}

body.daily-entry-locked {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-wash {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(52rem 38rem at var(--glass-x) var(--glass-y), rgba(255, 255, 255, 0.34), transparent 44%),
    radial-gradient(34rem 24rem at calc(var(--glass-x) * 0.72) calc(var(--glass-y) * 1.08), var(--glass-highlight), transparent 48%),
    linear-gradient(180deg, var(--page-wash-top), rgba(255, 255, 255, 0));
  pointer-events: none;
  transition: background 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.daily-entry-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.daily-entry-gate.is-open {
  opacity: 1;
  pointer-events: auto;
}

.daily-entry-gate-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(44rem 28rem at 18% 12%, rgba(255, 194, 122, 0.22), transparent 56%),
    radial-gradient(42rem 30rem at 82% 18%, rgba(122, 189, 255, 0.22), transparent 58%),
    radial-gradient(36rem 26rem at 56% 88%, rgba(170, 135, 255, 0.18), transparent 56%),
    rgba(238, 244, 252, 0.5);
  backdrop-filter: blur(26px) saturate(155%);
  -webkit-backdrop-filter: blur(26px) saturate(155%);
}

.daily-entry-gate-panel {
  position: relative;
  width: min(760px, 100%);
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.64)),
    radial-gradient(28rem 20rem at var(--glass-x) var(--glass-y), rgba(255,255,255,0.24), transparent 60%),
    var(--glass-panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 28px 80px rgba(30, 49, 79, 0.18);
}

.daily-entry-gate-panel::before,
.daily-entry-gate-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.62;
  pointer-events: none;
}

.daily-entry-gate-panel::before {
  top: -40px;
  right: -10px;
  width: 220px;
  height: 180px;
  background: rgba(122, 189, 255, 0.22);
  animation: dailyEntryBlobFloatA 24s ease-in-out infinite alternate;
}

.daily-entry-gate-panel::after {
  left: -26px;
  bottom: -46px;
  width: 240px;
  height: 190px;
  background: rgba(255, 188, 120, 0.18);
  animation: dailyEntryBlobFloatB 28s ease-in-out infinite alternate;
}

.daily-entry-eyebrow,
.daily-entry-title,
.daily-entry-question,
.daily-entry-form {
  position: relative;
  z-index: 1;
}

.daily-entry-eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.daily-entry-title {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.daily-entry-question {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--ink) 78%, white 22%);
}

.daily-entry-form {
  display: grid;
  gap: 14px;
}

.daily-entry-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.daily-entry-answer {
  min-height: 144px;
  padding: 18px 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  resize: vertical;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.62)),
    rgba(255,255,255,0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 14px 30px rgba(17, 17, 17, 0.05);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 240ms ease;
}

.daily-entry-answer:focus {
  border-color: var(--accent-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 0 0 4px var(--accent-soft),
    0 18px 38px rgba(17, 17, 17, 0.06);
}

.daily-entry-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.daily-entry-helper {
  margin: 0;
  max-width: 42ch;
  color: var(--ink-soft);
  line-height: 1.55;
}

.daily-entry-submit {
  min-width: 180px;
}

@keyframes dailyEntryBlobFloatA {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-16px, 12px, 0) scale(1.08);
  }
  100% {
    transform: translate3d(10px, 24px, 0) scale(0.96);
  }
}

@keyframes dailyEntryBlobFloatB {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -10px, 0) scale(1.04);
  }
  100% {
    transform: translate3d(-14px, -18px, 0) scale(0.98);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background:
    radial-gradient(32rem 18rem at var(--glass-x) -20%, rgba(255,255,255,0.36), transparent 54%),
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02)),
    var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  transition: background 260ms cubic-bezier(0.22, 1, 0.36, 1), border-color 260ms ease;
}

.filter-band,
.section-switcher,
.reminder-strip {
  display: none !important;
}

.site-header::after,
.top-nav-bar::after,
.header-filter-row::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 42%),
    radial-gradient(18rem 10rem at var(--glass-x) -20%, rgba(255,255,255,0.24), transparent 60%);
  pointer-events: none;
}

.site-header-inner,
.page-shell {
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
  padding-left: clamp(76px, 6vw, 108px);
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto 1fr minmax(0, 260px) auto;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-action-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,0.1);
  background: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  transition: background 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease, border-color 220ms ease;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.46);
}

.header-action-btn:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-1px) scale(1.01);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.58), 0 10px 20px rgba(44, 66, 96, 0.08);
}

.header-action-btn:active {
  transform: scale(0.97);
}

.header-action-btn-launch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px 5px 6px;
  border-color: rgba(33, 62, 112, 0.14);
  background:
    linear-gradient(135deg, rgba(230, 240, 255, 0.96), rgba(249, 236, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 10px 24px rgba(72, 88, 146, 0.12);
}

.header-action-btn-launch:hover {
  background:
    linear-gradient(135deg, rgba(223, 236, 255, 1), rgba(245, 229, 255, 1));
  transform: translateY(-1px) scale(1.01);
}

.header-action-btn-launch.is-active {
  border-color: rgba(80, 105, 180, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 28px rgba(72, 88, 146, 0.16);
}

.header-action-orb {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255, 255, 255, 0.88) 22%, rgba(255, 255, 255, 0) 23%),
    linear-gradient(135deg, #7cc4ff, #8a8dff 52%, #d890ff);
  box-shadow: 0 8px 18px rgba(120, 136, 255, 0.28);
  flex-shrink: 0;
}

.header-action-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
  text-align: left;
}

.header-action-copy strong {
  font-size: 12px;
  letter-spacing: -0.02em;
}

.header-action-copy span {
  font-size: 10px;
  color: rgba(17, 17, 17, 0.56);
}

html[data-theme="dark"] .header-action-btn {
  background: rgba(58,58,62,0.72);
  border-color: rgba(255,255,255,0.1);
  color: #f5f5f7;
}

html[data-theme="dark"] .header-action-btn:hover {
  background: rgba(72,72,76,0.9);
}

html[data-theme="dark"] .header-action-btn-launch {
  border-color: rgba(168, 183, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(32, 40, 67, 0.96), rgba(56, 37, 76, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 26px rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] .header-action-copy span {
  color: rgba(245, 245, 247, 0.62);
}

.header-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(240px, 100%);
  justify-self: end;
  padding: 0 14px;
  height: 36px;
  border-radius: 999px;
  background: var(--header-search-bg);
  border: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--ink-soft);
  cursor: text;
  transition: background 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.header-search-field:focus-within {
  background: rgba(255,255,255,0.9);
  border-color: rgba(17, 17, 17, 0.16);
  box-shadow: 0 10px 24px rgba(44, 66, 96, 0.08), inset 0 1px 0 rgba(255,255,255,0.52);
  transform: translateY(-1px);
}

.header-search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  outline: none;
  padding: 0;
}

.header-search-field input::placeholder {
  color: var(--ink-faint);
}

.site-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.site-mark-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) drop-shadow(0 0 0.25px rgba(17, 17, 17, 0.95)) drop-shadow(0 0 0.25px rgba(17, 17, 17, 0.95));
}

.site-mark-copy {
  display: grid;
  gap: 0;
}

.site-title {
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  font-weight: 750;
  white-space: nowrap;
  text-transform: uppercase;
}

.site-title-tm {
  margin-left: 3px;
  font-size: 7px;
  line-height: 1;
  vertical-align: top;
  letter-spacing: 0.08em;
}

.shell-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 0;
}

.shell-nav a {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: color 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease, text-shadow 220ms ease;
}

.shell-nav a:hover,
.shell-nav a.is-active {
  color: var(--accent);
  text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 18%, transparent);
}

.shell-nav a.is-active {
  opacity: 1;
}

.site-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}

.site-actions:empty {
  display: none;
}

.client-celebration-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 12px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.05);
  pointer-events: auto;
}

.client-counter {
  display: grid;
  gap: 2px;
  min-width: 92px;
  padding: 0 12px;
}

.client-counter-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6e6e73;
  font-weight: 600;
}

.client-counter-value {
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #1d1d1f;
}

.client-add-button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #1d1d1f, #121214);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 26px rgba(17, 17, 17, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.client-add-button:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 34px rgba(17, 17, 17, 0.26);
}

.client-add-button:active {
  transform: scale(0.98);
}

.brand-page {
  display: grid;
  gap: 30px;
}

.launch-vault-page {
  display: grid;
  gap: 26px;
}

.launch-showcase {
  display: grid;
  gap: 20px;
}

.launch-showcase-head {
  max-width: 760px;
}

.launch-showcase-grid {
  display: grid;
  gap: 22px;
}

.showcase-device-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: center;
  padding: 32px;
  border-radius: 34px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.74), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 249, 252, 0.92));
  box-shadow: 0 24px 48px rgba(17, 17, 17, 0.08);
}

.showcase-device-card-mac {
  background:
    radial-gradient(circle at top left, rgba(197, 226, 255, 0.52), transparent 28%),
    linear-gradient(180deg, #f8fbff, #eef6ff 62%, #f8fbff);
}

.showcase-device-card-pc {
  background:
    radial-gradient(circle at top left, rgba(203, 235, 219, 0.48), transparent 28%),
    linear-gradient(180deg, #f8fbf9, #edf5ef 60%, #f9fbfa);
}

.showcase-device-card-phone {
  background:
    radial-gradient(circle at top left, rgba(229, 214, 255, 0.5), transparent 28%),
    linear-gradient(180deg, #fcf9ff, #f3ecff 60%, #fcf9ff);
}

.showcase-device-copy {
  display: grid;
  gap: 10px;
}

.showcase-device-copy h4 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.showcase-device-copy p:not(.eyebrow) {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.device-macbook {
  display: grid;
  justify-items: center;
  gap: 0;
  width: 100%;
}

.device-macbook-screen {
  width: min(100%, 920px);
  aspect-ratio: 16 / 9;
  padding: 16px 16px 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, #15171c, #0c0d10);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 60px rgba(18, 22, 32, 0.24);
}

.device-macbook-base {
  position: relative;
  width: 180px;
  height: 112px;
  margin-top: 4px;
}

.device-macbook-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 34px;
  height: 72px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #dce2ea, #bcc4cf);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.device-macbook-base::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 180px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #d5dbe3, #b5bcc7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    0 18px 30px rgba(38, 43, 55, 0.12);
}

.device-monitor {
  display: grid;
  justify-items: center;
}

.device-monitor-screen {
  width: min(100%, 700px);
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, #111318, #090a0d);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 54px rgba(18, 23, 31, 0.22);
}

.device-monitor-stand {
  width: 120px;
  height: 54px;
  clip-path: polygon(38% 0, 62% 0, 70% 55%, 100% 55%, 100% 100%, 0 100%, 0 55%, 30% 55%);
  background: linear-gradient(180deg, #cfd6df, #adb5c0);
}

.device-ui-toolbar {
  display: flex;
  gap: 6px;
  padding: 0 0 12px 2px;
}

.device-ui-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.device-ui-shell {
  display: grid;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-ui-shell-sky {
  grid-template-columns: 160px 1fr;
  background: linear-gradient(180deg, #f5fbff, #ebf5ff);
}

.device-ui-shell-pine {
  grid-template-rows: auto 1fr;
  background: linear-gradient(180deg, #f5faf6, #ebf3ee);
}

.device-ui-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px 18px;
  background: linear-gradient(180deg, rgba(65, 95, 138, 0.94), rgba(54, 76, 116, 0.96));
  color: rgba(255, 255, 255, 0.76);
}

.device-ui-sidebar strong {
  color: #fff;
  font-size: 18px;
}

.device-ui-sidebar span {
  font-size: 13px;
  letter-spacing: 0.01em;
}

.device-ui-main {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.device-ui-hero {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(163, 215, 255, 0.55), rgba(255, 255, 255, 0.72));
}

.device-ui-hero p,
.device-ui-panel p,
.device-ui-topline span,
.device-ui-panel span,
.device-ui-home-card span,
.device-ui-timeline-card span,
.device-ui-section-head span {
  margin: 0;
}

.device-ui-hero p,
.device-ui-panel span,
.device-ui-topline span,
.device-ui-home-card span,
.device-ui-timeline-card span,
.device-ui-section-head span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(34, 49, 77, 0.56);
}

.device-ui-hero h5 {
  margin: 0;
  font-size: 28px;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.device-ui-hero > span {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.device-ui-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.device-ui-home-card {
  display: grid;
  gap: 6px;
  min-height: 82px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.device-ui-home-card strong,
.device-ui-section-head strong,
.device-ui-timeline-card strong {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.device-ui-timeline-section {
  display: grid;
  gap: 12px;
}

.device-ui-section-head {
  display: grid;
  gap: 4px;
}

.device-ui-timeline-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.device-ui-timeline-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.device-ui-timeline-card p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.35;
}

.device-ui-timeline-card-muted {
  grid-column: 1 / -1;
}

.device-ui-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.device-ui-grid-pc {
  padding: 22px;
}

.device-ui-panel {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.device-ui-panel strong {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.device-ui-panel p {
  color: var(--ink-soft);
  line-height: 1.55;
}

.device-ui-panel-wide {
  grid-column: 1 / -1;
}

.device-ui-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 0;
}

.launch-vault-hero {
  display: grid;
  gap: 18px;
  padding: 34px;
  border-radius: 34px;
  color: #f8fbff;
  background:
    radial-gradient(circle at top left, rgba(132, 204, 255, 0.32), transparent 30%),
    radial-gradient(circle at top right, rgba(214, 145, 255, 0.22), transparent 32%),
    linear-gradient(145deg, #14233a, #21304f 52%, #2a2848);
  box-shadow: 0 28px 60px rgba(24, 34, 56, 0.16);
}

.launch-vault-hero-copy {
  display: grid;
  gap: 12px;
  max-width: 740px;
}

.launch-vault-hero-copy h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.launch-vault-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(248, 251, 255, 0.78);
}

.launch-vault-hero-markers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.launch-vault-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(248, 251, 255, 0.9);
}

.launch-vault-grid,
.launch-vault-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.launch-vault-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 32px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 252, 0.92));
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.07);
}

.launch-vault-card > .eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.launch-vault-card h3,
.launch-vault-section-head h3,
.theme-preview-card h4 {
  margin: 0;
  font-size: clamp(30px, 2.3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.launch-vault-card p,
.launch-vault-section-head p,
.theme-preview-card p,
.launch-vault-list {
  margin: 0;
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-soft);
}

.launch-vault-card p {
  max-width: 29ch;
}

.launch-vault-card-feature {
  background:
    linear-gradient(180deg, rgba(244, 249, 255, 0.98), rgba(249, 244, 255, 0.95));
}

.launch-vault-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.launch-vault-bullets span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.launch-vault-list {
  padding-left: 18px;
}

.launch-vault-list li + li {
  margin-top: 10px;
}

.launch-vault-onboarding-flow {
  display: grid;
  gap: 12px;
}

.launch-vault-onboarding-flow div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 20px;
  background: #f7f9fc;
}

.launch-vault-step {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8ccfff, #8f8eff, #d694ff);
  color: #fff;
  font-weight: 700;
}

.launch-vault-themes,
.launch-vault-roadmap,
.launch-vault-mobile-focus {
  display: grid;
  gap: 22px;
}

.launch-vault-section-head {
  display: grid;
  gap: 12px;
  max-width: 68ch;
}

.theme-preview-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 28px;
  min-height: 260px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.06);
}

.theme-preview-card-sky {
  background: linear-gradient(180deg, #f7fcff, #ebf7ff 58%, #dff1ff);
}

.theme-preview-card-lavender {
  background: linear-gradient(180deg, #fcf9ff, #f2ecff 58%, #e6ddff);
}

.theme-preview-card-pine {
  background: linear-gradient(180deg, #f8fcf8, #ecf5ef 56%, #dce9df);
}

.theme-preview-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.theme-preview-badge,
.theme-preview-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.theme-preview-badge {
  background: rgba(255, 255, 255, 0.72);
  color: rgba(17, 17, 17, 0.82);
  font-weight: 700;
}

.theme-preview-status {
  background: rgba(17, 17, 17, 0.05);
  color: rgba(17, 17, 17, 0.52);
}

.theme-preview-swatches {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.theme-preview-swatches span {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.launch-vault-mobile-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}

.launch-vault-card-phone {
  background:
    radial-gradient(circle at top, rgba(221, 234, 255, 0.7), transparent 34%),
    linear-gradient(180deg, rgba(249, 251, 255, 0.98), rgba(244, 247, 252, 0.96));
}

.phone-preview-frame {
  position: relative;
  width: min(100%, 320px);
  margin: 0 auto;
  padding: 14px;
  border-radius: 46px;
  background:
    linear-gradient(180deg, #242933 0%, #171b22 28%, #0f1218 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 10px rgba(0, 0, 0, 0.42),
    0 28px 60px rgba(16, 18, 28, 0.34);
}

.phone-preview-frame-showcase {
  width: min(100%, 330px);
}

.phone-preview-side-button,
.phone-preview-camera-control {
  position: absolute;
  display: block;
  background: linear-gradient(180deg, rgba(95, 104, 120, 0.9), rgba(31, 36, 45, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.phone-preview-side-button {
  left: -3px;
  width: 4px;
  border-radius: 999px 0 0 999px;
}

.phone-preview-side-button-top {
  top: 104px;
  height: 28px;
}

.phone-preview-side-button-mid {
  top: 162px;
  height: 58px;
}

.phone-preview-side-button-low {
  top: 232px;
  height: 58px;
}

.phone-preview-camera-control {
  right: -3px;
  top: 182px;
  width: 4px;
  height: 110px;
  border-radius: 0 999px 999px 0;
}

.phone-preview-screen {
  display: grid;
  gap: 14px;
  min-height: 590px;
  padding: 14px 18px 20px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(197, 177, 255, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(177, 214, 255, 0.18), transparent 36%),
    linear-gradient(180deg, #f8f4ff, #f1ebff 48%, #eef3ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.phone-preview-view {
  display: grid;
  gap: 14px;
  min-height: 100%;
}

.phone-preview-view.is-hidden {
  display: none;
}

.phone-preview-statusbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: #10131a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.phone-preview-statusbar span:last-child {
  justify-self: end;
}

.phone-preview-island {
  width: 126px;
  height: 30px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 78% 50%, rgba(34, 37, 46, 0.82) 0 14%, transparent 15%),
    linear-gradient(180deg, #090b10, #050608);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.18);
}

.phone-preview-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d86a7;
  font-weight: 700;
}

.phone-preview-screen h4 {
  margin: 0;
  font-size: 34px;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.phone-preview-copy {
  margin: 0;
  color: #6e7b95;
  font-size: 15px;
  line-height: 1.55;
}

.phone-preview-themes {
  display: grid;
  gap: 12px;
}

.phone-theme-pill {
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 22px;
  text-align: left;
  padding: 0 18px;
  font-size: 17px;
  font-weight: 650;
  color: #202838;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 10px 20px rgba(98, 110, 150, 0.08);
}

.phone-theme-pill:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 14px 24px rgba(98, 110, 150, 0.12);
}

.phone-theme-pill.is-selected {
  border-color: rgba(182, 163, 240, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 0 0 2px rgba(191, 172, 245, 0.42);
}

.phone-theme-pill-sky {
  background: linear-gradient(135deg, #eef8ff, #d8efff);
}

.phone-theme-pill-lavender {
  background: linear-gradient(135deg, #f4edff, #e7d7ff);
}

.phone-theme-pill-pine {
  background: linear-gradient(135deg, #eef7f1, #d8eadf);
}

.phone-preview-card {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 17, 17, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 12px 28px rgba(116, 126, 160, 0.08);
}

.phone-preview-screen-lavender {
  background:
    radial-gradient(circle at top left, rgba(219, 196, 255, 0.24), transparent 34%),
    linear-gradient(180deg, #fdf9ff, #f3ebff 48%, #faf6ff);
}

.phone-preview-screen-sky {
  background:
    radial-gradient(circle at top left, rgba(188, 225, 255, 0.24), transparent 34%),
    radial-gradient(circle at bottom right, rgba(201, 236, 255, 0.2), transparent 36%),
    linear-gradient(180deg, #f7fcff, #edf7ff 50%, #f6fbff);
}

.phone-preview-screen-pine {
  background:
    radial-gradient(circle at top left, rgba(189, 226, 205, 0.24), transparent 34%),
    radial-gradient(circle at bottom right, rgba(212, 232, 218, 0.24), transparent 36%),
    linear-gradient(180deg, #f8fcf8, #edf5ef 50%, #f7fbf8);
}

.phone-preview-card-lavender {
  background: rgba(255, 255, 255, 0.78);
}

.phone-preview-card-sky {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 250, 255, 0.9));
}

.phone-preview-card-pine {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(243, 250, 245, 0.9));
}

.phone-preview-card span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7282a3;
}

.phone-preview-card strong {
  font-size: 28px;
  letter-spacing: -0.03em;
}

.phone-preview-card p {
  margin: 0;
  color: #5d687f;
  line-height: 1.6;
}

.phone-preview-home-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.phone-preview-home-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7282a3;
  font-weight: 700;
}

.phone-preview-home-head h5 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.phone-preview-back {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #324055;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.phone-preview-home-hero {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(17, 17, 17, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 12px 28px rgba(116, 126, 160, 0.08);
}

.phone-preview-home-hero span,
.phone-preview-mobile-panel-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7282a3;
  font-weight: 700;
}

.phone-preview-home-hero strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.phone-preview-home-hero p,
.phone-preview-mobile-panel-text {
  margin: 0;
  color: #5d687f;
  line-height: 1.55;
}

.phone-preview-home-grid {
  display: grid;
  gap: 10px;
}

.phone-preview-home-card {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  text-align: left;
  color: #202838;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.phone-preview-home-card:hover {
  transform: translateY(-1px);
}

.phone-preview-home-card span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7282a3;
  font-weight: 700;
}

.phone-preview-home-card strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.phone-preview-home-card.is-active {
  border-color: rgba(127, 149, 210, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 0 0 2px rgba(179, 201, 255, 0.22);
}

.phone-preview-mobile-panel {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 17, 17, 0.05);
}

.phone-preview-cta {
  min-height: 58px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 18px 34px rgba(60, 101, 235, 0.24);
}

.phone-preview-cta:hover {
  transform: translateY(-1px);
  filter: saturate(1.03);
}

.phone-preview-cta-sky {
  background: linear-gradient(135deg, #3c82f6, #62a4ff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 18px 34px rgba(65, 127, 240, 0.24);
}

.phone-preview-cta-lavender {
  background: linear-gradient(135deg, #6a73f1, #8c6df3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 18px 34px rgba(116, 99, 236, 0.24);
}

.phone-preview-cta-pine {
  background: linear-gradient(135deg, #4f8b6f, #72b189);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 18px 34px rgba(78, 140, 110, 0.24);
}

.brand-card {
  display: grid;
  gap: 28px;
  padding: 36px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 24px 54px rgba(17, 17, 17, 0.08);
}

.brand-card-copy {
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.brand-card-copy h3 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.brand-card-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.brand-logo-stage {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 36px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.96), rgba(245, 245, 247, 0.92)),
    rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 17, 17, 0.05);
  overflow: hidden;
}

.brand-logo-stage img {
  width: min(100%, 540px);
  height: auto;
  display: block;
}

.header-filter-cluster {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.header-filter-row {
  position: relative;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 10px 26px rgba(111, 130, 157, 0.08);
  scrollbar-width: none;
}

.header-filter-row::-webkit-scrollbar {
  display: none;
}

.chatgpt-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: none;
  color: #1d1d1f;
  font-size: 12px;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.chatgpt-shortcut:hover {
  background: white;
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e6e73;
  font-weight: 600;
}

.page-shell {
  padding: 18px 0 56px;
}

.top-nav-bar {
  position: sticky;
  top: 54px;
  z-index: 25;
  margin-bottom: 18px;
  padding: 0;
  border-radius: 20px;
  background: rgba(251, 251, 253, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.04);
}

.top-nav-inner {
  position: relative;
  display: block;
}

.top-search-shell {
  display: grid;
  gap: 12px;
}

.filter-band {
  margin-bottom: 10px;
}

.filter-row-static {
  margin-top: 0;
}

.search-field-top {
  grid-template-columns: 1fr;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
}

.search-field-top span {
  color: var(--ink-soft);
}

.search-field-top input {
  min-height: 52px;
  background: white;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: none;
}

.filter-row-top {
  margin-top: 0;
}

.section-switcher {
  display: block;
  margin: 0 0 28px;
  padding: 0;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.is-hidden {
  display: none !important;
}

.hero-surface,
.rail-card,
.sidebar,
.library-panel > *,
.workspace-card,
.stat-card,
.strategy-card,
.action-card,
.subcategory-card,
.search-empty {
  box-shadow: var(--shadow);
}

.hero-surface {
  position: relative;
  overflow: hidden;
  padding: 44px 44px 44px;
  min-height: 680px;
  border-radius: 34px;
  background: #111111;
  color: #f5f5f7;
  box-shadow: 0 22px 50px rgba(17, 17, 17, 0.14);
}

.hero-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.54)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.06) 45%, rgba(0, 0, 0, 0.24) 100%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 560px;
}

.hero-copy-column {
  position: relative;
  z-index: 96;
  display: grid;
  justify-items: center;
  text-align: center;
  align-content: center;
}

.hero-brand-lockup {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.hero-brand-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 0.35px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 0.35px rgba(255, 255, 255, 0.95));
  opacity: 0.99;
}

.hero-background {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

.hero-background img,
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-bg-video.is-active {
  opacity: 1;
}

.hero-surface::after {
  display: none;
}

.hero-surface h1,
.rail-card h2,
.workspace-heading h3,
.category-header h3,
.subcategory-card h4,
.item-card h5,
.priority-card h4,
.strategy-card h4,
.action-card h4,
.search-empty h3 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.hero-surface h1 {
  max-width: 12ch;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(54px, 8vw, 106px);
  line-height: 0.94;
  text-wrap: balance;
}

.hero-kicker {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.18em;
}

.hero-kicker-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 24px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.88);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.hero-kicker-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.14);
}

.hero-kicker-button:active {
  transform: scale(0.98);
}

.hero-wordmark {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 2px;
  max-width: none;
}

.hero-wordmark-main,
.hero-wordmark-hub,
.hero-wordmark-hub-line {
  display: block;
  text-wrap: nowrap;
}

.hero-wordmark-main {
  font-size: clamp(46px, 6.8vw, 88px);
  line-height: 0.96;
  color: rgba(255, 255, 255, 0.96);
}

.hero-wordmark-hub {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.9;
  color: #8fc7ff;
}

.hero-wordmark-hub-line {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
}

.hero-wordmark-tm {
  font-size: 14px;
  line-height: 1;
  color: rgba(143, 199, 255, 0.82);
  letter-spacing: 0.08em;
  transform: translateY(10px);
}

.sidebar-copy,
.workspace-copy,
.category-summary,
.subcategory-summary,
.item-purpose,
.item-meta,
.priority-card p,
.stat-copy,
.sync-note,
.search-empty p,
.strategy-card p,
.action-card p,
.rail-card p,
.notes-field {
  color: var(--ink-soft);
  line-height: 1.72;
}

.hero-background img,
.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-image::after,
.hero-search-panel::before {
  content: "";
  position: absolute;
  inset: 0;
}

.category-image::after {
  background: linear-gradient(180deg, rgba(8, 14, 20, 0.04), rgba(8, 14, 20, 0.4));
}

.hero-search-panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  align-self: end;
}

.hero-search-panel::before {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(18, 24, 34, 0.78), rgba(18, 24, 34, 0.38));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-caption {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 22px 22px 0;
}

.hero-caption p {
  margin: 0;
  color: rgba(245, 240, 232, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

.hero-caption-line {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 161, 88, 0.9), rgba(201, 161, 88, 0.04));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.hero-actions .button {
  min-height: unset;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 4px 16px rgba(0, 0, 0, 0.18);
  letter-spacing: -0.01em;
}

.hero-actions .button:hover {
  transform: translateY(-1px);
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.22);
}

.hero-actions .button:active {
  transform: scale(0.97);
}

.button {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24);
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    background 240ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease,
    color 240ms ease,
    box-shadow 240ms ease,
    filter 240ms ease;
}

.button:hover {
  transform: translateY(-1px) scale(1.01);
  filter: saturate(1.04);
}

.button-primary {
  background: var(--accent-gradient);
  color: white;
  border-color: var(--accent-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 32px color-mix(in srgb, var(--accent) 26%, transparent);
}

.button-primary:hover {
  background: var(--accent-gradient);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 18px 36px color-mix(in srgb, var(--accent) 30%, transparent);
}

.hero-actions .button-primary,
.hero-actions .button-primary:hover,
.hero-actions .button-secondary,
.hero-actions .button-secondary:hover {
  color: rgba(255, 255, 255, 0.96);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255,255,255,0.58);
  border-color: rgba(255, 255, 255, 0.24);
}

.button-secondary:hover {
  background: rgba(255,255,255,0.76);
  border-color: rgba(255,255,255,0.44);
  color: var(--ink);
}

.search-stage {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 0 22px 22px;
  border-radius: 0 0 28px 28px;
  background: transparent;
  border: 0;
}

.search-field {
  display: grid;
  gap: 8px;
}

.search-field span {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6e6e73;
  font-weight: 600;
}

.search-field input,
.custom-form input,
.select-field,
.notes-field {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--ink);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.search-field input {
  background: rgba(255, 255, 255, 0.54);
}

.search-field input::placeholder,
.custom-form input::placeholder,
.notes-field::placeholder {
  color: var(--ink-faint);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
  justify-content: center;
}

/* Home view: full-width single column (sidebar not needed) */
.main-layout:not(.main-layout-single) {
  grid-template-columns: minmax(0, 1fr);
}

.main-layout:not(.main-layout-single) .sidebar {
  display: none;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: #3a3a3c;
  font-weight: 500;
}

.filter-chip.is-active {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.16);
  color: #1d1d1f;
}

.filter-chip-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
  background: #d96565;
  box-shadow: 0 0 0 4px rgba(217, 101, 101, 0.12);
}

.status-dot.is-ready {
  background: #49b46f;
  box-shadow: 0 0 0 4px rgba(73, 180, 111, 0.14);
}

.filter-chip-count,
.nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(73, 180, 111, 0.14);
  color: #237346;
  font-size: 12px;
  line-height: 1;
}

.filter-chip-count.is-empty,
.nav-count.is-empty {
  min-width: 10px;
  width: 10px;
  height: 10px;
  padding: 0;
  background: #d96565;
  color: transparent;
  box-shadow: 0 0 0 4px rgba(217, 101, 101, 0.12);
}

.hero-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rail-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  background: #ffffff;
}

.rail-card-dark {
  background: #ffffff;
}

.rail-card-dark h2 {
  margin-top: 12px;
  font-size: 32px;
  line-height: 0.98;
}

.rail-card-light {
  display: grid;
  align-content: start;
  background: #ffffff;
}

.stats-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.stat-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(43, 54, 69, 0.06);
}

.stat-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.stat-value {
  margin: 10px 0 6px;
  font-size: 40px;
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  margin-top: 8px;
  align-items: start;
}

.main-layout.main-layout-single {
  grid-template-columns: minmax(0, 1fr);
}

.workspace-card,
.category-card,
.search-empty {
  background:
    radial-gradient(20rem 12rem at var(--glass-x) calc(var(--glass-y) * 0.6), rgba(255,255,255,0.34), transparent 52%),
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(247,250,255,0.82));
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.82),
    0 18px 38px rgba(44, 66, 96, 0.07);
}

.category-nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

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

.category-nav button {
  display: inline-grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  width: auto;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.84), rgba(245,249,255,0.78));
  color: #2b2b2d;
  text-align: left;
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  transition: background 240ms cubic-bezier(0.22, 1, 0.36, 1), transform 240ms cubic-bezier(0.22, 1, 0.36, 1), color 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.category-nav button:hover,
.category-nav button.is-active {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,255,0.9));
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.82);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.82),
    0 12px 28px rgba(44, 66, 96, 0.08);
  color: var(--accent);
}

.category-nav span:last-child {
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(143, 157, 179, 0.12);
  color: var(--ink-soft);
  font-size: 12px;
}

.category-nav .nav-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.category-nav .nav-count {
  background: rgba(73, 180, 111, 0.14);
  color: #237346;
}

.site-mark .eyebrow,
.site-mark .site-title {
  color: #1d1d1f;
}

.library-column,
.workspace-panel,
.library-panel,
.priority-list,
.custom-asset-list,
.category-sections,
.item-grid,
.strategy-overview {
  display: grid;
  gap: 18px;
}

.home-view {
  display: grid;
  gap: 28px;
}

.goals-page {
  display: grid;
  gap: 26px;
}

.goals-hero {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 34px;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 194, 122, 0.28), transparent 22%),
    radial-gradient(circle at 88% 22%, rgba(122, 189, 255, 0.26), transparent 24%),
    radial-gradient(circle at 50% 110%, rgba(170, 135, 255, 0.22), transparent 34%),
    linear-gradient(145deg, #fff7ef, #f5f9ff 42%, #f7f2ff);
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 24px 54px rgba(17, 17, 17, 0.08);
  isolation: isolate;
}

.goals-hero::before,
.goals-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.55;
  pointer-events: none;
}

.goals-hero::before {
  top: 26px;
  right: 60px;
  width: 120px;
  height: 120px;
  background: rgba(124, 140, 255, 0.18);
}

.goals-hero::after {
  bottom: 20px;
  left: 42px;
  width: 160px;
  height: 100px;
  background: rgba(255, 156, 96, 0.16);
}

.goals-hero-copy,
.goals-hero-stats {
  position: relative;
  z-index: 2;
}

.goals-hero::before {
  animation: goalsBlobFloatA 28s ease-in-out infinite alternate;
}

.goals-hero::after {
  animation: goalsBlobFloatB 34s ease-in-out infinite alternate;
}

.goals-hero-copy::before,
.goals-hero-copy::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(52px);
  opacity: 0.42;
  z-index: -1;
  mix-blend-mode: screen;
}

.goals-hero-copy::before {
  top: -54px;
  right: -180px;
  width: 320px;
  height: 220px;
  background: radial-gradient(circle, rgba(134, 182, 255, 0.36) 0%, rgba(134, 182, 255, 0.1) 48%, transparent 72%);
  animation: goalsAuraDriftA 32s ease-in-out infinite alternate;
}

.goals-hero-copy::after {
  left: -120px;
  bottom: -108px;
  width: 300px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 188, 120, 0.34) 0%, rgba(255, 188, 120, 0.08) 46%, transparent 74%);
  animation: goalsAuraDriftB 38s ease-in-out infinite alternate;
}

.goals-hero-stats::before {
  content: "";
  position: absolute;
  inset: -18% 10% -20% 18%;
  border-radius: 40px;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 38%, rgba(255, 255, 255, 0.34), transparent 24%),
    radial-gradient(circle at 72% 64%, rgba(194, 182, 255, 0.16), transparent 26%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  filter: blur(26px);
  opacity: 0.72;
  z-index: -1;
  animation: goalsSheenDrift 24s ease-in-out infinite alternate;
}

.goals-hero-copy {
  position: relative;
  display: grid;
  gap: 12px;
  max-width: 58ch;
}

.goals-hero-copy h2,
.goals-section-head h3,
.goals-lane-head h3,
.goal-card h3 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.goals-hero-copy h2 {
  font-size: clamp(40px, 5vw, 66px);
}

.goals-hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.goal-stat-card,
.goal-composer-card,
.goal-card,
.goal-empty-card,
.goal-focus-card {
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  background: rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 16px 34px rgba(17, 17, 17, 0.06);
}

@keyframes goalsBlobFloatA {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-18px, 12px, 0) scale(1.08);
  }
  100% {
    transform: translate3d(-8px, 26px, 0) scale(0.96);
  }
}

@keyframes goalsBlobFloatB {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(20px, -8px, 0) scale(1.06);
  }
  100% {
    transform: translate3d(10px, -22px, 0) scale(0.97);
  }
}

@keyframes goalsAuraDriftA {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(22px, 14px, 0) scale(1.1);
  }
  100% {
    transform: translate3d(-10px, 34px, 0) scale(0.94);
  }
}

@keyframes goalsAuraDriftB {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-18px, -6px, 0) scale(1.06);
  }
  100% {
    transform: translate3d(14px, -26px, 0) scale(0.95);
  }
}

@keyframes goalsSheenDrift {
  0% {
    transform: translate3d(-2%, 0, 0) scale(1);
    opacity: 0.56;
  }
  50% {
    transform: translate3d(2%, -1%, 0) scale(1.03);
    opacity: 0.76;
  }
  100% {
    transform: translate3d(4%, 1%, 0) scale(0.99);
    opacity: 0.62;
  }
}

@media (prefers-reduced-motion: reduce) {
  .daily-entry-gate-panel::before,
  .daily-entry-gate-panel::after,
  .goals-hero::before,
  .goals-hero::after,
  .goals-hero-copy::before,
  .goals-hero-copy::after,
  .goals-hero-stats::before {
    animation: none;
  }
}

@media (max-width: 720px) {
  .daily-entry-gate {
    padding: 16px;
  }

  .daily-entry-gate-panel {
    padding: 24px 20px;
    border-radius: 28px;
  }

  .daily-entry-title {
    max-width: 10ch;
    font-size: clamp(34px, 10vw, 48px);
  }

  .daily-entry-question {
    font-size: 20px;
  }

  .daily-entry-answer {
    min-height: 128px;
  }

  .daily-entry-actions {
    align-items: stretch;
  }

  .daily-entry-submit {
    width: 100%;
  }
}

.goal-stat-card {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.goal-stat-card span,
.goals-lane-head .eyebrow,
.goals-section-head .eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.goal-stat-card strong {
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.05em;
}

.goal-stat-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.goals-focus-strip,
.goals-board,
.goal-composer-card {
  display: grid;
  gap: 18px;
}

.goals-lane-head {
  display: grid;
  gap: 6px;
}

.goals-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.goal-template-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.goal-template-btn {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.goal-template-btn:hover,
.goal-focus-card:hover,
.goal-card:hover {
  transform: translateY(-2px);
}

.goal-template-btn-hub {
  background: linear-gradient(135deg, rgba(123, 194, 255, 0.22), rgba(123, 194, 255, 0.1));
}

.goal-template-btn-business {
  background: linear-gradient(135deg, rgba(255, 156, 96, 0.22), rgba(255, 156, 96, 0.1));
}

.goal-template-btn-personal {
  background: linear-gradient(135deg, rgba(145, 129, 255, 0.22), rgba(145, 129, 255, 0.1));
}

.goals-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.goal-focus-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  text-align: left;
  cursor: pointer;
}

.goal-focus-card span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.goal-focus-card strong {
  font-size: 30px;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.goal-focus-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.goal-focus-card-hub {
  background: linear-gradient(145deg, #f2f9ff, #ffffff 62%);
}

.goal-focus-card-business {
  background: linear-gradient(145deg, #fff6ef, #ffffff 62%);
}

.goal-focus-card-personal {
  background: linear-gradient(145deg, #f7f2ff, #ffffff 62%);
}

.goal-empty-card {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.goal-empty-card strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.goal-empty-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.goal-composer-card {
  padding: 28px;
}

.goal-composer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.goal-composer-field-wide {
  grid-column: 1 / -1;
}

.goal-composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.goal-pin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}

.goals-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.goals-lane {
  display: grid;
  align-content: start;
  gap: 14px;
}

.goals-lane-stack {
  display: grid;
  gap: 14px;
}

.goal-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.goal-card-head,
.goal-card-footer,
.goal-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.goal-card-tags,
.goal-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.goal-domain-pill,
.goal-status-pill,
.goal-pin-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.goal-domain-pill-hub {
  background: rgba(123, 194, 255, 0.16);
  color: #2a6fa3;
}

.goal-domain-pill-business {
  background: rgba(255, 156, 96, 0.16);
  color: #b35f2d;
}

.goal-domain-pill-personal {
  background: rgba(145, 129, 255, 0.16);
  color: #6556be;
}

.goal-status-pill-active {
  background: rgba(73, 196, 139, 0.14);
  color: #288760;
}

.goal-status-pill-paused {
  background: rgba(255, 198, 92, 0.16);
  color: #9d7420;
}

.goal-status-pill-done {
  background: rgba(124, 140, 255, 0.14);
  color: #5162ce;
}

.goal-pin-pill {
  background: rgba(17, 17, 17, 0.06);
  color: var(--ink-soft);
}

.goal-card-icon {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.goal-card-icon-danger {
  color: #e34d42;
}

.goal-card h3 {
  font-size: 30px;
}

.goal-copy {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.goal-copy strong {
  color: var(--ink);
}

.goal-meta-row {
  color: var(--ink-faint);
  font-size: 13px;
}

.goal-progress-wrap {
  display: grid;
  gap: 10px;
}

.goal-progress-range {
  width: 100%;
}

.goal-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  overflow: hidden;
}

.goal-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7bc2ff, #9b88ff, #ffad76);
  box-shadow: 0 0 16px rgba(123, 194, 255, 0.24);
}

.goal-card-status-done,
.goal-card-status-done .goal-progress-bar span {
  filter: saturate(0.9);
}

.goal-card-hub {
  background: linear-gradient(180deg, rgba(245, 250, 255, 0.92), rgba(255, 255, 255, 0.84));
}

.goal-card-business {
  background: linear-gradient(180deg, rgba(255, 248, 241, 0.92), rgba(255, 255, 255, 0.84));
}

.goal-card-personal {
  background: linear-gradient(180deg, rgba(248, 244, 255, 0.92), rgba(255, 255, 255, 0.84));
}

@media (max-width: 1180px) {
  .goals-hero-stats,
  .goals-focus-grid,
  .goals-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .goal-composer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .goals-hero,
  .goal-composer-card {
    padding: 24px;
    border-radius: 28px;
  }

  .goals-hero-stats,
  .goals-focus-grid,
  .goals-board,
  .goal-composer-grid {
    grid-template-columns: 1fr;
  }

  .goals-section-head,
  .goal-composer-actions,
  .goal-card-head,
  .goal-card-footer,
  .goal-meta-row {
    align-items: start;
  }

  .goal-focus-card strong,
  .goal-card h3 {
    font-size: 24px;
  }
}

.home-view-head {
  display: grid;
  gap: 12px;
  padding: 10px 4px 0;
  justify-items: center;
  text-align: center;
}

.home-view-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.home-view-copy {
  margin: 0;
  max-width: 46ch;
  color: var(--ink-soft);
  line-height: 1.65;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.conversation-hub {
  display: grid;
  gap: 18px;
}

.conversation-hub-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 4px 0;
}

.conversation-hub-head > div {
  display: grid;
  justify-items: center;
  text-align: center;
  margin: 0 auto;
}

.conversation-hub-head h3 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.conversation-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
}

.conversation-card {
  padding: 26px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.06);
}

.conversation-card-form,
.conversation-card-archive,
.conversation-form-grid,
.conversation-checklist,
.conversation-checklist-grid,
.conversation-archive-list,
.conversation-section-head {
  display: grid;
  gap: 14px;
}

.conversation-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.conversation-helper-copy,
.conversation-archive-contact {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.conversation-checklist-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.conversation-check {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 17, 17, 0.05);
}

.conversation-check input {
  margin-top: 2px;
  accent-color: var(--accent);
}

.conversation-check span {
  color: #1d1d1f;
  line-height: 1.5;
}

.kartlegging-check-copy {
  display: grid;
  gap: 6px;
}

.kartlegging-check-copy strong {
  font-weight: 500;
  line-height: 1.45;
}

.kartlegging-check-copy small {
  color: var(--ink-soft);
  line-height: 1.58;
  font-size: 14px;
}

.kartlegging-overview {
  display: grid;
  gap: 18px;
}

.kartlegging-script-card,
.kartlegging-structure-card,
.kartlegging-checklist-card {
  display: grid;
  gap: 16px;
}

.kartlegging-opener {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 17, 17, 0.05);
}

.kartlegging-opener p {
  margin: 0;
  color: var(--ink);
  line-height: 1.68;
}

.kartlegging-quote {
  display: grid;
  gap: 14px;
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(247, 247, 249, 0.98), rgba(241, 241, 244, 0.96));
  border: 1px solid rgba(17, 17, 17, 0.05);
}

.kartlegging-quote p {
  margin: 0;
  color: var(--ink);
  line-height: 1.72;
  font-size: 16px;
}

.kartlegging-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kartlegging-slot {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(17, 17, 17, 0.05);
}

.kartlegging-slot strong {
  font-size: 15px;
  line-height: 1.2;
}

.kartlegging-slot span {
  color: var(--ink-soft);
  line-height: 1.58;
}

.kartlegging-checklist-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kartlegging-check {
  min-height: 100%;
}

.conversation-textarea {
  width: 100%;
  min-height: 180px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--ink);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  resize: vertical;
}

.conversation-textarea-small {
  min-height: 120px;
}

.conversation-archive-item {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  background: #fbfbfd;
  border: 1px solid rgba(17, 17, 17, 0.05);
}

.conversation-archive-item h4 {
  margin: 0;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 600;
}

.conversation-archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.conversation-archive-preview {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}

.home-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 4px 20px rgba(17, 17, 17, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.home-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.1);
}

.home-card-image {
  margin: 0;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.home-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.home-card:hover .home-card-image img {
  transform: scale(1.04);
}

.home-card-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
}

.home-card-copy h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.home-card-copy p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.home-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.library-column {
  min-width: 0;
}

.workspace-panel {
  position: sticky;
  top: 120px;
}

.workspace-card {
  padding: 22px;
  border-radius: 28px;
}

.workspace-card-highlight {
  background: #ffffff;
}

.workspace-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.workspace-heading h3 {
  font-size: 30px;
  line-height: 1.04;
}

.custom-form {
  display: grid;
  gap: 12px;
  margin: 18px 0 16px;
}

.select-field {
  appearance: none;
}

.file-field {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink-soft);
}

.file-field span {
  font-size: 13px;
}

.file-field input {
  width: 100%;
}

.sync-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 246, 229, 0.48);
  color: var(--ink);
}

.priority-card,
.custom-asset,
.subcategory-card {
  border-radius: 22px;
  background:
    radial-gradient(16rem 10rem at var(--glass-x) calc(var(--glass-y) * 0.8), rgba(255,255,255,0.28), transparent 54%),
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,251,255,0.82));
  border: 1px solid rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 16px 32px rgba(44, 66, 96, 0.06);
}

.priority-card,
.custom-asset,
.subcategory-card {
  padding: 18px;
}

.priority-card h4 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.08;
}

.priority-rank {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(185, 145, 82, 0.14);
  color: var(--gold);
  font-size: 14px;
}

.custom-asset,
.item-header,
.item-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.custom-asset {
  align-items: flex-start;
}

.custom-asset-body {
  display: grid;
  gap: 8px;
}

.custom-asset-title {
  font-weight: 500;
}

.custom-asset-meta,
.category-meta,
.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.custom-asset button,
.icon-button {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  backdrop-filter: blur(12px) saturate(170%);
  -webkit-backdrop-filter: blur(12px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), background 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.custom-asset button:hover,
.icon-button:hover {
  transform: translateY(-1px) scale(1.02);
  background: rgba(255,255,255,0.86);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 10px 18px rgba(44, 66, 96, 0.08);
}

.notes-field {
  min-height: 220px;
  resize: vertical;
}

.notes-dock {
  position: fixed;
  left: 22px;
  top: 112px;
  z-index: 24;
  width: min(280px, calc(100vw - 48px));
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.notes-panel,
.client-celebration-control,
.notes-peek {
  pointer-events: auto;
}

.notes-panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  background:
    radial-gradient(16rem 10rem at var(--glass-x) calc(var(--glass-y) * 0.6), rgba(255,255,255,0.34), transparent 54%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,251,255,0.84));
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(22px) saturate(175%);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.82),
    0 20px 40px rgba(44, 66, 96, 0.08);
  transition:
    opacity 260ms ease,
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 260ms ease;
}

.notes-panel-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.notes-panel .workspace-heading {
  gap: 6px;
}

.notes-helper {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.68;
}

.notes-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.notes-secondary-button {
  background: rgba(32, 45, 66, 0.06);
  color: var(--ink);
}

.notes-status {
  min-height: 20px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.notes-archive {
  display: grid;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid rgba(43, 54, 69, 0.08);
}

.notes-archive-head {
  display: grid;
  gap: 4px;
}

.notes-archive-head p:last-child {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.notes-archive-list {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow: auto;
  padding-right: 4px;
}

.notes-archive-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid rgba(43, 54, 69, 0.06);
}

.notes-archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.notes-archive-time {
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notes-archive-preview {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
  font-size: 14px;
}

.notes-archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.notes-archive-button {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(43, 54, 69, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.notes-empty {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.notes-minimize {
  flex-shrink: 0;
  font-size: 24px;
  line-height: 1;
}

.notes-peek {
  position: relative;
  display: inline-grid;
  gap: 4px;
  min-width: 126px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.68);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(247,250,255,0.82));
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.78),
    0 14px 28px rgba(44, 66, 96, 0.07);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-16px) scale(0.96);
  pointer-events: none;
  transition:
    opacity 240ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 240ms ease;
}

.notes-peek-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6e6e73;
}

.notes-peek-title {
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.notes-dock.is-minimized .notes-panel {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-24px) scale(0.96);
  pointer-events: none;
}

.notes-dock.is-minimized .notes-peek {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.category-card {
  overflow: hidden;
  border-radius: 34px;
  padding: 28px;
}

.category-lead {
  display: block;
  margin: 22px 0 30px;
}

.category-intro {
  position: relative;
  z-index: 3;
  width: min(860px, calc(100% - 44px));
  margin: -110px 0 0 22px;
  padding: 24px;
  border-radius: 30px;
  background:
    radial-gradient(18rem 12rem at var(--glass-x) calc(var(--glass-y) * 0.5), rgba(255,255,255,0.34), transparent 52%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,251,255,0.88));
  backdrop-filter: blur(22px) saturate(175%);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.82),
    0 24px 46px rgba(44, 66, 96, 0.08);
}

.category-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 16px;
  align-items: end;
}

.category-featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.category-highlight-card {
  padding: 16px 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.84), rgba(246,249,255,0.76));
  border: 1px solid rgba(255,255,255,0.66);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, background 260ms ease;
}

.category-highlight-card:hover,
.subcategory-card:hover,
.item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(23, 31, 41, 0.07);
}

.category-highlight-card h4 {
  margin: 8px 0 6px;
  font-size: 21px;
  line-height: 1.08;
  font-weight: 600;
}

.category-highlight-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.category-image {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  min-height: 620px;
  background: #d9d0c3;
}

.category-image-badge {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(248, 241, 230, 0.88);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.category-header {
  display: grid;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(43, 54, 69, 0.08);
}

.category-header h3 {
  max-width: 11ch;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.04);
  border: 1px solid rgba(17, 17, 17, 0.05);
  color: #6e6e73;
  font-size: 12px;
}

.strategy-grid,
.action-grid {
  display: grid;
  gap: 14px;
}

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

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

.strategy-card,
.action-card {
  padding: 18px;
  border-radius: 22px;
  background: #fbfbfd;
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.strategy-card h4,
.action-card h4,
.subcategory-card h4 {
  font-size: 22px;
  line-height: 1.08;
}

.subcategory-summary {
  margin: 10px 0 18px;
}

.item-grid {
  gap: 0;
}

.item-card {
  padding: 18px;
  margin-bottom: 12px;
  border-radius: 24px;
  background:
    radial-gradient(16rem 10rem at var(--glass-x) calc(var(--glass-y) * 0.7), rgba(255,255,255,0.24), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,250,255,0.84));
  border: 1px solid rgba(255,255,255,0.68);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.78),
    0 16px 30px rgba(44, 66, 96, 0.06);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.item-card:last-child {
  margin-bottom: 0;
}

.item-header {
  align-items: flex-start;
}

.item-card h5 {
  font-size: 22px;
  line-height: 1.08;
}

.item-purpose {
  margin: 8px 0 0;
  max-width: 56ch;
}

.item-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.icon-button.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-strong);
}

.is-entering {
  animation: riseFade 780ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--enter-delay, 0ms);
}

.shell-enter {
  animation: riseFade 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--shell-delay, 0ms);
}

@keyframes riseFade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.item-footer {
  margin-top: 12px;
  flex-wrap: wrap;
}

.item-meta {
  margin: 0;
  font-size: 13px;
}

.search-empty {
  padding: 32px;
  border-radius: 28px;
}

.search-empty h3 {
  font-size: 42px;
  line-height: 1.02;
}

.muted {
  color: var(--ink-soft);
}

.teaching-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  gap: 6px;
  min-width: 290px;
  padding: 14px 16px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 30px rgba(17, 17, 17, 0.06);
  text-align: left;
}

.teaching-launcher-label {
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.teaching-launcher-source {
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--ink);
}

.teaching-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.teaching-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.celebration-confetti {
  position: fixed;
  inset: 0;
  z-index: 74;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.celebration-modal {
  position: fixed;
  inset: 0;
  z-index: 72;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.celebration-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.reminder-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0 0;
  min-height: 18px;
}

.reminder-strip.is-empty {
  display: none;
}

.reminder-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 20px rgba(17, 17, 17, 0.04);
}

.item-open {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-align: left;
}

.item-open:hover {
  color: var(--gold);
}

.subcategory-card {
  gap: 0;
}

.subcategory-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.subcategory-toggle-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.subcategory-chevron {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1;
}

.subcategory-panel {
  padding-top: 18px;
}

.analytics-page {
  display: grid;
  gap: 24px;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.analytics-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.analytics-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.analytics-card-wide {
  grid-column: 1 / -1;
}

.analytics-list {
  display: grid;
  gap: 12px;
}

.analytics-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.analytics-row strong,
.analytics-row b {
  color: var(--ink);
}

.analytics-row span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13px;
}

.trend-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  min-height: 180px;
}

.trend-bar-wrap {
  display: grid;
  gap: 10px;
  justify-items: center;
  height: 100%;
}

.trend-bar {
  width: 100%;
  min-height: 10px;
  border-radius: 999px;
  background: var(--accent-gradient);
}

.trend-bar-wrap span {
  color: var(--ink-soft);
  font-size: 12px;
}

.analytics-insights {
  display: grid;
  gap: 10px;
}

.analytics-insights p,
.control-copy {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.control-center-panel,
.control-center-toggle {
  display: none !important;
}

.control-center-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.control-center-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}

.control-center-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 11, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.control-center-dialog {
  position: absolute;
  top: 84px;
  right: max(20px, calc((100vw - 1280px) / 2 + 20px));
  width: min(560px, calc(100vw - 28px));
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 32px 80px rgba(17, 17, 17, 0.16);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}

.control-center-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.control-center-head h2 {
  margin: 4px 0 0;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.control-center-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.control-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.control-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.control-segmented {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.88);
}

.control-pill,
.control-toggle {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
}

.control-pill {
  min-height: 38px;
  padding: 0 16px;
}

.control-pill.is-active {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.08);
}

.control-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.control-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Control center ─────────────────────────────────────────────────────── */
.cu-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--ink);
}

html[data-theme="dark"] .cu-icon { color: #f5f5f7; }

.cc-trigger {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,0.1);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.cc-trigger svg { width: 18px; height: 18px; }

.cc-trigger:hover {
  transform: scale(1.08);
  background: #fff;
  color: var(--ink);
}

.cc-trigger:active { transform: scale(0.94); }

/* ── Control Center — macOS dark style ─────────────────────────────────── */
.control-up {
  --cc-scale: 1;
  position: fixed;
  bottom: 72px;
  right: 20px;
  z-index: 70;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px) scale(calc(var(--cc-scale) * 0.965));
  transform-origin: bottom right;
  filter: saturate(0.92);
  transition:
    opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.control-up.is-open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(var(--cc-scale));
  filter: saturate(1);
}

.control-up-backdrop { display: none; }
.control-up-handle-bar { display: none; }

.control-up::before {
  content: "";
  position: absolute;
  inset: -22px -18px -18px -22px;
  border-radius: 44px;
  background:
    radial-gradient(22rem 16rem at 78% 14%, rgba(255,255,255,0.34), transparent 56%),
    radial-gradient(20rem 14rem at 24% 78%, rgba(190, 219, 255, 0.18), transparent 58%);
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 420ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.control-up.is-open::before {
  opacity: 1;
  transform: scale(1);
}

.control-up-panel {
  width: min(404px, calc(100vw - 24px));
  max-height: none;
  overflow: visible;
  padding: 14px;
  border-radius: 32px;
  background: var(--cc-panel-bg);
  backdrop-filter: blur(34px) saturate(160%);
  -webkit-backdrop-filter: blur(34px) saturate(160%);
  border: 1px solid var(--cc-panel-border);
  box-shadow:
    0 28px 70px rgba(18, 24, 34, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.74);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateZ(0);
}

.control-up-panel > * {
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 360ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.control-up.is-open .control-up-panel > * {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.control-up.is-open .control-up-panel > *:nth-child(1) {
  transition-delay: 0ms;
}

.control-up.is-open .control-up-panel > *:nth-child(2) {
  transition-delay: 38ms;
}

.control-up.is-open .control-up-panel > *:nth-child(3) {
  transition-delay: 72ms;
}

.control-up.is-open .control-up-panel > *:nth-child(4) {
  transition-delay: 104ms;
}

.control-up.is-open .control-up-panel > *:nth-child(5) {
  transition-delay: 132ms;
}

.cu-top-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.control-up-grid {
  display: contents;
}

.cu-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.86)),
    linear-gradient(180deg, var(--cu-card-top), var(--cu-card-bottom));
  border: 1px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  color: var(--ink);
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.82),
    0 10px 24px rgba(32, 52, 78, 0.06);
  overflow: hidden;
}

.cu-card:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 255, 0.9)),
    linear-gradient(180deg, var(--cu-card-hover-top), var(--cu-card-hover-bottom));
  border-color: rgba(255,255,255,0.82);
  box-shadow:
    0 16px 34px rgba(18, 24, 34, 0.09),
    inset 0 1px 0 rgba(255,255,255,0.86);
}

.cu-card.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.92)),
    linear-gradient(180deg, var(--cu-card-active-top), var(--cu-card-active-bottom));
  border-color: rgba(194, 214, 242, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.88),
    0 16px 36px rgba(68, 102, 152, 0.1);
}

.cu-card:active { transform: scale(0.96); }
.cu-card.is-disabled { opacity: 0.4; }
.cu-card-full { grid-column: 1 / -1; }

.cu-top-row > .cu-card,
.control-up-grid > .cu-card {
  align-items: center;
  justify-content: space-between;
  aspect-ratio: 1 / 1;
  gap: 10px;
  min-height: 112px;
  padding: 16px 12px 14px;
  text-align: center;
}

.cu-icon {
  width: 24px;
  height: 24px;
  stroke: rgba(17,17,17,0.86);
  flex-shrink: 0;
}

.cu-top-row > .cu-card .cu-icon,
.control-up-grid > .cu-card .cu-icon {
  width: 26px;
  height: 26px;
  padding: 10px;
  box-sizing: content-box;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(235,243,250,0.88));
  border: 1px solid rgba(17,17,17,0.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.78),
    0 8px 18px rgba(46, 66, 94, 0.08);
}

.cu-top-row > .cu-card .cu-icon {
  stroke: #33414e;
}

.cu-card-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(237,244,251,0.9));
  border: 1px solid rgba(17,17,17,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.cu-card.is-active .cu-icon,
.cu-theme-option.is-active .cu-theme-copy strong {
  color: var(--ink);
}

.cu-top-row > .cu-card .cu-card-symbol {
  width: 48px;
  height: 48px;
  border-radius: 18px;
}

.cu-label {
  font-size: 11px;
  font-weight: 650;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  line-height: 1;
}

/* Timer card */
.cu-timer-card { cursor: default; }
.cu-timer-card:hover { transform: none; }

.cu-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 12px;
}

.cu-timer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.cu-timer-copy {
  display: grid;
  gap: 2px;
}

.cu-timer-label {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
}

.cu-timer-copy small {
  font-size: 11px;
  color: var(--ink-soft);
}

.cu-timer-display {
  margin-left: auto;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  min-width: 72px;
  text-align: right;
}

.cu-timer-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
}

.cu-timer-pill {
  min-width: 48px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,0.06);
  background: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.cu-timer-pill:hover { background: rgba(255,255,255,0.92); border-color: rgba(17,17,17,0.12); transform: translateY(-1px); }
.cu-timer-pill.is-active { background: color-mix(in srgb, var(--accent) 12%, white); color: var(--accent); border-color: var(--accent-strong); }
.cu-timer-pill.is-done { background: rgba(232,244,236,0.92); color: #218b4b; border-color: rgba(48,209,88,0.18); }

/* Client card */
.cu-client-card {
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  cursor: default;
}

.cu-client-card:hover { transform: none; }

.cu-client-card-top {
  min-height: 0;
  aspect-ratio: 1 / 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 14px;
}

.cu-client-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  align-items: flex-start;
}

.cu-client-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}

.cu-client-count {
  font-size: clamp(34px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--ink);
  line-height: 1;
}

.cu-client-meta {
  margin: 0;
  font-size: 11px;
  line-height: 1.3;
  color: var(--ink-soft);
}

/* Teaching card */
.cu-teaching-card {
  min-height: 178px;
  gap: 10px;
  align-items: stretch;
  cursor: default;
}

.cu-teaching-card:hover { transform: none; }

.cu-teaching-card-wide {
  min-height: 178px;
}

.cu-teaching-eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.cu-teaching-source {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.cu-teaching-quote {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-soft);
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.cu-teaching-card-wide .cu-teaching-quote {
  -webkit-line-clamp: 7;
}

.cu-teaching-more { display: none; }

/* Notes panel */
.cu-notes-panel { width: 100%; }

.cu-notes-textarea {
  width: 100%;
  min-height: 90px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(17,17,17,0.08);
  background: rgba(255,255,255,0.78);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  resize: vertical;
  font-family: inherit;
  box-sizing: border-box;
}

.cu-notes-textarea::placeholder { color: var(--ink-faint); }
.cu-notes-textarea:focus { outline: none; border-color: var(--accent-strong); }

.cu-notes-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
}

.cu-theme-panel {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(214, 230, 255, 0.46), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,250,255,0.88));
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.82),
    0 12px 30px rgba(32, 52, 78, 0.06);
  margin-top: 0;
}

.cu-theme-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 2px;
}

.cu-theme-eyebrow,
.cu-theme-current {
  margin: 0;
}

.cu-theme-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.cu-theme-current {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.cu-theme-options {
  display: grid;
  gap: 12px;
}

.cu-theme-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.68),
    0 8px 16px rgba(32, 52, 78, 0.04);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cu-theme-option:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
}

.cu-theme-option.is-active {
  border-color: rgba(196, 214, 238, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.76),
    0 0 0 2px rgba(198, 216, 240, 0.92),
    0 14px 30px rgba(96, 129, 184, 0.08);
}

.cu-theme-swatch {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.48),
    0 10px 18px rgba(110, 132, 168, 0.08);
}

.cu-theme-option-sky .cu-theme-swatch {
  background: linear-gradient(135deg, #eef8ff, #d8efff);
}

.cu-theme-option-lavender .cu-theme-swatch {
  background: linear-gradient(135deg, #f4edff, #e7d7ff);
}

.cu-theme-option-pine .cu-theme-swatch {
  background: linear-gradient(135deg, #eef7f1, #d8eadf);
}

.cu-theme-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cu-theme-copy strong {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.cu-theme-copy small {
  font-size: 12px;
  line-height: 1.52;
  color: var(--ink-soft);
}

.cu-music-card {
  cursor: default;
  gap: 14px;
}

.cu-music-card:hover {
  transform: none;
}

.cu-music-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.cu-music-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cu-music-title {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}

.cu-music-subtitle {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.cu-music-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cu-music-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,0.08);
  background: rgba(255,255,255,0.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.cu-music-btn:hover {
  background: rgba(255,255,255,0.96);
  border-color: rgba(17,17,17,0.12);
  transform: translateY(-1px);
}

.cu-music-tracks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.cu-music-track {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,0.08);
  background: rgba(255,255,255,0.76);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.cu-music-track:hover {
  background: rgba(255,255,255,0.94);
  border-color: rgba(17,17,17,0.12);
  transform: translateY(-1px);
}

.cu-music-track.is-active {
  background: color-mix(in srgb, var(--accent) 12%, white);
  border-color: var(--accent-strong);
}

.cu-music-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}

.cu-music-eq {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 18px;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cu-music-card.is-playing .cu-music-eq {
  opacity: 1;
  transform: translateY(0);
}

.cu-music-eq span {
  width: 3px;
  border-radius: 999px;
  background: rgba(17,17,17,0.52);
  animation: cuEq 1s ease-in-out infinite;
}

.cu-music-eq span:nth-child(1) { height: 8px; animation-delay: 0s; }
.cu-music-eq span:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.cu-music-eq span:nth-child(3) { height: 10px; animation-delay: 0.3s; }
.cu-music-eq span:nth-child(4) { height: 16px; animation-delay: 0.45s; }
.cu-music-eq span:nth-child(5) { height: 9px; animation-delay: 0.6s; }

@keyframes cuEq {
  0%, 100% { transform: scaleY(0.55); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 430px) {
  .control-up-panel {
    width: min(100vw - 20px, 388px);
    max-height: none;
    padding: 12px;
    border-radius: 28px;
  }

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

  .cu-top-row > .cu-card,
  .control-up-grid > .cu-card {
    min-height: 98px;
    padding: 14px 10px 12px;
  }

  .cu-theme-panel {
    padding: 16px;
  }
}

@media (max-width: 760px) {
  .control-up {
    bottom: 64px;
    right: 14px;
  }

  .control-up-panel {
    width: min(420px, calc(100vw - 18px));
    max-height: none;
    border-radius: 30px;
  }

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

  .cu-top-row > .cu-card,
  .control-up-grid > .cu-card {
    min-height: 104px;
  }

  .cu-teaching-card,
  .cu-teaching-card-wide {
    min-height: auto;
  }

  .cu-teaching-quote {
    -webkit-line-clamp: 4;
  }
}

@media (max-height: 900px) {
  .control-up {
    --cc-scale: 0.93;
    bottom: 60px;
    right: 12px;
  }

  .control-up-panel {
    padding: 12px;
    gap: 10px;
    border-radius: 28px;
  }

  .cu-top-row {
    gap: 8px;
  }

  .cu-top-row > .cu-card,
  .control-up-grid > .cu-card {
    min-height: 96px;
    padding: 14px 10px 12px;
  }

  .cu-theme-panel {
    padding: 14px;
    gap: 12px;
  }

  .cu-theme-option {
    padding: 12px;
    gap: 12px;
  }

  .cu-theme-swatch {
    width: 46px;
    height: 46px;
  }

  .cu-lower-grid {
    gap: 10px;
  }

  .cu-teaching-quote {
    -webkit-line-clamp: 5;
  }
}

@media (max-height: 820px) {
  .control-up {
    --cc-scale: 0.88;
    bottom: 54px;
    right: 10px;
  }

  .control-up-panel {
    padding: 10px;
    gap: 8px;
    border-radius: 26px;
  }

  .cu-top-row > .cu-card,
  .control-up-grid > .cu-card {
    min-height: 88px;
    padding: 12px 8px 10px;
  }

  .cu-label {
    font-size: 10px;
  }

  .cu-theme-panel {
    padding: 12px;
    gap: 10px;
  }

  .cu-theme-option {
    padding: 10px 12px;
    gap: 10px;
  }

  .cu-theme-swatch {
    width: 42px;
    height: 42px;
    border-radius: 15px;
  }

  .cu-theme-copy strong {
    font-size: 14px;
  }

  .cu-theme-copy small {
    font-size: 11px;
  }

  .cu-client-count {
    font-size: 30px;
  }

  .cu-client-meta {
    font-size: 10px;
  }

  .cu-lower-grid {
    gap: 8px;
  }

  .cu-teaching-quote {
    -webkit-line-clamp: 4;
  }
}

/* Hide elements now living in CC */
.teaching-launcher { display: none !important; }
.notes-dock { display: none !important; }
.client-celebration-control { display: none !important; }

/* ── Bottom dock ──────────────────────────────────────────────────────────── */
.app-dock {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0;
}

.app-dock-toggle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(28,28,30,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.1);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.app-dock-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.12);
}

.app-dock-toggle:active {
  transform: scale(0.94);
}

.app-dock-handle-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.app-dock-handle-dots span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  transition: transform 260ms cubic-bezier(0.22,1,0.36,1);
}

.app-dock.is-open .app-dock-handle-dots span:nth-child(1) { transform: rotate(45deg) translate(2px, 2px); width: 12px; height: 2px; border-radius: 2px; }
.app-dock.is-open .app-dock-handle-dots span:nth-child(2) { transform: scaleX(0); opacity: 0; }
.app-dock.is-open .app-dock-handle-dots span:nth-child(3) { transform: rotate(-45deg) translate(2px, -2px); width: 12px; height: 2px; border-radius: 2px; }

.app-dock-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(28,28,30,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.08);
  margin-right: 10px;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    max-width 380ms cubic-bezier(0.22,1,0.36,1),
    opacity 260ms ease,
    padding 320ms cubic-bezier(0.22,1,0.36,1);
}

.app-dock.is-open .app-dock-inner {
  max-width: 600px;
  opacity: 1;
  pointer-events: auto;
}

.app-dock-tray {
  display: flex;
  align-items: center;
  gap: 4px;
}

.app-dock-item {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: transparent;
  flex-shrink: 0;
  transition: transform 200ms cubic-bezier(0.22,1,0.36,1);
  animation: dockItemIn 320ms cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: var(--dock-delay, 0ms);
}

.app-dock-item:hover {
  transform: translateY(-6px) scale(1.18);
}

.app-dock-item:hover .app-dock-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.app-dock-item:active {
  transform: scale(0.9);
}

.app-dock-item[draggable="true"] {
  cursor: grab;
}

.app-dock-item[draggable="true"]:active {
  cursor: grabbing;
}

.app-dock-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  pointer-events: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.app-dock-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(0px);
  white-space: nowrap;
  background: rgba(28,28,30,0.96);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 5px 10px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.app-dock-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
  margin: 0 4px;
}

.app-dock-quick-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  height: 36px;
  border-radius: 10px;
  border: 0;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
  flex-shrink: 0;
}

.app-dock-quick-btn:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.app-dock-quick-btn svg {
  flex-shrink: 0;
}

.app-dock-item.drag-over {
  transform: translateY(-8px) scale(1.12);
  opacity: 0.6;
}

@keyframes dockItemIn {
  from { opacity: 0; transform: translateY(12px) scale(0.8); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Image card grid ─────────────────────────────────────────────────────── */
.img-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.img-card {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: #1a1a1a;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(15, 16, 22, 0.07);
  transform: translateY(0) scale(1);
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  transition:
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.img-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 16, 22, 0.1);
}

.img-card:hover .img-card-figure img {
  transform: scale(1.008);
}

.img-card:hover .img-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.62), rgba(0,0,0,0.08));
}

.img-card:active {
  transform: translateY(0);
  transition-duration: 160ms;
}

.img-card-figure {
  position: absolute;
  inset: 0;
  margin: 0;
}

.img-card-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  will-change: transform;
  transition: transform 720ms cubic-bezier(0.16, 1, 0.3, 1), filter 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.img-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.06));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  transition: background 460ms cubic-bezier(0.16, 1, 0.3, 1), opacity 460ms cubic-bezier(0.16, 1, 0.3, 1);
}

.img-card-sub {
  margin: 0 0 4px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

.img-card-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  transition: opacity 320ms ease;
}

.img-card:hover .img-card-title {
  opacity: 0.98;
}

@media (max-width: 860px) {
  .img-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── App grid ─────────────────────────────────────────────────────────────── */
.app-grid-section {
  display: none;
}

/* ── Apps dock (floating, Mac-dock style) ────────────────────────────────── */
.apps-dock-trigger {
  position: fixed;
  bottom: 20px;
  right: 70px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 80;
  color: var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.apps-dock-trigger svg {
  width: 18px;
  height: 18px;
}
.apps-dock-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(0,0,0,0.16);
}

.apps-dock {
  position: fixed;
  bottom: 70px;
  right: 20px;
  background: rgba(248,248,250,0.92);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 22px;
  padding: 14px 18px 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom right;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 79;
}
.apps-dock.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.apps-dock-inner {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: nowrap;
}

.apps-dock-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 82px;
  flex: 0 0 82px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.apps-dock-icon-btn:hover {
  transform: translateY(-3px);
}
.apps-dock-icon-btn:active {
  transform: translateY(-1px) scale(0.985);
}

.apps-dock-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.2);
  flex-shrink: 0;
  transition: box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.apps-dock-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.apps-dock-icon-btn:hover .apps-dock-icon {
  box-shadow: 0 10px 22px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.22);
}

.apps-dock-letter {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.apps-dock-label {
  font-size: 10px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.25;
  max-width: 82px;
  min-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 180ms ease;
}

.apps-dock-icon-btn:hover .apps-dock-label {
  color: var(--ink);
}

/* dock separator line */
.apps-dock::after {
  content: '';
  display: block;
  height: 1px;
  background: rgba(0,0,0,0.07);
  margin: 10px -4px 0;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 20px 12px;
}

.app-icon-btn {
  display: grid;
  justify-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.app-icon-btn:hover .app-icon {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}

.app-icon-btn:active .app-icon {
  transform: scale(0.94);
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.14), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 200ms cubic-bezier(0.22,1,0.36,1), box-shadow 200ms ease;
}

.app-icon-letter {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.app-icon-label {
  font-size: 11px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── App overlay ──────────────────────────────────────────────────────────── */
.app-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  pointer-events: none;
  opacity: 0;
  --origin-x: 50vw;
  --origin-y: 50vh;
  transition: opacity 280ms ease;
}

.app-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.app-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 22, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.app-overlay-shell {
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  background: #111;
  display: grid;
  grid-template-rows: 52px 1fr;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.5);
  transform: scale(0.88) translateY(24px);
  transform-origin: var(--origin-x) var(--origin-y);
  transition: transform 340ms cubic-bezier(0.22,1,0.36,1);
}

.app-overlay.is-open .app-overlay-shell {
  transform: scale(1) translateY(0);
}

.app-overlay-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: rgba(28,28,30,0.96);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  gap: 12px;
}

.app-overlay-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-overlay-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.app-overlay-appname {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
}

.app-overlay-actions {
  display: flex;
  gap: 8px;
}

.app-overlay-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
  text-decoration: none;
}

.app-overlay-btn:hover {
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.9);
}

.app-overlay-frame-wrap {
  position: relative;
  overflow: hidden;
}

.app-overlay-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

.app-overlay-blocked {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  place-items: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
  color: rgba(255,255,255,0.8);
  background: #111;
}

.app-overlay-blocked h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: #fff;
}

.app-overlay-blocked p {
  margin: 0;
  color: rgba(255,255,255,0.5);
}

html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

.celebration-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 22, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.celebration-dialog {
  position: relative;
  width: min(720px, calc(100vw - 32px));
  padding: 38px 36px 30px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(242, 246, 252, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 44px 120px rgba(72, 92, 125, 0.34);
  transform: translateY(18px) scale(0.96);
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.celebration-modal.is-open .celebration-dialog {
  transform: translateY(0) scale(1);
}

.celebration-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(32, 45, 66, 0.06);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.celebration-title {
  margin: 12px 0 10px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-weight: 700;
  color: #101113;
}

.celebration-count-line {
  margin: 0;
  color: #4e545b;
  font-size: 16px;
  line-height: 1.5;
}

.celebration-count-line span {
  font-weight: 700;
  color: #101113;
}

.celebration-quote {
  margin: 22px 0 0;
  max-width: 32ch;
  color: #101113;
  font-size: 17px;
  line-height: 1.38;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.celebration-helper {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.celebration-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.teaching-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 18, 25, 0.42);
  backdrop-filter: blur(10px);
}

.teaching-dialog {
  position: relative;
  width: min(680px, calc(100vw - 32px));
  padding: 34px 34px 28px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(244, 248, 253, 0.56));
  border: 1px solid rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(30px) saturate(170%);
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 38px 100px rgba(97, 115, 142, 0.26);
}

.teaching-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(32, 45, 66, 0.06);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.teaching-title {
  margin: 12px 0 14px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.teaching-body {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.8;
  max-width: 34ch;
}

.teaching-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.teaching-secondary {
  background: rgba(32, 45, 66, 0.06);
  color: var(--ink);
}

@media (max-width: 1080px) {
  .site-header-inner,
  .page-shell {
    padding-left: 24px;
  }

  .site-header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
  }

  .shell-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

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

  .header-search-field {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-stage,
  .main-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout,
  .category-intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-rail,
  .workspace-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
  }

  .workspace-panel {
    position: static;
  }

  .notes-dock {
    left: 14px;
    top: auto;
    bottom: 112px;
    width: min(300px, calc(100vw - 28px));
  }

  .category-intro {
    width: calc(100% - 28px);
    margin: -84px 0 0 14px;
  }

  .category-featured {
    grid-template-columns: 1fr;
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .conversation-hub-grid,
  .conversation-form-grid,
  .conversation-checklist-grid {
    grid-template-columns: 1fr;
  }

  .kartlegging-timeline,
  .kartlegging-checklist-grid {
    grid-template-columns: 1fr;
  }

  .site-header-inner {
    justify-items: start;
  }

  .site-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .analytics-grid,
  .control-center-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Kunderise ───────────────────────────────────────────────────────────── */
.kr-view { display: grid; gap: 32px; }

.kr-view-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.kr-view-head h2 {
  margin: 6px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.kr-head-actions { display: flex; gap: 10px; align-items: center; }

.kr-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}
.kr-empty-icon { font-size: 48px; margin: 0 0 12px; }
.kr-empty h3 { margin: 0 0 8px; font-size: 22px; font-weight: 600; color: var(--ink); }
.kr-empty p  { margin: 0; font-size: 15px; }
.kr-empty-small { color: var(--ink-soft); font-size: 14px; padding: 12px 0; }

.kr-section { display: grid; gap: 14px; }

.kr-client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.kr-client-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.kr-client-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.09);
}

.kr-client-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.kr-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.kr-avatar-lg {
  width: 56px;
  height: 56px;
  font-size: 24px;
}
.kr-client-info { flex: 1; min-width: 0; }
.kr-client-name { margin: 0; font-size: 15px; font-weight: 600; }
.kr-client-pkg  { margin: 2px 0 0; font-size: 12px; color: var(--ink-soft); }
.kr-status-dot  { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.kr-progress-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-soft); }
.kr-progress-bar { flex: 1; height: 4px; background: rgba(0,0,0,0.08); border-radius: 4px; overflow: hidden; }
.kr-progress-fill { height: 100%; background: var(--accent); border-radius: 4px; transition: width 400ms ease; }

.kr-client-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-soft);
}

.kr-green { color: #30d158 !important; }
.kr-red   { color: #ff453a !important; }
.kr-soft  { color: var(--ink-soft); font-size: 13px; margin: 2px 0 0; }

/* ── Modal ── */
.kr-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.kr-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
}
.kr-modal-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  width: min(520px, 100%);
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.kr-modal-card h3 { margin: 0 0 6px; font-size: 22px; font-weight: 600; }
.kr-modal-sub { font-size: 14px; color: var(--ink-soft); margin: 0 0 4px; }
.kr-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }

/* ── Detail header ── */
.kr-detail-header { display: grid; gap: 16px; }
.kr-back {
  background: none;
  border: 0;
  font-size: 14px;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  width: fit-content;
}
.kr-back:hover { text-decoration: underline; }
.kr-identity { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.kr-detail-name { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.kr-identity > div:nth-child(2) { flex: 1; }
.kr-detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.kr-status-sel {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  font-size: 13px;
  background: #f5f5f7;
  cursor: pointer;
}

/* ── Tabs ── */
.kr-tabs {
  display: flex;
  gap: 4px;
  background: #f2f2f7;
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
}
.kr-tab {
  padding: 7px 16px;
  border-radius: 9px;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.kr-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.kr-tab-content { display: grid; gap: 24px; }

/* ── Overview ── */
.kr-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.kr-stat-card {
  background: #f5f5f7;
  border-radius: 18px;
  padding: 18px 20px;
}
.kr-stat-big {
  margin: 6px 0 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.kr-stat-sub { margin: 6px 0 0; font-size: 13px; color: var(--ink-soft); }
.kr-inline-card {
  background: #f5f5f7;
  border-radius: 18px;
  padding: 18px 20px;
}
.kr-notes-section { display: grid; gap: 8px; }
.kr-notes-area {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
  box-sizing: border-box;
}

.kr-kartlegging {
  display: grid;
  gap: 20px;
}

.kr-kartlegging-head {
  padding: 0;
}

.kr-kartlegging-head > div {
  justify-items: start;
  text-align: left;
  margin: 0;
}

.kr-kartlegging-grid {
  align-items: start;
}

.kr-time-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

/* ── Add form ── */
.kr-add-form { display: grid; gap: 10px; }
.kr-inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.kr-inline-form input, .kr-inline-form select {
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}
.kr-check-label { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.kr-ntfy-hint { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* ── List rows ── */
.kr-list { display: grid; gap: 8px; margin-top: 4px; }
.kr-list-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.kr-meeting-row, .kr-payment-row, .kr-reminder-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  padding: 12px 16px;
}
.kr-meeting-info, .kr-pay-info, .kr-reminder-info { flex: 1; min-width: 0; }
.kr-meeting-date, .kr-meeting-status { margin: 0; font-size: 14px; }
.kr-meeting-status { color: var(--ink-soft); font-size: 12px; }
.kr-meeting-btns { display: flex; gap: 6px; }
.kr-del-btn { color: #ff453a !important; }

/* ── Payments ── */
.kr-pay-summary {
  display: flex;
  gap: 20px;
  background: #f5f5f7;
  border-radius: 18px;
  padding: 18px 24px;
}
.kr-pay-stat { flex: 1; }
.kr-pay-info { flex: 1; }
.kr-pay-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.kr-pay-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.kr-pay-amount { font-size: 16px; font-weight: 600; margin: 0; }

/* ── Email ── */
.kr-email-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.kr-email-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kr-email-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kr-email-name { margin: 0; font-size: 15px; font-weight: 600; }
.kr-email-subj { margin: 0; font-size: 13px; color: var(--ink-soft); }
.kr-sent-badge {
  font-size: 11px;
  background: #e8f8ed;
  color: #1a7f37;
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

.kr-summary-card {
  display: grid;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 18px;
  padding: 18px;
}

.kr-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.kr-summary-text {
  margin: 0;
  line-height: 1.7;
  color: var(--ink);
  white-space: pre-wrap;
}

.kr-documents {
  display: grid;
  gap: 20px;
}

.kr-privacy-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.kr-document-list {
  display: grid;
  gap: 12px;
}

.kr-local-backup-card {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(245, 247, 250, 0.88);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.kr-local-backup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kr-settings-backup {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(17,17,17,0.08);
  display: grid;
  gap: 8px;
}

.kr-settings-danger .kr-del-btn {
  border-color: rgba(255, 69, 58, 0.18);
  background: rgba(255, 69, 58, 0.06);
}

.home-timeline-section {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}

.home-timeline-section-secondary {
  margin-top: 24px;
}

.home-timeline-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.home-timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-timeline-grid-secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline-event-card {
  display: grid;
  gap: 10px;
  text-align: left;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(17,17,17,0.08);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 12px 30px rgba(15,23,42,0.06);
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(15,23,42,0.08);
  border-color: rgba(17,17,17,0.12);
}

.timeline-event-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.timeline-event-kind {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-event-kind-upcoming {
  background: var(--accent-soft);
  color: var(--accent);
}

.timeline-event-kind-previous {
  background: rgba(17,17,17,0.06);
  color: rgba(17,17,17,0.62);
}

.timeline-event-date {
  font-size: 13px;
  color: var(--ink-soft);
}

.timeline-event-title {
  margin: 0;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.1;
  color: var(--ink);
}

.timeline-event-meta {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.kr-document-card {
  gap: 12px;
}

@media (max-width: 1100px) {
  .home-timeline-grid,
  .home-timeline-grid-secondary {
    grid-template-columns: 1fr;
  }

  .launch-vault-grid,
  .launch-vault-theme-grid,
  .launch-vault-mobile-grid {
    grid-template-columns: 1fr;
  }
}

.kr-document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--ink-soft);
}

.kr-document-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kr-document-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f5f5f7;
  color: var(--ink-soft);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kartlegging-question-groups {
  display: grid;
  gap: 14px;
}

.kartlegging-question-group {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
}

.kartlegging-question-head {
  display: grid;
  gap: 4px;
}

.kartlegging-question-head h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.kartlegging-question-head p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.kartlegging-question-list {
  margin: 0;
  display: grid;
  gap: 14px;
  color: var(--ink);
}

.kartlegging-question-item {
  display: grid;
  gap: 8px;
}

.kartlegging-question-text {
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.kartlegging-question-text::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink);
}

.kartlegging-question-textarea {
  min-height: 92px;
}

.life-wheel-card {
  display: grid;
  gap: 18px;
}

.life-wheel-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.life-wheel-stage {
  display: grid;
  place-items: center;
  min-height: 100%;
}

.life-wheel-visual {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 6px 0 2px;
}

.life-wheel-svg {
  display: block;
  width: 100%;
  height: auto;
}

.life-wheel-label {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: rgba(17,17,17,0.78);
  font-weight: 600;
}

.life-wheel-score {
  font-size: 11px;
  fill: rgba(17,17,17,0.52);
}

.life-wheel-config {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.life-wheel-toolbar {
  display: grid;
  gap: 10px;
}

.life-wheel-count-field {
  max-width: 180px;
}

.life-wheel-helper {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 760px;
}

.life-wheel-segment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.life-wheel-segment {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.07);
  background: rgba(255,255,255,0.76);
}

.life-wheel-segment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.life-wheel-segment-number {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(199, 158, 74, 0.16);
  color: #8e6c1e;
  font-size: 12px;
  font-weight: 700;
}

.life-wheel-segment-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}

.life-wheel-segment .search-field span {
  margin-bottom: 4px;
}

.life-wheel-segment .search-field input[type="text"] {
  padding: 10px 12px;
}

.life-wheel-range-field input[type="range"] {
  width: min(100%, 200px);
  accent-color: #c79e4a;
  display: block;
}

.kr-recording-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: end;
}

.kr-recording-check {
  min-height: 44px;
}

.kr-recording-texts {
  display: grid;
  gap: 10px;
}

/* ── Reminders ── */
.kr-reminder-row { align-items: flex-start; }
.kr-reminder-row.kr-done { opacity: 0.5; }
.kr-reminder-info { flex: 1; }
.kr-check-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.2);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 150ms ease, border-color 150ms ease;
}
.kr-check-btn.is-checked {
  background: #30d158;
  border-color: #30d158;
  color: #fff;
}

/* ── Filter chips — permanently hidden on all views ─────────────────────── */
.filter-band,
.filter-row,
.filter-row-static,
.filter-row-top,
.stats-grid,
.header-filter-row {
  display: none !important;
}

@media (max-width: 980px) {
  .life-wheel-count-field {
    max-width: none;
  }

  .life-wheel-segment-list {
    grid-template-columns: 1fr;
  }

  .life-wheel-visual {
    width: min(100%, 560px);
  }

  .kr-recording-grid {
    display: grid;
  }
}

/* ── Nav mega-menu ───────────────────────────────────────────────────────── */
.nav-mega-panel {
  position: fixed;
  top: var(--nav-mega-top, 52px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.09);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  z-index: 29;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
  padding: 30px 0 36px;
}

.nav-mega-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-mega-inner {
  display: flex;
  gap: 60px;
  padding-left: clamp(76px, 6vw, 108px);
}

.nav-mega-content {
  display: contents;
}

.nav-mega-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 190px;
}

.nav-mega-head {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #6e6e73;
  text-transform: uppercase;
}

.nav-mega-col a {
  font-size: 17px;
  font-weight: 400;
  color: #1d1d1f;
  text-decoration: none;
  line-height: 1;
  padding: 7px 0;
  letter-spacing: -0.01em;
  transition: color 120ms ease;
}

.nav-mega-col a:hover {
  color: var(--accent);
}

/* ── Site footer ─────────────────────────────────────────────────────────── */
.site-footer {
  background: #f5f5f7;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 80px;
  padding: 48px 0 0;
}

.site-footer-inner {
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
  padding-left: 0;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, max-content);
  justify-content: center;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  text-align: center;
}

.site-footer-head {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: 0;
}

.site-footer-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

.site-footer-col a {
  font-size: 13px;
  color: #6e6e73;
  text-decoration: none;
  padding: 3px 0;
  line-height: 1.4;
  transition: color 120ms ease;
}

.site-footer-col a:hover {
  color: #1d1d1f;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 22px;
}

.site-footer-copy {
  margin: 0;
  font-size: 12px;
  color: #6e6e73;
}

.site-footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #6e6e73;
}

.site-footer-legal a {
  color: #6e6e73;
  text-decoration: none;
  transition: color 120ms ease;
}

.site-footer-legal a:hover {
  color: #1d1d1f;
}

@media (max-width: 860px) {
  .site-header-inner,
  .page-shell {
    width: min(100vw - 24px, 1520px);
    padding-left: 0;
  }

  .shell-nav {
    display: none;
  }

  .hero-surface,
  .workspace-card,
  .category-card,
  .search-empty {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-surface h1,
  .category-header h3,
  .search-empty h3 {
    max-width: none;
  }

  .search-field-top {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px;
  }

  .section-switcher {
    padding: 12px 0 0;
  }

  .home-card {
    grid-template-columns: 1fr;
  }

  .conversation-hub-head {
    align-items: start;
    flex-direction: column;
  }

  .hero-caption {
    padding: 18px 18px 0;
  }

  .category-image {
    min-height: 400px;
  }

  .category-intro {
    width: 100%;
    margin: 16px 0 0;
  }

  .teaching-launcher {
    right: 14px;
    left: 14px;
    bottom: 14px;
    min-width: 0;
  }

  .notes-dock {
    left: 14px;
    right: 14px;
    width: auto;
    bottom: 94px;
  }

  .notes-panel {
    padding: 18px;
  }

  .notes-field {
    min-height: 180px;
  }

  .notes-archive-list {
    max-height: 220px;
  }

  .teaching-dialog {
    padding: 28px 22px 22px;
  }

  .hero-rail,
  .strategy-grid,
  .action-grid,
  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .control-center-dialog {
    top: 72px;
    right: 14px;
    left: 14px;
    width: auto;
  }

  .site-header-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-mark {
    align-items: flex-start;
  }

  .client-counter {
    min-width: 0;
  }

  .custom-asset,
  .item-header,
  .item-footer,
  .subcategory-toggle,
  .analytics-row {
    flex-direction: column;
  }

  .item-actions {
    width: 100%;
  }

  .celebration-dialog {
    padding: 28px 22px 22px;
  }
}
