.theme-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 14px}
.theme-toolbar label{display:flex;align-items:center;gap:6px;color:#687386;font-size:12px}
.theme-toolbar select,.theme-toolbar input{max-width:100%;min-height:36px;border:1px solid #dce2ec;border-radius:9px;background:#fff;color:#364357;padding:6px 9px;font:inherit;font-size:12px}
.theme-toolbar button,.theme-action{border:0;background:transparent;color:#3268b7;font:inherit;font-size:12px;line-height:1.6;padding:5px 0;cursor:pointer;text-align:left}
.theme-toolbar button{padding:6px 10px;border:1px solid #dce2ec;border-radius:9px;background:#fff}
.theme-toolbar input{flex:1;min-width:100px;width:160px}
.theme-toolbar form{display:flex;gap:6px;min-width:0}
.theme-caption{font-size:12px;line-height:1.55;color:#798599;margin:4px 0}
.theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.theme-observation,.theme-news-group{background:rgba(255,255,255,.86);border:1px solid rgba(127,146,180,.18);border-radius:13px;min-width:0;overflow:hidden}
.theme-observation summary,.theme-news-group summary{cursor:pointer;list-style:none;padding:12px;text-align:left}
.theme-observation summary::-webkit-details-marker,.theme-news-group summary::-webkit-details-marker{display:none}
.theme-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}
.theme-card-top>strong{font-size:15px;line-height:1.5;color:#263348;overflow-wrap:anywhere}
.theme-badge{display:inline-block;margin-left:6px;padding:0 5px;border:1px solid #a7bfe6;border-radius:6px;background:#eaf1fc;color:#3268b7;font-size:10px;font-weight:600;line-height:1.7;vertical-align:2px;white-space:nowrap}
.theme-change{text-align:right;flex-shrink:0;line-height:1.35}.theme-change b{font-size:16px}
.theme-change small{display:block;color:#8791a2;font-size:10px;margin-top:2px}
.theme-card-meta{font-size:12px;color:#798599;line-height:1.65;margin-top:5px;overflow-wrap:anywhere}
.theme-meta-limit{color:var(--red);font-weight:600;font-variant-numeric:tabular-nums}
.theme-meta-amount{color:#a56f14;font-weight:600;font-variant-numeric:tabular-nums}
.theme-card-body{padding:0 12px 12px;border-top:1px solid #edf0f5}
.theme-observation summary::after{content:'展开 ⌄';display:block;font-size:11px;color:#8390a2;margin-top:5px}
.theme-observation[open] summary::after{content:'收起 ⌃'}
.theme-stock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:8px 0}
.theme-stock{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;min-width:0;border:1px solid #e2e7f0;border-radius:9px;background:#fff;color:#3268b7;font:inherit;padding:8px;cursor:pointer;text-align:left}
.theme-stock span{font-size:13px}.theme-stock small{font-size:10px;color:#8791a2}.theme-stock b{font-size:12px;margin-left:auto;white-space:nowrap}
.theme-section-title{font-size:15px;margin:16px 0 9px}.theme-section-title small{font-size:12px;color:#8791a2;font-weight:400}
.theme-strength-value{font-size:12px;white-space:nowrap;color:#5e6f87}
#sectorList{display:block!important}#reviewThemeCards{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 12px;overflow:visible!important;padding:0!important}
.theme-summary-text{display:flex;gap:4px 14px;flex-wrap:wrap}.theme-summary-link{padding:3px 0;border:0;background:transparent;color:#364357;font:inherit;font-size:13px;cursor:pointer}.theme-summary-link span{font-size:11px;color:#8791a2}
.theme-news-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:12px 0 9px}.theme-news-heading h3{font-size:16px;margin:0}
.theme-news-group{margin:8px 0}.theme-news-preview{margin-top:6px;color:#687386}.theme-news-preview p{margin:4px 0;font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.theme-news-group-body{padding:0 12px 8px}.theme-news-group[open] summary{border-bottom:1px solid #edf0f5}
.theme-news-row{padding:11px 0;border-bottom:1px dashed #d8dfea}.theme-news-row:last-child{border-bottom:0}
.theme-news-title{display:block;width:100%;border:0;background:transparent;color:#315f9f;font:inherit;font-size:13.5px;font-weight:650;line-height:1.5;text-align:left;padding:0;cursor:pointer}
.theme-news-excerpt{font-size:12px;line-height:1.6;color:#687386;margin:6px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.theme-empty{padding:20px 12px;text-align:center;font-size:13px;line-height:1.7;color:#8791a2}
.theme-load-more{display:block;margin:8px auto}.theme-modal[hidden]{display:none!important}
.theme-modal{position:fixed;inset:0;z-index:95;background:rgba(18,29,46,.46);display:flex;align-items:center;justify-content:center;padding:24px}
.theme-modal-open{overflow:hidden}.theme-window{display:flex;flex-direction:column;width:min(850px,100%);max-height:90vh;max-height:90dvh;min-height:200px;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 15px 60px #15243e44}
.theme-window-head{display:flex;justify-content:space-between;gap:14px;padding:13px 18px 6px;border-bottom:1px solid #edf0f5;flex-shrink:0}.theme-window-head h2{font-size:17px;line-height:1.45;margin:0;overflow-wrap:anywhere}
.theme-close{width:34px;height:34px;border:0;border-radius:50%;background:#f0f3f8;color:#596779;font-size:24px;flex-shrink:0;cursor:pointer}
.theme-tabs{display:flex;gap:6px;padding:8px 18px;flex-shrink:0}.theme-tabs button{flex:1;border:1px solid #e2e7f0;border-radius:9px;background:#f6f8fc;color:#65748c;font:inherit;font-size:13px;padding:6px;cursor:pointer}.theme-tabs button.active{background:#eaf1fc;color:#315f9f;border-color:#a7bfe6}
.theme-window-body{padding:8px 18px 16px;overflow:auto;overscroll-behavior:contain;min-height:0}.theme-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.theme-metrics>div{padding:8px 9px;border:1px solid #e6ebf2;border-radius:9px;color:#798599;font-size:12px}.theme-metrics strong{display:block;color:#364357;font-size:15px;margin-top:2px}.theme-metrics .up{color:var(--red)}.theme-metrics .down{color:var(--green)}
.theme-article-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:13px;color:#364357;padding:6px 0}.theme-related{display:flex;gap:8px 14px;flex-wrap:wrap}
#marketThemes>.head h2{margin:0;font-size:20px}#themeNewsStatus:empty{display:none}
@media(max-width:620px){.market-nav .nav-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.market-nav .nav-chip{font-size:12px;padding:9px 3px;white-space:nowrap}.theme-grid{grid-template-columns:1fr;gap:8px}.theme-observation summary,.theme-news-group summary{padding:10px 11px}.theme-card-top>strong{font-size:14px}.theme-card-meta{font-size:11px}.theme-toolbar{gap:6px}.theme-toolbar select,.theme-toolbar input{font-size:11px}.theme-toolbar form{width:100%}.theme-toolbar input{width:auto}.theme-modal{padding:0;align-items:flex-end}.theme-window{max-height:92vh;max-height:92dvh;border-radius:17px 17px 0 0}.theme-window-head{padding:13px 14px 7px}.theme-window-head h2{font-size:16px}.theme-window-body{padding:8px 14px calc(18px + env(safe-area-inset-bottom))}.theme-tabs{padding:9px 14px}.theme-tabs button{font-size:12px}.theme-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-stock-grid{grid-template-columns:1fr}.theme-news-title{font-size:13px}.theme-news-preview p{font-size:11px}.theme-summary-link{font-size:12px}}
