/* Atkinson Hyperlegible: put the font files in assets/fonts/ (names below). Falls back to an installed copy, then system fonts. */
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local("Atkinson Hyperlegible"), local("AtkinsonHyperlegible-Regular"), url("assets/fonts/AtkinsonHyperlegible-Regular.woff2") format("woff2"), url("assets/fonts/AtkinsonHyperlegible-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: local("Atkinson Hyperlegible Bold"), local("AtkinsonHyperlegible-Bold"), url("assets/fonts/AtkinsonHyperlegible-Bold.woff2") format("woff2"), url("assets/fonts/AtkinsonHyperlegible-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: local("Atkinson Hyperlegible Italic"), url("assets/fonts/AtkinsonHyperlegible-Italic.woff2") format("woff2"), url("assets/fonts/AtkinsonHyperlegible-Italic.ttf") format("truetype");
}

:root {
  --or: #FF4500;
  --tx: #333435;
  --gr: #797979;
  --bl: #1971C9;
  --ok: #1CB362;
  --bad: #E73552;
  --bg: #F2F2F8;
  --pk: #FFF1EF;
  --ln: #e4e0e4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 16px/1.55 "Atkinson Hyperlegible", system-ui, "Segoe UI", sans-serif;
}

a {
  color: var(--bl);
}

h1, h2, h3 {
  margin: 0;
}

.logo {
  max-width: 1100px;
  margin: 18px auto 12px;
  padding: 0 20px;
}

.logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 100%;
}

.pw {
  display: inline-block;
  position: relative;
  line-height: 0;
  vertical-align: top;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

.pw .pa {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.pw .pr {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,.2);
}

.rc .pw {
  box-shadow: 0 2px 6px rgba(0,0,0,.14);
}

.rc .pr {
  box-shadow: 0 1px 2px rgba(0,0,0,.18);
}

.pie {
  display: block;
  overflow: visible;
}

.ph {
  width: 100%;
  max-width: 260px;
  height: auto;
}

.hero {
  width: 100%;
  max-width: 660px;
  height: auto;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.card {
  background: #fff;
  border-radius: 28px;
  display: grid;
  grid-template-columns: minmax(0,40fr) minmax(0,60fr);
  overflow: hidden;
  min-height: 440px;
}

.card.one {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 40px 20px;
  justify-items: center;
}

.fixed {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
}

.scroll {
  background: #fff;
  padding: 30px 36px 30px 16px;
  max-height: 640px;
  overflow: auto;
}

.scroll.tall {
  max-height: max(640px,calc(100vh - 160px));
}

.scroll h2 {
  color: var(--or);
  font-size: 22px;
  margin-bottom: 8px;
}

.scroll h3 {
  color: var(--or);
  font-size: 15px;
  margin: 18px 0 4px;
}

.btn {
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  border-radius: 99px;
  padding: 9px 22px;
  border: 2px solid var(--or);
  background: #fff;
  color: var(--or);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn.f {
  background: var(--or);
  color: #fff;
}

.btn.g {
  background: linear-gradient(90deg,var(--or),#C9266E);
  border-color: transparent;
  color: #fff;
}

.btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 18px;
}

.close {
  position: absolute;
  top: 20px;
  left: 24px;
  padding: 3px 16px;
}

.foot {
  text-align: center;
  font-style: italic;
  color: var(--gr);
  font-size: 13px;
  margin: 16px 0 30px;
}

.dots {
  display: flex;
  gap: 18px;
}

.dots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--gr);
  background: #fff;
}

.dots i.on {
  background: var(--or);
  border-color: var(--or);
}

.box {
  border: 1px solid #bbb;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  margin: 10px 0;
}

.box .cols {
  display: flex;
  justify-content: space-around;
  text-align: center;
  font-size: 13px;
}

.drag {
  display: block;
  margin: 10px 0;
  padding: 34px 10px;
  background: repeating-conic-gradient(#f0f0f0 0 25%,#fff 0 50%) 0 0/24px 24px;
  text-align: center;
  font-weight: 700;
  border-radius: 6px;
}

pre, textarea, input, select {
  font: 13px/1.4 ui-monospace, Menlo, monospace;
}

pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 140px;
  overflow: auto;
}

button, textarea, input, select {
  font-family: inherit;
}

textarea, input[type=text], select {
  width: 100%;
  padding: 10px;
  border: 1px solid #999;
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
}

.ok {
  color: var(--ok);
}

.er {
  color: var(--bad);
}

.hdr {
  background: var(--or);
  color: #fff;
  font-weight: 700;
  padding: 14px 16px;
  margin: -6px 0 12px;
}

.kv {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  font-size: 15px;
}

.kv input {
  width: 55%;
  padding: 3px 6px;
  font-size: 13px;
}

hr {
  border: 0;
  border-top: 1px solid var(--ln);
  margin: 12px 0;
}

.hap {
  color: var(--bl);
  font-weight: 700;
  text-decoration: underline dotted;
}

.t {
  font-size: 14px;
}

.t div {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}

.t .l0 {
  background: #ddd;
  font-weight: 700;
  padding: 6px 10px;
  margin-top: 6px;
}

.t .l1 {
  padding-left: 18px;
  font-weight: 700;
}

.t .l2 {
  padding-left: 36px;
  font-weight: 700;
}

.t .l3 {
  padding-left: 54px;
  color: var(--gr);
}

.t .gm {
  font-size: 13px;
  color: var(--gr);
  padding: 2px 10px 2px 0;
}

.t .gm .gm-gg {
  font-weight: 400;
}

.t .gm .gm-ral {
  font-weight: 700;
  color: var(--tx);
}

.t .gmsub {
  font-size: 12px;
  padding-top: 0;
  padding-bottom: 0;
}

details.exp {
  flex: 1;
  min-width: 0;
}

details.exp>summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  padding: 2px 0;
}

