/* Direction of travel: the compass. */
.cp-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
@media (max-width: 1050px) { .cp-wrap { grid-template-columns: 1fr; } }
.cp-field { margin: 0; position: relative; background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f4f6f1 70%); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.cp-field svg { width: 100%; height: auto; display: block; max-height: calc(100vh - 180px); }
.cp-ring { fill: none; stroke: #e3e8df; stroke-width: 1; }
.cp-axis { stroke: #d6ddd2; stroke-width: 1; stroke-dasharray: 3 5; }
.cp-pole-bg { fill: var(--pine-deep); }
.cp-pole-name { font-family: var(--serif); font-size: 13px; font-weight: 700; fill: #fff; }
.cp-pole-sub { font-size: 9.5px; fill: #b9cfc3; }
.cp-core { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.cp-core-t { font-family: var(--serif); font-size: 11.5px; fill: var(--ink-soft); font-style: italic; }
.cp-dot { cursor: pointer; outline: none; }
#cp.ready .cp-dot { transition: transform 1.2s cubic-bezier(.45, .05, .25, 1), opacity .3s; }
.cp-core-dot { stroke: #fff; stroke-width: 1.4; }
.cp-dot.thin .cp-core-dot { fill: #fff !important; stroke-width: 2; }
.cp-dot.thin.c-A .cp-core-dot { stroke: var(--cat-A); } .cp-dot.thin.c-B .cp-core-dot { stroke: var(--cat-B); } .cp-dot.thin.c-C .cp-core-dot { stroke: var(--cat-C); }
.cp-dot.thin.c-D .cp-core-dot { stroke: var(--cat-D); } .cp-dot.thin.c-E .cp-core-dot { stroke: var(--cat-E); } .cp-dot.thin.c-F .cp-core-dot { stroke: var(--cat-F); }
.cp-dot.us .cp-core-dot { stroke: var(--pine); stroke-width: 2.5; }
.cp-halo { fill: rgba(183, 201, 88, 0.3); }
.cp-label { font-size: 11px; fill: var(--ink); paint-order: stroke; stroke: #fbfcf9; stroke-width: 3.5px; stroke-linejoin: round; display: none; pointer-events: none; }
.cp-dot.named .cp-label, .cp-dot.hl .cp-label, .cp-dot:focus .cp-label { display: block; }
.cp-dot.us .cp-label { font-family: var(--serif); font-size: 14px; font-weight: 700; fill: var(--pine); }
#cp.hovering .cp-dot:not(.hl):not(.us) { opacity: 0.35; }
.cp-dot.hl .cp-core-dot { stroke: var(--ink); stroke-width: 2.2; }
#cp.hide-A .c-A, #cp.hide-B .c-B, #cp.hide-C .c-C, #cp.hide-D .c-D, #cp.hide-E .c-E, #cp.hide-F .c-F { opacity: 0.06 !important; pointer-events: none; }

.cp-tip { position: absolute; z-index: 4; top: 0; left: 0; width: 360px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(18, 42, 36, 0.16); padding: 12px 14px; pointer-events: none; opacity: 0; transition: opacity .12s; }
.cp-tip.on { opacity: 1; }
.cp-tip .t { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--pine-deep); }
.cp-tip .c { font-size: 0.8rem; color: var(--muted); }
.cp-tip .tw { display: grid; grid-template-columns: 130px 1fr; gap: 10px; align-items: center; margin-top: 6px; }
.cp-tip ul { list-style: none; padding: 0; margin: 0; font-size: 0.82rem; }
.cp-tip li { margin: 3px 0; color: var(--ink-soft); }
.cp-tip li b { display: block; color: var(--pine-deep); font-weight: 600; }
.rd-l { font-size: 10px; fill: var(--muted); }

.cp-views { display: grid; gap: 8px; margin: 6px 0 18px; }
.cp-views button { text-align: left; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.cp-views button b { display: block; font-family: var(--serif); font-size: 1rem; color: var(--pine-deep); font-weight: 600; }
.cp-views button span { font-size: 0.82rem; color: var(--muted); }
.cp-views button:hover { border-color: var(--sage); background: var(--card); color: var(--ink); }
.cp-views button.on { background: var(--pine-deep); border-color: var(--pine-deep); }
.cp-views button.on b { color: #fff; } .cp-views button.on span { color: #b9cfc3; }

.cp-us { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px 26px 18px; margin: 30px 0 10px; }
@media (max-width: 900px) { .cp-us { grid-template-columns: 1fr; } }
.cp-us svg { width: 100%; height: auto; max-width: 380px; }
.cp-us .rd-l { font-size: 12px; font-weight: 600; fill: var(--ink-soft); }
.cp-ranks { list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cp-ranks li { background: var(--paper); border-radius: 10px; padding: 10px 12px; font-size: 0.9rem; color: var(--ink-soft); }
.cp-ranks li span { display: block; font-size: 0.82rem; color: var(--muted); }
.cp-ranks li b { font-family: var(--serif); font-size: 1.6rem; color: var(--pine-deep); }
.cp-ranks li em { display: block; font-style: normal; font-size: 0.8rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { #cp.ready .cp-dot { transition-duration: 1.2s; } }
.cp-core-zone { fill: rgba(236, 238, 233, 0.6); stroke: #dde1da; stroke-width: 1; }
