/*
 * Service page heroes that follow their group (2026-10-17, _deploy/merge-dev-2026-10/service_heroes.php).
 * Loaded by html/com_content/article/services.php on pages with .psh-hero.
 * .psh-hero--build  CMS development: navy s2-ehero + "content model" artifact (.psh-cm)
 * .psh-hero--design Front-end development: the Template customization recipe (s2-tchero / s2-tcgrid) with a page card (.psh-fe)
 *                   shown as Design · Page · Editor through the "View:" chips (pure CSS radios), CWV budget strip under it
 */
.tp-svc2 .psh-hero .s2-hero-grid { align-items: center; }
.tp-svc2 .psh-hero .s2-specs { margin-top: 24px; }

/* content model (navy, same frame as the .s2-ide code window) */
.tp-svc2 .psh-cm { border-radius: 14px; background: #100f3a; border: 1px solid rgba(255,255,255,.1); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); font: 12.5px/1.5 var(--s2-mono); color: #dfe3f5; }
.tp-svc2 .psh-cm-bar { display: flex; align-items: center; background: #0a0930; border-bottom: 1px solid rgba(255,255,255,.08); }
.tp-svc2 .psh-cm-bar span { padding: 9px 16px; color: #7d81a8; white-space: nowrap; }
.tp-svc2 .psh-cm-bar span.on { color: #fff; background: #100f3a; box-shadow: inset 0 2px 0 var(--s2-green); }
.tp-svc2 .psh-cm-bar em { margin-left: auto; padding: 0 16px; font-style: normal; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #7d81a8; }
.tp-svc2 .psh-cm-body { display: grid; gap: 8px; padding: 18px; }
.tp-svc2 .psh-cm-f { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; grid-template-areas: "h b c" "h s s"; column-gap: 12px; row-gap: 2px; align-items: center; padding: 11px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.03); }
.tp-svc2 .psh-cm-f i { grid-area: h; align-self: stretch; width: 6px; background: radial-gradient(circle, rgba(255,255,255,.35) 1.2px, transparent 1.6px) 0 50% / 6px 6px; }
.tp-svc2 .psh-cm-f b { grid-area: b; color: #fff; font-weight: 600; font-family: inherit; }
.tp-svc2 .psh-cm-f code { grid-area: c; padding: 2px 8px; border-radius: 6px; background: rgba(137,180,250,.12); color: #89b4fa; font: inherit; font-size: 11.5px; }
.tp-svc2 .psh-cm-f small { grid-area: s; color: #7d81a8; font-size: 11.5px; }
.tp-svc2 .psh-cm-f.is-acl { border-color: rgba(52,199,89,.35); background: rgba(52,199,89,.08); }
.tp-svc2 .psh-cm-f.is-acl code { background: rgba(52,199,89,.16); color: #7ee2a0; }
.tp-svc2 .psh-cm-wf { display: flex; align-items: center; gap: 8px; margin: 0 18px; padding: 14px 0; border-top: 1px dashed rgba(255,255,255,.12); }
.tp-svc2 .psh-cm-wf span { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: #a9adcf; font-size: 11.5px; white-space: nowrap; }
.tp-svc2 .psh-cm-wf span.ok { color: #7ee2a0; border-color: rgba(52,199,89,.35); }
.tp-svc2 .psh-cm-wf span.on { color: #07062a; background: var(--s2-green); border-color: var(--s2-green); font-weight: 600; }
.tp-svc2 .psh-cm-wf i { flex: 1; min-width: 12px; height: 1px; background: rgba(255,255,255,.18); }
.tp-svc2 .psh-cm-ft { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px 16px; background: rgba(255,255,255,.02); border-top: 1px solid rgba(255,255,255,.06); }
.tp-svc2 .psh-cm-ft span { padding: 3px 9px; border-radius: 6px; background: rgba(255,255,255,.06); color: #a9adcf; font-size: 11px; }

/* Front-end: one small page shown as Design · Page · Editor (radios #psh-v0..2 before .txt and .psh-fe, like the #78 brand switcher) */
.tp-svc2 .psh-views label i { width: 12px !important; height: 12px !important; border-radius: 3px !important; }
.tp-svc2 .psh-views i.d { background: #a259ff; } .tp-svc2 .psh-views i.p { background: #0b3b5b; } .tp-svc2 .psh-views i.e { background: var(--s2-green); }
.tp-svc2 .psh-notes i { font-style: normal; color: var(--s2-ink); }
#psh-v0:checked ~ .txt label[for="psh-v0"], #psh-v1:checked ~ .txt label[for="psh-v1"], #psh-v2:checked ~ .txt label[for="psh-v2"] { border-color: #050038; box-shadow: inset 0 0 0 1px #050038; }
#psh-v0:checked ~ .txt .psh-notes span:nth-of-type(1), #psh-v1:checked ~ .txt .psh-notes span:nth-of-type(2), #psh-v2:checked ~ .txt .psh-notes span:nth-of-type(3),
#psh-v0:checked ~ .psh-fe .bar b span:nth-child(1), #psh-v1:checked ~ .psh-fe .bar b span:nth-child(2), #psh-v2:checked ~ .psh-fe .bar b span:nth-child(3) { display: inline; }
.tp-svc2 .s2-tcgrid > input:focus-visible ~ .txt .psh-views { outline: 2px solid var(--s2-green); outline-offset: 4px; border-radius: 999px; }

.tp-svc2 .psh-fe { --b: #0b3b5b; --acc: #f2a93b; border-radius: 16px; overflow: hidden; border: 1px solid var(--s2-line); box-shadow: 0 30px 70px -30px rgba(5,0,56,.35); background: #fff; font-family: Inter, system-ui, sans-serif; }
.tp-svc2 .psh-fe .bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: #2a2a2a; font: 11px var(--s2-mono); color: #cfcfcf; }
.tp-svc2 .psh-fe .bar > i { width: 9px; height: 9px; border-radius: 50%; background: #555; }
.tp-svc2 .psh-fe .bar .url { margin-left: 10px; padding: 2px 10px; border-radius: 6px; background: #3a3a3a; color: #aaa; }
.tp-svc2 .psh-fe .bar b { margin-left: auto; font-weight: 500; color: #fff; } .tp-svc2 .psh-fe .bar b span { display: none; }
.tp-svc2 .psh-fe .cv { display: grid; grid-template-columns: minmax(0, 1fr) 0; transition: padding .25s, background-color .25s; }
.tp-svc2 .psh-fe .pg { background: #fff; position: relative; }
.tp-svc2 .psh-fe .nav { display: flex; align-items: center; gap: 14px; padding: 12px 18px; font-size: 11.5px; color: #333; border-bottom: 1px solid #eee; position: relative; }
.tp-svc2 .psh-fe .nav .lg { display: flex; align-items: center; gap: 8px; margin-right: auto; font-weight: 800; font-size: 14px; color: var(--b); }
.tp-svc2 .psh-fe .nav .lg i { width: 20px; height: 20px; border-radius: 6px; background: var(--b); box-shadow: inset -6px -6px 0 var(--acc); }
.tp-svc2 .psh-fe .nav .ap { padding: 6px 12px; border-radius: 8px; background: var(--acc); color: #1d1d1d; font-weight: 700; }
.tp-svc2 .psh-fe .hero { position: relative; margin: 14px; padding: 30px 26px; border-radius: 12px; background: var(--b); color: #fff; }
.tp-svc2 .psh-fe .hero small { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.tp-svc2 .psh-fe .hero .h { display: block; max-width: 330px; margin: 8px 0; font-weight: 800; font-size: 27px; line-height: 1.08; letter-spacing: -.02em; }
.tp-svc2 .psh-fe .hero p { margin: 0; font-size: 11.5px; color: rgba(255,255,255,.72); }
.tp-svc2 .psh-fe .hero .bt { display: inline-block; margin-top: 16px; padding: 7px 14px; border-radius: 8px; background: var(--acc); color: #1d1d1d; font-size: 11px; font-weight: 700; }
.tp-svc2 .psh-fe .cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 2px 14px 16px; }
.tp-svc2 .psh-fe .cards div { padding: 12px; border-radius: 10px; background: #f4f7fa; font-size: 12px; color: #1d1d1d; }
.tp-svc2 .psh-fe .cards b { display: block; font-weight: 700; } .tp-svc2 .psh-fe .cards span { font-size: 10.5px; color: #6b7280; }
/* labels on the page: .fg = Figma layer names (Design view), .ed = what editors own (Editor view) */
.tp-svc2 .psh-fe em.fg, .tp-svc2 .psh-fe em.ed { position: absolute; top: 0; right: 10px; transform: translateY(-50%); display: none; padding: 2px 8px; border-radius: 5px; font: 600 10px/1.5 var(--s2-mono); font-style: normal; white-space: nowrap; color: #fff; z-index: 2; }
.tp-svc2 .psh-fe em.fg { background: #a259ff; } .tp-svc2 .psh-fe em.ed { background: var(--s2-green-ink); }
.tp-svc2 .psh-fe .nav em { top: 100%; right: auto; left: 24px; }
.tp-svc2 .psh-fe .cards em { top: 2px; right: 24px; }
.tp-svc2 .psh-fe u.sp { position: absolute; display: none; text-decoration: none; font: 600 9px var(--s2-mono); color: #a259ff; background: #f3ecff; padding: 0 4px; border-radius: 3px; }
.tp-svc2 .psh-fe .sp1 { left: 0; top: 50%; transform: translate(-50%, -50%); } .tp-svc2 .psh-fe .sp2 { left: 26px; bottom: 0; transform: translateY(50%); }
.tp-svc2 .psh-fe .tok { display: none; align-content: start; gap: 9px; padding: 14px 12px; background: #fff; border-left: 1px solid #e3e3e3; font: 10.5px/1.3 var(--s2-mono); color: #555; }
.tp-svc2 .psh-fe .tok b { font-family: Inter, system-ui, sans-serif; font-size: 11px; color: #1d1d1d; }
.tp-svc2 .psh-fe .tok span { display: flex; align-items: center; gap: 7px; } .tp-svc2 .psh-fe .tok i { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.tp-svc2 .psh-fe .tok .ty { display: block; font: 800 15px Inter, system-ui, sans-serif; color: var(--b); } .tp-svc2 .psh-fe .tok .ty small { display: block; font: 10px var(--s2-mono); color: #777; }
.tp-svc2 .psh-fe .tok .ty + .ty { font-size: 12px; font-family: var(--s2-mono); }
/* Design view: the page sits on the Figma canvas, layers outlined, tokens panel on the right */
#psh-v0:checked ~ .psh-fe .cv { grid-template-columns: minmax(0, 1fr) 132px; padding: 0 0 0 18px; background: #e8e8e8 radial-gradient(#d0d0d0 1px, transparent 1px) 0 0 / 14px 14px; }
#psh-v0:checked ~ .psh-fe .pg { margin: 18px 18px 18px 0; box-shadow: 0 0 0 1px #d5d5d5; }
#psh-v0:checked ~ .psh-fe .tok { display: grid; }
#psh-v0:checked ~ .psh-fe :is(.nav, .hero, .cards) { outline: 1.5px solid #a259ff; outline-offset: -1px; }
#psh-v0:checked ~ .psh-fe :is(em.fg, u.sp) { display: block; }
/* Editor view: dashed outlines on what editors change in Joomla */
#psh-v2:checked ~ .psh-fe :is(.nav, .hero, .cards) { outline: 1.5px dashed var(--s2-green); outline-offset: -3px; }
#psh-v2:checked ~ .psh-fe em.ed { display: block; }
#psh-v2:checked ~ .psh-fe .hero .h, #psh-v2:checked ~ .psh-fe .cards b { box-shadow: 0 1px 0 rgba(52,199,89,.9); }
.tp-svc2 .psh-fe .cwv { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--s2-line); background: var(--s2-soft); font: 11.5px var(--s2-mono); color: var(--s2-muted); }
.tp-svc2 .psh-fe .cwv span { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--s2-line); }
.tp-svc2 .psh-fe .cwv b { color: var(--s2-green-ink); font-weight: 600; } .tp-svc2 .psh-fe .cwv em { margin-left: auto; font-style: normal; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .tp-svc2 .psh-fe .cv { transition: none; } }

@media (max-width: 575.98px) {
	.tp-svc2 .psh-cm { font-size: 11.5px; }
	.tp-svc2 .psh-cm-bar span:not(.on) { display: none; }
	.tp-svc2 .psh-cm-body { padding: 14px; }
	.tp-svc2 .psh-cm-wf { margin: 0 14px; }
	.tp-svc2 .psh-cm-ft { padding: 12px 14px 14px; }
	.tp-svc2 .psh-fe .bar .url { display: none; }
	.tp-svc2 .psh-fe .nav > span:not(.lg):not(.ap) { display: none; }
	.tp-svc2 .psh-fe .hero { padding: 22px 18px; } .tp-svc2 .psh-fe .hero .h { font-size: 22px; }
	.tp-svc2 .psh-fe .cards { grid-template-columns: repeat(2, 1fr); } .tp-svc2 .psh-fe .cards div:nth-child(3) { display: none; }
	#psh-v0:checked ~ .psh-fe .cv { grid-template-columns: minmax(0, 1fr); padding: 0 14px; }
	#psh-v0:checked ~ .psh-fe .pg { margin: 14px 0 0; }
	#psh-v0:checked ~ .psh-fe .tok { grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 14px; margin: 0 -14px; border: 0; border-top: 1px solid #e3e3e3; margin-top: 14px; }
	#psh-v0:checked ~ .psh-fe .tok b, #psh-v0:checked ~ .psh-fe .tok .ty { display: none; }
	.tp-svc2 .psh-fe .cwv em { display: none; }
}

/* Front-end "How we build" (.s2-flow): one story with the same Acme page as the hero – Figma frame → T4 layout → the live page.
 * The three pages share the same rows (nav · hero · cards · footer, .pg grid), so what goes in is what comes out. */
.tp-svc2 .psh-hw { display: flex; flex-direction: column; font: 11px/1.4 var(--s2-mono); color: var(--s2-ink); }
.tp-svc2 .psh-hw .pg { flex: 1; display: grid; grid-template-rows: 22px 1fr 44px 14px; gap: 7px; min-height: 0; }
/* 01 design */
.tp-svc2 .psh-hw-fig { flex-direction: row; background: #e8e8e8 radial-gradient(#d0d0d0 1px, transparent 1px) 0 0 / 14px 14px; }
.tp-svc2 .psh-hw-fig .ly { flex: none; width: 26%; display: grid; align-content: start; gap: 2px; padding: 14px 10px; background: #fff; border-right: 1px solid #e3e3e3; color: #666; }
.tp-svc2 .psh-hw-fig .ly b { margin-bottom: 6px; font: 600 11px Inter, system-ui, sans-serif; color: #1d1d1d; }
.tp-svc2 .psh-hw-fig .ly span { padding: 3px 6px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-svc2 .psh-hw-fig .ly span.on { background: #efe6ff; color: #7a2fe0; }
.tp-svc2 .psh-hw-fig .cv { flex: 1; min-width: 0; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; }
.tp-svc2 .psh-hw-fig .bp { display: flex; gap: 4px; } .tp-svc2 .psh-hw-fig .bp span { padding: 1px 7px; border-radius: 4px; background: rgba(255,255,255,.7); color: #777; font-size: 10px; } .tp-svc2 .psh-hw-fig .bp span.on { background: #a259ff; color: #fff; }
.tp-svc2 .psh-hw-fig .pg { padding: 8px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px #d5d5d5; }
.tp-svc2 .psh-hw-fig .nav { display: flex; justify-content: space-between; align-items: center; } .tp-svc2 .psh-hw-fig .nav i { width: 34%; height: 7px; border-radius: 2px; background: #0b3b5b; } .tp-svc2 .psh-hw-fig .nav s { width: 16%; height: 11px; border-radius: 3px; background: #f2a93b; }
.tp-svc2 .psh-hw-fig .hero { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 10px 12px; border-radius: 5px; background: #0b3b5b; outline: 1.5px solid #a259ff; outline-offset: 2px; }
.tp-svc2 .psh-hw-fig .hero b { height: 9px; width: 72%; border-radius: 2px; background: #fff; } .tp-svc2 .psh-hw-fig .hero u { height: 5px; width: 40%; border-radius: 2px; background: rgba(255,255,255,.45); } .tp-svc2 .psh-hw-fig .hero s { height: 11px; width: 30%; margin-top: 2px; border-radius: 3px; background: #f2a93b; }
.tp-svc2 .psh-hw-fig .hero em { position: absolute; top: -9px; right: 0; padding: 1px 6px; border-radius: 4px; background: #a259ff; color: #fff; font-style: normal; font-size: 9.5px; }
.tp-svc2 .psh-hw-fig .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; } .tp-svc2 .psh-hw-fig .cards i { border-radius: 4px; background: #f4f7fa; box-shadow: inset 0 0 0 1px #e6ebf0; }
.tp-svc2 .psh-hw-fig .ft { border-radius: 3px; background: #eef1f4; }
.tp-svc2 .psh-hw-fig .tok { position: absolute; right: 8px; bottom: 8px; padding: 7px 10px; border-radius: 8px; background: #050038; color: #fff; font-size: 10px; line-height: 1.7; box-shadow: 0 10px 24px -10px rgba(5,0,56,.5); }
.tp-svc2 .psh-hw-fig .tok i { display: inline-block; width: 8px; height: 8px; margin: 0 4px 0 2px; border-radius: 2px; }
/* bars on top of 02 + 03 */
.tp-svc2 .psh-hw .hd { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: #fff; border-bottom: 1px solid var(--s2-line); color: var(--s2-muted); white-space: nowrap; }
.tp-svc2 .psh-hw .hd b { margin-right: auto; font: 600 11.5px Inter, system-ui, sans-serif; color: var(--s2-ink); }
.tp-svc2 .psh-hw .hd > span { overflow: hidden; text-overflow: ellipsis; }
/* 02 build: the same rows as T4 positions */
.tp-svc2 .psh-hw-t4 .pg { padding: 12px 14px 14px; }
.tp-svc2 .psh-hw-t4 .r { display: flex; justify-content: center; align-items: center; gap: 8px; min-width: 0; padding: 0 8px; border: 1.5px dashed #cfd6de; border-radius: 6px; background: #fff; color: var(--s2-muted); font-size: 10.5px; }
.tp-svc2 .psh-hw-t4 .r.hero { flex-direction: column; gap: 5px; }
.tp-svc2 .psh-hw-t4 .r span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-svc2 .psh-hw-t4 .r code { font: inherit; font-size: 10px; padding: 1px 6px; border-radius: 4px; background: rgba(52,199,89,.14); color: var(--s2-green-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tp-svc2 .psh-hw-t4 .r.on { border-color: var(--s2-green); background: #f1fbf3; color: var(--s2-green-ink); }
.tp-svc2 .psh-hw-t4 .r.wc { border-color: #a259ff; background: #faf7ff; color: #7a2fe0; } .tp-svc2 .psh-hw-t4 .r.wc code { background: #efe6ff; color: #7a2fe0; }
.tp-svc2 .psh-hw-t4 .pg > .r:first-child, .tp-svc2 .psh-hw-t4 .pg > .r:last-child { font-size: 10px; }
/* 03 live: the page from 01, built */
.tp-svc2 .psh-hw-live .hd { background: #2a2a2a; border: 0; padding: 8px 12px; } .tp-svc2 .psh-hw-live .hd > i { width: 8px; height: 8px; border-radius: 50%; background: #555; }
.tp-svc2 .psh-hw-live .hd .url { margin-left: 6px; padding: 1px 8px; border-radius: 5px; background: #3a3a3a; color: #aaa; font-size: 10px; }
.tp-svc2 .psh-hw-live .pg { padding: 10px 12px 12px; background: #fff; font-family: Inter, system-ui, sans-serif; }
.tp-svc2 .psh-hw-live .nav { display: flex; justify-content: space-between; align-items: center; }
.tp-svc2 .psh-hw-live .nav b { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; color: #0b3b5b; } .tp-svc2 .psh-hw-live .nav b i { width: 12px; height: 12px; border-radius: 4px; background: #0b3b5b; box-shadow: inset -4px -4px 0 #f2a93b; }
.tp-svc2 .psh-hw-live .nav s { text-decoration: none; padding: 3px 8px; border-radius: 4px; background: #f2a93b; color: #1d1d1d; font-size: 9.5px; font-weight: 700; }
.tp-svc2 .psh-hw-live .hero { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 10px 14px; border-radius: 6px; background: #0b3b5b; color: #fff; }
.tp-svc2 .psh-hw-live .hero small { font-size: 7.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #f2a93b; }
.tp-svc2 .psh-hw-live .hero b { max-width: 80%; font-size: 15px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.tp-svc2 .psh-hw-live .hero s { margin-top: 3px; text-decoration: none; padding: 3px 8px; border-radius: 4px; background: #f2a93b; color: #1d1d1d; font-size: 9px; font-weight: 700; }
.tp-svc2 .psh-hw-live .cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.tp-svc2 .psh-hw-live .cards i { display: block; padding: 5px 7px; border-radius: 4px; background: #f4f7fa; font-style: normal; font-size: 8.5px; color: #6b7280; line-height: 1.3; overflow: hidden; }
.tp-svc2 .psh-hw-live .cards i b { display: block; font-size: 10px; color: #1d1d1d; }
.tp-svc2 .psh-hw-live .ft { font-size: 8px; color: #9aa3b2; border-top: 1px solid #eef1f4; padding-top: 2px; }
.tp-svc2 .psh-hw-live em { position: absolute; top: -7px; right: 6px; padding: 0 6px; border-radius: 4px; background: var(--s2-green-ink); color: #fff; font: 600 9px/1.6 var(--s2-mono); font-style: normal; }
.tp-svc2 .psh-hw-live .cwv { display: flex; gap: 5px; padding: 0 12px 10px; background: #fff; } .tp-svc2 .psh-hw-live .cwv span { padding: 1px 7px; border-radius: 999px; border: 1px solid var(--s2-line); color: var(--s2-muted); font-size: 9.5px; } .tp-svc2 .psh-hw-live .cwv b { color: var(--s2-green-ink); font-weight: 600; }
.tp-svc2 .psh-hw-live .hero em { top: 8px; right: 8px; } .tp-svc2 .psh-hw-live .cards em { top: 4px; right: 4px; }
.tp-svc2 .psh-hw-live .hero, .tp-svc2 .psh-hw-live .cards { outline: 1.5px dashed rgba(52,199,89,.9); outline-offset: 2px; border-radius: 6px; }

/* CMS "How we build" (.s2-flow): one story with the hero's Listing content model – fields → T4 layout → the live listing page.
 * Same rows in 02 and 03 (nav · main + sidebar · related · footer). Uses the .psh-hw base of the Front-end story. */
.tp-svc2 .psh-hw-model { background: var(--s2-soft); }
.tp-svc2 .psh-hw-model .fs { flex: 1; display: grid; align-content: center; gap: 7px; padding: 14px 16px; }
.tp-svc2 .psh-hw-model .fs div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid var(--s2-line); border-radius: 8px; background: #fff; }
.tp-svc2 .psh-hw-model .fs b { font: 600 11.5px Inter, system-ui, sans-serif; }
.tp-svc2 .psh-hw-model .fs code { font: inherit; font-size: 10.5px; padding: 1px 8px; border-radius: 5px; background: #eef2ff; color: #3b4fd8; }
.tp-svc2 .psh-hw-model .fs .on { border-color: rgba(52,199,89,.5); background: #f1fbf3; } .tp-svc2 .psh-hw-model .fs .on code { background: rgba(52,199,89,.16); color: var(--s2-green-ink); }
.tp-svc2 .psh-hw-t4c .pg { grid-template-rows: 22px 1fr 34px 14px; }
.tp-svc2 .psh-hw-t4c .r2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 7px; } .tp-svc2 .psh-hw-t4c .r2 .r { flex-direction: column; gap: 5px; }
.tp-svc2 .psh-hw-lc .pg { grid-template-rows: 22px 1fr 34px 14px; }
.tp-svc2 .psh-hw-lc .nav b { color: #1d3557; } .tp-svc2 .psh-hw-lc .nav b i { background: #1d3557; box-shadow: inset -4px -4px 0 #e76f51; }
.tp-svc2 .psh-hw-lc .nav s { background: none; border: 1px solid #d5dbe2; color: #1d3557; font-weight: 600; }
.tp-svc2 .psh-hw-lc .main { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; min-height: 0; outline: 1.5px dashed rgba(52,199,89,.9); outline-offset: 2px; border-radius: 6px; }
.tp-svc2 .psh-hw-lc .gal { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; border-radius: 5px; overflow: hidden; }
.tp-svc2 .psh-hw-lc .gal i { background: linear-gradient(160deg, #a8c5da, #1d3557); } .tp-svc2 .psh-hw-lc .gal i:first-child { grid-row: span 2; background: linear-gradient(160deg, #e9c46a, #e76f51 55%, #1d3557); } .tp-svc2 .psh-hw-lc .gal i:last-child { background: linear-gradient(160deg, #cfe1d4, #2a6f4f); }
.tp-svc2 .psh-hw-lc .det { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 5px; }
.tp-svc2 .psh-hw-lc .det b { font-size: 12.5px; font-weight: 800; line-height: 1.15; color: #1d3557; } .tp-svc2 .psh-hw-lc .det u { text-decoration: none; font-size: 12px; font-weight: 700; color: #e76f51; }
.tp-svc2 .psh-hw-lc .det small { padding: 1px 7px; border-radius: 999px; background: #1d3557; color: #fff; font-size: 8.5px; font-weight: 600; }
.tp-svc2 .psh-hw-lc .main em { top: -7px; right: 6px; }
.tp-svc2 .psh-hw-lc .rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; } .tp-svc2 .psh-hw-lc .rel i { border-radius: 4px; background: #f4f7fa; box-shadow: inset 0 0 0 1px #e6ebf0; }
