:root{--bg:#f5f6f2;--paper:#fff;--ink:#19362f;--muted:#68776f;--green:#174a42;--lime:#e5eecc;--line:#dce3dc;--orange:#c65e34;--red:#a53535}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.75 -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",Meiryo,sans-serif}button,input,a{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:var(--green);text-underline-offset:4px}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.48}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--orange);outline-offset:4px}.header{max-width:1180px;margin:auto;padding:24px 36px;display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:750;letter-spacing:2px;line-height:1.3;font-size:17px}.brand-icon{display:grid;place-items:center;background:var(--green);color:#fff;width:40px;height:40px;border-radius:12px;font-size:23px;letter-spacing:0}.brand-sub{display:block;color:var(--muted);font-size:10px;letter-spacing:1px;margin-top:4px}.header-right{display:flex;gap:18px;align-items:center;font-size:12px}.tag{display:inline-block;font-size:12px;border:1px solid var(--line);border-radius:30px;padding:5px 13px;background:#fff}.tag.original{background:#f5eee3;border:0;color:#796143}main{max-width:1108px;min-height:calc(100vh - 190px);margin:16px auto 56px;padding:0 28px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.5;letter-spacing:-.8px}h2{font-size:23px;line-height:1.55}h3{font-size:17px}p{margin-bottom:16px}.eyebrow{font-size:11px;letter-spacing:2.3px;font-weight:750;color:var(--muted);margin-bottom:18px}.muted{color:var(--muted)}.small{font-size:12px}.login-layout{display:grid;grid-template-columns:1.15fr 1fr;min-height:590px;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:var(--paper)}.hero{position:relative;background:var(--green);padding:56px 45px;color:#fff;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.hero .eyebrow{color:#b7cdc3}.hero h1{font-size:39px;line-height:1.55;position:relative;z-index:1}.hero p{color:#c6d9ce;position:relative;z-index:1}.hero-number{position:absolute;font-size:280px;line-height:1;letter-spacing:-28px;font-weight:750;opacity:.065;right:20px;bottom:90px;pointer-events:none}.hero-bottom{border-top:1px solid #ffffff30;padding-top:22px;display:flex;gap:38px}.hero-bottom b{font-size:26px}.hero-bottom span{display:block;font-size:11px;color:#c6d9ce}.login-panel{padding:56px 40px;display:flex;flex-direction:column;justify-content:center}.login-panel h2{font-size:24px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid transparent;border-radius:10px;padding:14px 23px;min-height:50px;background:var(--green);color:#fff;text-decoration:none;font-weight:650}.btn.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.btn.text{background:transparent;color:var(--muted);padding:10px}.btn.full{width:100%}.login-info{background:var(--bg);padding:18px;border-radius:12px;margin:24px 0;font-size:13px}.login-info strong{display:block;font-size:15px;margin-bottom:6px}.lock-label{font-size:12px;color:var(--muted);text-align:center;margin:16px 0}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:38px 0 25px}.intro h1{margin-bottom:6px}.intro p{margin:0}.cards{display:grid;grid-template-columns:1fr 1fr;gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px}.test-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:265px;overflow:hidden}.test-card.featured{background:var(--green);color:#fff;border-color:var(--green)}.test-card.featured .muted{color:#c6d9ce}.test-card .number{font-size:60px;line-height:1.1;letter-spacing:-3px;margin-bottom:18px}.number small{font-size:18px;letter-spacing:0;margin-left:6px}.test-card h2{font-size:21px;margin-bottom:8px}.test-card p{font-size:13px;max-width:80%}.test-card .btn{margin-top:auto}.featured .btn{background:var(--lime);color:var(--green)}.test-icon{position:absolute;right:28px;top:36px;font-size:30px;opacity:.55}.analysis-card{margin-top:20px;display:flex;gap:20px;align-items:center;justify-content:space-between}.analysis-card h2{font-size:20px;margin:0 0 4px}.analysis-card p{margin:0;font-size:13px}.info-strip{display:flex;flex-wrap:wrap;gap:8px 20px;padding:17px 0;font-size:12px;color:var(--muted)}.resume{margin-bottom:20px;background:#edf1df;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;border-radius:13px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:25px 0 20px}.toolbar p{margin:0}.quiz{max-width:780px;margin:auto}.progress{height:5px;background:var(--line);border-radius:5px;margin:15px 0 30px;overflow:hidden}.progress>i{height:100%;background:var(--green);display:block}.question-top{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.question{font-size:20px;font-weight:650;line-height:1.85;white-space:pre-line}.options{display:grid;gap:12px;margin-top:25px}.option{display:flex;align-items:center;text-align:left;gap:15px;padding:17px 18px;width:100%;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:12px;min-height:62px}.option .letter{border:1px solid var(--line);width:31px;height:31px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:12px}.option.selected{border:2px solid var(--green);background:#eef4ed;padding:16px 17px}.option.selected .letter{background:var(--green);color:#fff;border-color:var(--green)}.option.correct{border-color:#428066;background:#eef6ed}.option.wrong{border-color:#b5574d;background:#fbefec}.option:disabled{opacity:1;color:var(--ink)}.quiz-actions{display:flex;justify-content:space-between;gap:12px;margin-top:22px}.explanation{margin-top:22px;padding:22px;border-radius:12px;background:#edf5ee;border-left:4px solid #588c65}.explanation.incorrect{background:#fcf0eb;border-left-color:var(--orange)}.explanation p{font-size:14px;white-space:pre-line}.explanation h3{margin-bottom:10px}.question-nav{display:flex;flex-wrap:wrap;gap:7px;margin-top:24px}.question-nav button{width:35px;height:35px;background:#fff;border:1px solid var(--line);border-radius:7px;color:var(--ink);font-size:12px}.question-nav button.done{background:var(--lime)}.question-nav button.current{border:2px solid var(--green)}.summary-hero{text-align:center;padding:35px 25px;background:var(--green);color:#fff;border-radius:18px;margin:20px 0}.score{font-size:70px;line-height:1.3;font-weight:650;letter-spacing:-3px}.score small{font-size:24px;letter-spacing:0;color:#c6d9ce}.summary-hero p{margin:8px 0 0;color:#c6d9ce}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0}.stat b{display:block;font-size:30px}.stat span{font-size:12px;color:var(--muted)}.bar-row{margin:18px 0}.bar-label{display:flex;justify-content:space-between;gap:10px;font-size:13px}.bar-row .progress{margin:8px 0;height:7px}.history-row{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--line);gap:12px}.history-row:last-child{border-bottom:0}.history-row b{font-size:20px}.history-row .btn{padding:8px 13px;min-height:42px;font-size:12px}.empty{text-align:center;padding:45px 20px;color:var(--muted)}details{background:#fff;border:1px solid var(--line);border-radius:12px;margin:12px 0;padding:15px 20px}summary{cursor:pointer;font-weight:600}details .explanation{margin-bottom:6px}.loading{padding:90px;text-align:center;color:var(--muted)}#notice{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90%;width:520px;padding:18px 24px;background:#fff2ed;color:#873e27;border:1px solid #e0ad96;box-shadow:0 5px 30px #0002;border-radius:12px;z-index:30}footer{max-width:1052px;margin:0 auto;padding:20px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}.source-list a{overflow-wrap:anywhere}.source-list p{font-size:13px}.source-list article{padding:18px 0;border-bottom:1px solid var(--line)}[hidden]{display:none!important}@media(max-width:700px){.header{padding:18px 20px}.brand{font-size:13px}.brand-icon{width:34px;height:34px;font-size:20px}.brand-sub{font-size:9px}.header-right{gap:10px}.header-right .tag{display:none}main{padding:0 18px;margin-top:8px;margin-bottom:30px}h1{font-size:26px}.login-layout{grid-template-columns:1fr;border-radius:18px;min-height:0}.hero{padding:32px 25px}.hero h1{font-size:30px;margin-bottom:14px}.hero-bottom{gap:30px;padding-top:16px}.hero-bottom b{font-size:22px}.hero-number{font-size:230px;bottom:-40px}.login-panel{padding:28px 24px}.login-panel h2{font-size:21px}.login-info{margin:15px 0}.intro{margin:24px 0 20px;display:block}.intro .tag{margin-top:12px}.cards{gap:13px;grid-template-columns:1fr}.test-card{min-height:220px;padding:24px}.test-card .number{font-size:48px}.test-card p{max-width:100%}.analysis-card{padding:22px;flex-wrap:wrap}.card{padding:22px}.resume{flex-direction:column;align-items:flex-start}.resume .btn{width:100%}.stats{gap:8px}.stats .card{padding:15px 10px}.stat b{font-size:24px}.stat span{font-size:11px}.question{font-size:18px}.quiz-actions .btn{padding:12px 17px}.toolbar{margin-top:16px}.toolbar .btn{font-size:12px;padding:10px}.history-row{flex-wrap:wrap}.score{font-size:60px}footer{margin:0 20px;display:block}footer span{display:block}.info-strip{font-size:11px}.option{padding:15px 13px}.option.selected{padding:14px 12px}.question-nav button{width:38px;height:38px}}

.field{display:block;font-size:13px;font-weight:600;margin-bottom:17px}.field input,.field select,.field textarea{display:block;width:100%;margin-top:7px;padding:13px;border:1px solid var(--line);border-radius:8px;background:#fff;font:inherit;font-size:16px;color:var(--ink)}
.today-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:20px}.today-card{background:var(--green);color:#fff;border-radius:20px;padding:32px}.today-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.today-card .eyebrow{color:#d0dfcd;margin:0}.today-card .tag{color:var(--green);font-size:10px}.today-count{font-size:70px;line-height:1.3;letter-spacing:-3px;margin-top:25px;font-weight:700}.today-count span{font-size:23px;letter-spacing:0;color:#cbdcce}.today-card h2{font-size:21px}.today-card .progress{background:#ffffff24;margin:20px 0}.today-card .progress i{background:var(--lime)}.today-card .btn{background:var(--lime);color:var(--green);margin-top:20px}.today-card .small{color:#cbdcce;margin:14px 0 0}.plan-chips{display:flex;flex-wrap:wrap;gap:10px;font-size:12px}.plan-chips span{background:#91a68e1a;padding:7px 10px;border-radius:7px}.plan-chips b{margin-left:5px}.today-card .plan-chips span{background:#ffffff15}.habit-card{display:flex;flex-direction:column;justify-content:center}.habit-card h2{font-size:20px}.habit-number{font-size:50px;font-weight:650}.habit-number span{font-size:16px;font-weight:400;color:var(--muted)}.week{display:flex;justify-content:space-between;gap:5px;margin:18px 0}.week>div{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:11px;flex:1;color:var(--muted)}.week b{height:34px;width:34px;background:var(--bg);border-radius:50%;display:grid;place-items:center;font-size:17px}.week .studied b{background:var(--lime);color:var(--green)}.section-title{display:flex;justify-content:space-between;align-items:center;margin:30px 0 16px}.section-title h2{margin:0;font-size:20px}.compact-test h2{font-size:21px;margin:4px 0 10px}.compact-test .eyebrow{margin-bottom:8px}.button-row{display:flex;gap:12px;flex-wrap:wrap}.topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.topic-rate{font-size:33px;font-weight:700}.topic-card h3{font-size:15px}.topic-card .progress{margin:14px 0}.topic-card .plan-chips{gap:5px;font-size:11px}.notice-inline{padding:16px 20px;background:#edf1df;border-radius:10px;font-size:13px}.check-label{display:flex;align-items:flex-start;gap:10px;margin:15px 0;font-size:14px}.check-label input{margin-top:5px;width:18px;height:18px;flex-shrink:0}.time-fields,.editor-options{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.time-fields{grid-template-columns:repeat(3,1fr)}fieldset{border:0;padding:0;margin:0;min-width:0}.confidence{margin-top:22px;padding:18px;background:var(--bg);border-radius:10px;display:flex;gap:18px;flex-wrap:wrap}.confidence legend{font-size:13px;padding-top:15px}.confidence label{font-size:13px;display:flex;align-items:center;gap:6px;min-height:35px}.workflow{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0 25px}.workflow span{padding:12px 18px;background:#e5ecdf;border-radius:8px;font-size:13px}.error-text{color:var(--red)}textarea{resize:vertical}hr{border:0;border-top:1px solid var(--line);margin:25px 0}@media(max-width:700px){.today-grid,.topic-grid{grid-template-columns:1fr}.today-card{padding:24px}.today-top{flex-wrap:wrap}.today-count{font-size:60px}.habit-card{padding:22px}.habit-number{font-size:38px}.week{max-width:360px}.today-card h2{font-size:19px}.intro>.btn{margin-top:15px}.section-title{align-items:flex-start;gap:10px}.time-fields{grid-template-columns:1fr}.editor-options{grid-template-columns:1fr}.confidence{gap:10px}.today-card .btn{width:100%}.button-row .btn{flex:1}.workflow{gap:8px}.workflow span{padding:8px 10px;font-size:11px}}
