@font-face{font-family:DM Sans;src:url("/dm-sans.woff2") format("woff2");font-display:swap}
:root{
  color-scheme:light;
  font-family:"DM Sans",system-ui,sans-serif;
  --page:#fbfcfb;--ink:#182d34;--muted:#485e66;--line:#adbec2;
  --band:#e7eeee;--key:#284451;--on-key:#fff;--alert:#802b17;--alert-bg:#fff0e6;
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --page:#181e21;--ink:#e8eeeb;--muted:#bdcbc9;--line:#6a807d;
  --band:#283733;--key:#b9ddda;--on-key:#153032;--alert:#ffccad;--alert-bg:#46312a;
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;color:var(--ink);background:var(--page)}
a{color:var(--key)}
button,input,textarea{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.55;cursor:default}
:focus-visible{outline:2px solid var(--key);outline-offset:3px}
body>header,body>footer{border-bottom:1px solid var(--line);background:var(--band)}
body>footer{border-top:1px solid var(--line);border-bottom:0}
body>:is(header,footer)>div{
  width:min(100%,75rem);margin:auto;padding:.65rem 1.35rem;
  min-height:3.7rem;display:flex;justify-content:space-between;align-items:center;gap:.6rem
}
body>:is(header,footer) nav{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:.55rem;text-decoration:none;font-weight:750;color:var(--ink)}
.brand img{width:2rem;height:2rem;border-radius:4px}
main{width:min(100%,75rem);margin:auto;padding:1.35rem 1.35rem 2.5rem}
main>article{max-width:46rem;line-height:1.65;overflow-wrap:anywhere;padding-bottom:2rem}
.gps-main>h1{font-size:1.95rem;line-height:1.14;margin:0 0 1.15rem}
#gps-input{background:var(--band);padding:1rem;border-top:3px solid var(--key)}
#gps-review{padding:.95rem 0 0}
.gps-heading{display:flex;justify-content:space-between;align-items:baseline;gap:.8rem;margin-bottom:.65rem}
.gps-heading h2{margin:0;font-size:1.18rem}
.gps-heading span{font-size:.86rem;color:var(--muted);overflow-wrap:anywhere}
.gps-actions{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap;margin:0 0 .6rem}
.gps-end{margin:.65rem 0 0;justify-content:flex-end}
.gps-end small{margin-right:auto;color:var(--muted)}
.gps-button,.gps-link-button,.gps-primary,#install{
  min-height:2.65rem;padding:.46rem .7rem;border:1px solid var(--line);border-radius:4px;font-weight:650;
  background:var(--page);color:var(--ink)
}
.gps-primary{background:var(--key);color:var(--on-key);border-color:var(--key)}
.gps-link-button{background:none;border-color:transparent;text-decoration:underline;text-underline-offset:3px}
#gps-source{
  width:100%;display:block;min-height:8.5rem;resize:vertical;border:1px solid var(--line);border-radius:4px;
  background:var(--page);color:var(--ink);padding:.7rem;font: .875rem/1.5 Consolas,"Liberation Mono",monospace
}
#gps-source::placeholder{color:var(--muted);opacity:1}
#gps-empty{border-block:1px solid var(--line);min-height:10rem;display:grid;place-content:center;justify-items:center;color:var(--muted)}
#gps-empty span{font:700 .95rem/1 Consolas,monospace;border-bottom:2px solid var(--line);padding:.4rem .6rem}
#gps-empty p{margin:.7rem 0;font-size:.93rem}
.gps-errors{background:var(--alert-bg);color:var(--alert);border-left:3px solid var(--alert);padding:.6rem .75rem;margin-bottom:.75rem;overflow-wrap:anywhere}
.gps-errors h3{margin:0;font-size:.95rem}
.gps-errors ul{margin:.4rem 0;padding-inline-start:1.3rem;max-height:10rem;overflow:auto}
table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.88rem}
th,td{text-align:left;border-bottom:1px solid var(--line);padding:.65rem .6rem;overflow-wrap:anywhere}
th{background:var(--band)}
th:nth-child(1){width:28%}
th:nth-child(2),th:nth-child(3){width:17%}
td:nth-child(2),td:nth-child(3){font-variant-numeric:tabular-nums}
.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
@media(max-width:760px), (max-width:960px) and (max-height:500px) and (pointer:coarse){
  body>:is(header,footer)>div{padding:.55rem .75rem}
  main{padding:.9rem .75rem 1.5rem}
  .gps-main>h1{font-size:1.55rem;margin-bottom:.75rem}
  #gps-input{padding:.7rem}
  #gps-source{min-height:11rem}
  #gps-review{padding:0}
}
@media(max-width:450px){
  body>:is(header,footer) nav{gap:.55rem}
  table,tbody,tr,td{display:block}
  thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
  tr{border-top:1px solid var(--line);padding:.4rem 0}
  tr:last-child{border-bottom:1px solid var(--line)}
  td{display:grid;grid-template-columns:5.6rem minmax(0,1fr);gap:.4rem;border:0;padding:.25rem .3rem}
  td::before{content:attr(data-label);font-weight:700;color:var(--muted)}
}
