/* Continuous page canvas; each control has the same relief as the side rail. */
body[data-shell]{--shell-edge:16px;--shell-header:64px;--shell-rail:66px;--shell-nav-gap:10px}
body[data-shell][data-portal=true]{--shell-header:104px}
body[data-shell]>header{height:var(--shell-header);background-color:var(--bg);background-image:var(--texture)}
body[data-shell] .brand{top:12px;left:auto;right:var(--shell-edge);width:154px;height:40px;font-size:16px}
body[data-shell] .top-controls{top:12px;left:var(--shell-edge);right:auto;gap:8px;max-width:calc(100% - 230px);flex-wrap:wrap;justify-content:flex-start}
body[data-shell] .top-controls :is(button,.button){height:30px;min-height:30px;border-radius:9px;padding:6px;background-color:var(--bg);background-image:var(--texture);box-shadow:var(--relief-shadow);border:0;flex-shrink:0}
body[data-shell] .top-controls button{width:30px}
body[data-shell] .top-controls .icon{width:18px;height:18px}
body[data-shell] #header-auth{display:flex;gap:8px;align-items:center}
body[data-shell] #header-auth .button{padding:6px 12px;font-size:12px;white-space:nowrap;font-weight:500}
body[data-shell] .language-control{position:relative;display:block;gap:0}
body[data-shell] #language-toggle{width:44px;padding:6px;font-size:12px;letter-spacing:.4px}
body[data-shell] #language-panel{position:fixed;left:0;right:auto;top:42px;width:248px;max-width:calc(100vw - 36px);max-height:min(420px,65dvh);overflow:auto;padding:8px;border:0;border-radius:10px;background:var(--bg);background-image:var(--texture);background-attachment:fixed;box-shadow:var(--relief-shadow);z-index:40;direction:rtl}
body[data-shell] #language-panel [role=listbox]{display:grid;gap:6px;direction:ltr}
body[data-shell] #language-panel button{display:flex;justify-content:flex-start;width:100%;height:auto;min-height:36px;padding:8px 12px;text-align:left;white-space:normal;box-shadow:none;font-weight:400}
body[data-shell] #language-panel button[aria-selected=true]{color:var(--accent);box-shadow:inset 0 1px 4px #0002}
body[data-shell] #portal-links{top:60px;left:var(--shell-edge);right:var(--shell-edge)}
body[data-shell] .portal-nav{justify-content:flex-start;gap:8px;flex-wrap:wrap}
body[data-shell] .portal-nav a{min-height:30px;padding:6px 12px;border-radius:9px;background:var(--bg);background-image:var(--texture);box-shadow:var(--relief-shadow);font-size:12px}
body[data-shell]>aside{display:flex;top:calc(var(--shell-header) + 18px);left:0;right:auto;bottom:20px;width:var(--shell-rail);gap:14px}
body[data-shell]>aside.expanded{width:224px;border-radius:0 12px 12px 0;background-color:var(--bg);background-image:var(--texture)}
body[data-shell]>aside.expanded>:is(#side-toggle,#menu){align-self:flex-start;margin-left:18px;margin-right:0}
body[data-shell] #side-toggle .icon{transform:rotate(90deg)}
body[data-shell] aside nav{gap:var(--shell-nav-gap)}
body[data-shell] aside .rail-bottom{left:18px;right:auto;bottom:20px}
body[data-shell][data-portal=true] aside .rail-bottom{display:none}
body[data-shell] #page-scroll>main{max-width:1120px;margin:0 auto;padding:20px 24px 24px 78px;direction:ltr}
body[data-shell][data-portal=true] #page-scroll>main{max-width:1160px;padding-left:78px}
body[data-shell] dialog{direction:rtl}
body[data-shell] dialog>*{direction:ltr}
body[data-shell][data-menu-side=right] .brand{left:var(--shell-edge);right:auto}
body[data-shell][data-menu-side=right] .top-controls{left:auto;right:var(--shell-edge);justify-content:flex-end}
body[data-shell][data-menu-side=right] .portal-nav{justify-content:flex-end}
body[data-shell][data-menu-side=right]>aside{left:auto;right:0}
body[data-shell][data-menu-side=right]>aside.expanded{border-radius:12px 0 0 12px}
body[data-shell][data-menu-side=right]>aside.expanded>:is(#side-toggle,#menu){align-self:flex-end;margin-left:0;margin-right:18px}
body[data-shell][data-menu-side=right] #side-toggle .icon{transform:rotate(-90deg)}
body[data-shell][data-menu-side=right] aside .rail-bottom{left:auto;right:18px}
body[data-shell][data-menu-side=right] #language-panel{left:auto;right:0;direction:ltr}
body[data-shell][data-menu-side=right] #page-scroll>main{padding-left:24px;padding-right:78px}
body[data-shell][data-menu-side=right] dialog{direction:ltr}
@media(min-width:1024px){
 body[data-shell]:has(aside.expanded) #page-scroll>main{margin-left:244px;margin-right:24px;padding-left:24px}
 body[data-shell][data-menu-side=right]:has(aside.expanded) #page-scroll>main{margin-right:244px;margin-left:24px;padding-right:24px}
}
@media(max-width:760px){
 body[data-shell]{--shell-edge:12px;--shell-rail:52px}
 body[data-shell]>aside.expanded>:is(#side-toggle,#menu){margin-left:11px}
 body[data-shell][data-menu-side=right]>aside.expanded>:is(#side-toggle,#menu){margin-left:0;margin-right:11px}
 body[data-shell] aside .rail-bottom{left:11px;bottom:16px}
 body[data-shell][data-menu-side=right] aside .rail-bottom{left:auto;right:11px}
 body[data-shell] #page-scroll>main,body[data-shell][data-portal=true] #page-scroll>main{padding-left:64px;padding-right:12px}
 body[data-shell][data-menu-side=right] #page-scroll>main{padding-left:12px;padding-right:64px}
 body[data-shell] .brand{width:154px}
 body[data-shell] .top-controls{gap:8px;max-width:calc(100% - 190px)}
 body[data-shell] #header-auth{gap:8px}
 body[data-shell] #header-auth .button{padding:6px 9px}
}
@media(max-width:640px){
 body[data-shell]{--shell-header:116px}
 body[data-shell][data-portal=true]{--shell-header:166px}
 body[data-shell] .top-controls{top:70px;max-width:calc(100% - 24px)}
 body[data-shell] #portal-links{top:116px}
 body[data-shell] .portal-nav{gap:8px}
 body[data-shell] .portal-nav a{padding:6px 10px}
}
@media(max-height:800px){body[data-shell]{--shell-nav-gap:6px}body[data-shell]>aside{gap:12px}}

body[data-shell]>:is(header,aside,main,#toast){direction:ltr}

body[data-shell]{overflow:hidden}
body[data-shell] #page-scroll{position:fixed;inset:var(--shell-header) 0 0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;z-index:1}
body[data-shell] #page-scroll>main{direction:ltr}

body[data-shell] #header-auth[hidden]{display:none}
@media(max-height:650px){body[data-shell] aside nav,body[data-shell] aside:has([data-admin-route]) nav{max-height:calc(100dvh - var(--shell-header) - 190px);overflow-y:auto;overflow-x:hidden;padding:4px;margin:-4px;scrollbar-width:none}}
/* Portal content uses the same compact reading scale as the dashboard. */
body[data-shell] .portal-hero{padding:20px;gap:24px;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
body[data-shell] .portal-hero h1{font-size:24px;line-height:1.3;margin:10px 0 14px}
body[data-shell] .portal-hero p{font-size:12px;line-height:1.65;max-width:550px}
body[data-shell] .portal-hero .portal-motto{font-size:13px!important;margin-top:14px}
body[data-shell] .portal-hero .actions{margin-top:12px}
body[data-shell] .portal-video{max-width:320px;justify-self:center}
body[data-shell] .portal-video p{font-size:11px}
body[data-shell] .portal-features{margin-top:20px}
body[data-shell] .portal-features .panel{padding:12px}
body[data-shell] .portal-features h2{font-size:15px;margin-bottom:8px}
body[data-shell] .portal-copy{padding:16px;margin-top:20px}
body[data-shell] .faq-item summary{font-size:14px}
body[data-shell] .portal-footer{margin-top:24px;padding:16px 0;font-size:12px}
@media(max-width:760px){body[data-shell] .portal-hero{grid-template-columns:1fr;padding:16px;gap:16px}body[data-shell] .portal-hero h1{font-size:22px}body[data-shell] .portal-video{width:100%;max-width:280px}}

/* Guests have only the portal controls and the fixed hand. */
body[data-shell][data-private-menu=false] aside>:is(#menu,nav,.rail-bottom){display:none}
body[data-shell][data-private-menu=false]>aside.expanded{width:var(--shell-rail);background:transparent}
body[data-shell][data-private-menu=false]>aside.expanded>#side-toggle{align-self:center;margin:0}
body[data-shell] #auth{display:none}
body[data-shell] .brand-logo{width:34px;height:34px}
body[data-shell] .brand small{font-size:11px}
body[data-shell]{font-size:11px}
body[data-shell] .grid,body[data-shell] .stack{gap:16px}
body[data-shell] .heading{margin-bottom:16px}
body[data-shell] :is(input,select,textarea,main button,main .button){font-size:12px}
body[data-shell] aside .rail-bottom{bottom:16px}
body[data-shell] aside nav,body[data-shell] aside:has([data-admin-route]) nav{max-height:calc(100dvh - var(--shell-header) - 150px);overflow-y:auto;overflow-x:hidden;padding:4px;margin:-4px;scrollbar-width:none}
body[data-shell] #page-scroll>main{scroll-margin-top:20px}
body[data-shell] .top-controls #account{width:44px;gap:4px}
body[data-shell] #account .account-chevron{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;flex-shrink:0}
body[data-shell] #account-panel{position:fixed;width:224px;max-width:calc(100vw - 24px);max-height:65dvh;overflow:auto;padding:12px;border-radius:10px;background:var(--bg);background-image:var(--texture);background-size:1600px 1200px;box-shadow:var(--relief-shadow);z-index:40;text-align:left;direction:ltr}
body[data-shell][data-menu-side=left] #account-panel{direction:rtl}
body[data-shell] #account-panel>*{direction:ltr}
body[data-shell] #account-panel[hidden]{display:none}
body[data-shell] #account-panel h2{font-size:13px;margin:0}
body[data-shell] #account-panel p{font-size:12px;overflow-wrap:anywhere}
body[data-shell] #account-panel nav{align-items:stretch;gap:8px;margin-top:12px}
body[data-shell] #account-panel :is(button,.button){width:100%;height:auto;min-height:30px;justify-content:flex-start;text-align:left;font-size:12px;white-space:normal}
body[data-shell] #account-panel #account-error{color:var(--accent)}
body[data-shell] aside.expanded nav button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Rounded surface frames are painted inside the existing boxes.
   Outlines do not change layout, padding, dimensions, texture or shadows. */
:root{--surface-frame:rgba(65,65,65,.38)}
:root[data-theme=dark]{--surface-frame:rgba(230,230,230,.22)}
body[data-shell] :is(button,.button,.brand,.relief,.panel,.section-title,dialog,
 .sign-choice,.share-card,.draft-item,.sign-profile,.metric-icon,.precision-fields,
 .birth-location,.badge,.notice,.avatar,.form-error,.portal-footer,.faq-item,
 .portal-video video,input:not([type=radio]),select,textarea,
 #language-panel,#account-panel,#toast,.portal-nav a):not(:focus-visible){
 outline:1px solid var(--surface-frame);
 outline-offset:-1px;
}
body[data-shell] :is(.portal-footer,.faq-item,.form-error){border-radius:10px}
body[data-shell] aside.expanded{border-radius:12px}
body[data-shell][data-private-menu=false]>aside.expanded{outline:none}
@supports (appearance:base-select){
 ::picker(select){outline:1px solid var(--surface-frame);outline-offset:-1px}
}

/* Keep footer and FAQ content clear of their new frames. */
body[data-shell] :is(.portal-footer,.faq-item){padding-inline:12px}

/* Separate the comparison offer action from its description. */
body[data-shell] .synastry-offer>.button{margin-top:12px}

/* Align signed-in controls with the logo and raise the rail without moving its footer. */
body[data-shell][data-private-menu=true] .top-controls{top:17px;max-width:calc(100% - 190px);flex-wrap:nowrap}
body[data-shell]>aside{top:var(--shell-header)}
body[data-shell] aside nav,body[data-shell] aside:has([data-admin-route]) nav{max-height:calc(100dvh - var(--shell-header) - 132px)}

/* Give the comparison consent row room between the adjacent controls. */
body[data-shell] #comparison-user>.check{margin-block:12px}

/* Use the navigation spacing throughout the signed-in rail, starting below the top controls. */
body[data-shell][data-private-menu=true]>aside{top:calc(var(--shell-header) + var(--shell-nav-gap));gap:var(--shell-nav-gap)}
body[data-shell][data-private-menu=true] aside nav,body[data-shell][data-private-menu=true] aside:has([data-admin-route]) nav{max-height:calc(100dvh - 145px - 4 * var(--shell-nav-gap))}

/* Keep the compact rail free of an internal scrollbar and preserve button frames. */
body[data-shell][data-private-menu=true] aside nav,body[data-shell][data-private-menu=true] aside:has([data-admin-route]) nav{max-height:none;overflow:visible}

/* Mobile thumb reach follows the selected hand; reading order stays left to right. */
@media(max-width:760px) and (pointer:coarse){
 body[data-shell]{--thumb-align:flex-start;--thumb-start:0;--thumb-end:auto}
 body[data-shell][data-menu-side=right]{--thumb-align:flex-end;--thumb-start:auto;--thumb-end:0}
 body[data-shell] :is(main,dialog) :is(.actions,.tabs,.periods){justify-content:var(--thumb-align)}
 body[data-shell] :is(main,dialog) :is(button,.button){margin-left:var(--thumb-start);margin-right:var(--thumb-end)}
 body[data-shell] :is(main,dialog) :is(form,.panel,fieldset,details)>:is(button,.button){display:flex;width:fit-content;max-width:100%}
 body[data-shell] :is(main,dialog) .check{justify-content:var(--thumb-align)}
 body[data-shell][data-menu-side=right] :is(main,dialog) .check{flex-direction:row-reverse;justify-content:flex-start}
 body[data-shell] :is(main,dialog) summary{display:flex;align-items:center;gap:8px;list-style:none;justify-content:var(--thumb-align)}
 body[data-shell] :is(main,dialog) summary::-webkit-details-marker{display:none}
 body[data-shell] :is(main,dialog) summary::before{content:'▸';flex:none}
 body[data-shell] :is(main,dialog) details[open]>summary::before{content:'▾'}
 body[data-shell][data-menu-side=right] :is(main,dialog) summary{flex-direction:row-reverse;justify-content:flex-start}
 body[data-shell][data-menu-side=left] :is(main,dialog) select{direction:rtl;text-align:left}
 body[data-shell][data-menu-side=right] :is(main,dialog) select{direction:ltr;text-align:left}
 body[data-shell][data-menu-side=left] dialog>.close{left:8px;right:auto}
 body[data-shell][data-menu-side=right] dialog>.close{left:auto;right:8px}
 body[data-shell][data-menu-side=right] .auth-panel> :is(form,div)>.actions{justify-content:flex-end}
}

/* Separate card actions from the descriptive paragraph above them. */
body[data-shell] .panel>p+:is(button,.button){margin-top:12px}

/* Compact package cards while preserving their widths and surface styling. */
body[data-shell] .panel.plan{gap:8px;padding:12px}
body[data-shell] .plan>.price{font-size:18px;font-weight:500;line-height:1.5;margin:0}
body[data-shell] .plan>p{margin:0}
body[data-shell] .panel.plan>p+:is(button,.button){margin-top:0}

body[data-shell] .comparison-own-data>a{display:block;width:fit-content;margin-top:12px}

/* Match wallet amounts to the compact metrics and trim the balance spacing. */
body[data-shell] .wallet-overview>.wallet-total{font-size:18px;font-weight:500;line-height:1.5;margin:8px 0}
body[data-shell] .wallet-overview>.finance-mode{margin-top:0}
body[data-shell] .wallet-overview>.wallet-total+p{margin-top:0;margin-bottom:8px}

/* Header popovers must paint above the side rail on either side. */
body[data-shell]>header{z-index:20}

/* Keep the normal natal wheel within the available viewport; expanded view stays detailed. */
body[data-shell] .natal-overview:not(.wheel-expanded)>.panel{padding:10px}
body[data-shell] .natal-overview:not(.wheel-expanded) .wheel-sheet{grid-template-columns:140px minmax(0,1fr);gap:6px;padding-top:4px}
body[data-shell] .natal-overview:not(.wheel-expanded) .wheel-birth{padding:4px 6px}
body[data-shell] .natal-overview:not(.wheel-expanded) .wheel-birth h3{font-size:14px;line-height:1.25}
body[data-shell] .natal-overview:not(.wheel-expanded) .wheel-birth>p{font-size:10px;margin-top:4px}
body[data-shell] .natal-overview:not(.wheel-expanded) .wheel-birth-details{font-size:11px;line-height:1.35;margin-top:8px;gap:6px 12px}
body[data-shell] .natal-overview:not(.wheel-expanded) .wheel-birth-details p{margin:0 0 6px}
body[data-shell] .natal-overview:not(.wheel-expanded) .wheel-birth-details .muted{font-size:10px}
body[data-shell] .natal-overview:not(.wheel-expanded) .wheel-sheet .kepler-wheel{width:100%;height:auto;max-width:min(100%,calc(100dvh - var(--shell-header) - 100px));max-height:calc(100dvh - var(--shell-header) - 100px)!important}
body[data-shell] .natal-overview:not(.wheel-expanded) .chart-caption{font-size:10px;margin:4px 0}
body[data-shell] .natal-overview:not(.wheel-expanded) .legend{font-size:10px;gap:8px;flex-wrap:wrap}
body[data-shell] .natal-overview:not(.wheel-expanded) .wheel-toolbar{margin-bottom:2px}
@media(max-width:1000px){
 body[data-shell] .natal-overview:not(.wheel-expanded) .wheel-sheet{grid-template-columns:1fr}
 body[data-shell] .natal-overview:not(.wheel-expanded) .wheel-birth-details{display:flex;flex-wrap:wrap}
}

/* Independent columns keep house interpretations evenly spaced despite different text lengths. */
body[data-shell] .house-interpretations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:12px;align-items:start}
body[data-shell] .house-column{display:flex;flex-direction:column;gap:12px;min-width:0}
body[data-shell] .house-column>.interpretation{padding:0 4px}
@media(max-width:760px){
 body[data-shell] .house-interpretations{display:flex;flex-direction:column;gap:12px}
 body[data-shell] .house-column{display:contents}
 body[data-shell] .house-column>.interpretation{order:var(--house-order)}
}

body[data-shell] .referrals-wallet-link{margin-top:12px}

/* Keep surface relief while rendering text, numbers and glyphs without shadows in both themes. */
body[data-shell],body[data-shell] *,body[data-shell] *::before,body[data-shell] *::after{text-shadow:none!important}
body[data-shell] :is(svg.icon,svg.icon *,.planet-symbol,.pluto-glyph,.kepler-wheel text){filter:none!important}

/* Content itself stays flat; shadows belong only to the enclosing UI surfaces. */
body[data-shell] :is(h1,h2,h3,h4,h5,h6,p,strong,b,small,label>span,.metric strong,.metric-icon,svg,svg *, .planet-symbol,.pluto-glyph){text-shadow:none!important;filter:none!important}
body[data-shell] :is(h1,h2,h3,h4,h5,h6,p,strong,b,small,label>span,.metric strong,.metric-icon,svg,svg *){box-shadow:none!important}

.eu-date-time{display:flex;gap:8px;min-width:0;direction:ltr}.eu-date-time>input{flex:1;min-width:0;width:0}.eu-date-time>input:nth-child(3){flex:1.5}

/* Admin-only forecast workspace follows the existing compact surfaces and handed layout. */
.forecast-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0;align-items:stretch}
.forecast-tabs button{width:100%;font-size:12px}
.forecast-tabs button[aria-pressed=true]{color:var(--accent)}
.forecast-save-bar{position:sticky;bottom:8px;z-index:5;display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}
.forecast-save-bar>span{font-size:11px}
.forecast-result,.forecast-history,#forecast-save-options,#forecast-document>.panel{margin-top:16px}
.forecast-result>.check{margin-bottom:12px}
.forecast-text{white-space:pre-line}
.forecast-part>.interpretation{margin-top:12px}
#forecast-options>h2{margin-bottom:12px}
#forecast-person .form-grid,#forecast-options .form-grid{margin-top:12px}
#forecast-history{display:grid;gap:12px}
@media(max-width:560px){.forecast-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{
 body.printing-forecast{overflow:visible;background:white;color:#111}
 body.printing-forecast>header,body.printing-forecast>aside,body.printing-forecast #toast{display:none!important}
 body.printing-forecast #page-scroll{position:static;overflow:visible;height:auto}
 body.printing-forecast #page-scroll>main{padding:0!important;margin:0!important;max-width:none}
 body.printing-forecast #content>*:not(:has(#forecast-document)),body.printing-forecast #admin-forecast>*:not(.forecast-history),body.printing-forecast .forecast-history>*:not(#forecast-document){display:none!important}
 body.printing-forecast .document-actions,body.printing-forecast .document-send-options,body.printing-forecast .wheel-toolbar,body.printing-forecast .forecast-document-content .actions{display:none!important}
 body.printing-forecast .panel{box-shadow:none!important;background:white;color:#111;break-inside:auto}
 body.printing-forecast .natal-overview .wheel-sheet .kepler-wheel{max-height:650px!important;max-width:650px!important;break-inside:avoid}
 body.printing-forecast #forecast-document{margin:0}
}

@media print{body.printing-forecast{--text:#111;--muted:#555;--bg:#fff;--wheel-paper:#fff;--wheel-line:#607080;--wheel-ink:#222;--wheel-fire:#fff5f5;--wheel-earth:#ffffef;--wheel-air:#effaff;--wheel-water:#efffef;--wheel-sign-0:#a22;--wheel-sign-1:#765;--wheel-sign-2:#167;--wheel-sign-3:#273}}

.editable-interpretation{cursor:text;border-radius:6px}.editable-interpretation:hover{outline:1px dashed var(--surface-frame);outline-offset:3px}.editable-interpretation:focus{outline:1px solid var(--accent);outline-offset:3px}
@media print{.editable-interpretation{outline:none!important}}

.editable-interpretation{min-height:1.4em}

/* Keep astronomical circles square in both themes and all viewports. */
body[data-shell] .kepler-wheel{aspect-ratio:1 / 1;object-fit:contain;transform:none}
body[data-shell] .forecast-sky>.kepler-wheel{display:block;width:min(100%,680px,calc(100dvh - var(--shell-header) - 80px));height:auto;max-height:none!important;margin:12px auto}
.forecast-clock{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-top:12px}
.forecast-clock label{max-width:240px}.forecast-clock .actions{margin:0;flex-wrap:wrap}.forecast-clock [role=status]{flex-basis:100%}
.forecast-sky{margin:16px 0 24px}.forecast-sky details{padding:12px}.forecast-sky summary{cursor:pointer}
@media print{.forecast-clock{display:none}}

#forecast-document .forecast-clock{display:none}

/* Compact date/time controls above the forecast wheel. */
body[data-shell] .forecast-clock{gap:8px;align-items:center}
body[data-shell] .forecast-clock>label{flex:0 1 172px;max-width:172px;font-size:12px}
body[data-shell] .forecast-clock>label:nth-child(2){flex-basis:112px;max-width:112px}
body[data-shell] .forecast-clock .eu-date-time{gap:5px}
body[data-shell] .forecast-clock .eu-date-time>input{height:30px;min-height:30px;padding:4px 6px;font-size:12px;margin-top:4px}
body[data-shell] .forecast-clock .actions{gap:6px}
body[data-shell] .forecast-clock button{height:30px;min-height:30px;padding:4px 8px;font-size:12px}
body[data-shell] .forecast-clock [data-sky-status]:empty{display:none}

/* Scrolling surfaces move their texture as one painted surface, rather than
   repainting a viewport-fixed background on every card at every scroll step. */
body[data-shell] #page-scroll :is(button,.button,.relief,.panel,.section-title,.sign-choice,.share-card,.draft-item,.sign-profile,.metric-icon,.precision-fields,.birth-location,.badge,.notice,.avatar,input,select,textarea){background-attachment:scroll}
body[data-shell] #page-scroll{scroll-behavior:auto;contain:paint;isolation:isolate}
body[data-shell] .kepler-wheel{contain:paint}
@media(prefers-reduced-motion:reduce){body[data-shell] #page-scroll{scroll-behavior:auto}}

.summary-share-options{margin-top:12px}.summary-share-options input{max-width:260px}
@media print{.summary-share,.summary-share-options{display:none!important}}
