/* layouts/lp4-act.css - 랜딩에서 «활동지원만의 것» (2026-11-15 · index.php 가 lp4.css · lp4-hero.css 뒤에 싣는다)
 *   lp4.css · lp4-hero.css 는 케어하자 랜딩 옷을 떠 온 것(구조를 똑같이) - 여기는 그 위에 얹는 것만:
 *     ① 첫 화면 «화면 준비 중» 판(.hx-soon - 아직 화면이 없는 주간활동 · 주간이용 · 그림이 없을 때의 보호자 앱)
 *     ② 서비스 구역 «체험 영상 준비 중» 판(.p4-soon - 케어하자 영상 판 .p4-player 자리 · 크기 규칙도 그 판과 같게)
 *     ③ 홈페이지 구역 태블릿 속 «견본 준비 중»(.p4-soonpg)
 *     ④ 요금 구역 «정하는 중»(.p4-px.is-tbd - 1명당 요금이 아직 없을 때 숫자 자리에 글)
 *     ⑤ 케어하자 옷(test.css)에 있고 lp.css 에 없는 것 메우기
 *   영상 · 화면 · 요금이 생기면 index.php · lp4-hero.php 의 표만 채우면 되고 이 옷은 그대로 남아도 된다.
 */

/* ⑤ 바탕 - lp.css 의 .lp-main 대신 케어하자 꼴(.p4) · 가로 넘침 막기 */
.p4-body { min-width: 0; }
.p4 a { -webkit-tap-highlight-color: transparent; }

