.tc-horizontal {
  --tc-bg: #f7f4f2;
  --white: #fffdfb;
  --navy: #563451;
  --plum: #563451;
  --blue: #563451;
  --line: #e5dcd9;
  --muted: #6e616b;
  --tc-tint: #f0e4ee;
  --tc-chart-0: #805075;
  --tc-chart-1: #e39a83;
  background: var(--tc-bg);
  color: #271e29;
}
.tc-horizontal .top { min-height: 70px; }
.tc-horizontal .brand img { width: clamp(146px, 16vw, 184px); }
.tc-horizontal .hero h1,.tc-overview h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
}
.tc-horizontal .hero-features { background: #f7f1f3; }
.tc-horizontal .report-card:hover { background: var(--tc-tint); }
.tc-horizontal #internet { background: #eaf2ed; color: #265c4c; border-color: #e1ece6; }
.tc-horizontal #internet.tc-offline { background: #f6eddb; color: #86602e; border-color: #f0e2c4; }
.tc-workspace-bar, .tc-module-nav {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 0 clamp(16px,4vw,56px);
}
.tc-workspace-bar {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
  gap: 8px;
  align-items: center;
}
.tc-workspace-bar > nav, .tc-module-nav {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0 12px;
  overflow: visible;
}
.tc-workspace-bar > nav { padding: 0; border: 0; background: transparent; }
.tc-module-nav { justify-content: center; }
.tc-accounting-nav { background: transparent; }
.tc-workspace-bar nav a, .tc-module-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 5px 4px 3px;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-weight: 620;
}
.tc-workspace-bar nav a:is(:hover,[aria-current]), .tc-module-nav a:is(:hover,[aria-current]) {
  background: transparent;
  border-bottom-color: var(--plum);
  color: var(--navy);
}
#tc-welcome { text-align: center; font-weight: 650; overflow-wrap: anywhere; }
.tc-workspace-bar #logout { justify-self: end; font-size: var(--type-small); }
.tc-horizontal #layout > main { padding-block: clamp(17px,3vw,32px); }
.tc-horizontal #layout > #nav:not(:empty) { background: #f0e4ee; }
.tc-horizontal #layout > #nav a:is(:hover,[aria-current]) { color: var(--navy); background: #e8d8e5; }
.tc-year-actions { flex-wrap: nowrap; gap: 6px; }
.tc-year-actions :is(select,button) { width: auto; white-space: nowrap; }
.tc-overview-header { margin-bottom: 13px; padding: 0 0 11px; border-bottom: 1px solid var(--line); }
.tc-overview-header .heading { margin-bottom: 7px; align-items: center; }
.tc-overview-header h1 { font-size: clamp(28px,3vw,37px); }
.tc-overview-header > strong { font-size: var(--type-heading); }
.tc-overview-header p { margin: 3px 0; white-space: pre-line; }
.tc-overview-header .overview-contact { margin-top: 3px; }
.tc-overview-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,170px),1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.tc-metric { margin: 0; padding: 10px 12px; border-radius: 10px; }
.tc-metric h2 { margin: 0 0 4px; color: var(--muted); font-size: var(--type-small); }
.tc-metric .metric { font-size: clamp(19px,1.8vw,24px); }
.tc-metric p { margin: 2px 0 0; font-size: var(--type-small); }
.tc-overview-top, .tc-overview-balances { display: grid; gap: 12px; }
.tc-overview-top { grid-template-columns: minmax(0,2fr) minmax(265px,1fr); }
.tc-overview-balances { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 12px; }
.tc-chart-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px; }
.tc-chart-key { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: var(--type-small); margin-top: 4px; }
.tc-chart-swatch { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 2px; background: var(--tc-chart-0); }
.tc-chart-swatch-1 { background: var(--tc-chart-1); }
.tc-chart-controls { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 7px; background: var(--tc-bg); }
.tc-chart-controls button { padding: 4px 6px; font-size: 12px; background: transparent; border-color: transparent; }
.tc-chart-controls button[aria-pressed="true"] { background: var(--white); border-color: var(--line); }
.tc-chart canvas { min-height: 155px; }
.tc-attention { min-width: 0; padding: 14px 15px; border-radius: 10px; background: #38283f; color: #fff6ff; }
.tc-attention h2 { margin: 0 0 5px; }
.tc-attention > p { margin: 5px 0; color: #ead7e7; }
.tc-alerts { display: grid; }
.tc-alerts a { color: inherit; padding-block: 6px; }
.tc-module-shortcuts { margin-top: 10px; padding-top: 8px; border-top: 1px solid #ffffff38; }
.tc-module-shortcuts h3 { margin: 0 0 6px; }
.tc-module-shortcuts .actions { gap: 5px; }
.tc-module-shortcuts .button { padding: 4px 7px; border-color: #ffffff40; color: inherit; background: #ffffff16; }
.tc-module-shortcuts .button:hover { background: #ffffff30; }
@media (max-width: 820px) {
  .tc-overview-top { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 620px) {
  .tc-workspace-bar { grid-template-columns: auto minmax(0,1fr) auto; }
  .tc-workspace-bar > nav, .tc-module-nav { gap: 0 7px; }
  .tc-workspace-bar nav a, .tc-module-nav a { font-size: 13px; white-space: normal; }
  .tc-overview-balances { grid-template-columns: minmax(0,1fr); }
}
@media print {
  .tc-workspace-bar, .tc-module-nav { display: none !important; }
}