details.exp>summary::-webkit-details-marker {
  display: none;
}

details.exp>summary .exp-name::before {
  content: "▸";
  display: inline-block;
  width: 14px;
  color: var(--gr);
}

details.exp[open]>summary .exp-name::before {
  content: "▾";
}

details.exp.right>summary {
  justify-content: flex-end;
}

.migsub {
  display: block;
  font-size: 12px;
  color: var(--gr);
}

.bar {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.bar label {
  font-weight: 700;
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
}

.bar>div {
  flex: 1;
  min-width: 240px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(230px,1fr));
  gap: 18px;
}

.rc {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px #0002;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.rc b {
  display: block;
}

.rc small {
  display: block;
  color: var(--gr);
}

.pager {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 22px 0;
}

.pgb {
  background: none;
  border: 0;
  font: inherit;
  font-size: 16px;
  color: var(--tx);
  cursor: pointer;
  padding: 4px 10px;
}

.pgb:hover {
  text-decoration: underline;
}

.pgb.on {
  color: var(--or);
  font-weight: 700;
}

.pgb:focus-visible {
  outline: 3px solid var(--bl);
  outline-offset: 2px;
}

.pill {
  background: #eee;
  border-radius: 99px;
  padding: 2px 14px;
  font-size: 13px;
}

.disp {
  color: var(--or);
  font-weight: 700;
  font-size: 18px;
}

.chk {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 8px 0;
}

.sw {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}

.t .sw {
  vertical-align: middle;
  margin-right: 7px;
}

.t .sw.sub {
  width: 6px;
  height: 6px;
  margin-right: 9px;
  margin-left: 2px;
}

.idr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  flex-wrap: wrap;
}

.idr label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 230px;
}

.idr input[type=text] {
  flex: 1;
  width: auto;
  min-width: 150px;
  padding: 6px 8px;
}

input.c {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gr);
  border-radius: 50%;
  background: #fff;
  margin: 0;
  flex: none;
  cursor: pointer;
}

