/* Shared Bergsson material system. Reading content keeps its own structure. */
@media(max-width:900px){body :is(.masthead,.reader-masthead) .site-links{overflow-x:auto;max-width:100%;flex-wrap:nowrap;scrollbar-width:thin}body :is(.masthead,.reader-masthead) .site-links a{flex:0 0 auto!important;min-width:54px;white-space:nowrap}}
@media(min-width:1001px){body:has(.reader-masthead) .sidebar{top:116px;left:18px;width:245px;max-height:calc(100vh - 134px);height:auto;border:1px solid #fff;border-radius:24px;background:#edf1e6;padding:16px 12px}body:has(.reader-masthead) .sidebar-link{border-radius:12px;border-left:0;padding:9px 12px;transition:background 160ms ease}body:has(.reader-masthead) .sidebar-link.active{background:#dde8d2}body:has(.reader-masthead) .layout{padding-top:28px}}
:root{--forest:#244d3a;--ink:#263d32;--muted:#607064;--line:#dce3d7;--paper:#f5f6f0;--wash:#edf1e7;--ease-out:cubic-bezier(.23,1,.32,1)}
body:not(.launch-home){background:radial-gradient(ellipse at 65% 0,#fff8,transparent 800px),var(--paper);color:var(--ink)}
body:not(.launch-home) :is(button,a,input,summary,select){-webkit-tap-highlight-color:transparent;touch-action:manipulation}
:focus-visible{outline:2px solid #286443;outline-offset:4px}
body:not(.launch-home) :is(.masthead,.reader-masthead){margin:20px auto 0;width:calc(100% - 48px);max-width:1360px;padding:13px 22px;border:1px solid #fff;border-radius:28px;background:#ffffffc9;color:var(--ink);box-shadow:0 7px 30px #263d3207;display:flex;align-items:center;justify-content:space-between;gap:25px;position:relative;z-index:20;backdrop-filter:blur(16px)}
.masthead .wordmark,.reader-masthead .reader-brand{display:flex;align-items:center;gap:10px;font:600 18px/1.2 var(--sans);letter-spacing:-.5px;white-space:nowrap;color:var(--ink)}
.masthead .wordmark>span{display:inline;font-weight:400;color:var(--muted)}.wordmark .brand-period{display:none}.portal-brand-logo{width:17px;height:31px;object-fit:contain}
body :is(.masthead,.reader-masthead) .site-links{display:flex;align-items:center;gap:5px;margin-left:auto;font:12px var(--sans)}
body :is(.masthead,.reader-masthead) .site-links a{padding:13px 17px;min-height:44px;border:0;border-radius:22px;color:var(--muted);transition:background 160ms ease,color 160ms ease}
body :is(.masthead,.reader-masthead) .site-links a[aria-current]{background:#e6ecdf;color:#244d3a;font-weight:600}
body :is(.masthead,.reader-masthead) .site-menu{display:none}
body:not(.launch-home) :is(.library-footer,.reader-footer){border-top:1px solid var(--line);color:var(--muted);font-size:12px;padding-top:25px;padding-bottom:35px;margin-top:28px}
body:not(.launch-home) h1{letter-spacing:-.05em;line-height:1.1}body:not(.launch-home) h2{letter-spacing:-.025em}
body:not(.launch-home) :is(.solid-button,.plain-button,.action-primary,.action-secondary,.open-guide,#reset-catalogue,#mark-read,#copy-guide-link,[data-save]){border-radius:24px;min-height:44px;padding:12px 18px;transition:transform 160ms var(--ease-out),background 160ms ease}
body:not(.launch-home) :is(button,input,select,textarea){font-family:var(--sans)}
body:not(.launch-home) :is(input:not([type=radio]):not([type=checkbox]),select,textarea){border-radius:14px}
body:not(.launch-home) :is(button,.solid-button,.action-primary,.action-secondary):active{transform:scale(.98)}
.catalogue-main,.artefact-main{padding-top:48px}.catalogue-heading{border-bottom:0;margin-bottom:24px}.catalogue-heading h1{font-size:clamp(36px,4.5vw,54px)}
.catalogue-sidebar{background:#edf1e680;border:1px solid #fff;border-radius:24px;padding:20px 14px}.catalogue-sidebar h2{padding:0 8px}.category-options button{border-radius:14px}.category-options button[aria-pressed=true]{background:#dde8d2}.sidebar-resources{margin-inline:8px}
.catalogue-search-row{padding:6px;background:white;border:1px solid var(--line);border-radius:29px;box-shadow:0 5px 20px #263d3205;gap:4px}.catalogue-search-row input{border:0;background:transparent;padding:10px 16px;border-radius:22px!important}.catalogue-search-row button{border-radius:24px;padding:10px 23px}.catalogue-toolbar{border:0}.catalogue-views{background:#e8ede2;border-radius:23px;padding:4px;gap:2px}.catalogue-views button{border-radius:20px;padding:8px 14px}.catalogue-views button[aria-pressed=true]{background:white;color:var(--forest);box-shadow:0 2px 7px #263d3208}.catalogue-sort select{border-radius:16px;background:#fff7}
#catalogue-list,#reference-list{display:grid;gap:12px;margin-top:18px}.catalogue-entry,.catalogue-entry.reference{padding:24px!important;background:#ffffffbf;border:1px solid #fff;border-radius:24px;box-shadow:0 4px 15px #263d3203;gap:24px}.catalogue-entry h2{font-size:23px}.entry-context{font-weight:500;color:#627957}.entry-controls .open-guide{background:#edf2e7;padding:10px 13px;font-size:12px;justify-content:center}.entry-controls button{border-color:#d9e2d2;padding:9px 15px}.entry-answer{border-left:2px solid #afc29b;padding-left:10px}.entry-answer>span{display:block;margin-bottom:3px}.reference-heading{margin:16px 0}.audio-availability{background:#f1f5eb;padding:6px 9px;border-radius:12px}.catalogue-results{min-width:0}
.artefact-heading{border:0;margin-bottom:25px}.artefact-heading p{max-width:760px}.artefact-contents{padding:20px 14px;background:#edf1e680;border:1px solid white;border-radius:24px}.artefact-contents summary{padding:0 8px}.artefact-contents nav a{border:0;border-radius:12px;padding:10px 12px}.artefact-contents nav a[aria-current=location]{background:#dde8d2}.artefact-content{background:#fff9;border:1px solid white;border-radius:28px;padding:28px}.artefact-audio{background:#eaf0e3;border:0;border-radius:20px}.evidence-summary{border:0;gap:14px;padding:0;margin:22px 0}.evidence-summary>div{padding:18px;background:#f0f4eb;border-radius:18px}.evidence-summary>div+div{background:#f4f1e7}.artefact-section{padding-top:35px}.artefact-section>h2{font-size:23px}.artefact-section p,.artefact-section li{font-size:15px;line-height:1.85}.artefact-location{overflow-wrap:anywhere}.related-artefacts li{background:#f1f4ed;border:0;border-radius:16px;padding:15px;margin:8px 0}.guide-completion{flex-wrap:wrap}.artefact-audio audio{max-width:100%}
.course-main{padding-top:40px}.course-outline{background:#edf1e6;border:1px solid white;border-radius:24px;padding:22px!important;align-self:start}.course-outline .outline-heading{font-size:17px}.course-outline ol a,.course-outline .field-nav,.course-outline .quiz-nav{border-radius:12px}.course-workspace{border:1px solid white;border-radius:28px;background:#fff9;padding:34px!important;min-width:0}.course-workspace .course-lead{font-size:16px;line-height:1.8}.course-facts{gap:25px!important}.course-facts>span{background:#eef3e6;border-radius:16px;padding:14px 18px}.learning-route{border:0!important;display:grid;gap:10px}.learning-route>a{border:1px solid #e7ecdf!important;padding:18px!important;background:#f5f7f0;border-radius:18px}.learning-route a:hover{background:#eaf0e1}.course-progress progress{height:6px;accent-color:#416b48}.full-reference{border:1px solid var(--line);border-radius:18px;overflow:hidden;margin-bottom:14px}.full-reference summary{background:#f0f4e9;padding:18px!important}.full-reference .reference-content{padding:22px}.listen-bar{background:#eaf0e3;border:0;border-radius:18px;padding:15px 18px;margin-block:20px}.listen-bar summary{min-height:44px;align-items:center}.listen-controls audio{min-width:0;max-width:100%}.answer-option{border-radius:16px!important}.question-nav{gap:12px}.quiz-map button{border-radius:10px}.lesson-note{border-radius:16px;background:#edf2e5;border-left:0;padding:20px}.course-update-note{display:none}
.tools-page,.community-main{padding-top:25px}.tools-page h1{margin-top:30px}.community-intro{padding:20px 0 30px}.community-board{border-top:0;background:#fff9;border:1px solid white;border-radius:28px;padding:28px}.board-tabs{background:#e8ede2;border-radius:24px;padding:4px;width:fit-content}.board-tabs>button{border-radius:20px;min-height:44px}.board-tabs>button[aria-pressed=true]{background:white;color:var(--forest);box-shadow:0 2px 6px #263d3208}.board-search{background:#f2f5ec;border-radius:20px;padding:12px}.community-post,.tool-entry,.review-item{background:#fff9;border:1px solid var(--line);border-radius:22px;padding:24px;margin:14px 0}.community-post h3,.tool-entry h3{font-size:25px}.tool-review-note{border-radius:14px}.posting-guide{border:0;background:#eaf0e3;border-radius:24px;padding:26px;margin-top:24px}.tool-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.tools-back{padding:24px;border-radius:20px;background:#eaf0e3}.board-empty{border:0;padding:30px 10px}.owner-access{padding:25px;border-radius:22px;background:#fff9;border:1px solid white}.owner-lock{color:var(--forest);border-color:var(--line);border-radius:22px}
dialog{border:1px solid white;border-radius:26px;box-shadow:0 30px 100px #18291e33;background:#f7f8f2}.close-dialog{min-width:44px;min-height:44px;border-radius:50%;background:#eaf0e3}dialog::backdrop{background:#19352766;backdrop-filter:blur(5px)}
.reader-masthead .reader-context{display:none}.content-wrap{max-width:1100px}.hero{background:transparent!important}.doc-section{border-radius:20px}.reader-end{border-radius:20px}.callout,.note,.warning{border-radius:16px}.reader-masthead~.hero{border-bottom-color:var(--line)}
@media(hover:hover) and (pointer:fine){body :is(.masthead,.reader-masthead) .site-links a:hover{background:#edf2e7;color:var(--forest)}.category-options button:hover{background:#e4ecdc}.catalogue-entry .open-guide:hover{background:#dce8cf}}
@media(max-width:1100px){body :is(.masthead,.reader-masthead){gap:15px}.masthead .wordmark>span{display:none}body :is(.masthead,.reader-masthead) .site-links a{padding:12px}.course-layout{grid-template-columns:220px minmax(0,1fr)}.course-workspace{padding:26px!important}.course-facts{flex-wrap:wrap}}
@media(max-width:800px){body:not(.launch-home) :is(.masthead,.reader-masthead){margin:12px auto 0;width:calc(100% - 28px);padding:13px 14px;flex-wrap:wrap;gap:10px;border-radius:25px}body :is(.masthead,.reader-masthead) .site-links{margin:0;flex-basis:100%;justify-content:space-between;gap:2px;order:3;white-space:normal}body :is(.masthead,.reader-masthead) .site-links a{flex:1;text-align:center;padding:12px 5px;font-size:12px}.masthead .wordmark>span{display:inline}.course-layout{display:block}.course-outline{margin-bottom:20px}.course-workspace{padding:24px!important}.catalogue-heading{padding-bottom:10px}.artefact-content{padding:22px}.catalogue-toolbar{align-items:start;flex-wrap:wrap}.catalogue-sort{margin-left:auto}.catalogue-entry,.catalogue-entry.reference{padding:20px!important}.reader-masthead .reader-brand{font-size:16px}}
@media(max-width:600px){.catalogue-main,.artefact-main{padding-top:30px;padding-inline:18px}.catalogue-sidebar{padding:16px 12px;margin-bottom:20px}.category-options{gap:6px}.catalogue-entry,.catalogue-entry.reference{grid-template-columns:1fr!important;gap:18px}.entry-controls{flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px}.catalogue-entry p{font-size:14px}.entry-controls .open-guide{margin-left:auto}.artefact-content{padding:18px;border-radius:22px}.artefact-heading{gap:10px;flex-wrap:wrap}.artefact-heading>[data-save]{margin-top:0}.artefact-heading h1{font-size:34px}.evidence-summary{grid-template-columns:1fr}.artefact-contents{margin-bottom:20px}.course-main{padding:25px 18px}.course-workspace{padding:20px!important}.course-workspace h1{font-size:39px}.course-facts{gap:10px!important}.course-facts>span{padding:12px}.full-reference .reference-content{padding:14px}.community-main,.tools-page{padding-inline:18px}.community-board{padding:18px;border-radius:22px}.posting-guide{padding:22px}.community-post,.tool-entry{padding:20px}.community-intro h1,.tools-page h1{font-size:38px}.board-search{padding:9px;gap:8px}.catalogue-views{width:100%;justify-content:space-between}.catalogue-views button{padding:8px 10px;font-size:12px}body:not(.launch-home) :is(input,select,textarea){font-size:16px}.listen-controls{flex-wrap:wrap}.listen-controls audio{flex-basis:100%;width:100%}.course-workspace .reference-content{overflow-wrap:anywhere}.board-title{gap:12px}.tools-back{padding:18px}.community-post h3{font-size:23px}}
@media(prefers-reduced-motion:reduce){body:not(.launch-home) *{transition:none!important;animation:none!important}body:not(.launch-home) :is(button,.solid-button,.action-primary,.action-secondary):active{transform:none}}
@media(prefers-reduced-transparency:reduce){body:not(.launch-home) :is(.masthead,.reader-masthead){background:#fff;backdrop-filter:none}dialog::backdrop{backdrop-filter:none}}
@media print{.masthead,.reader-masthead,.site-menu,.portal-brand-logo{display:none!important}.artefact-content,.course-workspace{border:0;padding:0!important;background:white}body:not(.launch-home){background:white}}
