*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.notice a,
.checkbox-row a,
.legal a,
.back-link {
  color: #1a4a4a;
  font-size: 12px;
  text-decoration: underline;
}
.notice a:hover,
.checkbox-row a:hover,
.legal a:hover,
.back-link:hover {
  text-decoration: underline;
}
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background-color: #003949 !important; min-height: 100vh; display: flex; justify-content: center; padding: 2rem 1rem; }
#form1 { display: flex; flex-direction: column; max-width: 720px; width: 100%; }
#form1 > h2.page-title { font-family: var(--pm-font-serif) !important; font-weight: 400 !important; font-size: 36px !important; line-height: 1.15 !important; color: #fff !important; margin: 6px 0 22px !important; border: none !important; background: none !important; transform: none !important; }
.card { background: #fff; border-radius: 12px; box-shadow: 0 4px 32px rgba(0,0,0,.25); max-width: 720px; width: 100%; margin: 5px; padding: 2rem; height: fit-content; }
.header { display: flex; align-items: center; gap: 20px; margin-bottom: 1rem; }
.back-link { margin-left: auto; white-space: nowrap; }
.notice { font-size: 12px; color: #555; background: #f0f7f7; border: 1px solid #c2dada; border-radius: 8px; padding: 10px 14px; margin-bottom: 1.5rem; line-height: 1.5; }
.section { margin-bottom: 1.5rem; }
.section-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #aaa; margin-bottom: .75rem; padding-bottom: .4rem; border-bottom: 1px solid #e8f0f0; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.g3addr { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.g-city { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g-dob { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 6px; }
.mt { margin-top: 12px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label, label.field-label { font-size: 12px; color: #555; font-weight: 500; }
.req { color: #c0392b; margin-left: 2px; }
.opt { color: #bbb; font-weight: 400; font-size: 11px; margin-left: 4px; }
.field input[type=text], .field input[type=email], .field input[type=password], .field select,
.field .InputBox, .field .DropDownList {
  height: 34px; border: 1px solid #ddd; border-radius: 7px; padding: 0 10px;
  font-size: 13px; color: #1a1a1a; background: #fff; width: 100%;
  transition: border-color .15s;
}
.field input::placeholder { color: #bbb; }
.field input:focus, .field select:focus, .field .InputBox:focus, .field .DropDownList:focus { outline: none; border-color: #1a4a4a; box-shadow: 0 0 0 3px rgba(26,74,74,.12); }
.field select, .field .DropDownList { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; }
.phone-row { display: flex; gap: 6px; align-items: center; }
.phone-row select, .phone-row .DropDownList { width: 90px !important; flex-shrink: 0; }
.phone-area { width: 64px !important; flex-shrink: 0; }
.phone-dash { color: #bbb; font-size: 14px; flex-shrink: 0; }
.phone-num { flex: 1; }
.show-pw { display: flex; align-items: center; gap: 6px; margin-top: 6px; cursor: pointer; font-size: 12px; color: #888; user-select: none; }
.show-pw input { width: 14px; height: 14px; accent-color: #1a4a4a; cursor: pointer; }
.partner-toggle-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #c2dada; border-radius: 8px; margin-bottom: 1rem; background: #f0f7f7; }
.partner-toggle-row input[type=checkbox] { width: 16px; height: 16px; accent-color: #1a4a4a; cursor: pointer; flex-shrink: 0; }
.partner-toggle-row label { font-size: 13px; color: #444; cursor: pointer; margin: 0; font-weight: 400; }
.partner-section { border: 1px solid #c2dada; border-radius: 8px; padding: 1rem; background: #f0f7f7; margin-bottom: 1.5rem; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid #ececec; border-radius: 8px; margin-bottom: 8px; cursor: pointer; }
.checkbox-row:hover { background: #f0f7f7; }
.checkbox-row input[type=checkbox] { width: 15px; height: 15px; accent-color: #1a4a4a; margin-top: 2px; flex-shrink: 0; cursor: pointer; }
.checkbox-row span { font-size: 12px; color: #555; line-height: 1.5; }
.checkbox-row strong { color: #333; }
.cf-wrap { margin: 1rem 0; }
.btn-row { display: flex; gap: 10px; align-items: center; margin-top: 1.25rem; }
.btn-primary, input.btn-primary { height: 40px; padding: 0 28px; background: #1a4a4a; color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.btn-primary:hover, input.btn-primary:hover { background: #133838; }
.legal { font-size: 11px; color: #aaa; margin-top: 1rem; line-height: 1.6; }
.req-note { color: #c0392b; }
.Warning { color: #c0392b; font-size: 12px; }
.panel-message { font-size: 14px; color: #555; line-height: 1.6; padding: 1rem; background: #f0f7f7; border: 1px solid #c2dada; border-radius: 8px; margin-top: 1rem; }
.panel-message h2 { font-size: 18px; color: #1a1a1a; margin-bottom: .75rem; }
.copyright { font-size: 11px; color: #646464; text-align: center; margin-top: 1rem; }
@media (max-width: 700px) {
  #form1 > h2.page-title { font-size: 30px !important; }
}
@media (max-width: 560px) {
  body { padding-left: 10px; padding-right: 10px; }
  .g2, .g3, .g3addr, .g-city { grid-template-columns: 1fr; }
  .card { padding: 1.25rem; margin: 5px; }
}
