:root {
      --canvas: #eef1f4;
      --paper: #ffffff;
      --app: #f6f7f9;
      --ink: #17202e;
      --muted: #475467;
      --subtle: #667085;
      --line: #e3e7ec;
      --line-strong: #cdd4de;
      --brand: #f36f21;
      --brand-strong: #d9540f;
      --brand-soft: #fff3ea;
      --brand-pale: #fff9f5;
      --gold: #9a6a16;
      --gold-soft: #fff8e7;
      --green: #147a4b;
      --green-soft: #ecf8f1;
      --red: #b42318;
      --red-soft: #fff1f0;
      --blue: #175cd3;
      --blue-soft: #eff5ff;
      --shadow: 0 18px 50px rgba(30, 42, 60, .12);
      --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    }

    * { box-sizing: border-box; }
    html { color-scheme: light; }
    body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); font-family: var(--font); }
    button, input, textarea { font: inherit; }
    button, [data-route], [data-modal], [data-detail-tab], [data-asset-tab], [data-role] { cursor: pointer; }
    button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid rgba(243,111,33,.28); outline-offset: 2px; }
    svg { display: block; }

    .workspace { min-height: 100vh; }
    .workbar { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 28px; position: sticky; top: 0; z-index: 80; }
    .work-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
    .work-logo { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 900; box-shadow: 0 6px 16px rgba(243,111,33,.22); }
    .work-title { font-size: 16px; font-weight: 800; }
    .work-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
    .work-status { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 8px; }
    .status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }

    .stage { width: 100%; min-height: 100vh; margin: 0 auto; padding: 24px; display: flex; justify-content: center; align-items: flex-start; }
    .preview-column { width: 622px; display: grid; grid-template-columns: 420px 190px; gap: 12px; align-items: start; }
    .permission-panel { grid-column: 2; grid-row: 1; width: 190px; padding: 13px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; position: sticky; top: 24px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(31,45,65,.06); }
    .permission-title { color: var(--muted); font-size: 12px; font-weight: 800; white-space: nowrap; }
    .permission-panel .role-switch { width: 100%; grid-template-columns: 1fr; }
    .panel { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 26px rgba(31,45,65,.06); }
    .prototype-nav { position: sticky; top: 92px; max-height: calc(100vh - 116px); overflow: auto; padding: 18px; }
    .panel-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
    .panel-title h2 { margin: 0; font-size: 16px; }
    .tiny { color: var(--subtle); font-size: 11px; line-height: 1.45; }
    .control-label { color: var(--muted); font-size: 12px; font-weight: 700; margin: 16px 0 8px; }
    .role-switch { display: grid; grid-template-columns: repeat(3, 1fr); background: #f1f3f6; border: 1px solid var(--line); border-radius: 8px; padding: 3px; gap: 3px; }
    .role-btn { min-height: 36px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; }
    .role-btn.active { background: #fff; color: var(--brand-strong); box-shadow: 0 2px 8px rgba(31,45,65,.09); }
    .nav-group { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
    .nav-group-title { color: var(--subtle); font-size: 11px; font-weight: 800; margin: 0 0 6px; }
    .screen-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
    .screen-btn { min-height: 38px; border: 1px solid transparent; border-radius: 7px; background: #fff; color: var(--muted); text-align: left; padding: 7px 9px; font-size: 12px; line-height: 1.2; transition: background .2s ease, border-color .2s ease, color .2s ease; }
    .screen-btn:hover { background: var(--brand-pale); border-color: #ffd9c2; }
    .screen-btn.active { background: var(--brand-soft); border-color: #ffc9a8; color: var(--brand-strong); font-weight: 800; }

    .phone-frame { grid-column: 1; grid-row: 1; width: 420px; padding: 10px; border-radius: 34px; background: #d8dde4; box-shadow: var(--shadow); }
    .phone { height: min(820px, calc(100dvh - 68px)); border-radius: 26px; overflow: hidden; background: var(--app); display: grid; grid-template-rows: 54px 1fr 64px; position: relative; }
    .phone.subpage-open { grid-template-rows: 54px 1fr; }
    .phone.subpage-open .bottom-nav { display: none; }
    .phone.subpage-open .toast { bottom: 18px; }
    .wx-head { background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 96px 1fr 96px; align-items: center; padding: 0 10px; z-index: 20; }
    .wx-head-left, .wx-head-right { display: flex; align-items: center; gap: 6px; }
    .wx-head-right { justify-content: flex-end; }
    .wx-title { text-align: center; font-size: 15px; font-weight: 800; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .icon-button { width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); display: grid; place-items: center; position: relative; }
    .icon-button:hover { background: #f2f4f7; }
    .icon-button svg, .mini-icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .miniapp-capsule { width: 88px; height: 32px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid rgba(31,45,65,.18); border-radius: 16px; background: rgba(255,255,255,.82); }
    .capsule-button { min-width: 0; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; position: relative; }
    .capsule-button:first-child::after { content: ""; position: absolute; top: 7px; right: 0; width: 1px; height: 18px; background: rgba(31,45,65,.14); }
    .capsule-button:hover { background: #f2f4f7; }
    .capsule-button svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
    .miniapp-close-mark { width: 15px; height: 15px; border: 2px solid currentColor; border-radius: 50%; box-shadow: inset 0 0 0 2px #fff; background: currentColor; }
    .head-mark { width: 25px; height: 25px; border-radius: 7px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 900; }
    .unread-bubble { position: absolute; top: 3px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 9px; display: grid; place-items: center; border: 2px solid #fff; }

    .phone-body { position: relative; overflow: hidden; }
    .mini-page { position: absolute; inset: 0; display: none; overflow-y: auto; overscroll-behavior: contain; padding: 12px 12px 86px; scrollbar-width: none; }
    .mini-page::-webkit-scrollbar { display: none; }
    .mini-page.active { display: block; }
    .page-stack { display: grid; gap: 12px; }
    h1, h2, h3, p { margin-top: 0; }
    h1 { margin-bottom: 5px; font-size: 21px; line-height: 1.28; letter-spacing: 0; }
    h2 { margin-bottom: 5px; font-size: 15px; line-height: 1.35; }
    h3 { margin-bottom: 4px; font-size: 13px; line-height: 1.35; }
    p { margin-bottom: 0; }
    .muted { color: var(--muted); font-size: 12px; line-height: 1.55; }
    .caption { color: var(--subtle); font-size: 10px; line-height: 1.45; }

    .surface { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
    .hero { padding: 14px; position: relative; overflow: hidden; }
    .hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); }
    .eyebrow { color: var(--brand-strong); font-size: 11px; font-weight: 800; margin-bottom: 5px; }
    .hero-row, .card-head, .section-head, .list-row, .field-row, .action-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .hero-row, .card-head { align-items: flex-start; }
    .data-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
    .data-cell { min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: #fafbfc; }
    .data-cell b { display: block; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
    .data-cell span { display: block; color: var(--subtle); font-size: 10px; margin-top: 2px; }
    .orange-number { color: var(--brand-strong); }
    .positive { color: var(--red); }
    .negative { color: var(--green); }

    .searchbar { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: flex; align-items: center; gap: 9px; padding: 0 12px; color: var(--muted); font-size: 12px; text-align: left; }
    .searchbar svg { width: 17px; height: 17px; stroke: var(--subtle); fill: none; stroke-width: 2; }
    .searchbar .filter-action { margin-left: auto; color: var(--brand-strong); font-weight: 800; }
    .module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .module-card { min-height: 96px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
    .module-card:hover { border-color: #ffc9a8; box-shadow: 0 7px 18px rgba(31,45,65,.07); }
    .module-top { display: flex; justify-content: space-between; align-items: flex-start; }
    .module-icon { width: 31px; height: 31px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); }
    .module-icon svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.9; }
    .module-count { color: var(--subtle); font-size: 10px; }
    .module-card h3 { margin: 9px 0 2px; }
    .operation-section, .section-band { display: grid; gap: 8px; margin-inline: -12px; padding: 12px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .operation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .operation-card { min-height: 82px; padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: grid; grid-template-columns: 1fr 28px; align-items: start; gap: 8px; position: relative; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
    .operation-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--line-strong); }
    .operation-card:hover { border-color: #ffc9a8; background: #fffdfb; box-shadow: 0 7px 18px rgba(31,45,65,.07); }
    .operation-card.orange::before { background: var(--brand); }
    .operation-card.gold::before { background: #b4862a; }
    .operation-card.blue::before { background: var(--blue); }
    .operation-card.green::before { background: var(--green); }
    .operation-card h3 { margin: 5px 0 2px; font-size: 12px; }
    .operation-label { color: var(--subtle); font-size: 9px; font-weight: 700; }
    .operation-arrow { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: #f3f5f7; color: var(--muted); align-self: center; }
    .operation-arrow svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.9; }

    .section-head { margin: 4px 2px 0; min-height: 30px; }
    .section-band > .section-head, .operation-section > .section-head { margin: 0 0 2px; padding-left: 9px; border-left: 3px solid var(--brand); }
    .section-band > .card + .card { margin-top: 2px; }
    .page-stack > .section-head { min-height: 42px; margin: 2px -12px 0; padding: 6px 12px 6px 21px; background: #eceff3; border-top: 1px solid #dde2e8; border-bottom: 1px solid #dde2e8; position: relative; }
    .page-stack > .section-head::before { content: ""; position: absolute; left: 12px; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: var(--brand); }
    .section-head h2 { margin: 0; }
    .text-action { min-height: 40px; border: 0; background: transparent; color: var(--brand-strong); font-size: 11px; font-weight: 800; padding: 7px 0; }
    .card { padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 3px 10px rgba(31,45,65,.035); transition: border-color .2s ease, box-shadow .2s ease; }
    .card[data-route]:hover { border-color: #ffc9a8; box-shadow: 0 8px 18px rgba(31,45,65,.07); }
    .title { margin: 0 0 3px; font-size: 14px; line-height: 1.4; font-weight: 800; }
    .meta { color: var(--muted); font-size: 11px; line-height: 1.5; }
    .badge { display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-height: 22px; padding: 3px 7px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 10px; white-space: nowrap; }
    .badge.orange { color: var(--brand-strong); background: var(--brand-soft); border-color: #ffc9a8; font-weight: 800; }
    .badge.gold { color: var(--gold); background: var(--gold-soft); border-color: #ead8a5; font-weight: 800; }
    .badge.green { color: var(--green); background: var(--green-soft); border-color: #b7e3c9; }
    .badge.red { color: var(--red); background: var(--red-soft); border-color: #f2c6c2; }
    .badge.blue { color: var(--blue); background: var(--blue-soft); border-color: #c9dafa; }
    .badge svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; }
    .inline-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
    .source { margin-top: 9px; padding-top: 8px; border-top: 1px dashed var(--line-strong); display: flex; justify-content: space-between; gap: 10px; color: var(--subtle); font-size: 9px; line-height: 1.4; }
    .notice { padding: 9px 10px; border: 1px solid #ffd4ba; border-radius: 8px; background: var(--brand-pale); color: #91420e; font-size: 10px; line-height: 1.5; }
    .notice.neutral { border-color: var(--line); background: #f8f9fb; color: var(--muted); }

    .chips, .tabs { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .chips::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
    .chip, .tab { min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); padding: 8px 12px; white-space: nowrap; font-size: 11px; }
    .chip.active, .tab.active { color: var(--brand-strong); border-color: #ffc39c; background: var(--brand-soft); font-weight: 800; }
    .sortbar { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; }
    .sortbar strong { color: var(--ink); }
    .sort-select { border: 0; background: transparent; color: var(--muted); font-size: 10px; }

    .progress-line { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; margin: 10px 0 7px; }
    .progress-line span { height: 4px; border-radius: 2px; background: #e5e8ed; }
    .progress-line .done { background: var(--green); }
    .progress-line .current { background: var(--brand); }
    .progress-label { display: flex; justify-content: space-between; gap: 12px; color: var(--subtle); font-size: 9px; }
    .kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 9px; }
    .kpi { min-width: 0; }
    .kpi b { display: block; font-size: 13px; line-height: 1.25; overflow-wrap: anywhere; }
    .kpi span { color: var(--subtle); font-size: 9px; }

    .project-switch { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; gap: 3px; border: 1px solid var(--line); border-radius: 8px; background: #eef1f5; }
    .project-switch button { min-height: 38px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 700; }
    .project-switch button.active { color: var(--brand-strong); background: #fff; box-shadow: 0 2px 8px rgba(31,45,65,.08); }

    .stock-head { padding: 13px; }
    .stock-name { display: flex; align-items: center; gap: 9px; }
    .company-logo { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 8px; background: #f1f3f6; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); font-weight: 900; }
    .quote-grid { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 6px; margin-top: 11px; }
    .quote-main { padding-right: 8px; border-right: 1px solid var(--line); }
    .quote-main b { display: block; font-size: 23px; color: var(--red); line-height: 1.1; }
    .quote-main span, .quote-cell span { color: var(--subtle); font-size: 9px; }
    .quote-cell b { display: block; font-size: 11px; margin-bottom: 2px; }
    .detail-tab-content { display: none; }
    .detail-tab-content.active { display: grid; gap: 9px; }
    .stage-overview { padding: 12px; }
    .stage-track { display: grid; grid-template-columns: repeat(13, 1fr); gap: 2px; margin: 10px 0 7px; }
    .stage-track span { height: 5px; border-radius: 2px; background: #e4e7ec; }
    .stage-track .done { background: var(--green); }
    .stage-track .current { background: var(--brand); }
    .timeline { display: grid; gap: 0; }
    .timeline-item { display: grid; grid-template-columns: 18px 1fr; gap: 8px; min-height: 54px; color: var(--muted); font-size: 11px; line-height: 1.45; }
    .timeline-rail { display: flex; flex-direction: column; align-items: center; }
    .timeline-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 3px; background: #cfd5de; flex: 0 0 auto; }
    .timeline-dot.done { background: var(--green); }
    .timeline-dot.current { background: var(--brand); box-shadow: 0 0 0 4px rgba(243,111,33,.14); }
    .timeline-tail { width: 1px; flex: 1; background: var(--line); margin-top: 4px; }
    .timeline-item:last-child .timeline-tail { display: none; }
    .timeline-item strong { color: var(--ink); display: block; font-size: 11px; }
    .timeline-item small { color: var(--subtle); }

    .locked { position: relative; overflow: hidden; }
    .locked-body { transition: filter .2s ease, opacity .2s ease; }
    .lock-mask { display: none; position: absolute; inset: 0; background: rgba(255,255,255,.82); align-items: center; justify-content: center; padding: 14px; text-align: center; backdrop-filter: blur(2px); }
    .locked.is-locked .locked-body { filter: blur(4px); opacity: .38; user-select: none; }
    .locked.is-locked .lock-mask { display: flex; }
    .lock-card { max-width: 250px; border: 1px solid #ffc9a8; border-radius: 8px; background: #fffaf6; padding: 11px; box-shadow: 0 8px 18px rgba(31,45,65,.08); }
    .lock-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 6px; background: var(--brand-soft); color: var(--brand-strong); }
    .lock-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

    .primary, .secondary, .danger { min-height: 44px; border-radius: 8px; padding: 9px 13px; font-weight: 800; font-size: 12px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
    .primary { background: var(--brand); color: #fff; box-shadow: 0 5px 14px rgba(243,111,33,.18); }
    .primary:hover { background: var(--brand-strong); }
    .secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
    .secondary:hover { background: #f7f8fa; }
    .danger { background: #fff; color: var(--red); border-color: #f1c0bc; }
    .primary svg, .secondary svg, .danger svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; }
    .button-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .button-grid.three { grid-template-columns: repeat(3, 1fr); }
    .sticky-actions { position: sticky; bottom: 0; z-index: 12; margin: 12px -12px -86px; padding: 9px 12px 10px; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); display: grid; grid-template-columns: 50px 50px 1fr; gap: 7px; box-shadow: 0 -8px 22px rgba(31,45,65,.06); }
    .tool-action { min-height: 44px; border: 0; background: #fff; color: var(--muted); display: grid; justify-items: center; align-content: center; gap: 2px; font-size: 9px; }
    .tool-action svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }

    .asset-hero { min-height: 112px; padding: 14px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 8px; display: grid; grid-template-columns: 1fr 92px; align-items: center; gap: 12px; }
    .asset-chart { height: 62px; display: flex; gap: 5px; align-items: end; padding: 4px; border-bottom: 1px solid var(--line-strong); }
    .asset-chart i { display: block; flex: 1; border-radius: 2px 2px 0 0; background: #dfe4ea; }
    .asset-chart i:nth-child(2), .asset-chart i:nth-child(5) { background: #ffc8a5; }
    .asset-chart i:nth-child(4) { background: var(--brand); }
    .countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 10px; }
    .countdown div { padding: 7px 4px; text-align: center; border: 1px solid var(--line); border-radius: 7px; background: #fafbfc; }
    .countdown b { display: block; color: var(--brand-strong); font-size: 14px; }
    .countdown span { color: var(--subtle); font-size: 9px; }
    .media-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 7px; }
    .media-tile { min-height: 88px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg,#f7f8fa,#eef1f4); display: flex; flex-direction: column; justify-content: flex-end; color: var(--muted); font-size: 10px; }
    .media-tile.document { background: linear-gradient(145deg,#fffaf6,#f8ece4); }
    .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
    .info-cell { padding: 9px 0; border-bottom: 1px solid var(--line); }
    .info-cell:nth-child(odd) { padding-right: 8px; }
    .info-cell:nth-child(even) { padding-left: 8px; border-left: 1px solid var(--line); }
    .info-cell span { display: block; color: var(--subtle); font-size: 9px; }
    .info-cell b { display: block; margin-top: 3px; font-size: 11px; line-height: 1.4; }
    .feature-list { display: grid; gap: 7px; }
    .feature-item { display: grid; grid-template-columns: 18px 1fr; gap: 7px; color: var(--muted); font-size: 11px; line-height: 1.45; }
    .check { width: 16px; height: 16px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 10px; font-weight: 900; }
    .map { height: 112px; border: 1px solid var(--line); border-radius: 8px; background-image: linear-gradient(#e9edf2 1px,transparent 1px), linear-gradient(90deg,#e9edf2 1px,transparent 1px); background-size: 24px 24px; background-color: #f7f8fa; display: grid; place-items: center; color: var(--brand-strong); }
    .map-pin { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand); display: grid; place-items: center; box-shadow: 0 5px 12px rgba(243,111,33,.25); }
    .map-pin span { color: #fff; transform: rotate(45deg); font-size: 10px; font-weight: 900; }

    .company-head { padding: 13px; }
    .field-list { display: grid; }
    .field-row { min-height: 47px; border-bottom: 1px solid var(--line); align-items: flex-start; padding: 9px 0; }
    .field-row:last-child { border-bottom: 0; }
    .field-label { color: var(--subtle); font-size: 10px; width: 90px; flex: 0 0 auto; }
    .field-value { text-align: right; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
    .copy-btn { min-width: 40px; min-height: 32px; border: 0; background: transparent; color: var(--brand-strong); padding: 2px 0 2px 6px; font-size: 10px; font-weight: 800; }
    .document-card { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
    .file-icon { width: 42px; height: 48px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; font-size: 10px; font-weight: 900; }

    .service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .service-card { min-height: 88px; padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
    .service-card.wide { grid-column: 1 / -1; min-height: 78px; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; }
    .partner-row, .expert-row, .message-row, .follow-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 9px; padding: 11px 0; border-bottom: 1px solid var(--line); }
    .partner-row:last-child, .expert-row:last-child, .message-row:last-child, .follow-row:last-child { border-bottom: 0; }
    .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #eef1f5; color: var(--ink); font-weight: 900; border: 1px solid var(--line); }
    .avatar.square { border-radius: 8px; }
    .activity-cover { min-height: 118px; padding: 14px; border-radius: 8px; border: 1px solid var(--line); background: linear-gradient(135deg,#fff,#f3f5f8); display: grid; align-content: end; position: relative; overflow: hidden; }
    .activity-cover::after { content: ""; position: absolute; width: 120px; height: 120px; right: -42px; top: -54px; border: 16px solid rgba(243,111,33,.12); border-radius: 50%; }
    .calendar-block { width: 48px; border: 1px solid #ffc9a8; border-radius: 7px; overflow: hidden; text-align: center; background: #fff; }
    .calendar-block span { display: block; background: var(--brand); color: #fff; font-size: 9px; padding: 3px; }
    .calendar-block b { display: block; font-size: 18px; padding: 4px; }

    .profile { padding: 14px; display: grid; grid-template-columns: 52px 1fr auto; gap: 11px; align-items: center; }
    .profile .avatar { width: 52px; height: 52px; background: var(--brand-soft); color: var(--brand-strong); border-color: #ffc9a8; }
    .profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
    .profile-stat { text-align: center; padding: 8px 4px; border-top: 1px solid var(--line); }
    .profile-stat b { display: block; font-size: 14px; }
    .profile-stat span { color: var(--subtle); font-size: 9px; }
    .menu-list { overflow: hidden; }
    .menu-row { min-height: 52px; padding: 0 12px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 30px 1fr auto; gap: 9px; align-items: center; font-size: 12px; }
    .menu-row:last-child { border-bottom: 0; }
    .menu-icon { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: #f2f4f7; color: var(--muted); }
    .menu-icon svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.9; }
    .menu-arrow { color: var(--subtle); }
    .message-type { width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); }
    .message-type.orange { color: var(--brand-strong); background: var(--brand-soft); }
    .message-type.green { color: var(--green); background: var(--green-soft); }
    .message-type svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.8; }
    .message-row.unread h3::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 5px; border-radius: 50%; background: var(--blue); vertical-align: middle; }
    .setting-row { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
    .setting-row:last-child { border-bottom: 0; }
    .switch { width: 48px; height: 28px; border-radius: 16px; border: 0; background: #d7dce3; padding: 2px; transition: background .2s ease; }
    .switch::after { content: ""; display: block; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(31,45,65,.18); transition: transform .2s ease; }
    .switch.on { background: var(--brand); }
    .switch.on::after { transform: translateX(20px); }
    .chat { display: grid; gap: 12px; }
    .chat-bubble { max-width: 82%; padding: 9px 11px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 11px; line-height: 1.5; }
    .chat-bubble.mine { margin-left: auto; background: var(--brand-soft); border-color: #ffc9a8; }
    .chat-time { text-align: center; color: var(--subtle); font-size: 9px; }
    .chat-input { position: sticky; bottom: 0; margin: 10px -12px -86px; min-height: 62px; padding: 8px 12px; display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px; align-items: center; background: #fff; border-top: 1px solid var(--line); }
    .chat-input input { height: 38px; border: 1px solid var(--line); border-radius: 7px; padding: 0 10px; min-width: 0; }

    .bottom-nav { background: rgba(255,255,255,.98); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch; z-index: 30; }
    .nav-item { border: 0; background: transparent; color: var(--subtle); display: grid; justify-items: center; align-content: center; gap: 3px; min-width: 0; font-size: 9px; position: relative; }
    .nav-item::before { content: ""; position: absolute; top: 0; width: 22px; height: 2px; border-radius: 0 0 2px 2px; background: transparent; }
    .nav-item svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.8; }
    .nav-item.active { color: var(--brand-strong); font-weight: 800; }
    .nav-item.active::before { background: var(--brand); }

    .coverage { position: sticky; top: 92px; padding: 18px; }
    .coverage h2 { margin: 0 0 6px; font-size: 16px; }
    .coverage-list { display: grid; gap: 9px; margin-top: 14px; }
    .coverage-row { padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fafbfc; }
    .coverage-row strong { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
    .coverage-row p { color: var(--muted); font-size: 10px; line-height: 1.5; margin-top: 4px; }
    .legend { display: grid; gap: 7px; margin-top: 14px; color: var(--muted); font-size: 10px; }
    .legend div { display: flex; align-items: center; gap: 7px; }
    .legend-swatch { width: 12px; height: 12px; border-radius: 3px; background: var(--brand); }
    .legend-swatch.soft { background: var(--brand-soft); border: 1px solid #ffc9a8; }
    .legend-swatch.gray { background: #f1f3f6; border: 1px solid var(--line); }

    .modal-layer { position: absolute; inset: 0; z-index: 100; display: none; align-items: flex-end; background: rgba(20,29,42,.36); padding: 12px; }
    .modal-layer.open { display: flex; }
    .modal { width: 100%; border-radius: 10px; background: #fff; padding: 16px; box-shadow: 0 16px 42px rgba(20,29,42,.2); }
    .modal h2 { font-size: 17px; margin-bottom: 7px; }
    .modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
    .checkline { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.45; }
    .checkline input { width: 18px; height: 18px; accent-color: var(--brand); flex: 0 0 auto; }
    .form { display: grid; gap: 9px; margin-top: 12px; }
    .form label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; }
    .form input { height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; color: var(--ink); }
    .toast { position: absolute; z-index: 130; left: 50%; bottom: 86px; transform: translateX(-50%) translateY(10px); background: rgba(23,32,46,.92); color: #fff; border-radius: 7px; padding: 8px 11px; font-size: 10px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; white-space: nowrap; }
    .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

    /* Mobile type scale: 12 / 14 / 16 / 18 / 22. */
    .phone { font-size: 14px; -webkit-text-size-adjust: 100%; }
    .wx-title { font-size: 17px; }
    h1 { font-size: 22px; line-height: 1.34; }
    h2 { font-size: 17px; line-height: 1.42; }
    h3 { font-size: 15px; line-height: 1.45; }
    .title { font-size: 16px; line-height: 1.48; }
    .muted { font-size: 14px; line-height: 1.65; }
    .caption { font-size: 12px; line-height: 1.55; }
    .meta { font-size: 13px; line-height: 1.58; }
    .eyebrow, .operation-label { font-size: 12px; }
    .badge { min-height: 24px; font-size: 11px; }
    .source { flex-wrap: wrap; row-gap: 4px; font-size: 11px; line-height: 1.5; }
    .notice { font-size: 12px; line-height: 1.62; }
    .searchbar { min-height: 46px; font-size: 14px; }
    .text-action { font-size: 13px; }
    .chip, .tab { font-size: 13px; }
    .sortbar, .sort-select { font-size: 12px; }
    .primary, .secondary, .danger { font-size: 14px; }
    .module-count, .data-cell span { font-size: 11px; }
    .operation-card h3 { font-size: 14px; }
    .progress-label { flex-wrap: wrap; font-size: 11px; line-height: 1.5; }
    .kpi b { font-size: 15px; }
    .kpi span, .quote-main span, .quote-cell span, .countdown span, .info-cell span, .profile-stat span { font-size: 11px; }
    .quote-cell b, .info-cell b { font-size: 13px; }
    .timeline-item, .timeline-item strong, .feature-item { font-size: 13px; line-height: 1.55; }
    .tool-action { font-size: 11px; }
    .media-tile { font-size: 12px; }
    .field-label { font-size: 12px; }
    .field-value { font-size: 13px; line-height: 1.55; }
    .copy-btn { font-size: 12px; }
    .menu-row { min-height: 56px; font-size: 14px; }
    .chat-bubble { font-size: 13px; line-height: 1.6; }
    .chat-time { font-size: 11px; }
    .nav-item { font-size: 11px; }
    .unread-bubble { font-size: 10px; }
    .modal h2 { font-size: 18px; }
    .checkline { font-size: 13px; line-height: 1.55; }
    .form label { font-size: 12px; }
    .form input { font-size: 14px; }
    .toast { font-size: 12px; }
    .permission-title, .role-btn { font-size: 13px; }

    @media (max-width: 820px) {
      .stage { padding: 14px; }
      .preview-column { width: min(610px, 100%); grid-template-columns: minmax(0, 420px) 178px; }
      .permission-panel { width: 178px; top: 14px; }
      .phone-frame { width: 100%; margin: 0 auto; }
      .phone { height: min(820px, calc(100dvh - 48px)); }
    }
    @media (max-width: 620px) {
      .permission-panel { display: none; }
      .preview-column { width: min(420px, 100%); grid-template-columns: minmax(0, 420px); }
    }
    @media (max-width: 460px) {
      body { background: #d8dde4; }
      .stage { padding: 0; display: block; }
      .preview-column { width: 100%; display: block; }
      .phone-frame { width: 100%; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
      .phone { height: 100dvh; border-radius: 0; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
    }
