:root {
  --bg: #f4f5f8;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --border: #e3e6ec;
  --border-strong: #cfd4dd;
  --text: #121826;
  --text-2: #4a5466;
  --text-3: #7a8396;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: #eef0ff;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --focus: 0 0 0 3px rgba(79, 70, 229, 0.28);
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.16);
  --radius: 10px;
  --radius-sm: 7px;

  /* Status palette: background / text / dot */
  --st-open-bg: #e8f1ff;       --st-open-fg: #1d4ed8;       --st-open: #3b82f6;
  --st-progress-bg: #fff4e0;   --st-progress-fg: #a15c00;   --st-progress: #f59e0b;
  --st-resolved-bg: #e5f7ec;   --st-resolved-fg: #157a3c;   --st-resolved: #22c55e;
  --st-closed-bg: #eef0f3;     --st-closed-fg: #4a5466;     --st-closed: #94a3b8;
  --st-rejected-bg: #fdecec;   --st-rejected-fg: #b42318;   --st-rejected: #ef4444;

  --pr-low: #7a8396; --pr-medium: #2563eb; --pr-high: #d97706; --pr-urgent: #dc2626;

  color-scheme: light;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1117;
    --surface: #161a22;
    --surface-2: #1b2029;
    --border: #272d39;
    --border-strong: #353c4a;
    --text: #e8eaf0;
    --text-2: #a8b0c0;
    --text-3: #7d8698;
    --accent: #7c74ff;
    --accent-hover: #918aff;
    --accent-soft: #24234a;
    --danger: #f87171;
    --danger-soft: #3a1a1c;
    --focus: 0 0 0 3px rgba(124, 116, 255, 0.35);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);

    --st-open-bg: #16264a;       --st-open-fg: #93b8ff;
    --st-progress-bg: #3a2a0c;   --st-progress-fg: #fbc56a;
    --st-resolved-bg: #12301f;   --st-resolved-fg: #74dc9b;
    --st-closed-bg: #232833;     --st-closed-fg: #a8b0c0;
    --st-rejected-bg: #3a1618;   --st-rejected-fg: #fca5a5;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); min-height: 100vh; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: 1.5rem; font-weight: 700; }
h2 { font-size: 1.1rem; font-weight: 650; }
h3 { font-size: 0.95rem; font-weight: 650; }
p { margin: 0; }
[hidden] { display: none !important; }
.muted { color: var(--text-3); }
.small { font-size: 0.85rem; }
.nowrap { white-space: nowrap; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 8px;
  height: 56px; padding: 0 16px;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 750; font-size: 1.05rem; color: var(--text); margin-right: 12px; }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.nav { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav a {
  padding: 7px 11px; border-radius: var(--radius-sm); color: var(--text-2);
  font-weight: 550; font-size: 0.92rem; white-space: nowrap;
}
.nav a:hover { background: var(--surface-2); text-decoration: none; color: var(--text); }
.nav a.active { background: var(--accent-soft); color: var(--accent); }
.topbar-actions { display: flex; align-items: center; gap: 6px; position: relative; }
.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: transparent; color: var(--text-2); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn svg { width: 21px; height: 21px; }
.bell-count {
  position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--danger); color: #fff;
  font-size: 0.68rem; font-weight: 700; line-height: 17px; text-align: center;
}
.avatar {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.85rem;
  border: 0; cursor: pointer;
}
.menu {
  position: absolute; top: 46px; right: 0; z-index: 30;
  width: 340px; max-width: calc(100vw - 24px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.menu-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.menu-list { max-height: 420px; overflow-y: auto; }
.menu-item {
  display: block; width: 100%; padding: 11px 14px; text-align: left;
  border: 0; border-bottom: 1px solid var(--border); background: none; color: var(--text);
  font: inherit; font-size: 0.9rem; cursor: pointer;
}
.menu-item:last-child { border-bottom: 0; }
.menu-item:hover { background: var(--surface-2); text-decoration: none; }
.menu-item.unread { background: var(--accent-soft); }
.menu-item .muted { display: block; font-size: 0.78rem; margin-top: 2px; }
.user-menu { width: 230px; }
.user-menu .who { padding: 12px 14px; border-bottom: 1px solid var(--border); }

/* ---------- Layout ---------- */
.view { max-width: 1180px; margin: 0 auto; padding: 24px 16px 64px; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.page-head .sub { margin-top: 4px; color: var(--text-3); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-pad { padding: 18px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.grid { display: grid; gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spacer { flex: 1; }
.empty { padding: 40px 16px; text-align: center; color: var(--text-3); }
.empty h3 { color: var(--text-2); margin-bottom: 4px; }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 15px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .icon-btn:focus-visible, .avatar:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-danger { color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); }
.btn-sm { height: 32px; padding: 0 11px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }

label.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.88rem; color: var(--text-2); }
label.field .hint { font-weight: 400; color: var(--text-3); font-size: 0.8rem; }
input[type=text], input[type=email], input[type=search], select, textarea {
  width: 100%; min-height: 40px; padding: 8px 11px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); font: inherit; font-size: 0.95rem;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
select { appearance: none; padding-right: 32px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a8396' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; }
.check { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-2); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--accent); }
.form-grid { display: grid; gap: 16px; }
.readonly-box { padding: 9px 11px; border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); color: var(--text-2); font-weight: 500; background: var(--surface-2); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px;
  border-radius: 12px; font-size: 0.78rem; font-weight: 650; white-space: nowrap;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.85; }
.st-open { background: var(--st-open-bg); color: var(--st-open-fg); }
.st-in-progress { background: var(--st-progress-bg); color: var(--st-progress-fg); }
.st-resolved { background: var(--st-resolved-bg); color: var(--st-resolved-fg); }
.st-closed { background: var(--st-closed-bg); color: var(--st-closed-fg); }
.st-rejected { background: var(--st-rejected-bg); color: var(--st-rejected-fg); }
.prio { display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.prio svg { width: 14px; height: 14px; }
.pr-low { color: var(--pr-low); } .pr-medium { color: var(--pr-medium); } .pr-high { color: var(--pr-high); } .pr-urgent { color: var(--pr-urgent); }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); font-size: 0.76rem; font-weight: 600; color: var(--text-2); }

/* ---------- Login ---------- */
.auth-wrap { min-height: calc(100vh - 88px); display: grid; place-items: center; }
.auth-card { width: 100%; max-width: 400px; padding: 32px 28px; }
.auth-card .brand { justify-content: center; margin: 0 0 22px; font-size: 1.3rem; }
.auth-card .brand img { width: 34px; height: 34px; }
.auth-card h1 { font-size: 1.25rem; text-align: center; }
.auth-card .sub { text-align: center; color: var(--text-3); margin: 6px 0 22px; }
.notice { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--text); font-size: 0.9rem; }
.notice.dev { background: var(--st-progress-bg); color: var(--st-progress-fg); overflow-wrap: anywhere; }

