:root {
  color-scheme: light;
  font: 15px/1.55 system-ui, sans-serif;
  color: #192522;
  background: #edf0eb;
  --green: #17483c;
  --border: #cdd7ce;
  --muted: #526760;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.shell { width: min(100% - 2rem, 900px); margin-inline: auto; }
.masthead { background: #132e28; color: #d7e7df; }
.bar { display: flex; align-items: center; gap: 1.1rem; min-height: 64px; }
.brand { color: #fff; font-size: 1.2rem; font-weight: 720; text-decoration: none; }
.bar button { margin-left: auto; }
main { padding-block: 2rem 4rem; }
.panel { margin-bottom: 1rem; padding: clamp(1rem, 3vw, 1.7rem); background: #fffef9; border: 1px solid var(--border); border-radius: 12px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 1.55rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
form { margin-top: 1rem; }
.row, .section-head, .actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.row { align-items: end; }
.section-head { justify-content: space-between; align-items: start; }
label { display: grid; gap: .25rem; font-weight: 600; }
label input, label select { font-weight: 400; }
input, select, button { font: inherit; border-radius: 7px; min-height: 42px; padding: .42rem .66rem; border: 1px solid var(--border); background: #fff; color: #192522; }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #3d886f; outline-offset: 2px; }
button { cursor: pointer; font-weight: 620; }
button:disabled { cursor: wait; opacity: .63; }
.primary { background: var(--green); color: #fff; border-color: var(--green); }
#signin { max-width: 430px; margin-inline: auto; }
#signin button { margin-top: .65rem; }
#notice, .code { margin-bottom: 1rem; padding: .7rem; background: #e4eee7; border: 1px solid var(--border); border-radius: 7px; overflow-wrap: anywhere; }
.code { margin-block: .9rem; }
#device-list, #task-list, #device-report { margin-top: 1rem; }
.record { padding: .8rem 0; border-top: 1px solid var(--border); }
.record > .actions { margin-top: .65rem; }
.muted, #recovery-status, .metadata { color: var(--muted); }
.metadata { overflow-wrap: anywhere; font-size: .92rem; }
dl { display: grid; grid-template-columns: minmax(6em, auto) 1fr; gap: .25rem .9rem; }
dd { margin: 0; overflow-wrap: anywhere; }
details { margin-top: .55rem; }
summary { cursor: pointer; font-weight: 620; }
pre { padding: .65rem; border-radius: 7px; background: #ebece7; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .row { align-items: stretch; }
  .row label { min-width: min(15em, 100%); }
  .bar { gap: .65rem; }
}
