/* Shared type scale and native controls. Dense is reserved for schedule/map metadata. */
:root {
  --text-dense: 11px;
  --text-small: 12px;
  --text-body: 14px;
  --text-label: 16px;
  --text-heading: 20px;
  --text-title: 24px;
  --text-display: 28px;
  --weight-regular: 400;
  --weight-medium: 600;
  --weight-strong: 700;
  --control-height: 42px;
  --control-padding: 8px 12px;
  --control-line-height: 1.4;
}
button, input, select, textarea { font: inherit; }
button, .day-tools-menu > summary { font-size: var(--text-body); font-weight: var(--weight-medium); line-height: var(--control-line-height); }
button :is(strong, b) { font-weight: inherit; }
button, .day-tools-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: var(--control-height);
  padding: var(--control-padding);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  box-shadow: 0 1px 1px rgb(24 45 30 / .025);
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
button:hover { border-color: #b9c5bb; background: var(--surface-subtle); box-shadow: 0 4px 12px rgb(24 45 30 / .06); }
button:active:not(:disabled) { transform: translateY(1px); }
button.primary, button.day-regenerate { border-color: var(--brand); color: #fff; background: var(--brand); }
button.primary:hover, button.day-regenerate:hover { border-color: var(--brand-dark); background: var(--brand-dark); box-shadow: 0 8px 18px rgb(34 95 44 / .16); }
button.danger { color: var(--danger); }
button:disabled { opacity: .5; cursor: default; }
input, select, textarea {
  font-size: var(--text-body);
  min-height: var(--control-height);
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
}
input:focus, select:focus, textarea:focus, button:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  :root { --control-height: 44px; }
}
