/* Every study inherits the catalog's material, palette, motion and light mask. */
.paper-study-shell{max-width:1320px;margin:auto;padding:32px 48px 56px}
html[data-embedded=true] .paper-study-shell{padding:32px 40px 48px}
.study-nav{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:44px}
.study-brand{display:flex;align-items:center;gap:14px;font-weight:600;font-size:17px;letter-spacing:-.025em}
.study-brand .brand-symbol{display:grid;place-items:center;width:40px;height:40px}
.study-nav .nav-actions,.paper-tabs{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.paper-tabs{margin:0 0 32px}
.paper-tabs button{min-height:44px;padding:11px 20px}
.study-nav .paper-face{min-height:44px}
.study-eyebrow{color:var(--muted);font-size:12px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:14px}
.study-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:32px}
.study-heading h1{font-size:34px;line-height:1.15;letter-spacing:-.045em;font-weight:550}
.study-heading p{font-size:15px;line-height:1.6;color:var(--muted);max-width:660px;margin-top:12px}
.paper-panel{padding:32px;border-radius:24px}
.paper-panel h2{font-size:20px;font-weight:550;letter-spacing:-.025em;line-height:1.35}
.paper-panel h3{font-size:16px;font-weight:550;line-height:1.45}
.paper-panel p{font-size:14px;line-height:1.65;color:#465161;margin-top:12px}
.paper-panel .study-eyebrow{margin:0 0 14px;font-size:12px;color:var(--muted)}
.study-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr);gap:32px;align-items:start}
.study-stack{display:grid;gap:24px}
.study-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}
.study-cards .paper-panel{padding:26px}
.study-cards .action-row{margin-top:22px}
.paper-panel.hero-panel{padding:40px}
.hero-panel h1,.hero-panel h2{font-size:30px;line-height:1.2;max-width:540px;letter-spacing:-.04em}
.hero-panel .action-row{margin-top:24px}
.paper-stat{font-size:40px;font-weight:500;letter-spacing:-.05em;margin:18px 0 4px}
.paper-stat small{font-size:14px;letter-spacing:0;font-weight:400}
.muted{color:var(--muted)}
.action-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:28px}
.text-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 2px;border:0;background:none;color:var(--navy);font-size:14px;font-weight:550;line-height:1.4;text-decoration:none;border-radius:7px}
.text-action svg,.action-icon{width:18px;height:18px;flex:none;stroke-linejoin:round}
.text-action.secondary{font-weight:400;color:var(--muted)}
.text-action.saved .action-heart{fill:currentColor}
.text-action.saved{color:var(--navy)}
.text-action:disabled{opacity:.45}
.action-row .paper{min-width:160px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.form-field{display:block;font-size:14px;line-height:1.5}
.form-field .paper{margin-top:10px}
.form-field .paper-face{height:48px;padding:12px 16px}
.form-field.full{grid-column:1/-1}
.field-hint{display:block;font-size:12px;color:var(--muted);margin-top:8px;line-height:1.5}
.inline-error{display:block;color:#8e2434;font-size:13px;line-height:1.5;margin-top:8px}

/* Semantic error light stays behind each opaque paper surface. */
.paper[data-state=error]{isolation:isolate}
.paper[data-state=error]::before{content:"";position:absolute;z-index:0;left:8%;right:8%;bottom:-12px;height:32px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(205,48,69,.6) 0%,rgba(205,48,69,.26) 38%,rgba(205,48,69,0) 76%);filter:blur(9px);pointer-events:none}
.paper[data-state=error]>.paper-face{z-index:1;border-color:color-mix(in srgb,#b92f43 20%,var(--edge))}
.paper-face[aria-invalid=true]{border-width:.5px}
.paper-face[data-state=error]{border-color:color-mix(in srgb,#b92f43 20%,var(--edge));box-shadow:-4px 8px 12px -3px var(--shadow),0 18px 30px -17px rgba(205,48,69,.82),0 7px 18px -16px rgba(205,48,69,.95)}
.evidence-panel[data-state=error]{box-shadow:-4px 8px 12px -3px var(--shadow),0 20px 34px -18px rgba(205,48,69,.78)}
.field-panel{padding:0;border:0;margin:0}
.field-panel>legend{font-size:20px;margin-bottom:26px;padding:0;font-weight:550}
.evidence-panel{container-type:inline-size}
.document-row{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px 16px;margin-top:24px}
.document-icon{width:44px;height:52px;display:grid;place-items:center;background:color-mix(in srgb,var(--navy) 7%,transparent);border-radius:8px;color:var(--navy);flex:none}
.document-copy{min-width:0;overflow-wrap:anywhere}
.document-copy strong{display:block;font-size:14px;font-weight:550;line-height:1.45}
.document-copy small{display:block;font-size:12px;color:var(--muted);margin-top:6px;line-height:1.5}
.document-row .text-action{grid-column:1/-1;justify-self:start;max-width:100%;text-align:left}
/* Keep the design-note pin clear of the invoice filename. */
body:has(.annotation-layer:not([hidden])) .document-row{padding-top:20px}
@container(min-width:480px){
 .document-row{grid-template-columns:44px minmax(0,1fr) auto;column-gap:18px}
 .document-row .text-action{grid-column:auto;justify-self:end}
}
.status-card{display:flex;align-items:flex-start;gap:14px}
.status-card>svg{flex:none;width:20px;height:20px;margin-top:2px}
.status-card[data-state=warning]>svg{color:#926012}
.status-card[data-state=success]>svg{color:#256646}
.status-card[data-state=error]>svg{color:#a12e40}
.status-card[data-state=status]>svg{color:#365f88}
.status-card p{margin-top:6px}
.status-card strong{display:block;font-weight:550}
.status-label{font-size:12px;padding:6px 10px;border-radius:999px;background:color-mix(in srgb,var(--navy) 7%,transparent);color:var(--navy);white-space:nowrap}
.readiness-items{display:grid;gap:16px;margin-top:26px}
.readiness-item{display:flex;align-items:center;gap:14px;padding:18px 20px;border-radius:16px;cursor:pointer}
.readiness-item input{width:18px;height:18px;accent-color:var(--navy);margin:0;flex:none}
.readiness-item>span{flex:1;font-size:14px;line-height:1.4}
.readiness-item small{display:block;font-size:12px;color:var(--muted);margin-top:5px}
.progress-track{height:5px;background:var(--hairline);border-radius:9px;overflow:hidden;margin-top:22px}
.progress-track span{display:block;height:100%;background:var(--navy);transition:width 180ms ease}
.review-list{display:grid;gap:0;margin:20px 0 0}
.review-list>div{display:flex;justify-content:space-between;gap:24px;padding:16px 0;border-bottom:1px solid var(--hairline)}
.review-list>div:last-child{border-bottom:0}
.review-list dt{font-size:14px;color:#465161}
.review-list dd{font-size:14px;color:#192334;text-align:right;margin:0;line-height:1.5;overflow-wrap:anywhere}
.review-list dd strong{font-weight:550}
.study-steps{display:flex;gap:24px;padding:0;list-style:none;margin:0 0 30px;color:var(--muted);font-size:14px;flex-wrap:wrap}
.study-steps li{display:flex;align-items:center;gap:10px}
.study-steps li[aria-current=step]{color:var(--navy);font-weight:600}
.step-number{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:color-mix(in srgb,var(--navy) 7%,transparent);font-size:12px}
.study-steps li[aria-current=step] .step-number{background:var(--navy);color:#f4f6fc}
.release-path{padding-left:20px;margin:18px 0 0}
.release-path li{padding:8px 0;font-size:14px;line-height:1.6}
.release-path li::marker{color:var(--navy)}
.help-question{padding:22px 26px}
.help-question summary{cursor:pointer;font-size:16px;font-weight:500}
.cart-product{display:grid;grid-template-columns:150px minmax(0,1fr);gap:28px;padding:28px}
.cart-product .product-image{width:100%;aspect-ratio:1.25;margin:0}
.cart-product h2{font-size:16px;line-height:1.5}
.cart-product .product-points{margin-top:12px}
.cart-product .quantity-controls{margin:18px 0 0;gap:14px}
.cart-product .quantity-controls button{border:0;background:none;min-width:36px;min-height:44px;padding:6px;color:var(--navy)}
.cart-product .quantity-controls .remove{font-size:13px;width:auto;padding:6px 0}
.cart-product .quantity-controls .quantity-value{font-size:14px;min-width:15px;text-align:center}
.cart-side .cart-total{font-size:22px;gap:16px;flex-wrap:wrap}
.cart-side .action-row{display:grid;gap:12px}
.cart-side .action-row .text-action{justify-self:start}
.cart-side .scenario-button{margin-top:20px}
.cart-empty{padding:48px;text-align:center}
.cart-empty>.action-icon{width:36px;height:36px;margin-bottom:18px}
.cart-empty .action-row{justify-content:center}
.review-screen .claim-note{margin-bottom:24px}
.paper-study-shell .study-note{margin-top:36px}
@media(max-width:900px){
 .paper-study-shell{padding:28px 32px 48px}
 .study-columns{grid-template-columns:minmax(0,1fr);gap:24px}
 .study-cards{gap:20px}
 .study-cards .paper-panel{padding:24px}
 .paper-panel.hero-panel{padding:32px}
 .study-heading h1{font-size:30px}
 .cart-side .action-row{display:flex}
}
@media(max-width:600px){
 .paper-study-shell,html[data-embedded=true] .paper-study-shell{padding:24px 22px 40px}
 .study-nav{align-items:flex-start;flex-wrap:wrap;margin-bottom:32px;gap:18px}
 .study-nav .nav-actions{width:100%}
 .study-nav .nav-actions .paper{flex:1}
 .study-heading{align-items:flex-start;flex-direction:column;gap:16px}
 .study-heading h1{font-size:28px}
 .study-cards,.form-grid{grid-template-columns:1fr}
 .form-field.full{grid-column:auto}
 .paper-panel,.paper-panel.hero-panel{padding:24px}
 .hero-panel h1,.hero-panel h2{font-size:26px}
 .study-steps{gap:16px;font-size:13px}
 .cart-product{grid-template-columns:100px minmax(0,1fr);gap:18px;padding:22px}
 .cart-product .quantity-controls{gap:8px}
 .cart-product .quantity-controls .remove{width:100%;margin:0;text-align:left}
 .paper-tabs{gap:10px}
 .paper-tabs .paper-face{padding:11px 16px}
 .action-row{gap:14px}
 .readiness-item{padding:16px}
 .readiness-item .status-label{display:none}
}

.help-question p{font-size:14px;line-height:1.65;color:#465161;margin-top:14px}
