:root{--paper:#f6f8f5;--surface:#fff;--shade:#eef3ee;--mist:#e2ebe3;--line:#e1e9e2;--ink:#223d33;--deep:#1c4539;--muted:#74857b;--subtle:#9baa9f;--gold:#bc9155;--goldlight:#f6f0e3;--danger:#9b5a4d;--dangerlight:#fbf1ed;--ok:#3f8165;--shadow:0 14px 50px rgba(34,65,49,.05)}
*{box-sizing:border-box}html{height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei','Noto Sans SC',sans-serif;color:var(--ink);font-size:14px}body{margin:0;background:var(--paper);height:100%;overflow:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--deep)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;font-weight:650;line-height:1.35;letter-spacing:-.8px;margin-bottom:10px}h2{font-size:21px;font-weight:650;letter-spacing:-.4px;margin-bottom:10px}h3{font-size:16px;font-weight:650;margin-bottom:10px}p{line-height:1.8;margin-bottom:12px}small,.small{font-size:12px}svg{display:block}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #92b6a5;outline-offset:3px}
.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:16px;color:var(--muted)}.logo-symbol{width:39px;height:39px;background:var(--deep);color:#d7d2ac;display:grid;place-items:center;border-radius:14px;font-size:23px}.app-shell{display:grid;grid-template-columns:216px minmax(0,1fr);height:100dvh;overflow:hidden}.sidebar{display:flex;flex-direction:column;justify-content:space-between;background:#fbfcfa;border-right:1px solid var(--line);padding:26px 16px 21px;min-height:0}.brand{display:flex;align-items:center;gap:10px;padding:0 9px 25px}.brand-logo{display:grid;place-items:center;background:var(--deep);color:#cddccf;width:37px;height:37px;border-radius:50%;font-size:23px}.brand strong{font-size:19px;letter-spacing:2px}.brand small{display:block;font-size:8px;color:var(--muted);letter-spacing:1.5px;font-weight:700;margin-top:3px}.sidebar-label{font-size:10px;letter-spacing:2px;color:#a0afa3;font-weight:700;padding:10px 12px;margin-top:1px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{border:0;background:transparent;color:#64776d;display:flex;align-items:center;gap:11px;text-align:left;padding:12px 15px;border-radius:10px;font-size:13px;font-weight:600;width:100%;transition:.15s}.nav button:hover{background:#f0f4f0}.nav button.active{background:#e5eee7;color:#2b5b47}.nav-ico{display:inline-grid;place-items:center;width:20px;font-size:17px;font-weight:500}.side-bottom{border-top:1px solid var(--line);padding-top:20px}.mini-note{padding:15px 13px;border:1px solid #e3e9df;background:#f1f5ef;border-radius:11px;color:#678171;font-size:12px;line-height:1.8;margin:0 0 22px}.user-strip{display:flex;align-items:center;gap:10px;padding:0 5px}.avatar{background:#deebe0;border-radius:50%;height:30px;width:30px;display:grid;place-items:center;font-weight:700;color:#37634b}.user-strip b{font-size:12px;display:block}.user-strip span{font-size:10px;color:var(--muted)}.plain-link{border:0;background:none;color:var(--muted);font-size:12px;padding:7px 0}.plain-link:hover{color:var(--deep)}.main-frame{display:flex;flex-direction:column;min-width:0;min-height:0}.topbar{height:60px;flex:none;background:rgba(255,255,255,.84);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px}.topbar .crumb{color:var(--muted);font-size:12px}.topbar .crumb strong{color:var(--ink)}.top-actions{display:flex;gap:10px;align-items:center}.top-actions .userlabel{font-size:11px;color:var(--muted)}.main-area{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cedbd0 transparent;padding:27px 34px 56px}.content{max-width:1130px;margin:auto}.eyebrow{font-size:10px;font-weight:780;letter-spacing:2px;color:#5d9175;margin-bottom:11px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px}.page-head p{color:var(--muted);font-size:13px;max-width:700px}.muted{color:var(--muted)}.soft{color:var(--subtle)}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:12px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px}.card h3{margin-bottom:14px}.card.subtle{background:#f4f7f2}.soft-panel{background:var(--shade);border-radius:15px;padding:25px}.divider{border:0;border-top:1px solid var(--line);margin:22px 0}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:50px;padding:5px 9px;font-size:10px;letter-spacing:.2px;background:var(--shade);color:#587668;white-space:nowrap}.pill.gold{background:var(--goldlight);color:#947348}.pill.red{background:var(--dangerlight);color:var(--danger)}.pill.done{background:#e8f4eb;color:#398063}.label{font-size:11px;color:var(--muted);font-weight:650;display:block;margin:0 0 7px}.field{margin-bottom:14px}.control{height:41px;width:100%;border:1px solid #dce7df;border-radius:9px;background:white;color:var(--ink);padding:9px 11px;font-size:13px;outline:none}.control:focus{border-color:#7bb198}.control::placeholder,textarea::placeholder{color:#a9b7ae}.control.textarea,textarea.control{height:auto;min-height:83px;line-height:1.65;resize:vertical}.select{appearance:auto}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:9px;border:1px solid #dbe4dc;background:#fff;color:#325445;padding:10px 15px;font-size:12px;font-weight:650;white-space:nowrap;min-height:37px}.btn:hover{border-color:#90b19c;background:#f9fcf9}.btn.primary{background:#275947;color:#fff;border-color:#275947}.btn.primary:hover{background:#1e4938}.btn.ghost{border-color:transparent;background:transparent;color:#587466}.btn.gold{background:#f3ecdf;color:#866b42;border-color:#f3ecdf}.btn.sm{min-height:30px;padding:6px 10px;font-size:11px}.btn.block{width:100%}.btn.tiny{padding:5px 8px;font-size:11px;min-height:27px}.inline-link{border:0;background:none;text-decoration:underline;text-underline-offset:3px;color:#507d63;padding:0 4px;font-size:12px}.overline{color:var(--muted);font-size:11px}.empty{padding:35px 20px;color:var(--muted);font-size:13px;text-align:center;border:1px dashed #d7e3d8;border-radius:12px;background:rgba(255,255,255,.55)}.notice{font-size:12px;line-height:1.75;padding:12px 15px;background:#eff4ef;border-left:3px solid #9abd9e;color:#5d7866;border-radius:4px 10px 10px 4px;margin-top:14px}.notice.warn{background:#faf4e9;border-color:#bca47a;color:#8a724c}.notice.error{background:#fbf0eb;border-color:#c89781;color:#916252}
/* Landing and daily focus */
.today-hero{display:grid;grid-template-columns:1.18fr .82fr;background:#eaf1e9;border-radius:18px;min-height:264px;overflow:hidden;position:relative;margin-bottom:18px}.hero-copy{padding:32px 32px 27px;position:relative;z-index:2}.hero-copy h1{font-size:clamp(25px,2.7vw,36px);line-height:1.5;max-width:520px;margin:11px 0 9px}.hero-copy p{max-width:500px;color:#648171;font-size:13px}.hero-visual{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.hero-visual:before{content:"";position:absolute;inset:-20% -10%;background:radial-gradient(circle at 55% 38%,#f8d9a5 0 55px,transparent 57px),radial-gradient(ellipse at 63% 122%,#a8c3ad 0 50%,transparent 50.5%),radial-gradient(ellipse at 24% 123%,#cbdaca 0 54%,transparent 54.5%)}.hero-route{position:absolute;width:80%;height:89%;bottom:-25%;right:0;overflow:visible}.hero-route path{fill:none;stroke:#fff7e8;stroke-width:17;stroke-linecap:round}.hero-route path:last-child{stroke:#628b7b;stroke-width:1.6;stroke-dasharray:5 10}.today-layout{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(270px,.72fr);gap:16px}.taskitem{padding:14px 0;border-bottom:1px solid var(--line);display:flex;gap:11px;align-items:flex-start}.taskitem:last-child{border:0}.taskitem .check{height:23px;min-width:23px;width:23px;border-radius:50%;border:1px solid #bfd0c0;background:#fff;color:#326b51;padding:0;font-size:13px;display:grid;place-items:center}.taskitem .check.done{background:#dfefe1;border-color:#c4ddc8}.taskitem .tasktext{flex:1;min-width:0}.taskitem strong{font-size:13px;line-height:1.5;display:block;font-weight:650}.taskitem p{font-size:11px;color:var(--muted);margin:3px 0}.caps{font-size:10px;letter-spacing:1.7px;font-weight:730;color:#829c8a}.statline{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.statline:last-child{border:0}.statline strong{font-size:18px}.small-card-action{padding:14px;background:#f7f9f5;border-radius:10px}
/* Routes */
.route-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.route-card{border:1px solid var(--line);border-radius:13px;background:#fff;padding:18px;min-height:220px;display:flex;flex-direction:column;transition:.15s}.route-card.selected{background:#ecf4ed;border-color:#91b79a}.route-card h3{font-size:15px;margin:8px 0}.route-card p{font-size:11px;color:var(--muted);line-height:1.7;flex:1}.route-card .btn{margin-top:12px}.step{display:flex;gap:15px;position:relative;padding:0 0 27px}.step:last-child{padding-bottom:0}.step:not(:last-child):before{position:absolute;content:"";left:13px;top:26px;bottom:0;width:1px;background:#cadbcf}.stepnum{background:#eaf1ea;border:1px solid #d8e6da;color:#507a60;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;font-size:11px;font-weight:700;flex:none;z-index:1}.step h3{font-size:14px;margin:2px 0 5px}.step p{font-size:12px;color:var(--muted);margin-bottom:0}.cert-item{padding:15px 0;border-bottom:1px solid var(--line)}.cert-item:last-child{border:0}.cert-item a{font-size:11px}.cert-item h3{font-size:14px;margin-bottom:5px}.cert-item p{font-size:12px;color:var(--muted);margin-bottom:6px}
/* Learning */
.tabstrip{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 19px}.tabstrip button{border:1px solid var(--line);border-radius:9px;background:#fff;padding:9px 13px;color:#648173;font-size:12px}.tabstrip button.active{background:#275947;border-color:#275947;color:#fff}.bank-card{display:flex;flex-direction:column;gap:12px;min-height:185px}.bank-card .bottom{margin-top:auto}.bank-card h3{font-size:16px}.bank-card p{font-size:12px;color:var(--muted);line-height:1.7}.bankcount{font-size:27px;color:#3f6c54;font-weight:650}.checkchips{display:flex;flex-wrap:wrap;gap:9px}.checkchip{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#fafcf9;border:1px solid var(--line);border-radius:8px;cursor:pointer;font-size:12px}.checkchip input{accent-color:#2f6c53}.paper-layout{display:grid;grid-template-columns:175px minmax(0,1fr);gap:15px;min-height:420px}.question-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.qnum{background:#fff;border:1px solid var(--line);border-radius:7px;padding:8px 0;color:#789180;font-size:11px}.qnum.active{background:#275947;color:#fff}.qnum.filled:not(.active){background:#e6f3e9;color:#337450}.prompt{white-space:pre-wrap;font-size:17px;line-height:1.85;margin:18px 0}.choice{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:10px;padding:14px;margin-bottom:9px;cursor:pointer;font-size:13px;line-height:1.65}.choice:has(input:checked){border-color:#88b49e;background:#f0f7f1}.choice input{margin-top:3px;accent-color:#2a6d4d}.question-actions{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid var(--line);margin-top:23px;padding-top:17px}.paper-report{padding:17px 0;border-bottom:1px solid var(--line)}.paper-report:last-child{border:0}.paper-report .answer-text{padding:10px 13px;border-radius:9px;background:#f2f7f1;font-size:12px;line-height:1.75;margin-top:10px}.selectline{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.selectline:last-child{border:0}.selectline p{font-size:12px;margin:0;color:var(--muted)}.preview-list{max-height:365px;overflow:auto}.preview-item{display:block;width:100%;background:#fff;border:1px solid var(--line);border-radius:9px;padding:11px;text-align:left;margin-bottom:6px;font-size:12px}.preview-item.active{border-color:#86b69c;background:#f3f7f1}.preview-item.bad{border-color:#d7a79c}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.review-text{font-size:12px;color:#789185;line-height:1.8}.bar{height:6px;border-radius:30px;background:#edf2ed;overflow:hidden}.bar span{display:block;background:#7eb596;height:100%}
/* AI Drawer */
.chat-backdrop{position:fixed;inset:0;z-index:34;background:rgba(17,33,24,.18)}.chat-drawer{position:fixed;right:0;top:0;bottom:0;width:min(450px,100vw);background:#fbfcfa;z-index:35;box-shadow:-20px 0 70px rgba(18,52,34,.12);display:flex;flex-direction:column}.chat-head{padding:19px 21px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.chat-head h3{margin:0}.chat-status{background:#f0f5ef;border-radius:9px;padding:11px 14px;font-size:11px;color:#64806e;margin:13px 18px 0;line-height:1.65}.chat-messages{flex:1;min-height:0;overflow-y:auto;padding:20px 18px 12px}.chatmsg{padding:12px 14px;border-radius:13px;line-height:1.75;white-space:pre-wrap;font-size:13px;margin-bottom:13px;max-width:94%}.chatmsg.user{background:#e5efe7;margin-left:auto;border-bottom-right-radius:3px}.chatmsg.assistant{background:#fff;border:1px solid var(--line);border-bottom-left-radius:3px}.chat-cta{margin-top:11px;padding:10px;background:#f4f7f1;border:1px solid var(--line);border-radius:10px}.chat-compose{padding:14px 18px 20px;border-top:1px solid var(--line);background:#fff}.chat-compose textarea{min-height:65px;max-height:140px}.chat-empty{padding:40px 12px;color:#779080;line-height:1.8;font-size:13px}.floating-ai{position:fixed;right:27px;bottom:24px;z-index:20;border:none;border-radius:50px;padding:13px 18px;display:flex;align-items:center;gap:10px;background:#2a5b45;color:#fff;font-weight:670;font-size:13px;box-shadow:0 9px 26px #1b523b33}.floating-ai:hover{background:#194833}.tool-log{margin-top:7px;font-size:10px;color:#8ba08e}.chat-prompt{border:1px solid #e1e9df;background:#fff;border-radius:10px;padding:11px 13px;font-size:12px;cursor:pointer;text-align:left;color:#527462;width:100%;margin-bottom:7px}.chat-prompt:hover{border-color:#98bea4}
/* Dialog + auth */
.modal-screen{position:fixed;inset:0;background:rgba(29,46,37,.26);display:flex;align-items:center;justify-content:center;z-index:60;padding:18px}.modal-box{width:min(560px,100%);max-height:min(90vh,720px);overflow-y:auto;background:#fff;border:1px solid var(--line);border-radius:17px;padding:27px;box-shadow:0 26px 80px #19382b26}.modal-box h2{font-size:20px}.modal-foot{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.auth-page{height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-brand-side{background:#e5eee5;padding:45px 9%;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-brand-side:after{position:absolute;content:"";width:470px;height:470px;border:1px solid #a1c0a0;border-radius:50%;bottom:-240px;right:-200px;box-shadow:0 0 0 80px #d1dfd0,0 0 0 81px #bdd3c1,0 0 0 155px #e2ebe0;opacity:.5}.auth-brand-side h1{font-size:clamp(34px,4vw,57px);line-height:1.4}.auth-brand-side p{color:#5d7669;max-width:450px}.auth-form-side{display:flex;align-items:center;justify-content:center;padding:30px}.auth-inner{width:min(360px,100%)}.auth-inner h2{font-size:26px}.auth-inner form{margin-top:28px}#notify{display:none;position:fixed;z-index:90;bottom:23px;left:50%;transform:translateX(-50%);background:#2b5d47;color:#fff;padding:12px 17px;border-radius:10px;box-shadow:0 13px 38px #152d2833;max-width:min(600px,90vw);font-size:12px;line-height:1.65}#notify.error{background:#a1534c}.footnote{margin-top:24px;color:#a3b0a6;font-size:10px;line-height:1.8}.mobile-nav{display:none}
@media(max-width:1150px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.main-area{padding:22px 23px 42px}.route-cards{grid-template-columns:repeat(2,1fr)}.today-hero{grid-template-columns:1fr .55fr}}
@media(max-width:840px){.today-layout{grid-template-columns:1fr}.route-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.grid3{grid-template-columns:repeat(2,minmax(0,1fr))}.paper-layout{grid-template-columns:1fr}.question-grid{display:flex;flex-wrap:wrap}.qnum{min-width:32px}.auth-page{grid-template-columns:1fr 1fr}}
@media(max-width:680px){body{overflow:hidden}.app-shell{display:flex;flex-direction:column}.sidebar{display:none}.topbar{height:52px;padding:0 17px}.top-actions .userlabel{display:none}.main-area{padding:19px 16px 96px}.content{max-width:100%}.mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:18;background:#fff;border-top:1px solid var(--line);padding:8px 5px max(8px,env(safe-area-inset-bottom))}.mobile-nav button{border:none;background:none;color:#819689;font-size:10px;display:grid;justify-items:center;gap:5px;padding:6px 0}.mobile-nav button.active{color:#2d6e4e;font-weight:700}.mobile-nav .nav-ico{font-size:20px}.floating-ai{bottom:85px;right:15px;padding:12px 15px}.page-head{flex-direction:column;gap:10px}.page-head h1{font-size:26px}.today-hero{grid-template-columns:1fr;min-height:260px}.hero-copy{padding:25px}.hero-copy h1{font-size:28px}.hero-visual{position:absolute;right:-30px;bottom:0;width:60%;height:63%;opacity:.45}.hero-copy p{position:relative;max-width:75%}.grid2,.grid3{grid-template-columns:1fr}.route-cards{grid-template-columns:1fr 1fr;gap:9px}.route-card{padding:14px;min-height:215px}.route-card h3{font-size:13px}.card{padding:17px}.form-grid{grid-template-columns:1fr}.modal-box{padding:20px}.auth-page{grid-template-columns:1fr;overflow:auto}.auth-brand-side{padding:30px;min-height:210px}.auth-brand-side h1{font-size:29px;margin:15px 0}.auth-brand-side p{font-size:12px}.auth-form-side{padding:25px}.auth-inner form{margin-top:18px}.chat-drawer{width:100%}.tabstrip{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.tabstrip button{white-space:nowrap}.paper-layout{gap:8px}.prompt{font-size:15px}.choice{padding:12px}.topbar .crumb{font-size:11px}}
@media(max-height:700px) and (min-width:681px){.main-area{padding-top:15px}.today-hero{min-height:224px}.hero-copy{padding:22px}.hero-copy h1{font-size:27px}.route-card{min-height:180px}.card{padding:18px}}

.chat-history{display:flex;align-items:center;gap:10px;padding:10px 18px 0}.chat-history label{white-space:nowrap}.chat-history select{min-width:0;flex:1;height:33px;font-size:12px;background:#fff}
