/* ============================================================
   ORDA — app views part 2: map, meetings, knowledge, case lab,
   ideas, projects, impact, personal dashboard, analytics, admin
   ============================================================ */

/* ------------------------------------------------------------- expertise map */

.map-hero {
  position: relative;
  padding: 26px 26px 18px;
  border-radius: 22px;
  background:
    radial-gradient(700px 320px at 85% -20%, rgba(201, 162, 39, 0.15), transparent 60%),
    linear-gradient(155deg, #173b32 0%, #0e231e 100%);
  color: #f2ecdd;
  overflow: hidden;
  box-shadow: 0 26px 60px -42px rgba(15, 38, 32, 0.8);
}
.map-hero__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.map-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c7b98f;
}
.map-hero__title {
  margin-top: 8px;
  max-width: 30ch;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #fbf7ec;
}
.map-hero__stats {
  display: flex;
  gap: 18px;
  font-size: 11px;
  color: #adbbb0;
  padding-top: 4px;
}
.map-hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 650;
  color: #f7f1e2;
  line-height: 1.1;
}
.map-canvas {
  margin-top: 12px;
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.03);
  border: 1px solid rgba(242, 236, 221, 0.1);
  overflow: hidden;
}
.map-svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
}
.map-orbit {
  fill: none;
  stroke: rgba(242, 236, 221, 0.13);
  stroke-width: 1;
  stroke-dasharray: 3 6;
}
.map-orbit--faint {
  stroke: rgba(242, 236, 221, 0.06);
}
.map-node {
  cursor: pointer;
}
.map-node__link {
  stroke: rgba(242, 236, 221, 0.16);
  stroke-width: 1;
  stroke-dasharray: 2 5;
}
.map-node__halo {
  fill: rgba(242, 236, 221, 0.04);
  transition: fill 0.2s ease;
}
.map-node__circle {
  fill: rgba(255, 253, 248, 0.06);
  stroke: var(--node, #7fa99c);
  stroke-width: 1.2;
  transition: fill 0.2s ease, stroke-width 0.2s ease;
}
.map-node:hover .map-node__circle,
.map-node.is-selected .map-node__circle {
  fill: rgba(255, 253, 248, 0.12);
  stroke-width: 2;
}
.map-node:hover .map-node__halo,
.map-node.is-selected .map-node__halo {
  fill: rgba(201, 162, 39, 0.12);
}
.map-node__title {
  fill: #f5efe0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 650;
  text-anchor: middle;
  pointer-events: none;
}
.map-node__sub {
  fill: #b3c1b6;
  font-family: var(--font);
  font-size: 9.5px;
  text-anchor: middle;
  pointer-events: none;
}
.map-node__count {
  fill: #cbbf9e;
  font-family: var(--font);
  font-size: 8.5px;
  text-anchor: middle;
  pointer-events: none;
}
.map-node--teal { --node: #6fb3b9; }
.map-node--clay { --node: #d79a7f; }
.map-node--olive { --node: #a9bd7d; }
.map-node--amber { --node: #dbbe7a; }
.map-node--violet { --node: #b79ac0; }
.map-center__ring {
  fill: none;
  stroke: rgba(201, 162, 39, 0.55);
  stroke-width: 1.4;
}
.map-center__core {
  fill: #f5efe0;
}
.map-center__title {
  fill: #173b32;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-anchor: middle;
  letter-spacing: 0.09em;
}
.map-center__sub {
  fill: #5c7568;
  font-family: var(--font);
  font-size: 8.5px;
  text-anchor: middle;
}
.map-hero__hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 10.5px;
  color: #9fb0a3;
}

.map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 14px;
  flex-wrap: wrap;
}
.map-search {
  max-width: 420px;
  z-index: 5;
}
.map-search__results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 5px;
  max-height: 320px;
  overflow-y: auto;
}
.map-search__item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 9px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
  text-align: left;
}
.map-search__item:hover {
  background: var(--surface-2);
}
.map-search__count {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--faint);
}
.map-search__empty {
  padding: 12px;
  font-size: 12px;
  color: var(--muted);
}
.map-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 10.5px;
  color: var(--muted);
}
.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.legend-dot--teal { background: #4f9096; }
.legend-dot--clay { background: #b25a3c; }
.legend-dot--olive { background: #7d8f4b; }
.legend-dot--amber { background: #b58a34; }
.legend-dot--violet { background: #806183; }

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 18px;
  align-items: start;
}
.map-clusters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 0;
}
.cluster-card {
  --accent: #2f6570;
  position: relative;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.cluster-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0.75;
}
.cluster-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm);
}
.cluster-card--teal { --accent: #3f7f86; }
.cluster-card--clay { --accent: #b25a3c; }
.cluster-card--olive { --accent: #75873f; }
.cluster-card--amber { --accent: #b58a34; }
.cluster-card--violet { --accent: #7c5e80; }
.cluster-card__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.cluster-card__icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, #fffdf8);
  color: var(--accent);
}
.cluster-card__ident {
  flex: 1;
  min-width: 0;
}
.cluster-card__ident h3 {
  font-size: 14px;
  letter-spacing: -0.01em;
}
.cluster-card__ident p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}
.cluster-card__count {
  font-size: 9.5px;
  color: var(--faint);
  white-space: nowrap;
}
.cluster-card__members {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 10px 0;
}
.cluster-member {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border-radius: 8px;
  text-align: left;
}
.cluster-member:hover {
  background: var(--surface-2);
}
.cluster-member__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cluster-member__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.cluster-member__role {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cluster-member > .icon {
  color: var(--faint);
}
.cluster-card__expertise {
  gap: 5px;
}
.cluster-card__expertise .tag {
  font-size: 10.5px;
  padding: 3px 8px;
}
.cluster-card__open {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 11px;
  font-size: 10.5px;
  font-weight: 650;
  color: var(--accent);
}
.map-inspector {
  position: sticky;
  top: 84px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  min-height: 280px;
}
.map-inspector__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}
.map-inspector__back:hover {
  color: var(--brand);
}
.map-inspector__eyebrow {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
}
.map-inspector__title {
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 6px;
}
.map-inspector__sub {
  margin-top: 6px;
  font-size: 12.2px;
  color: var(--muted);
  line-height: 1.55;
}
.map-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted);
}
.map-stat-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.map-inspector__label {
  margin: 14px 0 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.map-top-expertise {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.map-top-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 7px;
  border-radius: 7px;
  text-align: left;
}
.map-top-row:hover {
  background: var(--surface-2);
}
.map-top-row__name {
  font-size: 12px;
  color: var(--ink-2);
  min-width: 96px;
}
.map-top-row__bar {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}
.map-top-row__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  opacity: 0.55;
}
.map-top-row__count {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  width: 16px;
  text-align: right;
}
.map-members {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 10px;
}
.map-member {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-radius: 9px;
  border: 1px solid transparent;
}
.map-member:hover {
  background: var(--surface-2);
  border-color: var(--line);
}
.map-member__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.map-member__name {
  font-size: 12.5px;
  font-weight: 650;
}
.map-member__role {
  font-size: 10.5px;
  color: var(--muted);
}
.map-member__teach {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--gold-strong);
  margin-top: 1px;
}
.map-member > .icon {
  color: var(--faint);
}
.map-inspector__foot {
  margin-top: 12px;
}
.map-inspector__expertise {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------- meetings */

.meetings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.meetings-formats {
  display: flex;
  gap: 6px;
}
.meetings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.meeting-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  overflow: hidden;
}
.meeting-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 18px 8px;
  background: linear-gradient(170deg, #f8f4ea, #f1ebdc);
  border-right: 1px solid var(--line);
  text-align: center;
}
.meeting-date__day {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 650;
  line-height: 1;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.meeting-date__month {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin-top: 2px;
}
.meeting-date__time {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line-strong);
  width: 34px;
}
.meeting-card__body {
  padding: 17px 20px;
  min-width: 0;
}
.meeting-card__badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ok);
}
.status-dot::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-dot--past {
  color: var(--faint);
}
.meeting-card__format,
.meeting-card__countdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: var(--muted);
}
.meeting-card__countdown {
  margin-left: auto;
  color: var(--gold-strong);
  font-weight: 600;
}
.meeting-card__title {
  margin-top: 6px;
  font-size: 17.5px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.meeting-card__title a:hover {
  color: var(--brand);
}
.meeting-card__desc {
  margin-top: 5px;
  font-size: 12.6px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 78ch;
}
.meeting-card__speaker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.meeting-card__speaker-name {
  font-size: 12px;
  font-weight: 600;
}
.meeting-card__speaker-role {
  font-size: 10.5px;
  color: var(--muted);
}
.meeting-card__topics {
  margin-top: 8px;
}
.meeting-card__topics .ghost-tag {
  font-size: 10px;
  padding: 2px 7px;
}
.meeting-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.meeting-card__attendees {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.meeting-card__location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: var(--faint);
}
.meeting-card__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.meetings-note {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  flex-wrap: wrap;
}
.meetings-note__icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-tint);
  color: var(--brand);
}
.meetings-note > div {
  flex: 1;
  min-width: 220px;
}
.meetings-note h3 {
  font-size: 14px;
}
.meetings-note p {
  margin-top: 2px;
}

