* { box-sizing: border-box; }
:root { color-scheme: light; --ink: #20304b; --muted: #53647d; --blue: #3459c5; --line: #dce4f0; }
body { margin: 0; font: 16px/1.8 system-ui, "Microsoft YaHei", sans-serif; color: var(--ink); background: #f5f7fc; }
a { color: var(--blue); text-decoration: none; } a:hover { text-decoration: underline; } a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #5377e8; outline-offset: 3px; }
.wrap { width: min(1180px, 92%); margin: auto; } header { background: white; border-bottom: 1px solid var(--line); } .head { display: flex; align-items: center; gap: 24px; min-height: 82px; flex-wrap: wrap; padding: 12px 0; } .brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--ink); } .brand img { width: 42px; height: 42px; } nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; } nav a { color: var(--ink); } .skip { position: absolute; left: 8px; top: -100px; background: white; padding: 8px; } .skip:focus { top: 0; }
main { padding: 32px 0 60px; } h1,h2,h3 { line-height: 1.4; margin: 0 0 14px; } h1 { font-size: clamp(27px, 4vw, 43px); } h2 { font-size: 25px; } h3 { font-size: 18px; } p { margin: 0 0 16px; } .muted, .lead { color: var(--muted); } .eyebrow { font-size: 12px; letter-spacing: 2px; font-weight: 700; color: var(--blue); } .hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 30px; background: white; padding: 36px; border: 1px solid var(--line); border-radius: 28px; } .hero img { width: 100%; height: auto; display: block; } .btn { display: inline-block; background: var(--blue); color: white; border-radius: 10px; padding: 10px 18px; margin: 4px 8px 4px 0; } .btn.alt { background: #e9eeff; color: var(--blue); } .numbers { display: flex; gap: 20px; margin-top: 20px; color: var(--muted); font-size: 14px; flex-wrap: wrap; } .numbers b { font-size: 27px; color: var(--blue); display: block; } section { margin-top: 36px; } .grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; } .card { display: block; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); } .card p { color: var(--muted); font-size: 14px; } .card:hover { border-color: #7892dc; text-decoration: none; } .tile { width: 100%; height: 90px; border-radius: 12px; background: #edf1ff; display: grid; place-items: center; font-size: 32px; color: var(--blue); margin-bottom: 14px; } .grid .card:nth-child(4n+2) .tile { background: #e2f3f2; color: #25776c; } .grid .card:nth-child(4n+3) .tile { background: #f1eaff; color: #7654ab; } .grid .card:nth-child(4n+4) .tile { background: #fff0e2; color: #9a5b2e; } .split { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; } .panel, article { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 28px; } .crumb { font-size: 14px; margin-bottom: 20px; color: var(--muted); } article { max-width: 850px; margin: auto; } article h2 { margin-top: 28px; } article p { line-height: 2; } .related { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; } .related a { display: block; margin: 8px 0; } input[type=search] { width: 100%; padding: 12px; border: 1px solid #a6b6d2; border-radius: 10px; font: inherit; } label.check { display: block; margin: 10px 0; } button { cursor: pointer; font: inherit; } footer { background: #202e49; color: #e1e7f5; padding: 28px 0; } footer a { color: #e1e7f5; } footer p { margin: 8px 0; } [hidden] { display: none !important; } @media(max-width: 850px) { .grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .hero,.split { grid-template-columns: 1fr; } .head { gap: 8px; } } @media(max-width: 480px) { .grid { grid-template-columns: 1fr; } .hero,.panel,article { padding: 19px; } main { padding-top: 20px; } nav { gap: 10px; } h2 { font-size: 22px; } }
/* V23.1 resource directory */
.resource-directory { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.resource-directory label { display: block; font-weight: 600; margin-top: 12px; }
.resource-directory select { font: inherit; max-width: 100%; padding: 8px 12px; border: 1px solid #a6b6d2; border-radius: 8px; background: white; }
.resource-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.resource-item small { color: var(--muted); }
.copy-url { border: 1px solid #a6b6d2; background: #eef2ff; color: #203e9c; border-radius: 8px; padding: 6px 12px; }
.detail-extra { margin-top: 20px; }
nav a[aria-current=page] { color: var(--blue); font-weight: 700; }
article, .card { overflow-wrap: anywhere; }
@media (max-width: 850px) { .resource-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 480px) { .resource-grid { grid-template-columns: 1fr; } .resource-directory { padding: 18px; } }
