.qc { margin: 24px 0; color: #11234a; scroll-margin-top: 110px; }
.qc *, .qc-dialog * { box-sizing: border-box; }
.qc [hidden] { display: none !important; }
.qc-heading h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 8px; }
.qc-heading p { color: #52668b; margin: 0 0 16px; font-size: 14px; }
.qc-count, .qc-badge { background: #e9efff; border-radius: 18px; padding: 3px 10px; font-size: 12px; color: #0759f7; font-weight: 700; }
.qc-count { font-size: 16px; }
.qc-info, .qc-notice { background: #edf3ff; border: 1px solid #d6e2ff; border-radius: 10px; padding: 11px 14px; font-size: 13px; }
.qc-info i { margin-right: 7px; color: #0759f7; }
.qc-notice { background: #fff6de; color: #68531c; }
.qc-compose { margin: 20px 0; }
.qc-author { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 10px; }
.qc-field, .qc-inline-compose label { display: block; }
.qc textarea, .qc select { font: inherit; color: inherit; border: 1px solid #bccdf0; border-radius: 10px; background: #fff; }
.qc textarea { display: block; width: 100%; resize: vertical; padding: 12px; min-height: 96px; margin: 7px 0; font-size: 14px; }
.qc textarea:focus, .qc select:focus { outline: 3px solid #d3e1ff; border-color: #0759f7; }
.qc-compose-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 10px; }
.qc-compose-actions small { margin-right: auto; color: #52668b; }
.qc-signin { background: #edf3ff; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px; margin: 20px 0; }
.qc-signin h3 { margin: 0 0 6px; font-size: 19px; }
.qc-signin p { margin: 0; font-size: 13px; color: #52668b; }
.qc-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 0; border-block: 1px solid #e1e9fa; }
.qc-toolbar label { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.qc-toolbar select { padding: 7px; font-size: 13px; }
.qc-comment { min-width: 0; scroll-margin-top: 100px; }
.qc [data-qc-list] > .qc-comment + .qc-comment { border-top: 1px solid #e1e9fa; }
.qc-comment-main { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; }
.qc-comment-content { position: relative; flex: 1; min-width: 0; }
.qc-comment-head { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding-inline-end: 34px; min-height: 24px; font-size: 13px; line-height: 1.4; }
.qc-comment-head > a, .qc-comment-head > strong { color: #0759f7; font-weight: 700; overflow-wrap: anywhere; }
.qc-comment-head time, .qc-comment-head small { color: #52668b; font-size: 12px; }
.qc-comment-head time { display: inline-flex; align-items: center; gap: 7px; }
.qc-comment-head time::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.qc .ask-person-avatar { width: 32px; height: 32px; font-size: 11px; }
.qc .qc-comment-main > .ask-person-avatar { width: 36px; height: 36px; border: 0; color: #172b65 !important; background: linear-gradient(135deg, #eeebff, #dcdcff); font-size: 13px; cursor: default; }
.qc .qc-text { margin: 1px 0 3px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; font-size: 14px; color: #172343; }
.qc-comment-head .qc-parent-link { font-size: 11px; font-weight: 400; color: #627394; }
.qc a { color: #0759f7; }
.qc-comment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 20px; }
.qc-action { background: none; border: 0; padding: 5px 0; color: #0759f7; font: inherit; font-size: 12px; cursor: pointer; text-align: left; }
.qc-action:disabled { color: #7184a7; cursor: default; }
.qc-comment-actions .qc-action { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding-block: 3px; font-weight: 650; }
.qc-comment-actions .qc-action + .qc-action { position: relative; }
.qc-comment-actions .qc-action + .qc-action::before { content: ""; position: absolute; inset-inline-start: -10px; top: 50%; width: 1px; height: 12px; transform: translateY(-50%); background: #c7d7f4; }
.qc-comment-actions .qc-action:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 3px; }
.qc-comment-actions .qc-helpful:not([aria-pressed=true]) { color: #253b69; }
.qc-comment-actions .qc-helpful i { font-size: 14px; }
.qc-reply-chevron { font-size: 10px; }
.qc-reply-chevron-up { transform: rotate(180deg); }
.qc-comment-actions > small { color: #52668b; font-size: 11px; }
.qc-action:focus-visible, .qc-menu summary:focus-visible { outline: 3px solid #9abaff; outline-offset: 3px; border-radius: 3px; }
.qc-children { margin: 0 0 8px 17px; padding-inline-start: 25px; border-inline-start: 2px solid #d9e4ff; }
.qc-children .qc-children .qc-children { margin-inline-start: 0; padding-inline-start: 0; border-inline-start: 0; }
.qc-menu { position: absolute; inset-inline-end: 0; top: 0; }
.qc-menu summary { list-style: none; padding: 3px 5px; color: #142550; cursor: pointer; letter-spacing: 2px; }
.qc-menu summary::-webkit-details-marker { display: none; }
.qc-menu > div { position: absolute; right: 0; top: 100%; min-width: 190px; padding: 8px 14px; background: #fff; border: 1px solid #d6e2ff; border-radius: 10px; box-shadow: 0 10px 28px #142b5620; z-index: 5; }
.qc-menu .qc-action { display: block; width: 100%; padding: 9px 0; }
.qc-placeholder { padding: 10px 12px; background: #f0f3fa; border-radius: 8px; font-style: italic; color: #627394; font-size: 13px; }
.qc-inline-compose { padding: 14px; background: #f4f7ff; border: 1px solid #d6e2ff; border-radius: 12px; }
.qc-more { width: 100%; margin-top: 16px; }
.qc-status { margin: 12px 0; font-size: 13px; color: #385783; overflow-wrap: anywhere; }
.qc-status:empty, .qc-error:empty { display: none; }
.qc-error { color: #a52136; font-size: 13px; }
.qc-highlight > .qc-comment-main { background: #edf3ff; box-shadow: 0 0 0 5px #edf3ff; border-radius: 8px; }
.qc-dialog { width: min(520px, calc(100vw - 28px)); max-height: 85dvh; border: 1px solid #d6e2ff; border-radius: 18px; padding: 24px; color: #11234a; box-shadow: 0 20px 70px #10234840; }
.qc-dialog::backdrop { background: #07153380; backdrop-filter: blur(3px); }
.qc-dialog > header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.qc-dialog header h2 { font-size: 22px !important; margin: 0 !important; }
.qc-dialog header button { background: none; border: 0; font-size: 28px; color: #52668b; cursor: pointer; }
.qc-report-form label { display: grid; gap: 8px; margin: 16px 0; font-size: 14px; }
.qc-report-form select { padding: 10px; }
.qc-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media(max-width:600px) {
    .qc { padding: 18px 14px; }
    .qc-heading h2 { font-size: 21px; }
    .qc-children { margin-inline-start: 13px; padding-inline-start: 12px; }
    .qc-children .qc-children { margin-inline-start: 0; padding-inline-start: 0; border-inline-start: 0; }
    .qc-signin { align-items: stretch; flex-direction: column; gap: 14px; }
    .qc-compose-actions .ask-primary { width: 100%; }
    .qc textarea { font-size: 16px; }
    .qc-comment-main { gap: 10px; }
    .qc .qc-comment-main > .ask-person-avatar { width: 30px; height: 30px; font-size: 11px; }
    .qc-comment-actions .qc-action { min-height: 30px; }
    .qc-dialog { padding: 20px; }
}
