:root {
  color-scheme: light;
  --bg: #f3f6fb;
  --bg-2: #e9eef7;
  --panel: #ffffff;
  --panel-2: #f8fafc;
  --text: #122033;
  --muted: #637083;
  --line: rgba(15, 23, 42, .12);
  --accent: #246bfe;
  --accent-dark: #0f4bd8;
  --accent-soft: #eaf1ff;
  --good: #0f8a54;
  --bad: #c83b3b;
  --shadow: 0 1.5rem 4rem rgba(15, 23, 42, .10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(36,107,254,.16), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(15,138,84,.10), transparent 30rem),
    linear-gradient(145deg, #f8fbff 0%, #eef3fb 55%, #e8edf6 100%);
}

button, input { font: inherit; }
button { cursor: pointer; }

.app-shell {
  width: min(1180px, 100%);
  min-height: calc(100svh - 3.5rem);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
  display: grid;
  align-content: start;
  gap: 1.25rem;
}

.app-header {
  position: sticky;
  top: .75rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255,255,255,.86);
  box-shadow: 0 .75rem 2rem rgba(15, 23, 42, .08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: .8rem;
  color: white;
  background: linear-gradient(135deg, var(--accent), #54b98c);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: -.04em;
}
.brand strong, .brand small { display: block; }
.brand strong { line-height: 1.1; }
.brand small { color: var(--muted); font-size: .78rem; margin-top: .12rem; }

.main-nav {
  display: flex;
  gap: .35rem;
  padding: .25rem;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}
.nav-button {
  border: 0;
  border-radius: 999px;
  padding: .68rem .95rem;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}
.nav-button:hover, .nav-button:focus-visible { color: var(--text); outline: none; }
.nav-button.is-active { color: white; background: var(--text); box-shadow: 0 .5rem 1.25rem rgba(15,23,42,.16); }

.app-view { display: grid; gap: 1rem; }
.app-view[hidden] { display: none; }

.hero-card, .summary-hero, .summary-card, .data-card {
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  min-height: min(66svh, 38rem);
  padding: clamp(1.2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
}
.hero-copy { max-width: 44rem; }
.eyebrow {
  margin: 0 0 .55rem;
  color: var(--accent-dark);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2 { margin: 0; line-height: 1.05; letter-spacing: -.045em; }
h1 { font-size: clamp(2.25rem, 6vw, 4.9rem); }
h2 { font-size: clamp(1.28rem, 3vw, 2rem); }
.intro {
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.6;
}
.intro.compact { max-width: 46rem; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.primary-upload, .apply-button, .secondary-action {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .95rem;
  padding: .8rem 1.05rem;
  font-weight: 900;
  border: 1px solid transparent;
}
.primary-upload, .apply-button { color: white; background: var(--accent); box-shadow: 0 .8rem 1.8rem rgba(36,107,254,.22); }
.primary-upload:hover, .apply-button:hover { background: var(--accent-dark); }
.primary-upload input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.secondary-action {
  color: var(--text);
  background: white;
  border-color: var(--line);
}
.secondary-action:hover { border-color: rgba(36,107,254,.3); background: var(--accent-soft); }
.status { min-height: 1.5rem; margin: 1rem 0 0; color: var(--muted); }
.status.error { color: var(--bad); }
.status.success { color: var(--good); }

.upload-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}
.upload-card strong { display: block; font-size: 1.5rem; letter-spacing: -.03em; margin-bottom: .25rem; }
.upload-card span, .upload-card p { color: var(--muted); line-height: 1.5; }
.upload-card hr { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }
.card-label { margin: 0 0 .5rem; color: var(--accent-dark) !important; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
code { color: var(--good); font-weight: 800; }

.stats-grid, .metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.stat-card, .metric-card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255,255,255,.82);
  box-shadow: 0 .8rem 2rem rgba(15,23,42,.06);
}
.stat-card span, .metric-card span { display: block; color: var(--muted); font-weight: 750; }
.stat-card strong, .metric-card strong { display: block; margin-top: .35rem; font-size: clamp(1.25rem, 3vw, 2rem); letter-spacing: -.04em; }
.metric-card.primary { color: white; background: linear-gradient(135deg, var(--accent), #0f8a54); }
.metric-card.primary span { color: rgba(255,255,255,.82); }

.summary-hero, .summary-card, .data-card { padding: clamp(1rem, 3vw, 1.6rem); }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.row-count { margin: 0; color: var(--muted); white-space: nowrap; }
.preset-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .55rem;
  margin-bottom: 1rem;
}
.preset-button {
  border: 1px solid var(--line);
  border-radius: .9rem;
  padding: .75rem .8rem;
  background: white;
  color: var(--text);
  font-weight: 800;
}
.preset-button:hover, .preset-button.is-active { border-color: rgba(36,107,254,.35); background: var(--accent-soft); color: var(--accent-dark); }
.date-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: .75rem;
  align-items: end;
}
.date-controls label { display: grid; gap: .35rem; color: var(--muted); font-weight: 800; }
.date-controls input {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  padding: .65rem .8rem;
  background: white;
  color: var(--text);
}
.summary-results { display: grid; gap: 1rem; }
.breakdown-card {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.breakdown-card header { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.breakdown-card header p { margin: .35rem 0 0; color: var(--muted); }
.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}
.breakdown-item { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 1.2rem; border-bottom: 1px solid var(--line); }
.breakdown-item:nth-child(odd) { border-right: 1px solid var(--line); }
.breakdown-item span { color: var(--muted); }
.breakdown-item strong { font-variant-numeric: tabular-nums; }

.tabs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel-2);
}
.tab {
  border: 0;
  border-radius: .75rem;
  padding: .75rem 1rem;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}
.tab:hover, .tab:focus-visible { color: var(--text); background: rgba(15,23,42,.06); outline: none; }
.tab.is-active { color: white; background: var(--text); }
.tab-panel { margin-top: 1rem; }
.panel-copy { margin: 0 0 1rem; color: var(--muted); line-height: 1.5; }
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
  max-height: 70svh;
  background: white;
}
.placeholder { margin: 0; padding: 1rem; color: var(--muted); }
.placeholder.spacious {
  padding: 1.25rem;
  border: 1px dashed var(--line);
  border-radius: 1rem;
  background: rgba(255,255,255,.8);
}
table { width: 100%; border-collapse: collapse; min-width: 42rem; }
th, td { padding: .8rem .9rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { position: sticky; top: 0; z-index: 1; background: #f1f5f9; color: var(--text); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
td { color: #1f2a3d; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(15,23,42,.025); }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.warning { color: var(--bad); }

.footer {
  min-height: 3.5rem;
  padding: 1rem;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  font-size: .9rem;
}

@media (max-width: 860px) {
  .hero-card { grid-template-columns: 1fr; min-height: auto; }
  .preset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .date-controls { grid-template-columns: 1fr; }
  .stats-grid, .metric-grid, .breakdown-grid { grid-template-columns: 1fr; }
  .breakdown-item:nth-child(odd) { border-right: 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .row-count { white-space: normal; }
}

@media (max-width: 640px) {
  .app-header { align-items: stretch; flex-direction: column; position: static; }
  .brand { padding-left: .25rem; }
  .main-nav { width: 100%; justify-content: space-between; }
  .nav-button { flex: 1; padding-inline: .5rem; }
}

.compare-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: .75rem;
  align-items: end;
}
.compare-controls label { display: grid; gap: .35rem; color: var(--muted); font-weight: 800; }
.compare-controls input, .compare-controls select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  padding: .65rem .8rem;
  background: white;
  color: var(--text);
}
.compare-card { overflow-x: auto; }
.compare-table { min-width: 44rem; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table td, .compare-table th { vertical-align: middle; }

@media (max-width: 860px) {
  .compare-controls { grid-template-columns: 1fr; }
}


/* Compact customer dashboard pages */
#view-summary.app-view,
#view-compare.app-view {
  gap: .75rem;
}

.summary-hero {
  display: none;
}

.compact-controls {
  padding: clamp(.85rem, 2vw, 1.15rem);
  border-radius: 1.25rem;
  box-shadow: 0 .8rem 2rem rgba(15, 23, 42, .07);
}

.compact-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}

.compact-heading h1 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -.04em;
}

.compact-subtitle {
  margin: .22rem 0 0;
  color: var(--muted);
  line-height: 1.35;
  font-size: .96rem;
}

.compact-controls .preset-grid {
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: .4rem;
  margin-bottom: .75rem;
}

#view-compare .compact-controls .preset-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.compact-controls .preset-button {
  min-height: 2.35rem;
  padding: .46rem .55rem;
  border-radius: 999px;
  font-size: .86rem;
  line-height: 1.1;
}

