/*
  Form Q 결과 직접입력 및 웹 퍼스널리포트
  - 공개 입력값은 브라우저에서만 계산
  - 결과 4페이지는 기존 PPT 구성을 웹용 HTML/SVG/CSS로 재현
*/
.formq-page-hero h1 {
  max-width: 880px;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.22;
  letter-spacing: -0.045em;
  word-break: keep-all;
}

.formq-page-hero p {
  max-width: 820px;
  line-height: 1.75;
  word-break: keep-all;
}

.formq-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 30px;
}

.formq-guide-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.055);
}

.formq-guide-card h2,
.formq-guide-card h3 {
  margin: 0 0 10px;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.formq-guide-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.formq-guide-card strong { color: var(--text); }

.formq-input-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.formq-input-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}

.formq-input-head h2 {
  margin: 4px 0 8px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.formq-input-head p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.75;
}

.formq-progress {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid rgba(215,255,66,.35);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(215,255,66,.08);
  font-weight: 900;
  white-space: nowrap;
}

.formq-facet-list {
  display: grid;
  gap: 0;
  padding: 0 28px;
}

.formq-axis-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 30px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(215,255,66,.32);
}

.formq-axis-heading strong {
  color: var(--accent);
  font-size: 18px;
}

.formq-axis-heading span {
  color: var(--muted);
  font-size: 13px;
}

.formq-facet {
  min-width: 0;
  margin: 0;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 34px minmax(100px, 150px) minmax(460px, 1fr) minmax(100px, 150px);
  gap: 12px;
  align-items: center;
}

.formq-facet-number {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.formq-facet-label {
  font-weight: 800;
  line-height: 1.35;
  word-break: keep-all;
}

.formq-facet-label-right { text-align: right; }

.formq-scale {
  display: grid;
  grid-template-columns: repeat(11, minmax(34px, 1fr));
  gap: 6px;
}

.formq-scale-option { cursor: pointer; }

.formq-scale-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.formq-scale-option span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(0,0,0,.26);
  font-size: 13px;
  font-weight: 800;
  transition: .16s ease;
}

.formq-scale-option:hover span {
  border-color: rgba(215,255,66,.55);
  color: var(--text);
}

.formq-scale-option input:focus-visible + span {
  outline: 3px solid rgba(215,255,66,.25);
  outline-offset: 2px;
}

.formq-scale-option input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: #090909;
  transform: translateY(-1px);
}

.formq-form-actions {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px;
}

.formq-form-actions .btn { min-width: 220px; }

.formq-form-actions .btn:disabled {
  cursor: not-allowed;
  opacity: .42;
  transform: none;
}

.formq-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.formq-status.success { color: var(--accent); }
.formq-status.error { color: var(--danger); }



/* =========================================================
   Form Q 웹 전용 A4 리포트
   - 화면: 반응형 웹 결과
   - 인쇄: A4 세로 4페이지
   ========================================================= */
.formq-result {
  display: grid;
  gap: 30px;
  margin-top: 46px;
  scroll-margin-top: 96px;
}

.formq-result-intro,
.formq-check-details {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.055);
}

.formq-result-intro {
  padding: 32px;
  text-align: center;
}

.formq-result-intro h2 {
  margin: 6px 0 12px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.formq-result-intro p:not(.eyebrow) {
  max-width: 800px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
}

.formq-result-intro-actions,
.formq-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.web-report-book {
  display: grid;
  justify-items: center;
  gap: 34px;
}

.web-report-page {
  --report-ink: #1d2832;
  --report-muted: #6c7883;
  --report-line: #d9e0e5;
  --report-paper: #f7f8f9;
  --report-panel: #ffffff;
  width: min(100%, 794px);
  aspect-ratio: 210 / 297;
  display: grid;
  grid-template-rows: 142px minmax(0, 1fr) 48px;
  overflow: hidden;
  color: var(--report-ink);
  background: var(--report-paper);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 3px;
  box-shadow: 0 24px 70px rgba(0,0,0,.46);
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.45;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.web-report-page * { box-sizing: border-box; }

.web-report-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  align-items: center;
  gap: 22px;
  padding: 24px 30px 22px 34px;
  color: #fff;
  background: linear-gradient(132deg, #18232d 0%, #263540 100%);
}

.web-report-header-copy { min-width: 0; }

.web-report-header-copy p {
  margin: 0 0 7px;
  color: #d7ff42;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.web-report-header-copy h3 {
  margin: 0;
  font-size: 33px;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.web-report-header-copy > span {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  line-height: 1.45;
}

.web-report-header-brand {
  position: relative;
  display: grid;
  place-items: center;
}

.web-report-header-brand img {
  width: 108px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.22);
}

.web-report-header-brand strong {
  position: absolute;
  right: -4px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #17222b;
  background: #d7ff42;
  border: 3px solid #1f2d37;
  font-size: 12px;
}

.web-report-content {
  min-height: 0;
  padding: 23px 30px 20px;
  background:
    linear-gradient(rgba(29,40,50,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,40,50,.025) 1px, transparent 1px),
    var(--report-paper);
  background-size: 24px 24px;
}

.web-report-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  color: rgba(255,255,255,.68);
  background: #1a252f;
  font-size: 9px;
  letter-spacing: .03em;
}

.web-report-footer strong {
  color: #d7ff42;
  font-size: 11px;
}

.report-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--report-line);
}

.report-section-title > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.report-section-title > div > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #17222b;
  background: #d7ff42;
  font-size: 10px;
  font-weight: 900;
}

.report-section-title strong {
  font-size: 17px;
  letter-spacing: -.025em;
}

.report-section-title small {
  color: var(--report-muted);
  font-size: 10px;
  text-align: right;
}

/* 레이더 차트 */
.report-radar {
  display: block;
  width: 100%;
  max-height: 100%;
  overflow: visible;
}

.report-radar-grid {
  fill: none;
  stroke: #aeb8c0;
  stroke-width: 1.25;
  stroke-dasharray: 5 5;
}

.report-radar-axis {
  stroke: #d1d8dd;
  stroke-width: 1;
}

.report-radar-area {
  fill: var(--radar-color);
  fill-opacity: .72;
  stroke: var(--radar-color);
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.report-radar-label {
  fill: #1b2630;
  font-size: 15px;
  font-weight: 900;
}

.report-radar-score {
  fill: #7a8792;
  font-size: 10px;
  font-weight: 800;
}

/* 1페이지 */
.report-page-one {
  height: 100%;
  display: grid;
  grid-template-rows: 92px 405px minmax(0, 1fr);
  gap: 16px;
}

.report-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.report-summary-metric {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  gap: 2px 10px;
  padding: 13px 15px;
  overflow: hidden;
  border: 1px solid var(--report-line);
  border-radius: 14px;
  background: rgba(255,255,255,.9);
}

.report-summary-metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #d7ff42;
}

.report-summary-metric > span {
  grid-column: 1 / -1;
  color: var(--report-muted);
  font-size: 9px;
  font-weight: 800;
}

.report-summary-metric strong {
  align-self: center;
  font-size: 19px;
  letter-spacing: -.03em;
}

.report-summary-metric em {
  align-self: center;
  color: #304250;
  font-size: 26px;
  font-style: normal;
  font-weight: 900;
}

.report-summary-metric small {
  grid-column: 1 / -1;
  color: #82909a;
  font-size: 9px;
}

.report-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-height: 0;
}

