/* GHC 健康评估工作站样式 — 方案A · 医学蓝（权威医学蓝）
   色板：主蓝 #0B4F8A ｜ 深蓝 #083863 ｜ 亮蓝 #1263A8 ｜ 底 #F4F8FC ｜ 线 #D9E4EF
   暖金 #C9A96A 仅作标题下划线/细节点缀 ｜ 分级色：低#3E8E5A 中#C07D1E 高#C0392B（克制用红）
   布局：评估页三栏 400px | 1fr | 330px（录入 | 报告+健康管家 | 影响因素） */
:root {
  --primary: #0b4f8a;
  --primary-deep: #083863;
  --bright: #1263a8;
  --gold: #c9a96a;
  --gold-soft: #efe3c2;
  --bg: #f4f8fc;
  --card: #ffffff;
  --line: #d9e4ef;
  --ink: #1c2b3a;
  --ink-soft: #5f7186;
  --tint: #eef4fb;         /* 选中/悬停浅蓝底 */
  --ok: #3e8e5a;
  --mid: #c07d1e;
  --high: #c0392b;
  --radius: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6;
}
a { color: var(--primary); }

/* ---------- 顶部 ---------- */
.topbar {
  background: linear-gradient(120deg, var(--primary-deep), var(--primary) 60%, var(--bright));
  color: #fff; padding: 18px 22px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border-bottom: 3px solid var(--gold);
}
.topbar .logo {
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  display: flex; align-items: center; justify-content: center;
}
.topbar h1 { font-size: 19px; letter-spacing: .5px; font-weight: 700; }
.topbar h1 em { font-style: normal; color: #f2ddb0; }
.topbar .sub { font-size: 11.5px; opacity: .82; letter-spacing: 2.5px; text-transform: uppercase; }
.topbar .spacer { flex: 1; }
.badge {
  font-size: 12px; padding: 5px 14px; border-radius: 4px; white-space: nowrap;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff;
}
.badge.gold { background: rgba(255,255,255,.2); }

/* ---------- 页签 ---------- */
.tabs {
  display: flex; gap: 4px; padding: 0 16px; background: var(--card);
  border-bottom: 1px solid var(--line); overflow-x: auto;
}
.tabs button {
  border: none; background: none; padding: 12px 20px; font-size: 14.5px;
  color: var(--ink-soft); cursor: pointer; border-bottom: 3px solid transparent;
  white-space: nowrap; font-family: inherit;
}
.tabs button.active { color: var(--primary); font-weight: 700; border-bottom-color: var(--primary); }
.tabs button:hover { color: var(--primary); }

main { max-width: 1440px; margin: 0 auto; padding: 28px 16px 84px; }
.panel { display: none; }
.panel.active { display: block; }

/* ---------- 卡片与栅格 ---------- */
.grid3 { display: grid; grid-template-columns: 380px 1fr 340px; gap: 16px; align-items: start; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
/* 评估页 A4 式纵向三段流（老板 17:30 拍板：不再三栏横排） */
.form-card { margin-bottom: 52px; }
.form-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 16px; }
.form-grid .seg-title { grid-column: 1 / -1; margin-top: 24px; }
.form-grid .seg-title:first-child { margin-top: 2px; }
.submit-bar { display: flex; gap: 10px; margin-top: 4px; padding-top: 14px; border-top: 1px dashed var(--line); }
.submit-bar .btn-primary { flex: 1; }
.grid-result { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; margin-bottom: 52px; }
@media (max-width: 1100px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-result { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
/* 步骤编号圆徽（渐变章） */
.step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bright), var(--primary-deep));
  color: #fff; font-size: 13.5px; font-weight: 800;
  box-shadow: 0 3px 8px -2px rgba(11,79,138,.5), inset 0 1px 0 rgba(255,255,255,.25);
  flex: 0 0 auto;
}

