:root{--ink:#243b36;--green:#193f39;--muted:#65756e;--paper:#f6f5ef;--line:#dedfd5;--orange:#c3653e;--cream:#eae8d7;--white:#fffefa}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.75 "Yu Gothic UI","Hiragino Sans",system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:7px;padding:10px 18px;min-height:46px}button:hover{border-color:var(--green);background:#e8eee6}button:disabled{opacity:.55;cursor:default}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#2d584e;color:white}a{color:var(--green);text-underline-offset:4px}header{height:92px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--white)}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;font-family:serif;font-size:23px;font-weight:bold;letter-spacing:.07em}.brand small{display:block;font:9px/1.8 system-ui;letter-spacing:.18em;color:var(--muted)}.mark{display:grid;place-items:center;background:var(--green);color:#f1e6c6;width:44px;height:48px;border-radius:2px;font-size:25px}.save{font-size:12px;color:var(--muted)}.shell{display:grid;grid-template-columns:242px 1fr;max-width:1550px;margin:auto}aside{padding:34px 22px;min-height:calc(100vh - 92px);border-right:1px solid var(--line)}.eyebrow{font-size:10px;letter-spacing:.17em;color:var(--muted);font-weight:600}nav{display:grid;gap:8px;margin-top:24px}nav a{font-size:14px;text-decoration:none;padding:12px;border-radius:5px;color:#53625b}nav a.active{background:#e4e8dc;color:var(--green);font-weight:700;border-left:3px solid var(--green)}.aside-note{font-size:12px;color:var(--muted);margin:60px 12px 0;line-height:2}.dot{display:inline-block;width:6px;height:6px;background:var(--orange);border-radius:50%;margin-right:7px}hr{border:0;border-top:1px solid var(--line);margin:20px 0}main{padding:38px 44px 70px;min-width:0;max-width:1180px}h1,h2,h3{line-height:1.5}h1{font-family:serif;font-size:34px;font-weight:500;margin:10px 0}h2{font-size:22px;font-weight:600;margin:0 0 16px}h3{font-size:17px;margin:0 0 12px}.sub{color:var(--muted);margin:0 0 28px}.hero{background:var(--green);color:#fffdf2;border-radius:9px;padding:32px 36px;display:grid;grid-template-columns:1.7fr 1fr;gap:25px;position:relative;overflow:hidden}.hero h2{font:30px/1.6 serif}.hero p{color:#d4dfd3;font-size:14px}.hero .primary{background:#e7d9ac;color:var(--green);border:0}.hero-art{display:flex;flex-direction:column;justify-content:center;gap:16px;font:15px serif;color:#eee1b7;border-left:1px solid #6b8070;padding-left:24px}.hero-art span{border-bottom:1px solid #4f695d;padding-bottom:11px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0 30px}.stat{border-bottom:1px solid var(--line);padding:15px 2px}.stat strong{display:block;font:36px/1.5 Georgia,serif}.stat small{color:var(--muted)}.section-line{display:flex;justify-content:space-between;align-items:center;margin:30px 0 15px;gap:14px}.section-line h2{margin:0;font-size:20px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{background:var(--white);border:1px solid var(--line);border-radius:8px;padding:24px}.card .num{color:var(--orange);font:24px Georgia;margin-bottom:18px}.card p{font-size:13px;color:var(--muted)}.card a{font-size:13px}.panel{background:var(--white);border:1px solid var(--line);border-radius:9px;padding:28px;margin:20px 0}.toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:20px}label{display:block;color:var(--muted);font-size:13px}select,input,textarea{border:1px solid #bfc8bd;border-radius:5px;background:var(--white);padding:10px;color:var(--ink);max-width:100%}select{max-width:420px}textarea{width:100%;min-height:140px;resize:vertical}input[type=text]{width:100%}input[type=checkbox]{width:20px;height:20px;margin-right:10px;vertical-align:middle}.badge{display:inline-block;padding:3px 9px;background:#e8ecdf;color:#496146;font-size:11px;border-radius:4px}.source{font-size:12px;color:var(--muted);margin:15px 0;overflow-wrap:anywhere}.question{font-size:21px;line-height:1.9;margin:24px 0;white-space:pre-wrap}.answer{background:#e8eee2;border-left:3px solid #53724f;padding:18px 22px;margin:20px 0;white-space:pre-wrap}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.choices button{text-align:left;white-space:pre-wrap}.warning{background:#fff1df;border-left:3px solid #bc8051;padding:12px 16px;font-size:13px;margin:14px 0}.good{color:#336239}.bad{color:#a64e36}.context{padding:12px 18px;background:#f3f1e8;font-size:13px}.context summary{cursor:pointer}.flow-list{list-style:none;padding:0;counter-reset:item}.flow-list li{padding:14px;margin:10px 0;border:1px solid var(--line);background:var(--white);border-radius:6px;display:flex;justify-content:space-between;gap:12px;align-items:center}.flow-list li span{flex:1}.flow-list button{padding:4px 12px}.source-text{white-space:pre-wrap;background:#f4f4ec;padding:18px;border-radius:5px;font-size:14px}.checkpoint{display:flex;align-items:flex-start;border-bottom:1px solid var(--line);padding:12px 0;color:var(--ink)}.checkpoint input{flex-shrink:0}.bar{background:#e3e7dc;border-radius:3px;height:7px;overflow:hidden}.bar span{display:block;background:#53725d;height:100%}table{width:100%;border-collapse:collapse;font-size:13px}td,th{text-align:left;border-bottom:1px solid var(--line);padding:12px 8px}th{color:var(--muted);font-weight:500}.scroll{overflow-x:auto}.empty{text-align:center;padding:36px;color:var(--muted)}.two{display:grid;grid-template-columns:1fr 1fr;gap:20px}details{margin:14px 0}summary{cursor:pointer}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90%;background:#193f39;color:white;padding:12px 20px;border-radius:7px;display:none;z-index:10}.help{font-size:13px;color:var(--muted)}:focus-visible{outline:3px solid #c59a54;outline-offset:3px}.hidden{display:none!important}progress{width:100%;accent-color:var(--green)}
@media(min-width:1400px){main{padding:44px 60px}}@media(max-width:1000px){.shell{grid-template-columns:200px 1fr}main{padding:30px 25px}.grid{grid-template-columns:1fr}.hero{grid-template-columns:1fr}.hero-art{display:none}aside{padding:28px 12px}}@media(max-width:700px){header{padding:16px 20px;height:80px}.brand{font-size:18px}.brand small{font-size:7px}.mark{width:36px;height:40px}.save{font-size:10px}.shell{display:block}aside{min-height:0;border:0;padding:8px 12px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--paper);z-index:5}.eyebrow,.aside-note{display:none}nav{display:flex;margin:0;overflow-x:auto;gap:4px}nav a{white-space:nowrap;padding:9px;font-size:12px}main{padding:24px 18px 60px}h1{font-size:28px}.hero{padding:24px}.hero h2{font-size:25px}.stats{gap:12px}.stat strong{font-size:29px}.stat small{font-size:11px}.panel{padding:20px}.choices,.two{grid-template-columns:1fr}.question{font-size:18px}.toolbar{align-items:stretch}.toolbar label{width:100%}select{width:100%}.section-line{align-items:flex-start}.flow-list li{flex-wrap:wrap}.flow-list li span{min-width:65%}}

