/* BBS Dashboards: base layer + shared card grammar. */

/* Inter, self-hosted. One variable file covers 400-700, so the whole type
 * system costs a single 48KB request and no third-party origin, which is what
 * lets the Content-Security-Policy stay at default-src 'self'.
 * SIL Open Font License 1.1; see assets/fonts/OFL.txt. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
                 U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Tabular figures wherever numbers stack vertically (table columns, times,
 * bar values) so the columns align and a refresh cannot jog them sideways.
 *
 * Deliberately NOT on the hero and KPI values: at 32-40px equal-width digits
 * make a number like 121 look gappy, and those figures stand alone rather than
 * lining up with anything. */
.num, td.num, time { font-variant-numeric: tabular-nums; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --- Shell ---------------------------------------------------------------- */

.topbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--s6);
}
.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  gap: var(--s6);
}
.brand {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.brand-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
}
.nav { display: flex; gap: var(--s5); margin-left: var(--s4); }
.nav a {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: var(--fs-label);
  padding: var(--s2) 0;
  border-bottom: 2px solid transparent;
}
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
  text-decoration: none;
}
.topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--s4);
  color: var(--ink-muted);
  font-size: var(--fs-label);
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--s8) var(--s6) var(--s12);
}

.page-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  margin-bottom: var(--s6);
  flex-wrap: wrap;
}
h1 {
  font-size: var(--fs-hero);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s3);
}

/* --- Cards ---------------------------------------------------------------- */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--s5);
}
.card + .card { margin-top: var(--s4); }

.label {
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}
.muted { color: var(--ink-muted); }
.subtle { color: var(--ink-subtle); }

/* --- Freshness ------------------------------------------------------------ */

.freshness {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--fs-micro);
  color: var(--ink-muted);
}
.freshness::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good);
}
.freshness.is-stale { color: var(--warn); }
.freshness.is-stale::before { background: var(--warn); }

.banner {
  border: 1px solid var(--border);
  border-left: 3px solid var(--warn);
  background: var(--warn-wash);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: var(--s3) var(--s4);
  font-size: var(--fs-label);
  margin-bottom: var(--s5);
}
.banner-bad { border-left-color: var(--bad); background: var(--bad-wash); }

/* --- Forms ---------------------------------------------------------------- */

.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--s6);
}
.auth-card { width: 100%; max-width: 380px; }
.auth-card h1 { font-size: 1.5rem; margin-bottom: var(--s1); }
.auth-card .sub { color: var(--ink-muted); margin: 0 0 var(--s6); font-size: var(--fs-label); }

.field { margin-bottom: var(--s4); }
.field label {
  display: block;
  font-size: var(--fs-label);
  font-weight: 600;
  margin-bottom: var(--s2);
}
.field input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--card);
  padding: 10px var(--s3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--motion);
}
.field input:focus { border-color: var(--accent); outline: none; }

.btn {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 10px var(--s5);
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ink-invert);
  transition: opacity var(--motion);
}
.btn:hover { opacity: 0.88; }
.btn-block { width: 100%; }
.btn-quiet {
  background: transparent;
  color: var(--ink-muted);
  border-color: var(--border-strong);
}

/* --- Tables --------------------------------------------------------------- */

table { border-collapse: collapse; width: 100%; font-size: var(--fs-body); }
th {
  text-align: left;
  font-size: var(--fs-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  padding: 0 var(--s3) var(--s2);
  border-bottom: 1px solid var(--border);
}
td { padding: var(--s3); border-bottom: 1px solid var(--gridline); }
tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; }

/* --- Hero ------------------------------------------------------------------
 * The "am I okay?" band. Tone is carried by a left rule plus the wording, not
 * by a coloured panel. A full red card at the top of every morning stops
 * being information within a week. */

.hero {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--s5) var(--s6);
  margin-bottom: var(--s5);
}
.hero--good { border-left-color: var(--good); }
.hero--warn { border-left-color: var(--warn); }
.hero--bad  { border-left-color: var(--bad); }

.hero-headline {
  margin: 0;
  font-size: var(--fs-kpi);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero-detail {
  margin: var(--s2) 0 0;
  color: var(--ink-muted);
  font-size: 1rem;
}
.hero--bad  .hero-detail { color: var(--bad); }
.hero--warn .hero-detail { color: var(--warn); }

/* --- KPI cards -------------------------------------------------------------
 * Four layers, in reading order: label, value, comparison, trend. Every card
 * is the same shape so the row scans as one object. */

.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--s4);
  margin-bottom: var(--s6);
}

.kpi {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--s4) var(--s5) var(--s5);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--motion);
}
a.kpi:hover { border-color: var(--border-strong); text-decoration: none; }