input.c:checked {
  border-color: var(--or);
  background: radial-gradient(var(--or) 0 45%,#fff 50%);
}

input.c:focus-visible {
  outline: 3px solid var(--bl);
  outline-offset: 2px;
}

.fr {
  display: block;
  width: 100%;
  height: auto;
  margin: 10px 0;
  border-radius: 6px;
}

.av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 8px;
}

.frm {
  display: grid;
  grid-template-columns: 270px minmax(0,1fr);
  gap: 10px 14px;
  align-items: center;
  margin: 8px 0;
}

.frm .lb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  white-space: nowrap;
}

.frm .cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}

.in {
  width: 100%;
  height: 40px;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #999;
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 560px) {
  .frm {
    grid-template-columns: 1fr;
  }
  .frm .lb {
    white-space: normal;
  }
}

.note {
  font-size: 13px;
  color: #8a8a8a;
  font-style: italic;
}

.disp a {
  color: var(--or);
}

.scroll ul {
  margin: 6px 0;
  padding-left: 20px;
}

@media (max-width: 760px) {
  .card {
    grid-template-columns: 1fr;
  }
  .scroll {
    max-height: none;
    padding: 6px 22px 22px;
  }
  .scroll.tall {
    max-height: none;
  }
  .fixed {
    order: -1;
  }
  .fixed {
    padding: 20px;
  }
}

.btn:not(.f):not(.g):not(:disabled):hover {
  background: #fff;
  color: #B23000;
  border-color: #B23000;
}

.btn.f:not(:disabled):hover {
  background: #B23000;
  color: #fff;
  border-color: #B23000;
}

a:not(.btn):hover {
  color: #124F8D;
}

.disp a:hover {
  color: var(--or);
}

.back {
  position: absolute;
  top: 20px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E6E8EA;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 2;
}

.back:hover {
  background: #DFE2E4;
}

.back svg {
  width: 20px;
  height: 20px;
  fill: #333333;
}

.back:focus-visible {
  outline: 3px solid var(--bl);
  outline-offset: 2px;
}

.btn.g:not(:disabled):hover {
  background: #A01F57;
  border-color: #A01F57;
  color: #fff;
}

.pgb.on {
  text-decoration: underline;
}

.bar label {
  font-size: 16px;
}

.bar select, .bar input {
  height: 42px;
}

.bar select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23333435' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center/14px 9px;
  cursor: pointer;
}

.srch {
  position: relative;
}

.srch input {
  padding-right: 46px;
}

.srch svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.ms {
  position: relative;
}

.msb {
  width: 100%;
  height: 42px;
  padding: 0 44px 0 10px;
  border: 1px solid #999;
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23333435' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center/14px 9px;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  color: var(--tx);
}

.msb span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msb .ph0 {
  color: #827D7D;
}

.msb:focus-visible {
  outline: 3px solid var(--bl);
  outline-offset: 2px;
}

.msp {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 10px;
  box-shadow: 0 6px 18px #0003;
  z-index: 20;
  padding: 6px;
  max-height: 320px;
  overflow: auto;
}

.mso {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
}

.mso:hover {
  background: #F2F2F8;
}

.mso input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--or);
  cursor: pointer;
}

.msx {
  background: none;
  border: 0;
  color: var(--bl);
  font: inherit;
  font-size: 14px;
  padding: 8px 10px;
  cursor: pointer;
  text-decoration: underline;
}

.msx:hover {
  color: #124F8D;
}

.bar .mso {
  display: flex;
  font-weight: 400;
  font-size: 15px;
  margin-bottom: 0;
}

.ib {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #E6E8EA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.ib:hover {
  background: #DFE2E4;
}

.ib svg {
  width: 20px;
  height: 20px;
  fill: #333333;
}

.ib:focus-visible {
  outline: 3px solid var(--bl);
  outline-offset: 2px;
}