/* meeting detail */

.meeting-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 24px;
  padding: 26px;
  border-radius: 22px;
  background:
    radial-gradient(600px 300px at 90% -20%, rgba(201, 162, 39, 0.18), transparent 60%),
    linear-gradient(152deg, #173b32, #0f2620);
  color: #f2ecdd;
  margin-top: 4px;
  box-shadow: 0 26px 60px -42px rgba(15, 38, 32, 0.8);
}
.meeting-hero__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.meeting-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(173, 211, 180, 0.14);
  border: 1px solid rgba(173, 211, 180, 0.24);
  color: #bfe0c7;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.meeting-hero__status.is-past {
  background: rgba(242, 236, 221, 0.08);
  border-color: rgba(242, 236, 221, 0.16);
  color: #b9c4bb;
}
.meeting-hero__format {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: #b7c5ba;
}
.meeting-hero__title {
  margin-top: 10px;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  color: #fbf7ec;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.meeting-hero__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 11.5px;
  color: #b7c5ba;
}
.meeting-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.meeting-hero__meta .icon {
  color: #b7a577;
}
.meeting-hero__speaker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(242, 236, 221, 0.14);
  flex-wrap: wrap;
}
.meeting-hero__label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9fb0a3;
}
.meeting-hero__speaker-name {
  font-size: 13.5px;
  font-weight: 650;
  color: #f7f2e6;
}
.meeting-hero__speaker:hover .meeting-hero__speaker-name {
  color: #e7d3a2;
}
.meeting-hero__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.meeting-hero__aside {
  padding-left: 20px;
  border-left: 1px solid rgba(242, 236, 221, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.meeting-hero__date-card {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  background: rgba(242, 236, 221, 0.07);
  border: 1px solid rgba(242, 236, 221, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.meeting-hero__day {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 650;
  line-height: 1;
  color: #fbf7ec;
}
.meeting-hero__month {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d3c294;
}
.meeting-hero__weekday {
  font-size: 10px;
  color: #a9b8ab;
  margin-top: 4px;
}
.meeting-hero__time {
  font-size: 12px;
  font-weight: 650;
  color: #f2ecdd;
  margin-top: 2px;
}
.meeting-hero__countdown {
  font-size: 10.5px;
  font-weight: 600;
  color: #d8c9a1;
}
.meeting-hero__progress {
  width: 100%;
}
.meeting-hero__progress .progress {
  background: rgba(242, 236, 221, 0.16);
}
.meeting-hero__progress .tiny {
  color: #a9b8ab;
  margin-top: 4px;
}
.meeting-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  margin-top: 20px;
  align-items: start;
}
.meeting-detail-main,
.meeting-detail-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.meeting-detail-side {
  position: sticky;
  top: 84px;
}
.detail-card {
  padding: 20px;
}
.detail-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.detail-card__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}
.detail-card__head .detail-card__title {
  margin-bottom: 0;
}
.detail-card__title .icon {
  color: var(--gold-strong);
}
.detail-card__text {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.detail-card--cream {
  background: linear-gradient(160deg, #fbf7ed, #f5eedd);
  border-color: #e8ddc5;
}
.detail-card--dark {
  background: linear-gradient(155deg, #173b32, #102720);
  border-color: transparent;
  color: #f2ecdd;
}
.detail-card--dark .detail-card__title {
  color: #fbf7ec;
}
.detail-card--dark .small {
  color: #c4cfc6;
}
.attendees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.attendee {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border-radius: 9px;
  border: 1px solid transparent;
  text-align: left;
}
.attendee:hover {
  background: var(--surface-2);
  border-color: var(--line);
}
.attendee__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.attendee__name {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.attendee__role {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.attendee--join {
  border: 1px dashed var(--line-strong);
  background: var(--surface-2);
}
.attendee__plus {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-tint);
  color: var(--brand);
}
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.resource {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  text-align: left;
}
.resource:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}
.resource__icon {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--brand);
}
.resource__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.resource__title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.resource__meta {
  font-size: 10.5px;
  color: var(--muted);
}
.resource > .icon {
  color: var(--faint);
}
.location-art {
  position: relative;
  height: 120px;
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 60% 40%, rgba(22, 58, 50, 0.08), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 19px, rgba(22, 58, 50, 0.05) 19px 20px),
    repeating-linear-gradient(90deg, transparent 0 19px, rgba(22, 58, 50, 0.05) 19px 20px),
    #faf7ef;
  display: grid;
  place-items: center;
}
.location-art__pin {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #f6efdd;
  box-shadow: 0 0 0 8px rgba(22, 58, 50, 0.09);
}
.location-art__label {
  position: absolute;
  left: 10px;
  bottom: 8px;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(255, 253, 248, 0.88);
  font-size: 9.5px;
  color: var(--muted);
}
.speaker-box {
  display: flex;
  align-items: center;
  gap: 11px;
}
.speaker-box a {
  font-size: 13px;
}

/* --------------------------------------------------------------- knowledge */

.knowledge-featured {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 22px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.knowledge-featured:hover {
  border-color: #cfc5b1;
  box-shadow: var(--shadow-md);
}
.knowledge-featured__art {
  position: relative;
  padding: 20px;
  background:
    radial-gradient(300px 200px at 10% 0%, rgba(201, 162, 39, 0.2), transparent 70%),
    linear-gradient(155deg, #1a4238, #102a23);
  color: #e9dfc7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.knowledge-featured__art-icon {
  opacity: 0.9;
}
.knowledge-featured__art-tag {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(233, 223, 199, 0.22);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d8c9a4;
}
.knowledge-featured__art-line {
  height: 1px;
  background: rgba(233, 223, 199, 0.18);
  margin-top: 8px;
}
.knowledge-featured__art-line--short {
  width: 46%;
}
.knowledge-featured__body {
  padding: 26px;
}
.knowledge-featured__title {
  margin-top: 8px;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.22;
}
.knowledge-featured__summary {
  margin-top: 9px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 74ch;
}
.knowledge-featured__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 11.5px;
}
.knowledge-featured__cta {
  margin-top: 16px;
  pointer-events: none;
}
.knowledge-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.knowledge-search {
  max-width: 440px;
}
.knowledge-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.knowledge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.knowledge-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px;
}
.knowledge-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.knowledge-card__category {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--soft, var(--surface-3));
  color: var(--tone, var(--ink-2));
  font-size: 10.5px;
  font-weight: 700;
}
.knowledge-card__type {
  font-size: 10px;
  color: var(--faint);
}
.knowledge-card__read {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--faint);
}
.knowledge-card__title {
  font-size: 15.5px;
  letter-spacing: -0.015em;
  line-height: 1.32;
}
.knowledge-card__summary {
  font-size: 12.3px;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.knowledge-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.knowledge-card__tags .tag {
  font-size: 10px;
  padding: 2px 7px;
}
.knowledge-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.knowledge-card__speaker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  min-width: 0;
}
.knowledge-card__lessons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  white-space: nowrap;
}
.knowledge-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  margin-top: 24px;
  flex-wrap: wrap;
  background: linear-gradient(155deg, #fbf8f0, #f4eee0);
}
.knowledge-cta__title {
  margin-top: 5px;
  font-size: 18px;
}
.knowledge-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.knowledge-hero__main {
  max-width: 800px;
}
.knowledge-hero__badges {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.knowledge-hero__type {
  font-size: 10.5px;
  color: var(--faint);
}
.knowledge-hero__read {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: var(--faint);
}
.knowledge-hero__title {
  margin-top: 10px;
  font-size: clamp(1.7rem, 3.1vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1.16;
}
.knowledge-hero__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
}
.knowledge-hero__actions {
  padding-top: 6px;
}
.knowledge-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  margin-top: 20px;
  align-items: start;
}
.knowledge-detail-main,
.knowledge-detail-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.knowledge-detail-side {
  position: sticky;
  top: 84px;
}
.knowledge-summary {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}
.lesson-list {
  display: flex;
  flex-direction: column;
}
.lesson {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.lesson:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.lesson__number {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-strong);
  padding-top: 1px;
  flex: none;
}
.lesson__text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.lesson-list--compact .lesson {
  padding: 8px 0;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.photo-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 11px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #f3eee2, #e8e0cf);
  color: var(--brand);
}
.photo-tile--teal { background: linear-gradient(160deg, #e6efef, #d3e4e4); color: #2f6570; }
.photo-tile--teal-soft { background: linear-gradient(160deg, #eef4f3, #dfeae8); color: #3c6e72; }
.photo-tile--clay { background: linear-gradient(160deg, #f7e9e2, #efd9cd); color: #9c4d33; }
.photo-tile--clay-soft { background: linear-gradient(160deg, #f9efe9, #f0dfd4); color: #a2583d; }
.photo-tile--olive { background: linear-gradient(160deg, #edf1e3, #dfe7cc); color: #5f7136; }
.photo-tile--indigo { background: linear-gradient(160deg, #ececf7, #dcdcee); color: #4a4f7d; }
.photo-tile--warm { background: linear-gradient(160deg, #f8f1df, #efe3c8); color: #8a6a2a; }
.photo-tile--warm-soft { background: linear-gradient(160deg, #fbf6e9, #f2e8d3); color: #8a6a2a; }
.photo-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 9px 7px;
  background: linear-gradient(transparent, rgba(24, 20, 14, 0.4));
  color: #fffdf8;
  font-size: 9.5px;
  text-align: left;
}
.note-form {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.note-form .textarea {
  min-height: 44px;
  font-size: 12.5px;
}

/* ----------------------------------------------------------------- cases */

.case-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr);
  gap: 26px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(201, 162, 39, 0.12), transparent 60%),
    linear-gradient(160deg, #fbf8f0, #f4eee1);
  margin-bottom: 22px;
}
.case-intro__text h2 {
  margin-top: 8px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.case-intro__text p {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.6;
}
.case-intro__process {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
}
.case-process-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.7);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.case-process-step__number {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #f7f1e2;
  font-size: 8.5px;
  font-weight: 700;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.case-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 19px;
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.case-cover {
  --case-bg: #eaf0e7;
  --case-ink: #1d4b3c;
  position: relative;
  height: 142px;
  padding: 16px 18px;
  background: var(--case-bg);
  color: var(--case-ink);
  overflow: hidden;
}
.case-card--starbucks .case-cover { --case-bg: linear-gradient(150deg, #e4eee6, #d4e4d8); --case-ink: #1d4b3c; }
.case-card--google .case-cover { --case-bg: linear-gradient(150deg, #f3eee1, #e9e2d2); --case-ink: #33403f; }
.case-card--decision .case-cover { --case-bg: linear-gradient(150deg, #f6eae1, #eedcca); --case-ink: #5a3826; }
.case-cover__org {
  position: relative;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.case-cover__monogram {
  position: absolute;
  right: 14px;
  bottom: -24px;
  font-family: var(--font-display);
  font-size: 116px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.13;
  letter-spacing: -0.06em;
}
.case-cover__index {
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-size: 10px;
  font-weight: 650;
  opacity: 0.55;
}
.case-cover__rings {
  position: absolute;
  right: -34px;
  top: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.16;
  box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.14), 0 0 0 44px rgba(255, 255, 255, 0.08);
}
.case-card__body {
  padding: 17px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.case-tag {
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--surface-3);
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
}
.case-card__title {
  font-size: 16.5px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.case-card__summary {
  font-size: 12.2px;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
  color: var(--faint);
}
.case-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.case-card__actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  flex-wrap: wrap;
}
.case-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: var(--surface-2);
}
.case-disclaimer > .icon {
  color: var(--muted);
  margin-top: 2px;
}
.case-disclaimer p {
  font-size: 12.5px;
  line-height: 1.55;
  margin-top: 3px;
}
.case-hero {
  --case-bg: linear-gradient(150deg, #eaf1e8, #d9e7dc);
  --case-ink: #1d4b3c;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  margin-top: 4px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.case-hero--starbucks { --case-bg: linear-gradient(155deg, #e4eee6, #cfe1d4); --case-ink: #1d4b3c; }
.case-hero--google { --case-bg: linear-gradient(155deg, #f3eee1, #e6decd); --case-ink: #33403f; }
.case-hero--decision { --case-bg: linear-gradient(155deg, #f6eae1, #ecd9c6); --case-ink: #5a3826; }
.case-hero__cover {
  position: relative;
  padding: 24px;
  background: var(--case-bg);
  color: var(--case-ink);
  overflow: hidden;
  min-height: 250px;
}
.case-hero__org {
  position: relative;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.case-hero__monogram {
  position: absolute;
  left: 10px;
  bottom: -40px;
  font-family: var(--font-display);
  font-size: 190px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.12;
  letter-spacing: -0.07em;
}
.case-hero__body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.case-hero__title {
  font-size: clamp(1.5rem, 2.7vw, 2.05rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
}
.case-hero__summary {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 72ch;
}
.case-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}
.case-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.case-hero__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.case-hero__disclaimer {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--faint);
}
.case-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  margin-top: 20px;
  align-items: start;
}
.case-detail-main,
.case-detail-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.case-detail-side {
  position: sticky;
  top: 84px;
}
.case-lead {
  font-size: 13.8px;
  line-height: 1.7;
  color: var(--ink-2);
}
.fact-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.fact-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.6px;
  line-height: 1.55;
  color: var(--muted);
}
.fact-list li .icon {
  color: var(--gold-strong);
  margin-top: 2px;
  flex: none;
}
.case-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}
button.case-option:hover {
  border-color: var(--brand);
  background: var(--brand-tint);
}
.case-option.is-mine {
  border-color: var(--brand);
  background: var(--brand-tint);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.case-option__letter {
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
}
.case-option.is-mine .case-option__letter {
  background: var(--brand);
  color: #f7f1e2;
}
.case-option__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.case-option__text {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}
.case-option__bar {
  height: 5px;
  border-radius: 99px;
  background: var(--surface-3);
  overflow: hidden;
}
.case-option__bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  transition: width 0.5s ease;
}
.case-option.is-mine .case-option__bar > span {
  background: var(--brand);
}
.case-option__meta {
  display: flex;
  align-items: center;
  gap: 7px;
}
.case-option__voters {
  display: flex;
}
.case-option__voters .avatar {
  margin-left: -7px;
  box-shadow: 0 0 0 2px var(--surface);
}
.case-option__voters .avatar:first-child {
  margin-left: 0;
}
.case-option__percent {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
}
.case-option__mine {
  position: absolute;
  right: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 700;
  color: var(--brand);
}
.case-options__total {
  font-size: 10.5px;
  color: var(--faint);
  text-align: right;
}
.case-arguments {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case-argument {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.case-argument__body {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 4px 12px 12px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.case-argument__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}
.case-argument__option {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--surface-3);
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
}
.case-argument__body p {
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--ink-2);
}
.argument-form {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.argument-form__row {
  display: flex;
  gap: 8px;
  margin-top: 7px;
  align-items: center;
  flex-wrap: wrap;
}
.argument-form__row .select {
  flex: 1;
  min-width: 200px;
  min-height: 38px;
  font-size: 12px;
}
.case-reveal {
  padding: 16px;
  border-radius: 13px;
  background: var(--brand-tint);
  border: 1px solid #d7e3da;
}
.case-reveal__head {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 9px;
}
.case-reveal__icon {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #f5efdf;
}
.case-reveal h3 {
  font-size: 14px;
  letter-spacing: -0.01em;
}
.case-reveal__text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}
.case-sources {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(22, 58, 50, 0.12);
}
.case-sources a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.case-side__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(242, 236, 221, 0.1);
  color: #ddc58c;
  margin-bottom: 10px;
}

/* ------------------------------------------------------- case presentation */

.present-demo {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(201, 162, 39, 0.13), transparent 60%),
    linear-gradient(150deg, #0e211c 0%, #0a1713 100%);
  color: #f1ead9;
}
.present-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(241, 234, 217, 0.12);
  flex: none;
}
.present-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.present-header__mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(241, 234, 217, 0.1);
  color: #ddc58c;
}
.present-header__label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b9a97e;
}
.present-header__org {
  font-size: 11.5px;
  color: #c3cec5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 40vw;
}
.present-header__steps {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.present-header__steps::-webkit-scrollbar {
  display: none;
}
.present-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 8px;
  opacity: 0.55;
  min-width: 48px;
}
.present-step-dot > span {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 234, 217, 0.3);
  font-size: 9px;
  font-weight: 700;
}
.present-step-dot em {
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.present-step-dot.is-done {
  opacity: 0.8;
}
.present-step-dot.is-done > span {
  background: rgba(241, 234, 217, 0.16);
  border-color: transparent;
  color: #d9c9a4;
}
.present-step-dot.is-active {
  opacity: 1;
}
.present-step-dot.is-active > span {
  background: #ddc58c;
  border-color: #ddc58c;
  color: #1b2c25;
}
.present-step-dot.is-active em {
  color: #f3e9cf;
}
.present-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.present-fullscreen {
  color: #cfd8d0;
}
.present-fullscreen:hover {
  background: rgba(241, 234, 217, 0.1);
  border-color: rgba(241, 234, 217, 0.16);
}
.present-exit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid rgba(241, 234, 217, 0.16);
  font-size: 11px;
  color: #d6dccf;
}
.present-exit:hover {
  background: rgba(241, 234, 217, 0.1);
}
.present-stage {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 36px clamp(24px, 7vw, 110px) 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
.present-stage__counter {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #918b78;
  margin-bottom: 14px;
}
.present-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(241, 234, 217, 0.2);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ddc58c;
  margin-bottom: 16px;
}
.present-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #fdf9ef;
  font-weight: 620;
}
.present-title--question {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 24ch;
}
.present-subtitle {
  margin-top: 10px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #cbbf9e;
  letter-spacing: -0.01em;
}
.present-lead {
  margin-top: 18px;
  max-width: 74ch;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.7;
  color: #c7d1c8;
}
.present-lead--big {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: #e7dfcc;
}
.present-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
  max-width: 940px;
}
.present-facts li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(241, 234, 217, 0.13);
  border-radius: 10px;
  background: rgba(241, 234, 217, 0.04);
  font-size: 12.5px;
  line-height: 1.5;
  color: #ced8cf;
}
.present-facts li .icon {
  color: #cbbf9e;
  flex: none;
  margin-top: 2px;
}
.present-facts--ideas li .icon {
  color: #ddc58c;
}
.present-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
  max-width: 900px;
}
.present-option {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 15px 17px;
  border-radius: 12px;
  border: 1px solid rgba(241, 234, 217, 0.15);
  background: rgba(241, 234, 217, 0.04);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.45;
  color: #e3ddce;
}
.present-option__letter {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #ddc58c;
  width: 28px;
  flex: none;
}
.present-vote-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
  max-width: 920px;
  width: 100%;
}
.present-vote {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid rgba(241, 234, 217, 0.18);
  background: rgba(241, 234, 217, 0.04);
  text-align: left;
  color: #e3ddce;
  transition: border-color 0.16s ease, background 0.16s ease;
  position: relative;
  overflow: hidden;
}
.present-vote:hover {
  border-color: rgba(221, 197, 140, 0.55);
  background: rgba(241, 234, 217, 0.07);
}
.present-vote.is-mine {
  border-color: #ddc58c;
  background: rgba(221, 197, 140, 0.1);
}
.present-vote__letter {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: #ddc58c;
  width: 28px;
  flex: none;
}
.present-vote__text {
  font-size: 14.5px;
  line-height: 1.45;
}
.present-vote__result {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  width: 160px;
  flex: none;
}
.present-vote__result > span {
  display: block;
  height: 5px;
  border-radius: 99px;
  background: #ddc58c;
  min-width: 2px;
}
.present-vote__result em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: #f3e9cf;
  width: 34px;
  text-align: right;
}
.present-vote__mine {
  position: absolute;
  right: 14px;
  top: 8px;
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ddc58c;
}
.present-vote-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 11.5px;
  color: #a9b5a9;
}
.present-link {
  font-size: 11.5px;
  color: #ddc58c;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.present-arguments {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  max-height: 46vh;
  overflow-y: auto;
  padding-right: 6px;
  max-width: 950px;
}
.present-argument {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.present-argument__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: #f0ead9;
}
.present-argument__option {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b9a97e;
}
.present-argument p {
  font-size: 13px;
  line-height: 1.6;
  color: #c7d1c8;
}
.present-sources {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 18px;
  font-size: 10.5px;
  color: #918b78;
}
.present-sources a {
  color: #cbbf9e;
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.present-lessons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 22px;
  max-width: 920px;
}
.present-lessons li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(241, 234, 217, 0.05);
  border: 1px solid rgba(241, 234, 217, 0.1);
  font-size: 12px;
  line-height: 1.5;
  color: #d3dacf;
}
.present-lessons .icon {
  color: #cbbf9e;
  margin-top: 2px;
  flex: none;
}
.present-reflection {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(221, 197, 140, 0.25);
  background: rgba(221, 197, 140, 0.06);
  max-width: 760px;
  color: #ddc58c;
}
.present-reflection p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: #e9e1cf;
}
.present-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 28px;
  border-top: 1px solid rgba(241, 234, 217, 0.12);
  flex: none;
}
.present-footer__hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 auto;
  font-size: 10px;
  color: #7f867b;
}
.btn--present {
  --btn-bg: #ddc58c;
  --btn-fg: #1b2c25;
  --btn-border: #ddc58c;
  font-weight: 700;
}
.btn--present:hover {
  --btn-bg: #e8d5a8;
}
.btn--present-ghost {
  --btn-bg: transparent;
  --btn-fg: #d6dccf;
  --btn-border: rgba(241, 234, 217, 0.18);
}
.btn--present-ghost:hover {
  --btn-bg: rgba(241, 234, 217, 0.08);
}
.btn--present-ghost[disabled] {
  opacity: 0.3;
}

/* ------------------------------------------------------------------ ideas */

.ideas-summary {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(155deg, #fbf8f0, #f4eee0);
  border: 1px solid #e8dfcc;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ideas-summary__text {
  flex: 1;
  min-width: 260px;
}
.ideas-summary__text p {
  margin-top: 6px;
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--muted);
}
.ideas-summary__stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.ideas-summary__stat {
  display: flex;
  flex-direction: column;
  font-size: 10px;
  color: var(--muted);
  max-width: 90px;
}
.ideas-summary__stat strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.1;
}
.ideas-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.segmented--scroll {
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}
.segmented--scroll::-webkit-scrollbar {
  display: none;
}
.ideas-search {
  max-width: 280px;
}
.ideas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.idea-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px;
}
.idea-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.idea-card__category {
  font-size: 10px;
  color: var(--muted);
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--surface-3);
}
.idea-card__date {
  margin-left: auto;
  font-size: 10px;
  color: var(--faint);
}
.idea-card__title {
  font-size: 16px;
  line-height: 1.32;
  letter-spacing: -0.015em;
}
.idea-card__title a:hover {
  color: var(--brand);
}
.idea-card__problem {
  font-size: 12.3px;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.idea-card__author {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 11px;
}
.idea-card__author-name {
  font-weight: 600;
  color: var(--ink-2);
}
.idea-card__comments {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--faint);
}
.idea-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.reaction-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.reaction {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.reaction em {
  font-style: normal;
  font-size: 9.5px;
  color: var(--faint);
}
.reaction:hover {
  border-color: var(--line-strong);
  color: var(--ink-2);
}
.reaction.is-active {
  background: var(--brand-tint);
  border-color: #cadae0;
  color: var(--brand);
}
.reaction.is-active em {
  color: var(--brand);
}
.reaction--large {
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  font-size: 10.5px;
}
.reaction-bar--large {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.reaction-bar--large .reaction {
  flex-direction: column;
  gap: 3px;
  border-radius: 10px;
  padding: 10px 6px;
}
.ideas-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  margin-top: 24px;
  border-radius: 18px;
  background: linear-gradient(155deg, #173b32, #102720);
  color: #f2ecdd;
  flex-wrap: wrap;
}
.ideas-cta h3 {
  margin-top: 5px;
  color: #fbf7ec;
  font-size: 19px;
}
.ideas-cta .eyebrow {
  color: #c7b98f;
}
.ideas-cta .small {
  color: #b9c6bc;
  margin-top: 3px;
}
.idea-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  margin-top: 4px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.idea-hero__main {
  max-width: 800px;
}
.idea-hero__badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.idea-hero__title {
  margin-top: 10px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.035em;
  line-height: 1.16;
}
.idea-hero__author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.idea-hero__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 6px;
}
.idea-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  margin-top: 20px;
  align-items: start;
}
.idea-detail-main,
.idea-detail-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.idea-detail-side {
  position: sticky;
  top: 84px;
}
.status-pipeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.status-pipeline__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  font-size: 12px;
  color: var(--faint);
}
.status-pipeline__item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 26px;
  bottom: -2px;
  width: 1px;
  background: var(--line);
}
.status-pipeline__item:last-child::before {
  display: none;
}
.status-pipeline__dot {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 9px;
  font-weight: 700;
}
.status-pipeline__item.is-done {
  color: var(--ink-2);
}
.status-pipeline__item.is-done .status-pipeline__dot {
  background: var(--brand-soft);
  border-color: #d3e0d6;
  color: var(--brand);
}
.status-pipeline__item.is-current {
  color: var(--brand);
  font-weight: 650;
}
.status-pipeline__item.is-current .status-pipeline__dot {
  background: var(--brand);
  border-color: var(--brand);
  color: #f7f1e2;
}
.idea-people .cluster {
  margin-top: 3px;
}

/* --------------------------------------------------------------- projects */

.projects-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(155deg, #173b32, #102720);
  color: #f2ecdd;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.projects-summary__main h2 {
  color: #fbf7ec;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin-top: 7px;
  letter-spacing: -0.025em;
}
.projects-summary__main p {
  margin-top: 7px;
  max-width: 64ch;
  font-size: 12.8px;
  color: #bbc7bd;
}
.projects-summary__main .eyebrow {
  color: #c7b98f;
}
.projects-summary__stats {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  font-size: 10.5px;
  color: #a9b8ab;
  flex-wrap: wrap;
}
.projects-summary__stats strong {
  color: #fbf7ec;
  font-size: 13px;
  margin-right: 3px;
}
.projects-summary__stages {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 380px;
}
.stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(242, 236, 221, 0.18);
  font-size: 10px;
  color: #d5ddd3;
}
.stage-pill em {
  font-style: normal;
  font-weight: 700;
  color: #ddc58c;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.project-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 19px;
}
.project-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.project-card__badges {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
}
.project-card__category {
  font-size: 10px;
  color: var(--muted);
}
.project-card__progress-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 650;
  color: var(--brand);
}
.project-card__title {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.project-card__title a:hover {
  color: var(--brand);
}
.project-card__problem {
  font-size: 12.3px;
  line-height: 1.55;
  color: var(--muted);
}
.stage-rail {
  display: flex;
  gap: 2px;
  margin: 2px 0;
}
.stage-rail__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
.stage-rail__dot {
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: var(--surface-3);
  font-size: 0;
  color: transparent;
}
.stage-rail__item.is-done .stage-rail__dot {
  background: #b9cfbf;
}
.stage-rail__item.is-current .stage-rail__dot {
  background: var(--brand);
}
.stage-rail__label {
  font-size: 7.5px;
  color: var(--faint);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.stage-rail__item.is-current .stage-rail__label {
  color: var(--brand);
  font-weight: 700;
}
.stage-rail--large {
  flex-direction: column;
  gap: 0;
}
.stage-rail--large .stage-rail__item {
  flex-direction: row;
  justify-content: flex-start;
  gap: 9px;
  padding: 7px 0;
  position: relative;
}
.stage-rail--large .stage-rail__item::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 27px;
  bottom: -3px;
  width: 1px;
  background: var(--line);
}
.stage-rail--large .stage-rail__item:last-child::before {
  display: none;
}
.stage-rail--large .stage-rail__dot {
  width: 19px;
  height: 19px;
  flex: none;
  border-radius: 50%;
  font-size: 8.5px;
  font-weight: 700;
  color: var(--faint);
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.stage-rail--large .stage-rail__item.is-done .stage-rail__dot {
  background: var(--brand-soft);
  border-color: #d3e0d6;
  color: var(--brand);
}
.stage-rail--large .stage-rail__item.is-current .stage-rail__dot {
  background: var(--brand);
  border-color: var(--brand);
  color: #f7f1e2;
}
.stage-rail--large .stage-rail__label {
  font-size: 11px;
  color: var(--muted);
}
.stage-rail--large .stage-rail__item.is-current .stage-rail__label {
  color: var(--ink);
  font-weight: 650;
}
.project-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--muted);
  flex-wrap: wrap;
}
.project-card__next {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--gold-soft);
  color: #6d5417;
  font-size: 11px;
  line-height: 1.4;
}
.project-card__next .icon {
  flex: none;
  margin-top: 1px;
}
.project-card__foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.project-joined {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 650;
  color: var(--ok);
}
.projects-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  margin-top: 20px;
  background: var(--surface-2);
}
.projects-note > .icon {
  color: var(--muted);
  margin-top: 2px;
}
.project-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  padding: 24px;
  margin-top: 4px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, #fbf8f0, #f5efe1);
  flex-wrap: wrap;
}
.project-hero__main {
  flex: 1;
  min-width: 280px;
}
.project-hero__badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.project-hero__title {
  margin-top: 10px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.16;
}
.project-hero__solution {
  margin-top: 8px;
  max-width: 72ch;
  font-size: 13.4px;
  line-height: 1.6;
  color: var(--muted);
}
.project-hero__team {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.project-hero__team a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.project-hero__actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.project-hero__progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
}
.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  margin-top: 20px;
  align-items: start;
}
.project-detail-main,
.project-detail-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.project-detail-side {
  position: sticky;
  top: 84px;
}
.milestone-list {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}
.milestone {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.milestone:last-child {
  border-bottom: 0;
}
.milestone__check {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--faint);
  display: grid;
  place-items: center;
}
.milestone.is-done .milestone__check {
  background: var(--brand);
  border-color: var(--brand);
  color: #f7f1e2;
}
.milestone__body {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.milestone__title {
  font-size: 12.8px;
  color: var(--ink-2);
  line-height: 1.4;
}
.milestone.is-done .milestone__title {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--line-strong);
}
.milestone__date {
  font-size: 10px;
  color: var(--faint);
  white-space: nowrap;
}
.team-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.team-member {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 8px;
}
.team-member:hover {
  background: var(--surface-2);
}
.team-member__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.team-member__name {
  font-size: 12px;
  font-weight: 600;
}
.team-member__role {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-member__lead {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-strong);
}

