@import"https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap";:root{font-family:Noto Sans JP,sans-serif;color:#263b4e;background:#f6f8fa;font-synthesis:none;font-size:14px;--navy: #183653;--blue: #275eab;--muted: #72808e;--line: #e4e9ee;--green: #23816d}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid #d6dfe7;background:#fff;border-radius:7px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--navy);font-weight:600}button:hover,a.primary:hover{filter:brightness(.96)}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #659de1;outline-offset:3px}input:focus,select:focus{outline:2px solid #83a8d9;outline-offset:1px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:.01em;line-height:1.5;font-weight:800;color:var(--navy);margin-bottom:16px}h2{font-size:19px;color:var(--navy)}h3{font-size:16px}p{line-height:1.9}small{font-size:11px}svg{flex-shrink:0}.primary{display:inline-flex;justify-content:center;align-items:center;gap:10px;padding:12px 19px;background:var(--blue);border:1px solid var(--blue);border-radius:7px;color:#fff;font-weight:600;font-size:13px;white-space:nowrap}.icon-button{border:0;background:transparent;padding:7px;color:#718298}.app{display:flex;min-height:100vh}.sidebar{position:fixed;width:246px;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:32px 22px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;font-size:20px;white-space:nowrap;font-weight:800;letter-spacing:-.7px}.brand-light{font-weight:500}.brand-icon{display:grid;place-items:center;width:39px;height:43px;background:#eaf0f7;border-radius:10px;color:#285582}.brand small{display:block;font-weight:400;font-size:10px;letter-spacing:1px;margin-top:4px;color:#7c8995}.workspace-label{font-size:10px;color:#8a97a4;letter-spacing:1px;margin:49px 13px 15px}nav{display:flex;flex-direction:column;gap:7px}nav a{display:flex;align-items:center;gap:12px;padding:13px 14px;color:#697a8a;font-size:13px;font-weight:500;border-radius:7px}nav a.active{background:#eaf1fa;color:#285b9c;font-weight:700}nav a:hover{background:#f1f5f9}.side-course{border-top:1px solid var(--line);margin:29px 12px;padding-top:24px}.side-course>span{font-size:10px;color:#8a97a4}.side-course>div{margin:16px 0 7px;font-size:12px;font-weight:600}.course-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#d89545;margin-right:9px}.side-course small{color:#8a97a4;padding-left:16px}.side-bottom{margin-top:auto}.side-progress{padding:18px 15px;background:#f6f8fb;border-radius:9px;color:#406180}.side-progress>svg{display:inline-block;vertical-align:middle;margin-right:9px;color:#b8884b}.side-progress strong{font-size:21px}.side-progress small{font-weight:400;color:#7b8b9a;font-size:11px}.progress-track{height:6px;border-radius:4px;background:#e4eaf0;overflow:hidden}.progress-track i{display:block;height:100%;background:#4976af;border-radius:4px;transition:width .2s}.side-progress .progress-track{margin:15px 0 12px}.side-progress p{font-size:10px;color:#8392a0;margin:0}.profile{display:flex;align-items:center;gap:9px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.avatar{display:grid;place-items:center;background:#e8eef4;color:#587692;width:33px;height:33px;border-radius:50%;font-size:12px}.profile>div:nth-child(2){flex:1;min-width:0}.profile strong{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis}.profile small{display:block;color:#8a97a4;font-size:9px;margin-top:3px}.main-shell{margin-left:246px;min-width:0;flex:1}.topbar{height:76px;border-bottom:1px solid var(--line);background:#ffffffe6;padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:16px}.breadcrumb{display:flex;align-items:center;gap:14px;font-size:11px;color:#8994a0}.breadcrumb strong{color:#586b7d;font-weight:500}.topbar-right{display:flex;align-items:center;gap:23px}.topbar .primary{font-size:11px;padding:9px 13px}.runtime{display:flex;align-items:center;gap:7px;font-size:11px;color:#748392;white-space:nowrap}.runtime>span{width:6px;height:6px;background:#4b9a80;border-radius:50%}.page{max-width:1240px;margin:auto;padding:44px 48px 60px}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:0 0 34px}.eyebrow{color:#557da5;font-weight:600;font-size:12px;margin-bottom:13px}.page-intro p:last-child,.lead{font-size:13px;color:#788795;line-height:2}.page-intro p:last-child{margin:0}.code-illustration{width:267px;flex-shrink:0;border:1px solid #dde5ed;background:#fff;border-radius:9px;position:relative;transform:rotate(-2deg);box-shadow:7px 8px #eaf0f6;margin-right:12px}.file-label{display:flex;gap:7px;align-items:center;font-size:10px;padding:10px 14px;color:#93a0ad;border-bottom:1px solid #edf0f3}.code-illustration>div{font-family:monospace;font-size:15px;line-height:1.9;padding:20px 25px 26px;color:#526779}.code-illustration b{color:#ad6790;font-weight:500}.code-illustration>div span{color:#46857e}.code-stamp{position:absolute;bottom:-13px;right:-15px;background:#edf7f2;border:1px solid #c7e2d4;color:#488b70;border-radius:5px;padding:6px 11px;font-size:10px;display:flex;gap:6px;align-items:center;transform:rotate(2deg)}.learning-strip{display:flex;align-items:center;gap:30px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:23px 27px;margin-bottom:40px}.learning-summary{display:flex;align-items:center;gap:15px}.round-icon{width:46px;height:46px;border-radius:50%;background:#fcf3e4;color:#be904c;display:grid;place-items:center}.learning-summary>div:last-child>span{font-size:10px;color:#80909e}.learning-summary strong{display:block;font-size:29px;line-height:1.6;color:var(--navy)}.learning-summary small{font-weight:400;font-size:11px;color:#8a96a2}.learning-meter{flex:1;border-left:1px solid var(--line);padding-left:30px}.learning-meter>div:first-child{display:flex;justify-content:space-between;font-size:11px;color:#80909e;margin-bottom:9px}.learning-meter strong{color:#4b6889;font-size:12px}.learning-meter small{display:block;margin-top:8px;color:#97a2ac;font-size:10px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 21px;gap:14px}.section-heading h2{margin:0}.section-heading a{display:flex;align-items:center;gap:7px;font-size:11px;color:#577ca4}.tab-bar{display:flex;border-bottom:1px solid var(--line);gap:23px}.tab-bar button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:0 4px 14px;color:#8a97a4;font-size:12px;gap:9px}.tab-bar button.selected{border-bottom-color:#3c68a0;color:#365e91}.tab-bar span{border-radius:4px;background:#e9eef5;padding:1px 6px;font-size:10px;color:#6480a0}.filters{display:flex;align-items:center;gap:12px;margin:22px 0 16px}.search{display:flex;gap:9px;align-items:center;min-width:140px;max-width:320px;flex:1;background:#fff;border:1px solid #dce3eb;padding:10px 12px;border-radius:6px;color:#8c9aa7}.search input{border:0;width:100%;min-width:0;font-size:12px;background:transparent;color:#425b70}.search input:focus{outline:0}.search:focus-within{outline:2px solid #83a8d9}input::placeholder{color:#a0aab4}select{border:1px solid #dce3eb;color:#687c8e;background:#fff;border-radius:6px;padding:10px 30px 10px 12px;max-width:210px;font-size:11px}.count{margin-left:auto;font-size:11px;color:#8f9ba6}.problem-table{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}.table-head,.problem-row{display:grid;grid-template-columns:58px minmax(200px,1fr) 96px 110px 23px;align-items:center;padding:0 18px}.table-head{font-size:10px;color:#8a98a6;background:#f8fafc;height:41px}.table-head>span:first-child{text-align:center;padding-right:17px}.problem-row{min-height:77px;border-top:1px solid #edf0f4}.problem-row:hover{background:#f7fafe}.problem-status{color:#cbd5df;padding-left:5px;display:flex;align-items:center}.problem-status.solved{color:#339079}.problem-title{display:flex;align-items:center;gap:15px}.problem-number{font-size:11px;font-variant-numeric:tabular-nums;color:#98a6b4}.problem-title strong{font-size:12px;font-weight:600;color:#344f68}.problem-title small{display:block;font-size:10px;color:#9aa5af;margin-top:6px}.difficulty{display:inline-block;font-size:10px;padding:3px 8px;border-radius:4px;font-weight:500;white-space:nowrap}.difficulty.easy{background:#eaf6ef;color:#468770}.difficulty.medium{background:#fff5e3;color:#ad8744}.difficulty.hard{background:#f4ecf7;color:#94659e}.grading-type{font-size:11px;display:flex;align-items:center;gap:7px;color:#8a98a6}.problem-row>svg:last-child{color:#b4c0cc}.guest-note{margin-top:27px;display:flex;align-items:center;gap:20px;justify-content:space-between;border:1px solid #dbe6f1;background:#f0f5fb;border-radius:8px;padding:22px 25px}.guest-note>div{display:flex;align-items:center;gap:16px;color:#6586a6}.guest-note p{margin:0;font-size:11px;color:#8999a8}.guest-note strong{color:#507191;font-weight:600;font-size:12px}.login-note{font-size:10px;color:#8a98a6}.chapter-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:25px}.chapter{display:flex;gap:17px;align-items:center;padding:24px;background:#fff;border:1px solid var(--line);border-radius:9px}.chapter:hover{border-color:#b5c9df}.chapter-number{font-size:26px;color:#b7c9db;font-weight:700;font-variant-numeric:tabular-nums;align-self:flex-start}.chapter h3{font-size:14px;margin:0 0 7px}.chapter p{font-size:11px;color:#8795a2;margin:0 0 9px}.chapter small{color:#53779e;font-size:10px}.chapter>svg{margin-left:auto;color:#99a9b8}.chapter>div{flex:1}.empty{padding:38px 23px;text-align:center;color:#8395a6;display:flex;flex-direction:column;align-items:center;gap:10px}.empty h3{color:#60788f;font-size:13px;font-weight:500;margin:5px 0 0}.empty p{font-size:11px;margin:0 0 8px;max-width:450px}.loading{padding:60px;display:flex;justify-content:center;align-items:center;gap:12px;color:#7c8d9d}.notice{display:flex;gap:10px;align-items:center;border-radius:6px;padding:14px 18px;margin:16px;font-size:12px}.notice.error{background:#fff0ec;color:#ac5549;border:1px solid #f0d1ca}.notice span{flex:1}footer{padding:20px 48px;border-top:1px solid var(--line);font-size:10px;color:#9eabb7;display:flex;justify-content:space-between}main{min-height:calc(100vh - 136px)}.back-link{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#65819c}.exercise-page{padding:24px 28px 50px;max-width:1700px;margin:auto}.exercise-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:23px}.problem-navigation{display:flex;align-items:center;gap:20px;font-size:11px}.problem-navigation a{display:flex;align-items:center;gap:6px;color:#4e739b}.problem-navigation>span{color:#99a8b7}.exercise-grid{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(440px,1.3fr);gap:24px;align-items:start}.problem-description{background:#fff;border:1px solid var(--line);border-radius:9px;padding:29px}.problem-eyebrow{font-size:10px;color:#7591ad;margin-bottom:14px}.problem-description h1{font-size:24px;line-height:1.6}.problem-description h1>span{color:#9db3c9;font-weight:500}.problem-meta{display:flex;align-items:center;gap:13px;margin:0 0 29px;color:#8b9ba9;font-size:10px}.problem-meta>span:last-child{display:flex;align-items:center;gap:5px}.problem-description h2{font-size:15px;margin:25px 0 14px}.statement{font-size:13px;line-height:2.1;white-space:pre-wrap}.instruction{background:#f2f6fb;display:flex;align-items:flex-start;gap:10px;padding:14px;border-radius:6px;color:#6b88a4}.instruction p{font-size:10px;line-height:1.9;margin:0}.instruction svg{margin-top:3px}.sample{border:1px solid #e3e9ef;border-radius:6px;margin-bottom:14px;overflow:hidden}.sample-heading{font-size:11px;background:#f6f8fb;color:#5d7a95;padding:9px 13px}.sample>div:not(:first-child){padding:10px 13px}.sample span{font-size:10px;color:#94a3b0}.sample pre{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;font-family:SFMono-Regular,Consolas,monospace}.hint{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:28px 0 20px}.hint summary{padding:16px 0;display:flex;align-items:center;gap:8px;font-size:12px;color:#8a764f;cursor:pointer;list-style:none}.hint summary>svg:last-child{margin-left:auto}.hint[open] summary>svg:last-child{transform:rotate(90deg)}.hint ul{padding-left:22px;font-size:12px;line-height:2;color:#7d7c76}.textbook-link{display:flex;gap:11px;align-items:center;background:#f6f8fb;padding:14px;border-radius:7px;color:#68a}.textbook-link strong{font-size:11px}.textbook-link small{display:block;font-size:9px;color:#98a8b6;margin-top:4px}.textbook-link>svg:last-child{margin-left:auto}.grading-note{font-size:10px;color:#98a5b1;margin:20px 0 0}.editor-section{min-width:0}.editor-toolbar{background:#222e3e;border:1px solid #2c394b;border-radius:8px 8px 0 0;padding:10px 15px;display:flex;justify-content:space-between;align-items:center;color:#c0cdda;font-size:11px;gap:6px}.editor-toolbar>span{display:flex;align-items:center;gap:7px}.editor-toolbar>div{display:flex;align-items:center;gap:7px}.editor-toolbar small{color:#9aaaba;font-size:9px}.editor-wrap{background:#1e1e1e}.action-bar{padding:13px;background:#fff;border:1px solid var(--line);border-radius:0 0 7px 7px;display:flex;align-items:center;justify-content:space-between;gap:8px}.action-bar>span{font-size:9px;color:#8d9da9;display:flex;gap:6px;align-items:center}.action-bar>div{display:flex;gap:8px;flex-shrink:0}.action-bar button{font-size:11px;padding:10px 12px}.dot-divider{height:3px;width:3px;background:#b9c6d1;border-radius:50%}.editor-login{padding:15px;background:#edf3fa;margin-top:12px;border-radius:6px;display:flex;align-items:center;justify-content:space-between;gap:12px}.editor-login p{font-size:10px;margin:0;color:#7d94aa}.editor-login .primary{font-size:10px;padding:8px}.result-panel{margin-top:21px;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}.result-panel-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:15px 18px;gap:8px}.result-panel-heading h2{font-size:12px;margin:0}.result-panel-heading>span{font-size:9px;color:#93a3b1}.result-summary{display:flex;align-items:center;gap:12px;padding:20px}.result-summary.success{color:#31866d;background:#f1f9f5}.result-summary.failed{color:#b37e4b;background:#fffbf4}.result-summary h3{font-size:13px;margin:0 0 4px}.result-summary p{font-size:10px;margin:0}.result-summary>strong{font-size:27px;margin-left:auto}.result-summary small{font-size:10px;font-weight:400}.diagnostic{font-size:11px;background:#fff3ef;color:#ac6251;padding:15px;margin:13px;border-radius:5px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:250px;overflow:auto}.test-results{padding:6px 17px 13px}.test-results details{border-bottom:1px solid #eef1f5}.test-results details:last-child{border:0}.test-results summary{list-style:none;display:flex;align-items:center;gap:9px;cursor:pointer;padding:13px 0;font-size:10px;color:#7e91a2}.test-results summary strong{font-weight:500;color:#5c748b}.test-results summary>span{margin-left:auto;font-size:10px}.test-results summary small{font-size:9px;color:#9cabb7}.test-pass summary>svg:first-child{color:#469c7f}.test-fail summary>svg:first-child{color:#c88b55}.test-detail{padding:8px 10px;background:#f7f9fb;font-size:10px;color:#8a9bac;margin-bottom:12px}.test-detail pre{color:#48627a;white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;font-size:11px}.hidden-explanation{font-size:10px;color:#9aabbb}.next-success{display:flex;align-items:center;gap:10px;background:#eaf6ef;border:1px solid #cce4d6;padding:18px;color:#3d8d70;font-size:12px;border-radius:7px;margin-top:17px}.next-success>svg:last-child{margin-left:auto}.textbook-page{max-width:1060px}.textbook-page>.back-link{margin-bottom:30px}.lesson-article{background:#fff;border:1px solid var(--line);border-radius:9px;padding:38px;margin:30px 0}.lesson-article h2{font-size:18px;margin-top:27px}.lesson-article h2:first-child{margin-top:0}.lesson-article>p{line-height:2.3;font-size:14px;max-width:760px}.lesson-code{background:#233349;color:#d6e3ed;border-radius:7px;padding:24px;white-space:pre-wrap;overflow-wrap:anywhere;font-family:SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.9}.lesson-tip{display:flex;align-items:flex-start;gap:13px;padding:19px;background:#fbf6eb;border-radius:6px;color:#9c865c}.lesson-tip p{font-size:12px;margin:0}.lesson-exercise{display:flex;gap:14px;align-items:center;border:1px solid var(--line);padding:19px;margin:12px 0;border-radius:7px;color:#567ca1;font-size:12px}.lesson-exercise strong{font-weight:500}.lesson-exercise span{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:10px}.lesson-pagination{display:flex;gap:20px;justify-content:flex-end}.lesson-pagination a{display:flex;gap:8px;align-items:center;color:#6385a6;font-size:12px}.history-list{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin-top:28px}.history-row{display:flex;width:100%;text-align:left;justify-content:flex-start;gap:25px;padding:19px 23px;border:0;border-bottom:1px solid var(--line);border-radius:0;font-size:12px}.history-row>div{flex:1}.history-row>div strong{font-size:13px}.history-row small{display:block;font-size:10px;color:#8da0b1;margin-top:7px;font-weight:400}.history-row>span{font-size:11px;color:#9aa8b5}.history-row .accepted-text{color:#329171}.history-detail{margin-top:30px;padding:25px;border:1px solid var(--line);background:#fff;border-radius:8px}.history-detail>h3{margin-top:25px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.mobile-menu,.mobile-close,.scrim,.mobile-break{display:none}@media(min-width:1500px){.exercise-grid{grid-template-columns:minmax(400px,.9fr) minmax(580px,1.3fr)}}@media(max-width:1200px){.sidebar{width:220px;padding-left:16px;padding-right:16px}.main-shell{margin-left:220px}.brand{font-size:18px}.page{padding:35px 30px}.topbar{padding:0 30px}.code-illustration{width:230px}.page-intro h1{font-size:28px}.learning-strip{gap:19px;padding:20px}.learning-meter{padding-left:20px}.exercise-grid{grid-template-columns:minmax(260px,.8fr) minmax(370px,1.2fr);gap:16px}.problem-description{padding:21px}.exercise-page{padding:24px 20px}.action-bar{flex-wrap:wrap}.action-bar>div{margin-left:auto}.table-head,.problem-row{grid-template-columns:45px minmax(170px,1fr) 65px 80px 15px;padding:0 14px}}@media(max-width:1000px){.code-illustration,.learning-meter{display:none}.learning-strip{justify-content:space-between}.exercise-grid{grid-template-columns:1fr}.editor-wrap{height:430px}.chapter-grid{grid-template-columns:1fr}.topbar .runtime{display:none}.table-head,.problem-row{grid-template-columns:37px minmax(130px,1fr) 65px 18px}.table-head>span:nth-child(4),.grading-type{display:none}.guest-note{align-items:flex-start;flex-direction:column}.filters{flex-wrap:wrap}.search{max-width:100%}.problem-navigation{gap:12px}.problem-title{gap:10px}.topbar{padding:0 22px}.breadcrumb{gap:8px}.exercise-heading{margin-bottom:18px}}@media(max-width:720px){.sidebar{transform:translate(-100%);transition:transform .2s;width:246px}.sidebar.is-open{transform:translate(0)}.main-shell{margin-left:0}.mobile-menu,.mobile-close{display:inline-flex}.mobile-close{position:absolute;top:8px;right:6px}.scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#18365355;border:0;border-radius:0;z-index:19}.topbar{height:64px;padding:0 16px;gap:8px}.breadcrumb{font-size:10px}.breadcrumb>svg,.breadcrumb{gap:5px}.topbar-right{margin-left:auto}.topbar .primary{font-size:9px;padding:8px}.topbar .primary svg{display:none}.page{padding:29px 19px 40px}.page-intro h1{font-size:28px}.page-intro p:last-child{font-size:12px}.page-intro{margin-bottom:25px}.eyebrow{font-size:11px}.learning-strip{padding:17px;gap:10px;margin-bottom:28px}.learning-summary{gap:10px}.round-icon{width:36px;height:36px}.learning-summary strong{font-size:25px}.learning-summary small{font-size:10px}.learning-strip .primary{font-size:10px;padding:10px}.learning-strip .primary svg{width:14px}.learning-summary>div:last-child>span{font-size:9px}.section-heading h2{font-size:17px}.section-heading a{font-size:10px}.filters{gap:8px}.search{flex-basis:100%;max-width:none}.filters select{flex:1;min-width:0;max-width:none;font-size:10px;padding:9px}.count{font-size:10px}.table-head,.problem-row{grid-template-columns:30px minmax(140px,1fr) 48px 12px;padding:0 10px}.table-head{font-size:9px}.table-head>span:first-child{padding:0}.problem-status{padding:0}.problem-status svg{width:17px}.problem-title{gap:9px}.problem-title strong{font-size:11px}.problem-title small,.problem-number{font-size:9px}.difficulty{font-size:9px;padding:3px 6px}.problem-row{min-height:72px}.guest-note{padding:18px;gap:13px}.guest-note p{font-size:10px}.guest-note strong{font-size:11px}footer{padding:20px;font-size:9px}.exercise-page{padding:19px 14px 35px}.exercise-heading{gap:8px}.back-link{font-size:10px}.problem-navigation{gap:10px;font-size:9px}.problem-navigation svg{width:12px}.problem-description{padding:22px}.problem-description h1{font-size:23px}.instruction p{font-size:11px}.action-bar>span{font-size:9px}.editor-toolbar small{font-size:8px}.editor-login{flex-wrap:wrap}.lesson-article{padding:22px}.lesson-article>p{font-size:13px}.lesson-code{font-size:11px;padding:18px}.lesson-exercise{padding:15px;font-size:11px;gap:8px}.lesson-exercise span{font-size:9px}.history-row{padding:16px 12px;gap:12px}.history-row>div strong{font-size:11px}.history-row>span{font-size:9px}.history-row>strong{font-size:11px}.history-row small{font-size:9px}.history-detail{padding:15px}.chapter{padding:21px}.lead{font-size:12px}.login-note{font-size:9px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition:none!important}}.email-login{max-width:500px;margin:40px auto;padding:40px;border:1px solid #e0e5ed;border-radius:18px;background:#fff}.email-login-icon{display:inline-flex;padding:14px;background:#edf4fa;color:#254968;border-radius:14px;margin-bottom:16px}.email-login h1{font-size:28px;margin:12px 0}.email-login-description{color:#657387;line-height:1.9;overflow-wrap:anywhere}.email-login form,.email-login label{display:grid;gap:12px}.email-login label{font-size:14px;font-weight:600}.email-login input{width:100%;min-width:0;padding:14px;border:1px solid #b7c3d2;border-radius:8px;font:inherit;box-sizing:border-box}.email-login input:focus{outline:2px solid #4276a0;outline-offset:2px}.email-login .otp-input{font-size:28px;letter-spacing:.35em;text-align:center}.email-login .primary{justify-content:center;min-height:46px}.login-steps{display:flex;list-style:none;padding:0;gap:16px;margin:24px 0;color:#68778a;font-size:13px}.login-steps li{padding-bottom:10px;border-bottom:2px solid #e2e7ef;flex:1}.login-steps .active{color:#254968;border-color:#254968;font-weight:700}.login-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:22px;font-size:13px}.login-actions button{background:none;border:none;padding:0;color:#254968;text-decoration:underline;cursor:pointer}.login-actions button:disabled{opacity:.5;cursor:default}.login-actions p{color:#657387;line-height:1.7}.login-back{display:block;text-align:center;margin-top:28px;font-size:13px;color:#657387}@media(max-width:600px){.email-login{margin:16px auto;padding:24px 18px}}.exercise-layout .main-shell{margin-left:0}.exercise-layout .sidebar{width:246px;transform:translate(-100%);visibility:hidden}.exercise-layout .sidebar.is-open{transform:translate(0);visibility:visible}.exercise-layout .mobile-menu,.exercise-layout .mobile-close{display:inline-flex}.exercise-layout .mobile-close{position:absolute;top:8px;right:6px}.exercise-layout .scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#18365355;border:0;border-radius:0;z-index:19}.exercise-layout .topbar{height:60px;padding:0 24px}.exercise-layout .breadcrumb{margin-right:auto}.exercise-layout .exercise-page{max-width:none;padding:18px 24px 32px}.exercise-layout .exercise-heading{margin-bottom:16px}.exercise-layout .exercise-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:24px}.exercise-layout .problem-description{min-width:0;padding:28px 32px}.exercise-layout .problem-description h1{font-size:28px}.exercise-layout .problem-description h2{font-size:19px}.exercise-layout .statement{font-size:16px;line-height:2;overflow-wrap:anywhere}.exercise-layout .instruction p,.exercise-layout .hint ul{font-size:14px}.exercise-layout .sample pre{font-size:15px}.exercise-layout .sample-heading,.exercise-layout .hint summary,.exercise-layout .textbook-link strong{font-size:14px}.exercise-layout .problem-eyebrow,.exercise-layout .problem-meta,.exercise-layout .sample span,.exercise-layout .grading-note,.exercise-layout .textbook-link small{font-size:12px}.exercise-layout .problem-meta{flex-wrap:wrap}.exercise-layout .editor-wrap{height:max(520px,calc(100dvh - 250px))}.exercise-layout .editor-toolbar{min-height:48px;font-size:14px}.exercise-layout .editor-toolbar small,.exercise-layout .action-bar>span{font-size:12px}.exercise-layout .action-bar button{font-size:14px;padding:12px 16px}.exercise-layout .back-link,.exercise-layout .problem-navigation{font-size:13px}@media(min-width:1001px){.exercise-layout .problem-description{max-height:calc(100dvh - 140px);overflow-y:auto;scrollbar-gutter:stable}}@media(max-width:1000px){.exercise-layout .exercise-grid{grid-template-columns:minmax(0,1fr)}.exercise-layout .editor-wrap{height:max(520px,65dvh)}}@media(max-width:600px){.exercise-layout .topbar{padding:0 12px}.exercise-layout .exercise-page{padding:16px 12px 28px}.exercise-layout .problem-description{padding:22px 18px}.exercise-layout .problem-description h1{font-size:24px}.exercise-layout .exercise-heading{align-items:flex-start;flex-wrap:wrap}.exercise-layout .problem-navigation{gap:12px}.exercise-layout .editor-toolbar,.exercise-layout .action-bar{flex-wrap:wrap}.exercise-layout .action-bar button{padding:10px 12px}}.external-outline{margin:0 0 20px;padding-left:22px;display:grid;gap:6px}.external-open{display:inline-flex;margin-bottom:20px}.external-complete .action-bar{border-top:0}.problem-brief{margin:16px 0 22px;padding:12px 16px;border:1px solid var(--line, #dfe3ea);border-radius:10px;background:var(--panel, #f7f8fb);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:.92rem}.brief-button{font-size:.85rem;padding:8px 12px}.table-scroll{overflow-x:auto}.signature-table{width:100%;border-collapse:collapse;font-size:.9rem}.signature-table th,.signature-table td{text-align:left;vertical-align:top;padding:6px 8px;border-bottom:1px solid var(--line, #dfe3ea)}.signature-table code{display:inline-block;margin:0 6px 2px 0;padding:1px 6px;border-radius:6px;background:#0000000f;font-family:SFMono-Regular,Consolas,monospace;font-size:.85rem}.signature-table .muted{opacity:.6}.exercise-layout .exercise-page{display:flex;flex-direction:column;height:calc(100dvh - 60px);padding:14px 18px 18px;box-sizing:border-box}.exercise-layout .exercise-heading{margin-bottom:12px;flex-shrink:0}.exercise-layout .exercise-grid{flex:1;min-height:0;display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr) minmax(300px,380px);gap:16px;align-items:stretch}.exercise-layout .problem-description,.exercise-layout .result-section{min-height:0;overflow-y:auto}.exercise-layout .problem-description{padding:22px 24px}.exercise-layout .problem-description h1{font-size:20px}.exercise-layout .editor-section{display:flex;flex-direction:column;min-height:0}.exercise-layout .editor-wrap{flex:1;min-height:240px;height:auto}.exercise-layout .action-bar{flex-shrink:0}.exercise-layout .result-section .result-panel{margin-top:0}.exercise-layout .result-section .notice.error{margin-bottom:12px}.exercise-layout .external-grid{grid-template-columns:minmax(0,1fr) minmax(300px,420px)}@media(max-width:1200px){.exercise-layout .exercise-grid{grid-template-columns:minmax(280px,320px) minmax(0,1fr)}.exercise-layout .result-section{grid-column:1 / -1;max-height:40vh}}@media(max-width:1000px){.exercise-layout .exercise-page{height:auto}.exercise-layout .exercise-grid{grid-template-columns:1fr}.exercise-layout .problem-description,.exercise-layout .result-section{overflow:visible;max-height:none}.exercise-layout .editor-wrap{height:430px;flex:none}}.lesson-section{margin-bottom:30px}.lesson-section h2{display:flex;align-items:center;gap:10px}.lesson-section .section-number{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#e8eff7;color:#3a5d84;font-size:13px;flex-shrink:0}.lesson-section p{line-height:1.9;white-space:pre-wrap;margin:0 0 12px}.signature-table th{white-space:nowrap;font-size:.8rem}.brief-link{display:inline-flex;align-items:center;gap:6px;color:#2f5f92;text-decoration:underline;text-underline-offset:3px}.brief-link:hover{color:#1c466f}.lesson-section{scroll-margin-top:80px}.login-note{margin-top:14px;font-size:12px;color:#7d94aa}.admin-page h2{margin:30px 0 12px;font-size:17px}.admin-page .muted{color:#7d94aa}.admin-page .mono{font-family:SFMono-Regular,Consolas,monospace;font-size:12px}.admin-page .center{text-align:center}.admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}.admin-stats>div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px;text-align:center}.admin-stats strong{display:block;font-size:28px;color:#2f5f92}.admin-stats span{font-size:12px;color:#7d94aa}.admin-filters .search input{border:0;background:transparent;width:100%;font:inherit}.admin-table{width:100%;min-width:1080px;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:10px;font-size:13px}.admin-table th{text-align:left;font-size:12px;color:#7d94aa;background:#f6f8fb;padding:10px 12px;white-space:nowrap}.admin-table td{padding:10px 12px;border-top:1px solid var(--line);vertical-align:top}.admin-table tr.archived td{background:#fdf8ec}.admin-table a{color:#2f5f92}.rank{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;border-radius:50%;background:#eef2f6;font-weight:600;padding:0 6px}.rank.top1{background:#f4c542;color:#fff}.rank.top2{background:#b8c0c9;color:#fff}.rank.top3{background:#d98c4a;color:#fff}.progress-cell{display:flex;align-items:center;gap:8px;min-width:120px}.progress-cell .progress-track{flex:1}.progress-cell small{width:36px;text-align:right;color:#7d94aa}.label-editor{display:grid;gap:6px;min-width:150px}.label-editor select{font-size:12px;padding:4px 6px}.chips{display:flex;flex-wrap:wrap;gap:4px}.chip{display:inline-flex;align-items:center;gap:4px;border-radius:999px;border:1px solid #bcd3ea;background:#eaf3fc;color:#2f5f92;padding:2px 8px;font-size:12px}.chip.muted{border-color:#dfe3ea;background:#f3f5f8;color:#8a99a8}.chip button{border:0;background:transparent;padding:0;display:inline-flex;color:inherit;cursor:pointer}.row-actions{display:grid;gap:6px;justify-items:start}button.small{font-size:12px;padding:5px 8px;display:inline-flex;align-items:center;gap:4px}button.small.danger{color:#b23b3b;border-color:#efc4c4;background:#fff5f5}.status-pill{display:inline-block;border-radius:999px;padding:2px 8px;font-size:12px;background:#eef2f6;color:#5a6b7c}.status-pill.クリア{background:#e3f6ea;color:#1f7a45}.status-pill.挑戦中{background:#fff3df;color:#9a6300}.admin-member-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap;margin-bottom:10px}.admin-member-controls{display:grid;gap:10px;justify-items:end;min-width:220px}.label-form{display:flex;gap:10px;margin:18px 0;max-width:480px}.label-form input{flex:1;padding:10px 12px;border:1px solid var(--line);border-radius:8px;font:inherit}.label-list{list-style:none;padding:0;margin:0;display:grid;gap:8px;max-width:480px}.label-list li{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);border-radius:8px;padding:8px 12px}@media(max-width:900px){.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}.login-only{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 16px;box-sizing:border-box;background:var(--bg, #f4f6f9)}.login-only .notice{margin-bottom:16px}
