:root {
  --bg: #f4f6f1;
  --panel: #ffffff;
  --ink: #18222d;
  --muted: #657281;
  --line: #dce3e8;
  --green: #1f8a70;
  --green-soft: #e0f4ed;
  --blue: #2d6cb3;
  --blue-soft: #e4effb;
  --coral: #d96055;
  --coral-soft: #ffe9e6;
  --amber: #bd7a13;
  --amber-soft: #fff2d4;
  --violet: #6652c4;
  --violet-soft: #ece9ff;
  --shadow: 0 18px 48px rgba(24, 34, 45, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

.hidden {
  display: none !important;
}

.auth-screen {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background: radial-gradient(circle at 20% 20%, #e0f4ed 0, transparent 34%), var(--bg);
}

.auth-panel {
  width: min(760px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.auth-brand {
  margin-bottom: 24px;
  color: var(--ink);
}

.auth-brand .brand span {
  color: var(--muted);
}

.login-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.34fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.demo-users {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.demo-user {
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbf8;
  color: var(--ink);
  text-align: left;
}

.demo-user strong,
.demo-user span {
  display: block;
}

.demo-user span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

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

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #101923;
  color: white;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--green);
  font-weight: 900;
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.main-nav {
  display: grid;
  align-content: start;
  gap: 8px;
  margin-top: 28px;
}

.nav-item {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  font-weight: 760;
}

.nav-item:hover,
.nav-item.active {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.sidebar-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.status-dot {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: #43d19e;
}

.workspace {
  min-width: 0;
  padding: 26px;
}

.workspace-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 7px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 20px;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.muted {
  margin-bottom: 0;
  color: var(--muted);
}

.header-actions,
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.current-user {
  display: grid;
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-align: right;
}

.current-user strong,
.current-user span {
  display: block;
}

.current-user span {
  color: var(--muted);
  font-size: 12px;
}

.primary-button,
.ghost-button,
.icon-button {
  min-height: 40px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-button {
  padding: 0 15px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
}

.ghost-button {
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.ghost-button.compact {
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.locked {
  opacity: 0.64;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.stat-card,
.panel,
.project-card,
.showcase-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.stat-card {
  min-height: 108px;
  padding: 16px;
}

.stat-card strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.two-column,
.jury-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 14px;
  margin-bottom: 14px;
}

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

.ops-item {
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--ink);
  text-align: left;
}

.ops-item small {
  color: var(--muted);
}

.program-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.32fr);
  gap: 14px;
  align-items: end;
  margin-bottom: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #e4effb, #e0f4ed 60%, #fff2d4);
  box-shadow: var(--shadow);
}

.camp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}

.camp-hero > div,
.camp-brief {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.camp-hero > div {
  min-height: 240px;
  background: linear-gradient(135deg, #e4effb, #e0f4ed 58%, #fff2d4);
}

.camp-hero h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.96;
}

.camp-brief {
  display: grid;
  align-content: center;
  gap: 10px;
  background: var(--panel);
}

.camp-brief span {
  color: var(--muted);
}

.day-switcher {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.day-button {
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--ink);
  text-align: left;
}

.day-button b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #edf2f6;
}

.day-button span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.day-button.active {
  border-color: var(--green);
  background: var(--green-soft);
}

.day-button.active b {
  background: var(--green);
  color: white;
}

.day-button:disabled {
  cursor: default;
}

.camp-rituals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.camp-rituals span {
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #255b98;
  font-size: 12px;
  font-weight: 850;
}

.camp-stats {
  margin-top: 14px;
}

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

.camp-team-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.participant-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.32fr);
  gap: 14px;
  margin-bottom: 14px;
}

.participant-hero-main,
.participant-now {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.participant-hero-main {
  min-height: 250px;
  background: var(--panel);
}

.participant-hero-main h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.96;
}

.participant-hero-main p {
  max-width: 760px;
  color: #41515f;
  font-size: 18px;
}

.participant-now {
  display: grid;
  align-content: space-between;
  gap: 12px;
  background: var(--panel);
}

.participant-now span {
  color: var(--muted);
}

.participant-now-media {
  display: grid;
  gap: 4px;
}

.participant-now-media .artifact-thumb {
  min-height: 132px;
  margin-bottom: 0;
}

.participant-now-media small {
  color: var(--muted);
  font-weight: 800;
}

.participant-quick,
.peer-requests,
.participant-project-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.participant-quick span,
.peer-requests span {
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #255b98;
  font-size: 12px;
  font-weight: 850;
}

.participant-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 14px;
  margin-bottom: 14px;
}

.participant-card-wide {
  min-width: 0;
}

.chapter-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.chapter-step,
.pulse-button,
.participant-mini-project {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--ink);
  text-align: left;
}

.chapter-step {
  min-height: 82px;
}

.chapter-step span,
.pulse-button span,
.participant-mini-project small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.chapter-step.done {
  border-color: #b9dfd1;
  background: var(--green-soft);
}

.chapter-step.active,
.pulse-button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.chapter-step.active span,
.pulse-button.active span {
  color: rgba(255, 255, 255, 0.75);
}

.pulse-grid,
.mini-mission-list,
.journey-feed {
  display: grid;
  gap: 8px;
}

.pulse-button {
  min-height: 70px;
}

.mini-mission {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.mini-mission span {
  color: var(--muted);
  font-size: 13px;
}

.mini-mission.done {
  border-color: #b9dfd1;
  background: var(--green-soft);
}

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

.journey-entry {
  display: grid;
  gap: 4px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.journey-entry span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.journey-entry p {
  margin: 0;
  color: var(--muted);
}

.participant-project-row {
  align-items: stretch;
}

.participant-mini-project {
  flex: 1 1 240px;
  min-height: 170px;
}

.participant-mini-project p {
  color: var(--muted);
}

.participant-mini-project.inspiration {
  background: #f8faf7;
}

.project-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 150px;
  border: 1px solid rgba(24, 34, 45, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--photo-a, #d8ecff), var(--photo-b, #e4f7ea) 54%, var(--photo-c, #fff0cf));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.project-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.66), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(24, 34, 45, 0.08));
  pointer-events: none;
}

.project-photo.project-specific {
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.78), transparent 28%),
    linear-gradient(135deg, var(--photo-a, #d8ecff), var(--photo-b, #e4f7ea) 54%, var(--photo-c, #fff0cf));
}

.project-photo.project-specific .photo-object {
  display: none;
}

.project-photo.project-specific .photo-layer.grid {
  opacity: 0.18;
}

.project-photo.project-specific .photo-layer.glow {
  opacity: 0.75;
}

.project-photo.has-real-photo {
  background: #18222d;
  box-shadow: inset 0 -80px 120px rgba(16, 25, 35, 0.42);
}

.project-photo.has-real-photo::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(16, 25, 35, 0.12), rgba(16, 25, 35, 0.32) 48%, rgba(16, 25, 35, 0.76)),
    linear-gradient(90deg, rgba(16, 25, 35, 0.58), transparent 58%);
}

.project-photo.has-real-photo .photo-layer,
.project-photo.has-real-photo .photo-object {
  display: none;
}

.project-photo.has-real-photo .photo-scene {
  display: none;
}

.project-photo.has-real-photo .project-photo-image.is-hidden + .photo-scene {
  display: block;
  z-index: 0;
  opacity: 0.62;
}

.project-photo-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.04);
  transform: scale(1.01);
}

