@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/lora-latin.woff2") format("woff2");
}

:root {
  --blue-700: #2b5e8a;
  --blue-800: #224b6f;
  --med-secondary: #64748b;
  --med-primary: #2b5e8a;
  --med-primary-dark: #224b6f;
  --med-accent: #e07856;
  --med-on-brand: #ffffff;
  --med-background: #f4f6f8;
  --med-surface: #ffffff;
  --med-raised: #e9eef3;
  --med-border: #dae1e8;
  --med-text-primary: #1a2230;
  --med-text-secondary: #5a6675;
  --med-success: #3d8a5f;
  --med-warning: #c2841c;
  --med-error: #ff3b30;
  --med-info: #3e759a;
  --ink: var(--med-text-primary);
  --muted: var(--med-text-secondary);
  --bg: var(--med-background);
  --surface: var(--med-surface);
  --hairline: var(--med-border);
  --tint-opacity: 0.12;
  --tint-primary: color-mix(in srgb, var(--med-primary) calc(var(--tint-opacity) * 100%), transparent);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-float: 0 4px 14px rgba(15, 23, 42, 0.14);
  --radius-sm: 12px;
  --radius: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --touch-target: 56px;
  --sidenav-width: 248px;
  --sp-sm: 8px;
  --sp: 16px;
  --sp-lg: 24px;
  --f-title: 28px;
  --f-headline: 22px;
  --f-subheadline: 20px;
  --f-body: 20px;
  --f-caption: 16px;
  --f-small: 14px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-wordmark: "Lora", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html, body, #app { height: 100%; margin: 0; }
html, body { overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-size: var(--f-body);
  line-height: 1.4;
  color: var(--med-text-primary);
  background: var(--med-background);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--med-accent); text-decoration: none; }
button { font-family: inherit; color: inherit; }
i.ph, i[class^="ph"], i[class*=" ph"] { line-height: 1; display: inline-flex; }

.skip { position: absolute; left: -999px; }
.skip:focus {
  left: 12px; top: 12px; z-index: 40;
  background: var(--med-surface); padding: 8px 12px;
}

#brand-mark-src { position: absolute; width: 0; height: 0; overflow: hidden; }
.brand-mark { display: inline-block; flex: 0 0 auto; }
.brand-mark .brand-body { fill: color-mix(in srgb, var(--med-primary) 58%, white); }
.brand-mark .brand-structure { fill: var(--med-primary); }
.wordmark {
  font-family: var(--font-wordmark);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--med-text-primary);
  line-height: 1;
}

/* ============================ App shell — web side rail ============================ */
.shell {
  background:
    radial-gradient(1200px 540px at 85% -12%, var(--med-raised) 0%, rgba(0, 0, 0, 0) 66%),
    linear-gradient(180deg, var(--med-surface) 0%, var(--med-background) 760px);
}
.shell--rail {
  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr;
}
.shell__body { min-width: 0; display: flex; flex-direction: column; }
.shell__main {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: var(--sp-lg) clamp(16px, 2.5vw, 36px) calc(80px + env(safe-area-inset-bottom, 0px));
  flex: 1;
}
.pane { max-width: 680px; }

.sidenav {
  display: none;
  flex-direction: column;
  width: var(--sidenav-width);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 12px 10px 10px;
  border-right: 1px solid var(--med-border);
  background: var(--med-background);
  z-index: 30;
}
.sidenav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 10px;
  color: var(--med-text-primary);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.sidenav__brand .wordmark { font-size: 18px; }
.sidenav__workspace {
  margin-bottom: 8px;
  padding: 0 2px 10px;
  border-bottom: 1px solid var(--med-border);
}
.sidenav__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
  overflow-y: auto;
  padding: 6px 0;
}
.sidenav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 0;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: var(--med-text-secondary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.sidenav__link i { font-size: 20px; flex: 0 0 auto; }
.sidenav__link:hover {
  color: var(--med-text-primary);
  background: color-mix(in srgb, var(--med-primary) 7%, transparent);
}
.sidenav__link.is-active {
  color: var(--med-primary);
  background: color-mix(in srgb, var(--med-primary) 12%, transparent);
  font-weight: 600;
}
.sidenav__footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--med-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidenav__link--footer { margin-top: 0; }

.side-acct__chip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  background: var(--med-surface);
  color: var(--med-text-primary);
  text-align: left;
}
.side-acct__chip .avatar { width: 32px; height: 32px; font-size: 12px; flex: 0 0 auto; }
.side-acct__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.side-acct__name {
  font-size: 14px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.side-acct__sub { font-size: 12px; color: var(--med-text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.avatar {
  width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center;
  color: var(--med-on-brand); font-weight: 600; font-size: 20px;
  background: linear-gradient(135deg, var(--med-primary), color-mix(in srgb, var(--med-primary) 72%, #000));
}

.phone-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--med-border);
  background: var(--med-background);
}
.phone-chrome__spacer { flex: 1; }
.phone-chrome__btn {
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  color: var(--med-text-primary); display: grid; place-items: center;
}
.phone-chrome .wordmark { font-size: 16px; }

.tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-around;
  background: color-mix(in srgb, var(--med-background) 90%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--med-border);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}
.tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 0;
  min-height: 48px;
  justify-content: center;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--med-secondary);
  font-size: 11px;
  font-weight: 500;
}
.tabbar__item i { font-size: 24px; }
.tabbar__item.is-active { color: var(--med-primary); }

