:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182a38;background:#f6f9fc;font-synthesis:none;--blue:#00a3e0;--line:#e2e9ef;--muted:#61717f;--ink:#172e3e}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,a:focus-visible,.upload-zone:focus-within{outline:3px solid #008bbc;outline-offset:4px}button{color:inherit}button:disabled{cursor:default}button,input{touch-action:manipulation}.masthead{height:82px;padding:0 34px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:18px;color:var(--ink);text-decoration:none;font-size:21px;font-weight:650;letter-spacing:-.6px}.brand img{height:43px;width:49px;object-fit:contain}.header-note{font-size:14px;color:var(--muted)}.workspace{display:grid;grid-template-columns:350px minmax(0,1fr);min-height:calc(100dvh - 82px)}.controls{background:#fff;padding:30px 26px 25px;border-right:1px solid var(--line);z-index:2;max-height:calc(100dvh - 82px);overflow-y:auto;scrollbar-width:thin}.eyebrow{font-size:11px;font-weight:750;letter-spacing:1.8px;color:#0087b8}h1{margin:12px 0 11px;font-size:32px;line-height:1.13;letter-spacing:-1.1px;font-weight:620}.section-heading p{font-size:14px;line-height:1.55;color:var(--muted);margin:0 0 27px}.control-section{padding:21px 0;border-top:1px solid var(--line)}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}h2{font-size:15px;font-weight:650;margin:0}.step{font-size:12px;color:#8d9aa6;font-variant-numeric:tabular-nums}.segmented{display:flex;border:1px solid var(--line);background:#f5f8fa;border-radius:9px;padding:3px;gap:3px}.segmented button{border:0;flex:1;background:transparent;padding:9px;border-radius:6px;font-size:14px}.segmented .selected{background:#fff;box-shadow:0 1px 5px #1f394414;color:#006e9a;font-weight:650}.check-row{display:flex;align-items:center;gap:9px;font-size:13px;margin-top:15px}.check-row input{width:17px;height:17px;accent-color:var(--blue);margin:0}.upload-zone{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;border:1.5px dashed #b6cbd8;border-radius:10px;padding:21px 12px 18px;background:#f8fbfd;text-align:center;cursor:pointer;transition:.18s}.upload-zone:hover,.upload-zone.drag-over{border-color:var(--blue);background:#edf9ff}.upload-icon{font-size:27px;font-weight:350;color:#008fc5;line-height:1}.upload-zone strong{font-size:15px}.upload-zone>span:not(.upload-icon){font-size:12px;color:var(--muted)}.upload-zone input{position:absolute;width:1px;height:1px;opacity:0}.upload-zone .upload-action{background:var(--blue);color:#fff!important;font-size:13px!important;font-weight:650;border-radius:7px;padding:10px 17px;margin-top:5px}.privacy-note{font-size:12px;color:#788893;line-height:1.4;margin:11px 0 18px}.file-detail{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:11px}.file-detail[hidden]{display:none}.file-detail span{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text-button{border:0;padding:4px 0;background:none;font-size:12px;color:#0079a6}.error{color:#a42d24;font-size:13px;line-height:1.5}.row-label{display:flex;justify-content:space-between;align-items:center;font-size:13px}.row-label output{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}fieldset{border:0;margin:0;padding:0;min-width:0}fieldset:disabled{opacity:.42}input[type=range]{width:100%;accent-color:var(--blue);margin:10px 0 13px;height:16px}.fit-actions{display:flex;gap:6px;margin-bottom:19px}.fit-actions button{background:#fff;border:1px solid var(--line);border-radius:6px;padding:7px 9px;font-size:12px;flex:1;white-space:nowrap}.fit-actions button:hover:not(:disabled){background:#f1f8fc;border-color:#93c9df}.position-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.position-grid input{margin-bottom:0}.color-row{display:flex;align-items:center;justify-content:space-between}.swatches{display:flex;gap:10px}.swatch{border:1px solid #b8c4cc;width:27px;height:27px;border-radius:50%;background:var(--swatch);padding:0;position:relative}.swatch.chosen:after{content:"";position:absolute;inset:-4px;border-radius:50%;border:1.5px solid #637c8b}.custom-color{display:flex;align-items:center;gap:7px;padding:5px 7px;border:1px solid var(--line);border-radius:5px}.custom-color input{width:22px;height:22px;border:0;padding:0;background:transparent;cursor:pointer}.custom-color span{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}.reset-design{border:0;background:none;font-size:13px;color:#6e7e8b;padding:3px 0}.reset-design:hover{color:var(--ink)}.stage{position:relative;min-width:0;min-height:700px;height:calc(100dvh - 82px);background:radial-gradient(ellipse at 47% 37%,#fff 0%,#f0f5f9 55%,#e6eff5 100%);overflow:hidden}.stage-topline{position:absolute;top:29px;left:30px;right:30px;display:flex;justify-content:space-between;align-items:center;z-index:1;pointer-events:none}.view-label{font-size:11px;letter-spacing:1.8px;color:#617b8d;font-weight:650}.model-name{font-size:13px;color:#738896}.stage model-viewer{width:100%;height:calc(100% - 85px);position:absolute;top:12px;--poster-color:transparent;background:transparent;outline:none}.stage-bottom{position:absolute;bottom:29px;left:30px;right:30px;display:flex;flex-direction:column;align-items:center;gap:13px;z-index:3;pointer-events:none}.stage-hint{font-size:12px;color:#738896;margin:0}.stage-hint span{margin:0 8px;color:#9caab3}.view-controls{pointer-events:auto;display:flex;gap:2px;padding:4px;background:#ffffffea;border:1px solid #dbe5ed;border-radius:10px;box-shadow:0 3px 10px #193d5410}.view-controls button{border:0;background:transparent;border-radius:7px;font-size:13px;padding:10px 16px;white-space:nowrap}.view-controls button:hover{background:#f2f7fb}.view-controls .active{background:#e9f7fd;color:#007bad;font-weight:600}.model-status{position:absolute;top:44%;left:0;right:0;text-align:center;color:#6b8190;font-size:14px;pointer-events:none}.model-status:empty{display:none}.model-progress{position:absolute;top:0;width:100%;height:3px;background:transparent}.model-progress span{display:block;height:100%;background:var(--blue);width:0;transition:width .2s}.model-error{position:absolute;inset:34% 12% auto;text-align:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:25px;box-shadow:0 10px 50px #22476112}.model-error p{font-size:14px;color:var(--muted)}.model-error button{background:var(--blue);border:0;border-radius:7px;color:#fff;padding:11px 17px}.flat-preview{position:absolute;right:25px;bottom:135px;width:108px;padding:10px 10px 12px;background:#ffffffdc;border:1px solid #d9e4ec;border-radius:9px;box-shadow:0 4px 18px #2b4c6010;z-index:2}.flat-preview-heading{display:flex;flex-direction:column;gap:4px;margin-bottom:9px}.flat-preview-heading>span{font-size:11px;font-weight:600}.flat-note{display:none!important}#panel-preview{display:block;width:70px;height:auto;margin:auto;border:1px solid #d3dde5;border-radius:3px;cursor:grab;touch-action:none}#panel-preview:active{cursor:grabbing}.sr-only{position:absolute!important;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}
@media(min-width:1550px){.workspace{grid-template-columns:390px 1fr}.controls{padding:34px 34px}.stage model-viewer{left:0;width:calc(100% - 40px)}.flat-preview{width:145px;right:32px}#panel-preview{width:92px}.flat-preview-heading>span{font-size:12px}.flat-note{display:block!important;font-size:10px!important;color:var(--muted);font-weight:400!important}}
@media(max-width:1000px){.workspace{grid-template-columns:310px minmax(0,1fr)}.controls{padding:24px 20px}.stage-topline{left:22px;right:22px}.model-name{display:none}.flat-preview{right:15px;width:82px;padding:8px}#panel-preview{width:54px}.view-controls button{padding:9px 10px;font-size:12px}.stage-bottom{left:15px;right:15px}.stage-hint{font-size:11px}}
@media(max-width:720px){.masthead{height:68px;padding:0 19px}.brand{font-size:19px;gap:12px}.brand img{height:35px;width:39px}.header-note{font-size:12px}.workspace{display:flex;flex-direction:column;min-height:0}.stage{order:0;height:57dvh;min-height:420px;max-height:620px;width:100%;border-bottom:1px solid var(--line)}.controls{order:1;max-height:none;overflow:visible;border-right:0;padding:26px 24px 32px}.section-heading h1{font-size:27px;line-height:1.2}.section-heading h1 br{display:none}.section-heading h1 br:after{content:' '}.section-heading p{margin-bottom:23px}.stage-topline{top:20px}.stage model-viewer{top:0;height:calc(100% - 68px)}.stage-bottom{bottom:17px;gap:9px}.stage-hint{font-size:11px}.view-controls button{font-size:12px;padding:8px 14px}.flat-preview{bottom:106px;right:14px;width:70px}.flat-preview-heading>span{font-size:10px}#panel-preview{width:43px}.section-title h2{font-size:16px}.upload-zone{padding:23px}.check-row{font-size:14px}.section-heading p{font-size:15px}.row-label{font-size:14px}.fit-actions button{font-size:13px;padding:10px}.reset-design{font-size:14px}.privacy-note{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Keep frequently used controls readable at every breakpoint. */
.section-heading p{font-size:16px}.eyebrow,.view-label,.flat-preview-heading>span,.flat-note,.stage-hint{font-size:12px!important}.check-row,.row-label,.text-button,.reset-design,.fit-actions button,.view-controls button{font-size:14px}.upload-zone .upload-action{font-size:14px!important}.flat-preview{width:114px}.view-controls{flex-wrap:wrap;justify-content:center}
@media(max-width:720px){.flat-preview{width:78px}.flat-preview-heading>span{font-size:12px!important}.section-heading h1 br{display:initial}.stage-hint{font-size:12px!important}.view-controls button{font-size:14px;padding:8px 10px}.header-note{max-width:100px;text-align:right}.color-row{gap:12px;flex-wrap:wrap}}

/* WordPress edition: exact Athena page background and iframe-safe sizing. */
:root{background:#e7f3fc url('assets/page-background.webp') center bottom / cover no-repeat;--preview-ink:#3b5668}
html.is-embedded,html.is-embedded body{background:transparent}
.sr-only{top:0;left:0}
.model-progress[hidden]{display:none}
.stage{background:#ffffff}
.stage .view-label,.stage .model-name,.stage .stage-hint,.stage .stage-hint span,.stage .model-status{color:var(--preview-ink)}
.background-picker{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;font-size:13px}
.background-color-inputs{display:flex;align-items:center;gap:8px}
.background-color-inputs input[type=color]{width:44px;height:44px;padding:3px;background:#fff;border:1px solid var(--line);border-radius:6px;cursor:pointer}
.background-color-inputs input[type=text]{width:100px;height:44px;border:1px solid var(--line);border-radius:6px;padding:8px;color:var(--ink);background:#fff;text-transform:uppercase;font-size:13px}
.background-swatches{display:flex;gap:12px;margin-top:14px}
.background-swatches button{width:44px;height:44px;border:1px solid #acbdc8;border-radius:50%;background:var(--swatch)}
.background-swatches button[aria-pressed=true]{outline:2px solid #327391;outline-offset:3px}
.background-note{color:var(--muted);font-size:13px;line-height:1.5;margin:15px 0 0}
.color-row{flex-wrap:wrap;gap:14px}.swatch{width:34px;height:34px}
.segmented button,.fit-actions button,.view-controls button,.reset-design{min-height:44px}.check-row{min-height:44px}.text-button{min-height:44px;padding:8px 3px}
html.is-embedded .workspace{min-height:760px}
html.is-embedded .stage{height:760px;min-height:0}
html.is-embedded .controls{max-height:760px}
@media(max-width:720px){
 html.is-embedded .workspace{min-height:0}
 html.is-embedded .stage{height:clamp(420px,115vw,560px);min-height:0;max-height:none}
 html.is-embedded .controls{max-height:none}
 .background-picker{justify-content:flex-start;gap:15px}
 .flat-preview{width:68px;right:10px;bottom:136px}
 .flat-preview-heading>span{font-size:10px!important}
 .stage-bottom{left:8px;right:8px}
 .view-controls button{font-size:12px;padding:8px 9px}
 .color-row{justify-content:flex-start;gap:24px}
}