.project-photo-image.is-hidden {
  display: none;
}

.project-illustration {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.project-photo.project-specific .photo-caption,
.project-photo.project-specific .photo-chips {
  z-index: 2;
}

.project-photo.project-specific .photo-caption {
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(8px);
}

.project-photo.has-real-photo .photo-caption {
  top: auto;
  bottom: 45px;
  z-index: 2;
  max-width: calc(100% - 28px);
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(16, 25, 35, 0.62);
  box-shadow: 0 10px 28px rgba(16, 25, 35, 0.24);
  backdrop-filter: blur(8px);
}

.project-photo.has-real-photo .photo-caption span,
.project-photo.has-real-photo .photo-caption strong {
  color: white;
}

.project-photo.has-real-photo .photo-caption span {
  opacity: 0.74;
}

.project-photo.project-specific .photo-chips b {
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 20px rgba(24, 34, 45, 0.08);
}

.project-photo.has-real-photo .photo-chips {
  z-index: 2;
}

.project-photo.has-real-photo .photo-chips b {
  background: rgba(255, 255, 255, 0.88);
  color: rgba(16, 25, 35, 0.78);
}

.cover-robot-rescue {
  --photo-a: #dff4ff;
  --photo-b: #e0f4ed;
  --photo-c: #fff2d4;
}

.cover-english-newsroom {
  --photo-a: #e4effb;
  --photo-b: #fff2d4;
  --photo-c: #e0f4ed;
}

.cover-hashtag-daily {
  --photo-a: #ffe9e6;
  --photo-b: #ece9ff;
  --photo-c: #e0f4ed;
}

.cover-dance-stage {
  --photo-a: #f1e7ff;
  --photo-b: #ffe8ee;
  --photo-c: #e4effb;
}

.cover-cinema-trailer {
  --photo-a: #dfe7ee;
  --photo-b: #ffe3d6;
  --photo-c: #e4effb;
}

.cover-art-navigation {
  --photo-a: #fff0b8;
  --photo-b: #ffd8e4;
  --photo-c: #dff3ff;
}

.cover-camp-care {
  --photo-a: #e3f7d7;
  --photo-b: #dff1ff;
  --photo-c: #fff2d4;
}

.cover-ai-story-game {
  --photo-a: #ece9ff;
  --photo-b: #dff4ff;
  --photo-c: #e9f7df;
}

.project-photo.hero {
  aspect-ratio: 21 / 9;
  min-height: 230px;
  margin-bottom: 18px;
}

.project-photo.card {
  aspect-ratio: 16 / 9;
  min-height: 160px;
  margin: 12px 0;
}

.project-photo.showcase {
  aspect-ratio: 16 / 9;
  min-height: 170px;
  border: 0;
  border-radius: 0;
}

.project-photo.detail {
  aspect-ratio: 21 / 9;
  min-height: 240px;
  margin-bottom: 18px;
}

.project-photo.mini {
  aspect-ratio: 16 / 9;
  min-height: 92px;
  margin-bottom: 8px;
}

.photo-layer,
.photo-object,
.photo-caption,
.photo-chips {
  position: absolute;
}

.photo-layer.grid {
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.45;
}

.photo-layer.glow {
  width: 58%;
  height: 72%;
  right: -12%;
  top: -16%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  filter: blur(4px);
}

.photo-object {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 36px rgba(24, 34, 45, 0.13);
}

.photo-object.object-a {
  width: 35%;
  height: 42%;
  left: 10%;
  bottom: 16%;
  transform: rotate(-4deg);
}

.photo-object.object-b {
  width: 26%;
  height: 30%;
  right: 14%;
  bottom: 22%;
  transform: rotate(7deg);
}

.photo-object.object-c {
  width: 18%;
  height: 18%;
  left: 46%;
  top: 18%;
  border-radius: 999px;
  background: rgba(24, 34, 45, 0.78);
}

.photo-scene {
  position: absolute;
  inset: 0;
}

.scene-piece {
  position: absolute;
  display: block;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 28px rgba(24, 34, 45, 0.12);
}

.scene-robotics .scene-a {
  width: 28%;
  height: 24%;
  left: 17%;
  bottom: 26%;
  border: 8px solid rgba(24, 34, 45, 0.82);
  background: transparent;
}

.scene-robotics .scene-b,
.scene-robotics .scene-c {
  width: 28px;
  height: 28px;
  bottom: 17%;
  border-radius: 999px;
  background: #18222d;
}

.scene-robotics .scene-b {
  left: 18%;
}

.scene-robotics .scene-c {
  left: 39%;
}

.scene-robotics .scene-d {
  width: 23%;
  height: 8px;
  right: 15%;
  bottom: 39%;
  transform: rotate(-14deg);
  background: rgba(24, 34, 45, 0.74);
}

.scene-robotics .scene-e {
  width: 36px;
  height: 36px;
  right: 14%;
  bottom: 22%;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
}

.scene-english .scene-a,
.scene-english .scene-b {
  width: 34%;
  height: 34%;
  left: 13%;
  bottom: 22%;
  border-radius: 16px 16px 16px 4px;
}

.scene-english .scene-b {
  left: auto;
  right: 12%;
  bottom: 33%;
  width: 28%;
  height: 28%;
  border-radius: 16px 16px 4px;
  background: rgba(24, 34, 45, 0.82);
}

.scene-english .scene-c,
.scene-english .scene-d,
.scene-english .scene-e {
  left: 18%;
  width: 22%;
  height: 5px;
  border-radius: 999px;
  background: rgba(37, 91, 152, 0.36);
}

.scene-english .scene-c {
  bottom: 45%;
}

.scene-english .scene-d {
  bottom: 38%;
}

.scene-english .scene-e {
  bottom: 31%;
}

.scene-blogging .scene-a,
.scene-cinema .scene-a {
  width: 42%;
  height: 34%;
  left: 13%;
  bottom: 25%;
  border-radius: 18px;
  background: #18222d;
}

.scene-blogging .scene-a::after,
.scene-cinema .scene-a::after {
  content: "";
  position: absolute;
  inset: 20% 30%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.scene-blogging .scene-b,
.scene-cinema .scene-b {
  width: 18%;
  height: 8%;
  left: 18%;
  bottom: 58%;
}

.scene-blogging .scene-c,
.scene-cinema .scene-c {
  width: 8%;
  height: 8%;
  left: 45%;
  bottom: 59%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.scene-blogging .scene-d,
.scene-cinema .scene-d {
  width: 27%;
  height: 37%;
  right: 13%;
  bottom: 21%;
  transform: rotate(7deg);
}

.scene-blogging .scene-e,
.scene-cinema .scene-e {
  width: 16%;
  height: 5px;
  right: 18%;
  bottom: 48%;
  border-radius: 999px;
  background: rgba(24, 34, 45, 0.48);
}

.scene-dance .scene-a {
  width: 70%;
  height: 15%;
  left: 15%;
  bottom: 18%;
  border-radius: 999px 999px 12px 12px;
  background: rgba(24, 34, 45, 0.78);
}

.scene-dance .scene-b,
.scene-dance .scene-c,
.scene-dance .scene-d {
  width: 7%;
  height: 42%;
  bottom: 27%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.scene-dance .scene-b {
  left: 28%;
  transform: rotate(16deg);
}

.scene-dance .scene-c {
  left: 49%;
  transform: rotate(-8deg);
}

.scene-dance .scene-d {
  left: 65%;
  transform: rotate(12deg);
}

.scene-dance .scene-e {
  width: 11%;
  height: 11%;
  left: 52%;
  top: 24%;
  border-radius: 999px;
  background: rgba(24, 34, 45, 0.78);
}

.scene-startup .scene-a {
  width: 46%;
  height: 44%;
  left: 12%;
  bottom: 20%;
  border-radius: 16px;
  background: #18222d;
}

.scene-startup .scene-a::before,
.scene-startup .scene-a::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.scene-startup .scene-a::before {
  top: 22%;
}

.scene-startup .scene-a::after {
  top: 44%;
  right: 32%;
}

.scene-startup .scene-b {
  width: 26%;
  height: 32%;
  right: 13%;
  bottom: 31%;
}

.scene-startup .scene-c,
.scene-startup .scene-d,
.scene-startup .scene-e {
  width: 8%;
  height: 8%;
  right: 30%;
  bottom: 45%;
  border-radius: 999px;
  background: rgba(31, 138, 112, 0.86);
}

.scene-startup .scene-d {
  right: 21%;
  bottom: 45%;
  background: rgba(37, 91, 152, 0.72);
}

.scene-startup .scene-e {
  right: 25%;
  bottom: 35%;
  background: rgba(255, 195, 89, 0.92);
}

.scene-art .scene-a,
.scene-art .scene-b,
.scene-art .scene-c {
  width: 26%;
  height: 35%;
  bottom: 23%;
  transform: rotate(-8deg);
}

.scene-art .scene-a {
  left: 12%;
  background: rgba(255, 255, 255, 0.9);
}

.scene-art .scene-b {
  left: 32%;
  transform: rotate(5deg);
  background: rgba(255, 216, 228, 0.92);
}

.scene-art .scene-c {
  left: 51%;
  transform: rotate(12deg);
  background: rgba(223, 243, 255, 0.92);
}

.scene-art .scene-d,
.scene-art .scene-e {
  width: 16%;
  height: 16%;
  right: 12%;
  border-radius: 999px;
}

.scene-art .scene-d {
  bottom: 45%;
  background: rgba(31, 138, 112, 0.76);
}

.scene-art .scene-e {
  bottom: 25%;
  background: rgba(255, 195, 89, 0.92);
}

.scene-active .scene-a {
  width: 64%;
  height: 5px;
  left: 18%;
  bottom: 45%;
  transform: rotate(-18deg);
  border-radius: 999px;
  background: rgba(24, 34, 45, 0.68);
}

.scene-active .scene-b,
.scene-active .scene-c,
.scene-active .scene-d,
.scene-active .scene-e {
  width: 13%;
  height: 13%;
  border-radius: 999px;
}

.scene-active .scene-b {
  left: 15%;
  bottom: 32%;
  background: rgba(255, 255, 255, 0.9);
}

.scene-active .scene-c {
  left: 38%;
  bottom: 46%;
  background: rgba(31, 138, 112, 0.82);
}

.scene-active .scene-d {
  left: 60%;
  bottom: 37%;
  background: rgba(255, 195, 89, 0.94);
}

.scene-active .scene-e {
  left: 75%;
  bottom: 55%;
  background: rgba(37, 91, 152, 0.72);
}

.photo-caption {
  left: 14px;
  top: 12px;
  display: grid;
  gap: 2px;
}

.photo-caption span {
  color: rgba(24, 34, 45, 0.62);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.photo-caption strong {
  max-width: 180px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.05;
}

.photo-chips {
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.photo-chips b {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(24, 34, 45, 0.72);
  font-size: 11px;
}

.project-photo.mini .photo-caption strong,
.project-photo.mini .photo-chips {
  display: none;
}

.photo-robotics {
  --photo-a: #d8e7ff;
  --photo-b: #e6f7f0;
  --photo-c: #f7f0c7;
}

.photo-english {
  --photo-a: #e6efff;
  --photo-b: #fff2d4;
  --photo-c: #e0f4ed;
}

.photo-blogging {
  --photo-a: #ffe3dd;
  --photo-b: #e7edff;
  --photo-c: #e0f4ed;
}

.photo-dance {
  --photo-a: #f1e7ff;
  --photo-b: #ffe8ee;
  --photo-c: #e4effb;
}

.photo-startup {
  --photo-a: #dff4ff;
  --photo-b: #e9f7df;
  --photo-c: #fdf0cf;
}

.photo-cinema {
  --photo-a: #dfe7ee;
  --photo-b: #ffe3d6;
  --photo-c: #dfeaff;
}

.photo-art {
  --photo-a: #fff0b8;
  --photo-b: #ffd8e4;
  --photo-c: #dff3ff;
}

.photo-active {
  --photo-a: #e3f7d7;
  --photo-b: #dff1ff;
  --photo-c: #fff1c8;
}

.artifact-thumb {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 5px;
  min-height: 92px;
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--photo-a), var(--photo-b) 60%, var(--photo-c));
}

.artifact-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.64), transparent 24%),
    linear-gradient(180deg, transparent, rgba(24, 34, 45, 0.07));
}

.artifact-thumb span {
  color: rgba(24, 34, 45, 0.62);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.artifact-thumb b {
  color: rgba(24, 34, 45, 0.74);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
}

.uploaded-image-thumb {
  align-content: end;
}

.uploaded-image-thumb img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04);
}

