/* Train365 ROI 1.3.3: independent light/dark contrast roles, fluid/mobile layout. */
.t365-roi-section{padding:clamp(45px,6vw,94px) 0}
.t365-roi{--roi-bg:#0c1b36;--roi-card:#182c48;--roi-ink:#f9fbff;--roi-muted:#ccdae8;--roi-stroke:#345170;--roi-lime:#b8ff61;--roi-pill:#203957;color:var(--roi-ink);border:1px solid var(--roi-stroke);border-radius:28px;padding:clamp(22px,4vw,42px);background:linear-gradient(135deg,#172c4d,#0c1b36 70%);box-shadow:0 18px 54px #07152b16;min-width:0;isolation:isolate}
html[data-t365-appearance="light"] .t365-roi,.t365-surface-light .t365-roi{--roi-bg:#fff;--roi-card:#f2f7fc;--roi-ink:#10233c;--roi-muted:#456078;--roi-stroke:#c7d8e9;--roi-lime:#467e19;--roi-pill:#eaf1fa;background:linear-gradient(145deg,#fff,#f6f9fe)}
html[data-t365-appearance="dark"] .t365-surface-light .t365-roi{--roi-bg:#fff;--roi-card:#f2f7fc;--roi-ink:#10233c;--roi-muted:#456078;--roi-stroke:#c7d8e9;--roi-lime:#467e19;--roi-pill:#eaf1fa;background:linear-gradient(145deg,#fff,#f6f9fe)}
.t365-surface-dark .t365-roi,.t365-surface-brand .t365-roi{--roi-bg:#0c1b36;--roi-card:#182c48;--roi-ink:#f9fbff;--roi-muted:#ccdae8;--roi-stroke:#345170;--roi-lime:#b8ff61;--roi-pill:#203957;background:linear-gradient(135deg,#172c4d,#0c1b36 70%)}
.t365-roi *{box-sizing:border-box}
.t365-roi :is(h2,h3,strong,label,span,small){color:var(--roi-ink);opacity:1}
.t365-roi-heading{display:flex;gap:22px;align-items:start;margin-bottom:27px}
.t365-roi-heading h2{font-size:clamp(27px,3.6vw,49px);line-height:1.12;letter-spacing:-.035em;max-width:22ch;margin:11px 0 14px;color:var(--roi-ink)}
.t365-roi-heading p,.t365-roi-footnote{color:var(--roi-muted);line-height:1.64;font-size:clamp(14px,1.35vw,16px);opacity:1}
.t365-roi-heading .eyebrow{color:var(--roi-lime);font-weight:750;font-size:11px;letter-spacing:.14em}
.t365-roi-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:18px}
.t365-roi-controls{display:grid;gap:14px;min-width:0}
.t365-roi-block,.t365-roi-results{border:1px solid var(--roi-stroke);background:var(--roi-card);border-radius:20px;padding:clamp(16px,2vw,24px);min-width:0}
.t365-roi-block h3{font-size:clamp(17px,1.6vw,21px);margin:0 0 17px;color:var(--roi-ink)}
.t365-roi-block h3 small{font-size:12px;color:var(--roi-muted);font-weight:500}
.t365-roi-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.t365-roi-block:first-child .t365-roi-inputs{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.t365-roi-inputs label{font-size:13px;color:var(--roi-muted);font-weight:600;display:grid;align-content:start;grid-template-rows:minmax(2.7em,auto) auto;gap:8px;min-width:0}
.t365-roi-inputs :is(input,select){width:100%;min-width:0;max-width:100%;min-height:46px;border:1px solid var(--roi-stroke);border-radius:10px;background:var(--roi-bg);color:var(--roi-ink);font-family:inherit;font-size:16px;font-weight:600;line-height:1.25;padding:10px 12px;box-shadow:none;opacity:1}
.t365-roi-inputs :is(input,select):focus-visible{outline:3px solid #a3ff38;outline-offset:2px;border-color:#5c9c45}
.t365-roi-inputs input::placeholder{color:var(--roi-muted);opacity:1}
.t365-roi-price-hint{color:var(--roi-muted);font-size:12px;line-height:1.55;margin:12px 0 0;min-height:26px}
.t365-roi-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:11px}
.t365-roi-metric{min-width:0;border:1px solid var(--roi-stroke);background:var(--roi-pill);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:7px}
.t365-roi-metric span{font-size:12px;color:var(--roi-muted);line-height:1.35}
.t365-roi-metric strong{font:800 clamp(20px,2.2vw,31px)/1.12 'Space Grotesk','DM Sans',sans-serif;color:var(--roi-ink);overflow-wrap:anywhere}
.t365-roi-metric-roi{border-color:#7fac4a}.t365-roi-metric-roi strong{color:var(--roi-lime)}
.t365-roi-status{grid-column:1/-1;color:var(--roi-muted);font-size:12px;line-height:1.5;margin:1px 0}
.t365-roi-results .btn{grid-column:1/-1;width:100%;justify-content:center;text-align:center}
.t365-roi-footnote{font-size:12px;margin:18px 0 0;max-width:100ch}
.t365-roi [hidden]{display:none!important}
@media(max-width:960px){.t365-roi-grid{grid-template-columns:minmax(0,1fr)}.t365-roi-heading h2{max-width:none}}
@media(max-width:580px){.t365-roi{border-radius:21px;padding:16px}.t365-roi-block:first-child .t365-roi-inputs{grid-template-columns:minmax(0,1fr)}.t365-roi-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.t365-roi-results{grid-template-columns:repeat(2,minmax(0,1fr))}.t365-roi-metric{padding:11px}.t365-roi-metric strong{font-size:21px}.t365-roi-results .btn{min-height:46px}}
@media(max-width:350px){.t365-roi-inputs,.t365-roi-results{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.t365-roi *{animation:none!important;transition:none!important}}

.t365-roi-compare{margin-top:22px;padding:17px;border:1px solid var(--roi-stroke);border-radius:17px;background:var(--roi-card)}
.t365-roi-compare h3{color:var(--roi-ink);font-size:clamp(16px,1.7vw,20px);margin:0 0 15px}
.t365-roi-compare-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.t365-roi-compare table{border-collapse:collapse;width:100%;min-width:470px;color:var(--roi-ink);font-size:14px}
.t365-roi-compare :is(th,td){padding:11px 10px;text-align:left;white-space:nowrap;border-bottom:1px solid var(--roi-stroke);color:var(--roi-ink);font-weight:500}
.t365-roi-compare thead th{font-size:12px;color:var(--roi-muted);font-weight:700}
.t365-roi-compare tbody th{font-weight:800}
.t365-roi-compare tbody tr:last-child :is(th,td){border-bottom:0}
/* German/French compound headings must not force the mobile grid wider than the viewport. */
.t365-roi-heading>div{min-width:0;overflow-wrap:anywhere}
.t365-roi-heading :is(h2,.eyebrow,p){overflow-wrap:anywhere}

@media(min-width:581px){.t365-roi-block:first-child .t365-roi-inputs label{grid-template-rows:minmax(3.05em,auto) auto}}
