.aform { display: grid; gap: 24px; }
.aform__req { font-size: .875rem; line-height: 1.45; font-weight: 600; color: var(--ink-2); }
.req { margin-left: 3px; color: var(--red); font-weight: 800; }
.aform__row { display: grid; gap: 24px; }
@media (min-width: 640px) {
  .aform__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .aform__rowhint { grid-column: 1 / -1; margin-top: -10px; }
}
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field__label { font-weight: 700; font-size: .9375rem; line-height: 1.35; color: var(--ink); }
.field__input {
  width: 100%; min-height: 52px; padding: 12px 16px; margin: 0;
  border: 1.5px solid #788DB3; border-radius: 14px; background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.4;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field__input::placeholder { color: #66769A; font-weight: 500; opacity: 1; }
.field__input:hover { border-color: #4F6A9A; }
.field__input:focus, .field__input:focus-visible { outline: none; border-color: var(--badge-blue); box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--badge-blue); }
.field__input--area { min-height: 156px; resize: vertical; }
.field.is-invalid .field__input { border-color: var(--red); border-width: 2px; background: #FFF7F5; }
.field.is-invalid .field__input:focus { box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--red); }
.field__hint { font-size: .8125rem; line-height: 1.45; color: var(--ink-2); }
.field__error { display: flex; align-items: flex-start; gap: 8px; font-size: .875rem; line-height: 1.45; font-weight: 700; color: #A82301; }
.field__error .i { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.field__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.field__count { font-size: .8125rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.field__count.is-low { color: #A82301; }

.drop {
  position: relative; border: 2px dashed #788DB3; border-radius: 18px; background: var(--paper);
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.drop:hover { border-color: var(--badge-blue); background: #EDF4FF; }
.drop.is-drag { border-style: solid; border-color: var(--badge-blue); background: #E2EDFF; }
.drop.has-file { border-style: solid; border-color: var(--navy); background: #fff; }
.drop.is-invalid { border-color: var(--red); background: #FFF7F5; }
.drop:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.drop__input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.drop__face { display: flex; align-items: center; gap: 16px; min-height: 92px; padding: 16px 18px; pointer-events: none; }
.drop__icon {
  flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--navy); color: var(--yellow); box-shadow: 0 4px 0 var(--red);
}
.drop__icon .i { width: 26px; height: 26px; }
.drop__doc, .drop.has-file .drop__up { display: none; }
.drop.has-file .drop__doc { display: block; }
.drop__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.drop__choose { font-weight: 800; font-size: 1rem; color: var(--badge-blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.drop__drag { font-size: .875rem; line-height: 1.4; color: var(--ink-2); }
.drop__dropmsg { display: none; font-weight: 800; color: var(--badge-blue); }
.drop.is-drag .drop__choose, .drop.is-drag .drop__drag { display: none; }
.drop.is-drag .drop__dropmsg { display: block; }
@media (hover: none) and (pointer: coarse) { .drop__drag { display: none; } }
.drop__file { display: none; flex-direction: column; min-width: 0; }
.drop.has-file .drop__text { display: none; }
.drop.has-file .drop__file { display: flex; }
.drop__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; color: var(--ink); }
.drop__size { font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.drop__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.chipbtn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--navy); color: #fff; font-weight: 700; font-size: .875rem;
}
.chipbtn:hover { background: var(--badge-blue); }
.chipbtn--quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #788DB3; }
.chipbtn--quiet:hover { background: #EDF4FF; color: var(--ink); }
.chipbtn .i { width: 16px; height: 16px; }

.consents { margin: 0; padding: 24px 0 0; min-width: 0; border: 0; border-top: 1px solid var(--line-light); display: grid; gap: 18px; }
.consents__title { float: left; width: 100%; padding: 0; margin-bottom: 2px; font-weight: 800; font-size: 1.0625rem; color: var(--navy); }
.consents__title + * { clear: both; }
.consent { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px 14px; align-items: start; }
.consent__box {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin: 1px 0 0; flex: none;
  border: 2px solid #788DB3; border-radius: 8px; background: #fff center / 17px no-repeat; cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.consent__box:hover { border-color: var(--badge-blue); }
.consent__box:checked {
  border-color: var(--navy); background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FECF03' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.consent__box:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.consent__label { font-size: .9375rem; line-height: 1.6; font-weight: 500; color: var(--ink); cursor: pointer; }
.consent__label > span[lang]:not(:lang(de)) { -webkit-hyphens: manual; hyphens: manual; }
.consent__link { color: var(--badge-blue); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.consent__opt, .field__opt {
  display: inline-block; margin-left: 4px; padding: 1px 9px; border-radius: 999px;
  background: #E6EDF8; color: var(--ink-2); font-size: .75rem; font-weight: 700; line-height: 1.6; white-space: nowrap; vertical-align: 1px;
}
.consent .field__error { grid-column: 2; }
.consent.is-invalid .consent__box { border-color: var(--red); background-color: #FFF0EC; }
.consent.is-invalid .consent__box:checked { background-color: var(--navy); }

.robot { display: grid; gap: 8px; padding-top: 22px; border-top: 1px solid var(--line-light); }
.robot__title { font-weight: 800; font-size: 1.0625rem; color: var(--navy); }
.robot__widget:empty { display: none; }
.robot__widget { min-height: 65px; max-width: 420px; }
.robot.is-invalid .robot__widget { border-radius: 10px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red); }

.aform__end { display: grid; gap: 14px; padding-top: 4px; }
.aform__msg:empty { display: none; }
.aform__btn { width: 100%; min-height: 58px; font-size: 1.0625rem; }
@media (min-width: 640px) { .aform__btn { width: auto; justify-self: start; padding: 0 36px; } }
.aform__btn[aria-disabled="true"] { cursor: progress; }
.aform__btn[aria-disabled="true"]::before { background: #F3D84F; }
.aform__msg, .amsg { scroll-margin: calc(var(--nav-h) + var(--strip-h) + 16px) 0 24px; }
.aform__msg:focus { outline: none; }
.aform__msg:focus-visible .amsg { outline: 3px solid var(--focus); outline-offset: 3px; }
.amsg { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 16px; font-weight: 600; font-size: .9375rem; line-height: 1.5; }
.amsg .i { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.amsg--ok { background: var(--navy); color: #fff; }
.amsg--ok .i { color: var(--yellow); }
.amsg__proto {
  display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 999px;
  background: rgba(254, 207, 3, .16); color: var(--yellow); font-size: .8125rem; font-weight: 700;
}
.amsg--err { background: #FFF1EE; color: #8A1C00; box-shadow: inset 0 0 0 1.5px rgba(193, 41, 1, .45); }
.amsg--err .i { color: var(--red); }

.field__select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082046' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 20px;
}
.field.is-invalid .field__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082046' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 20px;
}
.field__select:invalid { color: #66769A; font-weight: 500; }
.field__select option { color: var(--ink); font-weight: 600; }

:lang(ja) .field__hint, :lang(zh-Hans) .field__hint { line-height: 1.8; }
