/* KÖZÜGY — adult editorial edition. Original civic tabletop language.
   Add last: preserves routes and mechanics while replacing the comic styling. */
:root {
  --ink: #25332f; --muted: #59655e; --bg: #f3f0e8; --line: #c8cec3;
  --navy: #173f3d; --lime: #d9bd76; --purple: #e4e6dd;
  --blue: #dce9e3; --orange: #e6c4b1; --radius: 13px;
  --adult-pine: #215750; --adult-petrol: #173f3d; --adult-rust: #a4533b;
  --adult-copper: #976b37; --adult-paper: #fffdf7; --adult-soft: #e8e9df;
  --comic-cobalt: #215750; --comic-coral: #c88065; --comic-teal: #99b9ac;
  --comic-mustard: #d9bd76; --comic-lavender: #d9dfd3;
  --comic-paper: #fffdf7; --comic-shadow: 0 4px 12px #25332f0b;
}
body { background: var(--bg); }
main { padding-top: 29px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.6px; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, summary:focus-visible { outline-color: var(--adult-rust); }
.sidebar { background: var(--adult-petrol); border-right: 1px solid #113432; }
.brand .brand-tagline, .sidebar-caption { color: #c8d6cd; }
.sidebar-caption { font-size: 9px; letter-spacing: 1.6px; }
.sidebar nav { gap: 3px; }
.sidebar nav a { border-width: 1px; border-radius: 7px; font-weight: 500; color: #e9eee6; }
.sidebar nav a:hover { background: #24514c; border-color: #617d73; }
.sidebar nav a.active { background: #e5d6af; color: var(--ink); border-color: #e5d6af; box-shadow: none; transform: none; }
.nav-count, .sidebar nav a.active .nav-count { background: #fffdf7; border: 0; border-radius: 4px; }
.sidebar-bottom p { font-size: 17px; line-height: 1.5; }
.free-label, .save-status, .quiet-button { color: #d7e1d7; }
.save-status { border-color: #6e8c80; }
.topbar { background: var(--adult-paper); border-bottom: 1px solid var(--line); }
.edition { color: #486154; font-weight: 500; }
.edition i, .free-label i { border: 0; background: #99b9ac; width: 6px; height: 6px; }
.topbar .avatar { border: 1px solid #aab5a6; background: #e8e9df; }
.page-title { margin-bottom: 25px; }
.page-title h1 { font-size: clamp(28px, 2.4vw, 36px); font-weight: 600; line-height: 1.2; }
.page-title p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.eyebrow, .party-kicker { color: var(--adult-pine); font-weight: 700; letter-spacing: 1.35px; }
.mini-link { border: 1px solid var(--line); box-shadow: none; border-radius: 6px; background: var(--adult-paper); }
.mini-link:hover { background: #e8e9df; }

/* Cover: a restrained illustration on an archival green desk. */
.hero-grid { grid-template-columns: minmax(0, 2.8fr) minmax(240px, 1fr); gap: 20px; }
.hero { border: 1px solid #aeb9a6; border-radius: 13px; background: #e4e9db; box-shadow: 0 4px 16px #25332f07; padding: 30px; min-height: 374px; }
.hero::before { background-image: linear-gradient(#25332f05 1px, transparent 1px); background-size: 100% 26px; }
.hero-copy { width: 53%; }
.hero .tag { border: 1px solid #96a794; background: #fffdf7b3; box-shadow: none; color: #365443; border-radius: 3px; font-size: 7.5px; }
.hero h2 { font-size: clamp(29px, 2.8vw, 39px); line-height: 1.17; font-weight: 600; letter-spacing: -1.15px; margin: 24px 0 16px; }
.hero p { color: #475c4b; font-size: 13px; line-height: 1.8; max-width: 315px; }
.hero-art { width: 54%; height: 94%; right: -3px; bottom: 2px; animation: none; object-fit: contain; opacity: 1; }
.hero-meta { color: #475c4b; font-size: 9px; }
.sparkle { display: none; }
.role-teaser { background: #d8e3dc; color: var(--ink); border: 1px solid #aab9ac; border-radius: 13px; box-shadow: none; padding: 25px; }
.role-orbit { height: 51px; margin-bottom: 24px; }
.role-orbit::before, .role-orbit::after { display: none; }
.orb { border: 1px solid #758a7a; box-shadow: none; border-radius: 5px; width: 38px; height: 45px; font-size: 22px; transform: none; background: #f8f5e9; }
.orb:nth-child(n) { transform: none; }
.orb:nth-child(1) { top: 2px; left: 0; background: #f7eed8; }
.orb:nth-child(2) { top: 2px; left: 48px; background: #ecede4; }
.orb:nth-child(3) { top: 2px; left: 96px; background: #c4d6c8; }
.role-teaser h3 { font-size: 24px; color: var(--ink); line-height: 1.25; font-weight: 600; }
.role-teaser p { color: #475c4b; font-size: 12px; line-height: 1.8; }
.role-teaser button { border: 1px solid #aab9ac; border-radius: 6px; box-shadow: none; margin-top: auto; padding: 12px; background: var(--adult-paper); font-size: 11px; }

/* Paper cards use thin rules, limited color, and quiet elevation. */
.primary, .secondary, .motion-toggle, .coach-video, .tab { border: 1px solid #63796a; border-radius: 6px; box-shadow: none; font-weight: 600; }
.primary { background: var(--adult-pine); color: #fffdf7; }
.primary:hover { background: #173f3d; box-shadow: 0 3px 9px #25332f12; transform: translateY(-1px); }
.primary.lime { background: #e3d3a7; color: var(--ink); border-color: #aa956b; box-shadow: none; }
.primary.lime:hover { background: #ebddba; }
.secondary, .motion-toggle, .coach-video { background: var(--adult-paper); color: var(--ink); }
.secondary:hover, .motion-toggle:hover, .coach-video:hover { background: #e8ede4; }
.primary:active, .secondary:active, .tab:active { transform: translateY(1px); box-shadow: none; }
.tab.active { background: var(--adult-pine); color: #fffdf7; border-color: var(--adult-pine); }
.circle-button, .close-button { border: 1px solid #aab5a6; box-shadow: none; background: var(--adult-paper); }
.tag, .source-tag, .badge { border: 1px solid #b5bcad; background: #edeee5; color: #48594a; }
.badge { font-weight: 500; border-radius: 5px; }
.badge.verified { background: #e1ece2; color: #36563e; }
.badge.pending { background: #f0e6cf; color: #70522b; }
.section-head h2, .panel-head h2 { font-size: 20px; font-weight: 600; }
.kpi, .panel, .role-card, .mission-card, .institution-row, .scenario-panel,
.decision-option, .quiz-option, .result-match, .fund-card, .operation-slot,
.party-how article, .party-seat, .party-candidate, .substitution-card,
.comic-mini, .comic-mini-panel, .comic-mini-card, .comic-mini-option,
.comic-mini-case, .comic-mini-choice, .comic-mini-feedback, .comic-mini-result {
  border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 3px 8px #25332f06;
}
.kpi, .kpi:nth-child(n) { background: var(--adult-paper); padding: 17px 15px; }
.kpi { border-top: 3px solid #b4c2ad; }
.kpi:nth-child(5n+2) { border-top-color: #b3bdaa; }
.kpi:nth-child(5n+3) { border-top-color: #89ab99; }
.kpi:nth-child(5n+4) { border-top-color: #be8a70; }
.kpi:nth-child(5n+5) { border-top-color: #c4ab77; }
.kpi-icon { border: 0; background: #edf0e7; width: 28px; height: 28px; }
.kpi-label, .kpi-top .tiny, .kpi-number small { color: var(--muted); }
.kpi-number { font-size: 29px; font-weight: 600; }
.progress, .skill-row .bar { background: #e6e9df; border: 0; height: 5px; }
.progress span { background: var(--adult-pine); border: 0; }
.panel { background: var(--adult-paper); }
.mission-preview { background: #ecefdf; border: 1px solid #c8ceba; border-radius: 8px; }
.mission-icon { background: #dce4ce; border: 0; }
.mission-copy .eyebrow { color: #54673f; }
.mission-copy h3 { font-weight: 600; }
.skill-dot { border: 0; }
.skill-disclaimer { border-top: 1px solid var(--line); }
.coach-banner { border: 1px solid #c6bc9e; background: #eee8d6; box-shadow: none; border-radius: 9px; }
.coach-banner p { color: #665a43; }
.coach-avatar { display: none; }
.coach-video { border-color: #b3a989; }
.journey-board { border: 1px solid #b8c4b3; background: #e3e9dc; border-radius: 11px; box-shadow: none; }
.journey-board > p, .journey-island small { color: #526447; }
.journey-island { border: 1px solid #bac5b2; border-radius: 6px; }
.journey-island.done { background: #d7e5d6; border-color: #8ba985; }
.journey-island.current { background: #ede3c9; border: 1px solid #9d8a59; box-shadow: none; }
.island-icon { font-size: 19px !important; }
.role-card, .role-card:nth-child(n) { background: var(--adult-paper); border-top: 3px solid #9bac91; }
.role-card .role-symbol { border: 1px solid #acb8a3; box-shadow: none; border-radius: 7px; }
.role-card:hover, .mission-card:hover { border-color: #788e6f; transform: translateY(-1px); }
.mission-card, .mission-card:nth-child(4n+1) { background: #f1edde; }
.mission-card:nth-child(4n+2) { background: #e9ece3; }
.mission-card:nth-child(4n+3) { background: #e2ebe2; }
.mission-card:nth-child(4n+4) { background: #f2e5da; }
.notice { border: 1px solid #adbfac; background: #e4ede1; color: #40543d; }
.notice.purple { border: 1px solid #b6c0ad; background: #e8ebe0; color: #4c5948; }
.institution-row { background: var(--adult-paper); box-shadow: none; }
.scenario-panel { background: var(--adult-paper); padding: 28px; }
.scenario-panel h2 { font-size: 29px; }
.decision-option, .decision-option:nth-child(n), .quiz-option { background: #f6f3e9; }
.decision-option > span { border: 1px solid #b5bdac; background: #e6eadf; border-radius: 4px; }
.decision-option:hover, .quiz-option:hover { background: #e8ede0; border-color: #8c9f7f; transform: none; }
.decision-option strong { font-weight: 600; }
.journey-step b { border: 1px solid #a6b29c; }
.journey-step.done b { background: #c8ddc6; }
.journey-step.current b { background: #dfcfa5; }
.effect { background: #dce9da; color: #355332; border: 1px solid #a8bba4; }
.effect.negative { background: #f0dcd0; color: #713c2b; border-color: #c3947c; }
.lesson, .modal-body .lesson { background: #e5ece0; border-left: 3px solid var(--adult-pine); color: #485a41; }
.report-hero { background: var(--adult-petrol); border: 1px solid #123532; box-shadow: none; }
.report-hero p, .score-inner span { color: #d8e4d8; }
.score-inner { background: var(--adult-petrol); }
.report-hero .secondary { color: var(--ink); }
.history-card .chosen { color: #285b45; }
.prose a, .fund-provenance a, .source-list a, .news-card a { color: var(--adult-pine); }
.method-step > span { border: 1px solid #b3a277; box-shadow: none; background: #e3d5b5; }
.connection-links a, .role-source-links a, .hierarchy-breadcrumb button, .direct-reports button {
  border: 1px solid #bcc4b1; background: #eceee3; color: #4d6344;
}
.integrity-lesson { border: 1px solid #c9b698; background: #f0e7d7; }
.coach-quip { color: #665338; background: var(--adult-paper); border: 1px solid #d4c6ad; }
.lesson-provenance { color: #665941; }

/* Supporting rooms share the same controlled green, paper and copper palette. */
.party-welcome { background: #e1e8da; border: 1px solid #acb9a1; box-shadow: none; border-radius: 13px; }
.party-welcome::before { background: linear-gradient(#25332f04 1px, transparent 1px) 0 0 / 100% 26px; }
.party-welcome-copy > p, .party-your-avatar { color: #4c6244; }
.party-welcome .tag { background: #fffdf7b3; color: #3c5a39; }
.party-clubhouse { filter: saturate(.35); opacity: .9; transform: none; }
.party-main-grid .panel { border-radius: 11px; }
.party-how article, .party-how article:nth-child(n) { background: var(--adult-paper); }
.party-how article > span { border: 1px solid #b8c3ab; background: #e5eadb; border-radius: 4px; }
.party-room { background: #e6ebe0; }
.party-seat { background: var(--adult-paper); }
.party-seat h3 > span { background: #e8ecdf; color: #4c6141; }
.party-empty-seat { border: 1px dashed #9eac94; background: #fffdf785; box-shadow: none; }
.party-empty-seat > span { background: #d9e5d3; border: 1px solid #aabf9f; }
.party-empty-seat h3 { color: #46643d; }
.party-room-count, .party-count { border: 1px solid #b7c2af; background: var(--adult-paper); }
.party-dashboard-teaser { background: #e8e5d8; border: 1px solid #c4baa3; box-shadow: none; border-radius: 11px; }
.party-dashboard-teaser h2 { font-size: 24px; }
.party-dashboard-teaser p { color: #5f5d4c; }
.party-teaser-icon { font-size: 0; border: 1px solid #ada98e; box-shadow: none; background: #f8f4e8; border-radius: 6px; position: relative; transform: none; }
.party-teaser-icon::before { content: ''; position: absolute; width: 25px; height: 28px; top: 15px; left: 17px; border: 1px solid #566547; border-radius: 2px; background: repeating-linear-gradient(0deg, transparent 0 6px, #8d9b7c 6px 7px) center / 14px 18px no-repeat; }
.party-teaser-icon::after { content: ''; position: absolute; width: 12px; height: 16px; top: 30px; left: 36px; border: 1px solid #98683c; background: #e3cfab; rotate: 8deg; border-radius: 2px; }
.intel-hero { background: #e6eadf; border: 1px solid #b6c1aa; border-radius: 13px; box-shadow: none; }
.intel-hero h2 { font-size: 31px; font-weight: 600; }
.intel-hero p, .news-hero p { color: #526446; }
.intel-orbit, .news-illustration { display: none; }
.intel-stats article, .intel-stats article:nth-child(n), .atlas-stats > div,
.atlas-stats > div:nth-child(n), .media-workflows article, .media-workflows article:nth-child(n) {
  background: var(--adult-paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: none;
}
.fund-card, .fund-card:nth-child(n) { background: var(--adult-paper); }
.fund-missing { background: #f0e8d9 !important; }
.news-hero { background: #e0e9da; border-color: #b7c5ad; }
.operation-slot.human-slot { background: #e3ebdc; border-color: #b4c5a9; }
.operations-summary span { background: #e5eadb; border-radius: 5px; }
.parliament-hero { background: #e9dfcb; border-color: #c9b896; }
.parliament-stages span { border: 1px solid #bfc3b2; border-radius: 6px; }
.parliament-stages .current { background: #e4d2a7; border: 1px solid #b09a63; box-shadow: none; }
.parliament-chamber { background: #26493f; border: 1px solid #193d32; border-radius: 11px; box-shadow: none; }
.parliament-seats i { background: #b7c4a9; border: 1px solid #59754f; }
.parliament-seats i.yes { background: #9cbea4; }
.parliament-seats i.no { background: #c58b71; }
.parliament-seats i.abstain { background: #d8bd7d; }
.parliament-chamber small { color: #deead8; }
.parliament-result { background: #e0ead8; border: 1px solid #b4c6a5; }
.parliament-warning { background: #eee3cc; border: 1px solid #ccb88e; }
.atlas-node { border: 1px solid var(--line); border-radius: 6px; background: var(--adult-paper); }
.atlas-node.selected { background: #e4e8d5; border-color: #9dab81; }
.atlas-node-icon, .atlas-chevron { color: #688354; }
.role-area-chips span { background: #e2eadc; color: #42613c; border: 1px solid #b3c5a8; }
.avatar-stage { border: 1px solid #b6c0a9; background: #e5eadb; border-radius: 13px; box-shadow: none; }
.avatar-stage .tag, .avatar-stage > p, .avatar-small-preview p { color: #546648; }
.avatar-level span, .avatar-option { border: 1px solid #b5c1a6; border-radius: 6px; }
.avatar-option.selected { background: #dce8d0; border-color: #849f67; }
.guide-chapters button { background: #e6ebdc; border: 1px solid #b5c3a7; color: #506843; border-radius: 5px; }
input, textarea, select, .party-form input, .party-form textarea, .parliament-input {
  border-color: #bdc4b3; border-radius: 6px; background: var(--adult-paper);
}
dialog { border: 1px solid #919e89; background: var(--adult-paper); border-radius: 12px; box-shadow: 0 20px 65px #172b2540; }
dialog::backdrop { background: #19382f85; backdrop-filter: blur(4px); }
.modal-body { background: var(--adult-paper); }
footer { border-top: 1px solid var(--line); background: var(--bg); color: #667060; }
footer a, footer > span:first-child { color: #4e5f46; }
.toast { background: var(--adult-petrol); border: 1px solid #406653; border-radius: 7px; color: #fffdf7; }

/* Satirical mini casework: paperwork, no object mascot. */
.comic-stamp, .comic-stamp-mascot, .comic-mini-teaser > img { display: none; }
.comic-mini-teaser { background: #ece4d3; border: 1px solid #c7b896; border-radius: 11px; box-shadow: none; gap: 20px; padding: 24px; }
.comic-mini-teaser::before { content: ''; display: block; width: 60px; height: 62px; flex: none; border: 1px solid #a1906a; border-radius: 3px; background: linear-gradient(#497657, #497657) 12px 17px / 25px 2px no-repeat, linear-gradient(#bdad87, #bdad87) 12px 27px / 34px 1px no-repeat, linear-gradient(#bdad87, #bdad87) 12px 36px / 26px 1px no-repeat, linear-gradient(#bdad87, #bdad87) 12px 45px / 30px 1px no-repeat, #fffdf7; }
.comic-mini-teaser h2 { font-size: 25px; font-weight: 600; letter-spacing: -.6px; }
.comic-mini-teaser p { color: #675a41; }
.comic-hub { gap: 16px; }
.comic-hub > a, .comic-hub > a:nth-child(n) { background: var(--adult-paper); border: 1px solid #bfc7b6; border-radius: 10px; box-shadow: none; padding: 22px; gap: 12px; }
.comic-hub > a:hover { transform: translateY(-1px); box-shadow: 0 3px 9px #25332f0d; }
.comic-hub > a > span { display: none; }
.comic-hub > a::before { content: '01'; display: block; color: var(--adult-copper); border-bottom: 1px solid #d6d8cb; padding-bottom: 12px; font: 500 12px/1.3 'Space Grotesk', system-ui, sans-serif; letter-spacing: 2px; }
.comic-hub > a:nth-child(2)::before { content: '02'; }
.comic-hub > a:nth-child(3)::before { content: '03'; }
.comic-hub strong { font-size: 21px; font-weight: 600; }
.comic-hub small { color: var(--muted); }
.comic-hub b { color: var(--adult-pine); font-weight: 600; }
.comic-mini-kicker, .comic-mini-score { color: var(--adult-pine); }
.comic-mini, .comic-mini-panel, .comic-mini-card, .comic-mini-option,
.comic-mini-card:nth-child(n), .comic-mini-option:nth-child(n) { background: var(--adult-paper); }
.comic-mini-label { color: var(--adult-pine) !important; }
.comic-mini-meters > span { border: 1px solid #b7c1ad; border-radius: 5px; }
.comic-stamp-paper { background: #eee4cd; }
.comic-stamp-solved { background: #ddebd6; }
.comic-mini-progress { border: 0; border-radius: 4px; background: var(--adult-pine); }
.comic-mini-case { background: #edf0e4; }
.comic-mini-case h3 { font-size: 23px; }
.comic-mini-case p, .comic-mini-choice span { color: var(--muted); }
.comic-stamp-icon { border: 1px solid #b2bf9f; border-radius: 5px; background: #dfe7cb; rotate: 0deg; font-size: 20px; }
.comic-mini-choice, .comic-mini-choice:nth-child(n) { background: #f8f6ed; }
.comic-mini-choice:hover, .comic-mini-option:hover { background: #e8eddc; border-color: #8ba16f; }
.comic-mini-feedback, .comic-mini-result { background: #e1ead7; }
.comic-mini-feedback p, .comic-mini-result p { color: #4a6040; }
.comic-stamp-seal { border: 1px solid #8f9e77; border-radius: 50%; background: #e2ebd6; color: #4d7445; rotate: 0deg; width: 42px; height: 42px; font-size: 25px; }
.comic-stamp-label { border: 1px solid #ae9c70; background: #eadfbd; rotate: -1deg; }
.comic-mini-note { border-top: 1px solid #bbc5ae; }

@media (min-width: 1600px) {
  .hero { min-height: 410px; padding: 35px; }
  .hero h2 { font-size: 43px; }
  .hero-copy { width: 52%; }
}
@media (max-width: 1190px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: 357px; }
  .hero h2 { font-size: 36px; }
  .hero-copy { width: 53%; }
  .hero-art { right: 0; bottom: 0; width: 53%; height: 100%; }
  .role-teaser { grid-template-columns: 139px minmax(0,1fr); min-height: 153px; gap: 0 20px; padding: 23px; }
  .role-orbit { margin: 15px 0 0; height: 56px; }
  .role-orbit .orb:nth-child(1) { left: 0; top: 0; }
  .role-orbit .orb:nth-child(2) { left: 44px; top: 0; }
  .role-orbit .orb:nth-child(3) { left: 88px; top: 0; }
  .role-teaser h3 { font-size: 23px; }
  .role-teaser button { margin-top: 14px; }
}
@media (max-width: 930px) {
  .sidebar { border-right: 1px solid #113432; }
  .hero h2 { font-size: 33px; }
  .comic-mini-teaser > .primary { margin-left: 80px; }
  .comic-hub > a { padding: 18px; }
  .comic-hub strong { font-size: 19px; }
}
@media (max-width: 700px) {
  .sidebar { background: var(--adult-petrol); border-top: 1px solid #527768; border-right: 0; }
  .sidebar nav { scrollbar-color: #bdc9b7 transparent; }
  .sidebar nav a { border-radius: 5px; font-size: 7px; }
  .sidebar nav a.active { box-shadow: none; }
  .topbar { height: 65px; padding: 0 17px; }
  .mobile-brand img { width: 124px; }
  main { padding: 23px 17px 29px; }
  .page-title h1 { font-size: 27px; letter-spacing: -.65px; }
  .page-title p { font-size: 12px; }
  .hero { min-height: 0; padding: 25px 22px 0; border-radius: 12px; }
  .hero-copy { width: 100%; }
  .hero h2 { font-size: 32px; line-height: 1.19; letter-spacing: -.9px; margin: 23px 0 16px; }
  .hero p { max-width: 100%; font-size: 13px; }
  .hero .tag { font-size: 7px; letter-spacing: .35px; }
  .hero .primary { font-size: 12px; padding: 12px 16px; }
  .hero-art { position: relative; width: 100%; max-width: 100%; height: auto; aspect-ratio: 680 / 510; margin: 8px 0 -1px; right: auto; bottom: auto; align-self: center; }
  .hero-meta { font-size: 9px; margin-top: 18px; }
  .role-teaser { border-radius: 11px; padding: 22px; grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .role-orbit { display: none; }
  .role-teaser h3 { font-size: 22px; margin-bottom: 9px; }
  .role-teaser p { font-size: 12px; }
  .role-teaser button { font-size: 11px; max-width: 100%; }
  .kpi, .kpi:nth-child(n) { padding: 14px; }
  .kpi-number { font-size: 27px; }
  .kpi-label { font-size: 11px; }
  .game-kpis .kpi { padding: 12px 9px; }
  .game-kpis .kpi-label { font-size: 9px; }
  .game-kpis .kpi-number { font-size: 22px; }
  .coach-banner { display: flex; padding: 15px; gap: 12px; }
  .coach-banner > div:nth-child(2) { flex: 1 1 100%; }
  .coach-video { margin: 0; font-size: 10px; }
  .section-head h2, .panel-head h2 { font-size: 19px; }
  .panel { padding: 19px; }
  .mission-preview { padding: 15px; }
  .mission-copy h3 { font-size: 18px; }
  .journey-board { padding: 20px 15px; }
  .journey-island, .journey-island.current { padding: 12px 6px; }
  .scenario-panel { padding: 22px 18px; }
  .scenario-panel h2 { font-size: 26px; }
  .decision-option strong { font-size: 13px; }
  .decision-option p { font-size: 11px; }
  .comic-mini-teaser { padding: 21px 18px; gap: 14px; }
  .comic-mini-teaser::before { width: 44px; height: 52px; background-size: 21px 2px, 24px 1px, 19px 1px, 24px 1px; background-position: 9px 13px, 9px 22px, 9px 30px, 9px 38px; }
  .comic-mini-teaser h2 { font-size: 22px; }
  .comic-mini-teaser > div { flex: 1 1 calc(100% - 60px); }
  .comic-mini-teaser > .primary { margin-left: 0; }
  .comic-hub { gap: 13px; }
  .comic-hub > a { display: block; padding: 20px; }
  .comic-hub > a::before { margin-bottom: 14px; }
  .comic-hub strong, .comic-hub small { display: block; }
  .comic-hub strong { font-size: 21px; }
  .comic-hub small { margin-top: 9px; font-size: 12px; }
  .comic-hub b { margin-top: 11px; font-size: 11px; }
  .party-dashboard-teaser { padding: 20px 17px; }
  .party-dashboard-teaser h2 { font-size: 22px; }
  .party-teaser-icon { display: none; }
  .party-welcome h2, .intel-hero h2 { font-size: 28px; }
  .intel-stats article { padding: 15px; }
  .comic-mini-case h3 { font-size: 22px; }
  .comic-mini-feedback h3, .comic-mini-result > h3 { font-size: 21px; }
  dialog { width: calc(100% - 28px); }
  .modal-body.comic-mini { padding: 24px 18px; }
  footer { font-size: 10px; }
}
@media (max-width: 360px) {
  main { padding-left: 13px; padding-right: 13px; }
  .hero { padding-left: 18px; padding-right: 18px; }
  .hero h2 { font-size: 29px; }
  .hero .tag { letter-spacing: 0; font-size: 6.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
body.motion-off *, body.motion-off *::before, body.motion-off *::after { animation: none !important; transition: none !important; }

/* Adult illustrated board edition: warm paper, ink and amber; neon only as an accent. */
:root {
  color-scheme: light;
  --ink:#202725; --muted:#59635e; --bg:#f6f3e9; --line:#38403a;
  --navy:#172522; --lime:#c8f27b; --purple:#e5dfef; --blue:#d8e8e1;
  --orange:#f3b67e; --adult-pine:#254a3d; --adult-petrol:#172522;
  --adult-rust:#ad5236; --adult-copper:#946336; --adult-paper:#fffdf7;
  --adult-soft:#efeee3; --comic-cobalt:#28473c; --comic-coral:#d47b51;
  --comic-teal:#b7d5c1; --comic-mustard:#efc65e; --comic-lavender:#d8cfdf;
  --comic-paper:#fffdf7; --comic-shadow:2px 3px 0 #20272515;
}
body { background:var(--bg); }
.sidebar { background:#172522; border-color:#172522; }
.brand { padding-right:0; }
.brand-lockup { width:216px; height:64px; object-fit:contain; }
.brand-symbol { display:none; }
.sidebar nav a.active { background:#d5ee91; border-color:#d5ee91; color:#172522; box-shadow:none; }
.topbar { background:#fffdf7; }
.hero { background:#efc568; border:2px solid #26352c; box-shadow:4px 5px 0 #26352c; }
.hero::before { background-image:linear-gradient(#28362b05 1px,transparent 1px),linear-gradient(90deg,#28362b04 1px,transparent 1px); background-size:30px 30px; }
.hero h2 { font-weight:750; color:#202725; }
.hero p,.hero-meta { color:#38452f; }
.hero .tag { background:#fff5d9; border-color:#56613e; color:#263c2b; }
.hero-art { filter:none; }
.role-teaser { background:#dce7cd; border:2px solid #38403a; box-shadow:3px 4px 0 #38403a; }
.role-teaser button { border-color:#536143; }
.primary { background:#234f3d; color:#fffdf7; border-color:#172d22; }
.primary:hover { background:#173c2b; }
.primary.lime { background:#c8ec86; color:#202725; border-color:#34422c; }
.primary.lime:hover { background:#d8f3a2; }
.secondary,.motion-toggle,.coach-video { border-color:#626c58; }
.kpi { border-width:1.5px; border-top-width:4px; }
.kpi:nth-child(5n+1) { background:#e7e0ef; border-top-color:#87739b; }
.kpi:nth-child(5n+2) { background:#e4ebcb; border-top-color:#8b9c43; }
.kpi:nth-child(5n+3) { background:#dcece8; border-top-color:#578b7e; }
.kpi:nth-child(5n+4) { background:#f5dfc5; border-top-color:#b27b45; }
.kpi:nth-child(5n+5) { background:#e2eadf; border-top-color:#608467; }
.panel,.role-card,.mission-card,.institution-row,.scenario-panel,.quiz-option,.result-match,.fund-card,.operation-slot { border-color:#a3ac9a; }
.role-card:nth-child(4n+1),.mission-card:nth-child(4n+1) { background:#fffdf7; }
.role-card:nth-child(4n+2),.mission-card:nth-child(4n+2) { background:#e8eedc; }
.role-card:nth-child(4n+3),.mission-card:nth-child(4n+3) { background:#f1e5d6; }
.role-card:nth-child(4n+4),.mission-card:nth-child(4n+4) { background:#eae4ed; }
.comic-mini-teaser { background:#f3e4c5; border:1.5px solid #586048; box-shadow:2px 3px 0 #38403a19; }
.comic-mini-teaser::before { background-color:#fffdf7; }
.journey-board { background:#ede9de; border:1.5px solid #7c8573; }
.journey-island { background:#fffdf7; }
.journey-island.current { background:#efd18a; border-color:#72673c; }
.journey-island.done { background:#dbe6cb; border-color:#7b9266; }
.party-dashboard-teaser { background:#dae8d8; border:1.5px solid #72906e; }
.comic-hub>a:nth-child(1) { background:#e9e3ef; }
.comic-hub>a:nth-child(2) { background:#faead1; }
.comic-hub>a:nth-child(3) { background:#e1ead9; }
.comic-hub>a::before { color:#44523e; }
footer { background:transparent; }
.privacy-table-wrap { overflow-x:auto; }
.privacy-prose > .panel { min-width:0; }
.privacy-table { width:100%; min-width:520px; border-collapse:collapse; font-size:12px; line-height:1.6; }
.privacy-table th,.privacy-table td { text-align:left; padding:13px 10px; border-bottom:1px solid #d4d7c7; vertical-align:top; }
.privacy-table th { color:#254a3d; }
.privacy-json { width:100%; box-sizing:border-box; font-family:ui-monospace,monospace; font-size:11px; margin-top:10px; background:#f8f7ee; color:#25332f; }
.progression-teaser { display:flex; flex-wrap:wrap; align-items:center; gap:20px; margin:24px 0; padding:23px; border:1.5px solid #6e795d; border-radius:12px; background:#e6ebd8; }
.progression-teaser h2 { font-size:22px; margin:8px 0; }
.progression-teaser p { font-size:11px; color:var(--muted); }
.progression-mini-periods { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; flex:1; min-width:280px; }
.progression-mini-periods a { padding:14px 12px; background:#fffdf7; border:1px solid #a4ad97; border-radius:7px; display:flex; flex-direction:column; gap:7px; font-size:11px; text-decoration:none; }
.progression-mini-periods a:hover { background:#f7edcc; }
.progression-mini-periods span { color:var(--muted); font-size:10px; }
.progression-rank { display:flex; flex-wrap:wrap; gap:32px; align-items:center; background:#ede6d5; border:1.5px solid #93997e; border-radius:12px; padding:25px; margin-bottom:25px; }
.progression-rank>div:first-child { margin-right:auto; }
.progression-rank h2 { margin:8px 0; font-size:25px; }
.progression-rank p { font-size:12px; color:var(--muted); line-height:1.6; }
.progression-rank strong { font-size:26px; }
.progression-xp { display:flex; flex-direction:column; gap:6px; }
.progression-xp span { font-size:9px; letter-spacing:1px; }
.goals-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.goal-card { padding:23px; }
.goal-card:nth-child(1) { background:#f2dfad; }
.goal-card:nth-child(2) { background:#e4ead8; }
.goal-card:nth-child(3) { background:#eee3ee; }
.goal-card:nth-child(4) { background:#e1e9e3; }
.goal-card-top { display:flex; gap:10px; align-items:center; }
.goal-card-top>.badge { margin-left:auto; }
.goal-number { font:500 18px ui-monospace,monospace; }
.goal-card h2 { font-size:24px; margin:17px 0 8px; }
.goal-date { color:var(--muted); font-size:10px; margin:8px 0 18px; line-height:1.6; }
.goal-item { padding:12px 0; }
.goal-item>div:first-child { display:flex; gap:12px; justify-content:space-between; font-size:12px; line-height:1.6; }
.goal-item>div:first-child>span { flex-shrink:0; }
.goal-item .progress { margin:10px 0 8px; }
.goal-item small { font-size:10px; color:var(--muted); }
.leaderboard-panel { margin-top:30px; }
.leaderboard-panel h2 { margin-top:9px; }
.leaderboard-panel>.section-head { gap:20px; }
.leaderboard-filters { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; }
.leaderboard-table-wrap { overflow-x:auto; }
.leaderboard-table { width:100%; min-width:430px; border-collapse:collapse; font-size:13px; }
.leaderboard-table th,.leaderboard-table td { text-align:left; padding:14px 10px; border-bottom:1px solid #d3d8c7; }
.leaderboard-table th { font-size:10px; text-transform:uppercase; letter-spacing:1px; }
.leaderboard-table small { display:block; color:var(--muted); font-size:10px; margin-top:5px; }
.leaderboard-table .badge { margin-left:10px; }
.leaderboard-me { background:#e8efd9; }
.leaderboard-empty { padding:20px 0; }
.leaderboard-empty h3 { font-size:21px; }
.leaderboard-empty p { margin:10px 0 20px; color:var(--muted); font-size:13px; line-height:1.7; }
.ranking-method { margin-top:20px; border-top:1px solid #d3d8c7; padding-top:18px; font-size:12px; line-height:1.8; }
.ranking-method p { margin-top:14px; color:var(--muted); }
.ranking-method a { color:#234f3d; }
@media (max-width:700px) {
  .topbar { background:#172522; border-color:#2d4135; }
  .topbar .edition { color:#d8e1d6; font-size:8px; }
  .mobile-brand img { width:151px; height:45px; }
  .sidebar { background:#172522; border-top-color:#415442; }
  .sidebar nav a.active { background:#d5ee91; color:#172522; }
  .sidebar nav a { flex:0 0 59px; font-size:8px; min-height:48px; }
  .sidebar nav { overflow-x:auto; justify-content:flex-start; gap:5px; }
  .hero { box-shadow:3px 4px 0 #26352c; }
  .privacy-table { min-width:490px; }
  .goals-grid { grid-template-columns:1fr; }
  .progression-teaser { padding:20px 17px; }
  .progression-mini-periods { min-width:0; width:100%; flex-basis:100%; grid-template-columns:repeat(2,1fr); }
  .progression-rank { gap:20px; padding:22px 18px; }
  .progression-rank>div:first-child { flex-basis:100%; }
  .goal-card { padding:22px 18px; }
  .leaderboard-panel { padding:23px 18px; }
}

/* Existing palette; collaboration forms stay readable on narrow screens. */
.workshop-aside{border-left:3px solid #b59243;padding:9px 12px;background:#f4eddb;border-radius:0 7px 7px 0;color:#4a5147;font-size:13px;line-height:1.65}.role-evidence-panel{margin:24px 0}.role-evidence-panel details{margin:12px 0}.role-evidence-panel ul{padding-left:22px}.role-evidence-panel p{overflow-wrap:anywhere}
.workflow-workbench{display:grid;gap:16px;margin-bottom:24px;min-width:0}.workflow-workbench .section-head{margin:0}.workflow-workbench details.panel>summary{font-weight:750;cursor:pointer}.workflow-workbench details.panel>summary+*{margin-top:14px}.workflow-workbench form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0}.workflow-workbench form label{display:grid;gap:7px;flex:1 1 190px}.workflow-workbench form input:not([type=checkbox]),.workflow-workbench form select{width:100%;min-width:0}.workflow-workbench ol,.workflow-workbench ul{padding-left:22px;margin:12px 0}.workflow-workbench li{margin:7px 0}.workflow-workbench .history-card>details{margin:10px 0}.workflow-workbench p{overflow-wrap:anywhere}.workflow-workbench .start-actions{flex-wrap:wrap}@media(max-width:600px){.workflow-workbench form{display:grid;grid-template-columns:minmax(0,1fr)}.workflow-workbench .section-head{flex-wrap:wrap;gap:10px}.workflow-workbench .start-actions button{width:100%}}
