/* StrokePlus overrides on the Borex theme (loaded after bootstrap.min.css / app.min.css). Keep small. */
.footer { display: block !important; }
.main-content .page-content { padding-bottom: calc(60px + 1.5rem); } /* room for the absolute Borex footer */
.sp-logo { font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: -.01em; }
.sp-logo span { color: #5fd3ca; }
.sp-logo-dark { color: #0b2a3f; }
.sp-status.live, .sp-status.rowing { background: rgba(52,195,143,.18); color: #2ab57d; }
.sp-status.planned, .sp-status.connected { background: rgba(81,86,190,.15); color: #5156be; }
.sp-status.ready { background: rgba(52,195,143,.18); color: #2ab57d; }
.sp-status.done { background: rgba(116,120,141,.15); color: #74788d; }
.sp-status.disconnected, .sp-status.no-data { background: rgba(253,98,94,.15); color: #fd625e; }
.sp-archived td { opacity: .6; }
.sp-flash td { background: rgba(52,195,143,.1); }
.sp-day.today { border: 1px solid #5156be; }
.sp-event { border-left: 4px solid #e9e9ef; padding: .75rem; border-radius: .25rem; background: #f8f9fa; margin-top: .5rem; display: flex; gap: 1rem; justify-content: space-between; flex-wrap: wrap; }
.sp-event.session { border-left-color: #2ab57d; }
.sp-event-main { flex: 1; min-width: 0; }
.sp-pieces { margin: .4rem 0 0; padding-left: 1.25rem; }
.sp-checklist { list-style: none; padding: 0; display: grid; gap: .5rem; }
.sp-checklist label { display: flex; gap: .5rem; padding: .6rem .75rem; border: 1px solid #e9e9ef; border-radius: .25rem; }
.sp-target-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .5rem; }
.sp-target-row .form-control { width: 6.5rem; }
.sp-target-label { width: 10rem; font-weight: 500; }
.sp-tile.alerting { border: 2px solid #fd625e; }
.sp-tile.offline { opacity: .6; }
.sp-tile-split { font-size: 2rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sp-metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(3.5rem, 1fr)); gap: .25rem; font-variant-numeric: tabular-nums; }
.sp-metrics .l { display: block; font-size: .68rem; text-transform: uppercase; color: #74788d; }
.sp-live-pieces li.current { border-color: #2ab57d; background: rgba(52,195,143,.06); }
.sp-countdown { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(11,42,63,.82); z-index: 1100; pointer-events: none; color: #fff; font-size: 9rem; font-weight: 800; }
.sp-countdown[hidden] { display: none; }
.sp-conn::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: #ffbf53; margin-right: .35rem; }
.sp-conn.ok::before { background: #2ab57d; }
.sp-conn.bad::before { background: #fd625e; }
.sp-zone { padding: .1rem .5rem; border-radius: .25rem; font-weight: 500; }
.sp-zone.z1 { background: #e8f0fb; } .sp-zone.z2 { background: #e6f6f4; } .sp-zone.z3 { background: #fff6e0; } .sp-zone.z4 { background: #ffe8d6; } .sp-zone.z5 { background: #fdecec; }
