html.pt-intake-active { overflow: hidden; }

dialog.pt-intake {
  --pt-type: var(--ink, #152c45);
  --pt-muted: var(--muted, #455b72);
  --pt-blue: var(--blue, #164bb1);
  --pt-border: #c9d5de;
  --pt-pale: #ecf3f8;
  --pt-danger: #9c2d32;
  position: fixed;
  inset: 0;
  width: min(944px, calc(100vw - 64px));
  max-width: none;
  max-height: min(92vh, 950px);
  max-height: min(92dvh, 950px);
  padding: 0;
  margin: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #b8c6d1;
  border-radius: 6px;
  background: white;
  color: var(--pt-type);
  font: inherit;
  font-size: 17px;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: anywhere;
  box-shadow: 0 18px 65px rgb(18 39 55 / 17%);
}
.pt-intake, .pt-intake *, .pt-intake *::before, .pt-intake *::after { box-sizing: border-box; }
.pt-intake:not([open]), .pt-intake [hidden] { display: none !important; }
.pt-intake::backdrop { background: rgb(21 38 52 / 46%); }
.pt-intake .pt-intake-wrap { position: relative; }
.pt-intake [data-pane="form"] { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); }
.pt-intake .pt-intake-header {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 55px 34px 36px;
  border-right: 1px solid #d9e3ea;
  background: var(--pt-pale);
}
.pt-intake h2 {
  margin: 0;
  color: var(--pt-type);
  font-family: "Plum Editorial", "AppleMyungjo", "Nanum Myeongjo", Batang, serif;
  font-size: clamp(33px, 2.8vw, 43px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.pt-intake h2:focus { outline: 0; }
.pt-intake :is(.pt-intake-intro, .pt-intake-result) {
  margin: 17px 0 0; color: var(--pt-muted); font-size: 17px; line-height: 1.75; letter-spacing: -.025em;
}
.pt-intake .pt-dialog-controls { position: sticky; top: 0; z-index: 2; height: 0; display: flex; justify-content: flex-end; pointer-events: none; }
.pt-intake .pt-intake-close {
  position: relative;
  flex: 0 0 42px; height: 42px; margin: 7px 7px 0 0; padding: 0;
  border: 1px solid transparent; border-radius: 50%; color: var(--pt-type); background: white; pointer-events: auto; cursor: pointer;
}
.pt-intake .pt-intake-close::before, .pt-intake .pt-intake-close::after {
  content: ""; position: absolute; left: 10px; top: 19px; width: 20px; height: 2px; border-radius: 1px; background: currentColor; transform: rotate(45deg);
}
.pt-intake .pt-intake-close::after { transform: rotate(-45deg); }
.pt-intake .pt-intake-close:hover { background: var(--pt-pale); border-color: var(--pt-border); }
.pt-intake .pt-local-note, .pt-intake .pt-intake-offline {
  margin-top: auto; padding-top: 24px; color: var(--pt-muted); font-size: 15px; line-height: 1.65;
}
.pt-intake :is(.pt-local-note, .pt-intake-offline)::before {
  content: ""; display: block; width: 30px; margin-bottom: 10px; border-top: 1px solid #879eaf;
}
.pt-intake .pt-intake-form {
  min-width: 0; display: grid; align-content: start; gap: 17px; margin: 0; padding: 50px 38px 30px;
}
.pt-intake .pt-intake-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.pt-intake .pt-contact-single { grid-template-columns: 1fr; }
.pt-intake-form label { display: block; min-width: 0; color: var(--pt-type); font-size: 17px; font-weight: 650; line-height: 1.45; }
.pt-intake-form label small, .pt-intake-form .pt-check b { margin-left: 3px; color: var(--pt-muted); font-size: 14px; font-weight: 450; }
.pt-intake-form .pt-check b { color: var(--pt-blue); font-weight: 620; }
.pt-intake-form input:not([type=checkbox]), .pt-intake-form textarea {
  display: block; width: 100%; min-width: 0; min-height: 46px; margin-top: 6px; padding: 9px 12px;
  border: 1px solid #91a4b3; border-radius: 3px; background: #fff; color: var(--pt-type);
  font: inherit; font-size: 16px; font-weight: 400; line-height: 1.5; letter-spacing: -.013em;
}
.pt-intake-form textarea { height: 71px; min-height: 71px; max-height: 240px; resize: vertical; }
.pt-intake-form :is(input, textarea)::placeholder { color: #5c6f7e; opacity: 1; }
.pt-intake :is(input, textarea, button, summary, a, .pt-intake-error):focus-visible { outline: 2px solid var(--pt-blue); outline-offset: 3px; }
.pt-intake-form input:not([type=checkbox]):focus, .pt-intake-form textarea:focus { border-color: var(--pt-blue); }
.pt-intake-form .pt-intake-context { margin: -10px 0 0; color: var(--pt-muted); font-size: 15px; line-height: 1.6; }
.pt-intake .pt-intake-permissions { border-top: 1px solid var(--pt-border); }
.pt-intake .pt-intake-policy { margin: 0 0 5px; }
.pt-intake .pt-intake-policy summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 8px 1px;
  list-style: none; cursor: pointer; color: var(--pt-type); font-size: 17px; font-weight: 620; line-height: 1.55;
}
.pt-intake .pt-intake-policy summary::-webkit-details-marker { display: none; }
.pt-intake .pt-intake-policy summary::after { content: ""; width: 9px; height: 9px; margin-right: 5px; border: solid var(--pt-blue); border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.pt-intake .pt-intake-policy[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.pt-intake .pt-intake-policy p { margin: 0 0 12px; color: var(--pt-muted); font-size: 15px; line-height: 1.75; }
.pt-intake .pt-check { display: grid; grid-template-columns: 19px minmax(0,1fr); gap: 2px 10px; align-items: start; padding: 6px 0; font-size: 16px; font-weight: 450; line-height: 1.5; cursor: pointer; }
.pt-intake .pt-check input { appearance: auto; width: 19px; height: 19px; margin: 3px 0 0; accent-color: var(--pt-blue); }
.pt-intake .pt-check .pt-field-error { grid-column: 2; margin-top: 0; }
.pt-intake .pt-field-error { display: block; margin-top: 5px; color: var(--pt-danger); font-size: 14px; font-weight: 500; line-height: 1.5; }
.pt-intake-form :is(input,textarea)[aria-invalid=true] { border-color: var(--pt-danger); }
.pt-intake .pt-intake-error { padding: 12px 14px; color: var(--pt-danger); border-left: 2px solid var(--pt-danger); background: #fdf2f2; font-size: 16px; }
.pt-intake .pt-intake-submit {
  display: block; width: 100%; min-height: 50px; margin: 0; padding: 12px 16px;
  border: 1px solid transparent; border-radius: 3px; background: var(--pt-blue); color: white;
  font: inherit; font-size: 17px; font-weight: 640; line-height: 1.4; cursor: pointer;
}
.pt-intake .pt-intake-submit:hover { background: #0e3659; }
.pt-intake .pt-intake-submit:disabled { background: #546c80; cursor: wait; }
dialog.pt-intake:has([data-pane=success]:not([hidden])) { width: min(510px, calc(100vw - 40px)); }
.pt-intake [data-pane="success"] { padding: 48px 36px 34px; }
.pt-intake .pt-intake-mark { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border: 1px solid #9cb4c6; border-radius: 50%; color: var(--pt-blue); background: var(--pt-pale); font-size: 20px; }
.pt-intake .pt-receipt { padding-block: 12px; margin: 23px 0 0; border-block: 1px solid var(--pt-border); color: var(--pt-type); font-variant-numeric: tabular-nums; font-size: 16px; }
.pt-intake .pt-intake-done { margin-top: 26px; }

@media (max-width: 780px) {
  dialog.pt-intake { width: min(575px, calc(100vw - 36px)); }
  .pt-intake [data-pane="form"] { display: block; }
  .pt-intake .pt-intake-header { padding: 26px 28px 21px; border: 0; border-bottom: 1px solid #d9e3ea; }
  .pt-intake .pt-intake-header h2 { padding-right: 34px; text-align: left; text-wrap: pretty; }
  .pt-intake :is(.pt-intake-intro, .pt-intake-result) { margin-top: 9px; line-height: 1.65; }
  .pt-intake .pt-intake-close { background: var(--pt-pale); }
  .pt-intake .pt-local-note, .pt-intake .pt-intake-offline { margin-top: 11px; padding-top: 9px; border-top: 1px solid #cad8e2; }
  .pt-intake :is(.pt-local-note, .pt-intake-offline)::before { display: none; }
  .pt-intake .pt-intake-form { padding: 22px 28px 26px; }
}
@media (max-width: 520px) {
  dialog.pt-intake, dialog.pt-intake:has([data-pane=success]:not([hidden])) {
    inset: auto 0 0; width: 100%; max-height: calc(100vh - 10px); max-height: calc(100dvh - 10px);
    margin: 0; border: 0; border-top: 1px solid #b8c6d1; border-radius: 8px 8px 0 0;
  }
  .pt-intake .pt-intake-header { padding: 23px 20px 18px; }
  .pt-intake h2 { font-size: 31px; }
  .pt-intake .pt-intake-form { gap: 17px; padding: 21px 20px max(24px, env(safe-area-inset-bottom)); }
  .pt-intake .pt-intake-grid { grid-template-columns: 1fr; gap: 16px; }
  .pt-intake .pt-contact-row { grid-template-columns: 1fr; gap: 17px; }
  .pt-intake [data-pane="success"] { padding: 38px 22px max(24px, env(safe-area-inset-bottom)); }
}
@media (max-width: 350px) {
  .pt-intake .pt-intake-header { padding-inline: 16px; }
  .pt-intake .pt-intake-form { padding-inline: 16px; }
}

.pt-withdraw{margin:16px 0;font-size:16px}.pt-withdraw summary,.pt-withdraw-submit{text-decoration:underline;text-underline-offset:3px}.pt-withdraw p{margin:8px 0}.pt-withdraw-submit{min-height:44px;font-weight:600}