:root {
  --bg: #F6EDE4;
  --deep-bg: #E8D8C8;
  --paper: #FFF8F2;
  --soft: #F0E4D6;
  --ink: #1A1612;
  --text: #2A241C;
  --muted: #5A5048;
  --quiet: #7A7068;
  --orange: #E07030;
  --copper: #B06030;
  --line: rgba(26,22,18,0.12);
  --strong-line: rgba(224,112,48,0.50);
  --shadow: 0 12px 28px rgba(26,22,18,0.10);
  --shell: 960px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif; font-size: 15px; line-height: 1.7; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a, button, input { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 32px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -70px; z-index: 200; padding: 8px 12px; background: var(--paper); color: var(--ink); border: 1px solid var(--orange); }
.skip-link:focus { top: 8px; }
.top-strip { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 20px; background: var(--ink); color: var(--bg); font-size: 12px; }
.top-strip-inner { height: 20px; display: flex; align-items: center; justify-content: space-between; }
.top-action { height: 20px; border: 0; padding: 0 2px; color: var(--bg); background: transparent; font-size: 12px; }
.site-header { position: fixed; z-index: 99; inset: 20px 0 auto 0; height: 54px; background: var(--paper); border-bottom: 1px solid var(--orange); }
.header-inner { height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-link, .footer-brand-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; color: var(--ink); }
.brand-logo { width: auto; height: 24px; object-fit: contain; object-position: center; }
.brand-logo-footer { width: auto; height: 24px; object-fit: contain; object-position: center; }
.brand-fallback { min-width: 28px; font-size: 16px; font-weight: 900; letter-spacing: .02em; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-app-link, .menu-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 4px; font-size: 14px; white-space: nowrap; }
.header-app-link { border: 1px solid var(--orange); color: var(--ink); background: var(--paper); }
.menu-button { border: 1px solid var(--ink); color: var(--paper); background: var(--ink); }
.quick-nav { position: fixed; z-index: 98; inset: 74px 0 auto 0; height: 46px; background: var(--paper); border-bottom: 1px solid var(--line); }
.quick-nav-inner { height: 46px; display: flex; align-items: center; gap: 26px; }
.quick-item { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; }
.quick-square { width: 18px; height: 18px; border: 1px solid var(--ink); border-radius: 2px; flex: 0 0 18px; }
.quick-item.is-current .quick-square { background: var(--orange); border-color: var(--orange); }
.main-content { padding-top: 120px; min-height: 70vh; }
.page-wrap { width: min(calc(100% - 32px), var(--shell)); margin: 0 auto; padding: 34px 0 70px; }
.page-hero { padding: 28px 0 26px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 8px; color: var(--copper); font-size: 13px; font-weight: 800; letter-spacing: .06em; }
h1, h2, h3 { color: var(--ink); margin-top: 0; }
h1 { font-size: 24px; line-height: 1.3; margin-bottom: 14px; }
h2 { font-size: 20px; line-height: 1.4; margin-bottom: 12px; }
h3 { font-size: 16px; line-height: 1.45; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.lead { max-width: 760px; color: var(--muted); }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn-primary, .btn-secondary { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 4px; font-size: 14px; white-space: nowrap; }
.btn-primary { color: var(--paper); background: linear-gradient(135deg,#1A1612 0%,#E07030 100%); border: 1px solid transparent; }
.btn-secondary { color: var(--ink); background: var(--paper); border: 1px solid var(--orange); }
a:hover, button:hover { filter: brightness(.96); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(224,112,48,.36); outline-offset: 2px; }
.section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }
.section-head { max-width: 720px; margin-bottom: 18px; }
.section-head p { color: var(--muted); }
.index-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.index-tab { min-width: 70px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--orange); color: var(--paper); border: 1px solid var(--orange); border-radius: 3px; font-size: 13px; font-weight: 800; }
.slant-record { display: grid; grid-template-columns: minmax(220px,300px) 1fr; gap: 26px; align-items: stretch; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.slant-record .media-slot { min-height: 176px; clip-path: polygon(0 0,100% 0,88% 100%,0 100%); }
.slant-copy { padding: 24px 26px 24px 0; align-self: center; }
.double-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 18px; box-shadow: 0 7px 18px rgba(26,22,18,.05); }
.info-card .media-slot { margin: -18px -18px 16px; border: 0; border-bottom: 1px solid var(--line); border-radius: 4px 4px 0 0; }
.paper-roll { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.paper-sheet { position: relative; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; box-shadow: var(--shadow); }
.paper-sheet::after { content: ""; position: absolute; right: 10px; bottom: -7px; width: 42%; height: 7px; background: var(--deep-bg); border: 1px solid var(--line); border-top: 0; }
.shelf-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.shelf-head { grid-column: 1 / -1; max-width: 440px; }
.period-row { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.period-row strong { color: var(--orange); }
.status-list { display: grid; gap: 10px; }
.status-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: var(--paper); border-left: 4px solid var(--orange); border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.status-tag { padding: 3px 8px; border: 1px solid var(--orange); border-radius: 2px; color: var(--ink); font-size: 12px; white-space: nowrap; }
.app-split { display: grid; grid-template-columns: minmax(180px,300px) 1fr; gap: 28px; align-items: center; }
.app-visual { position: relative; }
.icon-slot { position: absolute; right: 12px; bottom: 12px; width: 64px; height: 64px; padding: 8px; background: var(--paper); border: 1px solid var(--strong-line); box-shadow: var(--shadow); z-index: 2; }
.icon-slot .media-slot { min-height: 48px; height: 48px; border: 0; background: transparent; }
.media-slot { min-height: 160px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-fallback { width: 38px; height: 38px; border: 1px solid var(--strong-line); border-radius: 50%; opacity: .35; }
.slot-176 { height: 176px; }
.slot-200 { height: 200px; }
.slot-220 { height: 220px; }
.slot-app { height: 320px; max-height: 320px; }
.method-list { counter-reset: method; display: grid; gap: 14px; }
.method-item { counter-increment: method; position: relative; padding: 18px 18px 18px 66px; background: var(--paper); border: 1px solid var(--line); }
.method-item::before { content: counter(method, decimal-leading-zero); position: absolute; left: 18px; top: 17px; color: var(--orange); font-weight: 900; }
.topic-list { display: grid; gap: 12px; }
.topic-item { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }

.centered-hero { text-align: center; }
.centered-lead { margin-inline: auto; }
.center-cards { width: min(760px,100%); margin: 0 auto; display: grid; gap: 14px; }
.center-card { text-align: center; background: var(--paper); padding: 22px; border: 1px solid var(--line); border-radius: 4px; }
.memo-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.memo-list li { position: relative; padding: 14px 16px 14px 46px; background: var(--paper); border: 1px solid var(--line); }
.memo-list li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 16px; height: 16px; border: 2px solid var(--orange); }
.step-track { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step-block { padding: 18px 14px; background: var(--paper); min-height: 148px; }
.step-block strong { display: block; color: var(--orange); margin-bottom: 8px; }
.legal-sections { display: grid; gap: 0; border-top: 1px solid var(--line); }
.legal-section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.grade-bands { display: grid; gap: 14px; }
.grade-band { display: grid; grid-template-columns: 180px 1fr; border: 1px solid var(--line); background: var(--paper); }
.grade-band h2 { margin: 0; padding: 18px; background: var(--orange); color: var(--paper); }
.grade-band div { padding: 18px; }
.help-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.help-card { padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.faq-list { display: grid; gap: 10px; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; }
summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; padding: 10px 16px; color: var(--ink); font-weight: 800; }
details p { padding: 0 16px 16px; margin: 0; color: var(--text); }
.contact-route { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.contact-card { padding: 20px; background: var(--paper); border-top: 4px solid var(--orange); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.banner-wrap { margin: 18px 0 28px; }
.statement-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.statement-side { padding: 22px; background: var(--ink); color: var(--paper); }
.statement-side h2, .statement-side h3 { color: var(--paper); }
.about-points { display: grid; gap: 10px; }
.about-points div { padding: 14px 0; border-bottom: 1px solid rgba(255,248,242,.15); }
.quote-line { padding-left: 16px; border-left: 3px solid var(--orange); color: var(--muted); }
.site-footer { background: var(--ink); color: var(--bg); border-top: 1px solid var(--orange); padding: 34px 0 calc(22px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4,1fr); gap: 28px; }
.footer-brand p { color: rgba(246,237,228,.82); font-size: 13px; max-width: 360px; }
.footer-brand-link { color: var(--bg); margin-bottom: 12px; }
.footer-en { color: rgba(246,237,228,.68); font-size: 12px; letter-spacing: .08em; }
.footer-grid h2 { color: var(--bg); font-size: 13px; margin: 0 0 10px; }
.footer-grid a { display: block; color: rgba(246,237,228,.82); font-size: 13px; min-height: 30px; }
.footer-bottom { padding-top: 22px; margin-top: 24px; border-top: 1px solid rgba(224,112,48,.44); color: rgba(246,237,228,.68); font-size: 13px; }
.global-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(26,22,18,.56); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease; }
.global-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.menu-panel { position: fixed; z-index: 130; top: 26px; left: 50%; width: 320px; max-height: 360px; transform: translate(-50%,-24px); background: var(--paper); border: 1px solid var(--strong-line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; pointer-events: none; overflow: auto; transition: opacity .18s ease, transform .18s ease; }
.menu-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%,0); }
.menu-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--paper); border-bottom: 1px solid var(--line); }
.menu-brand { display: flex; align-items: center; gap: 8px; }
.panel-close { min-height: 44px; padding: 0 12px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 3px; }
.menu-groups { padding: 6px 14px 16px; }
.menu-groups h2 { margin: 12px 0 5px; font-size: 13px; color: var(--orange); }
.menu-groups a { display: grid; grid-template-columns: 74px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.menu-groups a strong { color: var(--ink); font-size: 13px; }
.menu-groups a span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.search-panel { position: fixed; z-index: 131; top: 74px; left: 50%; width: min(620px,calc(100% - 32px)); transform: translate(-50%,-12px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.search-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%,0); }
.search-card { padding: 18px; background: var(--paper); border: 1px solid var(--strong-line); box-shadow: var(--shadow); }
.search-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.search-card label { display: block; color: var(--muted); margin-bottom: 8px; }
.search-card input { width: 100%; min-height: 44px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); padding: 0 12px; border-radius: 3px; }
.search-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.search-presets a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--orange); border-radius: 3px; }
.search-note { margin: 12px 0 0; color: var(--quiet); font-size: 13px; }
.mobile-bottom { display: none; }

@media (max-width: 760px) {
  body { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
  .quick-nav { display: none; }
  .main-content { padding-top: 74px; }
  .page-wrap { padding-top: 24px; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 5px; }
  .header-app-link, .menu-button { padding: 0 9px; }
  .double-cards, .paper-roll, .shelf-cards, .help-grid, .contact-route, .statement-grid { grid-template-columns: 1fr; }
  .shelf-head { grid-column: auto; }
  .slant-record { grid-template-columns: 1fr; }
  .slant-record .media-slot { clip-path: polygon(0 0,100% 0,100% 88%,0 100%); }
  .slant-copy { padding: 0 18px 20px; }
  .period-row { grid-template-columns: 82px 1fr; gap: 12px; }
  .status-item { grid-template-columns: 1fr auto; }
  .status-item p { grid-column: 1 / -1; }
  .app-split { grid-template-columns: 1fr; }
  .app-visual { width: min(290px,100%); margin: 0 auto; }
  .step-track { grid-template-columns: 1fr; }
  .grade-band { grid-template-columns: 1fr; }
  .topic-item { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .menu-panel { width: 88%; top: 24px; max-height: 360px; }
  .search-panel { inset: 0; width: 100%; height: 100dvh; transform: none; background: var(--ink); }
  .search-panel.is-open { transform: none; }
  .search-card { min-height: 100%; border: 0; box-shadow: none; background: var(--ink); color: var(--paper); padding: 24px 16px; }
  .search-head strong, .search-card label { color: var(--paper); }
  .search-card .panel-close { color: var(--paper); border-color: var(--paper); background: transparent; }
  .search-card input { background: var(--paper); color: var(--ink); border-color: var(--paper); }
  .search-presets a { color: var(--paper); border-color: var(--orange); }
  .search-note { color: rgba(255,248,242,.72); }
  .mobile-bottom { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(4,1fr); background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-bottom a { min-height: 48px; display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 13px; }
  .mobile-bottom a.is-current { background: var(--orange); color: var(--ink); font-weight: 800; }
}

@media (max-width: 460px) {
  .shell, .page-wrap { width: calc(100% - 32px); }
  h1 { font-size: 24px; }
  .index-tabs { gap: 6px; }
  .index-tab { min-width: 0; flex: 1; padding-inline: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
