/* 搜索与 404：共享恢复路径，不承载具体业务内容。 */
.ztc-utility-page {
    --utility-banner-blue: var(--ztc-banner-luminous);
    color: var(--ztc-text);
    background: #fff;
}
.ztc-utility-kicker { margin: 0 0 14px; color: var(--ztc-action); font-size: 11px; font-weight: 700; letter-spacing: .18em; }

.ztc-utility-hero { margin-top: 38px; padding: 82px 0 72px; color: #fff; background: var(--utility-banner-blue); }
.ztc-utility-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 52px; }
.ztc-utility-hero h1 { margin: 0; color: #fff; font-size: var(--ztc-banner-h1-standard); }
.ztc-utility-hero p:last-child { max-width: 690px; margin: 20px 0 0; color: rgba(255,255,255,.86); font-size: var(--ztc-banner-lead); line-height: 1.8; }
.ztc-utility-hero .ztc-utility-kicker { color: var(--ztc-brand-cyan); }
.ztc-utility-mark { display: inline-flex; width: 98px; height: 98px; flex: none; align-items: center; justify-content: center; color: var(--ztc-brand-cyan); border: 1px solid rgba(97,204,240,.5); border-radius: 50%; }

.ztc-utility-body { padding: 88px 0 112px; }
.ztc-utility-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 70px; align-items: start; }
.ztc-utility-main { min-width: 0; }
.ztc-search-form label { display: block; margin-bottom: 10px; color: var(--ztc-navy-deep); font-size: 14px; font-weight: 700; }
.ztc-search-form > div { display: flex; max-width: 790px; min-height: 54px; border: 1px solid var(--ztc-border); background: #fff; }
.ztc-search-form input { min-width: 0; flex: 1; padding: 13px 18px; color: var(--ztc-text); background: transparent; border: 0; outline: 0; font: inherit; }
.ztc-search-form button { display: inline-flex; min-width: 112px; align-items: center; justify-content: center; gap: 8px; color: #fff; background: var(--ztc-action); border: 0; cursor: pointer; font-family: var(--ztc-sans); font-size: 14px; font-weight: 700; }
.ztc-search-form:focus-within > div { border-color: var(--ztc-action); box-shadow: 0 0 0 3px rgba(0,103,180,.12); }

.ztc-search-summary { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-top: 56px; padding-bottom: 24px; border-bottom: 1px solid var(--ztc-border); }
.ztc-search-summary h2,
.ztc-search-prompt h2,
.ztc-search-empty h2 { margin: 0; color: var(--ztc-navy-deep); font-size: clamp(27px, 3vw, 38px); line-height: 1.3; }
.ztc-search-summary > span { color: var(--ztc-text-muted); font-size: 13px; white-space: nowrap; }
.ztc-search-results { border-bottom: 1px solid var(--ztc-border); }
.ztc-search-result { padding: 32px 0; border-top: 1px solid var(--ztc-border); }
.ztc-search-result:first-child { border-top: 0; }
.ztc-search-result-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--ztc-text-muted); font-size: 11px; }
.ztc-search-result-meta span { color: var(--ztc-action); font-weight: 700; }
.ztc-search-result h3 { margin: 13px 0 0; color: var(--ztc-navy-deep); font-size: clamp(21px, 2.2vw, 28px); line-height: 1.42; }
.ztc-search-result h3 a:hover { color: var(--ztc-action); }
.ztc-search-result > p { max-width: 800px; margin: 13px 0 0; color: var(--ztc-text-muted); font-size: 14px; line-height: 1.8; }
.ztc-search-result-link { display: inline-flex; min-height: 42px; align-items: center; gap: 7px; margin-top: 12px; color: var(--ztc-action); font-size: 13px; font-weight: 700; }
.ztc-search-prompt,
.ztc-search-empty { margin-top: 54px; padding: 42px; border-left: 4px solid var(--ztc-brand-primary); background: var(--ztc-bg); }
.ztc-search-prompt > p:last-child,
.ztc-search-empty > p:last-child { margin: 16px 0 0; color: var(--ztc-text-muted); line-height: 1.8; }

