/* v0.38 Astrology Studio: separate workspace, existing chart DOM untouched. */
#astroStudioRoot{display:none;min-width:0;background:#101f32;color:#dce9f5;padding:20px clamp(12px,3vw,38px);max-width:100%;box-sizing:border-box}
body[data-atlas-main-tab="astro"] .workspace{display:block!important}
body[data-atlas-main-tab="astro"] .workspace>.centerpane,
body[data-atlas-main-tab="astro"] .workspace>.sidebar{display:none!important}
body[data-atlas-main-tab="astro"] #astroStudioRoot{display:block!important}
.astro-studio-head{display:flex;justify-content:space-between;gap:20px;align-items:start;padding-bottom:16px;border-bottom:1px solid #334f69}
.astro-studio-head h2{color:#f4d4a1;font-size:clamp(23px,2.5vw,34px);margin:6px 0}
.astro-eyebrow{font-size:11px;letter-spacing:.16em;color:#a7bdd4;font-weight:700}
.astro-studio-head p,.astro-caption,.astro-muted{color:#a9bfd1;font-size:12px;line-height:1.6}
.astro-panel{background:#152b43;border:1px solid #3b5873;border-radius:13px;padding:16px;min-width:0}
.astro-input-area{display:grid;grid-template-columns:minmax(300px,1.12fr) minmax(260px,.88fr);gap:15px;margin-top:18px}
.astro-panel h3{color:#e9c990;font-size:17px;margin:0 0 13px}
.astro-controls{display:grid;grid-template-columns:repeat(3,minmax(125px,1fr));gap:11px}
.astro-control{display:flex;flex-direction:column;gap:5px;color:#c8d7e7;font-size:12px}
.astro-control input,.astro-control select{border:1px solid #51718f;border-radius:7px;background:#0c1e30;color:#ecf5fc;padding:9px;min-height:38px;box-sizing:border-box;width:100%;font:inherit}
.astro-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
.astro-button{border:1px solid #64809a;border-radius:8px;color:#e9f4fa;background:#203d5a;font-size:12px;font-weight:700;min-height:37px;padding:8px 13px;cursor:pointer}
.astro-button.primary{background:#e5be7b;color:#182438;border-color:#f0d5a6}
.astro-button:disabled{opacity:.45;cursor:wait}
.astro-check{display:flex;align-items:center;gap:9px;font-size:13px;margin:12px 0;color:#d7e7f4}
.astro-check input{width:17px;height:17px}
.astro-warning{padding:9px 11px;border:1px solid #a97e53;border-radius:8px;background:#3c2b27;color:#f1cea8;font-size:12px}
.astro-inset{border-top:1px solid #3b5873;margin-top:12px;padding-top:10px}
.astro-status{margin:12px 0;color:#a4d7bd;font-size:12px;min-height:18px}
.astro-status[data-error="1"]{color:#f4a8a8}
#astroResults{margin-top:17px}
.astro-empty{padding:28px;text-align:center;border:1px dashed #51708f;border-radius:12px;color:#b9cde0}
.astro-result-head{display:flex;justify-content:space-between;align-items:start;gap:15px;margin:16px 0}
.astro-result-head h3{margin:3px 0;font-size:24px;color:#f1d1a0}
.astro-result-head p{color:#a9bed1;font-size:12px;margin:3px 0}
.astro-result-head>div:last-child{text-align:right}
.astro-result-head small{display:block;color:#a9bed1;font-size:12px;margin-top:4px}
.astro-wheel-grid{display:grid;grid-template-columns:minmax(280px,460px) minmax(250px,1fr);gap:16px;align-items:center}
.astro-wheel{max-width:100%;height:auto;display:block}
.astro-facts{background:#152b43;border:1px solid #3b5873;border-radius:13px;padding:15px}
.astro-facts h4,.astro-three h4,.astro-aspects h4{margin:0 0 12px;color:#e6c78f;font-size:16px}
.astro-facts dl{display:grid;grid-template-columns:112px 1fr;gap:10px 12px;font-size:12px}
.astro-facts dt{color:#aac4d9}.astro-facts dd{margin:0;color:#e1eef6}
.astro-three,.astro-aspects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:16px}
.astro-three>section,.astro-aspects{background:#152b43;border:1px solid #3b5873;border-radius:12px;padding:13px;min-width:0}
.astro-aspects h4 span{background:#263e58;border-radius:10px;padding:2px 6px;margin-left:4px;font-size:11px;color:#dce9f5}
.astro-table-wrap{overflow-x:auto;max-height:420px;overflow-y:auto}
.astro-table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px}
.astro-table th{color:#a8c2d7;text-align:left;font-size:11px;padding:8px;border-bottom:1px solid #46627e;position:sticky;top:0;background:#152b43}
.astro-table td{padding:8px;border-bottom:1px solid #2f4760;color:#dcecf6}
.astro-glyph{color:#e7c890;font-size:17px;margin-right:6px}
@media(max-width:1100px){.astro-three,.astro-aspects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.astro-input-area,.astro-wheel-grid,.astro-three,.astro-aspects-grid{grid-template-columns:1fr}.astro-controls{grid-template-columns:repeat(2,minmax(0,1fr))}#astroStudioRoot{padding:12px}.astro-studio-head{display:block}}
@media(max-width:430px){.astro-controls{grid-template-columns:1fr}}
