@font-face {
  font-family: DM Sans;
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Josefin Sans;
  src: url("/fonts/josefin-sans.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
}
:root {
  --paper: oklch(97% 0.015 85);
  --surface: oklch(99% 0.009 85);
  --ink: #15213c;
  --muted: #697183;
  --line: #dedfd9;
  --nav: #121b32;
  --gold: #9a7a32;
  --gold-soft: #eee5d1;
  --ios: #475e94;
  --android: #ad904b;
  --red: #a74d3f;
  --green: #357257;
  --body: "DM Sans", sans-serif;
  --heading: "Josefin Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #bd9a48;
  outline-offset: 4px;
}
button {
  transition:
    background 0.15s,
    color 0.15s;
}
button:hover {
  filter: brightness(0.96);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -80px;
  padding: 12px;
  background: var(--surface);
}
.skip:focus {
  top: 12px;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--heading);
  font-weight: 400;
  line-height: 1.2;
}
h1 {
  font-size: 2.1rem;
  letter-spacing: -0.025em;
}
h2 {
  font-size: 1.35rem;
}
strong,
.num {
  font-variant-numeric: tabular-nums;
}
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
  line-height: 1.5;
}
.app {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 222px;
  background: var(--nav);
  color: #c3cadc;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 32px 20px 22px;
  z-index: 5;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  padding: 0 9px;
  color: #f2eddf;
}
.wordmark > span {
  font-family: var(--heading);
  font-size: 26px;
  letter-spacing: 0.15em;
}
.wordmark-sub {
  font: 9px var(--body);
  letter-spacing: 0.28em;
  display: block;
  margin: 0 0 0 3px;
  color: #adaeab;
}
.workspace-label {
  font-size: 8px;
  letter-spacing: 0.18em;
  color: #9ba3b6;
  margin: 49px 12px 18px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.nav-item {
  position: relative;
  display: flex;
  gap: 13px;
  align-items: center;
  border: 0;
  background: transparent;
  color: #aeb6cb;
  text-align: left;
  padding: 12px 14px;
  border-radius: 5px;
  font-size: 13px;
}
.nav-item > span:first-child {
  font-size: 21px;
  width: 20px;
  line-height: 1;
  font-weight: 300;
}
.nav-item.active {
  background: #26314a;
  color: #f1eadb;
}
.nav-item.active > span:first-child {
  color: #d7ba74;
}
.nav-dot {
  width: 5px;
  height: 5px;
  display: block;
  border-radius: 50%;
  background: #b0924e;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 32px 8px 0;
}
.app-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #eeece4;
  border-top: 1px solid #2a3449;
  padding: 22px 0;
}
.app-identity small {
  display: block;
  font-size: 10px;
  color: #939eb6;
  margin-top: 3px;
}
.private-label {
  font-size: 10px;
  color: #96a1b6;
  display: flex;
  gap: 8px;
  align-items: center;
}
.sidebar-logout {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 15px 0 0;
  border: 0;
  background: none;
  color: #bdc5d6;
  font-size: 11px;
}
.main-shell {
  margin-left: 222px;
  width: calc(100% - 222px);
}
.topbar {
  height: 71px;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  font-size: 11px;
}
.top-crumb {
  color: var(--muted);
}
.crumb-slash {
  color: #bcbdb6;
  margin: 0 13px;
}
.top-right {
  display: flex;
  gap: 23px;
  align-items: center;
}
.through-label {
  color: var(--muted);
  font-size: 10px;
}
.avatar {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid #d7c9a5;
  color: #786139;
  font-size: 9px;
  display: grid;
  place-items: center;
}
main {
  padding: 38px 38px 0;
  max-width: 1640px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 29px;
}
.page-heading .eyebrow {
  color: var(--gold);
  margin-bottom: 11px;
}
.subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid #d5d8d4;
  border-radius: 5px;
  padding: 10px 15px;
  white-space: nowrap;
  background: var(--surface);
  font-weight: 500;
  font-size: 11px;
  min-height: 38px;
}
.button > span {
  font-size: 17px;
  line-height: 1;
}
.button.primary {
  background: var(--ink);
  color: #f6f0e5;
  border-color: var(--ink);
}
.button.compact {
  padding: 7px 12px;
  min-height: 34px;
}
.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.filterbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 25px;
}
.platform-tabs {
  display: flex;
  gap: 4px;
}
.platform-tabs button,
.segmented button {
  border: 0;
  background: transparent;
  border-radius: 4px;
  padding: 8px 13px;
  color: var(--muted);
  font-size: 11px;
}
.platform-tabs button.selected {
  background: var(--ink);
  color: #faf7ed;
}
.date-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
select,
input[type="date"] {
  border: 1px solid #d5d8d4;
  background: var(--surface);
  border-radius: 5px;
  padding: 9px 12px;
  font-size: 11px;
  min-height: 36px;
}
#custom-dates {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
}
.summary-strip {
  display: grid;
  grid-template-columns: 1.32fr 1fr 1fr 1.2fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
  margin-bottom: 30px;
}
.summary-primary {
  padding-right: 20px;
}
.summary-primary > p {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.info {
  display: inline-grid;
  place-items: center;
  border: 1px solid #b3b8c1;
  border-radius: 50%;
  font-size: 8px;
  width: 12px;
  height: 12px;
}
.summary-primary > div {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 7px 0 3px;
}
.summary-primary strong {
  font-size: 43px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.change {
  font-size: 10px;
  font-weight: 500;
  padding: 3px 7px;
  border-radius: 3px;
  color: var(--red);
  background: #f3e5dc;
}
.change.positive {
  color: var(--green);
  background: #e4ede4;
}
.change.flat {
  color: var(--muted);
  background: #e9e9e2;
}
.platform-summary {
  border-left: 1px solid var(--line);
  padding: 0 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.platform-summary strong {
  font-size: 34px;
  line-height: 1.4;
  font-weight: 450;
  margin: 6px 0 3px;
}
.metric-label {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.platform-marker {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
}
.ios-marker {
  background: var(--ios);
}
.android-marker {
  background: var(--android);
}
.summary-note {
  border-left: 1px solid var(--line);
  padding: 0 0 0 25px;
}
.summary-note .eyebrow {
  font-size: 8px;
  color: var(--gold);
  margin-bottom: 10px;
}
.summary-note > p:nth-child(2) {
  font-size: 13px;
  max-width: 24ch;
  margin-bottom: 7px;
}
.summary-note .small {
  font-size: 10px;
}
.chart-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 23px 25px 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.section-heading h2 {
  font-size: 1.2rem;
}
.section-heading p {
  margin-top: 7px;
}
.chart-actions {
  display: flex;
  gap: 22px;
  align-items: center;
}
.legend {
  display: flex;
  gap: 16px;
  font-size: 10px;
  color: var(--muted);
}
.legend > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.legend i {
  width: 7px;
  height: 7px;
  border-radius: 1px;
}
.segmented {
  padding: 3px;
  background: #eeefe9;
  border-radius: 5px;
  display: flex;
}
.segmented button {
  font-size: 9px;
  padding: 5px 10px;
}
.segmented button.selected {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 1px 2px #121b3212;
}
.chart {
  height: 266px;
  width: 100%;
}
.chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart text {
  font-family: var(--body);
  font-size: 11px;
  fill: #8a91a0;
}
.chart .hitarea {
  fill: transparent;
  cursor: crosshair;
}
.chart .hitarea:focus {
  outline: none;
  fill: #9a7a3210;
}
.chart-footer {
  border-top: 1px solid #e7e8e0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: 9px;
  padding: 13px 0;
}
.chart-footer > span:first-child {
  display: flex;
  gap: 7px;
  align-items: center;
}
.hollow-dot {
  width: 5px;
  height: 5px;
  border: 1px solid #8d9689;
  display: inline-block;
  border-radius: 50%;
}
.chart-tooltip {
  position: absolute;
  top: 80px;
  right: 28px;
  pointer-events: none;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 5px 22px #15213c0d;
  border-radius: 4px;
  padding: 11px 14px;
  font-size: 11px;
  z-index: 2;
}
.lower-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 32px;
  margin-top: 30px;
}
.platform-panel .section-heading {
  margin-bottom: 15px;
}
.platform-panel .section-heading > .small {
  font-size: 9px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
th {
  text-align: right;
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.025em;
  color: var(--muted);
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}
th:first-child,
td:first-child {
  text-align: left;
  padding-left: 0;
}
td {
  text-align: right;
  padding: 15px 8px;
  border-bottom: 1px solid var(--line);
}
td:first-child .platform-marker {
  margin-right: 9px;
}
td:last-child,
th:last-child {
  padding-right: 0;
}
.negative {
  color: var(--red);
}
.positive {
  color: var(--green);
}
.share-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}
.share-track {
  display: block;
  width: 44px;
  height: 4px;
  background: #e8e8df;
}
.share-fill {
  display: block;
  height: 4px;
}
.readout {
  background: #eae9de;
  border-radius: 5px;
  padding: 23px 24px;
}
.readout .eyebrow {
  font-size: 8px;
  color: var(--gold);
  margin-bottom: 13px;
}
.readout h2 {
  font-size: 1.35rem;
  max-width: 25ch;
}
.readout > p:not(.eyebrow) {
  margin: 12px 0 18px;
  max-width: 44ch;
  font-size: 11px;
  line-height: 1.7;
  color: #586170;
}
.source-note {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 26px 0 29px;
  font-size: 10px;
  color: var(--muted);
}
.source-note > p {
  flex: 1;
}
.source-note .text-button {
  white-space: nowrap;
  font-size: 10px;
}
.source-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
footer {
  border-top: 1px solid var(--line);
  padding: 17px 0 22px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #878d95;
  letter-spacing: 0.12em;
}
footer > span:last-child {
  letter-spacing: 0.02em;
}
.notice {
  border: 1px solid #d9cba9;
  background: #f5ecd8;
  padding: 12px 15px;
  font-size: 12px;
  margin-bottom: 18px;
  border-radius: 4px;
}
.report-table-wrap {
  padding: 0 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 36px;
}
.checkbox-label {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
}
.table-scroll {
  overflow-x: auto;
}
.source-intro {
  max-width: 620px;
  margin: 7px 0 25px;
}
.source-intro > p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 12px;
}
.source-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.source-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 25px;
}
.source-card h3 {
  font-size: 14px;
  margin: 0 0 15px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.source-card .status-chip {
  font-size: 9px;
  font-weight: 500;
  display: inline-block;
  padding: 3px 8px;
  background: #f2e9d5;
  color: #84612f;
  border-radius: 3px;
}
.source-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0;
  line-height: 1.7;
}
.source-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 11px;
  gap: 9px;
  margin: 20px 0;
}
.source-card dd {
  text-align: right;
  margin: 0;
}
.source-card dt {
  color: var(--muted);
}
.source-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 22px 0 38px;
}
.import-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.import-panel h2 {
  margin: 9px 0 13px;
}
.import-panel p {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.import-panel label {
  display: block;
  font-size: 11px;
  margin-bottom: 8px;
}
.import-panel select {
  width: 100%;
  margin-bottom: 15px;
}
.file-picker {
  border: 1px dashed #b5b9b9;
  padding: 22px;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  background: #faf8f0;
}
.file-picker > span,
.file-picker > strong {
  display: block;
}
.file-picker > span:first-child {
  font-size: 23px;
  color: var(--gold);
}
.file-picker > span:last-child {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.file-picker > strong {
  font-size: 12px;
  font-weight: 500;
}
.footnote {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 100ch;
  margin: 22px 0 35px;
}
.loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}
.login-screen {
  min-height: 100vh;
  background: var(--paper);
  padding: 45px 7vw;
  position: relative;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
}
.login-card {
  width: min(430px, 100%);
  margin: 10vh auto 80px;
}
.login-card .eyebrow {
  color: var(--gold);
  margin-bottom: 20px;
}
.login-card h1 {
  font-size: 2.9rem;
  font-weight: 300;
}
.login-intro {
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: 13px;
}
.login-card label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 9px;
}
.login-card input {
  display: block;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #cbd0d0;
  background: var(--surface);
  border-radius: 4px;
  font-size: 14px;
}
.login-card .primary {
  width: 100%;
  margin-top: 14px;
  justify-content: space-between;
  padding: 14px 18px;
  font-size: 12px;
}
.login-card .text-button {
  margin-top: 15px;
}
.login-foot {
  font-size: 10px;
  color: var(--muted);
  margin-top: 23px;
}
.login-edition {
  position: absolute;
  bottom: 30px;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.form-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 15px;
  line-height: 1.6;
}
#code {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.45em;
  font-size: 24px;
}
#sent-to {
  margin-top: 10px;
}
#import-preview {
  padding: 12px 0;
}
#import-preview .text-button {
  margin-left: 14px;
}
@media (min-width: 1600px) {
  main {
    padding-top: 50px;
  }
  .page-heading {
    margin-bottom: 38px;
  }
  .chart {
    height: 330px;
  }
  .summary-strip {
    padding: 30px 0;
  }
  .lower-grid {
    gap: 40px;
  }
  .chart-panel {
    padding: 28px 30px 0;
  }
  h1 {
    font-size: 2.4rem;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 185px;
    padding: 28px 14px;
  }
  .main-shell {
    margin-left: 185px;
    width: calc(100% - 185px);
  }
  main {
    padding: 28px 26px 0;
  }
  .topbar {
    padding: 0 26px;
  }
  .summary-note {
    display: none;
  }
  .summary-strip {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .platform-summary {
    padding: 0 19px;
  }
  .chart-actions {
    gap: 12px;
  }
  .lower-grid {
    grid-template-columns: 1.45fr 1fr;
    gap: 22px;
  }
  h1 {
    font-size: 1.85rem;
  }
  .readout {
    padding: 20px;
  }
  .chart {
    height: 245px;
  }
}
@media (max-width: 860px) {
  .sidebar {
    width: 72px;
    align-items: center;
    padding: 18px 7px;
  }
  .wordmark {
    padding: 0;
  }
  .wordmark > span,
  .workspace-label,
  .nav-item:not(.active) .nav-dot,
  .sidebar-bottom,
  .nav-item > span:not(:first-child) {
    display: none;
  }
  .sidebar nav {
    margin-top: 35px;
    gap: 12px;
    width: 100%;
  }
  .nav-item {
    font-size: 0;
    padding: 14px;
    justify-content: center;
  }
  .nav-item > span:first-child {
    font-size: 23px;
  }
  .main-shell {
    margin-left: 72px;
    width: calc(100% - 72px);
  }
  .lower-grid {
    grid-template-columns: 1fr;
  }
  .readout {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 8px 22px;
  }
  .readout .eyebrow {
    grid-column: 1/3;
    margin-bottom: 4px;
  }
  .readout > p:not(.eyebrow) {
    margin: 0;
  }
  .readout .text-button {
    grid-column: 2;
  }
  .chart-actions {
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .button {
    padding: 9px 11px;
  }
  .source-cards {
    grid-template-columns: 1fr;
  }
  .import-panel {
    gap: 28px;
  }
  .through-label {
    font-size: 9px;
  }
  .summary-primary strong {
    font-size: 37px;
  }
}
@media (max-width: 600px) {
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    padding: 9px 15px;
  }
  .wordmark img {
    width: 34px;
    height: 34px;
  }
  .wordmark > span {
    display: block;
    font-size: 16px;
    letter-spacing: 0.12em;
  }
  .wordmark-sub {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 5px;
    width: auto;
    margin: 0;
  }
  .nav-item {
    padding: 10px;
    font-size: 10px;
    gap: 7px;
  }
  .nav-item > span:first-child {
    font-size: 17px;
    width: auto;
  }
  .app {
    display: block;
  }
  .main-shell {
    margin-left: 0;
    width: 100%;
  }
  .topbar {
    height: 51px;
    padding: 0 19px;
  }
  .top-right {
    gap: 12px;
  }
  .through-label {
    max-width: 145px;
  }
  main {
    padding: 26px 19px 0;
  }
  h1 {
    font-size: 1.75rem;
    max-width: 15ch;
  }
  .page-heading {
    gap: 12px;
    margin-bottom: 25px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .subtitle {
    font-size: 11px;
    max-width: 32ch;
  }
  .page-heading > .button {
    font-size: 0;
    padding: 9px 12px;
  }
  .page-heading > .button > span {
    font-size: 18px;
  }
  .filterbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .platform-tabs button {
    font-size: 11px;
    padding: 8px 12px;
  }
  .date-controls {
    width: 100%;
    justify-content: flex-start;
  }
  .date-controls > select {
    width: 100%;
  }
  #custom-dates {
    flex-wrap: wrap;
  }
  .summary-strip {
    grid-template-columns: 1fr 1fr;
    padding: 20px 0;
    row-gap: 20px;
    margin-bottom: 24px;
  }
  .summary-primary {
    grid-column: 1/3;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }
  .summary-primary > div {
    gap: 13px;
  }
  .summary-primary strong {
    font-size: 42px;
  }
  .platform-summary {
    padding: 0;
  }
  .platform-summary:nth-child(2) {
    border-left: 0;
  }
  .platform-summary:nth-child(3) {
    padding-left: 23px;
  }
  .platform-summary strong {
    font-size: 31px;
    margin: 3px 0;
  }
  .metric-label {
    font-size: 10px;
  }
  .chart-panel {
    padding: 20px 15px 0;
  }
  .section-heading h2 {
    font-size: 1.15rem;
  }
  .chart-panel .section-heading {
    align-items: flex-start;
  }
  .chart-actions {
    gap: 10px;
  }
  .legend {
    gap: 10px;
    font-size: 9px;
  }
  .segmented button {
    font-size: 8px;
    padding: 4px 7px;
  }
  .chart {
    height: 230px;
  }
  .chart-footer {
    font-size: 8px;
    flex-direction: column;
    gap: 5px;
  }
  .chart-range {
    font-size: 10px;
  }
  .lower-grid {
    gap: 23px;
    margin-top: 25px;
  }
  .readout {
    display: block;
    padding: 22px;
  }
  .readout h2 {
    margin-top: 13px;
  }
  .readout > p:not(.eyebrow) {
    margin: 12px 0 18px;
  }
  .source-note {
    align-items: flex-start;
    flex-wrap: wrap;
    font-size: 9px;
  }
  .source-note .source-status-dot {
    margin-top: 4px;
  }
  .source-note .text-button {
    margin-left: 15px;
  }
  .import-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .source-toolbar {
    flex-wrap: wrap;
  }
  .source-intro h2 {
    font-size: 1.4rem;
  }
  .source-card {
    padding: 20px;
  }
  .report-table-wrap {
    padding: 0 14px;
  }
  #reports-view .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .login-screen {
    padding: 24px;
  }
  .login-card {
    margin: 12vh auto 80px;
  }
  .login-card h1 {
    font-size: 2.6rem;
  }
  footer {
    font-size: 7px;
    gap: 20px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  main {
    animation: arrive 0.4s ease-out;
  }
  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.mobile-logout {
  display: none;
}
.file-picker {
  width: 100%;
}
@media (max-width: 860px) {
  .mobile-logout {
    display: inline-flex;
  }
}
@media (max-width: 600px) {
  .through-label {
    display: none;
  }
  .top-right {
    gap: 14px;
  }
}

#resend-code {
  margin-right: 22px;
}
