/* ezCare 居家｜三個後台共用設計系統（平台管理／代理商後台／會員中心）2026-10-16
   - 左側選單＋右側內容；角色用主色區分（--accent）：平台=靛藍、代理商=青綠、會員=暖橘
   - CSP 是 style-src 'self'：不可用 style="" 與 Google Fonts，一律寫在這支檔 */

:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --line: #e3e8ef;
  --line-strong: #cfd7e3;
  --text: #172033;
  --text-2: #4a5568;
  --text-3: #7a8699;
  --ok: #15803d;   --ok-bg: #e8f6ee;
  --warn: #b45309; --warn-bg: #fdf3e2;
  --danger: #c0262d; --danger-bg: #fdecec;
  --info: #1d5fbf; --info-bg: #e8f0fc;
  --muted-bg: #eef1f5;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 14px rgba(16, 24, 40, .05);
  --sidebar-w: 248px;
  --font: "ezCare Noto Sans TC", -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Segoe UI", sans-serif;
  --base-size: 15px;

  /* 角色主色（預設平台） */
  --accent: #4338ca;
  --accent-strong: #3730a3;
  --accent-soft: #eef0fd;
  --sidebar-bg: #1e1b4b;
  --sidebar-text: #c7c9f0;
  --sidebar-active: rgba(255, 255, 255, .12);
}
body.role-dealer {
  --accent: #0f766e; --accent-strong: #115e59; --accent-soft: #e6f5f3;
  --sidebar-bg: #0b3b38; --sidebar-text: #bfe3df;
}
body.role-member {
  --accent: #c2410c; --accent-strong: #9a3412; --accent-soft: #fdf0e8;
  --sidebar-bg: #3b2416; --sidebar-text: #f0d6c6;
  --base-size: 17px; /* 家屬多為長輩，字放大 */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.console {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: var(--base-size); line-height: 1.55;
}
.console a { color: var(--accent); }
/* 連結型按鈕／磚塊／數字卡：不吃上面的連結色（否則按鈕會變成主色字配主色底） */
.console a.btn { color: #fff; }
.console a.btn.secondary { color: var(--text); }
.console a.btn.secondary:hover { color: var(--accent); }
.console a.btn.ghost { color: var(--accent); }
.console a.tile, .console a.kpi { color: inherit; }
.console h1, .console h2, .console h3 { margin: 0; line-height: 1.3; color: var(--text); }

/* ── 外框：左側選單＋主內容 ── */
.shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 22px; padding: 22px 14px;
  background: var(--sidebar-bg); color: var(--sidebar-text);
}
.sb-brand { display: grid; gap: 8px; padding: 0 10px; text-decoration: none; }
.sb-brand b { color: #fff; font-size: 19px; letter-spacing: .3px; }
.sb-role {
  justify-self: start; padding: 3px 10px; border-radius: 99px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .5px;
}
.sb-org { padding: 0 10px; color: #fff; font-size: 13px; font-weight: 600; opacity: .9; }
.sb-nav { display: grid; gap: 2px; }
.sb-nav .sb-group { margin: 14px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: 1px; opacity: .6; }
.sb-nav a {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px;
  color: var(--sidebar-text); text-decoration: none; font-size: 14.5px; font-weight: 600;
}
.sb-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.sb-nav a.active { background: var(--sidebar-active); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.sb-nav svg, .icon { width: 18px; height: 18px; flex: 0 0 auto; }
.sb-nav .sb-count { margin-left: auto; padding: 1px 8px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12px; }
.sb-foot { margin-top: auto; display: grid; gap: 8px; padding: 14px 10px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.sb-foot .sb-user { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.sb-foot .sb-email { opacity: .75; overflow-wrap: anywhere; }
.sb-foot form { margin: 4px 0 0; }
.sb-foot button {
  width: 100%; padding: 9px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 9px;
  background: transparent; color: #fff; font: inherit; font-weight: 600; cursor: pointer;
}
.sb-foot button:hover { background: rgba(255, 255, 255, .08); }

.main { min-width: 0; padding: 28px 36px 60px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.page-head .crumb { display: inline-flex; gap: 6px; margin-bottom: 6px; color: var(--text-3); font-size: 13px; }
.page-head .crumb a { color: var(--text-3); text-decoration: none; }
.page-head .crumb a:hover { color: var(--accent); }
.page-head h1 { font-size: 26px; font-weight: 800; }
.page-head .sub { margin: 6px 0 0; color: var(--text-2); }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── 提示訊息 ── */
.flash, .alert {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 15px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-weight: 600;
}
.flash.success, .alert.ok { border-color: #bfe3cb; background: var(--ok-bg); color: var(--ok); }
.flash.danger, .flash.error, .alert.danger { border-color: #f3c3c3; background: var(--danger-bg); color: var(--danger); }
.flash.warning, .alert.warn { border-color: #f1d6a8; background: var(--warn-bg); color: var(--warn); }
.flash.info, .alert.info { border-color: #c7d8f4; background: var(--info-bg); color: var(--info); }

/* ── 數字卡 ── */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi {
  position: relative; display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: inherit;
}
a.kpi:hover { border-color: var(--accent); }
.kpi .kpi-label { color: var(--text-2); font-size: 13px; font-weight: 600; }
.kpi .kpi-value { font-size: 30px; font-weight: 800; line-height: 1.15; color: var(--text); }
.kpi .kpi-hint { color: var(--text-3); font-size: 12.5px; }
.kpi.tone-ok .kpi-value { color: var(--ok); }
.kpi.tone-warn .kpi-value { color: var(--warn); }
.kpi.tone-danger .kpi-value { color: var(--danger); }
.kpi.tone-accent .kpi-value { color: var(--accent); }
.kpi::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: transparent; }
.kpi.tone-ok::before { background: var(--ok); }
.kpi.tone-warn::before { background: var(--warn); }
.kpi.tone-danger::before { background: var(--danger); }
.kpi.tone-accent::before { background: var(--accent); }

/* ── 卡片／區塊 ── */
.card, .panel {
  margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
}
.card-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.card-head h2 { font-size: 17px; font-weight: 750; }
.card-head .sub { margin: 3px 0 0; color: var(--text-3); font-size: 13px; }
.card-body { padding: 18px 20px; }
.card-body > :first-child { margin-top: 0; }
.card-body > :last-child { margin-bottom: 0; }
.panel { padding: 18px 20px; }
.panel > h2 { margin-bottom: 12px; font-size: 17px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 > .card, .grid-3 > .card { margin-bottom: 0; }
.stack { display: grid; gap: 20px; }

/* 資料清單（標籤＋值） */
.dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 20px; margin: 0; }
.dl div { min-width: 0; }
.dl dt { color: var(--text-3); font-size: 12.5px; font-weight: 600; }
.dl dd { margin: 3px 0 0; font-weight: 650; overflow-wrap: anywhere; }

/* ── 表格 ── */
.table-wrap { overflow-x: auto; }
.console table { width: 100%; border-collapse: collapse; }
.console th {
  padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2);
  color: var(--text-3); font-size: 12.5px; font-weight: 700; text-align: left; white-space: nowrap;
}
.console td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.console tbody tr:last-child td { border-bottom: 0; }
.console tbody tr:hover td { background: #fafbfd; }
.card > .table-wrap table th:first-child, .card > .table-wrap table td:first-child { padding-left: 20px; }
.console td .sub, .console td small { display: block; margin-top: 2px; color: var(--text-3); font-size: 12.5px; }
.nowrap { white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.empty, .console td.empty { padding: 30px 20px; color: var(--text-3); text-align: center; }

/* ── 狀態標籤 ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px;
  background: var(--muted-bg); color: var(--text-2); font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .85; }
.badge.plain::before { display: none; }
.badge.ok, .badge.online, .badge.active { background: var(--ok-bg); color: var(--ok); }
.badge.warn, .badge.unknown, .badge.warning, .badge.pending { background: var(--warn-bg); color: var(--warn); }
.badge.danger, .badge.offline, .badge.critical, .badge.blocked, .badge.suspended { background: var(--danger-bg); color: var(--danger); }
.badge.info { background: var(--info-bg); color: var(--info); }
.badge.accent { background: var(--accent-soft); color: var(--accent-strong); }

/* ── 按鈕 ── */
.btn, .console button.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 15px;
  border: 1px solid var(--accent); border-radius: var(--radius-sm); background: var(--accent); color: #fff;
  font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.btn.secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn.secondary:hover { border-color: var(--accent); color: var(--accent); background: var(--surface); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent-soft); }
.btn.danger { background: var(--danger); border-color: var(--danger); }
.btn.danger:hover { background: #9f1e24; }
.btn.small { min-height: 30px; padding: 4px 10px; font-size: 13px; }
.btn.block { width: 100%; }
body.role-member .btn { min-height: 46px; font-size: 16px; }

/* ── 表單 ── */
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 16px; align-items: end; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span, .field > label { color: var(--text-2); font-size: 13px; font-weight: 700; }
.field small, .hint { color: var(--text-3); font-size: 12.5px; }
.console input[type=text], .console input[type=email], .console input[type=password], .console input[type=search],
.console input:not([type]), .console input[type=tel], .console input[type=number], .console input[type=month], .console input[type=date],
.console select, .console textarea {
  width: 100%; min-width: 0; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); font: inherit; font-size: 15px;
}
.console input:focus, .console select:focus, .console textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
body.role-member input:not([type=checkbox]):not([type=radio]):not([type=hidden]), body.role-member select { font-size: 17px; padding: 12px 14px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar .grow { flex: 1 1 260px; }
.inline-form { display: inline; margin: 0; }
details.fold { border-top: 1px solid var(--line); }
details.fold > summary { padding: 14px 20px; color: var(--accent); font-weight: 700; cursor: pointer; list-style: none; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: "＋ "; }
details.fold[open] > summary::before { content: "－ "; }
details.fold > .card-body { padding-top: 0; }

/* ── 分頁 ── */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; }

/* ── 小元件 ── */
.muted { color: var(--text-3); }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.code, .console code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tile {
  display: grid; gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow); color: inherit; text-decoration: none;
}
a.tile:hover { border-color: var(--accent); }
.tile-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tile-head h3 { font-size: 17px; }
.tile.alert-tile { border-color: #f3c3c3; box-shadow: 0 0 0 2px var(--danger-bg); }
.vitals { display: flex; flex-wrap: wrap; gap: 18px; }
.vitals div { display: grid; }
.vitals span { color: var(--text-3); font-size: 12.5px; font-weight: 600; }
.vitals b { font-size: 22px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline time { color: var(--text-3); font-size: 13px; }

/* ── 登入頁：左側角色說明＋右側表單 ── */
.auth { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(360px, 520px); min-height: 100vh; }
.auth-side {
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 48px;
  background: var(--sidebar-bg); color: var(--sidebar-text);
}
.auth-side .sb-brand { padding: 0; }
.auth-side h1 { color: #fff; font-size: 34px; font-weight: 800; }
.auth-side p { max-width: 460px; margin: 12px 0 0; font-size: 16px; line-height: 1.7; }
.auth-side ul { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.auth-side li { display: flex; gap: 10px; align-items: center; }
.auth-side li svg { width: 18px; height: 18px; color: #fff; }
.auth-side .auth-foot { font-size: 13px; opacity: .7; }
.auth-main { display: grid; align-content: center; padding: 48px; background: var(--surface); }
.auth-main h2 { font-size: 24px; font-weight: 800; }
.auth-main .sub { margin: 8px 0 24px; color: var(--text-2); }
.auth-main form { display: grid; gap: 16px; }
.auth-main .switch-links { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13.5px; }
.auth-main .switch-links a { margin-right: 14px; font-weight: 600; }

/* ── 手機：選單改成上方橫列 ── */
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: column; gap: 10px; padding: 14px 16px; }
  .sb-brand { grid-auto-flow: column; justify-content: start; align-items: center; padding: 0; }
  .sb-org { padding: 0; }
  .sb-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .sb-nav .sb-group { display: none; }
  .sb-nav a.active { box-shadow: inset 0 -3px 0 var(--accent); }
  .sb-foot { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 10px 0 0; }
  .sb-foot .sb-email { display: none; }
  .sb-foot button { width: auto; }
  .main { padding: 20px 16px 48px; }
  .page-head { flex-direction: column; align-items: flex-start; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { padding: 28px 22px; }
  .auth-side ul, .auth-side .auth-foot { display: none; }
  .auth-main { padding: 28px 22px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn .icon { width: 16px; height: 16px; }
.console tfoot td { border-top: 2px solid var(--line-strong); font-weight: 800; }
.card:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ── 圖表（_charts.html，伺服器端 SVG）── */
.chart { display: block; width: 100%; height: auto; }
.chart .ch-grid { stroke: var(--line); stroke-width: 1; }
.chart .ch-axis { fill: var(--text-3); font-size: 11px; }
.chart .ch-value { fill: var(--text-2); font-size: 12px; font-weight: 700; }
.ch-accent { fill: var(--accent); background: var(--accent); }
.ch-ok { fill: var(--ok); background: var(--ok); }
.ch-warn { fill: #e08a1e; background: #e08a1e; }
.ch-danger { fill: #d64545; background: #d64545; }
.ch-info { fill: #3b82f6; background: #3b82f6; }
.ch-muted { fill: #a3adbb; background: #a3adbb; }
.ch-empty { fill: var(--line-strong); }
.ch-track { fill: var(--muted-bg); }
.chart rect.ch-accent:not(.ch-current) { opacity: .55; }
.chart g:hover rect { opacity: 1; filter: brightness(1.08); }
.ch-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 12px; color: var(--text-2); font-size: 13px; }
.ch-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ch-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.hbar { display: block; width: 100%; height: 8px; }
.bar-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bar-list li { display: grid; gap: 5px; }
.bar-list .bl-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.bar-list .bl-top b { font-variant-numeric: tabular-nums; }
.seg-filter { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); }
.seg-filter a { padding: 6px 14px; border-radius: 7px; color: var(--text-2); font-size: 14px; font-weight: 700; text-decoration: none; }
.seg-filter a.active { background: var(--accent); color: #fff; }
.kpi .kpi-delta { font-size: 12.5px; font-weight: 700; }
.kpi .kpi-delta.up { color: var(--ok); }
.kpi .kpi-delta.down { color: var(--danger); }
.dash-row { margin-top: 20px; }
.dash-rate { min-width: 160px; }
.dash-rate span { display: block; margin-bottom: 4px; font-weight: 700; font-variant-numeric: tabular-nums; }
/* 頁首右側的查詢列：欄位不撐滿，跟按鈕排在同一行 */
.page-actions { align-items: center; }
.page-actions .toolbar { flex-wrap: nowrap; margin: 0; }
.page-actions .toolbar input, .page-actions .toolbar select { width: auto; }

/* ── 問題回報（2026-10-28）：三個後台共用 ───────────────────────────── */
.support-cta { display: flex; align-items: center; gap: 18px; margin: 0 0 20px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--accent); color: #fff; text-decoration: none; box-shadow: var(--shadow); min-height: 96px; }
.console a.support-cta { color: #fff; }
.support-cta:hover { background: var(--accent-strong); }
.support-cta-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.2); font-size: 32px; font-weight: 800; }
.support-cta-text { display: flex; flex-direction: column; gap: 4px; }
.support-cta-text b { font-size: 26px; letter-spacing: 1px; }
.support-cta-text span { font-size: 16px; opacity: .92; }
.support-cta-badge { margin-left: auto; flex: none; padding: 6px 14px; border-radius: 99px; background: #fff; color: var(--danger);
  font-weight: 800; font-size: 16px; }
.support-filter-head { flex-wrap: wrap; gap: 12px; }
.support-search { display: flex; gap: 8px; margin-left: auto; }
.support-search input { min-width: 220px; }
.support-subject { font-weight: 700; }
.support-preview { color: var(--text-3); }
.support-unread td { background: var(--accent-soft); }
.support-dot { display: inline-block; width: 9px; height: 9px; margin-left: 6px; border-radius: 50%; background: var(--danger); vertical-align: middle; }
.support-status { font-size: 14px; }
.support-thread { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.support-msg { max-width: 82%; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.support-msg.mine { align-self: flex-end; background: var(--accent-soft); border-color: transparent; }
.support-msg-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.support-msg-body { white-space: pre-wrap; word-break: break-word; line-height: 1.65; }
.support-reply textarea, .support-form textarea { width: 100%; }
.support-reply-actions, .support-form-actions { display: flex; gap: 10px; margin-top: 10px; }
.support-status-actions { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.support-form .full { grid-column: 1 / -1; }
body.role-member .support-msg-body { font-size: 17px; }
@media (max-width: 720px) {
  .support-cta { flex-wrap: wrap; padding: 18px; }
  .support-cta-text b { font-size: 22px; }
  .support-cta-badge { margin-left: 0; }
  .support-search { margin-left: 0; width: 100%; }
  .support-search input { min-width: 0; flex: 1; }
  .support-msg { max-width: 100%; }
}