.visual-image-thumb {
  background: #18222d;
}

.visual-image-thumb img {
  filter: saturate(1.02) contrast(1.04);
}

.uploaded-image-thumb::before,
.visual-image-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(16, 25, 35, 0.02), rgba(16, 25, 35, 0.66)),
    linear-gradient(90deg, rgba(16, 25, 35, 0.44), transparent 62%);
}

.uploaded-image-thumb span,
.uploaded-image-thumb b,
.visual-image-thumb span,
.visual-image-thumb b {
  position: relative;
  z-index: 2;
  width: max-content;
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);
}

.visual-image-thumb b {
  background: rgba(16, 25, 35, 0.78);
  color: white;
}

.artifact-preview {
  position: absolute;
  inset: 11px 12px 38px;
  border-radius: 8px;
}

.artifact-preview i,
.artifact-preview b {
  position: absolute;
  display: block;
  font-style: normal;
}

.video-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.video-preview i {
  position: static;
  border-radius: 7px;
  background: rgba(24, 34, 45, 0.78);
}

.video-preview b {
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 24px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: rgba(24, 34, 45, 0.74);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.photo-preview i {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(24, 34, 45, 0.14);
}

.photo-preview i:nth-child(1) {
  inset: 6% 52% 10% 0;
  transform: rotate(-7deg);
}

.photo-preview i:nth-child(2) {
  inset: 0 24% 12% 24%;
  transform: rotate(4deg);
}

.photo-preview i:nth-child(3) {
  inset: 15% 0 0 52%;
  transform: rotate(9deg);
}

.slides-preview {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(24, 34, 45, 0.12);
}

.slides-preview i {
  left: 12%;
  right: 12%;
  height: 6px;
  border-radius: 999px;
  background: rgba(24, 34, 45, 0.22);
}

.slides-preview i:nth-child(1) {
  top: 18%;
  right: 42%;
  height: 9px;
  background: rgba(24, 34, 45, 0.62);
}

.slides-preview i:nth-child(2) {
  top: 43%;
}

.slides-preview i:nth-child(3) {
  top: 59%;
  right: 28%;
}

.slides-preview i:nth-child(4) {
  top: 75%;
  right: 48%;
}

.code-preview {
  display: grid;
  gap: 4px;
  padding: 8px;
  background: #18222d;
  box-shadow: 0 12px 28px rgba(24, 34, 45, 0.16);
}

.code-preview i {
  position: static;
  overflow: hidden;
  color: #dfeae6;
  font-size: 10px;
  line-height: 1.1;
  white-space: nowrap;
}

.text-preview,
.link-preview {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(24, 34, 45, 0.12);
}

.text-preview i,
.link-preview i {
  left: 12%;
  height: 5px;
  border-radius: 999px;
  background: rgba(24, 34, 45, 0.22);
}

.text-preview i:nth-child(1) {
  top: 18%;
  right: 18%;
}

.text-preview i:nth-child(2) {
  top: 36%;
  right: 28%;
}

.text-preview i:nth-child(3) {
  top: 54%;
  right: 12%;
}

.text-preview i:nth-child(4) {
  top: 72%;
  right: 45%;
}

.link-preview {
  border-top: 12px solid rgba(24, 34, 45, 0.74);
}

.link-preview i:nth-child(1) {
  top: 28%;
  right: 18%;
}

.link-preview i:nth-child(2) {
  top: 50%;
  right: 34%;
}

.link-preview i:nth-child(3) {
  top: 70%;
  right: 12%;
}

.program-hero h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.98;
}

