.tc-widget { margin: 24px 0; padding: 20px; border: 1px solid #ddd; border-radius: 12px; background: #fff; color: #243047; text-align: right; overflow: visible; }
.tc-widget *, .tc-admin * { box-sizing: border-box; }
.tc-widget h2 { font-size: 20px; }
.tc-widget small, .tc-comment time { color: #586577; font-size: 12px; }
.tc-form { display: grid; gap: 10px; margin: 12px 0; }
.tc-form > label { display: block; }
.tc-form > textarea, .tc-form > label > textarea, .tc-form > input, .tc-form > select, .tc-form > label > input { display: block; width: 100%; border: 1px solid #b8c0ca; border-radius: 6px; padding: 10px; font: inherit; background: #fff; color: #243047; }
.tc-form textarea { min-height: 90px; resize: vertical; }
.tc-widget button, .tc-admin button { justify-self: start; width: auto; border: 1px solid #c2a65f; border-radius: 6px; padding: 6px 12px; font: inherit; font-size: 13px; background: #fff8e8; color: #463911; cursor: pointer; }
.tc-widget button:disabled { cursor: not-allowed; opacity: .6; }
.tc-comment { padding: 16px 0; border-top: 1px solid #e4e8ef; overflow-wrap: anywhere; }
.tc-comment > header { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tc-comment > p { line-height: 1.9; }
.tc-actions { display: flex; align-items: start; flex-wrap: wrap; gap: 8px; }
.tc-actions > form { margin: 0; }
.tc-actions details { max-width: 100%; }
.tc-actions summary { cursor: pointer; padding: 5px; }
.tc-replies { margin-inline-start: 18px; border-inline-start: 2px solid #e5d7b1; padding-inline-start: 12px; }
.tc-widget nav { display: flex; gap: 16px; }
.tc-feedback { color: #354b70; }
.tc-feedback[data-error="true"] { color: #a32222; }
.tc-widget :focus-visible, .tc-admin :focus-visible { outline: 2px solid #315fa4; outline-offset: 3px; }
.tc-admin { max-width: 1100px; margin: 24px auto; padding: 20px; }
.tc-admin article { padding: 16px; margin: 14px 0; background: white; border: 1px solid #ddd; border-radius: 10px; overflow-wrap: anywhere; }
.tc-admin .tc-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.tc-admin .tc-filters input, .tc-admin select { padding: 8px; border: 1px solid #bbb; border-radius: 6px; }
.tc-admin .tc-actions { margin-top: 12px; }
@media (max-width: 600px) { .tc-widget { padding: 12px; } .tc-replies { margin-inline-start: 6px; padding-inline-start: 6px; } }
