/* 내 홈페이지 PHP 는 안전한가 — 서비스 고유 화면.
   틀(헤더·푸터·글꼴·첫 띠)은 aurelabs.co.kr 홈페이지 CSS(static/site/site.css, 고치지 않음)를 그대로 쓰고,
   이 파일은 그 위에 서비스 본문만 꾸민다. 홈페이지 CSS 와 부딪히지 않도록
   - 규칙은 모두 .hc(본문 감싸개) 안으로 한정하고, - 색 변수는 --hc- 로 시작한다(홈페이지가 --card 등을 이미 씀).
   홈페이지 CSS 는 Tailwind 기본 초기화(목록 점·제목 크기·문단 여백 없앰)를 쓰므로 본문에서 필요한 것은 여기서 되살린다. */
.hc {
  --hc-ink: #183c5d; --hc-text: #2a4258; --hc-muted: #627a90; --hc-line: #dce7ef; --hc-soft: #f8fbfd; --hc-card: #fff;
  --hc-link: #1b6f99; --hc-navy: #0b2d6b; --hc-cyan: #2193b3;
  --hc-a: #1f9d55; --hc-b: #5f9e44; --hc-c: #c99700; --hc-d: #d97300; --hc-f: #d0312d; --hc-none: #8a94a3;
  --hc-warn-bg: #fff6e5; --hc-ok-bg: #edf8f1; --hc-red-bg: #fdeeee; --hc-yellow-bg: #fff8e1; --hc-gray-bg: #f1f4f7;
  color: var(--hc-text); line-height: 1.7;
}
.hc code, .hc pre { font-family: ui-monospace, SFMono-Regular, Consolas, "D2Coding", monospace; font-size: .9em; }
.hc b, .hc strong { font-weight: 700; }
.hc .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hc .muted { color: var(--hc-muted); }
.hc .small { font-size: .88rem; }

