/* Focused usability fixes; keep the established black and purple visual system. */
.brand{white-space:nowrap}.avatar{flex-shrink:0}.profile-name,.profile-date,.archive-head h3,.material h3,.sheet-subtitle{overflow-wrap:anywhere}.archive-head>div{min-width:0}.material{text-align:left}.material .pill{white-space:normal;border-radius:10px;line-height:1.65}.material-source{overflow-wrap:anywhere}.material p{line-height:1.85}.library-summary{display:flex;gap:18px;flex-wrap:wrap;color:#b4a0c9;font-size:14px;margin:-8px 0 23px}.library-summary>span{display:inline-flex;align-items:center;gap:7px}.library-summary .icon{width:18px;height:18px}.reference-heading{margin-top:28px}.search-status{color:#b6a1cc;padding:14px 0 24px;font-size:15px}.source-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.95;font-size:16px;margin:22px 0;color:#d5cadf}.source-text+details{margin-top:24px}.chart-gate{padding:30px 22px}.chart-gate h2{font-size:24px}.chart-gate>p{margin:13px 0 25px}.chart-gate .full{margin-bottom:12px}.gate-icon{width:72px;height:72px;display:grid;place-items:center;margin:0 auto 23px;background:radial-gradient(circle,#9e69d82f,transparent);border:1px solid #b58bd435;border-radius:24px}.gate-icon .icon{width:34px;height:34px;color:#c69fee}.sheet-action-stack{display:grid;gap:12px;margin-top:22px}.sheet-action-stack .form-note{margin:0 0 8px}.yun-god-summary{display:flex;flex-direction:column;gap:8px;font-size:15px;color:#cdb5e4;margin:20px 0}.chat-context{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:16px;border:1px solid #b08fce2c;border-radius:18px;background:#b17bfb08;margin-bottom:18px}.chat-context>span:nth-child(2){flex:1;min-width:0}.chat-context strong,.chat-context small{display:block;overflow-wrap:anywhere}.chat-context strong{font-size:17px}.chat-context small{font-size:13px;color:#a795bb;margin-top:4px}.chat-context>.icon{flex-shrink:0;color:#c49be9}.ai-connection{padding:0 3px 17px}.ai-connection p{font-size:14px;color:#ac9abf;line-height:1.8;margin-top:9px}.chat-suggestions{margin:0 0 22px}.chat-suggestions>summary{cursor:pointer;font-size:15px;color:#cbb4df;padding:10px 0;min-height:44px}.chat-suggestions .prompt-grid{margin-top:10px}.chat-view .messages{margin-top:20px}.chat-view .chat-composer{z-index:2}.chat-view .bubble{overflow-wrap:anywhere}.sheet-heading .close-sheet{min-width:44px;min-height:44px}.menu-trigger{min-width:44px;min-height:44px}.home-shortcut{min-height:76px}#app>.view>.empty>.loading-orbit{margin:20px auto}.empty button{max-width:100%}
@media(max-width:680px){.profile-name{font-size:17px}.profile-date{font-size:13px}.material-source{font-size:13px}.material .pill{font-size:13px}.library-summary{font-size:14px;gap:12px}.chat-context{padding:14px}.source-text{font-size:16px}.page-heading{align-items:flex-start}.page-heading>.primary-btn{flex-shrink:0}.year-cell span{font-size:12px}.form-note{line-height:1.8}.sheet-heading .eyebrow{overflow-wrap:anywhere}}
@media(max-width:365px){.brand{letter-spacing:0;font-size:15px}.brand-divider{display:none}.topbar{padding-inline:12px;gap:7px}.page-back{padding-inline:7px}.account-trigger{min-width:52px;padding-inline:8px}.page-heading{gap:10px}.page-heading .primary-btn{padding-inline:12px}.stat-row{gap:8px}.stat{padding:13px 8px}.library-summary{gap:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.year-cell small{display:block;font-size:13px;line-height:1.5;color:var(--muted,#aaa1bb);margin-top:8px;overflow-wrap:anywhere}
.year-cell em{display:block;font-size:13px;font-style:normal;line-height:1.5;color:#d6b6ff;margin-top:6px}
.year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.year-cell{flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;padding:14px 10px;text-align:center}
.year-cell span{font-size:14px}.year-cell strong{font-size:24px;margin-top:8px}.year-cell.current-year{border-color:#bc8eff88;background:#a873ec14}
.year-dates summary{font-size:14px;line-height:1.5;min-height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#c9b8dc}
.year-dates[open] summary{color:#e2c5ff}
/* Birth details stay visible beside every chart; 09:xx and 21:xx never look interchangeable. */
.profile-birth{display:flex;flex-direction:column;gap:3px;margin:8px 0 5px;font-size:14px;color:#c7b3dc}
.profile-birth strong{font-size:16px;line-height:1.6;color:#ead8ff;font-weight:550}
.profile-line>.icon-btn{flex-shrink:0}
.birth-final-review{margin:12px 0 16px;padding:20px 18px;background:linear-gradient(140deg,#332043cc,#191021);border:1px solid #b88cec80;border-radius:18px;box-shadow:inset 0 1px #ead4ff15;scroll-margin:20px}
.birth-final-review .eyebrow{font-size:13px;letter-spacing:1px;color:#c6a9e7}
.birth-final-review h3{margin:10px 0 7px;font-size:20px}
.birth-final-review p{font-size:15px;line-height:1.8;color:#cab8d9}
.birth-final-review>strong{display:block;margin:12px 0;font-size:24px;line-height:1.5;color:#f0e2ff;font-weight:600}
.birth-final-review .birth-range-note{margin-top:12px;padding-top:12px;border-top:1px solid #ba91dc30;font-size:14px}