/* ----------------------------------------------------------------- aktobe */

.aktobe-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 24px;
  padding: 26px;
  border-radius: 22px;
  background:
    radial-gradient(520px 300px at 92% 10%, rgba(201, 162, 39, 0.16), transparent 60%),
    linear-gradient(152deg, #173b32, #0f2620);
  color: #f2ecdd;
  overflow: hidden;
  position: relative;
}
.aktobe-hero__text h2 {
  margin-top: 8px;
  color: #fbf7ec;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: -0.03em;
}
.aktobe-hero__text p {
  margin-top: 8px;
  max-width: 64ch;
  font-size: 12.8px;
  line-height: 1.65;
  color: #bcc8be;
}
.aktobe-hero__text .eyebrow {
  color: #c7b98f;
}
.aktobe-hero__stats {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  flex-wrap: wrap;
  font-size: 10.5px;
  color: #aab9ad;
}
.aktobe-hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 650;
  color: #f7f2e6;
  line-height: 1.2;
}
.aktobe-hero__map {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  align-self: center;
}
.aktobe-hero__city {
  position: absolute;
  bottom: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ddc58c;
}
.aktobe-hero__map-pin {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ddc58c;
  color: #173b32;
  box-shadow: 0 0 0 10px rgba(221, 197, 140, 0.12), 0 0 0 24px rgba(221, 197, 140, 0.06);
}
.aktobe-hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(242, 236, 221, 0.14);
}
.aktobe-hero__ring--1 { width: 120px; height: 120px; }
.aktobe-hero__ring--2 { width: 190px; height: 190px; }
.aktobe-hero__ring--3 { width: 260px; height: 260px; opacity: 0.6; }
.problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.problem-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
}
.problem-card__top {
  display: flex;
  align-items: center;
  gap: 7px;
}
.problem-category {
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.problem-card__title {
  font-size: 15.5px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.problem-card__desc {
  font-size: 12.2px;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.problem-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 10.5px;
}
.problem-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.problem-modal__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.problem-modal__text {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.linked-project {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 11px;
  border: 1px solid #e5d9bd;
  background: var(--gold-soft);
}
.linked-project:hover {
  filter: brightness(0.98);
}
.linked-project__icon {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fffdf8;
  color: var(--gold-strong);
}
.linked-project__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.linked-project__label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a6a2a;
}
.linked-project__title {
  font-size: 12.5px;
  font-weight: 600;
  color: #4f3d13;
}
.problem-modal__proposals {
  margin-top: 18px;
}
.problem-modal__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 8px;
}
.proposal {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.proposal:last-child {
  border-bottom: 0;
}
.proposal__body {
  flex: 1;
  min-width: 0;
}
.proposal__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}
.proposal__meta .tag {
  font-size: 9px;
  padding: 2px 6px;
}
.proposal__body p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.proposal-form {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.proposal-form .textarea {
  margin-top: 6px;
}
.challenge-card {
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(201, 162, 39, 0.1), transparent 60%),
    linear-gradient(160deg, #fbf8f0, #f4eee0);
}
.challenge-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.challenge-card__title {
  margin-top: 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  letter-spacing: -0.03em;
  max-width: 30ch;
  line-height: 1.24;
}
.challenge-card__desc {
  margin-top: 8px;
  max-width: 72ch;
  font-size: 12.8px;
  line-height: 1.6;
  color: var(--muted);
}
.challenge-card__deadline {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
  min-width: 120px;
}
.challenge-card__deadline-label {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--faint);
}
.challenge-card__deadline-value {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
  margin-top: 2px;
}
.challenge-stages {
  display: flex;
  gap: 3px;
  margin: 20px 0;
}
.challenge-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.challenge-stage__dot {
  height: 5px;
  border-radius: 99px;
  background: var(--surface-3);
  font-size: 0;
  color: transparent;
}
.challenge-stage.is-done .challenge-stage__dot {
  background: #c3d5c8;
}
.challenge-stage.is-current .challenge-stage__dot {
  background: var(--gold);
}
.challenge-stage__label {
  font-size: 9px;
  color: var(--faint);
  line-height: 1.3;
}
.challenge-stage.is-current .challenge-stage__label {
  color: var(--gold-strong);
  font-weight: 700;
}
.challenge-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 24px;
}
.challenge-body__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 650;
  margin-bottom: 9px;
}
.challenge-body__title .muted {
  font-weight: 400;
  margin-left: 4px;
}
.challenge-proposals {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.challenge-proposal {
  padding: 12px 13px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.challenge-proposal.is-voted {
  border-color: #cfdcd3;
  background: var(--brand-tint);
}
.challenge-proposal__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.challenge-proposal__ident {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.challenge-proposal__ident .strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.challenge-proposal p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-2);
}
.vote-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.vote-btn.is-voted {
  background: var(--brand);
  border-color: var(--brand);
  color: #f7f1e2;
}
.challenge-next {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.next-vote {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 9px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.next-vote:last-of-type {
  border-bottom: 0;
}
.next-vote__title {
  font-size: 11.8px;
  font-weight: 550;
  color: var(--ink-2);
  line-height: 1.4;
}
.next-vote.is-voted .next-vote__title {
  color: var(--brand);
  font-weight: 650;
}
.next-vote__bar {
  height: 4px;
  border-radius: 99px;
  background: var(--surface-3);
  overflow: hidden;
}
.next-vote__bar span {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: inherit;
}
.next-vote.is-voted .next-vote__bar span {
  background: var(--brand);
}
.next-vote__meta {
  font-size: 9.5px;
  color: var(--faint);
}
.challenge-card__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.aktobe-final {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: linear-gradient(155deg, #fbf8f0, #f4eee0);
  flex-wrap: wrap;
}
.aktobe-final__icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #f2e7cf;
}
.aktobe-final > div {
  flex: 1;
  min-width: 220px;
}
.aktobe-final h3 {
  font-size: 15px;
}
.aktobe-final p {
  margin-top: 2px;
}

/* ------------------------------------------------------------------- mine */

.mine-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 240px at 6% 0%, rgba(201, 162, 39, 0.12), transparent 60%),
    linear-gradient(150deg, #fbf8f0, #f5efe1);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.mine-hero__profile {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.mine-hero__ident h2 {
  margin-top: 3px;
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
  letter-spacing: -0.025em;
}
.mine-hero__ident p {
  font-size: 12.5px;
}
.mine-hero__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.mine-hero__complete {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mine-hero__joined {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.mine-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}
.mine-main,
.mine-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.mine-side {
  position: sticky;
  top: 84px;
}
.mine-directions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mine-directions > div:last-child {
  grid-column: 1 / -1;
}
.mine-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.goal-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.goal {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.8px;
}
.goal:last-child {
  border-bottom: 0;
}
.goal__check {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--faint);
  display: grid;
  place-items: center;
}
.goal.is-done .goal__check {
  background: var(--brand);
  border-color: var(--brand);
  color: #f7f1e2;
}
.goal__text {
  flex: 1;
  min-width: 0;
  color: var(--ink-2);
}
.goal.is-done .goal__text {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--line-strong);
}
.goal__remove {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--faint);
  opacity: 0;
  transition: opacity 0.14s ease;
}
.goal:hover .goal__remove {
  opacity: 1;
}
.goal__remove:hover {
  background: var(--danger-soft);
  color: var(--danger);
}
.goal-form {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}
.goal-form .input {
  min-height: 36px;
  font-size: 12.5px;
}

