:root{color:#172033;background:#f7f9fc;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--blue: #2563eb;--blue-dark: #1649b7;--blue-pale: #eef4ff;--ink: #172033;--muted: #657189;--line: #dfe5ef;--surface: #ffffff;--page: #f7f9fc;--green: #0f9f6e;--purple: #7c3aed;--orange: #e87919}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--page);color:var(--ink)}button,input,textarea{font:inherit}button{color:inherit}.eyebrow,.section-label{margin:0;color:var(--blue);font-size:.72rem;font-weight:800;letter-spacing:.1em}.logo{display:inline-flex;align-items:center;gap:.72rem;color:var(--ink)}.logo>b{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:var(--blue);color:#fff;font-size:1.05rem}.logo>span{display:grid;font-size:.72rem;font-weight:850;letter-spacing:.06em;line-height:1.15}.logo small{color:var(--muted);font-size:.56rem;letter-spacing:.11em}.primary{min-height:48px;padding:0 1.4rem;border:0;border-radius:10px;background:var(--blue);color:#fff;cursor:pointer;font-weight:750;transition:background .16s ease,transform .16s ease}.primary:hover{background:var(--blue-dark);transform:translateY(-1px)}.primary:disabled{cursor:wait;opacity:.65}.loading-page{display:grid;min-height:100vh;place-content:center;justify-items:center;gap:1.2rem}.loading-page p{color:var(--muted);font-size:.8rem}.login-page{display:grid;min-height:100vh;grid-template-columns:minmax(0,1.05fr) minmax(420px,.75fr);background:var(--surface)}.login-brand{display:flex;min-height:100vh;flex-direction:column;justify-content:space-between;padding:clamp(2rem,5vw,4.5rem);background:radial-gradient(circle at 88% 20%,rgb(37 99 235 / 10%),transparent 36%),linear-gradient(145deg,#f4f8ff,#eef4ff 52%,#f7f9fc);border-right:1px solid var(--line)}.login-brand>div:nth-child(2){max-width:720px}.login-brand h1{margin:1rem 0 1.6rem;font-size:clamp(3.2rem,6.8vw,6.4rem);letter-spacing:-.07em;line-height:1.04}.login-brand>div:nth-child(2)>p:last-child{max-width:620px;margin:0;color:var(--muted);font-size:1.05rem;font-weight:600;line-height:2}.login-facts{display:flex;flex-wrap:wrap;gap:.75rem}.login-facts span{padding:.65rem .9rem;border:1px solid #cbd9f5;border-radius:999px;background:#ffffffb8;color:#365174;font-size:.72rem;font-weight:750}.login-form-wrap{display:grid;place-items:center;padding:2rem}.login-form{display:grid;width:min(100%,410px);gap:1.25rem}.login-form h2{margin:-.45rem 0 .6rem;font-size:2rem;letter-spacing:-.04em}.login-form label,.login-field{display:grid;gap:.55rem;font-size:.78rem;font-weight:750}.login-form input{min-height:50px;padding:.8rem 1rem;border:1px solid var(--line);border-radius:9px;outline:none;background:#fff}.login-form input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb1f}.password-field{position:relative;display:block}.password-field input{width:100%;padding-right:4.5rem}.password-field button{position:absolute;top:50%;right:.75rem;min-width:3rem;padding:.35rem .45rem;transform:translateY(-50%);border:0;border-radius:6px;background:var(--blue-pale);color:var(--blue-dark);cursor:pointer;font-size:.7rem;font-weight:750}.form-message{margin:0;padding:.8rem 1rem;border-radius:8px;background:#ecfdf5;color:#087a56;font-size:.78rem;line-height:1.7}.form-message.error{background:#fff1f2;color:#bd233a}.login-links{display:flex;justify-content:space-between}.login-links button{padding:0;border:0;background:transparent;color:var(--blue);cursor:pointer;font-size:.72rem;font-weight:700}.app{display:grid;min-height:100vh;grid-template-columns:248px minmax(0,1fr)}.sidebar{position:sticky;top:0;display:flex;height:100vh;flex-direction:column;padding:1.4rem 1rem;border-right:1px solid var(--line);background:var(--surface)}.logo-button{padding:.5rem;border:0;background:transparent;cursor:pointer;text-align:left}.sidebar nav{display:grid;gap:.2rem;margin-top:2.2rem}.sidebar nav p{margin:1.2rem 0 .35rem;padding:0 .72rem;color:#9aa4b5;font-size:.62rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.sidebar nav button{min-height:40px;padding:0 .75rem;border:0;border-radius:8px;background:transparent;cursor:pointer;font-size:.78rem;font-weight:650;text-align:left}.sidebar nav button:hover,.sidebar nav button.active{background:var(--blue-pale);color:var(--blue)}.sidebar-bottom{display:grid;gap:1rem;margin-top:auto}.mini-progress{padding:.9rem;border:1px solid var(--line);border-radius:10px;background:var(--page)}.mini-progress>span{display:flex;justify-content:space-between;font-size:.7rem}.mini-progress>div,.status-card>div,.category-card>div{height:6px;margin:.65rem 0 .45rem;overflow:hidden;border-radius:999px;background:#e7ebf2}.mini-progress i,.status-card i,.category-card i{display:block;height:100%;border-radius:inherit;background:var(--blue)}.mini-progress small{color:var(--muted);font-size:.62rem}.user-row{display:grid;gap:.2rem;padding:0 .4rem}.user-row>span{font-size:.7rem;font-weight:750}.user-row small{overflow:hidden;color:var(--muted);font-size:.62rem;text-overflow:ellipsis}.user-row button{width:max-content;margin-top:.45rem;padding:0;border:0;background:transparent;color:var(--blue);cursor:pointer;font-size:.64rem}.main{min-width:0}.page{width:min(100%,1180px);margin:0 auto;padding:clamp(2rem,5vw,4.5rem) clamp(1.25rem,4vw,3.5rem) 6rem}.toast{position:fixed;z-index:20;top:1.2rem;right:1.2rem;max-width:420px;padding:.85rem 1rem;border:1px solid #9ad7c1;border-radius:9px;background:#ecfdf5;color:#087a56;cursor:pointer;font-size:.75rem;box-shadow:0 10px 30px #1720331a}.toast.error{border-color:#f4b4be;background:#fff1f2;color:#bd233a}.page-header{display:grid;align-items:end;grid-template-columns:minmax(0,1fr) 260px;gap:4rem;padding:2rem 0 3.5rem}.page-header h1{margin:.8rem 0 1.2rem;font-size:clamp(3rem,6vw,5.8rem);letter-spacing:-.07em;line-height:1.06}.header-copy{max-width:680px;margin:0;color:var(--muted);font-size:1rem;font-weight:600;line-height:2}.status-card{padding:1.4rem;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 8px 30px #1432640f}.status-card>span{color:var(--muted);font-size:.7rem}.status-card strong{display:block;margin-top:.25rem;font-size:2.8rem;letter-spacing:-.06em}.status-card small{color:var(--muted);font-size:.64rem}.continue-panel{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:1.7rem 1.9rem;border:1px solid #cbd9f5;border-radius:14px;background:linear-gradient(125deg,#edf4ff,#f7faff)}.continue-panel .badge{display:inline-block;padding:.28rem .55rem;border-radius:999px;background:var(--blue);color:#fff;font-size:.6rem;font-weight:800}.continue-panel p{margin:.75rem 0 .25rem;color:var(--blue);font-size:.65rem;font-weight:750}.continue-panel h2{margin:0 0 .35rem;font-size:1.45rem;letter-spacing:-.03em}.continue-panel small{color:var(--muted);line-height:1.7}.section-title{display:flex;align-items:end;justify-content:space-between;gap:2rem;margin:4.5rem 0 1.4rem}.section-title h2{margin:.35rem 0 0;font-size:2rem;letter-spacing:-.04em}.section-title>p{max-width:480px;margin:0;color:var(--muted);font-size:.75rem;line-height:1.8;text-align:right}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.category-card{display:flex;min-height:210px;flex-direction:column;padding:1.3rem;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;text-align:left;transition:transform .16s ease,box-shadow .16s ease}.category-card:hover{box-shadow:0 12px 28px #17203317;transform:translateY(-3px)}.category-card>span{width:max-content;padding:.3rem .55rem;border-radius:6px;background:var(--blue-pale);color:var(--blue);font-size:.62rem;font-weight:800}.category-card.green>span{background:#e9fbf4;color:var(--green)}.category-card.purple>span{background:#f3edff;color:var(--purple)}.category-card.orange>span{background:#fff3e7;color:var(--orange)}.category-card h3{margin:1rem 0 .65rem;font-size:1.08rem;line-height:1.5}.category-card p{margin:0;color:var(--muted);font-size:.68rem}.category-card>div{margin-top:auto}.category-card small{color:var(--muted);font-size:.6rem}.chapter-cards{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}.chapter-cards>button{display:grid;width:100%;min-height:118px;align-items:center;grid-template-columns:54px 1fr auto 28px;gap:1.2rem;padding:1.2rem 1.5rem;border:0;border-bottom:1px solid var(--line);background:#fff;cursor:pointer;text-align:left}.chapter-cards>button:last-child{border-bottom:0}.chapter-cards>button:hover{background:#fafcff}.chapter-cards>button>span{color:#b0bbcc;font-size:1.6rem;font-weight:850}.chapter-cards small{color:var(--blue);font-size:.62rem;font-weight:750}.chapter-cards h3{margin:.22rem 0 .4rem;font-size:1.05rem}.chapter-cards p{margin:0;color:var(--muted);font-size:.72rem;line-height:1.7}.chapter-cards em{color:var(--muted);font-size:.65rem;font-style:normal}.course-tabs{display:flex;gap:.4rem;padding-bottom:1.3rem;border-bottom:1px solid var(--line)}.course-tabs button{padding:.5rem .8rem;border:0;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;font-size:.68rem;font-weight:750}.course-tabs button.active{background:var(--blue-pale);color:var(--blue)}.chapter-header{padding:4rem 0 3rem}.chapter-header h1{max-width:840px;margin:.7rem 0 1.1rem;font-size:clamp(2.8rem,5.4vw,5rem);letter-spacing:-.06em;line-height:1.12}.chapter-header>p:not(.eyebrow){max-width:700px;margin:0;color:var(--muted);font-size:.98rem;line-height:2}.outcome{display:flex;max-width:760px;gap:1.2rem;margin:2rem 0 1rem;padding:1rem 1.2rem;border-radius:10px;background:var(--blue-pale);font-size:.78rem;line-height:1.8}.outcome b{flex:0 0 auto;color:var(--blue)}.chapter-header>small{color:var(--muted);font-size:.68rem}.guide-list{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}.guide-list>button{display:grid;width:100%;align-items:center;grid-template-columns:46px 1fr 30px;gap:1.2rem;padding:1.4rem 1.5rem;border:0;border-bottom:1px solid var(--line);background:#fff;cursor:pointer;text-align:left}.guide-list>button:last-child{border-bottom:0}.guide-list>button:hover{background:#fafcff}.guide-list>button>span{display:grid;width:34px;height:34px;place-items:center;border:1px solid var(--line);border-radius:50%;color:var(--muted);font-size:.72rem;font-weight:800}.guide-list>button>span.done{border-color:#9ad7c1;background:#e9fbf4;color:var(--green)}.guide-list small{color:var(--blue);font-size:.6rem;font-weight:800}.guide-list h2{margin:.28rem 0 .4rem;font-size:1.05rem}.guide-list p{margin:0;color:var(--muted);font-size:.72rem;line-height:1.7}.lesson-page{width:min(100%,1120px)}.back-link{padding:0;border:0;background:transparent;color:var(--blue);cursor:pointer;font-size:.72rem;font-weight:750}.lesson-header{max-width:860px;padding:3.5rem 0 2.4rem;border-bottom:1px solid var(--line)}.lesson-header h1{margin:.75rem 0 1.1rem;font-size:clamp(2.4rem,4.1vw,3.8rem);letter-spacing:-.06em;line-height:1.15}.lesson-header>p:not(.eyebrow){max-width:700px;margin:0;color:var(--muted);font-size:1rem;line-height:2}.lesson-actions{display:flex;align-items:center;gap:1rem;margin-top:1.5rem}.lesson-actions button{padding:.5rem .75rem;border:1px solid var(--line);border-radius:7px;background:#fff;cursor:pointer;font-size:.68rem;font-weight:750}.lesson-actions span{color:var(--muted);font-size:.62rem}.lesson-content{display:grid;grid-template-columns:minmax(0,760px) 220px;gap:4.5rem}.lesson-main{min-width:0}.lesson-main>section{padding:4rem 0;border-bottom:1px solid var(--line)}.lesson-main h2{margin:.55rem 0 1.6rem;font-size:1.8rem;letter-spacing:-.04em}.lesson-main>section>p:not(.section-label){margin:0 0 1.4rem;color:#344057;font-size:.94rem;line-height:2.15}.goal-box{margin-bottom:1.8rem;padding:1rem 1.2rem;border-left:4px solid var(--blue);border-radius:0 8px 8px 0;background:var(--blue-pale);color:#27466f;font-size:.9rem;font-weight:700;line-height:1.9}.step-list{display:grid;gap:0;margin:0;padding:0;list-style:none}.step-list li{display:grid;grid-template-columns:42px 1fr;gap:1rem;padding:1.4rem 0;border-bottom:1px solid var(--line)}.step-list li:first-child{border-top:1px solid var(--line)}.step-list li>span{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;background:var(--blue);color:#fff;font-size:.72rem;font-weight:850}.step-list h3{margin:0 0 .4rem;font-size:.96rem}.step-list p{margin:0;color:var(--muted);font-size:.8rem;line-height:1.9}.prompt-box{overflow:hidden;margin-top:1.5rem;border:1px solid #c9d6ec;border-radius:12px;background:#f7faff}.prompt-box>div{display:flex;align-items:center;justify-content:space-between;padding:.8rem 1rem;border-bottom:1px solid #c9d6ec;background:#edf4ff}.prompt-box>div span{color:#53709b;font-size:.6rem;font-weight:850;letter-spacing:.08em}.prompt-box button{padding:.48rem .72rem;border:0;border-radius:7px;background:var(--blue);color:#fff;cursor:pointer;font-size:.66rem;font-weight:750}.prompt-box pre{overflow-x:auto;margin:0;padding:1.35rem;color:#24334d;font-family:SFMono-Regular,Consolas,monospace;font-size:.78rem;line-height:1.9;white-space:pre-wrap}.caution{display:grid;margin:3rem 0 0;padding:1.2rem;grid-template-columns:70px 1fr;border:1px solid #f3c898;border-radius:10px;background:#fff8ee}.caution b{color:#b45d0b;font-size:.72rem}.caution p{margin:0;color:#70502e;font-size:.82rem;line-height:1.9}.done-list{display:grid;gap:.7rem;margin:0;padding:0;list-style:none}.done-list li{padding:.9rem 1rem;border:1px solid #c6e7da;border-radius:8px;background:#f1fbf7;color:#176b50;font-size:.8rem;line-height:1.7}.source-list{display:grid;gap:.7rem}.source-list a{display:grid;align-items:center;grid-template-columns:1fr auto;gap:.35rem 1rem;padding:1rem;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);text-decoration:none}.source-list a:hover{border-color:#abc2ea}.source-list span{font-size:.78rem;font-weight:750}.source-list small{color:var(--muted);font-size:.66rem}.source-list b{grid-column:2;grid-row:1 / span 2;color:var(--blue)}.lesson-side{position:sticky;top:2rem;height:max-content;margin-top:4rem}.lesson-side>p{margin:0 0 .65rem;color:var(--muted);font-size:.62rem;font-weight:800}.lesson-side>a{display:block;padding:.65rem 0;color:var(--blue);font-size:.72rem;font-weight:750;text-decoration:none}.lesson-side>div{display:grid;gap:.55rem;margin-top:1.5rem;padding:1rem;border:1px solid var(--line);border-radius:9px;background:#fff}.lesson-side b{margin-bottom:.3rem;font-size:.7rem}.lesson-side span{color:var(--muted);font-size:.65rem}.lesson-footer{display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:3rem 0 0}.lesson-footer>button{min-height:68px;padding:.8rem 1rem;border-radius:10px;cursor:pointer}.complete{border:1px solid var(--blue);background:#fff;color:var(--blue);font-weight:750}.complete.completed{border-color:#8dd4bb;background:#e9fbf4;color:var(--green)}.next{display:grid;border:0;background:var(--blue);color:#fff;text-align:left}.next span{font-size:.6rem;opacity:.75}.next b{font-size:.75rem;line-height:1.5}.utility-page{max-width:920px}.utility-page h1{margin:.6rem 0 .9rem;font-size:clamp(2.8rem,5vw,4.8rem);letter-spacing:-.06em}.utility-page>p:not(.eyebrow){margin:0 0 2.5rem;color:var(--muted);line-height:1.9}.empty{padding:2rem;border:1px dashed #c9d1df;border-radius:10px;background:#fff;color:var(--muted);text-align:center}.saved-list{overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff}.saved-list button{display:grid;width:100%;align-items:center;grid-template-columns:1fr auto;gap:.35rem 1rem;padding:1.1rem 1.2rem;border:0;border-bottom:1px solid var(--line);background:#fff;cursor:pointer;text-align:left}.saved-list button:last-child{border-bottom:0}.saved-list small{color:var(--blue);font-size:.6rem}.saved-list b{font-size:.85rem}.saved-list span{grid-column:2;grid-row:1 / span 2;color:var(--blue)}.utility-page textarea{width:100%;min-height:420px;padding:1.2rem;border:1px solid var(--line);border-radius:10px;outline:none;background:#fff;color:var(--ink);line-height:2;resize:vertical}.utility-page textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb1a}.utility-page>small{display:block;margin-top:.65rem;color:var(--muted);font-size:.65rem}@media(max-width:1080px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-content{grid-template-columns:minmax(0,1fr)}.lesson-side{display:none}}@media(max-width:800px){.login-page{grid-template-columns:1fr}.login-brand{min-height:auto;padding:2rem 1.25rem 3rem;border-right:0;border-bottom:1px solid var(--line);gap:5rem}.login-brand h1{font-size:clamp(3rem,14vw,5rem)}.login-form-wrap{padding:3.5rem 1.25rem}.app{display:block}.sidebar{position:static;height:auto;padding:.75rem 1rem;border-right:0;border-bottom:1px solid var(--line)}.sidebar nav,.sidebar-bottom{display:none}.page{padding:2rem 1rem 4rem}.page-header{display:block;padding-top:1rem}.page-header h1{font-size:clamp(3rem,14vw,5rem)}.status-card{margin-top:2rem}.continue-panel{display:block}.continue-panel .primary{width:100%;margin-top:1.2rem}.section-title{display:block}.section-title>p{margin-top:.7rem;text-align:left}.category-grid{grid-template-columns:1fr}.category-card{min-height:190px}.chapter-cards>button{grid-template-columns:40px 1fr 24px;padding:1rem}.chapter-cards em,.chapter-cards p{display:none}.chapter-header{padding-top:3rem}.chapter-header h1,.lesson-header h1{font-size:clamp(2.35rem,10vw,3.6rem)}.outcome{display:grid}.guide-list>button{grid-template-columns:40px 1fr 22px;gap:.8rem;padding:1.1rem .9rem}.lesson-header{padding-top:2.5rem}.lesson-actions{align-items:flex-start;flex-direction:column}.lesson-main>section{padding:3rem 0}.prompt-box pre{font-size:.72rem}.caution{display:block}.caution b{display:block;margin-bottom:.5rem}.lesson-footer{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
