
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#28352f;background:#f6f5f0;font-synthesis:none;--accent:#b9532b;--border:#dfdfd6;--muted:#72796e;--paper:#fbfaf6}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #bb633c;outline-offset:3px}button{color:inherit}button:disabled{cursor:default;opacity:.4}.app-header{height:88px;border-bottom:1px solid var(--border);padding:0 38px;display:flex;align-items:center;justify-content:space-between;background:var(--paper)}.brand{display:flex;gap:12px;color:#293c31;text-decoration:none;align-items:center;font-size:24px;font-weight:750;letter-spacing:-1px}.brand svg{width:36px;height:36px;fill:#c86438}.brand .inner{fill:var(--paper)}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;font-weight:650;letter-spacing:1.8px;margin-top:3px;color:#787e72}.header-right{display:flex;align-items:center;gap:28px}.preview-tag{display:flex;align-items:center;gap:7px;border:1px solid #dcded4;border-radius:25px;padding:7px 11px;font-size:11px;font-weight:600}.preview-tag i,.live-pill i{width:6px;height:6px;border-radius:50%;background:#4c7b60}.header-note{font-size:12px;color:#6e776d}.workspace{display:grid;grid-template-columns:405px minmax(0,1fr);min-height:calc(100vh - 88px)}.config-panel{padding:30px 28px 22px;background:var(--paper);border-right:1px solid var(--border)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#848779}.intro .eyebrow{color:#b35b34}h1{font-size:29px;line-height:1.17;letter-spacing:-1px;margin:12px 0}.intro p{font-size:12px;color:#7c8073;margin:0 0 29px}.config-section{border-top:1px solid var(--border);padding:21px 0 18px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-heading h2{font-size:13px;margin:0;font-weight:650}.section-heading h2>span{color:#a5aa9c;font-family:monospace;font-size:10px;margin-right:9px}.unit-tag{font-size:8px;letter-spacing:.9px;color:#969b90}.count-line{display:flex;justify-content:space-between;align-items:center;font-size:12px}.stepper{display:flex;border:1px solid #d8dbd0;border-radius:5px;height:32px;background:#fff}.stepper button{border:0;background:none;width:30px;font-size:17px}.stepper input{width:36px;border:0;text-align:center;background:transparent;font-size:12px;appearance:textfield}.stepper input::-webkit-inner-spin-button{appearance:none}.hint{font-size:10px;color:#7d8578;line-height:1.6;margin:10px 0 15px}.socket-table{width:100%}.table-head,.socket-row{display:grid;grid-template-columns:23px 1fr 1fr 1.22fr;gap:8px;align-items:center}.table-head{font-size:9px;color:#899080;margin-bottom:8px}.socket-row{margin-bottom:7px}.socket-row>span{font:10px monospace;color:#a0a697}.socket-row input{width:100%;min-width:0;height:33px;background:#f6f6f0;border:1px solid #e1e4d8;border-radius:4px;padding:7px 8px;font-size:11px;color:#344238}.socket-row input:focus{background:#fff}.socket-row input[aria-invalid=true]{border-color:#bf6042;background:#fff0e8}.socket-row input[type=number]{appearance:textfield}.socket-row input::-webkit-inner-spin-button{appearance:none}.text-button{background:none;border:0;padding:7px 0 0;font-size:11px;font-weight:600;color:#a7512d}.text-button span{font-weight:400;font-size:9px;color:#92988a;margin-left:5px}.base-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.base-card{position:relative;border:1px solid #dfe2d6;border-radius:6px;background:#f7f7f1;text-align:left;padding:13px}.base-card svg{display:block;width:34px;height:27px;stroke:#7e8c77;stroke-width:1.3;fill:none;margin-bottom:10px}.base-card strong{font-size:11px;font-weight:650;display:block}.base-card small{font-size:9px;color:#89917d;display:block;margin-top:5px}.base-card.selected{border-color:#6d8472;background:#edf1e7}.base-card.selected svg{stroke:#4c6f55}.radio-dot{position:absolute;right:12px;top:13px;width:10px;height:10px;border:1px solid #b7c0ae;border-radius:50%}.selected .radio-dot{border:3px solid #52735c;background:#f5f7ef}.config-section>.hint:last-child{margin-bottom:0}.quiet-button{padding:0;border:0;background:none;color:#8c9383;font-size:9px;text-decoration:underline;text-underline-offset:3px}.color-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin:0 0 11px}.color-heading strong{font-weight:500}.custom-color{display:flex;gap:6px;align-items:center;font-size:9px;color:#8b9281;font-family:monospace;cursor:pointer}.custom-color input{width:17px;height:17px;padding:0;border:0;background:none;cursor:pointer}.custom-color input::-webkit-color-swatch-wrapper{padding:0}.custom-color input::-webkit-color-swatch{border-radius:3px;border:1px solid #b8c0ad}.swatches{display:flex;gap:9px;margin-bottom:22px;flex-wrap:wrap}.swatches:last-child{margin-bottom:0}.swatch{width:25px;height:25px;min-width:25px;border-radius:50%;border:1px solid #00000014;position:relative}.swatch.selected:after{content:"";position:absolute;inset:-4px;border:1.5px solid #6f8268;border-radius:50%}.settings-note{display:flex;align-items:flex-start;gap:10px;border-top:1px solid var(--border);padding-top:20px}.settings-note svg{width:19px;height:19px;stroke:#9ca48f;fill:none;stroke-width:1.3;flex-shrink:0}.settings-note p{font-size:10px;color:#6d7965;margin:0;line-height:1.7}.settings-note p span{font-size:9px;color:#949c88}.reset-all{background:none;border:0;padding:17px 0 0;color:#8a9381;font-size:10px}.preview-panel{position:sticky;top:0;height:calc(100vh - 88px);min-height:660px;overflow:hidden;background:radial-gradient(ellipse at 55% 40%,#f3f4ec 0%,#e8ece2 65%,#e1e6da 100%)}.viewer-top{position:absolute;top:34px;left:34px;right:30px;display:flex;align-items:center;justify-content:space-between;z-index:2;pointer-events:none}.viewer-top h2{font-size:21px;letter-spacing:-.6px;font-weight:500;margin:8px 0 0}.live-pill{display:flex;align-items:center;gap:6px;padding:7px 9px;background:#f7f8f180;border:1px solid #d8dfcf;border-radius:20px;font-size:9px;white-space:nowrap;color:#6b7e5f}.live-pill.invalid{color:#a64c30}.live-pill.invalid i{background:#b85939}#viewer{position:absolute;inset:90px 0 172px;touch-action:none}#viewer canvas{display:block;width:100%;height:100%;outline:none}.viewer-tools{position:absolute;top:115px;left:34px;right:30px;display:flex;justify-content:space-between;z-index:3;gap:10px;pointer-events:none}.viewer-tools>*{pointer-events:auto}.view-buttons,.tool-buttons{display:flex;gap:2px;padding:4px;border:1px solid #d2dacb;background:#f9faf4e6;border-radius:6px}.view-buttons button,.tool-buttons button{border:0;background:none;font-size:10px;padding:6px 10px;border-radius:3px;color:#7c8872}.view-buttons button.active{background:#e1e7d9;color:#385137;font-weight:650}.tool-buttons button:first-child{font-size:16px;padding:2px 7px}.tool-buttons button[aria-pressed=true]{color:#3c5d40;background:#e1e7d9}.viewer-help{position:absolute;bottom:152px;left:0;right:0;display:flex;justify-content:center;gap:22px;font-size:9px;color:#8d9881;pointer-events:none}.measurement-bar{position:absolute;bottom:40px;left:30px;right:30px;display:grid;grid-template-columns:.7fr 1.5fr 1fr;background:#f9faf4ed;border:1px solid #d5ddcb;border-radius:9px;padding:23px 7px;box-shadow:0 6px 20px #44583005}.measurement-bar>div{padding:0 20px;border-right:1px solid #e0e5d9}.measurement-bar>div:last-child{border:0}.measurement-bar span{font-size:8px;letter-spacing:1px;color:#8d987f;font-weight:650;display:block;margin-bottom:10px}.measurement-bar strong{font-size:21px;font-weight:500;letter-spacing:-.5px;white-space:nowrap}.measurement-bar small{font-size:10px;letter-spacing:0;color:#8d987f;font-weight:400}.preview-footer{position:absolute;bottom:15px;left:32px;right:32px;display:flex;justify-content:space-between;font-size:8px;color:#939d87;gap:10px}#validation{position:absolute;left:34px;right:30px;bottom:183px;padding:12px 15px;background:#fff4e7f5;border:1px solid #e4bb9c;border-radius:5px;color:#984829;font-size:11px;z-index:4;line-height:1.5}#renderer-fallback{position:absolute;inset:35% 12%;text-align:center;color:#64745d;font-size:13px;line-height:1.6}#renderer-fallback[hidden]{display:none}
@media(min-width:1500px){.workspace{grid-template-columns:445px minmax(0,1fr)}.config-panel{padding-left:38px;padding-right:38px}.viewer-top,.viewer-tools{left:46px;right:42px}.measurement-bar{left:42px;right:42px}}@media(max-width:1050px){.workspace{grid-template-columns:355px minmax(0,1fr)}.config-panel{padding:24px 20px}.viewer-top{left:20px;right:20px}.viewer-top h2{font-size:18px}.live-pill{display:none}.viewer-tools{left:20px;right:20px;flex-wrap:wrap}.measurement-bar{left:15px;right:15px;padding:19px 0}.measurement-bar>div{padding:0 12px}.measurement-bar strong{font-size:16px}.measurement-bar small{font-size:8px}.measurement-bar span{font-size:7px;letter-spacing:.6px}.viewer-help{gap:12px}.preview-footer{left:17px;right:17px}.preview-footer span:last-child{display:none}}
@media(max-width:740px){.app-header{height:73px;padding:0 20px}.brand{font-size:22px}.brand svg{width:30px}.header-note{display:none}.workspace{display:flex;flex-direction:column}.preview-panel{order:-1;position:relative;height:540px;min-height:540px;top:auto}.viewer-top{top:22px}.viewer-tools{top:91px}.viewer-top h2{font-size:20px}#viewer{inset:65px 0 140px}.viewer-help{bottom:132px}.measurement-bar{bottom:32px;padding:17px 0}.measurement-bar strong{font-size:18px}.measurement-bar span{font-size:8px}.preview-footer{bottom:11px;font-size:7px}.config-panel{border-right:0;padding:25px 24px;max-width:650px;width:100%;margin:auto}.intro h1 br{display:none}.intro h1{font-size:25px}.intro p{margin-bottom:22px}.live-pill{display:flex}#validation{bottom:158px;left:15px;right:15px}.settings-note p{font-size:11px}.socket-row input{height:38px;font-size:12px}.table-head{font-size:10px}.socket-row{gap:10px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media(max-width:380px){.app-header{padding:0 16px}.brand{font-size:20px;gap:8px}.brand small{font-size:7px;letter-spacing:1.2px}.preview-tag{white-space:nowrap;font-size:9px;padding:6px 8px}.viewer-top h2{font-size:18px;line-height:1.2;max-width:240px}.viewer-top .live-pill{display:none}.viewer-tools{top:100px}.measurement-bar>div{padding:0 9px}.measurement-bar strong{font-size:16px}}
.selected-color{font-size:9px;color:#6d7b64;margin:-13px 0 19px}.palette-note{font-size:9px;line-height:1.6;color:#8b9380;margin:5px 0 0}.palette-note a{color:#718166;text-underline-offset:2px}

.option-line{display:flex;gap:10px;align-items:flex-start;margin:15px 0 3px;font-size:11px;color:#4e6144}.option-line[hidden]{display:none}.option-line input{accent-color:#688443;margin:2px 0}.option-line small{display:block;margin-top:4px;font-size:10px;color:#88937f}.field-label{display:flex;justify-content:space-between;font-size:11px;color:#52624a;margin:15px 0 8px}.field-label span,.personal-size span{color:#8c9783;font-size:10px}.wide-input{width:100%;border:1px solid #d9dfd1;border-radius:5px;padding:11px 12px;background:#fff;color:#334a2d;font:inherit;font-size:12px;box-sizing:border-box}.wide-input:focus,.personal-size input:focus{outline:2px solid #8ba567;outline-offset:2px}.wide-input::placeholder{color:#a1a895}.wide-input textarea,textarea.wide-input{resize:vertical;line-height:1.5}.personal-size{display:flex;align-items:center;justify-content:space-between;margin:15px 0;font-size:11px;color:#52624a}.personal-size input{width:88px;background:#fff;border:1px solid #d9dfd1;border-radius:5px;padding:9px;color:#334a2d;font:inherit}.fit-warning{color:#985b23!important}.download-primary,.download-secondary{display:flex;width:100%;justify-content:space-between;align-items:center;padding:13px 14px;border-radius:5px;font:inherit;font-size:12px;cursor:pointer}.download-primary{background:#476637;color:white;border:1px solid #476637;margin-top:18px}.download-secondary{background:transparent;color:#526a44;border:1px solid #c7d2bd;margin-top:9px}.download-primary span,.download-secondary span{font-size:9px;letter-spacing:.8px;opacity:.8}.download-primary:hover{background:#365225}.download-secondary:hover{background:#edf2e6}.download-primary:disabled{opacity:.55;cursor:wait}.worksheet-link{display:flex;justify-content:space-between;color:#60784f;font-size:11px;text-underline-offset:3px;padding:15px 0 5px}.worksheet-link span{font-size:9px;color:#8c9783}.request-section>.hint{line-height:1.7}.request-section #export-status{font-size:10px;margin-top:13px}

/* Individual text sizes */
.table-head,.socket-row{grid-template-columns:18px .95fr .95fr 1.2fr 52px;gap:5px}.socket-row input{padding-left:5px;padding-right:4px}.personal-size select{font:inherit;padding:8px;border:1px solid #d9dfd1;border-radius:5px;background:white;color:#334a2d}.personal-size[hidden]{display:none}.personal-entry+.personal-entry{border-top:1px solid var(--border);margin-top:12px}.personal-entry .personal-size{margin:9px 0 14px}
.request-options{padding-left:18px;margin:16px 0;font-size:11px;line-height:1.65;color:#626f60}.request-options li+li{margin-top:12px}.request-options strong{display:block;font-weight:650;color:#344238}
.intro p{margin-bottom:12px}.guide-open{border:1px solid #cad5c0;background:#edf2e6;color:#39522f;border-radius:5px;padding:10px 13px;font-size:12px;font-weight:600;margin:0 0 24px}.section-actions{display:flex;gap:12px;align-items:center}.request-options a,.email-settings,.order-guide a{color:#476637;text-underline-offset:3px;overflow-wrap:anywhere}.email-settings{display:block;text-align:center;font-size:12px;font-weight:650;padding:16px 0 5px}.order-guide{width:min(580px,calc(100% - 32px));max-height:90vh;max-height:90dvh;margin:auto;padding:26px;border:1px solid #cad4bf;border-radius:12px;background:#fbfaf6;color:#28352f;box-shadow:0 18px 70px #17231540;overflow:auto}.order-guide::backdrop{background:#24332988;backdrop-filter:blur(3px)}.guide-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.guide-heading p{margin:0}.order-guide h2{font-size:24px;line-height:1.2;margin:18px 0}.order-guide p,.order-guide li{font-size:14px;line-height:1.65}.order-guide ol{padding-left:22px}.order-guide li+li{margin-top:12px}.guide-choice,.rounding-example{border:1px solid #d8e0ce;border-radius:7px;background:#f0f4e9;padding:15px;margin:16px 0}.guide-choice p{margin:6px 0 10px}.guide-choice p:last-child{margin-bottom:0}.guide-choice a{font-size:14px}.rounding-example p{margin-bottom:0}.guide-navigation{position:sticky;bottom:-26px;display:flex;justify-content:space-between;gap:14px;margin:22px -2px -2px;padding:15px 0 2px;background:#fbfaf6}.guide-button{font-size:13px;padding:10px 20px;border:1px solid #b9c8ae;border-radius:5px;background:white}.guide-next{background:#476637;color:white;border-color:#476637}.order-guide [hidden]{display:none}@media(max-width:480px){.order-guide{padding:20px}.guide-navigation{bottom:-20px}.section-actions{gap:9px}.quiet-button{font-size:10px}}

.setup-actions{display:flex;flex-wrap:wrap;gap:8px}.setup-actions button{border:1px solid #c9d3c4;border-radius:5px;padding:8px 11px;background:#fff;font-size:12px;color:#3b5241}.setup-actions #clear-all{background:#edf2e6;border-color:#aabda2;font-weight:650}.setup-actions button:hover{border-color:#6b8a72}#preview-empty{position:absolute;z-index:3;left:50%;top:46%;transform:translate(-50%,-50%);width:max-content;max-width:80%;margin:0;padding:12px 16px;border:1px solid #cfd9c7;border-radius:6px;background:#fbfaf6;color:#425444;text-align:center;font-size:13px;line-height:1.5;pointer-events:none}
