#cix-app { max-width: 100%; overflow-x: hidden; margin: 1rem 0 2rem; }
#cix-app .cix-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
#cix-app .cix-tabs button { font: 500 .85rem 'Source Sans 3', sans-serif; padding: .45rem .8rem; border: 1px solid #0f766e;
  background: transparent; color: #0f766e; border-radius: 999px; cursor: pointer; }
#cix-app .cix-tabs button.on { background: #0f766e; color: #fff; }
#cix-app .cix-ctls { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .6rem 1rem; margin-bottom: .8rem; }
#cix-app .cix-ctl { display: flex; flex-direction: column; font-size: .82rem; gap: .2rem; min-width: 0; }
#cix-app .cix-ctl span { font-weight: 600; }
#cix-app .cix-ctl select, #cix-app .cix-ctl input { width: 100%; }
#cix-app .cix-ctl output { font-family: 'IBM Plex Mono', monospace; font-size: .8rem; }
#cix-app .cix-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .6rem; margin: .6rem 0 1rem; }
#cix-app .cix-card { border: 1px solid rgba(127,127,127,.3); border-radius: 8px; padding: .55rem .7rem; min-width: 0; }
#cix-app .cix-card-l { font-size: .75rem; opacity: .8; }
#cix-app .cix-card-v { font: 600 1.1rem 'IBM Plex Mono', monospace; overflow-wrap: anywhere; }
#cix-app .cix-card-s { font-size: .75rem; opacity: .8; }
#cix-app .cix-chart { position: relative; height: 320px; margin: .5rem 0 1rem; }
#cix-app .cix-note { font-size: .82rem; opacity: .85; }
#cix-app h4 { font-size: .9rem; margin: .9rem 0 .3rem; }
#cix-app .cix-table { width: 100%; border-collapse: collapse; font-size: .8rem; display: block; overflow-x: auto; margin-bottom: .6rem; }
#cix-app .cix-table th, #cix-app .cix-table td { padding: .3rem .45rem; border-bottom: 1px solid rgba(127,127,127,.25); text-align: right; white-space: nowrap; }
#cix-app .cix-table th { font-weight: 600; white-space: normal; vertical-align: bottom; background: var(--bs-body-bg, #fff); }
#cix-app .cix-table th:first-child, #cix-app .cix-table td:first-child { text-align: left; }
@media (max-width: 760px) { #cix-app .cix-chart { height: 280px; } }