@media (min-width: 900px) {
  :root {
    --f-title: 24px; --f-headline: 18px; --f-subheadline: 16px; --f-body: 15px;
    --f-caption: 14px; --f-small: 13px;
    --touch-target: 40px;
  }
  body { font-size: 15px; line-height: 1.5; }
  .shell--rail { grid-template-columns: var(--sidenav-width) 1fr; }
  .sidenav { display: flex; }
  .tabbar, .phone-chrome { display: none !important; }
  .shell__main { padding: 28px clamp(24px, 3vw, 40px) 56px; }
  .page-title { font-size: 24px; }
  .card { box-shadow: none; border: 1px solid var(--med-border); padding: var(--sp); border-radius: var(--radius); }
  .row { box-shadow: none; border: 1px solid var(--med-border); padding: 11px 14px; border-radius: var(--radius-sm); }
  .row + .row { margin-top: 6px; }
  .row__title { font-size: 15px; }
  .row__sub { font-size: 13px; }
  .btn { width: auto; min-height: 44px; padding: 0 18px; font-size: 14px; }
  .btn--primary { width: auto; }
  form .btn, form .btn--primary, .btn--block { width: 100%; }
  .input { min-height: 40px; font-size: 15px; }
  .pill { font-size: 12px; padding: 2px 9px; }
}

