﻿:root {
  --bg: #f7f9fc;
  --panel: #ffffff;
  --ink: #0b1220;
  --muted: #47536b;
  --line: #e2e8f0;
  --blue: #2563eb;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --cyan: #0891b2;
  --green: #059669;
  --amber: #d97706;
  --red: #dc2626;
  --shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at top left, rgba(37,99,235,.08), transparent 34rem), var(--bg);
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", "Segoe UI", Arial, sans-serif;
  line-height: 1.68;
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 280px minmax(0, 1fr); }
.topbar {
  position: sticky; top: 0; z-index: 20;
  grid-column: 1 / -1;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-logo { height: 38px; width: auto; object-fit: contain; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 8px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { height: 32px; width: auto; object-fit: contain; }
.top-meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: #334155; font-size: 13px;
}
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--green); }
.pill-home {
  text-decoration: none; font-weight: 700; color: #7a5c00;
  background: linear-gradient(135deg, #f8e9bf, #efd68a);
  border-color: #e2c76a; transition: .18s;
}
.pill-home:hover { filter: brightness(1.03); box-shadow: 0 4px 12px rgba(201,168,76,.3); transform: translateY(-1px); }

.sidebar {
  position: sticky; top: 68px; height: calc(100vh - 68px);
  padding: 22px 16px; overflow: auto;
  background: rgba(255,255,255,.7); border-right: 1px solid var(--line);
}
.nav-section { margin-bottom: 18px; }
.nav-title {
  padding: 0 12px 8px; color: #94a3b8; font-size: 12px; font-weight: 800;
  text-transform: uppercase;
}
.nav-link {
  display: flex; align-items: center; gap: 10px;
  min-height: 38px; padding: 8px 12px; border-radius: 8px;
  color: #334155; font-size: 14px;
}
.nav-link:hover, .nav-link.active { background: #eef4ff; color: var(--blue); }
.nav-num {
  width: 20px; height: 20px; display: grid; place-items: center;
  border-radius: 6px; background: #f1f5f9; color: #64748b; font-size: 12px; font-weight: 800;
}
.nav-link.active .nav-num { background: var(--blue); color: #fff; }

.main { min-width: 0; padding: 30px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.hero {
  min-height: calc(100vh - 68px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 38px; align-items: center;
  padding: 42px 38px;
}
.hero h1, .page-title h1 { margin: 0; line-height: 1.12; letter-spacing: 0; }
.hero h1 { font-size: clamp(42px, 6.5vw, 84px); max-width: 930px; }
.hero p { max-width: 760px; color: var(--muted); font-size: 17px; }
.hero-media {
  min-height: 560px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(8,145,178,.08)), #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.hero-media img:not(.hero-cover) { width: 100%; height: 100%; object-fit: cover; }
.hero-diagram { padding: 32px; display: grid; gap: 16px; width: 100%; }
.diagram-row { display: grid; grid-template-columns: 1fr 32px 1fr; align-items: center; gap: 12px; }
.diagram-node {
  min-height: 86px; padding: 16px; border-radius: 8px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(15,23,42,.06);
}
.diagram-arrow { color: var(--blue); font-weight: 900; text-align: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-weight: 800;
}
.btn.primary { background: linear-gradient(135deg, var(--blue), var(--indigo)); border-color: transparent; color: #fff; }
.btn.ghost { background: transparent; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(37,99,235,.22); outline-offset: 2px;
}

.page-title {
  margin-bottom: 22px; padding: 26px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; box-shadow: var(--shadow);
}
.page-title h1 { font-size: 34px; }
.page-title p { margin: 10px 0 0; color: var(--muted); }
.kicker { color: var(--blue); font-weight: 900; font-size: 12px; margin-bottom: 8px; }
.content-card, .side-card, .form-card, .metric-card, .slide-card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.content-card, .side-card { padding: 22px; margin-bottom: 18px; }
.side-card { position: sticky; top: 92px; }
.side-card h3, .content-card h2, .form-card h3 { margin: 0 0 12px; }
.muted { color: var(--muted); }
.section-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.metric-card { padding: 18px; }
.metric-card strong { display: block; font-size: 28px; line-height: 1.2; }
.metric-card span { color: var(--muted); font-size: 13px; }
.progress { height: 10px; background: #e8eef7; border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); }

.form-card { padding: 18px; margin-bottom: 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: #475569; font-weight: 800; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fbfdff;
  color: var(--ink); padding: 11px 12px;
}
.field textarea { min-height: 92px; resize: vertical; }
.field textarea.tall { min-height: 150px; }
.form-actions {
  position: sticky; bottom: 0; z-index: 10;
  display: flex; gap: 10px; justify-content: flex-end; padding: 14px 0 0;
  background: linear-gradient(180deg, transparent, var(--bg) 24%);
}
.saved { color: var(--green); font-size: 13px; font-weight: 800; margin-right: auto; align-self: center; }

.table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 8px; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 11px 10px; text-align: left; vertical-align: top; }
.table th { background: #f8fafc; color: #475569; font-size: 13px; }
.tag { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: #eef4ff; color: var(--blue); font-weight: 800; font-size: 12px; }
.status-done { color: var(--green); }
.status-warn { color: var(--amber); }
.status-risk { color: var(--red); }

.slide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.slide-card { min-height: 220px; padding: 18px; display: flex; flex-direction: column; }
.slide-card h3 { margin: 0 0 10px; color: var(--blue); }
.slide-card .message { margin-top: auto; padding-top: 12px; color: #334155; font-weight: 800; border-top: 1px solid var(--line); }
.presentation { padding: 24px; }
.presentation .slide-card { min-height: calc(100vh - 150px); font-size: 22px; }

.checklist { display: grid; gap: 9px; }
.check-item { display: flex; gap: 10px; align-items: flex-start; color: #334155; }
.check-item input { margin-top: 5px; }
.resource-list { display: grid; gap: 10px; }
.resource { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfdff; }

@media (max-width: 1080px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .main { padding: 22px; }
  .page-grid, .hero { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .metric-grid, .section-grid, .slide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar { height: auto; min-height: 64px; padding: 12px 16px; align-items: flex-start; gap: 10px; flex-direction: column; }
  .sidebar { top: 0; grid-template-columns: 1fr; padding: 12px; }
  .main { padding: 14px; }
  .hero { padding: 22px 16px; }
  .hero h1 { font-size: 40px; }
  .hero-media { min-height: 360px; }
  .top-meta { flex-wrap: wrap; }
}

@media print {
  .topbar, .sidebar, .form-actions, .side-card { display: none !important; }
  .app-shell { display: block; }
  .main { padding: 0; }
  .slide-grid { display: block; }
  .slide-card { page-break-after: always; min-height: 90vh; box-shadow: none; }
}

/* Premium readability and color system */
:root {
  --bg-base: #fbfcff;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --surface-soft: #f8fafc;
  --surface-tint: #f1f6f4;
  --surface-warm: #fff8ed;
  --ink: #07111f;
  --text-primary: #07111f;
  --text-secondary: #182230;
  --text-tertiary: #344054;
  --text-muted: #475467;
  --text-disabled: #98a2b3;
  --line: #cfd8e3;
  --line-strong: #a9b8c8;
  --blue: #1d4ed8;
  --indigo: #3730a3;
  --violet: #6d28d9;
  --cyan: #047d95;
  --green: #047857;
  --amber: #b45309;
  --red: #b42318;
  --gold: #b7791f;
  --plum: #7e2f5d;
  --shadow: 0 18px 46px rgba(7, 17, 31, .10);
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(29, 78, 216, .09), transparent 31rem),
    linear-gradient(180deg, var(--bg-base), var(--bg));
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, .page-title h1, .hero h1 { color: var(--text-primary); font-weight: 900; }
h3, h4, strong { color: var(--text-secondary); }
p, li, td, .check-item, .resource { color: var(--text-secondary); }
.muted, .top-meta, .metric-card span { color: var(--text-muted); }
::placeholder { color: var(--text-muted); }

.topbar {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(7, 17, 31, .05);
}
.brand { color: var(--text-primary); }
.brand-mark { background: linear-gradient(135deg, var(--blue), var(--plum)); }
.pill { color: var(--text-tertiary); border-color: var(--line); background: var(--panel); font-weight: 750; }
.sidebar {
  background: linear-gradient(180deg, rgba(251,252,255,.96) 0%, rgba(240,245,255,.92) 100%);
  border-right: 1px solid rgba(37,99,235,.08);
}
.nav-title {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  padding: 6px 12px 8px;
  margin-top: 4px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(124,58,237,.04));
}
.nav-link {
  color: var(--text-tertiary);
  font-weight: 720;
  border-left: 3px solid transparent;
  transition: all .2s ease;
  margin-bottom: 2px;
}
.nav-link:hover {
  background: linear-gradient(135deg, #eef4ff 0%, #f0f7ff 100%);
  color: var(--blue);
  border-left-color: var(--blue);
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(37,99,235,.06);
}
.nav-link.active {
  background: linear-gradient(135deg, #dbeafe 0%, #e8f0fe 100%);
  color: var(--blue);
  border-left-color: var(--indigo);
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(37,99,235,.10);
}
.nav-num {
  background: linear-gradient(135deg, #e8eef7, #f1f5f9);
  color: var(--muted);
  border: 1px solid rgba(37,99,235,.08);
  transition: all .2s ease;
}
.nav-link:hover .nav-num {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  border-color: transparent;
}
.nav-link.active .nav-num {
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(37,99,235,.20);
}

.team-switcher {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
}
.team-chip {
  min-width: 44px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.team-chip:hover { background: #e8eef7; color: var(--blue); }
.team-chip.active {
  background: linear-gradient(135deg, var(--blue), var(--plum));
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(29, 78, 216, .24);
}

.hero p { color: var(--text-tertiary); font-size: 18px; font-weight: 560; }
.kicker { color: var(--plum); letter-spacing: .04em; }
.page-title, .content-card, .side-card, .form-card, .metric-card, .slide-card {
  background: var(--panel);
  border-color: var(--line);
  box-shadow: 0 14px 34px rgba(7, 17, 31, .07);
}
.page-title p { color: var(--text-tertiary); font-size: 16px; font-weight: 560; }
.content-card h2, .form-card h3, .side-card h3 { color: var(--text-primary); font-weight: 900; }

.field label, .table th {
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 900;
}
.field input, .field textarea, .field select {
  background: #ffffff;
  color: var(--text-primary);
  border-color: var(--line-strong);
  font-size: 15px;
  line-height: 1.62;
  font-weight: 560;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: #8ea2ba; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, .14);
}

.btn {
  color: var(--text-primary);
  border-color: var(--line-strong);
  background: #ffffff;
  font-weight: 900;
}
.btn.primary { background: linear-gradient(135deg, var(--blue), var(--plum)); color: #ffffff; }
.btn.ghost { color: var(--blue); background: #edf5ff; }

.table th { background: var(--surface-soft); }
.table td { color: var(--text-secondary); }
.tag { background: #eef6f3; color: var(--green); }
.status-done { color: var(--green); font-weight: 900; }
.status-warn { color: var(--amber); font-weight: 900; }
.status-risk { color: var(--red); font-weight: 900; }
.slide-card h3 { color: var(--blue); font-weight: 900; }
.slide-card .message { color: var(--text-primary); border-top-color: var(--line); }
.resource { background: var(--surface-soft); border-color: var(--line); }

.site-footer {
  margin-top: 34px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f7fafc 58%, #fff8ed);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 14px 34px rgba(7, 17, 31, .06);
}
.site-footer strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 4px;
}
.site-footer span { font-size: 13px; font-weight: 650; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.footer-meta span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .top-meta { width: 100%; flex-wrap: wrap; }
  .team-switcher { order: 5; }
  .site-footer { flex-direction: column; }
  .footer-meta { justify-content: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .team-switcher { width: 100%; justify-content: space-between; }
  .team-chip { flex: 1; }
  .site-footer { padding: 18px; }
}

.team-entry {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 12% 8%, rgba(29, 78, 216, .10), transparent 28rem),
    linear-gradient(135deg, #fbfcff, #f5f7fb 62%, #fff8ed);
}
.team-entry-panel {
  width: min(760px, 100%);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}
.team-entry-panel h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.12;
}
.team-entry-panel p {
  color: var(--text-tertiary);
  font-size: 18px;
  font-weight: 560;
}
.team-launch-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.team-launch-grid .btn { min-width: 0; padding-inline: 10px; }
@media (max-width: 760px) {
  .team-launch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-entry-panel { padding: 26px; }
}

/* Absorbed Field Lab UX: dynamic cards, tabs, team overview, pitch preview */
.repeat-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:16px 0; }
.repeat-list { display:grid; gap:16px; }
.repeat-card {
  border:1px solid var(--line);
  border-radius:8px;
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  padding:18px;
  box-shadow:0 10px 24px rgba(7,17,31,.05);
}
.repeat-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.repeat-head strong { color:var(--text-primary); font-size:16px; }
.repeat-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.repeat-grid .field:has(textarea), .repeat-grid .field:nth-child(n+2) { grid-column:auto; }
.btn.danger { color:var(--red); border-color:#f1b8b3; background:#fff5f4; }

.builder-card { overflow:hidden; }
.builder-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0; border-bottom:1px solid var(--line); padding-bottom:12px; }
.builder-tab {
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:var(--text-tertiary);
  font-weight:900;
  padding:8px 12px;
}
.builder-tab.active { color:#fff; border-color:transparent; background:linear-gradient(135deg,var(--blue),var(--plum)); box-shadow:0 8px 20px rgba(29,78,216,.18); }
.builder-panel { display:none; padding:4px 0 0; }
.builder-panel.active { display:block; }
.builder-panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin:10px 0 12px; }
.builder-panel-head h3 { margin:0; color:var(--text-primary); }
.builder-panel-head p { margin:4px 0 0; color:var(--text-muted); font-size:13px; font-weight:700; }

.team-overview-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.team-overview-card {
  text-align:left;
  border:1px solid var(--line);
  border-top:4px solid var(--team-color);
  border-radius:8px;
  background:#fff;
  padding:14px;
  box-shadow:0 8px 22px rgba(7,17,31,.05);
}
.team-overview-card.active { outline:3px solid rgba(29,78,216,.16); }
.team-overview-head { display:flex; justify-content:space-between; gap:8px; align-items:center; }
.team-overview-head strong { color:var(--text-primary); font-size:15px; }
.team-overview-head span { color:var(--team-color); font-weight:900; }
.team-overview-card p { min-height:44px; margin:8px 0 12px; color:var(--text-tertiary); font-size:13px; font-weight:650; }

.save-toast {
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:99999;
  opacity:0;
  transform:translateY(10px);
  transition:opacity .2s ease, transform .2s ease;
  background:linear-gradient(135deg,var(--green),#0d9488);
  color:#fff;
  border-radius:8px;
  padding:12px 18px;
  font-weight:900;
  box-shadow:0 14px 34px rgba(4,120,87,.22);
}
.save-toast.show { opacity:1; transform:translateY(0); }

.pitch-actions { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:18px; }
.pitch-layout { display:grid; grid-template-columns:minmax(0,1.15fr) 420px; gap:20px; align-items:start; }
.pitch-thumb { cursor:pointer; position:relative; }
.pitch-thumb:hover { transform:translateY(-2px); border-color:var(--blue); }
.pitch-thumb.active { outline:3px solid rgba(29,78,216,.18); border-color:var(--blue); }
.slide-num { position:absolute; top:12px; right:12px; width:28px; height:28px; border-radius:999px; display:grid; place-items:center; color:#fff; background:var(--blue); font-size:12px; font-weight:900; }
.pitch-preview {
  position:sticky;
  top:92px;
  min-height:360px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  padding:24px;
  box-shadow:var(--shadow);
}
.pitch-preview h2 { margin:12px 0 14px; color:var(--text-primary); }
.pitch-preview div { color:var(--text-secondary); font-size:16px; line-height:1.75; }
.pitch-preview .message { margin-top:18px; padding-top:14px; border-top:1px solid var(--line); color:var(--text-primary); font-weight:900; }
.pitch-fullscreen {
  display:none;
  position:fixed;
  inset:0;
  z-index:99998;
  background:linear-gradient(135deg,#07111f,#1d4ed8 58%,#7e2f5d);
  color:#fff;
  padding:58px;
}
.pitch-fullscreen.active { display:grid; place-items:center; }
.pres-slide { max-width:980px; width:100%; }
.pres-slide h2 { font-size:42px; line-height:1.22; color:#fff; margin:0 0 24px; }
.pres-content { color:rgba(255,255,255,.88); font-size:22px; line-height:1.8; }
.pres-slide .message { margin-top:28px; padding-top:18px; border-top:1px solid rgba(255,255,255,.24); color:#fff; font-weight:900; font-size:20px; }
.pres-nav { position:fixed; bottom:28px; left:50%; transform:translateX(-50%); display:flex; gap:14px; align-items:center; }
.pres-nav button, .pres-close { border:1px solid rgba(255,255,255,.28); background:rgba(255,255,255,.12); color:#fff; border-radius:8px; padding:10px 18px; font-weight:900; }
.pres-close { position:fixed; top:22px; right:24px; }

@media (max-width:1200px) { .team-overview-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .pitch-layout { grid-template-columns:1fr; } .pitch-preview { position:static; } }
@media (max-width:760px) { .repeat-grid { grid-template-columns:1fr; } .team-overview-grid { grid-template-columns:1fr; } .pitch-fullscreen { padding:28px; } .pres-slide h2 { font-size:28px; } .pres-content { font-size:17px; } }

.footer-manual {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, .34);
  background: linear-gradient(135deg, #ffffff, #eef6ff);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}
.footer-manual:hover { border-color: var(--blue); background: #ffffff; }

.manual-page { display: grid; gap: 20px; }
.manual-hero-card {
  padding: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 54%, #6d28d9 100%);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .18);
}
.manual-hero-card .kicker { color: #bfdbfe; }
.manual-hero-card h1 { margin: 0; color: #ffffff; font-size: 40px; line-height: 1.15; }
.manual-hero-card p { max-width: 820px; color: rgba(255,255,255,.86); font-size: 17px; line-height: 1.75; }
.manual-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.manual-toc-card, .manual-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(7, 17, 31, .07);
}
.manual-toc-card { padding: 26px; }
.manual-toc-card h2, .manual-section h2 { margin: 0 0 16px; color: var(--text-primary); font-weight: 900; }
.manual-toc-list { columns: 2; column-gap: 36px; margin: 0; padding-left: 22px; }
.manual-toc-list li { break-inside: avoid; padding: 5px 0; font-weight: 800; color: var(--text-secondary); }
.manual-toc-list a, .manual-section a, .manual-back a { color: var(--blue); font-weight: 900; }
.manual-section { padding: 30px; scroll-margin-top: 96px; }
.manual-section h2 { padding-bottom: 12px; border-bottom: 2px solid #e8f1ff; }
.manual-section h3 { margin: 22px 0 8px; color: var(--text-primary); font-size: 17px; font-weight: 900; }
.manual-section p, .manual-section li { font-size: 15.5px; line-height: 1.8; color: var(--text-secondary); }
.manual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.manual-grid div { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbff; }
.manual-grid strong { display: block; margin-bottom: 6px; color: var(--text-primary); font-weight: 900; }
.manual-grid span { color: var(--text-secondary); font-size: 14px; line-height: 1.65; }
.manual-tip { margin: 18px 0 0; padding: 15px 17px; border: 1px solid #bfdbfe; border-radius: 8px; background: #eff6ff; color: var(--text-secondary); line-height: 1.75; }
.manual-tip strong { color: var(--blue); }
.manual-table { margin: 16px 0; font-size: 14.5px; }
.manual-back { display: flex; gap: 14px; justify-content: center; padding: 24px; }
@media (max-width: 760px) {
  .manual-hero-card { padding: 28px; }
  .manual-hero-card h1 { font-size: 30px; }
  .manual-toc-list { columns: 1; }
  .manual-grid { grid-template-columns: 1fr; }
  .manual-section { padding: 22px; }
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM COLOR THEME — 모든 카드·박스 일괄 적용
   ═══════════════════════════════════════════════════════════ */

.content-card {
  border-left: 4px solid var(--blue);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  transition: all .25s ease;
  color: #1e293b;
}
.content-card p { color: #334155; font-size: 14px; line-height: 1.75; }
.content-card h2 { color: #0f172a; }
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, .10);
  border-left-color: var(--indigo);
}

.section-grid .content-card:nth-child(1) { border-left-color: #2563eb; background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%); }
.section-grid .content-card:nth-child(2) { border-left-color: #059669; background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%); }
.section-grid .content-card:nth-child(3) { border-left-color: #7c3aed; background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%); }
.section-grid .content-card:nth-child(4) { border-left-color: #d97706; background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%); }
.section-grid .content-card:nth-child(5) { border-left-color: #dc2626; background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%); }
.section-grid .content-card:nth-child(6) { border-left-color: #0891b2; background: linear-gradient(135deg, #ffffff 0%, #ecfeff 100%); }

.section-grid .content-card:nth-child(1):hover { box-shadow: 0 16px 40px rgba(37, 99, 235, .12); }
.section-grid .content-card:nth-child(2):hover { box-shadow: 0 16px 40px rgba(5, 150, 105, .12); }
.section-grid .content-card:nth-child(3):hover { box-shadow: 0 16px 40px rgba(124, 58, 237, .12); }
.section-grid .content-card:nth-child(4):hover { box-shadow: 0 16px 40px rgba(217, 119, 6, .12); }
.section-grid .content-card:nth-child(5):hover { box-shadow: 0 16px 40px rgba(220, 38, 38, .12); }
.section-grid .content-card:nth-child(6):hover { box-shadow: 0 16px 40px rgba(8, 145, 178, .12); }

.form-card {
  border-top: 3px solid var(--blue);
  background: linear-gradient(180deg, #fafcff 0%, #ffffff 100%);
  transition: all .25s ease;
}
.form-card:hover {
  box-shadow: 0 12px 32px rgba(37, 99, 235, .08);
  border-top-color: var(--indigo);
}

.metric-card {
  border-bottom: 3px solid transparent;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  transition: all .25s ease;
}
.metric-card:nth-child(1) { border-bottom-color: #2563eb; }
.metric-card:nth-child(2) { border-bottom-color: #059669; }
.metric-card:nth-child(3) { border-bottom-color: #7c3aed; }
.metric-card:nth-child(4) { border-bottom-color: #d97706; }
.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
}

.slide-card {
  border-left: 4px solid var(--blue);
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  transition: all .25s ease;
}
.slide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(37, 99, 235, .10);
  border-left-color: var(--violet);
}

.side-card {
  border-top: 3px solid var(--violet);
  background: linear-gradient(180deg, #faf8ff 0%, #ffffff 100%);
  transition: all .25s ease;
  font-size: 12px;
}
.side-card h3 { font-size: 13px; }
.side-card-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .2s;
}
.side-card-image img:hover { transform: scale(1.02); }
.side-card:hover {
  box-shadow: 0 12px 32px rgba(124, 58, 237, .08);
}

.repeat-card {
  border-left: 4px solid var(--cyan);
  transition: all .25s ease;
}
.repeat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(8, 145, 178, .10);
  border-left-color: var(--blue);
}

.team-overview-card {
  transition: all .25s ease;
}
.team-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, .10);
}

.page-title {
  border-left: 5px solid;
  border-image: linear-gradient(180deg, var(--blue), var(--violet)) 1;
  padding-left: 20px;
  background: linear-gradient(135deg, #ffffff, #f8faff);
}

.check-item {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all .2s ease;
}
.check-item:hover {
  background: #f0f7ff;
  border-color: var(--blue);
}

.btn {
  transition: all .2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}
.btn.primary:hover {
  box-shadow: 0 8px 24px rgba(37, 99, 235, .24);
}

.resource {
  transition: all .2s ease;
  border-left: 3px solid var(--green);
}
.resource:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(5, 150, 105, .08);
}

/* Hero Cover Images */
.hero-media {
  perspective: 1200px;
}
.hero-cover {
  width: 70%;
  height: auto;
  border-radius: 12px;
  box-shadow: 12px 16px 40px rgba(0,0,0,.2), 4px 6px 12px rgba(0,0,0,.1);
  display: block;
  margin: 0 auto 28px;
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform .4s ease, box-shadow .4s ease;
}
.hero-cover:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

/* Appendix Reference Image */
.appendix-reference-image {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  cursor: pointer;
}
.appendix-reference-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .2s;
}
.appendix-reference-image:hover img { transform: scale(1.01); }
.appendix-reference-image p {
  text-align: center;
  padding: 8px;
  margin: 0;
  font-size: 12px;
  background: #fff;
  border-top: 1px solid var(--line);
}

/* Appendix Gallery */
.appendix-gallery-section { margin-top: 2rem; }
.appendix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.appendix-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all .2s ease;
}
.appendix-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.appendix-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: flex-start;
}
.appendix-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.appendix-info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.appendix-info strong {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
}
.appendix-info span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* Appendix Modal */
.appendix-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.appendix-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(4px);
}
.appendix-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.appendix-modal-content img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}
.appendix-modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  font-size: 20px;
  font-weight: bold;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  z-index: 1;
}
.appendix-modal-close:hover { background: #f1f5f9; }
.appendix-modal-caption {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  max-width: 600px;
}

@media (max-width: 768px) {
  .appendix-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
  }
}

/* 아카데미 소개(랜딩) 링크 — 후순위 .pill 재정의를 덮어쓰기 위해 파일 끝에 배치 */
a.pill-home {
  text-decoration: none; font-weight: 800; color: #7a5c00 !important;
  background: linear-gradient(135deg, #f8e9bf, #efd68a) !important;
  border-color: #e2c76a !important; transition: .18s;
}
a.pill-home:hover { filter: brightness(1.04); box-shadow: 0 4px 12px rgba(201,168,76,.35); transform: translateY(-1px); }