.kpi-label {
  font-size: var(--fs-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  /* Two lines' worth, always. "Appointments booked · 24h" wraps and
   * "New leads · 24h" does not, and without a floor here the values below them
   * sit at different heights and the row stops reading as one object. */
  min-height: 3em;
}
.kpi-value {
  font-size: var(--fs-kpi);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.kpi-meta, .kpi-foot { font-size: var(--fs-micro); min-height: 1.2em; }
.kpi-trend { color: var(--accent); min-height: 24px; display: flex; align-items: flex-end; }
.spark { display: block; }
.spark-note { font-size: var(--fs-micro); color: var(--ink-subtle); }

.delta--good { color: var(--good); }
.delta--bad  { color: var(--bad); }
.delta--neutral, .note--muted { color: var(--ink-muted); }
.note--bad { color: var(--bad); }

/* --- Layout ---------------------------------------------------------------- */

/* Two columns, stated rather than inferred. auto-fit produced three columns at
 * 1280px, which left the fourth queue stranded alone on a second row. */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start; /* a one-row table does not stretch to match a nine-row one */
  gap: var(--s4);
  margin-bottom: var(--s4);
}
.grid-2 > .card { margin-top: 0; }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
}

.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: var(--s3);
}
.card-head h2 { margin: 0; }
.card-sub { font-size: var(--fs-micro); color: var(--ink-muted); }
.card-foot {
  margin: var(--s4) 0 0;
  font-size: var(--fs-micro);
  color: var(--ink-muted);
  border-top: 1px solid var(--gridline);
  padding-top: var(--s3);
}

/* --- Table detail ---------------------------------------------------------- */

.row-action { text-align: right; white-space: nowrap; }
.row-action a { font-size: var(--fs-micro); font-weight: 600; }
.row-past td { color: var(--ink-subtle); }
td.is-bad { color: var(--bad); font-weight: 600; }
td.nowrap { white-space: nowrap; }

/* An overdue row gets a rule, not a wash. When every thread in the inbox is
 * overdue, which is the state this practice is actually in, a background
 * fill turns the whole card into a red panel and stops distinguishing
 * anything. The bold red age column is the signal; this just anchors it. */
.row-flag td:first-child { box-shadow: inset 2px 0 0 var(--bad); }

.chip {
  display: inline-block;
  font-size: var(--fs-micro);
  font-weight: 600;
  padding: 2px var(--s2);
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--ink-muted);
  white-space: nowrap;
}
.chip--showed    { border-color: var(--good); color: var(--good); }
.chip--cancelled { border-color: var(--bad);  color: var(--bad); }
.chip--noshow    { border-color: var(--bad);  color: var(--bad); }

.empty {
  margin: 0;
  padding: var(--s5) 0;
  color: var(--ink-muted);
  text-align: center;
}
.empty--good { color: var(--good); }

/* --- Bars ------------------------------------------------------------------
 * One hue for every bar. These categories have no natural order, so colouring
 * them individually would spend the colour channel on identity the labels
 * already carry, and length is the only quantity here. */

.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 40px;
  align-items: center;
  gap: var(--s3);
  font-size: var(--fs-label);
}
.bar-label { color: var(--ink-muted); }
.bar-track {
  background: var(--gridline);
  border-radius: var(--radius-sm);
  height: 10px;
  overflow: hidden;
}
.bar-fill {
  display: block;
  height: 100%;
  min-width: 3px;
  background: var(--accent);
  border-radius: var(--radius-sm);
}
.bar-value { text-align: right; font-weight: 600; }

/* --- Refresh ---------------------------------------------------------------
 * Hold the previous render at reduced opacity while fetching. No skeleton, no
 * spinner, no reflow. The numbers on screen stay readable and simply go
 * slightly quiet for the moment it takes to swap them. */

#reception-root { transition: opacity var(--motion); }
#reception-root.is-refreshing { opacity: 0.55; }

/* --- Conversion: range picker ---------------------------------------------- */

.page-head-right { display: flex; align-items: center; gap: var(--s5); }

.range-picker {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card);
}
.range-picker a {
  font-size: var(--fs-micro);
  padding: var(--s1) var(--s3);
  color: var(--ink-muted);
  text-decoration: none;
  border-right: 1px solid var(--border);
}
.range-picker a:last-child { border-right: 0; }
.range-picker a:hover { color: var(--ink); }
.range-picker a[aria-current="true"] {
  background: var(--ink);
  color: var(--ink-invert);
  font-weight: 600;
}

/* --- Conversion: caveat band -----------------------------------------------
 * Above the numbers, not below them in small print. Every entry is generated
 * from live data and removes itself once it stops being true, so this band is
 * never a standing apology. It is the current state of the evidence. */