/* ----------------------------------------------------------------- growth */

.growth-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.growth-chart__legend {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
}
.growth-chart__legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.growth-chart__plot {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 190px;
  padding-top: 8px;
  border-bottom: 1px solid var(--line);
}
.growth-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}
.growth-bar-group__bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 100%;
  width: 100%;
  justify-content: center;
}
.growth-bar {
  width: 6px;
  border-radius: 3px 3px 0 0;
  background: var(--brand);
  min-height: 2px;
}
.growth-bar--members { background: #163a32; width: 9px; }
.growth-bar--knowledge { background: #b58a34; }
.growth-bar--ideas { background: #b25a3c; }
.growth-bar-group__label {
  font-size: 8.5px;
  color: var(--faint);
  white-space: nowrap;
}
.growth-chart {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.growth-chart__plot {
  flex: 1;
}
.distribution {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.distribution__row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.distribution__label {
  font-size: 11px;
  color: var(--ink-2);
  min-width: 104px;
}
.distribution__bar {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: var(--surface-3);
  overflow: hidden;
}
.distribution__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  opacity: 0.8;
}
.distribution__count {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  width: 16px;
  text-align: right;
}
.funnel {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.funnel__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.funnel__row:last-child {
  border-bottom: 0;
}
.funnel__icon {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--brand-tint);
  color: var(--brand);
}
.funnel__label {
  min-width: 170px;
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
  font-weight: 600;
}
.funnel__label small {
  font-size: 10px;
  font-weight: 400;
  color: var(--faint);
}
.funnel__bar {
  flex: 1;
  height: 9px;
  border-radius: 99px;
  background: var(--surface-3);
  overflow: hidden;
}
.funnel__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9cb6a8, var(--brand));
}
.funnel__value {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 650;
  color: var(--brand);
  width: 38px;
  text-align: right;
}
.funnel__arrow {
  color: var(--faint);
  width: 14px;
}
.table-wrap {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.data-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: middle;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table tbody tr:hover {
  background: var(--surface-2);
}
.table-person {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 190px;
}
.table-person > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.table-person strong {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.table-person small {
  font-size: 10.5px;
  color: var(--muted);
}
.table-progress {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 110px;
}
.table-progress .progress {
  flex: 1;
}
.table-progress span {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.insight-card {
  padding: 18px;
}
.insight-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold-strong);
  margin-bottom: 9px;
}
.insight-card h3 {
  font-size: 14px;
  margin-bottom: 7px;
}
.insight-card .small {
  margin-top: 8px;
  line-height: 1.55;
}

/* ------------------------------------------------------------------ admin */

.admin-tabs {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  padding: 4px;
  border-radius: 12px;
  background: #ebe6da;
  border: 1px solid #e2dccc;
  margin-bottom: 18px;
  scrollbar-width: none;
}
.admin-tabs::-webkit-scrollbar {
  display: none;
}
.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.admin-tab:hover {
  color: var(--ink-2);
}
.admin-tab.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.admin-tab__count {
  min-width: 17px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--clay);
  color: #fffaf2;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  line-height: 16px;
}
.admin-content {
  min-height: 240px;
}
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.admin-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.application-card {
  padding: 18px 20px;
}
.application-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.application-card__ident {
  flex: 1;
  min-width: 0;
}
.application-card__ident h3 {
  font-size: 16px;
}
.application-card__ident p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}
.application-card__score {
  text-align: right;
}
.application-card__score span {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 650;
  color: var(--brand);
}
.application-card__score small {
  display: block;
  font-size: 9px;
  color: var(--faint);
}
.application-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0;
  padding: 12px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.admin-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.application-card__grid .small {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.application-card__actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.admin-subtitle {
  font-size: 13px;
  margin: 22px 0 10px;
}
.admin-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.admin-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  flex-wrap: wrap;
}
.admin-row--plain {
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.admin-row__icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}
.admin-row__main {
  flex: 1;
  min-width: 180px;
}
.admin-row__main .strong {
  font-size: 13px;
}
.admin-row__main p {
  margin-top: 1px;
}
.admin-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  color: var(--ok);
}
.admin-empty .icon {
  flex: none;
}
.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.admin-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 15px 16px;
}
.admin-stat__icon {
  color: var(--gold-strong);
}
.admin-stat__value {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 650;
  line-height: 1.1;
}
.admin-stat__label {
  font-size: 10.5px;
  color: var(--muted);
}
.icon-btn.is-featured {
  color: var(--gold-strong);
  background: var(--gold-soft);
}

