/* Mail, Health and Connections use the shared public-site design tokens. */
.integration-space {
  --surface: #1b211ef2;
  --surface-raised: #242b25;
  --soft-ivory: #e5e0d4;
}
.integration-space .page-heading {
  max-width: 780px;
}
.integration-space h1 {
  font-size: clamp(2.7rem, 4.2vw, 4.6rem);
}
.integration-space :is(select, textarea) {
  font: inherit;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid #ffffff38;
  border-radius: 3px;
  padding: 0.72rem;
  max-width: 100%;
  width: 100%;
}
.integration-space :is(select, textarea, a, button, input, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.integration-space :is(button, .primary) {
  font-size: 0.85rem;
  min-height: 40px;
}
.integration-space button:not(:disabled):hover {
  border-color: var(--accent);
  color: var(--accent);
}
.integration-space button.primary:hover {
  color: var(--deep);
  background: #f3c59c;
}
.integration-space button[aria-pressed="true"] {
  border-color: var(--accent);
  background: #eab48113;
  color: var(--accent);
}
.integration-space .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hub-status {
  font-size: 0.9rem;
  color: var(--accent);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.hub-status:empty {
  display: none;
}
.hub-loading {
  padding: 3rem 1rem;
  border-block: 1px solid var(--line);
  color: var(--muted);
}
.hub-toolbar {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-block: 1.4rem;
  border-block: 1px solid var(--line);
  flex-wrap: wrap;
}
.hub-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}
.hub-inline-stats {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.hub-inline-stats > strong {
  font: 3.3rem var(--serif);
  color: var(--accent);
  line-height: 1;
}
.hub-inline-stats > span {
  font-size: 0.9rem;
}
.hub-inline-stats small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
.hub-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  padding: 0.24rem 0.6rem;
  border: 1px solid #eab48140;
  border-radius: 20px;
  color: var(--accent);
  white-space: nowrap;
}
.hub-badge.positive {
  color: #bdd9b3;
  border-color: #bdd9b340;
  background: #bdd9b308;
}
.hub-badge.muted {
  color: var(--muted);
  border-color: var(--line);
}
.hub-badge.attention {
  color: #efc68c;
  background: #efc68c09;
  border-color: #efc68c40;
}
.hub-accounts {
  margin-bottom: 3rem;
}
.hub-account {
  display: flex;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.hub-account-main {
  flex: 1;
  min-width: 0;
}
.hub-account h3 span {
  font-size: 0.85rem;
  color: var(--muted);
  display: block;
  margin-top: 0.3rem;
  overflow-wrap: anywhere;
}
.hub-account p {
  font-size: 0.8rem;
  margin: 0.5rem 0;
  overflow-wrap: anywhere;
}
.hub-account small {
  font-size: 0.75rem;
  color: var(--muted);
}
.hub-provider-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: #eab48112;
  color: var(--accent);
  border: 1px solid #eab48132;
  border-radius: 12px;
  font: 1.5rem var(--serif);
}
.hub-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}
.hub-empty-inline {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: #171e19b8;
  border: 1px dashed #eab48140;
}
.hub-empty-inline p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}
.hub-orbit {
  font: 2.4rem var(--serif);
  color: var(--accent);
  border: 1px solid #eab48155;
  border-radius: 50%;
  height: 70px;
  width: 70px;
  flex: 0 0 70px;
  display: grid;
  place-items: center;
}
.hub-catalogue-heading {
  margin-top: 2rem;
}
.hub-catalogue-heading h2 {
  margin-bottom: 1rem;
}
.hub-filters {
  display: flex;
  align-items: end;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}
