:root{--ink:#193253;--muted:#607087;--line:#dce3ee;--blue:#285cdb;--blue-light:#edf2fe;--green:#237a70;--page:#f5f7fa;--white:#fff;--orange:#c46b51;--purple:#7965b2}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--page);color:var(--ink);font:15px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}button,input,a{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.3}h1{font-size:38px;letter-spacing:-1px}h2{font-size:22px;letter-spacing:-.3px}h3{font-size:17px}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{font-size:12px;font-weight:650;letter-spacing:1px;color:var(--muted)}.wrap{max-width:1056px;margin:0 auto;padding:0 28px}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{height:76px;display:flex;align-items:center;gap:36px}.brand{display:flex;align-items:center;gap:9px;font-size:22px;font-weight:700;white-space:nowrap;letter-spacing:-.5px}.brand img{width:30px;height:30px}.nav{display:flex;gap:28px;margin-left:auto;font-size:14px}.nav a{color:var(--muted);min-height:44px;display:flex;align-items:center;border-bottom:2px solid transparent}.nav a.active{color:var(--blue);border-color:var(--blue)}.account{display:flex;align-items:center;gap:16px;font-size:14px;border-left:1px solid var(--line);padding-left:24px}.account strong{font-weight:600}.text-button{border:0;background:transparent;padding:8px 0;color:var(--muted);min-height:40px}.text-button:hover,a.text-link:hover{color:var(--blue)}.text-link{color:var(--blue);font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 23px;border:1px solid var(--blue);border-radius:9px;background:var(--blue);color:#fff;font-weight:600;font-size:15px;gap:10px;transition:background .15s,box-shadow .15s}.btn:hover:not(:disabled){background:#1e4fc6;box-shadow:0 5px 15px #285cdb16}.btn.secondary{border-color:var(--line);background:#fff;color:var(--ink);box-shadow:none}.btn.secondary:hover{background:#f3f6fa}.btn.quiet{background:transparent;border-color:transparent;color:var(--muted);box-shadow:none}.btn.quiet:hover{background:#eaf0f8;color:#52637a}.site-footer{max-width:1000px;display:flex;justify-content:space-between;gap:12px;margin:28px auto 0;padding:24px 0 62px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.skip{position:fixed;top:-80px;left:20px;z-index:90;background:white;padding:8px 16px}.skip:focus{top:8px}:focus-visible{outline:3px solid #7294ed;outline-offset:4px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
main:focus{outline:none}.question{margin:0}
/* 首页：一个任务，一处主操作。 */
.home{padding-top:50px;padding-bottom:20px}.greeting{font-size:14px;color:var(--muted);margin-bottom:22px}.home-card{position:relative;display:grid;grid-template-columns:1fr 300px;align-items:center;gap:54px;padding:40px 44px;background:white;border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 36px #203e6b04}.home-card h1{margin-bottom:10px}.home-intro{color:var(--muted);font-size:16px}.home-status{margin-top:32px}.status-line{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;font-size:13px;color:var(--muted)}.status-label{font-weight:600;color:var(--green)}.progress{height:5px;border-radius:10px;overflow:hidden;background:#e5ebf5}.progress>span{display:block;height:100%;border-radius:10px;background:var(--blue);transition:width .2s}.home-primary{margin-top:24px;display:flex;align-items:center;gap:22px}.home-primary .btn{min-width:154px}.home-hint{margin-top:14px;color:var(--muted);font-size:12px}.home-art{width:100%;max-width:252px;justify-self:end;border-radius:6px}.home-result{display:flex;align-items:baseline;gap:16px;margin:23px 0 4px}.home-result strong{font-size:42px;line-height:1.2;color:var(--blue);letter-spacing:-1.5px}.home-result span{font-size:20px}.home-under{margin-top:34px}.minor-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.minor-heading h2{font-size:15px;font-weight:600}.recent-row{display:flex;align-items:center;gap:18px;padding:19px 0;border-bottom:1px solid var(--line)}.type-tile{background:#e8eefb;color:var(--blue);padding:10px 12px;border-radius:7px;font-size:16px;font-weight:650;letter-spacing:.5px;min-width:70px;text-align:center}.recent-copy{flex:1}.recent-copy strong{font-size:15px}.recent-copy p{font-size:12px;color:var(--muted)}.recent-row .text-link{padding:10px 0}.home-learn{padding:19px 0;color:var(--muted);font-size:13px}.home-learn summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}.home-learn summary:after{content:"+";font-size:20px;font-weight:400}.home-learn[open] summary:after{content:"−"}.learn-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:23px 0 2px}.learn-grid h3{font-size:14px;margin-bottom:7px}.learn-grid p{font-size:13px;color:var(--muted)}
/* 答题：五题一组，手机自然滚动。 */
.quiz{max-width:930px;padding-top:26px;padding-bottom:106px}.quiz-top{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin-bottom:15px}.quiz-top h1{font-size:22px;letter-spacing:-.4px}.quiz-count{white-space:nowrap;color:var(--muted);font-size:13px}.quiz-count strong{color:var(--ink);font-size:16px}.quiz-progress{margin-bottom:22px;height:4px}.question-list{display:grid;gap:10px}.question{border:1px solid var(--line);background:#fff;padding:15px 18px;border-radius:12px;min-width:0;display:grid;grid-template-columns:29px 1fr;gap:12px;scroll-margin-top:30px}.question.missing{border-color:#c46b51;box-shadow:0 0 0 1px #c46b51}.question-number{font-size:13px;color:var(--muted);padding-top:14px;font-variant-numeric:tabular-nums}.options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.option{position:relative;display:flex;align-items:center;gap:12px;padding:12px 15px;min-height:57px;border:1px solid #dce3ee;border-radius:8px;cursor:pointer;font-size:15px;line-height:1.6;transition:border-color .12s,background .12s}.option:hover{border-color:#99b2ea;background:#f7f9fe}.option:has(input:checked){border-color:#acc0e8;background:#f5f8fd;color:var(--ink)}.option:has(input:focus-visible){outline:2px solid #7294ed;outline-offset:2px}.option input{width:17px;height:17px;margin:0;accent-color:var(--blue);flex-shrink:0}.option input:focus{outline:none}.quiz-controls{position:fixed;bottom:0;left:0;right:0;z-index:10;border-top:1px solid var(--line);background:#fffffff5;backdrop-filter:blur(12px)}.quiz-controls-inner{display:flex;align-items:center;gap:20px;max-width:930px;margin:auto;padding:15px 28px}.save-status{color:var(--muted);font-size:12px;flex:1}.save-status.error{color:#a64c35}.save-status button{border:0;padding:0 6px;background:none;text-decoration:underline;color:inherit}.quiz-message{font-size:13px;color:#a64c35;min-height:22px;margin-top:10px}.quiz-controls .btn{min-height:44px;padding:10px 24px;min-width:118px}.quiz-controls .btn.quiet{min-width:auto;padding-left:0}.quiz-help{font-size:12px;color:var(--muted);padding:15px 0}.quiz-mode .site-footer{display:none}.quiz-mode dialog{max-width:420px;width:calc(100% - 40px);border:1px solid var(--line);border-radius:17px;padding:30px;color:var(--ink);box-shadow:0 24px 80px #19325326}dialog::backdrop{background:#142c4a55;backdrop-filter:blur(3px)}dialog h2{font-size:23px;margin-bottom:13px}dialog p{font-size:14px;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.dialog-error{font-size:13px!important;color:#a84a34!important;margin-top:16px}
/* 报告：个人结果先出现，科普按需展开。 */
.report{padding-top:32px}.report-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:20px}.report-toolbar p{font-size:14px}.report-toolbar p span{color:var(--muted);margin-left:15px;font-size:12px}.report-toolbar .btn{min-height:40px;padding:8px 17px;font-size:13px}.report-hero{display:grid;grid-template-columns:1fr 196px;gap:30px;align-items:center;padding:30px 37px;background:#eaf0fb;border-radius:18px}.report-hero h1{font-size:72px;font-weight:650;letter-spacing:-4px;color:var(--blue);line-height:1.05}.report-type-line{display:flex;align-items:baseline;gap:22px;margin:8px 0 16px}.report-type-line h2{font-size:27px;font-weight:600}.report-hero p{max-width:570px;color:#435b7a;font-size:15px}.report-hero .aliases{font-size:12px;color:var(--muted);margin-top:14px}.guide{width:180px;justify-self:end}.section-heading{display:flex;align-items:baseline;justify-content:space-between;margin:30px 0 17px;gap:15px}.section-heading h2{font-size:20px}.section-heading span{font-size:12px;color:var(--muted)}.axes{display:grid;grid-template-columns:1fr 1fr;gap:24px 40px}.axis-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px;font-size:14px;font-weight:600}.balanced{font-size:11px;padding:2px 7px;border-radius:5px;background:#e8eef8;color:#536887;font-weight:400}.axis-labels{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.axis-labels .dominant{color:var(--ink);font-weight:600}.axis-track{height:8px;border-radius:10px;display:flex;overflow:hidden;margin:8px 0 9px;position:relative;background:#dfe6f0}.axis-track:after{content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;background:#fff}.axis-track span{height:100%}.axis p{font-size:13px;color:var(--muted);line-height:1.65}.report-note{font-size:12px;color:var(--muted);margin-top:16px}.advice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.advice-card{border-top:2px solid #d4deed;padding:17px 0 2px}.advice-card h3{font-size:15px;margin-bottom:9px}.advice-card p{font-size:14px;color:#5b6e88;line-height:1.8}.report-learn{border-top:1px solid var(--line);margin-top:30px;padding-top:19px}.report-bottom{display:flex;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted);margin-top:26px}.history{padding-top:42px;padding-bottom:50px}.history-top{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:30px}.history-top h1{font-size:30px}.history-row{display:grid;grid-template-columns:80px 1fr auto;gap:24px;align-items:center;padding:25px 0;border-bottom:1px solid var(--line)}.history-row h2{font-size:18px}.history-row p{color:var(--muted);font-size:13px;margin-top:5px}.history-row .type-tile{padding:18px 10px}.row-actions{display:flex;gap:24px;align-items:center;font-size:14px}.empty-state{padding:68px 24px;border:1px solid var(--line);border-radius:16px;background:#fff;text-align:center}.empty-state h2{font-size:22px;margin-bottom:10px}.empty-state p{color:var(--muted);margin-bottom:24px}
/* 登录与 PDF 预览。 */
.login{min-height:calc(100dvh - 210px);display:grid;place-items:center;padding-top:35px;padding-bottom:35px}.login-card{text-align:center;max-width:360px;width:100%;padding:38px 24px}.login-card>img{width:40px;height:40px;margin-bottom:25px}.login-card h1{font-size:28px;letter-spacing:-.5px}.login-card>p{font-size:14px;color:var(--muted);margin:12px 0 28px}.login-card .btn{width:100%}.login-card .login-error{color:#a84a34;font-size:13px;margin:15px 0 0}.login-mode .site-footer{justify-content:center}.login-mode .brand{visibility:hidden}.login-mode .nav,.login-mode .account{display:none}.pdf-wrap{padding-top:28px;max-width:840px}.pdf-controls{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.paper{background:#fff;border:1px solid var(--line);padding:44px 48px;min-height:950px}.paper-brand{display:flex;align-items:center;gap:8px;font-weight:600;margin-bottom:30px}.paper-brand img{width:24px}.paper-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:24px}.paper-head h1{font-size:30px}.paper-head .pdf-type{font-size:36px;color:var(--blue);letter-spacing:-1px;font-weight:650}.paper .axes{grid-template-columns:1fr;gap:19px}.paper .advice-grid{grid-template-columns:1fr;gap:8px}.paper .advice-card{border:0;padding:6px 0}.paper-footer{margin-top:28px;padding-top:15px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.paper-summary{margin-top:24px;font-size:14px}.paper .section-heading{margin-top:24px}.paper .axis p{font-size:12px}.paper .advice-card p{font-size:13px}
@media(max-width:760px){.wrap{padding-left:20px;padding-right:20px}.header-inner{height:66px;gap:22px}.brand{font-size:20px}.brand img{width:27px;height:27px}.account{padding-left:17px;gap:12px}.nav{gap:20px}.home{padding-top:30px}.home-card{padding:30px;grid-template-columns:1fr 190px;gap:25px}.home-art{max-width:190px}h1{font-size:30px}.home-status{margin-top:24px}.site-footer{margin-left:20px;margin-right:20px}.report-hero{padding:27px;grid-template-columns:1fr 135px;gap:15px}.guide{width:135px}.report-hero h1{font-size:61px}.report-type-line{gap:15px}.report-type-line h2{font-size:23px}.axes{gap:23px}.advice-grid{gap:17px}.quiz{padding-top:23px}.quiz-controls-inner{padding:13px 20px}}
@media(max-width:540px){body{font-size:14px}.header-inner{height:63px;gap:10px}.brand{font-size:19px;gap:7px}.brand img{width:25px;height:25px}.nav{margin-left:auto}.nav a{font-size:13px}.nav a:first-child{display:none}.account{padding-left:12px;gap:12px;font-size:12px}.account .text-button{font-size:12px}.home{padding-top:25px;padding-bottom:10px}.greeting{font-size:13px;margin-bottom:17px}.home-card{display:block;padding:27px 23px;overflow:hidden}.home-card h1{font-size:29px;letter-spacing:-.8px}.home-intro{font-size:14px;margin-top:8px}.home-art{display:none}.home-status{margin-top:29px}.home-primary{margin-top:22px}.home-primary .btn{width:100%;min-height:48px}.home-hint{font-size:12px;text-align:center}.home-under{margin-top:25px}.recent-row{gap:13px}.type-tile{min-width:64px;font-size:15px}.learn-grid{grid-template-columns:1fr 1fr;gap:20px}.site-footer{font-size:11px;padding-top:18px;padding-bottom:65px;gap:10px;flex-wrap:wrap}.quiz{padding-top:22px;padding-bottom:125px;padding-left:16px;padding-right:16px}.quiz-top h1{font-size:18px;letter-spacing:-.4px}.quiz-count{font-size:12px}.quiz-count strong{font-size:14px}.quiz-progress{margin-bottom:17px}.question-list{gap:11px}.question{padding:12px 11px;grid-template-columns:20px 1fr;gap:7px;border-radius:10px}.question-number{font-size:11px;padding-top:12px}.options{gap:8px}.option{font-size:14px;min-height:98px;padding:12px 10px;flex-direction:column;align-items:flex-start;gap:8px;line-height:1.65}.option input{width:16px;height:16px}.quiz-controls-inner{padding:12px 16px;gap:14px;flex-wrap:wrap;justify-content:space-between}.save-status{position:absolute;bottom:78px;right:18px;background:#f5f7faee;padding:2px 8px;border-radius:4px;font-size:11px;max-width:calc(100% - 95px);text-align:right}.quiz-controls .btn{min-width:150px;min-height:45px}.quiz-controls .btn.quiet{min-width:80px}.quiz-mode .preview-toggle{bottom:81px}.quiz-message{font-size:12px}.report{padding-top:24px}.report-toolbar{margin-bottom:17px;gap:10px}.report-toolbar p{font-size:14px}.report-toolbar p span{display:block;margin-left:0;font-size:11px}.report-toolbar .btn{font-size:12px;min-height:38px;padding:7px 12px}.report-hero{padding:25px 23px;display:block;position:relative}.guide{display:none}.report-type-line{margin:8px 0 15px;gap:19px}.report-hero h1{font-size:60px;letter-spacing:-3px}.report-type-line h2{font-size:24px}.report-hero p{font-size:14px;line-height:1.8}.report-hero .aliases{font-size:11px;margin-top:13px}.section-heading{margin-top:27px;margin-bottom:18px}.section-heading h2{font-size:19px}.section-heading span{font-size:11px}.axes{grid-template-columns:1fr;gap:24px}.axis-title{margin-bottom:9px}.axis p{font-size:13px}.axis-track{height:8px}.advice-grid{grid-template-columns:1fr;gap:12px}.advice-card{padding-top:13px}.advice-card p{font-size:14px}.report-bottom{flex-direction:column;gap:8px;font-size:11px}.history{padding-top:27px}.history-top h1{font-size:27px}.history-top{margin-bottom:17px}.history-row{grid-template-columns:65px 1fr;gap:15px;padding:23px 0}.history-row h2{font-size:17px}.history-row .type-tile{padding:15px 7px}.row-actions{grid-column:2;gap:24px;font-size:13px}.history-row p{font-size:12px}.pdf-wrap{padding-top:20px}.paper{padding:27px 22px;min-height:0}.paper-head{display:block}.paper-head h1{font-size:27px}.paper-head .pdf-type{margin-top:15px;font-size:32px}.paper .section-heading h2{font-size:18px}.pdf-controls .btn{font-size:13px;min-height:42px;padding:9px 13px}.paper-footer{overflow-wrap:anywhere}.preview-panel{bottom:60px}.quiz-mode .preview-panel{bottom:123px}}
@media(max-width:540px){.save-status{position:static;max-width:none;min-width:45px;flex:1;text-align:center;background:transparent;padding:0;font-size:11px}.quiz-controls-inner{flex-wrap:nowrap}.quiz-controls .btn{min-width:140px}.quiz-controls .btn.quiet{min-width:70px}.save-status button{padding:0 3px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
