:root {
    --bean-light: #F3E6C8;
    --bean-deep-bg: #E4D2A8;
    --paper: #FFF8E8;
    --paper-soft: #F7EDD4;
    --title: #3A2A12;
    --text: #4A3418;
    --muted: #7A5A28;
    --quiet: #A08048;
    --deep: #5A3C16;
    --shell: #8A5A22;
    --sprout: #6A7A38;
    --border: rgba(90,60,22,.16);
    --border-strong: rgba(90,60,22,.42);
    --shadow: 0 12px 28px rgba(58,42,18,.08);
    --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; min-width: 0; overflow-x: hidden; background: var(--bean-light); color: var(--text); font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; font-size: 15px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(106,122,56,.5); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--paper); color: var(--deep); border: 1px solid var(--border-strong); padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.sprout-line { position: fixed; inset: 0 0 auto 0; z-index: 90; height: 22px; padding: 0 max(16px, calc((100vw - var(--max))/2)); background: var(--deep); color: var(--paper); display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.sprout-brand { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-search-button { min-width: 48px; height: 22px; padding: 0 6px; border: 0; background: transparent; color: var(--paper); font-size: 12px; }
.pod-bar { position: fixed; inset: 22px 0 auto 0; z-index: 89; height: 56px; padding: 0 max(16px, calc((100vw - var(--max))/2)); background: var(--bean-light); border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.pod-brand { justify-self: start; min-width: 44px; min-height: 44px; display: flex; align-items: center; color: var(--deep); font-size: 16px; font-weight: 800; }
.pod-logo, .drawer-logo, .footer-logo { height: 26px; width: auto; max-width: 154px; object-fit: contain; object-position: center; }
.logo-fallback { font-weight: 800; letter-spacing: .06em; white-space: nowrap; }
.app-shortcut, .drawer-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.app-shortcut { justify-self: center; color: var(--deep); font-weight: 700; padding: 0 14px; border-radius: 9px; }
.app-shortcut:hover { background: var(--paper-soft); }
.drawer-button { justify-self: end; min-width: 58px; border: 1px solid var(--border-strong); background: var(--paper); color: var(--deep); border-radius: 9px; font-weight: 700; }
.field-tabs { position: fixed; inset: 78px 0 auto 0; z-index: 88; height: 38px; background: var(--paper); border-bottom: 1px solid var(--border); }
.field-tabs-inner { height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; }
.field-tabs-left, .field-tabs-right { display: flex; align-items: center; gap: 7px; }
.field-tab { min-width: 56px; height: 28px; padding: 0 11px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; color: var(--muted); font-size: 13px; }
.field-tab:hover { background: var(--paper-soft); color: var(--deep); }
.field-tab.is-current { background: var(--deep); color: var(--paper); }
.site-main { max-width: var(--max); margin: 0 auto; padding: 146px 16px 68px; min-height: 60vh; }
.page-hero { padding: 26px 0 22px; border-bottom: 1px solid var(--border); }
.eyebrow { margin: 0 0 7px; color: var(--sprout); font-weight: 800; letter-spacing: .12em; font-size: 13px; }
h1, h2, h3 { color: var(--title); margin-top: 0; }
h1 { font-size: 24px; line-height: 1.3; margin-bottom: 12px; }
h2 { font-size: 20px; line-height: 1.4; margin-bottom: 12px; }
h3 { font-size: 16px; line-height: 1.5; margin-bottom: 8px; }
p { margin: 0 0 13px; }
.lede { max-width: 820px; font-size: 16px; color: var(--muted); }
.lead-line { font-size: 20px; color: var(--deep); font-weight: 800; margin-bottom: 8px; }
.primary-button, .secondary-button { min-height: 42px; padding: 0 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.primary-button { background: linear-gradient(135deg,#8A5A22 0%,#5A3C16 100%); color: var(--paper); box-shadow: var(--shadow); }
.secondary-button { background: var(--paper); border: 1px solid var(--shell); color: var(--deep); }
.primary-button:hover, .secondary-button:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(58,42,18,.12); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.image-slot { width: 100%; background: var(--paper-soft); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.image-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.banner-slot { height: 200px; margin: 22px 0 30px; }
.tile-image { height: 140px; margin-bottom: 13px; }
.long-image { height: 180px; margin: 18px 0; }
.app-image { height: 320px; }
.brand-image { height: 170px; }
.section { margin-top: 38px; }
.section-head { max-width: 780px; margin-bottom: 18px; }
.section-kicker { color: var(--sprout); font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.quad-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.quad-card { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 14px; box-shadow: var(--shadow); min-width: 0; }
.quad-card p { color: var(--muted); }
.longform { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: clamp(18px, 3vw, 30px); }
.longform p:last-child { margin-bottom: 0; }
.prose-tag { display: inline-block; margin-right: 8px; padding: 2px 8px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--deep); font-size: 12px; font-weight: 800; vertical-align: 1px; }
.timeline { position: relative; margin: 18px 0 0 9px; padding-left: 26px; }
.timeline:before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--border-strong); }
.timeline-item { position: relative; padding: 0 0 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:before { content: ""; position: absolute; left: -27px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--sprout); border: 3px solid var(--bean-light); box-shadow: 0 0 0 1px var(--border-strong); }
.timeline-item .time-label { color: var(--sprout); font-weight: 800; font-size: 13px; }
.split-notes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.note-panel { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.note-panel ul, .check-list, .method-list { margin: 0; padding-left: 20px; }
.note-panel li, .check-list li, .method-list li { margin-bottom: 9px; }
.theme-strips { display: grid; gap: 10px; }
.theme-strip { display: grid; grid-template-columns: minmax(120px, .75fr) minmax(0,2fr) auto; gap: 16px; align-items: center; min-height: 70px; padding: 13px 15px; background: var(--paper); border: 1px solid var(--border); border-left: 4px solid var(--shell); border-radius: 9px; }
.theme-strip strong { color: var(--title); }
.status { white-space: nowrap; padding: 3px 9px; border-radius: 999px; background: var(--paper-soft); color: var(--deep); border: 1px solid var(--border); font-size: 12px; font-weight: 800; }
.app-row { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0,1.4fr); gap: 28px; align-items: center; background: var(--paper); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.app-copy .app-icon-wrap { width: 62px; height: 62px; border-radius: 12px; background: var(--paper-soft); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.app-copy .app-icon-wrap img { width: 48px; height: 48px; object-fit: contain; }
.feature-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.feature-list div { padding: 12px; background: var(--paper-soft); border: 1px solid var(--border); border-radius: 8px; }
.faq-mini { display: grid; gap: 10px; }
.faq-mini details, .faq-list details { background: var(--paper); border: 1px solid var(--border); border-radius: 9px; padding: 0 15px; }
.faq-mini summary, .faq-list summary { min-height: 48px; display: flex; align-items: center; color: var(--title); font-weight: 800; cursor: pointer; }
.faq-mini p, .faq-list p { padding: 0 0 15px; color: var(--muted); }
.brand-panel { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(200px,.6fr); gap: 22px; align-items: center; background: var(--bean-deep-bg); border: 1px solid var(--border-strong); border-radius: 12px; padding: 22px; }
.observe-directory { display: grid; gap: 18px; }
.observe-section { display: grid; grid-template-columns: minmax(150px,.45fr) minmax(0,1.55fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.observe-section:last-child { border-bottom: 0; }
.observe-section .observe-title { position: sticky; top: 132px; align-self: start; }
.memo-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px; }
.memo-column { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 22px; }
.memo-card { padding: 16px 0; border-bottom: 1px solid var(--border); }
.memo-card:last-child { border-bottom: 0; padding-bottom: 0; }
.check-board { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.check-card { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.method-flow { display: grid; gap: 14px; counter-reset: method; }
.method-card { position: relative; padding: 20px 20px 20px 64px; background: var(--paper); border: 1px solid var(--border); border-radius: 10px; }
.method-card:before { counter-increment: method; content: counter(method); position: absolute; left: 18px; top: 20px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--deep); color: var(--paper); font-weight: 800; }
.topic-list { display: grid; gap: 12px; }
.topic-entry { padding: 17px 18px; background: var(--paper); border: 1px solid var(--border); border-radius: 10px; }
.topic-entry header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.topic-entry small { color: var(--quiet); }
.policy-sections { display: grid; gap: 16px; }
.policy-section { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 21px; }
.info-band { padding: 17px 19px; background: var(--bean-deep-bg); border: 1px solid var(--border-strong); border-radius: 10px; }
.service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.service-card { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.link-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 8px; color: var(--deep); font-weight: 700; }
.text-link:hover { background: var(--paper-soft); }
.faq-list { display: grid; gap: 11px; }
.contact-paths { display: grid; gap: 14px; }
.contact-path { display: grid; grid-template-columns: minmax(130px,.4fr) minmax(0,1.6fr); gap: 20px; padding: 18px; background: var(--paper); border: 1px solid var(--border); border-radius: 10px; }
.site-footer { background: #2E220E; color: var(--bean-light); border-top: 1px solid rgba(243,230,200,.22); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 32px 16px 74px; }
.footer-brand-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(243,230,200,.18); }
.footer-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.footer-brand span { display: grid; }
.footer-brand strong { color: var(--paper); font-size: 16px; }
.footer-brand small { font-size: 11px; color: var(--bean-light); }
.footer-brand-row p { max-width: 430px; margin: 0; color: var(--bean-light); font-size: 13px; text-align: right; }
.footer-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; padding: 24px 0; }
.footer-links section { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-links h2 { margin: 0 0 4px; color: var(--paper); font-size: 13px; }
.footer-links a { font-size: 13px; color: var(--bean-light); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-notice, .footer-copy { margin: 0; font-size: 13px; color: var(--bean-light); }
.footer-notice { padding: 16px 0; border-top: 1px solid rgba(243,230,200,.18); border-bottom: 1px solid rgba(243,230,200,.18); }
.footer-copy { padding-top: 14px; color: rgba(243,230,200,.78); }
.page-overlay { position: fixed; inset: 0; z-index: 110; background: rgba(46,34,14,.5); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.page-overlay.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.pod-drawer { position: fixed; z-index: 120; inset: 0 0 0 auto; width: min(380px,88vw); background: var(--paper); box-shadow: -16px 0 40px rgba(46,34,14,.18); transform: translateX(104%); visibility: hidden; pointer-events: none; transition: transform .22s ease, visibility .22s ease; display: flex; flex-direction: column; }
.pod-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { min-height: 70px; padding: 12px 14px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer-brand { display: flex; align-items: center; gap: 9px; color: var(--deep); font-weight: 800; }
.icon-button { min-height: 44px; padding: 0 13px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--paper); color: var(--deep); font-weight: 700; }
.drawer-scroll { padding: 6px 14px 28px; overflow-y: auto; }
.drawer-group { padding: 14px 0; border-bottom: 1px solid var(--border); }
.drawer-group h2 { font-size: 13px; color: var(--sprout); margin-bottom: 6px; }
.drawer-group a { display: grid; gap: 2px; min-height: 56px; padding: 8px 6px; border-radius: 7px; }
.drawer-group a:hover { background: var(--paper-soft); }
.drawer-group strong { color: var(--title); }
.drawer-group span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.search-layer { position: fixed; z-index: 121; left: 50%; top: 84px; width: min(700px,calc(100vw - 32px)); transform: translate(-50%,-12px); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
.search-layer.is-open { transform: translate(-50%,0); opacity: 1; visibility: visible; pointer-events: auto; }
.search-card { background: var(--paper); border: 1px solid var(--border-strong); border-radius: 11px; box-shadow: 0 18px 44px rgba(46,34,14,.2); padding: 18px; }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.search-head h2 { margin: 0; }
.search-card label { display: block; margin: 15px 0 6px; color: var(--muted); }
.search-card input { width: 100%; min-height: 44px; border: 1px solid var(--border-strong); border-radius: 8px; background: #fffdf6; color: var(--text); padding: 0 12px; }
.search-presets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.search-presets a { min-height: 44px; display: flex; align-items: center; justify-content: center; background: var(--paper-soft); border: 1px solid var(--border); border-radius: 8px; color: var(--deep); font-weight: 700; }
.search-presets a[hidden] { display: none; }
.search-empty { margin: 12px 0 0; color: var(--muted); }
.ui-locked { overflow: hidden; }
.mobile-bottom { display: none; }

@media (max-width: 760px) {
    .field-tabs { display: none; }
    .site-main { padding-top: 100px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .sprout-line { padding-left: 12px; padding-right: 12px; }
    .pod-bar { padding: 0 12px; grid-template-columns: minmax(0,1fr) auto auto; gap: 5px; }
    .pod-brand { min-width: 0; max-width: 145px; overflow: hidden; }
    .pod-logo { max-width: 128px; }
    .app-shortcut { padding: 0 8px; font-size: 13px; }
    .drawer-button { min-width: 52px; padding: 0 9px; font-size: 13px; }
    .quad-grid, .split-notes, .memo-layout, .check-board, .service-grid, .feature-list { grid-template-columns: 1fr; }
    .theme-strip { grid-template-columns: 1fr; gap: 5px; }
    .status { justify-self: start; }
    .app-row, .brand-panel { grid-template-columns: 1fr; }
    .app-image { height: 300px; }
    .observe-section { grid-template-columns: 1fr; gap: 8px; }
    .observe-section .observe-title { position: static; }
    .contact-path { grid-template-columns: 1fr; gap: 6px; }
    .footer-brand-row { align-items: flex-start; flex-direction: column; }
    .footer-brand-row p { text-align: left; }
    .footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-inner { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .mobile-bottom { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--paper); border-top: 1px solid var(--border-strong); display: grid; grid-template-columns: repeat(5,1fr); }
    .mobile-bottom a { min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
    .mobile-bottom a.is-current { background: var(--deep); color: var(--paper); }
    .search-layer { inset: 0; width: auto; transform: translateY(-10px); background: var(--deep); color: var(--paper); }
    .search-layer.is-open { transform: translateY(0); }
    .search-card { min-height: 100%; border: 0; border-radius: 0; box-shadow: none; padding: calc(22px + env(safe-area-inset-top)) 16px 24px; background: var(--deep); }
    .search-head h2, .search-card label { color: var(--paper); }
    .search-card .icon-button { border-color: rgba(255,248,232,.42); background: transparent; color: var(--paper); }
    .search-card input { background: var(--paper); }
    .search-presets { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .search-presets a { background: #FFF8E8; color: var(--deep); }
    .search-empty { color: var(--bean-light); }
}

@media (max-width: 420px) {
    .site-main { padding-left: 16px; padding-right: 16px; }
    h1 { font-size: 24px; }
    .quad-card, .longform, .note-panel, .memo-column, .policy-section, .service-card { padding-left: 16px; padding-right: 16px; }
}
