.bank-summary{display:flex;align-items:center;gap:9px;color:var(--soft);font-size:12px;margin:13px 0 22px;line-height:1.9;flex-wrap:wrap}.bank-summary button{font-size:12px;color:var(--green);padding:6px}.bank-hero{padding:24px;border:1px solid #cad9c2;background:#edf2e6;border-radius:22px;margin-bottom:25px}.bank-hero h2{font-size:23px;line-height:1.5;margin:12px 0 10px;letter-spacing:-.5px}.bank-hero p{font-size:14px;color:var(--soft);line-height:1.9;margin-bottom:18px}.bank-hero .btn{margin-right:10px}.bank-search{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:14px;background:var(--paper);padding:6px 7px 6px 15px;margin:16px 0}.bank-search input{border:0;background:transparent;color:var(--ink);outline:none;width:100%;min-width:0;font-size:14px;padding:9px 0}.bank-filters{display:flex;gap:8px;align-items:center;margin:12px 0;flex-wrap:wrap}.filter-chip{border:1px solid var(--line);background:var(--paper);color:var(--soft);font-size:12px;padding:8px 12px;border-radius:100px;min-height:35px}.filter-chip.active{background:var(--pale);border-color:#bfd2b5;color:var(--green);font-weight:600}.bank-count{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--soft);margin:24px 0 13px}.bank-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.bank-lesson{background:var(--paper);border:1px solid var(--line);border-radius:19px;padding:20px;display:flex;flex-direction:column;text-align:left;min-height:205px}.bank-lesson:hover{border-color:#b0c5a4}.bank-lesson h3{font-size:17px;line-height:1.65;letter-spacing:-.3px;margin:16px 0 12px;font-weight:600;overflow-wrap:anywhere}.bank-lesson .lesson-tail{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--soft);font-size:11px}.bank-lesson .lesson-tail .icon{width:17px;height:17px;color:var(--green)}.bank-lesson .tiny{line-height:1.7}.bank-more{display:flex;justify-content:center;margin-top:23px}.real-problem{font-size:16px;line-height:1.95;letter-spacing:0}.real-problem .katex{font-size:1.08em}.question-version{display:flex;align-items:center;gap:6px;margin:7px 0 17px}.question-version button{font-size:11px;color:var(--soft);padding:7px 11px;border-radius:9px;background:#f0f3ea;border:1px solid transparent;min-height:31px}.question-version button.active{background:var(--pale);border-color:#cbdac2;color:var(--green)}.source-label{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:var(--soft);text-align:left;padding:4px 0}.source-label .icon{width:12px;height:12px}.original-question{position:relative;display:block;width:100%;padding:0;margin:8px 0;background:white;border-radius:8px;overflow:hidden}.original-question img{width:100%;height:auto;display:block}.original-question .image-hint{font-size:10px;display:flex;align-items:center;gap:4px;color:var(--soft);justify-content:center;padding:9px;background:#f8faf4}.original-question .image-hint .icon{width:12px;height:12px}.real-options{display:grid;grid-template-columns:1fr;gap:9px;margin:17px 0 8px}.real-option{display:flex;align-items:flex-start;gap:11px;padding:10px 12px;border:1px solid #e3e8dc;border-radius:11px;font-size:14px;line-height:1.9}.real-option b{color:var(--green);font-size:13px;padding-top:1px}.real-options.compact-two{grid-template-columns:1fr 1fr}.real-figures{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:15px 0 6px}.real-figures button{padding:0;max-width:100%}.real-figures img{max-width:340px;max-height:150px;object-fit:contain;display:block;width:auto;height:auto}.editor-note{font-size:11px;line-height:1.8;color:#8e6938;background:#f5eedf;padding:11px 13px;border-radius:10px;margin:14px 0 3px}.solution-tabs{display:flex;align-items:center;gap:6px;padding:0 18px 13px;border-bottom:1px solid var(--line)}.solution-tab{padding:8px 12px;border-radius:9px;font-size:12px;color:var(--soft);background:#f1f3ed;min-height:34px}.solution-tab.active{background:var(--pale);color:var(--green);font-weight:600}.solution-content .katex-display{margin:.6em 0;overflow-x:auto;overflow-y:hidden;padding:5px 0;max-width:100%;font-size:.95em}.solution-content .katex{font-size:1.05em}.note-photo{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:13px 0}.note-photo img{display:block;width:100%;height:auto}.note-photo button{padding:0;width:100%}.note-photo .image-hint{font-size:11px;color:var(--green);padding:10px;display:flex;align-items:center;justify-content:center;gap:6px;background:#f7f9f2}.note-photo .image-hint .icon{height:14px;width:14px}.provenance-block{border-bottom:1px solid var(--line);padding:16px 0;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.provenance-block strong{display:block;color:var(--green);font-size:11px;margin-bottom:7px;letter-spacing:.2px}.provenance-block:last-child{border-bottom:0}.formula-warning{color:#9e633b;background:#f8efdf;border-radius:10px;padding:12px;font-size:12px;line-height:1.8;margin-top:12px}.note-empty{padding:30px 0;text-align:left}.note-empty .icon{color:var(--soft);margin:0 0 16px;width:30px;height:30px}.note-empty h3{font-size:18px;margin-bottom:12px}.note-empty p{font-size:13px;line-height:1.9;color:var(--soft)}.zoom-stage{overflow:auto;background:white;border:1px solid var(--line);border-radius:12px;max-height:68svh;touch-action:pan-x pan-y pinch-zoom}.zoom-stage img{display:block;width:100%;height:auto;max-width:none}.zoom-stage.magnified img{width:1000px}.zoom-control{display:flex;gap:9px;align-items:center;justify-content:space-between;margin:14px 0}.zoom-control span{font-size:11px;color:var(--soft)}.sheet:has(.zoom-stage){max-width:1050px}.source-list{margin:15px 0}.source-list li{font-size:12px;line-height:1.9;margin-bottom:10px;overflow-wrap:anywhere}.bank-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0}.bank-stat-cell{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:14px}.bank-stat-cell strong{display:block;font-size:24px;color:var(--green);font-weight:500}.bank-stat-cell span{font-size:11px;color:var(--soft)}.map-source-list{margin-top:20px}.map-source-list .topic-button{margin:9px 0}.bank-tagline{font-size:11px;color:var(--soft);line-height:1.9;margin:12px 0}.bank-nav-count{font-size:10px;color:var(--soft);margin-left:8px}.library-source-note{font-size:11px;color:var(--soft);padding:9px 0 0;line-height:1.8}.prototype{font-size:9px}.real-problem .katex-display{overflow-x:auto;overflow-y:hidden;max-width:100%;padding:4px 0}.question-body .real-prompt{white-space:normal}.bank-finished-callout{max-width:680px;margin:20px auto;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:20px;font-size:13px;line-height:1.9}.bank-finished-callout h3{font-size:16px;margin-bottom:8px}.bank-finished-callout .btn{margin-top:15px}.bank-breadcrumb{font-size:11px;color:var(--soft);line-height:1.8;margin-bottom:12px}.bank-work-original .problem-head{padding-bottom:12px}.bank-work-original .question-tags{margin-top:11px}.bank-version-note{font-size:10px;color:var(--soft);line-height:1.8;margin:11px 0 0}.bank-kind{margin-right:auto}.bank-info-link{display:flex;align-items:center;gap:5px;color:var(--green);font-size:12px;min-height:40px}.bank-info-link .icon{height:15px;width:15px}
.subject-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));max-width:650px;gap:8px;margin-bottom:12px;overflow:visible}.subject-tab{width:auto;min-width:0;height:42px;padding:0 6px;font-size:14px;white-space:nowrap}.subject-tab:focus-visible{outline:2px solid var(--green);outline-offset:3px}.category-detail{border:1px solid var(--line);border-radius:14px;background:#f5f7ef;max-width:720px;padding:13px 16px;margin-bottom:24px;color:var(--soft);font-size:12px;line-height:1.8}.category-detail strong{color:var(--green);font-size:13px;font-weight:600}.category-detail p{margin:7px 0 3px}.category-detail span{font-size:10px}.category-detail.collapsed{padding:8px 15px}.category-detail .row{gap:8px}.category-detail .text-btn{flex-shrink:0}.category-detail .row strong{min-width:0}.category-detail .row button{white-space:nowrap}
@media(max-width:420px){.subject-tabs{gap:4px}.subject-tab{font-size:12px;height:39px;padding:0 2px}.category-detail{padding:11px 12px;font-size:11px;margin-bottom:20px}.category-detail strong{font-size:12px}.category-detail .text-btn{font-size:10px}}
@media(max-width:360px){.app-header .brand{white-space:nowrap;flex-shrink:0}.app-header .brand .prototype{display:none}}
@media(max-width:1000px){.bank-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.bank-hero{padding:20px;margin-bottom:20px}.bank-hero h2{font-size:21px}.bank-hero p{font-size:13px}.bank-hero .btn{font-size:13px;padding:11px 15px}.bank-catalog{grid-template-columns:1fr;gap:12px}.bank-lesson{min-height:0;padding:18px}.bank-lesson h3{font-size:16px;margin:12px 0}.bank-count{margin-top:20px}.filter-chip{font-size:11px;padding:7px 10px;min-height:33px}.bank-filters{gap:6px;margin:10px 0}.bank-summary{font-size:11px;gap:5px}.real-problem{font-size:15px;line-height:1.95}.real-option{font-size:13px;padding:9px 10px;gap:9px}.real-options{gap:7px}.real-figures img{max-width:260px;max-height:135px}.question-version{gap:5px;margin:7px 0 14px}.question-version button{font-size:10px;padding:7px 10px}.source-label{font-size:9px;max-width:215px;line-height:1.5}.solution-tabs{padding:0 19px 12px}.editor-note{font-size:10px}.bank-work-original .problem-head{padding-left:12px;padding-right:12px}.bank-work-original .original-question{margin-top:4px}.bank-hero .row{flex-wrap:wrap}.bank-breadcrumb{font-size:10px}.zoom-stage{max-height:63svh}.bank-version-note{font-size:10px}.bottom-nav .nav-item{max-width:105px}.bank-finished-callout{font-size:12px}.bank-finished-callout h3{font-size:15px}.bank-hero .btn.secondary{margin-top:9px}}
