.qh-community{color:var(--ink);font-size:15px}.qh-community:is(section){max-width:1100px;margin:0 auto;padding:34px 36px 60px}.qh-page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.qh-page-heading h1{font-size:30px;margin:10px 0 12px}.qh-page-heading p{margin:0}.qh-eyebrow{font-size:13px;color:var(--muted);letter-spacing:1px}.qh-muted{color:var(--muted);font-size:13px;line-height:1.8}.qh-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;border-radius:8px;padding:10px 15px;font-size:14px;line-height:1.5;flex-shrink:0;min-height:40px}.qh-button.primary{background:var(--action);color:var(--on-action)}.qh-button.secondary{background:var(--surface);border-color:var(--line);color:var(--ink)}.qh-button.text{color:var(--link);background:transparent;padding:6px 2px;min-height:32px}.qh-button.text:hover{text-decoration:underline}.qh-button.danger{background:var(--warning-bg);color:var(--warning);border-color:var(--warning-border)}.qh-button:hover{filter:brightness(.97)}.qh-actions{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:12px 0 0}.qh-actions>.qh-field{flex:1;min-width:180px}.qh-identity{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-top:1px solid var(--line);font-size:13px}.qh-identity .qh-actions{margin:0}.qh-rules{background:var(--soft);padding:14px 18px;border-radius:10px;font-size:13px;margin-bottom:24px}.qh-rules summary{cursor:pointer;font-weight:600}.qh-rules p{margin:10px 0 0;color:var(--muted)}.qh-filter-bar{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:20px 0}.qh-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:5px;border-radius:10px;background:var(--soft);width:fit-content}.qh-button.tab{color:var(--muted);padding:9px 13px}.qh-button.tab[aria-pressed=true]{background:var(--surface);box-shadow:0 2px 6px var(--shadow);color:var(--ink);font-weight:600}.qh-field{display:flex;flex-direction:column;gap:8px;margin:16px 0;font-size:14px;min-width:0}.qh-field>span{font-weight:550}.qh-field input,.qh-field select,.qh-field textarea{font:inherit;width:100%;max-width:100%;color:var(--ink);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:11px 12px;line-height:1.6}.qh-field textarea{resize:vertical;min-height:90px}.qh-field small{color:var(--muted);font-size:12px;line-height:1.7;font-weight:400}.qh-filter-bar .qh-field{margin:0;min-width:145px}.qh-filter-bar .qh-field>span{font-size:12px;color:var(--muted)}.qh-check{display:flex;align-items:start;gap:10px;font-size:14px;line-height:1.7;margin:18px 0}.qh-check input{margin-top:5px;accent-color:var(--action);width:16px;height:16px;flex-shrink:0}.qh-notice{font-size:13px;color:var(--muted);line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.qh-notice:empty{display:none}.qh-error{color:var(--warning);background:var(--warning-bg);border-radius:8px;padding:12px 15px}.qh-feed{display:flex;flex-direction:column;gap:16px}.qh-post-card{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:24px}.qh-post-card h2,.qh-post-card h3{margin:10px 0;font-size:20px;line-height:1.6;overflow-wrap:anywhere}.qh-card-top{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.qh-badge{display:inline-block;font-size:11px;border:1px solid var(--line);border-radius:5px;padding:3px 7px;color:var(--muted);background:var(--surface-raised)}.qh-badge.soft{background:var(--soft);border-color:transparent;color:var(--link)}.qh-preference{font-size:12px;color:var(--muted)}.qh-post-title{padding:0;color:var(--ink);font:inherit;text-align:left;display:block;white-space:normal;overflow-wrap:anywhere;max-width:100%;min-height:0;border:0;border-radius:0}.qh-post-title:hover{text-decoration:underline;text-underline-offset:5px}.qh-meta{font-size:12px;color:var(--muted);margin:7px 0;overflow-wrap:anywhere}.qh-excerpt{font-size:14px;line-height:1.85;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}.qh-review-reason{font-size:13px;background:var(--warning-bg);padding:12px;border-radius:8px;color:var(--warning);white-space:pre-wrap;overflow-wrap:anywhere}.qh-empty{padding:50px 24px;text-align:center;border:1px dashed var(--border);border-radius:12px;color:var(--muted);line-height:1.9}.qh-dialog{width:min(730px,calc(100% - 30px));padding:32px;max-height:88dvh;overflow:auto}.qh-dialog>.qh-close{position:sticky;float:right;top:0;font-size:24px;padding:0;min-height:36px;width:36px;background:var(--surface);z-index:1}.qh-dialog>h2{padding-right:40px;margin:0 0 22px}.qh-dialog .qh-field{display:flex;margin:16px 0}.qh-dialog .qh-field>input{padding:11px 12px}.qh-dialog .qh-field>small{margin:0}.qh-dialog .qh-actions{margin-top:18px}.qh-detail-title{font-size:24px;line-height:1.6;overflow-wrap:anywhere}.qh-post-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.95;font-size:15px;color:var(--ink);margin:18px 0}.qh-comments{border-top:1px solid var(--line);margin-top:26px;padding-top:15px}.qh-comment{border-bottom:1px solid var(--line);padding:12px 0 18px}.qh-comment .qh-post-body{margin:8px 0}.qh-list-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.qh-list-row>.qh-notice{width:100%}.qh-admin-body{margin-top:24px}.qh-admin-body>form{max-width:680px;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:24px}.qh-admin-group{margin-top:30px}.qh-admin-group h2{font-size:20px}.qh-admin-group .qh-post-card{margin:15px 0}.qh-admin-body>.qh-post-card{margin:15px 0}.qh-admin-body form .qh-field:first-child{margin-top:0}.qh-admin-body .qh-post-card form{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.qh-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0 32px}.qh-stat{padding:20px;border-radius:12px;border:1px solid var(--line);background:var(--surface)}.qh-stat span{font-size:13px;color:var(--muted);display:block}.qh-stat strong{font-size:30px;display:block;margin-top:12px;font-weight:550}.qh-audit{padding:18px 0;border-bottom:1px solid var(--line)}.qh-audit>p:last-child{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.qh-load-more{align-self:center}
@media(max-width:920px){.qh-community:is(section){padding:28px 24px 50px}.qh-page-heading{align-items:start}.qh-page-heading h1{font-size:27px}.qh-filter-bar{align-items:start;flex-direction:column;gap:12px}.qh-filter-bar .qh-field{width:100%}}
@media(max-width:620px){.qh-community:is(section){padding:24px 16px 40px}.qh-page-heading{flex-direction:column;gap:15px}.qh-page-heading h1{font-size:25px}.qh-identity{flex-wrap:wrap}.qh-post-card{padding:19px 17px}.qh-post-card h2{font-size:19px}.qh-tabs{width:100%}.qh-button.tab{flex:1;padding:9px;font-size:13px}.qh-dialog{padding:24px 18px}.qh-dialog>.qh-close{top:0}.qh-dialog>h2{font-size:22px}.qh-admin-body>form{padding:20px 16px}.qh-stats{grid-template-columns:1fr}.qh-stat{display:flex;align-items:center;justify-content:space-between}.qh-stat strong{margin:0;font-size:26px}.qh-field{font-size:14px}.qh-actions>.qh-field{min-width:100%}.qh-detail-title{font-size:22px}}

.qh-policy-link{display:inline-block;margin:4px 0 4px 8px;color:var(--link);text-decoration:underline;text-underline-offset:3px}.qh-policy-link:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.qh-resolution-content{padding:1.15rem;background:var(--soft,var(--soft));border:1px solid var(--line,var(--line));border-radius:14px;margin:1rem 0}.qh-resolution-content h4{margin-top:0}.qh-review-reason summary{cursor:pointer;font-weight:600}.qh-admin-group .qh-actions{flex-wrap:wrap}

.qh-muted,.qh-meta,.qh-rules p,.qh-button.tab{color:var(--muted)}.qh-button.qh-close{width:44px;height:44px;min-height:44px}
@media(max-width:620px){.qh-button.text{min-height:44px;padding:8px 10px}}

/* Post reading has its own quiet surface; the fixed header keeps close in reach. */
html:has(.qh-post-dialog[open]){overflow:hidden}
.qh-post-dialog{width:min(820px,calc(100% - 40px));max-width:none;max-height:min(90dvh,960px);padding:0;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:0 28px 100px var(--shadow);overflow:hidden}
.qh-post-dialog[open]{display:flex;flex-direction:column}
.qh-post-dialog::backdrop{background:var(--backdrop);backdrop-filter:blur(6px)}
.qh-post-dialog>h2{flex-shrink:0;margin:0;padding:23px 40px;border-bottom:1px solid var(--line);background:var(--surface-raised);color:var(--muted);font-size:13px;font-weight:550;letter-spacing:1px;line-height:1.5}
.qh-post-dialog>.qh-close{position:absolute;float:none;top:11px;right:18px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--muted);font-size:25px;line-height:1;z-index:2}
.qh-post-dialog>.qh-close:hover{background:var(--soft);color:var(--ink)}
.qh-post-dialog>.qh-close:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.qh-post-content{min-height:0;padding:34px 42px 38px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--border) transparent}
.qh-post-loading{min-height:200px;display:grid;place-items:center;margin:0}
.qh-story-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.qh-post-dialog .qh-story-tags .qh-badge{border-radius:5px;padding:4px 9px;font-size:12px}
.qh-post-dialog .qh-detail-title{margin:17px 0 20px;color:var(--ink);font-family:"Songti SC",SimSun,serif;font-size:32px;line-height:1.5;font-weight:550;letter-spacing:.3px}
.qh-detail-author{display:flex;align-items:center;gap:11px;min-width:0}
.qh-author-mark{display:grid;place-items:center;flex:0 0 36px;height:36px;border:1px solid var(--line);border-radius:50%;background:var(--soft);color:var(--muted);font-family:"Songti SC",SimSun,serif;font-size:16px}
.qh-detail-author .qh-meta{margin:0;font-size:12px;line-height:1.6}
.qh-detail-author .qh-button.text{min-height:32px;padding:0 2px;font-size:13px;color:var(--link)}
.qh-response-preference{margin:25px 0;padding:16px 19px;border-left:2px solid var(--border);border-radius:0 10px 10px 0;background:var(--soft)}
.qh-preference-label{margin-right:13px;color:var(--muted);font-size:12px}
.qh-response-preference strong{color:var(--link);font-size:13px;font-weight:550}
.qh-post-dialog .qh-response-preference p{margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.7}
.qh-post-dialog .qh-story>.qh-post-body{margin:27px 0 30px;font-size:16px;line-height:2;color:var(--ink);letter-spacing:.15px}
.qh-post-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:26px;padding-top:19px;border-top:1px solid var(--line)}
.qh-post-toolbar>.qh-actions{margin:0;gap:8px}
.qh-post-toolbar .qh-button{min-height:40px;padding:9px 13px;border-radius:9px;font-size:13px}
.qh-post-toolbar .qh-button[aria-pressed=true]{background:var(--soft);border-color:var(--border);color:var(--selected-ink)}
.qh-post-options{position:relative;margin-left:auto;font-size:13px;color:var(--muted)}
.qh-post-options>summary{display:flex;align-items:center;gap:12px;min-height:44px;padding:9px 6px 9px 12px;list-style:none;cursor:pointer;border-radius:8px}
.qh-post-options>summary::-webkit-details-marker{display:none}
.qh-post-options>summary::after{content:'⌄';font-size:17px;line-height:1}
.qh-post-options[open]>summary{background:var(--soft)}
.qh-post-options>summary:focus-visible,.qh-reply-policy>summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.qh-post-options-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:3;width:176px;padding:6px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 8px 28px var(--shadow)}
.qh-post-options-menu .qh-button{display:flex;justify-content:flex-start;width:100%;min-height:44px;padding:10px 12px;background:transparent;border:0;text-align:left;color:var(--muted)}
.qh-post-options-menu .qh-button:hover{background:var(--soft)}
.qh-post-options-menu .qh-button.danger{color:var(--warning)}
.qh-post-dialog .qh-comments{margin-top:33px;padding-top:25px;border-top:1px solid var(--line)}
.qh-comments-heading{display:flex;align-items:center;gap:9px;margin-bottom:17px}
.qh-comments-heading h3{margin:0;color:var(--ink);font-size:17px;font-weight:550;letter-spacing:.3px}
.qh-comments-count{min-width:23px;padding:3px 7px;border-radius:7px;background:var(--soft);color:var(--muted);font-size:12px;text-align:center}
.qh-post-dialog .qh-comment{margin:12px 0;padding:18px 19px 9px;border:1px solid var(--line);border-radius:13px;background:var(--surface-raised)}
.qh-comment .qh-author-mark{flex-basis:30px;height:30px;font-size:14px}
.qh-post-dialog .qh-comment .qh-post-body{margin:13px 0 6px;color:var(--ink);font-size:15px;line-height:1.9}
.qh-post-dialog .qh-comment .qh-actions{justify-content:flex-end;gap:5px;margin:0}
.qh-post-dialog .qh-comment .qh-button.text{padding:7px 9px;font-size:12px;min-height:36px;color:var(--muted)}
.qh-comments-empty{padding:23px 20px;border:1px dashed var(--line);border-radius:13px;text-align:center;background:var(--surface-raised)}
.qh-post-dialog .qh-comments-empty p{margin:0;color:var(--muted);font-size:14px}
.qh-comments-empty span{display:block;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.8}
.qh-reply-form{margin-top:26px;padding:22px 23px 23px;border:1px solid var(--line);border-radius:15px;background:var(--soft)}
.qh-post-dialog .qh-reply-form .qh-field{margin:0 0 12px}
.qh-reply-form .qh-field>span{font-size:15px;font-weight:550}
.qh-post-dialog .qh-reply-form textarea{min-height:112px;padding:13px 15px;border-color:var(--border);border-radius:10px;font-size:15px;line-height:1.8;background:var(--surface)}
.qh-reply-form textarea::placeholder{color:var(--muted)}
.qh-post-dialog .qh-reply-form>.qh-muted{margin:10px 0 0;font-size:12px;line-height:1.8}
.qh-reply-policy{margin-top:5px;font-size:12px;color:var(--muted)}
.qh-reply-policy>summary{width:fit-content;min-height:32px;padding:5px 0;cursor:pointer;text-underline-offset:3px}
.qh-reply-policy[open]>summary{text-decoration:underline}
.qh-reply-policy .qh-muted{margin:7px 0 0;font-size:12px}
.qh-post-dialog .qh-reply-form>.qh-actions{justify-content:flex-end;margin-top:15px}
.qh-reply-form .qh-button.primary{min-height:44px;padding:11px 18px;border-radius:9px;font-size:13px}
.qh-post-dialog .qh-replies-closed{margin:22px 0 0;padding:13px 16px;border-radius:10px;background:var(--soft);text-align:center;font-size:13px}
@media(max-width:620px){
 .qh-post-dialog{width:calc(100% - 20px);max-height:94dvh;border-radius:18px}
 .qh-post-dialog>h2{padding:20px 22px;font-size:12px}
 .qh-post-dialog>.qh-close{top:7px;right:11px}
 .qh-post-content{padding:25px 21px 28px}
 .qh-post-dialog .qh-detail-title{margin:15px 0 17px;font-size:25px;line-height:1.55}
 .qh-detail-author .qh-button.text{min-height:44px}
 .qh-response-preference{margin:19px 0;padding:13px 15px}
 .qh-post-dialog .qh-story>.qh-post-body{margin:23px 0 24px;line-height:1.95}
 .qh-post-toolbar{margin-top:21px;padding-top:14px;gap:7px}
 .qh-post-toolbar .qh-button{min-height:44px;padding:9px 11px;font-size:12px}
 .qh-post-options>summary{font-size:12px;padding-left:8px;gap:7px}
 .qh-post-dialog .qh-comments{margin-top:27px;padding-top:22px}
 .qh-post-dialog .qh-comment{padding:14px 14px 7px}
 .qh-post-dialog .qh-comment .qh-button.text{min-height:44px}
 .qh-reply-form{margin-top:22px;padding:17px 15px 18px}
 .qh-post-dialog .qh-reply-form textarea{padding:11px 12px}
 .qh-reply-policy>summary{min-height:44px}
}
