/* Study desk layout, KEHC sky and accessible blue. */
:root{--ink:#202c32;--brand:#006889;--green:var(--brand);--border:#d8dfe3;--light:#edf7fb;--muted:#68747c;--radius:4px;background:#fff;color:var(--ink)}
body{background:#fff;font-size:15px}
.brand-header{display:flex;align-items:center;gap:64px;min-height:82px;padding:0 max(28px,calc((100vw - 1280px)/2));border-bottom:1px solid var(--border);background:#fff}
.brand-header .brand{padding:0;gap:13px;font-family:Batang,'AppleMyungjo',serif;font-size:30px;font-weight:700;letter-spacing:-1.2px;color:var(--ink);flex-shrink:0}
.brand img{width:36px;height:36px;display:block}
.brand-header nav{display:flex;align-self:stretch;gap:30px;align-items:stretch;min-width:0}
.brand-header .nav{display:flex;align-items:center;justify-content:center;padding:4px 2px 0;min-height:60px;border-radius:0;white-space:nowrap;font-size:15px;color:var(--ink);border-bottom:3px solid transparent;box-shadow:none;background:none}
.brand-header .nav.active{border-bottom-color:var(--brand);color:var(--brand);font-weight:700;background:none;box-shadow:none}
.brand-header .nav:hover{color:var(--brand);background:none}
main{max-width:1256px;margin:0 auto;padding:42px 28px 64px}
h1{font-family:Batang,'AppleMyungjo',serif;font-size:38px;letter-spacing:-1.3px;font-weight:700;line-height:1.4}
.page-heading{margin-bottom:14px}.page-heading p{font-size:15px;margin-top:10px;color:var(--muted)}
h2{font-size:20px;letter-spacing:-.5px}h3{font-size:16px}
.panel{background:#fff;border:0;border-radius:0;box-shadow:none;padding:24px 0;border-top:1px solid var(--border)}
.panel+.panel{margin-top:30px}.panel>p{line-height:1.85}.notice{background:#f5f7f8;border-radius:3px;color:#52616a}
.button,.icon-button{border-radius:4px;box-shadow:none;min-height:44px}.button.primary{background:var(--brand);border-color:var(--brand);color:white}
select,textarea,input[type=number],input[type=search]{border-radius:4px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #5c1220;outline-offset:3px}
.editorial-layout{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(235px,1fr);align-items:start;gap:42px;margin:0}
.home-workspace{min-width:0}.learning-tally{font-size:13px;color:var(--muted);margin:16px 0}.learning-tally span{margin:0 8px}.learning-tally a:hover{text-decoration:underline}
.resume-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 20px;font-size:13px}.resume-line>span{overflow-wrap:anywhere}.button.text-link{border:0;background:none;color:var(--brand);padding:8px 0;box-shadow:none;white-space:nowrap;font-size:14px}
.settings{padding:24px 0 4px;border-top:1px solid var(--border);min-height:0}.settings h2{font-family:Batang,'AppleMyungjo',serif;font-size:24px;margin:0 0 22px}.settings-method{margin-top:12px}
.form-row{display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;min-height:44px;margin-bottom:14px;align-items:center}.form-row>span{font-size:14px;font-weight:500;color:var(--ink)}
.segments{display:flex;gap:7px;background:none;padding:0;border:0;border-radius:0;max-width:100%}.segments button,.segments button+button{border:1px solid #bfcbd2;border-radius:4px!important;min-height:42px;padding:9px 18px;background:#fff;color:var(--ink);font-size:14px;box-shadow:none;flex:0 1 auto}
.segments button[aria-pressed=true],.pills button[aria-pressed=true]{background:var(--brand);border-color:var(--brand);color:#fff;box-shadow:none;font-weight:600}
.pills{gap:7px;flex-wrap:wrap}.pills button{border-radius:4px;min-height:42px;padding:9px 20px;background:#fff;color:var(--ink);border:1px solid #bfcbd2;font-size:14px}
.form-row select{min-height:44px;height:auto;width:100%;padding:9px 12px;background:#fff;border:1px solid #bfcbd2;font-size:14px;border-radius:4px}
.book-picker summary,.jokbo-picker>summary{padding:10px 12px;min-height:44px;border:1px solid #bfcbd2;border-radius:4px;font-size:14px;font-weight:400;cursor:pointer;line-height:1.6}
.book-picker details>p{margin-top:10px}.book-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:8px;padding:4px;max-height:280px;overflow-y:auto}
.book-chip{min-height:42px;border-radius:3px;font-size:13px;padding:8px 5px}
.jokbo-picker{padding:0;background:none;border:0;border-radius:0;margin:0;min-width:0}.jokbo-picker[open]>.pills{margin:12px 0 0}.jokbo-picker p{margin:10px 0 0;font-size:12px;line-height:1.75}
.mode-hint{font-size:12px;line-height:1.6;color:var(--muted);margin-top:6px}
.count-controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.count-controls .segments{flex:1}.count-controls .segments button{flex:1;padding:8px 12px}.custom-count{display:flex;align-items:center;gap:8px;grid-column:auto;margin:0;font-size:13px;white-space:nowrap}.custom-count input{width:106px;min-height:42px;font-size:14px;padding:8px}
.radios{gap:24px}.radios label{font-size:14px;min-height:42px}
.editorial-layout .summary{position:sticky;top:28px;inset:auto;display:block;background:none;color:var(--ink);border:0;border-left:1px solid var(--border);border-radius:0;padding:10px 0 0 38px;min-height:480px;box-shadow:none}
.summary h2{font-size:16px;font-weight:400;margin:0 0 20px}.summary .big-number{font-size:76px;color:var(--brand);line-height:1.1;margin:0 0 22px;text-align:left;letter-spacing:-2px}.summary .big-number span{font-size:17px;color:var(--ink);margin-left:12px;letter-spacing:0}
.summary-range{padding:0;border:0;display:flex;flex-direction:column;gap:6px}.summary-range strong{font-size:17px;font-weight:500;color:var(--ink);line-height:1.6}.summary-range span{font-size:16px;color:var(--ink)}
.summary p.available{display:block;font-size:14px;color:var(--ink);margin:18px 0 0}.summary .start{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--brand);color:#fff;border:1px solid var(--brand);border-radius:4px;min-height:52px;width:100%;margin:30px 0 0;font-size:18px}.summary .start:hover:not(:disabled){background:#005571;color:white}
.pattern-shortcut{display:flex;align-items:center;gap:8px;border-top:1px solid var(--border);padding-top:24px;margin-top:30px;color:var(--brand);font-size:13px}.mobile-pattern-link{display:none}
.library{padding-top:22px}.search{border-radius:4px;min-height:46px}.search input{font-size:16px}.question-row{border-radius:0;padding:18px 4px}.row-content strong{font-size:15px;font-weight:500}.row-meta{font-size:12px}.row-number{font-variant-numeric:tabular-nums}.list-top{font-size:13px}
.study-focus{background:white}.study-focus .brand-header{display:none}.study-focus main{padding:30px 24px 50px;max-width:850px;margin:auto}.study-stage{background:white;border:0;border-radius:0;padding:0;max-width:760px;box-shadow:none}.study-header{border-bottom:1px solid var(--border);padding-bottom:20px}.study-card{padding:12px 0;border:0;min-height:300px;animation:none}.study-card .question-text{font-size:23px;line-height:1.8}.study-option{border-radius:4px;box-shadow:none;min-height:64px;border-color:#bac8d0;font-size:17px}.study-option-number{border-radius:2px;background:#f2f5f6;font-size:15px}.study-feedback{border-radius:4px;box-shadow:none;animation:none}.study-controls,.quiz-actions{border-radius:0;box-shadow:none;border:0;border-top:1px solid var(--border);padding:16px 0;background:#fff;bottom:0}.study-controls .button{border-radius:4px}.study-extras,.scripture-references,.study-written,.match-item{border-radius:4px}.study-hint{font-size:13px}.study-extras{border:0;border-top:1px solid var(--border);padding:18px 0}
.practice-layout{gap:36px}.practice-counts input,.practice-badge{border-radius:4px}.practice-layout>.panel{border-top:1px solid var(--border)}.page-data .panel:first-of-type{margin-top:24px}

@media(max-width:1000px){.brand-header{gap:40px;padding:0 24px}.brand-header nav{gap:20px}.brand-header .brand{font-size:26px}.brand-header .nav{font-size:14px}.editorial-layout{gap:28px;grid-template-columns:minmax(0,1fr) 225px}.editorial-layout .summary{padding-left:24px}.form-row{grid-template-columns:82px minmax(0,1fr)}.count-controls .custom-count{width:100%;padding-top:3px}}
@media(max-width:760px){.brand-header{display:block;padding:20px 22px 0;min-height:0}.brand-header .brand{font-size:26px;gap:10px}.brand img{width:32px;height:32px}.brand-header nav{display:flex;gap:24px;overflow-x:auto;scrollbar-width:none;margin:12px -22px 0;padding:0 22px}.brand-header nav::-webkit-scrollbar{display:none}.brand-header .nav{min-height:46px;flex:none;font-size:13px;padding:4px 0;border-radius:0}.brand-header .nav.active{box-shadow:none;border-bottom:3px solid var(--brand)}main{margin:0;padding:28px 22px 50px;max-width:none}h1{font-size:32px}.page-heading p{font-size:13px;line-height:1.7}.editorial-layout{display:block}.page-home{padding-bottom:116px}.learning-tally{font-size:12px;margin:14px 0}.learning-tally span{margin:0 5px}.resume-line{font-size:12px;margin-bottom:16px}.resume-line .button{font-size:12px}.settings{padding:22px 0 4px}.settings h2{font-size:22px;margin-bottom:18px}.form-row{grid-template-columns:74px minmax(0,1fr);gap:10px;margin-bottom:13px}.form-row>span{font-size:13px}.segments button,.segments button+button,.pills button{font-size:13px;padding:8px 12px;min-height:42px}.book-options{grid-template-columns:repeat(3,minmax(0,1fr))}.book-chip{font-size:12px}.count-controls{gap:8px}.count-controls .segments button{padding:8px}.count-controls .custom-count{padding-top:0}.radios{gap:20px}.radios label{font-size:13px}.jokbo-picker .pills button{font-size:12px;padding:8px}.mobile-pattern-link{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--brand);padding-top:24px;margin-top:12px;border-top:1px solid var(--border)}
.editorial-layout .summary{position:fixed;inset:auto 0 0;top:auto;z-index:12;display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:0;background:white;border:0;border-top:1px solid var(--border);padding:14px 22px calc(14px + env(safe-area-inset-bottom));box-shadow:none}.summary h2,.summary-range,.summary p.available,.summary .small,.pattern-shortcut{display:none}.summary .big-number{font-size:32px;line-height:1.2;margin:0;letter-spacing:-1px;white-space:nowrap}.summary .big-number span{font-size:13px;margin-left:7px}.summary .start{font-size:16px;min-height:46px;margin:0;max-width:240px;width:auto;flex:1}.panel{padding:20px 0}.library{padding-top:16px}.search-row select{font-size:13px}.list-top{flex-wrap:wrap}.study-focus main{padding:20px 20px 32px}.study-stage{padding:0}.study-card .question-text{font-size:21px}.study-option{font-size:16px;padding:14px 12px}.study-controls{margin-left:0;margin-right:0;padding:12px 0 calc(12px + env(safe-area-inset-bottom))}.study-header strong{font-size:16px}.practice-layout{gap:24px}.page-data .panel:first-of-type{margin-top:20px}}
@media(max-width:420px){.brand-header nav{gap:16px}.brand-header .nav{font-size:12px}}

/* HOLYCLUB NOTE wordmark */
.brand-header .brand{font-family:Arial,Helvetica,sans-serif;font-size:22px;font-weight:800;letter-spacing:-.7px;gap:10px}
@media(max-width:1100px){.brand-header{gap:28px}.brand-header nav{gap:20px}.brand-header .brand{font-size:20px}}
@media(max-width:760px){.brand-header .brand{font-size:23px;letter-spacing:-.8px}.brand-header nav{gap:24px}}
@media(max-width:420px){.brand-header nav{gap:16px}}

/* Calligraphic wordmark: preserve its natural 3:1 proportions. */
.brand-header .brand .brand-wordmark{display:block;width:222px;height:74px;object-fit:contain;border-radius:0;max-width:100%}
@media(max-width:1100px){.brand-header .brand .brand-wordmark{width:204px;height:68px}}
@media(max-width:760px){.brand-header{padding-top:12px}.brand-header .brand{width:max-content}.brand-header .brand .brand-wordmark{width:222px;height:74px}.brand-header nav{margin-top:4px}}