.report-chart-card,
.report-ranking-card,
.report-block,
.report-ability-radar-card,
.report-ability-top-card,
.report-ability-detail-section {
  border: 1px solid var(--report-line);
  border-radius: 16px;
  background: #fff;
}

.report-chart-card {
  min-height: 0;
  padding: 15px 16px 10px;
}

.report-chart-card .report-radar {
  height: 330px;
}

.report-ranking-card {
  min-height: 0;
  padding: 14px 17px 13px;
}

.report-ranking-list {
  display: grid;
  gap: 8px;
}

.report-ranking-row {
  display: grid;
  grid-template-columns: 22px 64px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}

.report-ranking-row > strong {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #eff2f4;
  color: #5f6d78;
  font-size: 10px;
}

.report-ranking-row > span { font-weight: 900; }
.report-ranking-row > b { text-align: right; }

.report-ranking-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7ebee;
}

.report-ranking-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--bar-color);
}

/* 2페이지 */
.report-page-two {
  height: 100%;
  display: grid;
  grid-template-rows: 224px 128px minmax(0, 1fr);
  gap: 16px;
}

.report-block { padding: 15px 16px; }

.report-needs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.report-need-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 7px 12px;
  padding: 12px 13px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--need-color) 10%, white);
  border: 1px solid color-mix(in srgb, var(--need-color) 30%, white);
}

.report-need-card > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.report-need-card > div:first-child span {
  color: var(--need-color);
  font-size: 9px;
  font-weight: 900;
}

.report-need-card > div:first-child strong { font-size: 14px; }
.report-need-card > b { color: var(--need-color); font-size: 22px; }
.report-need-card > small { color: var(--report-muted); font-size: 9px; }

.report-need-track {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
}

.report-need-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--need-color);
}

.report-share-section { padding-top: 14px; }

.report-share-wrap { display: grid; gap: 10px; }

.report-share-bar {
  display: flex;
  height: 25px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8ecef;
}

.report-share-bar span { min-width: 2px; }

.report-share-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  font-size: 10px;
}

.report-share-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.report-share-legend i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.report-share-legend strong { margin-left: auto; }

.report-tendency-section { min-height: 0; }

.report-tendency-list {
  display: grid;
  gap: 9px;
}

.report-tendency-pair {
  padding: 8px 10px 7px;
  border-radius: 11px;
  background: #f7f8fa;
}

.report-tendency-pair-head {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.report-tendency-pair-head > span {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 12px;
}

.report-tendency-pair-head > span:last-child { justify-content: flex-end; }
.report-tendency-pair-head > span:first-child b { color: var(--left-color); }
.report-tendency-pair-head > span:last-child b { color: var(--right-color); }
.report-tendency-pair-head strong { font-size: 13px; }
.report-tendency-pair-head b { font-size: 17px; }

.report-tendency-pair-head em {
  color: #6e7b85;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.report-tendency-diverge {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  align-items: center;
  height: 16px;
}

.report-tendency-diverge > span {
  width: 2px;
  height: 25px;
  background: #bcc5cc;
}

.report-tendency-half {
  height: 10px;
  display: flex;
  overflow: hidden;
  background: #e5e9ec;
}

.report-tendency-half-left {
  justify-content: flex-end;
  border-radius: 999px 0 0 999px;
}

.report-tendency-half-right { border-radius: 0 999px 999px 0; }

.report-tendency-half i {
  display: block;
  height: 100%;
}

.report-tendency-half-left i {
  background: var(--left-color);
  border-radius: 999px 0 0 999px;
}

.report-tendency-half-right i {
  background: var(--right-color);
  border-radius: 0 999px 999px 0;
}

.report-tendency-scale {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin-top: 2px;
  color: #9aa5ad;
  font-size: 8px;
}

.report-tendency-scale span:nth-child(2) { text-align: center; }
.report-tendency-scale span:last-child { text-align: right; }

/* 3·4페이지 */
.report-ability-page-body {
  height: 100%;
  display: grid;
  grid-template-rows: 370px minmax(0, 1fr);
  gap: 16px;
}

.report-ability-overview {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 16px;
  min-height: 0;
}

.report-ability-radar-card,
.report-ability-top-card,
.report-ability-detail-section {
  min-height: 0;
  overflow: hidden;
  padding: 15px 16px;
}

.report-ability-radar-card .report-radar { height: 252px; }

.report-top-three {
  display: grid;
  gap: 10px;
}

.report-top-three > div {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 9px;
  padding: 10px 10px 9px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--top-color) 10%, white);
  border: 1px solid color-mix(in srgb, var(--top-color) 28%, white);
}

.report-top-three > div > span {
  grid-row: 1 / 3;
  align-self: center;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #fff;
  background: var(--top-color);
  font-size: 10px;
  font-weight: 900;
}

.report-top-three strong { font-size: 13px; }
.report-top-three b { color: var(--top-color); font-size: 17px; }
.report-top-three small {
  grid-column: 2 / -1;
  color: #66737d;
  font-size: 9px;
  line-height: 1.45;
}

.report-ability-note {
  margin: 12px 0 0;
  padding: 10px;
  color: #6f7c86;
  background: #f0f3f5;
  border-radius: 10px;
  font-size: 9px;
  line-height: 1.55;
}

.report-ability-detail-section {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.report-ability-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 9px;
  min-height: 0;
}

.report-ability-detail {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 5px;
  padding: 9px 10px 8px;
  border-radius: 11px;
  border: 1px solid color-mix(in srgb, var(--ability-color) 25%, #d7dde1);
  background: color-mix(in srgb, var(--ability-color) 7%, white);
}

.report-ability-detail-head {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: baseline;
  gap: 7px;
}

.report-ability-detail-head span {
  color: var(--ability-color);
  font-size: 8px;
  font-weight: 900;
}

.report-ability-detail-head strong { font-size: 12px; }
.report-ability-detail-head b { color: var(--ability-color); font-size: 14px; }

.report-ability-detail p {
  margin: 0;
  color: #5d6973;
  font-size: 9px;
  line-height: 1.4;
}

.report-ability-detail-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
}

.report-ability-detail-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ability-color);
}

.formq-check-details {
  padding: 22px 24px;
}

.formq-check-details summary {
  cursor: pointer;
  font-weight: 900;
}

.formq-check-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.formq-check-grid span {
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  background: rgba(0,0,0,.24);
  color: var(--muted);
  font-size: 12px;
}

.formq-check-grid strong {
  display: block;
  color: var(--text);
  font-size: 18px;
}

body.formq-report-open .site-header { position: static; }

/* 입력 화면 반응형 */
@media (max-width: 920px) {
  .formq-guide { grid-template-columns: 1fr; }
  .formq-input-head { align-items: flex-start; flex-direction: column; }
  .formq-facet-list { padding: 0 20px; }
  .formq-facet {
    grid-template-columns: 28px 1fr 1fr;
    gap: 8px;
  }
  .formq-scale {
    grid-column: 2 / 4;
    grid-row: 2;
    grid-template-columns: repeat(11, minmax(30px, 1fr));
  }
  .formq-facet-label-left { grid-column: 2; }
  .formq-facet-label-right { grid-column: 3; }
}

