.pegforge-modern{--bg:#f3f5fb;--border:#dfe5f0;--text:#172033;--muted:#647089;--accent:#635bff;--accent-2:#ec4899;--accent-3:#10b981;--navy:#111a3a;--surface:#fff;background:var(--bg)}.pegforge-modern [hidden]{display:none!important}.pegforge-modern .topbar{z-index:20;border-bottom:1px solid #e5e9f3;flex-wrap:wrap;gap:18px;min-height:72px;padding:12px 22px;box-shadow:0 4px 20px #111a3a0d}.pf-brand{align-items:center;gap:11px;display:flex}.pf-brand-mark{background:linear-gradient(135deg,#635bff,#ec4899);border-radius:12px;grid-template-columns:1fr 1fr;gap:3px;width:38px;height:38px;padding:7px;display:grid;transform:rotate(-4deg);box-shadow:0 8px 18px #635bff40}.pf-brand-mark i{opacity:.95;border:3px solid #fff;border-radius:50%;display:block}.pegforge-modern .topbar h1{letter-spacing:-.7px;color:var(--navy);font-size:22px}.pegforge-modern h1 small{color:var(--muted);letter-spacing:.5px;text-transform:uppercase;margin-top:2px;font-size:11px;display:block}.pegforge-modern .app-nav-link{border-radius:9px;padding:8px 12px;font-weight:650}.pegforge-modern .app-nav-link.active{color:#5046e5;background:#edeaff}.pegforge-modern .topbar-actions button{background:#fff;border-color:#d9dfeb;font-weight:650}.pegforge-modern .layout{grid-template-columns:350px minmax(0,1fr) 190px}.pegforge-modern .layout.dimensions-hidden{grid-template-columns:350px minmax(0,1fr)}.pegforge-modern .panel{background:var(--bg);padding:14px}.pegforge-modern .panel-section{border:1px solid var(--border);background:#fff;border-radius:16px;margin-bottom:12px;padding:17px;box-shadow:0 6px 18px #111a3a0a}.pegforge-modern .panel-section h2{color:#26315a;text-transform:none;letter-spacing:0;margin-bottom:14px;font-size:14px}.pegforge-modern .workflow-page-hidden,.pegforge-modern .legacy-detection-ui,.pegforge-modern .legacy-source-ui,.pegforge-modern .legacy-draw-ui{display:none!important}.workflow-nav{z-index:5;border:1px solid var(--border);background:#fffffff7;border-radius:14px;gap:8px;margin-bottom:12px;padding:12px;display:grid;position:sticky;top:0;box-shadow:0 5px 16px #17243b14}#pf-workflow-page-label{color:#223b71;font-size:14px;font-weight:700}.workflow-nav button{width:100%}#pf-workflow-show-all{min-height:30px;color:var(--muted);font-size:12px}.workflow-bottom-nav{z-index:5;border:1px solid var(--border);background:#fffffff7;border-radius:14px;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;padding:12px;display:grid;position:sticky;bottom:0;box-shadow:0 -5px 16px #17243b14}.workflow-bottom-nav button{width:100%}.pegforge-modern .workflow-progress{z-index:12;background:linear-gradient(100deg,#111a3a 0%,#25205c 55%,#4b2577 100%);grid-template-columns:repeat(7,minmax(54px,1fr));gap:6px;padding:9px 14px;display:grid;position:sticky;top:0;box-shadow:0 8px 22px #111a3a29}.pegforge-modern .workflow-progress button{color:#dbe7ff;background:#ffffff14;border-color:#ffffff38;min-height:48px;padding:5px 8px;font-weight:700;line-height:1.15}.workflow-step-number{margin-bottom:3px;font-size:12px;display:block}.workflow-step-title{font-size:10px;font-weight:600;display:block}.pegforge-modern .workflow-progress button:hover{background:#ffffff29}.pegforge-modern .workflow-progress button.active{color:#5549e6;background:linear-gradient(135deg,#fff,#f3efff);border-color:#fff;box-shadow:0 0 0 2px #ffffff6b,0 7px 16px #00000024}.pegforge-modern .workflow-progress button.workflow-step-skipped{opacity:.48;text-decoration:line-through}.config-subsection{border-top:1px solid var(--border);margin-top:16px;padding-top:14px}.config-subsection h3{color:#223b71;margin:0 0 12px;font-size:13px}.method-note{color:#1e3a5f;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;margin:0 0 10px;padding:9px 10px;font-size:12px;line-height:1.45}.pegforge-modern button,.pegforge-modern select,.pegforge-modern input{font:inherit;border-radius:9px;font-size:14px}.pegforge-modern button{min-height:38px;padding:8px 11px;transition:background .15s,transform .15s,box-shadow .15s}.pegforge-modern button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 5px 12px #111a3a17}.pegforge-modern button.primary{background:linear-gradient(135deg,#635bff,#7758ee);border-color:#635bff;box-shadow:0 8px 18px #635bff38}.pegforge-modern button:disabled{opacity:.45;cursor:not-allowed}.pegforge-modern :focus-visible{outline-offset:2px;outline:3px solid #88a4ff}.pegforge-modern .field-row{flex-wrap:wrap;gap:8px;font-size:14px}.pegforge-modern .field-row input[type=number]{width:78px;min-height:34px}.measurement-unit-picker{background:linear-gradient(135deg,#f4f2ff,#fff7fb);border:1px solid #dcd8ff;border-radius:12px;gap:9px;margin:0 0 15px;padding:12px;display:grid}.measurement-unit-picker>span{color:#323b5c;gap:3px;font-size:13px;display:grid}.measurement-unit-picker small{color:var(--muted);font-size:11px;font-weight:400;line-height:1.4}.measurement-unit-picker select{color:#273052;background:#fff;border:1px solid #cfcbea;width:100%;min-height:38px;padding:7px 9px;font-weight:700}.pegforge-modern .slider-row b,.calc-pitch-row b{color:#5b52e8;font:inherit;font-weight:800}.pegforge-modern .important-note{color:#455775;background:#f0f5ff;border-color:#dce6fc;font-size:13px;line-height:1.55}.pegforge-modern .status-text,.pegforge-modern .step-hint{font-size:13px;line-height:1.5}.pegforge-modern .step-hint{color:var(--muted);margin:0 0 12px}.pegforge-modern .toolbar{background:#fff;flex-wrap:wrap;gap:8px;padding:12px}.pegforge-modern .workflow-hint{color:#eef4ff;font-size:14px;line-height:1.6}.pegforge-modern #pf-scan-view{padding:12px}.pegforge-modern summary{cursor:pointer;color:#315de4;padding:8px 0;font-size:14px}.pegforge-modern .detection-overlay-legend{grid-template-columns:1fr;font-size:13px}.pegforge-modern .unit{width:auto;min-width:22px;font-size:12px}.pegforge-modern .app-nav{flex-wrap:wrap;margin-left:0}.pf-home-guide{scroll-behavior:smooth;min-height:0;color:var(--text);background:linear-gradient(#fbfbff 0%,#f3f5fb 55%,#fff 100%);flex:1;overflow:auto}.pf-home-hero{isolation:isolate;grid-template-columns:minmax(310px,.86fr) minmax(420px,1.14fr);align-items:center;gap:clamp(28px,4vw,68px);min-height:470px;padding:clamp(32px,4vw,58px) clamp(28px,5vw,78px) 46px;display:grid;position:relative;overflow:hidden}.pf-home-hero:before{content:"";z-index:-1;background:radial-gradient(circle,#635bff2e,#ec48990d 58%,#0000 72%);border-radius:50%;width:520px;height:520px;position:absolute;top:-240px;right:-140px}.pf-home-copy{max-width:660px}.pf-home-kicker{color:#5b52e8;letter-spacing:1.55px;align-items:center;gap:8px;font-size:11px;font-weight:850;display:inline-flex}.pf-home-kicker:before{content:"";background:linear-gradient(90deg,#635bff,#ec4899);border-radius:2px;width:22px;height:3px}.pf-home-copy h2{max-width:680px;color:var(--navy);letter-spacing:-2.2px;margin:13px 0 15px;font-size:clamp(34px,4.1vw,62px);line-height:1.01}.pf-home-copy p{color:#5d6980;max-width:620px;margin:0 0 22px;font-size:16px;line-height:1.65}.pf-home-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.pf-home-actions .primary{width:auto;min-width:210px;min-height:48px;margin:0;padding:11px 20px;font-weight:750}.pf-secondary-link{color:#353d59;background:#fff;border:1px solid #d9def0;border-radius:10px;justify-content:center;align-items:center;min-height:48px;padding:10px 18px;font-weight:700;text-decoration:none;display:inline-flex}.pf-secondary-link:hover{color:#5549e6;border-color:#a8a0ff;box-shadow:0 7px 18px #111a3a14}.pf-home-benefits{color:#566179;flex-wrap:wrap;gap:9px 16px;margin:22px 0 0;padding:0;font-size:12px;font-weight:650;list-style:none;display:flex}.pf-home-benefits li{align-items:center;gap:6px;display:flex}.pf-home-benefits span{color:#087f5b;background:#dcfce7;border-radius:50%;place-items:center;width:18px;height:18px;display:grid}.pf-hero-media{background:#121943;border-radius:28px;margin:0;position:relative;overflow:hidden;transform:rotate(1deg);box-shadow:0 28px 60px #13173f47}.pf-hero-media:after{content:"";border-radius:inherit;pointer-events:none;border:1px solid #fff3;position:absolute;inset:0}.pf-hero-media img{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}.pf-hero-media figcaption{color:#e6e9ff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0c1134b8;border:1px solid #ffffff38;border-radius:12px;justify-content:space-between;gap:14px;padding:12px 14px;font-size:12px;display:flex;position:absolute;bottom:14px;left:14px;right:14px}.pf-hero-media figcaption strong{color:#fff;white-space:nowrap}.pf-home-process{background:#fff;border-block:1px solid #e8ebf3;padding:48px clamp(28px,5vw,78px) 56px}.pf-section-heading{max-width:720px;margin-bottom:25px}.pf-section-heading h3,.pf-product-copy h3,.pf-home-final-cta h3{color:var(--navy);letter-spacing:-.9px;margin:9px 0 8px;font-size:clamp(25px,2.4vw,36px);line-height:1.12}.pf-section-heading p,.pf-product-copy p{color:#647089;font-size:15px;line-height:1.65}.pf-home-flow{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-width:1200px;display:grid}.pf-home-step{text-align:left;color:#68738a;background:linear-gradient(145deg,#fff,#f8f8ff);border:1px solid #e3e7f0;border-radius:18px;flex-direction:column;align-items:flex-start;min-height:220px;padding:22px 18px 19px;font-size:13px;line-height:1.5;display:flex;position:relative;box-shadow:0 10px 30px #111a3a0e}.pf-home-step:after{content:"";background:linear-gradient(90deg,#d9d4ff,#0000);height:1px;position:absolute;top:32px;left:90px;right:18px}.pf-home-step strong{color:#273052;margin:15px 0 5px;font-size:15px}.pf-step-badge{color:#d7d5ef;letter-spacing:-1px;font-size:25px;font-weight:850;position:absolute;top:13px;right:16px}.pf-home-icon{background:#f0eeff;border:1px solid #dedbff;border-radius:17px;justify-content:center;align-items:center;width:64px;height:64px;display:flex;box-shadow:0 9px 22px #635bff1f}.pf-home-icon svg{fill:none;stroke:#635bff;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;width:42px;height:42px}.bead-icon{grid-template-columns:repeat(3,11px);gap:4px;display:grid}.bead-icon b{border:3px solid #ec4899;border-radius:50%;width:11px;height:11px}.bead-icon b:nth-child(5){visibility:hidden}.grid-icon{grid-template-columns:repeat(3,11px);gap:4px;display:grid}.grid-icon span{background:#10b981;border-radius:3px;width:11px;height:11px}.grid-icon span:nth-child(2),.grid-icon span:nth-child(6){background:#a7f3d0}.pf-product-story{color:#fff;background:linear-gradient(135deg,#121a3a,#24205e 62%,#4c2475);grid-template-columns:minmax(280px,.8fr) minmax(460px,1.2fr);align-items:center;gap:clamp(30px,5vw,78px);padding:64px clamp(28px,5vw,78px);display:grid}.pf-product-copy h3{color:#fff}.pf-product-copy p{color:#cbd1e9}.pf-product-story .pf-home-kicker{color:#bcb6ff}.pf-product-story img{border-radius:24px;width:100%;display:block;box-shadow:0 24px 50px #00000047}.pf-product-pills{flex-wrap:wrap;gap:8px;margin-top:20px;display:flex}.pf-product-pills span{color:#fff;background:#ffffff14;border:1px solid #fff3;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:650}.pf-frame-story{background:#fff;padding:62px clamp(28px,5vw,78px) 72px}.pf-frame-grid{grid-template-columns:1fr 1fr;gap:18px;max-width:1040px;display:grid}.pf-frame-grid figure{background:#f8f8fc;border:1px solid #e1e5ef;border-radius:22px;margin:0;overflow:hidden;box-shadow:0 16px 40px #111a3a14}.pf-frame-grid img{aspect-ratio:1;object-fit:cover;width:100%;display:block}.pf-frame-grid figcaption{color:#273052;align-items:center;gap:12px;padding:14px 16px;display:flex}.pf-frame-grid figcaption span{color:#5b52e8;text-transform:uppercase;background:#edeaff;border-radius:7px;padding:5px 8px;font-size:11px;font-weight:800}.pf-frame-grid figcaption strong{font-size:13px}.pf-finishes-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1280px}.pegforge-modern .guide-status.error{color:#842029;background:#fff0f0;border:1px solid #f1b8bd;box-shadow:0 2px 8px #8c1e2814}.pegforge-modern .guide-grid-note{color:#155e75;background:#ecfeff;border:1px solid #a5f3fc;border-radius:9px;margin:7px 0;padding:8px 10px;font-size:11px;line-height:1.45}.pegforge-modern #pf-workflow-next.workflow-next-ready{color:#fff;background:#2563eb;border-color:#2563eb;box-shadow:0 6px 16px #2563eb40}.pegforge-modern #pf-workflow-next.workflow-next-ready:hover{background:#1d4ed8;border-color:#1d4ed8}.pf-photo-settings-board{background:#fff;border-top:1px solid #dce1ec;flex:none;max-height:38vh;padding:12px 16px;overflow:auto;box-shadow:0 -8px 24px #1a23460f}.pf-photo-settings-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.pf-photo-settings-heading div{flex-direction:column;gap:2px;display:flex}.pf-photo-settings-heading strong{color:#273052;font-size:14px}.pf-photo-settings-heading span{color:#737d93;font-size:11px}.pf-photo-settings-content{grid-template-columns:minmax(240px,.8fr) minmax(320px,1.2fr);gap:12px;display:grid}.pf-dashboard-group{background:#fafbff;border:1px solid #e1e5ef;border-radius:12px;min-width:0;padding:10px 12px}.pf-dashboard-group h3{color:#343d62;margin:0 0 8px;font-size:12px}.pf-dashboard-group .panel-section{box-shadow:none;background:0 0;border:0;margin:0;padding:0}.pf-dashboard-group .panel-section h3{margin-top:8px}.pf-dashboard-group .config-subsection{margin:8px 0 0;padding:8px}.pf-dashboard-group .calc-pitch-hint,.pf-dashboard-group .important-note{display:none}.pf-dashboard-group .step-hint{font-size:10px}.pf-dashboard-group .field-row{margin-bottom:5px}.pf-dashboard-group .calc-pitch-row{grid-template-columns:auto minmax(60px,1fr) auto minmax(56px,.8fr) auto}.pf-home-final-cta{background:linear-gradient(100deg,#f0eeff,#fff0f7);border-top:1px solid #e4e0f6;justify-content:space-between;align-items:center;gap:20px;margin:0;padding:34px clamp(28px,5vw,78px);display:flex}.pf-home-final-cta h3{margin-bottom:0;font-size:clamp(22px,2.2vw,31px)}#pf-home-load-btn-bottom{color:#fff;background:linear-gradient(135deg,#ec4899,#f97316);border:0;min-width:190px;min-height:48px;font-weight:800;box-shadow:0 10px 22px #ec48993d}@media (width<=1200px){.pegforge-modern .layout{grid-template-columns:315px minmax(0,1fr) 155px}.pegforge-modern .layout.dimensions-hidden{grid-template-columns:315px minmax(0,1fr)}.pf-home-hero{grid-template-columns:1fr}.pf-hero-media{max-width:880px}}@media (width<=950px){.pegforge-modern .workflow-progress{grid-template-columns:repeat(4,minmax(90px,1fr))}.pf-home-flow{grid-template-columns:repeat(2,1fr)}.pf-product-story{grid-template-columns:1fr}}@media (width<=720px){.pegforge-modern #app{height:auto;min-height:100vh}.pegforge-modern .layout{flex-direction:column;display:flex;overflow:visible}.pegforge-modern .center-panel{order:-1;min-height:65vh}.pegforge-modern .canvas-scroll{max-height:55vh}.pegforge-modern .panel{overflow:visible}.pegforge-modern .right-panel{display:block}.pegforge-modern .topbar-actions{margin-left:0}.pegforge-modern .workflow-progress{grid-template-columns:repeat(2,1fr);position:static}.pf-home-guide{overflow:visible}.pf-home-hero,.pf-home-process,.pf-product-story,.pf-frame-story{padding-left:20px;padding-right:20px}.pf-home-hero{min-height:0;padding-top:30px}.pf-home-copy h2{letter-spacing:-1.4px;font-size:38px}.pf-home-flow,.pf-frame-grid,.pf-photo-settings-content{grid-template-columns:1fr}.pf-photo-settings-board{max-height:45vh}.pf-home-final-cta{flex-direction:column;align-items:flex-start;padding:28px 20px}}.important-note{color:#c0392b;background:#fdf0ee;border:1px solid #f3c6c0;border-radius:6px;margin-bottom:10px;padding:6px 8px;font-size:12px;line-height:1.4}.important-star{color:#c0392b;font-weight:700}.status-action-btn{margin-left:6px;padding:2px 8px;font-size:12px}.led-detail{border-left:2px solid var(--border);margin-bottom:8px;margin-left:20px;padding-left:8px}.unit{color:var(--muted);width:20px;font-size:11px}#pf-new-board-btn,#pf-load-template-btn,#pf-build-outline-btn,#pf-generate-btn,#pf-export-main-stl-btn,#pf-export-testfit-stl-btn,#pf-export-protector-stl-btn,#pf-export-svg-btn,#pf-export-dxf-btn{width:100%;margin-bottom:6px}.generate-export-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;margin-bottom:6px;display:grid}.generate-export-row button{width:100%;margin:0}.pf-preview-view{background:#1a1d23;padding:0}#pf-three-canvas{width:100%;height:100%;display:block}.pf-placement-panel{z-index:4;color:#f8fafc;background:#0f172ae6;border:1px solid #94a3b880;border-radius:12px;flex-wrap:wrap;align-items:center;gap:7px;padding:10px 12px;display:flex;position:absolute;top:12px;left:12px;right:12px;box-shadow:0 8px 26px #00000038}.pf-workflow-error{color:#7f1d1d;background:#fff1f0;border-bottom:1px solid #ef9a9a;justify-content:space-between;align-items:center;gap:16px;padding:11px 18px;display:flex;box-shadow:0 2px 8px #7f1d1d1f}.pf-workflow-error[hidden]{display:none}.pf-workflow-error strong{margin-bottom:2px;font-size:13px;display:block}.pf-workflow-error p{margin:0;font-size:13px;line-height:1.4}.pf-workflow-error button{color:#7f1d1d;border-color:#dc8b8b;flex:none}.pf-placement-panel strong{margin-right:4px}.pf-placement-panel span{color:#cbd5e1;flex:240px;font-size:13px}.pf-placement-panel .pf-placement-help{color:#94a3b8;flex:100%;font-size:11px;line-height:1.35}.pf-placement-panel button{min-height:34px;margin:0;padding:6px 10px}.pf-placement-panel button.active{color:#fff;background:#6d28d9;border-color:#a78bfa}.pf-placement-control{border:1px solid #94a3b84d;border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px;padding:5px 7px;display:flex}.pf-placement-control label{color:#e2e8f0;align-items:center;gap:4px;font-size:12px;display:flex}.pf-placement-control input{width:62px;min-height:30px;padding:3px 5px}.pf-placement-control select{max-width:150px;min-height:30px;padding:3px 5px}.pf-placement-control small{color:#cbd5e1;white-space:nowrap}.pf-bug-dialog{color:#0f172a;border:1px solid #cbd5e1;border-radius:16px;width:min(540px,100vw - 28px);padding:22px;box-shadow:0 24px 80px #0f172a4d}.pf-bug-dialog::backdrop{background:#0f172a8c}.pf-bug-dialog h2{margin:0 0 8px;font-size:22px}.pf-bug-dialog p{color:#475569;font-size:14px;line-height:1.5}.pf-bug-dialog form>label{margin:14px 0 5px;font-weight:600;display:block}.pf-bug-dialog textarea{box-sizing:border-box;width:100%;min-height:115px;font:inherit;border:1px solid #94a3b8;border-radius:9px;padding:10px}.pf-bug-actions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}@media (width<=700px){.pf-placement-panel{gap:5px;padding:8px;top:6px;left:6px;right:6px}.pf-placement-panel span{flex-basis:100%}.pf-placement-panel button{flex:auto;font-size:12px}}.canvas-scroll{position:relative}.canvas-scroll[hidden]{display:none}#pf-dimensions div{margin-bottom:4px}.coin-presets{flex-wrap:wrap;gap:4px;margin-bottom:8px;display:flex}.coin-presets button{width:auto;padding:4px 6px;font-size:11px}.coin-presets button.active{outline:2px solid var(--accent,#2f6fed);outline-offset:-1px;font-weight:700}#pf-scan-canvas{cursor:crosshair}#pf-scan-load-photo-btn,#pf-cal-set-btn,#pf-cal-clear-btn,#pf-detect-btn,#pf-set-crop-btn,#pf-apply-crop-btn,#pf-undo-crop-btn,#pf-ref-load-btn,#pf-ref-clear-btn,#pf-refcell-set-btn,#pf-refcell-scale-btn,#pf-refcell-reset-btn,#pf-select-cells-btn,#pf-select-clear-btn,#pf-manual-apply-btn{width:100%;margin-bottom:6px}#pf-ref-hint{margin-bottom:8px}.calc-pitch-box{margin-bottom:10px}#pf-calc-pitch-body{border:1px solid var(--border);background:#fafafa;border-radius:6px;margin-top:8px;padding:8px}#pf-calc-pitch-body h3{color:#223b71;margin:0 0 8px;font-size:13px}.calc-pitch-hint{color:var(--muted);margin-bottom:8px;font-size:11px;line-height:1.4}.calc-pitch-row{flex-wrap:wrap;align-items:center;gap:4px;margin-bottom:6px;font-size:12px;display:flex}.calc-pitch-row span:first-child{flex:0 0 62px}.calc-pitch-row input[type=number]{width:56px}#pf-calc-pitch-btn{width:100%}#pf-calc-pitch-result{white-space:pre-line}#pf-scan-canvas.crop-mode{cursor:default}#pf-scan-canvas.select-mode{cursor:cell}#pf-scan-canvas.guided-mode:active{cursor:grabbing}.detection-overlay-control{border-top:1px solid var(--border);margin-top:8px;padding-top:8px}.detection-overlay-control select{min-width:136px}.detection-overlay-legend{border:1px solid var(--border);color:var(--muted);background:#f7f8fa;border-radius:6px;grid-template-columns:1fr 1fr;gap:5px 8px;margin:7px 0 4px;padding:7px 8px;font-size:11px;display:grid}.detection-overlay-legend[hidden]{display:none}.detection-overlay-legend span{align-items:center;gap:5px;display:flex}.legend-swatch{border:1px solid #00000047;border-radius:50%;flex:none;width:10px;height:10px;display:inline-block}.legend-confident{background:#18b573b8}.legend-uncertain{background:#f5a623b8}.legend-conflict{background:#e05b34b8}.legend-empty{background:#50596947}#pf-scan-zoom-controls{align-items:center}#pf-scan-zoom-status{white-space:nowrap;margin-top:0}#pf-scan-view{padding:120px}#pf-editor-view{gap:16px}.pf-reference-pane{flex:0 auto;align-self:flex-start;max-width:48%}.pf-reference-pane img{border:1px solid var(--border);background:#fff;border-radius:4px;max-width:100%;max-height:78vh;display:block;box-shadow:0 1px 3px #00000026}.pf-board-pane{flex:none;padding:88px}#pf-resize-toggle-btn{text-align:left;width:100%;color:var(--muted);background:#f7f7f8;font-size:12px;font-weight:600}#pf-resize-body{border:1px solid var(--border);background:#fafafa;border-radius:6px;margin-top:8px;padding:8px}#pf-resize-btn{width:100%;margin-top:4px}.pf-progress-overlay{z-index:1000;background:#1414148c;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.pf-progress-overlay[hidden]{display:none}.pf-progress-card{text-align:center;background:#fff;border-radius:10px;min-width:280px;max-width:90vw;padding:22px 30px;box-shadow:0 8px 30px #0000004d}#pf-generate-progress-stage{margin-bottom:12px;font-size:14px;font-weight:600}.pf-progress-track{background:#e5e7eb;border-radius:6px;width:100%;height:10px;overflow:hidden}.pf-progress-fill{background:var(--accent,#2f6fed);height:100%;transition:width .25s}#pf-generate-progress-percent{margin-top:8px;font-size:12px}.guided-section{border-left:3px solid #8b5cf6}.guide-step{margin:18px 0 8px;font-size:13px;font-weight:650}.guide-actions{grid-template-columns:1fr 1fr;gap:6px;display:grid}.guide-actions button{min-width:0;margin:0}.guide-status{color:#164e63;background:#f0f9ff;border-radius:8px;margin:10px 0;padding:10px;font-size:12px;line-height:1.5}#pf-scan-canvas.guided-mode{touch-action:none}.guided-section button.primary:hover:not(:disabled){background:var(--accent);color:var(--accent-contrast)}
