:root {
  --ink: #14130f;
  --ink-soft: #24221d;
  --gold: #cda55e;
  --gold-bright: #e6c47f;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --muted: #746f65;
  --line: #e6dfd2;
  --success: #2e7d5b;
  --danger: #b1463e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.topbar-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 45px; height: 45px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--ink);
  font-size: 24px; font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}
.brand > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.brand strong { color: #fff; font-size: 17px; }
.brand small { color: rgba(255,255,255,.58); font-size: 11px; letter-spacing: .02em; }
.private-badge { color: rgba(255,255,255,.7); font-size: 12px; display: inline-flex; align-items: center; gap: 8px; }
.private-badge i { width: 7px; height: 7px; border-radius: 50%; background: #71c997; box-shadow: 0 0 0 5px rgba(113,201,151,.1); }

.hero {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center;
  padding: 145px 0 92px;
  background:
    radial-gradient(circle at 70% 20%, rgba(205,165,94,.12), transparent 28%),
    linear-gradient(135deg, #11100d 0%, #191713 55%, #0d0d0b 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .05;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero-glow { position: absolute; border: 1px solid rgba(205,165,94,.17); border-radius: 50%; }
.hero-glow-one { width: 520px; height: 520px; left: -180px; top: 80px; }
.hero-glow-two { width: 310px; height: 310px; left: -70px; top: 185px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(350px, .75fr); gap: 90px; align-items: center; }
.eyebrow { color: var(--gold-bright); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.dark { color: #98702e; }
.hero-copy h1 { margin: 20px 0 24px; max-width: 720px; font-size: clamp(43px, 5.3vw, 72px); line-height: 1.12; letter-spacing: -.04em; }
.hero-copy h1 em { color: var(--gold-bright); font-style: normal; }
.hero-copy p { max-width: 650px; margin: 0; color: rgba(255,255,255,.66); font-size: 18px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 36px; flex-wrap: wrap; }
.primary-button {
  border: 0; border-radius: 11px; cursor: pointer;
  min-height: 53px; padding: 0 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  background: var(--gold); color: var(--ink); font-weight: 800; font-size: 14px;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 14px 38px rgba(0,0,0,.17);
}
.primary-button:hover { background: var(--gold-bright); transform: translateY(-2px); }
.primary-button:disabled { opacity: .65; cursor: wait; }
.save-note { color: rgba(255,255,255,.47); font-size: 12px; }
.save-note::before { content: "✓"; margin-left: 7px; color: #81caa1; }

.hero-card {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12);
  border-radius: 23px; padding: 30px; backdrop-filter: blur(12px);
  box-shadow: 0 35px 85px rgba(0,0,0,.25);
}
.hero-card-kicker { color: rgba(255,255,255,.43); font-size: 11px; font-weight: 800; letter-spacing: .1em; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.outcome-list { padding: 10px 0; }
.outcome-list > div { display: flex; align-items: center; gap: 17px; padding: 15px 0; }
.outcome-list b { width: 36px; height: 36px; border: 1px solid rgba(205,165,94,.35); border-radius: 10px; color: var(--gold-bright); display: grid; place-items: center; font-size: 11px; }
.outcome-list span { display: flex; flex-direction: column; gap: 4px; }
.outcome-list strong { font-size: 14px; }
.outcome-list small { color: rgba(255,255,255,.45); font-size: 11px; }
.hero-card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; }
.hero-card-meta span { color: rgba(255,255,255,.48); font-size: 11px; }
.hero-card-meta strong { color: #fff; font-size: 18px; margin-left: 4px; }

.initial-vision { padding: 100px 0 80px; background: #f8f4ec; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.vision-heading { display: grid; grid-template-columns: 1.5fr .7fr; gap: 80px; align-items: end; margin-bottom: 38px; }
.vision-heading h2 { margin: 11px 0 0; max-width: 760px; font-size: clamp(30px, 4.2vw, 49px); line-height: 1.35; letter-spacing: -.035em; }
.vision-heading > p { margin: 0; color: var(--muted); line-height: 1.9; font-size: 14px; }
.operating-model { display: grid; grid-template-columns: 310px 1fr; overflow: hidden; border-radius: 22px; background: #171612; color: #fff; box-shadow: 0 28px 70px rgba(30,25,18,.16); }
.model-intro { padding: 34px; border-left: 1px solid rgba(255,255,255,.1); background: radial-gradient(circle at 20% 10%, rgba(205,165,94,.17), transparent 45%); }
.model-intro > span { color: var(--gold-bright); font-size: 10px; font-weight: 800; }
.model-intro h3 { margin: 10px 0; font-size: 25px; line-height: 1.45; }
.model-intro p { margin: 0; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.8; }
.model-pillars { display: grid; grid-template-columns: repeat(5, 1fr); }
.model-pillars > div { min-height: 180px; padding: 28px 18px; display: flex; flex-direction: column; border-left: 1px solid rgba(255,255,255,.08); }
.model-pillars > div:last-child { border-left: 0; }
.model-pillars b { color: var(--gold-bright); font-size: 10px; margin-bottom: auto; }
.model-pillars strong { font-size: 13px; margin-bottom: 6px; }
.model-pillars small { color: rgba(255,255,255,.42); line-height: 1.6; font-size: 10px; }
.audit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 18px; }
.audit-grid article { padding: 27px; border-radius: 16px; border: 1px solid var(--line); background: #fffdf8; }
.audit-label { display: inline-flex; padding: 5px 8px; border-radius: 20px; background: #e5f2e9; color: var(--success); font-size: 9px; font-weight: 800; }
.audit-label.warning { background: #fff0dc; color: #9b6224; }
.audit-label.recommendation { background: #eee8db; color: #7e5c25; }
.audit-grid h3 { font-size: 16px; line-height: 1.6; margin: 13px 0 12px; }
.audit-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.audit-grid li { color: var(--muted); font-size: 11px; line-height: 1.5; }
.audit-grid li::before { content: "•"; color: var(--gold); margin-left: 8px; }
.vision-cta { margin-top: 18px; padding: 24px 27px; border: 1px solid #dacfbf; border-radius: 16px; display: flex; align-items: center; justify-content: space-between; gap: 25px; background: #eee7da; }
.vision-cta > div { display: flex; flex-direction: column; gap: 5px; }
.vision-cta strong { font-size: 15px; }
.vision-cta span { color: var(--muted); font-size: 11px; }

.questionnaire { padding: 95px 0 120px; scroll-margin-top: 20px; }
.form-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.form-heading h2 { margin: 10px 0 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.3; letter-spacing: -.025em; }
.completion-ring {
  --progress: 0deg;
  width: 92px; height: 92px; flex: 0 0 92px; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--gold) var(--progress), #ddd4c6 0);
  position: relative;
}
.completion-ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--cream); }
.completion-ring span { position: relative; z-index: 1; display: flex; flex-direction: column; text-align: center; }
.completion-ring strong { font-size: 19px; }
.completion-ring small { color: var(--muted); font-size: 10px; }

.form-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; }
.section-nav { position: sticky; top: 20px; background: #1b1a17; border-radius: 19px; padding: 15px; max-height: calc(100vh - 40px); overflow: auto; scrollbar-width: thin; scrollbar-color: #49453d transparent; }
.nav-progress { height: 3px; border-radius: 10px; background: rgba(255,255,255,.1); overflow: hidden; margin: 4px 4px 12px; }
.nav-progress span { display: block; height: 100%; background: var(--gold); transition: width .35s ease; }
.section-links { display: flex; flex-direction: column; gap: 3px; }
.section-links button { width: 100%; border: 0; background: transparent; color: rgba(255,255,255,.62); border-radius: 11px; padding: 10px 9px; display: flex; align-items: center; gap: 11px; text-align: right; cursor: pointer; transition: .2s ease; }
.section-links button:hover { background: rgba(255,255,255,.05); color: #fff; }
.section-links button.active { background: var(--gold); color: var(--ink); }
.section-links button.done:not(.active) .nav-number { background: rgba(79,166,117,.18); color: #8cd1aa; border-color: rgba(79,166,117,.24); }
.section-links button > span:last-child { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.section-links strong { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.section-links small { font-size: 9px; opacity: .6; }
.nav-number { width: 29px; height: 29px; flex: 0 0 29px; display: grid; place-items: center; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); font-size: 9px; font-weight: 800; }
.section-links button.active .nav-number { border-color: rgba(20,19,15,.22); }

.form-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 23px; overflow: hidden; box-shadow: 0 25px 70px rgba(64,52,33,.08); }
.panel-head { padding: 36px 40px 30px; display: flex; gap: 20px; align-items: flex-start; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fffdf8, #fbf7ef); }
.panel-number { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: var(--gold-bright); font-weight: 800; font-size: 13px; }
.panel-head > div:last-child > span { color: #98702e; font-size: 10px; font-weight: 800; }
.panel-head h3 { margin: 5px 0 7px; font-size: 26px; }
.panel-head p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 13px; }
.safety-note { margin: 25px 40px 0; padding: 15px 17px; border-radius: 12px; background: #fff3da; border: 1px solid #ecd59e; color: #664b17; display: flex; align-items: flex-start; gap: 14px; font-size: 12px; line-height: 1.7; }
.safety-note strong { white-space: nowrap; }
.questions-list { padding: 8px 40px 10px; }
.question-field { padding: 28px 0; border-bottom: 1px solid var(--line); }
.question-field:last-child { border-bottom: 0; }
.question-label { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 13px; color: var(--ink); }
.question-label > span { color: #a99573; font-size: 10px; font-weight: 800; padding-top: 4px; }
.question-label strong { font-size: 14px; line-height: 1.7; }
.question-label em { font-style: normal; color: #ad553c; font-size: 9px; margin-right: 8px; padding: 3px 6px; border-radius: 5px; background: #fbeae5; }
.advisor-note { display: flex; align-items: flex-start; gap: 10px; margin: -3px 30px 13px 0; padding: 11px 13px; border-radius: 9px; background: #f4ecdc; border-right: 3px solid var(--gold); color: #655840; font-size: 10px; line-height: 1.7; }
.advisor-note b { flex: 0 0 auto; color: #8a6429; }
.question-field input, .question-field textarea {
  width: 100%; border: 1px solid #ded6c9; border-radius: 11px; outline: 0;
  background: #fff; color: var(--ink); padding: 13px 15px;
  transition: border .2s ease, box-shadow .2s ease;
}
.question-field textarea { resize: vertical; min-height: 105px; line-height: 1.7; }
.question-field input::placeholder, .question-field textarea::placeholder { color: #aaa49a; }
.question-field input:focus, .question-field textarea:focus { border-color: #bd9149; box-shadow: 0 0 0 4px rgba(205,165,94,.12); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choice-grid button { min-height: 45px; border: 1px solid #ded6c9; background: #fff; color: #565149; border-radius: 10px; padding: 9px 12px; display: flex; align-items: center; gap: 9px; text-align: right; cursor: pointer; transition: .18s ease; }
.choice-grid button:hover { border-color: #c6a56a; background: #fffaf0; }
.choice-grid button i { width: 20px; height: 20px; flex: 0 0 20px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #d5ccbc; font-style: normal; font-size: 10px; }
.choice-grid button span { font-size: 12px; line-height: 1.45; }
.choice-grid button.selected { border-color: #bb8d42; background: #fff5e3; color: var(--ink); font-weight: 700; }
.choice-grid button.selected i { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.has-error input, .has-error textarea { border-color: var(--danger); }
.field-error { display: block; margin-top: 8px; color: var(--danger); font-size: 10px; }

.panel-footer { border-top: 1px solid var(--line); padding: 22px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #f8f3e9; }
.section-status { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 0 7px; }
.section-status strong { font-size: 13px; }
.section-status span { font-size: 10px; color: var(--muted); }
.section-status small { grid-column: 1 / -1; font-size: 9px; color: var(--muted); margin-top: 3px; }
.section-status .saved { color: var(--success); }
.section-status .save-error { color: var(--danger); }
.form-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.dark-button { background: var(--ink); color: #fff; box-shadow: none; }
.dark-button:hover { background: #2b2822; }
.ghost-button, .skip-button { min-height: 48px; border-radius: 10px; padding: 0 16px; cursor: pointer; background: transparent; border: 1px solid #d9d0c1; color: #625c52; font-weight: 700; font-size: 11px; }
.skip-button { border-style: dashed; }
.ghost-button:hover, .skip-button:hover { background: #fff; }
.submit-button { background: var(--success); color: #fff; box-shadow: none; }
.submit-button:hover { background: #226d4d; }

.consultant-memo { margin: 0 40px 30px; border-radius: 17px; overflow: hidden; border: 1px solid #d4c7b3; background: #191713; color: #fff; }
.memo-title { padding: 25px 27px; border-bottom: 1px solid rgba(255,255,255,.1); background: radial-gradient(circle at 15% 0%, rgba(205,165,94,.18), transparent 45%); }
.memo-title > span { color: var(--gold-bright); font-size: 9px; font-weight: 800; }
.memo-title h4 { margin: 7px 0 4px; font-size: 21px; }
.memo-title p { margin: 0; color: rgba(255,255,255,.52); font-size: 11px; line-height: 1.7; }
.memo-columns { display: grid; grid-template-columns: repeat(2, 1fr); }
.memo-columns > div { padding: 21px 24px; display: flex; flex-direction: column; gap: 8px; border-left: 1px solid rgba(255,255,255,.08); }
.memo-columns > div:nth-child(2n) { border-left: 0; }
.memo-columns > div.memo-risks { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); border-left: 0; background: rgba(255,181,85,.06); }
.memo-columns strong { color: var(--gold-bright); font-size: 10px; margin-bottom: 3px; }
.memo-columns span { color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.55; }
.memo-risks span { color: #f2c990; }

.form-loading { min-height: 400px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); }
.loader { width: 22px; height: 22px; border: 2px solid #d7cdbb; border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-section { padding: 100px 20px; background: var(--cream); }
.success-card { width: min(650px, 100%); margin: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 60px 40px; text-align: center; box-shadow: 0 25px 70px rgba(64,52,33,.08); }
.success-icon { width: 70px; height: 70px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; background: #ddf1e6; color: var(--success); font-size: 30px; }
.success-card h2 { font-size: 32px; margin: 11px 0; }
.success-card p { color: var(--muted); line-height: 1.8; }
.success-plan { display: flex; flex-direction: column; gap: 7px; margin: 18px auto 5px; max-width: 470px; text-align: right; }
.success-plan span { padding: 9px 12px; border-radius: 8px; background: #edf6f0; color: #326e52; font-size: 10px; }
.success-reference { display: inline-flex; gap: 7px; margin-top: 15px; background: var(--cream); padding: 10px 14px; border-radius: 9px; color: var(--muted); font-size: 11px; }
.success-reference strong { color: var(--ink); letter-spacing: .08em; }

.site-footer { background: #11100e; color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand .brand-mark { width: 37px; height: 37px; font-size: 19px; }
.footer-note { color: rgba(255,255,255,.45); font-size: 11px; }
.footer-note a { color: var(--gold-bright); margin-right: 8px; }

@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-card { width: min(560px, 100%); }
  .form-layout { grid-template-columns: 1fr; }
  .section-nav { position: relative; top: 0; max-height: none; padding: 12px; }
  .section-links { flex-direction: row; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; }
  .section-links button { flex: 0 0 155px; }
  .vision-heading { grid-template-columns: 1fr; gap: 20px; }
  .operating-model { grid-template-columns: 1fr; }
  .model-intro { border-left: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .model-pillars { grid-template-columns: repeat(5, minmax(140px, 1fr)); overflow-x: auto; }
  .audit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 1180px); }
  .topbar-inner { height: 72px; }
  .brand-mark { width: 39px; height: 39px; font-size: 20px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 9px; }
  .private-badge { font-size: 9px; }
  .hero { padding: 120px 0 65px; }
  .hero-copy h1 { font-size: 42px; }
  .hero-copy p { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-card { padding: 22px; }
  .questionnaire { padding: 65px 0 80px; }
  .form-heading { align-items: flex-start; }
  .form-heading h2 { font-size: 28px; }
  .completion-ring { width: 75px; height: 75px; flex-basis: 75px; }
  .completion-ring strong { font-size: 16px; }
  .panel-head { padding: 25px 20px 22px; gap: 13px; }
  .panel-number { width: 43px; height: 43px; flex-basis: 43px; }
  .panel-head h3 { font-size: 21px; }
  .questions-list { padding: 5px 20px; }
  .question-field { padding: 24px 0; }
  .choice-grid { grid-template-columns: 1fr; }
  .panel-footer { padding: 18px 20px; align-items: flex-start; flex-direction: column; }
  .form-actions { width: 100%; }
  .form-actions .primary-button { flex: 1; }
  .safety-note { margin: 20px 20px 0; flex-direction: column; gap: 4px; }
  .footer-inner { padding: 28px 0; flex-direction: column; align-items: flex-start; }
  .initial-vision { padding: 70px 0 55px; }
  .vision-heading h2 { font-size: 29px; }
  .model-pillars { grid-template-columns: repeat(5, 140px); }
  .model-pillars > div { min-height: 150px; }
  .vision-cta { align-items: stretch; flex-direction: column; }
  .vision-cta .primary-button { width: 100%; }
  .advisor-note { margin-right: 0; }
  .consultant-memo { margin: 0 20px 24px; }
  .memo-columns { grid-template-columns: 1fr; }
  .memo-columns > div { border-left: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .memo-columns > div.memo-risks { grid-column: auto; }
}

/* Consultant dashboard */
.admin-login-page { min-height: 100vh; display: grid; place-items: center; padding: 70px 20px; background: radial-gradient(circle at 20% 20%, rgba(205,165,94,.15), transparent 30%), #151410; }
.admin-back { position: absolute; top: 28px; right: 32px; color: rgba(255,255,255,.55); font-size: 12px; }
.admin-login-card { width: min(440px, 100%); padding: 42px; border-radius: 23px; background: var(--paper); box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.admin-mark { margin-bottom: 25px; }
.admin-login-card h1 { margin: 10px 0; font-size: 31px; }
.admin-login-card p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 28px; }
.admin-login-card label { display: block; font-size: 11px; font-weight: 800; margin-bottom: 8px; }
.admin-login-card input { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 14px; outline: 0; margin-bottom: 12px; direction: ltr; }
.admin-login-card input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(205,165,94,.12); }
.admin-login-card .primary-button { width: 100%; margin-top: 7px; }
.admin-error { color: var(--danger); background: #fbeae5; border-radius: 8px; padding: 10px; font-size: 11px; margin-bottom: 5px; }

.admin-page { min-height: 100vh; background: #f1eee7; padding: 18px; }
.admin-header { height: 72px; padding: 0 18px; border-radius: 15px; display: flex; align-items: center; justify-content: space-between; background: #171612; color: #fff; }
.admin-header .brand-mark { width: 39px; height: 39px; font-size: 20px; }
.admin-header-actions { display: flex; align-items: center; gap: 8px; }
.admin-header-actions a, .admin-header-actions button { border: 1px solid rgba(255,255,255,.12); background: transparent; color: rgba(255,255,255,.7); padding: 9px 12px; border-radius: 8px; font-size: 10px; cursor: pointer; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.admin-stats div { background: #fff; border: 1px solid #e0dbd0; border-radius: 13px; padding: 17px 19px; display: flex; align-items: center; justify-content: space-between; }
.admin-stats span { color: var(--muted); font-size: 10px; }
.admin-stats strong { font-size: 22px; }
.admin-workspace { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 12px; align-items: start; }
.submission-list { background: #fff; border: 1px solid #e0dbd0; border-radius: 15px; overflow: hidden; min-height: calc(100vh - 188px); position: sticky; top: 18px; }
.submission-tools { padding: 13px; border-bottom: 1px solid #eee9df; }
.submission-tools > input { width: 100%; border: 1px solid #ded8cc; border-radius: 9px; padding: 10px 11px; font-size: 11px; outline: 0; }
.filter-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 8px; background: #f2efe8; padding: 3px; border-radius: 8px; }
.filter-tabs button { border: 0; background: transparent; padding: 7px; border-radius: 6px; color: var(--muted); font-size: 9px; cursor: pointer; }
.filter-tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 2px 9px rgba(0,0,0,.06); font-weight: 800; }
.submission-items { max-height: calc(100vh - 310px); overflow-y: auto; }
.submission-items > button { width: 100%; border: 0; border-bottom: 1px solid #f0ece4; background: #fff; padding: 12px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; text-align: right; cursor: pointer; }
.submission-items > button:hover, .submission-items > button.active { background: #fff9ee; }
.submission-items > button.active { box-shadow: inset -3px 0 var(--gold); }
.submission-item { width: 100%; border: 0; border-bottom: 1px solid #f0ece4; background: #fff; padding: 12px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; text-align: right; cursor: pointer; }
.submission-item:hover, .submission-item.active { background: #fff9ee; }
.submission-item.active { box-shadow: inset -3px 0 var(--gold); }
.submission-item > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.submission-item strong { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.submission-item small { color: var(--muted); font-size: 9px; direction: ltr; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.submission-item i { font-style: normal; font-size: 8px; border-radius: 20px; padding: 4px 6px; background: #eeeae2; color: var(--muted); }
.submission-item i.submitted { background: #e2f3e9; color: var(--success); }
.submission-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #eee7da; color: #8a672b; font-weight: 900; }
.submission-items button > span { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.submission-items button strong { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.submission-items button small { color: var(--muted); font-size: 9px; direction: ltr; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.submission-items button i { font-style: normal; font-size: 8px; border-radius: 20px; padding: 4px 6px; background: #eeeae2; color: var(--muted); }
.submission-items button i.submitted { background: #e2f3e9; color: var(--success); }
.empty-list { text-align: center; padding: 50px 20px; color: var(--muted); font-size: 11px; }
.submission-detail { min-height: calc(100vh - 188px); background: #fff; border: 1px solid #e0dbd0; border-radius: 15px; padding: 28px; }
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 23px; border-bottom: 1px solid #ece7dd; }
.status-pill { display: inline-flex; padding: 5px 8px; border-radius: 20px; font-size: 8px; background: #eeeae2; color: var(--muted); }
.status-pill.submitted { background: #e2f3e9; color: var(--success); }
.detail-head h1 { margin: 9px 0 3px; font-size: 27px; }
.detail-head p { margin: 0; color: var(--muted); font-size: 10px; }
.detail-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.detail-actions button { border: 1px solid #dcd5c8; background: #fff; color: #5b554c; padding: 9px 11px; border-radius: 8px; font-size: 9px; font-weight: 700; cursor: pointer; }
.detail-actions button:hover { border-color: var(--gold); background: #fff9ee; }
.detail-actions .admin-action { border: 1px solid #dcd5c8; background: #fff; color: #5b554c; padding: 9px 11px; border-radius: 8px; font-size: 9px; font-weight: 700; cursor: pointer; }
.detail-actions .admin-action:hover { border-color: var(--gold); background: #fff9ee; }
.contact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #e9e4da; border: 1px solid #e9e4da; border-radius: 11px; overflow: hidden; margin: 20px 0 29px; }
.contact-strip div { background: #faf8f3; padding: 14px; display: flex; flex-direction: column; gap: 5px; }
.contact-strip span { color: var(--muted); font-size: 8px; }
.contact-strip strong { font-size: 10px; overflow-wrap: anywhere; }
.admin-consultant-summary { margin-bottom: 30px; overflow: hidden; border-radius: 13px; background: #1a1814; color: #fff; }
.admin-summary-head { padding: 20px 22px; border-bottom: 1px solid rgba(255,255,255,.09); background: radial-gradient(circle at 10% 0%, rgba(205,165,94,.17), transparent 45%); }
.admin-summary-head > span { color: var(--gold-bright); font-size: 8px; font-weight: 800; }
.admin-summary-head h2 { margin: 5px 0 3px; font-size: 17px; }
.admin-summary-head p { margin: 0; color: rgba(255,255,255,.52); font-size: 9px; line-height: 1.6; }
.admin-summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.admin-summary-grid > div { padding: 17px 20px; display: flex; flex-direction: column; gap: 7px; border-left: 1px solid rgba(255,255,255,.08); }
.admin-summary-grid > div:nth-child(2) { border-left: 0; }
.admin-summary-grid > div.admin-summary-risks { grid-column: 1 / -1; border: 0; border-top: 1px solid rgba(255,255,255,.08); background: rgba(255,180,80,.05); }
.admin-summary-grid strong { color: var(--gold-bright); font-size: 9px; }
.admin-summary-grid span { color: rgba(255,255,255,.62); font-size: 9px; line-height: 1.55; }
.admin-summary-risks span { color: #efc489; }
.answer-sections { display: flex; flex-direction: column; gap: 30px; }
.answer-sections > section > header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.answer-sections > section > header > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--ink); color: var(--gold-bright); font-size: 9px; font-weight: 800; }
.answer-sections header div { display: flex; flex-direction: column; gap: 2px; }
.answer-sections h2 { margin: 0; font-size: 15px; }
.answer-sections header small { color: var(--muted); font-size: 8px; }
.answer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.answer-card { border: 1px solid #e8e2d7; border-radius: 10px; padding: 13px; background: #fdfbf7; }
.answer-card > span { display: block; color: #8a7f6c; font-size: 9px; line-height: 1.5; margin-bottom: 7px; }
.answer-card p { margin: 0; color: var(--ink); font-size: 11px; line-height: 1.7; white-space: pre-wrap; }
.empty-detail { display: grid; place-items: center; min-height: 500px; color: var(--muted); font-size: 12px; }

@media (max-width: 980px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-workspace { grid-template-columns: 1fr; }
  .submission-list { position: relative; top: 0; min-height: auto; }
  .submission-items { max-height: 310px; }
}
@media (max-width: 650px) {
  .admin-page { padding: 8px; }
  .admin-header { height: auto; padding: 13px; }
  .admin-header-actions a { display: none; }
  .admin-stats { gap: 6px; }
  .admin-stats div { padding: 13px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .submission-detail { padding: 18px; }
  .detail-head { flex-direction: column; }
  .contact-strip { grid-template-columns: repeat(2, 1fr); }
  .answer-grid { grid-template-columns: 1fr; }
  .admin-summary-grid { grid-template-columns: 1fr; }
  .admin-summary-grid > div { border-left: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .admin-summary-grid > div.admin-summary-risks { grid-column: auto; }
}

@media print {
  .admin-header, .admin-stats, .submission-list, .detail-actions { display: none !important; }
  .admin-page, .submission-detail { background: #fff; padding: 0; border: 0; }
  .admin-workspace { display: block; }
  .answer-card { break-inside: avoid; }
}
