:root { color-scheme:light; --workspace-height:44px; }
body.access-page { margin:0; min-height:100vh; background:#f7f7f6; color:#25232a; font:16px/1.55 "Inter","Microsoft YaHei",sans-serif; }
.access-page *,.work-nav * { box-sizing:border-box; }
.work-nav { position:relative; z-index:45; min-height:var(--workspace-height); display:flex; align-items:center; justify-content:space-between; gap:4px; padding:0 clamp(8px,2vw,30px); background:#28252b; color:white; font:14px/1.2 "Inter","Microsoft YaHei",sans-serif; }
.work-nav div,.work-nav form { display:flex; align-items:center; margin:0; }
.work-nav a,.work-nav button { display:inline-flex; align-items:center; min-height:44px; padding:0 clamp(5px,1vw,14px); background:transparent; border:0; border-radius:0; color:#e6e1e6; font:inherit; cursor:pointer; text-decoration:none; }
.work-nav [aria-current],.work-nav a:hover,.work-nav button:hover { color:white; box-shadow:inset 0 -2px #d3b7cb; }
.work-nav span { color:#d2c4d0; }
.work-nav :focus-visible,.access-page :focus-visible { outline:3px solid #a57ea8; outline-offset:-3px; }
.access-card,.admin-panel,.archive { box-sizing:border-box; margin:clamp(40px,10vh,104px) auto; padding:32px clamp(18px,4vw,42px); width:min(420px,94vw); background:white; border:1px solid #ddd9dd; border-radius:12px; }
.access-page h1,.access-page h2 { font-family:"STIX Two Text","Noto Serif CJK SC",SimSun,serif; color:#302832; line-height:1.3; margin:0 0 14px; }
.access-page h1 { font-size:30px; }.access-page h2 { font-size:21px; }
.access-page p { color:#58515c; }.access-page form:not(.work-nav form) { margin:18px 0 0; }
.access-page label { display:grid; gap:6px; margin:14px 0; font-size:15px; font-weight:600; }
.access-page input,.access-page select { min-height:44px; width:100%; padding:8px 12px; border:1px solid #99919c; border-radius:5px; background:white; font:inherit; }
.access-page main button { min-height:44px; padding:8px 17px; border:1px solid #b2a6b3; border-radius:6px; background:white; color:#46374a; font:inherit; cursor:pointer; }
.access-page main .solid { background:#54394e; color:white; border-color:#54394e; }.access-card .solid { width:100%; margin:12px 0 2px; }
.access-page .field-error { color:#9c2434; }.access-page a:not(.work-nav a) { color:#634667; }
.admin-panel,.archive { width:min(820px,94vw); margin:32px auto; }.admin-panel section,.archive section { margin-top:28px; }
.admin-panel ul { padding:0; list-style:none; }.admin-panel li { padding:14px 0; border-bottom:1px solid #e1dce1; }
.admin-panel li header { display:flex; justify-content:space-between; overflow-wrap:anywhere; gap:12px; }.admin-panel li span { color:#5b5360; }
.admin-panel summary { padding:10px 0; cursor:pointer; }.admin-panel details form { display:flex; align-items:end; gap:8px; flex-wrap:wrap; }
.admin-panel details label { margin:0; }.archive pre { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; }.archive nav { display:flex; flex-wrap:wrap; gap:16px; }
.workspace { margin:0; }.workspace #app { min-width:0; }
.world-reader { color-scheme:dark; }
.world-reader .work-nav { position:sticky; top:0; }
.world-reader .sidebar,.world-reader .topbar { top:var(--workspace-height); }
.world-reader .mobile-shade { inset-block-start:var(--workspace-height); }
.world-reader .reader-section,.world-reader .timeline-era { scroll-margin-top:var(--workspace-height); }
.workspace .atlas-reading-link { display:inline-flex; align-items:center; gap:7px; min-height:44px; color:#304e3e; text-decoration:underline; text-underline-offset:3px; }
.workspace .breadcrumb a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.workspace .app-shell > .sidebar { top:var(--workspace-height); max-height:calc(100dvh - var(--workspace-height)); }
.workspace .atlas-app { height:calc(100dvh - var(--workspace-height)); }
.workspace .access-fields { border:0; padding:0; margin:0; min-width:0; }
.ms-archive-link { align-self:center; margin-inline-start:auto; font-size:14px; color:#664663; text-decoration:underline; }
@media(max-width:900px){.workspace .atlas-app .sidebar{top:var(--workspace-height)}}
@media(max-width:650px){.work-nav span{display:none}.work-nav{font-size:12px}.work-nav a,.work-nav button{padding:0 5px}}
@media(max-width:650px){.work-nav a[aria-label="个人账号"]{display:block;max-width:24vw;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:44px}}
