:root {
  color-scheme: light;
  font-family: system-ui, 'Yu Gothic UI', sans-serif;
  color: #15283a;
  background: #eff4f3;
  line-height: 1.65;
  --accent: #005d56;
}

* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 2rem, 38rem); margin: clamp(3rem, 13vh, 8rem) auto 3rem; }
header { margin-bottom: 2rem; }
.mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  aspect-ratio: 1;
  border-radius: 11px;
  color: white;
  background: var(--accent);
  font-size: 1.6rem;
  line-height: 1;
}
h1 { margin: .8rem 0 .35rem; font-size: clamp(1.75rem, 5.7vw, 3rem); line-height: 1.2; letter-spacing: -.04em; }
header p, details p { color: #455a60; }
header p { margin: 0; }
form {
  display: grid;
  gap: .95rem;
  padding: clamp(1.15rem, 5vw, 2rem);
  border: 1px solid #d7e1df;
  border-radius: 18px;
  background: white;
  box-shadow: 0 14px 40px #1b46400c;
}
label { font-weight: 650; }
.permission { display: flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 500; }
input[type="checkbox"] { accent-color: var(--accent); width: 1.1rem; height: 1.1rem; margin: 0; }
input[type="url"], button { min-width: 0; min-height: 3rem; border-radius: 8px; font: inherit; }
input[type="url"] { border: 1px solid #98aaa9; padding: .55rem .8rem; }
button { border: 0; padding: .65rem 1rem; background: var(--accent); color: white; font-weight: 650; cursor: pointer; }
button:enabled:hover { background: #00443f; }
button:disabled { opacity: .65; cursor: default; }
:focus-visible { outline: 3px solid #007c72; outline-offset: 3px; }
#status { margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
#status:empty { display: none; }
#status[data-error] { color: #a12626; }
details, footer { margin-top: 1.3rem; font-size: .9rem; }
summary { cursor: pointer; font-weight: 650; }
pre { overflow: auto; background: #e3ecea; padding: .9rem; border-radius: 8px; }
a { color: var(--accent); }
