/* Precision is the default. Carbon uses the same product layout. */
html[data-theme=dark]{color-scheme:dark;background:#111513}html[data-theme=light]{color-scheme:light;background:#f7f7f7}
body{font-size:16px}.micro,.eyebrow,.pill,.hero-status .micro,.hero-caption,.module-top .micro,.dashboard-bottom .micro,.build-summary .pill,.panel-heading>.micro,.audit-strip>.micro,.engine-step>.micro,.module-inspect,.gauge small,.delta small,.module-name{font-size:12px}.text-link,.button,.nav nav a,.panel-heading .text-link,.audit-strip .text-link,.module-word,.delta,.patch-summary p,.audit-strip p{font-size:14px}.panel-title{font-size:16px}.hero{padding:64px 0 44px}.hero p{font-size:18px;max-width:570px}.hero-caption{gap:24px}.module-card{padding:18px 14px 0}.module-inspect{padding:12px 0}.gauge{width:112px;height:112px}.module-name{letter-spacing:.01em}.dashboard-bottom>div{padding:24px}.score-summary{grid-template-columns:1fr}.score-summary .delta{margin-top:0}.engine p,.entry-content p{font-size:16px}.engine-step>.micro .float-right{float:none;display:block;margin-top:6px}.engine-step h3{margin-top:16px}.hero-wrap:before{height:620px}.home-rest{padding-top:72px}
.nav{gap:24px;min-height:90px}.nav nav{gap:2px}.nav nav a{padding:10px}.nav nav a.studio-link{margin-left:8px}.theme-toggle{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:8px;min-height:42px;padding:9px 12px;font:12px var(--sans)}.theme-toggle:hover{background:var(--soft)}.theme-toggle svg{width:18px;height:18px}.menu-toggle{display:none}.nav-wrap{position:relative;z-index:10}.sample-ribbon{display:flex;align-items:center;justify-content:center;gap:10px;border-bottom:1px solid var(--line);padding:9px 24px;font:12px/1.5 var(--sans);color:var(--muted)}.sample-ribbon a{text-decoration:underline;text-underline-offset:3px}.sample-ribbon span:first-child{color:var(--green)}
.product-footer{border-top:1px solid var(--line);margin-top:72px;padding:36px 0}.footer-inner{display:flex;justify-content:space-between;gap:30px;align-items:center}.footer-inner p{font-size:14px;color:var(--muted);margin-top:24px}.footer-links{display:flex;gap:24px;font-size:14px}.footer-meta{border-top:1px solid var(--line);margin-top:28px;padding-top:18px;display:flex;justify-content:space-between;gap:20px;font:12px/1.6 var(--sans);color:var(--muted)}
.score-method{padding:22px 26px;margin-top:16px;box-shadow:none}.score-method summary{font-size:16px;font-weight:500;cursor:pointer}.score-method p{margin-top:14px;color:var(--muted);max-width:850px}.stat>span:last-child{font-size:14px}.table-wrap td,.table-wrap th{font-size:14px}.table-module{font-size:14px}.table-module small,.status-label{font-size:12px}.chart-panel>p{padding:20px 25px;font-size:14px}.process-row{font-size:14px}.archive-note{font-size:12px}.back-link{display:inline-block;margin-bottom:24px;color:var(--green)}.reading-page{max-width:900px}.reading-page .entry{grid-template-columns:1fr;padding:36px}.reading-page .entry-index{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.reading-page .entry-index strong{font-size:32px}.reading-page .entry-content p{font-size:18px}.reading-page .entry-content blockquote{margin:24px 0;padding:20px 24px;border-left:3px solid var(--signal);background:var(--soft);line-height:1.7}.reading-nav{display:flex;justify-content:space-between;gap:24px;margin-top:28px}.privacy-copy{max-width:800px}.privacy-copy section{padding:26px 0;border-bottom:1px solid var(--line)}.privacy-copy h2{font-size:24px;margin-bottom:12px}.privacy-copy p+p{margin-top:12px}.privacy-copy a{text-decoration:underline}.sample-explainer{border-top:1px solid var(--line);padding-top:32px;margin-top:40px}.sample-explainer p{max-width:800px;margin:16px 0}.not-found{padding-block:100px;min-height:55vh}.not-found p{margin:20px 0 30px}
.studio-heading{margin:32px 0}.studio-heading>div:nth-child(2){display:flex;align-items:center;justify-content:space-between;gap:24px}.studio-heading h1{font-size:clamp(36px,4.3vw,58px);line-height:1.05}.studio-heading>p{color:var(--muted);margin-top:18px}.storage-badge{display:inline-flex;align-items:center;gap:10px;font:12px var(--sans);white-space:nowrap}.studio-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;border-bottom:1px solid var(--line);padding:0 0 22px}.studio-steps button{font-size:16px;padding:12px;text-align:left;border-radius:7px}.studio-steps button span{font:12px var(--sans);margin-right:12px;color:var(--muted)}.studio-steps button[aria-current=step]{background:var(--ink);color:var(--paper)}.studio-steps button[aria-current=step] span{color:inherit}.studio-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr);gap:32px;align-items:start}.draft-form{padding:32px}.draft-tools{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:28px}.form-section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.form-section-heading h2{font-size:24px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.draft-form label{display:flex;flex-direction:column;gap:9px;font-size:14px;font-weight:500;margin:0 0 20px}.draft-form input,.draft-form textarea{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:7px;width:100%;padding:13px 14px;font:16px/1.5 var(--sans)}.draft-form textarea{resize:vertical;min-height:105px}.draft-form input:focus,.draft-form textarea:focus{outline:2px solid var(--green);outline-offset:2px}.field-hint{font-size:14px;font-weight:400;color:var(--muted);line-height:1.6}.field-error{color:var(--bad);font-size:14px;font-weight:400;line-height:1.5}[aria-invalid=true]{border-color:var(--bad)!important}.module-fields{border:0;border-top:1px solid var(--line);padding:24px 0 4px;margin:4px 0 16px;min-width:0}.module-fields legend{font-size:18px;font-weight:500;padding-right:16px}.module-fields>p{margin-bottom:20px}.module-fields>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.module-fields input{font-family:var(--sans)}.draft-form>h2{font-size:30px;margin:18px 0}.draft-form>p{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.form-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.form-actions .micro{font-size:12px;max-width:190px}.studio-preview{padding:32px;border:1px solid var(--line);border-radius:var(--radius);background:var(--soft);position:sticky;top:24px}.studio-preview h2{font-size:28px;margin:20px 0 28px;overflow-wrap:anywhere;white-space:pre-wrap}.studio-preview p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;margin:10px 0 25px}.studio-preview-metrics{display:grid;grid-template-columns:1fr 1fr;gap:20px}.studio-preview-metrics strong{display:block;font:500 20px/1.5 var(--sans);margin-top:8px}.studio-score{display:flex;justify-content:space-between;align-items:center;margin:28px 0}.studio-score strong{font:500 30px var(--sans)}.studio-score small{font-size:14px;color:var(--muted);margin-left:5px}.studio-foot{border-top:1px solid var(--line);padding-top:18px;color:var(--green)}.side-rule{border-top:1px solid var(--line);margin:20px 0}.review-measurements{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:24px 0}.review-measurements>div{background:var(--soft);border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:8px}.review-measurements span{font-size:14px;color:var(--muted)}.review-measurements strong{font-size:20px}.saved-check{display:block;width:48px;height:48px;background:var(--soft);color:var(--green);border-radius:50%;padding:8px;text-align:center;font-size:25px;margin-bottom:24px}.notice{border:1px solid var(--line);background:var(--soft);padding:16px 20px;border-radius:8px;margin-bottom:24px;font-size:16px;line-height:1.6}.notice.warning{border-color:var(--bad);color:var(--bad)}.saved-records{margin-top:64px}.saved-records .section-top p{margin-top:10px;font-size:14px}.backup-actions{display:flex;gap:10px}.button:disabled{opacity:.45;cursor:not-allowed;transform:none}.import-button{position:relative;overflow:hidden;cursor:pointer}.import-button:focus-within{outline:3px solid var(--signal);outline-offset:4px}.import-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.saved-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:24px;align-items:center;padding:24px;border-bottom:1px solid var(--line)}.saved-row:last-child{border-bottom:0}.saved-row h3{font-size:18px;margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}.saved-score{font:500 24px var(--sans)}.saved-score small{font-size:12px;color:var(--muted)}.delete-link{color:var(--bad)}.empty-records{display:flex;gap:32px;align-items:center;padding:32px}.empty-number{font:500 48px var(--sans);color:var(--line)}.empty-records p{font-size:16px;color:var(--muted);margin-top:10px}dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:16px;padding:32px;max-width:520px;width:calc(100% - 32px)}dialog::backdrop{background:#080e0b99;backdrop-filter:blur(4px)}dialog h2{font-size:30px}dialog p{margin:18px 0 24px;color:var(--muted)}.dialog-actions{display:flex;gap:12px;justify-content:flex-end}.dialog-close{float:right;font-size:28px;min-width:44px;min-height:44px}.dialog-metrics{font-size:16px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:100;background:var(--ink);color:var(--paper);border:1px solid var(--line);border-radius:10px;padding:16px 22px;max-width:calc(100% - 32px);font-size:16px;box-shadow:var(--shadow);transition:.2s}#toast.visible{opacity:1;transform:translate(-50%,0)}main:focus{outline:none}
@media(min-width:1100px){.module-card .delta small{display:block;margin:3px 0 0}}
@media(max-width:1090px){.nav{width:calc(100% - 48px);flex-wrap:wrap;gap:22px 12px;padding:22px 0}.nav .brand{margin-right:auto}.theme-toggle{margin-left:auto}.menu-toggle{display:block;border:1px solid var(--line);border-radius:8px;padding:10px 14px;min-height:42px;font-size:14px}.nav nav{display:none;order:4;width:100%;margin:4px 0 0;gap:6px}.nav nav.is-open{display:flex;flex-wrap:wrap}.nav nav a{flex:1;text-align:center}.nav nav a.studio-link{margin-left:0}.dashboard-bottom{grid-template-columns:1fr 1fr}.patch-summary{grid-column:1/-1;border-top:1px solid var(--line)!important}.module-name{font-size:11px}.module-card .delta small{display:block;margin-left:0}.studio-heading>div:nth-child(2){align-items:start;flex-direction:column;gap:18px}.studio-layout{grid-template-columns:minmax(0,1fr) minmax(250px,.7fr);gap:24px}.draft-form,.studio-preview{padding:24px}.form-section-heading{align-items:start;flex-direction:column;gap:10px}.form-actions{align-items:stretch;flex-direction:column}.form-actions .micro{max-width:none}.module-fields>div{grid-template-columns:repeat(2,minmax(0,1fr))}.backup-actions{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:760px){.wrap,.hero{width:calc(100% - 40px)}.hero{padding:48px 0 32px}.hero h1{font-size:clamp(48px,9vw,64px)}.hero p{font-size:16px}.hero-caption{font-size:10px;gap:12px}.hero-status{gap:8px}.hero-status .micro{font-size:11px}.sample-ribbon{font-size:11px;padding:9px 20px;justify-content:space-between;gap:12px}.sample-ribbon span:nth-child(2){display:none}.panel-heading{padding:18px;flex-wrap:wrap;gap:10px}.panel-heading>.micro{order:3;width:100%;font-size:11px}.modules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.module-card{min-width:0;border-bottom:1px solid var(--line);padding:16px 18px 0}.module-card:nth-child(2n){border-right:0}.module-card:last-child{grid-column:1/-1;border-bottom:0;border-top:0;display:grid;grid-template-columns:80px 1fr;column-gap:24px;text-align:left;padding:18px}.module-card:last-child .module-top{display:none}.module-card:last-child .gauge{grid-row:1/5;width:80px;height:80px;margin:0}.module-card:last-child .module-inspect{grid-column:2;margin-top:8px}.module-card:last-child .module-word{margin:5px 0}.module-name{font-size:12px}.dashboard-bottom>div{padding:20px 18px}.score-number{font-size:34px}.dashboard-bottom .micro{font-size:11px}.build-summary strong{font-size:20px}.audit-strip{flex-wrap:wrap;gap:8px;padding:20px 2px}.audit-strip p{flex-basis:100%}.audit-strip .text-link{margin-left:0}.home-rest{padding-top:40px}.engine{padding:26px}.engine-grid{grid-template-columns:1fr 1fr;gap:24px}.engine h2{font-size:30px}.engine .section-top>span{display:none}.engine p{font-size:14px}.engine-step h3{font-size:18px}.section-top{align-items:start}.section-top>span{font-size:11px}.section-top h2{font-size:30px}.hero-actions .button{gap:12px;padding:12px 14px}.footer-inner{align-items:start;flex-direction:column}.footer-meta{flex-direction:column;gap:8px}.footer-links{flex-wrap:wrap;gap:22px}.studio-layout{grid-template-columns:1fr}.studio-preview{position:static}.studio-steps button{font-size:14px;padding:10px 6px}.studio-steps button span{display:block;margin:0 0 8px}.studio-heading{margin:28px 0}.studio-heading h1{font-size:38px}.module-fields>div{grid-template-columns:repeat(2,minmax(0,1fr))}.saved-records .section-top{flex-direction:column;align-items:stretch}.backup-actions{justify-content:start}.saved-row{grid-template-columns:minmax(0,1fr) auto auto;gap:16px;padding:20px}.saved-row>div{grid-column:1/-1}.empty-records{padding:24px;gap:20px;align-items:start}.empty-number{font-size:32px}.empty-records h3{font-size:20px}.reading-page .entry{padding:24px}.reading-page .entry-content p{font-size:16px}.reading-page .entry-content h3{font-size:30px}.dialog-actions{flex-wrap:wrap}.form-grid{gap:14px}.draft-form label{min-width:0}.studio-preview-metrics strong{font-size:20px}.table-wrap{overflow-x:auto}.table-wrap table{min-width:750px}.stat-grid{grid-template-columns:1fr 1fr}.stat strong{font-size:34px}.stat>span:last-child{font-size:13px}.two-col{grid-template-columns:1fr}.closing h2{font-size:32px}.page-title h1{font-size:42px}.page{padding-top:36px}.theme-toggle{margin-left:0}.theme-toggle span{display:none}.nav{width:calc(100% - 40px)}.brand{font-size:23px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.draft-form{gap:0}.draft-form label{color:var(--ink)}.draft-form>p{font-size:16px}.draft-form>.micro{margin-bottom:8px}.draft-form input{min-height:48px}.section-top>.text-link{font-size:14px}.section-top .eyebrow,.entry-index>.micro:first-child,.entry-index>.pill,.stat>.micro,.about-modules .micro,.patch-entry summary .micro,.section-top.compact>.micro{font-size:12px}.section-top.compact>.micro{max-width:none}.about-modules p,.principle p,.page-title p{font-size:16px}.filter-group button{font-size:14px;min-height:44px}.patch-score{font-size:12px}.engine-step p{font-size:16px}.score-summary .delta{font-size:14px}.score-summary .delta small{font-size:12px}.engine-step>.micro{font-size:12px}.entry-small>.micro{font-size:12px}.entry-small h3{overflow-wrap:anywhere}.module-dialog-score{display:flex;align-items:center;gap:28px;margin:24px 0}.module-dialog-score .gauge{margin:0}.module-dialog-score>div:last-child{display:flex;flex-direction:column;gap:12px}.dialog-metric{font:14px/1.8 var(--sans);padding:18px 0;border-block:1px solid var(--line);margin:20px 0}.studio-preview .side-rule{margin:24px 0}.studio-preview>.micro{font-size:12px}
@media(max-width:480px){.engine-grid{grid-template-columns:1fr}.engine-step>.micro .float-right{display:inline;float:right;margin:0}.hero-actions{flex-direction:column;align-items:stretch}.hero-actions .button{font-size:14px}.hero-caption{flex-wrap:wrap;gap:8px 15px;font-size:11px}.section-top.compact{flex-wrap:wrap}.section-top.compact h2{font-size:24px}.patch-entry summary{flex-wrap:wrap}.patch-entry summary h2{font-size:24px}.form-grid{grid-template-columns:1fr 1fr}.form-grid label:first-child{grid-column:1/-1}.studio-heading h1{font-size:36px}.studio-steps button{font-size:14px}.studio-steps button span{font-size:12px}.entry.expanded blockquote{font-size:16px}.about-modules{grid-template-columns:1fr}.sample-ribbon a{font-size:11px}.saved-score{font-size:22px}.module-name{font-size:12px}}

/* Logo: 180px wide is the digital minimum (brand guide p.04). Keep half the logo height, about 22px, clear on every side (p.06). */
/* Day 1 is a per-person setting shown above the Studio form. */
.day-one{display:flex;align-items:center;flex-wrap:wrap;gap:16px 40px;padding:20px 24px;margin-bottom:28px;box-shadow:none}
.day-one>div{display:flex;flex-direction:column;gap:6px}
.day-one .micro{color:var(--muted)}
.day-one strong{font:500 20px/1.3 var(--sans);letter-spacing:-.02em}
.day-one>.field-hint{flex:1 1 260px;margin:0}
.day-one>.button{margin-left:auto}
.start-form label{display:flex;flex-direction:column;gap:9px;font-size:14px;font-weight:500}
.start-form input{min-height:48px;font-size:16px}
.start-form .field-error{display:block;margin-top:10px}
.start-form .dialog-actions{margin-top:24px}
@media(max-width:760px){.day-one{gap:16px 24px;padding:18px}.day-one>.button{margin-left:0;width:100%}}
/* The Studio preview sits on --soft in both themes, so its text follows the theme tokens. */
.studio-preview{color:var(--ink)}
.studio-preview>.micro,.studio-preview-metrics .micro,.studio-score .micro{color:var(--muted)}
.studio-preview p{color:var(--muted)}
.studio-preview>.studio-foot{color:var(--green)}
