/* Czarodruk: an enchanted workshop, with a quiet, readable editor. */
:root{--paper:#faf7f2;--ink:#332340;--muted:#766780;--pink:#754699;--pink-dark:#593174;--line:#e6dce9;--soft:#f4edf8;--gold:#c69b59}
body{background:radial-gradient(ellipse at 8% 10%,#eee1f578,transparent 36%),radial-gradient(ellipse at 97% 35%,#f3e4c94d,transparent 30%),var(--paper)}
.site-header{border-color:#d9c8e0}.brand{color:#39234e}.brand-mark,.brand-dot{color:#8860a6}.brand-mark>span{color:#ba8b48}.private-badge{color:#685276;border-color:#ded1e6;background:#f6eff9}.header-link{color:#735580}
.intro .eyebrow{color:#806047}.intro .eyebrow>span{background:#c09655;box-shadow:0 0 0 4px #c0965515}.intro h1 em{color:#785297}.title-sparkle{fill:#c09859}.intro-copy>p{color:#73657b}.intro-note{color:#716077}.intro-note .icon{color:#946f37}
.preview-card{isolation:isolate;background:radial-gradient(ellipse at 52% 45%,#63457a 0%,#3d2853 48%,#2b1b40 100%);border:1px solid #8966a3;border-radius:22px;box-shadow:0 18px 46px #3b205822,inset 0 0 0 5px #c9a8e008}
.preview-card:after{content:'';position:absolute;inset:8px;border:1px solid #dbc09830;border-radius:15px;pointer-events:none;z-index:4}.preview-header{color:#e4d5ee;padding:25px 27px}.preview-header i{background:#dfbb7d;box-shadow:0 0 0 4px #dfbb7d14,0 0 13px #dfbb7d80}.preview-tag{background:#eee1fa12;color:#e5d7ef;border-color:#d9c4e44a!important}
.model-stage{background:radial-gradient(ellipse,#b893da25,transparent 66%)}.model-stage:before{background-image:radial-gradient(#edd2a3 1px,transparent 1px),radial-gradient(#e6d2ff .8px,transparent .8px);background-position:5px 17px,29px 8px;background-size:91px 79px,57px 103px;opacity:.55;mask-image:linear-gradient(transparent,#000 15%,#000 85%,transparent)}
.celestial-ring{position:absolute;left:12%;top:4%;width:76%;height:90%;border:1px solid #d5b48b26;border-radius:50%;transform:rotate(-22deg);pointer-events:none}.celestial-ring:before{content:'';position:absolute;inset:9%;border:1px dashed #e4c8a21d;border-radius:50%}.celestial-ring:after{content:'✦';position:absolute;left:13%;top:3%;font-size:25px;color:#e5c38a;text-shadow:0 0 22px #e5c38a77}.celestial-star{position:absolute;color:#d6b582;pointer-events:none;font-family:Georgia,serif}.celestial-star.one{top:15%;right:15%;font-size:29px}.celestial-star.two{bottom:13%;right:22%;font-size:18px}.celestial-star.three{bottom:21%;left:14%;font-size:14px;color:#c1a1da}
.stage-loading,.stage-empty{background:#382447e8;color:#ecdef5}.stage-empty>span{color:#d4af77}.preview-bottom{color:#eadcf1;padding-inline:27px}.preview-bottom>span{background:#fff1;border-color:#d8bedf3b;font-size:11px}.preview-bottom>div,.stage-instruction{color:#d0badf;font-size:11px}.model-metrics{background:#fff9;border-color:#e2d5e8}.model-metrics span{color:#7d668a;font-size:10px}.model-metrics strong{color:#4d355e;font-size:12px}.preview-disclaimer{color:#786782;font-size:11px}.download-model-button{background:#fffdf9;border-color:#c4accf;color:#70448e;box-shadow:0 4px 14px #54336d06}.download-model-button:hover:enabled{border-color:#805496;background:#f5eefb}.download-model-button small{color:#83708c;font-size:11px}.small-story{color:#b68c4a}.small-story strong{color:#74518b}.small-story p{color:#886f95}
.config-card{background:#fffdfb;border-color:#e0d2e7;box-shadow:0 10px 35px #4e326409}.mode-tabs{border-color:#e3d7ec;background:#f5eff9}.mode-tabs button{color:#846c95}.mode-tabs button[aria-selected=true]{color:#674181;background:#fff;box-shadow:0 2px 8px #4c2c6512}.mode-tabs button span{color:#aa8145}.form-heading .eyebrow{color:#947548}.little-star{color:#c3a066}.step-number{color:#79548f;border-color:#e5d4ef;background:#f2e8f9}.form-step{border-color:#eee6f1}.variant-option input:checked+.variant-card{background:#f3eaf9;border-color:#805399;color:#67417f;box-shadow:0 0 0 1px #80539920}.variant-option input:checked+.variant-card svg{fill:#e5d4f1;stroke:#83559a}.variant-card{background:#fffdfb}.variant-card>svg{fill:#f5eff8;stroke:#ac95b8}
.color-field legend span,.label-row>span{color:#8a7395}.field-hint{color:#82708c;font-size:11px}.nfc-option{background:#f8f3fb}.nfc-option:has(input:checked){border-color:#b895cb;background:#f4eafa}.nfc-icon{color:#7c5295;background:#ecdef5}.nfc-copy>span{color:#877092;font-size:10px}.nfc-copy strong>span{color:#92704b}.quantity-control button{color:#805295}.quantity-control button:hover{background:#f2e7fa}.price-panel{background:linear-gradient(120deg,#f4edf9,#f9f4e9);border-color:#dcc9e6}.price-top p{color:#684b79}.price-top span{color:#866992;font-size:11px}.price-top>strong{color:#6e428d}.price-panel details{border-color:#dfd0e5}.price-panel summary{color:#81658f;font-size:12px}.price-panel dt{color:#7e668a}.price-panel dd{color:#52375e}.primary-button{background:linear-gradient(115deg,#71478e,#583272);box-shadow:0 4px 15px #623b7c26}.primary-button:hover{background:linear-gradient(115deg,#80539e,#643c80)}
.upload-zone{background:#f9f4fc;border-color:#bba0cc}.upload-zone.dragging{background:#efe1f7;border-color:#8754a4}.upload-zone strong{color:#614677}.upload-zone>span:not(.upload-icon){color:#8c6b9e}.upload-icon{color:#83559f;background:#ebdef3}.estimate-notice{background:#f7f0fa;color:#7e668c}.estimate-notice strong{color:#71527e}.checkout-summary{background:#f3eaf9;border-color:#e2d2ed}.checkout-summary>div>span{color:#83648f}.dialog-description,.dialog-caution{color:#7d6688}.secondary-button{border-color:#ceb6dd}.secondary-button:hover{background:#f0e5f7}.closing-note{border-color:#e1d2e8}.closing-icon{background:#eee3f4;color:#946f3a}.closing-note p,.footer-tagline,.site-footer>span:last-child{color:#8a7294}.footer-star{color:#b88c48}
@media(max-width:740px){.preview-card{border-radius:17px}.preview-card:after{border-radius:11px}.preview-header{padding:20px}.preview-bottom{padding:10px 20px 20px}.model-metrics strong{font-size:10px}.model-metrics span{font-size:9px}.preview-disclaimer{font-size:10px}.intro h1{font-size:clamp(38px,11vw,49px)}.intro .title-sparkle{right:6px;top:8px;width:20px}.private-badge{font-size:8px}.header-right{gap:11px}.brand{font-size:25px}.brand-mark{width:29px}.header-link{font-size:10px}.field-hint{font-size:10px}}
@media(max-width:360px){.intro .title-sparkle{right:6px;width:15px}.brand{font-size:22px}.brand-mark{width:23px;margin-right:3px}.header-right{gap:8px}.private-badge{gap:4px;padding:6px;font-size:7px}.header-link{font-size:9px}}

.model-metrics{grid-template-columns:1fr}.model-metrics span,.model-metrics strong{font-size:14px}
