:root{color-scheme:light;--page:#faf9fc;--paper:#fff;--ink:#272033;--muted:#72687f;--line:#e6dfed;--accent:#7543cf;--deep:#56309d;--soft:#f0e9fb;--red:#bf4057;--green:#087448;--green-bg:#eaf7f0;--radius:18px;--shadow:0 18px 50px #4123660c;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none}
html[data-theme=dark]{color-scheme:dark;--page:#15111d;--paper:#21192c;--ink:#f1ebf8;--muted:#bbaccb;--line:#453651;--accent:#a47aeb;--deep:#d5bbff;--soft:#342447;--red:#ffa5b8;--green:#8bdfb8;--green-bg:#173e2d;--shadow:0 18px 50px #0003}
*{box-sizing:border-box}html{scroll-behavior:smooth;scrollbar-color:#b6a3ce var(--page);scroll-padding-top:110px}body{margin:0;padding-bottom:100px;background:var(--page);color:var(--ink);font-size:15px;line-height:1.65}button,input,select{font:inherit;color:inherit}button,a,input,select,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--deep)}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button{touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2{text-wrap:balance}svg{width:21px;height:21px;flex:none;vertical-align:middle}em{font-style:normal;color:var(--accent)}::selection{color:#fff;background:#7646b9}input{caret-color:var(--accent)}input::placeholder{color:var(--muted);opacity:1}.skip{position:fixed;top:-60px;left:16px;z-index:200;background:var(--paper);padding:12px}.skip:focus{top:10px}
.app-header{position:relative;display:flex;align-items:center;gap:24px;max-width:1360px;margin:auto;padding:24px 40px;min-height:96px;z-index:10}.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:17px;white-space:nowrap;letter-spacing:-.4px}.brand-symbol{display:grid;place-items:center;background:var(--accent);color:white;width:34px;height:34px;border-radius:10px}.brand-symbol svg{width:21px;height:21px}.primary-nav{display:flex;align-items:center;gap:6px;margin-left:auto}.nav-item{display:flex;align-items:center;gap:8px;background:none;border:0;padding:10px 16px;border-radius:9px;color:var(--muted);font-size:14px;min-height:42px;white-space:nowrap}.nav-item svg{width:18px;height:18px}.nav-item.active{background:var(--soft);color:var(--deep);font-weight:650}.header-actions{display:flex;gap:8px}.icon-button{display:grid;place-items:center;min-width:40px;min-height:40px;padding:9px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink)}.icon-button svg{width:18px;height:18px}.main{max-width:1280px;padding:24px 40px 40px;margin:auto}.site-footer{max-width:1200px;margin:20px auto 0;padding:22px 0;border-top:1px solid var(--line);font-size:12px;display:flex;justify-content:space-between;color:var(--muted)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:10px 20px;border:1px solid var(--line);border-radius:10px;background:var(--paper);font-size:14px;font-weight:600;line-height:1.5;white-space:nowrap}.button svg{width:18px;height:18px}.primary{background:var(--accent);color:white;border-color:var(--accent)}html[data-theme=dark] .primary{background:#7642c6;border-color:#7642c6;color:#fff}.secondary{color:var(--ink);background:var(--paper)}.text-button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 0;color:var(--deep);background:none;border:0;font-size:13px;text-align:left}.text-button svg{width:16px;height:16px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-title h2{font-size:21px;font-weight:650;line-height:1.5}.section-title>span{color:var(--muted);font-size:13px}.learning-section{margin-top:46px}.bank-row{display:flex;align-items:center;gap:15px;min-height:100px;padding:19px 0;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink)}.bank-row>svg{width:17px;height:17px;color:var(--muted)}.module-symbol{width:40px;height:40px;display:grid;place-items:center;color:var(--accent);flex:none}.module-symbol svg{width:27px;height:27px}.row-copy{min-width:0;flex:1}.row-copy strong{display:block;font-size:19px;font-weight:650;line-height:1.5}.row-copy small{display:block;color:var(--muted);font-size:13px;margin-top:5px;line-height:1.65}.bank-count{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;flex:none}
.feature-question{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:24px;text-align:left;box-shadow:var(--shadow)}.question-top{display:flex;justify-content:space-between;align-items:center;gap:15px;color:var(--muted);font-size:12px;margin-bottom:22px}.question-top>svg{color:var(--accent)}.feature-question h3{font-size:19px;line-height:1.8;margin:0 0 20px}.feature-options{display:grid;gap:8px}.feature-options>div{display:flex;align-items:flex-start;gap:10px;font-size:13px;padding:10px 12px;border-radius:7px;background:var(--page);line-height:1.7}.feature-options b{font-weight:600;flex:none}.feature-options span{flex:1}.feature-options .correct{background:var(--green-bg);color:var(--green)}.feature-options svg{width:16px;height:16px;margin-top:4px}.feature-question>.text-button{margin-top:18px}
.desktop-links{display:grid;gap:0}.desktop-links>button{display:flex;align-items:center;justify-content:space-between;gap:16px;background:none;border:0;border-bottom:1px solid var(--line);padding:20px 0;color:var(--ink);text-align:left}.desktop-links>button>span{display:grid;grid-template-columns:26px 1fr;gap:2px 12px;align-items:center;min-width:0}.desktop-links>button>span>svg{grid-row:span 2;color:var(--accent)}.desktop-links strong{font-size:16px;font-weight:600}.desktop-links small{font-size:12px;color:var(--muted)}.desktop-links>button>svg{width:16px;height:16px}.desktop-links .exam-entry>span>svg,.desktop-links .exam-entry strong{color:var(--red)}
.quick-tools{margin-top:56px;padding-top:30px;border-top:1px solid var(--line)}.quick-tools h2{font-size:22px;margin-bottom:22px}.quick-tools>div{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.quick-tools button{display:flex;align-items:center;gap:12px;min-height:80px;padding:10px 0;background:none;border:0;text-align:left;color:var(--ink)}.quick-tools button>svg:first-child{color:var(--accent);width:24px;height:24px}.quick-tools button>span{flex:1}.quick-tools strong{display:block;font-size:15px;font-weight:650}.quick-tools small{display:block;font-size:12px;line-height:1.7;color:var(--muted);margin-top:5px}.quick-tools button>svg:last-child{width:16px;height:16px;color:var(--muted)}
.hero-search,.bank-search{display:flex;align-items:center;gap:12px;background:var(--paper);border:1px solid var(--line);border-radius:12px;min-height:58px;padding:6px 8px 6px 18px}.hero-search input,.bank-search input{background:none;border:0;min-width:0;flex:1;height:44px;color:var(--ink);font-size:14px}.hero-search>svg,.bank-search>svg{color:var(--accent);width:19px;height:19px}.hero-search button{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:8px;background:var(--accent);color:white}.bank-search button{height:42px;padding:0 18px;border:0;border-radius:7px;background:var(--accent);color:white;font-size:14px}
.view-heading{margin-bottom:30px}.view-heading h1{font-size:32px;font-weight:700;line-height:1.4;letter-spacing:-.5px}.view-heading p{margin-top:10px;font-size:14px;color:var(--muted)}.bank-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px}.bank-tabs button{display:flex;align-items:center;gap:16px;min-height:50px;padding:10px 18px;border:1px solid var(--line);border-radius:10px;background:var(--paper);font-size:15px;font-weight:600}.bank-tabs button span{color:var(--muted);font-size:12px;font-weight:400}.bank-tabs button.active{background:var(--soft);border-color:var(--accent);color:var(--deep)}.bank-workspace{max-width:940px}.bank-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.bank-heading h2{font-size:24px;line-height:1.4}.bank-heading p{font-size:12px;color:var(--muted);margin-top:6px}.question-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;margin:8px 0 10px;color:var(--muted);font-size:12px}.type-filters{display:flex;gap:4px}.type-filters button{border:0;border-radius:6px;background:none;font-size:12px;min-height:36px;padding:4px 11px;color:var(--muted)}.type-filters button.active{background:var(--soft);color:var(--deep)}.question-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:20px;margin-bottom:16px;overflow-wrap:anywhere}.question-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px;font-size:12px;color:var(--muted)}.question-meta>span{padding:3px 8px;border-radius:5px;background:var(--soft);color:var(--deep)}.question-meta small{font-size:12px}.question-card h3{font-size:15px;font-weight:600;line-height:1.85;margin-bottom:12px}.question-card h2{font-size:21px;line-height:1.85;margin-bottom:24px}.question-options{display:grid;gap:5px}.question-options>div,.question-options>button{display:flex;align-items:flex-start;gap:10px;min-height:36px;padding:8px 10px;background:var(--page);border:1px solid transparent;border-radius:6px;font-size:14px;line-height:1.7;text-align:left}.question-options b{font-size:12px;flex:none;width:22px;min-height:22px;display:grid;place-items:center;background:var(--soft);color:var(--deep);border-radius:4px;font-weight:600}.question-options .correct{background:var(--green-bg);color:var(--green)}.question-options .correct b{background:var(--green);color:var(--paper)}.answer-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.answer-row>strong{font-weight:500;color:var(--green);font-size:13px}.answer-row .text-button{font-size:12px;color:var(--muted)}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:28px 0;color:var(--muted);font-size:13px}.pagination button{background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:8px 15px;min-height:40px;color:var(--ink)}.empty-state{padding:50px 20px;text-align:center;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}.empty-state h3{font-size:18px}.empty-state p{margin-top:10px;font-size:14px}
.materials-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:28px}.device-feature{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:15px;background:var(--soft);border-radius:var(--radius);padding:34px}.device-feature h2{font-size:31px;line-height:1.4;margin-top:20px}.device-feature p{font-size:13px;color:var(--muted);line-height:1.9;margin:18px 0 24px}.device-feature>div>svg{width:27px;height:27px;color:var(--accent)}.device-art{height:300px;display:flex;align-items:center;justify-content:center;position:relative}.departure-tool{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:28px}.departure-tool>p{font-size:12px;color:var(--muted);margin-top:-8px;margin-bottom:20px}.departure-tool label{display:block;font-size:13px;margin:16px 0 8px;color:var(--muted)}.departure-tool input,.departure-tool select{width:100%;min-height:48px;padding:8px 12px;background:var(--page);border:1px solid var(--line);border-radius:8px;color:var(--ink)}.departure-tool input{font-size:26px;line-height:1.4}.departure-results{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.departure-results>div{background:var(--soft);border-radius:9px;padding:14px}.departure-results span{display:block;color:var(--muted);font-size:12px}.departure-results strong{display:block;font-size:27px;color:var(--deep);font-variant-numeric:tabular-nums}.departure-results small{font-size:11px;color:var(--muted)}.reference-list{margin-top:36px}.reference-list h2{font-size:22px;margin-bottom:16px}.reference-list>div{display:flex;align-items:center;gap:15px;min-height:72px;padding:18px 0;border-bottom:1px solid var(--line)}.reference-list svg{color:var(--accent)}.reference-list strong{font-size:15px;min-width:115px}.reference-list span{font-size:13px;color:var(--muted)}.preview-note{color:var(--muted);font-size:12px;margin-top:22px}
.quiz-page{max-width:900px;margin:auto}.quiz-status{display:flex;justify-content:space-between;color:var(--muted);font-size:13px}.quiz-progress{height:5px;background:var(--line);border-radius:4px;overflow:hidden;margin:16px 0 24px}.quiz-progress i{display:block;height:100%;background:var(--accent)}.quiz-actions{display:flex;gap:20px;align-items:center;justify-content:flex-end}.quiz-page .question-options>button{min-height:58px;padding:14px 16px;font-size:16px}.question-options .selected{border-color:var(--accent);background:var(--soft)}.question-options .incorrect,.quiz-feedback.incorrect{background:#fff0f3;color:#a52640}html[data-theme=dark] .question-options .incorrect,html[data-theme=dark] .quiz-feedback.incorrect{background:#4b2532;color:#ffb8c8}.quiz-feedback{padding:14px 16px;border-radius:8px;margin-top:20px;font-size:14px}.quiz-feedback.correct{background:var(--green-bg);color:var(--green)}.quiz-done{text-align:center;padding:80px 20px}.quiz-done>svg{width:60px;height:60px;color:var(--green);margin-bottom:24px}.quiz-done h1{font-size:36px}.quiz-done p{color:var(--muted);font-size:16px;margin:18px 0 32px}.quiz-done>.button{margin:6px}
.prototype-bar{position:fixed;z-index:100;left:50%;bottom:18px;transform:translateX(-50%);display:flex;align-items:center;gap:6px;background:#2b2039;color:#f1eafa;border:1px solid #5d4770;border-radius:50px;padding:6px 8px 6px 10px;box-shadow:0 7px 24px #1b11252b;font-size:12px;white-space:nowrap}.prototype-bar>a{display:flex;align-items:center;justify-content:center;gap:6px;min-width:36px;min-height:34px;padding:4px 10px;border-radius:30px}.prototype-bar>a:hover{background:#473454}.prototype-bar>a svg{width:14px;height:14px}.prototype-name{padding:0 16px;border-left:1px solid #6c557e;border-right:1px solid #6c557e}.prototype-hint{padding:0 10px;color:#c7b5d8;font-size:11px}.toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);max-width:min(450px,calc(100% - 32px));padding:13px 18px;background:#30223f;color:#fff;border-radius:10px;box-shadow:0 7px 24px #0002;font-size:13px;line-height:1.7;z-index:120;visibility:hidden}.toast.show{visibility:visible}
@media(hover:hover){.button.primary:hover{background:var(--deep);color:white}html[data-theme=dark] .button.primary:hover{background:#8955d7}.secondary:hover,.bank-row:hover,.icon-button:hover{background:var(--soft)}.bank-row:hover .module-symbol{transform:rotate(-5deg)}.nav-item:not(.active):hover{color:var(--deep);background:var(--soft)}.text-button:hover{text-decoration:underline;text-underline-offset:5px}.question-options>button:not(:disabled):hover{border-color:var(--accent)}}
@media(max-width:1100px){.app-header{padding-left:28px;padding-right:28px}.main{padding-left:28px;padding-right:28px}.site-footer{margin-left:28px;margin-right:28px}.quick-tools>div{gap:20px}.device-feature{padding:28px;grid-template-columns:1fr}.device-art{display:none}.materials-layout{grid-template-columns:1fr 1fr}}
@media(max-width:760px){body{padding-bottom:95px}.app-header{padding:18px 20px 8px;gap:14px;flex-wrap:wrap;min-height:110px}.brand{font-size:16px}.brand-symbol{width:31px;height:31px}.header-actions{margin-left:auto;gap:5px}.primary-nav{order:3;width:100%;margin:0;display:flex;gap:3px;border-bottom:1px solid var(--line);padding-bottom:8px}.nav-item{flex:1;justify-content:center;min-height:42px;padding:8px;font-size:13px;border-radius:7px}.nav-item svg{width:17px;height:17px}.icon-button{min-width:36px;min-height:36px;padding:8px}.main{padding:22px 20px 30px}.site-footer{margin:10px 20px 0;padding:20px 0;gap:12px;flex-wrap:wrap;font-size:11px}.section-title h2{font-size:20px}.section-title>span{font-size:12px}.bank-row{min-height:94px;gap:10px}.row-copy strong{font-size:17px}.row-copy small{font-size:12px}.module-symbol{width:30px}.module-symbol svg{width:23px;height:23px}.bank-count{font-size:11px}.quick-tools{margin-top:36px;padding-top:24px}.quick-tools h2{font-size:21px}.quick-tools>div{grid-template-columns:1fr;gap:0}.quick-tools button{min-height:77px;border-bottom:1px solid var(--line);padding:15px 0}.quick-tools small{font-size:12px}.hero-actions{margin-top:24px;gap:9px}.button{font-size:13px;padding:10px 16px;min-height:44px}.feature-question{padding:22px}.feature-question h3{font-size:18px}.view-heading h1{font-size:28px}.view-heading p{font-size:13px}.bank-tabs{gap:7px;margin-bottom:24px}.bank-tabs button{flex:1;padding:10px 11px;justify-content:center;font-size:13px;gap:7px;min-height:48px}.bank-tabs button span{display:none}.bank-heading h2{font-size:23px}.bank-heading .button{font-size:12px;padding:8px 12px;gap:6px}.bank-search{padding-left:12px;gap:8px}.bank-search input{font-size:13px}.bank-search button{padding:0 14px;font-size:13px}.question-toolbar{font-size:11px;flex-wrap:wrap;padding:9px 0;gap:8px}.type-filters{gap:0}.type-filters button{font-size:11px;padding:5px 8px}.question-card{padding:15px;margin-bottom:12px}.question-card h3{font-size:15px}.question-options>div{font-size:14px;padding:7px 8px;gap:8px}.answer-row{gap:8px}.answer-row>.text-button{font-size:11px}.materials-layout{grid-template-columns:1fr;gap:20px}.device-feature{grid-template-columns:1fr 1fr;padding:26px}.device-feature h2{font-size:27px}.device-feature .button{padding:10px 12px;font-size:12px;gap:7px}.device-art{height:260px;display:flex}.reference-list>div{flex-wrap:wrap;gap:7px 12px}.reference-list strong{min-width:0;flex:1}.reference-list span{flex-basis:100%;padding-left:33px;font-size:12px}.prototype-bar{bottom:12px;padding:5px 6px;gap:2px;max-width:calc(100% - 24px)}.prototype-bar>a{padding:4px 8px;font-size:11px;min-width:32px}.prototype-name{font-size:11px;padding:0 10px}.prototype-hint{display:none}.toast{bottom:76px}.quiz-page .question-card h2{font-size:19px}.quiz-page .question-options>button{font-size:15px}.quiz-done h1{font-size:29px}}
@media(max-width:360px){.main{padding-left:16px;padding-right:16px}.app-header{padding-left:16px;padding-right:16px}.bank-count{display:none}.brand{font-size:15px}.header-actions .icon-button:first-child{display:none}.device-feature{grid-template-columns:1fr}.device-art{display:none}.bank-tabs button{font-size:12px;padding:8px}.type-filters button{padding-left:6px;padding-right:6px}.prototype-bar>a>span{display:none}.prototype-name{padding:0 8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
