@font-face {
    font-family: Inter;
    src: url("media/inter.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
:root {
    --nav: clamp(174px, 14.15vw, 226px);
    --header: 65px;
    --gutter: clamp(16px, 1.42vw, 25px);
    --ink: #101d40;
    --navy: #071958;
    --muted: #455574;
    --line: #e2e9f4;
    --blue: #0b58d7;
    --green: #22863d;
    --shadow: 0 4px 13px #1c44700b, 0 1px 4px #32588f0b;
    --radius: 16px;
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; min-height: 100vh; font: 400 14px/1.45 Inter, Arial, sans-serif; color: var(--ink); background: #f0f5fd; }
body.app-shell { background: radial-gradient(ellipse at 39% 12%, #e4edfc 0, transparent 39%), linear-gradient(117deg, #edf3fc, #f8fafd 60%, #edf4fe); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img { display: block; max-width: 100%; object-fit: cover; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.19; letter-spacing: -.027em; }
h2 { font-size: 20px; font-weight: 800; }
h3 { font-size: 16px; font-weight: 800; }
small { font-size: .83em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #fe9f1b; outline-offset: 3px; }
.icon { flex: none; display: inline-block; vertical-align: -.18em; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; inset: 8px auto auto 12px; padding: 10px 15px; border-radius: 8px; color: #fff; background: #0a3e99; transform: translateY(-160%); z-index: 60; }
.skip-link:focus { transform: translateY(0); }
.pre-line { white-space: pre-line; overflow-wrap: anywhere; }
.panel { background: linear-gradient(148deg, #fff 0%, #f7faff 100%); border: 1px solid #e6edf7; border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.main-content { margin-left: var(--nav); padding: calc(var(--header) + 15px) var(--gutter) 25px; min-width: 0; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 21; width: var(--nav); background: linear-gradient(154deg, #193d87 0, #0d2d69 34%, #18458a 68%, #316dc0 100%); color: #f5f8ff; display: flex; flex-direction: column; isolation: isolate; }
.sidebar::after { content: ""; position: absolute; inset: auto 0 0; width: 100%; height: clamp(175px, 24.5vh, 245px); background: url("media/campus.webp") center bottom / 100% auto no-repeat; mask-image: linear-gradient(transparent, #000 24%); pointer-events: none; z-index: -1; opacity: .9; }
.brand { display: flex; align-items: center; min-height: 84px; padding: 18px 13% 12px; }
.brand .brand-mindshift { width: 100%; max-width: 152px; height: auto; object-fit: contain; }
.brand .brand-small { display: none; }
.sidebar nav { flex: 1; overflow-y: auto; scrollbar-width: thin; padding: 8px 10px 14px; }
.sidebar-footer { padding: 10px 16px 14px; font-size: 11px; color: #dbe9ff; letter-spacing: .01em; border-top: 1px solid #b5d0f030; background: linear-gradient(180deg, transparent, #081e4f66); }
.sidebar-footer strong { color: #fff; font-weight: 760; }
.nav-group { margin: 0 0 14px; }
.nav-group + .nav-group { margin: 0 10px 12px; border-top: 1px solid #b5d0f044; padding-top: 12px; }
.nav-group:first-child + .nav-group { border-top: none; padding-top: 4px; }
.nav-group p { color: #dfebff; text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: .035em; padding: 1px 1px 7px; }
.nav-group a { padding: 8px 11px; min-height: 37px; display: flex; align-items: center; gap: 12px; border-radius: 12px; color: #eff5ff; font-size: clamp(11px, .94vw, 15px); font-weight: 540; line-height: 1.2; }
.nav-group:not(:first-child) a { margin-inline: -9px; }
.nav-group a .icon { color: #d0e0fc; }
.nav-group a:hover { background: #ffffff1a; }
.nav-group a[aria-current] { background: linear-gradient(108deg, #3688f5, #548dee); color: #fff; box-shadow: inset 0 0 0 1px #92c1ff49, 0 3px 8px #061f5c37; font-weight: 680; }
.nav-group a[aria-current] .icon { color: #fff; }
.nav-group:first-child a { min-height: 47px; padding-inline: 19px; }
.topbar { height: var(--header); z-index: 20; display: flex; align-items: center; gap: clamp(10px, 1.15vw, 18px); position: fixed; top: 0; left: var(--nav); right: 0; padding: 0 var(--gutter); background: #f4f8feeb; border-bottom: 1px solid #e8eef9; backdrop-filter: blur(12px); }
.topbar-brand { display: inline-flex; align-items: center; flex: none; padding-right: clamp(10px, 1.15vw, 16px); border-right: 1px solid #d7e2f2; }
.topbar-brand img { height: clamp(32px, 2.75vw, 40px); width: auto; max-width: none; object-fit: contain; }
.top-title { color: var(--navy); display: flex; align-items: center; gap: 10px; font-size: clamp(17px, 1.75vw, 27px); font-style: italic; font-weight: 850; letter-spacing: -.04em; line-height: 1.06; min-width: 0; }
.top-title > .icon { color: #153d90; }
.top-label { display: inline-flex; background: #dfebfd; color: #17346d; border-radius: 20px; padding: 5px 13px; font-size: clamp(10px, .9vw, 14px); font-weight: 650; white-space: nowrap; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 13px; }
.icon-button { border: 0; border-radius: 10px; width: 40px; height: 40px; padding: 0; display: inline-grid; place-items: center; color: #172b52; background: transparent; position: relative; flex: 0 0 auto; }
.icon-button:hover { background: #e5edf9; }
.alert-icon span { display: block; width: 9px; height: 9px; background: #ed2b48; border-radius: 50%; position: absolute; top: 7px; right: 9px; box-shadow: 0 0 0 2px #f1f6fc; }
.header-divider { width: 1px; background: #dce7f7; height: 29px; }
.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px; color: #263d63; border-radius: 18px; }
.user-menu summary::-webkit-details-marker { display: none; }
.avatar { display: inline-flex; border-radius: 50%; object-fit: cover; flex: none; background: #d4e8ff; vertical-align: middle; }
.initials { align-items: center; justify-content: center; width: 37px; height: 37px; color: #1350a4; font-weight: 800; background: linear-gradient(145deg, #dbeaff, #c6dfff); }
.menu-popover { position: absolute; right: 0; top: calc(100% + 10px); min-width: 215px; width: max-content; max-width: 290px; background: #fff; border: 1px solid var(--line); box-shadow: 0 15px 38px #15326828; border-radius: 14px; padding: 12px; }
.menu-popover b, .menu-popover small { display: block; padding-inline: 8px; overflow-wrap: anywhere; }
.menu-popover small { color: var(--muted); margin: 2px 0 8px; }
.menu-popover a, .menu-popover button { display: flex; align-items: center; gap: 9px; padding: 8px; color: var(--ink); border: 0; background: transparent; width: 100%; border-radius: 7px; font-size: 13px; }
.menu-popover a:hover, .menu-popover button:hover { background: #edf4ff; }
.mobile-menu, .nav-overlay { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; padding: 9px 15px; min-height: 40px; border-radius: 12px; font-weight: 720; line-height: 1.2; white-space: normal; text-align: center; }
.btn.primary { color: #fff; background: linear-gradient(180deg, #1778f1 0%, #0757d8 54%, #0644ba 100%); border-color: #135bd0; box-shadow: inset 0 1px #a3d3ff60, 0 2px 4px #0d47ac24; }
.btn.primary:hover { background: linear-gradient(#166ce0, #073b9d); }
.btn.primary:disabled { background: #e8eef8; border-color: #e4e9f2; color: #52637f; box-shadow: none; }
.btn.primary .icon:has(use[href$="#play"]), .circle-play .icon { fill: currentColor; stroke-width: 1.3; }
.btn.subtle { background: #ebf3ff; border-color: #dce9fb; color: #0b459c; }
.btn.subtle:hover { background: #deebff; }
.btn.small { font-size: 12px; min-height: 33px; border-radius: 11px; padding: 6px 11px; }
.btn.wide { width: 100%; }
.tile { display: inline-grid; place-items: center; border-radius: 10px; width: 42px; height: 42px; background: linear-gradient(145deg, #e2efff, #eff5ff); color: #155bcc; flex: none; }
.tile.locked { color: #586981; background: #edf2f8; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.panel-heading h2 { display: flex; align-items: center; gap: 8px; font-size: clamp(15px, 1.48vw, 22px); }
.panel-heading a, .text-link { color: #124da8; font-weight: 700; font-size: 12px; }
.panel-heading > a { white-space: nowrap; }
.panel-heading a:hover, .text-link:hover, .program-copy h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link { display: inline-flex; align-items: center; gap: 4px; }
.progress-bar { background: #dfe6f4; height: 11px; min-width: 22px; border-radius: 18px; overflow: hidden; box-shadow: inset 0 1px 2px #17367713; }
.progress-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(#2788f9, #0951d3 72%); }
.progress-bar.green > span { background: linear-gradient(#5abf63, #269944); }
.notice { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; padding: 10px 14px; border-radius: 11px; border: 1px solid; font-size: 13px; }
.notice.success { background: #e8f8ed; border-color: #b6e5c4; color: #176433; }
.notice.error { background: #fff0f0; border-color: #f5c2c8; color: #8f2234; }
.empty, .empty-inline { color: var(--muted); }
.empty { padding: 25px; text-align: center; }
.empty-inline { padding: 8px 0; font-size: 13px; }
.state { display: inline-flex; align-items: center; justify-content: center; gap: 4px; border-radius: 20px; padding: 3px 9px; font-size: 11px; font-weight: 760; white-space: nowrap; line-height: 1.2; }
.state.done { color: #156234; background: #dcf4e4; }
.state.ready { color: #194d9e; background: #e2efff; }
.state.locked { color: #50617c; background: #edf1f7; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #2ca451; }
.reward { color: #824d08; font-weight: 780; }
.section-title { font-size: clamp(19px, 1.6vw, 26px); margin: 11px 0 9px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(277px, 1fr); gap: 16px; align-items: start; }
.dashboard-main, .dashboard-rail { display: grid; gap: 11px; min-width: 0; }
.hello-hero { min-height: clamp(153px, 11.65vw, 203px); overflow: hidden; border-radius: var(--radius); position: relative; isolation: isolate; background: linear-gradient(97deg, #fbfdff, #e8f4ff 58%, #b9e3ff); box-shadow: var(--shadow); }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 36%; background: url("media/hero.webp") right center / cover no-repeat; mask-image: linear-gradient(90deg, transparent, #000 14%); }
.hero-copy { padding: clamp(13px, 1.45vw, 25px); width: 55%; }
.hero-copy h1, .underlined, .login-illustration h1 { font-weight: 870; font-style: italic; letter-spacing: -.057em; color: #071d64; line-height: 1.04; }
.hero-copy h1 { font-size: clamp(34px, 4vw, 62px); white-space: nowrap; text-shadow: 1px 1px #fff9; }
.hero-copy p { max-width: 395px; margin-top: 6px; font-size: clamp(13px, 1.3vw, 21px); color: #15243b; line-height: 1.27; letter-spacing: -.022em; text-shadow: 0 0 7px #f4f9ff, 1px 0 #f5faff; }
.wave { font-style: normal; font-size: .73em; vertical-align: .12em; }
.dashboard-tabs { padding: 4px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; border-radius: 15px; }
.dashboard-tabs a { color: #25344e; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 5px; border-radius: 11px; font-weight: 690; font-size: clamp(10px, .95vw, 15px); text-align: center; }
.dashboard-tabs a[aria-current] { color: #fff; box-shadow: inset 0 1px #8fcfff; background: linear-gradient(#177df6, #0752cb); }
.dashboard-tabs a:not([aria-current]):hover { background: #e9f3ff; color: #094dad; }
.program-section .section-title { margin-top: 4px; }
.program-card { display: grid; grid-template-columns: minmax(136px, 185px) minmax(0, 1fr) minmax(132px, 27%); align-items: center; gap: clamp(12px, 1.3vw, 20px); padding: 14px; }
.program-art { border-radius: 12px; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; box-shadow: 0 4px 12px #13367a1a; }
.program-copy { padding: 2px 0; min-width: 0; }
.program-copy h3 { margin-top: 5px; font-size: clamp(17px, 1.54vw, 24px); font-weight: 850; line-height: 1.02; }
.program-copy p { color: #22314c; margin: 5px 0 9px; font-size: clamp(11px, .94vw, 15px); line-height: 1.31; }
.program-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; font-size: clamp(9px, .73vw, 12px); color: #2d3e5d; font-weight: 580; }
.program-meta span { display: inline-flex; gap: 4px; align-items: center; }
.program-progress { border-left: 1px solid #e4ecf7; padding: 5px 3px 5px 13px; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
.program-progress b { font-size: 12px; }
.program-progress > strong { font-size: clamp(23px, 2vw, 33px); line-height: 1.1; color: var(--navy); font-weight: 850; }
.program-progress .btn { margin-top: 8px; font-size: clamp(10px, .92vw, 15px); }
.dashboard-lower { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 12px; }
.module-path, .dash-missions { padding: 12px; }
.module-path h2, .dash-missions h2 { white-space: nowrap; }
.path-list, .mission-path { list-style: none; padding: 0; margin: 0; }
.path-list li, .mission-path > li { display: grid; grid-template-columns: 27px minmax(0, 1fr); align-items: center; gap: 7px; position: relative; z-index: 1; }
.path-list li:not(:last-child)::before, .mission-path > li:not(:last-child)::before { content: ""; position: absolute; top: 54%; bottom: -52%; width: 2px; left: 12.5px; background: #ccd8ed; z-index: -1; }
.path-marker { border-radius: 50%; background: #8291aa; color: white; font-size: 11px; font-weight: 800; width: 27px; height: 27px; display: grid; place-items: center; box-shadow: 0 0 0 3px #f8fbff; }
.done > .path-marker { background: #289c50; }
.ready > .path-marker { background: #0861d7; }
.module-link { display: flex; align-items: center; gap: 7px; padding: 4px; border: 1px solid transparent; border-radius: 9px; min-height: 48px; min-width: 0; }
.module-link:hover { background: #eaf2ff; }
.module-link > img { width: clamp(45px, 4.7vw, 74px); height: 40px; border-radius: 6px; }
.module-link > span:not(.circle-play) { flex: 1 1 auto; min-width: 0; }
.module-link > span small, .module-link > span strong { display: block; line-height: 1.2; font-size: clamp(9px, .8vw, 13px); overflow-wrap: anywhere; }
.module-link > span small { color: #344261; }
.module-link .module-status { color: #526381; margin-right: 3px; }
.done .module-link .module-status { color: #218742; }
.ready .module-link { border-color: #8bb6f2; background: #eaf4ff; }
.circle-play { width: 27px; height: 27px; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(#1684f2, #0a56d1); flex: none; }
.mini-mission-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(4px, .6vw, 10px); }
.mini-mission { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; border-radius: 11px; padding: 6px; background: #f2f7fe; border: 1px solid #e5edf9; min-height: 145px; }
.mini-mission:hover { border-color: #4b8fea; }
.mini-mission.ready { border-color: #4488e9; background: #edf5ff; box-shadow: inset 0 0 0 1px #8db8f233; }
.mini-mission > div { position: relative; width: 100%; }
.mini-mission img { width: 100%; aspect-ratio: 1.19; height: auto; border-radius: 7px; }
.mini-mission > small { color: #344463; font-weight: 650; font-size: 10px; }
.mini-mission > strong { color: var(--navy); font-size: clamp(10px, 1.05vw, 17px); font-weight: 850; font-style: italic; line-height: 1.03; overflow-wrap: anywhere; }
.mini-mission > .circle-play, .mini-mission > .mini-lock { align-self: center; margin-top: auto; }
.mini-lock { color: #63749a; margin-bottom: 4px; }
.mission-tick { z-index: 1; border: 2px solid white; position: absolute; top: -6px; right: -5px; width: 25px; height: 25px; display: grid; place-items: center; background: #30a053; color: white; border-radius: 50%; }
.xp-card { padding: 11px 15px; }
.xp-heading { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; font-size: clamp(10px, .9vw, 14px); white-space: nowrap; }
.xp-heading > strong { color: #12234e; font-weight: 760; white-space: normal; }
.xp-heading > span:last-child { margin-left: auto; font-weight: 720; }
.level-chip { padding: 3px 8px; display: inline-flex; align-items: center; gap: 2px; color: #713900; background: linear-gradient(105deg, #ffd16b, #f9e6af); border-radius: 20px; font-weight: 850; }
.level-chip .icon { fill: #fbbb29; stroke: #b4820d; filter: drop-shadow(0 1px 1px #dc7d005e); }
.rail-radar, .agenda-panel, .certificate-panel { padding: 12px 14px; }
.radar-area { position: relative; min-width: 0; display: grid; place-items: center; }
.radar-chart { width: 100%; max-height: 213px; font-family: Inter, Arial, sans-serif; overflow: visible; }
.radar-legend { position: absolute; top: 6px; right: 0; font-size: 9.5px; color: #213a63; display: grid; gap: 4px; font-weight: 650; z-index: 1; }
.radar-legend span { white-space: nowrap; }
.radar-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: #1767e8; margin-right: 2px; }
.radar-legend span:last-child i { background: #6ac5e8; }
.radar-empty { position: absolute; bottom: 0; color: #526887; font-size: 11px; padding: 3px 8px; background: #eff4fc; border-radius: 5px; }
.agenda-list { display: grid; }
.agenda-row { border-top: 1px solid #ebf0f8; display: grid; grid-template-columns: 48px 16px minmax(0, 1fr); align-items: center; gap: 8px; padding: 6px 0; color: #172949; }
.agenda-row:hover { color: #0a58c9; }
.agenda-row:first-child { border-top: 0; padding-top: 1px; }
.agenda-date { display: grid; justify-items: center; line-height: 1.1; background: #e8f2ff; border-radius: 9px; padding: 5px; color: #174b98; }
.agenda-date b { font-size: 16px; }
.agenda-row strong, .agenda-row small { display: block; font-size: clamp(9px, .85vw, 13px); line-height: 1.23; }
.agenda-row small { color: #455671; font-weight: 540; }
.certificate-panel .panel-heading h2 { font-size: 18px; }
.certificate-panel .panel-heading .tile { width: 34px; height: 34px; }
.certificate-body { display: flex; gap: 10px; align-items: center; font-size: 12px; line-height: 1.26; }
.certificate-body > svg { color: #1459be; }
.certificate-body > div { flex: 1; }
.certificate-body p { color: var(--muted); margin-top: 2px; }
.certificate-body .tile { height: 35px; width: 35px; }
.mission-board { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, 1fr); gap: 15px; align-items: start; }
.board-main { display: grid; gap: 12px; }
.mission-banner { background: linear-gradient(95deg, #f5f9ff, #dcebff 74%, #c7e7f9); position: relative; isolation: isolate; border-radius: 16px; min-height: clamp(143px, 10.9vw, 180px); overflow: hidden; padding: clamp(16px, 1.35vw, 24px); }
.mission-banner > div { z-index: -1; position: absolute; inset: 0 0 0 43%; background: url("media/mission-hero.webp") right center / cover no-repeat; mask-image: linear-gradient(90deg, transparent, #000 15%); }
.underlined { font-size: clamp(39px, 4.1vw, 64px); display: inline-block; position: relative; width: fit-content; }
.underlined::after { content: ""; position: absolute; left: 15%; right: 3%; top: 99%; height: 8px; border-radius: 85% 75% 0 0; border-top: 5px solid #f85d73; transform: rotate(-4deg) skewX(-20deg); pointer-events: none; }
.mission-banner p { margin-top: 16px; color: #1c2d48; font-weight: 620; font-size: clamp(13px, 1.15vw, 18px); line-height: 1.24; max-width: 53%; }
.mission-stages { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; border-radius: 12px; overflow: hidden; background: linear-gradient(105deg, #e8f3ff 0%, #dbebff 49%, #fff1f1 49.2%, #ffe4e5); }
.mission-stages > div { display: flex; min-width: 0; gap: 10px; justify-content: center; align-items: center; padding: 11px 7px; color: #153d95; }
.mission-stages > div:nth-child(2) { color: #a51d3b; }
.mission-stages strong, .mission-stages small { display: block; line-height: 1.2; }
.mission-stages strong { font-size: clamp(11px, 1.12vw, 17px); }
.mission-stages small { margin-top: 2px; font-size: clamp(10px, .86vw, 13px); }
.mission-path { padding: 8px 12px 10px; }
.mission-path > li { gap: 13px; grid-template-columns: 33px minmax(0, 1fr); }
.mission-path > li:not(:last-child)::before { left: 15.5px; }
.mission-path > li > .path-marker { height: 33px; width: 33px; font-size: 15px; }
.board-row { display: grid; grid-template-columns: clamp(76px, 8.7vw, 145px) minmax(0, 1fr) 105px; gap: clamp(8px, 1.1vw, 16px); align-items: center; padding: 5px 8px; margin: 2px 0; border: 1px solid #e7edf5; background: linear-gradient(130deg, #f1f6ff, #f9fbff); border-radius: 14px; min-height: 72px; }
.board-row:hover { border-color: #8eb5ef; }
.board-row.selected { border-color: #4e92ed; background: linear-gradient(135deg, #f0f8ff, #e9f3ff); box-shadow: 0 0 0 1px #4b89df28; }
.board-row img { border-radius: 9px; width: 100%; height: clamp(58px, 4.6vw, 74px); object-position: center 45%; }
.mission-name { min-width: 0; }
.mission-name > small { color: #192d54; font-weight: 720; font-size: clamp(10px, .84vw, 13px); }
.mission-name strong { display: block; color: var(--navy); font-weight: 860; font-style: italic; font-size: clamp(14px, 1.25vw, 21px); line-height: 1.11; overflow-wrap: anywhere; }
.mission-name > span { display: block; margin-top: 2px; font-size: clamp(10px, .92vw, 14px); line-height: 1.25; }
.mission-name .final-badge { display: inline-flex; align-items: center; gap: 4px; border-radius: 12px; background: #ffdf80; padding: 2px 6px; font-size: 10px; color: #704300; }
.board-state { justify-self: end; display: grid; gap: 3px; justify-items: end; }
.board-state .state.done { background: #258541; color: #fff; }
.board-state small { font-size: 11px; }
.mission-details { display: grid; gap: 12px; overflow: hidden; padding-bottom: 16px; }
.mission-detail-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 190px; padding: 16px 7px 9px 17px; background: linear-gradient(110deg, #fbfdff, #f0f6ff 54%, #d5e6ff); }
.mission-detail-hero img { width: 49%; height: 100%; right: 0; top: 0; position: absolute; object-position: center; z-index: -1; mask-image: linear-gradient(90deg, transparent, #000 18%); }
.mission-detail-hero > div { width: 55%; }
.mission-pill { display: inline-flex; border-radius: 18px; background: linear-gradient(#1977ec, #0647c5); color: #fff; padding: 5px 13px; font-weight: 750; font-size: 12px; white-space: nowrap; }
.mission-detail-hero h2 { font-size: clamp(25px, 2.65vw, 43px); font-weight: 870; font-style: italic; margin: 8px 0 7px; line-height: 1.03; }
.mission-detail-hero p { font-size: clamp(11px, .845vw, 14px); line-height: 1.25; font-weight: 650; }
.detail-facts, .detail-skills, .mission-detail-action, .history-mini { margin-inline: 12px; }
.detail-facts { background: #f9fbff; border: 1px solid var(--line); border-radius: 13px; padding: 5px 10px; }
.detail-facts > div { display: flex; align-items: flex-start; gap: 12px; padding: 8px 4px; }
.detail-facts > div + div { border-top: 1px solid #e7edf7; }
.detail-facts svg { color: #1955af; }
.detail-facts strong { color: var(--navy); }
.detail-facts em { color: #98364d; font-style: normal; }
.detail-facts p { color: #203454; font-size: clamp(11px, .96vw, 14px); line-height: 1.3; margin-top: 2px; white-space: pre-line; }
.detail-skills { padding: 12px; border-radius: 11px; background: #e9f1ff; }
.detail-skills > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.detail-skills span { border-radius: 10px; background: #fafcff; flex: 1 1 95px; display: flex; align-items: center; gap: 6px; color: #13254e; font-size: 11px; font-weight: 700; padding: 8px; }
.detail-skills span .icon { color: #bf2850; }
.detail-skills span:nth-child(2) .icon { color: #9b6a09; }
.mission-detail-action .btn { min-height: 49px; }
.consent { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; color: #314865; line-height: 1.35; margin-bottom: 9px; }
.consent input { margin: 2px 0 0; }
.consent a { color: #104da7; text-decoration: underline; }
.history-mini { border-top: 1px solid var(--line); padding: 11px 2px 0; }
.history-mini a { display: flex; align-items: center; justify-content: space-between; padding: 7px; color: #26466f; font-weight: 650; font-size: 12px; border-radius: 6px; }
.history-mini a:hover { background: #edf5ff; }
.game-home { grid-template-columns: minmax(0, 2.7fr) minmax(255px, 1fr); }
.game-progress { display: grid; grid-template-columns: 42px minmax(110px, 22%) minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 19px; }
.game-progress > .icon { color: #1856ad; }
.game-progress strong, .game-progress small { display: block; }
.game-progress small { color: var(--muted); }
.game-heading { margin: 5px 0 0; }
.game-heading h2 { font-size: clamp(17px, 1.75vw, 27px); }
.filter-pills { display: inline-flex; border-radius: 30px; background: #fbfdff; padding: 3px; gap: 2px; box-shadow: var(--shadow); }
.filter-pills button { border: 0; border-radius: 18px; padding: 7px 10px; background: transparent; color: #243658; font-size: 11px; white-space: nowrap; }
.filter-pills button[aria-pressed="true"] { background: #1768db; color: white; font-weight: 700; }
.game-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.game-card { padding: 9px; display: flex; min-height: 150px; flex-direction: column; justify-content: space-between; }
.game-card:hover { border-color: #83b4f4; }
.game-card.ready { border-color: #5998ed; background: #f2f8ff; }
.game-card > div { display: grid; grid-template-columns: minmax(0, 48%) minmax(0, 1fr); gap: 10px; }
.game-card img { width: 100%; height: 100%; min-height: 91px; border-radius: 10px; }
.game-card small { display: block; color: #2256a0; font-size: 10px; font-weight: 760; margin-top: 4px; }
.game-card strong { display: block; font-size: clamp(13px, 1.22vw, 20px); line-height: 1.03; color: var(--navy); font-style: italic; font-weight: 850; margin: 2px 0 5px; }
.game-card p { color: #263753; line-height: 1.2; font-size: 11px; }
.game-card footer { display: flex; justify-content: space-between; align-items: center; gap: 3px; margin-top: 5px; padding: 5px 3px 0; border-top: 1px solid #eaf0fa; font-size: 11px; }
.profile-summary, .game-badges, .game-ranks { padding: 15px; }
.profile-summary > div:first-child { display: flex; gap: 13px; align-items: center; }
.profile-summary > div:first-child strong, .profile-summary > div:first-child small { display: block; }
.profile-summary > div:first-child strong { font-size: 18px; color: var(--navy); }
.profile-summary .xp-card { padding: 11px 0 0; }
.rank-mini { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 45px; padding: 5px 8px; font-size: 12px; }
.rank-mini + .rank-mini { border-top: 1px solid #e9eff9; }
.rank-mini.me, .rank-row.me { background: #e6f1ff; border-radius: 8px; }
.rank-number { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #2a507f; background: #edf3ff; font-weight: 800; font-size: 12px; }
.rank-1 { color: #644005; background: #ffcd63; }
.rank-2 { color: #294367; background: #d4e0f2; }
.rank-3 { color: #662e13; background: #f1ae80; }
.compact-shell { --nav: 78px; }
.compact-shell .brand { min-height: 77px; justify-content: center; padding: 4px; }
.compact-shell .brand .brand-mindshift, .compact-shell .sidebar-footer, .compact-shell .nav-group p, .compact-shell .nav-group a span { display: none; }
.compact-shell .brand .brand-small { display: block; width: 36px; border-radius: 50%; }
.compact-shell .sidebar nav { padding-inline: 9px; }
.compact-shell .nav-group { margin-inline: 5px; }
.compact-shell .nav-group + .nav-group { margin-inline: 5px; padding-top: 8px; }
.compact-shell .nav-group a { justify-content: center; min-height: 41px; padding-inline: 0; margin-inline: -4px; }
.compact-shell .sidebar::after { opacity: .22; }
.simulation-grid { display: grid; grid-template-columns: minmax(196px, .84fr) minmax(410px, 2.72fr) minmax(226px, 1.04fr); gap: 13px; align-items: start; }
.sim-brief { padding: 6px 5px 10px 0; }
.back-link { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px 6px 6px; background: #e2eeff; color: #144887; border-radius: 20px; width: fit-content; font-weight: 750; font-size: 12px; }
.back-link:hover { background: #d3e6ff; }
.sim-brief h1 { font-size: clamp(27px, 2.6vw, 46px); font-weight: 870; font-style: italic; line-height: 1.02; margin: 24px 0 11px; }
.sim-brief > p { font-size: clamp(13px, 1.12vw, 17px); line-height: 1.29; }
.sim-brief > section { display: flex; align-items: flex-start; gap: 8px; border-top: 1px solid #dce6f4; margin-top: 13px; padding-top: 13px; }
.sim-brief > section > .icon { color: #154f9a; }
.sim-brief > section h2 { font-size: 16px; margin-bottom: 6px; }
.sim-brief > section p, .sim-brief li { font-size: 12px; line-height: 1.35; color: #1e3453; }
.sim-brief ul { padding: 0; margin: 0; list-style: none; }
.sim-brief li { display: flex; gap: 6px; margin-bottom: 7px; }
.sim-brief li svg { color: #466b9e; }
.sim-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.sim-meta span { font-size: 10px; border-radius: 20px; padding: 3px 7px; color: #3b557e; background: #eaf2ff; font-weight: 650; }
.sim-center, .sim-rail { min-width: 0; display: grid; gap: 12px; }
.sim-studio { overflow: hidden; }
.sim-title { display: flex; align-items: center; justify-content: space-between; gap: 6px; background: linear-gradient(90deg,#e5f0ff,#dceaff); padding: 10px 13px; }
.sim-title h2 { display: flex; gap: 8px; align-items: center; font-size: clamp(14px, 1.27vw, 20px); }
.sim-title h2 svg { color: #1758b3; }
.sim-time { white-space: nowrap; display: flex; align-items: center; gap: 5px; background: #2e528e; color: white; font-size: 12px; font-weight: 700; border-radius: 25px; padding: 4px 9px; }
.sim-scene { min-height: clamp(235px, 26vw, 423px); isolation: isolate; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 14px; background: linear-gradient(90deg,#12304c24,#0d255665 64%,#0b204780), var(--scene-image) left center / cover no-repeat, #55749a; }
.sim-scene.boss-scene { background: var(--scene-image) left 44% / auto 125% no-repeat, linear-gradient(90deg,#afc5dd,#5b80a3 61%,#365a84); }
.scene-person { display: flex; gap: 7px; align-items: center; color: #fff; background: #17243ce8; border-radius: 11px; padding: 6px 9px; flex: 0 0 auto; max-width: 45%; box-shadow: 0 2px 8px #17243c50; }
.scene-person strong, .scene-person small { display: block; line-height: 1.2; }
.scene-person small { font-size: 10px; color: #e5edff; margin-top: 2px; }
.scene-person .avatar { width: 32px; height: 32px; }
.chat-log { display: flex; flex-direction: column; gap: 8px; width: min(57%, 440px); max-height: clamp(211px, 22vw, 355px); overflow-y: auto; scrollbar-width: thin; align-self: center; padding: 4px; }
.chat-message { display: grid; gap: 3px; border-radius: 14px 14px 14px 5px; padding: 10px 12px; background: #f7fbff; font-size: clamp(11px, .97vw, 15px); line-height: 1.36; min-width: 0; overflow-wrap: anywhere; box-shadow: 0 3px 10px #13233e2c; }
.chat-message small { font-size: 9px; color: #405679; }
.chat-message.human { background: #daeaff; margin-left: 17px; border-radius: 14px 14px 5px 14px; }
.response-form { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: 13px; padding: 14px; }
.response-form:not(:has(.response-options,.inbox-cases)) { grid-template-columns: minmax(0, 1fr); }
.response-options { min-width: 0; padding: 0; border: 0; display: grid; gap: 6px; margin: 0; }
.response-options legend { font-weight: 820; color: var(--navy); font-size: 16px; margin-bottom: 7px; padding: 0; }
.response-options label { font-size: 12px; display: flex; gap: 7px; align-items: center; padding: 6px; border: 1px solid #dfe9f7; background: #f5f9ff; border-radius: 11px; cursor: pointer; }
.response-options label:has(input:checked) { border-color: #2b79d7; background: #eff6ff; box-shadow: inset 0 0 0 1px #4e91e744; }
.response-options label strong, .response-options label small { display: block; line-height: 1.22; }
.response-options label small { margin-top: 3px; color: #3b5171; }
.choice-icon { display: grid; place-items: center; color: #1c66ca; margin-right: 2px; }
.response-compose { min-width: 0; display: flex; flex-direction: column; }
.response-form:has(.response-options,.inbox-cases) .response-compose { border-left: 1px solid #e4ebf6; padding-left: 12px; }
.response-compose > label { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; padding: 5px 9px; margin-bottom: 5px; color: #134e9d; background: #ebf3ff; border-bottom: 2px solid #2369d4; border-radius: 7px 7px 2px 2px; font-weight: 720; font-size: 12px; }
.response-compose textarea { flex: 1; }
.counter { text-align: right; margin: 4px 1px 6px; font-size: 10px; color: #425a7d; }
.inbox-cases p { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 11px; color: #27446a; }
.sim-rail > section { padding: 12px; border-radius: 13px; }
.step-card > div:first-child { display: flex; justify-content: space-between; gap: 4px; font-size: 12px; color: var(--navy); margin-bottom: 9px; }
.step-meter { display: flex; gap: 4px; }
.step-meter span { flex: 1; border-radius: 11px; height: 9px; background: #dce4ef; }
.step-meter .active { background: linear-gradient(#2585f5, #0755cf); }
.sim-rail h2 { display: flex; align-items: center; gap: 6px; font-size: 16px; margin-bottom: 9px; }
.coach-panel { background: linear-gradient(130deg, #eff5ff, #e8f1ff); }
.coach-panel h2 svg, .coach-panel ul svg { color: #1a65cc; }
.coach-panel > strong, .tip-panel > strong { display: block; font-size: 11px; font-weight: 700; }
.coach-panel ul { padding: 0; margin: 6px 0 0; list-style: none; display: grid; gap: 5px; }
.coach-panel li { display: flex; gap: 5px; align-items: flex-start; color: #263c5d; line-height: 1.28; font-size: 11px; }
.tip-panel { background: linear-gradient(135deg, #fff8e8, #fffdf5); border-color: #faf0d7; }
.tip-panel h2 svg, .profile-insight .panel-heading svg { color: #a86b05; }
.tip-panel > div { display: flex; align-items: center; justify-content: space-between; gap: 2px; margin-top: 8px; }
.tip-panel > div span { font-size: 9px; line-height: 1.15; font-weight: 680; text-align: center; background: #fff; border: 1px solid #f2ead8; border-radius: 7px; padding: 6px 4px; }
.score-panel { background: linear-gradient(125deg, #e9f1ff, #f9fbff); }
.score-detail { display: grid; grid-template-columns: 64px minmax(0,1fr); align-items: center; gap: 8px; }
.score-ring { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: center; flex-direction: column; background: conic-gradient(#1769da var(--score-angle, 0deg), #d4dfef 0); width: 64px; height: 64px; border-radius: 50%; color: #123578; }
.score-ring::before { content: ""; position: absolute; inset: 5px; background: #f8fbff; border-radius: 50%; z-index: -1; }
.score-ring b { font-size: 19px; line-height: 1; }
.score-ring small { font-size: 9px; }
.score-dimension { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 4px; font-size: 9px; margin: 3px 0; }
.score-dimension .progress-bar { height: 5px; }
.score-panel > .text-link { margin-top: 7px; }
.feedback-panel { padding: 17px; }
.feedback-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; line-height: 1.35; }
.feedback-summary > div, .assignment-result { border-radius: 11px; padding: 11px; background: #eef5ff; }
.feedback-summary p { margin-top: 4px; }
.feedback-dimensions { margin-top: 12px; }
.feedback-dimensions > div { display: grid; grid-template-columns: 106px minmax(0, 1fr) auto; align-items: start; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 12px; }
.feedback-dimensions > div > span { text-align: right; color: #1757a9; font-weight: 800; }
.feedback-dimensions small { display: block; color: var(--muted); white-space: nowrap; }
.sim-finish { padding: 13px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.sim-studio > .sim-finish { padding: 13px; }
.original-evaluation { margin: 12px 0; }
.original-evaluation summary { cursor: pointer; color: #154c9d; font-weight: 750; }
.original-evaluation p { margin: 8px 0; font-size: 12px; }
.profile-header { display: grid; grid-template-columns: auto minmax(160px, 1fr) minmax(290px, 1.7fr); align-items: center; gap: clamp(12px, 1.5vw, 25px); margin: 2px 0 19px; }
.profile-header h1 { font-size: clamp(33px, 3.8vw, 57px); }
.profile-header p { color: #304460; line-height: 1.28; font-weight: 520; border-left: 1px solid #dce7f5; padding-left: 12px; }
.profile-target { display: grid; grid-template-columns: 33px minmax(130px,1.25fr) 1fr auto; gap: 9px; align-items: center; padding: 9px 13px; color: #24477b; background: #edf5ff; }
.profile-target > svg { color: #1468d5; }
.profile-target strong, .profile-target small { display: block; line-height: 1.18; }
.profile-target strong { color: var(--navy); }
.profile-target small { font-size: 10px; }
.profile-target > b { font-size: 11px; white-space: nowrap; }
.profile-top { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr); gap: 14px; align-items: stretch; }
.user-profile, .profile-radar, .profile-bottom > section { padding: clamp(12px, 1.35vw, 22px); }
.profile-identity { min-width: 0; display: flex; gap: clamp(9px, 1.25vw, 20px); align-items: center; margin-bottom: 13px; }
.profile-identity > div:last-child { min-width: 0; overflow-wrap: anywhere; }
.profile-identity > .avatar { flex-shrink: 0; width: clamp(65px, 7.2vw, 112px); height: clamp(65px, 7.2vw, 112px); }
.profile-initials { font-size: 34px; }
.profile-identity h2 { font-size: clamp(20px, 1.9vw, 30px); line-height: 1.05; overflow-wrap: anywhere; }
.profile-identity p { color: #2b3d5c; margin: 5px 0 6px; }
.user-profile .xp-card { padding: 11px 0 0; border-top: 1px solid var(--line); }
.level-path { list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0, 1fr)); gap: 2px; margin: 18px 0 0; padding: 0; }
.level-path li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; color: #465774; font-size: 11px; z-index: 1; }
.level-path li:not(:last-child)::before { content: ""; position: absolute; top: 12px; left: 50%; width: calc(100% + 2px); height: 2px; background: #dce5f1; z-index: -1; }
.level-path li.done::before { background: #6ca7ed; }
.level-path li > span { display: grid; place-items: center; color: #fff; background: #8396b5; width: 25px; height: 25px; border-radius: 50%; margin-bottom: 3px; }
.level-path li.current, .level-path li.done { color: #144284; }
.level-path li.current > span, .level-path li.done > span { background: #125cce; }
.level-path li.current > span { box-shadow: 0 0 0 2px #fff, 0 0 0 3px #2a76d6; }
.profile-radar-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(185px, 1fr); gap: 11px; }
.radar-large .radar-chart { max-height: 280px; }
.radar-large .radar-legend { position: static; display: flex; justify-self: end; margin-bottom: 3px; }
.skill-growth { border-left: 1px solid #e5edf9; padding: 1px 0 2px 12px; display: grid; align-content: start; gap: 8px; }
.skill-growth h3 { font-size: 15px; margin-bottom: 5px; }
.skill-growth > div > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 5px; font-size: 11px; }
.skill-growth .progress-bar { height: 8px; margin-top: 4px; }
.skill-growth small { color: #536786; white-space: nowrap; }
.growth-positive { color: #19773a; }
.growth-negative { color: #a12740; }
.profile-bottom { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 14px; align-items: stretch; }
.badge-grid { display: flex; gap: 14px; flex-wrap: wrap; justify-content: space-evenly; align-items: flex-start; }
.badge-item { display: grid; justify-items: center; gap: 6px; text-align: center; max-width: 78px; }
.badge-item > strong { font-size: 10px; line-height: 1.2; }
.badge-shape, .badge-shape > span { display: grid; place-items: center; clip-path: polygon(50% 0, 93% 24%, 93% 75%, 50% 100%, 7% 75%, 7% 24%); }
.badge-shape { width: 57px; height: 61px; background: linear-gradient(135deg, #fff3b3 2%, #f6bb34 41%, #b37913 99%); filter: drop-shadow(0 2px 1px #7d52084a); }
.badge-shape > span { width: 45px; height: 49px; color: #fff7dc; background: linear-gradient(145deg, #2487ee, #1334a2); }
.badge-shape.red > span { background: linear-gradient(145deg, #ec634d, #b61c42); }
.badge-shape.purple > span { background: linear-gradient(145deg, #914fed, #522483); }
.badge-shape.amber > span { background: linear-gradient(145deg, #e99b26, #bb5e24); }
.badge-shape.teal > span { background: linear-gradient(145deg, #219c98, #096a73); }
.stat-tiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.stat-tiles > div { display: grid; justify-items: center; text-align: center; align-content: start; gap: 4px; background: #ebf3ff; border-radius: 11px; padding: 9px 5px; color: #1b58ac; }
.stat-tiles strong { color: var(--navy); font-size: clamp(16px,1.5vw,24px); line-height: 1.05; }
.stat-tiles span { color: #2b3d5e; font-size: 10px; line-height: 1.15; }
.insight-box { display: flex; align-items: flex-start; gap: 8px; padding: 11px; border-radius: 11px; background: #e5f5e9; color: #165532; line-height: 1.33; margin-top: 9px; overflow-wrap: anywhere; }
.insight-box > .icon { color: #268c45; }
.insight-box strong { display: block; font-size: 12px; }
.insight-box p { margin-top: 3px; font-size: 12px; color: #213f36; }
.insight-box a { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; font-size: 11px; color: #16532e; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.page-heading { margin: 8px 0 16px; display: flex; gap: 14px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.page-heading h1 { font-size: clamp(28px,3vw,44px); font-weight: 850; display: flex; gap: 10px; align-items: center; }
.page-heading h1 svg { color: #1a64c5; }
.page-heading p { color: var(--muted); margin-top: 5px; }
.full-program { padding: 16px; display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) minmax(145px, 23%); align-items: center; gap: 18px; }
.full-program > img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 12px #13367a1a; }
.full-program h2 { font-size: clamp(23px,2.4vw,35px); margin: 6px 0; }
.full-program .program-meta { margin-top: 12px; }
.journey-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.journey-card { display: flex; align-items: center; gap: 10px; padding: 14px; }
.journey-card:hover, .list-link:hover { border-color: #9ac2f5; background: #f3f8ff; }
.journey-card div { flex: 1; min-width: 0; }
.journey-card strong, .list-link strong { color: var(--navy); }
.journey-card p { color: var(--muted); font-size: 12px; line-height: 1.3; margin-top: 3px; }
.journey-card > .icon { color: #456ca3; }
.library-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(235px, .9fr); gap: 13px; align-items: start; }
.list-panel { padding: 9px 13px; }
.library-row { display: flex; align-items: center; gap: 13px; padding: 11px 5px; }
.library-row + .library-row { border-top: 1px solid var(--line); }
.library-row:hover { color: #0e58be; }
.library-row > img { border-radius: 8px; }
.library-row > div { flex: 1; min-width: 0; }
.library-row h2 { font-size: 18px; }
.library-row small { color: #1d579b; font-weight: 750; }
.library-row p { margin-top: 4px; font-size: 12px; color: var(--muted); }
.article-panel { max-width: 850px; padding: clamp(16px,2vw,31px); }
.article-panel h2 { margin-bottom: 9px; }
.article-panel p { margin-bottom: 10px; color: #3b4f70; }
.article-body { font-size: 15px; color: #273b5a; line-height: 1.62; margin-bottom: 14px; }
.article-date { display: flex; gap: 7px; align-items: center; color: #245598; font-weight: 680; margin-bottom: 15px; }
.inline-form { margin-top: 15px; }
.assignment-result { margin: 10px 0; }
.assignment-result p { margin: 0; }
.rank-row { display: grid; grid-template-columns: 31px 42px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 9px; }
.rank-row + .rank-row { border-top: 1px solid var(--line); }
.rank-row strong small { color: var(--muted); }
.dash-leaderboard { padding: 14px 16px; }
.dash-leaderboard .panel-heading { align-items: flex-start; margin-bottom: 10px; }
.dash-leaderboard .panel-heading h2 .icon { color: #1659c4; }
.leaderboard-sub { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.dash-leaderboard-list { display: grid; gap: 2px; }
.dash-leaderboard .rank-row { grid-template-columns: 28px 36px minmax(0, 1fr) auto; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; }
.dash-leaderboard .rank-row .avatar { width: 36px; height: 36px; }
.dash-leaderboard .rank-row strong { color: var(--navy); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-leaderboard .rank-row .rank-xp { color: #1d3560; font-weight: 700; font-size: 13px; white-space: nowrap; }
.dash-leaderboard .rank-row.me { background: linear-gradient(90deg, #e5f0ff, #eef5ff); border-top-color: transparent; }
.dash-leaderboard .rank-row.me + .rank-row { border-top-color: transparent; }
.dash-leaderboard .rank-row-self { margin-top: 6px; border-top: 1px dashed #c8daf4; }
.achievement-grid, .guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.achievement { display: flex; flex-direction: column; gap: 7px; align-items: center; padding: 18px; text-align: center; }
.achievement .badge-item { max-width: unset; }
.achievement .badge-item strong { font-size: 14px; }
.achievement.muted .badge-shape { filter: grayscale(.75); opacity: .72; }
.achievement:hover { border-color: #89b5ef; }
.guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.form-stack { display: grid; gap: 12px; margin-top: 13px; }
.form-stack > .btn { justify-self: start; }
.form-stack > .btn.wide { justify-self: stretch; }
.form-stack > label, .field { font-weight: 680; color: #233b67; display: grid; gap: 5px; align-content: start; }
.field > small { color: var(--muted); font-weight: 470; }
input:not([type=radio],[type=checkbox],[type=hidden]), textarea, select { width: 100%; border: 1px solid #ccd9ee; border-radius: 9px; padding: 9px 10px; background: #fafdff; color: #13264c; min-width: 0; }
input:not([type=radio],[type=checkbox],[type=hidden]), select { min-height: 41px; }
textarea { resize: vertical; min-height: 67px; }
input::placeholder, textarea::placeholder { color: #586c8a; }
input[type=radio], input[type=checkbox] { accent-color: #1463d7; width: 15px; height: 15px; flex: none; }
.quiz-form fieldset, .field-checks, .review-field { border: 1px solid var(--line); border-radius: 10px; color: #182f59; min-width: 0; }
.quiz-form legend, .field-checks legend, .review-field legend { font-weight: 730; padding: 0 5px; }
.quiz-form fieldset label, .field-checks label { display: flex; gap: 6px; align-items: center; margin: 5px 0; }
.timer-start-box { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border-radius: 14px; background: linear-gradient(145deg, #f3f8ff, #e8f2ff); border: 1px solid #cde0fb; margin-top: 10px; }
.timer-start-copy { flex: 1; min-width: 0; }
.timer-start-copy h2 { font-size: 18px; margin-bottom: 5px; }
.timer-start-copy p { color: #2b4268; font-size: 13.5px; line-height: 1.45; }
.timer-start-copy .inline-form { margin-top: 14px; }
.assessment-timer { position: sticky; top: calc(var(--header) + 10px); z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; margin: 10px 0 14px; border-radius: 12px; background: #eef5ffeb; border: 1px solid #bfd7fa; color: #103b8c; backdrop-filter: blur(8px); box-shadow: 0 6px 18px #0f3a8814; }
.assessment-timer .timer-meta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; }
.assessment-timer .timer-clock { font-size: 20px; font-weight: 850; font-variant-numeric: tabular-nums; letter-spacing: .02em; color: #0a2e78; }
.assessment-timer.is-warning { background: #fff7e6f2; border-color: #f4c66a; color: #8a4b04; }
.assessment-timer.is-warning .timer-clock { color: #9c5000; }
.assessment-timer.is-danger { background: #fff0f2f2; border-color: #f3a7b2; color: #9b1c2e; }
.assessment-timer.is-danger .timer-clock { color: #c41832; }
.locked-box.is-expired { background: #fff5f6; border-color: #f5c2c8; }
.locked-box.is-expired h2 { color: #9b1c2e; }
.locked-box.is-expired .tile.locked { background: #fde2e6; color: #b42336; }
.verify-certificate { margin: 42px auto; text-align: center; }
.verify-certificate > .icon { color: #0e67cc; }
.verify-certificate h1 { font-size: 30px; margin: 10px 0; }
.guest-shell { background: radial-gradient(ellipse at 20% 20%, #d9ebff, #edf5ff 53%, #f7fafe); display: grid; place-items: center; padding: 25px; }
.guest-content { width: min(100%, 1050px); }
.login-layout { display: grid; grid-template-columns: 1.28fr 1fr; border: 1px solid #e5edf8; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 20px 80px #133f8524; }
.login-illustration { min-height: 535px; isolation: isolate; display: flex; align-items: flex-start; justify-content: space-between; flex-direction: column; padding: 28px; background: linear-gradient(155deg,#102d6e 0%,#09458b 100%); position: relative; }
.login-illustration::after { position: absolute; content: ""; inset: 0; background: linear-gradient(0deg,#0e2e6b 0%,#0e2e6be3 29%,transparent 62%), url("media/login.webp") center 16% / 100% auto no-repeat; mask-image: linear-gradient(180deg, transparent, #000 17%); z-index: -1; }
.login-brands { display: flex; align-items: center; }
.login-brands .brand-mindshift { width: 168px; max-width: 100%; height: auto; object-fit: contain; }
.login-illustration h1 { color: #fff; font-size: clamp(37px,4vw,59px); }
.login-illustration p { color: #e4eeff; margin-top: 10px; max-width: 34ch; font-size: 16px; }
.login-form { padding: clamp(23px,4vw,59px); align-self: center; }
.login-form-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.login-icon { display: grid; place-items: center; width: 59px; height: 59px; border-radius: 16px; color: #115ab7; background: #e6f1ff; margin-bottom: 13px; }
.login-form-head .login-icon { margin-bottom: 0; }
.login-partner-logo { height: 38px; width: auto; object-fit: contain; }
.login-form h2 { font-size: 31px; }
.login-form > p { margin-top: 5px; color: var(--muted); }
.login-form form { margin-top: 18px; }
.demo-access { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 12px; color: #354f77; }
.demo-access p { font-size: 12px; font-weight: 740; margin-bottom: 6px; }
.demo-access > div { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 4px; }
.demo-access .btn { padding: 4px 9px; min-height: 30px; font-size: 11px; border-radius: 8px; }
.admin-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 14px; }
.metric-card { display: flex; gap: 11px; align-items: center; padding: 14px; }
.metric-card small, .metric-card strong { display: block; }
.metric-card small { color: #40567c; font-weight: 650; font-size: 11px; }
.metric-card strong { font-size: clamp(21px,2.2vw,31px); color: var(--navy); line-height: 1.1; margin-top: 3px; }
.admin-split, .review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; margin-bottom: 14px; }
.review-grid { align-items: start; }
.admin-radar, .admin-cohorts, .completion-panel { padding: 15px 18px; }
.admin-shortcuts-title { margin-top: 17px; }
.admin-shortcuts { margin-top: 0; }
.list-link { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; }
.list-link + .list-link { margin-top: 6px; }
.list-link > span:nth-child(2) { flex: 1; }
.list-link small { display: block; color: var(--muted); }
.filter-form, .button-group { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.filter-form { margin-bottom: 12px; color: #2a436c; font-weight: 650; }
.filter-form select { width: auto; max-width: 100%; }
.table-panel { padding: 14px; margin-bottom: 14px; }
.table-scroll { overflow-x: auto; }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap; }
.table-scroll th { text-align: left; background: #eaf2ff; color: #294877; padding: 9px 10px; font-size: 11px; }
.table-scroll th:first-child { border-radius: 8px 0 0 8px; }
.table-scroll th:last-child { border-radius: 0 8px 8px 0; }
.table-scroll td { padding: 9px 10px; border-bottom: 1px solid var(--line); }
.table-scroll td small { display: block; color: var(--muted); }
.table-scroll td:last-child { text-align: right; }
.table-scroll td.empty { padding: 20px; text-align: center; }
.pager { display: flex; justify-content: flex-end; color: #3f567b; font-weight: 650; gap: 8px; align-items: center; margin-top: 12px; font-size: 12px; }
.completion-row { margin-bottom: 7px; }
.completion-row > div:first-child { display: flex; gap: 6px; justify-content: space-between; font-size: 11px; margin-bottom: 3px; }
.completion-row .progress-bar { height: 6px; }
.editor-panel { padding: clamp(14px,2vw,25px); }
.editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.editor-grid .span-2 { grid-column: 1 / -1; }
.editor-actions { display: flex; justify-content: flex-end; gap: 9px; }
.editor-note { font-size: 12px; color: #40577e; }
.field-checks { display: flex; flex-wrap: wrap; gap: 5px 13px; }
.review-field { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 11px; }
.review-scores p { margin: 2px 0 8px; }
@media (min-width: 1400px) {
    .sidebar nav { padding-inline: 13px; }
    .nav-group a { min-height: 39px; }
    .main-content { padding-top: calc(var(--header) + 15px); }
    .dashboard-main, .dashboard-rail { gap: 13px; }
    .rail-radar { padding-top: 13px; }
    .rail-radar .radar-chart { max-height: 222px; }
    .program-card { min-height: 183px; }
    .dashboard-lower > section { min-height: 240px; }
    .module-link { min-height: 51px; }
    .mini-mission { min-height: 179px; }
    .agenda-row { padding-block: 8px; }
    .certificate-panel { padding-bottom: 19px; }
    .board-row { min-height: 83px; }
    .mission-detail-hero { min-height: 213px; }
    .detail-facts > div { padding-block: 11px; }
    .sim-rail > section { padding: 15px; }
    .coach-panel li { font-size: 13px; }
    .coach-panel > strong, .tip-panel > strong { font-size: 13px; }
    .sim-brief > section p, .sim-brief li, .response-options label { font-size: 13px; }
    .profile-top > section { min-height: 314px; }
    .profile-bottom > section { min-height: 165px; }
}
@media (max-width: 1190px) {
    .dashboard-grid { grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 12px; }
    .game-home { grid-template-columns: minmax(0, 2.3fr) minmax(220px, 1fr); }
    .program-meta { gap: 4px; }
    .program-meta svg { width: 12px; height: 12px; }
    .program-card { padding: 9px; }
    .dashboard-lower { gap: 7px; }
    .module-path, .dash-missions { padding: 9px; }
    .dash-missions .panel-heading a { font-size: 10px; }
    .mini-mission { min-height: 124px; padding: 4px; }
    .mini-mission > small { font-size: 9px; }
    .board-row { grid-template-columns: clamp(64px, 7.5vw, 105px) minmax(0, 1fr) 74px; gap: 7px; }
    .board-state .btn, .board-state .state { padding-inline: 5px; font-size: 9px; }
    .mission-path { padding-inline: 8px; }
    .mission-path > li { gap: 6px; grid-template-columns: 28px minmax(0, 1fr); }
    .mission-path > li:not(:last-child)::before { left: 13px; }
    .mission-path > li > .path-marker { height: 28px; width: 28px; }
    .simulation-grid { grid-template-columns: minmax(165px,.78fr) minmax(0,2.1fr) minmax(186px,.9fr); gap: 8px; }
    .sim-rail > section { padding: 9px; }
    .sim-brief > section { gap: 5px; }
    .tip-panel > div span { padding: 4px 2px; }
    .step-card > div:first-child { font-size: 11px; }
    .score-detail { grid-template-columns: 48px minmax(0,1fr); }
    .score-ring { width: 48px; height: 48px; }
    .response-form { gap: 7px; padding: 10px; }
    .response-form:has(.response-options,.inbox-cases) .response-compose { padding-left: 7px; }
    .top-label { font-size: 10px; }
}
@media (max-width: 1010px) {
    .top-label { display: none; }
    .dashboard-grid { grid-template-columns: minmax(0, 1fr); }
    .dashboard-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .dashboard-lower { gap: 12px; }
    .mission-board { grid-template-columns: minmax(0,1fr); }
    .mission-details { grid-row: 2; }
    .mission-detail-hero img { width: 57%; }
    .board-row { grid-template-columns: 105px minmax(0, 1fr) auto; }
    .board-state .btn, .board-state .state { font-size: 11px; }
    .simulation-grid { grid-template-columns: minmax(153px, .63fr) minmax(0, 2fr); }
    .sim-rail { grid-column: 2; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .profile-header { grid-template-columns: auto 1fr; }
    .profile-target { grid-column: 1 / -1; }
    .profile-top { grid-template-columns: minmax(0,1fr); }
    .profile-bottom { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .profile-insight { grid-column: 1 / -1; }
    .admin-metrics, .journey-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin-split, .review-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    :root { --header: 58px; --gutter: 13px; }
    .app-shell, .compact-shell { --nav: 0px; }
    .topbar { gap: 7px; padding-inline: 10px; }
    .topbar-brand { padding-right: 8px; }
    .topbar-brand img { height: 24px; }
    .top-title { gap: 5px; font-size: clamp(15px, 3.6vw, 22px); }
    .top-title > .icon { width: 24px; height: 24px; }
    .top-actions { gap: 4px; }
    .top-actions .icon-button { width: 32px; }
    .top-actions .alert-icon span { right: 4px; }
    .header-divider { display: none; }
    .mobile-menu { display: inline-grid; width: 32px; height: 36px; }
    .user-menu summary { gap: 2px; }
    .user-menu summary > .avatar { width: 31px; height: 31px; }
    .user-menu summary > .icon { width: 12px; height: 12px; }
    .sidebar { width: min(245px, 82vw); transform: translateX(-105%); visibility: hidden; transition: transform .2s ease, visibility .2s; }
    .nav-open .sidebar { transform: translateX(0); visibility: visible; }
    .nav-open { overflow: hidden; }
    .nav-overlay { display: block; position: fixed; inset: 0; background: #0c245d65; border: 0; padding: 0; z-index: 20; }
    .sidebar nav { padding-bottom: 30px; }
    .nav-group a { font-size: 14px; min-height: 41px; }
    .compact-shell .brand { justify-content: flex-start; padding: 18px 13% 12px; }
    .compact-shell .brand .brand-mindshift { display: block; }
    .compact-shell .sidebar-footer, .compact-shell .nav-group p, .compact-shell .nav-group a span { display: block; }
    .compact-shell .brand .brand-small { display: none; }
    .compact-shell .nav-group a { justify-content: flex-start; padding-inline: 12px; }
    .hero-copy { padding: 17px 14px; }
    .hello-hero { min-height: 139px; }
    .hero-copy p { width: min(100%, 360px); }
    .dashboard-tabs a { min-height: 40px; font-size: 11px; gap: 4px; }
    .dashboard-tabs a .icon { width: 17px; height: 17px; }
    .program-card { grid-template-columns: minmax(90px,29%) minmax(0, 1fr); gap: 8px; }
    .program-card .program-progress { grid-column: 1 / -1; border: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto auto minmax(36px,1fr) auto; align-items: center; gap: 5px; padding: 7px 0 0; }
    .program-card .program-progress .btn { margin: 0; min-height: 34px; padding-inline: 8px; }
    .program-art { min-height: 0; border-radius: 10px; }
    .program-progress > strong { font-size: 21px; }
    .program-progress b { font-size: 10px; }
    .program-copy h3 { font-size: 18px; }
    .program-copy p { font-size: 12px; }
    .game-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .game-heading { flex-wrap: wrap; }
    .simulation-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
    .sim-rail { grid-column: 1; }
    .sim-brief { padding: 1px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
    .sim-brief > .back-link, .sim-brief > h1, .sim-brief > p, .sim-meta { grid-column: 1 / -1; }
    .sim-brief h1 { margin: 5px 0 0; }
    .sim-brief > section { margin: 2px 0 0; padding-top: 7px; }
    .sim-meta { margin-top: 0; }
    .sim-scene { min-height: 270px; }
    .chat-log { max-height: 235px; }
    .sim-brief > section h2 { font-size: 14px; }
    .sim-brief > section p, .sim-brief li { font-size: 11px; }
    .full-program { grid-template-columns: minmax(105px,30%) minmax(0,1fr); padding: 10px; gap: 10px; }
    .full-program .program-progress { grid-column: 1 / -1; border-left: none; border-top: 1px solid var(--line); padding-left: 0; }
    .full-program > img { min-height: 0; }
    .library-layout { grid-template-columns: minmax(0,1fr); }
    .achievement-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .login-layout { grid-template-columns: 1fr; }
    .login-illustration { min-height: 235px; padding: 17px; }
    .login-illustration::after { background: linear-gradient(0deg,#0e2e6b 0%,#10448777 70%), url("media/login.webp") center 20% / cover no-repeat; mask-image:none; }
    .login-brands .brand-mindshift { width: 132px; }
    .login-partner-logo { height: 32px; }
    .login-illustration p { font-size: 13px; }
    .login-illustration h1 { font-size: clamp(31px,7vw,45px); }
    .guest-shell { padding: 14px; }
}
@media (max-width: 480px) {
    .topbar-brand img { height: 20px; }
    .top-title { font-size: clamp(13px, 3.5vw, 17px); }
    .top-title .icon, .top-actions > .alert-icon { display: none; }
    .hero-copy h1 { font-size: clamp(27px, 8vw, 44px); }
    .hero-copy { width: 62%; }
    .hero-art { inset-inline-start: 32%; background-position: 64% 50%; }
    .hello-hero { min-height: 132px; }
    .dashboard-tabs a { flex-direction: column; gap: 3px; line-height: 1.1; padding: 5px 2px; font-size: 10px; }
    .dashboard-lower, .dashboard-rail { grid-template-columns: 1fr; }
    .dashboard-lower { gap: 8px; }
    .mini-mission { min-height: 145px; }
    .mini-mission > strong { font-size: 14px; }
    .mini-mission img { aspect-ratio: 1.34; }
    .panel-heading h2 { font-size: 17px; }
    .program-card .program-progress { grid-template-columns: auto auto minmax(24px,1fr); }
    .program-card .program-progress .btn { grid-column: 1 / -1; }
    .mission-banner { min-height: 127px; }
    .mission-banner p { max-width: 66%; }
    .mission-banner .wide-only { display: none; }
    .mission-stages svg { width: 23px; height: 23px; }
    .mission-stages > div { gap: 5px; }
    .mission-path > li { gap: 4px; grid-template-columns: 21px minmax(0,1fr); }
    .mission-path > li > .path-marker { width: 21px; height: 21px; font-size: 11px; }
    .mission-path > li:not(:last-child)::before { left: 10px; }
    .board-row { grid-template-columns: minmax(55px, 21%) minmax(0,1fr) auto; gap: 5px; padding-inline: 4px; }
    .board-row img { height: 51px; }
    .board-state .btn, .board-state .state, .board-state small { font-size: 9px; }
    .board-state .btn .icon, .board-state .state .icon { display: none; }
    .mission-name strong { font-size: 13px; }
    .mission-name > span { font-size: 10px; }
    .game-card { padding: 6px; }
    .game-card > div { gap: 5px; }
    .game-card footer { flex-wrap: wrap; justify-content: flex-start; gap: 4px; }
    .game-progress { gap: 5px; grid-template-columns: 25px minmax(77px,25%) minmax(0,1fr) auto; padding: 8px; font-size: 11px; }
    .game-progress > svg { width: 23px; }
    .sim-scene { padding: 7px; gap: 4px; min-height: 251px; }
    .sim-scene.boss-scene { background-position: 5% 44%; }
    .scene-person { padding: 5px; font-size: 11px; max-width: 42%; }
    .scene-person .avatar { display: none; }
    .chat-log { width: 65%; }
    .chat-message { padding: 8px; }
    .response-form { grid-template-columns: 1fr; }
    .response-form:has(.response-options,.inbox-cases) .response-compose { border: 0; padding: 0; }
    .step-card > div:first-child, .coach-panel li { font-size: 11px; }
    .feedback-dimensions > div { grid-template-columns: minmax(0,1fr) auto; gap: 3px 6px; }
    .feedback-dimensions > div p { grid-column: 1 / -1; grid-row: 2; }
    .profile-header { grid-template-columns: minmax(0,1fr); gap: 12px; }
    .profile-header p { padding-left: 0; border-left: 0; }
    .profile-radar-grid, .profile-bottom { grid-template-columns: 1fr; }
    .skill-growth { border-left: 0; border-top: 1px solid var(--line); padding: 9px 0 0; }
    .level-path li { font-size: 10px; }
    .library-row { gap: 7px; }
    .library-row > img { width: 48px; height: 49px; }
    .library-row h2 { font-size: 15px; }
    .library-row .state { font-size: 9px; padding-inline: 5px; }
    .guide-grid, .editor-grid { grid-template-columns: minmax(0,1fr); }
    .journey-card { padding: 8px; gap: 5px; }
    .journey-card .tile { width: 28px; height: 28px; }
    .journey-card .tile .icon { width: 17px; height: 17px; }
    .journey-card strong { font-size: 11px; }
    .journey-card p { font-size: 10px; }
    .metric-card { padding: 8px; gap: 6px; }
    .metric-card .tile { width: 33px; height: 33px; }
    .metric-card .tile .icon { width: 19px; height: 19px; }
    .metric-card small { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
.game-shell { --nav: clamp(165px, 12.65vw, 203px); }
.game-home-shell { --nav: clamp(174px, 14.15vw, 226px); }
.game-shell .top-label, .compact-shell .top-label { display: none; }
.game-shell .sidebar .nav-group a { min-height: 47px; font-size: clamp(12px, 1vw, 15px); }
.game-shell .sidebar .nav-group a:last-child { margin-top: 15px; border-top: 1px solid #b5d0f044; }
.sim-scene.boss-scene { position: relative; background: linear-gradient(105deg, #c5d0d8, #779ab5 54%, #315b82); }
.sim-scene.boss-scene::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 82%; z-index: -1; background: var(--scene-image) left 53% / 90% auto no-repeat; mask-image: linear-gradient(90deg,#000 58%, transparent 91%); }
.chat-log { align-self: flex-start; margin-top: clamp(10px,2.6vw,42px); }
.hero-copy h1 { font-size: clamp(34px, 3.75vw, 60px); white-space: normal; overflow-wrap: anywhere; }
@media (min-width: 1400px) {
    .profile-header { margin-bottom: 24px; }
    .profile-top > section { min-height: 363px; }
    .profile-identity { margin-top: 4px; margin-bottom: 19px; }
    .profile-radar-grid { column-gap: 18px; }
    .skill-growth { gap: 11px; margin-top: 6px; }
    .profile-bottom > section { min-height: 199px; }
}
@media (max-width: 760px) {
    .game-shell, .game-home-shell { --nav: 0px; }
    .game-shell .sidebar .nav-group a { font-size: 14px; }
    .sim-scene.boss-scene::before { width: 100%; background-size: auto 100%; }
}
@media (max-width: 480px) {
    .hero-copy h1 { font-size: clamp(27px, 8vw, 44px); }
}
.detail-list { margin: 9px 0 14px; max-width: 480px; }
.detail-list > div { display: grid; grid-template-columns: minmax(110px, 1fr) 1.35fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.detail-list dt { color: #40577a; }
.detail-list dd { margin: 0; color: var(--navy); font-weight: 700; overflow-wrap: anywhere; }

.archive-tabs { margin-bottom: 12px; }
.archive-tabs a { border-radius: 18px; padding: 7px 12px; color: #243658; font-size: 12px; }
.archive-tabs a[aria-current] { background: #1768db; color: #fff; font-weight: 700; }
.table-actions { display: flex; justify-content: flex-end; gap: 6px; }

.quiz-editor { display: grid; gap: 14px; padding: clamp(13px, 2vw, 22px); border: 1px solid #dbe8f9; border-radius: 14px; background: #f1f6fe; }
.quiz-editor-heading { display: flex; align-items: center; gap: 10px; }
.quiz-editor-heading h2 { font-size: 18px; }
.quiz-editor-heading p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.quiz-editor-heading .state { margin-left: auto; align-self: start; }
.quiz-editor > .btn, .quiz-question > .btn { justify-self: start; }
.quiz-questions { display: grid; gap: 13px; }
.quiz-question { display: grid; gap: 9px; margin: 0; min-width: 0; padding: 12px; border: 1px solid #dce7f6; border-radius: 11px; background: #fff; }
.quiz-question legend { padding: 2px 8px; background: #e9f2ff; color: #225795; border-radius: 8px; font-size: 12px; font-weight: 780; }
.quiz-question-top { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 9px; }
.quiz-option-heading { display: grid; grid-template-columns: 44px 1fr; gap: 8px; color: #455d81; font-size: 11px; font-weight: 700; padding-inline: 5px; }
.quiz-options { display: grid; gap: 6px; }
.quiz-option { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 8px; align-items: center; padding: 5px 7px; border: 1px solid #e1eaf6; border-radius: 9px; }
.quiz-option:has([data-quiz-answer]:checked) { background: #edf9f1; border-color: #a6d6b7; }
.quiz-key { display: grid; justify-items: center; cursor: pointer; min-height: 36px; align-items: center; }
.quiz-key input { width: 18px; height: 18px; }
.quiz-option-field { display: flex; gap: 8px; align-items: center; color: #345179; font-size: 12px; font-weight: 690; }
.quiz-option-field > span { white-space: nowrap; }
.quiz-option input[type=text] { min-height: 34px; padding: 5px 8px; background: #fff; }
.quiz-question button:disabled, .quiz-editor button:disabled { opacity: .48; }
.quiz-remove-option { width: 34px; height: 34px; }
.media-field { border: 1px dashed #a9c2e4; border-radius: 12px; background: #f3f8ff; padding: 13px; color: #233b67; }
.media-field label { display: grid; gap: 5px; max-width: 560px; }
.media-field p { margin: 4px 0; color: var(--muted); font-size: 12px; }
.learning-media { display: grid; gap: 10px; margin: 0 0 15px; }
.learning-media iframe { display: block; width: 100%; border: 1px solid var(--line); border-radius: 10px; }
.youtube-player { aspect-ratio: 16 / 9; background: #0e2144; }
.pdf-viewer { min-height: clamp(330px, 67vh, 720px); background: #edf3fb; }
.pdf-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 11px 13px; border: 1px solid #dbe7f7; border-radius: 12px; background: #f3f8ff; }
.pdf-toolbar-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pdf-toolbar-info strong, .pdf-toolbar-info small { display: block; overflow-wrap: anywhere; }
.pdf-toolbar-info small { color: var(--muted); }
.pdf-saved-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.inline-check, .form-stack > label.remember-check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; color: #2b4269; cursor: pointer; }
.powered-by { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; font-size: 12px; color: var(--muted); }
.powered-by strong, .app-footer strong { color: var(--navy); font-weight: 760; }
.app-footer { margin-top: 24px; padding: 12px 4px 2px; border-top: 1px solid #dce6f5; text-align: center; font-size: 12px; color: var(--muted); }
.locked-box { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid #dde6f3; border-radius: 13px; background: #f4f7fc; margin-top: 8px; }
.locked-box h2 { font-size: 18px; margin-bottom: 4px; }
.locked-box p { margin: 0; color: var(--muted); }
.library-row.is-locked { opacity: .88; }
.program-sessions { margin-top: 18px; }
.library-row h3 { font-size: 17px; margin-top: 2px; }
.avatar-column { flex: none; }
.avatar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 9px; }
.avatar-upload-form { position: relative; min-width: 0; max-width: 100%; flex-wrap: wrap; display: inline-flex; align-items: center; gap: 6px; }
.avatar-picker { cursor: pointer; }
/* Keep the native file control focusable inside its visible label's containing block. */
input[type=file].avatar-file-input { position: absolute; inset: 0 auto auto 0; width: 1px; min-width: 0; max-width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0; border: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.avatar-upload-form:focus-within .avatar-picker { outline: 3px solid #1463d7; outline-offset: 3px; }
.account-grid > section, .profile-top > section { min-width: 0; }
@media (max-width: 480px) {
    .account-grid .profile-identity, .user-profile .profile-identity { align-items: flex-start; flex-wrap: wrap; }
    .profile-identity > div:last-child { flex: 1 1 180px; }
    .profile-target { grid-template-columns: 28px minmax(0,1fr) auto; }
    .profile-target > .progress-bar { grid-column: 1 / -1; }
}
.avatar-hint { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }
.account-grid { display: grid; gap: 14px; max-width: 850px; }
.admin-leaderboard-panel { padding: 15px 18px; margin-bottom: 14px; }
.admin-leaderboard-panel .panel-heading h2 svg { color: #c7810a; }
.admin-leaderboard-panel .rank-row small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.admin-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 14px; }
.podium-card { padding: 15px 16px; display: grid; gap: 12px; }
.podium-1 { border-color: #f3c668; background: linear-gradient(145deg, #fffdf6, #fff6df); }
.podium-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.podium-user { display: flex; align-items: center; gap: 12px; min-width: 0; }
.podium-user strong, .podium-user small { display: block; overflow-wrap: anywhere; }
.podium-user strong { font-size: 17px; color: var(--navy); }
.podium-user small { color: var(--muted); margin-top: 2px; }
.podium-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 10px; border-top: 1px solid #e6edf8; text-align: center; }
.podium-stats b { display: block; color: var(--navy); font-size: 15px; }
.podium-stats small { color: var(--muted); font-size: 11px; }
.leader-cell { display: flex; align-items: center; gap: 10px; }
.xp-pill { color: #824d08; font-weight: 800; }
@media (max-width: 900px) {
    .admin-podium { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .quiz-question-top { grid-template-columns: minmax(0, 1fr); }
    .quiz-question-top .btn { justify-self: end; }
    .quiz-option, .quiz-option-heading { grid-template-columns: 28px minmax(0,1fr) auto; gap: 4px; }
    .quiz-option-field { flex-direction: column; align-items: stretch; gap: 2px; }
    .quiz-option-field > span { font-size: 10px; }
}

.state.warning { color: #8a4b06; background: #fff1d6; }
.nav-badge { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 20px; background: #ffcf5c; color: #5f3700; }
.compact-shell .nav-group a .nav-badge { display: none; }
.notif-menu > summary { border-radius: 10px; }
.notif-popover { width: min(350px, 88vw); max-width: 360px; padding: 0; overflow: hidden; }
.notif-head, .notif-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 13px; background: #f4f8ff; }
.notif-head { border-bottom: 1px solid var(--line); }
.notif-foot { border-top: 1px solid var(--line); justify-content: center; }
.notif-foot a, .notif-mark-btn { color: #0e4ea8; font-size: 12px; font-weight: 700; padding: 2px 4px; width: auto; }
.notif-list { max-height: 310px; overflow-y: auto; display: grid; }
.notif-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 13px; border-bottom: 1px solid #eef3fb; font-size: 12px; }
.notif-item:last-child { border-bottom: 0; }
.notif-item.unread { background: #eef6ff; }
.notif-item > .icon { color: #165ec9; margin-top: 2px; }
.notif-item strong { display: block; color: var(--navy); font-size: 12.5px; }
.notif-item p { color: #2b3f5e; margin-top: 2px; line-height: 1.32; }
.notif-item small { display: block; color: var(--muted); margin-top: 4px; padding: 0; }
.notif-empty { padding: 20px 14px; text-align: center; color: var(--muted); font-size: 12.5px; }

.login-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cert-download-form { margin-top: 10px; }
.cert-checklist-title { margin: 16px 0 0; font-size: 13px; }
.cert-checklist { list-style: none; padding: 10px 0 0; margin: 10px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.cert-checklist li a, .cert-checklist li > div { display: flex; align-items: flex-start; gap: 8px; padding: 5px 6px; border-radius: 8px; font-size: 12px; }
.cert-checklist li a:hover { background: #edf4ff; }
.cert-checklist li svg { margin-top: 2px; color: #54698a; }
.cert-checklist li.done svg { color: #1e8742; }
.cert-checklist li strong, .cert-checklist li small { display: block; line-height: 1.25; }
.cert-checklist li small { color: var(--muted); margin-top: 1px; }

.live-chip { font-style: normal; font-size: 10px; font-weight: 750; padding: 1px 6px; border-radius: 10px; background: #dcf4e4; color: #156234; margin-left: 4px; }
.compose-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 1px 6px; }
.compose-meta .counter { margin: 0; margin-left: auto; }
.autosave-hint { color: #1e6b3b; font-size: 11px; font-weight: 600; }
.sim-restart-form { margin-top: 12px; }
.typing-bubble { opacity: .88; font-style: italic; }
.chat-message.pending-bubble { opacity: .72; }
.sim-inline-error { padding: 8px 12px; border-radius: 10px; background: #fff0f1; border: 1px solid #f4bcc4; color: #961f32; font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }
.force-password-banner { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; margin-bottom: 14px; border-radius: 14px; background: linear-gradient(145deg, #fff9ec, #fff3d6); border: 1px solid #f2cf7e; color: #5b3700; }
.force-password-banner .tile { background: #ffe4a3; color: #8c5200; }
.force-password-banner strong { display: block; font-size: 15px; margin-bottom: 2px; color: #5b3700; }
.force-password-banner p { font-size: 13px; line-height: 1.4; color: #6e4506; }

.subtle-divider { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.revision-history, .quiz-review { margin: 12px 0; border: 1px solid var(--line); border-radius: 11px; padding: 10px 13px; background: #f8fbff; }
.revision-history summary, .quiz-review summary { cursor: pointer; font-weight: 740; color: #154c9d; font-size: 13px; }
.revision-entry { margin-top: 10px; padding-top: 9px; border-top: 1px solid #e4ecf8; font-size: 12.5px; }
.revision-entry small { display: block; color: var(--muted); font-weight: 680; margin-bottom: 4px; }
.muted-body { color: #405575; font-size: 12px; background: #fff; padding: 8px 10px; border-radius: 8px; border: 1px solid #e6eef9; margin-top: 5px; }
.quiz-review-list { display: grid; gap: 9px; margin-top: 10px; }
.quiz-review-item { padding: 9px 11px; border-radius: 9px; border: 1px solid #dde7f6; background: #fff; font-size: 12.5px; }
.quiz-review-item.correct { border-left: 3px solid #269349; }
.quiz-review-item.wrong { border-left: 3px solid #d47a15; }
.quiz-review-item p { margin: 4px 0 0; }
.quiz-review-item ul { margin: 6px 0 0; padding-left: 18px; }
.quiz-explanation { display: block; margin-top: 5px; color: #264a7d; font-weight: 600; }
.quiz-card-actions { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.quiz-explanation-field { margin-top: 4px; padding-top: 8px; border-top: 1px dashed #dce7f6; }

.notice.warning-box { background: #fff9eb; border-color: #f3d28b; color: #6e4205; }
.notice.info-box { background: #eef5ff; border-color: #c6dcfb; color: #143f82; }
.pending-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 15px; margin-bottom: 14px; border-color: #cbe0fc; background: linear-gradient(120deg, #f0f7ff, #ffffff); }
.pending-banner > div { display: flex; align-items: center; gap: 11px; }
.pending-banner p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.toolbar-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.toolbar-row .archive-tabs { margin-bottom: 0; }
.search-input { width: min(260px, 100%) !important; }
.import-disclosure { position: relative; }
.import-disclosure summary { list-style: none; }
.import-disclosure summary::-webkit-details-marker { display: none; }
.import-popover { position: absolute; right: 0; top: calc(100% + 8px); z-index: 15; width: min(380px, 90vw); padding: 14px; box-shadow: 0 14px 36px #14326826; }
.cohort-override-card { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #f9fbff; margin-top: 12px; }
.transcript-box { display: grid; gap: 8px; max-height: 360px; overflow-y: auto; padding: 10px; border-radius: 11px; background: #f3f7fe; border: 1px solid #dfe9f7; margin-bottom: 16px; }
.transcript-turn { padding: 8px 11px; border-radius: 10px; background: #fff; font-size: 12.5px; }
.transcript-turn.human { background: #e6f0ff; margin-left: 16px; }
.transcript-turn small { display: block; font-weight: 750; color: #23477c; margin-bottom: 3px; }
.transcript-turn p { margin: 0; color: var(--ink); }
.sub-heading { margin-top: 10px; }
.quick-approve-box { padding: 12px; border-radius: 11px; background: #eef6ff; border: 1px solid #cfe1fb; margin-top: 6px; }
.secondary-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.muted-tag { color: var(--muted); font-weight: 550; }
.row-link { color: #0e4da6; text-decoration: underline; text-decoration-color: #9ec2f5; text-underline-offset: 2px; }
.row-link:hover { color: #073375; text-decoration-color: currentColor; }

.sim-outcome-banner { margin-bottom: 12px; }
.sim-badge-earned { display: flex; align-items: center; gap: 14px; padding: 13px 16px; margin-bottom: 12px; border-radius: 13px; background: linear-gradient(135deg, #edf8f0, #f5fbf7); border: 1px solid #bbe3c8; }
.sim-badge-earned .badge-item { gap: 0; }
.sim-badge-earned .badge-item > strong { display: none; }
.sim-badge-earned > div strong { display: block; color: #124d29; font-size: 15px; margin-bottom: 3px; }
.sim-badge-earned > div p { margin: 0; font-size: 12.5px; color: #244a35; line-height: 1.38; }
.brief-expand { margin-top: 6px; font-size: 12px; }
.brief-expand summary { cursor: pointer; color: #124da8; font-weight: 700; }
.brief-expand p { margin-top: 6px; color: #223654; }
.is-disc-editor .quiz-option { grid-template-columns: minmax(0, 1fr); padding: 7px 10px; }
.is-disc-editor .quiz-option-field > span { min-width: 108px; font-weight: 760; color: var(--navy); }

.article-panel:has(.disc-pillars) { max-width: 1060px; }
.disc-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 14px 0 18px; }
.disc-pillar { padding: 12px 13px; border-radius: 13px; border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.disc-pillar.tone-rose { background: linear-gradient(160deg, #fdf0f2, #fff8f9); border-color: #f3cdd4; }
.disc-pillar.tone-amber { background: linear-gradient(160deg, #fff7e2, #fffcf2); border-color: #f4dfab; }
.disc-pillar.tone-emerald { background: linear-gradient(160deg, #eaf8ee, #f6fcf7); border-color: #bfe4c9; }
.disc-pillar.tone-sky { background: linear-gradient(160deg, #e8f3fd, #f5faff); border-color: #c2dcf7; }
.disc-pillar-head { display: flex; align-items: center; gap: 9px; }
.disc-letter { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; font-weight: 880; font-size: 16px; flex: none; background: #fff; box-shadow: 0 2px 6px #102a5614; }
.tone-rose .disc-letter { color: #a91e3a; }
.tone-amber .disc-letter { color: #9a5800; }
.tone-emerald .disc-letter { color: #166a35; }
.tone-sky .disc-letter { color: #0e4fa8; }
.disc-pillar-head strong { display: block; font-size: 14.5px; color: var(--navy); }
.disc-pillar-head small { display: block; font-size: 10.5px; color: var(--muted); line-height: 1.25; margin-top: 2px; }
.disc-pillar p { margin: 0; font-size: 12px; line-height: 1.38; color: #2a3d5c; }

.disc-intro-note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 15px; border-radius: 12px; background: #eef5ff; border: 1px solid #cbe0fb; margin-bottom: 14px; }
.disc-intro-note > .icon { color: #1558c0; margin-top: 2px; }
.disc-intro-note strong { display: block; font-size: 13.5px; color: var(--navy); margin-bottom: 2px; }
.disc-intro-note p { margin: 0; font-size: 12.5px; color: #2b4166; line-height: 1.42; }

.disc-quiz-form { gap: 14px; }
.disc-progress-sticky { position: sticky; top: calc(var(--header) + 10px); z-index: 9; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 15px; border-radius: 12px; background: #f2f7ffeb; border: 1px solid #c9defb; backdrop-filter: blur(8px); font-size: 13px; color: #173d80; box-shadow: 0 4px 14px #10387c10; }
.disc-question-card { border: 1px solid #dce7f6; border-radius: 13px; padding: 14px 16px; background: #fbfdff; margin: 0; }
.disc-question-card legend { font-weight: 760; font-size: 14.5px; color: var(--navy); line-height: 1.35; padding: 0 4px; display: flex; align-items: baseline; gap: 8px; }
.disc-q-num { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 6px; border-radius: 7px; background: #e3eeff; color: #114ea8; font-size: 12px; font-weight: 820; flex: none; }
.disc-option-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.disc-option-card { display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px; border: 1px solid #dce6f5; border-radius: 11px; background: #fff; cursor: pointer; font-weight: 540; font-size: 13px; line-height: 1.36; color: #1d3152; margin: 0 !important; transition: border-color .15s, background .15s; }
.disc-option-card:hover { border-color: #8cb7f2; background: #f5f9ff; }
.disc-option-card:has(input:checked) { border-color: #1c6ee5; background: #edf5ff; box-shadow: inset 0 0 0 1px #1c6ee540; font-weight: 650; color: var(--navy); }
.disc-option-card input[type=radio] { margin-top: 2px; }
.disc-opt-letter { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #eef4fc; color: #254b82; font-size: 11.5px; font-weight: 800; flex: none; }
.disc-option-card:has(input:checked) .disc-opt-letter { background: #1968df; color: #fff; }
.disc-context-field { background: #f5f9ff; padding: 12px 14px; border-radius: 12px; border: 1px solid #dae7f8; }

.disc-result-stack { display: grid; gap: 16px; margin-top: 6px; }
.disc-hero-card { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(270px, 1fr); gap: 18px; padding: 18px 20px; border-radius: 15px; border: 1px solid #d5e4f8; background: linear-gradient(135deg, #f6faff, #edf5ff); align-items: center; }
.disc-hero-card.tone-rose { background: linear-gradient(135deg, #fff6f7, #fdf0f3); border-color: #f1cbd3; }
.disc-hero-card.tone-amber { background: linear-gradient(135deg, #fffdf5, #fff6df); border-color: #f2dc9f; }
.disc-hero-card.tone-emerald { background: linear-gradient(135deg, #f4fcf6, #e9f7ee); border-color: #bce2c7; }
.disc-kicker { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 780; text-transform: uppercase; letter-spacing: .03em; color: #164fa3; margin-bottom: 6px; }
.disc-hero-main h2 { font-size: clamp(22px, 2.3vw, 31px); margin-bottom: 8px; }
.disc-hero-main p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.45; color: #24395a; }
.disc-badges-row { display: flex; flex-wrap: wrap; gap: 7px; }
.disc-tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 760; background: #fff; border: 1px solid #d5e2f4; color: var(--navy); }
.disc-tag.tone-rose { background: #fdecef; border-color: #f1bec9; color: #8f1831; }
.disc-tag.tone-amber { background: #fff4d6; border-color: #f0d28a; color: #7d4600; }
.disc-tag.tone-emerald { background: #e3f6ea; border-color: #b1dfc0; color: #125c2d; }
.disc-tag.tone-sky { background: #e3f0fd; border-color: #b7d6f7; color: #0d4799; }

.disc-score-card { background: #fff; border: 1px solid #dde7f5; border-radius: 13px; padding: 13px 15px; display: grid; gap: 9px; box-shadow: 0 3px 10px #1231660a; }
.disc-score-head { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--navy); padding-bottom: 5px; border-bottom: 1px solid #edf2fa; }
.disc-score-head small { color: var(--muted); }
.disc-score-row { display: grid; gap: 4px; }
.disc-score-label { display: flex; justify-content: space-between; font-size: 12px; color: #233859; }
.disc-score-label small { color: var(--muted); font-weight: 500; }
.disc-meter { height: 9px; border-radius: 12px; background: #edf2f9; overflow: hidden; }
.disc-meter > span { display: block; height: 100%; border-radius: inherit; background: #1968df; }
.disc-meter.tone-rose > span { background: linear-gradient(90deg, #e34f6b, #be1e3e); }
.disc-meter.tone-amber > span { background: linear-gradient(90deg, #f3ab27, #ce7705); }
.disc-meter.tone-emerald > span { background: linear-gradient(90deg, #35b463, #19803f); }
.disc-meter.tone-sky > span { background: linear-gradient(90deg, #2d8cf6, #0d58c9); }

.disc-ai-panel { padding: 16px 18px; border-radius: 14px; border: 1px solid #c7ddfb; background: linear-gradient(145deg, #f2f8ff, #ffffff); display: grid; gap: 12px; }
.disc-ai-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.disc-ai-header h3 { display: flex; align-items: center; gap: 7px; font-size: 16.5px; color: #0e3d8a; }
.disc-ai-header small { display: block; color: var(--muted); margin-top: 3px; }
.disc-context-form { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.disc-context-form input[type=text] { width: min(250px, 68vw); min-height: 34px; padding: 5px 10px; font-size: 12.5px; background: #fff; }
.disc-ai-loading { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-radius: 10px; background: #e8f2ff; color: #12489c; font-size: 13px; font-weight: 650; }
.disc-ai-body { display: grid; gap: 12px; }
.disc-ai-summary, .disc-lead { margin: 0; font-size: 13.5px; line-height: 1.5; color: #1e3354; background: #fff; padding: 12px 14px; border-radius: 11px; border: 1px solid #e1ebf8; }
.disc-ai-disclaimer { color: var(--muted); font-style: italic; line-height: 1.35; }

.disc-guide-section, .disc-collab-section { display: grid; gap: 11px; }
.disc-aspect-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.disc-aspect-card { padding: 13px 15px; border-radius: 12px; border: 1px solid #dfe9f7; background: #fff; }
.disc-aspect-card.warning { background: #fffcf5; border-color: #f3dfb0; }
.disc-aspect-card.highlight { background: #eef7f1; border-color: #c2e5cd; }
.disc-aspect-card h4 { margin: 0 0 7px; font-size: 13.5px; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.disc-aspect-card p { margin: 0; font-size: 12.5px; line-height: 1.46; color: #273c5d; }
.disc-aspect-card ul, .disc-aspect-card ol { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: 12.5px; line-height: 1.42; color: #273c5d; }

.disc-collab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.disc-collab-card { padding: 11px 13px; border-radius: 11px; border: 1px solid var(--line); background: #fbfdff; }
.disc-collab-card.tone-rose { border-left: 4px solid #c92a49; }
.disc-collab-card.tone-amber { border-left: 4px solid #d8830b; }
.disc-collab-card.tone-emerald { border-left: 4px solid #1e8a46; }
.disc-collab-card.tone-sky { border-left: 4px solid #1565d8; }
.disc-collab-card strong { display: block; font-size: 13px; color: var(--navy); margin-bottom: 3px; }
.disc-collab-card p { margin: 0; font-size: 12.5px; line-height: 1.4; color: #2c4162; }

.disc-reflection-box { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-radius: 13px; background: #f6f9ff; border: 1px solid #dbe7f7; }
.disc-reflection-box h3 { display: flex; align-items: center; gap: 7px; font-size: 15px; margin-bottom: 8px; }
.disc-reflection-box ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: 12.5px; color: #23385a; line-height: 1.4; }
.disc-methodology-note { padding: 11px 13px; border-radius: 10px; background: #fff; border: 1px solid #e2ebf8; }
.disc-methodology-note strong { display: block; font-size: 12.5px; color: var(--navy); margin-bottom: 4px; }
.disc-methodology-note p { margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.disc-actions-bar { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.disc-retake-disclosure summary { list-style: none; width: fit-content; }
.disc-retake-disclosure summary::-webkit-details-marker { display: none; }
.disc-retake-body { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

@media (max-width: 960px) {
    .disc-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .disc-hero-card, .disc-reflection-box { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .disc-pillars, .disc-option-list, .disc-aspect-grid, .disc-collab-grid { grid-template-columns: minmax(0, 1fr); }
    .sim-badge-earned { flex-direction: column; align-items: flex-start; }
}

.assessment-resets { display: grid; gap: 12px; margin-top: 12px; }
.assessment-resets:empty { display: none; }
.assessment-resets summary { color: #154c9d; font-weight: 740; cursor: pointer; }
.assessment-resets form { display: grid; gap: 8px; max-width: 40rem; margin-top: 12px; }
.assessment-resets button { justify-self: start; }
