/* White reading surfaces; warmth is reserved for devotional and action details. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:130px}
/* Stop vertical edge bounce without replacing native scrolling or pinch zoom. */
/* Keep desktop wheel reversal native; edge suppression is for iOS touch. */
html.ios-scroll-boundary{overscroll-behavior-y:none}
dialog{overscroll-behavior:contain}
body,.header{background:#fff}.header{border-bottom-color:#e8e3da}
.topbar{min-height:76px;padding-block:10px;gap:10px}
.brand{min-width:0}.brand>span:last-child{min-width:0}.header-actions{flex:none}
.primary-nav{width:min(620px,calc(100% - 36px));grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0;margin:0 auto 9px;border:1px solid #dedfd9;border-radius:13px;background:linear-gradient(#fff,#f5f7f4);box-shadow:0 2px 3px #382d2509;overflow:visible}
.primary-nav.primary-nav--home{grid-template-columns:repeat(2,minmax(0,1fr));max-width:430px}
.primary-nav a{position:relative;padding:8px 10px;min-height:44px;font-size:14px;border:0;border-radius:12px;font-weight:550;color:#655748}
.primary-nav a+a:before{content:'';position:absolute;left:0;top:25%;height:50%;width:1px;background:#dedfd9}
.primary-nav a[aria-current=page]{background:#f3ede2;color:#68401e;box-shadow:inset 0 0 0 1px #e3d4bd}
.languages,.menu-toggle{background:#fafaf8}.languages a[aria-current]{background:#fff}.menu-toggle{color:var(--ink)}
.head-title>h1,.section-heading>div,.concern-heading>div:first-child{min-width:0}.head-title>h1{flex:1}
.welcome-copy h1>.hero-line{display:block;white-space:nowrap;font-size:25px;font-size:clamp(22px,8.8cqw,46px);line-height:1.25}
.welcome-copy h1>em.hero-line{font-size:20px;font-size:clamp(18px,7.1cqw,38px);margin-top:2px}
html.fit-type-ready .welcome-copy h1>.hero-line{font-size:clamp(31px,4.1vw,54px)}
.welcome-description{max-width:470px}
.welcome-hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
@media(max-width:1000px){.welcome-hero{grid-template-columns:1fr;gap:29px;min-height:0}.chamber-portrait{justify-self:center}}
.concern-card,.card,.guide-card,.guide-card[open],.library-tools{background:#fff;border-color:#e4ddd1;box-shadow:0 3px 12px #56442e06}
.concern-card:hover,.card:hover{background:#fffcf7}.concern-heading{gap:14px}.concern-art.hero-art{overflow:visible;flex:none}
.concern-art.hero-art img{margin:0;transform-origin:50% 60%;transition:none}
.dock{background:#fffffff7;border-color:#e2dfd6}.footer{background:#fcfbf8}
.consultation-birth{min-width:0;margin:23px 0 0;padding:16px;border:1px solid #e3d5c1;border-radius:16px;background:#fff}
.consultation-birth legend{font-size:16px;font-weight:600;padding-inline:6px}
.consultation-birth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.consultation-birth-grid>div{min-width:0}
.consultation-birth label{font-size:14px;margin-top:0}.consultation-birth input{width:100%;min-width:0;max-width:100%;font-size:16px}
.consultation-birth #birth-time-help{font-size:13px;line-height:1.5;margin:8px 0 14px}.consultation-note{margin-top:16px;font-size:14px}
input[type=date],input[type=time]{display:block;min-width:0;max-width:100%;box-sizing:border-box;appearance:none;-webkit-appearance:none;min-height:48px}
input[type=date]::-webkit-date-and-time-value,input[type=time]::-webkit-date-and-time-value{text-align:left;min-height:1.4em}
input[type=date]::-webkit-datetime-edit,input[type=time]::-webkit-datetime-edit{padding:0;display:inline-flex;max-width:100%}
.privacy-statement{max-width:700px}
.consultation-story{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:clamp(20px,4vw,45px)}
.consultation-story>div,.consultation-story>figure{min-width:0}
.concern-card strong,.birth-date-row label{overflow-wrap:anywhere}
.share-invitation{flex-wrap:wrap}.share-button{max-width:100%;white-space:normal}
.form-grid legend{max-width:100%;overflow-wrap:break-word}
.guide-card summary strong,.course-card summary strong{display:block}.article,.guide-reading,.course-reading{overflow-wrap:break-word}
@media(max-width:760px){
 .topbar{min-height:66px;padding-block:8px;gap:6px}.brand{gap:8px}.brand strong{font-size:21px}.brand small{font-size:9px}
 .brand .emblem:has(.brand-emblem-image),.brand-emblem-image{width:40px;height:40px}
 .languages a{min-height:38px;min-width:32px}.languages{padding:2px}.menu-toggle{width:40px;height:44px}
 .primary-nav{margin-bottom:8px}.primary-nav a{font-size:14px;min-height:44px;padding:7px}
 .welcome-hero{padding-top:26px}.welcome-copy h1{margin-top:16px}
 html.fit-type-ready .welcome-copy h1>.hero-line{font-size:34px}
 html[lang=en] .welcome-description{font-size:16px;line-height:1.7;margin-top:16px}
 .welcome-meta{margin-top:15px}.welcome-copy .actions{margin-top:19px}
 .concern-art.hero-art,.concern-art.hero-art img{width:78px;min-width:78px;max-width:78px;height:86px}
 .mantra-home,.mantra-moments,.guide-card,[data-guide-library]{scroll-margin-top:130px}
}
@media(max-width:350px){.brand strong{font-size:18px}.brand small{font-size:8px}.brand .emblem:has(.brand-emblem-image),.brand-emblem-image{width:36px;height:36px}html.fit-type-ready .welcome-copy h1>.hero-line{font-size:31px}.consultation-birth-grid{grid-template-columns:1fr}.consultation-birth{padding:12px}}
@media(prefers-reduced-motion:reduce){.concern-art.hero-art img{transform:none!important}}

/* A compact japa ring, with a full-size touch surface and short vertical rhythm. */
.chant-card{padding:18px 20px 10px;background:radial-gradient(ellipse at 50% 42%,#f8dfb631,transparent 60%),linear-gradient(135deg,#fff,#fffaf2e6)}
.chant-choice label{margin-bottom:5px}.chant-choice select{min-height:46px;padding-block:8px}
.chant-text{margin-top:12px}.chant-text #mantra-sanskrit{line-height:1.5}.chant-text #mantra-transliteration{margin-top:2px}
.japa-circle{width:212px;height:212px;margin-top:4px}.mala-bead{transform:rotate(calc(var(--bead)*32.727deg - 90deg)) translateX(94px);width:17px;height:17px;left:calc(50% - 8.5px);top:calc(50% - 8.5px)}
.japa-button{width:152px;height:152px;margin-top:-182px;margin-bottom:44px}.japa-ring-label{bottom:-12px}
.chant-status{min-height:52px;margin-top:4px}.chant-status .japa-count strong{font-size:32px}#japa-round{margin-top:2px}
.chant-card .japa-controls{gap:8px}.chant-reference{margin-top:5px;border-color:#e8dfd1;background:#ffffffc9}
@media(max-width:480px){.chant-card{padding:16px 14px 10px}.chant-text #mantra-transliteration{font-size:16px}}

/* Coordinated dimensional artwork, centered above every topic. */
.concern-card,.concern-card:last-child{flex-direction:column;align-items:center;text-align:center;gap:3px}
.concern-card>span{width:100%}.concern-picture{width:78px;height:78px;object-fit:contain;flex:none;margin:0 auto}
.concern-card strong{white-space:normal}.concern-card small{max-width:310px;margin-inline:auto}.concern-card:last-child .concern-action{margin-top:15px}
@media(max-width:760px){.concern-card:last-child{gap:3px}.concern-picture{width:72px;height:72px}}
