/* Fahad UI — thin layer over the Saned design system (tokens + sd-* components). */
.fh-columns{grid-template-columns:var(--rail-start) minmax(0,1fr)}
@media(max-width:900px){.fh-columns{grid-template-columns:minmax(0,1fr)}}
.fh-wrap{max-width:1040px;margin-inline:auto}
.fh-h1{font-size:26px;margin-bottom:4px}
.fh-nav{gap:4px}
.fh-close{margin-bottom:12px}
.fh-owner{font-size:12px}
.fh-login{min-height:100dvh;display:grid;place-items:center;padding:16px}
.fh-login .sd-card{width:min(400px,100%)}
.fh-head{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.fh-head h1{margin:0}
.fh-sec{margin-bottom:20px}
.fh-sec .sd-card-head{justify-content:space-between}
.fh-list{margin:0;padding-inline-start:20px;display:flex;flex-direction:column;gap:6px}
.fh-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.fh-type{display:block;text-align:start;width:100%;cursor:pointer;background:var(--panel);border:1px solid var(--line);border-radius:var(--r-m);padding:14px 16px;box-shadow:var(--sh-1)}
.fh-type:hover{background:var(--sunk)}
.fh-type[aria-pressed=true]{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}
.fh-type strong{display:block;margin-bottom:4px}
.fh-type small{color:var(--ink-muted);font-size:12px}
.fh-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.fh-contact{padding:14px 16px;border:1px solid var(--line);border-radius:var(--r-m);background:var(--panel);display:flex;flex-direction:column;gap:6px;color:inherit;text-decoration:none!important}
a.fh-contact:hover{background:var(--sunk)}
.fh-contact .sd-row{justify-content:space-between}
.fh-meta{font-size:12px;color:var(--ink-muted)}
.fh-q{padding:10px 0;border-bottom:1px solid var(--line-2)}
.fh-q:last-child{border:0}
.fh-ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}
.fh-chat{display:flex;flex-direction:column;gap:14px;max-width:772px}
.fh-agent{display:flex;gap:10px;align-items:flex-start}
.fh-avatar{width:28px;height:28px;border-radius:9px;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:600;flex:none}
.fh-agent-text{padding-top:3px;max-width:82%;white-space:pre-wrap;overflow-wrap:anywhere}
.fh-user{display:flex;justify-content:flex-end}
.fh-user .sd-bubble{white-space:pre-wrap;overflow-wrap:anywhere}
.fh-t{font-size:11px;color:var(--ink-muted);margin-inline-start:8px}
.fh-report h1,.fh-report h2,.fh-report h3{margin-top:20px}
.fh-report h1{font-size:24px}.fh-report h2{font-size:19px}.fh-report h3{font-size:16px}
.fh-report ul{padding-inline-start:22px}
.fh-report table{border-collapse:collapse;margin:12px 0;font-size:13px}
.fh-report th,.fh-report td{border:1px solid var(--line);padding:6px 10px;text-align:start}
.fh-report th{background:var(--sunk)}
.fh-pre{white-space:pre-wrap;overflow-wrap:anywhere}
.fh-pulse{animation:fh-pulse 1.4s ease-in-out infinite}
@keyframes fh-pulse{50%{opacity:.45}}
.fh-toast{position:fixed;inset-block-end:16px;inset-inline:16px;max-width:420px;margin-inline:auto;z-index:80}
.fh-tabs{margin-bottom:12px}
