*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#503055,#170d24 80%);color:#fff0d5;font:17px/1.6 Georgia,serif}main{max-width:1180px;margin:auto;padding:22px 24px 65px}a{color:#f6d997}nav{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;font-size:14px;margin-bottom:22px}.hero{border:1px solid #c5a361;border-radius:24px;overflow:hidden;background:#25132e}.hero img{width:100%;height:auto;object-fit:contain;display:block}.hero-copy{text-align:center;padding:24px 25px 30px}.eyebrow{font-size:11px;letter-spacing:.15em;color:#e9c77f}h1{font-size:clamp(29px,4vw,44px);line-height:1.2;font-weight:normal;color:#ffe1a1;margin:10px auto 14px;max-width:850px}h2{font-size:25px;color:#f6d997;font-weight:normal;line-height:1.3;margin:0 0 18px}h3{font-weight:normal;color:#f4d595;font-size:20px}p{margin:10px 0}.workspace{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;margin-top:26px;align-items:start}.panel{padding:28px;border:1px solid #b38d4e;border-radius:20px;background:#25132fee;min-width:0}.form-panel{background:#fff4df;color:#422647}.form-panel h2{color:#542c5c}label{display:block;margin:15px 0 5px;font-size:15px}input,select,button{font:inherit}input,select{width:100%;min-height:44px;border:1px solid #b59050;border-radius:9px;padding:10px 11px;background:#fffdf7;color:#35203d}button,.button{display:inline-block;padding:11px 22px;border:1px solid #b58a37;border-radius:28px;background:linear-gradient(120deg,#fff0bb,#dcb35e,#f5d88f);color:#35203e;cursor:pointer;font-weight:bold;margin-top:22px}button:hover{filter:brightness(1.06)}:focus-visible{outline:3px solid #ad701d;outline-offset:4px}.small{font:13px/1.65 system-ui,sans-serif}.muted{color:#d4bfd6}.form-panel .small{color:#705774}.score{font-size:46px;color:#ffe2a1;line-height:1.2;margin:8px 0}.score small{font-size:18px}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.metric{padding:13px;border:1px solid #896c46;border-radius:11px;overflow-wrap:anywhere}.metric span{font-size:13px;display:block;color:#d7c3d7}.metric strong{font-size:23px;font-weight:normal;color:#ffe0a0}.calculation{border-top:1px solid #70563e;margin-top:20px;padding-top:14px}.notice{border:1px solid #b99355;border-radius:11px;padding:13px 15px;background:#49314c;margin:15px 0}.error{color:#ffe5df;background:#62343d;padding:12px;border-radius:10px}.error:empty{display:none}table{width:100%;border-collapse:collapse;font-size:14px;margin:18px 0}th,td{padding:9px 7px;border-bottom:1px solid #70563e;text-align:left}details{margin-top:20px;border-top:1px solid #8b7049;padding-top:16px}summary{cursor:pointer;color:#eed09a}.form-panel summary{color:#623869}footer{padding:28px 12px;text-align:center;color:#d5bcd9;font-size:13px}[hidden]{display:none!important}@media(max-width:780px){main{padding:16px 14px 40px}.workspace{grid-template-columns:1fr}.panel{padding:22px 18px}.hero-copy{padding:22px 18px}h1{font-size:31px}.hero img{height:auto}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Carry each approved artwork through the studio; keep the header uncropped. */
body[data-studio="career"]{--studio-art:url('../gateway/career-business.webp')}
body[data-studio="identity"]{--studio-art:url('../gateway/name-identity.webp')}
body[data-studio="property"]{--studio-art:url('../gateway/property-home.webp')}
body[data-studio="timing"]{--studio-art:url('../gateway/divine-timing.webp')}
body[data-studio="child"]{--studio-art:url('../gateway/child-birth-name.webp')}
body{background:#e6cfaa;isolation:isolate;color:#422647}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(#fff2d519,#fff2d52e),var(--studio-art);background-position:center;background-size:cover;background-repeat:no-repeat}
nav{padding:10px 16px;border:1px solid #c5a361;border-radius:16px;background:#fff4e4ed;color:#502c56;box-shadow:0 5px 20px #3f1c3226}
nav a{color:#502c56}
.hero{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;min-height:calc(100vh - 90px);min-height:calc(100svh - 90px)}
.hero img{height:auto;max-height:none;object-fit:contain}
.hero-copy{background:transparent;color:#fff5df;padding:12px 18px 24px;text-shadow:0 2px 4px #24102d,1px 0 2px #24102d,-1px 0 2px #24102d,0 -1px 2px #24102d}
.hero-copy h1{color:#ffe3a0}.hero-copy .eyebrow{color:#fff0c6}.hero-copy p{font-weight:bold}
.panel{background:#fff4e4f5;color:#422647;box-shadow:0 10px 30px #3c1a3433}
h2,h3,.metric strong,.score{color:#59315e}
.eyebrow,.metric span,.muted{color:#705274}
.metric{background:#fffaf0b8;border-color:#c2a16a}
.notice{background:#f4e3c2;color:#4a2b4f}
th,td,.calculation,details{border-color:#c2a16a}
summary{color:#623869}
footer{max-width:600px;margin:28px auto 0;padding:14px 20px;background:#fff4e4ed;color:#57325d;border:1px solid #c5a361;border-radius:16px}

/* Diagnosis first; consultant-led recommendations follow in a distinct gate. */
.diagnosis-bar{margin:18px 0}.diagnosis-bar p{display:flex;justify-content:space-between;gap:12px;font-size:15px}.diagnosis-bar meter{display:block;width:100%;height:13px;accent-color:#9c6b2d}.diagnosis-bar meter::-webkit-meter-bar{background:#e8d6b9;border:1px solid #c1a372;border-radius:10px}.diagnosis-bar meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#81508b,#d3a448);border-radius:10px}
.consultation-gate{margin-top:28px;padding:24px 22px;border:1px solid #e0bc70;border-radius:16px;background:linear-gradient(135deg,#43264ef5,#281330f7);color:#fff1da;box-shadow:0 8px 25px #27102d2b;backdrop-filter:blur(8px)}
.consultation-gate h3{color:#ffe1a0;font-size:22px;line-height:1.35;margin:12px 0}.consultation-gate p{font-size:15px}.gate-label{font:10px/1.6 system-ui,sans-serif;letter-spacing:.13em;color:#edcf91}.consultation-gate .button{font-size:15px;text-align:center;width:100%;white-space:normal;line-height:1.45;margin-top:15px}.consultation-gate .gate-note{font:11px/1.6 system-ui,sans-serif;color:#e1cde4;margin-top:14px}.locked-preview{display:grid;gap:8px;margin:18px 0 8px;filter:blur(2px);opacity:.4;pointer-events:none}.locked-preview span{height:7px;width:85%;background:#d9bf8b;border-radius:6px}.locked-preview span:nth-child(2){width:65%}.locked-preview span:nth-child(3){width:75%}
.macro-cycle{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 8px;margin:18px 0}.cycle-month{text-align:center;min-width:0}.cycle-month>span{font:10px/1.4 system-ui,sans-serif;display:block;margin-bottom:7px}.cycle-month strong{font-size:17px;font-weight:normal}.cycle-track{height:58px;background:#eadbc0;border-radius:5px;display:flex;align-items:flex-end;overflow:hidden;margin-bottom:4px}.cycle-track i{display:block;width:100%;background:linear-gradient(#d8af5a,#885392)}
@media(max-width:420px){.consultation-gate{padding:20px 16px}.macro-cycle{grid-template-columns:repeat(4,minmax(0,1fr))}}
