/* SD CERT Field — light, high-legibility field UI */

:root {
  color-scheme: light;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --surface-2: #f0f3f2;
  --text: #17231f;
  --muted: #61716b;
  --faint: #93a29c;
  --border: #e2e8e5;
  --primary: #1d7a4c;
  --primary-strong: #145c39;
  --primary-soft: #e5f2eb;
  --accent: #e2711d;
  --accent-soft: #fdf0e5;
  --danger: #c8372d;
  --danger-soft: #fbe9e7;
  --warn: #b98500;
  --warn-soft: #fdf5dc;
  --info: #2b6cb0;
  --info-soft: #e7f0fa;

  --t-immediate: #d63a2f;
  --t-delayed: #e7b416;
  --t-minor: #2f9e57;
  --t-dead: #2a2f2d;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23, 35, 31, 0.05), 0 4px 16px rgba(23, 35, 31, 0.05);
  --tabbar-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  min-height: 100dvh;
  overscroll-behavior-y: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--primary); }
svg.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- page layout ---------- */
.page { padding: calc(var(--safe-t) + 8px) 16px calc(var(--tabbar-h) + var(--safe-b) + 24px); max-width: 640px; margin: 0 auto; }
.page.no-tabs { padding-bottom: calc(var(--safe-b) + 24px); }
.topbar { display: flex; align-items: center; gap: 8px; min-height: 52px; margin-bottom: 4px; }
.topbar h1 { font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; margin: 0; flex: 1; min-width: 0; }
.topbar.small h1 { font-size: 19px; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  border: 0; background: var(--surface); box-shadow: var(--shadow); color: var(--text); cursor: pointer; flex: none;
}
.icon-btn:active { transform: scale(0.96); }
.subtitle { color: var(--muted); margin: -2px 0 16px; }
.section-title { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 24px 4px 8px; }

