/* Li Labib 365 — built on the BibleSlide theme tokens (main.css + site.css). Mobile first. */
.ll-hero { padding: var(--s-7, 3rem) 0 var(--s-6, 2rem); background: radial-gradient(800px 380px at 85% 0%, rgba(91, 140, 255, .2), transparent 60%), radial-gradient(520px 300px at 0% 100%, rgba(244, 180, 0, .12), transparent 60%); }
.ll-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); }
.ll-hero-day h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
.ll-hero-inner > * , .ll-day-head > * { max-width: 820px; }
.ll-sub { color: var(--c-muted, #9aa6c6); }
.ll-credit { margin: 0; color: var(--c-muted, #9aa6c6); font-size: .95rem; }
.ll-credit a { color: var(--c-gold-2, #ffcf4a); text-decoration: none; }
.ll-free { margin: 0; color: var(--c-muted, #9aa6c6); font-size: .92rem; }
.ll-free a { color: var(--c-gold-2, #ffcf4a); margin-left: .4rem; }
.ll-muted { color: var(--c-paper-muted, #5a6478); }
.ll-attrib { margin: 1rem 0 0; color: var(--c-paper-muted, #5a6478); font-size: .88rem; }

/* progress summary */
.ll-progress-head { padding-top: var(--s-5, 1.5rem); }
.ll-progress-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.5rem; align-items: center; }
.ll-big { margin: 0; font: 800 1.5rem var(--f-display, sans-serif); color: var(--c-paper-ink, #0f1a3d); }
.ll-progress-card .ll-muted { margin: 0; }
.ll-bar { height: 12px; border-radius: 99px; background: #e3e8f4; overflow: hidden; }
.ll-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2552c4, #f4b400); }
.ll-bar-dark { max-width: 520px; margin: .5rem 0 1rem; background: rgba(255, 255, 255, .12); }

/* plan list */
.ll-plan { padding: var(--s-6, 2rem) 0 var(--s-8, 4.5rem); }
.ll-tools { display: grid; gap: .8rem; margin-bottom: 1rem; }
.ll-search { width: 100%; min-height: 50px; padding: .6rem 1rem; border-radius: 14px; border: 1.5px solid #d6deef; background: #fff; font: inherit; font-size: 1rem; color: var(--c-paper-ink, #0f1a3d); }
.ll-search:focus { outline: none; border-color: #2552c4; box-shadow: 0 0 0 4px rgba(37, 82, 196, .15); }
.ll-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.ll-chips .chip-light { min-height: 44px; cursor: pointer; font: inherit; font-weight: 600; font-size: .92rem; }
.ll-count { margin: 0; color: var(--c-paper-muted, #5a6478); font-weight: 600; font-size: .9rem; }
.ll-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .6rem; }
.ll-day { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "main state" "links links"; gap: .35rem .75rem; padding: .85rem 1rem; border-radius: 16px; background: #fff; border: 1px solid #e1e7f3; }
.ll-day[hidden] { display: none; }
.ll-day.is-done { border-color: #abefc6; background: #f6fef9; }
.ll-day-main { grid-area: main; display: flex; flex-direction: column; min-height: 44px; justify-content: center; color: var(--c-paper-ink, #0f1a3d) !important; text-decoration: none; }
.ll-day-n { font: 800 .8rem var(--f-body, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: #b98300; }
.ll-day-ref { font-weight: 700; font-size: 1.02rem; }
.ll-day.is-missing .ll-day-ref, .ll-day.is-needs_review .ll-day-ref { color: var(--c-paper-muted, #5a6478); font-weight: 500; font-style: italic; }
.ll-day-state { grid-area: state; align-self: center; font-size: .82rem; font-weight: 700; color: var(--c-paper-muted, #5a6478); white-space: nowrap; }
.ll-day.is-done .ll-day-state { color: #067647; }
.ll-day-links { grid-area: links; display: flex; gap: .5rem; }
.ll-day-links a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .75rem; border-radius: 10px; background: #eef2fa; color: #1e3a8a !important; font-size: .88rem; font-weight: 700; text-decoration: none; }
.ll-day-links a:hover { background: #dfe7fb; }
.ll-empty { margin-top: 1rem; }

/* day page */
.ll-tabs { position: sticky; top: 72px; z-index: 5; display: flex; gap: .5rem; padding: .6rem 0; background: var(--c-paper, #f7f8fc); }
.ll-tabs a { flex: 1; display: grid; place-items: center; min-height: 48px; border-radius: 14px; background: #fff; border: 1px solid #e1e7f3; color: var(--c-paper-ink, #0f1a3d) !important; font-weight: 700; text-decoration: none; }
.ll-grid { display: grid; gap: 1.25rem; padding: .5rem 0 1.5rem; }
.ll-audio h2, .ll-read h2 { font-size: 1.3rem; margin-bottom: .8rem; }
[id="koute"], [id="li"] { scroll-margin-top: 140px; }
.ll-play { display: flex; align-items: center; gap: 1rem; width: 100%; min-height: 76px; padding: .8rem 1rem; border: 0; border-radius: 18px; background: linear-gradient(135deg, #1e3a8a, #0f1a3d); color: #fff; text-align: left; font: inherit; cursor: pointer; }
.ll-play:hover { filter: brightness(1.08); }
.ll-play:focus-visible { outline: 3px solid #f4b400; outline-offset: 3px; }
.ll-play-icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: #f4b400; color: #1a1300; font-size: 1.4rem; }
.ll-play strong { display: block; font-size: 1.1rem; }
.ll-play small { display: block; color: #c9d3ee; font-size: .88rem; }
.ll-note { margin: .6rem 0 1rem; color: var(--c-paper-muted, #5a6478); font-size: .85rem; }
.ll-iframe { display: block; width: 100%; height: 150px; border: 0; border-radius: 14px; margin-bottom: 1rem; background: #fff; }
.ll-read-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.ll-read-head h2 { margin: 0; }
.reading-size { display: flex; gap: .4rem; }
.tool-btn { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-width: 44px; min-height: 44px; padding: 0 .9rem; border-radius: 12px; border: 1px solid #e1e7f3; background: #fff; color: var(--c-paper-ink, #0f1a3d) !important; font: 700 .92rem var(--f-body, sans-serif); text-decoration: none; cursor: pointer; }
.tool-btn:hover { border-color: #2552c4; }
.tool-btn[aria-pressed="true"] { background: #e8efff; border-color: #2552c4; }
.tool-btn:disabled { opacity: .45; cursor: not-allowed; }
.ll-text { --ll-scale: 1; margin-top: 1rem; }
.ll-text h3 { margin: 1.4em 0 .5em; color: #2552c4; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.ll-text h3:first-child { margin-top: .4em; }
.ll-text p { margin: 0; color: var(--c-paper-ink, #0f1a3d); font-size: calc(clamp(1.08rem, 1rem + .4vw, 1.25rem) * var(--ll-scale)); line-height: 1.85; overflow-wrap: break-word; }
.ll-v sup { margin: 0 .2em 0 .35em; color: #b98300; font-size: .62em; font-weight: 800; }
.ll-actions { display: grid; justify-items: center; gap: .5rem; padding: .5rem 0 1rem; text-align: center; }
.ll-complete { min-width: min(100%, 360px); min-height: 56px; background: #fff; border: 2px solid #12b76a; color: #067647; }
.ll-complete.is-done { background: #12b76a; color: #fff; }
.ll-complete:disabled { opacity: .6; }
.ll-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; padding-bottom: 1rem; }
.ll-nav-btn { display: grid; place-items: center; min-height: 56px; border-radius: 16px; background: #fff; border: 1px solid #e1e7f3; color: var(--c-paper-ink, #0f1a3d) !important; font-weight: 800; text-decoration: none; }
.ll-nav-btn:hover { border-color: #2552c4; }
.ll-next { grid-column: 2; }
.ll-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; padding-bottom: var(--s-8, 4.5rem); }
.ll-share { display: flex; flex-wrap: wrap; gap: .4rem; }
.ll-import { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 1rem auto; }
.ll-import p { flex: 1 1 280px; margin: 0; font-weight: 600; }

/* progress page */
.ll-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-top: var(--s-6, 2rem); }
.ll-stats .light-card { text-align: center; color: var(--c-paper-muted, #5a6478); font-weight: 600; }
.ll-stat { display: block; font: 800 2.2rem var(--f-display, sans-serif); color: var(--c-paper-ink, #0f1a3d); }
.ll-stat-sm { font-size: 1.1rem; margin: .7rem 0; }
.ll-section { padding-top: var(--s-6, 2rem); }
.ll-section:last-child { padding-bottom: var(--s-8, 4.5rem); }
.ll-milestones { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.ll-milestones li { padding: .6rem 1rem; border-radius: 999px; background: #fff; border: 1px solid #e1e7f3; color: var(--c-paper-muted, #5a6478); font-weight: 600; }
.ll-milestones li.is-reached { background: #fff7e0; border-color: #f4b400; color: #1a1300; }
.ll-recent { padding-left: 1.2rem; }
.ll-recent li { margin: .3rem 0; }
.ll-daychips { display: flex; flex-wrap: wrap; gap: .35rem; }
.ll-daychips a { display: inline-grid; place-items: center; min-width: 44px; min-height: 40px; padding: 0 .5rem; border-radius: 10px; background: #effaf4; color: #067647 !important; font-weight: 700; text-decoration: none; }
.ll-daychips-todo a { background: #fff; border: 1px solid #e1e7f3; color: var(--c-paper-ink, #0f1a3d) !important; }

/* home page section (dark theme) */
.ll-home-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); border-radius: 24px; background: linear-gradient(135deg, rgba(30, 58, 138, .55), rgba(15, 26, 61, .9)); border: 1px solid rgba(255, 255, 255, .08); }
.ll-home h2 { margin: 0 0 .4rem; }
.ll-home .lead { margin: 0; }
.ll-home-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: rgba(244, 180, 0, .15); color: #f4b400; }
.ll-home-icon svg { width: 36px; height: 36px; }

@media (min-width: 1000px) {
  .ll-grid { grid-template-columns: minmax(300px, .8fr) 1.2fr; align-items: start; }
  .ll-audio { position: sticky; top: 150px; }
  .ll-tabs { display: none; }
  [id="koute"], [id="li"] { scroll-margin-top: 90px; }
}
@media (max-width: 760px) {
  .ll-progress-card { grid-template-columns: 1fr; }
  .ll-home-inner { grid-template-columns: 1fr; text-align: left; }
  .ll-stats { grid-template-columns: 1fr; }
  .ll-days { grid-template-columns: 1fr; }
}
@media (max-width: 1140px) { .ll-tabs { top: 72px; } }
@media print { .ll-tabs, .ll-audio, .ll-actions, .ll-nav, .ll-foot, .site-header, .site-footer { display: none !important; } }
