/* Brass and flame on the main actions, brushed steel on the secondary controls. */
:root {
  --fire-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath fill='%23ec5d27' stroke='%2397331b' stroke-width='.9' d='M14 26C4 26 3 18 7 12c0 4 2 5 2 5-1-6 6-9 6-15 5 4 6 9 4 13 2-1 3-3 3-5 5 7 4 16-8 16Z'/%3E%3Cpath fill='%23ffbf44' d='M14 24c-5 0-7-4-5-8 0 3 2 3 2 3 0-4 5-6 5-10 3 5 1 7 1 9l3-3c1 5-1 9-6 9Z'/%3E%3Cpath fill='%23fff0a5' d='M14 23c-3 0-3-3-2-4l1 1c0-2 2-3 3-5 1 3 3 7-2 8Z'/%3E%3C/svg%3E");
}
body :is(button:not(.report-field),a.button,label.file-button) {
  /* The existing screens supply their own button colors. Keep this skin consistent across them. */
  --skin:linear-gradient(180deg,var(--face-top),var(--face-bottom));
  --face-top:#fbf6e9;
  --face-bottom:#dfd3b8;
  --rim:#a49271;
  --edge:#76674f;
  --legend:#332b23;
  color:var(--legend) !important;
  border:1px solid var(--rim) !important;
  border-radius:.55rem;
  background:var(--skin) !important;
  box-shadow:inset 0 1px 0 #ffffffa6,0 3px 0 var(--edge),0 4px 6px #15212c30;
  transition:transform .12s,box-shadow .12s,filter .12s;
}
body :is(button.primary,a.button.primary,#install-app) {
  --face-top:#a54420;--face-bottom:#793019;--rim:#8d371b;--edge:#462116;--legend:#fff9ec;
}
body :is(button.active,button.selected,button[aria-pressed="true"]) {
  --face-top:#275d77;--face-bottom:#163c50;--rim:#497185;--edge:#0b2a38;--legend:#fff;
}
body :is(button.danger,a.button.danger,#schedule-delete) {
  --face-top:#993d45;--face-bottom:#722831;--rim:#82343c;--edge:#4e1920;--legend:#fff8f5;
}
body :is(button.button,a.button,label.file-button,.nav button,.plans button,.continue button,button#play,button#next,button#switch-plan)::before {
  content:"";display:inline-block;flex:0 0 auto;width:1.02em;height:1.18em;
  vertical-align:-.19em;background:var(--fire-mark) center / contain no-repeat;pointer-events:none;
}
body :is(.plans button,.continue button,button#play,button#next,button#switch-plan)::before {margin-inline-end:.4em}
body .nav button {gap:.4em}
body .schedule-row-actions .danger,body #schedule-delete {background:linear-gradient(var(--face-top),var(--face-bottom));color:var(--legend);border-color:var(--rim)}
body button.form-card {
  --face-top:#fffdf8;--face-bottom:#f5efe2;
  --skin:var(--fire-mark) right 12px bottom 12px / 18px 22px no-repeat,linear-gradient(var(--face-top),var(--face-bottom));
}
body button.form-card.active {--face-top:#f2faff;--face-bottom:#dcecf3;--rim:#4b788f;--edge:#254f64;--legend:#163c50}
body :is(.field-list button,.tool-row .tool-item) {--face-top:#fffefa;--face-bottom:#f3efe7;--legend:#273849}
body .tool-row .tool-item[aria-pressed="true"] {--face-top:#e2f1fa;--face-bottom:#c7e1ef;--rim:#578199;--edge:#31536a;--legend:#173c52}
@media (hover:hover) {
  body :is(button:not(.report-field):enabled,a.button,label.file-button):hover {filter:brightness(1.04)}
}
body :is(button:not(.report-field):enabled,a.button,label.file-button):active {
  transform:translateY(2px);box-shadow:inset 0 1px 2px #28201935,0 1px 0 var(--edge);
}
body :is(button:not(.report-field),a.button,label.file-button):focus-visible {
  outline:3px solid #126896;outline-offset:3px;
}
body button:not(.report-field):disabled {
  --face-top:#f2f1eb;--face-bottom:#deddd7;--rim:#c2c1b9;--edge:#a8a69d;--legend:#62645d;
  box-shadow:inset 0 1px 0 #fff9,0 1px 0 var(--edge);filter:grayscale(1);cursor:default;
}
@media (max-width:620px) {
  body .schedule-week {display:flex;flex-wrap:wrap}
  body .schedule-week label {flex:1 0 100%;order:-1;max-width:none}
  body .schedule-week button {min-height:42px}
}
@media (prefers-reduced-motion:reduce) {
  body :is(button:not(.report-field),a.button,label.file-button) {transition:none}
}
