/* SpotWait shared UI: retain the existing night dashboard and semantic colours. */
:root {
  --sw-control-height:48px;
  --sw-control-radius:12px;
  --sw-card-radius:16px;
  --sw-space:8px;
  --sw-control-bg:var(--surface2);
  --sw-control-border:var(--border2);
  --sw-muted-readable:#bac5d4;
}
.app-shell,.overlay,.sheet,#headerMenu { --text2:var(--sw-muted-readable); }
.app-shell,.sheet { font-family:var(--font); }
.page-title,.sheet-title { letter-spacing:.01em;line-height:1.4; }
.card,.spot-card,.more-row,.home-recommendation-card,.manual-current-section {
  border-radius:var(--sw-card-radius);
  border-color:var(--border2);
}
.card { padding:16px; }
.card-label { margin-bottom:16px; }
.form-group { margin-bottom:16px; }
.form-label,.section-hd { letter-spacing:.03em;line-height:1.5; }
.form-input,.filter-sel,.sheet input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=color]),.sheet select,.sheet textarea {
  font-family:var(--font);font-size:16px!important;min-height:var(--sw-control-height);
  border-radius:var(--sw-control-radius);border-color:var(--sw-control-border);
  color:var(--text);background:var(--sw-control-bg);max-width:100%;
}
.form-input::placeholder,.sheet input::placeholder,.sheet textarea::placeholder { color:var(--sw-muted-readable);opacity:.85; }
.submit-btn,.sheet-cancel,.section-heading button,.page-state-action,.set-jump-chip,.section-tabs button,.spot-decision-tab,.stat-tab {
  min-height:var(--sw-control-height);border-radius:var(--sw-control-radius);
  font-family:var(--font);font-weight:700;line-height:1.4;touch-action:manipulation;
}
.submit-btn { padding:12px 16px;font-size:15px; }
.submit-btn.secondary,.sheet-cancel,.set-jump-chip { background:var(--surface2);border:1px solid var(--border2);color:var(--text); }
.set-jump-chip { padding:10px 14px;font-size:13px; }
.section-tabs { gap:8px; }
.section-tabs button,.spot-decision-tab,.stat-tab { padding:10px 8px; }
.sheet { border-color:var(--border2);padding-inline:16px; }
.sheet button:not(.toggle-switch):not(.tenkey-btn):not([hidden]) { min-height:var(--sw-control-height);touch-action:manipulation; }
.sheet-handle { margin-bottom:16px;background:var(--border2); }
.sheet-title { font-size:18px;margin-bottom:16px; }
.more-row { padding:14px 16px;gap:12px; }
.more-row span { line-height:1.5; }
.stat-value,.timer-value,.info-val { font-variant-numeric:tabular-nums; }
.page-state { line-height:1.65;border-radius:var(--sw-card-radius); }
.toast { line-height:1.55;border-radius:var(--sw-control-radius); }
.app-shell button:focus-visible,.app-shell a:focus-visible,.sheet button:focus-visible,.sheet summary:focus-visible,.sheet input:focus-visible,.sheet select:focus-visible,.sheet textarea:focus-visible {
  outline:2px solid var(--mint)!important;outline-offset:3px;
}
.app-shell button:disabled,.sheet button:disabled { opacity:.5;cursor:not-allowed; }
#photoReportBody button,#reportMonthlySummary button,#reportPhotoSummary button {
  border-radius:var(--sw-control-radius);background:var(--surface2);color:var(--text);border-color:var(--border2);font-family:var(--font);
}
#photoReportBody .submit-btn:not(.secondary) { background:var(--mint);color:#071c17; }
#photoReportBody input:not([type=checkbox]),#photoReportBody select,#reportMonthlySummary input,#reportMonthlySummary select {
  background:var(--surface2);border-color:var(--border2);border-radius:var(--sw-control-radius);font-family:var(--font);
}
#photoReportBody [role=status] { background:var(--surface); }
#photoReportBody label.submit-btn { background:var(--surface2);border-color:var(--border2); }
#photoReportBody input[type=checkbox] { accent-color:var(--mint); }
@media(max-width:480px) {
 .page:not(#page-heatmap):not(#page-spots):not(.embedded-page) { padding-inline:16px; }
 .sheet .form-input,.sheet input[type=date],.sheet input[type=time],.sheet input[type=datetime-local],.sheet select { font-size:16px!important; }
}
@media(prefers-reduced-motion:reduce) {
 .page,.sheet,.nav-btn,.submit-btn,.stat-tab { animation:none!important;transition:none!important; }
}