.compact-controls .date-controls,
.compact-controls .compare-controls {
  gap: .55rem;
}

.compact-controls .date-controls input,
.compact-controls .compare-controls input,
.compact-controls .compare-controls select {
  min-height: 2.65rem;
  border-radius: .78rem;
  padding: .52rem .7rem;
}

.compact-controls .date-controls label,
.compact-controls .compare-controls label {
  gap: .25rem;
  font-size: .88rem;
}

.compact-controls .apply-button {
  min-height: 2.65rem;
  border-radius: .78rem;
  padding: .62rem .95rem;
}

.summary-results {
  gap: .75rem;
}

.summary-results .metric-card {
  padding: .95rem 1rem;
}

.summary-results .breakdown-card header {
  padding: .85rem 1rem;
}

.summary-results .breakdown-item {
  padding: .75rem 1rem;
}

@media (max-width: 1080px) {
  .compact-controls .preset-grid,
  #view-compare .compact-controls .preset-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .compact-heading {
    align-items: start;
    flex-direction: column;
    gap: .45rem;
  }
  .compact-controls .preset-grid,
  #view-compare .compact-controls .preset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .compact-controls .preset-grid,
  #view-compare .compact-controls .preset-grid {
    grid-template-columns: 1fr;
  }
}

/* v11: make the upload control a real clickable file input, not only a label proxy. */
.primary-upload { position: relative; overflow: hidden; }
.primary-upload input {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  opacity: 0;
  cursor: pointer;
  pointer-events: auto;
}

