/* KBIBLE Bible Course v2 — daily mission / monthly history */
:root{
  --course-bg:#07100f;
  --course-panel:rgba(10,24,22,.88);
  --course-panel-2:rgba(15,31,29,.94);
  --course-paper:#f7f0df;
  --course-paper-text:#2a241b;
  --course-gold:#e7c979;
  --course-gold-soft:rgba(231,201,121,.13);
  --course-green:#73d6aa;
  --course-blue:#8ebaff;
  --course-red:#ff9aa8;
  --course-line:rgba(231,201,121,.16);
  --course-soft:rgba(255,255,255,.07);
}
body.page-plan-workspace{
  background:
    radial-gradient(circle at 12% 2%,rgba(85,184,151,.16),transparent 30rem),
    radial-gradient(circle at 88% 6%,rgba(88,135,222,.13),transparent 30rem),
    linear-gradient(150deg,#06100f,#0b151a 52%,#120d17)!important;
}
body.page-plan-workspace::before{
  opacity:.5;
  background-image:
    linear-gradient(180deg,rgba(255,255,255,.025),transparent 22%),
    radial-gradient(circle at 50% -10%,rgba(231,201,121,.09),transparent 35%),
    repeating-linear-gradient(120deg,rgba(255,255,255,.012) 0 1px,transparent 1px 18px)!important;
  background-size:auto!important;
  mask-image:none!important;
  -webkit-mask-image:none!important;
}
.plan-course-shell{width:min(1340px,calc(100% - 1.6rem));gap:1.15rem;padding-top:1rem}
.course-hero{
  position:relative;overflow:hidden;border:1px solid var(--course-line);border-radius:30px;
  background:
    radial-gradient(circle at 78% 15%,rgba(231,201,121,.12),transparent 30%),
    linear-gradient(145deg,rgba(12,31,27,.97),rgba(11,20,29,.96) 58%,rgba(26,15,28,.96));
  box-shadow:0 30px 90px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.04)
}
.course-hero::after{content:"";position:absolute;right:-50px;top:-95px;width:390px;height:390px;border:1px solid rgba(231,201,121,.12);border-radius:50%;box-shadow:0 0 0 46px rgba(231,201,121,.025),0 0 0 92px rgba(231,201,121,.018);pointer-events:none}
.course-hero__inner{position:relative;z-index:1;padding:clamp(1.45rem,3vw,2.45rem);display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);gap:1.4rem;align-items:end}
.course-kicker{display:inline-flex;align-items:center;gap:.5rem;font-size:.72rem;letter-spacing:.16em;font-weight:900;color:var(--course-gold)}
.course-kicker::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--course-gold);box-shadow:0 0 14px rgba(231,201,121,.7)}
.course-title{margin:.7rem 0 .55rem;font-family:"Noto Serif KR","Nanum Myeongjo",serif;font-size:clamp(2rem,5vw,3.45rem);line-height:1.13;letter-spacing:-.045em}
.course-title em{font-style:normal;color:var(--course-gold)}
.course-sub{max-width:760px;margin:0;color:#aebbb8;font-size:.94rem;line-height:1.8}
.course-today-progress{display:grid;grid-template-columns:96px minmax(0,1fr);gap:1rem;align-items:center;padding:1rem;border:1px solid rgba(255,255,255,.08);border-radius:22px;background:rgba(255,255,255,.035);backdrop-filter:blur(14px)}
.course-ring{--p:0;position:relative;width:96px;height:96px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--course-gold) calc(var(--p)*1%),rgba(255,255,255,.07) 0)}
.course-ring::before{content:"";position:absolute;inset:8px;border-radius:50%;background:#0c1818;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}
.course-ring strong{position:relative;font-size:1.3rem;color:#fff5d2}.course-ring small{position:relative;display:block;text-align:center;color:#899692;font-size:.56rem}
.course-progress-copy strong{display:block;font-size:1.08rem}.course-progress-copy span{display:block;margin-top:.25rem;color:#98a5a1;font-size:.78rem;line-height:1.6}
.course-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}
.course-stat{padding:1rem 1.05rem;border:1px solid rgba(255,255,255,.065);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.018));box-shadow:0 12px 34px rgba(0,0,0,.14)}
.course-stat span{display:block;color:#83918e;font-size:.7rem;font-weight:800}.course-stat strong{display:block;margin-top:.32rem;font-size:1.2rem;color:#f5f4ed}.course-stat em{display:block;margin-top:.18rem;color:#93a09c;font-size:.67rem;font-style:normal}
.course-stat.is-accent strong{color:var(--course-gold)}
.course-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:1rem;align-items:start}
.course-main{display:grid;gap:1rem;min-width:0}.course-side{position:sticky;top:76px;display:grid;gap:1rem}
.course-panel{border:1px solid var(--course-line);border-radius:24px;background:linear-gradient(160deg,rgba(15,31,29,.93),rgba(12,18,26,.94));box-shadow:0 20px 54px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.03);overflow:hidden}
.course-panel__head{padding:1rem 1.15rem .8rem;display:flex;align-items:center;justify-content:space-between;gap:.8rem}.course-panel__head h2,.course-panel__head h3{margin:0;font-size:1rem;letter-spacing:-.025em}.course-panel__head p{margin:.25rem 0 0;color:#87948f;font-size:.7rem}.course-panel__body{padding:0 1.15rem 1.15rem}
.course-settings summary{list-style:none;cursor:pointer}.course-settings summary::-webkit-details-marker{display:none}.course-settings summary .course-summary-arrow{transition:transform .2s}.course-settings[open] summary .course-summary-arrow{transform:rotate(180deg)}
.course-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.course-field{display:grid;gap:.3rem}.course-field.is-wide{grid-column:1/-1}.course-field label{color:#9da9a5;font-size:.68rem;font-weight:800}.course-field select,.course-field input[type=date],.course-field input[type=number],.course-day-note{width:100%;min-height:44px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#0a1417;color:#f4f2e9;padding:0 .7rem;font:inherit;font-size:.82rem;outline:none}.course-field select:focus,.course-field input:focus,.course-day-note:focus{border-color:rgba(231,201,121,.45);box-shadow:0 0 0 3px rgba(231,201,121,.08)}
.course-switch-row{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.7rem;border-radius:14px;background:rgba(255,255,255,.025)}.course-switch-row span{font-size:.75rem;color:#c7ceca}.course-switch-row input{width:20px;height:20px;accent-color:#d6b85f}
.course-preset-row{display:flex;gap:.4rem;flex-wrap:wrap}.course-preset{min-height:34px;padding:0 .65rem;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:rgba(255,255,255,.03);color:#c9d1ce;font-size:.68rem;font-weight:800;cursor:pointer}.course-preset:hover{border-color:rgba(231,201,121,.35);color:var(--course-gold)}
.course-action-row{display:flex;gap:.55rem;flex-wrap:wrap;margin-top:.85rem}.course-btn{min-height:42px;padding:0 .9rem;border-radius:12px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);color:#eef1ec;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer}.course-btn.primary{border-color:transparent;background:linear-gradient(135deg,#e8ca7c,#c99d48);color:#241805;box-shadow:0 12px 28px rgba(201,157,72,.18)}.course-btn:hover{transform:translateY(-1px)}
.course-mission-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;padding:.2rem .1rem}.course-mission-head h2{margin:.2rem 0 0;font-size:1.25rem}.course-mission-head p{margin:0;color:#879590;font-size:.75rem}.course-date-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.48rem .72rem;border-radius:999px;border:1px solid rgba(231,201,121,.18);background:rgba(231,201,121,.06);color:#e8d69d;font-size:.7rem;font-weight:800}
#plan-new-cards.plan-stack{gap:.85rem}.plan-study-card{border-radius:24px!important;background:linear-gradient(160deg,rgba(16,29,29,.94),rgba(11,17,25,.95))!important}.plan-study-card__body{padding:1.25rem!important}.plan-workspace{grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr)!important}.plan-verse-list{max-height:620px}.plan-reader-panel{background:var(--course-paper)!important;color:var(--course-paper-text)!important;border-radius:18px!important}.plan-reader-panel .plan-panel-title,.plan-reader-panel .plan-verse__en,.plan-reader-panel .plan-verse__ko{color:var(--course-paper-text)!important}.plan-reader-panel .plan-inline-status,.plan-reader-panel .plan-mini-note,.plan-reader-panel .plan-verse__version{color:#766e60!important}.plan-reader-panel .plan-verse{border-color:rgba(79,67,45,.12)!important}.plan-reader-panel .plan-verse.is-selected{background:#fff8d6!important;box-shadow:inset 3px 0 0 #e1b929}.plan-reader-panel .plan-verse.is-active{background:#fff1a8!important;box-shadow:inset 5px 0 0 #e1b929}.plan-reader-panel .plan-choice-button,.plan-reader-panel .plan-btn{background:#fffaf0!important;color:#40382b!important;border-color:rgba(80,66,43,.16)!important}
.course-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.8rem 1rem;border-bottom:1px solid rgba(255,255,255,.06)}.course-calendar-nav{display:flex;gap:.35rem}.course-calendar-nav button{width:36px;height:36px;border-radius:10px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);color:#e7ebe7;cursor:pointer}.course-calendar-title{font-weight:900;font-size:.92rem}.course-calendar{padding:.8rem}.course-weekdays,.course-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.35rem}.course-weekdays span{text-align:center;color:#6f7d79;font-size:.58rem;font-weight:800;padding:.3rem 0}.course-day{position:relative;min-height:62px;padding:.48rem;border:1px solid rgba(255,255,255,.055);border-radius:12px;background:rgba(255,255,255,.018);color:#b8c2be;text-align:left;cursor:pointer}.course-day:hover{border-color:rgba(231,201,121,.25)}.course-day.is-empty{visibility:hidden}.course-day strong{font-size:.7rem}.course-day small{display:block;margin-top:.3rem;font-size:.55rem;color:#73807c}.course-day .course-day-meter{position:absolute;left:.45rem;right:.45rem;bottom:.42rem;height:3px;border-radius:999px;background:rgba(255,255,255,.06);overflow:hidden}.course-day .course-day-meter i{display:block;height:100%;background:var(--course-gold)}.course-day.is-complete{border-color:rgba(115,214,170,.24);background:rgba(115,214,170,.065)}.course-day.is-complete strong{color:#aaf0d1}.course-day.is-partial{border-color:rgba(231,201,121,.2)}.course-day.is-missed{border-color:rgba(255,154,168,.14);opacity:.74}.course-day.is-today{box-shadow:0 0 0 1px rgba(231,201,121,.3) inset}.course-day.is-future{opacity:.35;cursor:default}
.course-note-wrap{display:grid;gap:.5rem}.course-day-note{min-height:92px;padding:.7rem;resize:vertical;line-height:1.65}.course-note-status{min-height:1em;color:#7f8d88;font-size:.64rem}
.course-review-details summary{cursor:pointer;list-style:none;padding:1rem 1.15rem;font-weight:850}.course-review-details summary::-webkit-details-marker{display:none}.course-review-details[open] summary{border-bottom:1px solid rgba(255,255,255,.06)}
.course-history-modal{position:fixed;inset:0;z-index:250;display:grid;place-items:center;padding:1rem}.course-history-modal[hidden]{display:none}.course-history-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.68);backdrop-filter:blur(6px)}.course-history-card{position:relative;width:min(620px,100%);max-height:min(82vh,760px);overflow:auto;border:1px solid rgba(231,201,121,.2);border-radius:24px;background:#0c1719;box-shadow:0 30px 100px rgba(0,0,0,.5)}.course-history-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.1rem;background:rgba(12,23,25,.96);border-bottom:1px solid rgba(255,255,255,.06)}.course-history-head h2{margin:0;font-size:1rem}.course-history-close{width:38px;height:38px;border-radius:10px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);color:#fff;cursor:pointer}.course-history-body{padding:1rem}.course-history-target{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.7rem 0;border-bottom:1px solid rgba(255,255,255,.055)}.course-history-target strong{font-size:.82rem}.course-history-target span{font-size:.7rem;color:#8e9b97}.course-history-target.is-done span{color:#8fe3bd}.course-history-note{margin-top:.9rem;padding:.85rem;border-radius:14px;background:rgba(255,255,255,.03);color:#b9c3bf;font-size:.78rem;line-height:1.65;white-space:pre-wrap}
@media(max-width:1080px){.course-layout{grid-template-columns:1fr}.course-side{position:static;grid-template-columns:1fr 1fr}.plan-workspace{grid-template-columns:1fr!important}.plan-control-panel{order:2}}
@media(max-width:760px){.plan-course-shell{width:min(100% - 1rem,1340px);padding-top:.65rem}.course-hero{border-radius:24px}.course-hero__inner{grid-template-columns:1fr;padding:1.3rem}.course-today-progress{grid-template-columns:78px 1fr}.course-ring{width:78px;height:78px}.course-stat-grid{grid-template-columns:1fr 1fr}.course-layout{display:block}.course-side{display:grid;grid-template-columns:1fr;margin-top:1rem}.course-panel{border-radius:19px}.course-form-grid{grid-template-columns:1fr}.course-field.is-wide{grid-column:auto}.course-mission-head{align-items:flex-start;flex-direction:column}.course-calendar{padding:.55rem}.course-weekdays,.course-calendar-grid{gap:.24rem}.course-day{min-height:54px;padding:.36rem}.course-day small{display:none}.plan-study-card__body{padding:1rem!important}.plan-card-top{grid-template-columns:1fr!important}.plan-card-actions{justify-content:flex-start!important}.plan-task-grid{grid-template-columns:repeat(3,1fr)!important}.plan-verse-list{max-height:none}.plan-reader-panel{border-radius:15px!important}.plan-verse{grid-template-columns:28px 1fr!important}.plan-verse__actions{gap:.3rem!important}.plan-verse-btn{min-height:36px!important;padding:0 .55rem!important}.course-history-modal{padding:.5rem}.course-history-card{border-radius:20px;max-height:90vh}}
@media(max-width:430px){.course-stat-grid{grid-template-columns:1fr 1fr}.course-stat{padding:.8rem}.course-stat strong{font-size:1.05rem}.course-title{font-size:2rem}.plan-task-grid{grid-template-columns:repeat(2,1fr)!important}.course-day{min-height:48px}.course-day strong{font-size:.62rem}}
.course-bookmap summary{list-style:none;cursor:pointer}.course-bookmap summary::-webkit-details-marker{display:none}.course-bookmap[open] .course-summary-arrow{transform:rotate(180deg)}.course-bookmap-lane+ .course-bookmap-lane{margin-top:1rem}.course-bookmap-lane>strong{display:block;margin-bottom:.5rem;color:#d7ded9;font-size:.78rem}.course-bookmap-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.4rem}.course-book-progress{display:grid;gap:.38rem;padding:.62rem;border:1px solid rgba(255,255,255,.055);border-radius:12px;background:rgba(255,255,255,.018);color:#c4ceca;text-decoration:none}.course-book-progress:hover{border-color:rgba(231,201,121,.25)}.course-book-progress span{display:flex;align-items:center;justify-content:space-between;gap:.4rem;min-width:0}.course-book-progress b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.68rem}.course-book-progress small{color:#788681;font-size:.54rem}.course-book-progress>i{display:block;height:3px;border-radius:999px;background:rgba(255,255,255,.06);overflow:hidden}.course-book-progress>i em{display:block;height:100%;background:linear-gradient(90deg,var(--course-gold),#d29e45)}.course-book-progress.is-complete{border-color:rgba(115,214,170,.18);background:rgba(115,214,170,.05)}.course-book-progress.is-complete>i em{background:var(--course-green)}
@media(max-width:900px){.course-bookmap-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:520px){.course-bookmap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* =========================================================
   KBIBLE Bible Course V3 — simpler, calmer, premium flow
   ========================================================= */
:root{
  --course-bg:#07110f;
  --course-panel:rgba(11,27,24,.90);
  --course-panel-2:rgba(14,34,30,.95);
  --course-paper:#fbf5e8;
  --course-paper-2:#f4ead6;
  --course-paper-text:#2d271f;
  --course-gold:#e6c772;
  --course-gold-2:#c99f4c;
  --course-green:#75d6aa;
  --course-blue:#8bbaff;
  --course-line:rgba(230,199,114,.17);
  --course-radius:26px;
}
body.page-plan-workspace{
  background:
    radial-gradient(circle at 12% 0%,rgba(81,194,156,.18),transparent 30rem),
    radial-gradient(circle at 88% 4%,rgba(94,139,222,.14),transparent 32rem),
    radial-gradient(circle at 52% 34%,rgba(230,199,114,.07),transparent 34rem),
    linear-gradient(155deg,#06100e,#0a1718 48%,#110d17)!important;
  color:#f4f2e9;
}
body.page-plan-workspace::before{
  opacity:.62!important;
  background-image:
    linear-gradient(180deg,rgba(255,255,255,.025),transparent 22%),
    radial-gradient(circle at 50% -8%,rgba(230,199,114,.10),transparent 34%),
    linear-gradient(120deg,transparent 0 46%,rgba(255,255,255,.012) 46% 47%,transparent 47% 100%)!important;
  background-size:auto,auto,32px 32px!important;
}
.plan-course-shell{
  width:min(1280px,calc(100% - 1.5rem));
  max-width:1280px;
  gap:.9rem;
  padding:1rem 0 4rem;
}

/* Hero: one clear purpose */
.course-hero--simple{
  border-radius:32px;
  background:
    radial-gradient(circle at 84% 8%,rgba(230,199,114,.14),transparent 28%),
    linear-gradient(145deg,rgba(10,31,27,.98),rgba(11,21,29,.97) 58%,rgba(25,15,28,.96));
  border:1px solid rgba(230,199,114,.18);
  box-shadow:0 32px 90px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.04);
}
.course-hero--simple::after{opacity:.6}
.course-hero--simple .course-hero__inner{
  padding:clamp(1.35rem,3.2vw,2.35rem);
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);
  align-items:center;
}
.course-hero-copy{min-width:0}
.course-title{
  margin:.62rem 0 .48rem;
  font-size:clamp(2rem,4.6vw,3.15rem);
  line-height:1.13;
  letter-spacing:-.05em;
}
.course-sub{max-width:720px;font-size:.9rem;line-height:1.75;color:#aab7b3}
.course-simple-steps{
  display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-top:1.05rem;
}
.course-simple-steps>span{
  display:inline-flex;align-items:center;gap:.42rem;min-height:36px;padding:.34rem .64rem;
  border:1px solid rgba(255,255,255,.07);border-radius:999px;background:rgba(255,255,255,.035);
}
.course-simple-steps b{
  display:grid;place-items:center;width:22px;height:22px;border-radius:50%;
  background:rgba(230,199,114,.14);color:var(--course-gold);font-size:.66rem;
}
.course-simple-steps em{font-style:normal;color:#dce2df;font-size:.72rem;font-weight:800}
.course-simple-steps>i{color:#687571;font-style:normal;font-size:.72rem}
.course-today-progress{
  grid-template-columns:84px minmax(0,1fr);padding:.9rem;border-radius:22px;
  background:rgba(5,15,15,.36);border-color:rgba(230,199,114,.12);
}
.course-ring{width:84px;height:84px}.course-ring::before{inset:7px}
.course-progress-date{color:var(--course-gold)!important;font-size:.68rem!important;font-weight:850}
.course-progress-copy strong{font-size:1rem;margin-top:.1rem}
.course-progress-copy span{line-height:1.5}

/* Persistent quick navigation */
.course-quick-nav{
  position:sticky;top:70px;z-index:35;
  display:flex;justify-content:center;gap:.45rem;flex-wrap:wrap;
  width:max-content;max-width:calc(100vw - 1.5rem);margin:.1rem auto .05rem;padding:.38rem;
  border:1px solid rgba(230,199,114,.13);border-radius:999px;
  background:rgba(7,18,18,.86);box-shadow:0 14px 36px rgba(0,0,0,.2);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.course-quick-nav a{
  display:inline-flex;align-items:center;gap:.35rem;min-height:36px;padding:0 .78rem;border-radius:999px;
  color:#cbd4d0;text-decoration:none;font-size:.7rem;font-weight:850;
  transition:.18s ease;
}
.course-quick-nav a:hover,.course-quick-nav a:focus-visible{background:rgba(230,199,114,.10);color:#fff0bf;outline:none}
.course-quick-nav a span{font-size:.86rem}

/* Stats become a quiet summary strip */
.course-stat-grid--simple{gap:.5rem}
.course-stat-grid--simple .course-stat{
  min-height:76px;padding:.72rem .85rem;border-radius:16px;background:rgba(255,255,255,.025);
  box-shadow:none;
}
.course-stat-grid--simple .course-stat span{font-size:.62rem}
.course-stat-grid--simple .course-stat strong{margin-top:.2rem;font-size:1.03rem}
.course-stat-grid--simple .course-stat em{display:none}

/* Today is the visual center */
.course-today-section{
  scroll-margin-top:130px;
  padding:1.15rem;
  border:1px solid rgba(230,199,114,.16);border-radius:30px;
  background:linear-gradient(155deg,rgba(13,29,27,.94),rgba(10,17,24,.96));
  box-shadow:0 24px 68px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.03);
}
.course-mission-head{align-items:center;padding:.1rem .1rem .8rem}
.course-mission-head h2{font-size:1.45rem;letter-spacing:-.035em}
.course-mission-head p{margin-top:.25rem;max-width:680px;line-height:1.55}
.course-date-chip{background:rgba(230,199,114,.08);font-size:.68rem}
#plan-new-cards.plan-stack{gap:1rem}

/* One compact note instead of a permanent side panel */
.course-inline-note{
  margin-top:.8rem;border-top:1px solid rgba(255,255,255,.055);
}
.course-inline-note>summary{
  list-style:none;cursor:pointer;display:flex;align-items:center;gap:.5rem;min-height:52px;padding:.65rem .2rem 0;
  color:#d9dfdb;font-size:.78rem;
}
.course-inline-note>summary::-webkit-details-marker{display:none}
.course-inline-note>summary strong{font-size:.78rem}
.course-inline-note>summary em{margin-left:auto;padding:.2rem .5rem;border-radius:999px;background:rgba(255,255,255,.04);color:#74827d;font-size:.58rem;font-style:normal}
.course-inline-note__body{padding:.65rem 0 .15rem}
.course-day-note{min-height:110px;background:rgba(3,12,13,.55);border-radius:15px}
.course-note-actions{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin-top:.55rem}

/* Panels */
.course-panel{
  scroll-margin-top:130px;border-radius:24px;background:linear-gradient(160deg,rgba(14,30,28,.92),rgba(10,17,24,.94));
  box-shadow:0 18px 54px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.03);
}
.course-panel__head{min-height:68px;padding:.82rem 1rem;cursor:pointer}
.course-panel__head>div{display:flex;align-items:center;gap:.72rem;min-width:0}
.course-panel__head h3{font-size:.94rem}.course-panel__head p{font-size:.66rem}
.course-panel-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:11px;background:rgba(230,199,114,.08);font-size:.9rem}
.course-summary-arrow{color:#788680;transition:transform .2s}
details.course-panel[open] .course-summary-arrow{transform:rotate(180deg)}
.course-calendar-panel .course-calendar-toolbar{padding:.9rem 1rem}
.course-calendar-toolbar p{margin:.22rem 0 0;color:#7d8a85;font-size:.65rem}
.course-calendar-title{font-size:.98rem}
.course-calendar-nav button{min-width:36px;width:auto;padding:0 .62rem}
.course-calendar{padding:.85rem 1rem 1rem}
.course-calendar>#course-month-label{margin-bottom:.65rem;font-size:.76rem;color:#a9b5b0}
.course-day{min-height:68px;border-radius:13px}

/* Settings as 3 human-readable steps */
.course-settings--simple .course-panel__body{padding-top:.2rem}
.course-setup-grid{display:grid;grid-template-columns:1.05fr 1fr .95fr;gap:.75rem}
.course-setup-step{
  min-width:0;padding:.85rem;border:1px solid rgba(255,255,255,.055);border-radius:18px;background:rgba(255,255,255,.022);
}
.course-step-label{display:flex;align-items:center;gap:.55rem;margin-bottom:.75rem}
.course-step-label>b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(230,199,114,.11);color:var(--course-gold);font-size:.7rem}
.course-step-label span{display:grid;gap:.06rem}.course-step-label strong{font-size:.78rem}.course-step-label small{color:#74827e;font-size:.58rem}
.course-setup-step .course-form-grid{grid-template-columns:1fr 76px;gap:.5rem}
.course-form-grid--daily{grid-template-columns:1fr 1fr!important;margin-top:.65rem}
.course-form-grid--daily .course-field{position:relative}
.course-form-grid--daily .course-field>span{position:absolute;right:.65rem;bottom:.72rem;color:#798681;font-size:.68rem}
.course-form-grid--daily input{padding-right:2rem}
.course-preset-row{gap:.32rem}.course-preset{min-height:32px;font-size:.62rem;padding:0 .55rem}
.course-action-row--center{justify-content:center}.course-action-row--center .course-btn{min-width:220px}

/* Mission cards: reader first, tools second */
.plan-study-card{
  border-radius:24px!important;border-color:rgba(230,199,114,.13)!important;
  background:linear-gradient(155deg,rgba(14,30,28,.96),rgba(10,17,24,.97))!important;
  box-shadow:0 18px 52px rgba(0,0,0,.2)!important;
}
.plan-study-card__body{padding:1.1rem!important}
.plan-card-top{align-items:center!important}
.plan-card-title{font-size:1.25rem!important}
.plan-card-sub{font-size:.7rem!important;line-height:1.55!important;max-width:650px}
.plan-card-actions .plan-btn{min-height:38px!important}
.plan-task-grid{
  display:flex!important;gap:.35rem!important;overflow-x:auto;padding:.1rem 0 .45rem;scrollbar-width:none;
}
.plan-task-grid::-webkit-scrollbar{display:none}
.plan-task-chip{min-width:96px!important;flex:0 0 auto!important;padding:.5rem .58rem!important;border-radius:12px!important}
.plan-task-chip small{font-size:.56rem!important}.plan-task-chip strong{font-size:.65rem!important}
.plan-workspace{grid-template-columns:minmax(0,1.45fr) minmax(330px,.55fr)!important;gap:.75rem!important}
.plan-reader-panel{border-radius:20px!important;box-shadow:0 18px 44px rgba(0,0,0,.16)!important}
.plan-control-panel{min-width:0}
.plan-panel-head{gap:.65rem!important}
.plan-reader-tools{gap:.5rem!important}
.plan-choice-button{border-radius:999px!important;min-height:32px!important}

/* Nine vertical accordions -> one horizontal tool rail + one active panel */
.plan-tool-switcher{display:grid;gap:.55rem;min-width:0}
.plan-tool-tabs{
  display:flex;gap:.32rem;overflow-x:auto;padding:.15rem .1rem .42rem;scrollbar-width:none;scroll-snap-type:x proximity;
}
.plan-tool-tabs::-webkit-scrollbar{display:none}
.plan-tool-tab{
  flex:0 0 auto;scroll-snap-align:start;min-height:36px;padding:0 .72rem;
  border:1px solid rgba(255,255,255,.07);border-radius:999px;background:rgba(255,255,255,.025);
  color:#aeb9b5;font:inherit;font-size:.66rem;font-weight:850;cursor:pointer;white-space:nowrap;
}
.plan-tool-tab:hover{border-color:rgba(230,199,114,.30);color:#eee5c9}
.plan-tool-tab.is-active{
  border-color:rgba(230,199,114,.34);background:linear-gradient(135deg,#ead080,#cda353);color:#231906;
  box-shadow:0 8px 20px rgba(205,163,83,.16);
}
.plan-tool-stage{
  overflow:hidden;border:1px solid rgba(255,255,255,.06);border-radius:17px;background:rgba(4,13,15,.44);
}
.plan-tool-stage__head{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.68rem .8rem;border-bottom:1px solid rgba(255,255,255,.05)}
.plan-tool-stage__head strong{font-size:.76rem}.plan-tool-stage__head span{color:#6f7e79;font-size:.58rem;text-align:right}
.plan-tool-stage__body{padding:.72rem}
.plan-control-box{border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}
.plan-step-copy{font-size:.68rem!important;line-height:1.55!important;color:#82908b!important}
.plan-banner-stack{display:none!important}

/* Review */
.course-review-details>summary{display:flex;align-items:center;gap:.5rem}.course-review-details>summary small{margin-left:auto;color:#74827d;font-size:.62rem;font-weight:700}

/* Mobile: thumb-friendly, no mental overload */
@media(max-width:1080px){
  .course-setup-grid{grid-template-columns:1fr 1fr}.course-setup-step:last-child{grid-column:1/-1}
  .plan-workspace{grid-template-columns:1fr!important}
  .plan-control-panel{order:2}
}
@media(max-width:760px){
  .plan-course-shell{width:min(100% - .75rem,1280px);padding-top:.55rem;gap:.65rem}
  .course-hero--simple{border-radius:23px}
  .course-hero--simple .course-hero__inner{grid-template-columns:1fr;padding:1.12rem;gap:.9rem}
  .course-title{font-size:clamp(1.8rem,9vw,2.35rem);margin:.48rem 0 .4rem}
  .course-sub{font-size:.78rem;line-height:1.65}
  .course-simple-steps{gap:.3rem;margin-top:.8rem}.course-simple-steps>span{min-height:32px;padding:.28rem .48rem}.course-simple-steps>i{display:none}.course-simple-steps em{font-size:.64rem}
  .course-today-progress{grid-template-columns:66px 1fr;padding:.72rem;border-radius:17px}.course-ring{width:66px;height:66px}.course-ring::before{inset:6px}.course-ring strong{font-size:1rem}.course-ring small{font-size:.5rem}
  .course-quick-nav{top:64px;justify-content:flex-start;width:100%;max-width:100%;margin:0;padding:.28rem;overflow-x:auto;flex-wrap:nowrap;border-radius:15px;scrollbar-width:none}
  .course-quick-nav::-webkit-scrollbar{display:none}.course-quick-nav a{flex:0 0 auto;min-height:34px;padding:0 .62rem;font-size:.64rem}
  .course-stat-grid--simple{grid-template-columns:repeat(2,1fr);gap:.35rem}.course-stat-grid--simple .course-stat{min-height:64px;padding:.62rem .68rem;border-radius:14px}.course-stat-grid--simple .course-stat strong{font-size:.93rem}
  .course-today-section{padding:.82rem;border-radius:22px;scroll-margin-top:114px}.course-mission-head{align-items:flex-start;gap:.5rem}.course-mission-head h2{font-size:1.18rem}.course-mission-head p{font-size:.68rem}.course-date-chip{font-size:.6rem}
  .plan-study-card{border-radius:19px!important}.plan-study-card__body{padding:.82rem!important}.plan-card-top{gap:.65rem!important}.plan-card-title{font-size:1.08rem!important}.plan-card-sub{font-size:.64rem!important}.plan-card-actions{width:100%;display:flex!important;gap:.35rem!important}.plan-card-actions .plan-btn{flex:1;min-width:0!important;padding:0 .55rem!important;font-size:.62rem!important}
  .plan-task-chip{min-width:82px!important;padding:.44rem .5rem!important}
  .plan-reader-panel{border-radius:16px!important}.plan-panel-head{align-items:flex-start!important;flex-direction:column!important}.plan-reader-tools{width:100%;display:grid!important;grid-template-columns:1fr!important}.plan-choice-group{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important}.plan-choice-button{flex:0 0 auto!important}
  .plan-tool-tabs{margin:0 -.1rem}.plan-tool-tab{min-height:34px;padding:0 .65rem;font-size:.62rem}.plan-tool-stage{border-radius:15px}.plan-tool-stage__head{align-items:flex-start;flex-direction:column;gap:.12rem;padding:.62rem .7rem}.plan-tool-stage__head span{text-align:left}.plan-tool-stage__body{padding:.65rem}
  .plan-verse{grid-template-columns:26px 1fr!important}.plan-verse__en,.plan-verse__ko{font-size:.9rem!important;line-height:1.68!important}.plan-verse__actions{overflow-x:auto;flex-wrap:nowrap!important;padding-bottom:.18rem}.plan-verse-btn{flex:0 0 auto!important;min-height:34px!important;font-size:.6rem!important}
  .course-calendar-panel{scroll-margin-top:114px}.course-calendar-toolbar{align-items:flex-start;gap:.7rem}.course-calendar-toolbar p{display:none}.course-calendar-nav button{height:34px;min-width:34px}.course-calendar{padding:.62rem}.course-weekdays,.course-calendar-grid{gap:.18rem}.course-day{min-height:50px;padding:.32rem;border-radius:9px}.course-day small{display:none}.course-day .course-day-meter{left:.3rem;right:.3rem;bottom:.28rem}
  .course-panel{border-radius:19px;scroll-margin-top:114px}.course-panel__head{padding:.72rem .8rem;min-height:60px}.course-panel__head p{font-size:.6rem}.course-panel-icon{width:32px;height:32px;flex-basis:32px}
  .course-setup-grid{grid-template-columns:1fr}.course-setup-step:last-child{grid-column:auto}.course-setup-step{padding:.72rem;border-radius:15px}.course-setup-step .course-form-grid{grid-template-columns:1fr 70px}.course-form-grid--daily{grid-template-columns:1fr 1fr!important}.course-preset-row{display:grid;grid-template-columns:1fr 1fr}.course-preset{width:100%;padding:0 .35rem}
  .course-bookmap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .course-inline-note>summary{min-height:48px}.course-day-note{min-height:120px}
}
@media(max-width:390px){
  .course-stat-grid--simple{grid-template-columns:1fr 1fr}.course-stat-grid--simple .course-stat{padding:.56rem}.course-stat-grid--simple .course-stat span{font-size:.56rem}.course-stat-grid--simple .course-stat strong{font-size:.84rem}
  .course-preset-row{grid-template-columns:1fr 1fr}.course-form-grid--daily{grid-template-columns:1fr!important}
  .course-simple-steps>span{padding:.26rem .4rem}.course-simple-steps em{font-size:.58rem}.course-simple-steps b{width:20px;height:20px}
}

/* =========================================================
   KBIBLE Bible Course V4 — premium clarity redesign
   Goal first · modern pickers · Bible-reader voice/highlight sync
   ========================================================= */
:root{
  --course-ink:#251f18;
  --course-ink-2:#4a3d2c;
  --course-cream:#fffaf0;
  --course-cream-2:#f6eddc;
  --course-emerald:#123f35;
  --course-emerald-2:#0b2f29;
  --course-gold-deep:#8d671c;
  --course-gold-bright:#e4bb52;
  --course-border-light:#d8c9ad;
  --plan-highlight:#ffe45c;
  --plan-highlight-soft:#fff4a7;
  --plan-highlight-glow:rgba(255,228,92,.42);
}
body.page-plan-workspace[data-plan-highlight="yellow"]{--plan-highlight:#ffe45c;--plan-highlight-soft:#fff4a7;--plan-highlight-glow:rgba(255,228,92,.42)}
body.page-plan-workspace[data-plan-highlight="orange"]{--plan-highlight:#ff9d4d;--plan-highlight-soft:#ffd5ad;--plan-highlight-glow:rgba(255,157,77,.38)}
body.page-plan-workspace[data-plan-highlight="purple"]{--plan-highlight:#b89cff;--plan-highlight-soft:#ddd0ff;--plan-highlight-glow:rgba(184,156,255,.40)}
body.page-plan-workspace[data-plan-highlight="green"]{--plan-highlight:#71e59b;--plan-highlight-soft:#bdf5cf;--plan-highlight-glow:rgba(113,229,155,.38)}
body.page-plan-workspace[data-plan-highlight="blue"]{--plan-highlight:#72b8ff;--plan-highlight-soft:#bfe0ff;--plan-highlight-glow:rgba(114,184,255,.40)}

body.page-plan-workspace{
  background:
    radial-gradient(circle at 15% 0,#1e5b4c 0,transparent 28rem),
    radial-gradient(circle at 86% 7%,#243f73 0,transparent 25rem),
    linear-gradient(150deg,#081b18,#0b2522 48%,#15192b)!important;
  color:#f7e7b6;
}
body.page-plan-workspace::before{opacity:.26!important}
.plan-course-shell{gap:1rem!important}

/* Hero: jewel sanctuary, readable warm typography */
.course-hero{
  border-color:#8c743c!important;
  background:
    radial-gradient(circle at 85% 0,rgba(228,187,82,.25),transparent 28%),
    linear-gradient(140deg,#0c352d 0%,#112f32 56%,#1f1931 100%)!important;
  box-shadow:0 28px 80px rgba(0,0,0,.32)!important;
}
.course-kicker,.course-title em{color:#f0cd72!important}
.course-title{color:#fff0be!important;text-shadow:0 2px 24px rgba(0,0,0,.24)}
.course-sub{color:#e4d8b3!important;font-weight:620!important}
.course-simple-steps>span{border-color:#7f754f!important;background:#183d36!important}
.course-simple-steps em{color:#f1e5bf!important;font-weight:750!important}
.course-simple-steps b{background:#e8c45f!important;color:#2d220c!important}
.course-today-progress{border-color:#6f7657!important;background:#102e2a!important}
.course-ring::before{background:#12332e!important}
.course-ring strong{color:#ffe9a7!important}.course-ring small{color:#e5d6ac!important}
.course-progress-copy span{color:#e0d5b7!important}.course-progress-copy strong{color:#fff0bd!important}

/* Navigation and metrics: no washed-out text */
.course-quick-nav{border-color:#5f725f!important;background:#102f2a!important;box-shadow:0 14px 34px rgba(0,0,0,.22)!important}
.course-quick-nav a{color:#f4e5b6!important;background:#173a33!important;border:1px solid #41685b!important;font-weight:850!important}
.course-quick-nav a:hover,.course-quick-nav a:focus-visible{background:#e6c367!important;color:#2b210d!important;border-color:#f1d983!important}
.course-stat{border-color:var(--course-border-light)!important;background:linear-gradient(160deg,#fffaf0,#f2e6d0)!important;box-shadow:0 14px 38px rgba(0,0,0,.14)!important}
.course-stat span{color:#5a472d!important;font-weight:900!important}.course-stat strong{color:#233c33!important}.course-stat.is-accent strong{color:#8b6215!important}

/* Goal panel is now a featured, always-visible studio above Today */
.course-settings--featured{
  overflow:visible!important;
  border:1px solid #d0b872!important;
  background:
    radial-gradient(circle at 95% 0,rgba(219,179,70,.22),transparent 27%),
    linear-gradient(145deg,#fffaf0,#f5ead8)!important;
  color:var(--course-ink)!important;
  box-shadow:0 22px 58px rgba(0,0,0,.19)!important;
  scroll-margin-top:118px;
}
.course-settings-head{padding:1.15rem 1.25rem 1rem!important;border-bottom:1px solid #dccba7!important}
.course-settings-head>div:first-child{display:flex;align-items:center;gap:.8rem}
.course-settings-head .course-panel-icon{background:#173f36!important;color:#f3d475!important;border-color:#b99a4c!important}
.course-panel-kicker{display:block;color:#86611d!important;font-size:.62rem;font-weight:950;letter-spacing:.13em;margin-bottom:.16rem}
.course-settings-head h2{color:#20382f!important;font-size:1.18rem!important;margin:0!important}
.course-settings-head p{color:#584a36!important;font-size:.73rem!important;font-weight:650!important}
.course-goal-summary{display:grid;justify-items:end;gap:.04rem;padding:.55rem .8rem;border-radius:16px;background:#173f36;border:1px solid #406d5f;color:#f4df9d}
.course-goal-summary strong{font-size:1.1rem}.course-goal-summary span{font-size:.58rem;font-weight:850;color:#f3e3b6}
.course-settings--featured .course-panel__body{padding:1rem 1.15rem 1.2rem!important}
.course-setup-step{border-color:#d9c9aa!important;background:#fffdf7!important;box-shadow:0 10px 28px rgba(67,50,21,.07)!important}
.course-step-label>b{background:#173f36!important;color:#f5d982!important}
.course-step-label strong{color:#253a31!important;font-size:.82rem!important}
.course-step-label small{color:#66543b!important;font-weight:700!important}
.course-field label{color:#6f531b!important;font-size:.7rem!important;font-weight:950!important}
.course-field input[type=date],.course-field input[type=number],.course-day-note{
  border:1px solid #c9b996!important;background:#fffaf0!important;color:#2b251c!important;font-weight:750!important;
  box-shadow:inset 0 1px 0 #fff!important;
}
.course-field input:focus,.course-day-note:focus{border-color:#9b7524!important;box-shadow:0 0 0 3px rgba(174,128,33,.14)!important}
.course-form-grid--daily .course-field>span{color:#735d36!important;font-weight:850!important}
.course-preset{border:1px solid #bca87f!important;background:#fff9ed!important;color:#4b3d28!important;box-shadow:0 6px 16px rgba(64,49,24,.07)!important}
.course-preset:hover,.course-preset.is-active{border-color:#1d5a4d!important;background:#173f36!important;color:#f6e2a0!important;transform:translateY(-1px)}
.course-switch-row{border:1px solid #d8c7a5!important;background:#fbf2e2!important}
.course-switch-row span,.course-switch-row strong{color:#2f392f!important}.course-switch-row small{color:#61523b!important;font-weight:650!important}
.course-action-row--center .course-btn.primary{min-height:48px!important;border-radius:14px!important;background:linear-gradient(135deg,#1a5145,#0f372f)!important;color:#f6df9b!important;box-shadow:0 14px 28px rgba(18,63,54,.20)!important}
.course-note-status{color:#604918!important;font-weight:800!important}

/* Native select stays as data source; modern custom picker is user-facing */
.course-native-select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;padding:0!important;margin:-1px!important}
.course-picker{position:relative;min-width:0;z-index:12}
.course-picker-trigger{width:100%;min-height:48px;padding:.55rem .72rem;display:grid;grid-template-columns:1fr auto;grid-template-areas:"eyebrow arrow" "value arrow";align-items:center;text-align:left;border:1px solid #bdaa83;border-radius:15px;background:linear-gradient(180deg,#fffdf7,#f7eddc);color:#2d271e;box-shadow:0 8px 20px rgba(60,43,17,.07);cursor:pointer}
.course-picker-trigger>span{grid-area:eyebrow;color:#8a681e;font-size:.54rem;font-weight:950;letter-spacing:.08em}.course-picker-trigger>strong{grid-area:value;font-size:.82rem;color:#24372f}.course-picker-trigger>i{grid-area:arrow;font-style:normal;color:#765c24;font-size:1rem;transition:transform .18s}
.course-picker.is-open .course-picker-trigger{border-color:#35695b;box-shadow:0 0 0 3px rgba(28,92,77,.10),0 10px 24px rgba(60,43,17,.09)}.course-picker.is-open .course-picker-trigger>i{transform:rotate(180deg)}
.course-picker-panel{position:absolute;left:0;top:calc(100% + .4rem);width:min(360px,90vw);max-height:330px;display:none;padding:.55rem;border:1px solid #bda978;border-radius:18px;background:#fffaf0;box-shadow:0 24px 60px rgba(17,32,27,.26);z-index:80}
.course-picker.is-open .course-picker-panel{display:block}
.course-picker-search-wrap{display:grid;gap:.25rem;padding:.15rem .15rem .5rem}.course-picker-search-wrap>span{color:#77591c;font-size:.56rem;font-weight:900}.course-picker-search{min-height:42px;border:1px solid #c8b790;border-radius:12px;background:#fffdf8;color:#29231a;padding:0 .7rem;font:inherit;font-weight:700;outline:none}.course-picker-search:focus{border-color:#2c6758;box-shadow:0 0 0 3px rgba(44,103,88,.10)}
.course-picker-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;max-height:250px;overflow:auto;padding:.1rem;scrollbar-width:thin;scrollbar-color:#bca36b transparent}
.course-picker-option{min-height:39px;padding:0 .62rem;display:flex;align-items:center;justify-content:space-between;gap:.4rem;border:1px solid #dfd1b5;border-radius:11px;background:#fffdf8;color:#3b3020;font:inherit;font-size:.72rem;font-weight:800;cursor:pointer}.course-picker-option:hover{border-color:#477667;background:#f0f6ee}.course-picker-option.is-selected{background:#173f36;color:#f3dd9e;border-color:#173f36}.course-picker-option b{color:inherit}.course-picker.is-compact .course-picker-panel{width:min(260px,88vw)}.course-picker.is-compact .course-picker-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.course-stepper{display:grid;grid-template-columns:38px minmax(52px,1fr) 38px;align-items:center;border:1px solid #c8b893;border-radius:14px;background:#fffaf0;overflow:hidden}.course-stepper input{border:0!important;border-radius:0!important;text-align:center!important;background:transparent!important;box-shadow:none!important;padding:0!important}.course-stepper-btn{height:44px;border:0;background:#efe1c9;color:#27483d;font-size:1.1rem;font-weight:950;cursor:pointer}.course-stepper-btn:hover{background:#173f36;color:#f4dc98}

/* Today section and reading studio: paper-first, high contrast */
.course-today-section{padding:1rem;border:1px solid #cab98f;border-radius:26px;background:linear-gradient(145deg,#fffaf0,#f3e8d5);box-shadow:0 20px 58px rgba(0,0,0,.18)}
.plan-section-eyebrow{color:#8b6418!important;font-weight:950!important}.course-mission-head h2{color:#20382f!important}.course-mission-head p{color:#554834!important;font-weight:650!important}.course-date-chip{border-color:#9e7e37!important;background:#173f36!important;color:#f5dea0!important}
.course-reader-preferences{display:grid;grid-template-columns:minmax(220px,.62fr) minmax(0,1.38fr);gap:.8rem;align-items:center;margin:.85rem 0 1rem;padding:.85rem;border:1px solid #cdbb90;border-radius:20px;background:#fffdf7;box-shadow:0 10px 28px rgba(70,53,25,.08)}
.course-pref-copy>span{color:#8b651b;font-size:.55rem;font-weight:950;letter-spacing:.12em}.course-pref-copy>strong{display:block;margin-top:.12rem;color:#213930;font-size:.96rem}.course-pref-copy>p{margin:.22rem 0 0;color:#5d4d37;font-size:.67rem;font-weight:650;line-height:1.55}
.course-pref-controls{display:flex;align-items:center;justify-content:flex-end;gap:.7rem;min-width:0}.course-voice-control{display:flex;gap:.45rem;min-width:0}.course-voice-btn{min-width:190px;min-height:54px;display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-areas:"lang title" "lang status";align-items:center;gap:0 .55rem;padding:.45rem .7rem;border:1px solid #b9a779;border-radius:16px;background:linear-gradient(145deg,#fff8e8,#f0e3cb);color:#2b271f;text-align:left;cursor:pointer;box-shadow:0 8px 22px rgba(60,43,17,.08)}.course-voice-btn:hover{border-color:#2b6556;transform:translateY(-1px);box-shadow:0 11px 28px rgba(35,82,69,.12)}.course-voice-btn>span{grid-area:lang;display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#173f36;color:#f5db92;font-size:.65rem;font-weight:950}.course-voice-btn>strong{grid-area:title;color:#253c33;font-size:.72rem}.course-voice-btn>small{grid-area:status;color:#6d5222;font-size:.58rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.course-highlight-control{display:grid;gap:.3rem}.course-highlight-label{color:#6b4f1c;font-size:.6rem;font-weight:950}.course-highlight-swatches{display:flex;gap:.34rem}.course-highlight-swatches button{width:34px;height:34px;padding:0;border:1px solid #baa77c;border-radius:11px;background:#fffaf0;display:grid;place-items:center;cursor:pointer}.course-highlight-swatches button i{display:block;width:19px;height:19px;border-radius:7px;background:var(--sw);box-shadow:inset 0 0 0 1px rgba(66,49,14,.12)}.course-highlight-swatches button.is-on{border-color:#173f36;box-shadow:0 0 0 3px rgba(23,63,54,.12)}.course-highlight-swatches button.is-on i{transform:scale(1.12)}

/* Study cards: ivory reading surface instead of dark grey */
#plan-new-cards .plan-study-card,.plan-review-workspace .plan-study-card{border:1px solid #c9b78c!important;background:#fffaf0!important;color:var(--course-ink)!important;box-shadow:0 16px 46px rgba(66,48,19,.10)!important}
.plan-study-card .plan-card-title,.plan-study-card .plan-panel-title,.plan-study-card .plan-tool-stage__head strong{color:#213b32!important}.plan-study-card .plan-card-sub,.plan-study-card .plan-inline-status,.plan-study-card .plan-mini-note,.plan-study-card .plan-step-copy,.plan-study-card .plan-tool-stage__head span{color:#5b4932!important;font-weight:650!important}.plan-study-card .plan-badge{background:#173f36!important;color:#f5da92!important;border-color:#53776a!important}
.plan-reader-panel{background:#fffaf0!important;color:#2b251d!important;border:1px solid #d2c19a!important}.plan-reader-panel .plan-panel-head{border-bottom:1px solid #dfd2b6!important}.plan-reader-panel .plan-verse{background:#fffdf8!important;border-color:#dfd2b5!important}.plan-reader-panel .plan-verse.is-selected{background:#fff7cf!important;box-shadow:inset 4px 0 0 #d9b32c!important}.plan-reader-panel .plan-verse.is-active{background:#fff5bc!important;box-shadow:inset 5px 0 0 var(--plan-highlight)!important}.plan-reader-panel .plan-verse__num{color:#765716!important;font-weight:950!important}.plan-reader-panel .plan-verse__version{color:#6d531f!important;font-weight:850!important}.plan-reader-panel .plan-verse__en,.plan-reader-panel .plan-verse__ko{color:#2d281f!important}
.plan-verse-translation{display:grid;grid-template-columns:48px minmax(0,1fr);gap:.55rem;align-items:start;margin:.28rem 0}.plan-verse-translation>b{display:inline-grid;place-items:center;min-height:24px;border-radius:8px;background:#efe1c2;color:#6b501b;font-size:.55rem;font-weight:950}.plan-verse-translation>span{min-width:0}
.plan-tool-tabs{border-bottom:0!important}.plan-tool-tab{border-color:#cbb991!important;background:#fffaf0!important;color:#3f3527!important}.plan-tool-tab:hover{border-color:#2b6556!important;color:#173f36!important}.plan-tool-tab.is-active{background:#173f36!important;border-color:#173f36!important;color:#f5dd9d!important;box-shadow:0 8px 22px rgba(23,63,54,.16)!important}.plan-tool-stage{border-color:#d1c09a!important;background:#fffdf8!important}.plan-tool-stage__head{border-bottom-color:#dfd1b3!important}.plan-control-panel .plan-btn,.plan-reader-panel .plan-btn,.plan-verse-btn{border-color:#bda981!important;background:#fff8ea!important;color:#304036!important;font-weight:850!important}.plan-control-panel .plan-btn:hover,.plan-reader-panel .plan-btn:hover,.plan-verse-btn:hover{background:#173f36!important;color:#f5dfa1!important;border-color:#173f36!important}.plan-btn--success,.plan-btn--primary{background:#173f36!important;color:#f5dfa1!important;border-color:#173f36!important}.plan-pill{background:#efe3ca!important;color:#604719!important;border-color:#cbb88e!important;font-weight:850!important}
.plan-choice-button{border:1px solid #c8b58b!important;background:#fff9ec!important;color:#423728!important;font-weight:850!important}.plan-choice-button.is-active{background:#173f36!important;border-color:#173f36!important;color:#f7e0a0!important;box-shadow:0 8px 22px rgba(23,63,54,.15)!important}
.plan-reader-current-highlight{display:flex;align-items:center;gap:.38rem;min-height:34px;padding:0 .65rem;border:1px solid #c8b68e;border-radius:999px;background:#fff9ed;color:#5f4618;font-size:.62rem;font-weight:850}.plan-reader-current-highlight strong{color:#243e35}
.plan-listen-voice-summary{display:flex;gap:.4rem;flex-wrap:wrap;margin:.5rem 0}.plan-listen-voice-summary span{display:inline-flex;align-items:center;min-height:30px;padding:0 .6rem;border:1px solid #cdbb94;border-radius:999px;background:#f5ead7;color:#5b4419;font-size:.6rem;font-weight:850}

/* No old visible verse select: horizontal premium verse picker */
.plan-verse-picker{display:grid;gap:.32rem;margin:.5rem 0 .7rem}.plan-verse-picker__label{color:#6c511d;font-size:.6rem;font-weight:950}.plan-verse-picker__track{display:flex;gap:.28rem;overflow-x:auto;padding:.12rem .05rem .28rem;scrollbar-width:thin;scrollbar-color:#c8b17a transparent}.plan-verse-choice{flex:0 0 auto;min-width:36px;height:34px;border:1px solid #c9b88f;border-radius:10px;background:#fff9ed;color:#4b3e2b;font:inherit;font-size:.65rem;font-weight:900;cursor:pointer}.plan-verse-choice:hover,.plan-verse-choice.is-active{background:#173f36;color:#f6df9e;border-color:#173f36}

/* Fluorescent sentence tracking, same concept as bible.php */
.plan-sentence-unit{display:inline;position:relative;padding:.03em .07em;margin:0 -.01em;border-radius:.3em;box-decoration-break:clone;-webkit-box-decoration-break:clone;transition:background .13s ease,box-shadow .13s ease,color .13s ease}
@keyframes planSentencePulse{0%,100%{box-shadow:0 .12em .42em var(--plan-highlight-glow)}50%{box-shadow:0 .16em .9em var(--plan-highlight-glow)}}
.plan-sentence-unit.is-reading-sentence{background:linear-gradient(180deg,transparent 0,var(--plan-highlight) 0,var(--plan-highlight) 72%,var(--plan-highlight-soft) 72%,var(--plan-highlight-soft) 100%)!important;color:#241f18!important;animation:planSentencePulse 1.05s ease-in-out infinite;font-weight:760}

/* Calendar / secondary panels become readable parchment cards */
.course-calendar-panel,.course-bookmap,.course-review-details{border-color:#cdbb91!important;background:linear-gradient(145deg,#fffaf0,#f4e8d4)!important;color:#2b251c!important}.course-calendar-toolbar{border-bottom-color:#d8c7a6!important}.course-calendar-toolbar p,.course-calendar>#course-month-label{color:#5c4b34!important;font-weight:650!important}.course-calendar-title{color:#243b32!important}.course-calendar-nav button{border-color:#bca980!important;background:#fff9ec!important;color:#28483d!important;font-weight:850!important}.course-weekdays span{color:#76571c!important;font-weight:950!important}.course-day{border-color:#d9caac!important;background:#fffdf7!important;color:#2f2a22!important;opacity:1!important}.course-day small{color:#654e22!important;font-weight:750!important}.course-day.is-complete{background:#dcf2e4!important;border-color:#679a7b!important}.course-day.is-complete strong{color:#174b37!important}.course-day.is-partial{background:#fff0bf!important;border-color:#c69d38!important}.course-day.is-missed{background:#f9e2dd!important;border-color:#bc8175!important;opacity:1!important}.course-day.is-future{background:#eee3d0!important;color:#6b5e48!important;opacity:1!important}.course-panel__head h3,.course-panel__head h2{color:#263d34!important}.course-panel__head p{color:#5d4d36!important;font-weight:650!important}.course-bookmap-lane>strong,.course-review-details>summary{color:#31463c!important}.course-review-details>summary small{color:#6d5525!important}

/* Generic form/status/readability overrides */
.plan-control-box,.plan-quote,.plan-extra-content,.plan-history-card{color:#2d281f!important}.plan-input,.plan-textarea,.plan-select{background:#fffdf7!important;color:#2c261d!important;border-color:#c9b68d!important}.plan-textarea::placeholder,.plan-input::placeholder,.course-day-note::placeholder{color:#78684e!important;opacity:1!important}.plan-inline-status,.plan-mini-note,.plan-step-copy{opacity:1!important}

@media(max-width:1080px){
  .course-reader-preferences{grid-template-columns:1fr}.course-pref-controls{justify-content:flex-start;flex-wrap:wrap}.course-voice-control{flex:1 1 100%}.course-voice-btn{flex:1 1 260px}
}
@media(max-width:760px){
  .course-settings--featured,.course-today-section{border-radius:21px!important}
  .course-settings-head{align-items:flex-start!important}.course-goal-summary{padding:.45rem .58rem}.course-goal-summary strong{font-size:.9rem}
  .course-settings--featured .course-panel__body{padding:.72rem!important}.course-setup-step{padding:.68rem!important}
  .course-picker-panel{position:fixed;left:.5rem;right:.5rem;top:auto;bottom:calc(.6rem + env(safe-area-inset-bottom));width:auto!important;max-height:min(70vh,520px);border-radius:22px;z-index:120;box-shadow:0 30px 80px rgba(0,0,0,.35)}.course-picker-list{max-height:min(52vh,380px)}
  .course-reader-preferences{padding:.7rem;border-radius:17px}.course-pref-controls{display:grid;grid-template-columns:1fr;gap:.55rem}.course-voice-control{display:grid;grid-template-columns:1fr 1fr;gap:.38rem}.course-voice-btn{min-width:0;min-height:58px;padding:.42rem .5rem;grid-template-columns:30px minmax(0,1fr);gap:0 .4rem}.course-voice-btn>span{width:30px;height:30px;border-radius:9px}.course-voice-btn>strong{font-size:.62rem}.course-voice-btn>small{font-size:.52rem}.course-highlight-control{grid-template-columns:auto 1fr;align-items:center}.course-highlight-swatches{justify-content:flex-end}
  .course-pref-copy>p{font-size:.63rem}
  .plan-verse-translation{grid-template-columns:40px minmax(0,1fr);gap:.4rem}.plan-verse-translation>b{font-size:.5rem}
  .course-day{color:#2d281f!important}.course-weekdays span{font-size:.58rem!important}
}
@media(max-width:390px){
  .course-voice-control{grid-template-columns:1fr}.course-voice-btn{min-height:52px}.course-highlight-control{grid-template-columns:1fr}.course-highlight-swatches{justify-content:flex-start}.course-highlight-swatches button{width:32px;height:32px}
  .course-picker-list{grid-template-columns:1fr 1fr}.course-picker.is-compact .course-picker-list{grid-template-columns:repeat(3,1fr)}
}

/* Final V4 readability pass: never fade meaningful text. */
.course-settings--featured *,
.course-today-section *,
.course-calendar-panel *,
.course-bookmap *,
.course-review-details *{opacity:1}
.course-form-grid--daily .course-field>span{display:none!important}
.plan-task-chip strong{color:#2c4138!important}.plan-task-chip small{color:#665136!important;font-weight:750!important}
.plan-panel-title{color:#203a31!important}.plan-card-actions a,.plan-card-actions button{font-weight:850!important}
.course-book-progress{background:#fffdf7!important;border-color:#d8c7a5!important;color:#30443a!important}.course-book-progress small{color:#6a5122!important;font-weight:850!important}.course-book-progress.is-complete{background:#dbf0e1!important;border-color:#739985!important}
.course-history-card{background:#fffaf0!important;color:#2c271f!important;border-color:#cbb98f!important}.course-history-head{border-bottom-color:#dcccae!important}.course-history-head h2{color:#213a31!important}.course-history-close{background:#173f36!important;color:#f2dc9a!important}.course-history-target{border-color:#d8c8aa!important;background:#fffdf8!important;color:#302b22!important}.course-history-target span{color:#674e1d!important;font-weight:800!important}.course-history-target.is-done{background:#dff3e5!important;border-color:#7aa28b!important}.course-history-note{background:#f3e7d3!important;color:#483a28!important;border-color:#d6c39d!important}

/* =========================================================
   KBIBLE Bible Course V5 — dark/light color modes
   Default: dark · shared preference: kbible_ui_color_mode
   ========================================================= */
.kb-page-theme-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 0 14px;padding:0 2px}.kb-page-theme-copy{display:grid;gap:1px;text-align:right}.kb-page-theme-copy>span{font-size:.58rem;font-weight:950;letter-spacing:.13em}.kb-page-theme-copy>strong{font-size:.78rem;font-weight:900}.kb-page-theme-switch{display:flex;gap:4px;padding:4px;border:1px solid;border-radius:999px}.kb-page-theme-switch button{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 13px;border:0;border-radius:999px;font-weight:900;cursor:pointer}.kb-page-theme-switch button>span{font-size:.95rem}.kb-page-theme-switch button.is-active{box-shadow:0 7px 18px rgba(0,0,0,.16)}
body.page-plan-workspace[data-kb-page-theme="dark"] .kb-page-theme-copy>span{color:#efc967}body.page-plan-workspace[data-kb-page-theme="dark"] .kb-page-theme-copy>strong{color:#f4e8bd}body.page-plan-workspace[data-kb-page-theme="dark"] .kb-page-theme-switch{border-color:#3d5d50;background:#0a1f1a}body.page-plan-workspace[data-kb-page-theme="dark"] .kb-page-theme-switch button{background:transparent;color:#d8c99f}body.page-plan-workspace[data-kb-page-theme="dark"] .kb-page-theme-switch button.is-active{background:#efc967;color:#2b210e}

body.page-plan-workspace[data-kb-page-theme="light"]{
  --course-bg:#f3eee3;--course-panel:#fffaf0;--course-panel-2:#f5ead6;--course-text:#2b251d;--course-muted:#66563f;--course-line:#d4c39f;--course-gold:#9b741e;--course-green:#1b6653;
  background:radial-gradient(circle at 9% 0,#dceee5 0,transparent 28rem),radial-gradient(circle at 92% 4%,#e6e6f3 0,transparent 30rem),linear-gradient(155deg,#f7f2e8,#efe8da 55%,#f4efe7)!important;color:#2b251d!important;color-scheme:light
}
body.page-plan-workspace[data-kb-page-theme="light"]::before{opacity:.68!important;background-image:radial-gradient(circle at 50% -8%,rgba(177,137,45,.10),transparent 36%),repeating-linear-gradient(115deg,rgba(74,58,31,.018) 0 1px,transparent 1px 18px)!important}
body.page-plan-workspace[data-kb-page-theme="light"] .kb-page-theme-copy>span{color:#8d671c}body.page-plan-workspace[data-kb-page-theme="light"] .kb-page-theme-copy>strong{color:#24352d}body.page-plan-workspace[data-kb-page-theme="light"] .kb-page-theme-switch{border-color:#cdbf9f;background:#fffaf0}body.page-plan-workspace[data-kb-page-theme="light"] .kb-page-theme-switch button{background:transparent;color:#584a35}body.page-plan-workspace[data-kb-page-theme="light"] .kb-page-theme-switch button.is-active{background:#123f35;color:#f8e5aa}
body.page-plan-workspace[data-kb-page-theme="light"] .course-hero{border-color:#cdbb90!important;background:radial-gradient(circle at 84% 3%,rgba(214,176,73,.18),transparent 27%),linear-gradient(140deg,#fffaf0,#f1eadc 58%,#edf3ef)!important;box-shadow:0 24px 66px rgba(73,55,30,.14)!important}
body.page-plan-workspace[data-kb-page-theme="light"] .course-kicker,body.page-plan-workspace[data-kb-page-theme="light"] .course-title em{color:#8e671a!important}body.page-plan-workspace[data-kb-page-theme="light"] .course-title{color:#20392f!important;text-shadow:none!important}body.page-plan-workspace[data-kb-page-theme="light"] .course-sub{color:#544835!important}
body.page-plan-workspace[data-kb-page-theme="light"] .course-simple-steps>span{border-color:#d0c09e!important;background:#fffdf7!important}body.page-plan-workspace[data-kb-page-theme="light"] .course-simple-steps em{color:#33453c!important}body.page-plan-workspace[data-kb-page-theme="light"] .course-simple-steps b{background:#123f35!important;color:#f4dda0!important}
body.page-plan-workspace[data-kb-page-theme="light"] .course-today-progress{border-color:#d2c29f!important;background:#fffdf7!important}body.page-plan-workspace[data-kb-page-theme="light"] .course-ring::before{background:#fffaf0!important}body.page-plan-workspace[data-kb-page-theme="light"] .course-ring strong{color:#27443a!important}body.page-plan-workspace[data-kb-page-theme="light"] .course-ring small{color:#6a5636!important}body.page-plan-workspace[data-kb-page-theme="light"] .course-progress-copy span{color:#66553c!important}body.page-plan-workspace[data-kb-page-theme="light"] .course-progress-copy strong{color:#243c33!important}
body.page-plan-workspace[data-kb-page-theme="light"] .course-quick-nav{border-color:#d0c19f!important;background:#fffaf0!important;box-shadow:0 13px 34px rgba(72,54,30,.12)!important}body.page-plan-workspace[data-kb-page-theme="light"] .course-quick-nav a{border-color:#d2c19d!important;background:#f8f0df!important;color:#31473d!important}body.page-plan-workspace[data-kb-page-theme="light"] .course-quick-nav a:hover,body.page-plan-workspace[data-kb-page-theme="light"] .course-quick-nav a:focus-visible{background:#123f35!important;color:#f4dda0!important;border-color:#123f35!important}
body.page-plan-workspace[data-kb-page-theme="light"] .course-stat{border-color:#d5c39d!important;background:linear-gradient(160deg,#fffdf7,#f4ead8)!important;box-shadow:0 13px 34px rgba(72,54,30,.10)!important}body.page-plan-workspace[data-kb-page-theme="light"] .course-stat span{color:#634f31!important}body.page-plan-workspace[data-kb-page-theme="light"] .course-stat strong{color:#213d33!important}
body.page-plan-workspace[data-kb-page-theme="light"] .course-settings--featured,body.page-plan-workspace[data-kb-page-theme="light"] .course-today-section,body.page-plan-workspace[data-kb-page-theme="light"] .course-calendar-panel,body.page-plan-workspace[data-kb-page-theme="light"] .course-bookmap,body.page-plan-workspace[data-kb-page-theme="light"] .course-review-details{box-shadow:0 18px 50px rgba(68,50,26,.10)!important}
body.page-plan-workspace[data-kb-page-theme="light"] .course-goal-summary{background:#123f35!important;border-color:#315e52!important;color:#f7e3a7!important}
body.page-plan-workspace[data-kb-page-theme="light"] .course-reader-preferences{box-shadow:0 10px 26px rgba(63,46,21,.07)!important}
body.page-plan-workspace[data-kb-page-theme="light"] .course-history-modal{background:rgba(43,38,29,.28)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}

@media(max-width:760px){.kb-page-theme-toolbar{margin-bottom:10px}.kb-page-theme-copy{display:none}.kb-page-theme-switch{width:100%;display:grid;grid-template-columns:1fr 1fr}.kb-page-theme-switch button{justify-content:center;min-height:42px}body.page-plan-workspace[data-kb-page-theme="light"]{background:linear-gradient(160deg,#f5f0e6,#ece5d8 58%,#f6f2eb)!important}}

/* V21 desktop side-panel tool tabs: show every tool without horizontal clipping. */
@media (min-width:1081px){
  .plan-control-panel .plan-tool-tabs{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:.38rem!important;
    overflow:visible!important;
    padding:.12rem 0 .5rem!important;
    scroll-snap-type:none!important;
  }
  .plan-control-panel .plan-tool-tab{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:36px!important;
    padding:0 .38rem!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    font-size:.62rem!important;
    line-height:1.1!important;
  }
}
