/* PackCheck — Studio interface. Client-side only. Existing analysis engine is unchanged. */
:root {color-scheme:light}
html{background:#f5f7f2}
body{margin:0;background:#f5f7f2;color:#1b2e29;font-family:Inter,"Avenir Next",Avenir,"Segoe UI",system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}
#pcw-legacy{display:none!important}
#pcw,.pcw *{box-sizing:border-box}
.pcw{--ink:#172823;--muted:#5f7167;--accent:#c5f77b;--green:#174738;--cream:#f5f7f2;--line:#e3e9e1;--danger:#a54e36;--review:#805a1d;color:var(--ink);font-size:15px;line-height:1.5;min-height:100vh;max-width:1340px;margin:0 auto;padding:0 34px}
.pcw button,.pcw input,.pcw summary{font-family:inherit}
.pcw button{cursor:pointer;white-space:normal}
.pcw button:focus-visible,.pcw a:focus-visible,.pcw input:focus-visible,.pcw summary:focus-visible{outline:3px solid #367e50;outline-offset:3px}
.pcw button:hover:not(:disabled){filter:none}
.pcw [hidden]{display:none!important}
.pcw h1:focus{outline:none}
.pcw-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.pcw a{color:inherit}
.pcw-header{height:80px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.pcw-brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:22px;font-weight:760;letter-spacing:-1.15px}
.pcw-brand-dot{color:#43a978}
.pcw-mark{width:34px;height:34px;display:grid;grid-template-columns:1fr 1fr;gap:3px;transform:rotate(-12deg)}
.pcw-mark i{display:block;background:#1a5041;border-radius:3px}.pcw-mark i:nth-child(2){background:#7cc49b}.pcw-mark i:nth-child(3){background:#bae984}.pcw-mark i:nth-child(4){background:#174738}
.pcw-progress{display:flex;align-items:center;justify-content:center;gap:14px;margin-left:0;transform:translateX(38px)}
.pcw-lines{display:flex;gap:6px;align-items:center}.pcw-lines i{width:43px;height:4px;background:#dbe3db;border-radius:9px;transition:background .3s ease,width .3s ease}.pcw-lines i.on{background:#1b7551}
.pcw-secure{font-size:10px;letter-spacing:.14em;color:#536b5d;font-weight:800;white-space:nowrap;display:flex;gap:9px;align-items:center}
.pcw-secure-dot{width:7px;height:7px;background:#31a86b;border-radius:50%;box-shadow:0 0 0 4px #ddf2e4}
.pcw-layout{display:grid;grid-template-columns:minmax(0,47fr) minmax(0,53fr);min-height:640px;box-shadow:0 15px 55px rgba(35,55,41,.055);border:1px solid #e0e8df;border-radius:20px;overflow:hidden;background:#fff}
.pcw-visual{position:relative;overflow:hidden;min-width:0;padding:32px 36px;background:radial-gradient(ellipse at 43% 47%,rgba(39,108,81,.34),transparent 52%),radial-gradient(circle at 100% 5%,#275246,#142921 45%,#0c1b19 100%);color:#ecfff3;display:flex;flex-direction:column;justify-content:space-between}
.pcw-visual:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.45' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E")}
.pcw-visual-head{position:relative;z-index:2;display:flex;align-items:center;gap:12px;font-size:10px;color:#bbd6c8;letter-spacing:.2em;font-weight:750}
.pcw-sparkle{font-size:23px;color:#c3f377;font-weight:300;line-height:1}
.pcw-constellation{position:absolute;left:50%;top:47%;width:470px;height:390px;transform:translate(-50%,-50%);z-index:1}
.pcw-constellation-lines{position:absolute;inset:0;width:100%;height:100%}
.pcw-halo{position:absolute;top:194px;left:235px;width:165px;height:165px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,rgba(148,248,175,.15),transparent 72%);filter:blur(4px)}
.pcw-core{position:absolute;top:194px;left:235px;transform:translate(-50%,-50%);width:124px;height:120px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:9px;background:linear-gradient(155deg,#295d48,#1b4b3b);border:1px solid rgba(206,255,222,.38);box-shadow:0 20px 70px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.1);border-radius:24px}
.pcw-core span{letter-spacing:.19em;color:#c3ebc7;font-size:9px;font-weight:800}
.pcw-float{position:absolute;display:flex;align-items:center;gap:9px;padding:10px 12px;min-width:166px;min-height:53px;background:rgba(242,252,246,.97);color:#263d34;border:1px solid rgba(255,255,255,.65);box-shadow:0 13px 24px rgba(0,0,0,.16);border-radius:12px;animation:pcw-bob 5s ease-in-out infinite}
.pcw-float>span:nth-child(2){display:flex;flex-direction:column;gap:2px}.pcw-float strong{font-size:10px;letter-spacing:-.15px;white-space:nowrap}.pcw-float small{font-size:9px;color:#8b968e}
.pcw-float-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;font-size:18px;font-weight:800}.pcw-float-icon.orange{background:#ffe2cb;color:#c1733d}.pcw-float-icon.lilac{background:#e8e2ff;color:#7d68b8}.pcw-float-icon.yellow{background:#ffe5db;color:#c56248}
.pcw-mini-tick{margin-left:auto;font-size:12px;color:#478a5f;font-style:normal}.pcw-mini-warn{margin-left:auto;font-size:11px;color:#d06b55;font-style:normal}
.pcw-float-a{top:53px;left:8px;transform:rotate(-8deg)}.pcw-float-b{top:64px;right:-8px;transform:rotate(6deg);animation-delay:-1.4s}.pcw-float-c{bottom:40px;left:21px;transform:rotate(4deg);animation-delay:-2.8s}
.pcw-dot{position:absolute;width:7px;height:7px;border-radius:50%;background:#d9fba7;box-shadow:0 0 0 6px #d9fba71c}.pcw-dot-a{top:95px;left:110px}.pcw-dot-b{top:105px;right:91px}.pcw-dot-c{bottom:90px;left:105px}
.pcw-visual-footer{position:relative;z-index:2}.pcw-visual-copy{font-weight:580;letter-spacing:-1.35px;line-height:1.22;font-size:32px}.pcw-visual-copy em{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:#d3f69d;letter-spacing:-1.2px}.pcw-footrule{height:1px;background:#739b8649;margin:26px 0 16px}.pcw-footmeta{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#a3b5aa;letter-spacing:.13em;font-weight:750}
.pcw-work{width:100%;max-width:none;margin:0;position:relative;display:flex;flex-direction:column;background:#fff;min-width:0;padding:40px min(6%,52px) 26px}
.pcw-view{width:100%;min-width:0;flex:1;animation:pcw-enter .24s ease both}.pcw-view[hidden]{display:none!important}
.pcw-eyebrow{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:11px;letter-spacing:.13em;font-weight:750;margin:0 0 20px;overflow-wrap:anywhere}
.pcw-eyebrow-line{height:1px;flex:1;max-width:65px;background:#c9e3d1}
.pcw h1{font-size:clamp(37px,3.7vw,54px);line-height:1.11;letter-spacing:-2.2px;font-weight:760;margin:0 0 18px;color:#1e3029;overflow-wrap:anywhere}
.pcw h1 em{font-style:italic;font-weight:400;color:#43795d;font-family:"Iowan Old Style",Baskerville,Georgia,"Times New Roman",serif;letter-spacing:-1.7px}
.pcw-lead{max-width:460px;color:var(--muted);font-size:15px;line-height:1.65;margin:0 0 24px}
.pcw-drop{border:1.7px dashed #9db7a5;background:linear-gradient(145deg,#f8fcf8,#f3faf3);border-radius:16px;padding:22px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;cursor:pointer;transition:border-color .2s ease,background .2s ease;min-height:210px}
.pcw-drop:hover,.pcw-drop:focus-visible{border-color:#3b9068;background:#f5fbf6}.pcw-drop.ready{border-style:solid;border-color:#9dcaad}
.pcw-drop-symbol{display:grid;place-items:center;width:64px;height:56px;border-radius:16px;background:#e0efe2;margin-bottom:6px}
.pcw-drop>strong{font-size:16px;letter-spacing:-.3px;max-width:100%;overflow-wrap:anywhere}.pcw-drop-hint{color:var(--muted);font-size:13px;overflow-wrap:anywhere;max-width:100%}.pcw-pick{background:#1a4638;color:#f6fff2;border:0;border-radius:10px;padding:11px 17px;font-weight:720;font-size:14px;margin-top:8px;min-height:44px;max-width:100%;display:flex;align-items:center;gap:16px;transition:background .2s ease}.pcw-pick:hover{background:#246749;transform:translateY(-1px)}.pcw-pick span{font-size:16px;color:#c5f77b}
.pcw-mini-note{display:flex;gap:8px;align-items:center;justify-content:center;margin-top:12px;font-size:12px;color:var(--muted)}.pcw-lock{width:16px;height:16px;flex:0 0 16px;opacity:.65}
.pcw-demo-wrap{font-size:13px;color:var(--muted);text-align:center;margin-top:8px}.pcw-link{border:0;background:transparent;color:#1a644b;font-weight:750;font-size:13px;padding:10px 4px;text-decoration:underline;text-underline-offset:4px;min-height:44px}.pcw-link:hover{color:#12523c}
.pcw-bottom{margin-top:auto;padding-top:24px;display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:12px}.pcw-bottom-right{margin-left:auto;display:flex;gap:16px;align-items:center;min-width:0}.pcw-bottom-right>span{font-size:12px;color:var(--muted);text-align:right}.pcw-next{border:0;background:#c9f17e;color:#183626;display:flex;gap:16px;align-items:center;justify-content:center;border-radius:11px;font-weight:780;padding:13px 18px;min-height:48px;font-size:14px;box-shadow:0 4px 0 rgba(115,180,99,.12);transition:transform .2s ease,background .2s ease}.pcw-next:not(:disabled):hover{transform:translateY(-2px);background:#baf16c}.pcw-next:disabled{opacity:.45;cursor:not-allowed}.pcw-next span{font-size:17px}
.pcw-back{border:0;background:transparent;color:var(--muted);padding:10px 0;font-weight:700;font-size:14px;display:flex;gap:8px;align-items:center;min-height:44px}.pcw-back:hover{color:#1f5c42}.pcw-back span{font-size:18px}
.pcw-site-footer{min-height:56px;padding:12px 0;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:10px;font-weight:650;letter-spacing:.08em;gap:18px;flex-wrap:wrap}.pcw-site-footer a{text-decoration:none;border-bottom:1px solid #b8c4bb}.pcw-site-footer a:hover{color:#35654d}
.pcw-module-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:16px;min-width:0}.pcw-module{width:100%;min-width:0;border:1px solid #d8e2d8;background:#fafbf8;border-radius:14px;padding:18px 16px;display:flex;align-items:center;gap:14px;text-align:left;color:#274238;white-space:normal;transition:border-color .17s,background .17s}.pcw-module:hover{border-color:#83ad92}.pcw-module.active{border-color:#74b78c;background:#f2faf3;box-shadow:inset 0 0 0 1px #aedeb9}.pcw-module-icon{display:grid;place-items:center;flex:0 0 47px;height:47px;color:#53866a;background:#e4efe6;border-radius:13px}.pcw-module.active .pcw-module-icon{color:#1f6546;background:#def2e3}.pcw-module-copy{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.pcw-module-copy strong{font-weight:700;font-size:15px;letter-spacing:-.25px;overflow-wrap:anywhere}.pcw-module-copy small{font-weight:450;font-size:13px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}.pcw-check{width:24px;height:24px;border-radius:50%;border:1px solid #708975;color:transparent;display:grid;place-items:center;font-size:13px;font-weight:900;flex:none}.pcw-module.active .pcw-check{background:#23744e;color:white;border-color:#23744e}
.pcw-advanced{border:0;border-top:1px solid #e3e9e1;border-bottom:1px solid #e3e9e1;margin:20px 0 0;padding:0}.pcw-advanced summary{display:flex;align-items:center;justify-content:space-between;list-style:none;font-size:14px;color:var(--muted);font-weight:650;cursor:pointer;min-height:48px;padding:10px 0;gap:12px}.pcw-advanced summary::-webkit-details-marker{display:none}.pcw-advanced-plus{font-size:16px;line-height:1}.pcw-advanced[open] .pcw-advanced-plus{transform:rotate(45deg)}.pcw-advanced-inner{padding:0 0 16px;display:grid;gap:14px}.pcw-advanced-inner label{display:block;font-size:13px;color:var(--muted);font-weight:650}.pcw-advanced-inner input:not([type=checkbox]){margin-top:6px;width:100%;min-width:0;border:1px solid #9aad9f;background:white;border-radius:8px;padding:11px;font-size:14px;color:#213d2d;min-height:44px}.pcw-advanced-inner .pcw-testcheck{display:flex;gap:9px;align-items:center}.pcw-testcheck input{width:18px;height:18px;flex:0 0 18px;padding:0;margin:0;accent-color:#367e50}.pcw-formwarning{font-size:14px;color:var(--danger);margin:12px 0 0}
.pcw-results-head{display:flex;align-items:center;gap:12px 24px;justify-content:space-between;flex-wrap:wrap;margin-bottom:10px}.pcw-results-head h1{font-size:clamp(30px,3vw,40px);line-height:1.15;margin:0;flex:1;letter-spacing:-1.4px}.pcw-results-head h1 em{letter-spacing:-1.2px}.pcw-result-stamp{background:#e8f5e7;border-radius:25px;color:#316942;padding:7px 12px;font-size:11px;letter-spacing:.03em;font-weight:750;margin:0;max-width:100%;flex:none}.pcw-result-stamp.partial{background:#ffeddc;color:#76521d}.pcw-result-stamp.failed{background:#ffe9e5;color:#9c3f2e}.pcw-report-line{font-size:14px;color:var(--muted);margin-bottom:20px;overflow-wrap:anywhere}.pcw-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#f6f9f4;border:1px solid #e1e9de;border-radius:12px;margin:0 0 20px}.pcw-summary>div{padding:14px 20px;display:flex;flex-direction:column;gap:5px;min-width:0}.pcw-summary>div+div{border-left:1px solid #e4ece5}.pcw-summary span{font-size:11px;font-weight:750;letter-spacing:.06em;color:var(--muted);overflow-wrap:anywhere}.pcw-summary strong{font-size:32px;line-height:1.2;letter-spacing:-1.5px;color:#26463a}.pcw-summary small{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.pcw-summary .pcw-metric-issues{color:var(--danger)}
.pcw-metric-issues[data-severity=review]{color:var(--review)}
.pcw-summary .pcw-metric-issues[data-severity=clear]{color:#26463a}
.pcw-result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}.pcw-result-toolbar h2{margin:0;font-size:17px;letter-spacing:-.4px}.pcw-result-toolbar h2 span{background:#e9ede8;color:#435d4c;border-radius:12px;padding:3px 8px;font-size:12px;margin-left:5px;white-space:nowrap}.pcw-tabs{display:flex;gap:3px;background:#f3f5f1;border-radius:9px;padding:4px}.pcw-tabs button{border:0;border-radius:6px;padding:10px 12px;font-size:13px;font-weight:700;color:var(--muted);background:transparent;min-height:44px;line-height:1.4}.pcw-tabs button.selected{background:#fff;color:#274b3a;box-shadow:0 1px 5px #1d39221a}
.pcw-issues{border-top:1px solid #e3e9e1}.pcw-issue{border-bottom:1px solid #e3e9e1;padding:11px 2px}.pcw-issue-toggle{display:flex;gap:12px;align-items:center;width:100%;min-width:0;min-height:44px;border:0;background:transparent;text-align:left;padding:2px 0}.pcw-issue-icon{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:8px;background:#fff0e6;color:var(--danger);font-size:15px;font-weight:800}.pcw-issue-icon.review{background:#fff4dc;color:var(--review)}.pcw-issue-content{flex:1;min-width:0}.pcw-issue-content strong{font-family:ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;font-weight:550;display:block;font-size:14px;letter-spacing:-.2px;overflow-wrap:anywhere;color:#294b37}.pcw-issue-content small{display:block;font-size:13px;font-weight:500;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.pcw-issue-chevron{color:#527460;font-size:20px;font-weight:400;flex:none;transition:transform .2s}.pcw-issue.open .pcw-issue-chevron{transform:rotate(90deg)}.pcw-issue-detail{margin:12px 0 0 40px;border-left:2px solid #b3ccb9;padding:5px 14px;color:var(--muted);font-size:13px;line-height:1.65;overflow-wrap:anywhere}.pcw-issue-detail strong{color:#36543f;font-size:13px;font-family:ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;font-weight:550}.pcw-no-issues{padding:28px 12px;text-align:center;color:var(--muted);font-size:14px}
.pcw-report-extra{margin-top:8px;border-bottom:1px solid #e3e9e1;padding-bottom:8px}.pcw-report-extra summary{display:flex;gap:8px;align-items:center;list-style:none;color:var(--muted);font-size:13px;cursor:pointer;min-height:44px;padding:10px 0}.pcw-report-extra summary::-webkit-details-marker{display:none}.pcw-report-extra summary span{margin-left:auto;color:#348053}.pcw-report-extra div{margin-top:8px;background:#f7faf6;padding:12px 14px;border-radius:8px;font-size:13px;color:var(--muted);line-height:1.65;overflow-wrap:anywhere}.pcw-exports{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;min-width:0}.pcw-exports button{border:1px solid #a4bca9;background:#fff;border-radius:9px;padding:10px 14px;min-height:44px;max-width:100%;font-size:13px;color:#29573d;font-weight:700}.pcw-exports button:hover{background:#eff8f1}.pcw-exports button span{margin-left:10px}.pcw-loading{text-align:center;padding:80px 10px}.pcw-loading h2{color:#244935;margin:28px 0 8px;font-size:24px}.pcw-loading p{color:var(--muted);font-size:14px}.pcw-spinner{width:70px;height:70px;border:5px solid #e0efde;border-top-color:#339463;border-radius:50%;margin:0 auto;animation:pcw-spin .8s linear infinite}
.pcw-dynamic-coverage{margin-top:16px;color:var(--muted);font-size:13px;line-height:1.65}
.pcw-dynamic-coverage h3{margin:0 0 8px;color:var(--ink);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.pcw-dynamic-coverage p{margin:0 0 10px}
.pcw-dynamic-coverage ul{list-style:none;padding:0;margin:0}
.pcw-dynamic-coverage li{padding:10px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}
.pcw-dynamic-coverage code{display:block;color:#294b37;font:500 13px/1.6 ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.pcw-dynamic-coverage small{display:block;font-size:12px;overflow-wrap:anywhere}
@keyframes pcw-spin{to{transform:rotate(360deg)}}@keyframes pcw-bob{0%,100%{margin-top:0}50%{margin-top:-7px}}@keyframes pcw-enter{0%{opacity:0;transform:translateY(8px)}100%{opacity:1;transform:translateY(0)}}

/* Keep project context in the configuration, including on narrow screens. */
.pcw-project-context{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;color:var(--muted);font-size:13px;line-height:1.5;margin:0 0 18px;min-width:0}
.pcw-project-label{font-size:10px;letter-spacing:.08em;font-weight:750}
.pcw-project-context strong{font-size:14px;font-weight:650;color:#294b37;overflow-wrap:anywhere;min-width:0;max-width:100%}
.pcw-view[data-view="2"] .pcw-lead{margin-bottom:16px}
.pcw-view[data-view="2"] .pcw-module-list{margin-top:0}

/* The forest illustration becomes a quiet banner on the report. */
.pcw[data-step="3"] .pcw-layout{grid-template-columns:minmax(0,1fr);min-height:0}
.pcw[data-step="3"] .pcw-visual{height:60px;padding:14px 40px;flex-direction:row;align-items:center;gap:24px}
.pcw[data-step="3"] .pcw-constellation,.pcw[data-step="3"] .pcw-footrule,.pcw[data-step="3"] .pcw-footmeta{display:none}
.pcw[data-step="3"] .pcw-visual-copy{font-size:22px;letter-spacing:-.6px}
.pcw[data-step="3"] .pcw-visual-copy br{display:none}
.pcw[data-step="3"] .pcw-visual-copy em{margin-left:6px;letter-spacing:-.5px}
.pcw[data-step="3"] .pcw-work{padding:28px 40px 24px}
.pcw[data-step="3"] .pcw-eyebrow{margin-bottom:14px}
.pcw[data-step="3"] .pcw-next{background:#eff5ea;border:1px solid #a4bca9;box-shadow:none}
.pcw[data-step="3"] .pcw-bottom{padding-top:20px;min-height:0}

@media(min-width:801px){
  .pcw-summary>div{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"value label" "value hint";gap:2px 16px;align-content:center}
  .pcw-summary span{grid-area:label;align-self:end}
  .pcw-summary strong{grid-area:value;align-self:center}
  .pcw-summary small{grid-area:hint;align-self:start}
}

@media(max-width:1050px){
  .pcw{padding:0 17px}
  .pcw-layout{grid-template-columns:minmax(0,40fr) minmax(0,60fr)}
  .pcw-work{padding:32px 28px 24px}
  .pcw-visual{padding:28px 24px}
  .pcw-constellation{transform:translate(-50%,-50%) scale(.72)}
  .pcw-visual-copy{font-size:27px}
  .pcw-bottom-right>span{display:none}
}

/* Compact the entry screens on laptops; let expanded settings scroll naturally. */
@media(min-width:801px) and (max-height:800px){
  .pcw-header{height:64px}
  .pcw-layout{min-height:calc(100svh - 108px)}
  .pcw-work{padding-top:22px;padding-bottom:20px}
  .pcw-eyebrow{margin-bottom:12px}
  .pcw h1{font-size:38px;line-height:1.08;margin-bottom:12px}
  .pcw-lead{margin-bottom:16px;line-height:1.6}
  .pcw-drop{min-height:0;padding:12px 18px;gap:4px}
  .pcw-drop-symbol{width:48px;height:40px;margin-bottom:0}
  .pcw-drop-symbol svg{width:32px;height:31px}
  .pcw-pick{margin-top:6px;padding-top:9px;padding-bottom:9px}
  .pcw-mini-note{margin-top:10px}
  .pcw-demo-wrap{margin-top:6px}
  .pcw-link{padding-top:6px;padding-bottom:6px;min-height:36px}
  .pcw-bottom{padding-top:14px;min-height:62px}
  .pcw-next{min-height:46px;padding-top:11px;padding-bottom:11px}
  .pcw-site-footer{min-height:44px;padding:8px 0}
  .pcw-visual-copy{font-size:28px}
}

@media(max-width:800px){
  .pcw-header{height:68px;gap:16px}
  .pcw-progress{transform:none;margin-left:0}
  .pcw-secure{display:none}
  .pcw-layout,.pcw[data-step="3"] .pcw-layout{grid-template-columns:minmax(0,1fr);min-height:0}
  .pcw-visual{height:124px;padding:16px 24px}
  .pcw-constellation{left:82%;top:50%;transform:translate(-50%,-50%) scale(.3)}
  .pcw-visual-footer .pcw-footrule,.pcw-visual-footer .pcw-footmeta{display:none}
  .pcw-visual-copy{font-size:22px}
  .pcw-work{padding:28px 26px 24px}
  .pcw h1{font-size:38px;letter-spacing:-1.8px}
  .pcw-lead{font-size:15px}
  .pcw-bottom{padding-top:20px}
  .pcw-bottom-right>span{display:none}
  .pcw[data-step="3"] .pcw-visual{height:56px;padding:14px 26px;justify-content:flex-start}
  .pcw[data-step="3"] .pcw-visual-head,.pcw[data-step="3"] .pcw-constellation{display:none}
  .pcw[data-step="3"] .pcw-visual-copy{font-size:19px}
  .pcw[data-step="3"] .pcw-work{padding:28px 26px 24px}
}

@media(max-width:520px){
  .pcw{padding:0 10px}
  .pcw-header{padding:0 4px}
  .pcw-brand{font-size:18px;gap:10px}
  .pcw-mark{width:29px;height:29px}
  .pcw-lines i{width:32px}
  .pcw-layout{border-radius:16px}
  .pcw-visual{height:112px;padding:14px 20px}
  .pcw-visual-head{font-size:9px}
  .pcw-visual-copy{font-size:20px}
  .pcw-work{padding:24px 20px}
  .pcw h1{font-size:34px;letter-spacing:-1.5px}
  .pcw h1 em{letter-spacing:-1.3px}
  .pcw-eyebrow{font-size:10px;letter-spacing:.1em;margin-bottom:18px;gap:10px}
  .pcw-eyebrow-line{max-width:40px}
  .pcw-drop{padding:20px 14px}
  .pcw-module{padding:15px 12px;gap:10px}
  .pcw-module-icon{flex-basis:36px;height:40px;border-radius:10px}
  .pcw-module-copy strong{font-size:14px}
  .pcw-module-copy small{font-size:13px}
  .pcw-site-footer{font-size:9px;line-height:1.6;padding:14px 5px;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px}
  .pcw-results-head{align-items:flex-start;flex-direction:column;gap:12px}
  .pcw-results-head h1{font-size:30px;line-height:1.16}
  .pcw-result-stamp{align-self:flex-start}
  .pcw-summary>div{padding:12px 8px}
  .pcw-summary span{font-size:10px;letter-spacing:.02em}
  .pcw-summary small{font-size:11px}
  .pcw-summary strong{font-size:28px}
  .pcw-result-toolbar{align-items:stretch;flex-direction:column}
  .pcw-tabs button{flex:1;min-width:0;padding:10px 6px}
  .pcw-issue-content strong{font-size:13px}
  .pcw-issue-content small{font-size:12px}
  .pcw-issue-detail{margin-left:0}
  .pcw-exports button{width:100%}
  .pcw[data-step="3"] .pcw-work{padding:24px 20px}
  .pcw[data-step="3"] .pcw-visual{padding:14px 20px}
  .pcw[data-step="3"] .pcw-visual-copy{font-size:17px}
  .pcw-next{font-size:13px;gap:10px;padding:12px 14px}
  .pcw-back{font-size:13px;gap:6px}
}

@media(max-width:360px){
  .pcw-constellation{display:none}
  .pcw[data-step="3"] .pcw-visual{height:auto;min-height:56px}
  .pcw[data-step="3"] .pcw-visual-copy br{display:block}
  .pcw[data-step="3"] .pcw-visual-copy em{margin-left:0}
  .pcw-summary>div{padding-left:4px;padding-right:4px}
  .pcw-summary span{letter-spacing:0;white-space:nowrap;overflow-wrap:normal}
}
@media(prefers-reduced-motion:reduce){.pcw *, .pcw *:before,.pcw *:after{animation:none!important;transition:none!important}}
.pcw-footmeta span{white-space:nowrap}
.pcw-lines{gap:7px}
.pcw-visual-copy em{font-family:"Iowan Old Style",Baskerville,Georgia,serif}

/* Local folder and ZIP inputs share the existing first step. */
.pcw-drop{cursor:default}
.pcw-source-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;width:100%;max-width:440px}
.pcw-source-actions .pcw-pick{justify-content:center;flex:1 1 145px;gap:10px;padding:11px 12px;font-size:13px}
.pcw-source-actions .pcw-zip{background:#fff;color:#254c3a;border:1px solid #9db7a5}
.pcw-source-actions .pcw-zip span{color:#3b7451}
.pcw-source-actions .pcw-zip:hover{background:#eaf4e7}
.pcw-source-actions button:disabled,.pcw-link:disabled{cursor:wait;opacity:.6;transform:none}
.pcw-source-message{font-size:13px;line-height:1.55;color:#456550;margin:12px 0 0;padding:10px 12px;border:1px solid #dce7db;background:#f6faf3;border-radius:10px}
.pcw-source-message.error{color:#805232;border-color:#e1c9b4;background:#fff6ed}
.pcw-import-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;margin-top:14px;align-items:center}
.pcw-import-progress label{font-size:12px;grid-column:1;overflow-wrap:anywhere;color:#506657}
.pcw-import-progress progress{grid-column:1;width:100%;height:8px}
.pcw-import-progress button{grid-column:2;grid-row:1/3}
.pcw-import-progress button,.pcw-loading button{border:1px solid #9db7a5;background:#fff;color:#254c3a;border-radius:9px;padding:10px 14px;min-height:44px;font-size:13px;font-weight:650}
.pcw-loading label{display:block;color:#526957;font-size:13px;margin-top:20px}
.pcw-loading progress{display:block;width:min(300px,100%);height:8px;margin:12px auto 20px}
.pcw progress{accent-color:#1b7551}
.pcw-source-warnings{padding:0;list-style:none;color:#5f7167;font-size:13px;overflow-wrap:anywhere}
.pcw-source-warnings li{padding:9px 0;border-top:1px solid #e3e9e1}
.pcw .pc-case-item{background:#f6f9f3;border-color:#dbe5d7}
.pcw .pc-case-comparison code{color:#294b37;letter-spacing:0}
.pcw .pc-case-from mark{background:#ffe4cf;color:#8c412c}
.pcw .pc-case-to mark{background:#def1c0;color:#244c35}
.pcw .case-mismatch .pcw-issue-icon{align-self:flex-start;margin-top:3px}
.pcw-issue[data-severity="review"] .pcw-issue-reason{color:var(--review);font-weight:650}
.pcw-issue-overview{display:block;margin-top:6px;font-size:13px;font-weight:450;line-height:1.55;color:#3d5949;white-space:normal;overflow-wrap:anywhere}
@media(max-width:480px){.pcw-source-actions{gap:0}.pcw-source-actions .pcw-pick{flex-basis:100%;margin-top:10px}}
/* Keep both source choices comfortably visible on narrow phones. */
@media(max-width:480px){
  .pcw[data-step="1"] .pcw-visual{height:96px}
  .pcw-view[data-view="1"] .pcw-lead{margin-bottom:18px}
  .pcw-view[data-view="1"] .pcw-drop-symbol{width:52px;height:44px;margin-bottom:2px}
  .pcw-view[data-view="1"] .pcw-drop-symbol svg{width:36px;height:34px}
}
