/* Alfred phone app styles. Dark navy with brass accents, big touch targets
   for use on a jobsite. */
:root {
  --bg: #0f1724;
  --card: #18233a;
  --line: #2a3756;
  --text: #eef2f8;
  --muted: #9aa8c2;
  --brass: #c9a24a;
  --go: #2fae6b;
  --stop: #d64545;
  --radius: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
main { max-width: 560px; margin: 0 auto; padding: 16px 16px calc(32px + env(safe-area-inset-bottom)); }
header { display: flex; align-items: center; gap: 12px; padding: 8px 0 16px; }
header img { width: 40px; height: 40px; }
header h1 { font-size: 22px; margin: 0; letter-spacing: .5px; }
header p { margin: 0; color: var(--muted); font-size: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.card h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 0 0 10px; }
.status { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; }
.dot { width: 16px; height: 16px; border-radius: 50%; background: var(--go); box-shadow: 0 0 12px var(--go); }
.paused .dot { background: var(--stop); box-shadow: 0 0 12px var(--stop); }
button { width: 100%; border: 0; border-radius: var(--radius); padding: 20px; font-size: 20px; font-weight: 700;
  color: #fff; cursor: pointer; margin-top: 14px; -webkit-tap-highlight-color: transparent; }
button:active { transform: scale(.98); }
.btn-stop { background: var(--stop); }
.btn-go { background: var(--go); }
.btn-plain { background: var(--line); font-size: 16px; padding: 14px; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.row span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.bar { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; margin-top: 6px; }
.bar div { height: 100%; background: var(--brass); }
ul.log { list-style: none; padding: 0; margin: 0; }
ul.log li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
ul.log li:first-child { border-top: 0; }
.tag { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--line); color: var(--muted); margin-right: 6px; }
.tag.allowed { background: #1d4a33; color: #9be3bb; }
.tag.blocked { background: #4f2020; color: #f2a7a7; }
.tag.needs_approval { background: #4a3d16; color: #f0d58c; }
.muted { color: var(--muted); font-size: 14px; }
input { width: 100%; padding: 16px; font-size: 18px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); }
.pair { display: flex; gap: 10px; }
button.small { font-size: 16px; padding: 14px; margin-top: 10px; }
details { margin-top: 14px; }
details summary { cursor: pointer; padding: 6px 0; }
details input { margin-top: 10px; }
.hidden { display: none; }
