/* PerfectReputations Help Desk, public pages. The accent color comes from the settings. */
.prhd { --prhd-accent: #870200; --prhd-ink: #111; --prhd-gray: #555; --prhd-line: #dcdcdc; --prhd-soft: #f5f5f5; width: 100%; max-width: none; margin: 0; }
.prhd *, .prhd *::before, .prhd *::after { box-sizing: border-box; }
.prhd-h { margin: 0 0 14px; font-size: 1.5em; line-height: 1.25; }
.prhd-h3 { margin: 18px 0 8px; font-size: 1.15em; }
.prhd-muted { color: var(--prhd-gray); font-size: .9em; }
.prhd-form, .prhd-reply, .prhd-confirm, .prhd-ticket, .prhd-mine, .prhd-kb { background: #fff; border: 1px solid var(--prhd-line); border-radius: 10px; padding: 20px 22px; margin: 0 0 20px; }
.prhd-reply { margin-top: 16px; }
.prhd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 18px; }
.prhd label { display: block; font-weight: 700; margin-bottom: 5px; }
.prhd input[type="text"], .prhd input[type="email"], .prhd input[type="search"], .prhd select, .prhd textarea { width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; color: var(--prhd-ink); background: #fff; border: 1px solid #aaa; border-radius: 6px; }
.prhd select { height: auto !important; min-height: 44px !important; }
.prhd textarea { min-height: 120px; resize: vertical; }
.prhd input:focus, .prhd select:focus, .prhd textarea:focus, .prhd a:focus, .prhd-btn:focus { outline: 3px solid #fcff00; outline-offset: 1px; box-shadow: 0 0 0 5px var(--prhd-ink); }
.prhd input[type="file"] { min-height: 44px; }
.prhd-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 22px; border: 0; border-radius: 6px; background: var(--prhd-accent); color: #fff !important; font-weight: 700; font-size: 1em; text-decoration: none !important; cursor: pointer; }
.prhd-btn:hover { filter: brightness(.88); }
.prhd-btn[disabled] { opacity: .6; cursor: progress; }
.prhd-status { margin-left: 10px; font-weight: 600; }
.prhd-status.is-bad { color: #b00020; }
.prhd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.prhd-ts { margin: 6px 0 4px; }
.prhd-box { padding: 12px 16px; border-radius: 6px; margin: 0 0 16px; }
.prhd-err { background: #fff0f0; border-left: 5px solid #b00020; }
.prhd-note { background: #fff8d6; border-left: 4px solid var(--prhd-ink); padding: 8px 12px; border-radius: 4px; }
.prhd-confirm:focus { outline: none; }
.prhd-matches { margin-top: 18px; border-top: 1px solid var(--prhd-line); padding-top: 6px; }
.prhd-kb-list { list-style: none; margin: 0; padding: 0; }
.prhd-kb-list li { padding: 10px 0; border-bottom: 1px solid var(--prhd-line); }
.prhd-kb-list li:last-child { border-bottom: 0; }
.prhd-kb-list a { font-weight: 700; color: var(--prhd-accent); }
.prhd-kb-list p { margin: 4px 0 0; color: var(--prhd-gray); }
.prhd-kb-search { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.prhd-kb-search input { flex: 1 1 240px; }
.prhd-kb-topics { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.prhd-kb-topics a { padding: 5px 12px; border: 1px solid var(--prhd-line); border-radius: 999px; text-decoration: none; color: var(--prhd-ink); font-size: .92em; }
.prhd-kb-topics a[aria-current] { background: var(--prhd-ink); color: #fff; border-color: var(--prhd-ink); }
.prhd-kb-topics span { color: inherit; opacity: .7; }
.prhd-thread { list-style: none; margin: 16px 0 0; padding: 0; }
.prhd-msg { border: 1px solid var(--prhd-line); border-radius: 8px; padding: 12px 14px; margin: 0 0 12px; background: #fff; }
.prhd-msg-staff { background: var(--prhd-soft); border-left: 4px solid var(--prhd-accent); }
.prhd-msg-head { margin-bottom: 6px; }
.prhd-msg-body p { margin: 0 0 8px; }
.prhd-tag { display: inline-block; font-size: .75em; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--prhd-accent); color: #fff; border-radius: 3px; padding: 1px 6px; }
.prhd-files { margin: 6px 0 0; padding-left: 18px; }
.prhd-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .85em; font-weight: 700; background: #eee; }
.prhd-st-open { background: #e3f2fd; color: #0d47a1; }
.prhd-st-waiting { background: #fff3b0; color: #4d3c00; }
.prhd-st-answered { background: #e8f3ea; color: #1d6b2a; }
.prhd-st-closed { background: #eee; color: #555; }
.prhd-mine ul { margin: 0; padding-left: 18px; }
.prhd-mine li { margin: 6px 0; }
@media (max-width: 600px) {
	.prhd-form, .prhd-reply, .prhd-confirm, .prhd-ticket, .prhd-mine, .prhd-kb { padding: 16px 14px; }
	.prhd-btn { width: 100%; justify-content: center; }
	.prhd-status { display: block; margin: 8px 0 0; }
}
