* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #F5FAFE; color: #2A4156; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 15px; line-height: 1.7; overflow-x: hidden; padding-top: 122px; }
body.ui-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: relative; z-index: 120; }
.topline { position: fixed; inset: 0 0 auto; height: 22px; background: #1B4A6E; color: #FFFFFF; z-index: 130; }
.topline-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; }
.top-brand { font-weight: 700; letter-spacing: .04em; }
.text-button { min-width: 44px; min-height: 22px; border: 0; color: #FFFFFF; background: transparent; cursor: pointer; padding: 0 6px; }
.masthead { position: fixed; top: 22px; left: 0; right: 0; height: 60px; background: #FFFFFF; border-bottom: 1px solid rgba(74,163,224,.16); z-index: 129; }
.masthead-inner { height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.mast-logo { justify-self: start; display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; font-size: 16px; font-weight: 800; color: #16324A; }
.mast-logo img, .footer-logo img, .drawer-brand img { height: 28px; width: auto; object-fit: contain; object-position: center; }
.drawer-button { min-height: 44px; padding: 0 18px; border: 1px solid rgba(74,163,224,.42); border-radius: 12px; background: #EAF5FC; color: #1B4A6E; font-size: 13px; font-weight: 700; cursor: pointer; }
.app-link { justify-self: end; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 12px; color: #1B4A6E; font-weight: 700; }
.section-tabs { position: fixed; top: 82px; left: 0; right: 0; height: 40px; z-index: 128; background: #EAF5FC; border-bottom: 1px solid rgba(74,163,224,.16); }
.section-tabs-inner { height: 40px; display: flex; justify-content: center; align-items: center; gap: 10px; }
.section-tabs a { min-width: 76px; height: 32px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: #1B4A6E; font-size: 13px; font-weight: 700; }
.section-tabs a.is-current { background: #4AA3E0; color: #FFFFFF; }
.site-main { min-height: 60vh; padding-bottom: 52px; }
.page-hero { padding: 48px 0 26px; }
.page-hero.compact { padding-bottom: 18px; }
.eyebrow { margin: 0 0 6px; color: #4E6A80; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; color: #16324A; font-size: 24px; line-height: 1.3; }
h2 { color: #16324A; font-size: 20px; line-height: 1.35; }
h3 { color: #16324A; font-size: 16px; line-height: 1.45; }
p { margin: 0 0 14px; }
.lead { margin-top: 14px; max-width: 780px; color: #4E6A80; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.button { min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 14px; font-weight: 800; border: 1px solid transparent; white-space: nowrap; }
.button-primary { background: linear-gradient(135deg,#6BB8EC 0%,#4AA3E0 55%,#1B4A6E 100%); color: #FFFFFF; }
.button-secondary { background: #FFFFFF; color: #1B4A6E; border-color: rgba(74,163,224,.42); }
.button:hover, .button:focus-visible, .drawer-button:hover, .drawer-button:focus-visible, .app-link:hover, .app-link:focus-visible, .section-tabs a:hover, .section-tabs a:focus-visible, .footer-groups a:hover, .footer-groups a:focus-visible { transform: translateY(-1px); outline: none; box-shadow: 0 8px 18px rgba(27,74,110,.10); }
.cover-block, .feature-card, .content-card, .panel, .faq-card, .note-card, .shelf-card, .timeline-card, .number-card, .index-card { background: #FFFFFF; border: 1px solid rgba(74,163,224,.16); border-radius: 14px; box-shadow: 0 12px 28px rgba(27,74,110,.08); }
.cover-block { padding: 18px; }
.cover-copy { padding: 24px 6px 6px; }
.cover-copy .brandline { color: #4E6A80; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.cover-copy h1 { margin-top: 6px; }
.image-slot { width: 100%; background: #EAF5FC; border: 1px solid rgba(74,163,224,.16); border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.image-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.image-slot.banner-slot { height: 260px; }
.image-slot.card-image { height: 180px; }
.image-slot.section-image { height: 200px; }
.image-slot.app-image { max-height: 360px; min-height: 280px; }
.image-slot.icon-image { width: 48px; height: 48px; min-width: 48px; }
.section-block { padding: 26px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; }
.section-heading p { margin: 0; max-width: 600px; color: #6E8899; font-size: 13px; }
.three-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.two-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.feature-card, .content-card, .panel, .faq-card, .note-card, .shelf-card, .timeline-card, .number-card, .index-card { padding: 18px; }
.feature-card h3, .content-card h2, .content-card h3, .panel h2, .panel h3, .faq-card h2, .faq-card h3, .note-card h3, .shelf-card h3, .timeline-card h3, .number-card h3, .index-card h3 { margin: 14px 0 8px; }
.feature-card p, .content-card p, .panel p, .note-card p, .shelf-card p, .timeline-card p, .number-card p, .index-card p { color: #4E6A80; }
.issue-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 20px; align-items: stretch; }
.issue-copy { padding: 24px; background: #FFFFFF; border: 1px solid rgba(74,163,224,.16); border-radius: 14px; }
.number-list { display: grid; gap: 10px; margin-top: 16px; }
.number-list a, .number-row { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; min-height: 50px; padding: 8px 10px; border-radius: 10px; background: #EAF5FC; color: #1B4A6E; }
.number-list b, .number-chip { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 34px; border-radius: 9px; background: #4AA3E0; color: #FFFFFF; font-size: 13px; }
.shelf-list { display: grid; gap: 12px; }
.shelf-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: #FFFFFF; border: 1px solid rgba(74,163,224,.16); }
.shelf-item span { color: #6E8899; font-size: 13px; }
.shelf-item a { color: #1B4A6E; font-weight: 800; min-height: 44px; display: inline-flex; align-items: center; }
.big-number-list { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.number-card { min-height: 176px; }
.number-card .num { display: block; font-size: 30px; line-height: 1; color: #4AA3E0; font-weight: 900; }
.timeline { position: relative; margin-left: 12px; padding-left: 28px; display: grid; gap: 14px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: #D7EAF6; }
.timeline-card { position: relative; }
.timeline-card::before { content: ''; position: absolute; left: -29px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: #4AA3E0; border: 3px solid #F5FAFE; }
.status { display: inline-flex; min-height: 28px; align-items: center; padding: 0 10px; border-radius: 999px; background: #EAF5FC; color: #1B4A6E; font-size: 12px; font-weight: 800; }
.notes-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.note-card { border-left: 4px solid #6BB8EC; }
.app-panel { display: grid; grid-template-columns: .78fr 1.22fr; gap: 20px; }
.app-copy { padding: 24px; background: #FFFFFF; border: 1px solid rgba(74,163,224,.16); border-radius: 14px; }
.app-mark { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.app-mark strong { color: #16324A; font-size: 20px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 10px; background: #EAF5FC; color: #1B4A6E; font-weight: 700; }
.article-stack { display: grid; gap: 16px; }
.content-card { padding: 22px; }
.content-card h2 { margin-top: 0; }
.content-card p:last-child { margin-bottom: 0; }
.split-article { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(260px,.9fr); gap: 18px; align-items: start; }
.sticky-side { position: sticky; top: 142px; }
.index-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.index-card a { color: #1B4A6E; font-weight: 800; }
.faq-list { display: grid; gap: 14px; }
.faq-card h2 { margin-top: 0; font-size: 16px; }
.faq-card p:last-child { margin-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.site-footer { background: #1B4A6E; color: #E7F2FA; border-top: 1px solid rgba(234,245,252,.26); padding: 34px 0 24px; }
.footer-top { display: grid; grid-template-columns: 220px 1fr; gap: 30px; }
.footer-brand { display: grid; align-content: start; gap: 8px; }
.footer-logo { min-height: 44px; display: inline-flex; align-items: center; color: #FFFFFF; font-size: 20px; font-weight: 900; }
.footer-brand strong { color: #FFFFFF; }
.footer-brand span { color: #D7EAF6; font-size: 13px; }
.footer-groups { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.footer-groups h2 { color: #FFFFFF; font-size: 13px; margin: 0 0 10px; }
.footer-groups a { display: block; color: #E7F2FA; font-size: 13px; min-height: 32px; }
.footer-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(234,245,252,.20); font-size: 13px; color: #D7EAF6; }
.site-overlay { position: fixed; inset: 0; background: rgba(22,50,74,.38); z-index: 200; opacity: 0; transition: opacity .18s ease; pointer-events: none; }
.site-overlay.is-visible { opacity: 1; pointer-events: auto; }
.drawer-panel { position: fixed; top: 0; right: 0; width: min(400px,86vw); height: 100dvh; background: #FFFFFF; z-index: 220; transform: translateX(102%); transition: transform .2s ease, visibility .2s ease; visibility: hidden; pointer-events: none; box-shadow: -16px 0 36px rgba(27,74,110,.16); }
.drawer-panel.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; border-bottom: 1px solid rgba(74,163,224,.16); }
.drawer-brand { display: flex; align-items: center; gap: 10px; color: #16324A; }
.drawer-mark { font-size: 20px; font-weight: 900; }
.close-button { min-width: 44px; min-height: 44px; border: 1px solid rgba(74,163,224,.16); border-radius: 10px; background: #EAF5FC; color: #1B4A6E; cursor: pointer; }
.drawer-scroll { height: calc(100dvh - 76px); overflow-y: auto; padding: 14px 18px 24px; }
.drawer-group { padding: 10px 0 14px; border-bottom: 1px solid rgba(74,163,224,.12); }
.drawer-group:last-child { border-bottom: 0; }
.drawer-group h2 { margin: 0 0 8px; font-size: 13px; color: #6E8899; }
.drawer-group a { display: grid; gap: 2px; padding: 10px; border-radius: 10px; }
.drawer-group a:hover, .drawer-group a:focus-visible { background: #EAF5FC; outline: none; }
.drawer-group strong { color: #16324A; font-size: 14px; }
.drawer-group span { color: #6E8899; font-size: 12px; line-height: 1.55; }
.search-layer { position: fixed; left: 0; right: 0; top: 82px; z-index: 215; visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(-8px); transition: .18s ease; }
.search-layer.is-open { visibility: visible; pointer-events: auto; opacity: 1; transform: translateY(0); }
.search-card { width: min(760px,calc(100% - 32px)); margin: 14px auto 0; background: #FFFFFF; border: 1px solid rgba(74,163,224,.16); border-radius: 14px; box-shadow: 0 18px 38px rgba(27,74,110,.16); padding: 20px; }
.search-head { display: flex; justify-content: space-between; gap: 18px; }
.search-head strong { color: #16324A; font-size: 18px; }
.search-head p { color: #6E8899; margin: 4px 0 0; font-size: 13px; }
.search-form { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 18px; }
.search-form label { color: #4E6A80; font-size: 13px; font-weight: 700; }
.search-form input { min-height: 44px; border: 1px solid rgba(74,163,224,.42); border-radius: 10px; background: #F5FAFE; color: #16324A; padding: 0 12px; outline: none; }
.search-form input:focus { border-color: #4AA3E0; box-shadow: 0 0 0 3px rgba(74,163,224,.12); }
.search-presets { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.search-presets a { min-height: 36px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: #EAF5FC; color: #1B4A6E; font-size: 13px; }
.mobile-bottom { display: none; }
@media (max-width: 860px) {
    body { padding-top: 82px; padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
    .section-tabs { display: none; }
    .site-main { padding-bottom: 30px; }
    .page-hero { padding-top: 30px; }
    .three-grid, .two-grid, .notes-grid, .big-number-list, .index-grid, .contact-grid { grid-template-columns: 1fr; }
    .issue-layout, .app-panel, .split-article { grid-template-columns: 1fr; }
    .sticky-side { position: static; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-groups { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .shelf-item { grid-template-columns: 1fr; gap: 4px; }
    .search-layer { top: 0; bottom: 0; background: #1B4A6E; transform: none; }
    .search-card { width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #1B4A6E; color: #FFFFFF; padding: max(24px,env(safe-area-inset-top)) 16px 24px; overflow-y: auto; }
    .search-head strong, .search-form label { color: #FFFFFF; }
    .search-head p { color: #D7EAF6; }
    .search-form { grid-template-columns: 1fr; }
    .search-form input { background: #FFFFFF; color: #16324A; }
    .search-presets a { background: rgba(255,255,255,.12); color: #FFFFFF; }
    .search-card .close-button { color: #FFFFFF; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.08); }
    .mobile-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5,1fr); background: #FFFFFF; border-top: 1px solid rgba(74,163,224,.16); }
    .mobile-bottom a { min-width: 0; display: flex; align-items: center; justify-content: center; color: #4E6A80; font-size: 12px; font-weight: 800; }
    .mobile-bottom a.is-current { background: #4AA3E0; color: #FFFFFF; }
    .site-footer { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
    .image-slot.banner-slot { height: 220px; }
    .image-slot.card-image { height: 170px; }
    .image-slot.section-image { height: 190px; }
}
@media (max-width: 560px) {
    .shell { width: min(100% - 32px,1120px); }
    .masthead-inner { grid-template-columns: 1fr auto 1fr; }
    .mast-logo { min-width: 48px; }
    .drawer-button { padding: 0 14px; }
    .app-link { padding: 0 6px; font-size: 13px; }
    .section-heading { align-items: start; flex-direction: column; gap: 6px; }
    .cover-block { padding: 12px; }
    .cover-copy { padding: 18px 4px 4px; }
    .footer-groups { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}
