
:root{--ink:#15252b;--muted:#65747a;--line:#dfe7e5;--paper:#f4f7f6;--white:#fff;--nav:#142a32;--nav2:#203d45;--teal:#147a72;--teal2:#0e625d;--mint:#dff3eb;--amber:#f3b84b;--coral:#bd5b46;--soft:#f8faf9;--shadow:0 12px 32px rgba(24,50,53,.07);--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.5}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit}.app{min-height:100vh}.topbar{height:76px;background:var(--white);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.brand-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.brand-mark{width:40px;height:40px;border-radius:12px;background:var(--nav);color:var(--amber);display:grid;place-items:center;font-size:21px;font-weight:800;letter-spacing:-2px}.brand-title{display:block;font-size:16px;font-weight:800;letter-spacing:-.03em;line-height:1.15}.brand-sub{display:block;font-size:11px;color:var(--muted);line-height:1.25;margin:0}.top-right{display:flex;align-items:center;gap:16px}.catalog-total{font-size:12px;color:var(--muted);white-space:nowrap}.target-wrap{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);font-weight:650}.target-wrap select{border:1px solid var(--line);background:#f9fbfa;border-radius:10px;padding:9px 30px 9px 12px;color:var(--ink);font-weight:750;outline:none}.layout{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:calc(100vh - 76px)}.sidebar{background:var(--nav);color:#d8e4e3;padding:22px 14px 18px;display:flex;flex-direction:column;gap:20px}.side-label{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#8ea5a7;font-weight:800;padding:0 12px}.nav-list{display:grid;gap:5px}.nav-btn{border:0;background:transparent;color:#c4d3d4;width:100%;padding:11px 12px;border-radius:11px;text-align:left;display:flex;align-items:center;gap:12px;font-weight:650;font-size:13px;transition:.15s}.nav-btn:hover{background:rgba(255,255,255,.07);color:#fff}.nav-btn.active{background:var(--nav2);color:#fff;box-shadow:inset 3px 0 var(--amber)}.nav-icon{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:rgba(255,255,255,.08);font-size:13px;color:#d7e5e3}.nav-btn.active .nav-icon{background:#f3b84b;color:#172b31}.side-card{margin-top:auto;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.045);border-radius:15px;padding:15px 14px}.side-card strong{display:block;font-size:13px;color:#fff;margin-bottom:5px}.side-card p{color:#9fb3b3;font-size:11px;margin:0 0 12px;line-height:1.5}.side-card .small-rule{color:#f6cd79;font-size:11px;font-weight:750}.side-foot{font-size:10px;color:#82999b;padding:0 10px}.content{padding:30px clamp(18px,3vw,42px) 24px;min-width:0;max-width:1600px;width:100%;margin:0 auto}.footer{border-top:1px solid var(--line);margin-top:36px;padding:18px 0 4px;color:#758287;font-size:11px;display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between}.footer a{color:var(--teal);font-weight:700;text-decoration:none}.footer a:hover{text-decoration:underline}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.16em;color:var(--teal);font-weight:850}.page-title{font-size:29px;letter-spacing:-.045em;line-height:1.12;margin:6px 0 8px}.page-subtitle{color:var(--muted);margin:0;max-width:730px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:30px 0 14px}.section-head h2{font-size:17px;letter-spacing:-.025em;margin:0}.section-head p{color:var(--muted);font-size:12px;margin:3px 0 0}.hero{position:relative;overflow:hidden;background:linear-gradient(112deg,#183840 0%,#1d5559 56%,#2b7771 100%);color:white;padding:31px 34px;border-radius:23px;min-height:220px;display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow)}.hero:before,.hero:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:50%;pointer-events:none}.hero:before{width:360px;height:360px;right:-90px;top:-120px}.hero:after{width:240px;height:240px;right:-30px;top:-60px}.hero-copy{position:relative;z-index:1;max-width:660px}.hero .eyebrow{color:#a8e2d0}.hero h1{font-size:clamp(26px,3vw,38px);line-height:1.06;letter-spacing:-.05em;margin:9px 0 12px;max-width:600px}.hero p{margin:0;color:#d2e7e1;max-width:560px}.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.hero-art{z-index:1;width:210px;height:150px;margin:0 25px 0 18px;border:1px solid rgba(255,255,255,.17);border-radius:18px;background:rgba(255,255,255,.07);display:flex;flex-direction:column;justify-content:center;align-items:center;backdrop-filter:blur(5px);box-shadow:inset 0 0 30px rgba(255,255,255,.04)}.frequency{font:700 29px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.02em;color:#fff}.frequency span{color:var(--amber)}.wave{width:155px;height:42px;margin-top:14px;opacity:.9}.micro{font-size:10px;color:#b7d2cc;letter-spacing:.12em;text-transform:uppercase;margin-top:8px}.btn{border:0;border-radius:10px;padding:11px 15px;font-weight:750;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;transition:transform .12s,background .12s,box-shadow .12s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--amber);color:#24323a;box-shadow:0 5px 12px rgba(14,30,33,.16)}.btn-primary:hover{background:#ffd06f}.btn-light{background:#fff;color:#1b4549}.btn-light:hover{background:#e9f7f1}.btn-secondary{background:var(--mint);color:#145b55}.btn-secondary:hover{background:#c9ecdf}.btn-outline{background:transparent;border:1px solid var(--line);color:var(--ink)}.btn-outline:hover{background:#f7faf9}.btn-dark{background:var(--nav);color:white}.btn-dark:hover{background:#23444c}.btn-sm{padding:8px 11px;font-size:12px;border-radius:9px}.btn-danger{background:#fff0ed;color:#a64331}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 0}.metric,.card,.module-card,.question-row,.exam-box{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 4px 14px rgba(24,50,53,.035)}.metric{padding:17px 19px;display:flex;align-items:center;justify-content:space-between;gap:10px}.metric-label{font-size:11px;color:var(--muted);font-weight:650}.metric-number{font-size:24px;font-weight:850;letter-spacing:-.05em;margin-top:3px}.metric-note{font-size:10px;color:#869399;margin-top:2px}.metric-icon{width:38px;height:38px;border-radius:12px;background:#eaf5f1;color:var(--teal);display:grid;place-items:center;font-weight:850;font-size:15px}.module-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.module-card{padding:15px 15px 14px;min-width:0;transition:transform .14s,border-color .14s,box-shadow .14s;cursor:pointer}.module-card:hover{transform:translateY(-2px);border-color:#a9d3c8;box-shadow:var(--shadow)}.module-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.module-code{width:34px;height:34px;border-radius:10px;background:var(--nav);color:#fff;display:grid;place-items:center;font-weight:850;font-size:14px}.module-count{font-size:10px;color:var(--muted);font-weight:700}.module-name{font-size:12px;font-weight:800;margin:12px 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.module-caption{font-size:10px;color:var(--muted);min-height:28px}.progress{height:6px;background:#e8efed;border-radius:20px;overflow:hidden}.progress>span{display:block;height:100%;background:linear-gradient(90deg,#1a8a78,#6ec39e);border-radius:20px}.module-progress{font-size:10px;color:#75848a;display:flex;justify-content:space-between;margin:7px 0 0}.two-col{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.85fr);gap:16px}.card{padding:20px}.card h3{font-size:15px;letter-spacing:-.025em;margin:0}.card-intro{font-size:12px;color:var(--muted);margin:5px 0 16px}.path-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.path-step{border:1px solid var(--line);border-radius:13px;padding:14px;position:relative;min-height:114px}.step-number{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#e6f4ee;color:var(--teal);font-weight:850;font-size:11px;margin-bottom:9px}.path-step strong{font-size:12px;display:block}.path-step span{font-size:10px;color:var(--muted)}.shortcut-list{display:grid;gap:9px}.shortcut{padding:12px;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:11px;text-align:left;background:white;color:var(--ink)}.shortcut:hover{border-color:#a8d4c7;background:#f9fcfa}.shortcut-icon{width:34px;height:34px;border-radius:10px;background:#e8f5ef;color:var(--teal);display:grid;place-items:center;font-weight:900}.shortcut strong{display:block;font-size:12px}.shortcut small{font-size:10px;color:var(--muted)}.notice{border-radius:13px;background:#fff8e9;border:1px solid #f2e2b8;color:#68532a;padding:13px 15px;font-size:11px;margin:14px 0}.notice strong{color:#4e3e20}.tag{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:999px;background:#e9f4ef;color:#2d6b5c;font-size:10px;font-weight:800}.tag.dark{background:#e8edef;color:#4c6067}.tag.amber{background:#fff3d3;color:#805a0a}.tag.red{background:#ffede9;color:#ab4a38}.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.field{display:grid;gap:6px;min-width:150px}.field label{font-size:11px;color:#5b696e;font-weight:750}.field select,.field input{border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px 12px;outline:none;min-width:0;color:var(--ink)}.field select:focus,.field input:focus{border-color:#5fa998;box-shadow:0 0 0 3px rgba(20,122,114,.10)}.grow{flex:1}.setup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.setup-card{padding:20px;border:1px solid var(--line);border-radius:15px;background:#fff}.setup-card h3{font-size:14px;margin:0 0 6px}.setup-card p{font-size:11px;color:var(--muted);margin:0 0 14px}.form-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}.inline-note{font-size:11px;color:var(--muted)}.exam-modules{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.exam-module-pill{padding:8px 11px;border:1px solid var(--line);border-radius:10px;background:#f8faf9;min-width:90px}.exam-module-pill b{display:block;font-size:12px}.exam-module-pill span{font-size:10px;color:var(--muted)}.question-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.question-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.question-number{font-size:12px;color:var(--muted);font-weight:750}.question-nav{display:flex;gap:8px;align-items:center}.question-panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:clamp(18px,2.8vw,30px);box-shadow:var(--shadow)}.question-title{font-size:clamp(18px,2vw,23px);line-height:1.35;letter-spacing:-.025em;margin:0 0 18px;max-width:920px}.context-images{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;margin:0 0 18px}.context-figure{margin:0;max-width:100%;padding:8px;border:1px solid #e8eeec;border-radius:12px;background:#fbfcfc}.context-figure img{display:block;max-width:min(100%,760px);max-height:75vh;width:auto;height:auto;object-fit:contain}.context-figure img.clickable-image{cursor:zoom-in}.source-details{margin:10px 0 16px;font-size:11px;color:var(--muted)}.source-details summary{cursor:pointer;color:var(--teal);font-weight:750}.source-details img{display:block;max-width:min(100%,760px);max-height:75vh;width:auto;height:auto;object-fit:contain;margin-top:10px;border:1px solid var(--line);border-radius:10px;background:white}.answer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.answer-option{position:relative;display:flex;align-items:flex-start;gap:12px;text-align:left;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);min-height:64px;transition:.14s;line-height:1.45}.answer-option:hover:not(:disabled){border-color:#81bfb0;background:#f7fcfa;transform:translateY(-1px)}.answer-option:disabled{cursor:default}.answer-option.selected{border-color:#317e72;background:#edf8f3;box-shadow:0 0 0 2px rgba(49,126,114,.10)}.answer-option.correct{border-color:#419d72;background:#ebf8ef}.answer-option.incorrect{border-color:#d27763;background:#fff1ed}.option-index{flex:none;width:27px;height:27px;border:1px solid #dce7e3;border-radius:8px;display:grid;place-items:center;font-size:11px;font-weight:850;color:#55716c;background:#f7faf8}.selected .option-index{background:var(--teal);border-color:var(--teal);color:white}.correct .option-index{background:#369167;border-color:#369167;color:#fff}.incorrect .option-index{background:#bd5b46;border-color:#bd5b46;color:#fff}.option-content{display:flex;align-items:center;min-height:27px;flex:1;min-width:0;font-size:14px;font-weight:560}.option-content img{max-width:min(100%,560px);max-height:42vh;width:auto;height:auto;object-fit:contain;display:block}.option-content img.tall{max-height:50vh}.option-blank{color:#91a0a2;font-style:italic}.feedback{display:flex;align-items:flex-start;gap:11px;padding:14px 16px;border-radius:12px;margin-top:14px;font-size:12px}.feedback.ok{background:#eaf7ef;color:#215e40}.feedback.no{background:#fff0ec;color:#8a3c2d}.feedback strong{display:block;font-size:13px;margin-bottom:2px}.feedback-icon{font-size:17px;line-height:1}.session-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.session-footer .left{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.exam-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:15px;align-items:start}.exam-side{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;position:sticky;top:94px}.exam-side h3{margin:0;font-size:13px}.exam-side p{font-size:10px;color:var(--muted);margin:3px 0 12px}.exam-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:15px}.exam-tab{border:1px solid var(--line);border-radius:9px;background:#f8faf9;padding:7px 8px;font-size:10px;font-weight:800;color:#536469}.exam-tab.active{background:#193f45;color:white;border-color:#193f45}.exam-tab span{font-weight:500;opacity:.8}.exam-dots{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.exam-dot{aspect-ratio:1;border:1px solid var(--line);background:#f8faf9;border-radius:8px;color:#718085;font-weight:750;font-size:10px}.exam-dot:hover{border-color:#56a392}.exam-dot.answered{background:#dcf2e8;border-color:#a8d7c4;color:#226c59}.exam-dot.current{outline:2px solid var(--teal);outline-offset:1px;color:var(--teal)}.exam-submit{width:100%;margin-top:14px}.result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.result-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:16px}.result-card h3{margin:0 0 8px;font-size:13px}.result-score{font-size:29px;font-weight:880;letter-spacing:-.055em}.result-status{margin-top:7px}.result-summary{display:flex;gap:16px;align-items:center;padding:22px;border-radius:18px;margin:18px 0 16px}.result-summary.pass{background:#eaf7ef;border:1px solid #cce9d6;color:#205d3d}.result-summary.fail{background:#fff1ed;border:1px solid #f1d2ca;color:#8c4133}.result-symbol{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.7);font-size:24px;font-weight:900}.result-summary h2{font-size:20px;margin:0 0 3px;letter-spacing:-.03em}.result-summary p{margin:0;font-size:12px;opacity:.84}.list-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:17px 0}.question-list{display:grid;gap:8px}.question-row{padding:13px 15px;display:flex;align-items:center;gap:13px}.row-id{min-width:56px;font-weight:850;font-size:12px;color:var(--teal)}.row-copy{min-width:0;flex:1}.row-prompt{font-size:12px;font-weight:650;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.row-sub{font-size:10px;color:var(--muted);margin-top:3px}.row-actions{display:flex;gap:6px;align-items:center}.icon-btn{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;background:white;display:grid;place-items:center;color:#718085;font-size:15px}.icon-btn:hover{background:#f5faf7;border-color:#acd5c8;color:var(--teal)}.icon-btn.saved{color:#bc8517;border-color:#efd99f;background:#fff8e7}.pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin:18px 0}.page-indicator{font-size:11px;color:var(--muted);padding:0 8px}.empty-state{text-align:center;padding:36px 20px;background:white;border:1px dashed #cbd8d5;border-radius:16px;color:var(--muted)}.empty-icon{font-size:27px;color:#71a89a;margin-bottom:8px}.empty-state strong{display:block;color:var(--ink);font-size:14px;margin-bottom:3px}.empty-state p{margin:0;font-size:12px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stat-box{padding:16px;border-radius:14px;background:white;border:1px solid var(--line)}.stat-box .label{font-size:10px;color:var(--muted);font-weight:700}.stat-box .value{font-size:24px;font-weight:850;letter-spacing:-.04em;margin-top:3px}.stat-modules{display:grid;gap:12px}.stat-module{display:grid;grid-template-columns:46px minmax(140px,1fr) 110px;align-items:center;gap:12px;background:white;border:1px solid var(--line);border-radius:13px;padding:12px 14px}.stat-module .module-code{width:34px;height:34px}.stat-module-name{font-size:12px;font-weight:800}.stat-module-sub{font-size:10px;color:var(--muted)}.stat-module-score{text-align:right;font-size:11px;font-weight:750;color:#54716b}.data-tools{display:flex;gap:8px;flex-wrap:wrap}.toast{position:fixed;right:22px;bottom:22px;z-index:50;background:#17363e;color:#fff;padding:12px 16px;border-radius:12px;box-shadow:var(--shadow);font-size:12px;opacity:0;transform:translateY(12px);pointer-events:none;transition:.22s}.toast.show{opacity:1;transform:translateY(0)}.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}.mobile-menu{display:none}.modal{position:fixed;inset:0;background:rgba(10,25,29,.84);z-index:60;display:none;align-items:center;justify-content:center;padding:20px}.modal.open{display:flex}.modal img{max-width:min(96vw,1300px);max-height:92vh;object-fit:contain;background:white;border-radius:10px}.modal-close{position:absolute;top:18px;right:22px;border:0;background:rgba(255,255,255,.15);color:white;border-radius:50%;width:40px;height:40px;font-size:22px}.range-text{font-size:11px;color:var(--muted)}.section-rule{border-top:1px solid var(--line);margin:18px 0}.callout{border-left:3px solid var(--amber);background:#fffbf1;padding:13px 15px;border-radius:0 12px 12px 0;color:#64532b;font-size:11px;margin:15px 0}.mini-check{color:#298666;font-weight:900}
@media(max-width:1100px){.module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-art{margin-right:2px;width:190px}.two-col{grid-template-columns:1fr 1fr}}
@media(max-width:780px){.topbar{height:68px;padding:0 16px}.brand{gap:8px}.brand-mark{width:34px;height:34px}.brand-title{font-size:clamp(12px,3.2vw,14px)}.brand-sub{font-size:10px}.layout{grid-template-columns:1fr}.sidebar{position:sticky;top:68px;z-index:15;padding:8px 10px;background:var(--nav);overflow-x:auto;display:block}.sidebar .side-label,.side-card,.side-foot{display:none}.nav-list{display:flex;gap:5px;width:max-content}.nav-btn{width:auto;padding:9px 11px;font-size:11px;white-space:nowrap}.nav-icon{width:20px;height:20px}.content{padding:22px 16px}.catalog-total{display:none}.hero{padding:25px 23px;min-height:190px}.hero-art{display:none}.metrics{gap:8px}.metric{padding:13px}.metric-number{font-size:20px}.metric-icon{display:none}.two-col{grid-template-columns:1fr}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exam-layout{grid-template-columns:1fr}.exam-side{position:static;order:-1}.exam-dots{grid-template-columns:repeat(10,1fr)}.setup-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,1fr)}.answer-grid{grid-template-columns:1fr}.question-head{align-items:flex-start}.question-panel{padding:18px}.question-nav .btn{padding:8px 10px}.stat-module{grid-template-columns:40px minmax(0,1fr) 75px}.page-title{font-size:25px}}
@media(max-width:430px){.brand-sub{display:none}.target-wrap span{display:none}.target-wrap select{padding:8px 24px 8px 9px}.top-right{gap:8px}.brand-title{font-size:clamp(11px,3.4vw,13px)}.brand-mark{width:32px;height:32px}.topbar{padding:0 12px}.nav-btn{padding:8px}.nav-icon{display:none}.hero h1{font-size:27px}.metrics{grid-template-columns:1fr 1fr}.metric:last-child{display:none}.path-steps{grid-template-columns:1fr}.path-step{min-height:unset}.row-actions .btn{display:none}.row-id{min-width:49px}.session-footer{align-items:stretch;flex-direction:column}.session-footer .left{justify-content:space-between}}

