:root{--bg:#f5f7f6;--surface:#fff;--text:#192d28;--muted:#687d75;--line:#e2e9e5;--green:#245c49;--green-soft:#e8f2ec;--reading-size:22px;--shadow:0 3px 20px #152d2010;font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;color:var(--text);background:var(--bg);font-size:16px;line-height:1.6}
:root[data-theme=dark]{--bg:#121c19;--surface:#1b2924;--text:#e2eae5;--muted:#a5b8ad;--line:#33443a;--green:#8dd5ad;--green-soft:#2a4536;--shadow:none;color-scheme:dark}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #79b990;outline-offset:3px}a{color:var(--green)}button{border:0}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1.2px;line-height:1.4;margin-bottom:12px}h2{font-size:20px;line-height:1.5;letter-spacing:-.5px}p{margin-bottom:16px}svg{width:22px;height:22px;flex-shrink:0}small{font-size:14px;color:var(--muted)}.muted{color:var(--muted)}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;color:var(--green);display:block;margin-bottom:14px}.primary,.secondary,.cream{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 20px;border-radius:10px;font-weight:650;font-size:15px;transition:filter .15s}.primary{background:var(--green);color:var(--surface)}.primary:hover,.cream:hover{filter:brightness(1.1)}.secondary{border:1px solid var(--line);background:var(--surface);color:var(--text)}.secondary:hover{background:var(--green-soft)}.cream{background:#f0ead9;color:#204637}.text{padding:0;background:none;color:var(--green);font-weight:650}.full{width:100%}.icon-button{width:40px;height:40px;border-radius:10px;background:none;color:var(--muted);display:inline-flex;align-items:center;justify-content:center}.icon-button:hover{background:var(--green-soft)}.card{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:28px;box-shadow:var(--shadow)}label{display:block;font-size:14px;font-weight:600}input,select{width:100%;display:block;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);min-height:46px;margin-top:7px}select{appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8b81' stroke-width='2'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}input[type=checkbox]{width:18px;min-height:18px;margin:0;accent-color:var(--green)}.loading{padding:60px;text-align:center;color:var(--muted)}.wordmark{font-size:26px;color:var(--green);font-weight:750;letter-spacing:-1px;display:flex;align-items:center;gap:10px;text-decoration:none}.wordmark svg{width:30px;height:30px}.sidebar{width:244px;padding:38px 24px 22px;background:var(--surface);border-right:1px solid var(--line);position:fixed;height:100dvh;display:flex;flex-direction:column}.brand-sub{font-size:12px;color:var(--muted);margin:8px 0 40px 39px}.nav-item{display:flex;width:100%;align-items:center;gap:12px;padding:14px 16px;margin-bottom:9px;background:none;border-radius:10px;color:var(--muted);font-size:15px;text-align:left}.nav-item.active{background:var(--green-soft);color:var(--green);font-weight:700}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:24px;display:flex;align-items:center;gap:10px}.sidebar-bottom .icon-button{margin-left:auto}.sidebar-bottom strong{display:block;font-size:14px}.sidebar-bottom small{display:block;font-size:12px}.avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:var(--green-soft);color:var(--green);font-weight:600}.main-wrap{margin-left:244px}.topbar{height:82px;padding:0 46px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--surface)}.desktop-date{font-size:14px;color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:18px}.round-pill{font-size:13px;background:var(--green-soft);color:var(--green);padding:6px 13px;border-radius:20px;font-weight:650}#content{max-width:1280px;margin:auto;padding:40px 46px}.page-heading{margin-bottom:26px}.page-heading .eyebrow{margin-bottom:10px}.page-heading p{margin-bottom:0}.compact{margin-bottom:22px}.hero{background:#183f36;border-radius:18px;padding:36px 40px;display:flex;justify-content:space-between;overflow:hidden;min-height:270px;color:#fff;position:relative;margin-bottom:24px}.hero-copy{z-index:1}.hero-tag{font-size:13px;color:#bdcfba;letter-spacing:.5px}.hero h2{font-size:30px;line-height:1.5;font-weight:550;margin:12px 0}.hero p{font-size:14px;color:#c0cfc4;margin-bottom:24px}.hero-visual{position:relative;width:210px;display:flex;align-items:center;justify-content:center;flex-direction:column;margin-left:20px}.hero-visual svg{width:128px;height:128px;color:#e3dabb;stroke-width:.8;transform:rotate(-7deg);z-index:1}.hero-visual>span{color:#c1cfbd;font-size:13px;letter-spacing:8px;margin-top:18px}.book-halo{position:absolute;width:270px;height:270px;border:1px solid #ffffff13;border-radius:50%;background:radial-gradient(circle,#91aa8f22,transparent 70%)}.book-halo:after{content:'';position:absolute;inset:25px;border:1px solid #ffffff15;border-radius:50%}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:26px}.stat{background:var(--surface);border:1px solid var(--line);padding:24px;border-radius:14px}.stat>span{font-size:14px;color:var(--muted)}.stat>strong{display:block;font-size:32px;line-height:1.5;font-weight:650;margin:7px 0;color:var(--green)}.stat strong small{font-weight:400;font-size:14px;margin-left:4px}.stat p{font-size:13px;color:var(--muted);margin:0}.home-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:22px;margin-top:24px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.section-head h2{margin:0}.badge{font-size:12px;padding:5px 10px;border-radius:7px;background:var(--bg);color:var(--muted);white-space:nowrap}.badge.done{color:var(--green);background:var(--green-soft)}.progress-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:12px}.progress-head strong{font-size:38px;line-height:1.3;color:var(--green)}.progress-head small{font-size:18px;margin-left:2px}.progress-head>span{font-size:13px;color:var(--muted)}.progress-track{background:var(--green-soft);height:9px;border-radius:10px;overflow:hidden}.progress-track>span{height:100%;display:block;border-radius:10px;background:var(--green);transition:width .25s}.testament-stats{display:grid;grid-template-columns:1fr 1fr;padding:24px 0}.testament-stats>div{display:flex;flex-direction:column;gap:5px}.testament-stats>div+div{padding-left:22px;border-left:1px solid var(--line)}.testament-stats span{font-size:13px;color:var(--muted)}.testament-stats strong{font-size:20px}.testament-stats small{font-weight:400}.goal-card{display:flex;flex-direction:column;align-items:flex-start}.small-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--green-soft);color:var(--green);margin-bottom:18px}.goal-card h2{font-size:19px}.goal-card p{font-size:14px}.goal-card .text{margin-top:auto}.goal-summary{font-size:13px;color:var(--green)}.site-footer{text-align:center;font-size:12px;color:var(--muted);line-height:1.9;padding:24px 20px 36px}.site-footer a{color:inherit}.mobile-nav,.mobile-title,.mobile-only{display:none}.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh;background:var(--surface)}.auth-art{background:#183f36;color:#fff;display:flex;flex-direction:column;padding:52px 60px;position:relative;overflow:hidden}.auth-art .wordmark{color:#eee9d5}.auth-message{margin:auto 0;padding:60px 0}.auth-message .eyebrow{color:#a7bea8;font-size:11px}.auth-message h1{font-size:42px;line-height:1.55;letter-spacing:-1.6px}.auth-message p{color:#b9cdbf;font-size:16px}.art-book{position:absolute;bottom:10%;right:8%;transform:rotate(-13deg);opacity:.08}.art-book svg{width:300px;height:300px}.art-footer{font-size:13px;color:#a9beb0;margin:0}.auth-form{max-width:460px;width:100%;align-self:center;justify-self:center;padding:60px 36px}.auth-form h2{font-size:28px;margin-bottom:10px}.auth-form>.muted{font-size:15px;margin-bottom:32px}.auth-form label{margin-bottom:20px}.auth-form input{padding:14px}.form-error{color:#b74635;font-size:14px;min-height:22px}.switch-auth{text-align:center;margin-top:22px;font-size:14px}.switch-auth button{margin-left:8px}.auth-note{border-top:1px solid var(--line);font-size:13px;color:var(--muted);padding-top:22px;margin-top:36px}.mobile-brand{display:none}.reader-controls{padding:20px 24px;margin-bottom:24px}.jump{display:grid;grid-template-columns:2.2fr 1fr .8fr auto;gap:12px;align-items:end}.jump input,.jump select{margin-top:5px}.reading-tools{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.switch{display:flex;align-items:center;gap:8px;color:var(--green)}.font-tools{display:flex;gap:8px}.font-tools button{padding:7px 12px;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:7px;font-size:14px}.chapter{max-width:900px;margin:auto;padding:44px 54px}.chapter-heading{text-align:center;padding:12px 0 32px;border-bottom:1px solid var(--line);margin-bottom:32px}.chapter-heading h2{font-size:32px;font-weight:650;margin:8px 0 15px}.chapter-heading h2 span{font-weight:400}.chapter-heading .eyebrow{letter-spacing:1px}.verses{font-family:"Apple SD Gothic Neo","Noto Serif KR",serif}.verses p{display:flex;gap:16px;font-size:var(--reading-size);line-height:2.05;margin:0 0 15px;padding:3px 5px;border-radius:5px;scroll-margin-top:60px;word-break:keep-all;overflow-wrap:anywhere}.verse-number{font:12px/3 system-ui;min-width:22px;color:var(--muted)}.verses p.highlight{background:var(--green-soft)}.chapter-end{margin-top:40px;text-align:center}.end-rule{display:block;width:36px;height:2px;background:var(--line);margin:20px auto}.chapter-end>p{font-size:14px;color:var(--muted);margin-bottom:24px}.chapter-nav{display:flex;justify-content:space-between;gap:15px;margin-top:14px}.chapter-nav button{flex:1}.chapter-end .hint{font-size:12px;margin:16px 0 0}.chart-summary{margin-bottom:22px}.chart-summary .section-head{margin-bottom:16px}.chart-summary .section-head>strong{font-size:14px;color:var(--green)}.chart-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:24px}.tabs{display:flex;gap:5px;background:var(--bg);padding:4px;border-radius:10px}.tabs button{background:none;padding:9px 13px;border-radius:7px;color:var(--muted);font-size:14px}.tabs button.selected{background:var(--surface);box-shadow:0 1px 5px #0001;color:var(--green);font-weight:650}.round-select{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;white-space:nowrap}.round-select select{width:auto;margin:0;padding-top:8px;padding-bottom:8px;font-size:14px;min-height:38px}.goal-settings{display:grid;grid-template-columns:1fr 1.4fr;gap:30px;margin-bottom:32px}.goal-settings h2{margin-bottom:8px}.goal-settings p{font-size:13px;margin:0}.goal-settings .eyebrow{font-size:11px;margin-bottom:8px}.goal-settings form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}.goal-settings input{font-size:14px;padding:10px;min-width:0}.goal-settings form p{grid-column:1/-1;margin-top:6px}.goal-settings button{padding:11px 15px;white-space:nowrap}.testament-heading{display:flex;align-items:baseline;gap:12px;padding:14px 0}.testament-heading h2{font-size:20px;margin:0}.testament-heading>span{font-size:13px;color:var(--muted)}.testament{margin-bottom:28px}.book-row{display:flex;gap:20px;padding:20px 24px;background:var(--surface);border:1px solid var(--line);border-bottom:0}.book-row:nth-child(2){border-radius:12px 12px 0 0}.book-row:last-child{border-bottom:1px solid var(--line);border-radius:0 0 12px 12px}.book-label{width:110px;flex-shrink:0;padding-top:3px}.book-link{padding:0;background:none;color:var(--text);font-weight:650;text-align:left;font-size:15px}.book-link:hover{color:var(--green);text-decoration:underline}.book-label small{display:block;font-size:12px;margin-top:5px}.chapter-grid{display:flex;flex-wrap:wrap;gap:7px}.chapter-cell{position:relative;width:35px;height:35px;cursor:pointer;display:grid;place-items:center;border-radius:6px;border:1px solid var(--line);background:var(--bg);font-size:13px;font-weight:400;color:var(--muted)}.chapter-cell.checked{background:var(--green);border-color:var(--green);color:var(--surface);font-weight:650}.chapter-cell input{opacity:0;position:absolute;width:100%;height:100%;cursor:pointer}.chapter-cell:has(input:focus-visible){outline:3px solid #79b990;outline-offset:3px}.chapter-cell:has(input:disabled){cursor:default}.chapter-cell input:disabled{cursor:default;opacity:0}.history>div{display:flex;align-items:center;gap:16px;padding:20px 0;border-top:1px solid var(--line)}.history>div:first-child{border-top:0}.history p{font-size:13px;color:var(--muted);margin:3px 0 0}.history .secondary{margin-left:auto;font-size:13px}.history-icon{width:42px;height:42px;display:grid;place-items:center;background:var(--green-soft);color:var(--green);border-radius:50%}#password-form label{margin:16px 0}#password-form p{font-size:13px;margin:14px 0 0}.search{display:flex;gap:10px;margin-bottom:24px}.search input{margin:0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left;white-space:nowrap}th{font-size:13px;font-weight:500;color:var(--muted);background:var(--bg)}td,th{padding:16px 12px;border-bottom:1px solid var(--line)}td small{display:block;font-size:12px}.pagination{display:flex;justify-content:center;align-items:center;gap:15px;margin-top:24px;font-size:13px}.empty{text-align:center;padding:30px;color:var(--muted)}.error-panel p{color:#b74635}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);background:#1e392e;color:#fff;border:1px solid #ffffff30;padding:14px 24px;border-radius:12px;box-shadow:0 5px 35px #0002;max-width:90vw;width:max-content;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;font-size:14px}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1550px){#content{padding-top:50px}.hero{min-height:300px;padding:40px 48px}.hero h2{font-size:34px}}
@media(max-width:1150px){.sidebar{width:208px;padding:30px 18px}.main-wrap{margin-left:208px}.topbar{padding:0 28px}#content{padding:30px 28px}.hero{padding:30px}.hero h2{font-size:26px}.hero-visual{width:130px}.hero-visual svg{width:105px;height:105px}.home-grid{grid-template-columns:1fr 1fr}.card{padding:22px}.stat{padding:18px}.stat>strong{font-size:28px}.goal-settings{grid-template-columns:1fr}.goal-settings form{grid-template-columns:1fr 1fr auto}.auth-art{padding:40px}.auth-message h1{font-size:34px}.chapter{padding:35px}}
@media(max-width:800px){h1{font-size:26px}.sidebar{display:none}.main-wrap{margin:0}.topbar{height:65px;padding:0 20px}.desktop-date{display:none}.mobile-title{display:flex;align-items:center;gap:8px;font-weight:750;font-size:21px;color:var(--green)}.topbar-right{gap:7px}.round-pill{font-size:11px;padding:5px 9px}#content{padding:27px 18px}.page-heading{margin-bottom:24px}.page-heading .eyebrow{font-size:10px}.page-heading p{font-size:14px}.mobile-only{display:initial}.hero{min-height:250px;padding:27px}.hero h2{font-size:25px}.hero-visual{width:90px;margin-left:0}.hero-visual svg{width:84px;height:84px}.hero-visual>span{font-size:11px;letter-spacing:3px}.book-halo{width:160px;height:160px}.hero .cream{font-size:13px;padding:10px 14px}.stats{gap:9px;margin-bottom:20px}.stat{padding:16px 12px}.stat>span{font-size:12px;min-height:38px;display:block}.stat>strong{font-size:25px;line-height:1.4;margin:4px 0}.stat strong small{display:block;font-size:11px;margin:2px 0}.stat p{font-size:11px}.home-grid{grid-template-columns:1fr;gap:18px;margin-top:18px}.card{padding:23px}.section-head{margin-bottom:20px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;width:100%;padding:8px 6px calc(8px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);z-index:20;justify-content:space-around}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;background:none;color:var(--muted);padding:4px 10px;font-size:11px}.mobile-nav button.active{color:var(--green);font-weight:750}.mobile-nav svg{width:21px;height:21px}.site-footer{padding-bottom:110px}.reader-controls{padding:16px}.jump{grid-template-columns:1.6fr .9fr .7fr auto;gap:8px}.jump label{font-size:12px}.jump select,.jump input{padding:10px 8px;font-size:14px;min-height:42px}.jump select{padding-right:25px;background-position:right 6px center}.jump .primary{font-size:13px;padding:10px 12px;min-height:42px}.chapter{padding:24px 20px}.chapter-heading{padding-top:10px;margin-bottom:25px}.chapter-heading h2{font-size:29px}.verses p{gap:10px;line-height:1.95}.verse-number{min-width:18px}.reading-tools{margin-top:15px;padding-top:13px}.reading-tools label{font-size:13px}.chart-summary{padding:18px}.chart-summary .section-head{align-items:flex-start;flex-direction:column;gap:7px}.chart-summary .section-head h2{font-size:18px}.chart-toolbar{flex-direction:column;align-items:stretch;gap:15px}.tabs{justify-content:space-between}.tabs button{flex:1;padding:9px;font-size:13px}.round-select{justify-content:space-between}.goal-settings{padding:20px;gap:18px}.goal-settings form{grid-template-columns:1fr 1fr}.goal-settings form button{grid-column:1/-1}.goal-settings input{font-size:13px}.book-row{padding:17px 15px;gap:12px}.book-label{width:80px}.book-link{font-size:14px}.chapter-grid{gap:6px}.chapter-cell{width:32px;height:32px;font-size:12px}.testament-heading{padding-left:3px}.history>div{gap:10px}.history .secondary{padding:9px 12px;font-size:12px}.history strong{font-size:15px}.history p{font-size:11px}.history-icon{width:32px;height:32px;flex-shrink:0}.history-icon svg{width:18px;height:18px}.auth-layout{display:block}.auth-art{display:none}.auth-form{max-width:440px;padding:45px 28px;margin:auto}.mobile-brand{display:flex;align-items:center;gap:9px;font-size:27px;font-weight:750;color:var(--green);margin-bottom:65px}.mobile-brand svg{width:30px;height:30px}.auth-form h2{font-size:26px}#toast{bottom:100px;padding:13px 18px;font-size:13px}.table-wrap{margin:0 -10px}.pagination{gap:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.audio-panel{margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}.audio-title{display:flex;align-items:center;gap:10px;margin-bottom:14px}.audio-title>strong{font-size:16px}.audio-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.audio-controls label{font-size:12px;min-width:90px}.audio-controls select{font-size:14px;padding-top:10px;padding-bottom:10px;margin-top:4px;max-width:260px}.audio-controls .audio-voice-label{flex:1;min-width:160px}.audio-controls button{min-width:90px}.audio-panel #audio-status{font-size:14px;color:var(--green);margin:14px 0 6px}.audio-panel .audio-help{font-size:12px;color:var(--muted);margin:0}.verses p.audio-current{background:var(--green-soft);box-shadow:inset 3px 0 var(--green)}
@media(max-width:800px){.audio-controls{gap:8px}.audio-controls button{flex:1;min-width:90px}.audio-controls label{flex:1}.audio-controls .audio-voice-label{flex-basis:100%}.audio-controls select{max-width:none}.audio-panel{padding-top:16px;margin-top:16px}}
