/* CAD-only fire palette. Reuses existing artwork; no new video, bitmap or remote media. */
body[data-service=cad],body[data-usage-service=cad],body[data-gacha-workspace=cad]{--service-accent:#ffad46;--cad-hot:#ff6534;--cad-light:#ffe28c;--cad-edge:#ff973c66}
body[data-service=cad]{background:#0d0a09;color:#faf1e8}
body[data-service=cad] .hero{position:relative;isolation:isolate}
body[data-service=cad] .hero:before{content:'';position:absolute;inset:5% -8% 10%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 90% 85%,#ff3d001c,transparent 50%),radial-gradient(ellipse at 70% 20%,#ffbc0012,transparent 55%)}
body[data-service=cad] .hero h1{color:#fff0d0;text-wrap:balance}
body[data-service=cad] .eyebrow,body[data-service=cad] .flow span{color:#ffc878}
body[data-service=cad] .button.primary,body[data-usage-service=cad] .primary{background:linear-gradient(115deg,#ffe58d,#ffb247 65%,#ff7841);border-color:#ffb34c;color:#291407;font-weight:700;box-shadow:0 0 22px #ff72121d}
body[data-service=cad] .button:focus-visible,body[data-service=cad] input:focus-visible,body[data-service=cad] select:focus-visible,body[data-service=cad] textarea:focus-visible{outline-color:#ffcf70}
body[data-service=cad] .hero-art{border-color:var(--cad-edge);box-shadow:0 0 30px #ff6a0014,inset 0 0 30px #ff6a0010;transform:none!important;transition:none}
body[data-service=cad] .hero-art:after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 -12px 32px #ff5f0028;animation:cad-ember 5s ease-in-out infinite alternate}
body[data-service=cad] .price-card,body[data-service=cad] #service-form{border-color:var(--cad-edge);background:linear-gradient(145deg,#1a120e,#0e0c0b)}
body[data-service=cad] .cad-future-price{padding-top:0;padding-bottom:16px}body[data-service=cad] .cad-future-price h2{font-size:20px;margin:6px 0}body[data-service=cad] .cad-future-price p{font-size:12px;color:#c8b5a8}
body[data-service=cad] progress{accent-color:#ff9f43}
body[data-usage-service=cad] .tabs button[aria-pressed=true],body[data-gacha-workspace=cad] .gacha-workspace-switch [data-service=cad][aria-pressed=true]{background:#412518!important;color:#ffe7b0!important;border-color:#ff983b!important}
body[data-gacha-workspace=cad] .beta-intake-section{border:1px solid var(--cad-edge);border-radius:12px;padding:12px;margin:12px 0;background:#17100e}
body[data-gacha-workspace=cad] .beta-intake-card{border-color:var(--cad-edge);background:#20150f}
body[data-gacha-workspace=cad] .beta-intake-card strong{color:#fff0d0}
body[data-gacha-workspace=cad] .external-intake-switch [aria-pressed=true]{box-shadow:0 0 15px #ff9d3322}
body[data-usage-service=cad] .trial{border-color:#ff9c3b55}body[data-usage-service=cad] .drawing-job{border-color:#ff9c3b66;background:#19120f}
@keyframes cad-ember{from{opacity:.35}to{opacity:.9}}
@media(prefers-reduced-motion:reduce){body[data-service=cad] .hero-art:after{animation:none;opacity:.5}}
@media(max-width:650px){body[data-service=cad] .hero{padding:24px 0;gap:16px}body[data-service=cad] .hero h1{font-size:clamp(36px,10vw,46px)}body[data-service=cad] .hero-art{max-height:270px}body[data-gacha-workspace=cad] .beta-intake-section{padding:9px}}
body[data-gacha-workspace=cad] .gacha-cad-panel:not([hidden]){flex-direction:column}
body[data-gacha-workspace=cad] .gacha-cad-panel>.beta-intake-section{flex:0 0 auto;max-height:38dvh;overflow:auto;overscroll-behavior:contain}
body[data-gacha-workspace=cad] .gacha-cad-panel>iframe{flex:1;min-height:35dvh}
body[data-gacha-workspace=cad] .beta-intake-dialog{border-color:var(--cad-edge);background:#18110e}
body[data-service=cad] .hero{overflow:clip}
body[data-service=cad] .hero>div,body[data-service=cad] .fields>*{min-width:0}
body[data-service=cad]{--aurora:#ffad46}
body[data-service=cad] .price-card strong{color:var(--cad-light)}
body[data-service=cad] .feature-list,body[data-service=cad] .placeholder{background:#17110d;border-color:#ff9b3b33}
body[data-service=cad] .placeholder:before{border-color:#ff9f3c55}
body[data-service=cad] .hero-art:after{background:linear-gradient(0deg,#ff5d001c,transparent 60%)}
body[data-service=cad] .hero-art.drawing{background:#17110d;aspect-ratio:1.25;display:flex;align-items:center;justify-content:center}
body[data-service=cad] .hero-art.drawing>img{width:100%;height:100%;object-fit:contain;display:block}
body[data-service=cad] .cad-study-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body[data-service=cad] .cad-study{min-width:0;padding:10px;border:1px solid var(--cad-edge);border-radius:12px;background:#19130e}
body[data-service=cad] .cad-study img{display:block;width:100%;height:auto;aspect-ratio:2143/1516;object-fit:contain;background:#fff;border-radius:5px}
body[data-service=cad] .cad-study h3{font-size:15px;margin:12px 0 6px}body[data-service=cad] .cad-study p{font:11px/1.5 ui-monospace,monospace;color:#ffce80}
@media(max-width:650px){body[data-service=cad] .cad-study-grid{grid-template-columns:minmax(0,1fr)}body[data-service=cad] .hero-art.drawing{max-height:none}}
body[data-service=cad] #service-form :is(input,select,textarea){font-size:16px;max-width:100%}