.template-grid,
.direction-grid,
.policy-list,
.timeline {
  display: grid;
  gap: 10px;
}

.template-card,
.policy-list div,
.timeline-item {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.template-card.active {
  border-color: var(--green);
  background: var(--green-soft);
}

.template-card span,
.template-card small,
.policy-list span {
  color: var(--muted);
}

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

.track-guide {
  display: grid;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.track-guide.compact {
  gap: 5px;
  margin: 8px 0;
  background: #f8faf7;
}

.track-guide.compact strong,
.track-guide.compact span {
  display: block;
}

.track-guide.compact span {
  color: var(--muted);
  font-size: 13px;
}

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

.guide-columns section {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  border: 0;
}

.guide-columns strong {
  flex-basis: 100%;
}

.guide-columns span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #255b98;
  font-size: 12px;
  font-weight: 850;
}

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

.timeline-item b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.panel {
  padding: 16px;
}

.panel-head,
.showcase-head,
.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #255b98;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.pill.warning {
  background: var(--amber-soft);
  color: #80530c;
}

.pill.good {
  background: var(--green-soft);
  color: #13634f;
}

.pill.bad {
  background: var(--coral-soft);
  color: #963b33;
}

.stage-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 8px;
}

.stage-col {
  min-height: 130px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
}

