.public-page .mast-inner { max-width: 1160px; }
.public-card { width: min(calc(100% - 32px), 530px); margin: clamp(22px, 7vh, 72px) auto; padding: clamp(20px, 4vw, 36px); }
.public-card h1 { margin-bottom: 18px; }
.public-card form, .public-card .field { display: grid; gap: 8px; }
.public-card form { gap: 18px; }
.public-card .field > label { color: var(--navy); font-weight: 600; }
.public-card input:not([type=hidden],[type=checkbox]), .public-card select { min-width: 0; width: 100%; height: 44px; border: 1px solid #9aaeba; border-radius: 4px; font: inherit; padding: 8px 10px; background: white; }
.password-field { display: flex; gap: 6px; }
.password-field button { white-space: nowrap; font-size: 14px; }
.public-card .form-link { margin-top: 20px; }
.public-card .consent { display: flex; align-items: baseline; gap: 8px; }
.public-card .consent input { flex: none; }
.public-card #public-notice:not(:empty), .public-card .success-message { border-left: 4px solid #326f94; background: #edf5fa; padding: 12px; margin-bottom: 18px; }
#public-notice strong { display: block; }
.public-card #public-notice[data-type=danger] { border-color: #a33248; background: #fff0f1; }
.public-card code { overflow-wrap: anywhere; }
@media (max-width: 520px) {
    .public-page .mast-inner { display: flex; width: calc(100% - 32px); gap: 12px; }
    .public-page .identity strong { font-size: 18px; }
    .public-page .brand { width: 95px; height: 54px; flex: none; }
}
