/* Capital Conquerors — interactive tools (Tools page). Auros palette only. */
.cc-tool { background: #003734; border-radius: 16px; padding: 48px; color: #ffffff; font-family: inherit; box-sizing: border-box; }
.cc-tool * { box-sizing: border-box; }
.cc-t-grid { display: grid; gap: 48px; align-items: stretch; }
.cc-t-grid--growth { grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); }
.cc-t-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.cc-t-side { display: flex; flex-direction: column; gap: 28px; justify-content: center; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 48px; }
.cc-t-stats { display: flex; gap: 48px; flex-wrap: wrap; align-items: flex-end; }
.cc-t-stats > div { display: flex; flex-direction: column; gap: 8px; }
.cc-t-stat { font-weight: 500; line-height: 1; letter-spacing: -0.046em; color: #fde9ff; font-variant-numeric: tabular-nums; }
.cc-t-stat--lg { font-size: clamp(2.6rem, 5vw, 3.8rem); }
.cc-t-stat--md { font-size: 22px; letter-spacing: -0.02em; }
.cc-t-stat--sm { font-size: clamp(2rem, 4vw, 2.8rem); }
.cc-t-white { color: #ffffff; }
.cc-t-mist { color: #edfffe; }
.cc-t-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: #bbc7c6; }
.cc-t-note { font-size: 12px; line-height: 1.55; color: #707777; }
.cc-t-chart { width: 100%; height: auto; display: block; overflow: visible; }
.cc-t-axis { display: flex; justify-content: space-between; font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: #707777; }
.cc-t-hoverlabel { color: #bbc7c6; letter-spacing: 0.08em; text-transform: none; font-size: 12px; }
.cc-t-field { display: flex; flex-direction: column; gap: 4px; }
.cc-t-field-head { display: flex; justify-content: space-between; align-items: baseline; }
.cc-t-val { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #ffffff; }
.cc-tool input[type=range] { -webkit-appearance: none !important; appearance: none !important; width: 100%; height: 2px; background: rgba(255,255,255,0.14); border-radius: 1px; outline: none; margin: 14px 0; accent-color: #cbfffc; cursor: pointer; padding: 0; border: 0; }
.cc-tool input[type=range]::-webkit-slider-runnable-track { height: 2px; background: transparent; }
.cc-tool input[type=range]::-webkit-slider-thumb { -webkit-appearance: none !important; appearance: none !important; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: #ffffff; border: 4px solid #003734; outline: 1px solid rgba(203,255,252,0.5); cursor: pointer; transition: filter .2s; }
.cc-tool input[type=range]::-webkit-slider-thumb:hover { filter: brightness(1.08); }
.cc-tool input[type=range]::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: #ffffff; border: 4px solid #003734; outline: 1px solid rgba(203,255,252,0.5); cursor: pointer; }
.cc-tool input[type=range]::-moz-range-track { height: 2px; background: rgba(255,255,255,0.14); }
/* debt */
.cc-t-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cc-t-seg { display: inline-flex; border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; padding: 3px; position: relative; background: #011d1c; }
.cc-t-seg-thumb { position: absolute; top: 3px; bottom: 3px; width: calc(50% - 3px); left: 3px; background: #003734; border-radius: 4px; transition: left .45s cubic-bezier(.22,1,.36,1); }
.cc-t-seg button { position: relative; background: none; border: none; color: #97a3a2; font-family: inherit; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; padding: 12px 24px; cursor: pointer; transition: color .3s; min-width: 150px; border-radius: 4px; }
.cc-t-seg button.is-on { color: #ffffff; }
.cc-t-rows { display: flex; flex-direction: column; gap: 18px; }
.cc-t-row { display: grid; grid-template-columns: 28px 180px minmax(0,1fr) 110px; gap: 20px; align-items: center; }
.cc-t-seqno { font-size: 12px; letter-spacing: 0.12em; color: #707777; font-variant-numeric: tabular-nums; }
.cc-t-row-name { font-size: 15px; color: #ffffff; }
.cc-t-row-meta { font-size: 11px; color: #bbc7c6; letter-spacing: 0.04em; margin-top: 3px; }
.cc-t-bar { height: 28px; background: rgba(255,255,255,0.05); border-radius: 6px; position: relative; overflow: hidden; }
.cc-t-bar-fill { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, #00827c, #00827c); border-radius: 6px; transition: width .8s cubic-bezier(.22,1,.36,1), background .5s; }
.cc-t-bar-fill.is-first { background: linear-gradient(90deg, #00827c, #cbfffc); }
.cc-t-bar-ghost { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-left: 1px dashed rgba(253,233,255,0.6); transition: left .8s cubic-bezier(.22,1,.36,1), width .8s cubic-bezier(.22,1,.36,1); }
.cc-t-row-label { font-size: 14px; color: #edfffe; font-variant-numeric: tabular-nums; text-align: right; }
.cc-t-foot { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,1fr); gap: 48px; align-items: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; }
.cc-t-copy { font-size: 14px; line-height: 1.55; color: #bbc7c6; }
/* fund ring */
.cc-t-ringrow { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; justify-content: center; }
.cc-t-ring { position: relative; width: 220px; height: 220px; flex: none; }
.cc-t-ring svg { width: 220px; height: 220px; display: block; transform: rotate(-90deg); }
.cc-t-ring-arc { transition: stroke-dashoffset .9s cubic-bezier(.22,1,.36,1); }
.cc-t-ring-dot { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #fde9ff; transition: transform .9s cubic-bezier(.22,1,.36,1); }
.cc-t-ring-dot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(253,233,255,0.7); animation: ccpulse 2.4s ease-in-out infinite; }
.cc-t-ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.cc-t-ring-pct { font-size: 44px; letter-spacing: -0.046em; line-height: 1; font-weight: 500; color: #fde9ff; font-variant-numeric: tabular-nums; }
.cc-t-ringinfo { display: flex; flex-direction: column; gap: 20px; flex: 1; min-width: 200px; }
.cc-t-ringinfo > div { display: flex; flex-direction: column; gap: 6px; }
.cc-t-big { font-size: 26px; letter-spacing: -0.03em; line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums; }
.cc-t-big span { color: #707777; }
.cc-t-date { font-size: 18px; letter-spacing: -0.02em; color: #edfffe; }
.cc-t-two { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; }
.cc-t-stack { display: flex; flex-direction: column; gap: 32px; }
/* split */
.cc-t-splitbar { display: flex; height: 64px; gap: 3px; border-radius: 6px; overflow: hidden; }
.cc-t-splitbar > div { transition: width .7s cubic-bezier(.22,1,.36,1), opacity .3s; cursor: pointer; }
.cc-t-seg-needs { background: #00827c; }
.cc-t-seg-wants { background: #003734; border: 1px solid rgba(203,255,252,0.35); }
.cc-t-seg-save { background: linear-gradient(90deg, #cbfffc, #fad1ff); }
.cc-t-legend { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.cc-t-legend > div { display: flex; flex-direction: column; gap: 6px; transition: opacity .3s; }
.cc-t-legend-head { display: flex; align-items: center; gap: 8px; }
.cc-t-swatch { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.cc-t-amt { font-size: 22px; letter-spacing: -0.02em; font-weight: 500; font-variant-numeric: tabular-nums; }
.cc-tool.is-hover-needs .cc-t-legend > div:not(.k-needs), .cc-tool.is-hover-needs .cc-t-splitbar > div:not(.cc-t-seg-needs),
.cc-tool.is-hover-wants .cc-t-legend > div:not(.k-wants), .cc-tool.is-hover-wants .cc-t-splitbar > div:not(.cc-t-seg-wants),
.cc-tool.is-hover-save  .cc-t-legend > div:not(.k-save),  .cc-tool.is-hover-save  .cc-t-splitbar > div:not(.cc-t-seg-save) { opacity: .35; }
/* net worth */
.cc-t-periods { display: flex; gap: 4px; }
.cc-t-periods button { background: transparent; border: none; border-radius: 6px; color: #97a3a2; font-family: inherit; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; padding: 10px 16px; cursor: pointer; transition: background .3s, color .3s; }
.cc-t-periods button:hover { color: #ffffff; }
.cc-t-periods button.is-on { background: #012624; color: #ffffff; }
.cc-t-chart--nw { cursor: crosshair; }
.cc-t-pulse { animation: ccpulse 2.4s ease-in-out infinite; }
@keyframes ccpulse { 0%,100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.35); } }
@media (max-width: 900px) {
  .cc-tool { padding: 28px 24px; }
  .cc-t-grid--growth, .cc-t-foot, .cc-t-two { grid-template-columns: 1fr; gap: 28px; }
  .cc-t-side { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; }
  .cc-t-row { grid-template-columns: 24px minmax(0,1fr) 90px; }
  .cc-t-row .cc-t-bar { grid-column: 1 / -1; }
  .cc-t-legend { grid-template-columns: 1fr; }
  .cc-t-seg button { min-width: 0; padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-tool * { transition: none !important; animation: none !important; }
}