/* ---------------------------------------------------------------- settings */

.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}
.settings-main,
.settings-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.settings-side {
  position: sticky;
  top: 84px;
}
.settings-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.settings-profile__body {
  flex: 1;
  min-width: 160px;
}
.settings-profile__body > .strong {
  font-size: 14px;
}
.settings-profile__score {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 650;
  color: var(--brand);
  text-align: right;
}
.settings-profile__score small {
  display: block;
  font-family: var(--font);
  font-size: 9px;
  color: var(--faint);
}
.settings-inline {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.settings-inline .input {
  min-height: 38px;
  font-size: 12px;
}
.settings-rows {
  display: flex;
  flex-direction: column;
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.settings-row:last-child {
  border-bottom: 0;
}
.settings-row > span:first-child {
  display: flex;
  flex-direction: column;
}
.settings-row strong {
  font-size: 12.8px;
  font-weight: 600;
}
.settings-row small {
  font-size: 11px;
  color: var(--muted);
}
.settings-demo-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq {
  border-bottom: 1px solid var(--line);
}
.faq:last-child {
  border-bottom: 0;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  font-size: 12.8px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq[open] summary .icon {
  transform: rotate(180deg);
}
.faq summary .icon {
  color: var(--faint);
  transition: transform 0.18s ease;
  flex: none;
}
.faq p {
  padding: 0 0 12px;
  line-height: 1.6;
}

/* ------------------------------------------------------------ intro & match */

.intro-person {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}
.intro-person__score {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 650;
  color: var(--brand);
}
.match-search {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.match-search__row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.match-search__row .input {
  flex: 1;
  min-width: 220px;
}
.match-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.match-examples .chip {
  font-size: 10.5px;
  padding: 5px 9px;
  color: var(--muted);
}
.match-info {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 12px 0;
  padding: 9px 11px;
  border-radius: 9px;
  background: var(--teal-soft);
  border: 1px solid #d3e2e4;
  font-size: 10.8px;
  line-height: 1.5;
  color: #234a51;
}
.match-info .icon {
  flex: none;
  margin-top: 1px;
}
.match-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 30px 18px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--surface-2);
}
.match-empty__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold-strong);
  margin-bottom: 4px;
}
.match-empty .btn {
  margin-top: 8px;
}
.match-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 34px;
  color: var(--muted);
  font-size: 12.5px;
}
.match-results-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--faint);
}
.match-results-head__count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 9px;
}
.match-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.match-results .match-card {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}
.match-results .match-card__top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.match-results .match-card__ident {
  flex: 1;
  min-width: 0;
}
.match-results .match-card__name {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}
.match-results .match-card__name:hover {
  color: var(--brand);
}
.match-results .match-card__role {
  font-size: 11px;
  color: var(--muted);
  margin: 1px 0 5px;
}
.match-results .match-card__score {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--gold-soft);
  color: var(--gold-strong);
  font-size: 8.5px;
  font-weight: 700;
  white-space: nowrap;
}
.match-results .match-card__why {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--brand-tint);
  border: 1px solid #d9e5db;
  font-size: 11.8px;
  line-height: 1.5;
  color: var(--brand);
}
.match-results .match-card__why .icon {
  flex: none;
  margin-top: 1px;
}
.match-results .match-card__need {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}
.match-results .match-card__actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.match-me {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  flex-wrap: wrap;
}
.match-me > div {
  flex: 1;
  min-width: 160px;
}
.match-modal .modal__panel {
  width: min(760px, 100%);
}

