/**
 * Astro members (theme 1.26.0) — join / sign-in / dashboard / account pages,
 * the PDF sign-in prompt, "Save to my dashboard" and the member links.
 * Mobile first; Astro light / dark tokens (--ax-*) from astro-theme.css.
 */

/* ---------- shared ---------- */
.lxs--member .lxs-main { max-width: 980px; }
.llm-ticks { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--ax-muted); }
.llm-ticks li::before { content: '✓ '; color: var(--ax-good-ink, #1d7a4a); font-weight: 800; }
.llm-cta-top { margin-top: 4px; }
.llm-small { font-size: 13.5px !important; color: var(--ax-muted); line-height: 1.7; margin: 10px 0 0 !important; }
.llm-small a, .llm-linkbtn { color: var(--ax-gold-ink); font-weight: 700; text-decoration: none; }
.llm-linkbtn { background: none; border: 0; padding: 6px 2px; font: inherit; font-size: 14px; cursor: pointer; min-height: 36px; }
.llm-linkbtn:hover, .llm-small a:hover { text-decoration: underline; }
.llm-linkbtn--del { color: var(--ax-bad-ink, #b04430); }
.lxs-role--mid { background: rgba(var(--ax-gold-rgb), .14); color: var(--ax-mixed-ink, #8a6a10); }

/* ---------- join ---------- */
.llm-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.llm-card { padding: 16px; border-radius: 16px; background: var(--ax-surface); border: 1px solid var(--ax-border); box-shadow: 0 8px 22px rgba(var(--ax-shadow-rgb, 0, 0, 0), .05); }
.llm-card__ico { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; font-size: 21px; background: rgba(var(--ax-gold-rgb), .14); color: var(--ax-gold-ink); }
.llm-card h3 { margin: 10px 0 6px; font-size: 17px; line-height: 1.4; }
.llm-card p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--ax-muted); }
.llm-cmp th[scope="row"] { font-weight: 600; min-width: 180px; }
.llm-cmp td { text-align: center !important; }
.llm-yes { color: var(--ax-good-ink, #1d7a4a); font-weight: 800; font-size: 17px; }
.llm-no { color: var(--ax-dim, #9b96ad); }
.llm-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 10px; }
.llm-steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; padding: 14px; border-radius: 14px; background: var(--ax-surface); border: 1px solid var(--ax-border); }
.llm-steps li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 800; background: linear-gradient(135deg, var(--ax-gold), var(--ax-gold-2, var(--ax-gold))); color: var(--ax-on-gold, #1b1406); }
.llm-steps b { font-size: 16px; }
.llm-steps span { font-size: 14.5px; color: var(--ax-muted); line-height: 1.6; }
.llm-privacy-box { padding: 18px; border-radius: 16px; background: rgba(var(--ax-lav-rgb), .08); border: 1px solid rgba(var(--ax-lav-rgb), .3); }

/* ---------- forms ---------- */
.llm-auth { max-width: 520px !important; }
.llm-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ax-surface); border: 1px solid var(--ax-border); margin-bottom: 16px; }
.llm-tabs button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 700; font-size: 15px; color: var(--ax-muted); cursor: pointer; }
.llm-tabs button[aria-selected="true"] { background: linear-gradient(135deg, var(--ax-gold), var(--ax-gold-2, var(--ax-gold))); color: var(--ax-on-gold, #1b1406); }
.llm-form { padding: 18px 16px; border-radius: 18px; background: var(--ax-surface); border: 1px solid var(--ax-border); box-shadow: 0 10px 26px rgba(var(--ax-shadow-rgb, 0, 0, 0), .06); margin: 0 0 18px; }
.llm-form[hidden] { display: none; }
.llm-h2 { margin: 0 0 14px !important; font-size: clamp(19px, 3vw, 23px) !important; line-height: 1.4; }
.llm-f { display: block; margin: 0 0 14px; min-width: 0; }
.llm-f[hidden] { display: none; }
.llm-f > span:first-child { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--ax-text); }
.llm-f small { display: block; margin-top: 5px; font-size: 12.5px; color: var(--ax-muted); line-height: 1.55; }
.llm-f input, .llm-f select { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--ax-border-strong, var(--ax-border)); background: var(--ax-bg); color: var(--ax-text); font: inherit; font-size: 16px; box-sizing: border-box; }
.llm-f input:focus, .llm-f select:focus { outline: 2px solid rgba(var(--ax-gold-rgb), .6); outline-offset: 1px; border-color: var(--ax-gold); }
.llm-pw { display: flex; gap: 6px; }
.llm-pw input { flex: 1 1 auto; min-width: 0; }
.llm-pw__t { flex: 0 0 auto; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--ax-border); background: var(--ax-surface); color: var(--ax-gold-ink); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.llm-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 14px; line-height: 1.6; cursor: pointer; }
.llm-check[hidden] { display: none; }
.llm-check input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--ax-gold-2, #c9961c); }
.llm-check a { color: var(--ax-gold-ink); font-weight: 700; }
.llm-submit { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.llm-submit[disabled] { opacity: .65; cursor: wait; }
.llm-msg { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.6; }
.llm-msg[hidden] { display: none; }
.llm-msg.is-err { background: rgba(214, 69, 69, .1); color: var(--ax-bad-ink, #b04430); border: 1px solid rgba(214, 69, 69, .3); }
.llm-msg.is-ok { background: rgba(31, 168, 85, .1); color: var(--ax-good-ink, #1d7a4a); border: 1px solid rgba(31, 168, 85, .3); }
.llm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.llm-google { margin-bottom: 14px; }
.llm-google > div { display: flex; justify-content: center; min-height: 44px; }
.llm-or { display: flex; align-items: center; gap: 10px; color: var(--ax-muted); font-size: 13px; margin: 14px 0 0; }
.llm-or::before, .llm-or::after { content: ''; flex: 1; height: 1px; background: var(--ax-border); }
.llm-ts:empty { display: none; }
.llm-ts { margin-bottom: 12px; }
.llm-grid { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
.llm-manual { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 10px; }
.llm-manual[hidden] { display: none; }
.llm-pform .lxs-cta .lxs-btn { flex: 1 1 140px; }
.llm-pform .llm-submit { width: auto; }
.llm-danger { border-color: rgba(214, 69, 69, .35); }
.llm-btn-del { width: 100%; color: var(--ax-bad-ink, #b04430) !important; border-color: rgba(214, 69, 69, .45) !important; cursor: pointer; font-family: inherit; }
.llm-account { max-width: 620px !important; }

/* ---------- dashboard ---------- */
.llm-dash__band { padding-bottom: 14px; }
.llm-hello { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.llm-hello .lxs-band__title { margin: 0; }
.llm-acc { font-size: 14px; font-weight: 700; color: var(--ax-gold-ink); text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(var(--ax-gold-rgb), .45); background: var(--ax-surface); }
.llm-people { display: flex; gap: 8px; overflow-x: auto; padding: 14px 2px 4px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.llm-people a, .llm-people__add { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; min-height: 46px; border-radius: 999px; border: 1px solid var(--ax-border); background: var(--ax-surface); color: var(--ax-text); text-decoration: none; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.llm-people a small { display: block; font-size: 11.5px; font-weight: 500; color: var(--ax-muted); }
.llm-people a > span:last-child { line-height: 1.25; }
.llm-people a.is-on { border-color: var(--ax-gold); box-shadow: 0 0 0 2px rgba(var(--ax-gold-rgb), .35); }
.llm-people__av { width: 34px; height: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--ax-lav-rgb), .2); color: var(--ax-text); font-weight: 800; }
.llm-people a.is-on .llm-people__av { background: linear-gradient(135deg, var(--ax-gold), var(--ax-gold-2, var(--ax-gold))); color: var(--ax-on-gold); }
.llm-people__add { padding: 6px 16px; color: var(--ax-gold-ink); border-style: dashed; }
.llm-intro { font-size: 16px; line-height: 1.8; }

.llm-today { margin-top: 6px; padding: 18px 16px; border-radius: 20px; background: var(--ax-surface); border: 1px solid var(--ax-border); box-shadow: 0 12px 30px rgba(var(--ax-shadow-rgb, 0, 0, 0), .07); border-top: 5px solid var(--ax-gold); }
.llm-today.llm-rate--good { border-top-color: #1fa855; }
.llm-today.llm-rate--care { border-top-color: #d64545; }
.llm-today__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.llm-today__head h2 { margin: 2px 0 0; font-size: clamp(21px, 4vw, 28px); line-height: 1.35; }
.llm-today__head .lxs-role { font-size: 14px; padding: 5px 12px; }
.llm-kicker { margin: 0; font-size: 13px; color: var(--ax-muted); font-weight: 600; }
.llm-today__txt { font-size: 16.5px; line-height: 1.85; margin: 12px 0 8px; }
.llm-alert { margin: 10px 0; padding: 11px 14px; border-radius: 12px; font-size: 14.5px; line-height: 1.7; background: rgba(214, 69, 69, .09); border: 1px solid rgba(214, 69, 69, .28); color: var(--ax-text); }
.llm-alert--soft { background: rgba(var(--ax-lav-rgb), .1); border-color: rgba(var(--ax-lav-rgb), .32); }
.llm-facts { margin-top: 14px !important; }

.llm-week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.llm-day { padding: 10px 12px; border-radius: 14px; background: var(--ax-surface); border: 1px solid var(--ax-border); display: flex; flex-direction: column; gap: 5px; min-width: 0; border-left: 4px solid var(--ax-gold); }
.llm-day.llm-rate--good { border-left-color: #1fa855; }
.llm-day.llm-rate--care { border-left-color: #d64545; }
.llm-day b { font-size: 14px; }
.llm-day .lxs-role { align-self: flex-start; white-space: normal; }
.llm-day small { font-size: 12.5px; color: var(--ax-muted); line-height: 1.45; }
.llm-day__warn { color: var(--ax-bad-ink, #b04430) !important; font-weight: 700; }
.llm-ahead { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(var(--ax-gold-rgb), .07); border: 1px dashed rgba(var(--ax-gold-rgb), .45); }
.llm-ahead p { font-size: 15px !important; line-height: 1.75 !important; margin: 0 0 8px !important; }

.llm-boxes { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 10px; }
.llm-box { padding: 14px 16px; border-radius: 14px; background: var(--ax-surface); border: 1px solid var(--ax-border); display: flex; flex-direction: column; gap: 2px; }
.llm-box small { font-size: 12.5px; color: var(--ax-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.llm-box b { font-size: 20px; color: var(--ax-gold-ink); }
.llm-box span { font-size: 14px; color: var(--ax-muted); }
.llm-box--next { border-style: dashed; }

.llm-slow { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.llm-slow li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 11px 14px; border-radius: 14px; background: var(--ax-surface); border: 1px solid var(--ax-border); font-size: 15px; }
.llm-slow li b { min-width: 64px; }
.llm-slow li span:not(.lxs-role) { color: var(--ax-muted); flex: 1 1 160px; }

.llm-timeline { list-style: none; margin: 0 0 10px; padding: 0 0 0 16px; border-left: 2px solid rgba(var(--ax-gold-rgb), .4); display: grid; gap: 10px; }
.llm-timeline li { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 14px; border-radius: 14px; background: var(--ax-surface); border: 1px solid var(--ax-border); font-size: 15px; line-height: 1.6; }
.llm-timeline li::before { content: ''; position: absolute; left: -24px; top: 18px; width: 12px; height: 12px; border-radius: 999px; background: var(--ax-gold); border: 2px solid var(--ax-bg); }
.llm-timeline li.llm-tl--good::before { background: #1fa855; }
.llm-timeline li.llm-tl--hard::before { background: #d64545; }
.llm-timeline li.llm-tl--dasha::before { background: var(--ax-lav, #8a76e8); }
.llm-timeline time { font-weight: 800; font-size: 13.5px; color: var(--ax-gold-ink); flex: 0 0 100%; }
.llm-timeline li > span:nth-of-type(1) { flex: 1 1 200px; }

.llm-tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.llm-tools a { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 12px; border-radius: 14px; background: var(--ax-surface); border: 1px solid var(--ax-border); color: var(--ax-text); text-decoration: none; font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.llm-tools a:hover { border-color: rgba(var(--ax-gold-rgb), .6); }
.llm-tools a span { flex: 0 0 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--ax-gold-rgb), .14); color: var(--ax-gold-ink); }

.llm-count { font-size: 14px; color: var(--ax-muted); font-weight: 600; }
.llm-fam { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.llm-fam li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 12px 14px; border-radius: 14px; background: var(--ax-surface); border: 1px solid var(--ax-border); }
.llm-fam li > div:first-child { min-width: 0; flex: 1 1 220px; }
.llm-fam b { display: block; font-size: 15.5px; }
.llm-fam small { display: block; font-size: 13px; color: var(--ax-muted); overflow-wrap: anywhere; }
.llm-fam__act { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- gate modal ---------- */
.llm-noscroll { overflow: hidden; }
.llm-modal { position: fixed; inset: 0; z-index: 10050; display: none; align-items: flex-end; justify-content: center; padding: 12px; background: rgba(12, 10, 28, .55); }
.llm-modal.is-open { display: flex; }
.llm-modal__box { position: relative; width: 100%; max-width: 460px; padding: 24px 20px 18px; border-radius: 22px; background: var(--ax-surface, #fff); color: var(--ax-text, #221c3b); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); text-align: center; font-family: 'Noto Sans Sinhala', system-ui, sans-serif; }
.llm-modal__box[lang="hi"] { font-family: 'Noto Sans Devanagari', system-ui, sans-serif; }
.llm-modal__x { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--ax-muted, #686380); cursor: pointer; border-radius: 999px; }
.llm-modal__ico { margin: 0; font-size: 30px; color: var(--ax-gold-ink, #8f6208); }
.llm-modal h2 { margin: 6px 0 8px; font-size: 20px; line-height: 1.45; color: var(--ax-text, #221c3b); }
.llm-modal__d { margin: 0 0 16px; font-size: 14.5px; line-height: 1.75; color: var(--ax-muted, #686380); }
.llm-modal__cta { display: grid; gap: 8px; }
.llm-mbtn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none !important; color: var(--ax-text, #221c3b) !important; border: 1.5px solid var(--ax-border-strong, #d4c39f); background: var(--ax-surface, #fff); }
.llm-mbtn--gold { background: linear-gradient(135deg, var(--ax-gold, #e3b03a), var(--ax-gold-2, #c9961c)); color: var(--ax-on-gold, #211a33) !important; border-color: transparent; }
.llm-modal__more { margin: 12px 0 0; font-size: 13.5px; }
.llm-modal__more a { color: var(--ax-gold-ink, #8f6208); font-weight: 700; text-decoration: none; }
@media (min-width: 600px) { .llm-modal { align-items: center; } }

/* ---------- SWOT summary lock ---------- */
.llm-lock { margin: 18px 0; padding: 20px 18px; border-radius: 18px; text-align: center; background: linear-gradient(180deg, rgba(var(--ax-gold-rgb), .08), rgba(var(--ax-lav-rgb), .1)); border: 1px dashed rgba(var(--ax-gold-rgb), .55); }
.llm-lock p { margin: 0 0 10px; font-size: 15px; line-height: 1.75; }
.llm-lock__t { font-weight: 800; font-size: 17px !important; }
.llm-lock__cta { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0 0 !important; }

/* ---------- "Save to my dashboard", menu links, promo ---------- */
.llm-savechart { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; text-decoration: none; color: var(--ax-on-gold, #211a33) !important; background: linear-gradient(135deg, var(--ax-gold, #e3b03a), var(--ax-gold-2, #c9961c)); }
.llm-savechart[hidden] { display: none; }
.llx-side__member { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 10px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ax-on-gold, #211a33) !important; background: linear-gradient(135deg, var(--ax-gold, #e3b03a), var(--ax-gold-2, #c9961c)); white-space: nowrap; flex: 0 0 auto; }
.llx-side__member.is-in { background: var(--ax-surface); color: var(--ax-gold-ink) !important; border: 1px solid rgba(var(--ax-gold-rgb), .55); }
@media (max-width: 1023px) { .llx-side__member { margin: 0; align-self: center; } }
.llm-promo { margin-top: 22px; display: grid; grid-template-columns: 44px 1fr; gap: 10px 14px; align-items: center; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, rgba(var(--ax-gold-rgb), .12), rgba(var(--ax-lav-rgb), .12)); border: 1px solid rgba(var(--ax-gold-rgb), .4); }
.llm-promo__ico { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: var(--ax-surface); color: var(--ax-gold-ink); }
.llm-promo b { display: block; font-size: 16px; line-height: 1.45; }
.llm-promo p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--ax-muted); }
.llm-promo .lxs-btn { grid-column: 1 / -1; }

@media (min-width: 600px) {
	.llm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.llm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.llm-f--wide { grid-column: 1 / -1; }
	.llm-form { padding: 22px; }
	.llm-week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.llm-boxes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.llm-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.llm-timeline time { flex: 0 0 auto; min-width: 120px; }
	.llm-promo { grid-template-columns: 44px 1fr auto; }
	.llm-promo .lxs-btn { grid-column: auto; }
	.llm-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
	.llm-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.llm-week { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
@media print { .llm-savechart, .llx-side__member, .llm-modal, .llm-promo { display: none !important; } }
/* Readable rating badges in both themes (tokens switch with the theme). */
.lxs-role--good { color: var(--ax-good-ink, #18834a); }
.lxs-role--hard { color: var(--ax-bad-ink, #b13838); }

/* ---------- "Save this chart" card under the results (1.26.4) ---------- */
.llm-savecard { display: grid; grid-template-columns: 48px 1fr; gap: 12px 14px; align-items: start; margin: 22px 0 8px; padding: 18px 16px; border-radius: 20px;
	background: linear-gradient(135deg, rgba(var(--ax-gold-rgb), .14), rgba(var(--ax-lav-rgb), .14)); border: 1.5px solid rgba(var(--ax-gold-rgb), .55); box-shadow: 0 12px 30px rgba(var(--ax-shadow-rgb, 0, 0, 0), .08); }
.llm-savecard[hidden] { display: none; }
.llm-savecard__ico { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; background: linear-gradient(135deg, var(--ax-gold), var(--ax-gold-2, var(--ax-gold))); color: var(--ax-on-gold, #211a33); }
.llm-savecard h2 { margin: 2px 0 8px; font-size: clamp(18px, 3.4vw, 22px); line-height: 1.4; color: var(--ax-text); }
.llm-savecard ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.llm-savecard li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.65; color: var(--ax-text); }
.llm-savecard li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--ax-good-ink, #1d7a4a); font-weight: 800; }
.llm-savecard p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.7; color: var(--ax-muted); }
.llm-savecard__btn { width: 100%; }
.llm-savecard__note { margin: 10px 0 0 !important; font-size: 13px !important; }
.llm-savecard__note a { color: var(--ax-gold-ink); font-weight: 700; }
@media (max-width: 420px) { .llm-savecard { grid-template-columns: 1fr; } .llm-savecard__ico { width: 42px; height: 42px; } }
@media (min-width: 600px) { .llm-savecard__btn { width: auto; } }
@media print { .llm-savecard { display: none !important; } }

/* =====================================================================
 * Dashboard layout 1.26.5 (hero · 7 days · dasha + changes · tools · charts)
 * =================================================================== */
.llm-dash .lxs-main { max-width: 1120px; }
.llm-ico { display: block; width: 20px; height: 20px; flex: 0 0 auto; }
.llm-hi { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto; }
.llm-hi--gold { background: rgba(var(--ax-gold-rgb), .16); color: var(--ax-gold-ink); }
.llm-hi--lav { background: rgba(var(--ax-lav-rgb), .16); color: var(--ax-lav, #8a76e8); }
.llm-hi--rose { background: rgba(214, 69, 99, .12); color: #c23a5c; }
.llm-card { margin: 18px 0 0; padding: 16px; border-radius: 20px; background: var(--ax-surface); border: 1px solid var(--ax-border); box-shadow: 0 10px 28px rgba(var(--ax-shadow-rgb, 0, 0, 0), .06); min-width: 0; }
.llm-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 14px; }
.llm-card__head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(17px, 2.6vw, 20px); line-height: 1.4; }
.llm-card__foot { margin: 12px 0 0 !important; }
.llm-more { font-size: 14px; font-weight: 700; color: var(--ax-gold-ink); text-decoration: none; white-space: nowrap; }
.llm-more:hover { text-decoration: underline; }
.llm-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(var(--ax-gold-rgb), .6); background: rgba(var(--ax-gold-rgb), .1); color: var(--ax-gold-ink); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; text-decoration: none; }
.llm-chip:hover, .llm-chip[aria-expanded="true"] { background: rgba(var(--ax-gold-rgb), .22); }
.llm-chip--sm { min-height: 36px; padding: 0 13px; font-size: 13.5px; }

/* hero */
.llm-hero { position: relative; margin-top: 6px; border-radius: 22px; overflow: hidden; background: var(--ax-surface); border: 1px solid var(--ax-border); box-shadow: 0 14px 36px rgba(var(--ax-shadow-rgb, 0, 0, 0), .09); display: grid; grid-template-columns: 1fr; }
.llm-hero__art { position: relative; height: 150px; background-size: cover; background-position: center 40%; color: #fff; }
.llm-hero__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 40%, rgba(var(--ax-surface-rgb), 1) 100%); }
.llm-hero__wheel { position: absolute; right: -30px; top: -40px; width: 230px; height: 230px; opacity: .55; color: #fff; z-index: 1; animation: llm-spin 240s linear infinite; }
@keyframes llm-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .llm-hero__wheel { animation: none; } }
.llm-hero__main { position: relative; z-index: 2; padding: 4px 18px 6px; margin-top: -26px; }
.llm-hero__title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 8px; }
.llm-hero__title h2 { margin: 0; font-size: clamp(26px, 5vw, 36px); line-height: 1.25; }
.llm-hero__sun { color: #e8a317; }
.llm-hero__sun .llm-ico { width: 38px; height: 38px; }
.llm-hero__title .lxs-role { font-size: 13.5px; padding: 4px 12px; }
.llm-hero__txt { font-size: 16.5px; line-height: 1.8; margin: 0 0 12px; max-width: 640px; }
.llm-hero .llm-kicker { font-size: 13px; font-weight: 700; color: var(--ax-muted); margin: 0; }
.llm-hero__facts { position: relative; z-index: 2; margin: 14px 14px 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-radius: 16px; background: var(--ax-surface); border: 1px solid var(--ax-border); box-shadow: 0 8px 22px rgba(var(--ax-shadow-rgb, 0, 0, 0), .07); }
.llm-hero__facts > div { padding: 12px 12px; text-align: center; min-width: 0; border-color: var(--ax-border); }
.llm-hero__facts > div:nth-child(odd) { border-right: 1px solid var(--ax-border); }
.llm-hero__facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--ax-border); }
.llm-fi { display: flex; justify-content: center; color: #e8a317; margin-bottom: 4px; }
.llm-hero__facts dt { font-size: 12.5px; color: var(--ax-muted); }
.llm-hero__facts dd { margin: 2px 0 0; font-weight: 800; font-size: 15.5px; line-height: 1.4; overflow-wrap: anywhere; }
.llm-hero__facts dd small { display: block; font-weight: 500; font-size: 11.5px; color: var(--ax-muted); }
.llm-dayfull { position: relative; z-index: 2; margin: 0 14px 16px; padding: 14px 16px; border-radius: 16px; background: rgba(var(--ax-gold-rgb), .07); border: 1px dashed rgba(var(--ax-gold-rgb), .45); }
.llm-dayfull[hidden] { display: none; }
.llm-dayfull__advice { margin: 0 0 10px !important; font-size: 15px !important; }
.llm-dayfull__list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.llm-dayfull__list li { font-size: 14.5px; line-height: 1.7; }
.llm-hero.llm-rate--good { border-top: 4px solid #1fa855; }
.llm-hero.llm-rate--care { border-top: 4px solid #d64545; }
.llm-hero.llm-rate--mixed { border-top: 4px solid var(--ax-gold); }

/* 7 days */
.llm-week7 { list-style: none; margin: 0; padding: 2px 2px 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(118px, 1fr); gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.llm-d7 { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 12px 8px; border-radius: 16px; background: var(--ax-surface); border: 1px solid var(--ax-border); min-width: 0; }
.llm-d7.is-today { background: rgba(var(--ax-gold-rgb), .1); border: 1.5px solid rgba(var(--ax-gold-rgb), .6); }
.llm-d7__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ax-gold); margin-bottom: 2px; }
.llm-d7.is-today .llm-d7__dot { width: auto; height: auto; background: none; color: #e8a317; }
.llm-d7.is-today .llm-d7__dot .llm-ico { width: 26px; height: 26px; }
.llm-d7--best .llm-d7__dot { background: #2f7fe0; }
.llm-d7--good .llm-d7__dot { background: #1fa855; }
.llm-d7--care .llm-d7__dot { background: #d64545; }
.llm-d7 b { font-size: 14px; line-height: 1.3; }
.llm-d7__wd { font-size: 11.5px; color: var(--ax-muted); }
.llm-d7__m { font-size: 11.5px; color: var(--ax-muted); line-height: 1.4; }
.llm-d7__warn { font-size: 11px; color: var(--ax-bad-ink, #b04430); font-weight: 700; }
.llm-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.4; white-space: nowrap; }
.llm-pill--best { background: rgba(47, 127, 224, .14); color: var(--ax-blue-ink, #2f62b6); }
.llm-pill--good { background: rgba(31, 168, 85, .14); color: var(--ax-good-ink, #1d7a4a); }
.llm-pill--mixed { background: rgba(var(--ax-gold-rgb), .18); color: var(--ax-mixed-ink, #8a6a10); }
.llm-pill--care { background: rgba(214, 69, 69, .12); color: var(--ax-bad-ink, #b04430); }
.llm-cal { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--ax-border); }
.llm-cal[hidden] { display: none; }
.llm-cal h3 { margin: 0 0 10px; font-size: 16px; }
.llm-cal__grid { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.llm-cal__d { display: flex; flex-direction: column; align-items: center; padding: 6px 2px; border-radius: 10px; border: 1px solid var(--ax-border); }
.llm-cal__d b { font-size: 14px; }
.llm-cal__d small { font-size: 10.5px; color: var(--ax-muted); }
.llm-cal__d--best { background: rgba(47, 127, 224, .14); }
.llm-cal__d--good { background: rgba(31, 168, 85, .12); }
.llm-cal__d--mixed { background: rgba(var(--ax-gold-rgb), .1); }
.llm-cal__d--care { background: rgba(214, 69, 69, .12); }
.llm-cal__legend { display: flex; flex-wrap: wrap; gap: 6px; }
.llm-cal p { font-size: 14.5px; line-height: 1.75; margin: 0 0 8px; }

/* dasha */
.llm-2col { display: grid; grid-template-columns: 1fr; gap: 0 18px; }
.llm-dbox3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.llm-db { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-radius: 14px; min-width: 0; }
.llm-db__i { display: inline-flex; width: 30px; height: 30px; border-radius: 9px; align-items: center; justify-content: center; margin-bottom: 4px; background: rgba(255, 255, 255, .6); }
.llm-db small { font-size: 11.5px; color: var(--ax-muted); font-weight: 700; }
.llm-db b { font-size: 18px; line-height: 1.3; color: var(--ax-text); overflow-wrap: anywhere; }
.llm-db span:last-child { font-size: 12px; color: var(--ax-muted); line-height: 1.45; }
.llm-db--gold { background: rgba(var(--ax-gold-rgb), .12); border: 1px solid rgba(var(--ax-gold-rgb), .35); }
.llm-db--gold .llm-db__i { color: var(--ax-gold-ink); }
.llm-db--green { background: rgba(31, 168, 85, .09); border: 1px solid rgba(31, 168, 85, .28); }
.llm-db--green .llm-db__i { color: var(--ax-good-ink, #1d7a4a); }
.llm-db--blue { background: rgba(47, 127, 224, .08); border: 1px solid rgba(47, 127, 224, .26); }
.llm-db--blue .llm-db__i { color: var(--ax-blue-ink, #2f62b6); }
.llm-dline { margin: 18px 4px 4px; }
.llm-dline__bar { position: relative; height: 6px; border-radius: 999px; background: var(--ax-border); }
.llm-dline__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, var(--ax-gold), #1fa855); }
.llm-dline__now { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ax-surface); border: 3px solid var(--ax-gold-2, #c9961c); }
.llm-dline__labels { position: relative; display: flex; justify-content: space-between; min-height: 44px; margin-top: 8px; }
.llm-dline__labels > span { display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; max-width: 34%; }
.llm-dline__labels b { font-size: 13.5px; }
.llm-dline__labels small { color: var(--ax-muted); font-size: 11.5px; }
.llm-dline__m { position: absolute; transform: translateX(-50%); text-align: center; align-items: center; }
.llm-dline__r { text-align: right; align-items: flex-end; }

/* planet changes */
.llm-tl2 { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid rgba(var(--ax-gold-rgb), .35); display: grid; gap: 0; }
.llm-tl2 li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; padding: 8px 0 8px 6px; border-bottom: 1px solid var(--ax-border); }
.llm-tl2 li[hidden] { display: none; }
.llm-tl2 li:last-child { border-bottom: 0; }
.llm-tl2 li::before { content: ''; position: absolute; left: -21px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--ax-gold); border: 2px solid var(--ax-surface); }
.llm-tl2--good::before { background: #1fa855 !important; }
.llm-tl2--hard::before { background: #d64545 !important; }
.llm-tl2--dasha::before { background: var(--ax-lav, #8a76e8) !important; }
.llm-tl2 time { grid-column: 1 / -1; font-size: 12.5px; font-weight: 800; color: var(--ax-gold-ink); }
.llm-tl2__t { font-size: 14.5px; line-height: 1.5; min-width: 0; }
.llm-tl2__t small { display: block; font-size: 12px; color: var(--ax-muted); }
.llm-tl2 .lxs-role { justify-self: end; }
.llm-tl2__all { margin-top: 10px; }

/* tools */
.llm-tools6 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
.llm-tools6 a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--ax-border); background: var(--ax-surface); color: var(--ax-text); text-decoration: none; min-height: 60px; transition: border-color .2s ease, transform .2s ease; }
.llm-tools6 a:hover { border-color: rgba(var(--ax-gold-rgb), .6); transform: translateY(-1px); }
.llm-tools6 .llm-hi { width: 42px; height: 42px; border-radius: 12px; }
.llm-tools6__t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.llm-tools6__t b { font-size: 15px; line-height: 1.35; }
.llm-tools6__t small { font-size: 12.5px; color: var(--ax-muted); line-height: 1.4; }
.llm-tools6 a > .llm-ico:last-child { color: var(--ax-muted); width: 18px; height: 18px; }

/* my charts */
.llm-fam li { display: grid; grid-template-columns: 40px 1fr; gap: 6px 12px; align-items: center; }
.llm-fam li .llm-people__av { width: 40px; height: 40px; }
.llm-fam li.is-on { border-color: rgba(var(--ax-gold-rgb), .6); background: rgba(var(--ax-gold-rgb), .06); }
.llm-fam__act { grid-column: 1 / -1; justify-content: flex-end; }

@media (min-width: 600px) {
	.llm-hero__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.llm-hero__facts > div { border-bottom: 0 !important; border-right: 1px solid var(--ax-border); }
	.llm-hero__facts > div:last-child { border-right: 0; }
	.llm-tools6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.llm-fam li { grid-template-columns: 40px 1fr auto; }
	.llm-fam__act { grid-column: auto; }
	.llm-card { padding: 18px 20px; }
}
@media (min-width: 900px) {
	.llm-hero { grid-template-columns: 1.15fr 1fr; grid-template-areas: "main art" "facts facts" "full full"; }
	.llm-hero__main { grid-area: main; margin-top: 0; padding: 24px 10px 8px 26px; }
	.llm-hero__art { grid-area: art; height: auto; min-height: 220px; }
	.llm-hero__art::after { background: linear-gradient(90deg, rgba(var(--ax-surface-rgb), 1) 0%, rgba(var(--ax-surface-rgb), .25) 35%, rgba(0, 0, 0, 0) 70%); }
	.llm-hero__wheel { right: -20px; top: -60px; width: 300px; height: 300px; }
	.llm-hero__facts { grid-area: facts; margin: -44px 22px 18px auto; width: min(640px, 62%); }
	.llm-dayfull { grid-area: full; margin: 0 22px 18px; }
	.llm-2col { grid-template-columns: 1fr 1fr; }
	.llm-tools6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.llm-week7 { grid-auto-flow: row; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; }
}
/* 1.26.5 fixes: next-antar label above the bar (no overlap with the end year); cards keep their own height */
.llm-dline { margin-top: 56px; }
.llm-dline__labels { position: static; }
.llm-dline { position: relative; }
.llm-dline__m { top: -48px; bottom: auto; white-space: nowrap; max-width: none !important; }
.llm-dline__m::after { content: ''; display: block; width: 2px; height: 10px; margin: 2px auto 0; background: var(--ax-lav, #8a76e8); }
@media (min-width: 900px) { .llm-2col { align-items: start; } }
@media (max-width: 599px) {
	.llm-dbox3 { grid-template-columns: 1fr; }
	.llm-db { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto auto; column-gap: 10px; padding: 10px 12px; }
	.llm-db__i { grid-row: 1 / span 3; margin: 0; align-self: center; }
	.llm-db b { font-size: 17px; }
}
