.cc-local {margin:0;background:#ecefe9}
.cc-app {--ink:#192c29;--muted:#53675e;--green:#14594c;--line:#d9e3dc;--paper:#fff;max-width:1320px;margin:auto;padding:24px;color:var(--ink);font:15px/1.55 "Segoe UI",system-ui,sans-serif}
.cc-app * {box-sizing:border-box}
.cc-app [hidden] {display:none!important}
.cc-app h1,.cc-app h2,.cc-app h3,.cc-app p {margin:0}
.cc-app h2 {font-size:20px;line-height:1.3}
.cc-app h3 {font-size:15px}
.cc-hero {display:flex;justify-content:space-between;align-items:center;gap:20px;padding:32px 36px;margin-bottom:22px;border-radius:22px;color:#f8fff9;background:linear-gradient(122deg,#132d2b,#195a4d)}
.cc-hero h1 {font-family:Georgia,serif;font-weight:500;font-size:clamp(34px,5vw,54px);line-height:1.1;color:inherit;margin:6px 0 9px}
.cc-hero p {color:#d4e8dc}
.cc-brand {font-weight:750;font-size:11px;letter-spacing:.18em}
.cc-brand span,.cc-edition {color:#f5d88e}
.cc-edition {border:1px solid #a6884c;border-radius:99px;padding:.4rem .85rem;white-space:nowrap}
.cc-layout {display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px}
.cc-panel {background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:20px;margin:0 0 16px;box-shadow:0 2px 6px #14372b08;min-width:0}
.cc-app label {font-size:13px;font-weight:600;display:block;margin-top:10px;color:var(--ink)}
.cc-app label span,.cc-muted,.cc-method p {color:var(--muted)}
.cc-app input,.cc-app select {display:block;width:100%;min-width:0;height:40px;margin:5px 0 0;padding:6px 9px;border:1px solid #baccc3;background:#fbfdfa;color:inherit;border-radius:8px;font:inherit;font-size:14px}
.cc-app button {font:inherit;cursor:pointer;text-transform:none}
.cc-two,.cc-three {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cc-three {grid-template-columns:repeat(3,minmax(0,1fr))}
.cc-app summary {cursor:pointer;font-weight:650}
.cc-settings {margin:14px 0 0;border-top:1px solid var(--line);padding-top:9px}
.cc-primary {margin:16px 0 0;padding:10px 12px;border:0;border-radius:9px;background:var(--green);color:#fff;width:100%;font-weight:650!important}
.cc-primary span {margin-left:6px}
.cc-method p {margin-top:7px;font-size:13px}
.cc-error {color:#9a261e;margin-top:10px!important}
.cc-empty {min-height:340px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center}
.cc-empty p {max-width:465px;color:var(--muted)}
.cc-symbol {font-size:48px;color:var(--green);line-height:1}
.cc-section-head {display:flex;justify-content:space-between;align-items:center;gap:12px}
.cc-section-head p,.cc-review p,.cc-legacy p {margin-top:5px;color:var(--muted)}
.cc-profile {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:14px 0}
.cc-profile div {border-top:1px solid var(--line);padding-top:6px}
.cc-profile dt {font-size:.82em;color:var(--muted)}
.cc-profile dd {margin:0;font-weight:600;overflow-wrap:anywhere}
.cc-download,.cc-count,.cc-zoom button,.cc-star-close {background:#e8f3ec;border:1px solid #c4dfcf;color:#135848;border-radius:8px;padding:6px 10px;white-space:nowrap}
.cc-export-status:empty {display:none}
.cc-zoom {display:flex;gap:6px;align-items:center;margin:10px 0}
.cc-zoom output {min-width:4ch;text-align:center}
.cc-board-frame {overflow:auto;overscroll-behavior:contain}
.cc-board-stage {position:relative;margin:auto;overflow:hidden}
.cc-board-frame .cc-board {position:absolute;top:0;left:0;width:760px;transform-origin:top left;margin:0}
.cc-app .cc-star {color:inherit;padding:0;border:0;background:none;text-align:left;font:inherit;min-height:20px}
.cc-star:hover,.cc-star:focus-visible {text-decoration:underline}
.cc-palace li[data-element="K"] {color:#885800}
.cc-palace li[data-element="M"] {color:#006b32}
.cc-palace li[data-element="T"] {color:#0056a3}
.cc-palace li[data-element="H"] {color:#bd2026}
.cc-palace li[data-element="O"] {color:#793a13}
.cc-star-dialog {width:min(560px,calc(100vw - 24px));max-height:75vh;border:1px solid var(--line);border-radius:12px;padding:16px;color:var(--ink)}
.cc-star-dialog::backdrop {background:#10272099}
.cc-star-close {margin:8px 0}
.cc-star-matches article {border-top:1px solid var(--line);padding:8px 0}
.cc-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}
.cc-stats div {background:#eef5ee;border-radius:10px;padding:11px 14px}
.cc-stats strong {display:block;font-size:30px;color:var(--green);line-height:1.2}
.cc-stats span,.cc-muted {font-size:13px}
.cc-app details.cc-panel>summary {font-size:17px}
.cc-app details.cc-panel>summary strong {color:var(--green);margin-left:8px}
.cc-board {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}
.cc-palace,.cc-center {background:#fbfcf8;border:1px solid var(--line);padding:10px;border-radius:10px;min-width:0}
.cc-palace[data-menh="true"] {border-color:#b29960;background:#fff9ea}
.cc-palace-top {display:flex;flex-wrap:wrap;gap:4px;justify-content:space-between;font-size:13px;border-bottom:1px solid var(--line);padding-bottom:4px}
.cc-palace-top span {color:var(--muted)}
.cc-count {font-size:11px!important;padding:0 5px;margin:3px 0}
.cc-palace ul {list-style:none;padding:0;margin:4px 0;color:var(--muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.cc-palace .cc-major {font-weight:700;color:#973924}
.cc-palace small {color:#684817}
.cc-center {grid-area:2/2/4/4;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;gap:7px;background:#193e35;color:#f3f7ee;padding:14px}
.cc-center-label {font-size:10px;letter-spacing:.16em;font-weight:700;color:#f4d997}
.cc-center strong {font:30px Georgia,serif;color:inherit}
.cc-group-list,.cc-result-list {margin-top:12px}
.cc-group {display:grid;grid-template-columns:minmax(0,1fr) auto 54px;text-align:left;align-items:center;gap:10px;background:#f5f9f5;border:0;border-bottom:1px solid var(--line);width:100%;padding:8px 10px;color:var(--ink)}
.cc-group:hover {background:#e7f1e9}
.cc-group strong,.cc-filter-count {color:var(--green);white-space:nowrap}
.cc-group small {text-align:right;color:var(--muted)}
.cc-filters {display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:8px}
.cc-result,.cc-review-item {border-top:1px solid var(--line);padding:8px 0}
.cc-result summary small,.cc-review-item small {color:var(--muted);margin-left:7px;font-weight:400}
.cc-house {display:inline-block;margin:0 6px 0 2px;border-radius:5px;background:#e9f3ec;color:#185749;padding:2px 6px;font-size:12px}
.cc-rule-body {padding:7px 7px 7px 15px}
.cc-quote {background:#f7f7ef;border-left:3px solid #b09153;padding:8px 10px;white-space:pre-wrap;margin-top:8px!important}
.cc-evidence {list-style:none;padding:0;margin:8px 0;display:flex;flex-wrap:wrap;gap:6px}
.cc-evidence li {font-size:12px;background:#eef5ee;padding:5px 8px;border-radius:6px}
.cc-evidence span {display:block;color:var(--muted)}
.cc-review-list {max-height:460px;overflow:auto;margin-top:10px}
.cc-no-results {margin-top:12px!important}
@media(max-width:850px) {.cc-layout {grid-template-columns:1fr}.cc-app {padding:12px}.cc-hero {padding:23px}.cc-form {max-width:none}}
@media screen and (max-width:620px) {
    .cc-panel {padding:12px}
    .cc-hero {display:block}
    .cc-edition {display:inline-block;margin-top:10px}
    .cc-section-head {flex-wrap:wrap}
    .cc-filters {grid-template-columns:1fr 1fr}
    .cc-filters label:last-child {grid-column:1/-1}
    .cc-stats div {padding:6px}
}
@page {size:A4;margin:12mm}
@media print {
    body.cc-local {background:#fff}
    .cc-app {max-width:none;padding:0;font-size:10pt}
    .cc-layout {display:block}
    .cc-layout aside,.cc-download,.cc-export-status,.cc-zoom,.cc-filters,.cc-review,.cc-palace .cc-count,.cc-filter-count,.cc-edition {display:none!important}
    .cc-board-frame,.cc-board-stage {width:auto!important;height:auto!important;overflow:visible}
    .cc-board-frame .cc-board {position:static;width:auto;transform:none!important}
    .cc-panel {box-shadow:none;padding:8px 0;border:0;border-radius:0}
    .cc-hero {background:#fff;color:#111;padding:0;margin-bottom:8px}
    .cc-hero h1 {font-size:23pt}
    .cc-hero p {display:none}
    .cc-profile {gap:3px 12px;margin:8px 0}
    .cc-profile div {padding-top:2px}
    .cc-stats {margin:8px 0}
    .cc-stats div {padding:4px 8px}
    .cc-stats strong {font-size:16pt}
    .cc-chart {break-inside:avoid;break-after:page}
    .cc-board {gap:4px;margin-top:6px}
    .cc-palace,.cc-center {padding:4px;border-radius:3px}
    .cc-center {background:#fff;color:#193e35}
    .cc-center-label {color:#193e35}
    .cc-palace-top,.cc-palace ul {font-size:8pt}
    .cc-palace ul {line-height:1.2;margin:2px 0}
    .cc-result summary,.cc-legacy summary,.cc-results h2 {break-after:avoid}
    .cc-group,.cc-evidence li {break-inside:avoid}
    .cc-group {padding:3px 4px}
    .cc-quote {overflow-wrap:anywhere;orphans:2;widows:2}
}


/* Central facts stay inside the same two-by-two palace opening at every zoom. */
.cc-center {background:#faf8ed;color:#173d36;border-color:#c7b98e;gap:10px;min-height:470px;text-align:left;padding:18px}
.cc-center-label {color:#84713e;letter-spacing:.14em;align-self:center}
.cc-center .cc-center-title {font:700 22px/1.2 Georgia,serif;align-self:center;border-bottom:1px solid #c7b98e;padding:0 22px 10px}
.cc-center-facts {width:100%;margin:0;font-size:12px;line-height:1.5}
.cc-center-facts div {display:grid;grid-template-columns:73px minmax(0,1fr);padding:2px 0;align-items:baseline}
.cc-center-facts dt {font-weight:650;color:#333d36}
.cc-center-facts dd {margin:0;color:#214c75;overflow-wrap:anywhere}
.cc-center-facts dd span {float:right;margin-left:8px;color:#214c75}
.cc-center-relations {width:100%;padding-top:10px;border-top:1px solid #dfd6ba;color:#214c75;font-size:12px;font-weight:650;text-align:center}
.cc-center-relations small {display:block;color:#637364;font-size:10px;font-weight:400}
@media print {.cc-center {min-height:0;padding:8px}.cc-center-facts {font-size:8pt}.cc-center-facts div {grid-template-columns:56px 1fr}.cc-center-relations {font-size:8pt}.cc-center .cc-center-title {font-size:14pt}}

.cc-palace {display:flex;flex-direction:column}
.cc-palace-cycles {margin-top:auto;padding-top:9px;border-top:1px solid var(--line)}
.cc-palace-cycles>div {display:grid;grid-template-columns:64px minmax(0,1fr);gap:5px;align-items:baseline}
.cc-cycle-label {color:var(--muted);font-size:9px}
.cc-palace-cycles ul {margin:0;font-size:10px}
.cc-palace-cycles li {display:inline}
.cc-palace-cycles li+li::before {content:' · '}
@media print {.cc-cycle-label {font-size:6pt}.cc-palace-cycles ul {font-size:7pt}.cc-palace-cycles>div {grid-template-columns:42px 1fr}}

.cc-palace-top {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
.cc-palace-branch {grid-column:1/-1;font-size:11px}
.cc-major-period {font-size:10px;font-weight:700;white-space:nowrap;color:var(--green)!important}
.cc-active-period {background:#f7e6b9;border-radius:3px;padding:1px 3px;font-weight:750}
.cc-palace-cycles>div.cc-palace-bottom {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:4px}
.cc-annual-year,.cc-annual-month {font-size:10px;white-space:nowrap;color:var(--muted)}
.cc-palace-cycles .cc-life-state {text-align:center;font-size:11px}
.cc-back-top {position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));width:44px;height:44px;display:grid;place-items:center;z-index:99999;border:1px solid #d2e7d9;border-radius:50%;background:#14594c;color:#fff;font:700 24px/1 system-ui!important;box-shadow:0 3px 14px #10272040;padding:0}
.cc-back-top:hover,.cc-back-top:focus-visible {background:#0a3f35;outline:2px solid #b69a57;outline-offset:3px}
@media print {.cc-back-top {display:none!important}.cc-annual-year,.cc-annual-month,.cc-major-period {font-size:6pt}.cc-palace-cycles .cc-life-state {font-size:7pt}}

/* 1.1.2: repères Tuần/Triệt et consultation par rubrique */
.cc-app .cc-boundary {display:table!important;margin:5px 0;padding:2px 10px;border:2px solid #54213a;border-radius:5px;background:#54213a;color:#fff!important;font-weight:800;letter-spacing:.04em;line-height:1.2}
.cc-app .cc-boundary-111 {background:#932d21;border-color:#932d21}
.cc-app .cc-boundary .cc-star {color:#fff;font-weight:800;min-height:22px}
.cc-category-note {font-size:13px;color:var(--muted);margin-top:10px!important}
.cc-category-chart {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:470px;overflow-y:auto;padding:4px 5px 6px 0;scrollbar-gutter:stable}
.cc-category-bar {display:grid;grid-template-columns:1fr auto;gap:6px 10px;align-content:start;border:1px solid var(--line);border-radius:9px;padding:12px;min-width:0}
.cc-category-title {grid-column:1/-1;font-weight:650;line-height:1.35}
.cc-category-bar strong {grid-column:1/-1;font-size:14px}
.cc-bar-track {grid-column:1/-1;display:block;height:8px;border-radius:9px;background:#dce7df;overflow:hidden}
.cc-bar-track>span {display:block;height:100%;background:#28775d;border-radius:inherit}
.cc-category-bar small {grid-column:1/-1;text-align:left;white-space:normal}
.cc-category-all {grid-template-columns:1fr auto;gap:4px;margin-top:12px;border:1px solid var(--line);border-radius:9px}
.cc-category-all small {grid-column:1/-1;text-align:left}
.cc-group[aria-pressed="true"] {border-color:#14594c;box-shadow:inset 0 0 0 1px #14594c;background:#e4f1e8}
.cc-group:focus-visible {outline:3px solid #b69a57;outline-offset:2px}
.cc-detail-heading {margin-top:20px!important}
@media(max-width:600px){.cc-category-chart{grid-template-columns:1fr;max-height:420px}.cc-category-all{grid-template-columns:1fr}.cc-category-all strong{white-space:normal}}
@media print {.cc-category-chart{max-height:none;overflow:visible;display:block}.cc-category-bar{margin:4px 0}.cc-boundary{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Dashboard 1.1.4 */
.cc-dashboard-title{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:20px}.cc-eyebrow{font-size:10px;letter-spacing:.18em;font-weight:800;color:#947332}.cc-dashboard-title h2{font:600 30px/1.2 Georgia,serif;margin:6px 0!important}.cc-dashboard-title p,.cc-chart-caption{font-size:12px;color:#61776e}.cc-dashboard-year{white-space:nowrap;background:#f2ebdc;color:#775c25;border-radius:30px;padding:6px 12px;font-size:12px}
.cc-overview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.cc-overview-metrics>div{padding:17px;background:linear-gradient(130deg,#eff6f1,#f9fbf7);border:1px solid #dce7df;border-radius:13px;min-width:0}.cc-overview-metrics span,.cc-overview-metrics small{display:block;font-size:12px;color:#5a7167}.cc-overview-metrics strong{display:block;font-size:34px;line-height:1.4;color:#14594c;font-variant-numeric:tabular-nums}.cc-overview-metrics em{font:400 16px system-ui;color:#82958b}
.cc-dashboard-grid{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1.6fr);gap:14px}.cc-dashboard-card{border:1px solid #dce7df;border-radius:14px;padding:18px;background:#fff;min-width:0}.cc-dashboard-card h3{font-size:15px;margin-bottom:6px!important}.cc-dashboard-coverage{text-align:center;background:linear-gradient(155deg,#f7faf4,#edf5ee)}.cc-donut{width:172px;height:172px;border-radius:50%;margin:22px auto 18px;background:conic-gradient(#26785e 0deg var(--cc-angle),#dce6dd var(--cc-angle) 360deg);padding:16px;box-shadow:0 5px 18px #153c2810}.cc-donut>div{height:100%;background:#f7faf5;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.cc-donut strong{font-size:31px;color:#14594c}.cc-donut span,.cc-dashboard-coverage small{font-size:12px;color:#62776a}.cc-dashboard-coverage p{margin-bottom:8px!important}.cc-category-shortcut{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;text-align:left;width:100%;border:0;border-bottom:1px solid #e6ece6;padding:11px 0;background:none;color:inherit}.cc-category-shortcut>span:first-child{font-size:12px;line-height:1.4}.cc-category-shortcut strong{font-size:12px;color:#175b49;white-space:nowrap}.cc-category-shortcut strong small{font-weight:400;color:#6a7c71}.cc-category-shortcut[aria-pressed=true]{background:#edf5ef;outline:2px solid #26785e;border-radius:5px}.cc-category-shortcut:focus-visible{outline:3px solid #b69a57}.cc-house-map{margin-top:14px}.cc-house-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:14px}.cc-house-tile{display:flex;flex-direction:column;align-items:start;gap:5px;padding:12px 9px;background:rgba(38,120,94,var(--cc-level));border:1px solid #cbded1;border-radius:10px;color:#234b3f;text-align:left;min-width:0}.cc-house-tile>span:first-child{font-size:11px;font-weight:700}.cc-house-tile>strong{font-size:22px;line-height:1.2}.cc-house-tile small{font-size:10px;font-weight:400}.cc-house-mini{display:block;width:100%;height:4px;background:#ffffff99;border-radius:4px;overflow:hidden}.cc-house-mini>span{height:100%;display:block;background:#367d61}.cc-house-tile[aria-pressed=true]{outline:2px solid #14594c;background:#14594c;color:white}.cc-house-tile:focus-visible{outline:3px solid #b69a57}.cc-all-categories{margin-top:16px;padding:12px;border:1px solid #dce7df;border-radius:12px}.cc-all-categories summary{font-size:14px}.cc-all-categories summary>span{display:block;font-size:11px;font-weight:400;color:#687c70;margin-top:3px}.cc-active-filters{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 7px;padding:10px 12px;border-radius:9px;background:#eff5ef;font-size:12px}.cc-reset-filters{flex-shrink:0;border:1px solid #bacfc1;background:white;color:#14594c;padding:5px 9px;border-radius:6px}.cc-detail-heading{scroll-margin-top:20px}
@media(max-width:900px){.cc-dashboard-grid{grid-template-columns:1fr}.cc-dashboard-coverage{display:grid;grid-template-columns:172px 1fr;gap:0 18px;text-align:left;align-items:center}.cc-dashboard-coverage h3{grid-column:2}.cc-dashboard-coverage .cc-donut{grid-row:1/4;margin:0;width:156px;height:156px}.cc-house-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.cc-dashboard-title h2{font-size:25px}.cc-dashboard-title p{font-size:11px}.cc-dashboard-year{font-size:10px;padding:5px 8px}.cc-overview-metrics{gap:6px}.cc-overview-metrics>div{padding:10px 7px}.cc-overview-metrics strong{font-size:25px}.cc-overview-metrics span,.cc-overview-metrics small{font-size:10px}.cc-overview-metrics em{font-size:12px}.cc-dashboard-card{padding:13px}.cc-dashboard-coverage{grid-template-columns:118px 1fr;gap:0 10px}.cc-dashboard-coverage .cc-donut{width:112px;height:112px;padding:11px}.cc-donut strong{font-size:24px}.cc-dashboard-coverage h3{font-size:13px}.cc-dashboard-coverage p,.cc-dashboard-coverage small{font-size:10px}.cc-house-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cc-category-shortcut{grid-template-columns:1fr}.cc-category-shortcut strong{font-size:11px}.cc-active-filters{align-items:start}.cc-filter-context{overflow-wrap:anywhere}}
@media print{.cc-all-categories{display:block}.cc-active-filters,.cc-reset-filters{display:none}.cc-dashboard-grid{grid-template-columns:1fr 2fr}.cc-dashboard-coverage{display:block;text-align:center}.cc-house-grid{grid-template-columns:repeat(6,1fr)}.cc-overview-metrics,.cc-dashboard-card,.cc-house-tile,.cc-donut{print-color-adjust:exact;-webkit-print-color-adjust:exact}.cc-dashboard-card{break-inside:avoid}}

/* Source interpretation explorer — 1.2.0 */
.cc-health-section{margin-top:16px;padding:18px;border:1px solid #d9e5dd;border-radius:14px;background:linear-gradient(135deg,#f1f6f1,#fcfcf8)}.cc-health-section h3{margin-top:4px!important}.cc-health-section p{font-size:12px;color:#66796e;margin-top:5px!important}.cc-health-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.cc-health-branch{padding:11px;border:1px solid #d4e1d7;border-radius:9px;background:#fff;grid-template-columns:1fr;gap:3px}.cc-health-branch strong{font-size:14px}.cc-health-branch>small{font-size:11px;color:#6b7b70}
.cc-interpretation-explorer{margin-top:16px;padding:18px;border:1px solid #d9e5dd;border-radius:14px;background:#fff}.cc-interpretation-explorer>.cc-section-head{align-items:start}.cc-interpretation-explorer h3{font-size:19px;margin:4px 0 8px!important}.cc-topic-coverage{font-size:11px;background:#edf4ee;border-radius:20px;padding:6px 9px;color:#30604c;white-space:nowrap}.cc-insight-tabs,.cc-star-tabs{display:flex;gap:6px;padding:5px;border:1px solid #d8e4dc;border-radius:10px;background:#f3f7f2;margin:14px 0}.cc-insight-tabs button,.cc-star-tabs button{flex:1;border:0;border-radius:7px;background:transparent;color:#5a7062;padding:8px 10px;font-size:12px}.cc-insight-tabs button[aria-pressed=true],.cc-star-tabs button[aria-pressed=true]{background:#fff;color:#14594c;box-shadow:0 2px 7px #143c2514;font-weight:700}.cc-topic-tools,.cc-star-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cc-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:450px;overflow:auto;padding:4px 5px 5px 0;margin:10px 0 8px;scrollbar-gutter:stable}.cc-topic-card{display:flex;flex-direction:column;gap:5px;text-align:left;border:1px solid #d8e4dc;border-radius:10px;background:#f8faf6;padding:12px;color:#254d3d;min-width:0}.cc-topic-card>span:first-child{font-size:12px;font-weight:650;min-height:2.5em}.cc-topic-card>strong{font-size:24px;line-height:1.2;color:#195d48}.cc-topic-card>strong small,.cc-topic-card>small{font-size:10px;font-weight:400;color:#6c7f71}.cc-topic-card .cc-bar-track{width:100%;height:5px}.cc-topic-card[data-family=life] .cc-bar-track>span{background:#aa8b55}.cc-topic-card[aria-pressed=true]{border-color:#226b51;box-shadow:inset 0 0 0 1px #226b51;background:#e9f3ec}.cc-topic-card:hover{background:#edf5ee}.cc-topic-card:focus-visible,.cc-duplicate-filter:focus-visible{outline:3px solid #b69a57;outline-offset:2px}.cc-topic-empty{font-size:12px;padding:15px}.cc-duplicate-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:450px;overflow:auto;margin-top:12px}.cc-duplicate-filter{display:flex;flex-direction:column;align-items:start;gap:8px;min-width:0;border:1px solid #d8e3d9;border-radius:10px;background:#fafaf5;color:#344b3c;text-align:left;padding:14px}.cc-duplicate-quote{font:500 15px/1.5 Georgia,serif;white-space:pre-line}.cc-duplicate-filter strong{font-size:12px;color:#14594c}.cc-duplicate-filter small{font-size:10px;color:#6e8072;overflow-wrap:anywhere}.cc-duplicate-filter[aria-pressed=true]{border:2px solid #14594c;padding:13px;background:#edf5ed}.cc-result-topics{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.cc-app .cc-topic-link{border:1px solid #d4e2d6;border-radius:20px;background:#f0f6ef;color:#2d6249;padding:3px 8px;font-size:10px;line-height:1.5}.cc-source-repeat{padding:8px 10px;border-left:3px solid #a68a52;background:#f8f4e9;color:#756239;font-size:11px}
.cc-star-dialog{width:min(920px,calc(100vw - 24px));max-height:90vh;max-height:90dvh;padding:0;overscroll-behavior:contain;border-radius:16px;background:#f7faf5;box-shadow:0 15px 60px #06291b44}.cc-star-header{position:sticky;top:0;z-index:3;display:flex;align-items:start;justify-content:space-between;gap:14px;padding:17px 20px;background:#fff;border-bottom:1px solid #d9e5dc}.cc-star-header h3{font-size:22px;line-height:1.3;margin:3px 0}.cc-star-location{font-size:12px;color:#687d6d}.cc-star-close{flex-shrink:0}.cc-star-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:14px 20px 0}.cc-star-overview>div{background:#fff;border:1px solid #dbe6da;border-radius:10px;padding:11px}.cc-star-overview strong{display:block;font-size:25px;color:#175a45}.cc-star-overview span{font-size:11px;color:#6b7c70}.cc-star-controls{padding:0 20px}.cc-star-tabs{margin:13px 20px 6px}.cc-star-status{margin:8px 20px!important;font-size:12px;color:#65766a}.cc-star-matches{padding:0 20px 20px}.cc-star-group{border:1px solid #d7e2d6;border-radius:12px;background:#fff;margin-top:10px;overflow:hidden}.cc-star-group>summary{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:13px 14px;background:#edf3eb;font-weight:650;list-style:none}.cc-star-group>summary::before{content:'+';color:#7b8f7f;flex-shrink:0}.cc-star-group[open]>summary::before{content:'−'}.cc-star-group>summary>span{flex:1;font-size:13px;white-space:pre-line}.cc-star-group>summary>strong{font-size:10px;white-space:nowrap;color:#53705b}.cc-star-group-quote{margin:13px 14px!important;border-left:3px solid #b59a60;background:#faf7ef;padding:10px 12px;font-size:14px;white-space:pre-line}.cc-star-group>.cc-chart-caption{margin:0 14px 10px!important}.cc-star-case{border-top:1px solid #e0e9df;margin:0 14px}.cc-star-case>summary{display:flex;flex-direction:column;gap:4px;padding:12px 0;list-style:revert;font-size:12px}.cc-star-source{font-size:10px;color:#798a7a}.cc-star-case .cc-rule-body{padding:0 0 15px}.cc-evidence .cc-evidence-selected{background:#e0efe1;border:1px solid #759c7f;box-shadow:inset 3px 0 #477b54}.cc-app .cc-open-source{margin-top:9px;border:1px solid #c3d8c7;border-radius:8px;background:#edf5ec;color:#255d40;padding:7px 11px;font-size:11px}.cc-star-empty{padding:25px 0;text-align:center;color:#748473;font-size:13px}.cc-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:800px){.cc-health-branches{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-duplicate-list{grid-template-columns:1fr}}
@media(max-width:600px){.cc-health-section,.cc-interpretation-explorer{padding:12px}.cc-health-branches{grid-template-columns:1fr}.cc-interpretation-explorer h3{font-size:17px}.cc-interpretation-explorer>.cc-section-head{display:block}.cc-topic-coverage{display:inline-block;margin:4px 0}.cc-topic-tools{grid-template-columns:1fr}.cc-topic-grid{max-height:440px}.cc-topic-card{padding:10px}.cc-star-dialog{width:calc(100vw - 12px);max-height:94dvh;border-radius:12px}.cc-star-header{padding:12px}.cc-star-header h3{font-size:20px}.cc-star-overview{padding:10px 12px 0;gap:5px}.cc-star-overview>div{padding:8px}.cc-star-overview strong{font-size:21px}.cc-star-overview span{font-size:9px}.cc-star-controls{padding:0 12px;grid-template-columns:1fr}.cc-star-tabs{margin:10px 12px 5px}.cc-star-status{margin:8px 12px!important;font-size:11px}.cc-star-matches{padding:0 12px 14px}.cc-star-group>summary{flex-wrap:wrap;gap:6px;padding:11px}.cc-star-group>summary>strong{margin-left:16px}.cc-star-group>summary>span{font-size:12px;flex-basis:85%}.cc-star-case{margin:0 11px}.cc-filters{grid-template-columns:1fr}}
@media print{.cc-topic-tools,.cc-insight-tabs{display:none}.cc-topic-grid,.cc-duplicate-list{max-height:none;overflow:visible}.cc-topic-grid{grid-template-columns:repeat(3,1fr)}.cc-health-branches{grid-template-columns:repeat(3,1fr)}.cc-insight-pane[hidden]{display:block!important}.cc-topic-card[hidden]{display:flex!important}.cc-topic-card,.cc-duplicate-filter{break-inside:avoid}.cc-result-topics{display:none}}

/* Two-way reading workspace — 1.2.1 */
.cc-app .cc-palace-open{padding:0;border:0;background:none;color:inherit;font:inherit;font-weight:750;text-align:left;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}.cc-reading-tabs{display:flex;gap:6px;padding:6px;background:#edf4ed;border:1px solid #d9e4d8;border-radius:12px;margin:18px 0 10px}.cc-reading-tabs button{flex:1;border:0;background:none;border-radius:8px;padding:10px;color:#617461;font-size:13px}.cc-reading-tabs button[aria-pressed=true]{background:white;color:#17553f;box-shadow:0 2px 8px #173c2515;font-weight:750}.cc-topic-reader,.cc-house-reader{padding:18px;border:1px solid #d7e3d8;border-radius:14px;background:#fbfcf8;scroll-margin-top:16px}.cc-topic-reader h3,.cc-house-reader h3{margin:4px 0!important;font-size:20px}.cc-topic-reader>.cc-section-head,.cc-house-reader>.cc-section-head{align-items:start;gap:18px}.cc-topic-reader>.cc-section-head>label,.cc-house-reader>.cc-section-head>label{min-width:180px;margin-top:0}.cc-reader-intro{font-size:12px;color:#687b6c;margin:10px 0!important}.cc-reader-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.cc-reader-metrics>div{border:1px solid #dce6da;border-radius:10px;background:white;padding:12px}.cc-reader-metrics strong{display:block;font-size:27px;color:#1c6046}.cc-reader-metrics span{font-size:10px;color:#6f7f70}.cc-reader-body h4,.cc-house-reader-body h4{font-size:14px;margin:18px 0 5px}.cc-read-house-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:12px 0}.cc-read-house{display:flex;flex-direction:column;gap:3px;align-items:start;min-width:0;padding:10px 8px;border:1px solid #d5e1d2;border-radius:9px;background:#eef5eb;color:#315a3d;text-align:left}.cc-read-house>span:first-child{font-size:10px;font-weight:700}.cc-read-house strong{font-size:20px;line-height:1.2}.cc-read-house small{font-size:9px}.cc-read-house .cc-house-mini{margin-top:4px}.cc-read-house[aria-pressed=true]{background:#245f42;color:white;border-color:#245f42}.cc-reader-matrix{overflow:auto;max-height:430px;border:1px solid #d8e3d5;border-radius:10px;margin-top:15px;background:white;isolation:isolate}.cc-reader-matrix table{border-collapse:separate;border-spacing:0;min-width:930px;width:100%;font-size:10px;margin:0}.cc-reader-matrix caption{caption-side:top;text-align:left;font-size:13px;font-weight:700;padding:12px;position:sticky;left:0;color:#305c41}.cc-reader-matrix th,.cc-reader-matrix td{border-right:1px solid #e4ebe1;border-bottom:1px solid #e4ebe1;padding:7px;text-align:center;vertical-align:middle}.cc-reader-matrix th:first-child{width:220px;min-width:220px;position:sticky;left:0;background:#fafbf6;z-index:1;text-align:left}.cc-reader-matrix thead th{position:sticky;top:0;z-index:2;background:#edf4e9;color:#3d6347;min-width:56px}.cc-reader-matrix thead th:first-child{z-index:3}.cc-reader-source-jump{border:0;background:none;text-align:left;color:#3a5b43;font-size:10px;line-height:1.5;padding:0}.cc-reader-cell{width:29px;height:29px;border:1px solid #b8d0b6;border-radius:7px;background:#dfedda;color:#23613d;font-weight:800;padding:0}.cc-reader-zero{color:#ccd6ca}.cc-reader-column{background:#f6efdf}.cc-reader-caution{font-size:11px;color:#7b6e4f;padding:10px 12px;border-left:3px solid #b3995f;background:#faf6e9;margin:12px 0!important}.cc-reader-selection{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;background:#eaf3e7;border-radius:10px;margin:14px 0;font-size:12px}.cc-reader-selection span{color:#69816a}.cc-reader-selection button{margin-left:auto;border:1px solid #bfd1bb;border-radius:7px;background:white;color:#315b3d;padding:5px 8px;font-size:11px}.cc-reader-origins{padding:10px 12px;border:1px solid #dde5d8;border-radius:9px;background:white;margin:12px 0;font-size:12px}.cc-reader-origin-list,.cc-house-natal{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.cc-reader-origin-list>span{display:flex;flex-direction:column;gap:2px;padding:7px 9px;background:#f0f5eb;border-radius:7px;font-size:11px}.cc-reader-origin-list small{font-size:9px;color:#6f7f68}.cc-reader-source,.cc-house-source{margin-top:10px;border:1px solid #d7e2d1;border-radius:10px;background:white;overflow:hidden}.cc-reader-source>summary{display:flex;align-items:start;gap:10px;justify-content:space-between;padding:13px;background:#f0f5eb;font-size:12px}.cc-reader-source>summary>strong{flex-shrink:0;font-size:10px;color:#688062}.cc-reader-quote{margin:12px!important;padding:10px 12px;border-left:3px solid #b9a069;background:#faf7ef;white-space:pre-line;font-size:14px}.cc-reader-application{margin:0 12px;border-top:1px solid #e5ece0}.cc-reader-application>summary{padding:11px 0;font-size:12px;color:#476d4e}.cc-reader-application .cc-rule-body{padding:0 0 12px}.cc-reader-empty{font-size:13px;color:#708168;padding:16px 0}.cc-house-natal button{border:1px solid #cbdcc2;border-radius:7px;background:#f4f8ef;padding:5px 8px;color:#41683f;font-size:11px}.cc-house-topic-chart{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:310px;overflow:auto;margin:12px 0;padding-right:4px}.cc-house-topic{display:grid;grid-template-columns:1fr auto;gap:6px;text-align:left;border:1px solid #d8e3d2;border-radius:9px;padding:10px;background:white;color:#41613d;font-size:11px}.cc-house-topic .cc-bar-track{grid-column:1/-1;height:5px}.cc-house-topic[aria-pressed=true]{border-color:#4b7c49;background:#eef6e8}.cc-house-case-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.cc-reader-count{font-size:12px;color:#708369;margin:10px 0!important}.cc-house-source>summary{display:flex;flex-direction:column;gap:5px;padding:13px;font-size:12px;background:#f4f7ee}.cc-house-source>summary strong{font-size:12px;color:#355837}.cc-house-quote-preview{font-size:12px;color:#687959;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.cc-house-source .cc-rule-body{padding:0 13px 12px}.cc-house-source>.cc-open-source{margin:0 13px 13px}.cc-house-more{width:100%;margin-top:12px;padding:10px;border:1px solid #bfd1b6;border-radius:9px;background:#edf5e6;color:#436a3d;font-size:12px}.cc-star-distribution{margin:10px 20px;padding:10px;border:1px solid #d6e2d1;border-radius:9px;background:white;font-size:12px}.cc-star-distribution .cc-read-house{padding:7px}.cc-star-distribution .cc-read-house strong{font-size:16px}.cc-star-controls{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){.cc-reader-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-read-house-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cc-topic-reader,.cc-house-reader{padding:12px}.cc-topic-reader>.cc-section-head,.cc-house-reader>.cc-section-head{display:block}.cc-topic-reader>.cc-section-head>label,.cc-house-reader>.cc-section-head>label{min-width:0}.cc-reader-matrix th:first-child{min-width:155px;width:155px}.cc-reader-matrix table{min-width:850px}.cc-reader-source>summary{display:block}.cc-reader-source>summary>strong{display:block;margin-top:5px}.cc-house-case-tools{grid-template-columns:1fr}.cc-star-controls{grid-template-columns:1fr}.cc-star-distribution{margin:10px 12px}.cc-reading-tabs button{font-size:11px;padding:9px 5px}.cc-reader-metrics strong{font-size:24px}}
@media print{.cc-reading-tabs{display:none}.cc-topic-reader[hidden],.cc-house-reader[hidden]{display:none!important}.cc-reader-matrix{max-height:none}.cc-read-house-grid{grid-template-columns:repeat(6,1fr)}.cc-reader-metrics{grid-template-columns:repeat(4,1fr)}}

.cc-health-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0;padding:10px 12px;border-radius:9px;background:#e7f0e2;color:#356039;font-size:12px}.cc-health-summary span{font-size:11px;color:#71826a}.cc-health-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px;max-height:410px;overflow:auto;padding-right:4px}.cc-health-topic{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;text-align:left;background:white;border:1px solid #d5e0cd;border-radius:9px;padding:11px;color:#42633b}.cc-health-topic>span:first-child{font-size:12px;font-weight:650}.cc-health-topic>strong{font-size:16px}.cc-health-topic small{font-size:10px;color:#75866c}.cc-health-topic .cc-bar-track{height:5px}.cc-health-topic[aria-pressed=true]{border-color:#467840;background:#eef6e6}.cc-reader-scope{min-width:170px}.cc-topic-reader>.cc-section-head{flex-wrap:wrap}
@media(max-width:700px){.cc-health-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-health-topic{padding:10px}.cc-health-topic strong{font-size:14px}}
@media print{.cc-health-topic-grid{max-height:none;overflow:visible;grid-template-columns:repeat(3,1fr)}}

/* Clear, labelled reading regions — 1.2.2 */
.cc-health-section{--cc-region:#607f53;--cc-region-line:#b7cba9;--cc-region-bg:#f2f7ed}
.cc-interpretation-explorer{--cc-region:#587897;--cc-region-line:#b3c7da;--cc-region-bg:#f0f5fa}
.cc-topic-reader{--cc-region:#3f8077;--cc-region-line:#a6cbc5;--cc-region-bg:#edf7f4}
.cc-house-reader{--cc-region:#a57a39;--cc-region-line:#d8c5a2;--cc-region-bg:#fcf6e9}
.cc-all-categories{--cc-region:#80689b;--cc-region-line:#c4b5d6;--cc-region-bg:#f5f1fa}
.cc-detail-zone{--cc-region:#66758b;--cc-region-line:#bcc7d5;--cc-region-bg:#f2f5f9}
.cc-legacy{--cc-region:#8a7864;--cc-region-line:#d2c4b7;--cc-region-bg:#f8f4ee}
.cc-health-section,.cc-interpretation-explorer,.cc-topic-reader,.cc-house-reader,.cc-all-categories,.cc-detail-zone,.cc-legacy{border:1px solid var(--cc-region-line);border-left:5px solid var(--cc-region);background:var(--cc-region-bg);box-shadow:0 3px 12px #17352b08;border-radius:13px;margin-top:22px;padding:18px;min-width:0}
.cc-health-section>.cc-section-head,.cc-health-section>div:first-child,.cc-interpretation-explorer>.cc-section-head,.cc-topic-reader>.cc-section-head,.cc-house-reader>.cc-section-head{padding-bottom:12px;margin-bottom:13px;border-bottom:1px solid var(--cc-region-line)}
.cc-health-section .cc-eyebrow,.cc-interpretation-explorer .cc-eyebrow,.cc-topic-reader .cc-eyebrow,.cc-house-reader .cc-eyebrow,.cc-zone-label{color:var(--cc-region);font-weight:800}
.cc-health-section h3,.cc-interpretation-explorer h3,.cc-topic-reader h3,.cc-house-reader h3,.cc-detail-zone>.cc-detail-heading,.cc-all-categories>summary,.cc-legacy>summary{color:#263d39}
.cc-all-categories>summary,.cc-legacy>summary{font-size:15px;line-height:1.5;padding:3px 0}
.cc-reading-tabs{margin-top:24px;border-color:#b5c9c1;background:#e5efe9;padding:7px;box-shadow:0 2px 9px #28493809}
.cc-reading-tabs button[data-reading-mode=topic][aria-pressed=true]{box-shadow:inset 0 -3px #3f8077,0 2px 5px #17352b10}
.cc-reading-tabs button[data-reading-mode=house][aria-pressed=true]{box-shadow:inset 0 -3px #a57a39,0 2px 5px #17352b10}
.cc-zone-label{font-size:10px;letter-spacing:.15em;margin-bottom:10px}
.cc-detail-zone>.cc-active-filters{background:white;border:1px solid #d6deea;margin-top:0}
.cc-detail-zone>.cc-detail-heading{border-top:1px solid var(--cc-region-line);padding-top:13px;margin-top:14px!important}
.cc-detail-zone .cc-result{background:white;border:1px solid #d3deea;border-radius:9px;margin:9px 0;overflow:hidden}
.cc-detail-zone .cc-result>summary{background:#f8fafc;padding:12px;border-left:3px solid #9aacc2}
.cc-detail-zone .cc-result[open]>summary{background:#eaf0f7;border-left-color:#667e9d;border-bottom:1px solid #d4dfeb}
.cc-detail-zone .cc-result>.cc-rule-body{padding:10px 13px}
.cc-topic-reader .cc-reader-body>h4,.cc-house-reader .cc-house-reader-body>h4{padding:9px 10px;border-left:3px solid var(--cc-region);background:#ffffffb3;border-radius:5px;margin-top:20px}
.cc-topic-reader .cc-reader-metrics>div,.cc-house-reader .cc-reader-metrics>div{border-color:var(--cc-region-line)}
.cc-house-reader .cc-house-source,.cc-topic-reader .cc-reader-source{border-color:var(--cc-region-line)}
.cc-house-reader .cc-house-source>summary{background:#fffaf0}
.cc-interpretation-explorer .cc-insight-tabs{border-color:#b9cddd;background:#e6eef6}
.cc-interpretation-explorer .cc-topic-card{border-color:#cad8e5;background:#fff}
.cc-interpretation-explorer .cc-topic-card[aria-pressed=true]{border-color:#587897;background:#e8f0f9}
.cc-star-distribution{border-left:4px solid #6c8eab;background:#f0f5fa}
.cc-star-group{border-left:4px solid #729382}.cc-star-group>summary{background:#edf4ed}
.cc-star-case>.cc-rule-body{padding:10px;background:#fbfcf8;border:1px solid #dfe7d8;border-radius:8px;margin-bottom:12px}
.cc-star-group-quote{border:1px solid #e0d3b6;border-left:4px solid #b59a60;border-radius:6px}
@media(max-width:700px){.cc-health-section,.cc-interpretation-explorer,.cc-topic-reader,.cc-house-reader,.cc-all-categories,.cc-detail-zone,.cc-legacy{padding:12px;border-left-width:4px;margin-top:17px;border-radius:11px}.cc-detail-zone .cc-result>.cc-rule-body{padding:9px}.cc-detail-zone .cc-result>summary{padding:10px}.cc-health-section>div:first-child,.cc-interpretation-explorer>.cc-section-head,.cc-topic-reader>.cc-section-head,.cc-house-reader>.cc-section-head{padding-bottom:10px;margin-bottom:10px}.cc-zone-label{font-size:9px}}
@media print{.cc-health-section,.cc-interpretation-explorer,.cc-topic-reader,.cc-house-reader,.cc-all-categories,.cc-detail-zone,.cc-legacy{box-shadow:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}.cc-detail-zone .cc-result{break-inside:auto}}

/* Larger principal stars; chart owns pinch/pan so the page does not compete. */
.cc-palace .cc-major{font-size:16px;line-height:1.28;font-weight:800;letter-spacing:.01em;margin:2px 0 3px}.cc-palace .cc-major .cc-star{font:inherit;min-height:23px}
.cc-board-frame{touch-action:none;-webkit-user-select:none;user-select:none}.cc-gesture-help{font-size:11px;color:#63796b;margin:5px 0 10px!important}.cc-board-frame:focus-visible{outline:2px solid #467a62;outline-offset:3px}
@media print{.cc-palace .cc-major{font-size:10pt;line-height:1.2}.cc-gesture-help{display:none}}

/* Keep the real page grid constrained; wide comparison tables scroll inside it. */
.cc-layout>*{min-width:0;max-width:100%}
@media(max-width:850px){.cc-layout{grid-template-columns:minmax(0,1fr)}}

/* Annual stars keep their own identity and do not join natal evidence. */
.cc-annual-overlay{margin-top:7px;padding:5px 0;border-top:1px dashed #9aa8c0}
.cc-annual-heading{display:block;font-size:9px;color:#536581;font-weight:700;margin-bottom:3px}
.cc-annual-stars{list-style:none;margin:0;padding:0;columns:2;column-gap:6px;font-size:10px;line-height:1.4}
.cc-annual-stars li{break-inside:avoid;color:#536581}
.cc-annual-stars [data-element="H"]{color:#aa4146}.cc-annual-stars [data-element="M"]{color:#36794c}
.cc-annual-stars [data-element="T"]{color:#4066a2}.cc-annual-stars [data-element="K"]{color:#947528}
.cc-annual-boundary{font-weight:800;background:#e7e0ef;border-radius:3px;padding:0 3px}
.cc-palace-cycles>div.cc-annual-foot{display:flex;justify-content:space-between;align-items:center;gap:4px;margin-top:4px;font-size:10px;color:#536581}
.cc-annual-menh:not(:empty){background:#283f6d;color:white;padding:2px 5px;border-radius:3px;white-space:nowrap}

.cc-annual-legend{font-size:12px;color:#536581;background:#f0f3fa;border:1px solid #d5deef;border-radius:8px;padding:10px;margin:10px 0!important}
.cc-house-interpretations{background:#f8fafc;border:1px solid #cddbe8;border-radius:12px;padding:14px;margin:16px 0}
.cc-house-meaning{border:1px solid #d2dfe9;border-left:4px solid #537c94;border-radius:8px;background:#fff;padding:10px;margin:9px 0}
.cc-house-meaning>summary{display:flex;gap:12px;justify-content:space-between;align-items:baseline;font-size:14px}
.cc-house-meaning>summary strong{white-space:pre-line;overflow-wrap:anywhere;flex:1;min-width:0}.cc-house-meaning>summary span{font-size:11px;color:#536581;white-space:nowrap}
.cc-house-shortcuts{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.cc-house-shortcuts button{border:1px solid #b7cbda;border-radius:20px;background:white;padding:5px 10px;color:#31556d;font-size:12px}
.cc-meaning-topics,.cc-house-source-info,.cc-desktop-note{font-size:12px;color:#536581;margin:10px 0!important}
.cc-meaning-source{border-top:1px solid #e0e6ed;padding-top:8px;margin-top:8px}.cc-meaning-source>summary{font-size:12px;color:#31556d}

.cc-reading-summary{border-top:5px solid #537d91;background:#f6fafc}.cc-summary-head p,.cc-summary-method{font-size:12px;color:#576d79;line-height:1.65;margin:10px 0!important}.cc-summary-head h2{margin:6px 0}.cc-summary-lead{font-size:15px;margin:16px 0!important}
.cc-tone-stack{display:flex;height:11px;border-radius:8px;overflow:hidden;background:#e7edf1;margin:12px 0}.cc-tone-stack span{min-width:0}.cc-tone-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.cc-tone-count{border:1px solid #d3dfe4;border-top:3px solid var(--tone);border-radius:8px;background:white;padding:9px;text-align:left;min-width:0}.cc-tone-count span,.cc-tone-count strong,.cc-tone-count small{display:block}.cc-tone-count strong{font-size:21px;color:var(--tone)}.cc-tone-count span,.cc-tone-count small{font-size:12px}
.cc-summary-house{background:white;border:1px solid #cfdee6;border-radius:10px;margin:13px 0}.cc-summary-house>summary{padding:14px;font-size:15px}.cc-summary-house-body{padding:0 14px 14px}.cc-summary-narrative,.cc-summary-themes,.cc-summary-perspective{margin:12px 0!important;line-height:1.7}.cc-summary-themes{color:#31596b;background:#edf5f8;border-radius:8px;padding:10px}.cc-summary-tone-group{border-top:1px solid #dfE7eb;padding-top:12px;margin-top:14px}.cc-summary-tone-group h4{margin:0 0 10px}.cc-summary-reading{white-space:pre-line;border-left:3px solid #bbd0dd;padding:6px 10px;margin:10px 0!important;line-height:1.7}.cc-summary-condition{color:#7c6033}.cc-summary-more>summary{font-size:12px;padding:7px 0}
.cc-pdf-dialog{width:min(720px,calc(100vw - 24px));max-height:88vh;border:1px solid #b9cfdb;border-radius:14px;padding:20px;color:var(--ink);overflow:auto}.cc-pdf-dialog::backdrop{background:#10272099}.cc-pdf-dialog header{display:flex;gap:10px;align-items:center;justify-content:space-between}.cc-pdf-close{border:0;background:#edf4f7;border-radius:8px;font-size:24px!important}.cc-pdf-dialog p{font-size:13px;margin:12px 0;line-height:1.6}.cc-pdf-dialog fieldset{border:1px solid #d2e0e8;border-radius:10px;margin:14px 0;padding:12px}.cc-pdf-dialog legend{font-weight:700;font-size:14px}.cc-pdf-houses,.cc-pdf-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cc-pdf-dialog label:has(input[type=checkbox]){display:flex;gap:7px;align-items:center;font-size:13px;margin:0}.cc-pdf-dialog input[type=checkbox]{display:inline-block;flex:none;width:17px;height:17px;margin:0}.cc-pdf-actions{display:flex;gap:8px;margin-bottom:12px}.cc-pdf-actions button{border:1px solid #c0d5df;background:#f3f8fa;color:#365c6e;border-radius:6px;padding:5px 9px;font-size:12px}.cc-pdf-preview{background:#edf5f8;padding:10px;border-radius:8px}.cc-pdf-note{color:#627782;font-size:11px!important}
@media(max-width:600px){.cc-tone-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-pdf-houses,.cc-pdf-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-pdf-dialog{padding:14px}.cc-pdf-dialog .cc-two{grid-template-columns:minmax(0,1fr)}.cc-pdf-actions{flex-wrap:wrap}}
@media print{.cc-results,.cc-legacy,.cc-review,.cc-layout>aside,.cc-download,.cc-export-status,.cc-zoom,.cc-pdf-dialog,.cc-no-print{display:none!important}.cc-reading-summary details{display:block}.cc-reading-summary{break-before:page}.cc-tone-count{color:var(--tone);print-color-adjust:exact}}

.cc-summary-theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.cc-summary-theme{background:white;border:1px solid #d5e1e7;border-radius:8px;padding:10px;text-align:left;min-width:0;overflow-wrap:anywhere}.cc-summary-theme span,.cc-summary-theme strong{display:block;font-size:12px}.cc-summary-theme strong{color:#537d91;margin-top:5px}
.cc-report-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.cc-report-actions button{font-size:12px}.cc-open-summary{background:#eef5f8;border:1px solid #bcd0dc;color:#355e74;border-radius:8px;padding:6px 10px;white-space:nowrap}@media print{.cc-report-actions{display:none!important}}

.cc-app .cc-workspace-hidden{display:none!important}
.cc-workspace-tabs{position:sticky;top:8px;z-index:30;display:flex;gap:5px;overflow-x:auto;max-width:100%;min-width:0;padding:6px;margin:0 0 16px;border:1px solid #bdced9;border-radius:12px;background:#f8fbfd;box-shadow:0 4px 14px #173d3612;scrollbar-width:thin;overscroll-behavior-x:contain}
.cc-workspace-tabs button{flex:1 0 auto;white-space:nowrap;border:0;border-radius:8px;background:transparent;color:#4b6674;padding:10px 12px;font-size:13px;font-weight:650}.cc-workspace-tabs button[aria-selected="true"]{background:#235e64;color:white;box-shadow:0 2px 5px #173d3620}.cc-workspace-tabs button:focus-visible{outline:2px solid #a98746;outline-offset:1px}
.cc-quick-tones{background:#f4f9fa;border:1px solid #cbdee2;border-radius:12px;padding:14px;margin:14px 0}.cc-quick-tone-head{display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between;align-items:baseline}.cc-quick-tone-head h3{font-size:17px}.cc-quick-tone-head>span,.cc-quick-tones>p{font-size:12px;color:#526f79}.cc-quick-tones>p{margin-top:9px!important}.cc-quick-tones .cc-tone-count strong{font-size:25px}.cc-quick-tones .cc-tone-count small{font-size:14px;font-weight:700}
.cc-profile-details{border-top:1px solid #d9e3e7;padding-top:9px;margin-top:12px}.cc-profile-details>summary{font-size:13px;color:#526d79}
.cc-app[data-page="house"] .cc-results{padding:0;border:0;background:transparent;box-shadow:none}
.cc-house-tone-summary{background:#f1f7fa;border:1px solid #cbdfe7;border-radius:10px;padding:14px;margin:14px 0}.cc-house-tone-summary h4{margin:0;font-size:16px}.cc-house-tone-summary .cc-tone-count strong{font-size:24px}.cc-house-tone-summary .cc-tone-count small{font-size:14px;font-weight:700}
@media(max-width:600px){.cc-workspace-tabs{top:4px;border-radius:10px;padding:5px;gap:4px}.cc-workspace-tabs button{font-size:12px;padding:9px 11px}.cc-quick-tones,.cc-house-tone-summary{padding:11px}.cc-quick-tones .cc-tone-count strong{font-size:23px}.cc-quick-tone-head{display:block}.cc-quick-tone-head>span{display:block;margin-top:5px}}
@media print{.cc-workspace-tabs,.cc-quick-tones{display:none!important}.cc-app .cc-chart.cc-workspace-hidden,.cc-app .cc-reading-summary.cc-workspace-hidden{display:block!important}}
@media(max-width:600px){.cc-workspace-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible}.cc-workspace-tabs button{grid-column:span 2;min-width:0;padding:8px 5px}.cc-workspace-tabs button:nth-child(n+4){grid-column:span 3}}

.cc-star-field{background:#eef6f3;border:1px solid #c9ded4;border-radius:10px;padding:12px;margin:12px 0}.cc-star-field>strong{font-size:14px;color:#24594c}.cc-star-field-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.cc-star-field-tags>span{border:1px solid #cfdfd8;border-radius:7px;background:white;padding:5px 8px}.cc-star-field-tags strong,.cc-star-field-tags small{display:block;font-size:12px}.cc-star-field-tags small{font-size:11px;color:#587167}.cc-star-house:disabled{opacity:1;color:var(--ink);background:#f0f5f2;cursor:default}

/* Doãn Nhân mobile app: the board has a single desktop geometry on every device. */
.cc-brand-heading{display:flex;gap:15px;align-items:center;min-width:0}.cc-brand-icon{flex:none;width:64px;height:64px;border-radius:16px;border:1px solid #b99a57;box-shadow:0 3px 10px #001b2550}.cc-hero .cc-brand-heading h1{font-size:clamp(28px,4vw,44px)}.cc-hero-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end;max-width:240px}.cc-hero-actions button,.cc-hero-actions a{border:1px solid #7da6a2;background:#ffffff12;color:#f2e7bf;border-radius:8px;padding:7px 10px;font-size:12px;text-decoration:none;white-space:nowrap}.cc-profile-count{display:inline-block;min-width:20px;padding:0 4px;border-radius:10px;background:#ffffff20}.cc-save-profile{width:100%;border:1px solid #b8cebd;background:#f1f7f0;color:#285c4b;border-radius:8px;padding:8px;margin-top:8px}.cc-profile-status{font-size:12px;color:#456c59;margin-top:6px!important}
.cc-mobile-dialog{width:min(620px,calc(100vw - 24px));max-height:86vh;border:1px solid #b5ceca;border-radius:15px;padding:20px;color:var(--ink);overflow:auto}.cc-mobile-dialog::backdrop{background:#092e31b5}.cc-mobile-dialog header{display:flex;justify-content:space-between;gap:15px;align-items:center}.cc-mobile-dialog header button{border:0;border-radius:7px;background:#eff5f1;font-size:24px!important;min-width:34px;min-height:34px}.cc-mobile-dialog p{margin:12px 0!important;line-height:1.6;font-size:13px}.cc-install-icon{display:block;width:92px;height:92px;margin:16px auto;border-radius:22px}.cc-mobile-dialog .cc-download-icon{display:block;text-align:center;color:#275f5c;background:#eff6f3;border:1px solid #c4d8cc;border-radius:8px;padding:10px;text-decoration:none}.cc-profile-tools{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.cc-profile-tools button,.cc-import-label{margin:0!important;cursor:pointer;font-size:12px!important;font-weight:600;border:1px solid #bccfca;background:#f2f8f3;color:#285d50;border-radius:7px;padding:7px 10px}.cc-import-label input{display:none!important}.cc-saved-profile{padding:13px;margin-top:10px;border:1px solid #d1e0d6;border-radius:10px;background:#fafcf8}.cc-saved-profile h3{font-size:16px}.cc-saved-profile p{font-size:12px;color:#536e60;margin:6px 0!important}.cc-profile-delete{color:#9b4242!important;background:#fff5f3!important}.cc-profile-delete-confirm{display:flex;gap:7px;border-top:1px solid #e4c7c4;padding-top:10px}.cc-profile-delete-confirm button{padding:7px;border:1px solid #d2b4b0;border-radius:6px;background:white;font-size:12px}.cc-profiles-message,.cc-save-message{color:#456454}
@media screen{
 .cc-board-frame{position:relative;max-width:100%;background:#f9faf4;border:1px solid #bcc9be;scrollbar-width:thin;cursor:grab;overflow:auto}
 .cc-board-frame:active{cursor:grabbing}.cc-board-stage{margin-left:auto;margin-right:auto;overflow:hidden}
 .cc-board-frame .cc-board{width:960px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(320px,1fr));gap:0;align-items:stretch;border:1px solid #7e9586;background:#fbfcf8;font-family:"Segoe UI",Arial,sans-serif;line-height:1.28}
 .cc-board .cc-palace{padding:7px;border:1px solid #a6b6a6;border-radius:0;min-height:0;overflow:visible;box-shadow:none;display:flex;flex-direction:column}
 .cc-board .cc-palace-top{grid-template-columns:minmax(0,1fr) auto;gap:2px;border-bottom:1px solid #d2dccc;padding-bottom:3px;font-size:13px}
 .cc-board .cc-palace-branch{font-size:10.5px}.cc-board .cc-major-period{font-size:10px}.cc-board .cc-count{font-size:9px!important;line-height:1.25;min-height:0;margin:2px 0;padding:1px 4px;align-self:flex-end}
 .cc-board .cc-stars-main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:7px;row-gap:2px;align-content:start;list-style:none;margin:3px 0;padding:0;font-size:13px;line-height:1.25}
 .cc-board .cc-stars-main>li{min-width:0;overflow-wrap:normal;word-break:normal;margin:0}.cc-board .cc-stars-main>.cc-major{grid-column:1/-1;font-size:18px;line-height:1.2;letter-spacing:0;margin:0 0 2px;font-weight:800}.cc-board .cc-star{min-height:0;font:inherit;line-height:inherit}
 .cc-board .cc-stars-main>.cc-boundary{grid-column:1/-1;justify-self:start;margin:2px 0;padding:1px 7px;border-radius:2px;font-size:11px;line-height:1.25}
 .cc-board .cc-annual-overlay{margin-top:5px;padding-top:5px;border-top:1px dashed #aebdce}.cc-board .cc-annual-heading{font-size:9px;letter-spacing:.02em;margin:0 0 2px}.cc-board .cc-annual-stars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 6px;columns:unset;font-size:11px;line-height:1.25;margin:0;padding:0}.cc-board .cc-annual-stars li{min-width:0;overflow-wrap:normal;word-break:normal}
 .cc-board .cc-palace-cycles{margin-top:auto;padding-top:5px;font-size:9px}.cc-board .cc-palace-cycles .cc-life-state{font-size:10px}.cc-board .cc-annual-year,.cc-board .cc-annual-month{font-size:9px}.cc-board .cc-palace-cycles>div.cc-annual-foot{margin-top:4px;font-size:9px;gap:3px}.cc-board .cc-annual-menh:not(:empty){padding:2px 4px;font-size:9px}
 .cc-board .cc-center{min-height:0;grid-area:2/2/4/4;padding:20px;border:1px solid #b9af8b;border-radius:0;gap:12px;justify-content:center}.cc-board .cc-center .cc-center-title{font-size:26px}.cc-board .cc-center-facts{font-size:14px;line-height:1.45}.cc-board .cc-center-facts div{grid-template-columns:83px minmax(0,1fr);padding:3px 0}.cc-board .cc-center-relations{font-size:13px}.cc-board .cc-center-relations small{font-size:10px}
 .cc-chart .cc-zoom{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:6px 0}.cc-chart .cc-zoom button{font-size:11px;line-height:1.2;min-height:32px;min-width:28px;padding:5px 6px}.cc-chart .cc-zoom-value{font-size:11px;min-width:35px}.cc-chart-note{margin:3px 0}.cc-chart-note>summary{font-size:11px;color:#5b7567}.cc-chart-note .cc-annual-legend{font-size:11px;margin:5px 0!important;padding:7px}.cc-chart .cc-gesture-help{font-size:10px;line-height:1.3;margin:5px 0!important}
 .cc-chart.cc-is-fullscreen{position:fixed!important;inset:0!important;z-index:2147483000!important;width:100vw!important;max-width:none!important;height:100vh;height:100dvh;margin:0!important;padding:calc(5px + env(safe-area-inset-top)) calc(4px + env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) calc(4px + env(safe-area-inset-left));border:0;border-radius:0;background:#eef3ed;overflow:hidden}
 .cc-chart.cc-is-fullscreen>summary,.cc-chart.cc-is-fullscreen>.cc-chart-note,.cc-chart.cc-is-fullscreen>.cc-gesture-help{display:none!important}.cc-chart.cc-is-fullscreen>.cc-zoom{margin:0 0 5px}.cc-chart.cc-is-fullscreen .cc-board-frame{background:#eef3ed;max-width:100%}.cc-chart.cc-is-fullscreen .cc-zoom-full{background:#174f54;color:white;border-color:#174f54}
 body.cc-chart-fullscreen{overflow:hidden!important}body.cc-chart-fullscreen .cc-back-top{display:none!important}
}
@media screen and (max-width:700px){.cc-hero{display:block;padding:17px 14px}.cc-brand-heading{gap:11px}.cc-brand-icon{width:54px;height:54px;border-radius:13px}.cc-hero .cc-brand-heading h1{font-size:27px}.cc-hero .cc-brand-heading p{font-size:11px}.cc-hero-actions{max-width:none;justify-content:flex-start;margin-top:14px}.cc-hero-actions button,.cc-hero-actions a{font-size:11px;padding:6px 9px}.cc-app[data-page=chart]{padding-left:0;padding-right:0;max-width:none;width:100%}.cc-app[data-page=chart]>.cc-layout{gap:0}.cc-app[data-page=chart] .cc-chart{padding:4px;margin:0;border-radius:0;border-left:0;border-right:0;box-shadow:none}.cc-app[data-page=chart] .cc-workspace-tabs{margin-left:4px;margin-right:4px;max-width:calc(100% - 8px)}.cc-chart>summary{font-size:14px!important}.cc-mobile-dialog{padding:15px}.cc-mobile-dialog h2{font-size:20px}.cc-mobile-dialog{max-height:88dvh}.cc-save-profile{min-height:38px}.cc-app[data-page=chart] .cc-chart.cc-is-fullscreen{padding:calc(5px + env(safe-area-inset-top)) 4px calc(4px + env(safe-area-inset-bottom))}}
@media print{.cc-hero-actions,.cc-save-profile,.cc-mobile-dialog,.cc-profile-status{display:none!important}}
@media screen and (max-width:700px){.cc-app[data-page=chart]{padding-top:4px;padding-bottom:4px}.cc-app[data-page=chart]>.cc-hero,.cc-app[data-page=chart]>.cc-layout>aside,.cc-app[data-page=chart] .cc-report{display:none!important}.cc-app[data-page=chart] .cc-content{min-width:0}.cc-app[data-page=chart] .cc-workspace-tabs{position:sticky;top:0;margin-top:0}.cc-app[data-page=chart] .cc-chart{background:#f9faf4}}
.cc-zoom .cc-chart-save{width:auto;margin:0;background:#e7f1ec;color:#235c4b;font-size:11px}.cc-is-fullscreen .cc-chart-save{display:none!important}.cc-mobile-status{display:none;position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:100001;max-width:calc(100vw - 32px);background:#174f4a;color:white;border-radius:10px;padding:12px 16px;font-size:13px;box-shadow:0 5px 22px #001c3a40}.cc-mobile-status.cc-toast-visible{display:block}
@media screen and (max-width:700px){.cc-app input,.cc-app select{font-size:16px;min-height:40px}.cc-app input[type=checkbox],.cc-app input[type=file]{min-height:0}.cc-mobile-dialog .cc-profile-tools button{min-height:38px}}
@media screen{.cc-board{-webkit-text-size-adjust:100%;text-size-adjust:100%}}