h1, .page-title {
  font-family: var(--font-wordmark);
  font-size: var(--f-title);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
h2, .section-title {
  font-family: var(--font-wordmark);
  font-size: var(--f-headline);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
p { margin: 0 0 1em; }
.muted { color: var(--med-text-secondary); }
.small { font-size: var(--f-caption); }
.error, .auth__error { color: var(--med-error); font-weight: 600; }

.card {
  background: var(--med-surface);
  border-radius: var(--radius);
  padding: var(--sp);
  box-shadow:
    0 1px 2px rgba(22, 52, 80, 0.04),
    0 10px 26px rgba(22, 52, 80, 0.06);
  border: 1px solid var(--med-border);
}

.row {
  display: flex;
  align-items: center;
  gap: var(--sp);
  width: 100%;
  text-align: left;
  background: var(--med-surface);
  border: 1px solid var(--med-border);
  border-radius: var(--radius);
  padding: 14px var(--sp);
  box-shadow:
    0 1px 2px rgba(22, 52, 80, 0.04),
    0 4px 12px rgba(22, 52, 80, 0.05);
  cursor: pointer;
  color: inherit;
}
.row + .row { margin-top: var(--sp-sm); }
.row:hover { background: var(--med-raised); }
.row__body { flex: 1; min-width: 0; }
.row__title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__sub { font-size: var(--f-small); color: var(--med-text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__chevron { color: var(--med-text-secondary); flex: 0 0 auto; }

.pill {
  display: inline-flex; align-items: center;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: var(--f-small);
  font-weight: 500;
}
.pill--ready { color: var(--med-success); background: color-mix(in srgb, var(--med-success) 15%, transparent); }
.pill--error { color: var(--med-error); background: color-mix(in srgb, var(--med-error) 15%, transparent); }
.pill--processing { color: var(--med-warning); background: color-mix(in srgb, var(--med-warning) 15%, transparent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-sm);
  min-height: var(--touch-target); padding: 0 var(--sp-lg);
  border-radius: var(--radius-sm); border: 0; font-size: var(--f-body); font-weight: 600;
  cursor: pointer; width: 100%;
}
.btn:disabled { opacity: 0.5; cursor: default; }
.btn--primary { background: var(--med-primary); color: var(--med-on-brand); }
.btn--ghost { background: var(--med-surface); color: var(--med-text-primary); border: 1px solid var(--med-border); }
.btn--danger-soft { background: color-mix(in srgb, var(--med-error) 14%, transparent); color: var(--med-error); }
.btn--auto { width: auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { width: auto; flex: 1; min-width: 160px; }

.field { display: block; margin-bottom: var(--sp); }
.field__label {
  display: block; font-size: var(--f-caption); font-weight: 600;
  color: var(--med-text-secondary); margin-bottom: 6px;
}
.input {
  width: 100%; min-height: var(--touch-target); padding: 0 var(--sp);
  font-size: var(--f-body); font-family: inherit; color: var(--med-text-primary);
  background: var(--med-surface); border: 1px solid var(--med-border); border-radius: var(--radius-sm);
}
.input:focus { outline: 2px solid var(--med-primary); outline-offset: -1px; }

.segmented {
  display: flex; background: var(--med-raised); border-radius: var(--radius-sm); padding: 3px; gap: 3px;
}
.segmented button {
  flex: 1; border: 0; background: none; padding: 9px 8px; border-radius: 6px; cursor: pointer;
  font-size: var(--f-caption); font-weight: 600; color: var(--med-text-secondary);
}
.segmented button.is-active { background: var(--med-surface); color: var(--med-text-primary); box-shadow: var(--shadow-card); }

.otp { display: flex; gap: var(--sp-sm); justify-content: center; margin: var(--sp) 0; }
.otp input {
  width: 46px; height: 58px; text-align: center; font-size: var(--f-title); font-weight: 600;
  border: 1px solid var(--med-border); border-radius: var(--radius-sm);
  background: var(--med-surface); color: var(--med-text-primary);
}
.otp input:focus { outline: 2px solid var(--med-primary); outline-offset: -1px; }

.auth__switch { text-align: center; margin-top: var(--sp-lg); font-size: var(--f-caption); color: var(--med-text-secondary); }
.auth__switch button { background: none; border: 0; color: var(--med-primary); font-weight: 600; cursor: pointer; font-size: inherit; }

/* Login: same cream AuthFlow canvas as patient web, not Cool Paper gray. */
.authx {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  --auth-canvas: #f7f4ee;
  --paper: #f7f4ee;
  --surface: #f2ece1;
  --hairline: #e6ded0;
  --ink: #1c2530;
  background: var(--auth-canvas);
}
html[data-theme="dark"] .authx {
  --auth-canvas: #0b0f14;
  --paper: #0b0f14;
  --surface: #1a222c;
  --hairline: #2a333e;
  --ink: #e9eef3;
  background:
    radial-gradient(1100px 480px at 82% -12%, var(--med-raised) 0%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, var(--med-surface) 0%, var(--med-background) 80%);
}
.authx__stage {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-content: center;
  gap: 36px;
  padding: 56px 24px 40px;
  width: 100%;
  max-width: 100%;
}
.authx__brand { display: flex; flex-direction: column; justify-content: center; }
.authx__brandinner { width: 100%; max-width: 460px; margin: 0 auto; }
.authx__lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--med-text-primary);
  background: none;
  border: 0;
  padding: 0;
  cursor: default;
}
.authx__lockup .wordmark { font-size: 30px; }
.authx__lede {
  margin: 0 0 28px;
  max-width: 30ch;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--med-text-secondary);
  font-weight: 500;
}
.authx__form { display: grid; place-items: center; }
.authx__formcard { width: min(100%, 420px); }
.authx__formcard .section-title {
  font-family: var(--font-wordmark);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.authx .card {
  background: var(--med-surface);
  border: 1px solid var(--med-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: 30px 28px;
}
.authx__footer {
  flex: 0 0 auto;
  width: 100%;
  margin-top: auto;
  padding: 18px 24px calc(18px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--med-border);
  background: var(--auth-canvas, #f7f4ee);
  font-size: 0.88rem;
  color: var(--med-text-secondary);
}
html[data-theme="dark"] .authx__footer { background: var(--med-background); }
.authx__footer-inner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}
.authx__footer-copy { color: var(--med-text-secondary); }

@media (max-width: 859px) {
  .authx__stage { gap: 18px; padding: 36px 20px 28px; }
  .authx__brand { text-align: center; }
  .authx__lockup { margin-bottom: 6px; justify-content: center; }
  .authx__lede { margin: 0 auto 22px; max-width: 32ch; }
  .authx__footer-inner { justify-content: center; }
}
@media (min-width: 860px) {
  .authx__stage {
    grid-template-columns: minmax(0, 460px) minmax(0, 400px);
    gap: 72px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
  }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  margin: 0;
  border-radius: 10px;
  border: 1px solid var(--hairline, var(--med-border));
  background: var(--surface, var(--med-surface));
  color: var(--ink, var(--med-text-primary));
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  line-height: 1;
  box-shadow: none;
}
button.theme-toggle {
  color: var(--ink, var(--med-text-primary));
  background: var(--surface, var(--med-surface));
}
.theme-toggle:hover {
  border-color: var(--med-primary);
  color: var(--med-primary);
}
.theme-toggle i { font-size: 1.15rem; line-height: 1; }
.theme-toggle i.theme-toggle__sun,
.theme-toggle .theme-toggle__sun { display: none !important; }
html[data-theme="dark"] .theme-toggle i.theme-toggle__moon,
html[data-theme="dark"] .theme-toggle .theme-toggle__moon { display: none !important; }
html[data-theme="dark"] .theme-toggle i.theme-toggle__sun,
html[data-theme="dark"] .theme-toggle .theme-toggle__sun { display: inline-flex !important; }

.empty { max-width: 420px; text-align: start; color: var(--med-text-secondary); }
.drop {
  border: 1px dashed var(--med-border); border-radius: var(--radius);
  padding: 36px 16px; text-align: start; cursor: pointer; background: var(--med-surface);
}
.drop.drag { border-color: var(--med-primary); background: var(--tint-primary); }
.file-list { margin: 12px 0 0; padding-left: 1.2em; color: var(--med-text-secondary); font-size: var(--f-caption); }
.banner {
  background: var(--tint-primary); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-bottom: 20px;
}
.section { margin: 0 0 28px; }
.section h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field-row {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 16px;
  padding: 12px 0; border-bottom: 1px solid var(--med-border);
}
.field-row .label { color: var(--med-text-secondary); font-size: var(--f-caption); }
.field-row .value { grid-column: 1; font-weight: 600; }
.field-row .value.empty { font-weight: 400; color: var(--med-text-secondary); }
.copy {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  background: none; border: 0; color: var(--med-primary); font-weight: 600;
  cursor: pointer; min-height: 44px;
}
.copy.done { color: var(--med-success); }

.page-actions { display: flex; gap: 12px; margin-top: 24px; max-width: 680px; }
.page-actions .btn { flex: 1; }

.spinner {
  width: 36px; height: 36px; margin: 24px auto;
  border: 3px solid var(--med-border); border-top-color: var(--med-primary);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.settings-block { margin-top: 32px; max-width: 600px; }
.settings-block h2 { margin-bottom: 8px; }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp);
  margin-bottom: var(--sp-lg);
}
.header-bar .page-title { margin: 0; }

.empty__title {
  font-weight: 600;
  color: var(--med-text-primary);
  margin: 0 0 8px;
}
.empty .btn { margin-top: 16px; }

.doc-table-wrap {
  display: none;
  overflow-x: auto;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  background: var(--med-surface);
}
.doc-list { display: block; }
.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.doc-table th, .doc-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--med-border);
}
.doc-table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--med-text-secondary);
  background: color-mix(in srgb, var(--med-background) 70%, var(--med-surface));
}
.doc-table th:nth-child(1), .doc-table td:nth-child(1) { width: 48%; }
.doc-table th:nth-child(2), .doc-table td:nth-child(2) { width: 22%; }
.doc-table tbody tr { cursor: pointer; }
.doc-table tbody tr:hover { background: color-mix(in srgb, var(--med-primary) 5%, transparent); }
.doc-table tbody tr:last-child td { border-bottom: 0; }
.doc-table__name {
  font-weight: 600;
  max-width: 36ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.doc-table__date { color: var(--med-text-secondary); white-space: nowrap; }

.doc-sticky {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 12px;
  margin: -8px 0 16px;
  background: color-mix(in srgb, var(--med-surface) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--med-border);
}
.doc-sticky .page-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.doc-sticky__back {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--med-text-primary);
  display: grid;
  place-items: center;
}
.doc-sticky__back i { font-size: 22px; }
.doc-sticky__delete {
  flex: 0 0 auto;
  background: none;
  border: 0;
  color: var(--med-accent);
  font-weight: 600;
  font-size: var(--f-caption);
  cursor: pointer;
  min-height: 44px;
  padding: 0 8px;
}

.group-card {
  background: var(--med-surface);
  border: 1px solid var(--med-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.group + .group { border-top: 1px solid var(--med-border); }
.group__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 8px;
}
.group__head {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 16px;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-align: left;
  color: var(--med-text-primary);
}
.group__head i { color: var(--med-text-secondary); }
.group__body { padding: 0 16px 8px; }
.group__body .field-row:last-child { border-bottom: 0; }
.group__bar .copy { grid-column: auto; grid-row: auto; }

@media (min-width: 900px) {
  .doc-table-wrap { display: block; }
  .doc-list { display: none; }
}

:focus-visible { outline: 2px solid var(--med-primary); outline-offset: 2px; }
