/* A quiet research entrance; the reader retains its compact three-column layout. */
#home[hidden]{display:none!important}.at-home .workspace{display:none!important}#home{height:calc(100dvh - 60px);overflow:auto;background:var(--paper);color:var(--ink)}.home-shell{max-width:1180px;margin:auto;padding:32px 44px 22px}.home-heading,.home-section-head,.home-footer{display:flex;justify-content:space-between;align-items:center;gap:16px}.home-eyebrow{font-size:11px;letter-spacing:2px;color:var(--muted)}.home-replay,.home-section-head button,.home-footer button{font-size:12px;color:var(--muted)}.home-hero{display:flex;justify-content:space-between;align-items:flex-end;padding:30px 0 28px;gap:24px}.home-hero h1{font-size:clamp(32px,4vw,50px);font-weight:500;line-height:1.3;letter-spacing:-1.6px;margin:0 0 14px}.home-hero em{font-style:normal;color:#657e83}.home-hero p{font-size:13px;color:var(--muted)}.home-number{display:flex;flex-direction:column;text-align:right;gap:8px}.home-number b{font-size:52px;font-weight:400;line-height:1}.home-number span{font-size:12px}.home-number small{font-size:10px;color:var(--muted)}.home-search{border:1px solid var(--border);padding:17px 20px;background:var(--soft)}.home-label{display:block;font-size:12px;font-weight:600;margin-bottom:10px}.home-query-row{display:flex;gap:12px}.home-query-row input{flex:1;min-width:0;border:0;background:transparent;color:var(--ink);font-size:16px;padding:6px 0;outline-offset:4px}.home-search-options{display:flex;gap:20px;align-items:center;margin-top:14px;font-size:11px;color:var(--muted)}.home-search-options label{display:flex;gap:5px;align-items:center;cursor:pointer}.home-search-options input{accent-color:#344e6f}.home-search-options>span{margin-left:auto}.home-topics{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:11px;padding:13px 0;color:var(--muted)}.home-topics button{font-size:11px;padding:4px 0;color:var(--ink)}.home-section{margin-top:18px}.home-section-head{margin-bottom:12px}.home-section-head h2{font-size:14px;font-weight:600}.home-section-head>span{font-size:11px;color:var(--muted)}.home-disciplines{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--border);border-left:1px solid var(--border)}.home-disciplines button{display:flex;align-items:center;gap:12px;padding:14px 16px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);font-size:13px}.home-disciplines small{font-size:10px;color:var(--muted);margin-left:auto}.home-disciplines button>span:last-child{color:var(--muted)}.home-disciplines button:hover,.home-books button:hover{background:var(--soft)}.home-lower{display:grid;grid-template-columns:1.5fr 1fr;gap:40px;margin-top:12px}.home-books button{display:flex;width:100%;align-items:center;justify-content:space-between;text-align:left;padding:12px 0;border-bottom:1px solid var(--border)}.home-books small,.home-continue>small{display:block;font-size:10px;color:var(--muted);margin-bottom:4px}.home-books b{font-size:13px;font-weight:500}.home-continue h3{font-size:17px;line-height:1.6;margin:10px 0}.home-continue p{font-size:12px;color:var(--muted);margin-bottom:16px}.home-records{display:flex;gap:18px;margin:22px 0 10px}.home-records button{font-size:12px}.home-local{color:var(--muted)}.home-footer{border-top:1px solid var(--border);margin-top:28px;padding-top:18px;font-size:11px;color:var(--muted)}.search-options{flex-wrap:wrap;gap:8px}.search-options select{max-width:100%}
#entry-animation{position:fixed;inset:0;margin:0;max-width:none;max-height:none;width:100vw;height:100dvh;border:0;border-radius:0;padding:0;background:#090909;color:#ffffff;overflow:hidden;box-shadow:none}#entry-animation::backdrop{background:#090909}.entry-meta,.entry-bottom{position:absolute;left:5vw;right:5vw;display:flex;justify-content:space-between;align-items:center;font-size:11px;letter-spacing:2px;z-index:2}.entry-meta{top:35px}.entry-bottom{bottom:35px;color:#c4c4c4}.entry-meta button{color:#fff;font-size:12px;letter-spacing:0;padding:10px;border:1px solid #888888}.entry-drawing{position:absolute;width:min(90vw,1100px);height:100%;left:50%;top:0;transform:translateX(-50%);opacity:.85}.entry-grid{stroke:#ffffff;stroke-width:.5;opacity:.18}.entry-building{stroke:#ffffff;stroke-width:1}.entry-building path{stroke-dasharray:1;stroke-dashoffset:1;animation:draw-building 1.65s ease-out forwards}.entry-title{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;flex-direction:column;pointer-events:none;animation:entry-type 1.2s ease both}.entry-title>span{font-size:12px;letter-spacing:4px;color:#e5e5e5}.entry-title h1{font-size:clamp(70px,12vw,144px);font-weight:400;letter-spacing:16px;line-height:1.6;margin:6px 0}.entry-title p{font-size:13px;letter-spacing:5px}@keyframes draw-building{to{stroke-dashoffset:0}}@keyframes entry-type{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.home-shell{padding:20px}.home-hero{padding:25px 0}.home-number{display:none}.home-hero h1{font-size:36px}.home-query-row{flex-wrap:wrap}.home-query-row input{flex-basis:100%;font-size:14px}.home-query-row .primary{margin-left:auto}.home-search-options{gap:12px}.home-search-options>span{display:none}.home-disciplines{grid-template-columns:repeat(2,minmax(0,1fr))}.home-disciplines button{padding:13px 10px}.home-lower{grid-template-columns:1fr;gap:8px}.home-footer{align-items:flex-start;font-size:10px}.entry-title p{letter-spacing:2px}.entry-bottom{font-size:9px;letter-spacing:1px}.home-eyebrow{letter-spacing:1px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.entry-building path{animation:none;stroke-dashoffset:0}.entry-title{animation:none}}
@media print{#home,#entry-animation{display:none!important}.at-home .workspace{display:block!important}}

#entry-animation{cursor:pointer}.entry-meta button{background:#fff;color:#090909;border-color:#fff;font-weight:600}.entry-bottom span:last-child{color:#fff;font-size:13px;letter-spacing:1px}.entry-title h1{font-weight:500}
/* Blue from the reader's identity, with red reserved for small visual markers. */
#home{--home-accent:#4463cf;--home-alert:#bf4148;--home-tint:#f3f6ff}
.home-eyebrow{color:var(--home-accent)}
.home-eyebrow::before{content:'';display:inline-block;width:6px;height:6px;background:var(--home-alert);margin-right:9px;vertical-align:middle}
.home-hero em,.home-number b{color:var(--home-accent)}
.home-number{border-right:3px solid var(--home-accent);padding-right:15px}
.home-search{border-top:3px solid var(--home-accent);background:var(--home-tint)}
.home-search .primary,.home-continue>.primary{background:var(--home-accent);border-color:var(--home-accent);color:#fff}
.home-search .primary:hover,.home-continue>.primary:hover{background:#344fac}
.home-search-options input{accent-color:var(--home-accent)}
.home-section-head h2::before{content:'';display:inline-block;width:3px;height:12px;margin-right:8px;background:var(--home-accent);vertical-align:-1px}
.home-disciplines button>span:last-child,.home-books button>span:last-child,.home-section-head button{color:var(--home-accent)}
.home-disciplines button:hover,.home-books button:hover{background:var(--home-tint)}
.home-disciplines button[data-discipline="消防"]>span:last-child{color:var(--home-alert)}
.home-topics button:hover,.home-records button:hover{color:var(--home-accent)}
.home-continue{border-top:2px solid var(--home-alert);padding-top:12px}
.dark #home{--home-accent:#9cb5ff;--home-alert:#f38e94;--home-tint:#222e45}
.dark .home-search .primary,.dark .home-continue>.primary{background:#4463cf;border-color:#4463cf;color:#fff}
#entry-animation{background:#090d16}#entry-animation::backdrop{background:#090d16}
.entry-building{stroke:#7295ff}.entry-building path:last-child{stroke:#ee747b}
.entry-grid{stroke:#91a9f5}.entry-meta>span{color:#a9bfff}
.entry-meta>span::before{content:'';display:inline-block;width:6px;height:6px;margin-right:10px;background:#ee747b;vertical-align:middle}
.entry-meta button{background:#4463cf;border-color:#7295ff;color:#fff}.entry-meta button:hover{background:#3454bf}
.entry-title>span{color:#b9caff}.entry-bottom span:last-child{border-bottom:2px solid #ee747b;padding-bottom:8px}
@media(max-width:760px){.home-continue{padding-top:14px}}
