/* Mamoste reading and interface system. SVG/canvas drawings keep their own colours. */
body.mamoste-theme{
 --bg:#fbfcf9;--paper:#fff;--ink:#173e35;--text:#455d55;--muted:#52685d;
 --green:#26785d;--lime:#eaf2ec;--line:#dbe4dc;--border:#dbe4dc;
 --map-ink:#173e35;--map-muted:#52685d;--map-line:#dbe4dc;--ku-green:#26785d;--ku-paper:#f2f6ee;
 background:var(--bg);color:var(--ink);font-family:"Segoe UI",Arial,sans-serif;font-size:18px;line-height:1.7;
}
:root{--reading:18px;--secondary:16px;--compact:15px;--heading:30px;color-scheme:light}
html[data-reading=extra]{--reading:21px;--secondary:18px;--compact:17px;--heading:34px}
body.mamoste-theme p,
body.mamoste-theme li,
body.mamoste-theme dd,
body.mamoste-theme dt{font-size:var(--reading,18px)!important;line-height:1.75}
body.mamoste-theme label,
body.mamoste-theme summary,
body.mamoste-theme input,
body.mamoste-theme select,
body.mamoste-theme textarea,
body.mamoste-theme button,
body.mamoste-theme th,
body.mamoste-theme td{font-family:inherit;font-size:var(--secondary,16px)!important;line-height:1.6}
body.mamoste-theme small,
body.mamoste-theme .eyebrow,
body.mamoste-theme .edition,
body.mamoste-theme .nav-label,
body.mamoste-theme .matlas-label,
body.mamoste-theme .studio-label,
body.mamoste-theme .subtitle,
body.mamoste-theme .muted,
body.mamoste-theme .source-note,
body.mamoste-theme .save-status,
body.mamoste-theme .card-meta,
body.mamoste-theme .scope-banner,
body.mamoste-theme .work-intro,
body.mamoste-theme .caption,
body.mamoste-theme .source-citation,
body.mamoste-theme .mapping-note,
body.mamoste-theme .source-unit,
body.mamoste-theme .ku-kicker,
body.mamoste-theme .ku-caption,
body.mamoste-theme .ku-code,
body.mamoste-theme .ku-import,
body.mamoste-theme .ku-warning,
body.mamoste-theme .breadcrumb,
body.mamoste-theme .version,
body.mamoste-theme .coverage-note,
body.mamoste-theme .example-kicker,
body.mamoste-theme .example-question{font-size:var(--secondary,16px)!important;line-height:1.65;letter-spacing:.2px}
body.mamoste-theme header nav a,
body.mamoste-theme nav a,
body.mamoste-theme .text-link,
body.mamoste-theme .start-link,
body.mamoste-theme .entry-links a,
body.mamoste-theme .world-home-actions a,
body.mamoste-theme .atlas-related a,
body.mamoste-theme .atlas-tabs a,
body.mamoste-theme .atlas-quicklinks a,
body.mamoste-theme .studio-live,
body.mamoste-theme .world-kicker,
body.mamoste-theme .world-breadcrumb,
body.mamoste-theme .ku-header nav,
body.mamoste-theme .ku-language,
body.mamoste-theme .language-toggle,
body.mamoste-theme .ku-footer,
body.mamoste-theme footer{font-size:var(--secondary,16px)!important;line-height:1.6}
body.mamoste-theme .outcome .code,
body.mamoste-theme .outcome small,
body.mamoste-theme .ku-list-title>span,
body.mamoste-theme #ku-list>button span,
body.mamoste-theme #ku-list>button small,
body.mamoste-theme .ku-card-choices button span,
body.mamoste-theme .grade-number~span,
body.mamoste-theme .ku-grades span,
body.mamoste-theme .route-title>span:last-child,
body.mamoste-theme #list-count,
body.mamoste-theme .list-download{font-size:var(--compact,15px)!important;line-height:1.6}
body.mamoste-theme .outcome strong,
body.mamoste-theme #ku-list>button strong{font-size:var(--reading,18px)!important;line-height:1.6}
body.mamoste-theme h1{font-family:"Segoe UI",Arial,sans-serif;font-size:44px;line-height:1.18;letter-spacing:-1.3px;color:var(--ink)}
body.mamoste-theme h2{font-family:inherit;font-size:var(--heading,30px);line-height:1.35;letter-spacing:-.6px;color:var(--ink)}
body.mamoste-theme h3{font-family:inherit;font-size:23px;line-height:1.4;color:var(--ink)}
body.mamoste-theme h4{font-family:inherit;font-size:20px;line-height:1.45;color:var(--ink)}
body.mamoste-theme h1 em{color:var(--green)}
body.mamoste-theme .matlas-welcome h1,
body.mamoste-theme .world-home h1,
body.mamoste-theme .content-intro h1,
body.mamoste-theme .ku-intro h1{font-size:48px;line-height:1.15}
body.mamoste-theme .matlas-welcome h1 em,
body.mamoste-theme .world-home h1 em,
body.mamoste-theme .content-intro h1 em{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:500;color:var(--green)}
body.mamoste-theme .intro-description,
body.mamoste-theme .subtitle,
body.mamoste-theme .muted,
body.mamoste-theme .work-intro,
body.mamoste-theme .world-home p,
body.mamoste-theme .world-top p,
body.mamoste-theme .matlas-welcome p,
body.mamoste-theme .card-body p,
body.mamoste-theme .activity-card p,
body.mamoste-theme .symbol-card p,
body.mamoste-theme .atlas-entry p,
body.mamoste-theme .studio-translation p,
body.mamoste-theme .studio-instruction,
body.mamoste-theme .studio-note,
body.mamoste-theme .source-note,
body.mamoste-theme .scope-banner,
body.mamoste-theme .ku-intro p,
body.mamoste-theme .ku-footer p{color:var(--muted)}
body.mamoste-theme a:focus-visible,
body.mamoste-theme button:focus-visible,
body.mamoste-theme input:focus-visible,
body.mamoste-theme select:focus-visible,
body.mamoste-theme textarea:focus-visible,
body.mamoste-theme summary:focus-visible{outline:3px solid #a8650a!important;outline-offset:4px}
body.mamoste-theme a{color:var(--green)}
body.mamoste-theme .text-link,
body.mamoste-theme .entry-links a,
body.mamoste-theme .start-link,
body.mamoste-theme .atlas-previous,
body.mamoste-theme .discovery-back,
body.mamoste-theme .discovery-return a,
body.mamoste-theme .world-home-more,
body.mamoste-theme .world-breadcrumb>button,
body.mamoste-theme .studio-controls output,
body.mamoste-theme .world-home-path b{color:var(--green)}
body.mamoste-theme input,
body.mamoste-theme select,
body.mamoste-theme textarea{color:var(--ink);background:#fff;border-color:#b9cec0;border-radius:8px;max-width:100%}
body.mamoste-theme input,
body.mamoste-theme select,
body.mamoste-theme button{min-height:46px}
body.mamoste-theme input[type=checkbox],
body.mamoste-theme input[type=radio]{min-height:0;width:21px;height:21px;accent-color:var(--green)}
body.mamoste-theme input[type=range]{accent-color:var(--green);background:transparent;min-height:44px}
body.mamoste-theme input::placeholder,
body.mamoste-theme textarea::placeholder{color:#617365!important;opacity:1}
body.mamoste-theme textarea{font-size:var(--reading,18px)!important;line-height:1.7;min-height:115px;padding:13px}
body.mamoste-theme button{color:var(--ink);background:#fff;border-color:#b9cec0;border-radius:8px}
body.mamoste-theme button:hover:not(:disabled){background:#edf4ec;border-color:#83aa90}
body.mamoste-theme button:disabled{cursor:default}
body.mamoste-theme button.primary,
body.mamoste-theme .primary,
body.mamoste-theme .ku-primary,
body.mamoste-theme .discovery-start,
body.mamoste-theme .focus-close,
body.mamoste-theme .entry-links a:first-child,
body.mamoste-theme .world-home-actions>a:first-child,
body.mamoste-theme .atlas-quicklinks>a:first-child{background:var(--ink);border-color:var(--ink);color:#fff}
body.mamoste-theme button.primary:hover:not(:disabled),
body.mamoste-theme .primary:hover:not(:disabled),
body.mamoste-theme .ku-primary:hover:not(:disabled),
body.mamoste-theme .discovery-start:hover:not(:disabled),
body.mamoste-theme .focus-close:hover:not(:disabled){background:var(--green);border-color:var(--green);color:#fff}
body.mamoste-theme button.secondary,
body.mamoste-theme .secondary,
body.mamoste-theme .focus-open,
body.mamoste-theme .focus-toolbar button:not(.focus-close),
body.mamoste-theme .reading-toggle{background:#fff;color:var(--ink);border-color:#b9cec0}
body.mamoste-theme .sidebar,
body.mamoste-theme .topbar,
body.mamoste-theme .ku-header{background:#fff;border-color:var(--line);color:var(--ink)}
body.mamoste-theme .sidebar nav a{color:var(--muted);border-radius:8px}
body.mamoste-theme .sidebar nav a.active{color:var(--ink);background:#e5efe4;border-color:#c9d9c9;font-weight:650}
body.mamoste-theme .sidebar nav a:hover{background:#f0f5ed;color:var(--ink)}
body.mamoste-theme .nav-label,
body.mamoste-theme .sidebar-bottom p,
body.mamoste-theme .topbar #breadcrumb{color:var(--muted)}
body.mamoste-theme .sidebar-bottom{border-color:var(--line)}
body.mamoste-theme .sidebar-bottom>a{display:inline-block;margin:3px 0;font-size:16px;line-height:1.6}
body.mamoste-theme .edition,
body.mamoste-theme .date-chip,
body.mamoste-theme .avatar,
body.mamoste-theme .pill,
body.mamoste-theme .nav-badge,
body.mamoste-theme .matlas-label,
body.mamoste-theme .studio-live,
body.mamoste-theme .ku-mark{background:#eaf2e8;color:var(--ink);border-color:#cbdcca}
body.mamoste-theme .status-dot{background:var(--green)}
body.mamoste-theme .topbar span span{color:#667e6b}
body.mamoste-theme .topbar{height:auto;min-height:84px;gap:12px;flex-wrap:wrap}
body.mamoste-theme .top-actions{gap:10px;flex-wrap:wrap}
body.mamoste-theme .matlas-mobile-nav{background:#fff;border-color:var(--line)}
body.mamoste-theme .matlas-mobile-nav a{color:var(--muted);font-size:14px!important}
body.mamoste-theme .matlas-mobile-nav a[aria-current=page]{background:#e5efe4;color:var(--ink)}
body.mamoste-theme .matlas-orbit,
body.mamoste-theme .card-art,
body.mamoste-theme .activity-icon,
body.mamoste-theme .dialog-head,
body.mamoste-theme .atlas-definition,
body.mamoste-theme .ku-definition{background:#eef4e9;color:var(--ink);border-color:var(--line)}
body.mamoste-theme .matlas-orbit::before,
body.mamoste-theme .matlas-orbit::after{border-color:#c0d7c4}
body.mamoste-theme .matlas-symbol{color:var(--green)}
body.mamoste-theme .matlas-search,
body.mamoste-theme .world-search,
body.mamoste-theme .atlas-entry,
body.mamoste-theme .activity-card,
body.mamoste-theme .symbol-card,
body.mamoste-theme .progress-card,
body.mamoste-theme .card,
body.mamoste-theme .matlas-action,
body.mamoste-theme .matlas-path,
body.mamoste-theme .panel,
body.mamoste-theme .outcomes,
body.mamoste-theme .ku-outcome,
body.mamoste-theme .ku-card,
body.mamoste-theme .ku-sidebar,
body.mamoste-theme .atlas-source,
body.mamoste-theme .world-rail,
body.mamoste-theme .world-chart,
body.mamoste-theme .discovery-card,
body.mamoste-theme .ku-model{background:#fff;border-color:var(--line);border-radius:14px;color:var(--ink)}
body.mamoste-theme .matlas-action:hover,
body.mamoste-theme .matlas-path:hover,
body.mamoste-theme .atlas-entry:hover{border-color:#88ad93}
body.mamoste-theme .matlas-continue{background:var(--ink);color:#fff;border-radius:16px}
body.mamoste-theme .matlas-continue h2{color:#fff}
body.mamoste-theme .matlas-continue p,
body.mamoste-theme .matlas-continue small{color:#dbe8df}
body.mamoste-theme .matlas-continue button{background:#fff;color:var(--ink)}
body.mamoste-theme .matlas-path b,
body.mamoste-theme .matlas-action svg,
body.mamoste-theme .atlas-symbol>strong,
body.mamoste-theme .atlas-entry small,
body.mamoste-theme .atlas-definition>small,
body.mamoste-theme .matlas-path .path-action{color:var(--green)}
body.mamoste-theme .atlas-note,
body.mamoste-theme .scope-banner,
body.mamoste-theme .coach-goal,
body.mamoste-theme .coach-before,
body.mamoste-theme .studio-mission,
body.mamoste-theme .studio-controls,
body.mamoste-theme .studio-transfer,
body.mamoste-theme .studio-table,
body.mamoste-theme .studio-scope,
body.mamoste-theme .discovery-filters,
body.mamoste-theme .discovery-scope,
body.mamoste-theme .ku-finder,
body.mamoste-theme .ku-principle,
body.mamoste-theme .ku-prediction,
body.mamoste-theme .ku-reflect,
body.mamoste-theme .ku-task,
body.mamoste-theme .ku-examples p{background:#f0f5eb;border-color:#c6d9c6;color:var(--ink);border-radius:10px}
body.mamoste-theme .coach-help,
body.mamoste-theme .definition,
body.mamoste-theme .guide-example,
body.mamoste-theme .ku-warning,
body.mamoste-theme .ku-scope{background:#fbf5e8;border-color:#dfbf84;color:#604820}
body.mamoste-theme .feedback,
body.mamoste-theme .ku-feedback{background:#edf5eb;color:#22583f;border-color:#c6dbc8}
body.mamoste-theme .feedback.error{background:#fff0ea;color:#8b3d22;border-color:#e8b7a5}
body.mamoste-theme .ku-feedback[data-correct=false]{background:#fff0ea;color:#8b3d22;border-color:#e8b7a5}
body.mamoste-theme .tabs,
body.mamoste-theme .ku-tabs,
body.mamoste-theme .atlas-tabs,
body.mamoste-theme .world-switch,
body.mamoste-theme .world-view-switch,
body.mamoste-theme .discovery-modes,
body.mamoste-theme .activity-tabs,
body.mamoste-theme .frayer-page .activity-tabs{background:#f0f5eb;border-color:#c7dac8;border-radius:10px;padding:5px;gap:5px;flex-wrap:wrap}
body.mamoste-theme .tabs button,
body.mamoste-theme .ku-tabs button,
body.mamoste-theme .activity-tabs button,
body.mamoste-theme .frayer-page .activity-tabs button,
body.mamoste-theme .atlas-tabs a,
body.mamoste-theme .discovery-modes a,
body.mamoste-theme .world-switch a,
body.mamoste-theme .world-view-switch button{background:transparent;color:var(--ink);border-color:transparent;border-radius:7px;padding:11px 15px;white-space:normal;font-size:var(--secondary,16px)!important;line-height:1.5}
body.mamoste-theme .tabs button[aria-pressed=true],
body.mamoste-theme .ku-tabs button[aria-pressed=true],
body.mamoste-theme .activity-tabs button.active,
body.mamoste-theme .frayer-page .activity-tabs button.active,
body.mamoste-theme .atlas-tabs a[aria-current],
body.mamoste-theme .discovery-modes a[aria-current],
body.mamoste-theme .world-switch a[aria-current],
body.mamoste-theme .world-view-switch button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff;font-weight:650}
body.mamoste-theme .tabs button[aria-pressed=true]::before{color:#e0eadf}
body.mamoste-theme .grade.active,
body.mamoste-theme .grades button[aria-pressed=true],
body.mamoste-theme .ku-grades button[aria-pressed=true],
body.mamoste-theme .ku-grade-links a[aria-current=page]{background:var(--ink);border-color:var(--ink);color:#fff}
body.mamoste-theme .grades button[aria-pressed=true] span,
body.mamoste-theme .grades button[aria-pressed=true] b,
body.mamoste-theme .ku-grades button[aria-pressed=true] span,
body.mamoste-theme .ku-grades button[aria-pressed=true] b{color:#fff}
body.mamoste-theme .grades,
body.mamoste-theme .ku-grades{background:#fff;border-color:var(--line);border-radius:12px;overflow:hidden}
body.mamoste-theme .grades button{border-color:var(--line)}
body.mamoste-theme .grade-number,
body.mamoste-theme .ku-grades b{font-size:28px;line-height:1.3}
body.mamoste-theme .outcome[aria-current=true],
body.mamoste-theme #ku-list>button[aria-current=true],
body.mamoste-theme .ku-card-choices button[aria-pressed=true],
body.mamoste-theme .lab-menu button.active{background:#e8f1e5;color:var(--ink);border-color:#85aa8d}
body.mamoste-theme .outcome[aria-current=true] .code,
body.mamoste-theme .outcome[aria-current=true]::before,
body.mamoste-theme .outcome[aria-current=true] small{color:#315d41}
body.mamoste-theme .outcome:hover{background:#f0f5eb}
body.mamoste-theme .outcome{border-color:var(--line);padding-top:17px;padding-bottom:17px}
body.mamoste-theme .outcome .code{color:var(--green)}
body.mamoste-theme .outcome small{color:var(--muted)}
body.mamoste-theme .find-row>.check{font-size:var(--secondary,16px)!important;line-height:1.6}
body.mamoste-theme #ku-list>button{padding:17px 18px;border-color:var(--line)}
body.mamoste-theme .panel:first-child,
body.mamoste-theme .ku-outcome{background:#f1f6ed;border-color:#cbddc9}
body.mamoste-theme .panel:first-child .breadcrumb,
body.mamoste-theme .ku-relation,
body.mamoste-theme .ku-official,
body.mamoste-theme .ku-kicker{color:var(--muted)}
body.mamoste-theme .panel,
body.mamoste-theme .ku-outcome,
body.mamoste-theme #ku-content{padding:28px}
body.mamoste-theme .ku-outcome h2{font-size:26px;line-height:1.5}
body.mamoste-theme .ku-card-choices button,
body.mamoste-theme .category-list button,
body.mamoste-theme .category-chip{font-size:var(--secondary,16px)!important;line-height:1.65}
body.mamoste-theme .language-toggle,
body.mamoste-theme .ku-language{border-color:#bfd1be;font-size:16px!important}
body.mamoste-theme .language-toggle a,
body.mamoste-theme .language-toggle span,
body.mamoste-theme .ku-language a,
body.mamoste-theme .ku-language span{padding:8px 12px}
body.mamoste-theme .language-toggle [aria-current=page],
body.mamoste-theme .ku-language span{background:var(--ink);color:#fff}
body.mamoste-theme .content-intro .intro-description{max-width:65ch}
body.mamoste-theme .entry-example,
body.mamoste-theme .guide-case,
body.mamoste-theme .guide-example,
body.mamoste-theme .guide-content section,
body.mamoste-theme .ku-guide section{border-color:var(--line)}
body.mamoste-theme .entry-example{background:#fff;border-radius:16px}
body.mamoste-theme .entry-example blockquote,
body.mamoste-theme .entry-example .example-kicker{color:var(--ink)}
body.mamoste-theme .entry-example .example-question{color:var(--muted)}
body.mamoste-theme .entry-example button{background:#edf4e9;color:var(--ink);border-color:#bed4bf}
body.mamoste-theme .entry-model p{color:var(--text)}
body.mamoste-theme .guide-toc{border-color:var(--line)}
body.mamoste-theme .guide-toc a{color:var(--ink);font-size:16px;line-height:1.6;border-color:#c9d9c7}
body.mamoste-theme .guide-toc a:hover{background:#eaf2e6}
body.mamoste-theme .guide-content p,
body.mamoste-theme .guide-content li{max-width:80ch}
body.mamoste-theme .guide-content h2{font-size:28px}
body.mamoste-theme .guide-case button,
body.mamoste-theme .guide-case .case-feedback{font-size:var(--secondary,16px)!important;line-height:1.6}
body.mamoste-theme .case-feedback{background:#edf5e9;color:var(--ink);border-color:#c5d9c2}
body.mamoste-theme th,
body.mamoste-theme td{border-color:var(--line)}
body.mamoste-theme th{background:#edf4e9;color:var(--ink)}
body.mamoste-theme .extended-table,
body.mamoste-theme .ku-table-wrap,
body.mamoste-theme .studio-table-scroll,
body.mamoste-theme .observation{overflow-x:auto}
body.mamoste-theme .studio-formula,
body.mamoste-theme .ku-formula,
body.mamoste-theme #extended-formula{color:var(--green)!important;font-size:26px!important;line-height:1.6;overflow-wrap:anywhere}
body.mamoste-theme .extended-controls label,
body.mamoste-theme .extended-table caption,
body.mamoste-theme #extended-history caption,
body.mamoste-theme .studio-context b,
body.mamoste-theme .studio-context p,
body.mamoste-theme .studio-bridge p,
body.mamoste-theme .studio-note{color:var(--muted)}
body.mamoste-theme .studio-controls output,
body.mamoste-theme .extended-controls output{color:var(--green)}
body.mamoste-theme .studio-translation section+section,
body.mamoste-theme .studio-context,
body.mamoste-theme .studio-bridge{border-color:var(--line)}
body.mamoste-theme .studio-bridge button{background:#eaf3e6;color:var(--ink)}
body.mamoste-theme .studio-table tr.selected,
body.mamoste-theme .studio-table td.selected{background:#e0eedc;color:var(--ink)}
body.mamoste-theme .studio-table tr.selected button,
body.mamoste-theme .studio-table td.selected button{background:var(--green);color:#fff}
body.mamoste-theme .focus-workspace{background:var(--bg);color:var(--ink)}
body.mamoste-theme .focus-toolbar,
body.mamoste-theme .focus-tools{background:#fff;border-color:var(--line)}
body.mamoste-theme .focus-identity>span{color:var(--muted)}
body.mamoste-theme .focus-open:hover{background:#ecf4e7}
body.mamoste-theme .discovery-intro h1,
body.mamoste-theme .discovery-result-head p:first-child,
body.mamoste-theme .discovery-copy h2{color:var(--ink)}
body.mamoste-theme .discovery-intro h1 em{color:var(--green)}
body.mamoste-theme .discovery-orbit span,
body.mamoste-theme .discovery-orbit b{background:#eff5ea;color:var(--green)}
body.mamoste-theme .discovery-copy small,
body.mamoste-theme .discovery-grades,
body.mamoste-theme .discovery-result-head,
body.mamoste-theme .discovery-return span{color:var(--muted)}
body.mamoste-theme .discovery-filters input,
body.mamoste-theme .discovery-filters select,
body.mamoste-theme .discovery-launch select{background:#fff;color:var(--ink)}
body.mamoste-theme .world-home-actions>a:first-child{border-radius:8px}
body.mamoste-theme .world-home-path a,
body.mamoste-theme .world-home-path button{border-color:var(--line)}
body.mamoste-theme .world-home-path small{color:var(--muted)}
body.mamoste-theme .world-rail{padding:22px}
body.mamoste-theme .world-rail>p{color:var(--muted)}
body.mamoste-theme .world-home-map,
body.mamoste-theme .world-map{background:#edf4e8;border-color:#e2ecdc}
body.mamoste-theme .world-map::after{background:radial-gradient(ellipse at 50% 50%,#edf4e800,#e5efdfaa)}
body.mamoste-theme .studio-visual{background:#f3f7ef}
body.mamoste-theme .world-map-caption,
body.mamoste-theme .world-compass,
body.mamoste-theme .matlas-signature{color:var(--muted)}
body.mamoste-theme .case-choices button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}
body.mamoste-theme button.world-region,
body.mamoste-theme button.world-pin{background:transparent;border:0;box-shadow:none;min-height:0;color:var(--map-ink)}
body.mamoste-theme button.world-region:hover,
body.mamoste-theme button.world-pin:hover{background:transparent;border-color:transparent}
body.mamoste-theme .world-search,
body.mamoste-theme .world-switch,
body.mamoste-theme .world-chart,
body.mamoste-theme .world-filter,
body.mamoste-theme .world-rail,
body.mamoste-theme .studio-mission{box-shadow:none}
body.mamoste-theme .ku-featured a{background:#eef5e9;color:var(--ink);border-color:#aac7a9}
body.mamoste-theme .ku-page,
body.mamoste-theme .ku-page input:not([type=range]),
body.mamoste-theme .ku-page select,
body.mamoste-theme .ku-page textarea{color:var(--ink)}
body.mamoste-theme .ku-page .ku-actions button:first-child{background:var(--ink);color:#fff;border-color:var(--ink)}
body.mamoste-theme .ku-index small,
body.mamoste-theme .ku-index-mark,
body.mamoste-theme .ku-eyebrow{color:var(--muted)}
body.mamoste-theme .ku-index>a{border-color:var(--line);border-radius:10px}
body.mamoste-theme .ku-back{font-size:16px}
body.mamoste-theme .ku-header{border-color:var(--line)}
body.mamoste-theme .ku-header nav>a{display:inline;font-size:16px!important}
body.mamoste-theme .ku-intro-note a{font-size:16px}
body.mamoste-theme .ku-tabs{overflow:visible}
body.mamoste-theme .ku-tabs button{flex:1 1 150px}
body.mamoste-theme .ku-sidebar .ku-list-title h2{font-size:20px;line-height:1.4}
body.mamoste-theme .ku-grades span{color:var(--muted)}
body.mamoste-theme .ku-reps span,
body.mamoste-theme .ku-code,
body.mamoste-theme .ku-reduced,
body.mamoste-theme .ku-observations,
body.mamoste-theme .ku-observations li{font-size:var(--secondary,16px)!important;line-height:1.65}
body.mamoste-theme .code-tag,
body.mamoste-theme .outcome-links a,
body.mamoste-theme .step>span,
body.mamoste-theme .representation-keys span b,
body.mamoste-theme .prompt>.label,
body.mamoste-theme .ku-official a,
body.mamoste-theme .ku-save>span{font-size:var(--secondary,16px)!important;line-height:1.6}
body.mamoste-theme .outcome-links a,
body.mamoste-theme .ku-official a{color:var(--green)}
body.mamoste-theme .ku-footer{color:var(--muted);border-color:var(--line)}
body.mamoste-theme footer{border-color:var(--line);color:var(--muted)}
body.mamoste-theme .mamoste-identity .mamoste-wordmark{color:var(--ink)}
body.mamoste-theme .mamoste-identity .mamoste-wordmark small{font-size:14px!important;color:var(--text);line-height:1.4}
body.mamoste-theme .mamoste-motto{width:min(1220px,calc(100% - 64px));margin:24px auto 0;padding:14px 20px;border-left:3px solid #eab65e;background:#f2f6ec;border-radius:0 10px 10px 0;box-sizing:border-box}
body.mamoste-theme .mamoste-motto p{margin:0;color:var(--ink);font:500 26px/1.4 Georgia,"Times New Roman",serif!important;letter-spacing:0}
body.mamoste-theme .mamoste-motto span{display:block;margin-top:5px;font-size:16px;line-height:1.6;color:var(--muted)}
.mamoste-atlas .mamoste-motto{width:calc(100% - 60px);max-width:1540px}
.mamoste-reference main{max-width:1100px;overflow-x:auto}
.mamoste-reference section,
.mamoste-reference .metrics span,
.mamoste-reference .intro,
.mamoste-reference .toolbar{border-color:var(--line)}
.mamoste-reference section{background:#fff;border-radius:12px}
.mamoste-reference .metrics span{background:#eaf3e5;color:var(--ink)}
.mamoste-reference .toolbar{background:#f1f6ec;border-radius:12px}
.mamoste-reference .back{font-size:16px;color:var(--green)}
@media(max-width:1100px){
 body.mamoste-theme .workspace{grid-template-columns:340px minmax(0,1fr)}
 body.mamoste-theme .ku-workspace{grid-template-columns:300px minmax(0,1fr)}
 body.mamoste-theme .studio-controls{flex-wrap:wrap;gap:18px}
}
@media(max-width:900px){
 body.mamoste-theme .workspace,
body.mamoste-theme .ku-workspace{grid-template-columns:minmax(0,1fr)}
 body.mamoste-theme .outcomes,
body.mamoste-theme .ku-sidebar{position:static;max-height:440px;overflow:auto}
 body.mamoste-theme .content-intro{grid-template-columns:minmax(0,1fr)}
 body.mamoste-theme .world-layout{grid-template-columns:minmax(0,1fr)}
 body.mamoste-theme .world-rail{position:static;max-height:none}
}
@media(max-width:760px){
 body.mamoste-theme h1{font-size:34px}body.mamoste-theme h2{font-size:27px}body.mamoste-theme h3{font-size:22px}
 body.mamoste-theme .matlas-welcome h1,
body.mamoste-theme .world-home h1,
body.mamoste-theme .content-intro h1,
body.mamoste-theme .ku-intro h1{font-size:36px}
 body.mamoste-theme .panel,
body.mamoste-theme .ku-outcome,
body.mamoste-theme #ku-content{padding:20px}
 body.mamoste-theme .ku-outcome h2{font-size:24px}
 body.mamoste-theme .tabs,
body.mamoste-theme .ku-tabs{display:flex;flex-wrap:wrap}
 body.mamoste-theme .tabs button,
body.mamoste-theme .ku-tabs button{flex:1 1 140px;min-height:48px}
 body.mamoste-theme header nav{row-gap:12px;flex-wrap:wrap}
 body.mamoste-theme .ku-header nav{width:100%;justify-content:flex-start;gap:12px 20px}
 body.mamoste-theme .ku-header nav>a{display:inline}
 body.mamoste-theme .mamoste-motto{width:calc(100% - 40px);margin-top:20px;padding:13px 16px}
 body.mamoste-theme .mamoste-motto p{font-size:23px!important}
 body.mamoste-theme .source-note,
body.mamoste-theme .ku-official{overflow-wrap:anywhere}
}
@media(max-width:520px){
 body.mamoste-theme .grades,
body.mamoste-theme .ku-grades{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
 body.mamoste-theme .ku-filters,
body.mamoste-theme .find-row{display:flex;flex-direction:column;align-items:stretch}
 body.mamoste-theme .ku-filters>label,
body.mamoste-theme .find-row>label{width:100%}
 body.mamoste-theme .top-actions{width:100%;justify-content:flex-end}
 body.mamoste-theme .world-home-actions{display:flex;flex-wrap:wrap}
 body.mamoste-theme .world-home-actions a{white-space:normal}
 body.mamoste-theme .ku-language,
body.mamoste-theme .language-toggle{white-space:normal}
}
@media print{
 body.mamoste-theme{background:#fff;color:#172c24}
 body.mamoste-theme .mamoste-motto{display:none}
 body.mamoste-theme .outcomes,
body.mamoste-theme .ku-sidebar{max-height:none;overflow:visible}
 body.mamoste-theme .workspace{display:block}
}
@media(prefers-reduced-motion:reduce){body.mamoste-theme *{scroll-behavior:auto!important;transition:none!important}}