/* 820px 이하에서는 A4 축소가 아니라 웹 흐름으로 자연스럽게 재배치 */
@media (max-width: 820px) {
  .web-report-page {
    width: 100%;
    aspect-ratio: auto;
    grid-template-rows: auto auto auto;
    border-radius: 18px;
  }

  .web-report-header {
    grid-template-columns: 1fr 86px;
    padding: 22px 22px 20px;
  }

  .web-report-header-copy h3 { font-size: clamp(25px, 7vw, 34px); }
  .web-report-header-copy > span { font-size: 12px; }
  .web-report-header-brand img { width: 80px; }
  .web-report-header-brand strong { width: 29px; height: 29px; }
  .web-report-content { padding: 20px; }
  .web-report-footer { grid-template-columns: 1fr auto; min-height: 54px; }
  .web-report-footer span:nth-child(2) { display: none; }

  .report-page-one,
  .report-page-two,
  .report-ability-page-body {
    height: auto;
    grid-template-rows: auto;
  }

  .report-summary-strip,
  .report-chart-grid,
  .report-needs-grid,
  .report-ability-overview,
  .report-ability-detail-grid {
    grid-template-columns: 1fr;
  }

  .report-summary-strip { gap: 10px; }
  .report-chart-card .report-radar,
  .report-ability-radar-card .report-radar { height: auto; max-height: 380px; }
  .report-ability-detail-grid { grid-auto-rows: auto; }
  .report-ability-detail { min-height: 104px; }
  .report-share-legend { grid-template-columns: repeat(2, 1fr); }
  .report-tendency-pair-head { grid-template-columns: 1fr 78px 1fr; }
  .formq-check-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .formq-page-hero h1 { font-size: 32px; }
  .formq-input-shell { border-radius: 20px; }
  .formq-input-head { padding: 22px 18px; }
  .formq-facet-list { padding: 0 14px; }
  .formq-axis-heading { align-items: flex-start; flex-direction: column; }
  .formq-scale { gap: 4px; }
  .formq-scale-option span { min-height: 34px; padding: 0; font-size: 11px; border-radius: 8px; }
  .formq-facet-label { font-size: 13px; }
  .formq-result-intro { padding: 24px 18px; }
  .formq-result-intro-actions, .formq-result-actions { flex-direction: column; }
  .formq-result-intro-actions .btn, .formq-result-actions .btn { width: 100%; }
  .report-section-title { align-items: flex-start; flex-direction: column; gap: 7px; }
  .report-section-title small { text-align: left; }
  .report-ranking-row { grid-template-columns: 22px 58px minmax(0,1fr) 36px; }
  .report-tendency-pair-head { grid-template-columns: 1fr; text-align: center; }
  .report-tendency-pair-head > span, .report-tendency-pair-head > span:last-child { justify-content: center; }
  .report-tendency-pair-head em { order: -1; }
}

/* 브라우저 인쇄 / PDF 저장 */
@page { size: A4 portrait; margin: 0; }

@media print {
  html, body { margin: 0 !important; padding: 0 !important; background: #fff !important; }
  body { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }

  .site-header,
  .page-hero,
  main > .section.compact,
  .formq-input-shell,
  .formq-result-intro,
  .formq-check-details,
  .formq-result-actions,
  body > .footer {
    display: none !important;
  }

  main > .section {
    padding: 0 !important;
  }

  main > .section > .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .formq-result,
  .web-report-book {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .web-report-page {
    width: 210mm !important;
    height: 297mm !important;
    min-height: 297mm !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    break-after: page;
    page-break-after: always;
  }

  .web-report-page:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  /* 인쇄에서는 화면 폭에 따른 모바일 재배치를 적용하지 않고 A4 데스크톱 구성을 고정합니다. */
  .web-report-page {
    grid-template-rows: 142px minmax(0, 1fr) 48px !important;
  }

  .web-report-header {
    grid-template-columns: minmax(0, 1fr) 118px !important;
    padding: 24px 30px 22px 34px !important;
  }

  .web-report-header-copy h3 { font-size: 33px !important; }
  .web-report-header-copy > span { font-size: 13px !important; }
  .web-report-header-brand img { width: 108px !important; }
  .web-report-header-brand strong { width: 34px !important; height: 34px !important; }
  .web-report-content { padding: 23px 30px 20px !important; }
  .web-report-footer {
    grid-template-columns: 1fr auto auto !important;
    min-height: 0 !important;
  }
  .web-report-footer span:nth-child(2) { display: inline !important; }

  .report-page-one {
    height: 100% !important;
    grid-template-rows: 92px 405px minmax(0, 1fr) !important;
  }
  .report-page-two {
    height: 100% !important;
    grid-template-rows: 224px 128px minmax(0, 1fr) !important;
  }
  .report-ability-page-body {
    height: 100% !important;
    grid-template-rows: 370px minmax(0, 1fr) !important;
  }

  .report-summary-strip { grid-template-columns: repeat(3, 1fr) !important; }
  .report-chart-grid { grid-template-columns: 1fr 1fr !important; }
  .report-needs-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .report-ability-overview { grid-template-columns: 1.08fr .92fr !important; }
  .report-ability-detail-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-auto-rows: 1fr !important;
  }
  .report-ability-detail { min-height: 0 !important; }
  .report-share-legend { grid-template-columns: repeat(4, 1fr) !important; }
  .report-tendency-pair-head {
    grid-template-columns: 1fr 100px 1fr !important;
    text-align: initial !important;
  }
  .report-tendency-pair-head > span { justify-content: flex-start !important; }
  .report-tendency-pair-head > span:last-child { justify-content: flex-end !important; }
  .report-section-title {
    align-items: flex-end !important;
    flex-direction: row !important;
    gap: 16px !important;
  }
  .report-section-title small { text-align: right !important; }
}

/* =========================================================
   2026-07 Form Q 웹 리포트 가독성·차트 재설계
   ========================================================= */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.formq-axis-heading {
  justify-content: flex-start;
}

.formq-axis-heading span {
  display: none;
}

.report-section-title {
  display: block;
  margin-bottom: 14px;
  padding-bottom: 10px;
}

.report-section-title > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.report-section-title strong {
  min-width: 0;
  font-size: 19px;
  line-height: 1.25;
  word-break: keep-all;
}

.report-section-title small {
  display: block;
  margin: 7px 0 0 36px;
  color: var(--report-muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
  word-break: keep-all;
}

.report-radar-label {
  font-size: 16px;
}

.report-radar-score {
  font-size: 11px;
}

/* 1페이지 */
.report-page-one-v2 {
  height: 100%;
  display: grid;
  grid-template-rows: 470px minmax(0, 1fr);
  gap: 16px;
}

.report-chart-grid-v2 {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.report-chart-grid-v2 .report-chart-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  padding: 16px 18px 14px;
  overflow: hidden;
}

.report-chart-grid-v2 .report-chart-card-tendency {
  grid-template-rows: auto minmax(0, 1fr);
}

.report-chart-grid-v2 .report-radar {
  align-self: center;
  height: 300px;
  max-height: 300px;
}

.report-need-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: -2px;
}

.report-need-guide > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 7px 9px;
  border-left: 4px solid var(--need-color);
  border-radius: 7px;
  background: color-mix(in srgb, var(--need-color) 8%, white);
}

.report-need-guide strong {
  font-size: 12px;
  white-space: nowrap;
}

.report-need-guide span {
  color: var(--report-muted);
  font-size: 11px;
  white-space: nowrap;
}

.report-all-abilities-card {
  min-height: 0;
  padding: 15px 18px 16px;
  border: 1px solid var(--report-line);
  border-radius: 16px;
  background: #fff;
}

