/* Photoreal temple slabs; frame slices preserve carved corners on any card size. */
:root[data-theme=light] .member-main{
 --stone-image40:url('/static/carved-day42.png');
 --stone-face38:#fff9ee;--stone-base38:#f0e7d7;--stone-inset38:#f7efdf;
 --metal-light38:#e8d3a6;--metal-mid38:#aa8146;--metal-deep38:#7d603b;
 --stone-glint38:#ffffffb3;--stone-cut38:#6f573a32;--stone-shadow38:#50391f32;
 --engraving38:#ffffffcc;--surface:#f5efe6;--panel:#fff9ee;--line:#a38f73;
 --ink:#201509;--muted:#342211;--blue:#39230d;--gold:#462805;--teal:#173b26;
 --engrave-shadow40:0 -1px 0 #51381755,0 1px 0 #ffffffd9;
}
:root[data-theme=dark] .member-main{
 --stone-image40:url('/static/carved-night42.png');
 --stone-face38:#302e2b;--stone-base38:#252522;--stone-inset38:#282825;
 --metal-light38:#e6ca8e;--metal-mid38:#ad8b55;--metal-deep38:#665337;
 --stone-glint38:#f4dfbe20;--stone-cut38:#09070470;--stone-shadow38:#09070480;
 --engraving38:#000000aa;--surface:#383832;--panel:#302e2b;--line:#80786a;
 --ink:#fff8e6;--muted:#f3e3c7;--blue:#f5ddb5;--gold:#ffe4aa;--teal:#cdf0d7;
 --engrave-shadow40:0 -1px 1px #000,0 1px 0 #ffdf9b44;
}
/* Full-strength nine-slice artwork: no opaque veil or coloured wash over the stone. */
.member-main .glass,.member-main .dashboard33 .focus-pair292{
 background:transparent;border:1px solid transparent;border-radius:12px;
 border-image:var(--stone-image40) 22% fill / 28px / 0 round;
 padding:30px;box-shadow:0 10px 16px #0004;
 backdrop-filter:none;-webkit-backdrop-filter:none;
}
/* Each pair shares one slab, without a second frame around its inner columns. */
.member-main .dashboard33 .focus-pair292 .glass{background:transparent;border:0;border-image:none;box-shadow:none;padding:0}
/* Text is live HTML, including Hindi/Arabic; only its light/shadow suggests engraving. */
.member-main .glass>h2,.member-main .glass>header h2{
 position:relative;padding:8px 10px;border-radius:2px;
 background:transparent;border:0;border-bottom:1px solid var(--stone-cut38);
 box-shadow:0 1px 0 var(--stone-glint38);color:var(--ink);text-shadow:var(--engrave-shadow40);
}
.member-main .glass>h2::before,.member-main .glass>header h2::before{display:none}
.member-main .glass h3,.member-main .rank-bars20 button>span,.member-main .rank-bars20 button>strong,
.member-main .period-card strong{color:var(--ink);text-shadow:var(--engrave-shadow40)}
.member-main .rashifal-grid30>.topic-card31{
 background:transparent!important;border:1px solid transparent;
 border-image:var(--stone-image40) 22% fill / 27px / 0 round;
 border-radius:12px;padding:29px;box-shadow:0 8px 12px #0005;
}
.member-main .rashifal-grid30>.topic-card31:hover{box-shadow:0 10px 18px #0006}
.member-main .topic-card31>strong{color:var(--ink);text-shadow:var(--engrave-shadow40)}
.member-main .topic-card31>span{color:var(--ink);line-height:1.55}
.member-main .topic-card31>small{color:var(--blue)}
.member-main .topic-icon31,.member-main .profile-avatar35{
 background:linear-gradient(145deg,var(--metal-light38),color-mix(in srgb,var(--metal-light38) 75%,var(--metal-mid38)));
 color:#202b36;border:1px solid var(--metal-light38);filter:none;
 box-shadow:0 2px 3px var(--stone-shadow38),inset 0 1px 0 #fff8,inset 0 -1px 0 #35281855;
}
.member-main .kundli15{
 background:color-mix(in srgb,var(--stone-inset38) 82%,transparent);outline:1px solid var(--metal-mid38);outline-offset:-1px;
 box-shadow:inset 0 2px 7px var(--stone-shadow38),inset 0 -1px 0 var(--stone-glint38);
}
.member-main .map-card26 svg [role=button] rect{filter:drop-shadow(0 2px 1px var(--stone-shadow38))}
.member-main .map-card26 svg [aria-pressed=true] rect{stroke:var(--gold);stroke-width:2.5}
.member-main .period-card,.member-main .day-recommendations35>section,.member-main .map-interpretations26>details{
 background:var(--stone-inset38);box-shadow:inset 0 1px 2px var(--stone-shadow38),0 1px 0 var(--stone-glint38);
}
/* Rank labels share one line with their score; the full-width channel sits below. */
:is(.member-main,.reading-dialog293) .rank-bars20{gap:4px}
:is(.member-main,.reading-dialog293) .rank-bars20 button{
 grid-template-columns:minmax(0,1fr) max-content;grid-template-rows:auto 7px;
 gap:6px 12px;padding:8px 12px;min-height:49px;border:1px solid transparent;
 border-radius:9px;position:relative;line-height:1.35;
}
:is(.member-main,.reading-dialog293) .rank-bars20 button>span{grid-column:1;grid-row:1;min-width:0;overflow-wrap:break-word}
:is(.member-main,.reading-dialog293) .rank-bars20 button>strong{grid-column:2;grid-row:1;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--ink)}
:is(.member-main,.reading-dialog293) .rank-bars20 button>i{
 grid-column:1/-1;grid-row:2;width:100%;height:7px;border-radius:5px;
 background:color-mix(in srgb,var(--ink) 13%,var(--stone-inset38));
 box-shadow:inset 0 1px 2px var(--stone-shadow38),0 1px 0 var(--stone-glint38);
}
:is(.member-main,.reading-dialog293) .rank-bars20 button>i>b{box-shadow:inset 0 1px 0 #ffffff55,inset 0 -1px 0 #00000020}
:is(.member-main,.reading-dialog293) .rank-bars20 button[aria-pressed=true]{border-color:var(--metal-mid38);background:var(--stone-inset38)!important;box-shadow:inset 0 1px 0 var(--stone-glint38),0 2px 4px var(--stone-shadow38)}
:is(.member-main,.reading-dialog293) .rank-bars20 button[aria-pressed=true]::before{content:"";position:absolute;inset-inline-start:3px;top:12px;width:3px;height:12px;border-radius:2px;background:var(--gold)}
:is(.member-main,.reading-dialog293) .rank-bars20 button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

.reading-dialog293{--stone-inset38:var(--surface);--stone-shadow38:#50391f24;--stone-glint38:#ffffff33;--metal-mid38:var(--gold)}
/* Sun/moon medallions remain the existing local theme control. */
button.theme-switch41{display:inline-flex;align-items:center;gap:2px;padding:3px;min-width:76px;border-radius:24px;border:1px solid #b29360;background:#242723;box-shadow:inset 0 1px 3px #0008}
.theme-switch41 span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#e8cb99}
.theme-switch41 svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
:root[data-theme=light] .theme-switch41 .theme-sun41,:root[data-theme=dark] .theme-switch41 .theme-moon41{background:linear-gradient(#f3d8a3,#c89953);color:#302619;box-shadow:inset 0 1px 0 #fff9,0 1px 3px #0006}
.theme-switch41:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
:root[data-theme=light] .sidebar14{background:linear-gradient(#fff6e0ed,#eee2caed),url('/static/carved-day42.png') center/cover;color:#302619;--ink:#302619;--muted:#4b3827;--gold:#633d12;--line:#a38f73}
:root[data-theme=dark] .sidebar14{background:linear-gradient(#15232bf0,#101d24ed),url('/static/carved-night42.png') center/cover;color:#fff6df;--ink:#fff6df;--muted:#ebdcc5;--gold:#ffe0a0;--line:#80786a}
.sidebar14 .nav14 button{color:var(--ink);border-radius:8px}
.sidebar14 .nav14 button.active{background:color-mix(in srgb,var(--gold) 10%,transparent);color:var(--ink);border:1px solid var(--gold);box-shadow:inset 0 1px 0 #ffffff22}
.sidebar14 .nav-icon{color:var(--gold);text-shadow:0 1px 1px #0002}
/* Unified navigation and toolbar: scoped selectors outrank the legacy global button skin. */
:root[data-theme=light] .sidebar14{--stone-image40:url('/static/carved-day42.png');--surface:#e9d7b8;--panel:#f2e5cd;--selected-face43:#583814;--selected-ink43:#fff8e6}
:root[data-theme=dark] .sidebar14{--stone-image40:url('/static/carved-night42.png');--surface:#33271b;--panel:#251e16;--selected-face43:#e8c483;--selected-ink43:#281b0c}
.sidebar14{padding:14px 10px;scrollbar-width:thin;scrollbar-color:var(--gold) transparent}
.sidebar14 .brand{padding:13px 8px;margin-bottom:16px;gap:8px;border:1px solid transparent;border-image:var(--stone-image40) 22% fill / 12px / 0 round}
.sidebar14 .brand img{width:34px;height:34px;flex:0 0 34px}
.sidebar14 .brand strong{font-size:.69rem;letter-spacing:.035em;overflow-wrap:anywhere}
.sidebar14 .nav14{gap:6px}
html body .sidebar14 .nav14 button{
 display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:10px;
 padding:11px 13px;min-height:44px;line-height:1.35;font-size:.84rem;
 color:var(--ink);background:transparent;border:1px solid transparent;
 border-image:var(--stone-image40) 22% fill / 11px / 0 round;
 border-radius:5px;box-shadow:0 3px 5px #0003;position:relative;
}
html body .sidebar14 .nav14 button.active{
 background:var(--selected-face43);color:var(--selected-ink43);border-image:none;
 border:1px solid var(--gold);box-shadow:inset 0 1px 0 #ffffff55,0 3px 7px #0004;
}
.sidebar14 .nav-label43{min-width:0;overflow-wrap:break-word}
.sidebar14 .nav-icon{display:grid;place-items:center;width:22px;height:22px;color:var(--gold);text-shadow:none}
.sidebar14 .nav-icon svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
html body .sidebar14 .nav14 button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
html body .sidebar14 .nav14 button:hover{filter:brightness(1.08)}
html body .sidebar14 #logout{background:var(--surface);color:var(--ink);border-color:var(--gold)}
.member-main .member-top{border:1px solid transparent;border-radius:6px;border-image:var(--stone-image40) 22% fill / 13px / 0 round;background:transparent;padding:15px 17px;gap:10px}
.member-main .member-top>.tools{min-width:0}
.member-main .member-top>.tools:last-child{flex-wrap:wrap;gap:7px}
html body .member-main .member-top button:not(.theme-switch41),html body .member-main .member-top select{
 background:linear-gradient(var(--stone-glint38),transparent 40%),var(--stone-inset38);
 color:var(--ink);border:1px solid var(--metal-mid38);border-radius:7px;
 min-height:36px;padding:7px 10px;font-size:.84rem;box-shadow:inset 0 1px 0 var(--stone-glint38),0 2px 3px var(--stone-shadow38);
}
html body .member-main .member-top select option{background:var(--stone-inset38);color:var(--ink)}
html body .member-main .horizons button{background:var(--stone-inset38);color:var(--ink);border:1px solid var(--metal-mid38);box-shadow:inset 0 1px 0 var(--stone-glint38)}
html body .member-main .horizons button[aria-pressed=true]{background:linear-gradient(#f6dfb1,#ddba7a);color:#281b0c;border-color:#bd9657;box-shadow:inset 0 1px 0 #fff8,0 2px 4px #0003}
/* Avoid giant grain and stretched carvings on large panels: the border tiles repeat. */
.member-main .glass>h2,.member-main .glass>header h2{font-weight:600;text-shadow:0 1px 0 var(--engraving38)}
/* Coordinated inner surfaces. Local tokens keep every descendant readable in both themes. */
.member-main :is(.day-recommendations35>section,.sky-times31>div,.panchang-facts31>div,.cautions31 p,.identity26,.depth-layer19,.chapter-meaning19,.time-detail,.observances31>span,.map-interpretations26>details,.chart-explain20){
 --ink:#fff4da;--muted:#e6d4b5;--gold:#f8d395;--blue:#f1d1a1;--teal:#a8e3c9;
 --line:#9a7950;--surface:#352b20;--panel:#30271c;--stone-inset38:#352b20;
 color:var(--ink);background:linear-gradient(135deg,#493825,#2c241b 72%);
 border:1px solid #a58557;border-radius:9px;
 box-shadow:inset 0 1px 0 #f5d5a133,inset 0 -2px 0 #100a0555,0 4px 9px #21140733;
 text-shadow:none;
}
.member-main .day-recommendations35{align-items:start}
.member-main .day-recommendations35>section:first-child{
 --surface:#193e34;--panel:#16372e;--line:#699784;
 background:linear-gradient(135deg,#265342,#12342b);border-color:#79a88b;border-inline-start:3px solid #8cd4af;
}
.member-main .day-recommendations35>.caution-list35{
 --surface:#4a2d20;--panel:#3f281c;--line:#b58259;
 background:linear-gradient(135deg,#603d26,#39251c);border-inline-start:3px solid #e6ad70;
}
.member-main :is(.day-recommendations35,.chapter-meaning19) h3{color:var(--ink);text-shadow:none}
.member-main .sky-times31>div:nth-child(n+3){--surface:#292b43;background:linear-gradient(135deg,#343952,#22243b);border-color:#9394ae}
.member-main .sky-times31>div:nth-child(n+3) i{color:#d0d5ff}
.member-main .sky-times31>div:nth-child(-n+2) i{color:#ffdc95}
.member-main .panchang-facts31>div{border-inline-start:2px solid #d4ae72}
html body .member-main .panchang-facts31 .panchang-info33{background:transparent;color:#f8d395;border-color:transparent}
.member-main .observances31>span{color:#ffe0a4;border-color:#c6a16b}
.member-main .cautions31 p{padding:8px 11px}
.member-main .identity26{border-color:#b9935e}
html body .member-main .depth-layer19{color:var(--ink);background:linear-gradient(135deg,#493825,#2c241b);border-color:#a58557}
html body .member-main .depth-layer19[aria-pressed=true]{background:linear-gradient(135deg,#294e41,#18372d);border:2px solid #e2be80;box-shadow:inset 0 1px 0 #ffe3ae44,0 4px 9px #100a0544}
.member-main .chapter-meaning19{border-color:#ad8c5e!important}
.member-main .chapter-meaning19 .read-more293{--surface:#4a3824}
/* Accurate timeline geometry is retained; colours express the existing classification. */
.member-main .time-lane{--bg:#241f18;--ink:#fff4da;--surface:#352b20;--line:#987b54;background:#241f18;border:1px solid #987b54;box-shadow:inset 0 2px 4px #0005}
html body .member-main .time-segment{color:#fff4da;border:1px solid #a58b66;background:#443827}
html body .member-main .time-segment.supportive{background:linear-gradient(#2b5a48,#193f33);border-bottom:3px solid #8dd4b2}
html body .member-main .time-segment.ordinary{background:linear-gradient(#514332,#342b20);border-bottom:3px solid #bba077}
html body .member-main .time-segment.caution{background:linear-gradient(#6a4028,#472c1e);border-bottom:3px solid #f0bb7b}
html body .member-main .time-segment:focus-visible{outline:2px solid #fff0c6;outline-offset:-3px;z-index:2}
.member-main .time-detail{border-inline-start:3px solid #d4ac68}
/* The chart is engraved on a dark slab; its calculated positions remain untouched. */
.member-main .kundli15{--ink:#fff2cc;--gold:#f4d08b;--surface:#32271a;--panel:#302418;--line:#b8955b;--stone-inset38:#302418;color:#f4d08b;background:radial-gradient(ellipse at 25% 15%,#493622,#261f17 80%);outline-color:#c4a16b}
.member-main .kundli15 text{fill:#fff0c4}
.member-main .map-card26 svg{--ink:#fff2d6;--surface:#382c1e;--panel:#302418;--line:#af8a55;--gold:#ffda94;--teal:#176f53}
.member-main .map-card26 svg [role=button] rect{fill:#382c1e;stroke-width:1.5;filter:drop-shadow(0 2px 1px #23130655)}
.member-main .map-card26 svg [aria-pressed=true] rect{fill:#1c4938;stroke:#cc9d4f;stroke-width:2.5}
.member-main .map-card26 svg [role=button] text{fill:#fff2d6}
:root[data-theme=dark] .member-main .map-card26 svg{--teal:#93d6b2}
.member-main .map-card26 svg [role=button]:focus{outline:0}
.member-main .map-card26 svg [role=button]:focus-visible rect{stroke:#f7c56e;stroke-width:4}

html body .member-main .rank-bars20 button[aria-pressed=true]{--ink:#fff4da;--stone-inset38:#3b2b1b;--gold:#f8d395;background:#3b2b1b!important;color:#fff4da;border-color:#bd9558}
.member-main .time-segment{text-overflow:ellipsis}
@media(hover:hover){:is(.member-main,.reading-dialog293) .rank-bars20 button:hover{border-color:var(--metal-mid38)}}
@media(max-width:600px){.member-main .glass,.member-main .dashboard33 .focus-pair292{border-image-width:22px;padding:24px}.member-main .rashifal-grid30>.topic-card31{border-image-width:22px;padding:24px}.member-main .dashboard33 .focus-pair292 .glass{padding:0}}
@media(prefers-reduced-transparency:reduce){
 .member-main .glass,.member-main .dashboard33 .focus-pair292,.member-main .rashifal-grid30>.topic-card31{background:var(--stone-face38)!important;border-image:none}
}
@media(forced-colors:active){
 .member-main .glass,.member-main .dashboard33 .focus-pair292,.member-main .rashifal-grid30>.topic-card31{background:Canvas!important;border:1px solid CanvasText;border-image:none;box-shadow:none}
 .member-main .glass h2,.member-main .glass h3,.member-main .rank-bars20 button>span,.member-main .rank-bars20 button>strong{color:CanvasText;text-shadow:none}
 .member-main .topic-icon31,.member-main .profile-avatar35{background:Canvas;color:CanvasText}
 :is(.member-main,.reading-dialog293) .rank-bars20 button[aria-pressed=true]{border:2px solid Highlight;background:Canvas!important}
 :is(.member-main,.reading-dialog293) .rank-bars20 button>i{background:Canvas;border:1px solid CanvasText}
 :is(.member-main,.reading-dialog293) .rank-bars20 button>i>b{background:Highlight!important}
 :is(.member-main,.reading-dialog293) .rank-bars20 button:focus-visible{outline-color:Highlight}
}
@media print{
 .member-main .glass,.member-main .dashboard33 .focus-pair292,.member-main .rashifal-grid30>.topic-card31,.member-main .glass>h2,.member-main .glass>header h2{background:#fff!important;border-image:none!important;box-shadow:none!important}
 .member-main .glass *{text-shadow:none!important}
 .member-main .glass h2,.member-main .glass h3,.member-main .rank-bars20 button>span,.member-main .rank-bars20 button>strong{color:#111}
 .member-main .map-card26 svg [role=button] rect{filter:none}
 :is(.member-main,.reading-dialog293) .rank-bars20 button{break-inside:avoid}
}


.member-main .welcome-top32{text-shadow:var(--engrave-shadow40)}
@media(forced-colors:active){.theme-switch41,.theme-switch41 span{background:ButtonFace!important;color:ButtonText!important;box-shadow:none}.sidebar14 .nav14 button.active{border-color:Highlight}}
@media print{.member-main .member-top{background:#fff!important}.theme-switch41{display:none}}

@media(prefers-reduced-transparency:reduce){html body .sidebar14 .nav14 button{border-image:none;background:var(--surface)}.member-main .member-top{border-image:none;background:var(--stone-face38)}}
@media(forced-colors:active){html body .sidebar14 .nav14 button,.sidebar14 .brand,.member-main .member-top{border-image:none;background:Canvas;box-shadow:none;color:CanvasText}html body .sidebar14 .nav14 button.active{background:Highlight;color:HighlightText;border-color:Highlight}html body .member-main .horizons button[aria-pressed=true]{background:Highlight;color:HighlightText}}
@media print{.member-main .member-top{border-image:none!important;background:#fff!important}}

.sidebar14 .nav14 button.active .nav-icon{color:inherit}

@media(forced-colors:active){
 .member-main :is(.day-recommendations35>section,.sky-times31>div,.panchang-facts31>div,.cautions31 p,.identity26,.depth-layer19,.chapter-meaning19,.time-detail,.observances31>span,.map-interpretations26>details,.chart-explain20,.kundli15){--ink:CanvasText;--muted:CanvasText;--gold:LinkText;--blue:LinkText;--surface:Canvas;--panel:Canvas;color:CanvasText;background:Canvas!important;border-color:CanvasText;box-shadow:none}
 html body .member-main .time-segment{background:Canvas!important;color:CanvasText}
 .member-main .map-card26 svg [role=button] rect{fill:Canvas;stroke:CanvasText}.member-main .map-card26 svg [role=button] text,.member-main .kundli15 text{fill:CanvasText}
 .member-main .map-card26 svg [aria-pressed=true] rect{stroke:Highlight}
}
@media print{
 .member-main :is(.day-recommendations35>section,.sky-times31>div,.panchang-facts31>div,.cautions31 p,.identity26,.depth-layer19,.chapter-meaning19,.time-detail,.observances31>span,.map-interpretations26>details,.chart-explain20,.kundli15){--ink:#111;--muted:#333;--gold:#543919;--blue:#543919;--surface:#fff;--panel:#fff;color:#111;background:#fff!important;box-shadow:none}
 .member-main .kundli15 text,.member-main .map-card26 svg [role=button] text{fill:#111}.member-main .map-card26 svg [role=button] rect{fill:#fff;stroke:#654c2e}
 html body .member-main .time-segment{background:#fff!important;color:#111;border-color:#654c2e}
}

@media(forced-colors:active){html body .member-main .rank-bars20 button[aria-pressed=true]{background:Highlight!important;color:HighlightText;--ink:HighlightText}}

/* Shared action controls: local foreground travels with its bronze background. */
html body :is(.member-main,.reading-dialog293) button.read-more293,
html body .member-main .dashboard33 button.read-more293,
html body .member-main .page-heading>button {
 --ink:#fff0d1;--blue:#fff0d1;color:#fff0d1;
 background:linear-gradient(#51402b,#352719);border:1px solid #ae8952;
 border-radius:8px;min-height:44px;padding:9px 14px;font-size:.875rem;line-height:1.4;
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 max-width:100%;white-space:normal;text-align:center;text-shadow:none;
 box-shadow:inset 0 1px 0 #f9d39933,0 2px 3px #20140833;
}
html body :is(.member-main,.reading-dialog293) button.read-more293:hover,
html body .member-main .page-heading>button:hover{border-color:#e7c58a;filter:brightness(1.1)}

.member-main .page-heading{
 background:transparent;border:1px solid transparent;
 border-image:var(--stone-image40) 22% fill / 24px / 0 round;
 padding:26px;display:flex;flex-wrap:wrap;align-items:flex-start;gap:16px;
}
.member-main .page-heading>div{flex:1 1 420px;min-width:0}
html body .member-main .page-heading>button{flex:0 1 auto;white-space:normal;margin:0}
html body .member-main .tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:0}
html body .member-main .tabs>button{
 background:linear-gradient(#51402b,#352719);color:#fff0d1;border:1px solid #ae8952;
 border-radius:8px;min-height:44px;padding:8px 13px;font-size:.875rem;line-height:1.4;
 max-width:100%;white-space:normal;text-shadow:none;
 box-shadow:inset 0 1px 0 #f9d39933,0 2px 3px #20140833;
}
html body .member-main .tabs>button.active{
 background:linear-gradient(#f6dfb1,#ddba7a);color:#281b0c;border-color:#94703b;
 box-shadow:inset 0 -3px 0 #705023,inset 0 1px 0 #fff9;
}
@media(max-width:600px){.member-main .page-heading{padding:22px;gap:12px}.member-main .page-heading>div{flex-basis:100%}}
@media(forced-colors:active){
 html body :is(.member-main,.reading-dialog293) button.read-more293,
 html body .member-main .dashboard33 button.read-more293,
 html body .member-main .page-heading>button,html body .member-main .tabs>button{
 background:ButtonFace;color:ButtonText;border-color:ButtonText;box-shadow:none;
 }
 html body .member-main .tabs>button.active{background:Highlight;color:HighlightText}
 .member-main .page-heading{border-image:none;background:Canvas;border-color:CanvasText}
}
@media print{.member-main .page-heading{border-image:none;background:#fff;border-color:#777}}

html body :is(.member-main,.reading-dialog293) button.read-more293:focus-visible,
html body .member-main :is(.page-heading>button,.tabs>button):focus-visible{
 outline:2px solid #fff0d1;outline-offset:2px;box-shadow:0 0 0 5px #513819;
}
/* Arrow remains its own flex item while translated labels wrap within the control. */
.action-label46{min-width:0;overflow-wrap:anywhere;line-height:1.4}
.action-arrow46{flex:0 0 auto;line-height:1;align-self:center}
html body :is(.member-main,.reading-dialog293) button.read-more293:disabled,
html body .member-main :is(.page-heading>button,.tabs>button):disabled{filter:none;cursor:not-allowed}
@media(forced-colors:active){
 html body :is(.member-main,.reading-dialog293) button.read-more293:focus-visible,
 html body .member-main :is(.page-heading>button,.tabs>button):focus-visible{
 outline:2px solid Highlight;outline-offset:3px;box-shadow:none;
 }
}

/* Readings lead; reference sections stay compact and avoid stretched card interiors. */
.member-main .content-grid{align-items:start}
.member-main .message-body47{white-space:pre-line;overflow-wrap:anywhere}
.member-main .forecast-reading47>h2{font-size:1.1rem;line-height:1.5}
.member-main .forecast-reading47 .reading-preview293>p{margin-block:10px 14px}
.member-main .report-card .report-result:empty{display:none}
.member-main details.glass>summary{cursor:pointer;font-weight:600}
.member-main details.glass[open]>summary{margin-bottom:14px}

.forecast-builder30 fieldset{border:0;padding:0;margin:14px 0 0;min-width:0}