.hub-filters label {
  font-size: 0.75rem;
  min-width: 140px;
  flex: 1;
}
.hub-filters input, .hub-filters select {
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
}
.hub-filters .hub-search {
  flex: 2;
  min-width: 180px;
}
.hub-provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.hub-provider-card {
  border: 1px solid var(--line);
  padding: 1.35rem;
  background: linear-gradient(135deg, #273029e8, #171d19f2);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: border-color 0.2s;
}
.hub-provider-card:hover {
  border-color: #eab48165;
}
.hub-provider-card h3 {
  font-family: var(--serif);
  font-size: 1.65rem;
  margin: 1.25rem 0 0.5rem;
}
.hub-provider-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}
.hub-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hub-card-bottom > span {
  font-size: 0.65rem;
  color: var(--muted);
}
.hub-card-bottom button {
  padding: 0.4rem 0;
  border: 0;
  min-height: 32px;
  color: var(--accent);
  font-size: 0.78rem;
}
.hub-footnote {
  font-size: 0.78rem;
  line-height: 1.8;
  margin: 1.5rem 0 0;
  max-width: 800px;
}
.hub-error {
  color: #e8b389 !important;
}
.hub-pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}
.hub-pagination span {
  font-size: 0.75rem;
  color: var(--muted);
}
.hub-dialog {
  width: min(660px, calc(100vw - 32px));
  max-height: 90svh;
  overflow: auto;
  background: #1b211e;
  color: var(--paper);
  border: 1px solid #eab48155;
  border-radius: 5px;
  padding: 2rem;
  box-shadow: 0 24px 100px #0009;
}
.hub-dialog::backdrop {
  background: #101611bb;
  backdrop-filter: blur(5px);
}
.hub-dialog-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}
.hub-dialog-heading h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}
.hub-dialog-heading > button {
  font-size: 1.5rem !important;
  line-height: 1;
  min-width: 40px;
  padding: 0.3rem;
  border: 0;
}
.hub-dialog p {
  font-size: 0.9rem;
}
.hub-dialog form {
  max-width: none;
  width: 100%;
  margin-block: 1rem;
  gap: 1.15rem;
}
.hub-dialog label {
  font-size: 0.85rem;
}
.hub-dialog :is(input, select, textarea) {
  min-width: 0;
}
.hub-dialog pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.8rem;
  max-height: 360px;
  overflow: auto;
  padding: 1rem;
  background: #101612;
  border: 1px solid var(--line);
}
.hub-dialog details {
  margin: 1rem 0;
}
.hub-dialog fieldset {
  border: 1px solid var(--line);
  padding: 1rem;
  min-width: 0;
}
.hub-dialog legend {
  color: var(--muted);
  font-size: 0.8rem;
}
.hub-check {
  display: flex;
  gap: 0.7rem;
  align-items: start;
  line-height: 1.65;
}
.hub-check input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 5px;
  accent-color: var(--accent);
}
.hub-policy {
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--accent);
  background: #eab48108;
}
.hub-policy p:last-of-type {
  margin-bottom: 0;
}
.hub-policy .text-link {
  font-size: 0.8rem;
  margin-top: 0.8rem;
}
.hub-details {
  display: grid;
  grid-template-columns: minmax(100px, 0.7fr) 1.3fr;
  gap: 1rem;
  font-size: 0.85rem;
  margin: 1.5rem 0;
}
.hub-details dt {
  color: var(--muted);
}
.hub-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.hub-danger {
  border-color: #d4997955 !important;
  color: #efbb9e !important;
}
.hub-form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hub-label-choices {
  max-height: 160px;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.hub-preview {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.hub-preview ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  max-height: 240px;
  overflow: auto;
}
.hub-preview li {
  font-size: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.hub-preview li span {
  display: block;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.hub-preview > button {
  margin-top: 1rem;
}
.hub-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
  flex: 0 0 6px;
}
.hub-dot.active {
  background: #bad0a6;
}
.hub-table-scroll {
  overflow: auto;
}
.integration-space table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.8rem;
}
.integration-space th, .integration-space td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.integration-space caption {
  text-align: left;
  font-size: 0.75rem;
  padding-block: 1rem;
  color: var(--muted);
}
/* Mail is a continuous, three-pane workspace, with source evidence beside every card. */
.mail-policy-bar {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  font-size: 0.73rem;
  color: var(--muted);
  margin: -0.7rem 0 1.5rem;
  flex-wrap: wrap;
}
.mail-policy-bar > span:last-child {
  margin-left: auto;
}
.mail-filters label {
  min-width: 100px;
}
.mail-filters .hub-search {
  min-width: 150px;
}
.mail-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.95fr) minmax(230px, 1.25fr) minmax(190px, 0.9fr);
  border: 1px solid var(--line);
  min-height: 550px;
  border-radius: 4px;
  overflow: hidden;
}
.mail-list {
  background: #151c18f0;
  max-height: 760px;
  overflow: auto;
  border-right: 1px solid var(--line);
}
.mail-row {
  display: block;
  text-align: left;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0 !important;
  padding: 1.25rem 1rem;
  overflow-wrap: anywhere;
}
.mail-row.is-selected {
  background: #eab4810f;
  border-left: 2px solid var(--accent);
  padding-left: calc(1rem - 2px);
}
.mail-row-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  align-items: start;
}
.mail-row-top strong {
  font-weight: 500;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
}
.mail-row time {
  font-size: 0.65rem;
  white-space: nowrap;
  color: var(--muted);
}
.mail-row-subject {
  display: block;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.mail-row-bottom {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.65rem;
  color: var(--muted);
}
.mail-row-bottom .hub-badge {
  font-size: 0.6rem;
  padding: 0.15rem 0.5rem;
}
.mail-reader {
  padding: 1.5rem;
  background: #20251ff2;
  min-width: 0;
}
.mail-reader header {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.3rem;
}
.mail-reader header > p:first-child {
  font-size: 0.73rem;
  overflow-wrap: anywhere;
}
.mail-reader header h2 {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.mail-message-body {
  white-space: pre-wrap;
  font-size: 0.85rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
  max-height: 500px;
  overflow: auto;
  margin: 1rem 0 1.5rem;
  color: #d5d7ca;
}
.mail-reader .hint {
  font-size: 0.7rem !important;
}
.mail-information {
  background: var(--soft-ivory);
  color: var(--ink);
  padding: 1.5rem;
  min-width: 0;
}
.mail-information p {
  color: #5c645b;
}
.mail-information .eyebrow {
  color: #84704d;
}
.mail-information .hub-badge {
  color: #73563b;
  border-color: #9f795650;
}
.mail-information .hub-badge.attention {
  background: #eab48135;
}
.mail-information .hub-error {
  color: #84502a !important;
}
.mail-card-header h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}
.mail-extracted {
  margin: 1.5rem 0;
}
.mail-extracted > div {
  border-bottom: 1px solid #24301e25;
  padding: 0.9rem 0;
}
.mail-extracted dt {
  font-size: 0.65rem;
  color: #666e62;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}
.mail-extracted dd {
  margin: 0;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.mail-extracted dd small {
  display: block;
  font-size: 0.68rem;
  margin-top: 0.4rem;
}
.mail-extracted details {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: #606655;
}
.mail-extracted blockquote {
  margin: 0.7rem 0 0;
  padding-left: 0.75rem;
  border-left: 1px solid #a6a994;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.mail-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.mail-card-actions button {
  border-color: #27342150;
  font-size: 0.72rem !important;
  padding: 0.55rem 0.65rem;
  min-height: 36px !important;
}
.mail-card-actions button:hover {
  color: #81532b !important;
}
.mail-information .text-link {
  color: #4c603f;
  font-size: 0.8rem;
  margin-top: 0.6rem;
}
.mail-information .hint {
  font-size: 0.68rem !important;
  line-height: 1.7;
}
.mail-card-actions .hub-quiet {
  border: 0;
  padding-left: 0;
  color: #626859;
}
.mail-reader-empty, .mail-card-empty, .mail-list-empty {
  padding-top: 4rem;
}
.mail-reader-empty h2, .mail-card-empty h2 {
  font-size: 2.1rem;
  line-height: 1.2;
}
.mail-reader-empty p, .mail-card-empty p, .mail-list-empty p {
  font-size: 0.82rem;
}
.mail-envelope {
  display: block;
  font-size: 2.6rem;
  color: #c9c2a0;
  margin-bottom: 1.5rem;
}
.mail-list-empty {
  padding: 2rem 1.2rem;
}
.mail-list-empty > span {
  display: block;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.mail-card-empty .eyebrow {
  font-size: 0.65rem;
}
/* Health keeps Strava and WHOOP in separate source views. */
.hub-tabs {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.hub-tabs button {
  font-family: var(--serif);
  font-size: 1.4rem !important;
  text-align: left;
  padding: 0.65rem 1rem;
  min-width: 150px;
}
.hub-tabs button span {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.hub-tabs > a {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--accent);
}
.health-welcome {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 400px;
  padding: 2rem 0;
}
.health-welcome h2 {
  font-size: 3.4rem;
}
.health-welcome p {
  font-size: 0.95rem;
  max-width: 430px;
}
.health-welcome .primary {
  margin-top: 1rem;
}
.health-rings {
  aspect-ratio: 1;
  max-width: 290px;
  border: 1px solid #eab48135;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  margin: auto;
  width: 100%;
  background: radial-gradient(circle, #eab4810a, transparent 65%);
}
.health-rings:before, .health-rings:after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid #eab48145;
  border-radius: 50%;
}
.health-rings:after {
  inset: 47px;
  border-color: #eab48165;
}
.health-rings span {
  font: 2.2rem var(--serif);
  text-align: center;
  line-height: 1.1;
}
.health-rings em {
  color: var(--accent);
}
.health-route-art {
  height: 280px;
  max-width: 300px;
  display: grid;
  place-items: center;
  border: 1px solid #eab48145;
  border-radius: 60% 30% 70% 35%;
  transform: rotate(-12deg);
  background: repeating-radial-gradient(
    ellipse at 50% 60%,
    transparent,
    transparent 22px,
    #eab48118 23px,
    transparent 24px
  );
  margin: auto;
  width: 100%;
}
.health-route-art span {
  font: 2.5rem var(--serif);
  transform: rotate(12deg);
  color: var(--accent);
}
.health-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.health-metric {
  padding: 1.5rem;
  background: linear-gradient(135deg, #283228ee, #161e18f5);
  border: 1px solid var(--line);
  border-radius: 4px;
  min-width: 0;
}
.health-metric .eyebrow {
  font-size: 0.67rem;
  margin-bottom: 0.9rem;
}
.health-metric-value {
  font: 3.1rem var(--serif);
  line-height: 1;
}
.health-metric-value span {
  font: 1rem var(--sans);
  color: var(--muted);
}
.health-metric .hint {
  font-size: 0.67rem !important;
}
.health-trend {
  display: block;
  width: 100%;
  margin-top: 1.3rem;
  overflow: visible;
}
.health-trend path {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.health-trend .health-baseline {
  stroke: var(--line);
  stroke-width: 1;
}
.health-chart-dates {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.63rem;
  margin-top: 0.7rem;
}
.health-chart-empty {
  display: flex;
  align-items: center;
  min-height: 130px;
  color: var(--muted);
  font-size: 0.8rem;
}
.health-values {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.health-workout-heading {
  margin-top: 2.5rem;
}
.health-workouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.health-workouts article {
  border: 1px solid var(--line);
  padding: 1rem;
  background: #172019cc;
}
.health-workouts p {
  font-size: 0.8rem;
}
.health-workouts small {
  font-size: 0.65rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.health-strava-note {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  padding: 1rem;
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.health-activity-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.health-activity-list {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  max-height: 760px;
  overflow: auto;
}
.health-activity {
  display: grid;
  gap: 0.4rem;
  text-align: left;
  padding: 1.2rem;
  background: #1b241ee6;
  border: 1px solid var(--line);
  width: 100%;
  min-width: 0;
}
.health-activity.is-selected {
  border-color: var(--accent);
}
.health-sport {
  color: var(--accent);
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.health-activity strong {
  font: 1.4rem var(--serif);
  font-weight: 400;
  overflow-wrap: anywhere;
}
.health-activity > span:not(.health-sport) {
  color: var(--muted);
  font-size: 0.7rem;
}
.health-activity small {
  font-size: 0.8rem;
  margin-top: 0.4rem;
}
.health-activity b {
  font-weight: 400;
  color: var(--muted);
  margin-inline: 0.3rem;
}
.health-activity-detail {
  border: 1px solid var(--line);
  background: #21291fdf;
  padding: 1.5rem;
  align-self: start;
  min-height: 420px;
  overflow-wrap: anywhere;
}
.health-activity-detail h2 {
  font-size: 2.5rem;
}
.health-activity-detail p {
  font-size: 0.85rem;
}
@media (min-width: 1500px) {
  body:has(.integration-space) main {
    max-width: 1450px;
  }
  .mail-layout {
    grid-template-columns: 1fr 1.4fr 1fr;
  }
}
@media (max-width: 1150px) {
  .hub-provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mail-layout {
    grid-template-columns: minmax(170px, 0.8fr) minmax(220px, 1.2fr);
  }
  .mail-information {
    grid-column: 1/-1;
  }
  .mail-extracted {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
  }
  .mail-reader-empty, .mail-card-empty {
    padding-top: 1.5rem;
  }
  .mail-layout {
    min-height: 0;
  }
  .mail-list, .mail-reader {
    min-height: 350px;
  }
  .mail-card-empty h2 br {
    display: none;
  }
}
@media (max-width: 720px) {
  .hub-provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .hub-provider-card {
    padding: 1rem;
  }
  .hub-provider-card .hub-card-title {
    flex-wrap: wrap;
  }
  .hub-toolbar {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .hub-toolbar > .hub-actions {
    width: 100%;
  }
  .hub-account {
    align-items: start;
    flex-wrap: wrap;
  }
  .hub-account > .hub-provider-icon {
    display: none;
  }
  .hub-account > button {
    padding: 0.5rem 0.7rem;
  }
  .hub-account .hub-card-title {
    align-items: start;
    flex-wrap: wrap;
  }
  .hub-dialog {
    padding: 1.3rem;
  }
  .hub-dialog-heading h2 {
    font-size: 2rem;
  }
  .hub-form-columns {
    grid-template-columns: 1fr;
  }
  .hub-tabs > a {
    margin: 0;
    width: 100%;
    padding-top: 0.4rem;
  }
  .hub-tabs button {
    flex: 1;
    min-width: 0;
  }
  .health-welcome {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem 0;
  }
  .health-welcome h2 {
    font-size: 2.8rem;
  }
  .health-rings {
    max-width: 230px;
  }
  .health-metrics {
    gap: 0.75rem;
  }
  .health-metric {
    padding: 1rem;
  }
  .health-metric-value {
    font-size: 2.6rem;
  }
  .health-chart-dates {
    font-size: 0.55rem;
    gap: 0.4rem;
  }
  .health-activity-layout {
    grid-template-columns: 1fr;
  }
  .health-activity-detail {
    min-height: 0;
  }
  .health-workouts {
    grid-template-columns: 1fr;
  }
  .health-activity-list {
    max-height: 420px;
  }
  .mail-policy-bar > span:last-child {
    margin: 0;
  }
  .mail-reader {
    padding: 1.25rem;
  }
  .mail-layout {
    display: flex;
    flex-direction: column;
  }
  .mail-list {
    max-height: 330px;
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .mail-reader {
    min-height: 300px;
  }
  .mail-information {
    padding: 1.3rem;
  }
  .mail-extracted {
    grid-template-columns: 1fr 1fr;
  }
  .mail-message-body {
    max-height: 400px;
  }
  .hub-pagination {
    gap: 0.5rem;
  }
  .hub-pagination button {
    font-size: 0.7rem;
  }
  .hub-pagination span {
    font-size: 0.65rem;
  }
  .hub-empty-inline {
    padding: 1.3rem;
    gap: 1rem;
  }
  .hub-orbit {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }
}
@media (max-width: 380px) {
  .hub-provider-grid, .health-metrics, .mail-extracted {
    grid-template-columns: 1fr;
  }
  .hub-label-choices {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hub-provider-card {
    transition: none;
  }
}
.motion-off .hub-provider-card {
  transition: none;
}
