.qd-tabs{display:flex;flex:0 0 auto;align-items:center;gap:8px;border-bottom:1px solid #e7ecf2;padding:0 18px;background:#fafbfd;min-height:51px}.qd-tabs button{font:600 13px inherit;font-family:inherit;color:#768496;border:0;background:none;padding:16px 12px 13px;cursor:pointer;border-bottom:3px solid transparent;display:flex;gap:8px;align-items:center;min-height:48px}.qd-tabs button[aria-selected=true]{color:#102e48;border-bottom-color:#bc9347}.qd-tabs button:hover{color:#102e48}.qd-count{font:600 11px 'JetBrains Mono',monospace;background:#e9eef4;border-radius:5px;padding:2px 6px}.qd-tabs button:focus-visible,.qd-panel :focus-visible,.qd-dialog :focus-visible{outline:2px solid #b78a39;outline-offset:3px}.qd-panel[hidden],.qd-dialog [hidden],.qd-panel [hidden],#descScroll[hidden]{display:none!important}.pw.qd-active .pw-left{flex:1;width:100%}.pw.qd-active .pw-right,.pw.qd-active .pw-divider{display:none}.qd-panel{overflow-y:auto;flex:1;min-height:0;scrollbar-width:thin;background:#fff}.qd-wrap{max-width:1060px;margin:0 auto;padding:32px 42px 50px;color:#263b50;font-size:14px}.qd-eyebrow{color:#9a7a37;font-size:11px;letter-spacing:.15em;font-weight:700;margin-bottom:10px}.qd-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.qd-hero h1{font-size:25px;line-height:1.45;margin:0 0 8px;letter-spacing:-.6px;color:#132c45}.qd-sub{color:#7c8896;font-size:13px;line-height:1.7;margin:0}.qd-button{border:1px solid #dfe6ed;border-radius:9px;background:#fff;padding:9px 14px;min-height:38px;color:#53677c;font:600 12px/1.5 inherit;font-family:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;white-space:nowrap}.qd-button:hover{background:#f4f7fa;border-color:#bdcbd8}.qd-button.primary{background:#142f49;color:white;border-color:#142f49}.qd-button.primary:hover{background:#234662}.qd-button:disabled{opacity:.5;cursor:wait}.qd-button.danger{color:#ad3b3b}.qd-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4;padding:16px 0;margin-bottom:4px;flex-wrap:wrap}.qd-filters{display:flex;gap:5px;flex-wrap:wrap}.qd-filter{padding:7px 12px;background:none;border:0;border-radius:7px;font-family:inherit;color:#7d8996;cursor:pointer;font-size:12px}.qd-filter[aria-pressed=true]{background:#edf2f7;color:#17334c;font-weight:700}.qd-search{display:flex;gap:6px}.qd-search input,.qd-sort{font-family:inherit;background:#fafbfd;border:1px solid #e4e9ef;border-radius:7px;padding:8px 10px;color:#50667b;font-size:12px;min-height:36px}.qd-search input{width:165px}.qd-list-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:16px 0 0;color:#8c97a3;font-size:11px}.qd-item{display:flex;align-items:flex-start;gap:15px;padding:26px 0;border-bottom:1px solid #ecf0f4}.qd-avatar{flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#eaf0f5;color:#42647f;display:grid;place-items:center;font-size:14px;font-weight:600}.qd-item:nth-child(3n) .qd-avatar{background:#f6f0e4;color:#9e8047}.qd-item:nth-child(3n+1) .qd-avatar{background:#eaf3ef;color:#548675}.qd-item-main{flex:1;min-width:0}.qd-byline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#8993a1;font-size:11px;margin:1px 0 9px}.qd-author{font-weight:600;color:#63768a}.qd-title{font-family:inherit;display:block;font-size:17px;font-weight:650;letter-spacing:-.2px;line-height:1.6;color:#19334c;border:0;padding:0;text-align:left;background:transparent;cursor:pointer;overflow-wrap:anywhere}.qd-title:hover{color:#aa8134}.qd-badges{display:flex;gap:6px;flex-wrap:wrap;margin:11px 0}.qd-tag{display:inline-block;padding:3px 8px;background:#f0f3f7;border-radius:5px;font-size:10px;color:#758394;line-height:1.6}.qd-tag.gold{color:#967332;background:#faf3e4}.qd-tag.green{color:#45806c;background:#edf6f1}.qd-metrics{display:flex;align-items:center;gap:22px;color:#96a0ab;font-size:11px;margin-top:15px}.qd-metrics svg,.qd-button svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.7;fill:none;vertical-align:middle}.qd-metrics span{display:inline-flex;align-items:center;gap:6px}.qd-empty{text-align:center;padding:64px 16px;color:#8795a4}.qd-empty-icon{width:58px;height:58px;background:#f3f6f9;border:1px solid #e5ebf1;border-radius:18px;display:grid;place-items:center;margin:0 auto 20px;font-size:27px;color:#a5b4c0}.qd-empty h2{font-size:17px;color:#28435c;margin:12px 0}.qd-empty p{font-size:12px;line-height:1.9}.qd-pages{display:flex;justify-content:center;align-items:center;gap:14px;padding-top:25px;font-size:12px;color:#8492a0}.qd-notice{padding:12px 15px;background:#faf6ed;border:1px solid #f0e4ca;border-radius:8px;color:#98763b;font-size:12px;line-height:1.8;margin:18px 0}.qd-error{background:#fff4f3;border:1px solid #f0d5d0;border-radius:8px;color:#a3433b;padding:14px;font-size:13px;line-height:1.7}.qd-back{border:0;background:none;color:#8290a0;padding:0;margin-bottom:25px;font:inherit;font-size:12px;cursor:pointer}.qd-thread-head{border-bottom:1px solid #e8edf2;padding-bottom:18px}.qd-thread-head h1{font-size:27px;line-height:1.5;overflow-wrap:anywhere;color:#17314a;margin:10px 0 15px}.qd-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.qd-rich{font-size:14px;line-height:1.95;color:#40576b;overflow-wrap:anywhere;white-space:normal}.qd-rich p{margin:15px 0}.qd-rich pre{font-size:12px;line-height:1.8;padding:18px 20px;background:#f6f8fa;color:#24415b;border:1px solid #e9eef3;border-radius:10px;overflow:auto;white-space:pre;max-width:100%;font-family:'JetBrains Mono',monospace}.qd-rich code{font-family:'JetBrains Mono',monospace;background:#f0f3f6;border-radius:4px;padding:2px 4px;font-size:.88em}.qd-rich pre code{padding:0;background:none;font-size:inherit}.qd-rich a{color:#2b6d98;text-decoration:underline}.qd-replies{margin-top:38px;border-top:1px solid #e6ecf2;padding-top:24px}.qd-replies h2{font-size:16px;margin:0 0 8px}.qd-reply{padding:23px 0;border-bottom:1px solid #eef1f5;display:flex;gap:14px}.qd-reply-main{flex:1;min-width:0}.qd-reply .qd-rich{font-size:13px}.qd-reply .qd-actions{margin-top:10px;gap:14px}.qd-text-action{border:0;background:none;padding:3px 0;font-family:inherit;color:#8b98a5;cursor:pointer;font-size:11px}.qd-text-action.active{color:#a37e35}.qd-parent{font-size:11px;color:#8196a9;background:#f5f8fb;padding:7px 10px;border-radius:5px;margin-top:10px}.qd-dialog{width:min(720px,calc(100vw - 32px));border:1px solid #dde5ee;border-radius:16px;padding:0;color:#27425a;box-shadow:0 28px 100px #102a4540;max-height:90dvh;background:#fff}.qd-dialog::backdrop{background:#11263e66;backdrop-filter:blur(3px)}.qd-dialog-head{padding:23px 28px 19px;border-bottom:1px solid #edf0f4;display:flex;justify-content:space-between;align-items:center}.qd-dialog h2{font-size:18px;margin:0}.qd-dialog-close{border:0;background:none;font-size:23px;color:#8696a5;cursor:pointer}.qd-form{padding:22px 28px;overflow:auto;max-height:calc(90dvh - 85px)}.qd-field{display:block;margin-bottom:18px;font-size:12px;color:#60758a}.qd-field input,.qd-field select,.qd-field textarea{display:block;width:100%;box-sizing:border-box;margin-top:8px;border:1px solid #dce4ec;border-radius:8px;padding:11px 12px;font-family:inherit;font-size:13px;background:#fcfdfe;color:#2b4257}.qd-field textarea{min-height:230px;resize:vertical;line-height:1.8;font-family:'JetBrains Mono','Noto Sans SC',monospace}.qd-form-row{display:grid;grid-template-columns:150px 1fr;gap:15px}.qd-check{display:flex;gap:8px;align-items:center;font-size:12px;color:#7d8c99;margin:16px 0}.qd-editor-bar{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#95a0ac;margin-bottom:10px}.qd-editor-bar button{border:0;border-radius:5px;background:#edf2f7;color:#526a80;padding:6px 10px;font-family:inherit;cursor:pointer}.qd-compose-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #ecf0f4;padding-top:18px;margin-top:20px}.qd-compose-foot small{font-size:10px;color:#91a0ad}.qd-preview{min-height:200px;max-height:340px;overflow:auto;padding:0 8px}.qd-form-error{color:#ad4339;font-size:12px;line-height:1.8}.qd-report-row{padding:13px;border:1px solid #e7dfce;background:#fffcf5;border-radius:7px;margin:12px 0;font-size:12px}.qd-loading{padding:50px;color:#8a99a6;text-align:center;font-size:13px}.qd-loading:after{content:' ···';letter-spacing:4px}.qd-spinner{height:3px;background:linear-gradient(90deg,#edf2f7,#c8ae7d,#edf2f7);margin-top:15px}
@media(max-width:760px){.qd-wrap{padding:25px 20px 40px}.qd-hero h1{font-size:21px}.qd-hero{gap:12px;align-items:flex-start}.qd-hero .qd-button{padding:9px 11px;font-size:11px}.qd-toolbar{gap:12px}.qd-search{width:100%}.qd-search input{flex:1;min-width:0}.qd-search button{padding:6px 10px}.qd-title{font-size:15px}.qd-avatar{width:32px;height:32px;flex-basis:32px;font-size:12px}.qd-item{gap:11px;padding:22px 0}.qd-thread-head h1{font-size:22px}.qd-tabs{padding:0 10px}.qd-panel{overflow:visible}.qd-dialog-head{padding:18px}.qd-form{padding:18px}.qd-form-row{grid-template-columns:1fr}.qd-dialog{max-height:94dvh}.qd-compose-foot{flex-wrap:wrap}.qd-compose-foot small{flex:1 1 100%}.qd-hero .qd-sub{font-size:11px}.qd-metrics{gap:18px}.qd-reply{gap:9px}.qd-rich pre{padding:12px}.qd-sort{max-width:125px}}
@media(prefers-reduced-motion:reduce){.qd-panel *,.qd-dialog *{scroll-behavior:auto!important}}
.qd-tabs svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.qd-button{font-size:12px;font-weight:600;line-height:1.5}.qd-tabs button{font-size:13px;font-weight:600}.qd-dialog button:disabled{cursor:wait}.qd-metrics .active,.qd-button[aria-pressed=true]{color:#a47f36;background:#faf4e8;border-color:#e3cfa5}
@media(max-width:980px){.pw.qd-active[data-tab="work"] .pw-right,.pw.qd-active[data-tab="ans"] .pw-right{display:flex}.qd-panel{overflow:visible}.qd-wrap{max-width:850px}}
.qd-list-tools{display:flex;align-items:center;gap:16px}.qd-list-tools>.qd-text-action{min-height:32px;padding:5px 8px}

/* Refined reading rhythm: a shared content grid, quieter chrome and larger type. */
.qd-wrap{box-sizing:border-box;width:100%;max-width:1140px;padding:34px 48px 56px}
.qd-eyebrow{font-size:10px;letter-spacing:.12em;margin-bottom:12px;color:#9b8355}
.qd-hero{margin-bottom:28px;gap:32px}.qd-hero h1{font-family:'Noto Sans SC',sans-serif;font-size:26px;font-weight:700;letter-spacing:-.65px;margin-bottom:9px}.qd-hero .qd-sub{font-size:13px;color:#81909e}
.qd-button{font-family:inherit;font-size:12px;font-weight:600;line-height:1.5;min-height:40px;border-radius:8px;transition:background .15s,border-color .15s,box-shadow .15s}
.qd-hero>.qd-button{padding:11px 19px;box-shadow:0 3px 7px #142f4910}.qd-button.primary:hover{box-shadow:0 4px 12px #142f4920}
.qd-tabs{gap:12px;min-height:52px;padding:0 20px;background:#fbfcfe}.qd-tabs button{font-family:inherit;font-size:13px;font-weight:600;padding:16px 13px 14px;gap:8px}.qd-count{min-width:18px;box-sizing:border-box;text-align:center;font-size:10px;padding:2px 5px;background:#edf1f5;color:#647b90}
.qd-toolbar{padding:15px 0;gap:20px}.qd-filters{gap:6px}.qd-filter{min-height:36px;padding:8px 14px;font-size:13px;border-radius:7px;transition:background .15s,color .15s}.qd-filter:hover{background:#f4f6f9;color:#3d5871}.qd-filter[aria-pressed=true]{background:#eaf0f6;color:#213d57}
.qd-search{gap:8px}.qd-search input{box-sizing:border-box;width:224px;min-height:38px;background:#f9fbfd;border-color:#e6ebf0;font-size:12px}.qd-search input::placeholder{color:#98a4af}.qd-search input:focus{outline:2px solid #d4e1ed;outline-offset:0;border-color:#abbfcf;background:white}.qd-search .qd-button{min-height:38px;padding:7px 13px}
.qd-list-meta{margin:18px 0 4px;font-size:12px;color:#8493a2}.qd-list-tools{gap:12px}.qd-sort{min-height:34px;font-size:12px;background:#fff;border-color:#e7ecf1}.qd-list-tools>.qd-text-action{color:#8b9aaa;padding:4px 9px}
.qd-item{position:relative;gap:15px;padding:25px 0 24px;border-color:#edf0f4;transition:background .15s}.qd-item:before{content:'';position:absolute;inset:9px -15px;border-radius:10px;pointer-events:none;transition:background .15s;z-index:0}.qd-item:hover:before{background:#f8fafccc}.qd-item>*{position:relative;z-index:1}.qd-item-pinned .qd-title{color:#173a54}
.qd-avatar{width:38px;height:38px;flex-basis:38px;box-shadow:inset 0 0 0 1px #102f4710;font-size:14px}.qd-byline{font-size:12px;gap:8px;margin:0 0 9px;line-height:1.65;color:#8a98a6}.qd-author{color:#62788c;font-weight:500}.qd-title{font-size:17px;font-weight:600;line-height:1.65;letter-spacing:0;transition:color .15s}.qd-title:focus-visible{border-radius:3px}
.qd-item-footer{display:flex;align-items:center;justify-content:space-between;column-gap:20px;row-gap:12px;margin-top:12px}.qd-item-footer .qd-badges{margin:0;flex:1}.qd-tag{font-size:11px;line-height:1.6;padding:3px 8px;border-radius:5px;background:#f1f4f7;color:#7a8999}.qd-tag.gold{background:#faf5e9;color:#a3864c}.qd-tag.green{background:#edf6f1;color:#58816e}.qd-metrics{font-size:12px;gap:19px;color:#8c9baa;font-variant-numeric:tabular-nums}.qd-item-footer .qd-metrics{margin:0;flex-shrink:0}.qd-metrics span{min-width:29px;gap:6px}.qd-metrics svg{width:15px;height:15px;opacity:.9}
.qd-thread-wrap{max-width:950px;padding-top:27px}.qd-back{display:inline-flex;align-items:center;min-height:32px;color:#8896a4;font-size:12px;margin-bottom:20px}.qd-back:hover{color:#334f69}.qd-thread-head{padding-bottom:23px;margin-bottom:25px}.qd-thread-head>.qd-badges{margin:0 0 13px}.qd-thread-head h1{font-family:'Noto Sans SC',sans-serif;font-size:27px;font-weight:650;line-height:1.55;letter-spacing:-.45px;margin:0 0 21px}.qd-thread-identity{display:flex;align-items:center;gap:11px}.qd-thread-identity .qd-avatar{width:32px;height:32px;flex-basis:32px;font-size:12px}.qd-thread-identity .qd-byline{margin:0}.qd-thread-identity>.qd-metrics{margin:0 0 0 auto;font-size:11px}
.qd-rich{font-size:15px;line-height:1.95;color:#42596c}.qd-rich p{margin:18px 0}.qd-rich pre{font-size:12px;line-height:1.85;margin:20px 0;padding:19px 22px;background:#f7f9fb;border-color:#e8edf3;border-radius:9px}.qd-rich pre code{white-space:pre}.qd-spoiler>summary{cursor:pointer;list-style-position:inside}.qd-spoiler>summary:hover{background:#f8f0df}.qd-thread-wrap>.qd-actions{gap:9px;align-items:center;margin-top:23px}.qd-thread-wrap>.qd-actions>.qd-text-action{margin-left:4px;min-height:36px;padding:6px 5px}.qd-text-action:hover{color:#294961}.qd-replies{margin-top:35px;padding-top:25px}.qd-replies h2{font-size:16px;font-weight:650;color:#24425a}.qd-reply{padding:24px 0;gap:13px}.qd-reply .qd-avatar{width:32px;height:32px;flex-basis:32px;font-size:12px}.qd-reply .qd-rich{font-size:14px}.qd-reply .qd-rich p:first-child{margin-top:8px}.qd-reply .qd-rich p:last-child{margin-bottom:8px}.qd-reply .qd-actions{align-items:center;gap:15px}.qd-reply .qd-button{min-height:30px;padding:4px 9px;font-size:11px;border-color:#edf0f4;background:#fbfcfd}.qd-parent{border-left:2px solid #cbd8e4;border-radius:0 5px 5px 0;padding:7px 10px}
.qd-empty{padding:65px 20px 76px}.qd-empty-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linejoin:round}.qd-empty h2{font-size:18px;font-weight:600}.qd-empty p{font-size:13px;line-height:1.95;margin:12px 0 24px}.qd-empty .qd-button{padding:9px 17px}
.qd-dialog{box-sizing:border-box;width:min(730px,calc(100vw - 40px));border-radius:16px;max-height:min(850px,92dvh)}.qd-dialog[open]{display:flex;flex-direction:column}.qd-dialog-head{padding:22px 28px 19px;flex:0 0 auto;background:#fff}.qd-dialog h2{font-size:18px;font-weight:650;letter-spacing:-.3px}.qd-dialog-close{display:grid;place-items:center;width:32px;height:32px;border-radius:7px;font-size:22px}.qd-dialog-close:hover{background:#f1f4f7;color:#25445e}.qd-form{box-sizing:border-box;padding:20px 28px 0;overflow-y:auto;max-height:none;min-height:0;scroll-padding:20px}.qd-form>.qd-sub{padding-bottom:19px;margin-bottom:19px;border-bottom:1px solid #edf1f5;font-size:12px;color:#8695a3}.qd-field{font-size:12px;font-weight:500;color:#5d7387;margin-bottom:18px}.qd-field input,.qd-field select{min-height:42px;margin-top:8px;font-size:13px;border-color:#dfe6ed;background:white}.qd-field input::placeholder,.qd-field textarea::placeholder{color:#a0acb7}.qd-field textarea{min-height:230px;padding:14px 15px;font-size:13px;font-weight:400;border-color:#dfe6ed;background:#fcfdfe;line-height:1.85}.qd-field input:focus,.qd-field textarea:focus,.qd-field select:focus{outline:2px solid #d5e1ec;outline-offset:0;border-color:#a9bdce}.qd-form-row{grid-template-columns:170px minmax(0,1fr);gap:16px}.qd-editor-bar{font-size:11px;line-height:1.7;gap:12px;flex-wrap:wrap}.qd-editor-bar button{min-height:30px;padding:5px 12px;font-size:11px;background:#eff3f7;color:#4e6981}.qd-check{margin:17px 0;line-height:1.7;color:#788b9c}.qd-check input{width:15px;height:15px;accent-color:#173751}.qd-compose-foot{position:sticky;bottom:0;background:#fff;z-index:2;padding:16px 0 19px;margin-top:18px;box-shadow:0 -8px 14px #ffffffed;gap:15px}.qd-compose-foot small{font-size:11px;line-height:1.7;max-width:330px}.qd-compose-foot .qd-button{padding:10px 20px;min-width:104px}.qd-preview{padding:0 3px;min-height:230px}.qd-form-error:not([hidden]){padding:10px 13px;border-radius:7px;background:#fff5f3;border:1px solid #f1ded8;margin:12px 0}
@media(min-width:1500px){.qd-wrap{max-width:1200px;padding-left:52px;padding-right:52px}.qd-thread-wrap{max-width:980px}}
@media(max-width:1100px) and (min-width:761px){.qd-wrap{padding:30px 32px 45px}.qd-search input{width:190px}.qd-toolbar{gap:14px}.qd-filter{padding:8px 11px}.qd-thread-wrap{max-width:900px}}
@media(max-width:760px){.qd-wrap{padding:24px 19px 36px}.qd-eyebrow{font-size:9px;margin-bottom:10px;letter-spacing:.1em}.qd-hero{gap:12px;margin-bottom:24px}.qd-hero h1{font-size:21px;line-height:1.5;letter-spacing:-.4px;margin-bottom:7px}.qd-hero .qd-sub{font-size:12px;line-height:1.8;max-width:230px}.qd-hero>.qd-button{font-size:11px;padding:9px 11px;min-height:38px;margin-top:4px;box-shadow:none}.qd-tabs{padding:0 11px;gap:8px;min-height:49px}.qd-tabs button{padding:14px 9px 12px;font-size:12px;gap:7px}.qd-toolbar{gap:12px;padding:13px 0 15px}.qd-filters{width:100%;justify-content:space-between;gap:0}.qd-filter{font-size:12px;padding:8px 10px;min-height:36px}.qd-search{width:100%;gap:7px}.qd-search input{flex:1;min-width:0;width:auto;min-height:38px;font-size:12px}.qd-search .qd-button{padding:7px 11px}.qd-list-meta{margin-top:13px;font-size:11px}.qd-sort{font-size:11px;min-height:32px;max-width:113px}.qd-list-tools{gap:4px}.qd-item{gap:11px;padding:23px 0}.qd-item:before{inset:7px -8px}.qd-item>.qd-avatar{width:30px;height:30px;flex-basis:30px;font-size:12px}.qd-byline{font-size:11px;gap:6px;margin-bottom:8px}.qd-title{font-size:15px;line-height:1.75;font-weight:600}.qd-item-footer{display:block;margin-top:12px}.qd-item-footer .qd-badges{gap:5px}.qd-tag{font-size:10px;padding:3px 7px}.qd-item-footer .qd-metrics{margin-top:14px;font-size:11px;gap:20px}.qd-thread-wrap{padding-top:19px}.qd-back{margin-bottom:14px}.qd-thread-head{padding-bottom:20px;margin-bottom:20px}.qd-thread-head h1{font-size:21px;line-height:1.65;letter-spacing:-.2px;margin-bottom:17px}.qd-thread-identity{flex-wrap:wrap;gap:9px}.qd-thread-identity .qd-avatar{width:29px;height:29px;flex-basis:29px}.qd-thread-identity>.qd-metrics{flex-basis:100%;margin:5px 0 0 38px;font-size:11px}.qd-rich{font-size:14px;line-height:1.95}.qd-rich pre{padding:14px;font-size:11px;margin:17px 0}.qd-thread-wrap>.qd-actions{gap:8px}.qd-thread-wrap>.qd-actions>.qd-button{font-size:11px;padding:7px 10px;min-height:35px}.qd-thread-wrap>.qd-actions>.qd-text-action{font-size:11px;margin-left:0}.qd-reply{gap:10px;padding:21px 0}.qd-reply .qd-avatar{width:28px;height:28px;flex-basis:28px;font-size:11px}.qd-reply .qd-rich{font-size:13px}.qd-reply .qd-actions{gap:11px}.qd-empty{padding:48px 2px 55px}.qd-empty h2{font-size:16px}.qd-empty p{font-size:12px}.qd-dialog{width:calc(100vw - 24px);max-height:94dvh;border-radius:13px}.qd-dialog-head{padding:17px 18px 14px}.qd-dialog h2{font-size:17px}.qd-form{padding:16px 18px 0}.qd-form-row{grid-template-columns:1fr;gap:0}.qd-field{margin-bottom:16px}.qd-field input,.qd-field select,.qd-field textarea{font-size:16px}.qd-field textarea{font-size:14px;min-height:190px}.qd-editor-bar{font-size:10px;gap:7px}.qd-editor-bar>span:first-child{flex:1;min-width:0}.qd-compose-foot{padding:13px 0 15px;gap:9px;flex-wrap:wrap}.qd-compose-foot small{font-size:10px;flex:1 1 160px;max-width:210px}.qd-compose-foot .qd-button{font-size:12px;min-width:92px;padding:9px 14px}.qd-preview{min-height:190px}.qd-check{font-size:11px}}
@media(prefers-reduced-motion:reduce){.qd-item,.qd-item:before,.qd-title,.qd-button,.qd-filter{transition:none}}
/* The site reset removes the browser's default dialog auto margins. */
.qd-dialog{position:fixed;inset:0;margin:auto}.qd-dialog h2{font-family:'Noto Sans SC',sans-serif}

/* Give text and the chevron independent, predictable inner spacing. */
.qd-sort-wrap{position:relative;display:inline-flex;flex:0 0 auto;align-items:center}
.qd-sort-wrap .qd-sort{appearance:none;-webkit-appearance:none;box-sizing:border-box;min-width:132px;max-width:none;height:40px;min-height:40px;padding:0 40px 0 15px;line-height:normal;font-size:13px;border:1px solid #dfe7ef;border-radius:9px;background:#fff;cursor:pointer}
.qd-sort-wrap>svg{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:14px;height:14px;fill:none;stroke:#647d95;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.qd-sort-wrap .qd-sort:hover{border-color:#b9c9d7;background:#fcfdfe}
@media(max-width:760px){.qd-sort-wrap .qd-sort{min-width:124px;height:38px;min-height:38px;font-size:12px;padding-left:14px;padding-right:38px}.qd-sort-wrap>svg{right:13px}}

/* Keep reading actions visible; fold infrequent and moderator actions away. */
.qd-thread-wrap>.qd-thread-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:nowrap;margin-top:26px;padding:17px 0;border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5}
.qd-main-actions{display:flex;align-items:center;gap:10px;min-width:0}
.qd-main-actions>.qd-button{height:38px;min-height:38px;padding:8px 14px;font-size:12px;border-radius:8px;gap:7px}
.qd-main-actions>.qd-button[data-action=vote]{min-width:62px;background:#fff}
.qd-main-actions>.qd-button.primary{padding-inline:17px}
.qd-main-actions>.qd-share{border-color:transparent;background:transparent;color:#7a8e9f;padding-inline:10px;font-weight:500}
.qd-main-actions>.qd-share:hover{background:#f3f6f9;color:#35546d}
.qd-more{position:relative;flex:0 0 auto;margin-left:auto;color:#8192a2}
.qd-more>summary{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 10px;border:1px solid transparent;border-radius:7px;list-style:none;cursor:pointer;font-size:12px;white-space:nowrap;user-select:none}
.qd-more>summary::-webkit-details-marker{display:none}.qd-more>summary::marker{content:''}
.qd-more>summary:hover,.qd-more[open]>summary{background:#f1f5f8;color:#35516b;border-color:#e8eef3}
.qd-more-dots{font-size:19px;font-weight:700;line-height:12px;letter-spacing:1px;position:relative;top:-2px}
.qd-more-popover{position:absolute;right:0;top:calc(100% + 7px);z-index:25;width:182px;padding:5px;border:1px solid #e1e8ef;border-radius:11px;background:white;box-shadow:0 10px 35px #162f471c,0 2px 6px #162f4708}
.qd-more-group{padding:4px 0}.qd-more-group+.qd-more-group{border-top:1px solid #edf1f4}
.qd-more-label{display:block;padding:6px 10px 4px;color:#a0aeb9;font-size:10px;letter-spacing:.04em}
.qd-more-popover button{display:block;width:100%;min-height:35px;padding:8px 10px;border:0;border-radius:6px;background:transparent;text-align:left;font-family:inherit;font-size:12px;font-weight:400;color:#587085;line-height:1.6;cursor:pointer}
.qd-more-popover button:hover{background:#f2f6f9;color:#1d425e}.qd-more-popover .qd-more-danger{color:#b65c58}.qd-more-popover .qd-more-danger:hover{background:#fff4f2;color:#a3423d}
.qd-reply .qd-actions{flex-wrap:nowrap}.qd-reply .qd-more>summary{font-size:11px;min-height:30px;padding:4px 8px}.qd-replies{border-top:0;margin-top:29px;padding-top:0}
@media(max-width:760px){.qd-thread-wrap>.qd-thread-actions{gap:6px;padding:14px 0;margin-top:22px}.qd-main-actions{gap:5px}.qd-main-actions>.qd-button{height:35px;min-height:35px;padding:6px 9px;font-size:11px;gap:5px}.qd-main-actions>.qd-button[data-action=vote]{min-width:46px}.qd-main-actions>.qd-button.primary{padding-inline:11px}.qd-main-actions>.qd-share{padding-inline:6px}.qd-main-actions>.qd-share svg{display:none}.qd-more>summary{font-size:11px;gap:4px;padding:6px 7px;min-height:35px}.qd-more-popover{width:170px}.qd-more-popover button{min-height:40px;font-size:12px;padding:10px}.qd-replies{margin-top:25px}}
.qd-more>summary .qd-more-dots{display:block;position:static;flex:0 0 18px;width:18px;height:18px;fill:currentColor;stroke:none}
/* Match the composer select's text inset to neighboring text fields. */
.qd-category-select{display:block;position:relative;margin-top:8px}
.qd-field .qd-category-select select{appearance:none;-webkit-appearance:none;box-sizing:border-box;width:100%;height:44px;min-height:44px;margin:0;padding:0 40px 0 14px;line-height:normal;border-radius:8px;background:#fff;font-size:13px}
.qd-category-select>svg{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:14px;height:14px;fill:none;stroke:#647d95;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
@media(max-width:760px){.qd-field .qd-category-select select{font-size:16px;height:46px;min-height:46px}}
.qd-owner-actions{display:inline-flex;align-items:center;gap:15px;margin-left:auto;flex-shrink:0}.qd-owner-actions>.qd-text-action{padding:7px 3px;min-height:32px;font-size:11px}.qd-owner-actions>[data-action=delete]{color:#a58c8a}

/* Match the main site's article-sharing vocabulary and existing thumb asset. */
.qd-panel,.qd-dialog{--qd-gold:#d8b24a;--qd-gold-ink:#8b6a18;--qd-navy:#102a45}
.qd-like-icon{display:block;width:18px;height:18px;object-fit:contain;flex:0 0 auto}
.qd-metrics .qd-like-icon{width:16px;height:16px;filter:none;opacity:.85}
.qd-button[data-action=vote]{border:1px solid #dfe7ef;background:#f8fbfd;color:#526174;font-weight:700;box-shadow:none;transition:background .18s,border-color .18s,color .18s}
.qd-button[data-action=vote]:hover:not(:disabled),.qd-button[data-action=vote][aria-pressed=true]{background:#fff7df;border-color:#d8b24a;color:#8b6a18}
.qd-button[data-action=vote][aria-pressed=true] .qd-like-icon{transform:scale(1.05)}
.qd-main-actions>.qd-button[data-action=vote]{border-radius:12px;background:#fff}
.qd-main-actions>.qd-button[data-action=vote][aria-pressed=true]{background:#fff7df;border-color:#d8b24a;color:#8b6a18}
.qd-main-actions .qd-like-icon{width:22px;height:22px;filter:drop-shadow(0 3px 7px #d8b24a26)}
.qd-panel .qd-button.primary,.qd-dialog .qd-button.primary{background:linear-gradient(135deg,#e9c368,#d8b24a);border-color:#dab85b;color:#071d33;box-shadow:0 5px 15px #d8b24a26;font-weight:700}
.qd-panel .qd-button.primary:hover:not(:disabled),.qd-dialog .qd-button.primary:hover:not(:disabled){background:linear-gradient(135deg,#efcd7e,#dfba56);border-color:#caa447;box-shadow:0 6px 18px #d8b24a33}
.qd-hero>.qd-button.primary,.qd-compose-foot>.qd-button.primary{border-radius:999px;padding-inline:20px}
.qd-item:nth-child(n) .qd-avatar,.qd-thread-identity .qd-avatar,.qd-reply .qd-avatar{background:linear-gradient(135deg,#071d33,#102a45 55%,#c4983f);color:#fff;box-shadow:inset 0 0 0 1px #ffffff26}
.qd-author{color:#102a45;font-weight:600}
.qd-filter[aria-pressed=true]{background:#fff7df;color:#8b6a18}
.qd-replies{border:1px solid #d9e4ee;border-radius:24px;padding:24px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 8px 24px #10243a06;margin-top:30px}
.qd-comment-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:19px}
.qd-comment-head h2{font-family:'Noto Sans SC',sans-serif;font-size:19px;font-weight:700;color:#102a45;margin:0;line-height:1.5;display:flex;align-items:center;gap:9px}
.qd-comment-head h2>span{display:inline-grid;place-items:center;min-width:24px;height:23px;padding:0 6px;border-radius:99px;background:#f2f5f8;color:#78899b;font-size:11px;font-weight:600;font-family:'JetBrains Mono',monospace}
.qd-comment-head p{font-size:11px;color:#8fa0b3;margin:0}
.qd-reply{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;border:1px solid #edf2f7;border-radius:18px;padding:16px;background:#fff;margin-top:12px}
.qd-reply .qd-avatar{width:38px;height:38px;flex-basis:38px;font-size:12px}
.qd-reply .qd-byline{margin:0 0 7px;line-height:1.7}.qd-reply .qd-rich{font-size:14px;line-height:1.8;color:#26384d}.qd-reply .qd-rich p:first-child{margin-top:0}.qd-reply .qd-rich p:last-child{margin-bottom:10px}
.qd-reply .qd-actions{display:flex;align-items:center;gap:8px;margin-top:10px;flex-wrap:wrap}
.qd-reply .qd-button[data-action=vote],.qd-reply .qd-text-action[data-action=reply]{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:5px 10px;border:1px solid #dfe7ef;border-radius:999px;background:#f8fbfd;color:#526174;font-size:11px;font-weight:600;line-height:1.5;box-shadow:none}
.qd-reply .qd-button[data-action=vote][aria-pressed=true],.qd-reply .qd-text-action[data-action=reply]:hover{background:#fff7df;border-color:#d8b24a;color:#8b6a18}
.qd-reply .qd-like-icon{width:18px;height:18px}
.qd-reply-nested{position:relative;margin-left:18px;background:linear-gradient(180deg,#f8fbfef5,#fffffff5);grid-template-columns:30px minmax(0,1fr);padding:13px 14px 13px 16px}
.qd-reply-nested:before{content:'';position:absolute;left:-13px;top:4px;bottom:4px;width:2px;border-radius:99px;background:linear-gradient(180deg,#d8b24a59,#d8b24a0f)}
.qd-reply-nested:after{content:'';position:absolute;left:-17px;top:22px;width:10px;height:10px;border-radius:50%;background:#fff;border:2px solid #d8b24a;box-shadow:0 0 0 3px #d8b24a1f}
.qd-reply-nested .qd-avatar{width:30px;height:30px;font-size:11px}.qd-parent{border:0;padding:0;background:none;color:#8b6a18;margin:0 0 8px;font-size:11px;line-height:1.6}
.qd-dialog .qd-field input:focus,.qd-dialog .qd-field textarea:focus,.qd-dialog .qd-field select:focus{border-color:#c7a344;outline:0;box-shadow:0 0 0 3px #d8b24a24}
.qd-editor-bar button{border-radius:999px;background:#f1f5f9;color:#526174}.qd-check input{accent-color:#b89232}
@media(max-width:760px){.qd-replies{border-radius:20px;padding:17px 14px;margin-top:25px}.qd-comment-head{gap:8px;margin-bottom:15px;align-items:center}.qd-comment-head h2{font-size:16px;gap:7px}.qd-comment-head p{font-size:10px}.qd-reply{grid-template-columns:30px minmax(0,1fr);gap:9px;border-radius:15px;padding:12px;margin-top:10px}.qd-reply .qd-avatar{width:30px;height:30px;font-size:11px}.qd-reply .qd-rich{font-size:13px}.qd-reply .qd-actions{gap:7px}.qd-reply-nested{margin-left:12px;padding-left:11px;grid-template-columns:26px minmax(0,1fr)}.qd-reply-nested .qd-avatar{width:26px;height:26px;font-size:10px}.qd-reply-nested:before{left:-10px}.qd-reply-nested:after{left:-14px;width:9px;height:9px}.qd-main-actions .qd-like-icon{width:20px;height:20px}.qd-hero>.qd-button.primary{padding-inline:14px}.qd-reply .qd-owner-actions{gap:10px}}
.qd-button[data-action=vote]:disabled{cursor:default}
.qd-reply.qd-reply-target{border-color:#d8b24a;background:#fffdf5;box-shadow:0 0 0 3px #d8b24a18;scroll-margin:140px}.qd-reply.qd-reply-target:focus{outline:0}

/* A compact reading toolbar: reactions and reply together, sharing at the far edge. */
.qd-thread-wrap>.qd-thread-actions{padding:13px 0;gap:10px}
.qd-thread-actions>.qd-main-actions{flex:1;gap:8px}
.qd-thread-actions .qd-main-actions>.qd-button{box-sizing:border-box;height:36px;min-height:36px;border-radius:999px;padding:0 13px;font-size:12px;line-height:1;gap:7px;box-shadow:none}
.qd-thread-actions .qd-main-actions>.qd-button[data-action=vote]{min-width:60px;border-color:#e3e9ef;background:#fff}
.qd-thread-actions .qd-main-actions>.qd-button .qd-like-icon{width:20px;height:20px}
.qd-thread-actions .qd-main-actions>.qd-button.primary{background:#fff6db;color:#89691c;border-color:#ead8a0;padding-inline:15px;box-shadow:none}
.qd-thread-actions .qd-main-actions>.qd-button.primary:hover:not(:disabled){background:#fbecc0;border-color:#d9bd70;box-shadow:none}
.qd-thread-actions .qd-main-actions>.qd-share{margin-left:auto;padding-inline:10px;color:#7d8b99;border-color:transparent;background:transparent;font-weight:500}
.qd-thread-actions .qd-main-actions>.qd-button svg{width:16px;height:16px}
@media(max-width:420px){.qd-thread-actions .qd-main-actions{gap:6px}.qd-thread-actions .qd-main-actions>.qd-button{padding-inline:10px;font-size:11px}.qd-thread-actions .qd-main-actions>.qd-share{padding-inline:6px}.qd-thread-actions .qd-main-actions>.qd-button[data-action=vote]{min-width:48px}}

/* Let whitespace separate the reading sections instead of repeated rules. */
.qd-toolbar{border-top:0;border-bottom:0;padding-top:4px;padding-bottom:12px}
.qd-thread-head{border-bottom:0}
.qd-thread-wrap>.qd-thread-actions{border-top:0;border-bottom:0;margin-top:18px;padding-top:6px;padding-bottom:6px}
.qd-item:last-of-type{border-bottom:0}
.qd-editor-bar{border-top:0;border-bottom:0}

/* Match community articles: one interaction rail, an author-led reading card, then replies. */
.qd-post-layout{display:grid;grid-template-columns:64px minmax(0,1fr);gap:24px;align-items:start}
.qd-post-rail{position:sticky;top:20px;display:flex;flex-direction:column;gap:23px;padding:22px 0;text-align:center}
.qd-rail-item{display:flex;flex-direction:column;align-items:center;gap:6px;color:#8391a1;font-size:11px}
.qd-rail-item>strong{font-size:21px;line-height:1.2;color:#43596d;font-weight:700;font-variant-numeric:tabular-nums}
.qd-rail-like>.qd-button{display:flex;flex-direction:column;gap:8px;background:transparent;border:0;padding:0;min-height:0;border-radius:10px;font-size:21px;font-weight:700;color:#43596d;line-height:1.2;box-shadow:none}
.qd-rail-like>.qd-button .qd-like-icon{width:28px;height:28px}
.qd-rail-like>.qd-button.active{color:#a37c24;background:transparent}
.qd-rail-like>.qd-button:hover:not(:disabled){background:#fff7df}
.qd-post-card{min-width:0;border:1px solid #e6ecf2;border-radius:22px;padding:30px;background:#fff}
.qd-post-card .qd-thread-head{margin-bottom:24px;padding-bottom:0}
.qd-post-card .qd-thread-head h1{font-size:28px;line-height:1.5;margin-top:12px;margin-bottom:20px}
.qd-post-card .qd-thread-identity{justify-content:flex-start}
.qd-post-card>.qd-thread-actions{border:0;margin-top:24px;padding:8px 0 0;display:flex;align-items:center;gap:12px}
.qd-post-layout>.qd-replies{grid-column:2;margin-top:0}
@media(max-width:920px){.qd-post-layout{grid-template-columns:minmax(0,1fr);gap:18px}.qd-post-rail{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:12px;background:#f8fafc;border-radius:16px}.qd-rail-item{justify-content:center;min-height:48px}.qd-rail-like>.qd-button{flex-direction:row;font-size:19px;gap:7px}.qd-rail-like>.qd-button .qd-like-icon{width:23px;height:23px}.qd-rail-item>strong{font-size:19px}.qd-post-layout>.qd-replies{grid-column:1}.qd-post-card{padding:22px}.qd-post-card .qd-thread-head h1{font-size:23px}}
.scard .qd-post-layout{grid-template-columns:minmax(0,1fr);gap:16px}
.scard .qd-post-card{padding:16px;border-radius:16px}
.scard .qd-post-card .qd-thread-head h1{font-size:19px}
.scard .qd-post-layout>.qd-replies{grid-column:1}
.qd-avatar{overflow:hidden;padding:0}
.qd-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}

/* Align filter text with the heading and result count on one reading edge. */
.qd-filters{justify-content:flex-start;gap:22px}
.qd-filters .qd-filter{position:relative;padding:9px 0 11px;margin:0;min-height:38px;border-radius:0;background:transparent;color:#788797;line-height:1.5}
.qd-filters .qd-filter[aria-pressed=true]{background:transparent;color:#8b6a18;font-weight:700}
.qd-filters .qd-filter[aria-pressed=true]:after{content:'';position:absolute;left:0;right:0;bottom:2px;height:2px;border-radius:2px;background:#c39a43}
.qd-filters .qd-filter:hover{color:#8b6a18}
.qd-hero{margin-bottom:20px}
.qd-list-meta{margin-top:12px}
@media(max-width:760px){.qd-filters{justify-content:flex-start;gap:20px}.qd-hero{margin-bottom:16px}.qd-toolbar{gap:14px}.qd-list-meta{margin-top:10px}}
.qd-ai-label{display:inline-flex;align-items:center;font-size:10px;line-height:1.5;font-weight:600;color:#8b6a18;background:#fff7df;border-radius:5px;padding:1px 5px}