/* ------------------------------------------------------- ORDA AI Match 2.0 */

.match-modal--ai .modal__panel {
  width: min(980px, 100%);
}
.ai-match-hero {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 17px;
  border-radius: 16px;
  border: 1px solid #e3d7bd;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(201, 162, 39, 0.16), transparent 60%),
    linear-gradient(150deg, #fbf7ec, #f5eddc);
}
.ai-match-hero__orb {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #efe5cd;
  background: linear-gradient(150deg, #1a493d, #0f2a23);
  box-shadow: 0 9px 22px -14px rgba(15, 42, 35, 0.8);
}
.ai-match-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 99px;
  background: #fffdf7;
  border: 1px solid #e5d8b9;
  color: var(--gold-strong);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
}
.ai-match-hero__text h3 {
  margin-top: 7px;
  font-size: 20px;
  letter-spacing: -0.025em;
}
.ai-match-hero__text p {
  margin-top: 4px;
  max-width: 70ch;
  font-size: 12.2px;
  line-height: 1.55;
  color: var(--muted);
}
.ai-match-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.ai-match-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 5px 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 6px 18px -16px rgba(29, 41, 35, 0.4);
}
.ai-match-input:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(23, 59, 50, 0.08);
}
.ai-match-input__icon {
  color: var(--faint);
  display: inline-flex;
  flex: none;
}
.ai-match-input .input {
  flex: 1;
  min-width: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  padding-left: 0;
  font-size: 13.5px;
}
.ai-match-input .input:focus {
  outline: none;
}
.ai-match-input .btn {
  flex: none;
}
.ai-match-examples {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.ai-match-examples__label {
  font-size: 10px;
  color: var(--faint);
  font-weight: 600;
  margin-right: 2px;
}
.ai-match-examples .chip {
  font-size: 10.3px;
  padding: 5px 9px;
  color: var(--muted);
}
.ai-match-history {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10.5px;
  color: var(--faint);
}
.ai-match-history .text-btn {
  font-size: 10.5px;
  color: var(--muted);
}
.ai-match-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 12px 0;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--teal-soft);
  border: 1px solid #d3e2e4;
  font-size: 10.5px;
  line-height: 1.5;
  color: #234a51;
}
.ai-match-disclaimer .icon {
  flex: none;
  margin-top: 1px;
}
.ai-match-start {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 4px 0;
}
.ai-match-start__item {
  display: flex;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}
