@import url('./office-controls.css?v=20261015-selection-v1');
.office-report-v5 {
    box-sizing: border-box;
    --or5-ink: var(--app-text, #20383b);
    --or5-muted: var(--app-text-secondary, #587174);
    --or5-line: var(--app-line, #d8e9e7);
    --or5-soft: var(--app-primary-soft, #edf8f5);
    --or5-accent: var(--app-primary, #076f7f);
    --or5-warm: #fbf7f2;
    --or5-body-size: 16px;
    --or5-body-leading: 1.8;
    --or5-paragraph-gap: 16px;
    --or5-heading-size: 18px;
    --or5-heading-leading: 1.5;
    --or5-heading-gap: 12px;
    --or5-chapter-size: 22px;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    color: var(--or5-ink);
    font-family: var(--office-interface-font, "Noto Sans SC", sans-serif);
    font-size: var(--or5-body-size);
    line-height: var(--or5-body-leading);
}
.office-report-v5 *, .office-report-v5 *::before, .office-report-v5 *::after { box-sizing: border-box; }
.office-report-v5 :where(p, h2, h3, h4, dl, dd) { margin: 0; }
/* Report prose owns its typography in both standalone and collection pages.
   Do not inherit the collection shell's global p color or line-height. */
.office-report-v5 :where(p) { color: inherit; font-size: var(--or5-body-size); line-height: var(--or5-body-leading); }
.office-report-v5 :where(h4, h5) { line-height: var(--or5-heading-leading); }
.office-m01-copy p + p, .office-m02-detail > p + p, .office-m05-section p + p { margin-top: var(--or5-paragraph-gap); }
.office-report-v5-hero { padding: 72px 0 38px; }
.office-report-v5-label { color: var(--or5-accent); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.office-report-v5-hero h2 { margin-top: 8px; font-family: var(--office-interface-font, "Noto Sans SC", sans-serif); font-size: clamp(30px, 4vw, 48px); font-weight: 600; }
.office-report-v5-hero > p:last-child { margin-top: 12px; color: var(--or5-muted); font-size: 13px; }
.office-report-v5-tabs { position: sticky; top: 0; z-index: 4; display: flex; gap: 6px; padding: 14px 0; overflow-x: auto; border-bottom: 1px solid var(--or5-line); background: rgba(250, 252, 249, .96); scrollbar-width: none; }
.office-report-v5-tabs::-webkit-scrollbar { display: none; }
.office-report-v5-tabs a { flex: 0 0 auto; padding: 9px 14px; color: var(--or5-ink); border-radius: 999px; text-decoration: none; font-size: 13px; white-space: nowrap; }
.office-report-v5-tabs a span { margin-right: 6px; color: var(--or5-accent); font-size: 11px; font-weight: 700; }
.office-report-v5-tabs a[aria-current="location"] { color: #fff; background: var(--or5-ink); }
.office-report-v5-tabs a.is-locked { color: var(--or5-muted); }
.office-report-v5-section { padding: 62px 0; border-bottom: 1px solid var(--or5-line); scroll-margin-top: 72px; }
.office-m01 { --or5-accent: #076f7f; color: var(--or5-ink); }
.office-m01-copy, .office-m01-trend { min-width: 0; padding: clamp(18px, 2.3vw, 28px); border-radius: 22px; background: var(--or5-soft); }
.office-m01-copy { color: var(--or5-ink); overflow-wrap: anywhere; }
.office-m01-copy h4 { margin: 0 0 var(--or5-heading-gap); font-size: var(--or5-heading-size); line-height: var(--or5-heading-leading); font-weight: 650; }
.office-m01-summary { max-width: 900px; font-size: var(--or5-body-size); line-height: var(--or5-body-leading); }
.office-m01-reading { margin-top: 26px; max-width: 900px; }
.office-m01-reading h4 { margin-bottom: var(--or5-heading-gap); color: var(--or5-accent); font-size: var(--or5-heading-size); }
.office-m01-reading p { color: var(--or5-ink); font-size: var(--or5-body-size); line-height: var(--or5-body-leading); }
.office-m01-trend { margin-top: 24px; }
.office-m01-trend h4 { margin: 0 0 10px; color: var(--or5-accent); font-size: 16px; font-weight: 650; line-height: 24px; }
.office-m01-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 8px; color: var(--or5-muted); font-size: 11px; line-height: 20px; }
.office-m01-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.office-m01-legend i { width: 16px; border-top: 2px solid var(--line-color); }
.office-m01-trend-chart { display: grid; grid-template-columns: 34px minmax(0, 1fr); }
.office-m01-chart-y { position: relative; height: 204px; color: var(--or5-muted); font-size: 10px; }
.office-m01-chart-y span { position: absolute; right: 8px; transform: translateY(-50%); }
.office-m01-plot { display: block; width: 100%; height: 204px; overflow: visible; }
.office-m01-grid { stroke: #d4e4db; stroke-width: .8; vector-effect: non-scaling-stroke; }
.office-m01-grid-vertical { opacity: .3; }
.office-m01-series { fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.office-m01-months { position: relative; height: 24px; margin-left: 34px; color: var(--or5-muted); font-size: 10px; line-height: 20px; }
.office-m01-months span { position: absolute; top: 3px; transform: translateX(-50%); white-space: nowrap; }
.office-m01-months span:first-child { transform: none; }
.office-m01-months span:last-child { transform: translateX(-100%); }
.office-report-v5-section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 30px; }
.office-report-v5-section-head > span { color: var(--or5-accent); font-family: var(--office-interface-font, "Noto Sans SC", sans-serif); font-size: 15px; }
.office-report-v5-section-head .office-report-v5-chapter-number { order: -1; }
.office-report-v5-section-head h3 { font-family: var(--office-interface-font, "Noto Sans SC", sans-serif); font-size: var(--or5-chapter-size); line-height: 1.4; font-weight: 600; }
.office-report-v5-verdict { max-width: 920px; font-family: var(--office-interface-font, "Noto Sans SC", sans-serif); font-size: clamp(23px, 3vw, 34px); line-height: 1.55; }
.office-report-v5-two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 34px; border: 1px solid var(--or5-line); background: var(--or5-line); }
.office-report-v5-two-column article { padding: 26px; background: #fff; }
.office-report-v5-two-column article.is-issue { background: var(--or5-warm); }
.office-report-v5-two-column h4 { margin: 9px 0 10px; font-size: 18px; }
.office-report-v5-two-column article > p:last-child { color: #42514a; font-size: 14px; line-height: 1.8; }
.office-report-v5-prescription-lead { margin-top: 26px; padding: 28px 30px; color: #fff; background: #182c25; }
.office-report-v5-prescription-lead .office-report-v5-label { color: #a9dec3; }
.office-report-v5-prescription-lead h4 { max-width: 880px; margin: 10px 0; font-family: var(--office-interface-font, "Noto Sans SC", sans-serif); font-size: 20px; line-height: 1.65; }
.office-report-v5-prescription-lead dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 18px; background: rgba(255,255,255,.14); }
.office-report-v5-prescription-lead dl div { padding: 13px 14px; background: #213a31; }
.office-report-v5-prescription-lead dt { color: #a9dec3; font-size: 11px; }
.office-report-v5-prescription-lead dd { margin-top: 5px; color: #dbe5e0; font-size: 12px; line-height: 1.6; }
.office-report-v5-four-glance { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 26px; border: 1px solid var(--or5-line); }
.office-report-v5-four-glance article { min-height: 132px; padding: 20px; border-right: 1px solid var(--or5-line); }
.office-report-v5-four-glance article:last-child { border-right: 0; }
.office-report-v5-four-glance span { color: var(--or5-accent); font-size: 13px; font-weight: 700; }
.office-report-v5-four-glance p { margin-top: 10px; color: #48574f; font-size: 13px; line-height: 1.7; }
.office-report-v5-section-intro { max-width: 760px; margin: -12px 0 30px; color: var(--or5-muted); font-size: 14px; line-height: 1.85; }
.office-report-v5-cycle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.office-report-v5-cycle-grid > article { padding: 26px; border: 1px solid var(--or5-line); background: #fff; }
.office-report-v5-cycle-grid header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--or5-line); }
.office-report-v5-cycle-grid header span { color: var(--or5-accent); font-size: 12px; font-weight: 700; }
.office-report-v5-cycle-grid h4 { font-family: var(--office-interface-font, "Noto Sans SC", sans-serif); font-size: 21px; }
.office-report-v5-cycle-grid .is-conclusion { min-height: 74px; padding: 18px 0; color: var(--or5-ink); font-size: 16px; font-weight: 600; line-height: 1.7; }
.office-report-v5-cycle-grid dl { display: grid; gap: 12px; }
.office-report-v5-cycle-grid dl div { display: grid; grid-template-columns: 68px 1fr; gap: 12px; }
.office-report-v5-cycle-grid dt, .office-report-v5-plan dt { color: var(--or5-accent); font-size: 11px; font-weight: 700; }
.office-report-v5-cycle-grid dd, .office-report-v5-plan dd { color: #4a5b52; font-size: 13px; line-height: 1.7; }
.office-report-v5-object-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.office-report-v5-object-list article { padding: 24px; border: 1px solid var(--or5-line); background: #fff; }
.office-report-v5-object-list header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.office-report-v5-object-list header span { color: var(--or5-accent); font-size: 11px; font-weight: 700; }
.office-report-v5-object-list h4 { margin-top: 4px; font-size: 17px; }
.office-report-v5-object-list header > strong { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--or5-line); border-radius: 50%; color: var(--or5-accent); font-family: var(--office-interface-font, "Noto Sans SC", sans-serif); }
.office-report-v5-object-list header > strong[data-relation="constraining"], .office-report-v5-object-list header > strong[data-relation="disturbing"], .office-report-v5-object-list header > strong[data-relation="personal_mismatch"] { color: #9a4a30; background: #fbf1ec; }
.office-report-v5-object-list article > p { margin-top: 18px; color: #42514a; font-size: 13px; line-height: 1.8; }
.office-report-v5-object-list footer { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--or5-line); color: var(--or5-muted); font-size: 11px; }
.office-report-v5-plan ol { display: grid; gap: 0; padding: 0; list-style: none; counter-reset: office-plan; }
.office-report-v5-plan li { display: grid; grid-template-columns: 64px 1fr; border-top: 1px solid var(--or5-line); }
.office-report-v5-plan li > span { padding-top: 28px; color: var(--or5-accent); font-family: var(--office-interface-font, "Noto Sans SC", sans-serif); font-size: 17px; }
.office-report-v5-plan li article { padding: 26px 0 30px; }
.office-report-v5-plan h4 { margin: 7px 0 10px; font-family: var(--office-interface-font, "Noto Sans SC", sans-serif); font-size: 22px; }
.office-report-v5-plan li article > p:not(.office-report-v5-label) { color: #42514a; font-size: 14px; line-height: 1.8; }
.office-report-v5-plan dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 18px; background: var(--or5-line); }
.office-report-v5-plan dl div { padding: 14px 16px; background: var(--or5-soft); }
.office-report-v5-closing { padding: 24px 28px; color: #fff; background: #182c25; font-family: var(--office-interface-font, "Noto Sans SC", sans-serif); font-size: 17px; line-height: 1.8; }
.office-report-v5-member-lock { display: grid; grid-template-columns: 56px 1fr; gap: 20px; margin: 28px 0; padding: 28px; border: 1px solid var(--or5-line); background: #fff; scroll-margin-top: 72px; }
.office-report-v5-member-lock > span { color: var(--or5-accent); font-family: var(--office-interface-font, "Noto Sans SC", sans-serif); }
.office-report-v5-member-lock h3 { font-family: var(--office-interface-font, "Noto Sans SC", sans-serif); font-size: 20px; }
.office-report-v5-member-lock p { margin-top: 6px; color: var(--or5-muted); font-size: 13px; }
.office-report-v5-locked { margin: 48px 0; padding: 34px; border: 1px solid var(--or5-line); background: #fff; }
.office-report-v5-locked > header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; }
.office-report-v5-locked h3 { margin-top: 8px; font-family: var(--office-interface-font, "Noto Sans SC", sans-serif); font-size: 24px; }
.office-report-v5-locked > header > span { color: var(--or5-muted); font-size: 13px; }
.office-report-v5-locked-list { border-top: 1px solid var(--or5-line); }
.office-report-v5-locked-list article { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--or5-line); }
.office-report-v5-locked-list article > span { color: #5d6e66; font-family: var(--office-interface-font, "Noto Sans SC", sans-serif); }
.office-report-v5-locked-list h4 { font-size: 15px; }
.office-report-v5-locked-list p { margin-top: 5px; color: var(--or5-muted); font-size: 13px; line-height: 1.65; }
.office-report-v5-method { padding: 42px 0 72px; color: var(--or5-muted); }
.office-report-v5-method h3 { color: var(--or5-ink); font-family: var(--office-interface-font, "Noto Sans SC", sans-serif); font-size: 20px; }
.office-report-v5-method ul { display: grid; gap: 8px; margin: 18px 0; padding-left: 20px; font-size: 12px; line-height: 1.7; }
.office-report-v5-method > p { padding-top: 16px; border-top: 1px solid var(--or5-line); font-size: 11px; line-height: 1.7; }
/* M02-M04 copy residential report-web-v2 SVGs and the effective diagram rules from
   report-modules/overrides/{m02,m03,m04,report-ui-polish}.css. No alternate mobile map. */
.office-m02 { --m02-ink: #076f7f; --m02-line: #c5dfe3; --or5-accent: #076f7f; color: var(--or5-ink); }
.office-m02 .office-report-v5-section-head h3 { color: var(--m02-ink); }
.office-m02-intro { margin: 0 0 24px; padding-left: 22px; border-left: 2px solid var(--m02-line); font-size: var(--or5-body-size); line-height: var(--or5-body-leading); }
.office-m02-chart { width: min(100%, 1120px); margin-inline: auto; }
.office-residential-diagram .office-residential-figure {
    width: 100%; max-width: 100%; margin: 0 auto; padding: 24px 0 20px;
    border: 0; border-radius: 20px; background: #eff5ef; box-shadow: none;
}
.office-residential-diagram .m02-nine-palace-figure { margin: 0 0 32px; padding: 14px 0 12px; }
.office-residential-diagram svg { display: block; width: 100%; max-width: 100%; height: auto; overflow: visible; }
.office-residential-diagram svg :is(text, tspan) {
    font-family: var(--web-product-font, "YuanChu Noto Sans SC", "Microsoft YaHei", sans-serif);
    letter-spacing: 0; fill: #076f7f; color: #076f7f;
    stroke: none; stroke-width: 0; stroke-opacity: 0; paint-order: normal;
}
.office-residential-diagram :is(.direction-card-bg, .star-card-bg) { fill: #fff; stroke: none; filter: none; }
.office-residential-diagram .connector {
    fill: none; stroke: rgba(7, 111, 127, .28); stroke-width: 3px;
    stroke-linecap: round; opacity: .82;
}
.office-residential-diagram[data-office-diagram-kind="m02"] .connector {
    stroke-width: 2.2px; stroke-linejoin: round; vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 2px 4px rgba(29, 43, 58, .06));
}
.office-residential-diagram .connector-node {
    fill: #fff; stroke: #076f7f; stroke-width: 2.5px; opacity: .95; vector-effect: non-scaling-stroke;
}
.office-residential-diagram .grid-shell { fill: #fff; stroke: rgba(7, 111, 127, .34); stroke-width: 1.4px; filter: none; }
.office-residential-diagram .grid-line { stroke: rgba(7, 111, 127, .24); stroke-width: 1px; }
.office-residential-diagram .center-cell-glow { fill: #dff3eb; stroke: rgba(7, 111, 127, .40); stroke-width: 1; }
.office-residential-diagram .luoshu-dot { display: none; }
.office-residential-diagram .luoshu-num { font-size: 13px; line-height: 14px; font-weight: 680; text-anchor: middle; dominant-baseline: middle; }
.office-residential-diagram .gua-main { font-size: 19px; line-height: 25px; font-weight: 680; }
.office-residential-diagram :is(.card-title, .star-direction) { font-size: 20px; line-height: 24px; font-weight: 700; }
.office-residential-diagram .center-title { font-size: 17px; line-height: 22px; font-weight: 560; }
.office-residential-diagram .center-line { font-size: 10.8px; line-height: 14px; font-weight: 560; }
.office-residential-diagram :is(.card-star, .card-line:not(.reading-line), .star-name) { font-size: 11.5px; line-height: 15px; font-weight: 560; }
.office-residential-diagram :is(.direction-card .card-line, .reading-line) { font-size: 11px; line-height: 14px; font-weight: 560; }
.office-residential-diagram .star-meaning { font-size: 10.5px; line-height: 15px; font-weight: 560; }
.office-residential-diagram .flying-star-card[data-star-card="north"] :is(.star-direction, .star-name, .star-meaning) { transform: translateY(-10px); }
.office-residential-diagram [data-office-m02-select] { cursor: pointer; }
.office-residential-diagram [data-office-m02-select]:focus-visible { outline: 2px solid #076f7f; outline-offset: 2px; }
@media (max-width: 680px) {
    .office-residential-diagram .office-residential-figure { padding: 12px 0 10px; }
    .office-residential-diagram .m02-nine-palace-figure { padding: 14px 0 12px; }
}
.office-m02-direction-tabs[hidden], .office-m02-detail[hidden] { display: none; }
.office-m02-direction-tabs { display: flex; justify-content: center; overflow-x: auto; gap: 4px; margin-top: 16px; padding: 0; border-bottom: 1px solid #dce4e3; scrollbar-width: none; overscroll-behavior-x: contain; }
.office-m02-direction-tabs::-webkit-scrollbar { display: none; }
.office-m02-direction-tabs button { flex: 1 0 54px; max-width: 100px; padding: 14px 8px 11px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #718a90; font: inherit; font-size: 14px; cursor: pointer; }
.office-m02-direction-tabs button[aria-selected="true"] { color: var(--m02-ink); border-bottom-color: var(--m02-ink); font-weight: 600; }
.office-m02-direction-tabs button:focus-visible { outline: none; text-decoration: underline; text-underline-offset: 4px; }
.office-m02-detail { padding: 24px 24px 32px; }
.office-m02-detail h4 { margin: 0 0 var(--or5-heading-gap); color: var(--or5-ink); font-size: var(--or5-heading-size); font-weight: 650; }
/* M05–M08: residential overview/detail hierarchy, Office DTO and palette only.
   No fabricated trend chart or unqualified action panel. */
.office-monthly .office-monthly-panel { min-width: 0; margin: 0 0 24px; padding: clamp(18px, 2.3vw, 28px); border: 0; border-radius: 22px; background: var(--or5-soft); }
.office-monthly-head h4 { margin: 0; color: var(--m02-ink); font-size: var(--or5-heading-size); font-weight: 650; line-height: var(--or5-heading-leading); }
.office-monthly-head .office-monthly-period { margin-top: 8px; color: #627c82; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.office-monthly-overview { margin-top: var(--or5-heading-gap); font-size: var(--or5-body-size); line-height: var(--or5-body-leading); overflow-wrap: anywhere; }
.office-monthly-overview strong { display: inline-block; max-width: 100%; color: var(--m02-ink); font-weight: 500; }
.office-monthly .office-monthly-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; min-width: 0; margin-top: 12px; padding: 0; border: 0; overflow: visible; }
.office-monthly .office-monthly-tabs[hidden] { display: none; }
.office-monthly-tabs button { max-width: none; min-width: 0; min-height: 44px; padding: 10px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; font-size: 13px; }
.office-monthly-tabs button[aria-selected="true"], .office-monthly-tabs button[aria-pressed="true"] { border-color: #076f7f; background: transparent; color: var(--m02-ink); }
.office-report-v5 :is(.office-m02-direction-tabs, .office-monthly-tabs) button:active:not(:disabled) { background: var(--office-control-pressed-face); }
.office-report-v5 :is(.office-m02-direction-tabs, .office-monthly-tabs) button:disabled { color: #717b77; background: #e6eae8; cursor: not-allowed; }
.office-monthly-tabs button:focus-visible { outline: none; text-decoration: underline; text-underline-offset: 4px; }
.office-monthly-head .office-monthly-subtitle { margin-top: 8px; font-size: 15px; line-height: 1.8; }
.office-monthly .office-monthly-body { margin-top: 20px; padding: 20px; border: 0; border-radius: 18px; background: #fff; }
.office-monthly .office-monthly-body h5 { margin: 0 0 10px; color: var(--m02-ink); font-size: 16px; font-weight: 650; }
.office-monthly-basis { margin-top: 10px; color: var(--monthly-meta-color, #627c82); font-size: var(--monthly-meta-size, 13px); line-height: 1.8; }
.office-monthly-body .office-monthly-period { margin-bottom: 10px; color: #627c82; font-size: 12px; line-height: 1.8; }
.office-monthly-reading { color: var(--monthly-body-color, inherit); font-size: var(--or5-body-size); line-height: var(--or5-body-leading); overflow-wrap: anywhere; }
.office-m05-paragraph { margin-top: var(--or5-paragraph-gap); }
/* M05 uses one type scale and the shared monthly panel surface throughout. */
.office-monthly[data-office-monthly-chapter] { --monthly-body-color: var(--or5-ink); --monthly-meta-size: 14px; --monthly-meta-color: #52686e; }
.office-m05-group .office-monthly-subtitle { margin: 0; color: var(--monthly-meta-color); font-size: var(--monthly-meta-size); font-weight: 400; line-height: 1.8; overflow-wrap: anywhere; }
.office-m05-section { margin-top: var(--or5-paragraph-gap); scroll-margin-block: 32px; }
.office-m05-section:focus-visible { outline: 2px solid var(--m02-ink); outline-offset: 6px; }
.office-m05-actions { margin-top: 30px; }
.office-m05-focus + .office-m05-focus { margin-top: 28px; }
.office-m05-focus h5 { margin: 0 0 var(--or5-heading-gap); color: var(--m02-ink); font-size: var(--or5-body-size); font-weight: 650; line-height: var(--or5-heading-leading); }
.office-m05-action-scope { margin: 0 0 8px; color: var(--monthly-meta-color, #52686e); font-size: var(--monthly-meta-size, 14px); line-height: 1.8; overflow-wrap: anywhere; }
.office-m05-focus .office-monthly-reading + .office-m05-action-scope { margin-top: 18px; }
.office-monthly-timeline { max-width: 1100px; min-width: 0; margin: 18px auto 0; }
.office-monthly-timeline-inner { min-width: 0; }
.office-kline-chart { min-width: 0; }
.office-kline-chart svg { display: block; width: 100%; height: 280px; overflow: visible; }
.office-kline-period { margin: 6px 0 0; color: #526f76; font-size: 13px; font-variant-numeric: tabular-nums; }
.office-kline-note { margin-top: 12px; font-size: 12px; line-height: 1.8; color: #627c82; }
.office-kline-readout { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px 6px; max-width: 400px; margin-top: 18px; font-size: 12px; line-height: 1.8; font-variant-numeric: tabular-nums; }
.office-kline-week { grid-column: 1 / -1; }
.office-kline-grid { stroke: #c7dfe0; stroke-width: 1; }
.office-kline-grid.month-boundary { stroke-dasharray: 3 5; pointer-events: none; }
.office-kline-axis { fill: #526f76; font-size: 13px; }
.office-kline-month { font-size: 11px; }
.office-kline-selection { fill: #076f7f; opacity: .045; pointer-events: none; }
.office-kline-candle { color: #84918c; cursor: pointer; }
.office-kline-candle.is-up { color: #c86c56; }
.office-kline-candle.is-down { color: #328977; }
.office-kline-wick, .office-kline-body { stroke: currentColor; stroke-width: 1; fill: currentColor; }
.office-kline-hit { fill: transparent; stroke: none; }
.office-kline-candle:focus { outline: none; }
.office-kline-candle:focus-visible .office-kline-hit, .office-kline-candle.is-inspected .office-kline-hit { fill: #076f7f; fill-opacity: .12; stroke: #076f7f; stroke-opacity: .6; }
.office-kline-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; color: #627c82; font-size: 12px; }
.office-kline-legend .is-up { color: #a04e3c; }
.office-kline-legend .is-down { color: #267461; }
.office-m02-detail > .office-m02-detail-summary { display: inline-block; margin: 0 0 2px; padding: 5px 10px; border: 1px solid #cfe7e7; border-radius: 20px; background: #edf8f5; color: var(--m02-ink); font-size: 13px; }
.office-m02-detail h5 { margin: 24px 0 var(--or5-heading-gap); font-size: var(--or5-body-size); font-weight: 650; color: var(--or5-ink); }
.office-m02-detail > p { margin: 0; font-size: var(--or5-body-size); line-height: var(--or5-body-leading); white-space: pre-line; overflow-wrap: anywhere; }
.office-m04-period { margin: -14px 0 20px; color: var(--or5-muted); font-size: 13px; line-height: 1.8; }
@media (min-width: 1024px) {
    .office-monthly .office-monthly-tabs { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}
/* Match the residential reader: one column, bounded diagram, readable detail text. */
@media (max-width: 1023px) {
    .office-m02-intro { padding-left: 14px; margin-bottom: 22px; }
    .office-m02-direction-tabs { justify-content: flex-start; }
    .office-m02-detail { padding: 22px 2px; }
}

/* Continuous chapters share one scroller; the directory spans the entire report. */
.office-report-directory { display: none; }
.office-report-toolbar { display: none; }
.office-report-v5[data-chapter-layout="split"] {
    display: grid;
    grid-template-columns: 208px minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 24px;
    width: min(1520px, calc(100% - 32px));
    padding: 24px 20px 32px;
    border: 1px solid var(--or5-line);
    border-radius: 24px;
    background: #edf8f5;
}
.office-report-v5-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.office-inline-report-region .office-report-v5[data-chapter-layout="split"] {
    width: min(100%, 1440px);
}
.office-inline-report-region .office-report-v5[data-chapter-layout="split"] .office-report-v5-hero { display: none; }
.office-inline-report-region .office-report-v5[data-chapter-layout="split"] .office-report-v5-tabs { grid-row: 1 / span var(--office-report-chapter-count, 8); }
.office-report-v5[data-chapter-layout="split"] .office-report-v5-hero { grid-column: 1 / -1; padding: 32px 0 24px; }
.office-report-v5[data-chapter-layout="split"] .office-report-v5-hero h2 { font-size: 26px; }
.office-report-v5[data-chapter-layout="split"] .office-report-v5-tabs {
    grid-column: 1;
    grid-row: 2 / span var(--office-report-chapter-count, 8);
    align-self: start;
    flex-direction: column;
    top: 24px;
    gap: 8px;
    padding: 0 16px 0 0;
    border-bottom: 0;
    border-right: 0;
    background: transparent;
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
}
.office-report-v5[data-chapter-layout="split"] .office-report-v5-tabs a { padding: 13px 14px; border-radius: 10px; font-size: 14px; }
.office-report-v5[data-chapter-layout="split"] .office-report-v5-tabs a[aria-current="location"] { color: var(--or5-accent); background: var(--or5-soft); font-weight: 600; }
.office-report-v5[data-chapter-layout="split"] .office-report-v5-tabs a:hover { background: var(--or5-soft); }
.office-report-v5[data-chapter-layout="split"] .office-report-v5-tabs a:focus-visible { outline: none; text-decoration: underline; text-underline-offset: 4px; }
.office-report-v5[data-chapter-layout="split"] [role="tabpanel"]:focus-visible,
.office-report-v5[data-chapter-layout="split"] > .office-report-v5-section:focus-visible { outline: 2px solid var(--or5-accent); outline-offset: -2px; }
.office-report-v5[data-chapter-layout="split"] > .office-report-v5-section {
    --or5-chapter-shelf: 80px;
    --or5-half-shelf: 40px;
    --or5-cap-end: 84%;
    --or5-second-corner: 46px;
    --or5-outer-corner: 36px;
    grid-column: 2;
    grid-row: auto;
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 380px;
    margin: 0;
    padding: 0 0 38px;
    border: 0;
    background: transparent;
}
.office-report-v5[data-chapter-layout="split"] > .office-report-v5-section::before,
.office-report-v5[data-chapter-layout="split"] > .office-report-v5-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    background: #fff;
    pointer-events: none;
}
.office-report-v5[data-chapter-layout="split"] > .office-report-v5-section::before {
    inset: var(--or5-chapter-shelf) 0 0;
    border-radius: 0 46px 36px 36px;
}
.office-report-v5[data-chapter-layout="split"] > .office-report-v5-section::after {
    top: 0;
    left: 0;
    width: 84%;
    height: var(--or5-chapter-shelf);
    border-radius: 36px var(--or5-chapter-shelf) 0 0;
}
@supports (clip-path: shape(from 0 0, line to 100% 100%, close)) {
    .office-report-v5[data-chapter-layout="split"] > .office-report-v5-section::before {
        inset: 0;
        border-radius: 0;
        clip-path: shape(
            from 0 var(--or5-outer-corner),
            curve to var(--or5-outer-corner) 0 with 0 0,
            line to calc(var(--or5-cap-end) - var(--or5-chapter-shelf)) 0,
            curve to calc(var(--or5-cap-end) - var(--or5-half-shelf)) var(--or5-half-shelf)
                with calc(var(--or5-cap-end) - var(--or5-half-shelf)) 0,
            curve to var(--or5-cap-end) var(--or5-chapter-shelf)
                with calc(var(--or5-cap-end) - var(--or5-half-shelf)) var(--or5-chapter-shelf),
            line to calc(100% - var(--or5-second-corner)) var(--or5-chapter-shelf),
            curve to 100% calc(var(--or5-chapter-shelf) + var(--or5-second-corner))
                with 100% var(--or5-chapter-shelf),
            line to 100% calc(100% - var(--or5-outer-corner)),
            curve to calc(100% - var(--or5-outer-corner)) 100% with 100% 100%,
            line to var(--or5-outer-corner) 100%,
            curve to 0 calc(100% - var(--or5-outer-corner)) with 0 100%,
            close
        );
    }
    .office-report-v5[data-chapter-layout="split"] > .office-report-v5-section::after { display: none; }
}
.office-report-v5[data-chapter-layout="split"] > .office-report-v5-section > :not(.office-report-v5-section-head) {
    position: relative;
    z-index: 1;
    margin-right: 42px;
    margin-left: 42px;
}
.office-report-v5[data-chapter-layout="split"] > .office-report-v5-section[hidden] { display: none; }
.office-report-v5[data-chapter-layout="split"] .office-report-v5-section-head {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    min-height: 152px;
    margin: 0;
    padding: 20px 42px 28px;
}
.office-report-v5[data-chapter-layout="split"] .office-report-v5-chapter-icon {
    display: block;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    object-fit: contain;
    transform: scale(1.25);
}
.office-report-v5[data-chapter-layout="split"] .office-report-v5-section-head h3 {
    max-width: calc(70% - 68px);
    color: var(--or5-accent);
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
}
.office-report-v5[data-chapter-layout="split"] .office-report-v5-chapter-number {
    order: 0;
    position: absolute;
    top: 0;
    right: 6%;
    color: #bddfda;
    font-family: var(--office-interface-font, "Noto Sans SC", sans-serif);
    font-size: 64px;
    font-weight: 800;
    font-variant-numeric: tabular-nums lining-nums;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
}
.office-report-v5[data-chapter-layout="split"] .office-m01-copy { padding: 0; border-radius: 0; background: transparent; }
.office-report-v5[data-chapter-layout="split"] .office-m01-copy h4 { font-size: 19px; }
.office-report-v5[data-chapter-layout="split"] .office-report-v5-verdict { font-size: 20px; line-height: 1.85; }
.office-report-v5[data-chapter-layout="split"] .office-report-v5-four-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.office-report-v5[data-chapter-layout="split"] .office-report-v5-member-lock { display: block; }
@media (max-width: 1023px) {
    .office-report-v5 { --or5-chapter-size: 20px; --or5-body-size: 15px; --or5-body-leading: 1.67; --or5-paragraph-gap: 12px; }
    .office-m01-legend { gap: 6px 12px; font-size: 10px; }
    .office-m01-trend-chart { grid-template-columns: 28px minmax(0, 1fr); }
    .office-m01-chart-y, .office-m01-plot { height: 192px; }
    .office-m01-months { margin-left: 28px; font-size: 9px; }
    .office-m01-months .is-mobile-hidden { display: none; }
    .office-report-v5[data-chapter-layout="split"] { width: calc(100% - 16px); grid-template-columns: minmax(0, 1fr); row-gap: 12px; padding: 0 0 16px; border: 0; border-radius: 0; }
    .office-report-v5[data-chapter-layout="split"] .office-report-v5-hero { padding: 24px 0 20px; }
    .office-report-directory:not([hidden]) { display: block; position: sticky; top: 0; z-index: 4; grid-column: 1; align-self: start; min-width: 0; background: #edf8f5; border-bottom: 1px solid var(--or5-line); }
    .office-report-directory summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; color: var(--or5-ink); font-size: 14px; cursor: pointer; list-style: none; }
    .office-report-directory summary::-webkit-details-marker { display: none; }
    .office-report-directory summary::after { content: ''; flex: 0 0 7px; width: 7px; height: 7px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
    .office-report-directory[open] summary::after { transform: rotate(225deg); }
    .office-report-directory summary > :first-child { flex: 0 0 auto; font-weight: 600; }
    .office-report-directory-current { min-width: 0; margin-left: auto; color: var(--or5-muted); font-size: 12px; overflow-wrap: anywhere; }
    .office-report-directory summary:focus-visible, .office-report-directory a:focus-visible { outline: 2px solid var(--or5-accent); outline-offset: -2px; }
    .office-report-toolbar { display: flex; align-items: center; position: sticky; top: 0; z-index: 5; min-width: 0; grid-column: 1; padding: env(safe-area-inset-top, 0px) 8px 0; background: #edf8f5; border-bottom: 1px solid var(--or5-line); }
    .office-report-toolbar .office-report-directory { position: static; flex: 1 1 0; border: 0; }
    .office-report-toolbar summary { min-height: 56px; padding: 10px 8px; gap: 6px; }
    .office-report-toolbar summary > :first-child { display: none; }
    .office-report-toolbar .office-report-directory-current { color: var(--or5-ink); font-size: 14px; }
    .office-report-toolbar .office-report-return { display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex: 0 0 auto; min-height: 44px; padding: 8px; border: 0; border-radius: 4px; background: transparent; color: var(--or5-accent); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
    .office-report-return svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; }
    .office-report-return:hover, .office-report-return:active { background: var(--office-control-pressed-face); }
    .office-report-return:focus-visible { outline: 2px solid var(--or5-accent); outline-offset: -2px; }
    .office-report-v5[data-chapter-layout="split"] .office-report-v5-tabs { position: absolute; inset: 100% 0 auto; flex-direction: column; min-width: 0; max-height: min(480px, 65dvh); margin: 0; padding: 8px; gap: 2px; overflow-x: hidden; overflow-y: auto; border: 1px solid var(--or5-line); background: #fff; box-shadow: 0 8px 16px #20383b14; }
    .office-report-v5[data-chapter-layout="split"] .office-report-v5-tabs a { min-height: 44px; padding: 10px 12px; border-radius: 4px; font-size: 14px; white-space: normal; }
    .office-report-v5[data-chapter-layout="split"] .office-report-v5-tabs a[aria-current="location"] { color: var(--or5-accent); background: var(--office-control-pressed-face); font-weight: 600; }
    .office-report-v5[data-chapter-layout="split"] > .office-report-v5-section { grid-column: 1; grid-row: auto; min-width: 0; margin: 0; padding: 0 0 24px; border: 0; background: #fff; scroll-margin-top: 64px; }
    .office-report-v5[data-chapter-layout="split"] > .office-report-v5-section:focus { outline: none; }
    .office-report-v5[data-chapter-layout="split"] > .office-report-v5-section:focus-visible { outline: 2px solid var(--or5-line); outline-offset: -2px; }
    .office-report-v5[data-chapter-layout="split"] > .office-report-v5-section > :not(.office-report-v5-section-head) { margin-right: 16px; margin-left: 16px; }
    .office-report-v5[data-chapter-layout="split"] > .office-report-v5-section::before,
    .office-report-v5[data-chapter-layout="split"] > .office-report-v5-section::after { display: none; }
    .office-report-v5[data-chapter-layout="split"] .office-report-v5-section-head { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px; min-height: 88px; padding: 22px 16px; }
    .office-report-v5[data-chapter-layout="split"] .office-report-v5-chapter-icon { width: 32px; height: 32px; transform: none; }
    .office-report-v5[data-chapter-layout="split"] .office-report-v5-section-head h3 { max-width: none; min-width: 0; font-size: 20px; overflow-wrap: anywhere; }
    .office-report-v5[data-chapter-layout="split"] .office-report-v5-chapter-number { position: static; font-size: 32px; }
    .office-m04-period { margin-top: 0; }
    .office-m01-trend, .office-monthly .office-monthly-panel { padding: 18px 12px; border-radius: 8px; }
    .office-monthly .office-monthly-body { padding: 16px 0 0; border-top: 1px solid var(--or5-line); border-radius: 0; background: transparent; }
    .office-report-v5[data-chapter-layout="split"] .office-report-v5-verdict { font-size: 18px; }
    .office-report-v5 { width: min(100% - 28px, 680px); }
    .office-report-v5-hero { padding: 46px 0 28px; }
    .office-report-v5-tabs { margin: 0 -14px; padding-inline: 14px; }
    .office-report-v5-section { padding: 44px 0; }
    .office-report-v5-two-column { grid-template-columns: 1fr; }
    .office-report-v5-four-glance { grid-template-columns: 1fr 1fr; }
    .office-report-v5-prescription-lead dl { grid-template-columns: 1fr; }
    .office-report-v5-cycle-grid, .office-report-v5-object-list { grid-template-columns: 1fr; }
    .office-report-v5-plan dl { grid-template-columns: 1fr; }
    .office-report-v5-locked { padding: 24px 18px; }
    .office-report-v5-locked > header { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 420px) {
    .office-report-v5[data-chapter-layout="split"] .office-report-v5-four-glance { grid-template-columns: 1fr; }
    .office-report-v5-four-glance { grid-template-columns: 1fr; }
    .office-report-v5-two-column article { padding: 20px; }
    .office-report-v5-prescription-lead { padding: 22px 20px; }
    .office-report-v5-cycle-grid > article, .office-report-v5-object-list article { padding: 20px; }
    .office-report-v5-plan li { grid-template-columns: 40px 1fr; }
    .office-report-v5-member-lock { grid-template-columns: 38px 1fr; padding: 22px 18px; }
}
