:root {
    --bg: #F3F7FB;
    --bg-deep: #E6EFF7;
    --surface: #FFFFFF;
    --surface-alt: #DCEBF5;
    --title: #10263A;
    --text: #263B4C;
    --muted: #60788C;
    --soft: #8094A5;
    --brand: #3B9FE0;
    --brand-light: #67B9EC;
    --steel: #1E6FB8;
    --ice: #B8DDF3;
    --mint: #39A69C;
    --border: rgba(30,111,184,0.16);
    --border-strong: rgba(59,159,224,0.38);
    --shadow: 0 14px 36px rgba(16,38,58,0.08);
    --radius: 14px;
    --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
    outline: 3px solid rgba(59,159,224,0.35);
    outline-offset: 3px;
}
button, input { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 3000;
    background: var(--title);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
}
.skip-link:focus { top: 12px; }
.brand-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 72px;
    background: rgba(243,247,251,0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(16,38,58,0.05);
}
.brand-bar-inner {
    min-height: 72px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand-lockup { display: flex; align-items: center; gap: 16px; min-width: 0; color: var(--title); }
.brand-logo-wrap { display: flex; align-items: center; min-width: 0; }
.brand-logo { height: 32px; width: auto; max-width: 180px; object-fit: contain; }
.brand-text { font-weight: 800; font-size: 22px; letter-spacing: .02em; white-space: nowrap; }
.brand-status { color: var(--muted); font-size: 14px; white-space: nowrap; }
.brand-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .app-link-top, .rail-all, .close-button {
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--title);
    cursor: pointer;
}
.icon-button {
    min-width: 48px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.app-link-top { display: inline-flex; align-items: center; padding: 0 16px; color: var(--steel); font-weight: 700; }
.icon-button:hover, .app-link-top:hover, .rail-all:hover { border-color: var(--border-strong); background: #f8fcff; }
main { min-height: 60vh; }
.site-shell {
    max-width: var(--max);
    margin: 0 auto;
    padding: 28px 20px 80px;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 34px;
}
.category-rail {
    position: sticky;
    top: 94px;
    align-self: start;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.82);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.rail-group + .rail-group { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.rail-group h2 { margin: 0 0 8px; font-size: 13px; color: var(--soft); text-transform: uppercase; letter-spacing: .08em; }
.rail-group a {
    display: block;
    padding: 7px 10px 7px 12px;
    margin: 3px 0;
    border-left: 3px solid transparent;
    border-radius: 8px;
    color: var(--text);
    line-height: 1.45;
}
.rail-group a.is-current { border-left-color: var(--steel); background: #eaf5fc; color: var(--title); font-weight: 800; }
.rail-all { width: 100%; margin-top: 18px; padding: 9px 12px; color: var(--steel); font-weight: 700; }
.page-content { min-width: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 16px; color: var(--soft); font-size: 14px; }
.breadcrumbs a { color: var(--muted); }
.page-hero, .home-cover {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 34px;
    padding: 28px;
    background: linear-gradient(145deg, #fff 0%, #eef7fc 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.page-hero-copy h1, .home-cover h1 { margin: 4px 0 14px; font-size: clamp(30px, 4vw, 38px); line-height: 1.28; color: var(--title); }
.eyebrow { margin: 0 0 5px; color: var(--steel); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.lead { margin: 0; color: var(--text); font-size: 18px; line-height: 1.85; }
.media-frame {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, #edf6fb, #dcebf5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-media { max-height: 360px; min-height: 220px; }
.media-img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-fallback {
    width: 100%; min-height: 220px; aspect-ratio: 16 / 9;
    display: grid; place-items: center;
    padding: 24px;
    background:
        linear-gradient(120deg, rgba(59,159,224,.12), rgba(57,166,156,.12)),
        repeating-linear-gradient(135deg, rgba(255,255,255,.45) 0 14px, rgba(184,221,243,.24) 14px 28px);
    color: var(--title);
    text-align: center;
    font-weight: 800;
}
.media-fallback span { max-width: 260px; }
.section-heading { margin-bottom: 16px; }
.section-heading h2 { margin: 0; color: var(--title); font-size: clamp(22px, 3vw, 28px); line-height: 1.4; }
.content-section {
    margin: 28px 0;
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(16,38,58,.045);
}
.content-section h2 { margin: 0 0 12px; color: var(--title); font-size: clamp(22px, 3vw, 27px); }
.content-section h3 { margin: 18px 0 8px; color: var(--title); font-size: 19px; }
.content-section p { margin: 10px 0; }
.content-section ul, .content-section ol { padding-left: 1.25em; }
.split-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 24px; align-items: start; }
.split-section.reverse .media-frame { order: -1; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.info-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(145deg, #fff, #f5fafd);
}
.info-card h3 { margin-top: 0; }
.info-card p:last-child { margin-bottom: 0; }
.number-card { position: relative; overflow: hidden; }
.number-card::after { content: attr(data-number); position: absolute; right: 12px; bottom: -18px; font-size: 72px; font-weight: 900; color: rgba(30,111,184,.08); line-height: 1; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 10px; border-radius: 8px; background: #edf6fb; color: var(--steel); font-size: 14px; font-weight: 700; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 17px; border-radius: 10px; font-weight: 800; border: 1px solid transparent; }
.btn-primary { color: #fff; background: linear-gradient(135deg,#67B9EC 0%,#3B9FE0 52%,#1E6FB8 100%); }
.btn-primary:hover { color: #fff; filter: brightness(.98); }
.btn-secondary { background: #fff; border-color: rgba(59,159,224,.35); color: var(--steel); }
.editor-board { display: grid; grid-template-columns: 1.35fr .65fr; gap: 16px; }
.editor-board .major { grid-row: span 2; }
.channel-band { display: grid; grid-template-columns: minmax(280px,.9fr) minmax(0,1.1fr); gap: 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--border); }
.channel-band:first-of-type { border-top: 0; }
.channel-band:nth-of-type(even) .media-frame { order: 2; }
.mosaic-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.mosaic-item { padding: 20px; border-radius: 14px; border: 1px solid var(--border); background: #eef7fc; }
.mosaic-item:nth-child(1), .mosaic-item:nth-child(6) { grid-column: span 2; }
.mosaic-item:nth-child(3) { background: #eaf8f6; }
.mosaic-item:nth-child(4) { background: #f7fafd; }
.mosaic-item .mosaic-no { color: var(--soft); font-size: 13px; font-weight: 900; }
.shelf-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 20px; }
.shelf-stack { display: grid; gap: 12px; }
.shelf-row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.shelf-row strong { color: var(--title); }
.list-steps { counter-reset: item; display: grid; gap: 12px; }
.list-step { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.list-step::before { counter-increment: item; content: counter(item, decimal-leading-zero); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--surface-alt); color: var(--steel); font-weight: 900; }
.list-step h3 { margin: 0 0 6px; }
.board-columns { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.board-column { padding: 16px; border-radius: 12px; border: 1px solid var(--border); background: #fff; }
.board-column h3 { margin-top: 0; font-size: 16px; }
.tool-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.tool-row:last-child { border-bottom: 0; }
.demo-toggle { width: 54px; height: 30px; border: 0; border-radius: 16px; background: #cbdbe7; padding: 3px; cursor: pointer; }
.demo-toggle span { display: block; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(16,38,58,.2); transition: transform .2s ease; }
.demo-toggle[aria-pressed="true"] { background: var(--mint); }
.demo-toggle[aria-pressed="true"] span { transform: translateX(24px); }
.topic-map { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.map-node { position: relative; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.map-node::after { content: ''; position: absolute; right: -14px; top: 50%; width: 14px; height: 1px; background: var(--border-strong); }
.map-node:nth-child(3n)::after { display:none; }
.checklist { display: grid; gap: 12px; }
.check-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px; border-radius: 12px; border: 1px solid var(--border); background: #fff; }
.check-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #eaf8f6; color: var(--mint); font-weight: 900; }
.policy-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.policy-card { padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.policy-card h3 { margin-top: 0; }
.notice { padding: 16px 18px; border-left: 4px solid var(--steel); border-radius: 10px; background: #eaf5fc; color: var(--text); }
.quote-note { padding: 18px 20px; border-radius: 12px; background: #eaf8f6; border: 1px solid rgba(57,166,156,.22); }
.related-panel { margin: 34px 0; padding: 24px; background: var(--bg-deep); border-radius: 16px; border: 1px solid var(--border); }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.related-link { min-height: 110px; padding: 16px; border-radius: 12px; background: #fff; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.related-link strong { color: var(--title); }
.related-link span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.page-action { margin-top: 30px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 16px; background: linear-gradient(135deg,#173d61,#1e6fb8); color: #fff; }
.page-action h2 { margin: 0 0 8px; color: #fff; }
.page-action p { margin: 0; color: rgba(255,255,255,.85); }
.page-action .eyebrow { color: #cfe9fa; }
details.faq-item { margin: 12px 0; border: 1px solid var(--border); border-radius: 12px; background: #fff; overflow: hidden; }
details.faq-item summary { min-height: 52px; padding: 14px 46px 14px 16px; cursor: pointer; color: var(--title); font-weight: 800; position: relative; }
details.faq-item summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--steel); font-size: 22px; }
details.faq-item[open] summary::after { content: '–'; }
.faq-answer { padding: 0 16px 16px; color: var(--text); }
.site-footer { background: #164f7e; color: #e9f5fc; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 42px 20px 34px; }
.footer-logo-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-logo { height: 32px; width: auto; max-width: 180px; filter: brightness(0) invert(1); object-fit: contain; }
.footer-brand p { max-width: 850px; color: #d7e9f6; }
.footer-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; padding: 26px 0; margin-top: 20px; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-group h2 { margin: 0 0 10px; color: #fff; font-size: 16px; }
.footer-group a { display: block; padding: 3px 0; color: #d7e9f6; }
.footer-group a:hover { color: #fff; }
.copyright { margin: 22px 0 0; color: #c5dbea; font-size: 14px; }
.overlay {
    position: fixed; inset: 0; z-index: 1400;
    background: rgba(10,31,47,.48);
    visibility: hidden; opacity: 0; pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}
.overlay.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.search-dialog, .menu-panel {
    position: fixed; z-index: 1500;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 24px 70px rgba(16,38,58,.24);
    visibility: hidden; opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.search-dialog {
    width: min(640px, calc(100% - 32px));
    left: 50%; top: 50%; transform: translate(-50%, calc(-50% + 10px));
    border-radius: 16px;
    padding: 22px;
}
.search-dialog.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.menu-panel {
    left: 50%; bottom: 18px;
    width: min(980px, calc(100% - 32px)); max-height: 82vh;
    transform: translate(-50%, 24px);
    border-radius: 18px;
    padding: 22px;
    overflow: auto;
}
.menu-panel.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.dialog-head, .menu-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-head h2, .menu-head h2 { margin: 0; color: var(--title); }
.close-button { width: 44px; min-width: 44px; padding: 0; font-size: 26px; line-height: 1; }
.search-field { display: block; margin-top: 18px; }
.search-field input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border-strong); color: var(--title); background: #fbfdff; }
.search-help { color: var(--muted); font-size: 14px; }
.search-results { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.search-results a { display: flex; align-items: center; min-height: 44px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; background: #f7fbfe; color: var(--title); font-weight: 700; }
.search-empty { margin-bottom: 0; color: var(--muted); }
.menu-brand { display: flex; align-items: center; gap: 14px; }
.menu-logo { height: 32px; width: auto; max-width: 180px; object-fit: contain; }
.menu-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin-top: 20px; }
.menu-group h3 { margin: 0 0 10px; color: var(--title); }
.menu-group a { display: block; padding: 10px 0; border-top: 1px solid var(--border); }
.menu-group a strong, .menu-group a span { display: block; }
.menu-group a strong { color: var(--title); }
.menu-group a span { color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 3px; }
.mobile-bottom-nav { display: none; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.home-cover { grid-template-columns: 1fr; padding: 0; overflow: hidden; }
.home-cover .cover-media { border: 0; border-radius: 0; max-height: 420px; }
.home-cover .cover-copy { padding: 0 28px 28px; }
.home-cover .cover-copy p { max-width: 860px; }
.task-band { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.task-card { min-height: 180px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: #fff; display: flex; flex-direction: column; }
.task-card .task-no { color: var(--soft); font-size: 13px; font-weight: 900; }
.task-card h3 { margin: 7px 0; color: var(--title); }
.task-card a { margin-top: auto; font-weight: 800; }
.task-card .media-frame { margin: -18px -18px 14px; border-radius: 14px 14px 0 0; min-height: 110px; }
.app-showcase { display: grid; grid-template-columns: minmax(240px,.75fr) minmax(0,1.25fr); gap: 28px; align-items: center; }
.app-visuals { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.app-portrait { max-height: 460px; aspect-ratio: 3/4; }
.icon-tile { width: 80px; height: 80px; border-radius: 16px; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; overflow: hidden; }
.icon-tile .media-img, .icon-tile .media-fallback { width: 100%; height: 100%; min-height: 0; aspect-ratio: 1/1; }
.boundary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.boundary-card { padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.boundary-card h3 { margin-top: 0; }
.prose h2 { margin-top: 26px; }
.prose p { margin: 12px 0; }

@media (max-width: 1080px) {
    .site-shell { grid-template-columns: 210px minmax(0,1fr); gap: 24px; }
    .card-grid.four { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .board-columns { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .menu-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .task-band { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 960px) {
    .site-shell { display: block; }
    .category-rail { display: none; }
    .page-hero, .split-section, .app-showcase { grid-template-columns: 1fr; }
    .page-hero .hero-media { max-width: 760px; }
    .channel-band { grid-template-columns: minmax(240px,.8fr) minmax(0,1.2fr); }
    .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
    body { font-size: 16px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    .brand-bar, .brand-bar-inner { min-height: 68px; }
    .brand-bar-inner { padding: 0 16px; gap: 10px; }
    .brand-logo { height: 29px; max-width: 150px; }
    .brand-status, .desktop-action-text, .app-link-top { display: none; }
    .brand-actions { gap: 6px; }
    .icon-button { width: 44px; min-width: 44px; padding: 0; }
    .site-shell { padding: 22px 16px 64px; }
    .page-hero, .content-section, .related-panel, .page-action { padding: 20px; }
    .page-hero { gap: 20px; }
    .page-hero-copy h1, .home-cover h1 { font-size: 31px; }
    .lead { font-size: 17px; }
    .hero-media { min-height: 0; max-height: none; }
    .media-frame { max-height: none; }
    .media-img { width: 100%; height: auto; object-fit: contain; }
    .media-fallback { min-height: 180px; }
    .home-cover .cover-copy { padding: 0 20px 22px; }
    .home-cover .cover-media { max-height: none; }
    .card-grid, .card-grid.three, .card-grid.four, .editor-board, .policy-grid, .boundary-grid, .shelf-layout, .topic-map { grid-template-columns: 1fr; }
    .editor-board .major { grid-row: auto; }
    .channel-band { grid-template-columns: 1fr; }
    .channel-band:nth-of-type(even) .media-frame { order: 0; }
    .mosaic-grid { grid-template-columns: 1fr 1fr; }
    .mosaic-item:nth-child(1), .mosaic-item:nth-child(6) { grid-column: span 2; }
    .board-columns { grid-template-columns: 1fr; }
    .map-node::after { display: none; }
    .related-grid { grid-template-columns: 1fr; }
    .page-action { align-items: flex-start; flex-direction: column; }
    .task-band { grid-template-columns: 1fr; }
    .task-card { min-height: 150px; }
    .app-visuals { grid-template-columns: 1fr; }
    .app-portrait { aspect-ratio: auto; max-height: none; }
    .icon-tile { width: 64px; height: 64px; }
    .search-dialog { width: calc(100% - 32px); padding: 18px; }
    .search-results { grid-template-columns: 1fr; }
    .menu-panel { left: 0; bottom: 0; width: 100%; max-height: 82vh; transform: translateY(24px); border-radius: 18px 18px 0 0; padding: 18px; }
    .menu-panel.is-open { transform: translateY(0); }
    .menu-grid { grid-template-columns: 1fr; }
    .menu-logo { height: 28px; max-width: 140px; }
    .mobile-bottom-nav {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
        min-height: calc(58px + env(safe-area-inset-bottom));
        padding: 6px 8px env(safe-area-inset-bottom);
        display: grid; grid-template-columns: repeat(5,1fr); gap: 5px;
        background: rgba(255,255,255,.97); border-top: 1px solid var(--border);
        box-shadow: 0 -8px 24px rgba(16,38,58,.08);
    }
    .mobile-bottom-nav a { min-width: 0; min-height: 46px; display: grid; place-items: center; padding: 4px 3px; border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 800; white-space: nowrap; }
    .mobile-bottom-nav a.is-current { background: var(--steel); color: #fff; }
    .footer-inner { padding-bottom: 90px; }
}
@media (max-width: 520px) {
    .footer-links { grid-template-columns: 1fr; }
    .mosaic-grid { grid-template-columns: 1fr; }
    .mosaic-item:nth-child(1), .mosaic-item:nth-child(6) { grid-column: auto; }
    .shelf-row { grid-template-columns: 1fr; }
    .list-step { grid-template-columns: 42px 1fr; }
    .list-step::before { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
.app-portrait .media-fallback { aspect-ratio: 3 / 4; min-height: 360px; }
@media (max-width: 760px) { .app-portrait .media-fallback { min-height: 320px; } }
