/* Interface values come from the approved landing tokens; CV print styles remain independent. */
.studio-page{margin:0;background:var(--rp-paper);color:var(--rp-copy);font:400 var(--rp-body-size)/1.65 var(--font-body);min-height:100dvh}
.studio-page *{box-sizing:border-box}.studio-page [hidden]{display:none!important}.studio-page button,.studio-page input,.studio-page select,.studio-page textarea{font:inherit;color:inherit}.studio-page button,.studio-page a,.studio-page input,.studio-page select{touch-action:manipulation}.studio-page button{cursor:pointer}.studio-page button:disabled{cursor:default;opacity:.5}.studio-page button:focus-visible,.studio-page a:focus-visible,.studio-page input:focus-visible,.studio-page textarea:focus-visible,.studio-page select:focus-visible{outline:3px solid var(--rp-focus);outline-offset:3px}.studio-page svg{width:24px;height:24px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.studio-top{height:76px;border-bottom:1px solid var(--rp-border);padding:0 4vw;display:flex;align-items:center;justify-content:space-between;gap:20px}.studio-top>a img{width:166px;max-width:100%;height:auto}.studio-top>div{display:flex;align-items:center;gap:16px}.studio-top button,.studio-top select,.studio-top>div>a{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;font-size:14px;text-decoration:none;color:var(--rp-ink)}.studio-page h1{font:400 clamp(36px,4.4vw,56px)/1.12 var(--font-display);color:var(--rp-ink);letter-spacing:.01em;margin:16px 0}.studio-page h1:focus{outline:none}.studio-page h2{font-size:20px;color:var(--rp-ink)}.studio-primary,.studio-secondary,.studio-text{min-height:var(--rp-control-height);padding:var(--rp-control-padding);border-radius:var(--rp-radius);display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:600!important}.studio-primary{background:var(--rp-action);color:var(--rp-inverse)!important;border:1px solid var(--rp-action)}.studio-primary:hover{background:var(--rp-action-hover)}.studio-secondary{background:var(--rp-card);border:1px solid var(--rp-border)}.studio-text{background:transparent;border:0}.question-card{max-width:760px;margin:40px auto 64px;padding:0 24px}.question-progress{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px}.question-progress button{width:44px;height:44px;padding:0;background:transparent;border:0}.question-progress span{width:29px;height:29px;border:1px solid var(--rp-border);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px}.question-progress [aria-current] span{background:var(--rp-action);color:var(--rp-inverse);border-color:var(--rp-action)}.question-progress button:not(:disabled):not([aria-current]) span{background:var(--rp-soft)}.question-index{font-size:12px;letter-spacing:.13em;font-weight:600;color:var(--rp-muted);margin:0 0 12px}.question-help{max-width:580px;margin:0 0 28px;font-size:17px}.question-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.choice{min-height:80px;display:flex;align-items:center;gap:14px;text-align:left;background:var(--rp-card);border:1px solid var(--rp-border);border-radius:var(--rp-radius);padding:16px;position:relative}.choice>span:not(.choice-icon):not(.choice-tick){flex:1}.choice.selected,.choice:has(input:checked){background:var(--rp-soft);border:2px solid var(--rp-action);padding:15px}.choice-icon{display:flex;width:32px;justify-content:center;color:var(--rp-ink)}.choice-tick{margin-left:auto;color:var(--rp-action);min-width:18px;font-weight:700}.choice input[type=checkbox]{width:20px;height:20px;accent-color:var(--rp-action)}.question-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:32px}.question-actions>.studio-primary{margin-left:auto}.studio-field{display:grid;gap:8px;margin:20px 0;font-size:15px;font-weight:500}.studio-field input,.studio-field textarea{background:var(--rp-inverse);border:1px solid var(--rp-border);border-radius:var(--rp-radius);min-height:54px;width:100%;padding:12px 14px;font-size:16px!important}.studio-field textarea{min-height:110px;resize:vertical}.studio-page fieldset{border:1px solid var(--rp-border);padding:16px;margin:20px 0;display:flex;gap:16px;flex-wrap:wrap}.studio-page fieldset legend{padding:0 8px}.studio-page fieldset label{min-height:44px;display:flex;align-items:center;gap:8px}.studio-page input[type=radio]{width:20px;height:20px;accent-color:var(--rp-action)}.reminder-option{display:flex;align-items:flex-start;gap:12px;font-size:14px;margin-top:24px}.reminder-option input{width:24px;height:24px;flex-shrink:0;accent-color:var(--rp-action)}.onboard-status{max-width:760px;margin:16px auto;padding:0 24px;color:var(--rp-warning);font-weight:500}.reveal-layout{display:grid;grid-template-columns:minmax(260px,350px) minmax(0,794px);gap:56px;max-width:1260px;padding:48px 32px;margin:auto;align-items:start}.reveal-intro{position:sticky;top:32px}.reveal-intro h1{font-size:46px}.reveal-intro button{width:100%;margin:10px 0}.pending-count{border-top:1px solid var(--rp-border);padding-top:24px;font-weight:600}.reveal-reading{background:var(--rp-inverse);border:1px solid var(--rp-border);box-shadow:var(--rp-shadow);padding:48px}.reveal-facts{font-size:16px;line-height:1.65;overflow-wrap:anywhere}.reveal-facts .cv-header{margin-bottom:32px}.reveal-facts .cv-name{font-size:32px;font-weight:700;color:var(--rp-ink)}.reveal-facts .cv-role{font-size:18px}.reveal-facts .cv-contact{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:12px}.reveal-facts .cv-section{margin-top:24px}.reveal-facts h2{font:600 17px/1.4 var(--font-body);border-bottom:1px solid var(--rp-border);padding-bottom:8px}.reveal-facts .cv-entry{margin:12px 0}.reveal-facts .cv-entry>span{display:block}.reveal-facts .cv-entry-top,.reveal-facts .cv-entry-sub{display:flex;justify-content:space-between;gap:16px}.reveal-facts small{font-size:14px}.proposal-card{background:var(--rp-paper);border:1px dashed var(--rp-border);border-radius:var(--rp-radius);padding:18px;margin:16px 0;color:var(--rp-muted)}.proposal-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.08em}.proposal-card p{margin:14px 0;font-size:16px;white-space:pre-wrap}.proposal-card>div{display:flex;gap:6px;flex-wrap:wrap}.proposal-card button{background:var(--rp-card);border:1px solid var(--rp-border);min-height:44px;padding:8px 12px;display:inline-flex;align-items:center;gap:6px;font-size:14px}.proposal-card button:first-child{background:var(--rp-soft);color:var(--rp-ink)}.proposal-card button svg{width:18px;height:18px}.proposal-card .proposal-hint{font-size:14px}.studio-dialog{border:1px solid var(--rp-border);border-radius:var(--rp-radius);padding:32px;width:min(580px,calc(100% - 32px));max-height:90dvh;overflow:auto;background:var(--rp-paper);color:var(--rp-copy)}.studio-dialog::backdrop{background:var(--rp-ink);opacity:.4}.style-step{max-width:1140px;padding:40px 24px;margin:auto}.style-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:32px 0}.style-choice{position:relative;padding:12px 12px 20px;text-align:left;background:var(--rp-card);border:1px solid var(--rp-border)}.style-choice.selected{outline:2px solid var(--rp-action)}.style-choice>strong,.style-choice>small{display:block;margin:12px 4px 0}.style-choice>small{font-size:13px}.style-choice>.choice-tick{position:absolute;right:20px;bottom:50px}.style-thumb{display:block;height:350px;overflow:hidden;position:relative;background:var(--rp-soft)}.style-thumb .cv-page{width:794px;height:1123px;transform:scale(.32);transform-origin:top left;pointer-events:none}
@media(min-width:1024px){.reveal-reading{min-height:1000px}.reveal-facts .cv-header{padding-bottom:20px}.reveal-intro{max-width:350px}}
@media(max-width:700px){.studio-top{height:auto;min-height:64px;padding:10px 16px;gap:10px;flex-wrap:wrap}.studio-top>a img{width:138px}.studio-top>div{gap:8px}.studio-top>div button{font-size:12px;max-width:150px;text-align:left;line-height:1.3}.studio-top>div>a{font-size:0;gap:0}.question-card{margin:24px auto;padding:0 16px 40px}.question-progress{gap:0;margin-bottom:20px}.question-progress button{width:35px;height:44px}.question-progress span{width:24px;height:24px}.question-help{font-size:16px}.question-options{grid-template-columns:1fr;gap:10px}.choice{min-height:64px;font-size:16px;padding:12px 16px}.choice.selected,.choice:has(input:checked){padding:11px 15px}.question-actions{gap:8px}.question-actions>.studio-primary{flex:1}.question-actions>.studio-text{order:3;width:100%}.question-actions>.studio-secondary{padding:12px}.reveal-layout{display:block;padding:24px 16px}.reveal-intro{position:static;max-width:none;margin-bottom:24px}.reveal-intro h1{font-size:38px}.reveal-reading{padding:24px 18px}.reveal-facts .cv-name{font-size:26px}.reveal-facts .cv-entry-top,.reveal-facts .cv-entry-sub{display:block}.style-step{padding:24px 16px}.style-cards{grid-template-columns:1fr;gap:20px}.style-thumb{height:340px}.style-thumb .cv-page{transform:scale(.35)}.studio-dialog{padding:24px 18px}.studio-page{padding-bottom:env(safe-area-inset-bottom)}}
@media(prefers-reduced-motion:reduce){.studio-page *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{.proposal-card,.reveal-proposals{display:none!important}}

.studio-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Native controls retain our palette; the select keeps its native accessible picker. */
.studio-page button{-webkit-appearance:none;appearance:none}
.studio-page select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2330452c' stroke-width='1.5'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:16px;padding-right:32px}
.studio-top>a{display:block;flex-shrink:0;line-height:0}.studio-top>a img{display:block;aspect-ratio:7015/1125;object-fit:contain;height:auto}
.studio-page .rp-context-help{white-space:nowrap}
/* Mobile form review: loading, intrinsic widths, accessible controls and safe areas. */
.studio-loading{min-height:50dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:32px;color:var(--rp-muted)}.studio-loading img{display:block;width:166px;height:auto;aspect-ratio:7015/1125}.studio-loading p{font-size:14px}.studio-page{overflow-wrap:break-word}.studio-top>div,.question-options,.choice>span:not(.choice-icon):not(.choice-tick),.studio-field{min-width:0}.choice{overflow-wrap:anywhere}.choice-tick svg,.question-progress svg{width:16px;height:16px}.studio-page input,.studio-page textarea{font-size:16px}.studio-page .studio-dialog{max-width:calc(100vw - 32px)}
@media(max-width:700px){.question-progress{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:4px}.question-progress button{width:44px;min-width:44px;flex:0 0 44px}.question-card{padding-bottom:calc(40px + env(safe-area-inset-bottom))}.studio-top>div>a{min-width:44px}.studio-top>div>select{min-width:68px}.studio-top>div{flex-wrap:wrap;justify-content:flex-end}.question-actions>button{max-width:100%;overflow-wrap:anywhere}.style-thumb{max-width:100%}}
.studio-field small{font-weight:400;font-size:13px;line-height:1.6;color:var(--rp-muted)}
@media(max-width:700px){.studio-top>div>select{font-size:16px}}
.studio-field .contact-error{color:var(--rp-warning);font-weight:500}.studio-field input[aria-invalid=true]{border-color:var(--rp-warning);outline:1px solid var(--rp-warning)}

.choice-icon,.choice-tick,.choice input[type=checkbox]{flex-shrink:0}.choice input[type=checkbox]{margin:0}

/* A true A4 thumbnail: the complete page fits at every card width. */
.style-thumb{height:auto;aspect-ratio:794/1123;min-width:0;max-width:100%}
.style-thumb .cv-page{position:absolute;top:0;left:0;margin:0;transform-origin:top left}
@media(max-width:700px){.style-thumb{height:auto}.style-cards{max-width:440px;margin-inline:auto}.style-choice{min-width:0}}

.cv-progress-meaning{font-size:12px;line-height:1.6;color:var(--rp-muted);margin:12px 0 18px;max-width:65ch}

.guided-lock{margin-left:auto;font-size:10px;flex-shrink:0}.section-tab[data-guided-locked="true"]{opacity:.65}.journey-path li[data-locked="true"] .journey-node{opacity:.7}

.guided-lock svg{width:12px;height:12px;vertical-align:middle}

.section-tab[data-guided-locked="true"] .section-done{display:none}
