/* Admin › Coach costs (coachcost.js). Theme tokens only; the accent marks spend, green what's left. */
.cc-seg { margin-bottom: 12px; }
.cc-top { padding: 0; overflow: hidden; }
.cc-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cc-slides::-webkit-scrollbar { display: none; }
.cc-slide { flex: 0 0 100%; scroll-snap-align: start; padding: 14px 14px 4px; min-width: 0; }
.cc-dots { display: flex; justify-content: center; gap: 5px; padding: 6px 0 12px; }
.cc-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--bg4); transition: width .2s; }
.cc-dots i.on { width: 16px; background: var(--text2); }
.cc-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.cc-hero b { font-size: 38px; font-weight: 850; letter-spacing: -.03em; line-height: 1; }
.cc-hero small { display: block; font-size: 12.5px; color: var(--text2); margin-top: 6px; }
.cc-chg { font-size: 12.5px; font-weight: 700; color: var(--text2); text-align: right; white-space: nowrap; }
.cc-chg i { font-style: normal; }
.cc-chg i.up { color: var(--red); }
.cc-chg i.down { color: var(--green); }
.cc-spark { display: flex; align-items: flex-end; gap: 2px; height: 46px; margin-top: 12px; }
.cc-spark i { flex: 1; background: var(--accent); border-radius: 2px 2px 0 0; min-width: 2px; }
.cc-spark i.fut { background: var(--bg4); }
.cc-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--text3); margin-top: 4px; }
.cc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.cc-tiles div { background: var(--bg3); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.cc-tiles span { display: block; font-size: 11px; font-weight: 700; color: var(--text2); white-space: nowrap; }
.cc-tiles b { font-size: 17px; font-weight: 800; }
.cc-tiles b.ok, .cc-mrow b.ok { color: var(--green); }
.cc-tiles b.warn, .cc-mrow b.warn { color: var(--red); }
.cc-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 9px; margin-bottom: 10px; border-bottom: 1px solid var(--border); }
.cc-hd > span { font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--text2); }
.cc-hd > em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--text2); }
.cc-split { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; margin: 4px 0; }
.cc-split i { display: block; height: 100%; background: var(--accent); }
.cc-split i.left { background: var(--green); }
.cc-mrow { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border); font-size: 13.5px; }
.cc-mrow:first-of-type { border-top: 0; }
.cc-mrow span { color: var(--text2); }
.cc-mrow b { font-weight: 800; text-align: right; }
.cc-mrow b small { font-weight: 600; color: var(--text3); font-size: 11.5px; margin-left: 6px; }
.cc-link { border: 0; background: none; padding: 8px 0 2px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--accent); cursor: pointer; text-align: left; }
.cc-fr { display: grid; grid-template-columns: 100px minmax(0, 1fr) 62px; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; }
.cc-fr > span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-bar { height: 8px; border-radius: 4px; background: var(--bg3); overflow: hidden; }
.cc-bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.cc-fr b { text-align: right; font-weight: 800; }
.cc-fr small { grid-column: 2 / 4; margin-top: -3px; font-size: 11.5px; color: var(--text2); }
.cc-foot { font-size: 11.5px; color: var(--text3); line-height: 1.4; margin-top: 8px; }
.cc-pr { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 0; border: 0; border-top: 1px solid var(--border); background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.cc-pr:first-of-type { border-top: 0; }
.cc-g { flex: 1; min-width: 0; }
.cc-g b { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-g small { font-size: 12px; color: var(--text2); }
.cc-amt { text-align: right; font-weight: 800; font-size: 14px; }
.cc-amt small { display: block; font-weight: 600; font-size: 11.5px; color: var(--text2); }
.cc-tag { font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 99px; background: var(--bg4); color: var(--text2); vertical-align: 2px; }
.cc-tag.hot { background: var(--red-soft); color: var(--red); }
.cc-back { border: 0; background: none; padding: 0; margin: 0 0 10px; font: inherit; font-size: 14px; font-weight: 700; color: var(--accent); cursor: pointer; }
.cc-who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cc-who b { font-size: 18px; font-weight: 800; display: block; }
.cc-who small { font-size: 12.5px; color: var(--text2); }
.cc-meter { margin-bottom: 9px; }
.cc-meter div { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; }
.cc-meter div span { color: var(--text2); }
.cc-meter i { display: block; height: 6px; border-radius: 3px; background: var(--bg3); overflow: hidden; }
.cc-meter s { display: block; height: 100%; border-radius: 3px; background: var(--accent); text-decoration: none; }
.cc-price { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13.5px; }
.cc-price b { flex: 1; }
.cc-price input { width: 74px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg3); color: var(--text); font: inherit; font-size: 14px; }
.cc-price label { display: flex; align-items: center; gap: 4px; color: var(--text2); }
.cc-costbox { background: var(--bg3); border-radius: 12px; padding: 12px; margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-costbox b { font-size: 22px; font-weight: 850; }
.cc-costbox small { display: block; font-size: 12px; color: var(--text2); }
.cc-costbox .r { text-align: right; font-size: 12.5px; color: var(--text2); }
.cc-costbox .r b { font-size: 14px; color: var(--text); display: block; }
.cc-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 6px; }
.cc-tbl td { padding: 6px 0; border-top: 1px solid var(--border); }
.cc-tbl td:not(:first-child) { text-align: right; color: var(--text2); }
.cc-tbl td b { color: var(--text); }