.stage-col strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.mini-project {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  font-size: 13px;
}

.mini-project + .mini-project {
  margin-top: 7px;
}

.review-queue,
.qa-checks,
.audit-log,
.leaderboard {
  display: grid;
  gap: 9px;
}

.queue-item,
.qa-item,
.audit-item,
.leader-row {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.leader-row {
  grid-template-columns: 42px 1fr auto;
  align-items: center;
}

button.leader-row {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfcfa;
  color: var(--ink);
  text-align: left;
}

.leader-rank {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(160px, 0.24fr));
  gap: 10px;
  margin-bottom: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
}

input,
select {
  min-height: 42px;
  padding: 0 11px;
}

textarea {
  padding: 11px;
  resize: vertical;
}

.project-work-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  gap: 12px;
}

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

.project-workspace {
  position: sticky;
  top: 20px;
  align-self: start;
}

.project-card {
  padding: 16px;
}

.clickable-card {
  cursor: pointer;
}

.clickable-card:hover {
  border-color: #b8c6d0;
  transform: translateY(-1px);
  transition: border-color 140ms ease, transform 140ms ease;
}

.clickable-card:focus {
  outline: 3px solid rgba(31, 138, 112, 0.28);
  outline-offset: 2px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
}

.project-summary {
  min-height: 46px;
  color: var(--muted);
}