.report-all-abilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(8, 1fr);
  gap: 7px 18px;
  min-height: 0;
}

.report-all-ability-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 36px auto;
  align-items: center;
  gap: 8px;
  min-height: 27px;
  font-size: 11px;
}

.report-all-ability-row > span {
  font-weight: 850;
  white-space: nowrap;
}

.report-all-ability-row > b {
  text-align: right;
  font-size: 12px;
}

.report-all-ability-row > em {
  padding: 2px 5px;
  border-radius: 999px;
  color: var(--ability-color);
  background: color-mix(in srgb, var(--ability-color) 12%, white);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.report-all-ability-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8ecef;
}

.report-all-ability-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ability-color);
}

/* 2페이지 */
.report-page-two-v2 {
  height: 100%;
  display: grid;
  grid-template-rows: 220px 120px minmax(0, 1fr);
  gap: 14px;
}

.report-needs-section-v2,
.report-share-section-v2,
.report-gauge-section {
  min-height: 0;
  padding: 14px 17px;
}

.report-needs-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 12px;
}

.report-need-card-v2 {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 7px 12px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--need-color) 28%, #dfe4e8);
  border-radius: 11px;
  background: color-mix(in srgb, var(--need-color) 7%, white);
}

.report-need-card-v2 > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.report-need-card-v2 strong {
  font-size: 14px;
}

.report-need-card-v2 span {
  color: var(--report-muted);
  font-size: 11px;
}

.report-need-card-v2 > b {
  color: var(--need-color);
  font-size: 21px;
}

.report-need-card-v2 .report-need-track {
  grid-column: 1 / -1;
}

.report-share-section-v2 .report-section-title {
  margin-bottom: 9px;
}

.report-gauge-section {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
}

.report-gauge-head {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  gap: 10px;
  margin: -2px 8px 4px;
  color: #53616c;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.report-gauge-list {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 5px;
}

.report-gauge-pair {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 116px 1fr;
  align-items: center;
  gap: 10px;
  padding: 2px 7px;
  border-radius: 12px;
  background: #fafbfc;
}

.report-semi-gauge {
  position: relative;
  min-height: 86px;
}

.report-semi-gauge svg {
  display: block;
  width: 100%;
  height: 86px;
  overflow: visible;
}

.report-semi-gauge-bg,
.report-semi-gauge-value {
  fill: none;
  stroke-width: 24;
  stroke-linecap: butt;
}

.report-semi-gauge-bg {
  stroke: color-mix(in srgb, var(--gauge-color) 20%, #eef1f3);
}

.report-semi-gauge-value {
  stroke: var(--gauge-color);
}

.report-semi-gauge-copy {
  position: absolute;
  left: 50%;
  bottom: 4px;
  display: grid;
  justify-items: center;
  transform: translateX(-50%);
  white-space: nowrap;
}

.report-semi-gauge-copy b {
  color: #17222b;
  font-size: 18px;
  line-height: 1;
}

.report-semi-gauge-copy strong {
  margin-top: 4px;
  color: var(--gauge-color);
  font-size: 16px;
  line-height: 1;
}

.report-semi-gauge > span {
  position: absolute;
  top: 2px;
  left: 50%;
  color: var(--report-muted);
  font-size: 9px;
  font-weight: 800;
  transform: translateX(-50%);
}

.report-gauge-center {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
}

.report-gauge-center strong {
  font-size: 15px;
  white-space: nowrap;
}

.report-gauge-center span {
  color: #1e3856;
  font-size: 28px;
  line-height: 1;
}

/* 3·4페이지 */
.report-ability-page-v2 {
  height: 100%;
  display: grid;
  grid-template-rows: 320px 245px minmax(0, 1fr);
  gap: 14px;
}

.report-ability-radar-v2,
.report-ability-bars-v2,
.report-ability-description-section {
  min-height: 0;
  padding: 14px 17px;
  overflow: hidden;
  border: 1px solid var(--report-line);
  border-radius: 16px;
  background: #fff;
}

.report-ability-radar-v2 .report-section-title,
.report-ability-bars-v2 .report-section-title,
.report-ability-description-section .report-section-title {
  margin-bottom: 8px;
}

.report-ability-radar-v2 .report-radar {
  width: min(100%, 430px);
  height: 246px;
  margin: -4px auto 0;
}

.report-vertical-bars {
  height: 170px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 10px;
  padding: 0 8px;
}

.report-vertical-bar {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: 20px 122px 22px;
  justify-items: center;
  align-items: end;
}

.report-vertical-bar > b {
  align-self: center;
  font-size: 12px;
}

.report-vertical-bar > strong {
  align-self: center;
  font-size: 11px;
  line-height: 1.15;
  white-space: nowrap;
}

.report-vertical-bar > em {
  position: absolute;
  top: -2px;
  right: 50%;
  padding: 2px 5px;
  border-radius: 999px;
  color: var(--ability-color);
  background: color-mix(in srgb, var(--ability-color) 12%, white);
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
  transform: translateX(50%) translateY(-100%);
  white-space: nowrap;
}

.report-vertical-track {
  position: relative;
  width: 30px;
  height: 122px;
  overflow: hidden;
  border-radius: 8px 8px 3px 3px;
  background: #e5e8ea;
}

.report-vertical-track i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  background: var(--ability-color);
  border-top: 2px solid color-mix(in srgb, var(--ability-color) 75%, #22313d);
}

.report-ability-description-section {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.report-ability-description-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, 1fr);
  gap: 7px 10px;
}

.report-ability-description {
  min-height: 0;
  padding: 8px 10px;
  border-left: 4px solid var(--ability-color);
  border-radius: 8px;
  background: color-mix(in srgb, var(--ability-color) 6%, white);
}

.report-ability-description > div {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}

.report-ability-description strong {
  font-size: 13px;
}

.report-ability-description b {
  margin-left: auto;
  color: var(--ability-color);
  font-size: 13px;
}

.report-ability-description em {
  padding: 2px 5px;
  border-radius: 999px;
  color: var(--ability-color);
  background: #fff;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.report-ability-description p {
  margin: 0;
  color: #515e68;
  font-size: 11.5px;
  line-height: 1.45;
  word-break: keep-all;
}