.ztc-recovery { padding: 28px; border: 1px solid var(--ztc-border); background: var(--ztc-bg); }
.ztc-recovery > p { margin: 0 0 15px; color: var(--ztc-navy-deep); font-family: var(--ztc-serif); font-size:20px; font-weight: 600; }
.ztc-recovery nav { border-top: 1px solid var(--ztc-border); }
.ztc-recovery a { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 12px; color: var(--ztc-text-muted); border-bottom: 1px solid var(--ztc-border); font-size: 13px; }
.ztc-recovery a span { display: inline-flex; align-items: center; gap: 10px; }
.ztc-recovery a svg { color: var(--ztc-action); }
.ztc-recovery a:hover { color: var(--ztc-action); }
.navigation.pagination { margin-top: 34px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 8px 12px; color: var(--ztc-action); border: 1px solid var(--ztc-border); font-size: 13px; }
.page-numbers.current { color: #fff; background: var(--ztc-action); border-color: var(--ztc-action); }

.ztc-404-stage { position: relative; margin-top: 38px; overflow: hidden; padding: 104px 0; color: #fff; background: var(--utility-banner-blue); }
.ztc-404-grid { display: grid; grid-template-columns: minmax(360px, .84fr) minmax(0, 1.16fr); gap: 84px; align-items: center; }
.ztc-404-code { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); font-family: var(--ztc-serif); font-size: clamp(120px, 15vw, 210px); font-weight: 600; line-height: .8; }
.ztc-404-code i { display: inline-flex; width: 96px; height: 96px; align-items: center; justify-content: center; color: var(--ztc-brand-cyan); border: 1px solid rgba(97,204,240,.5); border-radius: 50%; font-style: normal; }
.ztc-404-copy .ztc-utility-kicker { color: var(--ztc-brand-cyan); }
.ztc-404-copy h1 { margin: 0; color: #fff; font-size: clamp(38px, 4.4vw, 58px); }
.ztc-404-copy > p:not(.ztc-utility-kicker) { max-width: 650px; margin: 22px 0 0; color: rgba(255,255,255,.68); line-height: 1.9; }
.ztc-404-copy .ztc-search-form { margin-top: 32px; }
.ztc-404-copy .ztc-search-form label { color: #fff; }
.ztc-404-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ztc-404-actions .ztc-btn-primary-pill { padding: 12px 28px; background: #fff; color: var(--ztc-navy-deep); }
.ztc-404-actions .ztc-btn-ghost-pill { padding: 12px 28px; color: #fff; border-color: rgba(255,255,255,.55); }
.ztc-404-recovery { padding: 94px 0 112px; }
.ztc-404-recovery header { margin-bottom: 40px; }
.ztc-404-recovery h2 { margin: 0; color: var(--ztc-navy-deep); font-size: clamp(32px, 3.8vw, 46px); }
.ztc-404-recovery .ztc-container > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--ztc-border); }
.ztc-404-recovery a { display: flex; min-height: 190px; flex-direction: column; padding: 25px; color: var(--ztc-navy-deep); }
.ztc-404-recovery a + a { border-left: 1px solid var(--ztc-border); }
.ztc-404-recovery a span { font-family: var(--ztc-serif); font-size: 20px; font-weight: 600; }
.ztc-404-recovery a small { margin-top: 10px; color: var(--ztc-text-muted); font-size: 12px; line-height: 1.65; }
.ztc-404-recovery a > svg { margin-top: auto; color: var(--ztc-action); }
.ztc-404-recovery a:hover { color: var(--ztc-action); background: var(--ztc-bg); }

@media (max-width: 991px) {
    .ztc-utility-hero,
    .ztc-404-stage { margin-top: 10px; }
    .ztc-utility-layout { grid-template-columns: 1fr; gap: 48px; }
    .ztc-recovery { max-width: 620px; }
    .ztc-404-grid { grid-template-columns: 1fr; gap: 44px; }
    .ztc-404-code { justify-content: flex-start; }
    .ztc-404-recovery .ztc-container > div { grid-template-columns: 1fr 1fr; }
    .ztc-404-recovery a:nth-child(odd) { border-left: 0; }
    .ztc-404-recovery a { border-top: 1px solid var(--ztc-border); }
    .ztc-404-recovery a:nth-child(-n+2) { border-top: 0; }
}

@media (max-width: 640px) {
    .ztc-utility-hero { padding: 70px 0 58px; }
    .ztc-utility-hero-inner { align-items: flex-start; flex-direction: column; gap: 28px; padding: 0 20px; }
    .ztc-utility-mark { width: 68px; height: 68px; }
    .ztc-utility-body { padding: 64px 0 82px; }
    .ztc-utility-layout { padding: 0 20px; }
    .ztc-search-form > div { min-height: 52px; }
    .ztc-search-form button { min-width: 56px; padding: 0 16px; }
    .ztc-search-form button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .ztc-search-summary { align-items: flex-start; flex-direction: column; }
    .ztc-search-prompt,
    .ztc-search-empty { padding: 30px 24px; }
    .ztc-search-result { padding: 27px 0; }
    .ztc-recovery { padding: 24px 20px; }

    .ztc-404-stage { padding: 74px 0 80px; }
    .ztc-404-grid { gap: 34px; padding: 0 20px; }
    .ztc-404-code { font-size: 100px; }
    .ztc-404-code i { width: 64px; height: 64px; }
    .ztc-404-copy h1 { font-size: 38px; }
    .ztc-404-actions { align-items: stretch; flex-direction: column; }
    .ztc-404-actions a { text-align: center; }
    .ztc-404-recovery { padding: 70px 0 84px; }
    .ztc-404-recovery > .ztc-container { padding: 0 20px; }
    .ztc-404-recovery .ztc-container > div { grid-template-columns: 1fr; }
    .ztc-404-recovery a,
    .ztc-404-recovery a + a,
    .ztc-404-recovery a:nth-child(-n+2) { min-height: 142px; border-top: 1px solid var(--ztc-border); border-left: 0; }
    .ztc-404-recovery a:first-child { border-top: 0; }
}
