:root {
  --bg: #070a12;
  --bg-soft: #0c1120;
  --panel: rgba(17, 24, 43, 0.64);
  --panel-strong: rgba(22, 30, 50, 0.82);
  --line: rgba(225, 181, 91, 0.24);
  --gold: #f2c66d;
  --gold-bright: #ffe0a3;
  --text: #f5f7fb;
  --muted: #aab4c8;
  --muted-2: #6c7890;
  --blue: #78a7dd;
  --danger: #de8f91;
  --good: #e6c578;
  --radius: 18px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 50% -15%, #17213c 0, var(--bg) 48%); }
button, select { font: inherit; }
button { cursor: pointer; }
.ambient { position: fixed; z-index: -1; border-radius: 999px; pointer-events: none; filter: blur(95px); opacity: .22; }
.ambient-one { width: 400px; height: 400px; top: 80px; left: -120px; background: #264b7a; }
.ambient-two { width: 320px; height: 320px; bottom: 30px; right: -80px; background: #9d7735; opacity: .12; }

.shell { min-height: 100vh; padding: 0 28px 40px; }
.topbar { max-width: 1400px; margin: 0 auto; min-height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.07); }
.brand { display: flex; align-items: center; gap: 13px; font-weight: 650; letter-spacing: .03em; }
.brand-mark { width: 32px; height: 32px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 20px rgba(242,198,109,.2); }
.brand-mark::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.top-nav, .subnav, .inline { display: flex; align-items: center; gap: 8px; }
.nav-button, .filter-button { border: 0; color: var(--muted); background: transparent; padding: 10px 13px; border-radius: 9px; transition: .2s ease; }
.nav-button:hover, .filter-button:hover, .nav-button.active, .filter-button.active { color: var(--gold-bright); background: rgba(242,198,109,.1); }
.nav-button.active { box-shadow: inset 0 -1px 0 var(--gold); }
.subbar { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; padding: 14px 0 18px; }
.eyebrow { font-size: 12px; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }
.page { max-width: 1400px; margin: 0 auto; }

.glass { background: var(--panel); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--line); box-shadow: 0 16px 44px rgba(0,0,0,.2); border-radius: var(--radius); }
.hero { min-height: 500px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; padding: 58px; overflow: hidden; position: relative; }
h1 { font-size: clamp(42px, 5vw, 72px); line-height: 1.04; margin: 13px 0 22px; letter-spacing: -.045em; }
h2 { font-size: 26px; margin: 0 0 9px; }
h3 { margin: 0; font-size: 15px; }
p { color: var(--muted); line-height: 1.7; }
.lead { font-size: 17px; max-width: 590px; }
.primary, .secondary { padding: 12px 17px; border-radius: 10px; font-weight: 650; transition: transform .2s ease, background .2s ease; }
.primary { border: 1px solid var(--gold); color: #17120a; background: var(--gold); box-shadow: 0 0 24px rgba(242,198,109,.17); }
.secondary { border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.04); color: var(--text); }
.primary:hover, .secondary:hover { transform: translateY(-1px); }
.orbit { min-height: 380px; position: relative; display: grid; place-items: center; }
.orbit::before, .orbit::after { content: ""; position: absolute; border: 1px solid rgba(120,167,221,.18); border-radius: 50%; }
.orbit::before { width: 280px; height: 280px; }
.orbit::after { width: 390px; height: 390px; }
.orbit-core { position: relative; z-index: 1; width: 148px; height: 148px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-weight: 700; line-height: 1.35; background: rgba(16,24,43,.9); border: 1px solid var(--gold); box-shadow: 0 0 42px rgba(242,198,109,.2); }
.orbit-node { position: absolute; z-index: 2; width: 112px; min-height: 51px; padding: 8px 10px; border: 1px solid rgba(120,167,221,.26); border-radius: 11px; background: rgba(12,17,32,.82); color: #dbe6f5; font-size: 12px; display: grid; place-items: center; text-align: center; }
.orbit-node:nth-of-type(2) { transform: translate(0,-174px); }.orbit-node:nth-of-type(3) { transform: translate(152px,-85px); }.orbit-node:nth-of-type(4) { transform: translate(152px,85px); }.orbit-node:nth-of-type(5) { transform: translate(0,174px); }.orbit-node:nth-of-type(6) { transform: translate(-152px,85px); }.orbit-node:nth-of-type(7) { transform: translate(-152px,-85px); }
.section { margin-top: 26px; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 14px; }
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.theme-card { position: relative; padding: 18px; min-height: 304px; overflow: hidden; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.theme-card:hover, .theme-card:focus-within, .theme-card:focus { transform: translateY(-2px); border-color: rgba(242,198,109,.62); background: rgba(22, 30, 50, .86); outline: none; }
.theme-index { color: var(--gold); font-size: 12px; letter-spacing: .1em; margin-bottom: 22px; }
.theme-description { margin: 14px 0 10px; font-size: 13px; line-height: 1.7; min-height: 88px; }
.theme-disclosure { position: relative; z-index: 2; display: inline-flex; gap: 7px; align-items: center; padding: 0; border: 0; background: transparent; color: var(--gold); font-size: 12px; }
.theme-disclosure span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(242,198,109,.13); }
.theme-secondary { position: absolute; z-index: 1; inset: auto 16px 14px; padding-top: 11px; border-top: 1px solid rgba(242,198,109,.18); opacity: 0; transform: translateY(9px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.theme-card:hover .theme-secondary, .theme-card:focus-within .theme-secondary, .theme-card:focus .theme-secondary, .theme-card.expanded .theme-secondary { opacity: 1; transform: translateY(0); pointer-events: auto; }
.secondary-label { margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.dimension-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.dimension-chips span { padding: 4px 7px; border: 1px solid rgba(120,167,221,.22); border-radius: 999px; color: #c4d2e4; font-size: 10px; line-height: 1.25; }
.small { font-size: 13px; color: var(--muted); }
.levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.level { padding: 16px; min-height: 116px; }
.level-score { color: var(--gold); font-size: 22px; font-weight: 700; }
.workflow { display: grid; grid-template-columns: repeat(5, 1fr); padding: 24px 16px; overflow: hidden; }
.workflow-step { position: relative; display: grid; justify-items: center; gap: 13px; padding: 0 11px; border: 0; background: transparent; color: var(--muted); text-align: center; }
.workflow-step::after { content: ""; position: absolute; z-index: 0; top: 22px; left: 57%; width: 87%; height: 1px; background: rgba(120,167,221,.3); transition: background .25s ease, box-shadow .25s ease; }
.workflow-step:last-child::after { display: none; }
.workflow-node { position: relative; z-index: 1; display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid rgba(120,167,221,.36); border-radius: 50%; background: #11192a; color: #d4ddeb; font-family: Georgia, serif; font-size: 16px; transition: .25s ease; }
.workflow-copy { display: grid; gap: 6px; max-width: 165px; }.workflow-copy b { color: var(--text); font-size: 14px; }.workflow-copy small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.workflow-step:hover .workflow-node, .workflow-step:focus-visible .workflow-node, .workflow-step.active .workflow-node { border-color: var(--gold); background: rgba(242,198,109,.14); color: var(--gold-bright); box-shadow: 0 0 20px rgba(242,198,109,.25); }
.workflow-step:hover::after, .workflow-step:focus-visible::after, .workflow-step.active::after { background: var(--gold); box-shadow: 0 0 12px rgba(242,198,109,.45); }
.workflow-step:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; border-radius: 10px; }

.workspace { display: grid; grid-template-columns: 250px minmax(0,1fr) 235px; gap: 16px; align-items: start; }
.sidebar, .status-panel { padding: 15px; position: sticky; top: 16px; }
.side-label { padding: 8px 10px 14px; color: var(--muted); font-size: 12px; }
.theme-link { width: 100%; display:flex; align-items:center; justify-content:space-between; gap:8px; text-align: left; border: 0; background: transparent; color: var(--muted); padding: 11px 10px; border-radius: 9px; font-size: 13px; }
.theme-link b { color: var(--gold); font-size:12px; font-weight:600; }.theme-link i { font-size:11px; font-style:normal; color:rgba(189,200,217,.46); }
.theme-link.active, .theme-link.related:hover { background: rgba(242,198,109,.1); color: var(--gold-bright); }.theme-link.unavailable { opacity:.48; cursor:not-allowed; }
.theme-menu { color:var(--text); border:1px solid rgba(120,167,221,.18); background:rgba(12,18,31,.42); }.theme-menu > span { display:flex; gap:5px; align-items:center; }.theme-menu i { display:flex; align-items:center; gap:5px; }.theme-menu em { display:grid; place-items:center; width:16px; height:16px; border:1px solid rgba(120,167,221,.25); border-radius:50%; color:var(--gold); font-size:14px; font-style:normal; line-height:1; }.theme-submenu { display:none; padding:7px 0 1px; }.theme-submenu.expanded { display:grid; gap:1px; }
.question-list { display: grid; gap: 14px; }
.question-card { padding: 22px; }
.question-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.pill { padding: 4px 8px; border: 1px solid rgba(120,167,221,.28); border-radius: 999px; color: #b8c9df; }
.pill.strong { color: var(--gold); border-color: rgba(242,198,109,.38); }
.question-text { font-size: 17px; line-height: 1.6; margin: 16px 0; }
.score-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.score-option { min-height:62px; display:grid; place-items:center; gap:3px; padding:8px 5px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(7,10,18,.45); color: var(--muted); text-align:center; transition: .2s ease; }
.score-option:hover, .score-option.selected { border-color: var(--gold); color: var(--text); background: rgba(242,198,109,.11); }
.score-option b { display:block; color:var(--gold); font-size:18px; line-height:1; }.score-option span { font-size:11px; line-height:1.25; }
.score-description-panel { display:grid; grid-template-columns:136px minmax(0,1fr); gap:13px; align-items:start; margin-top:10px; padding:13px 14px; border:1px solid rgba(120,167,221,.16); border-radius:10px; background:rgba(9,14,26,.45); color:var(--muted); font-size:12px; line-height:1.6; }.score-description-panel > span { color:#9eacc0; font-size:11px; letter-spacing:.04em; }.score-description-panel b { color:var(--gold-bright); font-size:13px; }.score-description-panel p { margin:4px 0 0; }.score-description-panel:not(.has-value) p { margin:0; }
.progress-track { height: 7px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; margin: 15px 0 10px; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg,#6e91c4,var(--gold)); border-radius: inherit; transition: width .3s ease; }
.stat { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); }.stat:last-child{border-bottom:0}.stat b{display:block;font-size:24px;margin-top:4px}.actions{display:grid;gap:9px;margin-top:17px}.notice{font-size:12px;color:var(--muted);line-height:1.55;margin-top:14px}

.dashboard-top { display: grid; grid-template-columns: .9fr 1.3fr .8fr; gap: 16px; }
.metric { padding: 24px; min-height: 185px; }.metric-value{font-size:52px;letter-spacing:-.05em;margin:12px 0;color:var(--gold-bright)}.metric-unit{font-size:19px;color:var(--gold)}
.radar-card { position:relative; padding: 18px; min-height: 390px; }.radar-card canvas { width: 100%; height: 330px; display: block; }.radar-tooltip { position:absolute; z-index:2; right:18px; bottom:18px; min-width:176px; padding:11px 13px; border:1px solid rgba(242,198,109,.45); border-radius:9px; background:rgba(10,15,26,.92); box-shadow:0 10px 26px rgba(0,0,0,.28); }.radar-tooltip > span { display:block; color:#b8c9df; font-size:11px; }.radar-tooltip b { display:block; margin-top:3px; color:var(--gold-bright); font-size:21px; }.radar-tooltip small { color:var(--gold); font-size:12px; }.radar-tooltip p { margin:5px 0 0; color:var(--muted); font-size:11px; line-height:1.45; }
.theme-score-list { display: grid; gap: 10px; }.theme-score { padding: 13px; display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;border-bottom:1px solid rgba(255,255,255,.07)}.theme-score:last-child{border:0}.theme-score b{color:var(--gold)}
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }.list-card{padding:20px}.card-hint{margin:8px 0 2px;color:var(--muted);font-size:12px;line-height:1.5}.result-row{padding:13px 0;border-bottom:1px solid rgba(255,255,255,.07)}.result-row:last-child{border:0}.result-row strong{font-size:14px;line-height:1.5}.result-row small{display:block;color:var(--muted);margin-top:5px}.score-tag{float:right;color:var(--gold);font-weight:700}.empty{padding:40px 18px;text-align:center;color:var(--muted)}
.role-picker { display:flex; gap:12px; align-items:center; }.role-picker select{min-width:220px;background:#10172a;border:1px solid var(--line);color:var(--text);padding:11px 12px;border-radius:10px;outline:0}
.questionnaire-complete-layout { grid-template-columns:250px minmax(0,1fr); }.submission-complete { max-width:620px; min-height:320px; padding:36px; align-self:start; }.submission-complete h3 { margin:13px 0 9px; font-size:29px; }.submission-complete > p { max-width:470px; color:var(--muted); line-height:1.75; }.completion-summary { display:flex; justify-content:space-between; align-items:center; margin:25px 0 19px; padding:16px; border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08); color:var(--muted); }.completion-summary b { color:var(--gold-bright); font-size:28px; }.completion-summary small { color:var(--muted); font-size:14px; }
.toast { position: fixed; right: 24px; bottom: 24px; padding: 13px 17px; background: #1c2841; border: 1px solid var(--line); border-radius: 10px; color: var(--text); box-shadow: 0 12px 30px rgba(0,0,0,.3); }

@media (max-width: 1050px) { .hero,.dashboard-top{grid-template-columns:1fr}.orbit{min-height:320px}.workspace{grid-template-columns:220px 1fr}.status-panel{grid-column:1/-1;position:relative;top:auto}.questionnaire-complete-layout{grid-template-columns:220px minmax(0,1fr)}.levels{grid-template-columns:repeat(3,1fr)}.workflow{grid-template-columns:1fr;gap:0;padding:14px 20px}.workflow-step{grid-template-columns:46px 1fr;justify-items:start;text-align:left;padding:12px 0}.workflow-step::after{top:45px;left:22px;width:1px;height:40px}.workflow-copy{max-width:420px}.workflow-step:last-child::after{display:none} }
@media (max-width: 720px) { .shell{padding:0 14px 28px}.topbar{min-height:68px}.top-nav{gap:0}.nav-button{font-size:12px;padding:9px 7px}.subbar{align-items:start;gap:12px;flex-direction:column}.hero{padding:28px;gap:8px;min-height:0}.orbit{transform:scale(.82);margin:-40px}.theme-grid,.levels,.dash-grid{grid-template-columns:1fr}.workspace,.questionnaire-complete-layout{grid-template-columns:1fr}.sidebar{position:relative;top:auto;overflow:visible;white-space:normal}.theme-link{width:100%;display:flex}.theme-submenu.expanded{grid-template-columns:1fr 1fr;gap:3px}.theme-submenu .theme-link{font-size:12px}.score-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.score-option{min-height:58px;padding:7px 3px}.score-option b{font-size:16px}.score-option span{font-size:10px;word-break:break-all}.score-description-panel{grid-template-columns:1fr;gap:5px;padding:12px}.submission-complete{padding:27px 22px;min-height:0}.submission-complete h3{font-size:26px}.role-picker{width:100%;align-items:stretch;flex-direction:column}.role-picker select{min-width:0;width:100%}.dashboard-top{grid-template-columns:1fr}.radar-tooltip{right:12px;bottom:12px}.brand{font-size:13px}.brand-mark{width:26px;height:26px}.theme-card{min-height:0;overflow:visible}.theme-description{min-height:0}.theme-secondary{position:static;display:none;margin-top:12px;opacity:1;transform:none;pointer-events:auto}.theme-card.expanded .theme-secondary{display:block}.theme-card:hover .theme-secondary,.theme-card:focus .theme-secondary{display:none}.theme-card.expanded:hover .theme-secondary,.theme-card.expanded:focus .theme-secondary{display:block} }