/* 첫 띠(홈페이지의 re-inner-hero 를 그대로 쓰고, 첫 화면 밖의 쪽은 높이를 줄인다) */
.re-inner-hero.hc-compact .container { min-height: 0; padding-block: 4rem 2.8rem; }
.re-inner-hero.hc-compact h1 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); margin: 1.1rem 0 .9rem; }
.hc-hero .hc-host { word-break: break-all; }
.hc-hero code { color: #e8f5ff; }
.hc-subnav { margin-top: 1.8rem; }
.hc-subnav a { font-family: Manrope, "Pretendard Variable", sans-serif; font-size: .82rem; letter-spacing: .04em; }
.hc-hero .check { margin-top: 1rem; max-width: 760px; }
.hc-hero .check input[type=text] { border-color: transparent; }
.hc-hero .check button { background: #8feaf3; color: #05162f; }
.hc-hero .check button:hover { background: #b6f2f8; }
.hc-hero .hide-opt, .hc-hero .loading { color: #c0d4e9; }
/* 결과 화면: 첫 띠를 더 낮게 하고 다른 사이트 입력칸을 띠 안에 둔다(PHP 칸이 첫 화면에 보이도록) */
.re-inner-hero.hc-tight .container { padding-block: 1.9rem 1.5rem; }
.re-inner-hero.hc-tight h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .6rem 0 .8rem; letter-spacing: -.05em; }
.hc-tight .check { margin-top: 0; }
.hc-tight .hide-opt { flex-basis: auto; }
.hc-tight .hc-subnav { margin-top: 1rem; }
.re-inner-hero.hc-tight + .hc-wrap { padding-top: 1.4rem; }
.hc-hero .alert { margin-top: 1rem; max-width: 760px; color: #4a3200; }

/* 본문 */
.hc .hc-wrap { max-width: 1120px; padding-top: 2.6rem; padding-bottom: 3.6rem; }
.hc .hc-wrap a { color: var(--hc-link); text-decoration: underline; text-underline-offset: 2px; }
.hc .hc-wrap p { margin: .45rem 0; }
.hc .hc-wrap ul { list-style: disc; padding-left: 1.3rem; margin: .4rem 0; }
.hc .hc-wrap ol { list-style: decimal; padding-left: 1.4rem; margin: .4rem 0; }
.hc .hc-wrap h2 { color: var(--hc-ink); font-size: 1.32rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.35; margin: 0 0 .7rem; }
.hc .hc-wrap summary { cursor: pointer; }

.check { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.check input[type=text] { flex: 1 1 320px; min-width: 0; font-size: 1.05rem; padding: 14px 16px; border: 1px solid #ccdde9;
  border-radius: 10px; background: #fff; color: #183951; }
.check input[type=text]:focus { outline: none; border-color: #2193b3; box-shadow: 0 0 0 3px #2193b333; }
.check button, .hc .btn { font-size: 1rem; font-weight: 760; min-height: 51px; padding: .8rem 1.5rem; border: 0; border-radius: 999px;
  background: #0b2d6b; color: #fff; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.check button:hover, .hc .btn:hover { background: #154686; }
.hc .hc-wrap a.btn { color: #fff; text-decoration: none; }
.check button[disabled] { opacity: .6; cursor: progress; }
.hide-opt { flex-basis: 100%; font-size: .93rem; color: var(--hc-muted); display: flex; gap: .45rem; align-items: center; }
.loading { flex-basis: 100%; margin: 0; font-weight: 600; }
.alert { background: #fff6e5; border-left: 4px solid #d97300; padding: 10px 14px; border-radius: 8px; }

.hc .intro { color: var(--hc-text); margin: 0 0 1rem; }
.hc .intro li { margin: 5px 0; }
.scope-note { background: var(--hc-card); border: 1px solid var(--hc-line); border-left: 5px solid var(--hc-cyan); border-radius: 12px;
  padding: 14px 18px; margin-top: 12px; font-size: .95rem; }
.hc .card.scope { border-left: 5px solid var(--hc-cyan); }
/* 점검 범위 | PHP 정보 두 칸 */
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; margin-top: 18px; }
.cols2.one { grid-template-columns: 1fr; }
.hc .cols2 > .card { margin-top: 0; }
@media (max-width: 900px) { .cols2 { grid-template-columns: 1fr; } .meta-grid { grid-template-columns: 1fr; } }

.boards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 28px; }
.hc .board, .hc .card { background: var(--hc-card); border: 1px solid var(--hc-line); border-radius: 17px; padding: 1.4rem 1.6rem;
  box-shadow: 0 10px 30px #0b2d6b0b; }
.list { width: 100%; border-collapse: collapse; }
.list td { padding: 7px 2px; border-bottom: 1px solid var(--hc-line); word-break: break-all; }
.list .num { text-align: right; font-variant-numeric: tabular-nums; }
.list .sum td { font-weight: 700; border-bottom: 0; }
.g { font-weight: 800; }
.g-a { color: var(--hc-a); } .g-b { color: var(--hc-b); } .g-c { color: var(--hc-c); } .g-d { color: var(--hc-d); } .g-f { color: var(--hc-f); } .g-none { color: var(--hc-none); }
.fp { word-break: break-all; }

.summary { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; background: var(--hc-card); border: 1px solid var(--hc-line);
  border-radius: 17px; padding: 1.5rem; box-shadow: 0 10px 30px #0b2d6b0b; }
.gradebox { width: 120px; height: 120px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font: 800 3.2rem/1 Manrope, "Pretendard Variable", sans-serif; letter-spacing: -.04em; color: #fff; flex: 0 0 auto; }
.gradebox.g-a { background: var(--hc-a); color: #fff; } .gradebox.g-b { background: var(--hc-b); color: #fff; }
.gradebox.g-c { background: var(--hc-c); color: #fff; } .gradebox.g-d { background: var(--hc-d); color: #fff; }
.gradebox.g-f { background: var(--hc-f); color: #fff; } .gradebox.g-none { background: var(--hc-none); color: #fff; }
/* 등급 옆 네 칸(사이트 주소·확인 시각 / 점수·보고서 번호) — 넓은 화면 2열, 좁은 화면 1열 */
.meta-grid { flex: 1 1 420px; min-width: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; align-self: center; }
.meta-grid > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--hc-line); }
.meta-grid dt { color: var(--hc-muted); font-weight: 600; white-space: nowrap; }
.meta-grid dd { margin: 0; word-break: break-all; color: var(--hc-ink); }
.kv { border-collapse: collapse; width: 100%; }
.kv th, .kv td { text-align: left; padding: 6px 10px 6px 0; vertical-align: top; border-bottom: 1px solid var(--hc-line); word-break: break-all; }
.kv th { white-space: nowrap; color: var(--hc-muted); font-weight: 600; width: 1%; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.chip { font-size: .82rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #fff; }
.chip.ok { background: var(--hc-a); } .chip.no { background: var(--hc-f); } .chip.neutral { background: var(--hc-none); }
.hc .legend { margin: 6px 0 0; }

.hc .card { margin-top: 18px; }
.hc .card.warn { background: var(--hc-warn-bg); } .hc .card.ok { background: var(--hc-ok-bg); }
.hc .lead { font-size: 1.1rem; font-weight: 700; color: var(--hc-ink); }
.php.tone-red { background: var(--hc-red-bg); border-left: 5px solid var(--hc-f); }
.php.tone-green { background: var(--hc-ok-bg); border-left: 5px solid var(--hc-a); }
.php.tone-yellow { background: var(--hc-yellow-bg); border-left: 5px solid var(--hc-c); }
.php.tone-gray { background: var(--hc-gray-bg); border-left: 5px solid var(--hc-none); }
.src { font-size: .88rem; color: var(--hc-muted); }
.php-head { font-weight: 700; }
.tip { position: relative; display: inline-block; vertical-align: middle; }
.tip-btn { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--hc-muted); background: #fff; color: var(--hc-ink);
  font-weight: 800; font-size: .8rem; line-height: 1; cursor: help; padding: 0; }
.tip-text { display: none; position: absolute; left: 50%; top: 28px; transform: translateX(-50%); z-index: 10; width: max-content;
  max-width: min(320px, 80vw); background: #0b2444; color: #e8f5ff; font-weight: 400; font-size: .88rem; line-height: 1.5;
  padding: 8px 11px; border-radius: 8px; box-shadow: 0 6px 18px rgba(2,18,36,.25); }
.tip:hover .tip-text, .tip-btn:focus + .tip-text, .tip-btn:focus-visible + .tip-text { display: block; }
.inquiry { background: #fff; border: 1px solid var(--hc-line); border-radius: 8px; padding: 10px 12px; margin: 6px 0;
  font-family: inherit; font-size: .95rem; line-height: 1.6; }
.copy { font-size: .92rem; font-weight: 700; padding: 8px 16px; border: 1px solid #ccdde9; border-radius: 999px;
  background: #fff; color: var(--hc-ink); cursor: pointer; }

.tests { display: grid; gap: 8px; }
.test { border: 1px solid var(--hc-line); border-radius: 12px; padding: 0; background: var(--hc-card); }
.test summary { display: grid; grid-template-columns: 56px 1fr; gap: 2px 12px; padding: 11px 13px; list-style: none; }
.test summary::-webkit-details-marker { display: none; }
.test .mod { grid-row: span 2; font-weight: 800; font-size: 1.05rem; align-self: center; text-align: center; border-radius: 8px; padding: 6px 0; }
.st-bad .mod { background: var(--hc-red-bg); color: var(--hc-f); }
.st-good .mod { background: var(--hc-ok-bg); color: var(--hc-a); }
.st-ok .mod { background: var(--hc-gray-bg); color: var(--hc-muted); }
.test .tt { font-weight: 700; color: var(--hc-ink); }
.test .tx { color: var(--hc-muted); font-size: .95rem; }
.test .more { padding: 0 13px 13px 81px; }
.wrapcode { white-space: pre-wrap; word-break: break-all; }
.unknowns li { margin: 3px 0; }
.raw { border-collapse: collapse; width: 100%; margin-top: 10px; }
.raw th, .raw td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--hc-line); padding: 5px 8px 5px 0; }
.raw th { white-space: nowrap; font-weight: 600; width: 1%; }
.fine p { font-size: .92rem; }
.hc .doc h2 { margin-top: 1.8rem; }
.hc .doc h2:first-of-type { margin-top: .6rem; }

/* 서비스 안내 띠(홈페이지 푸터 바로 위) */
.hc-service-foot { background: #eef4f9; border-top: 1px solid #dce7ef; font-size: .88rem; color: #4d6478; }
.hc .hc-service-foot .hc-wrap { padding-top: 1.3rem; padding-bottom: 1.3rem; }
.hc .hc-service-foot p { margin: .2rem 0; }

@media (max-width: 560px) {
  .gradebox { width: 88px; height: 88px; font-size: 2.4rem; }
  .test .more { padding-left: 13px; }
  .kv th { white-space: normal; }
  .hc .board, .hc .card { padding: 1.1rem 1.1rem; }
}
.chip { display: inline-flex; align-items: center; gap: 4px; }
.chip svg { stroke-width: 3; flex: 0 0 auto; }
.hc .legend .chip { padding: 2px 5px; vertical-align: -3px; }
/* 첫 화면 제목 한 줄(2026-10-22 사용자 요청) — 좁은 휴대폰 화면에서만 줄바꿈 허용 */
.re-inner-hero h1.hc-oneline { font-size: clamp(2rem, 6.4vw, 5rem); }
@media (min-width: 640px) { .re-inner-hero h1.hc-oneline { white-space: nowrap; } }
