.turn-feedback{width:100%;min-width:0;color:var(--tx2,#5b667a);font-size:12px;line-height:1.6}
.tf-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px}
.tf-bar{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.tf-votes{display:inline-flex;align-items:center;gap:2px;padding-right:8px;margin-right:2px;border-right:1px solid var(--brd,#dfe4ee)}
.turn-feedback button{font:inherit;cursor:pointer}
.tf-vote,.tf-expand{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:28px;padding:3px 6px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--tx2,#5b667a);white-space:nowrap}
.tf-vote:hover,.tf-expand:hover,.tf-vote.selected{color:var(--acc,#165dff);background:var(--acc-m,#eef3ff)}
.tf-vote.selected{border-color:var(--acc-b,#c5d7ff)}
.tf-expand{gap:6px;color:var(--tx2,#5b667a)}
.tf-reward-hint{color:var(--tx2,#5b667a);font-size:11px}
.tf-status{margin-top:7px;color:var(--acc,#165dff)}
.tf-error{margin-top:7px;color:var(--err,#c0392b)}
.tf-form{max-width:760px;margin-top:12px;border:1px solid var(--brd,#dfe4ee);border-radius:12px;padding:20px;background:var(--bg0,#fff)}
.tf-heading{font-size:15px;font-weight:600;color:var(--tx1,#1a2233)}
.tf-caption{margin:4px 0 18px;color:var(--tx2,#5b667a)}
.tf-legacy{margin:0 0 14px;padding:10px 12px;border:1px solid var(--brd,#dfe4ee);border-radius:8px;background:var(--bg1,#f7f9fc)}
.tf-legacy .tf-caption{margin:0 0 6px}.tf-legacy summary{cursor:pointer;color:var(--acc,#165dff)}
.tf-legacy pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-weight:400;max-height:180px;overflow:auto;margin:4px 0 10px}
.tf-fieldset{border:0;margin:0 0 18px;padding:0;min-width:0}
.tf-fieldset legend,.tf-field{font-size:12px;color:var(--tx1,#1a2233);font-weight:600}
.tf-fieldset legend{margin-bottom:7px}
.tf-fieldset legend span,.tf-field>span{font-weight:400;color:var(--tx3,#8b95a7)}
.tf-options,.tf-reasons{display:flex;flex-wrap:wrap;gap:7px}
.tf-option{display:flex;align-items:center;justify-content:center;flex:1;gap:6px;border:1px solid var(--brd,#dfe4ee);border-radius:8px;padding:8px 10px;min-height:36px;background:var(--bg0,#fff);cursor:pointer;color:var(--tx2,#5b667a);white-space:nowrap}
.tf-option input{margin:0;accent-color:var(--acc,#165dff)}
.tf-option.selected,.tf-reason.selected{border-color:var(--acc,#165dff);color:var(--acc,#165dff);background:var(--acc-m,#eef3ff)}
.tf-reason{border:1px solid var(--brd,#dfe4ee);border-radius:6px;padding:5px 10px;min-height:32px;color:var(--tx2,#5b667a);background:transparent}
.tf-reason:hover,.tf-option:hover{border-color:var(--acc-b,#c5d7ff)}
.tf-field{display:block;margin-bottom:12px}
.tf-field textarea{display:block;box-sizing:border-box;width:100%;min-height:64px;margin-top:6px;padding:8px 10px;border:1px solid var(--brd,#dfe4ee);border-radius:8px;font-family:inherit;font-weight:400;font-size:13px;line-height:1.6;color:var(--tx1,#1a2233);background:var(--bg0,#fff);resize:vertical}
.tf-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;padding-top:12px;border-top:1px solid var(--brd,#dfe4ee)}
.tf-reward-summary{font-size:11px;color:var(--tx2,#5b667a)}
.tf-help{display:inline-flex;align-items:center;gap:4px;padding:4px 0;border:0;background:transparent;color:var(--tx2,#5b667a);white-space:nowrap}
.tf-help:hover,.tf-help[aria-expanded="true"]{color:var(--acc,#165dff)}
.tf-help-popover{position:fixed;z-index:220;width:340px;max-width:calc(100vw - 32px);max-height:min(400px,calc(100dvh - 32px));overflow:auto;padding:16px;border:1px solid var(--brd,#dfe4ee);border-radius:10px;background:var(--bg2,#fff);box-shadow:var(--zh-shadow-popover,0 4px 16px #0002);font:calc(12px * var(--fs,1))/1.75 var(--sans,sans-serif);color:var(--tx2,#5b667a);overflow-wrap:anywhere}
.tf-help-popover h4{margin:0 0 8px;font-size:1.08em;font-weight:600;color:var(--tx1,#1a2233)}
.tf-help-popover p{margin:0 0 10px}.tf-help-popover p:last-child{margin-bottom:0}
.tf-help-fine{padding-top:10px;border-top:1px solid var(--brd,#dfe4ee)}
.tf-actions{display:flex;gap:10px;margin-top:12px;align-items:center}
.tf-save-note{margin-left:auto;font-size:11px;color:var(--tx3,#8b95a7)}
.tf-submit,.tf-later{border-radius:8px;min-height:36px;padding:7px 14px}
.tf-submit{border:1px solid var(--zh-brand-primary,#165dff);color:#fff;background:var(--zh-brand-primary,#165dff)}
.tf-submit:hover{background:var(--zh-brand-primary-hover,#4080ff)}
.tf-later{border:0;background:transparent;color:var(--tx2,#5b667a)}
.turn-feedback button:disabled{opacity:.55;cursor:wait}
.turn-feedback button:focus-visible,.tf-field textarea:focus-visible,.tf-help-popover:focus-visible{outline:2px solid var(--acc,#165dff);outline-offset:3px}
.tf-load-error{display:flex;gap:8px;align-items:center;margin-top:8px;color:var(--tx3,#8b95a7);font-size:12px}
.tf-load-error button{border:0;background:transparent;color:var(--acc,#165dff);font:inherit;cursor:pointer}
[data-theme="dark"] .turn-feedback,[data-theme="dark"] .tf-help-popover{--acc:#7FA6FF;--acc-b:rgba(127,166,255,.5);--acc-m:rgba(127,166,255,.16)}
@media(max-width:600px){.tf-form{padding:16px}.tf-option{flex:1 1 calc(50% - 7px);box-sizing:border-box}.tf-vote,.tf-expand{min-height:36px}.tf-toolbar{gap:4px}.tf-toolbar .msg-foot-meta{width:100%;margin-left:0;justify-content:flex-start}.tf-field textarea{font-size:14px}.tf-submit,.tf-later{min-height:40px}.tf-help{min-height:32px}.tf-help-popover{font-size:calc(13px * var(--fs,1))}.tf-reward-hint{font-size:10px}}
