.ws-page { background: #f6f2e9; color: #253f36; }
.ws-page .site-header { max-width: none; margin: 0; padding: 16px 40px; border-bottom: 1px solid #d9dacd; background: #eee8d9; }
.ws-page .site-header nav { gap: 24px; flex-wrap: wrap; }
.ws-shell { display: block; min-height: 100vh; }
.ws-nav { padding: 32px 24px; background: #eee8d9; border-right: 1px solid #d9dacd; display: flex; flex-direction: column; }
.ws-nav .brand { font-size: 32px; }.ws-nav-caption { font-size: 11px; font-weight: 700; letter-spacing: .12em; margin: 24px 0; }
.ws-nav nav { display: grid; gap: 8px; }.ws-nav nav a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; text-decoration: none; font-size: 15px; }
.ws-nav nav a[aria-current=page] { background: #345449; color: #fffaf1; }.ws-nav nav a:hover { background: #dbe3d3; color: #253f36; }.ws-nav-bottom { margin-top: auto; padding-top: 64px; }.ws-nav-bottom p { font-family: Georgia,serif; font-size: 28px; line-height:1.4; margin-top:16px; }
.ws-content { min-width: 0; }.ws-top { min-height: 80px; display: flex; align-items: center; justify-content: space-between; padding: 16px 40px; border-bottom: 1px solid #d9dacd; gap: 16px; font-size: 14px; }.ws-top details { position: relative; }.ws-top summary { cursor: pointer; }.ws-top form { position: absolute; right: 0; top: 32px; width: min(330px,80vw); z-index: 5; background: #fffaf1; padding: 24px; border:1px solid #b4c0ad; box-shadow:0 12px 40px #253f361a; border-radius:16px; }.ws-top form button { margin-top:16px; }
.ws-preview { background:#e4eadb; padding: 8px 40px; font-size:12px; }#ws-main { padding: 24px 40px 64px; max-width: 1440px; margin:0 auto; }#ws-main:focus { outline:none; }
.ws-page #ws-status:empty,.ws-page #ws-error:empty { display:none; }#ws-error { padding:16px;background:#fae2d7;color:#7d2c17;border-radius:12px; }
.ws-page h1 { font-size: clamp(34px,4vw,56px); font-weight:400; line-height:1.12; letter-spacing:-.04em; margin:12px 0 24px; }.ws-page h2 { font-size:28px; line-height:1.2; margin:0 0 16px; }.ws-page h3 { font-size:20px; line-height:1.3; margin:0 0 12px; }.ws-page h4 { font-size:16px; margin:16px 0 8px; }.ws-page p { font-size:16px; line-height:1.65; }.ws-page .ws-small { font-size:14px; }.ws-page .ws-label { font-size:11px; letter-spacing:.1em; font-weight:750; color:#87502f; }.ws-page .ws-muted { color:#536459; }.ws-page .ws-section { padding:0; margin:32px 0; }.ws-page label { display:block; font-size:14px; font-weight:650; margin:18px 0 8px; }.ws-page input:not([type=checkbox]),.ws-page textarea,.ws-page select { display:block;width:100%;max-width:100%;box-sizing:border-box;border:1px solid #9eac99;background:#fffdf7;color:#253f36;border-radius:8px;padding:12px;font:inherit; }.ws-page textarea { min-height:100px; resize:vertical; }.ws-page select { min-height:48px; }.ws-page input[type=checkbox] { width:18px;height:18px;vertical-align:middle;accent-color:#345449;margin-right:10px; }.ws-page .button { font-size:14px; padding:13px 20px; }.ws-page .ws-secondary { background:#fffaf1;color:#253f36;border:1px solid #b4c0ad; }.ws-page a.text-link,.ws-page button.text-link { background:transparent;color:#253f36;border:0;padding:10px 4px;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center;margin:0; }.ws-page button { cursor:pointer; }.ws-page button:disabled { cursor:wait; opacity:.6; }.ws-page a:focus-visible,.ws-page button:focus-visible,.ws-page input:focus-visible,.ws-page textarea:focus-visible,.ws-page select:focus-visible,.ws-page summary:focus-visible { outline:3px solid #9b512c;outline-offset:4px; }
.ws-hero { display:grid;grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);align-items:center;gap:24px;padding:32px;background:#eee8d9;border-radius:24px; }.ws-hero img {width:100%;max-height:240px;}.ws-hero p {max-width:540px;}.ws-actions {display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:20px 0 0;}.ws-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0;}.ws-stat,.ws-card,.ws-panel {background:#fffaf1;border:1px solid #d9dacd;border-radius:16px;padding:24px;min-width:0;}.ws-stat strong {font-family:Georgia,serif;font-size:32px;font-weight:400;display:block;}.ws-stat p {margin:4px 0 0;font-size:14px;}.ws-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}.ws-card {position:relative;display:flex;flex-direction:column;transition:transform .18s ease,box-shadow .18s ease;}.ws-card:hover {transform:translateY(-3px);box-shadow:0 10px 24px #253f3610;}.ws-card .ws-actions {margin-top:auto;padding-top:20px;}.ws-card p {margin:8px 0 16px;}.ws-pill {display:inline-block;align-self:start;border-radius:30px;background:#e4eadb;padding:5px 10px;font-size:12px;font-weight:650;margin-bottom:16px;}.ws-pill.draft {background:#f0dcc8;}.ws-progress {width:100%;height:7px;background:#e4e5d8;border-radius:20px;overflow:hidden;margin:12px 0;}.ws-progress span {display:block;height:100%;background:#345449;border-radius:20px;transition:width .35s ease;}.ws-empty {text-align:center;background:#eee8d9;border-radius:20px;padding:40px;}.ws-empty img {max-width:200px;display:block;margin:0 auto;}.ws-split {display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start;}.ws-aside {position:sticky;top:24px;}.ws-editor {display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;}.ws-editor-menu {position:sticky;top:24px;}.ws-editor-menu a {display:block;padding:10px 0;font-size:14px;}.ws-editor fieldset {border:1px solid #b4c0ad;padding:16px;border-radius:12px;margin-top:24px;min-width:0;}.ws-fields {display:grid;grid-template-columns:1fr 1fr;gap:16px;}.ws-check {padding:12px 0;border-bottom:1px solid #d9dacd;}.ws-check span {display:block;font-weight:400;font-size:12px;margin:4px 0 0 30px;}.ws-editor details {margin:16px 0;background:#fffaf1;border:1px solid #d9dacd;border-radius:12px;padding:20px;}.ws-editor details summary {cursor:pointer;font-weight:650;}.ws-reading {white-space:pre-wrap;}.ws-example {border-left:3px solid #ad6947;background:#f2e7d5;padding:20px;border-radius:0 12px 12px 0;}.ws-module {display:grid;grid-template-columns:40px minmax(0,1fr);gap:16px;margin-top:16px;}.ws-module-number {width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e4eadb;font-weight:700;font-size:14px;}.ws-module[aria-disabled=true] {background:#eee8d9;}.ws-detail-heading {display:flex;justify-content:space-between;gap:20px;align-items:start;}.ws-page .ws-table-wrap {overflow-x:auto;}.ws-page table {width:100%;border-collapse:collapse;font-size:14px;}.ws-page th,.ws-page td {text-align:left;padding:16px 12px;border-bottom:1px solid #d9dacd;}.ws-page th {font-size:12px;background:#e4eadb;}.ws-footer {padding:24px 40px;border-top:1px solid #d9dacd;font-size:12px;display:flex;gap:16px;justify-content:space-between;}.ws-page [hidden] {display:none!important;}.ws-page :is(p,h1,h2,h3,td,label) {overflow-wrap:anywhere;}.ws-arrive {animation:ws-arrive .24s ease-out both;}@keyframes ws-arrive {from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.ws-page .site-header{padding:16px 24px}#ws-main{padding:24px}.ws-top{padding:16px 24px}.ws-preview{padding:8px 24px}.ws-split{grid-template-columns:1fr}.ws-aside{position:static}.ws-editor{grid-template-columns:150px minmax(0,1fr)}}
@media(max-width:760px){.ws-page .site-header{padding:16px;flex-wrap:wrap;gap:12px}.ws-top{padding:16px;min-height:64px}.ws-preview{padding:8px 16px}#ws-main{padding:24px 16px}.ws-hero{padding:24px;grid-template-columns:1fr}.ws-hero img{max-height:150px;grid-row:1}.ws-stats{gap:8px}.ws-stat{padding:16px 10px}.ws-stat strong{font-size:26px}.ws-stat p{font-size:12px}.ws-grid,.ws-fields,.ws-editor{grid-template-columns:1fr}.ws-editor-menu{position:static;display:flex;gap:16px;flex-wrap:wrap}.ws-card,.ws-panel{padding:20px}.ws-detail-heading{display:block}.ws-footer{padding:24px 16px;display:block}.ws-footer span{display:block;margin-top:8px}.ws-actions .button{flex-grow:1;text-align:center}}
@media(prefers-reduced-motion:reduce){.ws-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.ws-card:hover{transform:none}}
.ws-auth {max-width:560px;margin:0 auto;padding:40px 24px;}.ws-auth>img {width:220px;max-width:100%;display:block;margin:12px auto;}.ws-auth .ws-panel button {margin-top:24px;width:100%;}.ws-auth #signin-error {color:#7d2c17;}.ws-auth .brand {font-size:32px;}.ws-auth h1{font-size:40px;}
.ws-stage-art {float:right;width:100px;max-width:28%;margin:16px 0 16px 16px;}.ws-page details[open]>.ws-stage-art {animation:ws-arrive .3s ease-out both;}.ws-page details {clear:both;}.ws-page details[open]>:last-child {margin-bottom:0;}
.ws-detail-heading>div:first-child {flex:1;min-width:0;}.ws-detail-heading>.ws-actions {flex-shrink:0;max-width:320px;}.ws-page form>.button {margin-top:20px;}.ws-page form>.ws-actions .button {margin-top:0;}
@media(max-width:760px){.ws-detail-heading>.ws-actions{max-width:none}}
.ws-step {display:block;width:100%;text-align:left;border:1px solid transparent;border-radius:12px;background:transparent;color:#253f36;padding:16px;font:inherit;cursor:pointer;margin-bottom:8px;overflow-wrap:anywhere;}.ws-step[aria-current=step]{background:#e4eadb;border-color:#a0b19a;font-weight:650}.ws-step:hover{background:#eee8d9}.ws-step:focus-visible{outline:3px solid #9d542e;outline-offset:3px}.ws-editor-menu{align-self:start}.ws-editor form{min-width:0}.ws-editor textarea::placeholder,.ws-editor input::placeholder{color:#56665c;opacity:1}
@media(max-width:760px){.ws-editor-menu{gap:8px}.ws-step{width:auto;flex:1 1 150px;margin:0;padding:12px;font-size:14px}}
.ws-editor .ws-editor-menu{display:flex;flex-direction:column;gap:8px}.ws-editor .ws-step{flex:none;white-space:normal}
@media(max-width:760px){.ws-editor .ws-editor-menu{flex-direction:row;flex-wrap:wrap}.ws-editor .ws-step{flex:1 1 150px}}

/* Hosted account pages: a single brand surface around Clerk's secure controls. */
.hosted-auth-page {background:#f6f4ee;}
.hosted-auth-page .ws-auth {max-width:1184px;min-height:100svh;padding:32px 48px 64px;}
.auth-header {display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:32px;border-bottom:1px solid #d9dfd7;}
.auth-header>a:last-child {font-size:14px;font-weight:600;text-decoration:none;padding:10px 0;}
.auth-header>a:last-child:hover {text-decoration:underline;}
.auth-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:80px;align-items:center;padding-top:64px;}
.auth-introduction {min-width:0;padding:0;border:0;}
.hosted-auth-page .auth-introduction .ws-label {font-size:12px;letter-spacing:.12em;margin:0 0 20px;}
.hosted-auth-page #signin-heading {font-size:clamp(36px,4.3vw,54px);line-height:1.12;letter-spacing:-.035em;white-space:pre-line;margin:0 0 24px;max-width:520px;overflow-wrap:normal;}
.hosted-auth-page #signin-intro {font-size:18px;line-height:1.65;margin:0;max-width:440px;color:#455b50;}
.hosted-auth-page .auth-illustration {display:block;width:240px;max-width:70%;height:156px;object-fit:contain;margin:32px 0 20px;}
.hosted-auth-page .auth-note {font-size:14px;color:#455b50;margin:0;}
.auth-panel {min-width:0;background:#fff;border:1px solid #dce2da;border-radius:20px;padding:32px;box-shadow:0 12px 40px #253f3608;}
.hosted-auth-page .auth-panel>h2 {font-family:var(--body);font-size:26px;font-weight:650;letter-spacing:-.025em;margin:0 0 8px;}
.hosted-auth-page .auth-panel-intro {font-size:16px;color:#536459;margin:0 0 24px;}
.hosted-auth-page #signin-error:empty {display:none;}
.hosted-auth-page #signin-error:not(:empty) {padding:12px;background:#fff1eb;border-radius:8px;font-size:14px;}
.hosted-auth-page .auth-account-link {display:block;text-align:center;font-size:14px;font-weight:600;line-height:1.6;padding:20px 0 0;border-top:1px solid #e4e8e1;margin-top:20px;text-underline-offset:4px;}
.hosted-auth-page #clerk-signin,.hosted-auth-page .auth-provider-root,.hosted-auth-page .auth-provider-box {width:100%;max-width:100%;min-width:0;}
.hosted-auth-page .auth-provider-box {box-shadow:none;border:0;border-radius:0;}
.hosted-auth-page .auth-provider-card {box-shadow:none;border:0;padding:0;background:transparent;gap:20px;}
.hosted-auth-page .auth-panel:has(.auth-provider-header)>h2,.hosted-auth-page .auth-panel:has(.auth-provider-header)>.auth-panel-intro,.hosted-auth-page .auth-provider-footer-action {display:none;}
.hosted-auth-page .auth-provider-header {text-align:left;gap:8px;}
.hosted-auth-page .auth-provider-header h1,.hosted-auth-page .auth-provider-header h2 {margin:0;font-size:26px;font-weight:650;}
.hosted-auth-page #clerk-signin h1,.hosted-auth-page #clerk-signin h2 {font-family:var(--body);font-size:22px;line-height:1.3;letter-spacing:-.02em;}
.hosted-auth-page #clerk-signin label {font-size:14px;margin:0;font-weight:600;}
.hosted-auth-page #clerk-signin input:not([type=checkbox]) {font-size:16px;min-height:48px;padding:12px;border:1px solid #96a69a;background:#fff;border-radius:8px;}
.hosted-auth-page #clerk-signin .auth-provider-submit {min-height:48px;background:#345449;color:#fff;box-shadow:none;font-size:16px;font-weight:600;border:0;}
.hosted-auth-page #clerk-signin p {font-size:14px;line-height:1.5;}
@media(max-width:900px){.hosted-auth-page .ws-auth{padding:24px 32px 48px}.auth-layout{gap:40px;grid-template-columns:minmax(0,1fr) minmax(0,400px);padding-top:48px}.auth-panel{padding:28px}.hosted-auth-page #signin-heading{font-size:40px}}
@media(max-width:700px){.hosted-auth-page .ws-auth{max-width:520px;padding:20px 20px 40px}.auth-header{padding-bottom:20px}.auth-header .brand{font-size:28px}.auth-layout{grid-template-columns:minmax(0,1fr);gap:28px;padding-top:32px}.hosted-auth-page #signin-heading{font-size:34px;margin-bottom:16px}.hosted-auth-page #signin-intro{font-size:16px}.hosted-auth-page .auth-introduction .ws-label{margin-bottom:12px}.hosted-auth-page .auth-illustration,.hosted-auth-page .auth-note{display:none}.auth-panel{padding:24px;border-radius:16px}.hosted-auth-page .auth-panel>h2{font-size:24px}}
@media(max-width:360px){.hosted-auth-page .ws-auth{padding-inline:16px}.auth-panel{padding:20px 16px}.hosted-auth-page #signin-heading{font-size:30px}}

#design-optional{margin:1.25rem 0;padding:0 4px}#design-optional>summary{cursor:pointer;font-weight:600;padding:.6rem 0}.ws-actions .text-link{min-height:44px;display:inline-flex;align-items:center}
.chip-group{border:0;padding:0;margin:0 0 20px;min-width:0}.chip-group legend{font-size:14px;font-weight:650;margin:0 0 10px}.chip-group .chip,.chip{display:inline-flex;align-items:center;justify-content:center;margin:0 8px 8px 0;padding:8px 14px;min-height:40px;max-width:100%;border:1px solid #b4c0ad;border-radius:100px;background:#fffaf1;color:#253f36;font:inherit;font-size:14px;cursor:pointer;white-space:normal;overflow-wrap:anywhere}.chip-group .chip[aria-pressed='true'],.chip[aria-pressed='true']{background:#345449;color:#fffaf1;border-color:#345449}#create-custom-wrap{margin:0 0 16px}.create-or{text-align:center;margin:8px 0}.chip-list{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px}.chip-list li{border:1px solid #b4c0ad;border-radius:100px;padding:8px 14px;background:#e4eadb;font-size:14px}#debrief-confirm{margin-top:24px;padding:20px;border:1px solid #d9dacd;border-radius:16px;background:#fffaf1}#debrief-confirm .app-actions{margin-top:16px}#progress-export{margin-top:0}
.profile-flow{max-width:720px}.profile-home-prompt{margin:24px 0 0}.profile-invite-list{list-style:none;padding:0;display:grid;gap:8px}
@media(max-width:760px){.chip-group .chip{margin:0 8px 8px 0}}
.design-drop{border:2px dashed #70877b;border-radius:12px;padding:1.25rem;margin:1rem 0;background:#f8f7f1}.design-brief{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem}.design-brief>h3{grid-column:1/-1}.design-fact{padding:1rem;border:1px solid #b2beb6;border-radius:10px;overflow-wrap:anywhere}.design-fact p{margin:.4rem 0}.design-fact blockquote{margin:.75rem 0;font-size:.9rem}.design-fact summary{cursor:pointer}.design-drop input{max-width:100%}#design-notes{min-height:220px}#ws-view .ws-panel p{white-space:pre-line}

.course-illustration{margin:1.25rem 0;max-width:100%}.course-illustration img{display:block;width:100%;max-width:760px;height:auto;border-radius:12px}.course-illustration figcaption{margin-top:.65rem;font-size:.95rem;line-height:1.5;overflow-wrap:anywhere}