.caveats {
  list-style: none;
  margin: 0 0 var(--s6);
  padding: 0;
  display: grid;
  gap: var(--s2);
}
.caveat {
  font-size: var(--fs-label);
  color: var(--ink-muted);
  line-height: 1.5;
  padding: var(--s2) var(--s3) var(--s2) var(--s4);
  border-left: 2px solid var(--border-strong);
  background: var(--card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.caveat--warn { border-left-color: var(--warn); background: var(--warn-wash); color: var(--ink); }

/* --- Conversion: bar funnel ------------------------------------------------
 * Horizontal bars on a shared left baseline. Never a tapered funnel graphic:
 * a taper encodes each stage as an area, and area is judged badly and
 * inconsistently, whereas bar length against a common origin is judged well. */

.funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); counter-reset: step; }
.funnel-step {
  display: grid;
  grid-template-columns: 160px 1fr 48px 56px;
  align-items: center;
  gap: var(--s3);
  font-size: var(--fs-label);
}
.funnel-label { color: var(--ink-muted); }
.funnel-track {
  background: var(--gridline);
  border-radius: var(--radius-sm);
  height: 16px;
  overflow: hidden;
}
.funnel-fill {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-sm);
}
/* Zero must still read as a measured zero, not a rendering failure. */
.funnel-fill[style*="width: 0%"] { background: var(--border-strong); min-width: 2px; }
.funnel-count { text-align: right; font-weight: 600; font-size: var(--fs-body); }
.funnel-rate  { text-align: right; color: var(--ink-muted); }

@media (max-width: 720px) {
  .funnel-step { grid-template-columns: 110px 1fr 40px 48px; }
}

/* --- Conversion: stat row (revenue headline figures) ----------------------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--s5);
  margin-bottom: var(--s5);
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: var(--s1); }
.stat-label {
  font-size: var(--fs-micro);
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat .delta, .stat .note { font-size: var(--fs-micro); }

/* --- Conversion: grouped column chart --------------------------------------
 * Hand-rolled inline SVG, scaled by CSS from a fixed viewBox. No chart library
 * is loaded: twelve weeks of this funnel is thirty-six values, nearly all of
 * them 0, 1 or 2. */

