/* Presentation for the compact customer support desk. Availability and requests use the existing server state. */
.lf-support-hub {
  --help-ink:#173047; --help-muted:#526b80; --help-line:#d4e2ec; --help-panel:#fff;
  --help-soft:#f3f8fc; --help-accent:#087b94; --help-accent-ink:#fff; --help-tint:#e8f8fc;
  min-width:0; color:var(--help-ink);
}
.dark .lf-support-hub {
  --help-ink:#ecf6ff; --help-muted:#adc3d6; --help-line:#294258; --help-panel:#0e1d2d;
  --help-soft:#12273a; --help-accent:#7fdfef; --help-accent-ink:#092532; --help-tint:#123640;
}
.lf-support-hub :is(button,a,input,textarea,[data-slot="select-trigger"]):focus-visible { outline:2px solid var(--help-accent); outline-offset:3px; }
.lf-support-hub > p[role="status"] { gap:10px; color:var(--help-muted); font-size:11px; line-height:1.6; }
.lf-support-header { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(250px,.8fr); gap:22px 30px; min-width:0; padding:26px 26px 0; border:1px solid var(--help-line); border-radius:20px; background:radial-gradient(ellipse at 5% 0,var(--help-tint),transparent 65%),var(--help-panel); }
.lf-support-header-main { min-width:0; }
.lf-support-heading { display:flex; align-items:center; gap:14px; min-width:0; }
.lf-support-brand-icon { display:flex; align-items:center; justify-content:center; flex-shrink:0; width:48px; height:48px; border:1px solid var(--help-line); border-radius:15px; background:var(--help-panel); color:var(--help-accent); box-shadow:0 5px 15px #09253205; }
.lf-support-brand-icon svg { width:25px; height:25px; }
.lf-support-heading > div > p { color:var(--help-accent); font-size:10px; font-weight:750; line-height:1.7; letter-spacing:.12em; text-transform:uppercase; }
.lf-support-heading h2 { color:var(--help-ink); font-size:30px; font-weight:750; line-height:1.2; letter-spacing:-.04em; }
.lf-support-header-description { margin-top:14px; color:var(--help-muted); font-size:14px; line-height:1.8; }
.lf-support-header-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px 16px; margin-top:19px; }
.lf-support-header-actions > button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:10px 15px; border-radius:10px; font-size:13px; font-weight:650; }
.lf-support-header-actions > button > svg { width:16px; height:16px; flex-shrink:0; }
.lf-support-reply-note { display:inline-flex; align-items:center; gap:6px; color:var(--help-muted); font-size:11px; line-height:1.7; }
.lf-support-reply-note svg { width:14px; height:14px; flex-shrink:0; }
.lf-support-guide { position:relative; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-content:center; align-items:start; gap:12px; min-width:0; align-self:stretch; padding:21px; border:1px solid var(--help-line); border-radius:14px; background:var(--help-soft); color:var(--help-ink); text-decoration:none; transition:background-color .15s,border-color .15s; }
.lf-support-guide-icon { display:flex; align-items:center; justify-content:center; width:38px; height:38px; border:1px solid var(--help-line); border-radius:11px; background:var(--help-panel); color:var(--help-accent); }
.lf-support-guide-icon svg { width:19px; height:19px; }
.lf-support-guide-kicker { display:block; margin-bottom:5px; color:var(--help-accent); font-size:9px; font-weight:750; line-height:1.6; letter-spacing:.09em; text-transform:uppercase; }
.lf-support-guide strong { display:block; color:var(--help-ink); font-size:16px; font-weight:700; line-height:1.5; letter-spacing:-.02em; }
.lf-support-guide-description { display:block; margin-top:6px; color:var(--help-muted); font-size:12px; line-height:1.8; }
.lf-support-guide > svg { align-self:center; width:16px; height:16px; color:var(--help-accent); transition:transform .15s; }
.lf-support-header-meta { grid-column:1/-1; display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; padding:8px 0; border-top:1px solid var(--help-line); color:var(--help-muted); font-size:12px; line-height:1.6; }
.lf-support-availability { display:inline-flex; align-items:center; gap:8px; min-height:36px; margin-right:auto; font-weight:600; }
.lf-support-availability > span { flex-shrink:0; width:7px; height:7px; border-radius:50%; background:var(--help-muted); }
.lf-support-availability.is-available { color:var(--help-accent); }
.lf-support-availability.is-available > span { background:#239d7a; box-shadow:0 0 0 4px #239d7a14; }
.lf-support-header-meta > button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:44px; padding:7px 10px; border:1px solid transparent; border-radius:9px; color:var(--help-muted); font-size:12px; cursor:pointer; transition:background-color .15s,border-color .15s; }
.lf-support-header-meta > button strong { color:var(--help-ink); font-size:12px; font-weight:750; }
.lf-support-header-meta > button svg { width:14px; height:14px; flex-shrink:0; color:var(--help-accent); }
.lf-support-hub .lf-support-coverage { padding:0 16px; border-color:var(--help-line); border-radius:11px; background:var(--help-panel); }
.lf-support-hub .lf-support-coverage > summary { min-height:44px; padding:12px 0; color:var(--help-muted); font-size:12px; line-height:1.7; }
.lf-support-coverage > summary::marker { color:var(--help-accent); }
.lf-support-coverage[open] > div { margin-top:0; padding:4px 0 16px; }
.lf-support-hub .lf-support-workspace { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:start; gap:20px; }
.lf-support-hub :is(.lf-support-requests,.lf-support-new-request) { min-width:0; padding:22px; border:1px solid var(--help-line); border-radius:17px; background:var(--help-panel); }
.lf-support-hub .lf-support-new-request { border-top:3px solid var(--help-accent); padding-top:20px; }
.lf-support-hub .lf-support-section-heading { padding-bottom:17px; border-bottom:1px solid var(--help-line); }
.lf-support-section-title { display:flex; align-items:flex-start; gap:11px; min-width:0; }
.lf-support-section-title > div { min-width:0; }
.lf-support-section-icon { display:flex; align-items:center; justify-content:center; flex-shrink:0; width:36px; height:36px; border:1px solid var(--help-line); border-radius:11px; background:var(--help-soft); color:var(--help-accent); }
.lf-support-section-icon svg { width:17px; height:17px; }
.lf-support-hub .lf-support-section-title h3 { color:var(--help-ink); font-size:18px; font-weight:700; line-height:1.5; letter-spacing:-.025em; }
.lf-support-hub .lf-support-section-title p { margin-top:3px; color:var(--help-muted); font-size:12px; line-height:1.75; }
.lf-support-hub .lf-support-list-switch { flex-wrap:wrap; min-width:0; padding:3px; border-color:var(--help-line); border-radius:10px; background:var(--help-soft); box-shadow:none; }
.lf-support-hub .lf-support-list-switch button { min-height:40px; padding:8px 11px; border-radius:7px; color:var(--help-muted); font-size:12px; line-height:1.5; }
.lf-support-hub .lf-support-list-switch button[aria-pressed="true"] { background:var(--help-accent); color:var(--help-accent-ink); box-shadow:0 2px 4px #0925320a; }
.lf-support-hub .lf-support-list-tools { grid-template-columns:minmax(0,1fr); gap:9px; }
.lf-support-hub :is(.lf-support-list-tools,.lf-support-request-form) :is(input,textarea,[data-slot="select-trigger"]) { min-width:0; min-height:44px; border-color:var(--help-line); background:var(--help-soft); color:var(--help-ink); border-radius:9px; font-size:13px; box-shadow:none; }
.lf-support-hub :is(input,textarea)::placeholder { color:var(--help-muted); opacity:1; }
.lf-support-hub .lf-support-list-summary { justify-content:space-between; gap:5px 12px; color:var(--help-muted); font-size:11px; line-height:1.7; }
.lf-support-hub .lf-support-list-summary > span:first-child { color:var(--help-accent); }
.lf-support-hub .lf-support-ticket { min-width:0; border-color:var(--help-line); background:var(--help-panel); box-shadow:none; }
.lf-support-hub .lf-support-ticket[data-needs-action] { border-color:var(--help-accent); background:var(--help-tint); }
.lf-support-ticket > div:first-child > div > p { overflow-wrap:anywhere; color:var(--help-ink); font-size:15px; line-height:1.6; }
.lf-support-ticket > div:first-child > div > div { overflow-wrap:anywhere; }
.lf-support-ticket button { min-height:44px; }
.lf-support-hub .lf-support-ticket-next { border:0; border-left:2px solid var(--help-line); border-radius:0; background:transparent; }
.lf-support-hub .lf-support-ticket-next p:first-child { font-size:10px; letter-spacing:.08em; }
.lf-support-hub .lf-support-ticket-next p:nth-child(2) { color:var(--help-ink); font-size:12px; }
.lf-support-hub .lf-support-ticket-next p:nth-child(3) { color:var(--help-muted); font-size:12px; line-height:1.75; }
.lf-support-hub .lf-support-request-form { display:grid; gap:17px; min-width:0; }
.lf-support-request-context:empty { display:none; }
.lf-support-hub .lf-support-request-context > div { padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.lf-support-hub .lf-support-request-context [data-slot="select-trigger"] { margin-top:8px; }
.lf-support-hub .lf-support-request-context p { color:var(--help-muted); font-size:11px; line-height:1.75; }
.lf-support-hub .lf-support-request-form label { color:var(--help-ink); font-size:12px; font-weight:650; }
.lf-support-description-field > label { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }
.lf-support-description-field > label > span { color:var(--help-muted); font-size:11px; font-weight:450; }
.lf-support-hub .lf-support-description-field textarea { min-height:145px; line-height:1.85; resize:vertical; }
.lf-support-hub .lf-support-attachments { border-color:var(--help-line); border-radius:11px; background:var(--help-soft); }
.lf-support-attachments > div:first-of-type > div { color:var(--help-ink); font-size:12px; font-weight:650; line-height:1.6; }
.lf-support-attachments #customer-support-attachments-hint { max-width:32ch; margin-top:4px; color:var(--help-muted); font-size:11px; font-weight:450; line-height:1.7; }
.lf-support-hub .lf-support-attachments button { min-height:44px; border-color:var(--help-line); }
.lf-support-hub .lf-support-attachment { max-width:100%; min-width:0; padding:0 4px 0 11px; border-color:var(--help-line); border-radius:10px; background:var(--help-panel); }
.lf-support-attachment-name { min-width:0; overflow-wrap:anywhere; line-height:1.6; }
.lf-support-attachment > span:nth-child(2) { flex-shrink:0; white-space:nowrap; }
.lf-support-attachment > button { display:flex; align-items:center; justify-content:center; flex-shrink:0; min-width:44px; min-height:44px; border-radius:8px; }
.lf-support-privacy { display:flex; align-items:flex-start; gap:8px; color:var(--help-muted); font-size:11px; line-height:1.8; }
.lf-support-privacy > svg { flex-shrink:0; width:15px; height:15px; margin-top:2px; color:var(--help-accent); }
.lf-support-hub .lf-support-submit button { min-width:0; min-height:46px; gap:7px; border-radius:9px; padding:10px 12px; white-space:normal; font-size:12px; line-height:1.6; }
.lf-support-hub .lf-support-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:260px; padding:27px 20px; border-color:var(--help-line); border-radius:12px; background:radial-gradient(ellipse at 50% 0,var(--help-tint),transparent 75%),var(--help-soft); text-align:center; }
.lf-support-empty > svg { box-sizing:content-box; width:27px; height:27px; margin-bottom:16px; padding:14px; border:1px solid var(--help-line); border-radius:17px; background:var(--help-panel); color:var(--help-accent); }
.lf-support-empty > h4 { color:var(--help-ink); font-size:17px; font-weight:700; line-height:1.5; letter-spacing:-.025em; }
.lf-support-empty > p { max-width:34ch; margin-top:8px; color:var(--help-muted); font-size:12px; line-height:1.85; }
.lf-support-empty > :is(a,button) { display:inline-flex; align-items:center; gap:7px; min-height:44px; margin-top:13px; padding:6px 10px; border-radius:8px; color:var(--help-accent); font-size:12px; font-weight:650; cursor:pointer; }
.lf-support-empty > :is(a,button) > svg { width:15px; height:15px; }
.lf-support-conversation { min-width:0; }
@media(hover:hover) {
  .lf-support-guide:hover { border-color:var(--help-accent); background:var(--help-tint); }
  .lf-support-guide:hover > svg { transform:translateX(3px); }
  .lf-support-header-meta > button:hover { border-color:var(--help-line); background:var(--help-soft); color:var(--help-ink); }
  .lf-support-empty > :is(a,button):hover { background:var(--help-tint); }
}
@media(max-width:1200px) {
  .lf-support-hub .lf-support-workspace { grid-template-columns:minmax(0,1fr); }
  .lf-support-hub .lf-support-list-tools { grid-template-columns:minmax(0,1fr) minmax(160px,220px); }
}
@media(max-width:750px) {
  .lf-support-header { grid-template-columns:minmax(0,1fr); gap:18px; padding:21px 21px 0; }
  .lf-support-guide { align-items:center; padding:15px; }
  .lf-support-guide-description { max-width:44ch; }
}
@media(max-width:550px) {
  .lf-support-header { gap:16px; padding:17px 17px 0; border-radius:16px; }
  .lf-support-heading { gap:11px; }
  .lf-support-heading h2 { font-size:27px; }
  .lf-support-brand-icon { width:43px; height:43px; border-radius:13px; }
  .lf-support-brand-icon svg { width:23px; height:23px; }
  .lf-support-header-description { font-size:13px; }
  .lf-support-header-actions { gap:10px; margin-top:15px; }
  .lf-support-header-actions > button { flex:1 1 100%; }
  .lf-support-reply-note { flex:1 1 100%; justify-content:center; }
  .lf-support-guide { grid-template-columns:auto minmax(0,1fr); gap:11px; }
  .lf-support-guide > svg { display:none; }
  .lf-support-guide-description { font-size:11px; }
  .lf-support-header-meta { gap:2px 5px; padding:8px 0; }
  .lf-support-availability { flex:1 1 100%; min-height:32px; }
  .lf-support-header-meta > button { justify-content:flex-start; padding-left:0; padding-right:9px; }
  .lf-support-hub .lf-support-workspace { gap:17px; }
  .lf-support-hub :is(.lf-support-requests,.lf-support-new-request) { padding:17px; border-radius:15px; }
  .lf-support-hub .lf-support-new-request { padding-top:15px; }
  .lf-support-hub .lf-support-section-title h3 { font-size:17px; }
  .lf-support-section-icon { width:32px; height:32px; border-radius:10px; }
  .lf-support-hub .lf-support-list-tools { grid-template-columns:minmax(0,1fr); }
  .lf-support-hub .lf-support-list-switch button { min-height:44px; }
  .lf-support-hub .lf-support-list-summary { justify-content:flex-start; }
  .lf-support-hub .lf-support-coverage > div > section > div:first-child { grid-template-columns:minmax(0,1fr); }
  .lf-support-hub .lf-support-coverage p.hidden { display:block; }
  .lf-support-hub .lf-support-empty { min-height:235px; padding:22px 15px; }
  .lf-support-hub .lf-support-ticket > div:first-child > div { flex-basis:100%; }
}
@media(prefers-reduced-motion:reduce) {
  .lf-support-hub :is(.lf-support-guide,.lf-support-guide > svg,.lf-support-header-meta > button,.lf-support-ticket,.lf-support-ticket button) { transition:none; transform:none; }
  .lf-support-hub .animate-ping { animation:none; }
}