/* ---------- Dashboard ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.tile {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  color: var(--text); border-left: 4px solid var(--c, var(--border));
}
.tile:hover { text-decoration: none; border-color: var(--border-strong); border-left-color: var(--c); }
.tile .label { font-size: 0.82rem; font-weight: 600; color: var(--text-2); }
.tile .value { font-size: 1.75rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; }
.tile.open { --c: var(--st-open); } .tile.in-progress { --c: var(--st-progress); } .tile.resolved { --c: var(--st-resolved); }
.tile.closed { --c: var(--st-closed); } .tile.rejected { --c: var(--st-rejected); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-bottom: 16px; }
.kpi { background: var(--surface); padding: 12px 16px; }
.kpi .label { font-size: 0.78rem; color: var(--text-3); font-weight: 600; }
.kpi .value { font-size: 1.15rem; font-weight: 700; }
.sysbar { display: grid; grid-template-columns: minmax(100px, 180px) 1fr 36px; align-items: center; gap: 12px; padding: 9px 18px; }
.sysbar + .sysbar { border-top: 1px solid var(--border); }
.sysbar .name { font-weight: 600; font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--surface-2); }
.bar span { display: block; height: 100%; }
.bar .open { background: var(--st-open); } .bar .in-progress { background: var(--st-progress); } .bar .resolved { background: var(--st-resolved); }
.bar .closed { background: var(--st-closed); } .bar .rejected { background: var(--st-rejected); }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; color: var(--text-2); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: 0; }

/* ---------- Request list ---------- */
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.filters .search { grid-column: 1 / -1; }
.seg { display: inline-flex; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; }
.seg button { height: 34px; padding: 0 12px; border: 0; background: var(--surface); color: var(--text-2); font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--border-strong); }
.seg button.on { background: var(--accent-soft); color: var(--accent); }
.req-list { list-style: none; margin: 0; padding: 0; }
.req-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 13px 16px; border-top: 1px solid var(--border); color: var(--text); }
.req-item:hover { background: var(--surface-2); text-decoration: none; }
.req-item .title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.req-item .id { color: var(--text-3); font-weight: 500; margin-right: 4px; }
.req-item .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.82rem; color: var(--text-3); }
.req-item .meta b { color: var(--text-2); font-weight: 600; }
.req-item .side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.col { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 200px; }
.col-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; }
.col-body { display: flex; flex-direction: column; gap: 8px; padding: 0 8px 8px; }
.bcard { display: block; padding: 11px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); box-shadow: var(--shadow); }
.bcard:hover { text-decoration: none; border-color: var(--border-strong); }
.bcard .title { font-weight: 600; font-size: 0.9rem; margin: 2px 0 8px; }
.bcard .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-3); }

