/* PETERNET AI One-click guide | v1.0.0 | No framework / no external fonts */
.pnoc-modal, .pnoc-modal * { box-sizing: border-box; }
.pnoc-modal {
  --pnoc-blue: #0754fa;
  --pnoc-ink: #0a173e;
  --pnoc-copy: #42567d;
  --pnoc-line: #dce5f4;
  color-scheme: light;
  width: min(1320px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  padding: 0;
  margin: auto;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  color: var(--pnoc-ink);
  box-shadow: 0 28px 100px #0614313b, 0 4px 20px #12244a14;
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans CJK KR", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.6;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: contain;
}
.pnoc-modal:not([open]) { display: none; }
.pnoc-modal::backdrop { background: rgb(12 25 48 / 57%); backdrop-filter: blur(3px); }
.pnoc-modal :is(h2,h3,p,figure,ol) { margin: 0; padding: 0; }
.pnoc-modal button, .pnoc-modal input { font: inherit; }
.pnoc-modal button { appearance: none; border: 0; cursor: pointer; background: none; color: inherit; }
.pnoc-modal button:focus-visible, .pnoc-modal input:focus-visible { outline: 3px solid #0754fa; outline-offset: 4px; }
.pnoc-modal svg { display: block; width: 24px; height: 24px; flex: 0 0 auto; }
.pnoc-top-close { position: absolute; z-index: 5; right: 10px; top: 7px; width: 44px; height: 44px; padding: 11px; border-radius: 50%; color: #516891 !important; }
.pnoc-top-close:hover { background: #eef4fd; }
.pnoc-top-close svg { width: 22px; height: 22px; }
.pnoc-frame { display: grid; grid-template-columns: 51% 49%; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); min-height: 0; }
.pnoc-modal .pnoc-visual { display: flex; align-items: center; align-self: stretch; min-width: 0; min-height: 0; margin: 16px 0; border-radius: 0 23px 23px 0; overflow: hidden; background: #edf7ff; }
.pnoc-visual img { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.pnoc-right { display: flex; flex-direction: column; min-width: 0; min-height: 0; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); padding: 0 36px 0 40px; }
.pnoc-copy { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 56px 0 0; scrollbar-width: thin; scrollbar-color: #c5d3ea transparent; }
.pnoc-heading h2 { font-size: 36px; line-height: 1.4; font-weight: 900; letter-spacing: -.06em; word-break: keep-all; }
.pnoc-heading h2:focus { outline: none; }
.pnoc-heading em { font-style: normal; color: var(--pnoc-blue); }
.pnoc-modal .pnoc-subheading { margin-top: 10px; padding: 2px 8px 4px; border-radius: 6px; font-size: 22px; font-weight: 800; line-height: 1.48; letter-spacing: -.055em; background: linear-gradient(90deg, #d9e8ff 0, #eef5ff 65%, #ffffff00 100%); word-break: keep-all; }
.pnoc-subheading strong { color: var(--pnoc-blue); font-weight: 900; }
.pnoc-description { margin-top: 25px; color: var(--pnoc-copy); font-size: 16.5px; line-height: 1.88; letter-spacing: -.05em; word-break: keep-all; overflow-wrap: break-word; }
.pnoc-description b { font-weight: 800; color: #243b63; }
.pnoc-modal .pnoc-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 7px; margin-top: 25px; padding: 0; }
.pnoc-steps li { min-width: 0; position: relative; text-align: center; }
.pnoc-step-icon { display: flex; align-items: center; justify-content: center; width: 66px; height: 66px; margin: 0 auto 9px; border-radius: 50%; color: var(--pnoc-blue); background: #edf4ff; }
.pnoc-step-icon svg { width: 32px; height: 32px; }
.pnoc-steps h3 { font-size: 15px; font-weight: 800; line-height: 1.5; letter-spacing: -.055em; white-space: nowrap; }
.pnoc-modal .pnoc-steps p { margin-top: 7px; color: var(--pnoc-copy); font-size: 15px; font-weight: 500; line-height: 1.6; letter-spacing: -.04em; word-break: keep-all; }
.pnoc-steps .pnoc-step-arrow { position: absolute; top: 24px; right: -12px; color: #607eb4; width: 16px; height: 16px; }
.pnoc-modal .pnoc-benefits { display: grid; grid-template-columns: 52px minmax(0,1fr) minmax(0,1.12fr); align-items: center; gap: 12px; margin-top: 29px; padding: 20px 16px; border-radius: 12px; background: #eef5ff; color: #204579; }
.pnoc-cap { color: var(--pnoc-blue); }
.pnoc-cap svg { width: 48px; height: 48px; stroke-width: 1.5; }
.pnoc-benefit-list { min-width: 0; }
.pnoc-benefit-list p { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; line-height: 1.6; letter-spacing: -.06em; white-space: nowrap; }
.pnoc-benefit-list p + p { margin-top: 7px; }
.pnoc-benefit-list p > span { display: inline-flex; flex: 0 0 18px; width: 18px; height: 18px; justify-content: center; align-items: center; border-radius: 50%; background: var(--pnoc-blue); color: white; }
.pnoc-benefit-list svg { width: 14px; height: 14px; stroke-width: 2.5; }
.pnoc-modal .pnoc-benefit-message { padding-left: 14px; border-left: 1px solid #c7d8f1; font-size: 13.5px; font-weight: 500; line-height: 1.8; letter-spacing: -.05em; word-break: keep-all; }
.pnoc-footer { flex: 0 0 auto; display: flex; justify-content: flex-end; align-items: center; gap: 22px; margin-top: 23px; padding: 13px 0 17px; border-top: 1px solid var(--pnoc-line); background: #fff; }
.pnoc-preference { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #3d5480; font-size: 15px; cursor: pointer; user-select: none; }
.pnoc-preference input { appearance: auto; width: 19px; height: 19px; margin: 0; padding: 0; accent-color: var(--pnoc-blue); cursor: pointer; }
.pnoc-footer-divider { display: block; width: 1px; height: 22px; background: #c6d5ed; }
.pnoc-bottom-close { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 82px; min-height: 44px; padding: 8px 0 8px 6px; border-radius: 8px; font-size: 17px !important; font-weight: 700 !important; }
.pnoc-bottom-close:hover { background: #f0f5fd; }
.pnoc-bottom-close svg { width: 25px; height: 25px; }
/* Only used when native <dialog>.showModal is not available. */
.pnoc-fallback-shade { position: fixed; inset: 0; z-index: 2147482998; background: rgb(12 25 48 / 57%); backdrop-filter: blur(3px); }
.pnoc-fallback-shade[hidden] { display: none !important; }
.pnoc-modal.pnoc-fallback-open { display: block; position: fixed; inset: 0; z-index: 2147482999; height: fit-content; }
@media (max-width: 1260px) and (min-width: 1101px) {
  .pnoc-right { padding-left: 27px; padding-right: 27px; }
  .pnoc-heading h2 { font-size: 29px; }
  .pnoc-subheading { font-size: 19px !important; }
  .pnoc-description { font-size: 14.5px; }
  .pnoc-steps h3, .pnoc-steps p { font-size: 13px !important; }
  .pnoc-modal .pnoc-benefits { grid-template-columns: 40px 1fr; gap: 12px; padding: 15px; }
  .pnoc-cap svg { width: 38px; height: 38px; }
  .pnoc-modal .pnoc-benefit-message { grid-column: 2; padding: 0; border: 0; }
}
@media (max-width: 1100px) {
  .pnoc-modal { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); border-radius: 20px; }
  .pnoc-frame { display: block; overflow-y: auto; overscroll-behavior: contain; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding-bottom: calc(79px + env(safe-area-inset-bottom,0px)); }
  .pnoc-modal .pnoc-visual { display: block; margin: 14px 14px 0; border-radius: 14px; }
  .pnoc-visual img { width: 100%; max-height: 470px; height: auto; object-fit: contain; }
  .pnoc-right { display: block; max-height: none; padding: 0 30px; }
  .pnoc-copy { padding: 27px 0 28px; overflow: visible; }
  .pnoc-heading h2 { font-size: 30px; }
  .pnoc-modal .pnoc-subheading { font-size: 21px; }
  .pnoc-description { font-size: 16px; }
  .pnoc-modal .pnoc-benefits { margin-top: 24px; }
  .pnoc-footer { position: absolute; z-index: 4; right: 0; bottom: 0; left: 0; margin: 0; padding: 11px 25px calc(11px + env(safe-area-inset-bottom,0px)); box-shadow: 0 -8px 16px #10285305; }
  .pnoc-top-close { background: #ffffffed !important; box-shadow: 0 2px 8px #23447a12; }
}
@media (max-width: 600px) {
  .pnoc-modal { width: calc(100vw - 20px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .pnoc-frame { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .pnoc-modal .pnoc-visual { margin: 10px 10px 0; }
  .pnoc-visual img { max-height: 430px; }
  .pnoc-right { padding: 0 22px; }
  .pnoc-copy { padding-top: 25px; }
  .pnoc-heading h2 { font-size: 27px; line-height: 1.45; letter-spacing: -.06em; }
  .pnoc-modal .pnoc-subheading { font-size: 19px; padding: 5px 7px; margin-top: 12px; }
  .pnoc-description { margin-top: 19px; font-size: 14.5px; line-height: 1.9; }
  .pnoc-modal .pnoc-steps { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 10px; row-gap: 22px; }
  .pnoc-step-icon { width: 62px; height: 62px; }
  .pnoc-steps h3 { font-size: 15px; }
  .pnoc-modal .pnoc-steps p { font-size: 14px; }
  .pnoc-steps li:nth-child(2) .pnoc-step-arrow { display: none; }
  .pnoc-steps .pnoc-step-arrow { right: -13px; }
  .pnoc-modal .pnoc-benefits { grid-template-columns: 44px 1fr; gap: 12px; padding: 16px; }
  .pnoc-cap svg { width: 42px; height: 42px; }
  .pnoc-benefit-list p { font-size: 13px; }
  .pnoc-modal .pnoc-benefit-message { grid-column: 2; border: 0; padding: 0; font-size: 13px; }
  .pnoc-footer { gap: 16px; padding-left: 20px; padding-right: 20px; }
  .pnoc-preference { font-size: 14px; }
}
@media (max-width: 360px) {
  .pnoc-steps h3 { font-size: 13px; letter-spacing: -.06em; }
}
@media (prefers-reduced-motion: no-preference) {
  .pnoc-modal[open] { animation: pnoc-appear .2s ease-out; }
  @keyframes pnoc-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
@media (forced-colors: active) {
  .pnoc-modal { border: 2px solid CanvasText; }
  .pnoc-step-icon, .pnoc-footer { border: 1px solid CanvasText; }
}
