@media (min-width: 720px) {
  .pu__row--bill  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pu__row--two   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pu__row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pu__row--four  { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .pu__row--place { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
}

@media (min-width: 560px) and (max-width: 719.98px) {

  .pu__row--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pu__row--place { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pu__pre {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  overflow: hidden;
}

.pu__pre:focus-within {
  border-color: var(--green-text);
  box-shadow: 0 0 0 3px rgba(106, 218, 53, 0.22);
}

.pu__pre__tag {
  display: grid;
  place-items: center;
  padding: 0 0.1rem 0 0.85rem;
  font-size: var(--step-14);
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  user-select: none;
}

.pu__pre input {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding-left: 0.15rem;
  min-width: 0;
  flex: 1;
}
.pu__pre input:focus { box-shadow: none; border-color: transparent; }

.pu__field--sugg { position: relative; }

.pu__field--sugg .qsugg li { flex-direction: row; align-items: baseline; gap: 0.4rem; }
.pu__field--sugg .qsugg li span { color: var(--muted); }

.pu__more {
  padding: 0.4rem 0.65rem 0.5rem;
  font-size: var(--step--1);
  color: var(--muted);
  cursor: default;
}
.pu__more:hover { background: none; }

.qf__hint {
  font-size: var(--step--1);
  color: var(--muted);
  margin-top: 0.35rem;
  line-height: 1.45;
}

.qf__note {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  background: var(--paper-alt);
  border-left: 2px solid var(--green);
  font-size: var(--step-14);
  line-height: 1.6;
  color: var(--ink-soft);
}
.qf__note a { color: var(--green-text); }

.pu__skip b { color: var(--ink); }

.qf__group.is-covered { opacity: 0.55; transition: opacity 0.2s var(--ease); }
.qf__group.is-covered:focus-within,
.qf__group.is-covered:hover { opacity: 1; }
.qf__group.is-covered .pu__skip { opacity: 1; }

.pu__step {
  flex: none;
  align-self: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(106, 218, 53, 0.16);
  color: var(--green-text);
  font-size: var(--step--2, 11px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pu .qf__row + .qf__row { margin-top: 1rem; }

.pu .qf__field label { margin-bottom: 0.6rem; }
.pu .qf__row + .qf__row { margin-top: 1.35rem; }
.pu .qf__row { gap: 1.35rem 1.25rem; }

.pu__customs[hidden] { display: none; }

.pu__drop {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--paper-alt);
  cursor: pointer;

  position: relative;
}
.pu__drop:hover { border-color: var(--green-text); }
.pu__drop:focus-within { border-color: var(--green-text); box-shadow: 0 0 0 3px rgba(106, 218, 53, 0.22); }

.pu__drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}

.pu__drop__icon { flex: none; width: 26px; height: 26px; color: var(--green-text); }
.pu__drop__icon svg { width: 100%; height: 100%; }

.pu__drop__text {
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;

  text-transform: none;
  letter-spacing: 0;
}
.pu__drop__text b { color: var(--ink); font-weight: 600; }

.pu__files { list-style: none; margin: 0.7rem 0 0; padding: 0; display: grid; gap: 0.35rem; }
.pu__files li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.pu__files li b { font-weight: 600; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.pu__files li span { color: var(--muted); flex: none; }
.pu__files li.is-over b,
.pu__files li.is-over span { color: #c32f28; }

.pu__rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  list-style: none;
  margin: 0 0 1.9rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--line);
}
.pu__rail[hidden] { display: none; }

.pu__rail li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.pu__rail li:focus-visible {
  outline: 2px solid var(--green-text);
  outline-offset: 3px;
  border-radius: 4px;
}

.pu__rail li span {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pu__rail li.is-at { color: var(--navy); }
.pu__rail li.is-at span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.pu__rail li.is-done { color: var(--ink-soft); }
.pu__rail li.is-done span {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy);
}

.pu__go { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.pu__go [hidden] { display: none; }

.pu__go .pu__back { order: -1; }

@media (max-width: 560px) {
  .pu__rail { gap: 0.3rem 0.9rem; }

  .pu__rail li { font-size: 0; gap: 0; }
  .pu__rail li span { font-size: 0.78rem; }
  .pu__go .btn { flex: 1 1 auto; }
}

.pu input[type="date"] {
  color-scheme: light;
  accent-color: var(--green);

  height: 53.19px;
  padding-right: 0.75rem;
}

.pu input[type="date"]::-webkit-calendar-picker-indicator {
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.12s ease;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3.25' y='5' width='17.5' height='15.75' rx='2.5' stroke='%233a801a' stroke-width='1.8'/%3E%3Cpath d='M3.25 9.75h17.5' stroke='%233a801a' stroke-width='1.8'/%3E%3Cpath d='M8 3.25v3.5M16 3.25v3.5' stroke='%233a801a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}
.pu input[type="date"]:hover::-webkit-calendar-picker-indicator,
.pu input[type="date"]:focus::-webkit-calendar-picker-indicator { opacity: 1; }

.pu input[type="date"]::-webkit-datetime-edit-text,
.pu input[type="date"]::-webkit-datetime-edit-year-field,
.pu input[type="date"]::-webkit-datetime-edit-month-field,
.pu input[type="date"]::-webkit-datetime-edit-day-field { color: var(--ink); }

.pu input[type="date"]:invalid::-webkit-datetime-edit { color: var(--muted); }

.qf__req {
  color: var(--green-text);
  font-weight: 700;
  margin-left: 0.15em;
}

.pu__key {
  margin: -1.1rem 0 1.9rem;
  font-size: var(--step--1);
  color: var(--muted);
}
.pu__key span { color: var(--green-text); font-weight: 700; }

.pu input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}

.mdp-wrap { position: relative; display: flex; }
.mdp-wrap input[type="date"] { flex: 1; min-width: 0; padding-right: 2.9rem; }

.mdp-open {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--green-text);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.12s ease, background 0.12s ease;
}
.mdp-open svg { width: 20px; height: 20px; }
.mdp-open:hover { opacity: 1; background: rgba(106, 218, 53, 0.13); }
.mdp-open:focus-visible {
  opacity: 1;
  outline: 2px solid var(--green-text);
  outline-offset: 1px;
}

.mdp {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 30;
  width: 19.5rem;
  max-width: calc(100vw - 2.5rem);
  padding: 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(8, 14, 28, 0.17);
}
.mdp[hidden] { display: none; }

.mdp.is-up { top: auto; bottom: calc(100% + 0.45rem); }

.mdp__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.mdp__title {
  font-size: var(--step-14);
  font-weight: 700;
  color: var(--navy);
}

.mdp__nav {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
}
.mdp__nav svg { width: 15px; height: 15px; }
.mdp__nav:hover { border-color: var(--green-text); color: var(--green-text); }

.mdp__dow,
.mdp__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.mdp__dow span {
  padding: 0.3rem 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.mdp__day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  cursor: pointer;
}
.mdp__day:hover { background: rgba(106, 218, 53, 0.16); }
.mdp__day:focus-visible { outline: 2px solid var(--green-text); outline-offset: -2px; }

.mdp__day[disabled] { color: var(--muted); opacity: 0.4; cursor: default; }
.mdp__day[disabled]:hover { background: none; }

.mdp__day.is-today { box-shadow: inset 0 0 0 1.5px var(--line); }

.mdp__day.is-on,
.mdp__day.is-on:hover {
  background: var(--green);
  color: var(--navy);
  box-shadow: none;
}

.mdp__foot {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.mdp__act {
  flex: 1;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.mdp__act:hover { border-color: var(--green-text); color: var(--green-text); }
.mdp__act--quiet { color: var(--muted); }

.pu .qf__row + .pu__customs { margin-top: 1.35rem; }

@media (min-width: 720px) {
  .pu__row--addr { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}
@media (min-width: 560px) and (max-width: 719.98px) {
  .pu__row--addr { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}

@media (min-width: 560px) {
  .pu__row--codes {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr);
  }
}

@media (min-width: 720px) {
  .pu__row--contact { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.4fr); }
}

.pu__railbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.9rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.pu__rail {
  margin: 0;
  padding: 0;
  border-bottom: 0;
}

.pu__now { display: none; }

@media (max-width: 560px) {
  .pu__now { display: inline-block; }

  .qf__legend .pu__step:not(.pu__now) { display: none; }
}
