.astro-launcher{position:fixed;right:22px;bottom:24px;z-index:40;display:flex;align-items:center;gap:10px;border:1px solid #d6b477;border-radius:30px;background:#152238;color:#f7dfae;padding:13px 19px;box-shadow:0 6px 25px #0003;font:inherit;font-size:13px;cursor:pointer;min-height:48px}
.astro-launcher>span:first-child{font-size:24px}.astro-launcher small{display:block;font-size:10px;color:#cfbd9d}
.astro-dialog{padding:0;border:1px solid #d6b47766;border-radius:20px;background:#fbf7ef;color:#243047;width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 32px);box-shadow:0 25px 90px #0005;margin:auto;font-family:var(--body,sans-serif)}
.astro-dialog::backdrop{background:#06102099;backdrop-filter:blur(4px)}
.astro-dialog[open]{display:flex;flex-direction:column}
.astro-header{background:#142238;color:#f6dfb3;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px}.astro-header h2{font-size:18px;margin:0}.astro-header p{font-size:11px;margin:5px 0 0;color:#c9c4b9}
.astro-dialog button,.astro-dialog select,.astro-dialog input{font:inherit}.astro-close{background:transparent;color:#f6dfb3;border:1px solid #ffffff40;border-radius:50%;width:44px;height:44px;font-size:25px!important;cursor:pointer;flex-shrink:0}
.astro-tools{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;border-bottom:1px solid #e1d8c8;font-size:12px}.astro-tools select,.astro-tools button{border:1px solid #d7c8b1;border-radius:6px;background:#fffaf1;padding:7px;min-height:40px;color:#243047;cursor:pointer}
.astro-messages{overflow-y:auto;min-height:110px;height:260px;padding:16px;overscroll-behavior:contain}
.astro-message{font-size:13px;line-height:1.85;margin:0 0 12px;padding:12px 14px;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere}.astro-guide{background:white;border:1px solid #e8dfd0;margin-right:20px}.astro-user{background:#eae1ce;margin-left:28px}
.astro-suggestions{display:flex;gap:7px;padding:10px 16px;overflow-x:auto;flex-shrink:0}.astro-suggestions button{white-space:nowrap;font-size:11px;border:1px solid #d7c8b1;color:#574122;background:#fffaf1;border-radius:18px;padding:9px 12px;min-height:40px;cursor:pointer}
.astro-form{padding:10px 16px 4px;display:flex;gap:8px}.astro-form input{min-width:0;flex:1;border:1px solid #c9baa0;background:white;border-radius:9px;padding:12px;color:#243047;font-size:13px}.astro-form button{border:0;border-radius:9px;background:#17273e;color:#f9e4ba;min-width:48px;cursor:pointer}
.astro-note{font-size:10px;line-height:1.6;color:#786b59;margin:7px 16px 14px}.astro-dialog :focus-visible,.astro-launcher:focus-visible{outline:3px solid #b1792b;outline-offset:3px}
@media(max-width:680px){.astro-launcher{bottom:82px;right:14px;padding:9px 13px;font-size:11px}.astro-launcher small{display:none}.astro-dialog{max-height:calc(100dvh - 20px)}.astro-messages{height:240px}.astro-header{padding:14px 16px}}
.astro-birth[hidden]{display:none}.astro-birth{padding:10px 16px;overflow-y:auto;max-height:310px;flex-shrink:0;background:#f0e8d9;border-top:1px solid #d7c8b1}.astro-birth p{margin:0 0 8px;font-size:13px;font-weight:600}.astro-birth label{display:block;font-size:11px;margin-bottom:7px}.astro-birth input,.astro-birth select{display:block;width:100%;max-width:100%;box-sizing:border-box;min-height:38px;background:white;color:#243047;border:1px solid #c9baa0;border-radius:6px;padding:6px}.astro-birth small{display:block;font-size:10px;line-height:1.5;margin:8px 0}.astro-birth button{background:#17273e;color:#f9e4ba;border:0;border-radius:6px;min-height:40px;padding:8px 12px;cursor:pointer;margin-right:8px}.astro-birth [hidden]{display:none}.astro-dialog:has(.astro-birth:not([hidden])) .astro-messages{height:100px;min-height:65px}.astro-dialog:has(.astro-birth:not([hidden])) .astro-suggestions{display:none}
.astro-birth>div{position:sticky;bottom:-10px;background:#f0e8d9;padding:8px 0 4px}.astro-birth{max-height:min(390px,46dvh)}
.astro-reading{background:#fffcf5;border:1px solid #d9c596;border-radius:12px;padding:14px;margin-bottom:14px;font-size:12px;line-height:1.8}.astro-reading h3{margin:0;color:#6f4e1e;font-size:17px}.astro-reading p{white-space:pre-wrap;margin:8px 0}.astro-reading small{display:block;color:#72634b;line-height:1.6;font-size:10px}.astro-reading details{border-top:1px solid #e5d8bf;padding:10px 0}.astro-reading summary{font-weight:600;cursor:pointer;min-height:30px;color:#61471f}.astro-reading details p{font-size:12px}.astro-rasi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(70px,auto));border:1px solid #a88545;background:#a88545;gap:1px;margin:14px 0}.astro-rasi-cell{background:#fffaf0;padding:5px 3px;overflow-wrap:anywhere;min-width:0}.astro-rasi-cell span{font-size:9px;color:#8b704b;display:block}.astro-rasi-cell b{display:block;font-size:10px;font-weight:600;color:#3a4352}.astro-moon-cell{background:#f5e1b5}.astro-rasi-center{grid-row:2/4;grid-column:2/4;background:#f7edda;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:6px}.astro-rasi-center strong{color:#855b20;font-size:15px}.astro-rasi-center small{font-size:9px}.astro-dialog:has(.astro-reading){width:min(550px,calc(100vw - 24px))}.astro-dialog:has(.astro-reading) .astro-messages{height:420px;min-height:120px}
@media(max-width:480px){.astro-reading{padding:10px}.astro-dialog:has(.astro-reading) .astro-messages{height:380px}.astro-rasi-cell b{font-size:9px}.astro-rasi-cell span{font-size:8px}.astro-messages{padding:10px}}
.astro-chat-content{display:flex;flex-direction:column;min-height:0;overflow:auto}.astro-chat-content[hidden],.astro-disclaimer[hidden]{display:none!important}
.astro-disclaimer{display:flex;flex-direction:column;min-height:0;overflow:hidden}.astro-disclaimer-scroll{overflow-y:auto;overscroll-behavior:contain;padding:20px 22px;max-height:58dvh;color:#303b4b;font-size:13px;line-height:1.95}.astro-disclaimer h3{font-size:17px;line-height:1.7;margin:0 0 14px;color:#6f4e1e}.astro-disclaimer h4{font-size:14px;line-height:1.8;margin:0 0 8px;color:#61471f}.astro-disclaimer section{border-top:1px solid #e3d8c4;padding:16px 0 4px}.astro-disclaimer p{margin:0 0 14px}.astro-disclaimer p[lang="en"]{color:#535d6c}.astro-disclaimer-action{padding:14px 18px;border-top:1px solid #ddd0b8;background:#fbf7ef;flex-shrink:0}.astro-disclaimer-action button{width:100%;min-height:48px;border:0;border-radius:9px;background:#17273e;color:#f9e4ba;padding:12px;font-size:13px;line-height:1.7;cursor:pointer}.astro-dialog:has(.astro-disclaimer:not([hidden])){width:min(620px,calc(100vw - 24px))}
@media(max-width:480px){.astro-disclaimer-scroll{padding:16px;font-size:13px;max-height:58dvh}.astro-disclaimer-action{padding:12px}}
.astro-disclaimer-action #astroAccept{background:#18733d;color:#fff;border:2px solid #105b2e;border-radius:12px;min-height:56px;font-size:15px;font-weight:700;box-shadow:0 4px 0 #104e2b,0 5px 12px #12472b24;transition:background .15s,transform .15s}
.astro-disclaimer-action #astroAccept:hover{background:#105f31}.astro-disclaimer-action #astroAccept:active{transform:translateY(2px);box-shadow:0 2px 0 #104e2b}.astro-disclaimer-action #astroAccept:focus-visible{outline:3px solid #188645;outline-offset:4px}
.astro-birth-entry #astroMessages,.astro-birth-entry #astroSuggestions,.astro-birth-entry #astroForm{display:none!important}
.astro-birth-entry .astro-birth{max-height:60dvh;padding:20px;background:#fbf7ef}.astro-birth-entry .astro-birth h3{font-size:18px;line-height:1.6;margin:0 0 10px;color:#61471f}.astro-birth-entry .astro-birth .astro-birth-intro{font-size:12px;font-weight:400;line-height:1.8;margin-bottom:18px}.astro-birth-entry .astro-birth label{font-size:12px;line-height:1.8;margin-bottom:14px}.astro-birth-entry .astro-birth input,.astro-birth-entry .astro-birth select{min-height:46px;font-size:15px;border:1px solid #b5a486;padding:10px;border-radius:9px}.astro-birth-entry .astro-birth>div{background:#fbf7ef;display:flex;flex-wrap:wrap;gap:8px}.astro-birth-entry .astro-birth button[type="submit"]{flex:1;background:#18733d;color:white;font-size:13px;font-weight:600;min-height:48px}.astro-birth-entry .astro-birth button{margin:0}.astro-birth .astro-birth-error{color:#9b2323;font-size:12px;font-weight:500}.astro-birth-error:empty{display:none}
.astro-transit-controls{display:flex;gap:12px;margin:12px 0}.astro-transit-controls label{flex:1;font-size:12px}.astro-transit-controls select{display:block;width:100%;background:#fff;color:#243047;border:1px solid #b5a486;border-radius:6px;min-height:44px;margin-top:5px;padding:6px;font-size:14px}.astro-transit-reading details{margin:8px 0}.astro-transit-reading small{margin:10px 0}
.astro-effect{padding:12px;margin:10px 0;border:1px solid #e4d9c6;border-radius:9px;background:#fffdfa}.astro-effect h4{font-size:13px;line-height:1.7;margin:0 0 6px;color:#4e402d}.astro-effect p{margin:0;font-size:12px;line-height:1.9}.astro-effect-positive{border-left:4px solid #368454;background:#f2f8f2}.astro-effect-caution{border-left:4px solid #ba862b;background:#fff8ea}.astro-transit-assessment{font-weight:600;color:#61471f;background:#f1e7d2;padding:10px;border-radius:7px}

.astro-download{margin:8px 16px 0;padding:11px 14px;min-height:44px;border:1px solid #126331;border-radius:8px;background:#18733d;color:white;font-weight:600!important;font-size:12px!important;cursor:pointer;flex-shrink:0}.astro-download[hidden]{display:none}

.astro-export-dialog{width:min(920px,calc(100vw - 24px));height:calc(100dvh - 32px);max-height:none;padding:12px;border:1px solid #d7c8b1;border-radius:12px;background:#fff}.astro-export-dialog[open]{display:flex;flex-direction:column;gap:10px}.astro-export-dialog::backdrop{background:#061020bb}.astro-export-dialog iframe{width:100%;flex:1;border:0;min-height:0}.astro-export-close{align-self:flex-end;border:1px solid #c9baa0;background:#fffaf1;padding:10px 16px;border-radius:8px;cursor:pointer;min-height:44px}

/* Two-person matching shares the disclaimer gate, with its own scrollable form. */
.astro-tools{flex-wrap:wrap;gap:6px}.astro-match-panel{padding:16px;overflow-y:auto;max-height:65dvh;overscroll-behavior:contain;font-size:12px;line-height:1.85}.astro-match-panel[hidden]{display:none}.astro-match-panel h3{font-size:17px;color:#61471f;margin:4px 0 12px}.astro-match-panel fieldset{border:1px solid #d7c8b1;border-radius:10px;padding:12px;margin:14px 0}.astro-match-panel legend{font-weight:700;font-size:15px}.astro-match-panel .astro-match-inputs{border:0;padding:0;margin:0}.astro-match-panel [hidden]{display:none}.astro-match-panel label{display:block;margin:10px 0}.astro-match-panel input,.astro-match-panel select{display:block;width:100%;box-sizing:border-box;min-height:44px;padding:9px;background:white;color:#243047;border:1px solid #b5a486;border-radius:7px}.astro-match-panel button{min-height:44px;padding:10px 14px;border:1px solid #c9baa0;border-radius:8px;background:#fffaf1;color:#243047;cursor:pointer}.astro-match-panel .astro-match-submit{width:100%;background:#18733d;color:white;font-weight:700}.astro-match-notice{padding:12px;background:#f0e8d9;border-radius:8px}.astro-match-mode #astroMessages,.astro-match-mode #astroSuggestions,.astro-match-mode #astroForm,.astro-match-mode #astroBirthForm,.astro-match-mode #astroDownload{display:none!important}.astro-porutham{padding:12px;margin:12px 0;border:1px solid #dfd5c5;border-left:4px solid #867256;border-radius:8px;background:white;break-inside:avoid}.astro-porutham h4{margin:0 0 5px;font-size:15px}.astro-porutham p{margin:8px 0}.astro-porutham-agree{border-left-color:#18733d}.astro-porutham-no{border-left-color:#a34e3c}.astro-porutham-partial,.astro-porutham-review{border-left-color:#b78b30}.astro-match-panel a{color:#65451e;text-decoration:underline}

.astro-dialog:has(.astro-match-mode){width:min(720px,calc(100vw - 24px))}#astroMatchForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#astroMatchForm>fieldset{min-width:0}#astroMatchForm>.astro-birth-error,#astroMatchForm>.astro-match-submit{grid-column:1/-1}@media(max-width:600px){#astroMatchForm{grid-template-columns:minmax(0,1fr);gap:0}.astro-match-panel{max-height:60dvh}}