.chart-wrap { width: 100%; overflow-x: auto; }
.columns { display: block; width: 100%; height: auto; min-width: 460px; }
.columns .grid { stroke: var(--gridline); stroke-width: 1; }
.columns .axis { stroke: var(--border-strong); stroke-width: 1; }
.columns .tick {
  fill: var(--ink-subtle);
  font-family: var(--font-sans);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

/* Three ordered steps of one hue, not a rainbow: these are stages of a single
 * process, so increasing darkness reads as progression where arbitrary hues
 * would read as unrelated categories.
 *
 * Measured against the card (#FFF): 3.22:1, 5.56:1, 9.77:1. Every step clears
 * the 3:1 floor for a graphical object, and adjacent steps sit 1.73 and 1.76
 * apart so they stay separable. The first draft ramped up into a pale tint
 * (#A5D8E5) which looked correct and measured 1.55:1, invisible to anyone
 * reading the screen at an angle or in daylight. A lightness ramp on white
 * only has room to go darker. */
.col--leads    { fill: #479AB0; }
.col--consults { fill: #1F7188; }
.col--clients  { fill: #0A4A5D; }
.col--empty    { fill: var(--border-strong); }

.legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  margin: 0 0 var(--s4);
  padding: 0;
  font-size: var(--fs-micro);
  color: var(--ink-muted);
}
.legend li { display: flex; align-items: center; gap: var(--s2); }
.swatch { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.swatch--leads    { background: #479AB0; }
.swatch--consults { background: #1F7188; }
.swatch--clients  { background: #0A4A5D; }

/* --- Placeholder (scaffold only; removed as each view lands) --------------- */

.placeholder {
  border: 1px dashed var(--border-strong);
  background: transparent;
  box-shadow: none;
  text-align: center;
  padding: var(--s12) var(--s6);
}
.placeholder .phase-chip {
  display: inline-block;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-wash);
  border-radius: 999px;
  padding: var(--s1) var(--s3);
  margin-bottom: var(--s4);
}

/* --- Annotation review -----------------------------------------------------
 * The review screen is a working surface, not a report: staff read a drafted
 * note, retype the wrong bit, and move on. So the note fields are sized for
 * two or three lines of real text rather than the single-line inputs the rest
 * of the app uses, and the readings table below them is deliberately quiet:
 * it is reference material you scan when a number looks wrong, not something
 * to compete with the notes for attention. */

.field textarea {
  width: 100%;
  font: inherit;
  line-height: 1.5;
  color: var(--ink);
  background: var(--card);
  padding: 10px var(--s3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  resize: vertical;
  transition: border-color var(--motion);
}
.field textarea:focus { border-color: var(--accent); outline: none; }
.field textarea[readonly] { background: var(--bg); color: var(--ink-muted); }

.field input[type="file"] {
  padding: var(--s3) 0;
  border: none;
  background: transparent;
}

/* Checkbox rows for the highlight picker. */
label.label {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-weight: 400;
  font-size: var(--fs-body);
  padding: var(--s2) 0;
  cursor: pointer;
}
label.label input { margin-top: 3px; flex: none; }

/* Readings that do not count toward the score reuse .row-past above. They are
 * shown rather than hidden: the uncounted pairs are exactly what makes the
 * provisional score checkable once the counted five are confirmed. */


/* --- Session planner --- */
.plan-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.banner-warn { border-left-color: var(--warn, #b45309); background: var(--warn-wash, rgba(180, 83, 9, 0.08)); }
.btn-secondary { background: transparent; color: inherit; border: 1px solid var(--border, #ccc); }
.plan-url { display: inline-block; margin-left: 6px; word-break: break-all; font-size: 0.85em; }
.plan-flag { font-size: 0.92em; }
.plan-footer { margin-top: 18px; }
.plan-ai { border: 2px dashed var(--warn, #b45309); }

@media print {
  /* Doc-style printout: the printed plan reads like the practice's own
     Word documents (plain headings, ruled tables), not like the dashboard.
     Screen styling is untouched. */
  .topbar, .plan-actions .btn, .plan-actions .btn-secondary, nav.nav { display: none !important; }
  body { background: #fff; color: #000; font: 11pt/1.45 Arial, Helvetica, sans-serif; }
  main, .container, .plan-sheet { max-width: none !important; min-height: 0 !important; padding: 0 !important; }
  .page-head { margin: 0 0 4pt; }
  .page-head h1 { font-size: 15pt; margin: 0; }

  /* Cards dissolve into plain document sections. */
  .card { box-shadow: none; border: 0; border-radius: 0; background: #fff; margin: 10pt 0 0; padding: 0; break-inside: auto; }
  .card-head { border: 0; padding: 0; margin: 0 0 3pt; break-after: avoid; }
  .card-head h2 { font-size: 12pt; margin: 0; }
  .card-sub, .subtle { color: #000; font-size: 10pt; }

  /* Word-like ruled tables. */
  .table-scroll { overflow: visible; }
  table { border-collapse: collapse; width: 100%; }
  th, td { border: 1px solid #000; padding: 3pt 5pt; font-size: 10pt; vertical-align: top; }
  th { background: #eee; text-align: left; }
  tr, li { break-inside: avoid; }

  ul { margin: 2pt 0 0 14pt; padding: 0; }
  li { margin: 0 0 2pt; }

  .plan-sheet a { color: #000; text-decoration: none; }
  .plan-url { font-size: 8pt; color: #444; }
  .banner-warn, .plan-flag { border: 1px solid #000; border-left-width: 3pt; background: #fff; padding: 3pt 6pt; font-size: 9pt; }
  .banner-bad { border: 1px solid #000; background: #fff; }
  .plan-ai { border: 2pt dashed #000; padding: 4pt; }
  .plan-footer { font-size: 8pt; color: #000; margin-top: 12pt; border-top: 1px solid #000; padding-top: 4pt; }
}


/* --- Home launcher --- */
.home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .home-grid { grid-template-columns: 1fr; } }
.home-tile { display: flex; flex-direction: column; gap: 6px; padding: 28px 22px; border: 1px solid var(--border, #ccc); border-radius: 10px; text-decoration: none; color: inherit; background: var(--card-bg, #fff); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.home-tile:hover { border-color: var(--accent, #4459c4); box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.home-tile-title { font-size: 1.15rem; font-weight: 600; }


/* --- Visit notes --- */
.transcript { white-space: pre-wrap; font-size: 0.95rem; color: var(--muted, #555); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#note-form textarea { width: 100%; font: inherit; padding: 8px; border: 1px solid var(--border, #ccc); border-radius: 6px; }
#note-form input[type=text] { width: 100%; margin-bottom: 6px; }


/* --- Inventory --- */
.count-table input[type=number] { width: 7rem; font-size: 1.05rem; padding: 8px; text-align: right; }
.count-table td { vertical-align: middle; }
@media (max-width: 620px) { .count-table input[type=number] { width: 5rem; } }

a.brand { text-decoration: none; color: inherit; }
a.brand:hover { opacity: .8; }

.topbar-user { color: inherit; text-decoration: none; }
.topbar-user:hover { text-decoration: underline; }