.project-cover-mini {
  display: grid;
  gap: 6px;
  min-height: 78px;
  margin: 12px 0;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-soft), var(--green-soft));
}

.project-cover-mini span {
  color: #255b98;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.project-cover-mini strong {
  align-self: end;
}

.mission-strip {
  display: grid;
  gap: 7px;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.mission-strip div,
.consent-strip,
.support-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mission-strip span,
.consent-strip span,
.support-line span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf2f6;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.mission-strip span.done,
.consent-strip span.ok {
  background: var(--green-soft);
  color: #13634f;
}

.consent-strip span.miss {
  background: var(--amber-soft);
  color: #80530c;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.compact-actions {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.small-button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbf8;
  color: var(--ink);
  font-weight: 760;
}

.small-button.danger {
  background: var(--coral-soft);
  color: #963b33;
}

.small-button.good {
  background: var(--green-soft);
  color: #13634f;
}

.jury-form,
.criteria-inputs,
.form-grid {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.field-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.file-field input[type="file"] {
  min-height: 44px;
  padding: 9px;
}

.file-preview {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px dashed #b8c6d0;
  border-radius: 8px;
  background: #fbfcfa;
}

.file-preview strong {
  color: var(--ink);
}

.file-preview span {
  color: var(--muted);
  font-size: 12px;
}

.file-preview.warning {
  border-color: #e4b9b4;
  background: var(--coral-soft);
}

.criterion-line {
  display: grid;
  grid-template-columns: 1fr 74px;
  gap: 10px;
  align-items: center;
}

input[type="range"] {
  padding: 0;
}

.protocol-output {
  min-height: 330px;
  max-height: 460px;
  overflow: auto;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101923;
  color: #dfeae6;
  font-size: 12px;
}

.showcase-head {
  margin-bottom: 14px;
}

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

.showcase-card {
  overflow: hidden;
}

.project-art {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
  height: 118px;
  padding: 12px;
  background: linear-gradient(135deg, var(--blue-soft), var(--green-soft));
}

.project-art span {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.showcase-body {
  padding: 15px;
}

.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.28fr);
  gap: 14px;
  margin-bottom: 14px;
}

.detail-cover,
.detail-side,
.detail-main {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.detail-cover {
  min-height: 280px;
  padding: 24px;
  background: linear-gradient(135deg, #e4effb, #e0f4ed 58%, #fff2d4);
}

.detail-cover > span {
  color: #255b98;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-cover h2 {
  max-width: 780px;
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.96;
}

.detail-cover p {
  max-width: 720px;
  color: #41515f;
  font-size: 18px;
}

.detail-side {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}

.metric-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metric-stack div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.metric-stack strong {
  font-size: 24px;
}

.metric-stack span {
  color: var(--muted);
  font-size: 12px;
}

.detail-main {
  padding: 18px;
}

.detail-actions {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.score-line {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.progress-wrap {
  display: grid;
  gap: 7px;
  margin: 12px 0;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.progress-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf1;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.next-action {
  display: grid;
  gap: 4px;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--amber-soft);
}

.next-action.large {
  margin: 14px 0;
}

.next-action span {
  color: #6c4709;
}

.workspace-card {
  box-shadow: var(--shadow);
}

.project-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.tab-button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbf8;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.tab-button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.project-story {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.project-story section {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-cloud span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #255b98;
  font-size: 12px;
  font-weight: 850;
}

.tag-cloud .badge-tag {
  background: var(--amber-soft);
  color: #80530c;
}

.task-board,
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.task-card,
.mission-card,
.method-card {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.task-card span,
.mission-card span,
.method-card span {
  color: var(--muted);
  font-size: 13px;
}

.task-card.done,
.mission-card.done {
  border-color: #b9dfd1;
  background: var(--green-soft);
}

.task-card.doing {
  border-color: #efdca9;
  background: var(--amber-soft);
}

.artifact-panel {
  margin-top: 14px;
}

.panel-head.inner {
  margin-bottom: 10px;
}

.artifact-grid {
  display: grid;
  gap: 9px;
}

.media-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.media-preview-card {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.media-preview-card .artifact-thumb {
  min-height: 110px;
  margin-bottom: 2px;
}

.media-preview-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-preview-card span {
  color: var(--muted);
  font-size: 12px;
}

.artifact-card {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--ink);
  text-decoration: none;
}

.artifact-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.artifact-card p,
.artifact-card small {
  margin: 0;
  color: var(--muted);
}

.stage-guide,
.submission-box {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.checklist {
  display: grid;
  gap: 8px;
}

.check-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.check-item span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #edf2f6;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.check-item.done span {
  background: var(--green);
  color: white;
}

.comments-preview {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.comments-preview span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
}

.comments-preview.expanded {
  margin-top: 0;
}

.artifact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.artifact-chip {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: #4d399b;
  font-size: 12px;
  font-weight: 850;
}

.muted-chip {
  background: #edf2f6;
  color: var(--muted);
}

.template-steps {
  display: grid;
  gap: 7px;
}

.template-steps span {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--muted);
}

.dialog {
  width: min(720px, calc(100% - 24px));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dialog::backdrop {
  background: rgba(16, 25, 35, 0.45);
}

.dialog form {
  margin: 0;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

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

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

.form-errors {
  min-height: 22px;
  margin-top: 10px;
  color: var(--coral);
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: none;
  max-width: 360px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.toast.show {
  display: block;
}

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

.role-card {
  min-height: 170px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.person-row {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.person-row span {
  color: var(--muted);
  font-size: 13px;
}

.opportunity-list {
  display: grid;
  gap: 10px;
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .main-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .sidebar-note {
    margin-top: 14px;
  }

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

  .two-column,
  .jury-layout,
  .project-list,
  .project-work-layout,
  .project-detail-hero,
  .camp-hero,
  .participant-hero,
  .participant-grid,
  .day-switcher,
  .camp-team-list,
  .program-hero,
  .ops-board,
  .timeline,
  .direction-grid,
  .guide-columns,
  .chapter-map,
  .participant-artifacts,
  .media-preview-grid,
  .task-board,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .project-workspace {
    position: static;
  }
}

@media (max-width: 760px) {
  .workspace {
    padding: 16px;
  }

  .workspace-header,
  .panel-head,
  .showcase-head {
    display: grid;
  }

  .main-nav,
  .stats-grid,
  .stage-board,
  .filters,
  .showcase-grid,
  .form-grid,
  .login-form,
  .demo-users,
  .people-grid {
    grid-template-columns: 1fr;
  }

  .header-actions,
  .dialog-actions {
    justify-content: flex-start;
  }

  .leader-row {
    grid-template-columns: 1fr;
  }
}