.ai-match-start__item > span {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-strong);
  flex: none;
  padding-top: 2px;
}
.ai-match-start__item strong {
  font-size: 11.5px;
}
.ai-match-start__item p {
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--muted);
}
.ai-match-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  border: 1px solid #e3d7bd;
  border-radius: 14px;
  background: linear-gradient(150deg, #fbf7ec, #f5eddc);
}
.ai-match-loading__orb {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #efe5cd;
}
.ai-match-loading > div {
  flex: 1;
}
.ai-match-loading .spin {
  color: var(--gold-strong);
}
.ai-match-intent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 13px;
  margin-bottom: 9px;
  border-radius: 11px;
  border: 1px solid #d9e5db;
  background: var(--brand-tint);
}
.ai-match-intent__icon {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand);
}
.ai-match-intent__body {
  flex: 1;
  min-width: 0;
}
.ai-match-intent__eyebrow {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #527063;
}
.ai-match-intent__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.ai-match-intent__tags .tag {
  font-size: 9.5px;
  padding: 3px 7px;
}
.ai-match-intent__check {
  color: var(--ok);
  flex: none;
  margin-top: 2px;
}
.ai-match-results-head__hint {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--gold-strong);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.ai-match-card {
  background:
    radial-gradient(280px 120px at 100% 0%, rgba(201, 162, 39, 0.07), transparent 60%),
    var(--surface) !important;
}
.match-card__pilot {
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 99px;
  border: 1px solid rgba(226, 201, 143, 0.35);
  color: #e2c98f;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.ai-match-card__name-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.ai-match-card__rank {
  padding: 2px 6px;
  border-radius: 99px;
  background: var(--gold-soft);
  color: var(--gold-strong);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.ai-match-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: none;
  min-width: 62px;
}
.ai-match-score__value {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
}
.ai-match-score__label {
  font-size: 8px;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.ai-match-score__bar {
  width: 62px;
  height: 4px;
  border-radius: 99px;
  background: #ece5d8;
  overflow: hidden;
  margin-top: 5px;
}
.ai-match-score__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c9a227, #173b32);
}
.ai-match-reasons {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 7px;
  padding: 0 2px;
}
.ai-match-reasons li {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 10.8px;
  color: var(--muted);
  line-height: 1.45;
}
.ai-match-reasons .icon {
  flex: none;
  margin-top: 1px;
  color: var(--ok);
}
.match-results .ai-match-card .match-card__actions {
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
}
.match-results .ai-match-card .match-card__actions .btn--ghost {
  color: var(--muted);
}
.match-results .ai-match-card .match-card__actions .btn--ghost:hover {
  background: var(--surface-2);
  color: var(--brand);
}
.ai-feedback {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}
.ai-feedback__btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
}
.ai-feedback__btn:hover {
  border-color: #c9d8cd;
  color: var(--brand);
}
.ai-feedback__btn.is-active {
  background: var(--brand-tint);
  border-color: #bcd2c2;
  color: var(--brand);
}
.ai-feedback__btn.is-active.is-negative {
  background: #f9ebe6;
  border-color: #e7c3b7;
  color: #9a4a35;
}
.ai-draft {
  margin-top: 10px;
  padding: 11px;
  border: 1px solid #e3d7bd;
  border-radius: 11px;
  background: linear-gradient(160deg, #fdfaf3, #f8f1e2);
}
.ai-draft__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}
.ai-draft__head > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold-strong);
}
.ai-draft .textarea {
  min-height: 96px;
  font-size: 12px;
  line-height: 1.55;
  background: #fffdf8;
}
.ai-draft__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 7px;
}
.ai-draft__actions .tiny {
  margin-left: auto;
}
.ai-match-me {
  margin-top: 14px;
}
.ai-match-empty {
  margin-top: 4px;
}
@media (max-width: 760px) {
  .ai-match-hero {
    padding: 13px;
  }
  .ai-match-hero__text h3 {
    font-size: 17px;
  }
  .ai-match-input {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: center;
    padding: 10px;
  }
  .ai-match-input .input {
    width: 100%;
    min-height: 34px;
  }
  .ai-match-input .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .ai-match-start {
    grid-template-columns: 1fr;
  }
  .ai-match-score {
    min-width: 56px;
  }
  .ai-match-score__value {
    font-size: 17px;
  }
  .ai-match-score__bar {
    width: 56px;
  }
  .ai-match-intent {
    padding: 9px 10px;
  }
  .ai-match-results-head__hint {
    display: none;
  }
  .ai-feedback {
    margin-left: 0;
  }
  .ai-draft__actions .tiny {
    margin-left: 0;
    flex-basis: 100%;
  }
  .match-modal--ai .modal__panel {
    width: 100%;
  }
}

