html { color-scheme: light; font-family: system-ui, sans-serif; background: #f4f5f0; color: #183b38; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; }
main { padding: 2rem; max-width: 40rem; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 600; }
form { margin-top: 2rem; }
label { display: block; margin-block: 1rem; }
label span { margin-inline-end: .75rem; }
input, select { font: inherit; max-width: 100%; }

html { color-scheme: light dark; }
body { display: block; }
main { margin: auto; width: 100%; box-sizing: border-box; padding: 1rem; }
* { box-sizing: border-box; }
#personal { overflow-wrap: anywhere; }
#personal nav { display: flex; gap: 1rem; margin-block: 1rem; }
#personal a, #personal summary, input, select, textarea, button { min-height: 44px; }
#personal a { display: inline-flex; align-items: center; }
#personal summary { display: list-item; padding-block: .6rem; cursor: pointer; }
#personal input:not([type=checkbox]), #personal select, #personal textarea { width: 100%; }
#personal textarea { min-height: 88px; resize: vertical; font: inherit; }
#personal form, #personal article { border: 1px solid #668780; border-radius: .75rem; padding: 1rem; margin-block: 1rem; }
button { font: inherit; padding: .65rem 1.3rem; background: #183b38; color: #fff; border: 1px solid currentColor; border-radius: .5rem; cursor: pointer; }
:focus-visible { outline: 3px solid #ac6500; outline-offset: 3px; }
#personal svg { width: 100%; height: auto; overflow: visible; }
#personal svg polyline { fill: none; stroke: currentColor; stroke-width: 2; }
#personal svg circle { fill: currentColor; }
#personal .unconfirmed { stroke-dasharray: 4 4; opacity: .7; }
@media (prefers-color-scheme: dark) {
  html { background: #152321; color: #e4efea; }
  a { color: #b2dfd1; }
  button { background: #c0ded3; color: #152321; }
}
input[type=checkbox] { width: 44px; vertical-align: middle; }
#device-settings { margin-top: 1rem; min-width: 0; }
#device-settings input:not([type=checkbox]) { width: 100%; min-height: 44px; }
#device-settings input[type=checkbox] { width: 44px; height: 44px; }
#device-queue pre { white-space: pre-wrap; overflow-wrap: anywhere; }
#device-queue button, #device-settings button, #connection[role=button] { min-height: 44px; }
#connection[role=button] { cursor: pointer; }
#plan-proposals { margin-block: 1rem; }
#plan-proposals > div > a { display: flex; }
#plan-proposals button + button { margin-inline-start: .5rem; background: transparent; color: inherit; }
#plan-proposals li { margin-block: 1rem; }

#account-security { margin-block: 2rem; }
#account-security form { display: grid; gap: .75rem; margin-block: 1rem; }
#account-security label { display: grid; gap: .25rem; }
#account-security input, #account-security select, #account-security button, #account-security summary { min-height: 44px; font: inherit; max-width: 100%; }
#account-security canvas { width: min(100%, 280px); height: auto; }
#account-security code, #account-security li { overflow-wrap: anywhere; }
#account-security [hidden] { display: none; }
#account-security :focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
