:root { color-scheme: light; font: 16px/1.55 system-ui, sans-serif; color: #1d2933; background: #f4f6f8; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
main { width: min(100% - 2rem, 50rem); margin: 3rem auto; }
header { margin-bottom: 1.5rem; }
#setup-products { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-bottom: .9rem; }
#setup-products a { color: #165b69; font-size: .9rem; }
#setup-products [aria-current="page"] { font-weight: 670; }
.brand { color: #165b69; font-weight: 750; text-decoration: none; }
.brand:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { margin-top: .35rem; font-size: clamp(2rem, 6vw, 2.75rem); letter-spacing: -.04em; }
h2 { font-size: 1.3rem; letter-spacing: -.02em; }
h3 { margin-top: 1rem; font-size: 1rem; }
p { margin: .55rem 0 0; }
section { padding: 1.35rem; margin-bottom: 1rem; background: #fff; border: 1px solid #d9e0e5; border-radius: .75rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
form, details, .setting-grid + .setting-grid { margin-top: .85rem; }
.setting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.network { display: grid; grid-template-columns: 1fr 1fr auto; gap: .75rem; align-items: end; margin-top: .65rem; }
label { display: block; min-width: 0; font-weight: 620; font-size: .9rem; }
input, select, button { font: inherit; }
input, select { display: block; width: 100%; margin-top: .25rem; padding: .48rem .62rem; color: inherit; background: #fff; border: 1px solid #acb9c3; border-radius: .35rem; }
.checkbox { display: flex; gap: .5rem; align-items: center; margin-top: .75rem; }
.checkbox input { margin: 0; width: auto; }
input[type="file"] { margin-bottom: .55rem; }
button { padding: .45rem .8rem; border: 1px solid #165b69; border-radius: .35rem; color: white; background: #165b69; font-weight: 670; cursor: pointer; }
button.secondary { color: #165b69; background: #fff; }
button:not(:disabled):hover { filter: brightness(.9); }
button:disabled, fieldset:disabled { opacity: .65; cursor: default; }
input:focus-visible, select:focus-visible, button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid #227abc; outline-offset: 2px; }
summary { cursor: pointer; color: #165b69; font-weight: 620; }
details .setting-grid { margin-top: .55rem; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.notice { padding: .6rem .75rem; margin-top: .9rem; background: #eef3f5; border-radius: .35rem; overflow-wrap: anywhere; }
.notice[data-error="true"] { background: #faeded; color: #942522; }
#unsupported { margin-bottom: 1rem; }
progress { width: 100%; margin-top: .65rem; }
ul { list-style: none; padding: 0; margin: .6rem 0 0; }
li { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .55rem 0; border-top: 1px solid #e0e6eb; }
li span { flex: 1 1 15ch; overflow-wrap: anywhere; }
li button { padding: .25rem .5rem; font-size: .88rem; }
@media (max-width: 35rem) {
  main { margin-top: 1.25rem; }
  section { padding: 1rem; }
  .setting-grid, .network { grid-template-columns: 1fr; }
  .remove-network { justify-self: start; }
}