@media (max-width: 820px) {
  .report-page-one-v2,
  .report-page-two-v2,
  .report-ability-page-v2 {
    height: auto;
    grid-template-rows: auto;
  }

  .report-chart-grid-v2,
  .report-needs-grid-v2,
  .report-ability-description-grid {
    grid-template-columns: 1fr;
  }

  .report-all-abilities {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .report-chart-grid-v2 .report-radar,
  .report-ability-radar-v2 .report-radar {
    height: auto;
    max-height: 420px;
  }

  .report-gauge-head {
    grid-template-columns: 1fr 92px 1fr;
  }

  .report-gauge-pair {
    grid-template-columns: 1fr 88px 1fr;
    gap: 4px;
  }

  .report-semi-gauge-copy b { font-size: 16px; }
  .report-semi-gauge-copy strong { font-size: 14px; }

  .report-vertical-bars {
    height: auto;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 8px;
  }

  .report-ability-description-grid {
    grid-template-rows: none;
  }
}

@media (max-width: 560px) {
  .report-section-title strong { font-size: 18px; }
  .report-section-title small {
    margin-left: 0;
    font-size: 13px;
  }

  .report-need-guide { grid-template-columns: 1fr; }
  .report-need-guide strong,
  .report-need-guide span { font-size: 12px; }

  .report-all-ability-row {
    grid-template-columns: 58px minmax(0, 1fr) 34px;
  }
  .report-all-ability-row > em { display: none; }

  .report-gauge-head { display: none; }
  .report-gauge-pair {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
  }
  .report-gauge-center {
    order: -1;
    margin-bottom: 4px;
  }
  .report-gauge-center span { transform: rotate(90deg); }

  .report-vertical-bars {
    grid-template-columns: repeat(2, 1fr);
  }

  .report-ability-description p {
    font-size: 13px;
  }
}

@media print {
  .report-page-one-v2 {
    height: 100% !important;
    grid-template-rows: 470px minmax(0, 1fr) !important;
  }
  .report-chart-grid-v2 {
    grid-template-columns: 1fr 1fr !important;
  }
  .report-all-abilities {
    grid-template-columns: 1fr 1fr !important;
    grid-auto-flow: column !important;
    grid-template-rows: repeat(8, 1fr) !important;
  }

  .report-page-two-v2 {
    height: 100% !important;
    grid-template-rows: 220px 120px minmax(0, 1fr) !important;
  }
  .report-needs-grid-v2 {
    grid-template-columns: 1fr 1fr !important;
  }
  .report-gauge-head {
    display: grid !important;
    grid-template-columns: 1fr 120px 1fr !important;
  }
  .report-gauge-pair {
    grid-template-columns: 1fr 116px 1fr !important;
  }

  .report-ability-page-v2 {
    height: 100% !important;
    grid-template-rows: 320px 245px minmax(0, 1fr) !important;
  }
  .report-vertical-bars {
    height: 170px !important;
    grid-template-columns: repeat(8, 1fr) !important;
  }
  .report-ability-description-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: repeat(4, 1fr) !important;
  }

  .report-section-title {
    display: block !important;
  }
  .report-section-title small {
    margin: 7px 0 0 36px !important;
    text-align: left !important;
  }
}

/* =========================================================
   2026-07 웹 리포트 최종 구조
   - 1페이지: 중립색 16개 잠재능력 요약
   - 2페이지: 캡처 가능한 SVG 반원 게이지, 욕구별 좌우 지향 묶음
   - 3·4페이지: 큰 팔각형 + 금·은·동/보완 필요 능력 + 가로 막대 설명
   ========================================================= */

/* 공통 제목·차트 가독성 */
.report-section-title {
  display: block;
  margin-bottom: 14px;
  padding-bottom: 10px;
}
.report-section-title > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.report-section-title strong {
  min-width: 0;
  font-size: 19px;
  line-height: 1.25;
  word-break: keep-all;
}
.report-section-title small {
  display: block;
  margin: 7px 0 0 36px;
  color: var(--report-muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
  word-break: keep-all;
}
.report-radar-label { font-size: 17px; }
.report-radar-score { font-size: 12px; }

/* 1페이지 */
.report-page-one-v2 {
  height: 100%;
  display: grid;
  grid-template-rows: 470px minmax(0, 1fr);
  gap: 16px;
}
.report-chart-grid-v2 {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.report-chart-grid-v2 .report-chart-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  padding: 16px 18px 14px;
  overflow: hidden;
}
.report-chart-grid-v2 .report-chart-card-tendency {
  grid-template-rows: auto minmax(0, 1fr);
}
.report-chart-grid-v2 .report-radar {
  align-self: center;
  height: 312px;
  max-height: 312px;
}
.report-need-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: -2px;
}
.report-need-guide > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 7px 9px;
  border-left: 4px solid var(--need-color);
  border-radius: 7px;
  background: color-mix(in srgb, var(--need-color) 8%, white);
}
.report-need-guide strong { font-size: 12px; white-space: nowrap; }
.report-need-guide span { color: var(--report-muted); font-size: 11px; white-space: nowrap; }
.report-all-abilities-card {
  min-height: 0;
  padding: 15px 18px 16px;
  border: 1px solid var(--report-line);
  border-radius: 16px;
  background: #fff;
}
.report-all-abilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(8, 1fr);
  gap: 7px 18px;
  min-height: 0;
}
.report-all-ability-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  min-height: 29px;
  font-size: 12px;
}
.report-all-ability-row > span { font-weight: 850; white-space: nowrap; }
.report-all-ability-row > b { text-align: right; font-size: 12.5px; }
.report-all-ability-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8ecef;
}
.report-all-ability-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #788690;
}