.gemini-help{border-top:1px solid var(--line);margin-top:24px;padding-top:22px}.gemini-help .actions{align-items:center}.gemini-help textarea{font-size:14px;line-height:1.7}

.report-form{border-top:1px solid var(--line);padding-top:16px;margin-top:24px}.report-form label{margin:14px 0}.report-form textarea{min-height:90px}

.study-explanation{margin:20px 0;padding:18px 22px;background:#f2f5ee;border-left:4px solid #536747;border-radius:8px}.study-explanation h3{margin:0 0 12px}.study-explanation p{line-height:1.8;margin:8px 0;overflow-wrap:anywhere}.study-explanation .help{margin-top:14px;font-size:.8rem}

.progress-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}.progress-items{max-height:320px;overflow:auto;overflow-wrap:anywhere}.progress-items p{border-bottom:1px solid #ddd;padding-bottom:12px}

.reference-sites li{margin:1em 0;overflow-wrap:anywhere}.reference-sites li p{font-size:.85em;color:#55645c}.reference-sites button{margin:4px}.reference-sites input{width:100%;box-sizing:border-box}
.stat-link{display:block;color:inherit;text-decoration:none;border-radius:5px}
.stat-link:hover,.stat-link:focus-visible{background:var(--white)}
.stat-link-detail{display:block;margin-top:4px;text-decoration:underline;text-underline-offset:3px}
.activity-list{padding-inline-start:1.55rem}
.activity-list li{padding:8px 0;border-bottom:1px solid var(--line)}
.activity-list p{margin:4px 0}
.activity-title{white-space:pre-wrap;overflow-wrap:anywhere}