/* Lernhilfe: vollständiger Anhang aus dem Prüfungsfragen-PDF */
.reference-fab{position:fixed;right:24px;bottom:20px;z-index:30;border:0;border-radius:999px;background:var(--nav);color:#fff;padding:12px 18px;display:flex;align-items:center;gap:9px;font-weight:750;box-shadow:0 10px 26px rgba(20,42,50,.25)}
.reference-fab:hover{background:var(--teal2);transform:translateY(-1px)}
.reference-fab .reference-fab-icon{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--amber);color:var(--nav);font-size:15px}
.reference-overlay{position:fixed;inset:0;z-index:100;background:rgba(9,24,29,.66);display:grid;place-items:center;padding:18px}
.reference-dialog{width:min(1080px,100%);height:min(92vh,960px);background:#fff;border-radius:18px;box-shadow:0 24px 80px rgba(0,0,0,.35);display:flex;flex-direction:column;overflow:hidden}
.reference-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px 12px;border-bottom:1px solid var(--line);background:#fff}
.reference-heading{min-width:0}.reference-heading .eyebrow{margin:0 0 2px}.reference-heading h2{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.02em}
.reference-close{flex:none;width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:var(--ink);font-size:24px;line-height:1}
.reference-close:hover{background:var(--mint)}
.reference-tabs{display:flex;gap:7px;overflow-x:auto;padding:10px 18px;border-bottom:1px solid var(--line);background:#fbfcfc;scrollbar-width:thin}
.reference-tab{flex:none;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);padding:8px 12px;font-size:13px;font-weight:700;white-space:nowrap}
.reference-tab.active{border-color:var(--teal);background:var(--teal);color:#fff}
.reference-content{flex:1;min-height:0;overflow:auto;padding:14px 18px 28px;overscroll-behavior:contain;background:#f1f4f3}
.reference-note{max-width:900px;margin:0 auto 12px;color:var(--muted);font-size:13px}
.reference-page{max-width:900px;margin:0 auto 18px;padding:12px;background:#fff;border:1px solid #d9e0df;border-radius:8px;box-shadow:0 5px 16px rgba(24,50,53,.08)}
.reference-page img{display:block;width:100%;height:auto}
.reference-page figcaption{text-align:right;color:var(--muted);font-size:11px;padding:7px 2px 0}
@media(max-width:600px){.reference-fab{right:13px;bottom:calc(12px + env(safe-area-inset-bottom));padding:10px 14px}.reference-overlay{padding:0}.reference-dialog{width:100%;height:100vh;height:100dvh;border-radius:0}.reference-head{padding:12px 14px}.reference-heading h2{font-size:17px}.reference-tabs{padding:9px 12px}.reference-content{padding:11px 9px 24px}.reference-page{padding:8px;border-radius:5px}}
@media(prefers-reduced-motion:reduce){.reference-fab{transition:none}}

.reference-content{scrollbar-gutter:stable}.sheet-shell{max-width:1120px;margin:0 auto;display:grid;gap:16px}.sheet-intro{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;padding:12px 15px;border:1px solid #d9e8e2;border-radius:13px;background:#fff}.sheet-intro strong{font-size:13px;color:#1d5e53}.sheet-intro span{font-size:11px;color:var(--muted)}.sheet-group{background:#fff;border:1px solid var(--line);border-radius:15px;padding:15px;box-shadow:0 4px 14px rgba(24,50,53,.035);min-width:0}.sheet-group-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:5px 12px;margin:0 0 12px}.sheet-group-head h3{font-size:14px;margin:0;letter-spacing:-.02em}.sheet-group-head span{font-size:10px;color:var(--muted)}.sheet-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:9px}.sheet-card{border:1px solid #e3eae8;border-radius:11px;background:#fbfcfc;padding:12px;min-width:0}.sheet-card h4{font-size:11px;text-transform:uppercase;letter-spacing:.045em;color:#597069;margin:0 0 8px}.sheet-equation{font:600 14px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere;color:#193a40}.sheet-card p,.sheet-figure-card>p{font-size:10px;color:var(--muted);margin:8px 0 0;line-height:1.5}.sheet-table-wrap{max-width:100%;overflow:auto;border:1px solid #e3eae8;border-radius:10px;scrollbar-width:thin}.sheet-table{border-collapse:collapse;width:100%;min-width:510px;background:#fff;font-size:11px;line-height:1.45}.sheet-table th{position:sticky;top:0;background:#f3f7f5;color:#50615f;text-align:left;font-size:10px;font-weight:800;white-space:nowrap}.sheet-table th,.sheet-table td{padding:8px 10px;border-bottom:1px solid #e8eeec;vertical-align:top}.sheet-table tbody tr:last-child td{border-bottom:0}.sheet-table tbody tr:nth-child(even){background:#fbfcfc}.sheet-table.compact{min-width:440px}.sheet-table.bandplan-table{min-width:770px}.sheet-table.bandplan-table td:first-child{white-space:nowrap;font-weight:750;color:#245e57}.sheet-table.bandplan-table td:nth-child(2){white-space:nowrap}.sheet-figure-card{display:grid;justify-items:center;gap:10px;padding:14px;border:1px solid #e4ebe9;border-radius:12px;background:#fbfcfc}.sheet-figure{margin:0;width:100%;display:grid;justify-items:center;gap:8px}.sheet-figure img{display:block;max-width:100%;max-height:74vh;width:auto;height:auto;object-fit:contain;padding:10px;background:#fff;border:1px solid #e1e7e5;border-radius:9px}.sheet-figure figcaption{font-size:10px;color:var(--muted);text-align:center}.sheet-figure.cable-figure img{max-width:min(100%,690px)}.resistor-swatch{display:inline-block;width:15px;height:15px;margin:0 7px -3px 0;border-radius:4px;background:var(--swatch);border:1px solid rgba(20,42,50,.22)}.series-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:9px}.series-card{border:1px solid #e3eae8;border-radius:11px;padding:12px;background:#fbfcfc}.series-card>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.series-card strong{font-size:14px;color:var(--teal)}.series-card span{font-size:10px;color:var(--muted)}.series-card p{font-size:11px;line-height:1.8;margin:8px 0 0;color:#3e5355}.glossary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}.glossary-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;min-width:0}.glossary-card h3{font-size:12px;margin:0 0 8px;color:#245d55}.glossary-card dl{margin:0}.glossary-row{display:grid;grid-template-columns:minmax(68px,.4fr) minmax(0,1fr);gap:10px;padding:6px 0;border-top:1px solid #edf1ef;font-size:10px;line-height:1.45}.glossary-row:first-child{border-top:0}.glossary-row dt{font-weight:800;color:#345c58;overflow-wrap:anywhere}.glossary-row dd{margin:0;color:#526266}.constant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}.constant-grid div{display:grid;gap:3px;padding:10px;border:1px solid #e3eae8;border-radius:10px;background:#fbfcfc}.constant-grid strong{font-size:10px;color:#637477}.constant-grid span{font-size:12px;font-weight:700;color:#244c4b}.sheet-info-note{padding:12px 14px;border:1px solid #efdfb8;border-radius:12px;background:#fff8e9;color:#65532c;font-size:11px;line-height:1.5}.bandplan-group{padding:13px}.bandplan-group .sheet-table-wrap{max-height:57vh}.bandplan-group .sheet-table td:last-child{min-width:460px}.reference-page{display:none}
@media(max-width:700px){.sheet-group{padding:11px}.sheet-card-grid{grid-template-columns:1fr}.glossary-grid{grid-template-columns:1fr}.glossary-row{grid-template-columns:minmax(64px,.38fr) minmax(0,1fr)}.bandplan-group .sheet-table-wrap{max-height:unset}.sheet-figure img{max-height:68vh}.sheet-table td,.sheet-table th{padding:7px 8px}}

