/* NP5 shared configurator shell: one step header/progress/action language for native and panel routes. */
:root{--np5-shell-ink:#162c42;--np5-shell-paper:#f6f4ef;--np5-shell-line:#d5dbe0;--np5-shell-gold:#806a4b}
.np5-shell-head{display:grid;gap:10px;margin:0 0 14px}
.np5-shell-brand,.np5-shell-kicker{margin:0;color:var(--np5-shell-gold);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.np5-shell-progress{height:3px;background:var(--np5-shell-line);overflow:hidden}
.np5-shell-progress span{display:block;height:100%;background:var(--np5-shell-ink);transform:scaleX(.1667);transform-origin:left;transition:transform .35s ease}
[data-npm-model] .npm-step-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;border:1px solid var(--np5-shell-line);background:var(--np5-shell-paper)}
[data-npm-model] .npm-step-button{min-height:52px;border:0;border-right:1px solid var(--np5-shell-line);background:transparent;color:var(--np5-shell-ink);text-align:left;font-size:12px;line-height:1.3}
[data-npm-model] .npm-step-button:last-child{border-right:0}
[data-npm-model] .npm-step-button[aria-current="step"]{background:var(--np5-shell-ink);color:var(--np5-shell-paper)}
[data-npm-model] .npm-step-actions button,body[data-family] #back-step,body[data-family] #next-step{min-height:44px;padding:0 20px;font-weight:650}
[data-npm-model] .npm-step-next{background:var(--np5-shell-ink);color:var(--np5-shell-paper);border:1px solid var(--np5-shell-ink)}
[data-npm-model] .npm-step-back{background:transparent;color:var(--np5-shell-ink);border:1px solid var(--np5-shell-ink)}
[data-npm-model] .npm-step-back:disabled{opacity:.4}
body[data-family] #steps .step{font-size:12px;line-height:1.3}
body[data-family] #steps .step[aria-current="step"]{background:var(--np5-shell-ink);color:var(--np5-shell-paper)}
@media(max-width:760px){
 [data-npm-model] .npm-step-nav{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}
 [data-npm-model] .npm-step-button{flex:0 0 auto;min-width:150px;scroll-snap-align:start}
}
@media(prefers-reduced-motion:reduce){.np5-shell-progress span{transition:none}}
/* Parity layout: approved model visual left, choices + quote + navigation right (as native configurator). */
[data-npm-model] .np5-shell-grid{grid-template-columns:minmax(0,1.25fr) minmax(340px,.9fr);gap:clamp(20px,3vw,44px)}
.np5-shell-visual{position:sticky;top:110px;margin:0;align-self:start;border:1px solid var(--np5-shell-line);background:#fbfaf7}
.np5-shell-visual img{display:block;width:100%;height:clamp(300px,40vw,560px);object-fit:cover}
.np5-shell-visual img[data-np5-view-img="plan"]{object-fit:contain;padding:8px;box-sizing:border-box;background:#fbfaf7}
.np5-shell-visual-tabs{display:flex;border-bottom:1px solid var(--np5-shell-line)}
.np5-shell-visual-tabs button{flex:1;min-height:44px;border:0;background:transparent;color:var(--np5-shell-ink);font-size:12px;font-weight:650;cursor:pointer}
.np5-shell-visual-tabs button[aria-pressed="true"]{background:var(--np5-shell-ink);color:var(--np5-shell-paper)}
.np5-shell-visual figcaption{display:grid;gap:4px;padding:14px 16px;border-top:1px solid var(--np5-shell-line);color:var(--np5-shell-ink)}
.np5-shell-visual figcaption span{font-size:12px;color:#5d6f77}
.np5-shell-visual figcaption small{font-size:11px;color:#68737d}
.np5-shell-controls{display:grid;gap:20px;min-width:0}
.np5-shell-controls .npm-quote-header{position:static}
@media(max-width:1100px){
 [data-npm-model] .np5-shell-grid{grid-template-columns:1fr}
 .np5-shell-visual{position:static}
 .np5-shell-visual img{height:auto;aspect-ratio:4/3}
 body[data-family] .workspace{grid-template-columns:minmax(0,1fr);width:100%;min-width:0}
 body[data-family] .viewer,body[data-family] .choices{position:static;width:100%;min-width:0;max-width:100%}
 body[data-family] .config-top{flex-wrap:wrap;gap:12px;min-width:0;max-width:100%}
 body[data-family] .top-actions{flex-wrap:wrap;min-width:0;max-width:100%}
 body[data-family] #steps{min-width:0;max-width:100%;overflow-x:auto}
 body[data-family] .viewer-header{flex-wrap:wrap;min-width:0}
 body[data-family] .viewer h2{overflow-wrap:anywhere}
}
/* Save / Load / shared-link notice */
.np5-shell-brand-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.np5-share-tools{display:flex;gap:8px}
.np5-share-tools button{min-height:36px;padding:0 14px;border:1px solid var(--np5-shell-ink);background:transparent;color:var(--np5-shell-ink);font-size:12px;font-weight:650;cursor:pointer}
.np5-share-notice{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:12px 16px;border-left:3px solid var(--np5-shell-ink);background:var(--np5-shell-paper);color:var(--np5-shell-ink);font-size:13px}
.np5-share-notice[data-kind="error"]{border-left-color:#a65348;background:#f5e9e6;color:#6d2a22}
.np5-share-notice p{margin:0}
.np5-share-notice button{min-height:36px;border:0;background:transparent;color:inherit;font-weight:650;text-decoration:underline;cursor:pointer}