/* 章节滚动显现（进入视口时上浮） */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* 三仪表盘（三输出格式） */
.tri-gauges { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; }
.gauge-box { text-align: center; padding: 12px 6px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdff; }
.gauge-cvd { background: var(--tint); border-color: #bcd3e8; }
.gauge-box .g-title { font-size: 13.5px; font-weight: 700; color: var(--primary-deep); margin-bottom: 2px; }
.gauge-box .g-num { font-size: 34px; font-weight: 800; color: var(--primary-deep); line-height: 1.15; font-variant-numeric: tabular-nums; }
.gauge-box .g-num-sm { font-size: 26px; }
.gauge-box .g-unit { font-size: 14px; color: var(--ink-soft); margin-left: 2px; }
.gauge-box .g-note { font-size: 11px; color: var(--ink-soft); margin-top: 4px; }
.gauge-box .tier-pill { margin-top: 4px; font-size: 13px; padding: 3px 14px; }
@media (max-width: 900px) { .tri-gauges { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 22px; box-shadow: 0 1px 2px rgba(8,56,99,.04), 0 12px 32px -16px rgba(8,56,99,.14);
}
.card h3 {
  font-size: 18px; font-weight: 800; color: var(--primary-deep); letter-spacing: .5px;
  padding: 2px 2px 15px; margin-bottom: 18px;
  border-bottom: none; position: relative;
  display: flex; align-items: center; gap: 10px;
}
.card h3::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 0; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--bright) 45%, var(--gold) 100%);
}
.card h3 .right { margin-left: auto; font-size: 12px; color: var(--ink-soft); font-weight: 500; letter-spacing: .5px; }
@media (max-width: 1100px) { .grid3 { grid-template-columns: 1fr; } .grid2 { grid-template-columns: 1fr; } }