/* ---------- cards & lists ---------- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 12px; }
.card h2 { font-size: 18px; margin: 0 0 4px; letter-spacing: -0.01em; }
.card p { margin: 0 0 8px; }
.card.soft { background: var(--primary-soft); box-shadow: none; }
.card.warn { background: var(--warn-soft); box-shadow: none; }
.card.accent { background: var(--accent-soft); box-shadow: none; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }

.list { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 12px; }
.row {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none; color: inherit;
  border: 0; background: none; width: 100%; text-align: left; cursor: pointer;
}
.row + .row { border-top: 1px solid var(--border); }
.row:active { background: var(--surface-2); }
.row .grow { flex: 1; min-width: 0; }
.row .title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.row .meta { font-size: 14px; color: var(--muted); margin-top: 1px; }
.row .chev { color: var(--faint); }
.row .lead {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); flex: none;
}
.row .lead.orange { background: var(--accent-soft); color: var(--accent); }
.row .lead.red { background: var(--danger-soft); color: var(--danger); }
.row .lead.blue { background: var(--info-soft); color: var(--info); }
.row .lead.yellow { background: var(--warn-soft); color: var(--warn); }
.empty { text-align: center; color: var(--muted); padding: 28px 16px; }

.avatar {
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; flex: none;
  font-weight: 700; font-size: 15px; color: #fff; background: var(--primary); position: relative;
}
.avatar .dot { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 99px; background: #3ac36b; border: 2px solid #fff; }

/* ---------- badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--muted); white-space: nowrap;
}
.badge.green { background: var(--primary-soft); color: var(--primary-strong); }
.badge.orange { background: var(--accent-soft); color: #b0520c; }
.badge.red { background: var(--danger-soft); color: var(--danger); }
.badge.blue { background: var(--info-soft); color: var(--info); }
.badge.yellow { background: var(--warn-soft); color: #8a6400; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* ICS section colours (follow common ICS vest colours) */
.sec-command { --sec: #475569; --sec-soft: #eef1f5; }
.sec-operations { --sec: #c53030; --sec-soft: #fdecec; }
.sec-planning { --sec: #2b6cb0; --sec-soft: #e8f0fa; }
.sec-logistics { --sec: #a87900; --sec-soft: #fdf4d8; }
.sec-finance { --sec: #2f855a; --sec-soft: #e6f4ec; }
.sec-none { --sec: #7b8a84; --sec-soft: #f0f3f2; }
.badge.sec { background: var(--sec-soft); color: var(--sec); }
.avatar.sec { background: var(--sec); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 20px; border-radius: 14px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 17px; background: var(--primary); color: #fff; text-decoration: none;
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.block { width: 100%; }
.btn.secondary { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn.soft { background: var(--primary-soft); color: var(--primary-strong); }
.btn.orange { background: var(--accent); }
.btn.danger { background: var(--danger-soft); color: var(--danger); }
.btn.ghost { background: none; color: var(--primary); min-height: 44px; padding: 0 12px; }
.btn.sm { min-height: 38px; font-size: 15px; padding: 0 14px; border-radius: 11px; }
.btn-row { display: flex; gap: 10px; }
.btn-row > * { flex: 1; }

.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.quick {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--text); font-weight: 600;
  border: 0; text-align: left; cursor: pointer;
}
.quick:active { transform: scale(0.98); }
.quick .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.quick.orange .ic { background: var(--accent-soft); color: var(--accent); }
.quick.red .ic { background: var(--danger-soft); color: var(--danger); }
.quick.blue .ic { background: var(--info-soft); color: var(--info); }
.quick small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: -6px; }

/* ---------- forms ---------- */
.field { margin-bottom: 18px; }
.field > label, .field > .label { display: block; font-weight: 600; margin: 0 2px 6px; }
.field .help { font-size: 14px; color: var(--muted); margin: -2px 2px 8px; }
.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--surface); font-size: 17px; outline: none; -webkit-appearance: none; appearance: none;
}
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2361716b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.input.code { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 42px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface);
  font-size: 15px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.chip.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-strong); font-weight: 600; }
.chip.on::before { content: "✓"; font-weight: 700; }

.option-cards { display: grid; gap: 8px; }
.option-card {
  text-align: left; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer;
}
.option-card strong { display: block; font-size: 17px; }
.option-card span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.option-card em { display: block; font-style: normal; font-size: 14px; margin-top: 6px; font-weight: 600; }
.option-card.on { border-color: var(--opt, var(--primary)); background: var(--opt-soft, var(--primary-soft)); }
.option-card.light { --opt: #2f9e57; --opt-soft: #e7f5ec; }
.option-card.moderate { --opt: #c98a00; --opt-soft: #fdf5dc; }
.option-card.heavy { --opt: #c8372d; --opt-soft: #fbe9e7; }

.counter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--border); }
.counter .lbl { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.counter .sw { width: 12px; height: 12px; border-radius: 4px; }
.counter .ctl { display: flex; align-items: center; gap: 4px; }
.counter .ctl button { width: 34px; height: 34px; border-radius: 10px; border: 0; background: var(--surface-2); font-size: 20px; font-weight: 600; cursor: pointer; }
.counter .ctl output { min-width: 26px; text-align: center; font-weight: 700; font-size: 18px; }

.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; cursor: pointer; }
.toggle input { appearance: none; -webkit-appearance: none; width: 51px; height: 31px; border-radius: 99px; background: #dfe5e2; position: relative; transition: background 0.2s; flex: none; margin: 0; cursor: pointer; }
.toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 99px; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.2); transition: transform 0.2s; }
.toggle input:checked { background: var(--primary); }
.toggle input:checked::after { transform: translateX(20px); }

.gps-box { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--surface-2); border-radius: 12px; margin-top: 8px; font-size: 14px; }

.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photos .ph { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); position: relative; }
.photos .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photos .ph button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 99px; border: 0; background: rgba(0,0,0,0.55); color: #fff; font-size: 16px; cursor: pointer; }
.photos .add { aspect-ratio: 1; border-radius: 12px; border: 2px dashed var(--border); display: grid; place-items: center; color: var(--muted); cursor: pointer; background: var(--surface); text-align: center; font-size: 13px; font-weight: 600; }
.photos .add input { display: none; }

.log-list { list-style: none; padding: 0; margin: 0 0 8px; }
.log-list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.log-list time { color: var(--muted); font-variant-numeric: tabular-nums; flex: none; width: 52px; }
.inline-add { display: flex; gap: 8px; }
.inline-add .input { flex: 1; }

