/* ARR Calculator: recurring revenue dashboard */
.app.ar .ar-suf span{left:auto;right:14px}
.app.ar .ar-suf .inp{padding-left:14px;padding-right:34px}
.ar-panel{border:1px solid var(--rule);border-radius:14px;overflow:hidden}
.ar-ph{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;padding:14px 16px 10px}
.ar-ph b{font-weight:600;font-size:15px}
.ar-ph small{font-family:var(--mono);font-size:11.5px;color:var(--slate)}
.ar-mix{display:flex;height:14px;margin:0 16px;border-radius:999px;overflow:hidden;background:var(--paper)}
.ar-mix i{display:block;height:100%;transition:width .6s cubic-bezier(.3,.7,.3,1)}
.ar-mix .ar-m,.ar-legend .ar-m::before{background:var(--ink)}
.ar-mix .ar-a,.ar-legend .ar-a::before{background:var(--blue)}
.ar-legend{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:6px 16px;padding:12px 16px 14px}
.ar-legend li{display:flex;align-items:center;gap:8px;font-size:14px;min-width:0}
.ar-legend li::before{content:"";flex:none;width:9px;height:9px;border-radius:3px}
.ar-legend span{color:var(--slate)}
.ar-legend b{margin-left:auto;font-weight:600;font-variant-numeric:tabular-nums}
.ar-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--rule)}
.ar-stats div{padding:12px 16px;display:flex;flex-direction:column;gap:2px;min-width:0}
.ar-stats div + div{border-left:1px solid var(--rule)}
.ar-stats small{font-family:var(--mono);font-size:10.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--slate)}
.ar-stats b{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}
.ar-chart{padding-bottom:6px}
.ar-key{display:inline-flex;align-items:center;gap:6px}
.ar-key i{display:inline-block;width:10px;height:10px;border-radius:3px;background:#C9D2FF}
.ar-key i.lin{width:16px;height:0;border-radius:0;background:none;border-top:2px dashed #8A919C;margin-left:8px}
.ar-svg{display:block;width:calc(100% - 24px);margin:0 12px;height:auto;overflow:visible;font-family:var(--sans)}
.ar-svg .grid{stroke:#EEEEE8;stroke-width:1}
.ar-svg rect{fill:#C9D2FF;transition:y .55s cubic-bezier(.3,.7,.3,1),height .55s cubic-bezier(.3,.7,.3,1)}
.ar-svg rect.b0{fill:var(--ink)}
.ar-svg rect.bn{fill:var(--lime)}
.ar-svg .lin{fill:none;stroke:#8A919C;stroke-width:2;stroke-dasharray:5 5}
.ar-svg .val{font-size:14px;font-weight:600;fill:var(--ink);text-anchor:middle}
.ar-svg .v0{text-anchor:start}
.ar-svg .vn{text-anchor:end}
.ar-svg .lbl{font-size:12.5px;fill:var(--slate);text-anchor:middle}
@media(max-width:600px){
  .ar-legend{grid-template-columns:minmax(0,1fr)}
  .ar-stats{grid-template-columns:1fr 1fr}.ar-stats div:first-child{grid-column:1/-1}
  .ar-stats div + div{border-left:0;border-top:1px solid var(--rule)}.ar-stats div:last-child{border-left:1px solid var(--rule)}
  .ar-svg .val{font-size:22px}.ar-svg .lbl{font-size:19px}
  .ar .app-sel{margin-left:auto}
}
/* money values are longer than percentages: keep the KPI row from overflowing */
.ar .kpi b{font-size:24px;overflow-wrap:anywhere}
.ar .kpi-main b{font-size:36px}
