:root {
  --ink: #172b35;
  --muted: #667981;
  --line: #dce7e8;
  --paper: #f5f8f7;
  --white: #fff;
  --teal: #0c756d;
  --teal-dark: #075b55;
  --teal-soft: #e3f2ef;
  --coral: #d96d55;
  --shadow: 0 16px 45px rgba(20, 54, 61, .09);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--paper); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 6px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }

.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 15% 15%, #d8efea, transparent 35%), linear-gradient(135deg, #f9fbfa, #e9f2f0); }
.login-card { width: min(430px, 100%); padding: 44px; border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.login-card h1 { margin: 8px 0; font-family: Georgia, serif; font-size: 38px; }
.brand-mark { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border-radius: 16px; color: #fff; background: var(--teal); font-size: 34px; }
.brand-mark.small { width: 38px; height: 38px; margin: 0; border-radius: 11px; font-size: 25px; }
.stack { display: grid; gap: 16px; margin-top: 28px; }
label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: #38515a; }
input, select, textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
textarea { min-height: 90px; resize: vertical; }
.primary { padding: 13px 18px; border: 0; border-radius: 9px; color: #fff; background: var(--teal); font-weight: 800; }
.primary:hover { background: var(--teal-dark); }
.primary.compact { padding: 10px 15px; }
.secondary { padding: 11px 16px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-weight: 700; }
.danger { color: #a84331; }
.demo-hint { margin: 22px 0 0; padding: 12px; border-radius: 8px; background: var(--teal-soft); color: var(--teal-dark); font-size: 13px; text-align: center; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 68px 1fr; }
.sidebar { position: sticky; z-index: 9; top: 0; width: 68px; height: 100vh; display: flex; flex-direction: column; padding: 18px 10px; overflow: hidden; color: #e4f2ef; background: #103f42; transition: width .18s ease, padding .18s ease, box-shadow .18s ease; }
.sidebar:hover, .sidebar:focus-within { width: 245px; padding: 26px 18px; box-shadow: 12px 0 34px rgba(8,35,38,.18); }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 7px 32px; }
.brand strong { display: block; font-family: Georgia, serif; font-size: 20px; color: #fff; }
.brand small { display: block; max-width: 145px; margin-top: 3px; color: #a9c7c5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
nav { display: grid; gap: 6px; }
.brand > div, .user-panel > div:not(.avatar) { min-width: 0; opacity: 0; transform: translateX(-4px); transition: opacity .16s ease, transform .16s ease; }
.sidebar:hover .brand > div, .sidebar:focus-within .brand > div, .sidebar:hover .user-panel > div:not(.avatar), .sidebar:focus-within .user-panel > div:not(.avatar) { opacity: 1; transform: translateX(0); }
nav button { display: flex; gap: 13px; align-items: center; width: 100%; padding: 12px 14px; overflow: hidden; border: 0; border-radius: 8px; color: #bcd1cf; background: transparent; text-align: left; white-space: nowrap; }
nav button:hover, nav button.active { color: #fff; background: rgba(255,255,255,.11); }
nav span { width: 20px; min-width: 20px; font-size: 20px; }
.user-panel { display: grid; grid-template-columns: 38px 1fr 28px; gap: 10px; align-items: center; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); }
.user-panel strong, .user-panel small { display: block; }
.user-panel strong { font-size: 13px; color: #fff; }
.user-panel small { margin-top: 2px; color: #9ebcba; font-size: 11px; }
.user-panel button { border: 0; color: #c6d9d7; background: none; font-size: 20px; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--teal-dark); background: #d9eee9; font-weight: 900; }

.content { min-width: 0; padding: 0 28px 60px; }
.topbar { display: flex; align-items: center; gap: 18px; padding: 28px 0 26px; }
.topbar > div { flex: 1; }
.topbar h2 { margin: 0; font-family: Georgia, serif; font-size: 31px; }
.icon-button { border: 0; background: transparent; color: var(--ink); font-size: 25px; }
#menu-toggle { display: none; }
.current-patient-bar { flex: 0 1 auto !important; display: flex; align-items: center; gap: 8px; min-width: 250px; padding: 8px 10px 8px 14px; border: 1px solid #cfe0de; border-radius: 11px; background: var(--teal-soft); }
.current-patient-bar > div { min-width: 0; flex: 1; }
.current-patient-bar small, .current-patient-bar strong { display: block; }
.current-patient-bar small { color: var(--teal); font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.current-patient-bar strong { max-width: 220px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.clear-patient { width: 25px; height: 25px; padding: 0; border: 0; border-radius: 50%; color: var(--muted); background: transparent; font-size: 19px; }
.clear-patient:hover { color: #fff; background: var(--coral); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 22px; border: 1px solid #e5eceb; border-radius: 13px; background: #fff; box-shadow: 0 4px 18px rgba(26,62,67,.035); }
.stat { display: flex; justify-content: space-between; align-items: center; }
.stat strong { display: block; margin-top: 6px; font-family: Georgia, serif; font-size: 35px; }
.stat-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; color: var(--teal); background: var(--teal-soft); font-size: 23px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 30px 0 13px; }
.section-head h3 { margin: 0; font-family: Georgia, serif; font-size: 22px; }
.toolbar { display: flex; gap: 10px; }
.search { min-width: 260px; }
.pagination-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; padding: 10px 12px; border: 1px solid #e2eae9; border-radius: 11px; background: #fff; }
.pagination-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pagination-actions .secondary { padding: 8px 11px; }
.pagination-actions select { width: auto; min-width: 120px; padding: 8px 10px; }
.visits-pagination { margin: 8px 0 10px; padding: 8px 10px; }

.table-wrap { overflow-x: auto; border: 1px solid #e2eae9; border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid #edf1f1; text-align: left; font-size: 13px; }
th { color: var(--muted); background: #f9fbfa; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f8fbfa; }
tbody tr.patient-row.current { background: #e7f4f1; box-shadow: inset 4px 0 0 var(--teal); }
.link-button { border: 0; padding: 0; color: var(--teal); background: none; font-weight: 800; text-align: left; }
.patient-actions { display: flex; gap: 7px; }
.select-patient { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 2px solid #b8ccca; border-radius: 50%; color: transparent; background: #fff; font-size: 13px; font-weight: 900; }
.select-patient:hover { border-color: var(--teal); color: #8db9b4; }
.select-patient.selected { color: #fff; border-color: var(--teal); background: var(--teal); }
.patient-icon { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #cfe0de; border-radius: 8px; color: var(--teal); background: #fff; }
.patient-icon:hover { color: #fff; border-color: var(--teal); background: var(--teal); }
.patient-icon:focus-visible { outline: 3px solid var(--teal-soft); outline-offset: 2px; }
.patient-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge { display: inline-block; padding: 5px 9px; border-radius: 99px; color: var(--teal-dark); background: var(--teal-soft); font-size: 11px; font-weight: 800; }
.badge.inactive { color: #785c55; background: #f4e9e6; }
.badge.sent { color: #245e39; background: #e2f2e7; }
.badge.cancelled { color: #785c55; background: #f4e9e6; }
.empty { padding: 45px 20px; color: var(--muted); text-align: center; }

dialog { width: min(760px, calc(100% - 30px)); max-height: 90vh; padding: 0; border: 0; border-radius: 15px; box-shadow: 0 25px 80px rgba(10,40,43,.25); overflow: auto; }
dialog::backdrop { background: rgba(8, 35, 38, .55); backdrop-filter: blur(3px); }
.modal-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); background: #fff; }
.modal-head h2 { margin: 0; font-family: Georgia, serif; }
.modal-message { position: sticky; top: 84px; z-index: 3; margin: 14px 26px 0; padding: 13px 16px; border: 1px solid; border-radius: 9px; font-size: 13px; font-weight: 700; line-height: 1.45; }
.modal-message.error { color: #7f2e22; border-color: #e8b6ad; background: #fff0ed; }
.modal-message.success { color: #245e39; border-color: #b9dbc5; background: #eaf7ee; }
#modal-content { padding: 24px 26px 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.autocomplete { position: relative; display: block; }
.autocomplete-results { position: absolute; z-index: 8; top: calc(100% + 5px); left: 0; right: 0; max-height: 280px; overflow-y: auto; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: var(--shadow); }
.autocomplete-results button { display: grid; width: 100%; padding: 10px 12px; border: 0; border-bottom: 1px solid #edf1f1; color: var(--ink); background: #fff; text-align: left; }
.autocomplete-results button:hover { background: var(--teal-soft); }
.autocomplete-results button strong { color: var(--teal-dark); }
.autocomplete-results button span { margin-top: 3px; color: var(--muted); font-size: 12px; }
.autocomplete-empty { display: block; padding: 12px; color: var(--muted); font-weight: 400; }
.actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 23px; }

.patient-hero { display: flex; gap: 20px; align-items: center; }
.patient-avatar { display: grid; place-items: center; width: 66px; height: 66px; flex: 0 0 auto; border-radius: 17px; color: var(--teal); background: var(--teal-soft); font-family: Georgia, serif; font-size: 25px; font-weight: bold; }
.patient-hero h3 { margin: 0 0 5px; font-family: Georgia, serif; font-size: 26px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 22px; margin-top: 22px; }
.detail-grid dt { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.detail-grid dd { margin: 4px 0 10px; font-size: 14px; }
.note { padding: 15px; border-left: 3px solid var(--coral); background: #fff7f4; }
.patient-summary-card { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 11px 14px; }
.patient-summary-main { display: flex; flex: 1; align-items: center; gap: 14px; min-width: 0; white-space: nowrap; }
.patient-avatar.compact { width: 38px; height: 38px; border-radius: 10px; font-size: 15px; }
.patient-summary-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.patient-summary-name strong { overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.patient-summary-item, .patient-summary-note { min-width: 0; overflow: hidden; color: #38515a; font-size: 12px; text-overflow: ellipsis; }
.patient-summary-item small, .patient-summary-note small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.patient-summary-location { max-width: 130px; }
.patient-summary-note { max-width: 170px; padding-left: 12px; border-left: 2px solid var(--coral); }
.patient-summary-actions { display: flex; flex: 0 0 auto; gap: 7px; }
.patient-visits-head { margin-top: 16px; }
.visit { margin-bottom: 8px; padding: 11px 13px; border: 1px solid var(--line); border-left-width: 5px; border-radius: 10px; background: #fff; }
.visit-ambulatory { border-left-color: #0c756d; background: linear-gradient(90deg, #f1faf8, #fff 34%); }
.visit-remote { border-left-color: #4f6fd8; background: linear-gradient(90deg, #f3f6ff, #fff 34%); }
.visit-dispensary { border-left-color: #a05aa5; background: linear-gradient(90deg, #fbf3fc, #fff 34%); }
.visit-prevention { border-left-color: #d39b2d; background: linear-gradient(90deg, #fff8e8, #fff 34%); }
.visit-default { border-left-color: #b9c8ca; }
#visits-section { scroll-margin-top: 20px; }
.visit-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.visit h4 { margin: 0 0 3px; font-size: 15px; }
.visit p { display: inline-block; margin: 6px 18px 0 0; color: #496169; font-size: 12px; }
.visit-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 9px; padding-top: 8px; border-top: 1px solid #edf1f1; }
.nhis-import-results { display: grid; gap: 12px; }
.import-result-summary { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 12px 14px; border-radius: 9px; background: var(--teal-soft); font-size: 13px; }
.error-text { color: #a53b2c; }
.compact-action { padding: 7px 10px; font-size: 12px; white-space: nowrap; }
button:disabled { cursor: not-allowed; opacity: .45; }
.detail-section { margin-top: 16px; padding: 14px 16px; border-radius: 9px; background: var(--paper); }
.detail-section h4 { margin: 0 0 7px; }
.detail-section p { margin: 0; white-space: pre-wrap; }
.technical-log { display: grid; gap: 14px; }
.technical-section { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.technical-section h4 { margin: 0 0 8px; color: var(--teal-dark); }
.technical-section pre { max-height: 360px; margin: 0; overflow: auto; white-space: pre-wrap; word-break: break-word; font: 12px/1.45 Consolas, monospace; }
.compact-head { margin-top: 0; }
.document-register { display: grid; gap: 12px; }
.document-card { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; }
.document-statuses { display: flex; align-items: flex-start; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.document-result { margin-top: 6px; color: #38515a; font-size: 12px; }
.document-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; border-top: 1px solid #edf1f1; }
.settings-card { max-width: 800px; }
.settings-note { padding: 13px 15px; border-radius: 9px; color: #38515a; background: var(--teal-soft); font-size: 13px; line-height: 1.5; }
.settings-hero { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 20px; padding: 22px 25px; border: 1px solid #d9e8e6; border-radius: 16px; background: linear-gradient(120deg, #fff, #eef7f5); }
.settings-hero h3 { margin: 0; font-family: Georgia, serif; font-size: 29px; }
.settings-hero p:not(.eyebrow) { margin: 7px 0 0; color: var(--muted); }
.settings-status { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; min-width: 165px; padding: 12px 15px; border: 1px solid #cfe0de; border-radius: 11px; background: #fff; }
.settings-status small, .settings-status strong { display: block; }
.settings-status small { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.settings-status strong { margin-top: 2px; font-size: 13px; }
.status-dot { width: 11px; height: 11px; border-radius: 50%; background: #d3a43d; box-shadow: 0 0 0 4px #f8edcf; }
.status-dot.production { background: #2d9360; box-shadow: 0 0 0 4px #dff1e7; }
.settings-stack { display: grid; gap: 16px; }
.settings-panel { padding: 0; overflow: hidden; }
.settings-panel-head { display: flex; align-items: center; gap: 14px; padding: 19px 22px; border-bottom: 1px solid var(--line); background: #fbfcfc; }
.settings-panel-head > div { min-width: 0; flex: 1; }
.settings-panel-head h4 { margin: 0; font-family: Georgia, serif; font-size: 19px; }
.settings-panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.settings-panel-number { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; border-radius: 9px; color: #fff; background: var(--teal); font-size: 13px; font-weight: 900; }
.connection-chip { flex: 0 0 auto; padding: 6px 9px; border-radius: 7px; color: var(--teal-dark); background: var(--teal-soft); font: 11px Consolas, monospace; }
.settings-fields { padding: 20px 22px; }
.settings-fields label { align-content: start; }
.field-help { color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.35; }
.advanced-settings { border-top: 1px solid var(--line); }
.advanced-settings summary { cursor: pointer; padding: 13px 22px; color: #38515a; background: #f9fbfa; font-size: 12px; font-weight: 800; }
.advanced-settings[open] summary { border-bottom: 1px solid var(--line); color: var(--teal-dark); }
.settings-panel-actions { display: flex; justify-content: flex-end; padding: 15px 22px; border-top: 1px solid var(--line); background: #fbfcfc; }
.settings-savebar { position: sticky; bottom: 12px; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 16px; border: 1px solid #bfd8d4; border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: 0 12px 35px rgba(20,54,61,.14); backdrop-filter: blur(10px); }
.settings-savebar strong, .settings-savebar span { display: block; }
.settings-savebar strong { font-size: 13px; }
.settings-savebar span { margin-top: 2px; color: var(--muted); font-size: 11px; }
.settings-import-panel { margin-top: 16px; }
.import-workspace { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr); gap: 16px; padding: 20px 22px; }
.import-file-box { display: grid; align-content: start; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfc; }
.import-file-box p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.import-warning { grid-column: 2; padding: 14px 16px; border: 1px solid #edc6bd; border-radius: 10px; color: #7f2e22; background: #fff4f1; }
.import-warning strong, .import-warning span { display: block; }
.import-warning strong { font-size: 13px; }
.import-warning span { margin-top: 5px; font-size: 11px; line-height: 1.5; }
.import-preview { grid-column: 2; min-height: 110px; padding: 16px; border: 1px dashed #a9c9c5; border-radius: 10px; background: #f7fbfa; font-size: 13px; }
.import-preview strong, .import-preview span { display: block; }
.import-preview span { margin-top: 4px; }
.import-preview ul { margin: 10px 0 0; padding-left: 20px; }
.import-errors { margin-top: 10px; color: #a84331; font-weight: 700; }
.import-actions { grid-column: 2; padding: 0; border: 0; background: none; gap: 8px; }
.import-history { display: grid; gap: 0; padding: 0 22px 20px; font-size: 13px; }
.import-history-title { display: flex; justify-content: space-between; padding: 13px 0 9px; border-top: 1px solid var(--line); }
.import-history-title span { color: var(--muted); font-size: 11px; }
.import-history-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #edf1f1; }
.import-history-row div { min-width: 0; }
.import-history-row strong, .import-history-row small { display: block; }
.import-history-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.import-history small { color: var(--muted); }
.file-mark { display: grid; place-items: center; height: 28px; border-radius: 7px; color: var(--teal-dark); background: var(--teal-soft); font-size: 9px; font-weight: 900; }
.empty-import-history { padding: 16px 0; color: var(--muted); text-align: center; }
.imported-clinical-data { margin-top: 10px; padding: 12px 15px; }
.imported-clinical-data summary { cursor: pointer; color: var(--teal-dark); font-weight: 800; }
.imported-clinical-list { display: grid; gap: 8px; margin-top: 12px; }
.imported-clinical-list div { display: grid; gap: 3px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; }
.imported-clinical-list span { color: var(--muted); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 20; max-width: 360px; padding: 13px 17px; border-radius: 9px; color: #fff; background: #173f42; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: #a84331; }

@media (max-width: 850px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 10; width: 245px; transform: translateX(-100%); transition: .2s; }
  .sidebar.open { transform: translateX(0); box-shadow: 10px 0 40px rgba(0,0,0,.2); }
  .content { padding: 0 20px 40px; }
  #menu-toggle { display: block; }
  .stats { grid-template-columns: 1fr; }
  .topbar { flex-wrap: wrap; }
  .current-patient-bar { order: 3; width: 100%; }
  .patient-summary-card { align-items: flex-start; flex-direction: column; }
  .patient-summary-main { width: 100%; flex-wrap: wrap; white-space: normal; }
  .patient-summary-actions { align-self: flex-end; }
  .settings-hero { align-items: flex-start; flex-direction: column; }
  .settings-status { width: 100%; }
  .import-workspace { grid-template-columns: 1fr; }
  .import-warning, .import-preview, .import-actions { grid-column: 1; }
}

@media (max-width: 560px) {
  .login-card { padding: 30px 24px; }
  .topbar { align-items: flex-start; }
  .topbar .primary { font-size: 0; }
  .topbar .primary::after { content: "+"; font-size: 22px; }
  .form-grid, .detail-grid { grid-template-columns: 1fr; }
  .toolbar { width: 100%; flex-direction: column; }
  .search { min-width: 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .settings-panel-head { align-items: flex-start; }
  .connection-chip { display: none; }
  .settings-savebar { align-items: stretch; flex-direction: column; }
  .settings-savebar button { width: 100%; }
  .import-history-row { grid-template-columns: 38px 1fr; }
  .import-history-row > small { grid-column: 2; }
}