/* ---------- 表单 ---------- */
.fgroup { margin-bottom: 14px; }
.fgroup > label, .fgroup > .fg-label {
  display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px;
}
.fgroup > label .req { color: var(--high); font-weight: 400; }
.fgroup .hint { font-size: 12px; color: var(--ink-soft); font-weight: 400; margin-left: 6px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
input[type="text"], input[type="number"], select {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 14px; font-family: inherit; background: #fbfdff; color: var(--ink); height: 38px;
}
input:focus, select:focus { outline: 2px solid rgba(11,79,138,.2); border-color: var(--primary); }
.radios { display: flex; gap: 8px; flex-wrap: wrap; }
.radios label {
  flex: 1; min-width: 72px; text-align: center; padding: 8px 6px; font-size: 13.5px;
  border: 1px solid var(--line); border-radius: 6px; cursor: pointer; color: var(--ink-soft); background: #fbfdff;
}
.radios input { display: none; }
.radios input:checked + span { color: var(--primary); font-weight: 700; }
.radios label:has(input:checked) { border-color: var(--primary); background: #eaf2fa; color: var(--primary); }
.seg-title {
  font-size: 12.5px; font-weight: 700; color: var(--primary-deep);
  letter-spacing: 2.5px; display: inline-block; padding: 4px 14px 4px 10px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(201,169,106,.16), rgba(201,169,106,0) 78%);
}
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-soft); margin: 12px 0; }
.consent input { margin-top: 3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: 6px; border: none; font-size: 14.5px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: filter .15s; letter-spacing: 1px;
}
.btn:hover { filter: brightness(1.1); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-ghost { background: #eef2f8; color: var(--primary); border: 1px solid var(--line); }
.btn-danger { background: #fdf0ef; color: var(--high); border: 1px solid #f0d4d1; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- 结果区 ---------- */
.score-wrap { text-align: center; padding: 8px 0 4px; }
.score-num { font-size: 52px; font-weight: 800; color: var(--primary-deep); line-height: 1.1; font-variant-numeric: tabular-nums; }
.score-unit { font-size: 18px; color: var(--ink-soft); }
.tier-pill {
  display: inline-block; padding: 5px 18px; border-radius: 999px; color: #fff;
  font-size: 15px; font-weight: 700; margin-top: 6px; letter-spacing: 1px;
}
.tier-low { background: linear-gradient(135deg, #4aa773, #2e7d50); box-shadow: 0 2px 8px rgba(46,125,80,.35); }
.tier-mid { background: linear-gradient(135deg, #dfa03a, #b06f16); box-shadow: 0 2px 8px rgba(176,111,22,.35); }
.tier-high { background: linear-gradient(135deg, #cf584a, #a52e21); box-shadow: 0 2px 8px rgba(165,46,33,.35); }
.score-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; text-align: center; }
.engine-tag { font-size: 11.5px; color: var(--ink-soft); margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); text-align: center; }

/* 特征贡献条形图 */
.bars { display: flex; flex-direction: column; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 86px 1fr 52px; align-items: center; gap: 8px; font-size: 13px; padding: 3px 4px; margin: 0 -4px; border-radius: 6px; transition: background .25s, transform .25s; }
.bar-row:hover { background: var(--tint); transform: translateX(3px); }
.bar-row .name { color: var(--ink); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { background: #eef3f9; border-radius: 4px; height: 14px; overflow: hidden; position: relative; }
.bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--bright), var(--primary-deep)); min-width: 3px; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.bar-fill.unmod { background: #93a5b8; }
.bar-row .val { color: var(--primary); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- 板块②：结论横幅 + 元信息条 + 影响因素卡收尾 ---------- */
.verdict { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 15px 20px; border-radius: 10px; border: 1px solid var(--line); }
.verdict .v-pct { font-size: 32px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.verdict .v-pct .v-unit { font-size: 14px; font-weight: 600; margin-left: 2px; }
.verdict .v-div { width: 1px; align-self: stretch; background: currentColor; opacity: .18; }
.verdict .v-main { flex: 1; min-width: 0; }
.verdict .v-title { font-size: 16px; font-weight: 800; letter-spacing: .3px; }
.verdict .v-advice { font-size: 13px; line-height: 1.7; margin-top: 3px; opacity: .88; }
.verdict-low  { background: linear-gradient(135deg, #eaf4ee, #f4faf6); border-color: #c4ddcc; color: #2e6b45; }
.verdict-mid  { background: linear-gradient(135deg, #fdf6e8, #fdfaf1); border-color: #e8d5a8; color: #9a6a14; }
.verdict-high { background: linear-gradient(135deg, #fdeceb, #fdf4f3); border-color: #ecc8c4; color: #a93226; }

.meta-strip { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--ink-soft); }
.meta-strip .meta-engine { margin-left: auto; color: var(--primary); font-weight: 600; white-space: nowrap; }
@media (max-width: 900px) { .meta-strip .meta-engine { margin-left: 0; } }

.side-card { display: flex; flex-direction: column; }
.drv-summary { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.drv-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fbfdff; color: var(--ink-soft); }
.drv-chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.drv-chip.c-high { color: var(--high); border-color: #ecc8c4; background: #fdf4f3; }
.drv-chip.c-mid  { color: var(--mid);  border-color: #e8d5a8; background: #fdfaf1; }
.drv-chip.c-low  { color: var(--ok);   border-color: #c4ddcc; background: #f4faf6; }
.notice.footnote { margin-top: 12px; font-size: 11.5px; color: var(--ink-soft); background: #f7fafd; border-style: solid; }
.drv-foot { margin-top: auto; padding-top: 14px; }
.drv-foot .foot-strip { display: flex; align-items: center; gap: 10px; border-left: 3px solid var(--gold); background: linear-gradient(90deg, rgba(201,169,106,.16), rgba(201,169,106,0) 80%); border-radius: 0 8px 8px 0; padding: 10px 12px; font-size: 13px; }
.drv-foot .foot-strip .fs-label { font-weight: 800; color: var(--primary-deep); white-space: nowrap; }
.drv-foot .foot-strip .fs-val { color: var(--ink); }

/* 指导文本 */
.guide { font-size: 13.5px; color: var(--ink); white-space: pre-wrap; background: #fbfdff; border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; max-height: 320px; overflow-y: auto; }

/* ---------- 体检报告解读 · 微信式对话 ---------- */
.chat-box { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }

/* 对话区：柔和光斑浅底，无限接近微信的呼吸感 */
.chat-log {
  height: 380px; overflow-y: auto; padding: 16px 13px 14px;
  background:
    radial-gradient(120% 58% at 90% -6%, rgba(19,168,160,.055), transparent 62%),
    radial-gradient(110% 52% at 4% 104%, rgba(11,79,138,.055), transparent 60%),
    #f3f6fa;
  display: flex; flex-direction: column; gap: 16px;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
}
.chat-log::-webkit-scrollbar { width: 6px; }
.chat-log::-webkit-scrollbar-thumb { background: rgba(11,79,138,.15); border-radius: 3px; }
.chat-log::-webkit-scrollbar-track { background: transparent; }

/* 消息行 */
.msg-row { display: flex; gap: 9px; align-items: flex-start; animation: msgIn .28s cubic-bezier(.22,.8,.28,1) both; }
.msg-row.user { flex-direction: row-reverse; }
@keyframes msgIn { from { opacity: 0; transform: translateY(7px) scale(.985); } to { opacity: 1; transform: none; } }

/* 头像：圆角方，AI 用品牌渐变机器人 */
.avatar {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px;
  overflow: hidden; position: relative;
  box-shadow: 0 3px 10px -4px rgba(8,56,99,.38);
}
.avatar svg { width: 100%; height: 100%; display: block; }
/* AI 头像底：品牌蓝 → 青渐变（科技主题另有霓虹发光覆盖） */
.avatar.ai { background: linear-gradient(135deg, #3b8fe0 0%, #1b6bb5 52%, #13a8a0 100%); }
.avatar.me { background: linear-gradient(135deg, #eef3f9, #dbe6f1); }
/* AI 头像：克制的斜向高光扫过 */
.avatar.ai::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 34%, rgba(255,255,255,.52) 50%, transparent 66%);
  transform: translateX(-130%);
  animation: avSweep 5.6s ease-in-out infinite;
}
@keyframes avSweep { 0%, 64% { transform: translateX(-130%); } 84%, 100% { transform: translateX(130%); } }

/* 气泡 */
.bubble {
  position: relative; max-width: 79%;
  padding: 10px 13px; border-radius: 14px;
  font-size: 13.8px; line-height: 1.72; color: var(--ink);
  word-break: break-word; white-space: normal;
}
.bubble::before { content: ""; position: absolute; top: 12px; width: 8px; height: 8px; transform: rotate(45deg); border-radius: 1.5px; }
.msg-row.bot .bubble { background: #fff; border: 1px solid #e4ebf3; border-top-left-radius: 5px; box-shadow: 0 2px 8px -4px rgba(8,56,99,.2); }
.msg-row.bot .bubble::before { left: -4.5px; background: #fff; border-left: 1px solid #e4ebf3; border-bottom: 1px solid #e4ebf3; }
.msg-row.user .bubble { color: #fff; border-top-right-radius: 5px; background: linear-gradient(135deg, var(--primary) 0%, #1568ad 100%); box-shadow: 0 4px 12px -5px rgba(11,79,138,.55); }
.msg-row.user .bubble::before { right: -4.5px; background: var(--primary); }

/* 气泡内排版（替代 Markdown，无星号） */
.bubble b { font-weight: 700; color: var(--primary-deep); }
.msg-row.user .bubble b { color: #fff; }
.bubble .li { display: block; padding-left: 1.2em; text-indent: -1.2em; }
.bubble .li + .li { margin-top: .25em; }
.bubble .hd { display: block; font-weight: 700; color: var(--primary-deep); }

/* 来源标注 */
.src { display: flex; align-items: center; gap: 5px; margin-top: 7px; font-size: 10.5px; color: #93a5b8; letter-spacing: .2px; }
.src::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .7; }

/* 打字指示器 */
.typing { display: inline-flex; gap: 4px; align-items: center; height: 19px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); opacity: .32; animation: typeBounce 1.15s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .16s; }
.typing i:nth-child(3) { animation-delay: .32s; }
@keyframes typeBounce { 0%, 60%, 100% { transform: translateY(0); opacity: .32; } 30% { transform: translateY(-4px); opacity: .95; } }

.chat-input { display: flex; gap: 8px; padding: 10px; background: #fff; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; }
.chat-input button { padding: 9px 18px; }
/* 快捷提问 */
.quick-asks { display: flex; flex-wrap: wrap; gap: 7px; padding: 11px 10px 1px; background: #fff; }
.quick-asks button {
  font: inherit; font-size: 12.5px; color: var(--primary); cursor: pointer;
  background: #f3f8fd; border: 1px solid #d6e5f3; border-radius: 999px;
  padding: 6px 13px; letter-spacing: .2px;
  transition: background .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.quick-asks button:hover { background: #e7f1fb; border-color: var(--primary); transform: translateY(-1px); box-shadow: 0 4px 10px -5px rgba(11,79,138,.5); }
.quick-asks button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- 批量上传 ---------- */
.dropzone {
  border: 2px dashed var(--line); border-radius: var(--radius); padding: 34px 20px;
  text-align: center; color: var(--ink-soft); background: #fbfdff; cursor: pointer; transition: border-color .2s, color .2s;
}
.dropzone:hover, .dropzone.over { border-color: var(--primary); color: var(--primary); }
.dropzone .dz-title { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.dropzone .dz-sub { font-size: 12.5px; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th, table.data td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
table.data th { background: var(--tint); color: var(--primary-deep); font-weight: 700; white-space: nowrap; }
table.data tr:hover td { background: #fbfdff; }
.tier-tag { display: inline-block; padding: 2px 10px; border-radius: 4px; font-size: 12px; color: #fff; font-weight: 600; }
.tier-tag.tier-low { background: linear-gradient(135deg, #4aa773, #2e7d50); } .tier-tag.tier-mid { background: linear-gradient(135deg, #dfa03a, #b06f16); } .tier-tag.tier-high { background: linear-gradient(135deg, #cf584a, #a52e21); }
.err-list { font-size: 12.5px; color: var(--high); background: #fdf0ef; border: 1px solid #f0d4d1; border-radius: 6px; padding: 10px 12px; max-height: 200px; overflow-y: auto; }
.ok-list { font-size: 12.5px; color: var(--ok); }
.table-wrap { overflow-x: auto; margin-top: 12px; }

/* ---------- 报告中心 ---------- */
.rep-item { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); cursor: pointer; }
.rep-item:hover { background: #fbfdff; }
.rep-item .no { font-weight: 700; color: var(--primary); min-width: 100px; }
.rep-item .meta { font-size: 12.5px; color: var(--ink-soft); flex: 1; }
.rep-item .risk { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 74px; text-align: right; }
.risk-c-low { color: var(--ok); } .risk-c-mid { color: var(--mid); } .risk-c-high { color: var(--high); }

/* ---------- 声明条 ---------- */
.notice {
  margin-top: 16px; font-size: 12px; color: #7a6a45;
  background: #fdf8ec; border: 1px solid var(--gold-soft); border-radius: 6px; padding: 10px 14px; line-height: 1.7;
}
.footer-note { text-align: center; font-size: 12px; color: var(--ink-soft); margin-top: 30px; }

/* ---------- 统计条 ---------- */
.statsbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 18px; min-width: 130px; }
.stat .num { font-size: 22px; font-weight: 800; color: var(--primary-deep); font-variant-numeric: tabular-nums; }
.stat .lbl { font-size: 12px; color: var(--ink-soft); }

/* toast */
#toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%);
  background: var(--primary-deep); color: #fff; padding: 11px 22px; border-radius: 6px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 99; max-width: 86vw;
}
#toast.show { opacity: 1; }

.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: rot 0.8s linear infinite; vertical-align: -3px; }
@keyframes rot { to { transform: rotate(360deg); } }