/* Body lock while the Case Lab presentation is on screen. */
body.is-presenting {
  overflow: hidden;
}


/* ---------------------------------------------------- book your talk */
.talk-booked {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 12px 4px 4px;
  text-align: center;
}
.talk-booked__badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
}
.talk-booked__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
}
.talk-booked__meta {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.5;
}
.talk-booked .small {
  max-width: 42ch;
}

/* ------------------------------------------------ admin: security tab */
.admin-security {
  display: grid;
  gap: 16px;
}
.admin-security__card {
  padding: 18px 20px;
  display: grid;
  gap: 12px;
  min-width: 0;
}
.admin-security__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-security__head > div {
  min-width: 0;
  flex: 1 1 260px;
}
.admin-security__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 1.02rem;
  color: var(--ink);
}
.admin-security__row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-security__upload {
  cursor: pointer;
}
.admin-security__sub {
  margin: 6px 0 0;
  font-size: 0.86rem;
  color: var(--ink-2);
}
.admin-snapshots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  max-height: 260px;
  overflow: auto;
}
.admin-snapshots li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 4px;
  border-bottom: 1px solid var(--line);
}
.data-table--compact td,
.data-table--compact th {
  padding: 7px 10px;
  font-size: 0.82rem;
  vertical-align: top;
}
.data-table--compact td:last-child {
  overflow-wrap: anywhere;
}
.data-table tr.is-warn td {
  background: var(--danger-soft);
}
.nowrap {
  white-space: nowrap;
}

/* ------------------------------------- private community (visitors) */
.landing-private {
  grid-column: 1 / -1;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
}
.landing-private__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}
.landing-private__body {
  min-width: 0;
}
.landing-private__title {
  margin: 0 0 4px;
  font-weight: 600;
  color: var(--ink);
}
.landing-private__text {
  margin: 0;
  color: var(--muted);
}
