:root {
  color-scheme: light;
  font-family: Arial, sans-serif;
  color: #152d44;
  background: #f2f6fa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: #102d44;
  color: white;
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 20px;
}
header a {
  color: white;
  margin-left: auto;
}
main {
  max-width: 800px;
  margin: auto;
  padding: 24px;
}
section {
  background: white;
  border: 1px solid #b7c9d8;
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
}
label {
  display: block;
  margin: 14px 0 6px;
  font-weight: 600;
}
input,
select,
textarea,
button {
  font: inherit;
  min-height: 44px;
  border: 1px solid #617c91;
  border-radius: 7px;
  padding: 10px;
  max-width: 100%;
}
input,
select,
textarea {
  width: 100%;
}
input[type='checkbox'] {
  width: auto;
  vertical-align: middle;
}
button {
  background: #123c58;
  color: white;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
}
textarea {
  min-height: 90px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.queue-item {
  border-top: 1px solid #b7c9d8;
  padding: 18px 0;
  overflow-wrap: anywhere;
}
.queue-item button {
  margin: 8px;
}
p {
  line-height: 1.6;
}
#notice {
  font-weight: 600;
}
*:focus-visible {
  outline: 3px solid #b56b00;
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  background: white;
  padding: 10px;
}
h1 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
}
@media (max-width: 480px) {
  main {
    padding: 12px;
  }
  section {
    padding: 16px;
  }
  header {
    flex-wrap: wrap;
  }
  button {
    flex: 1;
  }
}
@media print {
  header,
  button,
  #operation {
    display: none;
  }
}

header{flex-wrap:wrap}main,section,form,form>*{min-width:0}input,select,textarea,button{max-width:100%;font-size:16px;min-height:44px}p,label,output,code{overflow-wrap:anywhere}@media(max-width:600px){main{padding:12px}section{padding:16px}header{gap:12px}}
