/* 柒星品牌知识库：统一阅读尺度与视觉层次 */
:root{--reading-body:17px;--reading-title:24px;--question-title:18px;--meta-size:14px;--surface:#fff;--ink:#19334f;--muted:#61748a;--border:#dce4ed;--bg:#f2f5f8}
:root[data-reading-size="large"]{--reading-body:19px;--reading-title:26px;--question-title:20px;--meta-size:15px}
body{font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;font-size:16px;line-height:1.7;background:radial-gradient(ellipse at 90% 0,#e8eff6 0,transparent 35%),var(--bg);color:var(--ink)}
aside{width:272px;padding:28px 16px 22px;background:linear-gradient(170deg,#142f50,#102741);scrollbar-width:thin;scrollbar-color:#49617d #122c49}.main-shell{margin-left:272px;width:calc(100% - 272px)}
.brand{font-size:21px;letter-spacing:.03em}.brandmark{width:43px;height:43px;border-radius:13px}.brand small{font-size:10px;letter-spacing:1.7px}.workspace{margin:29px 0 27px;font-size:15px;padding:13px 12px}.workspace small{font-size:12px}.private{font-size:11px;padding:3px 6px}.nav-label{font-size:12px;letter-spacing:1px;padding:0 12px 12px}nav button,.view-link{font-size:15px;line-height:1.6;padding:11px 13px;margin-bottom:5px;border-radius:10px;min-height:46px}nav button b,.view-link b{font-size:12px;padding:2px 6px}nav button.active,.view-link.active{background:#f6f8fb;box-shadow:inset 3px 0 #c2a36a,0 4px 16px #081c3420}.sidebar-foot{font-size:13px;line-height:1.8;padding:21px 12px 0;margin-top:26px}.sidebar-foot small,.sidebar-foot p{font-size:12px;color:#9db0c8}
header{height:78px;padding:0 40px;background:#ffffffeb;gap:18px}.crumb{font-size:14px;white-space:nowrap}.header-right{font-size:13px;white-space:nowrap}.avatar{width:34px;height:34px;font-size:14px;margin-left:12px}.reading-controls{display:flex;align-items:center;gap:2px;padding:4px;border:1px solid #dce5ef;background:#f1f5f9;border-radius:10px;margin-left:auto}.reading-controls button{font-size:13px;padding:5px 10px;min-height:32px;line-height:1.4;color:#61758c;border-radius:7px;white-space:nowrap}.reading-controls button[aria-pressed="true"]{background:#fff;box-shadow:0 2px 7px #233b5810;color:#1d456e;font-weight:650}
main{max-width:1420px;padding:36px 40px 30px}.intro{position:relative;isolation:isolate;overflow:hidden;padding:29px 30px!important;margin-bottom:24px;background:linear-gradient(105deg,#fff 58%,#edf3f8);border:1px solid #dfe6ee;border-radius:18px;box-shadow:0 7px 26px #253f5e06;gap:25px;align-items:center}.intro:before{content:"";position:absolute;right:-45px;top:-100px;width:310px;height:310px;border:1px solid #c8d7e850;box-shadow:0 0 0 35px #d8e2ee20,0 0 0 70px #d8e2ee15;border-radius:50%;z-index:-1;pointer-events:none}.eyebrow{font-size:12px;letter-spacing:2px;color:#9a773c;margin-bottom:13px}h1{font-size:36px;font-weight:750;letter-spacing:.025em;line-height:1.35;margin:0 0 12px}.intro p{font-size:15px;line-height:1.85;color:#5c7188;max-width:720px}.intro-actions{gap:8px;align-items:center}.button{font-size:14px;min-height:44px;padding:11px 16px;border-radius:10px;font-weight:550;line-height:1.5}.button.primary{background:#214b78;box-shadow:0 4px 12px #193f6a15}.button.primary:hover{background:#183b62}.button.light{color:#45617f;border-color:#d4dfeb;background:#fff}
.overview{padding:22px 26px;border-radius:15px;border-color:#dbe4ee;gap:32px;margin-bottom:20px;box-shadow:0 4px 16px #19395504}.overview strong{font-size:28px}.overview small{font-size:13px;color:#61758b;margin-top:5px}.metric-icon{font-size:21px;padding:11px}.purpose span{font-size:13px}.purpose strong{font-size:14px;line-height:1.8}.module-overview{gap:12px;margin-bottom:25px}.module-overview button{border-radius:14px;border-top-width:3px;padding:21px 20px;min-height:150px}.module-overview strong{font-size:17px;line-height:1.6}.module-overview small{font-size:14px;line-height:1.75;margin:9px 0 15px;color:#657b92}.module-overview span{font-size:13px}
.search-panel{padding:18px 20px 16px;border-radius:15px;border-color:#dce5ef;margin-bottom:25px;box-shadow:0 4px 18px #29456505}.search-wrap{padding:12px 15px;gap:12px;background:#f6f8fb;border-color:#dfe7f0;min-height:52px;border-radius:10px}.search-wrap input{font-size:16px;line-height:1.8;min-width:0}.search-wrap input::placeholder{color:#8395ab}.search-wrap kbd{font-size:13px}.filters{gap:10px;margin-top:14px;flex-wrap:wrap}.filters select{font-size:14px;padding:9px 10px;min-height:41px;background:#f1f5f9;color:#4e6681;border-color:#e1e8f1}.text-button,.result-count{font-size:14px;color:#5d748d}.text-button{padding:7px 0}.result-count{white-space:nowrap}.section-head{margin-bottom:16px;gap:15px}.section-head h2{font-size:16px;color:#4c6580;line-height:1.7}.section-head span{font-size:13px;color:#7589a0}
.knowledge-card{border-radius:17px;border-color:#dce5ee;padding:30px 32px;margin-bottom:19px;box-shadow:0 5px 23px #1e3c5c05}.knowledge-card:hover{border-color:#bccde0;box-shadow:0 8px 28px #24436408}.card-top{gap:10px;margin-bottom:18px;flex-wrap:wrap}.card-id{font-size:12px;letter-spacing:.05em;color:#6f8399}.status{font-size:12px;line-height:1.6;padding:4px 10px;background:#ecf1f7;color:#526b85}.card-actions{gap:8px}.card-actions button,.card-actions .edit-button{font-size:13px;padding:7px 9px;min-height:34px}.basket-button{font-size:12px!important;padding:7px 9px!important}.card-actions .star{font-size:20px}.card-title{font-size:var(--reading-title);line-height:1.65;gap:13px;color:#173654;margin-bottom:20px}.item-number{font-size:14px;min-width:24px;padding-top:6px;color:#a7864d}.card-body{font-size:var(--reading-body);line-height:1.95;color:#344c64;max-width:88ch;overflow-wrap:break-word}.card-body p{margin-bottom:21px}.body-subhead{font-size:calc(var(--reading-body) - 1px);line-height:1.75;color:#254563;padding-left:10px;border-left:3px solid #c7ac77;margin:3px 0 9px;letter-spacing:0;font-weight:650}.card-body.collapsed{max-height:210px}.quote-box{font-size:var(--reading-body);line-height:1.9;padding:15px 20px}.expand-btn{font-size:14px;padding-top:13px}.tags{gap:7px;margin-top:21px}.tag{font-size:13px;line-height:1.6;padding:5px 10px;border-radius:7px;max-width:100%;color:#5b748e;background:#f1f5f9}.card-bottom{margin-top:23px;padding-top:18px;gap:20px}.source-links{gap:6px;align-items:baseline}.source-links>span,.source-button{font-size:var(--meta-size);line-height:1.8;color:#687f96}.source-button{color:#3c658d;padding:2px 3px;overflow-wrap:anywhere}.copy-button{font-size:13px;padding:9px 13px;border-radius:8px}.usage,.evidence-line{font-size:13px;color:#74889e;line-height:1.8}.usage{margin-top:14px}.evidence-line{margin-top:11px}.related-records,.related-records button,.latest-button{font-size:13px;line-height:1.8}.related-records{margin-top:14px}.standard-answer{font-size:15px;padding:14px 17px}.standard-answer p{font-size:var(--reading-body);line-height:1.9}.notice{font-size:15px;line-height:1.9;padding:15px 19px;border-radius:11px}
.source-card{padding:23px 25px;border-radius:14px;gap:18px;margin-bottom:15px}.source-card h3{font-size:19px;line-height:1.65;margin-bottom:9px}.source-card h3 small{font-size:13px}.source-card p{font-size:15px;line-height:1.85;color:#667d95}.source-card button{font-size:14px}.source-card .file-icon{font-size:21px}.empty{padding:65px 25px}.empty strong{font-size:20px}.empty p{font-size:16px;color:#70849c}#pagination{gap:10px;padding:23px 0}#pagination button{font-size:14px;padding:9px 15px;min-height:41px;border-radius:8px}#pagination span{font-size:14px}footer{font-size:13px;line-height:1.9;gap:15px;padding-top:28px}
dialog{width:min(900px,94vw);max-height:90vh;padding:29px;border-radius:18px;border-color:#d8e2ed}.dialog-head{gap:20px;margin-bottom:24px}.dialog-head h2{font-size:24px;line-height:1.65}.dialog-head small{font-size:13px;color:#6e839b}.icon-button{font-size:17px;min-width:40px;min-height:40px}.source-note{font-size:15px;line-height:1.9;padding:14px 17px;color:#5e7894}pre{font-size:var(--reading-body);line-height:1.95;color:#3e5973;max-height:60vh}form label{font-size:14px;color:#5e748c;line-height:1.8}form input,form textarea,form select{font-size:16px;line-height:1.85;padding:11px 13px;border-radius:8px}.form-note,.export-desc{font-size:14px;line-height:1.9}.export-choice{padding:21px}.export-choice strong{font-size:17px}.export-choice small{font-size:14px;line-height:1.7;color:#71869e}.pack-label{font-size:15px}.pack-label input,#packText{font-size:16px;line-height:1.9}#inlineEditor{padding:28px;border-radius:16px}#toast{font-size:14px;line-height:1.7;max-width:90vw;text-align:center;padding:13px 20px;z-index:1000}
.question-overview{padding:25px 29px;border-radius:16px;gap:40px;background:linear-gradient(112deg,#193d61,#29567c);margin-bottom:23px}.question-overview strong{font-size:32px}.question-overview span{font-size:14px;line-height:1.7;color:#d6e1eb}.question-overview>div{min-width:90px}.question-overview p{font-size:13px;line-height:1.9;color:#e0cda8}.question-topics{gap:10px;margin-bottom:20px}.question-topics button{font-size:14px;line-height:1.7;padding:12px 14px;min-height:51px;border-radius:10px;color:#4b6884}.question-topics b{font-size:12px}.question-filters{padding:17px 18px;gap:13px;border-radius:12px;margin-bottom:28px}.question-filters label{font-size:13px;gap:8px;color:#5b7189}.question-filters select{font-size:14px;line-height:1.6;min-height:42px;padding:9px}.question-row{padding:23px 25px;margin-bottom:14px;border-radius:14px}.question-row-meta{gap:13px;margin-bottom:13px}.question-topic-label{font-size:13px;color:#7489a0}.question-state{font-size:12px;padding:4px 10px;line-height:1.6}.question-title{font-size:var(--question-title);line-height:1.85;color:#203f5e;font-weight:650}.question-row-bottom{font-size:13px;line-height:1.8;gap:15px;margin-top:17px;color:#6c829a}.question-open{font-size:14px}.question-knowledge-label{font-size:13px;color:#55789c}
#questionDialog{width:min(1250px,94vw);max-width:1250px;padding:29px 32px}.question-dialog-head small{font-size:13px}.question-dialog-head h2{font-size:24px;line-height:1.75;max-width:100%}.question-dialog-actions{gap:9px;padding-bottom:19px}.question-dialog-actions button{font-size:14px;min-height:39px;padding:8px 12px}.question-detail-tags{gap:8px;margin:20px 0}.question-detail-tags span{font-size:13px;line-height:1.7;padding:5px 10px}.question-review{font-size:14px;line-height:1.8;padding:13px 16px;gap:12px}.question-workspace{gap:28px}.question-workspace h3{font-size:18px;line-height:1.8;margin-bottom:10px}.question-workspace h3 small{font-size:14px}.question-help{font-size:14px;line-height:1.85;margin:9px 0 18px;color:#6f859b}.question-reference{padding:16px 17px;border-radius:10px;margin-bottom:13px}.question-reference summary{font-size:16px;line-height:1.8}.question-reference summary span{font-size:13px;color:#778ca3}.question-reference .card-body{font-size:var(--reading-body);line-height:1.95}.question-ref-actions{gap:10px;margin-top:18px}.question-ref-actions button,.question-original-source,.question-original-source button{font-size:13px;line-height:1.85}.question-original-source{margin-top:21px;color:#71869c}.question-no-reference{font-size:16px;line-height:1.9;padding:19px}.question-answer label,#newQuestionForm label{font-size:14px;line-height:1.8;color:#627991;margin:16px 0}.question-answer textarea,#newQuestionForm textarea,#newQuestionForm input,#newQuestionForm select,.question-answer select{font-size:16px;line-height:1.85;padding:12px 14px;border-radius:9px}.question-answer-footer{gap:15px}.question-answer-footer select{font-size:15px;width:135px;padding:8px 10px}.question-answer-footer .button{font-size:14px}.question-manage-links{font-size:13px;padding:7px 10px;min-height:35px}.question-link-choice{gap:13px;padding:15px 9px}.question-link-choice strong{font-size:16px;line-height:1.7}.question-link-choice small{font-size:13px}.question-link-choice input{width:18px;height:18px}.question-link-footer span{font-size:14px}#questionLinkSearch{font-size:16px;padding:13px}#newQuestionDialog{width:min(680px,94vw)}
.back-to-top{position:fixed;right:25px;bottom:25px;width:46px;height:46px;border-radius:13px;background:#214b78;color:#fff;box-shadow:0 5px 20px #1b3e6328;font-size:22px;z-index:20;border:1px solid #ffffff55}.back-to-top:hover{background:#163c66}
@media(max-width:1350px){.intro{align-items:flex-start;flex-direction:column}.intro-actions{justify-content:flex-start}.question-overview p{display:none}.question-filters{display:grid;grid-template-columns:1fr 1fr}.overview .purpose{display:none}}
@media(max-width:1100px){main{padding:28px}.module-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.question-topics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1024px){aside{transform:translateX(-100%);transition:transform .2s;width:272px;box-shadow:10px 0 40px #1a294824}aside.open{transform:translateX(0)}.main-shell{margin-left:0;width:100%}.mobile{display:block}header{height:70px;padding:0 22px;gap:11px}.crumb{margin-right:auto}.reading-controls{margin-left:0}.header-right{font-size:0}.avatar{font-size:14px;margin-left:0}main{padding:28px}.intro{padding:27px!important}}
@media(max-width:800px){.question-workspace{grid-template-columns:1fr}.question-answer{border-left:0;border-top:1px solid #e4ebf2;padding:24px 0 0}.question-filters select{width:100%;flex:auto}#questionDialog{padding:24px}.question-dialog-head h2{font-size:22px}.question-row-bottom{align-items:flex-start;flex-direction:column}.question-row-bottom>div{width:100%;justify-content:space-between}.question-topics{display:flex;overflow:auto;gap:8px;flex-wrap:nowrap;padding-bottom:5px}.question-topics button{flex:0 0 auto;white-space:nowrap}}
@media(max-width:600px){:root{--reading-title:22px;--question-title:17px}.header-right{display:none}header{height:66px;padding:0 13px;gap:7px}.crumb{font-size:13px}.crumb span{padding:0 7px}.reading-controls{padding:3px}.reading-controls button{font-size:12px;min-height:31px;padding:5px 8px}.icon-button.mobile{min-width:35px;padding:6px}main{padding:21px 14px}.intro{padding:23px 20px!important;border-radius:15px;gap:20px}.intro:before{right:-130px}.eyebrow{font-size:11px;letter-spacing:1.4px}h1{font-size:30px}.intro p{font-size:15px}.intro-actions{gap:8px;width:100%;justify-content:flex-start}.intro-actions .button{font-size:13px;padding:10px 12px;min-height:43px;flex:1 1 auto}.overview{padding:20px 18px;gap:14px}.overview>div{flex:1;gap:0}.overview strong{font-size:27px}.overview small{font-size:13px}.metric-icon{display:none}.module-overview{gap:9px}.module-overview button{padding:18px 15px;min-height:145px}.module-overview strong{font-size:16px}.module-overview small{font-size:13px}.module-overview span{font-size:13px}.search-panel{padding:15px 14px}.search-wrap{padding:10px 11px;gap:8px}.search-wrap input{font-size:16px}.search-wrap kbd{display:none}.filters{gap:8px}.filters select{font-size:14px;max-width:100%;padding:8px}.result-count{font-size:13px}.text-button{font-size:13px}.section-head{gap:8px}.section-head h2{font-size:15px}.section-head span{font-size:12px}.knowledge-card{padding:24px 20px;border-radius:15px;margin-bottom:16px}.card-top{gap:8px;margin-bottom:16px}.card-actions{width:100%;margin-left:0;justify-content:flex-start;flex-wrap:wrap;gap:6px}.card-actions button,.card-actions .edit-button{font-size:13px}.card-title{gap:10px;line-height:1.7;margin-bottom:19px}.item-number{font-size:13px;min-width:21px}.card-body{font-size:var(--reading-body);line-height:1.95;max-width:100%}.body-subhead{font-size:16px}.card-bottom{flex-wrap:wrap;gap:12px;padding-top:17px}.source-links{max-width:100%;width:100%}.source-button,.source-links>span{font-size:14px}.copy-button{font-size:14px}.tags{gap:7px}.tag{font-size:13px}.usage,.evidence-line{font-size:13px}.source-card{padding:20px;align-items:flex-start;flex-wrap:wrap}.source-card h3{font-size:18px}.source-card p{font-size:15px}.source-card button{margin-left:0;font-size:14px}.source-card .file-icon{display:none}dialog{padding:23px 20px;max-height:92vh;border-radius:15px}.dialog-head h2{font-size:22px}.source-note{font-size:14px}pre{font-size:var(--reading-body)}.export-choice{padding:17px;gap:11px}.export-choice strong{font-size:16px}.export-choice small{font-size:13px}.form-row{display:block}.question-overview{padding:23px 18px;justify-content:space-between;gap:10px}.question-overview>div{min-width:0}.question-overview strong{font-size:29px}.question-overview span{font-size:12px}.question-filters{padding:15px;gap:12px}.question-filters label{font-size:13px;flex-direction:column;align-items:flex-start;gap:2px}.question-filters select{font-size:14px;width:100%}.question-row{padding:22px 20px}.question-row-meta{gap:8px;flex-wrap:wrap}.question-topic-label{font-size:12px;max-width:60%}.question-state{font-size:12px}.question-row-bottom{font-size:13px;gap:12px}.question-open{font-size:13px}.question-knowledge-label{font-size:12px}#questionDialog{padding:23px 20px}.question-dialog-head h2{font-size:21px;line-height:1.75}.question-dialog-head small{font-size:12px}.question-dialog-actions{gap:7px;flex-wrap:wrap}.question-dialog-actions button{font-size:13px;padding:7px 10px}.question-dialog-actions .question-state{margin-right:0}.question-workspace h3{font-size:18px}.question-help{font-size:14px}.question-detail-tags span{font-size:13px}.question-review{font-size:14px}.question-reference summary{font-size:16px}.question-original-source,.question-original-source button{font-size:13px}.question-answer-footer{align-items:flex-end;flex-wrap:wrap}.question-answer-footer label{font-size:14px}.question-answer-footer select{width:125px}.question-answer-footer .button{font-size:14px}.back-to-top{width:44px;height:44px;right:16px;bottom:18px}footer{font-size:13px;display:block}.notice{font-size:15px}}
@media(prefers-reduced-motion:reduce){aside{transition:none}.back-to-top{scroll-behavior:auto}}
