:root{color:var(--text);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--graphite:#1f2937;--ink:#1e3a5f;--steel:#5b7c99;--signal:#2f6fed;--signal-strong:#2558bf;--teal:#1f8a70;--warm:#c9861a;--text:#152334;--text-strong:#0b1828;--muted:#5d6d7f;--border:#5b7c992e;--border-strong:#5b7c9952;--panel:#ffffffd6;--panel-strong:#fff;--surface-soft:#eef3f8;--accent:var(--signal);--accent-strong:var(--ink);--accent-soft:var(--teal);--accent-warm:var(--warm);--shadow-soft:0 1px 2px #0f172a0a, 0 8px 22px #0f172a0f, 0 24px 60px #0f172a0d;--shadow-card:0 1px 2px #0f172a0d, 0 4px 14px #0f172a0f;--shadow-focus:0 0 0 4px #2f6fed2e;--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--radius-pill:999px;background:radial-gradient(circle at 100% 0,#2f6fed12,#0000 42%),radial-gradient(circle at 0 100%,#1f8a700d,#0000 38%),linear-gradient(#f1f5f9 0%,#f6f8fb 38%,#f9fafc 100%);font-family:Inter,Inter Variable,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;min-height:100vh;margin:0}button,a,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:var(--radius-sm)}#root{width:min(1440px,100%);margin:0 auto}h1,h2,h3,h4,p{margin:0}h1{letter-spacing:-.02em;font-size:clamp(1.5rem,1.1rem + 1.6vw,2.1rem);line-height:1.15}h2{letter-spacing:-.012em;font-size:1.18rem;line-height:1.25}h3{letter-spacing:-.008em;font-size:1.02rem}::selection{color:var(--text-strong);background:#2f6fed38}.preview-3d-stage{aspect-ratio:7/5;background:linear-gradient(160deg,#f5f7fa 0%,#e9eef3 100%);border-radius:14px;width:100%;min-height:280px;position:relative;overflow:hidden}.preview-3d-hint{letter-spacing:.01em;color:#3c485a8c;pointer-events:none;-webkit-user-select:none;user-select:none;white-space:nowrap;z-index:1;background:#ffffffb3;border-radius:999px;padding:5px 10px;font-size:11px;line-height:1;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.preview-3d-stage canvas{display:block;width:100%!important;height:100%!important}.preview-2d-stage{aspect-ratio:7/5;box-sizing:border-box;background:linear-gradient(160deg,#f5f7fa 0%,#e9eef3 100%);border-radius:14px;justify-content:center;align-items:center;width:100%;min-height:280px;padding:18px;display:flex;position:relative}.bracket-2d-svg{width:100%;height:100%;display:block}.bracket-body{filter:drop-shadow(0 2px 4px #3642542e)}.bracket-highlight{mix-blend-mode:screen;opacity:.7}.bracket-outline{stroke:#35405280;stroke-width:1.1px}.preview-2d-axis{stroke:#636e8059;stroke-width:.8px;stroke-dasharray:3 3}.preview-2d-origin{fill:#3540528c}.preview-2d-dim{stroke:#505c6e8c;stroke-width:.9px}.preview-2d-label{fill:#354052d9;font-family:inherit;font-size:11px}.preview-2d-label-muted{fill:#505c6ea6;font-size:10px}.bracket-face{filter:drop-shadow(0 1px 2px #3642541f)}.bracket-face-outline{stroke:#35405273;stroke-width:.9px}.bracket-hole{fill:#283242d9;stroke:#ffffffa6;stroke-width:.6px}.preview-2d-divider{stroke:#35405226;stroke-width:.8px;stroke-dasharray:2 4}.app-shell{grid-template-rows:auto 1fr auto;gap:clamp(10px,1.4vw,16px);height:100dvh;padding:clamp(10px,1.8vw,18px);display:grid;overflow:hidden}.workspace{border:1px solid var(--border);background:var(--panel);box-shadow:var(--shadow-soft);min-height:0;overflow-y:auto}.app-topbar{justify-content:space-between;align-items:center;gap:16px;padding:6px 4px;display:flex}.topbar-brand{align-items:center;gap:12px;display:inline-flex}.topbar-beta{color:#8a5b16;letter-spacing:.08em;text-transform:uppercase;cursor:help;background:#c9861a24;border-radius:999px;align-items:center;padding:3px 10px;font-size:.75rem;font-weight:700;display:inline-flex}.topbar-actions{align-items:center;gap:8px;display:inline-flex}.app-statusbar{color:var(--muted);grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:6px 8px;font-size:.86rem;display:grid}.statusbar-claim{color:var(--text);letter-spacing:-.005em;font-weight:600}.statusbar-legal{justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.statusbar-partner{color:var(--muted);border-radius:var(--radius-pill);justify-self:center;align-items:center;gap:8px;padding:3px 10px 3px 6px;text-decoration:none;transition:background .16s,color .16s;display:inline-flex}.statusbar-partner:hover{color:var(--text);background:#0f172a0a}.statusbar-partner-prefix{letter-spacing:.02em;font-size:.78rem}.statusbar-partner-logo{border-radius:var(--radius-sm);object-fit:cover;width:22px;height:22px}.statusbar-partner strong{color:var(--text-strong);letter-spacing:-.005em;font-size:.9rem}.attachment-pill{border-radius:var(--radius-md);border:1px solid var(--border);color:var(--text);background:#f8fafceb;align-items:center;gap:8px;max-width:100%;padding:6px 6px 6px 10px;font-size:.86rem;display:inline-flex}.attachment-pill-name{text-overflow:ellipsis;white-space:nowrap;flex:auto;font-weight:600;overflow:hidden}.attachment-pill-size{color:var(--muted);font-variant-numeric:tabular-nums;flex:none}.attachment-pill-remove{flex:none;width:26px;height:26px}.feedback-attachment-download{align-self:flex-start;margin-top:6px;font-size:.78rem}.info-banner{border-radius:var(--radius-lg);border:1px solid var(--border);background:var(--panel-strong);width:min(880px,100% - 24px);box-shadow:var(--shadow-soft);color:var(--text);z-index:40;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px 10px 14px;font-size:.88rem;display:grid;position:fixed;bottom:clamp(10px,1.6vw,18px);left:50%;transform:translate(-50%)}.info-banner-icon{color:var(--accent-strong);flex:none}.info-banner-text{margin:0;line-height:1.4}.info-banner-text strong{font-weight:700}.info-banner-actions{align-items:center;gap:8px;display:inline-flex}@media (width<=600px){.info-banner{grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr);row-gap:8px}.info-banner-actions{grid-column:1/-1;justify-self:end}}.admin-route-head-actions{align-items:center;gap:8px;display:inline-flex}.admin-login-shell{place-items:center;padding-top:clamp(12px,3vw,30px);display:grid}.admin-login-shell .admin-login-card{width:min(420px,100%)}.admin-dashboard{gap:clamp(10px,1.4vw,14px);display:grid}.admin-charts-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:clamp(10px,1.4vw,14px);display:grid}.admin-chart-card{gap:10px;display:grid}.admin-card-head{gap:2px;display:grid}.admin-card-head h3{letter-spacing:-.005em;margin:0;font-size:1.04rem}.admin-chart-foot{color:var(--muted);margin-top:4px}.bar-chart{gap:8px;display:grid}.bar-row{grid-template-columns:minmax(0,1.1fr) minmax(0,2fr) auto;align-items:center;gap:10px;font-size:.86rem;display:grid}.bar-label{white-space:nowrap;text-overflow:ellipsis;color:var(--text);overflow:hidden}.bar-track{border-radius:var(--radius-pill);background:#5b7c9924;height:8px;overflow:hidden}.bar-fill{border-radius:inherit;background:var(--accent);height:100%;transition:width .24s}.bar-row.tone-warm .bar-fill{background:var(--warm)}.bar-row.tone-muted .bar-fill{background:var(--steel)}.bar-value{font-variant-numeric:tabular-nums;align-items:baseline;gap:6px;display:inline-flex}.bar-value strong{color:var(--text-strong);font-weight:700}.bar-value small{color:var(--muted);font-size:.74rem}@media (width<=720px){.app-statusbar{text-align:center;grid-template-rows:auto auto auto;grid-template-columns:1fr}.statusbar-partner,.statusbar-legal{justify-content:center;justify-self:center}}.builder-panel,.preview-column{align-content:start;gap:clamp(8px,1.1vw,12px);display:grid}.preview-column{align-self:start;max-height:calc(100vh - 24px);position:sticky;top:12px;overflow-y:auto}@media (width<=1080px){.preview-column{max-height:none;position:static;overflow-y:visible}}.workspace h2{margin:0}.template-card p{color:var(--muted)}.eyebrow,.panel-kicker{letter-spacing:.08em;text-transform:uppercase;color:var(--accent-strong);align-items:center;gap:8px;font-size:.82rem;font-weight:700;display:inline-flex}.workspace-grid,.template-grid,.export-actions,.summary-row,.check-grid,.preview-head,.check-head,.workspace-head{gap:12px;display:grid}.primary-button,.ghost-button,.icon-button,.step,.template-card,.segmented-control button{border:1px solid var(--border);border-radius:8px;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s}.primary-button,.ghost-button{cursor:pointer;justify-content:center;align-items:center;gap:10px;padding:.58rem .82rem;font-weight:700;text-decoration:none;display:inline-flex}.primary-button{background:linear-gradient(135deg, var(--accent), #2558bf);color:#fff;border-color:#0000;box-shadow:0 16px 32px #2f6fed3d}.ghost-button{color:var(--text-strong);background:#ffffffdb}.icon-button{width:34px;height:34px;color:var(--muted);cursor:pointer;background:#ffffffb8;place-items:center;padding:0;display:inline-grid}.primary-button:hover,.ghost-button:hover,.icon-button:hover,.step:hover,.template-card:hover,.segmented-control button:hover{transform:translateY(-1px)}.primary-button:disabled,.ghost-button:disabled{cursor:not-allowed;opacity:.48;box-shadow:none;transform:none}.panel-card{border:1px solid var(--border);background:#ffffffd1;border-radius:10px;padding:clamp(10px,1.2vw,14px)}.summary-row span{color:var(--muted);font-size:.92rem;display:block}.panel-card h3,.workspace h2{color:var(--text-strong)}.workspace{border-radius:var(--radius-lg);padding:clamp(12px,1.6vw,16px)}.workspace-head{grid-template-columns:minmax(0,1fr) auto;align-items:start;margin-bottom:clamp(6px,.8vw,10px)}.stepper-wrap{gap:7px;display:grid}.stepper-context{width:fit-content;color:var(--muted);align-items:center;gap:10px;font-size:.9rem;font-weight:800;display:inline-flex}.stepper-context span{color:var(--accent-strong);background:#2f6fed1a;border-radius:5px;padding:.24rem .46rem}.stepper-context strong{color:var(--text-strong)}.stepper{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.step{min-width:118px;color:var(--text-strong);cursor:pointer;text-align:left;background:#ffffffc2;grid-template-columns:20px 1fr;gap:6px;padding:.45rem .56rem;display:grid}.step span{width:20px;height:20px;color:var(--accent-strong);background:#2f6fed1f;border-radius:999px;place-items:center;font-weight:700;display:inline-grid}.step strong{align-self:end;line-height:1.1}.step.is-done{background:#14b8a612;border-color:#14b8a652}.step.is-done span{color:#0f766e;background:#14b8a624}.step.is-current{background:#2f6fed14;border-color:#2f6fed6b;box-shadow:0 14px 30px #2f6fed1f}.step.is-current span{background:var(--accent);color:#fff}.workspace-grid{grid-template-columns:minmax(430px,1.05fr) minmax(360px,.95fr);align-items:start}.wizard-focus{border-radius:var(--radius-md);background:linear-gradient(#fffffff0,#f6f8fbeb);border:1px solid #2f6fed29;grid-template-columns:minmax(0,1fr) minmax(220px,.7fr);gap:10px;padding:10px 12px;display:grid}.wizard-focus h3,.wizard-step h3{color:var(--text-strong);margin:0}.wizard-focus p,.step-note,.field-error{color:var(--muted)}.validation-box,.review-list span{background:#f8fafceb;border:1px solid #e2e8f0eb;border-radius:8px}.wizard-progress{background:#2f6fed1a;border-radius:999px;grid-column:1/-1;height:9px;overflow:hidden}.wizard-progress span{border-radius:inherit;background:linear-gradient(90deg, var(--accent), var(--accent-soft));height:100%;transition:width .18s;display:block}.panel-card{gap:clamp(8px,1vw,11px);display:grid}.wizard-step{display:none}.wizard-step.is-current{display:grid}.template-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.template-card{text-align:left;cursor:pointer;background:#f8fafcd6;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:8px;min-height:0;padding:8px 10px;display:grid}.template-card strong{font-size:.92rem;line-height:1.15;display:block}.template-card p{margin-top:2px;font-size:.74rem;line-height:1.25}.template-card.is-selected{background:#2f6fed0f;border-color:#2f6fed47;box-shadow:0 12px 26px #2f6fed1a}.template-sketch{background:linear-gradient(160deg,#f1f5fb 0%,#e2eaf4 100%);border-radius:8px;width:60px;height:48px;box-shadow:inset 0 0 0 1px #1e3a5f0f}.template-sketch :is(circle,rect,ellipse){fill:#cfe0ff;stroke:#1e3a5f;stroke-width:1.5px;stroke-linejoin:round}.template-sketch path{fill:none;stroke:#1e3a5f;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.template-sketch .sketch-fill{fill:#cfe0ff}.template-sketch .sketch-side{fill:#b1c8e8}.template-sketch .sketch-cut{fill:#f6f8fc}.template-sketch .sketch-frame{fill:none;stroke:#1e3a5f8c;stroke-width:1px;stroke-dasharray:0}.template-sketch .sketch-hint{stroke:#1e3a5f59;stroke-width:1px;fill:none}.segmented-control button.is-selected{background:#14b8a61a;border-color:#14b8a685;box-shadow:0 14px 28px #0f766e1a}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.form-section-label{color:var(--accent-strong);letter-spacing:.04em;text-transform:uppercase;grid-column:1/-1;padding-top:4px;font-size:.82rem;font-weight:800}label{color:var(--text-strong);gap:8px;font-weight:600;display:grid}.parameter-field{background:#f8fafcb8;border:1px solid #e2e8f0e6;border-radius:8px;gap:6px;padding:9px}.field-heading{grid-template-columns:1fr auto;align-items:start;gap:10px;display:grid}.field-heading strong{color:var(--text-strong)}.field-heading output{color:var(--text-strong);white-space:nowrap;background:#0f172a12;border-radius:5px;padding:.22rem .42rem;font-weight:800}.parameter-field small{color:var(--muted);font-size:.76rem;font-weight:600}.secondary-dimensions{background:#ffffffa3;border:1px solid #e2e8f0e6;border-radius:8px;grid-column:1/-1;gap:10px;padding:8px;display:grid}.secondary-dimensions summary{cursor:pointer;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:12px;list-style:none;display:grid}.secondary-dimensions summary::-webkit-details-marker{display:none}.secondary-dimensions summary:before{content:"+";width:24px;height:24px;color:var(--accent-strong);background:#7c3aed1a;border-radius:999px;grid-area:1/1;place-items:center;font-weight:900;display:inline-grid}.secondary-dimensions[open] summary:before{content:"-"}.secondary-dimensions summary>span{grid-column:2;gap:3px;display:grid}.secondary-dimensions summary strong{color:var(--text-strong)}.secondary-dimensions summary small{color:var(--muted);font-weight:650}.secondary-dimensions summary output{color:var(--muted);white-space:nowrap;background:#0f172a0f;border-radius:5px;grid-column:3;padding:.34rem .64rem;font-size:.84rem;font-weight:850}.secondary-dimensions[open]{background:#f8fafcc7}.secondary-field{background:#ffffffb3}.compact-field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.hole-list{grid-column:1/-1;gap:8px;display:grid}.hole-list-head{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;padding-top:4px;display:grid}.hole-list-head .form-section-label{padding-top:0;display:block}.hole-list-head p,.empty-holes{color:var(--muted);margin:3px 0 0;font-size:.86rem;font-weight:650}.hole-row{background:#ffffffa3;border:1px solid #e2e8f0e6;border-radius:8px;gap:8px;padding:9px;display:grid}.hole-row-title{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.hole-row-title strong{color:var(--text-strong)}.toggle-field span:last-child{color:var(--text-strong);align-items:center;gap:9px;font-weight:750;display:inline-flex}.toggle-field input{width:18px;height:18px;accent-color:var(--accent)}.toggle-field--wide{grid-column:1/-1}.toggle-field__label{color:var(--text-strong);margin-bottom:8px;font-weight:700;display:block}.toggle-group{flex-wrap:wrap;gap:8px;display:flex}.toggle-chip{border:1px solid var(--border);color:var(--text-strong);font:inherit;cursor:pointer;background:#ffffffeb;border-radius:999px;padding:.48rem .9rem;font-weight:700}.toggle-chip.is-active{color:#312e81;background:#4f46e51f;border-color:#4f46e599}.preview-label{fill:var(--text-strong);font-size:.78rem;font-weight:700}.empty-holes{background:#f8fafcb8;border:1px dashed #94a3b8b8;border-radius:8px;padding:10px}select,input[type=range],input[type=number],input[type=text]{width:100%}input[type=range]{accent-color:var(--accent)}select,input[type=number],input[type=text]{appearance:none;border:1px solid var(--border);color:var(--text-strong);font:inherit;background:#ffffffeb;border-radius:8px;padding:.56rem .72rem}input[type=text]{font-weight:600}.number-slider-pair{grid-template-columns:minmax(88px,.42fr) minmax(120px,1fr);align-items:center;gap:8px;display:grid}.number-slider-pair input[type=number]{min-width:0;font-weight:750}.number-slider-pair input[type=range]{min-width:0}input[aria-invalid=true]{background:#fef2f2eb;border-color:#dc262680}.field-error{color:#b91c1c;font-weight:700}.soft-warning{color:#92400e;background:#fffbebe0;border:1px solid #f59e0b4d;border-radius:7px;align-items:center;gap:8px;width:fit-content;margin:0;padding:.5rem .65rem;font-size:.88rem;font-weight:750;line-height:1.35;display:inline-flex}.save-context-note{color:var(--muted);margin:-2px 0 0;font-size:.9rem;font-weight:700}label span:last-child{color:var(--muted);font-weight:500}.segmented-control{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.segmented-control button{min-height:44px;color:var(--text-strong);background:#f8fafce6;font-weight:700}.wizard-actions{justify-content:space-between;gap:10px;padding-top:0;display:flex}.export-summary-list,.completion-summary,.export-package{gap:10px;display:grid}.completion-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.completion-summary div,.export-package div{background:#f8fafceb;border:1px solid #e2e8f0e6;border-radius:8px;padding:10px 12px}.completion-summary span,.export-package span{color:var(--muted);font-size:.84rem;font-weight:800;display:block}.completion-summary strong,.export-package strong{color:var(--text-strong);display:block}.export-package p{color:var(--muted)}.export-context-line{flex-wrap:wrap;gap:8px;display:flex}.export-context-line span{width:fit-content;color:var(--muted);background:#f8fafceb;border-radius:5px;align-items:center;gap:7px;padding:.4rem .62rem;font-size:.84rem;font-weight:800;display:inline-flex}.export-context-line span:first-child,.export-context-line .is-ready{color:#0f766e;background:#14b8a61c}.export-context-line .is-warning{color:#b45309;background:#f59e0b21}.export-target-summary{background:#edf3fbc2;border:1px solid #2f6fed2e;border-radius:8px;gap:8px;padding:10px;display:grid}.export-target-summary>strong{color:var(--text-strong)}.export-target-summary>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.export-target-summary span{color:var(--text-strong);gap:3px;font-weight:800;display:grid}.export-target-summary small{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:900}.export-summary-list span{color:var(--muted);background:#f8fafceb;border:1px solid #e2e8f0e6;border-radius:14px;padding:12px 14px;font-weight:600}.api-status{background:#f8fafce6;border:1px solid #e2e8f0eb;border-radius:8px;gap:6px;padding:10px 12px;display:grid}.api-status strong{color:var(--text-strong)}.api-status p{color:var(--muted)}.inline-download-link{color:var(--text-strong);text-underline-offset:.16em;font-weight:600;text-decoration:underline}.inline-download-link:hover{color:var(--accent-strong)}.api-status ul{color:var(--muted);margin:0;padding-left:18px}.api-status.loading{background:#2f6fed14;border-color:#2f6fed42}.api-status.success{background:#14b8a617;border-color:#14b8a657}.api-status.error{background:#fffbebeb;border-color:#f59e0b57}.export-readiness{gap:10px;display:grid}.export-check{background:#f8fafceb;border:1px solid #e2e8f0e6;border-radius:14px;grid-template-columns:20px 1fr;align-items:start;gap:12px;padding:12px 14px;display:grid}.export-check span{place-items:center;margin-top:2px;display:grid}.export-check strong{color:var(--text-strong)}.export-check p{color:var(--muted)}.export-check.ready{background:#14b8a614;border-color:#14b8a647}.export-check.ready span{color:#0f766e}.export-check.mock{background:#fffbebdb;border-color:#f59e0b47}.export-check.mock span{color:#b45309}.export-check.blocked{background:#fef2f2d1;border-color:#dc262638}.export-check.blocked span{color:#b91c1c}.backend-preview{background:#f8fafceb;border:1px solid #e2e8f0eb;border-radius:18px;gap:12px;padding:16px;display:grid}.backend-preview.loading{background:#7c3aed14;border-color:#7c3aed4d}.backend-preview.success{background:#14b8a614;border-color:#14b8a65c}.backend-preview.error{background:#fffbebeb;border-color:#f59e0b5c}.backend-preview-head{grid-template-columns:1fr auto;align-items:start;gap:12px;display:grid}.backend-preview p{color:var(--muted)}.backend-summary{background:#ffffffad;border:1px solid #e2e8f0d1;border-radius:14px;gap:8px;padding:12px 14px;display:grid}.backend-summary strong{color:var(--text-strong)}.backend-summary ul{color:var(--muted);margin:0;padding-left:18px}.validation-box{background:#fef2f2d6;border-color:#dc262638;gap:8px;padding:10px 12px;display:grid}.validation-box strong{color:#991b1b}.validation-box ul{color:#7f1d1d;margin:0;padding-left:18px}.review-list{gap:10px;display:grid}.review-list span{color:var(--muted);grid-template-columns:16px 1fr;align-items:start;gap:10px;padding:12px 14px;font-weight:600;display:grid}.preview-card,.check-card,.export-card,.side-note-card{background:#fffffff0}.side-note-card{box-shadow:none;border-style:dashed;gap:8px}.side-note-card p{color:var(--muted)}.preview-workbench{grid-template-columns:minmax(0,1.3fr) minmax(170px,.7fr);align-items:stretch;gap:10px;display:grid}.preview-stage{background-color:#f8fafc;background-image:linear-gradient(#94a3b82e 1px,#0000 1px),linear-gradient(90deg,#94a3b82e 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:20px 20px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border:1px solid #64748b57;border-radius:8px;place-items:center;padding:6px;display:grid}.preview-svg{width:100%;max-width:420px;height:auto;max-height:min(38dvh,330px);display:block}.preview-metrics{gap:8px;display:grid}.preview-metric,.preview-measure-list div{background:#f8fafce6;border:1px solid #e2e8f0e6;border-radius:7px}.preview-metric{gap:4px;padding:8px 10px;display:grid}.preview-metric.is-primary{background:#14b8a614;border-color:#14b8a657}.preview-metric.has-warning{background:#fffbebe6;border-color:#f59e0b61}.preview-metric span,.preview-measure-list span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:.74rem;font-weight:850;display:block}.preview-metric strong{color:var(--text-strong);font-size:1rem;line-height:1.1}.preview-metric small{color:var(--muted);font-weight:700;line-height:1.35}.preview-measure-list{gap:6px;display:grid}.preview-measure-list div{grid-template-columns:minmax(0,.8fr) auto;align-items:baseline;gap:8px;padding:7px 8px;display:grid}.preview-measure-list strong{color:var(--text-strong);text-align:right;white-space:nowrap;font-size:.9rem}.measure-line{stroke:#475569;stroke-dasharray:4 4;stroke-linecap:round;stroke-width:1.5px}.datum-line{fill:none;stroke:#94a3b8;stroke-width:1px}.center-line{stroke:#0f766e;stroke-dasharray:8 5 2 5;stroke-linecap:round;stroke-width:1.2px}.part-surface{fill:#e0f2fe;stroke:#0f172a;stroke-width:2px}.part-top{fill:#f8fafc}.part-bottom,.bracket-leg-b{fill:#bae6fd}.bracket-radius{fill:none;stroke:#0f766e;stroke-linecap:round;stroke-width:5px}.bracket-thickness-mark{fill:#0f766e2e;stroke:#0f766e73;stroke-width:1.2px}.bracket-note{fill:#ffffffe6;stroke:#0f766e47;stroke-width:1px}.bracket-side-view{fill:#dbeafe}.bracket-front-view{fill:#e0f2fe;stroke-width:2px}.bracket-ruler-line{fill:none;stroke:#64748b;stroke-width:1.1px}.bracket-ruler-tick{stroke:#64748b;stroke-linecap:round;stroke-width:1.1px}.bracket-hidden-edge{stroke:#0f172a6b;stroke-dasharray:4 4;stroke-linecap:round;stroke-width:1.1px}.preview-arrow-head{fill:#0284c7;stroke:none}.uclamp-foot{fill:#e0f2fe;stroke:#0f172a;stroke-width:1.8px}.uclamp-side-body{fill:#f8fafc}.uclamp-top-body{fill:#ecfccb;stroke:#65a30d}.uclamp-iso-face{stroke:#0f172a;stroke-linejoin:round;stroke-width:1.3px}.uclamp-hidden-edge{fill:none;stroke:#334155;stroke-dasharray:4 4;stroke-linecap:round;stroke-width:1.2px}.uclamp-measure{fill:none;stroke-linecap:round;stroke-width:1.8px}.uclamp-dimension-tick{stroke:#0369a1;stroke-linecap:round;stroke-width:2px}.uclamp-dimension-label-bg{fill:#e0f2fe;stroke:#0369a1;stroke-width:1.2px}.uclamp-dimension-label{fill:#075985}.uclamp-dim-inner-width{stroke:#0891b2}.uclamp-label-inner-width{fill:#0891b2}.uclamp-dim-inner-height{stroke:#2563eb}.uclamp-label-inner-height{fill:#2563eb}.uclamp-dim-wall{stroke:#ea580c}.uclamp-label-wall{fill:#ea580c}.uclamp-dim-foot-length{stroke:#7c3aed}.uclamp-label-foot-length{fill:#7c3aed}.uclamp-dim-foot-width{stroke:#65a30d}.uclamp-label-foot-width{fill:#65a30d}.uclamp-dim-overall-width{stroke:#db2777}.uclamp-label-overall-width{fill:#db2777}.uclamp-hole-cut{fill:#fff;stroke:#0f172a;stroke-width:2.2px}.uclamp-hole-index-label{fill:#0f172a}.uclamp-label-inner-width,.uclamp-label-inner-height,.uclamp-label-wall,.uclamp-label-foot-length,.uclamp-label-foot-width,.uclamp-label-overall-width{paint-order:stroke;stroke:#fff;stroke-linejoin:round;stroke-width:3px}.box-cavity{fill:#f8fafc;stroke:#0f172a;stroke-width:1.6px}.box-section{fill:#bae6fd}.cover-lip{fill:#14b8a61a;stroke:#0f766e;stroke-dasharray:5 4;stroke-width:1.5px}.cover-section-lip{fill:#bae6fd;stroke:#0f172a;stroke-width:1.5px}.clip-shell{fill:none;stroke:#0f172a;stroke-linecap:round}.clip-cable{fill:#f8fafc;stroke:#0f766e;stroke-width:1.8px}.clip-foot{fill:#bae6fd;stroke:#0f172a;stroke-width:1.8px}.clip-adhesive{fill:#0f766e1f;stroke:#0f766e;stroke-dasharray:4 3;stroke-width:1.4px}.clamp-lug{fill:#bae6fd;stroke:#0f172a;stroke-width:1.8px}.adapter-flange{fill:none;stroke:#0f766e;stroke-dasharray:5 4;stroke-width:1.6px}.adapter-section-flange{fill:#0f766e24;stroke:#0f766e;stroke-width:1.5px}.foot-pad{fill:#0f766e1a;stroke:#0f766e;stroke-dasharray:5 4;stroke-width:1.5px}.foot-pad-section{fill:#f8fafc;stroke:#0f766e;stroke-width:1.4px}.part-cut{fill:#f8fafc;stroke:#0f172a;stroke-width:1.8px}.hole-index-marker{fill:#0f766eeb;stroke:#f8fafc;stroke-width:1.8px}.hole-index-label{fill:#fff;dominant-baseline:central;pointer-events:none;text-anchor:middle;font-size:10px;font-weight:850}.hole-number-label{fill:#0f766e;pointer-events:none;font-size:10px;font-weight:850}.part-cut.muted{fill:#e2e8f0}.preview-label{fill:#334155;pointer-events:none;font-size:10px;font-weight:850}.origin-point{fill:#0f766e;stroke:#f8fafc;stroke-width:2px}.summary-row{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-row span{background:#f8fafceb;border:1px solid #e2e8f0e6;border-radius:8px;padding:8px 9px}.check-head,.preview-head{grid-template-columns:1fr auto;align-items:start}.check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.check-grid div{background:#f8fafce6;border:1px solid #e2e8f0e6;border-radius:18px;padding:16px}.check-grid ul{color:var(--muted);margin:12px 0 0;padding-left:18px}.print-check-summary,.print-check-list{gap:12px;display:grid}.print-check-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.print-check-card{background:#f8fafce6;border:1px solid #e2e8f0e6;border-radius:8px;grid-template-columns:22px 1fr;align-items:start;gap:12px;padding:10px;display:grid}.print-check-card>span{place-items:center;margin-top:2px;display:grid}.print-check-card strong,.print-check-list strong{color:var(--text-strong)}.print-check-label{width:fit-content;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px;font-size:.72rem;font-style:normal;font-weight:900;display:inline-flex}.print-check-card.ok .print-check-label{color:#0f766e}.print-check-card.warn .print-check-label{color:#b45309}.print-check-card p,.print-check-list p{color:var(--muted)}.print-check-card.ok{background:#14b8a614;border-color:#14b8a647}.print-check-card.ok>span{color:#0f766e}.print-check-card.warn{background:#fffbebe6;border-color:#f59e0b4d}.print-check-card.warn>span{color:#b45309}.print-check-list{grid-template-columns:repeat(2,minmax(0,1fr))}.print-check-list>div{background:#f8fafce6;border:1px solid #e2e8f0e6;border-radius:18px;padding:16px}.print-check-list ul{color:var(--muted);margin:10px 0 0;padding-left:18px}.completion-block{background:#f8fafcb8;border:1px solid #e2e8f0eb;border-radius:8px;gap:10px;padding:10px;display:grid}.completion-head{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;display:grid}.completion-grid{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:8px;display:grid}.export-name-field{background:#f8fafce6;border:1px solid #e2e8f0e6;border-radius:8px;padding:10px}.completion-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:2px;display:flex}.admin-panel{gap:12px;display:grid}.admin-panel-head{align-items:center}.admin-login-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;display:grid}.admin-actions{justify-content:flex-start}.admin-token-note{color:var(--muted);margin:0}.admin-stat-card,.admin-stat-table-wrap{background:#f8fafcd1;border:1px solid #e2e8f0e6;border-radius:8px;padding:10px}.admin-stat-card small{color:var(--muted);margin-bottom:4px;display:block}.admin-stat-card strong{font-size:1.15rem}.admin-stat-table-wrap ul{margin:8px 0 0;padding-left:18px}.button-inline{width:fit-content}@media (width<=1080px){.workspace-head,.workspace-grid,.summary-row,.completion-summary,.preview-workbench,.check-grid,.print-check-summary,.print-check-list,.form-grid,.compact-field-grid,.hole-list-head,.completion-grid,.completion-head,.wizard-focus,.number-slider-pair,.template-grid{grid-template-columns:1fr}.wizard-actions{flex-direction:column-reverse;align-items:stretch}.wizard-actions .button-inline,.backend-preview-head .button-inline,.completion-actions .button-inline{width:100%}.stepper{justify-content:flex-start}.completion-actions{justify-content:stretch}.backend-preview-head{grid-template-columns:1fr}}@media (width<=720px){html,body{overflow-x:hidden}.app-shell{height:auto;min-height:100dvh;padding:14px;overflow:visible}.workspace{border-radius:22px;min-height:0;padding:16px;overflow-y:visible}h1,h2,h3,.panel-kicker{overflow-wrap:anywhere;word-break:break-word}.app-topbar{flex-wrap:wrap;row-gap:8px}.topbar-brand,.topbar-actions{flex-wrap:wrap;row-gap:6px}.builder-panel,.preview-column,.panel-card,.workspace-head,.wizard-focus{min-width:0;max-width:100%}h1{font-size:clamp(1.2rem,4.5vw,1.6rem)}h2{font-size:1.05rem}.panel-card{padding:16px}.export-target-summary{padding:12px}.export-target-summary>div{grid-template-columns:1fr;gap:0}.export-target-summary span{border-top:1px solid #e2e8f0d9;padding:10px 0}.export-target-summary span:first-child{border-top:0;padding-top:0}.secondary-dimensions summary{grid-template-columns:24px minmax(0,1fr)}.secondary-dimensions summary output{white-space:normal;grid-column:2;justify-self:start}}.hero-shell{background:linear-gradient(135deg,#fffffffa,#eef3f8f5),linear-gradient(90deg,#2f6fed0a,#1f8a7008);border:1px solid #2f6fed1f;border-radius:14px;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);align-items:stretch;gap:14px;margin-bottom:12px;padding:14px;display:grid}.hero-copy,.footer-badges,.admin-stats-stack,.admin-detail-grid,.feedback-admin-list,.feedback-form-grid,.modal-head,.modal-actions,.brandmark,.partner-badge,.admin-subhead-row,.wizard-focus-aside,.admin-system-grid,.hero-inline-tools{gap:12px;display:grid}.hero-copy{gap:6px}.hero-title-block h1{margin:0;font-size:clamp(1.28rem,2vw,1.72rem);line-height:1.04}.hero-title-block p,.app-footer p,.modal-head p,.micro-panel p,.wizard-focus-aside ul,.maker-notes-card ul{color:var(--muted);margin:0}.footer-badges,.admin-alert-strip,.feedback-helper-box,.brandmark,.partner-badge,.admin-subhead-row,.modal-actions,.hero-feedback-strip{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.beta-banner,.micro-panel,.app-footer,.system-status-card,.feedback-admin-item,.modal-card,.feedback-helper-box,.admin-alert-strip,.partner-badge,.hero-feedback-strip{background:#ffffffe0;border:1px solid #94a3b838;border-radius:12px}.beta-banner,.micro-panel,.system-status-card,.feedback-admin-item,.feedback-helper-box,.admin-alert-strip,.partner-badge,.hero-feedback-strip{padding:12px}.micro-panel{display:grid}.beta-banner{background:#c9861a14;grid-template-columns:18px 1fr;gap:10px;display:grid}.health-banner{color:var(--text);background:#c4323214;border:1px solid #c4323273;border-radius:10px;grid-template-columns:18px 1fr;align-items:start;gap:10px;margin:0 0 18px;padding:12px 14px;font-size:.9rem;display:grid}.health-banner strong{margin-bottom:2px;font-weight:700;display:block}.health-banner code{background:#00000014;border-radius:4px;padding:0 4px;font-size:.85em}.hero-inline-tools{align-content:center}.hero-feedback-strip{color:var(--muted);justify-content:space-between;font-size:.92rem}.hero-kicker{color:var(--accent-strong);letter-spacing:.1em;text-transform:uppercase;margin-bottom:6px;font-size:.76rem;font-weight:800;display:inline-flex}.hero-value-strip{flex-wrap:wrap;gap:8px;display:flex}.hero-value-strip span{color:var(--text-strong);background:#ffffffd1;border:1px solid #5b7c9938;border-radius:999px;align-items:center;padding:.42rem .62rem;font-size:.84rem;font-weight:700;display:inline-flex}.hero-feedback-strip span{font-weight:700}.brandmark strong{letter-spacing:-.02em;font-size:1rem}.brandmark small,.partner-badge small,.feedback-admin-item small,.system-status-card small,.admin-token-note,.empty-note{color:var(--muted)}.brandmark-icon{flex:none;width:64px;height:38px}.brandmark>div{gap:2px;display:grid}.brandmark--compact{align-items:center;gap:12px;display:inline-flex}.brandmark--compact .brandmark-icon{width:56px;height:36px}.brandmark--compact strong{letter-spacing:-.018em;color:var(--text-strong);font-size:1.18rem;font-weight:800}.footer-legal{color:var(--muted);align-items:center;gap:8px;margin-top:14px;font-size:.88rem;display:flex}.footer-link{appearance:none;color:var(--muted);font:inherit;cursor:pointer;text-underline-offset:3px;background:0 0;border:0;padding:0;text-decoration:underline}.footer-link:hover{color:var(--text)}.legal-page{max-width:760px;margin:0 auto;padding:28px 24px 56px}.legal-route-head{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px;display:flex}.legal-route-head h1{letter-spacing:-.015em;margin:4px 0 0;font-size:1.8rem}.legal-content{color:var(--text);gap:22px;font-size:.96rem;line-height:1.55;display:grid}.legal-content section{gap:8px;display:grid}.legal-content h2{letter-spacing:-.01em;margin:0;font-size:1.05rem}.legal-content p,.legal-content ul{color:var(--text);margin:0}.legal-content ul{gap:6px;padding-left:18px;display:grid}.legal-content code{background:#0000000f;border-radius:4px;padding:0 4px;font-size:.85em}.legal-content a{color:var(--accent-strong)}.brandmark-frame{fill:#ffffffdb;stroke:#15233424;stroke-width:1.5px}.brandmark-line{fill:none;stroke-linecap:round;stroke-width:4.5px}.brandmark-line--full{stroke:#152334}.brandmark-line--mid{stroke:#355c7d}.brandmark-line--short{stroke:#6d7f92}.brandmark-spine,.brandmark-arm{stroke:#15233457;stroke-width:3px;stroke-linecap:round}.brandmark-arm--strong{stroke-width:3.6px}.brandmark-node{fill:#152334}.brandmark-joint{fill:#355c7d}.partner-badge-mark{color:#fff;background:0 0;border-radius:10px;place-items:center;width:42px;height:42px;font-weight:800;display:inline-grid}.partner-badge-frame{fill:#edf3f8;stroke:#1e3a5f33;stroke-width:1.5px}.partner-badge-glyph{fill:#1e3a5f}.partner-badge-word{fill:#2f6fed;font-family:Inter,sans-serif;font-size:10px;font-weight:900}.partner-badge-word--wide{fill:#1e3a5f;font-size:16px}.wizard-focus{grid-template-columns:minmax(0,1fr);gap:8px}.wizard-focus-aside{align-content:start}.wizard-focus-aside ul,.maker-notes-card ul{padding-left:18px}.export-utility-row{flex-wrap:wrap}.admin-alert-strip{background:#ef44440f}.admin-system-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.system-status-card strong,.admin-stat-card strong{display:block}.admin-stats-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.accent-card{background:#2f6fed14}.admin-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,1.4vw,14px);display:grid}.admin-stat-table-wrap.wide{grid-column:1/-1}.usage-table{gap:8px;display:grid}.usage-table-head,.usage-table-row{grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(48px,.6fr));align-items:center;gap:10px;display:grid}.usage-table-head{text-transform:uppercase;color:var(--muted);font-size:.8rem}.usage-table-row{border-top:1px solid #94a3b82e;padding:10px 0}.feedback-admin-wrap{gap:10px;display:grid}.feedback-admin-item.is-bugreport{border-color:#ef444438}.feedback-admin-item.is-feedback{border-color:#14b8a638}.feedback-admin-meta{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.inline-link-with-icon{align-items:center;gap:6px;display:inline-flex}.app-footer{grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:10px;padding:10px 12px;display:grid}.maker-notes-card ul{margin:0}.modal-backdrop{z-index:50;background:#0f172a85;place-items:center;padding:18px;display:grid;position:fixed;inset:0;overflow-y:auto}.modal-card{width:min(720px,100%);max-height:calc(100dvh - 36px);padding:16px;overflow-y:auto;box-shadow:0 28px 80px #0f172a42}.feedback-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feedback-field-wide{grid-column:1/-1}.feedback-form-grid textarea,.feedback-form-grid select{border:1px solid var(--border);width:100%;font:inherit;background:#ffffffeb;border-radius:8px;padding:.72rem .8rem}.soft-success{color:#0f766e;font-weight:600}@media (width<=980px){.hero-shell,.workspace-grid,.admin-detail-grid,.app-footer,.wizard-focus,.feedback-form-grid{grid-template-columns:1fr}.hero-feedback-strip{justify-content:flex-start}}.button-small{padding:.5rem .72rem}.admin-route-head,.admin-layout,.admin-login-head,.admin-dashboard-head,.admin-route-meta{gap:12px;display:grid}.admin-route-head{grid-template-columns:minmax(0,1fr) auto;align-items:end;margin-bottom:16px}.admin-layout{grid-template-columns:minmax(320px,.9fr) minmax(0,1.4fr);align-items:start}.admin-login-card,.admin-dashboard-card{gap:14px}.admin-login-head{grid-template-columns:minmax(0,1fr) auto;align-items:start}.admin-setup-note{color:#92400e;background:#f59e0b14;border:1px solid #f59e0b38;border-radius:999px;align-items:center;gap:8px;width:fit-content;padding:.52rem .72rem;font-size:.9rem;font-weight:650;display:inline-flex}.admin-route-meta{color:var(--muted);font-size:.88rem}.footer-admin-link{color:var(--muted);font:inherit;text-underline-offset:3px;background:0 0;border:0;place-self:end;font-size:.88rem;text-decoration:underline}.partner-badge{min-width:220px;padding:10px 12px}.partner-badge-mark{background:0 0;width:48px;height:48px}.partner-badge-icon{width:48px;height:48px;display:block}.partner-badge strong{margin-bottom:2px;display:block}.partner-badge small{line-height:1.35;display:block}.app-footer{align-items:end}@media (width<=980px){.admin-layout,.admin-route-head,.admin-login-head,.app-footer{grid-template-columns:1fr}.footer-admin-link{justify-self:start}}.admin-smtp-status{gap:10px;display:grid}.smtp-status-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;padding:8px 0 4px;display:grid}.smtp-status-grid>div{gap:2px;display:grid}.smtp-status-grid small{color:var(--muted);font-size:.78rem}.smtp-status-last{color:var(--text);font-size:.86rem}.admin-smtp-status .ghost-button{justify-self:start}
