/* Keep operating values and form labels readable at every breakpoint. */
.modal label,.modal input,.modal select,.modal textarea{min-width:0;max-width:100%}
.button,.nav-link,.top-actions select,.filterbar select,input,select,textarea,
.modal label,.modal select,.modal input,.login-card label,.trades-table,
.asset-cell strong,.trade-date strong,.side-tag,.setup-tag,.plan-label,
.kpi-label,.discipline-head,.insight-item strong,.setup-row-head,
.setup-row-head>span,.setup-row-head strong,.calendar-day strong{font-size:.875rem}
.kpi-foot,.insight-item div>span,.insight-item small,.insights-panel>.muted,
.setup-row small,.setup-footnote,.calendar-footer,.calendar-footer small,
.calendar-day small,.calendar-day>span,.calendar-weekdays,.chart-unit,
.table-footer,.pagination,.asset-cell small,.trade-date small,.period-description,
.modal label>small,.form-currency,.plan-check small,.upload-field small,
.user-strip small,.private-label,.user-strip strong,.search input,
.modal-heading p,.form-error,.modal-footer .quiet{font-size:.75rem}
.section-kicker,.eyebrow,.workspace-label,.filter-caption,.mini-caption{font-size:.68rem}
.calendar-day{min-height:76px;gap:6px}.calendar-day small{font-size:.625rem}
.calendar-weekdays{font-size:.65rem}.calendar-footer small{font-size:.68rem}
.insight-item{margin-bottom:21px}.insight-item small{line-height:1.6}
.setup-row{margin-bottom:27px}.setup-row-head>span{max-width:65%}
.kpi{min-height:169px}.kpi-foot{line-height:1.6}
.trades-table th{font-size:.65rem}.trades-table td{padding-top:18px;padding-bottom:18px}
.setup-tag{max-width:230px}.side-tag,.plan-label{font-size:.75rem}
.page-footer,.brand small,.user-strip small,.demo-banner,.demo-banner span{font-size:.68rem}
.modal .form-currency{position:static;display:inline;margin-top:-4px;margin-bottom:-4px}
.modal .result-inputs label{white-space:normal}.modal label:has(input[type=datetime-local])>small{position:static;font-size:.68rem}
.modal .side-field legend,.segmented span,.plan-check strong,.upload-field strong{font-size:.875rem}
@media(max-width:1250px){.kpi-number{font-size:1.65rem}.kpi{min-height:172px}.bottom-grid{grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr)}.calendar-day{padding:8px 5px}.calendar-day strong{font-size:.8rem}.calendar-day small{font-size:.6rem}}
@media(max-width:1000px){.bottom-grid{grid-template-columns:1fr}.kpi-number{font-size:1.9rem}.kpi{min-height:158px}.insight-item div>span,.insight-item small{font-size:.7rem}.calendar-day strong{font-size:.875rem}.calendar-day small{font-size:.7rem}.top-actions select{font-size:.75rem}}
@media(max-width:760px){.kpi-number{font-size:1.6rem}.kpi-label{font-size:.8rem}.kpi-foot{font-size:.68rem}.kpi{min-height:154px}.heading-actions .primary{font-size:.8rem}.filterbar select{font-size:.8rem}.top-actions select{font-size:.75rem}.insights-panel{display:block}.insights-panel .insight-item{margin:18px}.insights-panel>.muted{margin-bottom:23px}.insight-divider{display:block}.insight-item div>span,.insight-item small{font-size:.75rem}.calendar-day{min-height:67px;padding:7px 3px}.calendar-day strong,.app-shell[data-tab=calendar] .calendar-day strong{font-size:.8rem}.calendar-day small,.app-shell[data-tab=calendar] .calendar-day small{font-size:.55rem}.calendar-day>span,.app-shell[data-tab=calendar] .calendar-day>span{font-size:.7rem}.calendar-weekdays{font-size:.57rem}.setups-panel .setup-bars,.app-shell[data-tab=analysis] .setup-bars{grid-template-columns:1fr}.setup-row-head>span,.setup-row-head strong{font-size:.875rem}.calendar-footer small{font-size:.65rem}.modal label,.modal input,.modal select{font-size:.875rem}.result-inputs label>small{font-size:.75rem}.custom-dates input{font-size:.8rem}.search input{font-size:.875rem}.period-description{font-size:.7rem}.demo-banner,.demo-banner span{font-size:.62rem}}

@media(max-width:760px){.modal .form-grid{grid-template-columns:1fr}.modal .result-inputs{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