/* ① 첫 화면 - 화면 준비 중 판(16:9 틀 안 · 치수는 가운데 화면 높이 --ch 를 따라 줄고 는다) */
.hx-soon { position: absolute; inset: 0; display: grid; grid-template-columns: 15% minmax(0, 1fr); font-size: calc(var(--ch) * .052); color: #0f172a; background: #eef2f6; }
.hx-soon__side { display: flex; flex-direction: column; gap: 5%; padding: 14% 14% 0; background: #fff; border-right: 1px solid #e2e8f0; }
.hx-soon__side i { display: block; height: 4.2%; border-radius: 99px; background: #e2e8f0; }
.hx-soon__side i:first-child { width: 62%; height: 6%; margin-bottom: 8%; border-radius: 6px; background: color-mix(in srgb, var(--c) 55%, #fff); }
.hx-soon__side i:nth-child(3) { background: color-mix(in srgb, var(--c) 26%, #fff); }
.hx-soon__main { display: flex; flex-direction: column; gap: 4%; min-width: 0; padding: 4% 3.2%; }
.hx-soon__kpi { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4%; height: 19%; }
.hx-soon__kpi i, .hx-soon__cols i { display: block; border-radius: .55em; background: #fff; box-shadow: 0 0 0 1px #e2e8f0; }
.hx-soon__kpi i:first-child { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 16%, #fff), #fff); }
.hx-soon__cols { flex: 1 1 0; display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.4%; min-height: 0; }
.hx-soon__cols i { background: repeating-linear-gradient(180deg, #fff 0 11%, #fff 11% 13.5%, #f1f5f9 13.5% 14.5%, #fff 14.5% 25%) #fff; }
.hx-soon__tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: .45em; padding: 1.1em 1.7em 1em; border-radius: 1.1em; white-space: nowrap;
	background: rgba(255, 255, 255, .94); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--c) 46%, #fff), 0 1.2em 2.6em -1em color-mix(in srgb, var(--c) 60%, rgba(15, 23, 42, .6)); }
.hx-soon__tag > i { display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: .8em; font-size: 1.05em; color: #fff; background: var(--c); }
.hx-soon__tag b { font-size: 1.28em; font-weight: 800; letter-spacing: -.03em; }
.hx-soon__tag em { font-style: normal; font-size: .98em; font-weight: 700; color: color-mix(in srgb, var(--c) 70%, #0f172a); }
.hx-soon--ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5em; position: static; width: 100%; height: 100%; border-radius: calc(var(--ch) * .056); font-size: calc(var(--ch) * .05); background: linear-gradient(180deg, #fff1f3, #fff); }
.hx-soon--ph i { font-size: 1.6em; color: var(--c); } .hx-soon--ph b { font-weight: 800; } .hx-soon--ph em { font-style: normal; font-weight: 700; color: #be123c; }

/* 첫 화면 제목 첫 줄 - 폰에서는 « ERP» 를 빼고 조금 작게(344px 폭에서 «ERP» 만 다음 줄로 떨어지던 것) */
@media (max-width: 760px) { .hx__l1x { display: none; } .hx__l1 { font-size: .9em; } }

/* ② 서비스 구역 - 체험 영상 준비 중 판(케어하자 .p4-sv .p4-player 와 같은 꼴 · 같은 크기 규칙) */
.p4-soon { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; margin: 0; aspect-ratio: 16 / 11; max-height: calc(100vh - var(--lp-nav-h, 74px) - 112px); border-radius: 18px; color: #fff;
	background: radial-gradient(120% 90% at 50% 46%, color-mix(in srgb, var(--c) 30%, #0b1220) 0%, #0b1220 62%, #070c16 100%);
	box-shadow: 0 34px 70px -28px color-mix(in srgb, var(--c) 45%, rgba(15, 23, 42, .55)), 0 0 0 1px rgba(15, 23, 42, .08); }
.p4-soon__poster { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; opacity: .2; filter: blur(3px) saturate(.8); }
.p4-soon__top { flex: none; display: flex; align-items: center; gap: 12px; padding: 20px 24px 0; }
.p4-soon__live { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 800; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.p4-soon__live i { font-size: 8px; color: #fbbf24; }
.p4-soon__top b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.p4-soon__mid { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 12px 24px; text-align: center; }
.p4-soon__ic { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; font-size: 30px; color: #fff; background: color-mix(in srgb, var(--c) 78%, #0b1220);
	box-shadow: 0 0 0 10px color-mix(in srgb, var(--c) 22%, transparent), 0 0 0 22px color-mix(in srgb, var(--c) 9%, transparent), 0 24px 50px -16px var(--c); }
.p4-soon__ic i { margin-left: 5px; }
.p4-soon__mid strong { margin-top: 12px; font-size: clamp(22px, 2vw, 30px); font-weight: 800; letter-spacing: -.035em; }
.p4-soon__mid p { margin: 0; max-width: 30em; font-size: 16.5px; font-weight: 600; line-height: 1.55; color: rgba(255, 255, 255, .84); word-break: keep-all; }
.p4-soon__bar { flex: none; display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 18px; background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .6)); }
.p4-soon__btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 15px; color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); }
.p4-soon__time { flex: none; font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .78); }
.p4-soon__segs { flex: 1 1 0; display: flex; gap: 6px; min-width: 0; }
.p4-soon__segs i { flex: 1 1 0; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .22); }
.p4-soon__chap { flex: none; font-size: 14.5px; font-weight: 700; color: rgba(255, 255, 255, .78); }
/* 준비 중인 단추 - 누를 수 없다는 것이 보이게(흐린 글자가 아니라 테두리 꼴) */
.p4-sv__full.is-soon { cursor: default; color: color-mix(in srgb, var(--c) 72%, #0f172a); background: #fff; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 45%, #cbd5e1); }
.p4-sv__full.is-soon:hover { filter: none; transform: none; }
.p4-sv__full.is-soon small { border-left-color: color-mix(in srgb, var(--c) 35%, #cbd5e1); }
a.p4-sv__full, a.p4-sv__gdgo { text-decoration: none; }
.p4-sv__badge { display: inline-flex; align-items: center; height: 26px; margin-left: 10px; padding: 0 10px; border-radius: 999px; font-size: 13.5px; font-weight: 800; letter-spacing: 0; color: color-mix(in srgb, var(--c) 72%, #0f172a); background: #fff; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 40%, #cbd5e1); }
@media (max-width: 1100px) { .p4-soon { max-height: none; } }
@media (max-width: 769px) {
	.p4-soon { aspect-ratio: 5 / 4; border-radius: 14px; }
	.p4-soon__top { padding: 12px 14px 0; gap: 8px; } .p4-soon__top b { font-size: 15px; } .p4-soon__live { height: 26px; padding: 0 10px; font-size: 12.5px; }
	.p4-soon__ic { width: 64px; height: 64px; font-size: 21px; box-shadow: 0 0 0 7px color-mix(in srgb, var(--c) 22%, transparent), 0 0 0 15px color-mix(in srgb, var(--c) 9%, transparent); }
	.p4-soon__mid { gap: 8px; padding: 8px 16px; } .p4-soon__mid strong { margin-top: 10px; font-size: 20px; } .p4-soon__mid p { font-size: 14.5px; }
	.p4-soon__bar { height: 46px; gap: 8px; padding: 0 10px; } .p4-soon__btn { width: 32px; height: 32px; font-size: 13px; } .p4-soon__time, .p4-soon__chap { font-size: 12.5px; }
}
@media (min-width: 1101px) and (max-height: 820px) { .p4-soon { max-height: calc(100vh - var(--lp-nav-h, 74px) - 40px); } }
@supports (height: 1cqw) {
	@media (min-width: 1101px) { .p4-soon { aspect-ratio: auto; max-height: none; height: min(68.75cqw, calc(100vh - var(--lp-nav-h, 74px) - 112px)); } }
	@media (min-width: 1101px) and (max-height: 820px) { .p4-soon { height: min(68.75cqw, calc(100vh - var(--lp-nav-h, 74px) - 40px)); } }
}

/* ③ 홈페이지 구역 - 태블릿 화면 속 «견본 준비 중»(뼈대 그림 + 가운데 글) */
.p4-soonpg { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; container-type: inline-size; }
.p4-soonpg__url { flex: none; display: flex; align-items: center; gap: 10px; height: 8%; min-height: 26px; padding: 0 2.4%; background: #f1f5f9; border-bottom: 1px solid #e2e8f0; }
.p4-soonpg__url > i { width: 9px; height: 9px; border-radius: 50%; background: #f87171; } .p4-soonpg__url > i:nth-child(2) { background: #fbbf24; } .p4-soonpg__url > i:nth-child(3) { background: #34d399; }
.p4-soonpg__url span { flex: 0 1 46%; display: flex; align-items: center; justify-content: center; gap: 6px; height: 64%; margin: 0 auto; border-radius: 8px; background: #fff; border: 1px solid #e2e8f0; font-size: clamp(12.5px, 1.9cqw, 15px); font-weight: 600; color: #334155; white-space: nowrap; overflow: hidden; }
.p4-soonpg__url span b { color: #b45309; }
.p4-soonpg__hero { flex: 1.25 1 0; display: flex; flex-direction: column; justify-content: center; gap: 4%; padding: 0 6%; background: linear-gradient(120deg, #fff7ed 0%, #ffedd5 55%, #fed7aa 100%); }
.p4-soonpg__hero i { display: block; height: 9%; max-height: 22px; border-radius: 99px; background: rgba(154, 52, 18, .26); }
.p4-soonpg__hero i:nth-child(1) { width: 46%; height: 13%; max-height: 30px; background: rgba(154, 52, 18, .5); } .p4-soonpg__hero i:nth-child(2) { width: 34%; } .p4-soonpg__hero i:nth-child(3) { width: 16%; height: 16%; max-height: 36px; margin-top: 2%; border-radius: 10px; background: #d97706; }
.p4-soonpg__cards { flex: 1 1 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; padding: 3.4% 6%; }
.p4-soonpg__cards i { display: block; border-radius: 12px; background: #f8fafc; box-shadow: inset 0 0 0 1px #e2e8f0; }
.p4-soonpg__tag { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 28px 16px; border-radius: 18px; white-space: nowrap; text-align: center;
	background: rgba(255, 255, 255, .95); box-shadow: 0 0 0 1.5px #fbbf24, 0 24px 50px -22px rgba(154, 52, 18, .6); }
.p4-soonpg__tag > i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 19px; color: #fff; background: #d97706; }
.p4-soonpg__tag b { font-size: clamp(17px, 2.6cqw, 22px); font-weight: 800; letter-spacing: -.03em; color: #0f172a; }
.p4-soonpg__tag em { font-style: normal; font-size: clamp(13.5px, 1.9cqw, 16px); font-weight: 700; color: #b45309; }

@container (max-width: 460px) {   /* 폰 - 태블릿 틀이 작다: 가운데 글 칸을 줄인다 */
	.p4-soonpg__tag { gap: 3px; padding: 10px 16px 9px; border-radius: 14px; } .p4-soonpg__tag > i { width: 32px; height: 32px; border-radius: 10px; font-size: 14px; }
	.p4-soonpg__tag b { font-size: 15px; } .p4-soonpg__tag em { font-size: 12.5px; } .p4-soonpg__url span { flex-basis: 74%; font-size: 12.5px; }
}

/* ④ 요금 구역 - 1명당 요금이 아직 없을 때(.p4-px.is-tbd · #p4Calc.is-tbd): 숫자 자리에 «정하는 중» */
.p4-px__tbd { display: none; }
.p4-px.is-tbd .p4-px__odo, .p4-px.is-tbd .p4-px__num > em { display: none; }
.p4-px.is-tbd .p4-px__tbd { display: inline; font-size: .56em; letter-spacing: -.04em; line-height: 1.5; }
.p4-px.is-tbd .p4-px__rows dd small, .p4-px.is-tbd .p4-px__flow li.on b i { display: none; }
.p4-px.is-tbd .p4-px__rows dd #p4Rs, .p4-px.is-tbd .p4-px__rows dd #p4Rt { font-size: 16.5px; }
.p4-px.is-tbd .p4-px__flow li.on b { font-size: 17px; letter-spacing: -.03em; }
.p4-px__tbdnote { margin: 12px 0 0; padding: 11px 14px; border-radius: 12px; font-size: 15px; font-weight: 700; line-height: 1.5; color: #0f172a; background: color-mix(in srgb, var(--p4px-acc, #0f9488) 9%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p4px-acc, #0f9488) 28%, #e2e8f0); word-break: keep-all; }
.p4-px__tbdnote i { margin-right: 7px; color: var(--p4px-acc, #0f9488); }
.p4-px:not(.is-tbd) .p4-px__tbdnote { display: none; }
.p4-px__cta .go:only-child { grid-column: 1 / -1; }   /* 견적서 단추가 없는 동안 - 시작 단추가 줄을 다 쓴다 */

@media (prefers-reduced-motion: reduce) { .p4-soon, .hx-soon { transition: none; } }
