:root {
  --bg: #f1f3f5;
  --ink: #171d25;
  --muted: #56616e;
  --line: #dce1e6;
  --blue: #222c37;
  --accent: #ffce42;
  --shadow: 0 5px 16px #232b3510;
}
.topbar {
  max-width: none;
  background: #131d2b;
  color: #fff;
  border-bottom: 3px solid var(--accent);
}
.brand { gap: 12px; }
.company-logo {
  position: relative;
  display: block;
  width: 154px;
  aspect-ratio: 2.2;
  flex: none;
  overflow: hidden;
}
/* Frame the artwork within the supplied square canvas. */
.company-logo img {
  position: absolute;
  width: 177%;
  height: auto;
  left: -17%;
  top: -145%;
}
.brand-name {
  padding-left: 12px;
  border-left: 1px solid #59616c;
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
}
.local-tag { color: #d1d6dc; }
.tag-dot { background: var(--accent); }
.topbar .icon-button { background: #303943; color: #fff; }
.main-content { max-width: 760px; }
.eyebrow { color: #515c69; letter-spacing: .15em; }
.page-title { letter-spacing: -.055em; }
.card, .stat-tile, .settings-action {
  border-radius: 12px;
  border-color: var(--line);
}
.metrics { gap: 12px; }
.metric { min-height: 115px; }
.metric::after { display: none; }
.metric-icon, .metric-icon.green, .date-block, .small-edit {
  color: #28323c;
  background: #f0f2f4;
}
.metric-icon { background: #fff1bd; }
.metric-label, .metric-foot, .entry-sub, .entry-pay, .settings-action small,
.settings-help, .stat-tile span, .chart-foot, .bar-label { color: #596573; }
.timer-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(110deg, #171d25 0%, #232d38 100%);
  border: 1px solid #293541;
  border-top: 3px solid var(--accent);
  box-shadow: 0 10px 24px #17202e24;
}
.timer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(#ffffff0c 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0c 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(110deg, transparent 18%, #000);
  pointer-events: none;
}
.timer-label svg { color: var(--accent); }
.timer-display {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: -.065em;
  margin-top: 24px;
}
.timer-hint { color: #d1d7de; }
.timer-project { background: #171d25; border-color: #687281; }
.timer-project::placeholder { color: #b6c0cc; }
.button-light, .button-primary {
  background: var(--accent);
  color: #171d25;
}
.button-danger-frost { background: #3c4651; }
.pill { background: #fff1bd; color: #584400; }
.month-control button { border-color: var(--line); color: var(--ink); }
.bottom-nav { border-top-color: var(--line); }
.nav-link { color: #57616c; }
.nav-link.active {
  color: #171d25;
  box-shadow: inset 0 3px 0 var(--accent);
  background: #fff8df;
}
.bar.focus { background: #d9a51d; }
.progress-track > div { background: #c28c00; }
:focus-visible { outline: 3px solid #a47700; outline-offset: 3px; }
@media (max-width: 500px) {
  .topbar { height: 68px; padding-inline: 14px; }
  .company-logo { width: 126px; }
  .brand { gap: 7px; }
  .brand-name { font-size: 13px; padding-left: 8px; }
  .local-tag { display: none; }
  .main-content { padding-top: 24px; }
}

.app-version {
  margin-left: 3px;
  color: #ffdf79;
  font-size: .75em;
  font-weight: 650;
}