/* v12: keep wide debugging tables contained inside the page instead of widening the whole app. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.app-shell,
.app-header,
.app-view,
.hero-card,
.summary-card,
.data-card,
.breakdown-card,
.table-wrap,
.tabs,
.summary-results,
.stats-grid,
.metric-grid,
.compare-card {
  min-width: 0;
  max-width: 100%;
}

.app-shell {
  width: 100%;
  max-width: 1180px;
}

.app-header {
  overflow: hidden;
}

.brand {
  min-width: 0;
  flex: 1 1 auto;
}

.brand div:last-child {
  min-width: 0;
}

.brand strong,
.brand small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  flex: 0 1 auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.table-wrap table {
  width: max-content;
  min-width: 100%;
}

.compare-card {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.compare-card .compare-table {
  width: max-content;
  min-width: 100%;
}

@media (max-width: 760px) {
  .app-shell {
    padding-inline: .75rem;
  }

  .app-header {
    align-items: stretch;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
  }
}

/* v13: make the active date range visible at the top of Summary and Compare. */
.range-strip {
  display: grid;
  gap: .55rem;
  margin: .15rem 0 .75rem;
  align-items: stretch;
}

.single-range {
  grid-template-columns: minmax(0, 1fr);
}

.compare-range-strip {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.range-pill {
  min-width: 0;
  border: 1px solid rgba(36, 107, 254, .18);
  border-radius: 1rem;
  padding: .75rem .9rem;
  background: linear-gradient(180deg, rgba(239, 246, 255, .92), rgba(255, 255, 255, .9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.range-pill.comparison {
  border-color: rgba(15, 138, 84, .2);
  background: linear-gradient(180deg, rgba(236, 253, 245, .9), rgba(255, 255, 255, .9));
}

.range-pill span,
.range-pill small {
  display: block;
  color: var(--muted);
  font-weight: 850;
}

.range-pill span {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .68rem;
}

.range-pill strong {
  display: block;
  margin-top: .18rem;
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  letter-spacing: -.035em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.range-pill small {
  margin-top: .12rem;
  font-size: .78rem;
}

.range-arrow {
  display: grid;
  align-items: center;
  justify-items: center;
  align-self: center;
  min-height: 2.4rem;
  padding: 0 .55rem;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .compare-range-strip {
    grid-template-columns: 1fr;
  }

  .range-arrow {
    min-height: auto;
    padding: .1rem 0;
  }

  .range-pill strong {
    white-space: normal;
  }
}

/* v14: merge page title and selected/comparison ranges into one compact header. */
.merged-range-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.25rem);
  margin-bottom: .85rem;
}

.merged-range-heading h1 {
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.merged-range-heading .range-strip {
  margin: 0;
}

.merged-range-heading .range-pill {
  padding: .68rem .85rem;
}

.merged-range-heading .range-pill strong {
  font-size: clamp(1rem, 1.7vw, 1.32rem);
}

.merged-range-heading .range-arrow {
  padding-inline: .35rem;
}

@media (max-width: 900px) {
  .merged-range-heading {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .merged-range-heading h1 {
    white-space: normal;
  }
}


.auth-card, .document-card { margin-top: 1rem; }
.auth-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: end; }
.auth-grid label, .add-reading-grid label { display: grid; gap: .35rem; font-weight: 700; color: var(--text); }
.auth-grid input, .add-reading-grid input { width: 100%; border: 1px solid var(--border); border-radius: 14px; padding: .8rem .9rem; background: rgba(255,255,255,.86); color: var(--text); font: inherit; }
.auth-actions, .compact-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.small { padding: .55rem .8rem; font-size: .9rem; }
.document-list { display: grid; gap: .75rem; }
.document-row { display: flex; justify-content: space-between; gap: 1rem; align-items: center; border: 1px solid var(--border); border-radius: 18px; padding: 1rem; background: rgba(255,255,255,.72); }
.status.success { color: #047857; background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.24); }
.add-reading-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; }
@media (max-width: 800px) { .auth-grid, .add-reading-grid { grid-template-columns: 1fr; } .document-row { align-items: stretch; flex-direction: column; } }

.header-account {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.auth-summary {
  color: var(--muted);
  font-size: .86rem;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-dialog {
  width: min(28rem, calc(100vw - 2rem));
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 0;
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow);
}

.auth-dialog::backdrop {
  background: rgba(15, 23, 42, .42);
  backdrop-filter: blur(3px);
}

.auth-form {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
}

.compact-dialog-heading {
  align-items: start;
}

.auth-fields {
  display: grid;
  gap: .8rem;
}

.auth-fields label,
.add-reading-grid label {
  display: grid;
  gap: .35rem;
  font-weight: 700;
  color: var(--text);
}

.auth-fields input,
.add-reading-grid input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .8rem .9rem;
  background: rgba(255,255,255,.86);
  color: var(--text);
  font: inherit;
}

@media (max-width: 980px) {
  .app-header {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .header-account {
    margin-left: auto;
  }
}

/* v03: simplified account/header layout. */
.app-header {
  display: grid;
  grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  overflow: visible;
}

.brand {
  min-width: 0;
  flex: initial;
}

.brand-copy {
  min-width: 0;
  display: block;
}

.brand small.auth-summary {
  display: block;
  margin-top: .18rem;
  color: var(--muted);
  font-size: .8rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  justify-self: center;
  width: min(100%, 42rem);
  justify-content: center;
  flex: initial;
}

.nav-button {
  padding: .62rem .78rem;
}

.header-account {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex-wrap: nowrap;
  min-width: max-content;
  margin-left: 0;
}

.header-account .small {
  min-width: 5.5rem;
  justify-content: center;
}

@media (max-width: 1020px) {
  .app-header {
    grid-template-columns: minmax(13rem, 1fr) auto;
    align-items: center;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    order: initial;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .app-header {
    position: sticky;
    top: .5rem;
    flex-direction: initial;
    align-items: center;
    gap: .75rem;
    padding: .6rem;
  }

  .brand {
    padding-left: 0;
  }

  .brand-mark {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: .7rem;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-button {
    padding: .56rem .72rem;
  }
}
