/* Homenetmen support widget. Canonical copy: dashboard/public_html/assets/support/widget.css */
.hm-support{--hm-accent:#1d4ed8;--hm-bg:#fff;--hm-text:#111827;--hm-muted:#6b7280;--hm-border:#e5e7eb;font-family:inherit;font-size:14px;color:var(--hm-text)}
.hm-support__fab{position:fixed;right:18px;bottom:18px;z-index:9998;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:var(--hm-accent);color:#fff;font:inherit;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.18)}
.hm-support__fab:hover{filter:brightness(1.08)}
.hm-support__fab-icon{width:24px;height:24px;display:block}
.hm-support__overlay{display:none;position:fixed;inset:0;z-index:9999;background:rgba(17,24,39,.55);padding:16px;overflow:auto}
.hm-support.is-open .hm-support__overlay{display:flex;align-items:flex-start;justify-content:center}
.hm-support__modal{width:100%;max-width:560px;margin:4vh auto;background:var(--hm-bg);border-radius:14px;padding:20px 22px 16px;box-shadow:0 20px 60px rgba(0,0,0,.3);display:flex;flex-direction:column;gap:10px;color:var(--hm-text)}
.hm-support__head{display:flex;align-items:center;justify-content:space-between}
.hm-support__head h2{margin:0;font-size:18px}
.hm-support__close{border:0;background:transparent;font-size:26px;line-height:1;cursor:pointer;color:var(--hm-muted)}
.hm-support__status{font-size:12px;color:var(--hm-muted)}
.hm-support__status.is-online::before,.hm-support__status.is-offline::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;background:#9ca3af}
.hm-support__status.is-online::before{background:#16a34a}
.hm-support__types{display:flex;gap:8px}
.hm-support__type{flex:1;display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--hm-border);border-radius:10px;cursor:pointer}
.hm-support__type.is-active{border-color:var(--hm-accent);background:rgba(29,78,216,.06)}
.hm-support__identity{font-size:13px;color:var(--hm-muted)}
.hm-support__anon{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hm-support__anon .hm-support__input:first-child{grid-column:1 / -1}
.hm-support__input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--hm-border);border-radius:10px;font:inherit;color:inherit;background:#fff}
.hm-support__input:focus{outline:2px solid rgba(29,78,216,.35);border-color:var(--hm-accent)}
textarea.hm-support__input{resize:vertical;min-height:110px}
.hm-support__hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.hm-support__row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:13px}
.hm-support__link{border:0;background:transparent;padding:0;color:var(--hm-accent);font:inherit;font-size:13px;cursor:pointer;text-decoration:underline}
.hm-support__file{display:none}
.hm-support__hint{color:var(--hm-muted);font-size:12px}
.hm-support__shot:empty{display:none}
.hm-support__shot{display:flex;align-items:flex-start;gap:10px}
.hm-support__shot img{max-width:160px;max-height:120px;border:1px solid var(--hm-border);border-radius:8px}
.hm-support__check{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:var(--hm-muted)}
.hm-support__details summary{cursor:pointer;font-size:13px;color:var(--hm-muted)}
.hm-support__preview{max-height:180px;overflow:auto;font-size:11px;background:#f9fafb;border:1px solid var(--hm-border);border-radius:8px;padding:8px;white-space:pre-wrap;word-break:break-all;margin:6px 0 0}
.hm-support__error{min-height:1em;font-size:13px;color:#b91c1c}
.hm-support__error:empty{display:none}
.hm-support__actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}
.hm-support__btn{display:inline-block;padding:10px 16px;border:0;border-radius:10px;background:var(--hm-accent);color:#fff;font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
.hm-support__btn[disabled]{opacity:.6;cursor:default}
.hm-support__btn--ghost{background:transparent;color:var(--hm-muted)}
.hm-support__foot{font-size:11px;color:var(--hm-muted);text-align:right}
.hm-support__thanks{font-size:15px;line-height:1.5}
.hm-hidden{display:none !important}
body.hm-support-open{overflow:hidden}
@media (max-width:600px){.hm-support__anon{grid-template-columns:1fr}.hm-support__modal{margin:0 auto;border-radius:12px}}
@media (prefers-color-scheme:dark){.hm-support{--hm-bg:#111827;--hm-text:#f3f4f6;--hm-muted:#9ca3af;--hm-border:#374151}.hm-support__input{background:#1f2937}.hm-support__preview{background:#0b1220}}