/* ---------- Request detail ---------- */
.detail { display: grid; gap: 16px; }
.detail-title { display: flex; flex-direction: column; gap: 8px; }
.detail-title h1 { overflow-wrap: anywhere; }
.facts { display: grid; grid-template-columns: 1fr; margin: 0; }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 8px; padding: 10px 18px; border-top: 1px solid var(--border); font-size: 0.9rem; }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--text-3); font-weight: 600; }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.gallery button { padding: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); cursor: zoom-in; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.timeline { list-style: none; margin: 0; padding: 0; }
.tl { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 12px 18px; }
.tl + .tl { border-top: 1px solid var(--border); }
.tl-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--text-3); border: 1px solid var(--border); }
.tl-icon svg { width: 15px; height: 15px; }
.tl.correction .tl-icon { background: var(--st-resolved-bg); color: var(--st-resolved-fg); border-color: transparent; }
.tl.comment .tl-icon { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.tl-head { font-size: 0.88rem; color: var(--text-2); }
.tl-head b { color: var(--text); font-weight: 650; }
.tl-time { font-size: 0.78rem; color: var(--text-3); }
.tl-body { margin-top: 8px; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.92rem; }
.tl.correction .tl-body { border-left: 3px solid var(--st-resolved); }
.tl .gallery { margin-top: 8px; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); padding: 0 10px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs button { padding: 11px 12px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--text-3); font: inherit; font-weight: 600; font-size: 0.88rem; cursor: pointer; white-space: nowrap; }
.tabs button.on { color: var(--accent); border-bottom-color: var(--accent); }

/* Image picker */
.drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 18px; border: 1.5px dashed var(--border-strong); border-radius: var(--radius);
  background: var(--surface-2); color: var(--text-3); text-align: center; cursor: pointer; font-size: 0.88rem;
}
.drop:hover, .drop.over { border-color: var(--accent); color: var(--accent); }
.drop svg { width: 24px; height: 24px; }
.drop b { color: var(--accent); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; font-size: 15px; line-height: 1; }

/* Admin tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { padding: 10px 14px; text-align: left; border-top: 1px solid var(--border); vertical-align: middle; }
th { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-3); font-weight: 650; border-top: 0; background: var(--surface-2); }
td select { min-height: 32px; padding: 4px 28px 4px 8px; font-size: 0.85rem; width: auto; }
tr.inactive td { opacity: 0.55; }

/* Toasts, lightbox, modal */
.toasts { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; width: calc(100% - 32px); max-width: 420px; pointer-events: none; }
.toast { padding: 12px 16px; border-radius: var(--radius-sm); background: #1e2330; color: #fff; box-shadow: var(--shadow-lg); font-size: 0.9rem; animation: pop .18s ease-out; }
.toast.error { background: #b42318; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.lightbox { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(8, 10, 16, 0.88); }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 6px; }
.lightbox-close { position: absolute; top: 12px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; cursor: pointer; }
.modal-back { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(8, 10, 16, 0.55); }
.modal { width: 100%; max-width: 460px; padding: 22px; }
.modal h2 { margin-bottom: 6px; }
.modal .row { justify-content: flex-end; margin-top: 18px; }

.spinner { width: 22px; height: 22px; border: 2.5px solid var(--border-strong); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; margin: 48px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Wider screens ---------- */
@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(5, 1fr); }
  .filters { grid-template-columns: 2fr repeat(4, 1fr); }
  .filters .search { grid-column: auto; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .view { padding: 28px 24px 72px; }
  .detail { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
  .detail-side { position: sticky; top: 72px; }
  .dash-cols { grid-template-columns: 1.3fr 1fr; align-items: start; }
}
@media (max-width: 640px) {
  /* Phone: main navigation becomes a bottom tab bar. */
  .topbar { justify-content: space-between; }
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    justify-content: space-around; gap: 0; padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--border);
  }
  .nav a { flex: 1; text-align: center; padding: 8px 4px; font-size: 0.8rem; }
  .view { padding-bottom: 96px; }
  .toasts { bottom: 76px; }
  .facts div { grid-template-columns: 105px 1fr; padding: 9px 14px; }
}
