:root {
  color-scheme: light;
  font: 16px/1.55 system-ui, sans-serif;
  color: #172c2a;
  background: #f5f8f7;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header, main { margin: auto; max-width: 65rem; padding: 1.2rem clamp(1rem, 4vw, 3rem); }
header, nav, #account { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
header { justify-content: space-between; border-bottom: 1px solid #d4e2df; }
.brand { color: #163e38; font-size: 1.4rem; font-weight: 800; text-decoration: none; }
a { color: #085c4c; }
h1 { font-size: clamp(1.65rem, 4vw, 2.3rem); line-height: 1.15; margin: 1.65rem 0 1rem; }
button, input, select, textarea { font: inherit; min-height: 2.75rem; border-radius: .55rem; }
button { cursor: pointer; border: 1px solid #a6bbb6; padding: .35rem .8rem; background: white; color: inherit; }
button:hover, button[aria-current="page"] { background: #dff0ea; border-color: #317362; }
button[type="submit"], form button { background: #165e50; color: white; border-color: #165e50; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #187864; outline-offset: 3px; }
input, select, textarea { min-width: 0; width: 100%; border: 1px solid #a6bbb6; background: white; padding: .4rem; color: inherit; }
label { display: grid; gap: .3rem; font-weight: 600; }
.check { display: flex; align-items: center; }
.check input { width: auto; margin-right: .35rem; }
form { display: grid; max-width: 34rem; gap: .85rem; margin-block: 1rem; }
form button { justify-self: start; }
details, article { margin-block: .75rem; padding: .85rem 1rem; background: white; border: 1px solid #d4e2df; border-radius: .7rem; }
summary { cursor: pointer; font-weight: 650; padding-block: .35rem; }
#items > section > h2 { font-size: 1.15rem; margin: 1.2rem 0 .5rem; overflow-wrap: anywhere; }
article h2, article h3 { font-size: 1.05rem; margin: 0 0 .4rem; overflow-wrap: anywhere; }
dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); margin: 0 0 .5rem; gap: .5rem; }
dt { font-size: .88rem; color: #48645e; }
dd { margin: 0; overflow-wrap: anywhere; }
#status:empty { display: none; }
#status { border-left: 3px solid #187864; background: #e7f2ee; padding: .7rem 1rem; overflow-wrap: anywhere; }
#status[data-error] { border-color: #ab3625; background: #fff0ed; }
#new-key input { font-family: monospace; }
.header-actions, .guide-links { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.25rem; }
.guide-links { margin-block: 1.25rem; }
.download { display: inline-block; padding: .55rem .9rem; border-radius: .55rem; color: white; background: #165e50; text-decoration: none; font-weight: 650; }
.download:hover { background: #124f43; }
.guide-card { margin-block: 1rem; padding: clamp(1rem, 3vw, 1.5rem); background: white; border: 1px solid #d4e2df; border-radius: .7rem; }
.guide-card h2 { margin: 0; font-size: 1.35rem; }
.command-block { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .5rem; margin-block: .7rem 1rem; background: #eff5f3; border: 1px solid #d4e2df; border-radius: .55rem; padding: .55rem; }
.command-block pre { margin: 0; padding: .35rem; overflow-x: auto; font-size: .94rem; }
.command-block button { min-width: 4.5rem; }
@media (max-width: 30rem) {
  .command-block { grid-template-columns: minmax(0, 1fr); }
  .command-block button { justify-self: end; }
}
.ip-panel { margin-block: .8rem 1.2rem; padding: .8rem 1rem; border: 1px solid #d4e2df; border-radius: .7rem; background: white; }
.ip-panel h2, .ip-panel p { margin: 0 0 .4rem; }
.ip-panel h2 { font-size: 1.15rem; }
.command-reference { display: block; }
.command-reference > div { padding: .65rem 0; border-bottom: 1px solid #d4e2df; }
.command-reference dt { font-size: 1rem; font-weight: 650; overflow-wrap: anywhere; }
.command-reference dd { margin-top: .2rem; }
#android-gradle { scroll-margin-top: 1rem; }
