/* Plan a Study shares the site's type, palette and spacing; inputs stay quiet. */
.study-page{--ground:#111111;--ink:#f1f1ef;--muted:#acacac;--accent:#bdff6a;--panel:#202020;--rule:#353535;--error:#ffa68f;background:var(--ground)}
.study-page [hidden]{display:none!important}
.study-page h1,.study-page h2,.study-page h3{font-weight:400;letter-spacing:-.04em;text-wrap:balance}
.study-page a:focus-visible,.study-page button:focus-visible,.study-page summary:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.study-opening{padding-top:18px;padding-bottom:35px}
.study-back{display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:var(--muted)}
.study-opening-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:10%;align-items:end;margin-top:21px}
.study-eyebrow{font-size:13px;color:var(--accent);line-height:1.5;margin-bottom:22px}
.study-opening h1{font-size:clamp(60px,5.5vw,84px);line-height:1.04;letter-spacing:-.052em}
.study-opening-grid>div:last-child{padding-bottom:4px}
.study-opening-grid>div:last-child>p:first-child{font-size:25px;line-height:1.4;letter-spacing:-.02em;max-width:30ch}
.study-opening-grid>div:last-child>p+p{font-size:17px;line-height:1.65;color:var(--muted);max-width:38ch;margin-top:20px}
.study-workspace{display:grid;grid-template-columns:1.2fr .8fr;gap:10%;align-items:start;border-top:1px solid var(--rule);padding-top:28px}
.study-form-column{min-width:0}
.brief-progress{list-style:none;padding:0;margin:0 0 32px;display:flex;gap:40px;font-size:14px;color:var(--muted)}
.brief-progress li{display:flex;align-items:center;gap:12px}
.brief-progress span{font-size:11px;display:grid;place-content:center;width:27px;height:27px;border:1px solid var(--rule);border-radius:50%}
.brief-progress [aria-current]{color:var(--ink)}.brief-progress [aria-current] span{background:var(--accent);border-color:var(--accent);color:var(--ground)}
.brief-section-intro h2,.review-title h2{font-size:36px;line-height:1.2}
.brief-section-intro>p,.review-title>p:last-child{font-size:16px;color:var(--muted);line-height:1.6;margin-top:13px;max-width:51ch}
#study-form{margin-top:31px}
.brief-field+.brief-field{margin-top:31px}
.brief-field label{display:flex;justify-content:space-between;gap:25px;align-items:baseline;font-size:18px;line-height:1.45;margin-bottom:13px}
.brief-field label>span:last-child{font-size:11px;color:var(--muted);flex-shrink:0;letter-spacing:0}
.brief-field label>#proposal-label{font-size:18px;color:var(--ink);flex-shrink:1}
.brief-field select,.brief-field textarea,.brief-field input{display:block;width:100%;border:1px solid #494949;border-radius:12px;background:#191919;color:var(--ink);padding:17px 19px;min-height:58px;font:400 17px/1.6 var(--sans);transition:border-color .15s,background .15s;caret-color:var(--accent);scroll-margin-top:35px}
.brief-field select{color-scheme:dark;padding-right:35px;cursor:pointer}
.brief-field textarea{resize:vertical;min-height:145px}
.brief-field textarea::placeholder,.brief-field input::placeholder{color:#999999;opacity:1}
.brief-field :is(select,textarea,input):hover{border-color:#717171}
.brief-field :is(select,textarea,input):focus{outline:2px solid var(--accent);outline-offset:3px;border-color:var(--accent);background:#222222}
.brief-field [aria-invalid=true]{border-color:var(--error)}
.field-help{font-size:13px;color:var(--muted);line-height:1.6;margin-top:10px;max-width:70ch}
.before-field{margin-top:-4px;margin-bottom:15px}
.field-bottom{display:flex;gap:16px;justify-content:space-between;align-items:start;margin-top:8px;min-height:20px}
.field-count{font-size:11px;color:var(--muted);margin-left:auto;white-space:nowrap}
.field-error{font-size:13px;line-height:1.5;color:var(--error);margin-top:9px}
.field-bottom .field-error{margin-top:0}
.brief-errors{border-left:2px solid var(--error);background:#241d1a;padding:20px 23px;margin-bottom:30px;border-radius:0 12px 12px 0;scroll-margin-top:35px}
.brief-errors h3{font-size:21px;letter-spacing:-.02em;line-height:1.3}
.brief-errors ul{padding-left:19px;margin:12px 0 0;font-size:14px;line-height:1.6;color:var(--error)}
.brief-errors li+li{margin-top:8px}.brief-errors a{text-decoration:underline;text-underline-offset:3px}
.brief-context{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);margin-top:28px}
.brief-context summary{display:flex;justify-content:space-between;gap:15px;align-items:center;cursor:pointer;list-style:none;min-height:78px;font-size:18px;padding:15px 0}
.brief-context summary::-webkit-details-marker{display:none}
.brief-context summary small{display:inline-block;font-size:11px;color:var(--muted);margin-left:14px}
.context-toggle{font-size:25px;color:var(--muted);font-weight:400;transition:transform .15s}
.brief-context[open] .context-toggle{transform:rotate(45deg)}
.brief-context-fields{padding:0 0 27px}
.brief-context-fields>p{font-size:14px;color:var(--muted);margin-bottom:26px;max-width:48ch}
.brief-submit{margin-top:32px}
.study-button{display:inline-flex;align-items:center;justify-content:space-between;gap:40px;padding:16px 27px;min-height:56px;border:0;border-radius:40px;background:var(--ink);color:var(--ground);font-size:16px;line-height:1.4}
.study-button:hover{background:var(--accent);color:var(--ground)}.study-button>span{font-size:25px;line-height:1}
.study-button:disabled{opacity:.5;cursor:not-allowed}
.brief-submit>p,.review-disclosure{font-size:12px;color:var(--muted);line-height:1.7;max-width:62ch;margin-top:18px}
.brief-noscript{color:var(--error);font-size:15px;margin-top:20px}
.study-guide{align-self:start;position:sticky;top:30px;max-width:470px;padding-top:2px}
.study-context{padding-bottom:27px;border-bottom:1px solid var(--rule)}
.study-context .study-eyebrow{font-size:11px;margin-bottom:15px}
.study-context h2{font-size:36px;line-height:1.2;letter-spacing:-.035em}
.study-context>p:not(.study-eyebrow){font-size:16px;color:var(--muted);line-height:1.65;margin-top:17px;max-width:37ch}
.study-context>a{display:inline-flex;gap:27px;min-height:44px;align-items:center;font-size:13px;margin-top:13px}
.study-guide-process{padding-top:30px}
.study-guide-process h3{font-size:18px;line-height:1.35;letter-spacing:-.015em}
.study-guide-process ol{list-style:none;margin:25px 0 0;padding:0}
.study-guide-process li{display:flex;gap:19px;position:relative;padding-bottom:23px}
.study-guide-process li:not(:last-child):before{content:'';position:absolute;left:14px;top:30px;bottom:4px;width:1px;background:var(--rule)}
.guide-number{width:29px;height:29px;border:1px solid var(--rule);border-radius:8px;display:grid;place-content:center;flex-shrink:0;font-size:11px;color:var(--accent)}
.study-guide-process h4{font-size:17px;line-height:1.4;font-weight:400;margin:1px 0 6px}
.study-guide-process li p{font-size:13px;line-height:1.55;color:var(--muted);max-width:30ch}
.study-guide-note{border-top:1px solid var(--rule);padding-top:23px}
.study-guide-note p{font-size:14px;color:var(--muted);line-height:1.65;max-width:37ch}
.study-guide-note a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;margin-top:7px}
.review-title .study-eyebrow{margin-bottom:14px}
#review-heading{scroll-margin-top:45px}
#review-heading:focus{outline:none}
.review-document{background:var(--panel);padding:28px 31px;border-radius:20px;margin-top:30px}
.review-document-head{display:flex;justify-content:space-between;gap:25px;align-items:start;padding-bottom:24px;border-bottom:1px solid var(--rule);font-size:12px;color:var(--muted)}
#review-case{color:var(--accent);text-align:right;max-width:20ch}
.review-document dl{margin:27px 0 0}
.review-document dl>div+div{margin-top:28px}
.review-document dt{font-size:12px;color:var(--muted);margin-bottom:10px}
.review-document dd{margin:0;font-size:19px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.review-document dl>div:nth-child(n+3) dd{font-size:16px}
.review-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px;margin-top:28px}
.study-text-button{padding:8px 0;min-height:44px;border:0;background:none;color:var(--ink);font-size:14px}.study-text-button:hover{color:var(--accent)}
#export-status{font-size:14px;color:var(--accent);margin-top:15px}
@media(max-height:850px) and (min-width:851px){.study-guide{position:static}}
@media(max-width:1100px){.study-opening-grid,.study-workspace{gap:7%;grid-template-columns:1.2fr .8fr}.study-opening h1{font-size:65px}.study-opening-grid>div:last-child>p:first-child{font-size:22px}.study-opening-grid>div:last-child>p+p{font-size:16px}.study-context h2{font-size:30px}.study-context>p:not(.study-eyebrow){font-size:15px}.study-guide-process li{gap:14px}.brief-field label,.brief-field label>#proposal-label{font-size:17px}.review-actions{gap:8px 20px}}
@media(max-width:850px){
 .study-opening{padding-top:20px;padding-bottom:35px}.study-opening-grid{display:block;margin-top:25px}.study-opening h1{font-size:clamp(54px,8vw,70px)}
 .study-opening-grid>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:8%;padding:0;margin-top:28px}.study-opening-grid>div:last-child>p:first-child{font-size:21px}.study-opening-grid>div:last-child>p+p{margin:0;font-size:16px}.study-opening-grid>div:last-child br{display:none}
 .study-workspace{grid-template-columns:1fr;gap:60px;padding-top:27px}.study-form-column{max-width:720px;width:100%}.study-guide{position:static;display:grid;grid-template-columns:1fr 1fr;gap:30px 8%;max-width:none;border-top:1px solid var(--rule);padding-top:35px}
 .study-context{border:0;padding:0}.study-guide-process{padding:0;grid-row:1/3;grid-column:2}.study-guide-note{grid-column:1}.study-guide-process li p{max-width:30ch}
 .brief-progress{margin-bottom:30px}.brief-section-intro h2,.review-title h2{font-size:33px}.study-page .site-footer{padding-top:75px}
}
@media(max-width:480px){
 .study-opening{padding-top:7px;padding-bottom:30px}.study-back{font-size:12px}.study-opening-grid{margin-top:19px}.study-eyebrow{font-size:12px;margin-bottom:18px}.study-opening h1{font-size:clamp(45px,12.5vw,60px)}
 .study-opening-grid>div:last-child{display:block;margin-top:25px}.study-opening-grid>div:last-child>p:first-child{font-size:21px}.study-opening-grid>div:last-child>p+p{font-size:16px;margin-top:15px}
 .study-workspace{padding-top:25px;gap:50px}.brief-progress{gap:30px;font-size:13px}.brief-progress span{width:25px;height:25px;font-size:10px}.brief-section-intro h2,.review-title h2{font-size:29px}.brief-section-intro>p,.review-title>p:last-child{font-size:15px}
 #study-form{margin-top:27px}.brief-field label,.brief-field label>#proposal-label{font-size:17px}.brief-field label{gap:15px}.brief-field label>span:last-child{font-size:10px}.brief-field select,.brief-field textarea,.brief-field input{font-size:16px;padding:15px;min-height:54px;border-radius:11px}.brief-field textarea{min-height:140px}
 .field-help{font-size:12px}.field-error{font-size:12px}.field-count{font-size:10px}.brief-field+.brief-field{margin-top:28px}.brief-context summary{font-size:17px;min-height:72px}.brief-context summary small{font-size:10px;margin-left:10px}
 .brief-submit{margin-top:27px}.study-button{font-size:15px;padding:15px 23px;gap:30px}.brief-submit>p,.review-disclosure{font-size:11px}.brief-errors{padding:18px}.brief-errors h3{font-size:20px}.brief-errors ul{font-size:13px}
 .study-guide{display:block;padding-top:30px}.study-context h2{font-size:30px}.study-context>p:not(.study-eyebrow){max-width:none}.study-guide-process{padding-top:27px;border-top:1px solid var(--rule);margin-top:22px}.study-guide-note{margin-top:8px}.study-guide-process li p{max-width:33ch}
 .review-document{padding:24px 21px;border-radius:16px}.review-document-head{font-size:11px;gap:17px}.review-document dd{font-size:17px}.review-document dl>div:nth-child(n+3) dd{font-size:15px}.review-actions{gap:13px 22px}.study-text-button{font-size:13px}#export-status{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.study-page *{transition:none!important;scroll-behavior:auto!important}}
/* Engagement scope stays visible when the local brief enters review mode. */
.study-engagement{display:grid;grid-template-columns:1fr 1.2fr;gap:12%;padding-top:75px;margin-top:90px;border-top:1px solid #414141}.study-engagement h2{font-size:clamp(42px,4.7vw,73px);line-height:1.08;letter-spacing:-.04em}.study-engagement>div>p:not(.study-eyebrow){font-size:19px;color:var(--muted);max-width:38ch;margin-top:25px}.study-engagement ol{list-style:none;padding:0;margin:0}.study-engagement li{display:flex;gap:27px;margin-bottom:28px}.study-engagement li>span{font-size:12px;color:var(--accent);padding-top:6px}.study-engagement h3{font-size:25px;line-height:1.25;letter-spacing:-.025em}.study-engagement li p,.study-commercial p{font-size:16px;line-height:1.7;color:var(--muted);margin-top:12px}.study-commercial{border-top:1px solid #414141;padding-top:25px;margin-top:35px;margin-bottom:20px}.study-commercial h3{font-size:21px}.study-engagement .study-text-button{display:inline-block;margin-right:24px;padding-block:12px}
@media(max-width:850px){.study-engagement{grid-template-columns:1fr;gap:35px;padding-top:45px;margin-top:60px}.study-engagement>div>p:not(.study-eyebrow){max-width:50ch}.study-engagement h2{font-size:46px}}
.study-engagement{scroll-margin-top:85px}
