/* Bible Study Studio app additions (owner v3 + membership, 11/04). Phone first: everything below is one column until 760px. */
.demo-banner,.demo-note,.demo-label{display:none!important}
html{-webkit-text-size-adjust:100%}
body{overflow-x:hidden}
input,select,textarea,button{font-size:16px}
.btn,button.choice,.chip,.study-tab,.lang-btn,.time-chip,.topic-path,.audience-card span{min-height:44px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[hidden]{display:none!important}
.suggestion-box{max-height:min(60vh,360px);overflow:auto;-webkit-overflow-scrolling:touch}
.sugg{display:block;width:100%;text-align:left;padding:12px 14px;border:0;border-bottom:1px solid #e4e8e2;background:#fff;color:#183346;font:inherit;cursor:pointer}
.sugg small{display:block;color:#607870;font-size:14px;margin-top:2px}
.sugg:hover,.sugg:focus-visible,.sugg[aria-selected=true]{background:#eef4f1;outline:none}
.sugg-note{padding:12px 14px;color:#607870;font-size:15px;background:#fbfaf6}
.choices-list{display:grid;gap:8px;margin-top:10px}
.loading{opacity:.55;pointer-events:none}
.errorbox{margin:12px 0;padding:12px 14px;border-radius:10px;background:#fbeee9;color:#7a2e1a;font-size:15px}
.okbox{margin:12px 0;padding:12px 14px;border-radius:10px;background:#eaf3ee;color:#1f4d3f;font-size:15px}
/* three offers: stacked on phones */
.offer3{display:grid;grid-template-columns:1fr;gap:18px;margin-top:28px}
@media(min-width:980px){.offer3{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}}
.o3{background:#fff;color:#183346;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;border:1px solid #dfe5de}
.o3 .o3-head{padding:22px 22px 16px;background:#f7f5f0}
.o3.member .o3-head{background:#183346;color:#f7f5f0}
.o3 .o3-for{display:block;font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#547874}
.o3.member .o3-for{color:#b9d9d1}
.o3 h3{font-family:'Fraunces',Georgia,serif;font-size:25px;line-height:1.15;margin:10px 0 8px}
.o3 .o3-price{font-family:'Fraunces',Georgia,serif;font-size:34px;line-height:1}
.o3 .o3-price small{font-family:'Source Sans 3',sans-serif;font-size:16px;font-weight:600;opacity:.8}
.o3 .o3-line{font-size:16px;margin:10px 0 0;opacity:.9}
.o3 .o3-body{padding:18px 22px 22px;display:flex;flex-direction:column;gap:12px;flex:1}
.o3 ul{margin:0;padding-left:20px;font-size:16px;line-height:1.5}
.o3 li{margin:4px 0}
.o3 details{font-size:15px;color:#2d3940}
.o3 details summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}
.o3 .o3-rule{font-size:15px;line-height:1.45;padding:10px 12px;border-radius:10px;background:#eef4f1;color:#1f4d3f}
.o3 .btn{width:100%;margin-top:auto}
.credit-eg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;text-align:center}
.credit-eg div{background:#eef4f1;border-radius:10px;padding:10px 4px;font-size:13px;line-height:1.25;color:#1f4d3f}
.credit-eg b{display:block;font-family:'Fraunces',Georgia,serif;font-size:22px;color:#183346}
.value-line{font-size:14px;color:#607870}
/* pay sheet */
.paysheet .row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #e4e8e2;font-size:16px}
.payopt{display:block;width:100%;text-align:left;margin:10px 0 0;padding:14px 16px;border-radius:12px;border:2px solid #d6dfd8;background:#fff;color:#183346;font:inherit;cursor:pointer}
.payopt b{display:block;font-size:17px}
.payopt small{display:block;color:#607870;font-size:14px;margin-top:3px}
.payopt[aria-pressed=true]{border-color:#547874;background:#eef4f1}
.field input[type=email],.field input[type=text]{width:100%}
.pop{max-height:92vh;overflow:auto;-webkit-overflow-scrolling:touch}
@media(max-width:640px){.popmask{align-items:flex-end}.pop{width:100%;max-width:100%;border-radius:18px 18px 0 0;padding:22px 18px calc(22px + env(safe-area-inset-bottom))}}
/* sticky buy bar on phones after a kit is chosen; never covers inputs (hidden while typing) */
.buybar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:none;gap:10px;align-items:center;justify-content:space-between;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#183346;color:#f7f5f0;box-shadow:0 -6px 20px rgba(24,51,70,.18)}
.buybar b{font-size:16px}
.buybar .btn{min-height:44px;padding:0 18px}
@media(max-width:760px){body.has-buybar .buybar{display:flex}body.typing .buybar{display:none}}
/* credits + account */
.wallet{background:#183346;color:#f7f5f0;border-radius:18px;padding:22px}
.wallet .big{font-family:'Fraunces',Georgia,serif;font-size:40px;line-height:1}
.wallet p{margin:8px 0 0;opacity:.92}
.wallet .actions{margin-top:16px}
.hist{list-style:none;margin:10px 0 0;padding:0}
.hist li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e4e8e2;font-size:15px}
.studycard .files a{display:inline-flex;align-items:center;min-height:44px;margin:4px 8px 0 0;padding:0 14px;border-radius:999px;border:1px solid #cdd9d2;color:#183346;text-decoration:none;font-size:15px}
.timeline li.done{opacity:1}
.timeline li.active b::after{content:" \2022 in progress";font-weight:600;color:#547874;font-size:14px}
.timeline li.pending{opacity:.55}
.topic-path small{font-size:14px}
.wordword{direction:ltr}
.heb{font-family:'Noto Serif Hebrew','SBL Hebrew','Times New Roman',serif;direction:rtl;unicode-bidi:isolate}
.legal p{font-size:16px;line-height:1.6;margin:0 0 12px}
.legal h2{font-size:24px;margin:22px 0 8px}
@media(max-width:380px){.o3 h3{font-size:22px}.o3 .o3-price{font-size:30px}.credit-eg b{font-size:19px}}

a.btn,a.navbutton,a.chip{text-decoration:none}
a.btn:hover,a.btn:focus-visible{text-decoration:none}
@media(max-width:640px){.formshell{margin-left:16px;margin-right:16px}}
.real-samples{display:grid;grid-template-columns:1fr;gap:18px}
@media(min-width:700px){.real-samples{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1040px){.real-samples{grid-template-columns:repeat(3,minmax(0,1fr))}}
.samplefig{margin:0;background:#fff;border:1px solid #dfe5de;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.samplefig img{display:block;width:100%;height:auto;border-bottom:1px solid #e6ebe5;background:#fff}
.samplefig figcaption{padding:12px 14px}
.samplefig b{display:block;font-family:'Fraunces',Georgia,serif;font-size:19px;color:#183346}
.samplefig span{display:block;font-size:15px;color:#51606a;margin-top:3px}
.mini-link{display:inline-flex;align-items:center;min-height:44px;padding:6px 0}
.beginner-toggle input[type=checkbox]{width:22px;height:22px;flex:none}
.wip-cb-accept,.wip-cb-decline,[id^=wip-cb] button{min-height:44px}
.book-scene{max-width:100%;overflow:hidden}
@media(max-width:1000px){.cover-stamp{right:8px!important}}

/* LARGER TYPE (owner 11/04 6 PM: "font feels a little too small ... especially for buttons"). Applies to both sites. */
body{font-size:17px}
.btn,.navbutton.primary,.buybar .btn{font-size:18px}
.btn{padding:15px 22px;min-height:52px}
.chip{font-size:16px;padding:11px 16px}
.study-tab,.lang-btn,.time-chip{font-size:16px}
.field label,.field .label,.label{font-size:16px}
.field small,.helper,.fine,.value-line,.securityline,.notebar,.share-fine{font-size:15px}
.eyebrow,.stepname{font-size:13px}
.choice span,.feature p,.share-tile p{font-size:16px}
.beginner-toggle b{font-size:17px}.beginner-toggle small{font-size:15px}
.optional-focus summary,.optional-focus p,.focus-word-list label{font-size:15px}
.mini-tag{font-size:12px}
.term,.xrefs{font-size:15px}
.price-box span{font-size:15px}
.payopt b{font-size:18px}.payopt small{font-size:15px}
.sugg{font-size:17px}.sugg small{font-size:15px}
.o3 .o3-for{font-size:13px}
.footer{font-size:15px}
/* age-group cards: label centered, card only as tall as it needs */
.audience-card{min-height:60px;padding:10px 6px}
.audience-card span{min-height:0;font-size:16px}
.audience-card small{font-size:14px}
@media(max-width:760px){
  body{font-size:17px}
  .btn,.buybar .btn{font-size:18px;min-height:54px}
  .buybar b{font-size:17px}
  .hero .intro{font-size:19px}
  .sectionhead p,.pageintro p{font-size:18px}
}
/* study tabs: "Bible / Passage", "Bible / Topic", "Bible / Word" on two matching lines on phones (owner 11/04) */
@media(max-width:760px){.study-tab .tab2{display:block}.study-tab{line-height:1.25}}
/* book browser: instant "doesn't exist" note (owner 11/04) */
.bnote{margin:12px 0 4px;padding:12px 14px;border-left:3px solid var(--copper);border-radius:4px;background:#f4ebdd;color:#604d37;font-size:16px}
.browse-books input[aria-invalid=true]{border-color:#b0603a;box-shadow:0 0 0 2px rgba(176,96,58,.25)}
/* translation picker fills its column like the other selects (its long names made the phone page 15px too wide, which threw taps off target) */
select#translation{display:block;width:100%;max-width:100%;border:1px solid #c6d0ca;border-radius:9px;background:#fff;padding:13px 15px;color:var(--ink);min-height:48px;text-overflow:ellipsis}
/* FAQ: question larger than its answer (owner 11/04) */
.preview-details summary{font-size:19px;line-height:1.35;min-height:48px;color:#183346}
.preview-details summary::after{width:28px;height:28px;font-size:19px}
.preview-details p{font-size:17px;line-height:1.6}
@media(max-width:760px){.preview-details summary{font-size:18px}}

/* READABLE TYPE FLOOR (owner 11/04, 6:15 PM: "go through every font style on every heading and paragraph").
   Body text 16px or more everywhere; small uppercase labels 13px or more. Mock kit pages in the hero stay as pictures. */
.topbar{font-size:13px}
.brandtext small{font-size:11px}
.eyebrow,.stepname,.support-label,.preview-eyebrow,.mini-tag,.o3 .o3-for{font-size:13px;letter-spacing:.12em}
.trust,.hero .trust{font-size:16px}
.mini-link,#browseToggle{font-size:16px}
.real-data-dot{font-size:14px}
.expand-label{font-size:15px;font-weight:600}
.preview-details summary span:first-child{font-size:inherit}
.preview-block strong{font-size:17px}
#pvObjectives li,.preview li,.xrefs li{font-size:16px;line-height:1.55}
#pvVerseRef{font-size:15px}
.evidence-note,.evidence-note b{font-size:15px}
.showcase-note{font-size:15px}
#pvDocs span,.preview .doc-list span{font-size:16px}
.credit-eg div{font-size:14px}
.term{font-size:16px}
.choice span,.audience-card small{font-size:15px}
.price-box span{font-size:16px}
.timeline .body p,.statusnote p,.studycard p{font-size:16px}
.hist li,.wallet p{font-size:16px}
.footer,.footer a{font-size:15px}
.wip-cb__text{font-size:15px!important;line-height:1.5}
.wip-cb__btn{font-size:15px!important;min-height:46px}
/* phone buy bar: button label stays on one line */
@media(max-width:760px){
  .buybar{gap:12px}
  .buybar b{font-size:16px;line-height:1.3}
  .buybar .btn{white-space:nowrap;font-size:17px;padding:0 16px;flex:none}
  .expand-label{font-size:14px}
}
/* four offers (owner 11/04: annual plan): one column on phones, two on tablets, four on wide desktop */
@media(min-width:760px){.offer3{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}}
@media(min-width:1180px){.offer3{grid-template-columns:repeat(4,minmax(0,1fr))}.o3 h3{font-size:23px}.o3 .o3-head,.o3 .o3-body{padding-left:18px;padding-right:18px}}
.o3 .o3-head{position:relative}
.o3-badge{position:absolute;top:14px;right:14px;background:#bd8058;color:#fff;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:6px 10px;border-radius:999px}
.o3.annual{border:2px solid #bd8058}
.o3.annual .o3-for{padding-right:120px}
/* pay sheet: the X stays in view while the sheet scrolls (owner 11/04) */
.pop .close{position:sticky;top:0;float:right;z-index:5;width:44px;height:44px;margin:-8px -6px 0 8px;display:grid;place-items:center;background:#fff;border:1px solid #d8ddd9;border-radius:50%;font-size:26px;line-height:1;color:#183346;box-shadow:0 4px 12px rgba(15,45,54,.12)}
/* phone buy bar: "Choose how / to get it" on two even lines */
@media(max-width:760px){.buybar .btn{white-space:normal;line-height:1.2;padding:8px 18px;min-width:150px}.buybar .bb2{display:block}}
/* pay sheet X on its own sticky strip, so it never covers the options */
.pop .ps-top{position:sticky;top:-22px;z-index:5;display:flex;justify-content:flex-end;margin:-22px -18px 6px;padding:10px 12px;background:#fff;border-bottom:1px solid #eef1ee;border-radius:18px 18px 0 0}
.pop .ps-top .close{position:static;float:none;margin:0;box-shadow:none}
@media(min-width:641px){.pop .ps-top{top:-30px;margin:-30px -30px 6px;padding:12px 14px}}
