.online-stopwatch-page {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #1a2332;
  line-height: 1.5;
  padding: 1.25rem 1rem 2.5rem;
}

.online-stopwatch-page .page-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.25rem;
}

.online-stopwatch-page .page-intro h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  letter-spacing: -0.02em;
}

.online-stopwatch-page .page-intro p {
  margin: 0;
  color: #5a6b7d;
  font-size: 0.95rem;
}

.online-stopwatch-page .panel {
  background: #ffffff;
  margin: 0 auto 1rem;
  max-width: 50rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  padding: 1rem;
}

#Time {
  background: #ffffff;
  margin: 0 auto;
  padding: 1.25rem 0.75rem 0.75rem;
  width: 100%;
  text-align: center;
}

#seconds {
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(3.5rem, 15vw, 9.375rem);
  line-height: 1;
}

#decimals {
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(1.75rem, 7vw, 4.375rem);
  line-height: 1;
}

#ButtonArea {
  background: #ffffff;
  padding: 0.75rem 0.5rem 0.25rem;
  text-align: center;
}

#btnLap {
  background: #0090dd;
  display: none;
}

#btnReset {
  background: #fbad10;
}

#btnStart {
  background: #4aae71;
  display: inline-block;
}

#btnStop {
  background: #ef6262;
  display: none;
}

.FlatButton {
  vertical-align: top;
  width: min(25vw, 14rem);
  height: min(8vw, 4.5rem);
  min-height: 2.75rem;
  padding: 0;
  font-size: clamp(1rem, 4vw, 2.5rem);
  color: #fff;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.FlatButton:hover {
  filter: brightness(1.05);
}

.FlatButton:active {
  transform: scale(0.98);
}

.FlatButton:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

th,
td {
  font-size: clamp(1rem, 5vw, 2.5rem);
  font-family: "Courier New", Courier, monospace;
  font-weight: normal;
}

#lapTable {
  width: min(80vw, 50rem);
  margin: 0 auto;
  border-collapse: collapse;
}

#lapTable th,
#lapTable td {
  padding: 0.35rem 0.5rem;
}

#lapDiv {
  text-align: center;
}

.shell-main.online-stopwatch-page-shell {
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}

body[data-shell-active] .shell-main.online-stopwatch-page-shell {
  padding: 0;
}

.shell-main.online-stopwatch-page-shell .tool-page-header,
.shell-main.online-stopwatch-page-shell .tool-lead {
  display: none;
}
