/* Small Home Tools 공용 피드백·커뮤니티 위젯 스타일. 사이트 글꼴·색을 물려받는다.
   사이트에서 --shtc-accent, --shtc-border, --shtc-bg, --shtc-muted 로 색을 맞출 수 있다. */
.shtc { --a: var(--shtc-accent, #1f5f8b); --b: var(--shtc-border, rgba(127,127,127,.35)); --bg: var(--shtc-bg, transparent); --m: var(--shtc-muted, rgba(100,100,100,1));
  box-sizing: border-box; max-width: 46rem; margin: 2rem auto; padding: 0; font: inherit; color: inherit; overflow-wrap: anywhere; line-break: strict; }
.shtc:lang(ko) { word-break: keep-all; }
.shtc [hidden] { display: none !important; }
.shtc *, .shtc *::before, .shtc *::after { box-sizing: border-box; }
.shtc-feedback { border: 0; border-radius: 12px; padding: 16px; background: var(--shtc-surface, #F4F5F7); }
.shtc-feedback input[type=text], .shtc-feedback input[type=email], .shtc-feedback select, .shtc-feedback textarea { background: #fff; }
.shtc-h { font-size: 17px; font-weight: 700; line-height: 1.4; margin: 0 0 .5rem; }
.shtc-lead { margin: 0 0 1rem; color: var(--m); line-height: 1.6; }
.shtc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.shtc-head .shtc-h { margin: 0; }
.shtc-form { display: grid; gap: .9rem; }
.shtc-field { display: grid; gap: .35rem; }
.shtc-field label { font-weight: 600; font-size: 15px; }
.shtc input[type=text], .shtc input[type=email], .shtc select, .shtc textarea {
  width: 100%; font: inherit; font-size: 16px; line-height: 1.5; color: inherit; background: var(--shtc-input-bg, #fff);
  border: 1px solid var(--shtc-line, #E5E8EB); border-radius: 10px; padding: .6rem .75rem; min-height: 44px; }
.shtc textarea { resize: vertical; min-height: 6rem; }
.shtc input:focus-visible, .shtc select:focus-visible, .shtc textarea:focus-visible, .shtc-btn:focus-visible, .shtc a:focus-visible { outline: 2px solid var(--shtc-ink, #191F28); outline-offset: 2px; }
.shtc-hint { margin: 0; font-size: .875rem; color: var(--m); line-height: 1.55; }
.shtc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.shtc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; font: inherit; font-size: 15px; font-weight: 600;
  border-radius: 10px; border: 0; background: var(--shtc-surface, #F4F5F7); color: var(--shtc-ink, #191F28); cursor: pointer; text-decoration: none; }
.shtc-primary { background: var(--a); color: #fff; }
.shtc-btn[disabled] { opacity: .55; cursor: progress; }
.shtc-small { min-height: 36px; padding: 0 12px; font-size: 13px; font-weight: 600; background: transparent; color: var(--m); }
.shtc-link { color: var(--a); text-decoration: underline; text-underline-offset: 2px; min-height: 44px; display: inline-flex; align-items: center; }
.shtc-status { margin: 0; min-height: 1.4em; line-height: 1.55; }
.shtc-status:empty { display: none; }
.shtc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.shtc-captcha:empty { display: none; }
.shtc-list, .shtc-replies { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.shtc-item { border: 0; border-bottom: 1px solid var(--shtc-line, #E5E8EB); border-radius: 0; padding: 14px 0; min-height: 56px; background: transparent; }
.shtc-item-title { font-weight: 600; font-size: 15px; color: inherit; text-decoration: none; display: block; line-height: 1.45; }
.shtc-item-title:hover { text-decoration: underline; }
.shtc-excerpt { margin: .35rem 0; line-height: 1.6; }
.shtc-meta { margin: 0; font-size: .85rem; color: var(--m); }
.shtc-post { border: 0; border-radius: 12px; padding: 16px; background: var(--shtc-surface, #F4F5F7); }
.shtc-post-title { font-size: 17px; margin: 0 0 .35rem; line-height: 1.4; }
.shtc-body { white-space: pre-wrap; line-height: 1.7; margin: .75rem 0; }
.shtc-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.shtc-note { font-size: .85rem; color: var(--m); }
.shtc-sub { font-size: 15px; margin: 1.5rem 0 .75rem; }
.shtc-reply { border-bottom: 1px solid var(--shtc-line, #E5E8EB); padding: 12px 0; }
.shtc-reply .shtc-body { margin: .35rem 0; }
.shtc-reply-form { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--b); }
.shtc-muted { color: var(--m); margin: 0 0 .5rem; }
@media (max-width: 480px) {
  .shtc { margin: 1.5rem auto; }
  .shtc-feedback, .shtc-post { padding: 1rem; }
  .shtc-actions .shtc-primary { flex: 1 1 100%; }
}
@media (prefers-color-scheme: dark) { .shtc { --shtc-input-bg: transparent; } }