/* ---------- size-up wizard ---------- */
.stepper { display: flex; gap: 4px; margin: 4px 0 14px; }
.stepper span { flex: 1; height: 5px; border-radius: 99px; background: var(--border); }
.stepper span.done { background: var(--primary); }
.stepper span.cur { background: var(--accent); }
.step-head { margin-bottom: 14px; }
.step-head .num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.step-head h2 { font-size: 24px; margin: 2px 0 6px; letter-spacing: -0.02em; }
.prompts { margin: 0; padding: 12px 14px 12px 32px; background: var(--info-soft); border-radius: 12px; color: #1f4f80; font-size: 15px; }
.prompts li + li { margin-top: 4px; }
.wizard-nav {
  position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + var(--safe-b));
  background: rgba(246, 248, 247, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border); display: flex; gap: 10px; z-index: 20;
}
.wizard-nav .btn { flex: 1; }
.wizard-nav .btn.secondary { flex: 0 0 auto; }
.page.wizard { padding-bottom: calc(100px + var(--safe-b)); }

.summary dl { margin: 0; }
.summary dt { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 10px; }
.summary dd { margin: 2px 0 0; }

/* search marking (FEMA X-code) */
.marking { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.marking-preview svg { width: 100%; max-width: 240px; display: block; margin: 12px auto 0; }

/* ---------- segmented control ---------- */
.segmented { display: flex; background: #e8edeb; border-radius: 12px; padding: 3px; margin-bottom: 14px; position: sticky; top: calc(var(--safe-t) + 4px); z-index: 5; }
.segmented button { flex: 1; border: 0; background: none; padding: 9px 4px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; position: relative; }
.segmented button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.segmented .count { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 11px; line-height: 18px; margin-left: 4px; }

/* ---------- chat ---------- */
.chat { display: flex; flex-direction: column; gap: 6px; padding-bottom: 120px; }
.msg { max-width: 82%; align-self: flex-start; }
.msg .who { font-size: 12px; color: var(--muted); margin: 0 10px 2px; display: flex; gap: 6px; align-items: center; }
.msg .bubble { background: var(--surface); padding: 9px 13px; border-radius: 18px 18px 18px 6px; box-shadow: var(--shadow); white-space: pre-wrap; word-wrap: break-word; }
.msg.me { align-self: flex-end; }
.msg.me .who { justify-content: flex-end; }
.msg.me .bubble { background: var(--primary); color: #fff; border-radius: 18px 18px 6px 18px; }
.msg.pending .bubble { opacity: 0.6; }
.msg-system { align-self: center; font-size: 13px; color: var(--muted); background: var(--surface-2); padding: 4px 12px; border-radius: 99px; text-align: center; max-width: 92%; }
.chat-day { align-self: center; font-size: 12px; font-weight: 600; color: var(--faint); margin: 8px 0 2px; }
.composer {
  position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + var(--safe-b)); padding: 8px 12px;
  background: rgba(246, 248, 247, 0.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border); display: flex; gap: 8px; align-items: flex-end; z-index: 15;
}
.composer textarea { flex: 1; min-height: 44px; max-height: 120px; padding: 10px 14px; border-radius: 22px; border: 1.5px solid var(--border); background: var(--surface); resize: none; font-size: 17px; outline: none; }
.composer .send-btn { width: 44px; height: 44px; border-radius: 99px; border: 0; background: var(--primary); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.composer .send-btn:disabled { background: var(--faint); }
.conn { font-size: 12px; text-align: center; color: var(--muted); margin-bottom: 6px; }
.conn.bad { color: var(--danger); }
.quick-msgs { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 8px; scrollbar-width: none; }
.quick-msgs::-webkit-scrollbar { display: none; }
.quick-msgs button { flex: none; border: 1.5px solid var(--border); background: var(--surface); border-radius: 99px; padding: 6px 12px; font-size: 14px; cursor: pointer; }

/* ---------- learn / reference ---------- */
.ref h3 { font-size: 17px; margin: 0 0 8px; }
.ref ul, .ref ol { margin: 0; padding-left: 22px; }
.ref li + li { margin-top: 6px; }
.ref p { margin: 0 0 8px; }
.ref .callout { background: var(--accent-soft); color: #7a3a07; border-radius: 12px; padding: 12px 14px; font-weight: 500; margin-top: 10px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; }
.kv b { font-variant-numeric: tabular-nums; }
.phonetic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.phonetic div { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.phonetic b { color: var(--primary); margin-right: 6px; }

.triage-tag { border-radius: var(--radius); padding: 20px; color: #fff; text-align: center; margin-bottom: 12px; }
.triage-tag h2 { margin: 0; font-size: 30px; letter-spacing: 0.02em; }
.triage-tag p { margin: 6px 0 0; opacity: 0.95; }
.tag-immediate { background: var(--t-immediate); }
.tag-delayed { background: var(--t-delayed); color: #3d2f00; }
.tag-minor { background: var(--t-minor); }
.tag-dead { background: var(--t-dead); }
.triage-q { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 6px 0 6px; }

.quiz-opt { display: block; width: 100%; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface); margin-bottom: 8px; cursor: pointer; font-size: 16px; }
.quiz-opt.right { border-color: var(--primary); background: var(--primary-soft); }
.quiz-opt.wrong { border-color: var(--danger); background: var(--danger-soft); }
.progress { height: 6px; border-radius: 99px; background: var(--border); overflow: hidden; margin: 4px 0 16px; }
.progress span { display: block; height: 100%; background: var(--primary); border-radius: 99px; transition: width 0.3s; }

.check-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; }
.check-row + .check-row { border-top: 1px solid var(--border); }
.check-row input { width: 22px; height: 22px; accent-color: var(--primary); flex: none; }
.check-row.done span { color: var(--muted); text-decoration: line-through; }

/* ---------- tab bar ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: flex; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border); z-index: 30;
}
.tabbar[hidden] { display: none; }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--faint); font-size: 11px; font-weight: 600; position: relative; }
.tabbar a.on { color: var(--primary); }
.tabbar a svg.icon { width: 25px; height: 25px; }
.tabbar .pip { position: absolute; top: 8px; left: calc(50% + 8px); width: 9px; height: 9px; border-radius: 99px; background: var(--accent); border: 2px solid #fff; }

/* ---------- sheet & toast ---------- */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(15, 25, 20, 0.35); z-index: 50; display: flex; align-items: flex-end; animation: fade 0.18s ease; }
.sheet { background: var(--bg); width: 100%; max-width: 640px; margin: 0 auto; border-radius: 22px 22px 0 0; padding: 10px 16px calc(20px + var(--safe-b)); max-height: 90dvh; overflow-y: auto; animation: rise 0.22s ease; }
.sheet .grab { width: 40px; height: 5px; border-radius: 99px; background: #cfd8d4; margin: 0 auto 12px; }
.sheet h2 { margin: 0 0 14px; font-size: 21px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0.5; } }

.toast {
  position: fixed; left: 50%; top: calc(var(--safe-t) + 12px); transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  background: var(--text); color: #fff; padding: 11px 18px; border-radius: 14px; font-weight: 500; font-size: 15px; z-index: 100;
  transition: opacity 0.2s, transform 0.2s; max-width: calc(100% - 32px); box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--danger); }

.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: var(--surface); box-shadow: var(--shadow); color: var(--muted); }
.status-pill .d { width: 8px; height: 8px; border-radius: 99px; background: #3ac36b; }
.status-pill.off .d { background: var(--danger); }
.status-pill.sync .d { background: var(--accent); }

/* ---------- login ---------- */
.login { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--safe-t) + 24px) 20px calc(var(--safe-b) + 24px); max-width: 460px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.brand img { width: 64px; height: 64px; border-radius: 16px; box-shadow: var(--shadow); }
.brand h1 { margin: 0; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.brand p { margin: 2px 0 0; color: var(--muted); }

@media (min-width: 700px) {
  .tabbar a { flex-direction: row; gap: 8px; font-size: 14px; }
}

@media print {
  .tabbar, .wizard-nav, .composer, .icon-btn, .btn, .segmented { display: none !important; }
  body { background: #fff; }
  .card, .list { box-shadow: none; border: 1px solid #ddd; }
  .page { padding: 0; }
}