/* 2페이지 */
.report-page-two-v2 {
  height: 100%;
  display: grid;
  grid-template-rows: 225px 105px minmax(0, 1fr);
  gap: 12px;
}
.report-needs-section-v2,
.report-share-section-v2,
.report-gauge-section {
  min-height: 0;
  overflow: hidden;
  padding: 14px 17px;
}
.report-needs-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 12px;
}
.report-need-card-v2 {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 7px 12px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--need-color) 28%, #dfe4e8);
  border-radius: 11px;
  background: color-mix(in srgb, var(--need-color) 7%, white);
}
.report-need-card-v2 > div:first-child { display: flex; align-items: baseline; gap: 8px; }
.report-need-card-v2 strong { font-size: 14px; }
.report-need-card-v2 span { color: var(--report-muted); font-size: 11px; }
.report-need-card-v2 > b { color: var(--need-color); font-size: 21px; }
.report-need-card-v2 .report-need-track { grid-column: 1 / -1; }
.report-share-section-v2 .report-section-title { margin-bottom: 9px; }
.report-gauge-section {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 13px 16px 15px;
}
.report-gauge-list {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.report-gauge-pair {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1px;
  padding: 5px 10px 3px;
  border: 1px solid #edf0f2;
  border-radius: 13px;
  background: #fbfcfd;
}
.report-gauge-pair-head {
  display: grid;
  grid-template-columns: 1fr 94px 1fr;
  align-items: center;
  gap: 8px;
  color: #66737d;
  font-size: 10px;
  font-weight: 850;
  text-align: center;
}
.report-gauge-pair-head strong { color: #1d2832; font-size: 14px; white-space: nowrap; }
.report-gauge-pair-body {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
}
.report-semi-gauge { min-width: 0; min-height: 0; }
.report-semi-gauge svg { display: block; width: 100%; height: 84px; overflow: visible; }
.report-semi-value {
  fill: #17222b;
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
}
.report-semi-name {
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
}
.report-gauge-center { display: grid; place-items: center; order: 0; }
.report-gauge-center span { color: #1e3856; font-size: 28px; line-height: 1; transform: none; }

/* 3·4페이지 */
.report-ability-page-v3 {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: 382px minmax(0, 1fr);
  gap: 14px;
}
.report-ability-overview-v3,
.report-ability-details-v3 {
  min-height: 0;
  overflow: hidden;
  padding: 14px 17px;
  border: 1px solid var(--report-line);
  border-radius: 16px;
  background: #fff;
}
.report-ability-overview-v3 {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}
.report-ability-overview-grid-v3 {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(215px, .86fr);
  align-items: stretch;
  gap: 16px;
}
.report-ability-radar-large-v3 {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
}
.report-ability-radar-large-v3 .report-radar {
  width: 100%;
  height: 295px;
  max-height: 295px;
}
.report-ability-ranking {
  min-width: 0;
  display: grid;
  grid-template-rows: auto repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 8px 0 2px;
}
.report-ability-ranking-title {
  display: grid;
  gap: 2px;
  padding: 0 3px 5px;
  border-bottom: 1px solid #e3e8eb;
}
.report-ability-ranking-title strong { font-size: 15px; }
.report-ability-ranking-title span { color: var(--report-muted); font-size: 10px; }
.report-rank-card {
  min-height: 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid #e1e6e9;
  border-radius: 11px;
  background: #fafbfc;
}
.report-rank-card > span { font-size: 21px; line-height: 1; text-align: center; }
.report-rank-card > div { min-width: 0; display: grid; gap: 2px; }
.report-rank-card strong { overflow-wrap: anywhere; font-size: 13.5px; line-height: 1.25; }
.report-rank-card small { color: var(--report-muted); font-size: 9.5px; }
.report-rank-card > b { color: #30404d; font-size: 17px; text-align: right; }
.report-rank-card-1 { background: #fffaf0; border-color: #f0d79e; }
.report-rank-card-2 { background: #f8fafb; border-color: #cfd6db; }
.report-rank-card-3 { background: #fff7f1; border-color: #e6c1a7; }
.report-rank-card-low { background: #fff5f4; border-color: #efb7b2; }
.report-rank-card-low > b { color: #d33d35; }
.report-rank-card-low small { color: #b44b45; font-weight: 850; }
.report-ability-details-v3 {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}
.report-ability-description-grid-v3 {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 8px 11px;
}
.report-ability-description {
  min-height: 0;
  display: grid;
  grid-template-rows: auto 7px minmax(0, 1fr);
  gap: 6px;
  padding: 9px 11px 10px;
  overflow: visible;
  border-left: 4px solid var(--ability-color);
  border-radius: 9px;
  background: color-mix(in srgb, var(--ability-color) 6%, white);
}
.report-ability-description-head { min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.report-ability-description-head strong { font-size: 13.5px; }
.report-ability-description-head b { margin-left: auto; color: var(--ability-color); font-size: 14px; white-space: nowrap; }
.report-ability-description-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e9ec;
}
.report-ability-description-track i { display: block; height: 100%; border-radius: inherit; background: var(--ability-color); }
.report-ability-description p {
  margin: 0;
  overflow: visible;
  color: #4a5863;
  font-size: 12.5px;
  line-height: 1.43;
  word-break: keep-all;
}

@media (max-width: 820px) {
  .report-page-one-v2,
  .report-page-two-v2,
  .report-ability-page-v3 {
    height: auto !important;
    grid-template-rows: auto !important;
  }
  .report-chart-grid-v2,
  .report-needs-grid-v2,
  .report-ability-overview-grid-v3,
  .report-ability-description-grid-v3 {
    grid-template-columns: 1fr;
  }
  .report-all-abilities {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
  .report-chart-grid-v2 .report-radar,
  .report-ability-radar-large-v3 .report-radar {
    height: auto;
    max-height: 460px;
  }
  .report-needs-section-v2,
  .report-share-section-v2,
  .report-gauge-section {
    overflow: visible;
  }
  .report-gauge-pair-head { grid-template-columns: 1fr 86px 1fr; }
  .report-gauge-pair-body { grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); }
  .report-semi-gauge svg { height: auto; min-height: 86px; }
  .report-ability-ranking {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
  .report-ability-ranking-title { grid-column: 1 / -1; }
  .report-ability-description-grid-v3 { grid-template-rows: none; }
  .report-ability-description p { font-size: 13.5px; }
}

@media (max-width: 560px) {
  .report-section-title strong { font-size: 18px; }
  .report-section-title small { margin-left: 0; font-size: 13px; }
  .report-radar-label { font-size: 15px; }
  .report-radar-score { font-size: 11px; }
  .report-need-guide { grid-template-columns: 1fr; }
  .report-need-guide strong,
  .report-need-guide span { font-size: 12px; }
  .report-all-ability-row { grid-template-columns: 58px minmax(0, 1fr) 34px; }
  .report-gauge-pair { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 3px; padding: 8px 7px 5px; }
  .report-gauge-pair-head { grid-template-columns: 1fr 78px 1fr; font-size: 9px; }
  .report-gauge-pair-head strong { font-size: 13px; }
  .report-gauge-pair-body { grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr); gap: 0; }
  .report-semi-gauge svg { min-height: 84px; }
  .report-semi-value { font-size: 20px; }
  .report-semi-name { font-size: 16px; }
  .report-gauge-center { order: 0 !important; margin-bottom: 0; }
  .report-gauge-center span { font-size: 23px; transform: none; }
  .report-ability-ranking { grid-template-columns: 1fr; grid-template-rows: auto; }
  .report-rank-card strong { font-size: 14px; }
  .report-rank-card small { font-size: 10.5px; }
  .report-ability-description-head strong,
  .report-ability-description-head b { font-size: 14.5px; }
  .report-ability-description p { font-size: 14px; line-height: 1.5; }
}

@media print {
  .report-page-one-v2 {
    height: 100% !important;
    grid-template-rows: 470px minmax(0, 1fr) !important;
  }
  .report-chart-grid-v2 { grid-template-columns: 1fr 1fr !important; }
  .report-all-abilities {
    grid-template-columns: 1fr 1fr !important;
    grid-auto-flow: column !important;
    grid-template-rows: repeat(8, 1fr) !important;
  }

  .report-page-two-v2 {
    height: 100% !important;
    grid-template-rows: 220px 120px minmax(0, 1fr) !important;
    gap: 10px !important;
  }
  .report-needs-grid-v2 { grid-template-columns: 1fr 1fr !important; gap: 6px 10px !important; }
  .report-need-card-v2 { gap: 4px 9px !important; padding: 7px 10px !important; }
  .report-needs-section-v2,
  .report-share-section-v2 { padding: 12px 15px !important; }
  .report-share-section-v2 { padding-top: 10px !important; padding-bottom: 9px !important; }
  .report-share-wrap { gap: 7px !important; }
  .report-gauge-section { grid-template-rows: auto minmax(0, 1fr) !important; padding: 10px 14px 11px !important; }
  .report-gauge-list { gap: 4px !important; }
  .report-gauge-pair { grid-template-columns: 1fr !important; padding: 2px 8px 1px !important; }
  .report-gauge-pair-head { display: grid !important; grid-template-columns: 1fr 94px 1fr !important; }
  .report-gauge-pair-body { grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) !important; }
  .report-semi-gauge svg { height: 64px !important; }
  .report-semi-value { font-size: 17px !important; }
  .report-semi-name { font-size: 14px !important; }

  .report-ability-page-v3 {
    height: 100% !important;
    grid-template-rows: 382px minmax(0, 1fr) !important;
  }
  .report-ability-overview-grid-v3 {
    grid-template-columns: minmax(0, 1.34fr) minmax(215px, .86fr) !important;
  }
  .report-ability-radar-large-v3 .report-radar { height: 295px !important; max-height: 295px !important; }
  .report-ability-ranking {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto repeat(4, minmax(0, 1fr)) !important;
  }
  .report-ability-ranking-title { grid-column: auto !important; }
  .report-ability-description-grid-v3 {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: repeat(4, minmax(0, 1fr)) !important;
  }
  .report-section-title { display: block !important; }
  .report-section-title small { margin: 7px 0 0 36px !important; text-align: left !important; }
}


/* =========================================================
   2페이지 단독 확정 보정
   - 01·02 영역 넘침 제거
   - 반원 게이지를 캡처 가능한 순수 SVG 도형으로 표시
   - 외적·내적지향성 표기는 컬럼 상단에 한 번만 배치
   ========================================================= */
.web-report-page-balance .report-page-two-v2 {
  height: 100%;
  display: grid;
  grid-template-rows: 252px 142px minmax(0, 1fr);
  gap: 12px;
}

.web-report-page-balance .report-needs-section-v2,
.web-report-page-balance .report-share-section-v2,
.web-report-page-balance .report-gauge-section {
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.web-report-page-balance .report-needs-section-v2 {
  padding: 14px 17px 15px;
}

.web-report-page-balance .report-needs-grid-v2 {
  grid-template-columns: 1fr 1fr;
  gap: 9px 12px;
}

.web-report-page-balance .report-need-card-v2 {
  min-height: 0;
  padding: 9px 12px 8px;
  gap: 5px 12px;
}

.web-report-page-balance .report-need-card-v2 .report-need-track {
  margin-top: 1px;
}

.web-report-page-balance .report-share-section-v2 {
  padding: 12px 17px 13px;
}

.web-report-page-balance .report-share-section-v2 .report-section-title {
  margin-bottom: 8px;
  padding-bottom: 7px;
}

.web-report-page-balance .report-share-wrap {
  gap: 7px;
}

.web-report-page-balance .report-share-bar {
  height: 24px;
}

.web-report-page-balance .report-share-legend {
  min-height: 18px;
}

.web-report-page-balance .report-gauge-section {
  display: grid;
  grid-template-rows: auto 20px minmax(0, 1fr);
  padding: 12px 16px 14px;
}

.web-report-page-balance .report-gauge-section .report-section-title {
  margin-bottom: 7px;
  padding-bottom: 7px;
}

.web-report-page-balance .report-gauge-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: #65727c;
  font-size: 10px;
  font-weight: 850;
  text-align: center;
}

.web-report-page-balance .report-gauge-columns strong {
  color: #1d2832;
  font-size: 11px;
}

.web-report-page-balance .report-gauge-list {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.web-report-page-balance .report-gauge-pair {
  min-height: 0;
  display: block;
  padding: 1px 8px;
  overflow: hidden;
  border: 1px solid #edf0f2;
  border-radius: 12px;
  background: #fbfcfd;
}

.web-report-page-balance .report-gauge-pair-body {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.web-report-page-balance .report-semi-gauge {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
}

.web-report-page-balance .report-semi-gauge svg {
  display: block;
  width: min(100%, 190px);
  height: auto;
  max-height: 82px;
  overflow: visible;
}

.web-report-page-balance .report-gauge-center {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
}

.web-report-page-balance .report-gauge-center strong {
  color: #1d2832;
  font-size: 14px;
  line-height: 1.15;
  white-space: nowrap;
}

.web-report-page-balance .report-gauge-center span {
  color: #1e3856;
  font-size: 25px;
  line-height: 1;
}

@media (max-width: 820px) {
  .web-report-page-balance .report-page-two-v2 {
    height: auto !important;
    grid-template-rows: auto !important;
  }

  .web-report-page-balance .report-needs-section-v2,
  .web-report-page-balance .report-share-section-v2,
  .web-report-page-balance .report-gauge-section {
    overflow: visible;
  }

  .web-report-page-balance .report-gauge-columns,
  .web-report-page-balance .report-gauge-pair-body {
    grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
    gap: 5px;
  }

  .web-report-page-balance .report-semi-gauge svg {
    width: min(100%, 180px);
    max-height: none;
  }
}

@media (max-width: 560px) {
  .web-report-page-balance .report-needs-grid-v2 {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
  }

  .web-report-page-balance .report-gauge-columns,
  .web-report-page-balance .report-gauge-pair-body {
    grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr);
    gap: 2px;
  }

  .web-report-page-balance .report-gauge-columns {
    font-size: 9px;
  }

  .web-report-page-balance .report-gauge-center strong {
    font-size: 13px;
  }

  .web-report-page-balance .report-gauge-center span {
    font-size: 21px;
  }
}

@media print {
  .web-report-page-balance .report-page-two-v2 {
    height: 100% !important;
    grid-template-rows: 252px 142px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .web-report-page-balance .report-needs-section-v2 {
    padding: 14px 17px 15px !important;
  }

  .web-report-page-balance .report-share-section-v2 {
    padding: 12px 17px 13px !important;
  }

  .web-report-page-balance .report-gauge-section {
    grid-template-rows: auto 20px minmax(0, 1fr) !important;
    padding: 12px 16px 14px !important;
  }

  .web-report-page-balance .report-gauge-columns,
  .web-report-page-balance .report-gauge-pair-body {
    grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .web-report-page-balance .report-gauge-pair {
    padding: 1px 8px !important;
  }

  .web-report-page-balance .report-semi-gauge svg {
    width: min(100%, 190px) !important;
    height: auto !important;
    max-height: 82px !important;
  }
}

/* =========================================================
   1·3·4페이지 하단 안전 여백 보정
   - 2페이지 관련 선택자는 수정하지 않습니다.
   - PC/A4 출력에서 레이더 최하단 항목·점수가 다음 영역과 붙거나 잘리지 않도록 보정합니다.
   ========================================================= */
@media (min-width: 821px) {
  /* 1페이지: '실현' 점수와 하단 욕구 설명칩 사이 안전 여백 */
  .web-report-page-overview .report-page-one-v2 {
    grid-template-rows: 492px minmax(0, 1fr);
    gap: 14px;
  }

  .web-report-page-overview .report-chart-card-need {
    padding-bottom: 20px;
  }

  .web-report-page-overview .report-chart-card-need .report-radar {
    margin-bottom: 14px;
  }

  /* 3·4페이지: 팔각형 최하단 항목·점수와 01 영역 하단 안전 여백 */
  .web-report-page-abilities-v3 .report-ability-page-v3 {
    grid-template-rows: 412px minmax(0, 1fr);
    gap: 12px;
  }

  .web-report-page-abilities-v3 .report-ability-overview-v3 {
    padding-bottom: 24px;
  }

  .web-report-page-abilities-v3 .report-ability-overview-grid-v3 {
    padding-bottom: 12px;
  }
}

@media print {
  .web-report-page-overview .report-page-one-v2 {
    grid-template-rows: 492px minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .web-report-page-overview .report-chart-card-need {
    padding-bottom: 20px !important;
  }

  .web-report-page-overview .report-chart-card-need .report-radar {
    margin-bottom: 14px !important;
  }

  .web-report-page-abilities-v3 .report-ability-page-v3 {
    grid-template-rows: 412px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .web-report-page-abilities-v3 .report-ability-overview-v3 {
    padding-bottom: 24px !important;
  }

  .web-report-page-abilities-v3 .report-ability-overview-grid-v3 {
    padding-bottom: 12px !important;
  }
}

/* =========================================================
   최종 가독성 보정
   - 1페이지 레이더·욕구 안내 글자 확대
   - 2페이지 성향명 외곽 배치, 반원 안에는 퍼센트만 표시
   - 3·4페이지 PC 설명카드 자동 높이 및 글자 확대
   - 기존 차트·카드 크기와 계산 구조는 유지
   ========================================================= */

/* 1페이지: 차트/안내 영역 크기는 유지하고 글자만 확대 */
.web-report-page-overview .report-chart-card .report-radar-label {
  font-size: 19px;
  font-weight: 850;
}
.web-report-page-overview .report-chart-card .report-radar-score {
  font-size: 13.5px;
  font-weight: 800;
}
.web-report-page-overview .report-need-guide strong {
  font-size: 13.5px;
}
.web-report-page-overview .report-need-guide span {
  font-size: 12.5px;
}

/* 2페이지: 좌우 성향명은 그래프 밖 라벨, 반원 내부는 퍼센트만 */
.web-report-page-balance .report-gauge-side {
  min-width: 0;
  display: grid;
  align-items: center;
  gap: 7px;
}
.web-report-page-balance .report-gauge-side-left {
  grid-template-columns: auto minmax(0, 1fr);
}
.web-report-page-balance .report-gauge-side-right {
  grid-template-columns: minmax(0, 1fr) auto;
}
.web-report-page-balance .report-gauge-name {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  padding: 7px 8px;
  border: 1px solid color-mix(in srgb, var(--gauge-color) 34%, white);
  border-radius: 999px;
  background: color-mix(in srgb, var(--gauge-color) 13%, white);
  color: var(--gauge-color);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.web-report-page-balance .report-gauge-side .report-semi-gauge svg {
  width: 100%;
  max-width: 154px;
}

/* 3·4페이지: PC에서 두 줄 설명도 카드 안에 남도록 내용 기준 행 높이 사용 */
@media (min-width: 821px) {
  .web-report-page-abilities-v3 .report-ability-description-grid-v3 {
    grid-template-rows: repeat(4, minmax(min-content, 1fr));
    align-content: stretch;
  }
  .web-report-page-abilities-v3 .report-ability-description {
    grid-template-rows: auto 7px auto;
    padding: 6px 10px 7px;
    gap: 3px;
  }
  .web-report-page-abilities-v3 .report-ability-description-head strong {
    font-size: 14.5px;
  }
  .web-report-page-abilities-v3 .report-ability-description-head b {
    font-size: 15px;
  }
  .web-report-page-abilities-v3 .report-ability-description p {
    font-size: 13px;
    line-height: 1.35;
  }
  .web-report-page-abilities-v3 .report-radar-label {
    font-size: 18.5px;
    font-weight: 850;
  }
  .web-report-page-abilities-v3 .report-radar-score {
    font-size: 13px;
    font-weight: 800;
  }
}

@media (max-width: 820px) {
  .web-report-page-balance .report-gauge-side {
    gap: 5px;
  }
  .web-report-page-balance .report-gauge-name {
    min-width: 42px;
    padding: 6px;
    font-size: 12px;
  }
  .web-report-page-balance .report-gauge-side .report-semi-gauge svg {
    max-width: 145px;
  }
}

@media (max-width: 560px) {
  .web-report-page-balance .report-gauge-side {
    gap: 2px;
  }
  .web-report-page-balance .report-gauge-name {
    min-width: 34px;
    padding: 5px 4px;
    font-size: 11px;
  }
  .web-report-page-balance .report-gauge-side .report-semi-gauge svg {
    max-width: 112px;
  }
}

@media print {
  .web-report-page-overview .report-chart-card .report-radar-label {
    font-size: 19px !important;
  }
  .web-report-page-overview .report-chart-card .report-radar-score {
    font-size: 13.5px !important;
  }
  .web-report-page-overview .report-need-guide strong {
    font-size: 13.5px !important;
  }
  .web-report-page-overview .report-need-guide span {
    font-size: 12.5px !important;
  }
  .web-report-page-balance .report-gauge-side {
    gap: 6px !important;
  }
  .web-report-page-balance .report-gauge-name {
    min-width: 43px !important;
    padding: 6px !important;
    font-size: 12px !important;
  }
  .web-report-page-balance .report-gauge-side .report-semi-gauge svg {
    max-width: 146px !important;
  }
  .web-report-page-abilities-v3 .report-ability-description-grid-v3 {
    grid-template-rows: repeat(4, minmax(min-content, 1fr)) !important;
  }
  .web-report-page-abilities-v3 .report-ability-description {
    grid-template-rows: auto 7px auto !important;
    padding: 6px 10px 7px !important;
    gap: 3px !important;
  }
  .web-report-page-abilities-v3 .report-ability-description-head strong {
    font-size: 14.5px !important;
  }
  .web-report-page-abilities-v3 .report-ability-description-head b {
    font-size: 15px !important;
  }
  .web-report-page-abilities-v3 .report-ability-description p {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
  .web-report-page-abilities-v3 .report-radar-label {
    font-size: 18.5px !important;
  }
  .web-report-page-abilities-v3 .report-radar-score {
    font-size: 13px !important;
  }
}

/* =========================================================
   퍼스널 리포트 고객확인·결제·저장 흐름
   ========================================================= */
.formq-access-choice,
.formq-access-panel {
  margin-top: 28px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
}

.formq-access-choice-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 22px;
}

.formq-access-choice-head h2,
.formq-access-panel-head h2,
.formq-purchase-fields h2 {
  margin: 7px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -.035em;
}

.formq-access-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.formq-access-choice-card {
  min-height: 180px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.formq-access-choice-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 70%, var(--line));
  background: rgba(255,255,255,.075);
}

.formq-access-choice-card > span,
.report-use-card > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #080808;
  font-size: 12px;
  font-weight: 900;
}

.formq-access-choice-card strong {
  font-size: 23px;
  letter-spacing: -.025em;
}

.formq-access-choice-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.formq-access-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.text-button {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.formq-access-help {
  margin: 12px 0 20px;
  color: var(--muted);
  line-height: 1.75;
}

.formq-customer-check-form,
.formq-pin-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.formq-pin-step {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.formq-pin-form:not(.formq-pin-form-setup) {
  grid-template-columns: minmax(0, 1fr) auto;
}

.formq-access-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.formq-access-status.success {
  background: rgba(55, 176, 115, .13);
  color: #8fe0b5;
}

.formq-access-status.error {
  background: rgba(223, 76, 76, .14);
  color: #ffaaaa;
}

.formq-access-status.loading {
  background: rgba(255,255,255,.08);
  color: var(--text);
}

.formq-workspace-section {
  padding-top: 10px;
}

.formq-purchase-fields {
  margin: -4px -4px 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.035);
}

.formq-transfer-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 18px 0;
  padding: 17px 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.formq-transfer-box > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.formq-transfer-box strong {
  overflow-wrap: anywhere;
  font-size: 17px;
  line-height: 1.45;
}

.formq-transfer-box b {
  color: var(--accent);
  font-size: 20px;
  white-space: nowrap;
}

.formq-purchase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.formq-authenticated-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  padding: 15px 18px;
  border: 1px solid rgba(55, 176, 115, .3);
  border-radius: 15px;
  background: rgba(55, 176, 115, .1);
}

.formq-authenticated-note strong {
  color: #a5eac4;
}

.formq-authenticated-note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .formq-access-choice-grid,
  .formq-purchase-grid {
    grid-template-columns: 1fr;
  }

  .formq-access-choice-card {
    min-height: 150px;
    padding: 20px;
  }

  .formq-access-panel-head,
  .formq-authenticated-note {
    display: grid;
  }

  .formq-customer-check-form,
  .formq-pin-form,
  .formq-pin-form:not(.formq-pin-form-setup) {
    grid-template-columns: 1fr;
  }

  .formq-customer-check-form .btn,
  .formq-pin-form .btn {
    width: 100%;
  }

  .formq-transfer-box {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
