:root {
  font-family:Inter,"Segoe UI",Arial,sans-serif; color-scheme:light;
  --bg:#f2f5f9; --paper:#fff; --ink:#192a41; --muted:#53677d; --soft:#edf2f7;
  --line:#dce4ed; --navy:#122442; --navy-dark:#0c1932; --cyan:#73e6f8;
  --blue:#075fbc; --blue-dark:#064d9b; --good:#127250; --warn:#8a5209;
  --danger:#a42d42; --shadow:0 3px 12px #233b5509; --radius:14px;
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-size:1rem;line-height:1.5;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{line-height:1.17;letter-spacing:-.035em}
h1{font-size:clamp(1.95rem,3.6vw,3.05rem);font-weight:675}h2{font-size:clamp(1.19rem,1.65vw,1.5rem);font-weight:675}
h3{font-size:1.08rem;font-weight:660}h4{font-size:1rem}button,input,select,textarea{font:inherit;color:inherit}
button{border:0;background:none;cursor:pointer}button:disabled{cursor:wait;opacity:.62}
button,input,select,textarea,a,summary{touch-action:manipulation}a{color:var(--blue)}a:hover{text-decoration:none}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible{
  outline:3px solid #1589d5;outline-offset:3px
}
label{display:grid;gap:.32rem;color:#3d526a;font-size:.9rem;font-weight:560}
input,select,textarea{border:1px solid #c8d4e0;border-radius:8px;min-height:42px;background:var(--paper);padding:.53rem .74rem;min-width:0}
input::placeholder,textarea::placeholder{color:#718093;opacity:1}textarea{resize:vertical;min-height:90px}input[type=checkbox],input[type=radio]{min-height:0;width:1rem;height:1rem;accent-color:var(--blue)}
select{appearance:none;padding-right:2.2rem;background-image:linear-gradient(45deg,transparent 50%,#566e85 50%),linear-gradient(135deg,#566e85 50%,transparent 50%);background-position:calc(100% - 16px) 50%,calc(100% - 12px) 50%;background-size:4px 4px;background-repeat:no-repeat}
input:disabled,select:disabled{background:#f3f6f9}::selection{background:#b9ecfb;color:#102f48}
.ff-icon{width:1.15rem;height:1.15rem;display:inline-block;vertical-align:middle;flex:none}
.btn,.button,.ff-iconbtn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.57rem .95rem;border-radius:8px;min-height:41px;background:var(--paper);border:1px solid #cfdbe6;color:#253e58;font-weight:620;font-size:.91rem;text-decoration:none;line-height:1.3}
.btn:hover,.button:hover,.ff-iconbtn:hover{background:#eff5fb;border-color:#a3b8cc}
.btn.primary,.button.primary,button.primary{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 2px 5px #07437e19}
.btn.primary:hover,.button.primary:hover,button.primary:hover{background:var(--blue-dark)}
.btn.danger,.button.danger{background:#fff3f4;border-color:#e6c6cb;color:var(--danger)}
.btn.subtle,.button.subtle{background:#eef6ff;border-color:transparent;color:var(--blue)}
.ff-skip{position:fixed;z-index:10;left:.5rem;top:.5rem;transform:translateY(-160%);padding:1rem;border-radius:8px;background:#fff}
.ff-skip:focus{transform:none}
.ff-shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}
.ff-rail{color:white;background:linear-gradient(170deg,#101d37 0%,#142b50 65%,#17345a 100%);padding:1.75rem 1rem 1.1rem;position:sticky;top:0;height:100dvh;overflow:auto;display:flex;flex-direction:column}
.ff-brand{display:flex;align-items:center;gap:.72rem}.ff-rail>.ff-brand{margin:0 .55rem 2.65rem}
.ff-brand b{display:block;font-size:1.38rem;font-weight:690;letter-spacing:-.065em;line-height:1.07;color:#fff}
.ff-brand small{display:block;color:#c1d4e7;font-size:.75rem;font-weight:500;letter-spacing:.025em;margin-top:.18rem}
.ff-mark{height:39px;width:39px;color:#e1fcff;display:grid;place-items:center;border:1px solid #ffffff29;border-radius:11px;background:linear-gradient(145deg,#137dcb,#1c57b5);box-shadow:inset 0 1px 1px #ffffff20}
.ff-mark .ff-icon{width:24px;height:24px;stroke-width:1.7}
.ff-rail-panel{display:flex;flex-direction:column;flex:1;min-height:0}.ff-sectionlabel,.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.105em;text-transform:uppercase}
.ff-sectionlabel{color:#adc4dc;margin:0 .75rem .65rem}.ff-rail nav{display:grid;gap:.24rem}
.ff-navitem{position:relative;display:flex;align-items:center;gap:.78rem;width:100%;text-align:left;border-radius:8px;padding:.69rem .8rem;font-weight:520;font-size:.935rem;line-height:1.4;color:#d4e1ef}
.ff-navitem .ff-icon{width:18px;height:18px;color:#a7bed5}.ff-navitem:hover{background:#ffffff0d;color:#fff}
.ff-navitem[aria-current=page]{background:linear-gradient(105deg,#1164be,#117eac);color:#fff;box-shadow:0 3px 10px #08192b22}
.ff-navitem[aria-current=page] .ff-icon{color:#d3f8ff}.ff-railbottom{margin-top:auto;padding-top:1.4rem}
.ff-profile{margin-top:.62rem;display:flex;align-items:center;gap:.7rem;border-top:1px solid #ffffff25;padding:1rem .62rem 0}
.ff-avatar{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#294e73;color:#bff3fc;font-size:.79rem;font-weight:700}
.ff-profile strong{display:block;font-size:.88rem;overflow-wrap:anywhere;color:#f5f9ff}.ff-profile small{display:block;font-size:.76rem;color:#b6cbe0}
.ff-menutoggle{display:none}.ff-work{min-width:0}.ff-header{min-height:70px;display:flex;align-items:center;gap:1rem;padding:.7rem clamp(1rem,2.6vw,2.75rem);background:var(--paper);border-bottom:1px solid var(--line)}
.ff-crumb{display:flex;gap:.65rem;align-items:center;color:var(--muted);font-size:.875rem}.ff-crumb i{font-style:normal;color:#8a9fb2}.ff-crumb strong{font-weight:620;color:#23394e}
.ff-search{display:flex;align-items:center;gap:.5rem;margin-left:auto;background:#f5f8fb;border:1px solid var(--line);border-radius:8px;padding:0 .7rem;min-width:0;color:#637487}
.ff-search input{width:clamp(135px,16vw,255px);min-height:37px;padding:.35rem .15rem;background:transparent;border:0;font-size:.875rem}
.ff-search:focus-within{outline:2px solid #1589d5;outline-offset:2px}.ff-search input:focus-visible{outline:none}
.ff-mode{display:inline-flex;align-items:center;gap:.44rem;background:#eaf2fc;color:#315d85;white-space:nowrap;font-weight:620;padding:.33rem .63rem;border-radius:20px;font-size:.78rem}
.ff-mode::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.ff-mode.practice{background:#fff4d7;color:#795309}
.ff-main{max-width:1800px;margin:auto;padding:clamp(1.2rem,2.6vw,2.75rem);outline:none;min-width:0}
.pagehead,.panelhead,.toolbar,.actions,.modalfoot{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap}
.pagehead{align-items:flex-end;margin:0 0 1.35rem}.pagehead p,.panelhead p,.subheading,.muted{color:var(--muted)}
.pagehead p{margin-top:.45rem}.eyebrow{color:#34729d;margin-bottom:.5rem}.actions{justify-content:flex-start;gap:.45rem}
.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(166px,100%),1fr));gap:.9rem;margin:0 0 1.35rem}
.metric,.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}
.metric{position:relative;padding:1.05rem 1.18rem;min-height:100px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;border-top:3px solid #64acc9}
.metric:nth-child(4n+2){border-top-color:#7ca2df}.metric:nth-child(4n+3){border-top-color:#70b7a4}.metric:nth-child(4n+4){border-top-color:#a49ccf}
.metric small,.metric label,.metric span{font-size:.86rem;font-weight:550;color:var(--muted)}.metric strong,.metric b{display:block;font-size:clamp(1.5rem,2.45vw,2.3rem);font-weight:650;line-height:1.12;letter-spacing:-.05em;margin:.32rem 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1rem;align-items:start}
.panel{padding:clamp(1rem,1.65vw,1.4rem);margin:0 0 1rem}.panel>.panelhead{margin-bottom:1rem}.panelhead p{font-size:.89rem;margin-top:.3rem}
.panelhead .eyebrow{margin-bottom:.3rem}.toolbar{margin:.85rem 0;justify-content:flex-start}.toolbar input,.toolbar select{max-width:100%}
.tablewrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
table{width:100%;border-collapse:collapse;font-size:.9rem;text-align:left}th,td{padding:.76rem .8rem;vertical-align:middle}
th{font-size:.75rem;font-weight:700;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap;background:#f1f5f9;color:#53677a}
th:first-child{border-radius:6px 0 0 6px}th:last-child{border-radius:0 6px 6px 0}td{border-bottom:1px solid #e7edf3;overflow-wrap:anywhere;max-width:25rem}
tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8fafd}td .btn,td .button{min-height:32px;padding:.33rem .62rem;font-size:.81rem}
.pill{display:inline-flex;align-items:center;gap:.33rem;background:#edf2f7;color:#4f6376;font-size:.78rem;font-weight:650;border-radius:999px;padding:.23rem .6rem;line-height:1.4;white-space:nowrap}
.pill.good,.pill.success{background:#e4f5ed;color:#116b49}.pill.warn,.pill.warning{background:#fcf0d7;color:#84500c}.pill.bad,.pill.danger{background:#fae6ea;color:#9b2c45}
.pill.neutral{background:#edf2f7;color:#4f6376}.empty{padding:2.2rem 1rem;text-align:center;color:var(--muted);background:#f7f9fc;border:1px dashed var(--line);border-radius:9px}
.empty h3,.empty strong{color:var(--ink)}.empty p{margin-top:.35rem;font-size:.92rem}
.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.86rem;align-items:start}
.formgrid input,.formgrid select,.formgrid textarea,.ff-dialogbody label input,.ff-dialogbody label select{width:100%}
.formgrid .full,.formgrid .wide,.formgrid .modalfoot{grid-column:1/-1}
.ff-dialog{border:1px solid #c7d6e3;padding:0;max-width:calc(100vw - 2rem);width:min(720px,calc(100vw - 2rem));max-height:90dvh;border-radius:16px;box-shadow:0 22px 85px #07152e40;background:var(--paper);color:var(--ink)}
.ff-dialog::backdrop{background:#0c183b84}.ff-dialoghead{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.35rem;border-bottom:1px solid var(--line);background:white}
.ff-dialogbody{padding:1.25rem 1.35rem}.ff-dialogbody .metrics{grid-template-columns:repeat(auto-fit,minmax(min(110px,100%),1fr));gap:.55rem}
.ff-dialogbody .metric{min-height:77px;padding:.65rem .8rem}.ff-dialogbody .metric strong{font-size:1.35rem}
.ff-dialogbody p{margin:0 0 .72rem}.ff-dialogbody .panel{box-shadow:none}.ff-iconbtn{width:35px;height:35px;min-height:0;padding:.35rem}
.modalfoot{justify-content:flex-end;border-top:1px solid var(--line);padding-top:.9rem;margin-top:1rem}
.ff-login{min-height:100dvh;display:grid;grid-template-columns:1.03fr 1fr;background:var(--paper)}
.ff-loginhero{display:flex;flex-direction:column;align-items:flex-start;min-height:100dvh;padding:clamp(1.7rem,5vw,5.5rem);color:#fff;background-image:linear-gradient(125deg,#071e4e47 0%,transparent 63%),url("coach.jpg");background-size:cover;background-position:50% 62%}
.ff-loginhero .ff-mark{width:43px;height:43px}.ff-loginhero .ff-brand b{font-size:1.65rem}.ff-loginhero .ff-brand small{font-size:.85rem}
.ff-heroheading{margin:clamp(4rem,13vh,10rem) 0 0}.ff-heroheading h1{font-size:clamp(2.8rem,5.4vw,6.15rem);line-height:.99;letter-spacing:-.072em;font-weight:650}
.ff-heroheading em{font-style:normal;color:#98eafa}.ff-loginbody{display:grid;place-items:center;padding:2.25rem}
.ff-logincard{width:min(100%,385px)}.ff-loginicon{width:44px;height:44px;background:#e9f3ff;border:1px solid #d4e6fc;color:var(--blue);display:grid;place-items:center;border-radius:11px;margin-bottom:1.25rem}
.ff-loginicon .ff-icon{width:24px;height:24px}.ff-logincard h2{font-size:clamp(2.1rem,3.1vw,3rem);font-weight:650;letter-spacing:-.065em}
.ff-intro{margin:.55rem 0 1.8rem;color:var(--muted)}#loginForm{display:grid;gap:.37rem}#loginForm label:not(:first-child){margin-top:.65rem}
#loginForm input{width:100%;height:45px}#loginForm .primary{min-height:44px;margin-top:.7rem}
.ff-password{position:relative}.ff-password input{padding-right:2.7rem}.ff-password button{position:absolute;right:.35rem;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:35px;height:35px;color:#577089}
.ff-loginerror:empty{display:none}.ff-loginerror{color:var(--danger);font-size:.88rem;margin:.35rem 0}
.ff-demo{margin-top:1.45rem}.ff-divider{display:flex;align-items:center;gap:.8rem;color:var(--muted);font-size:.81rem;font-weight:550;letter-spacing:.02em}
.ff-divider:before,.ff-divider:after{content:"";height:1px;background:var(--line);flex:1}.ff-demoactions{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:.9rem}
.ff-demoactions .ff-icon{color:#3c668c}#feedback:not(:empty){position:fixed;z-index:20;bottom:1.1rem;right:1.1rem;max-width:min(425px,90vw);display:block;background:#152c46;color:#fff;padding:.75rem 1.1rem;border-radius:10px;box-shadow:0 5px 25px #10244433;font-size:.94rem}
[hidden]{display:none!important}
@media(max-width:1080px){.ff-shell{grid-template-columns:203px minmax(0,1fr)}.ff-rail{padding-inline:.65rem}.ff-crumb span,.ff-crumb i{display:none}.grid2{grid-template-columns:1fr}}
@media(max-width:760px){.ff-shell{display:block}.ff-rail{height:auto;position:relative;display:block;padding:.85rem 1rem;overflow:visible}.ff-rail>.ff-brand{margin:0}.ff-mark{width:34px;height:34px}.ff-brand b{font-size:1.22rem}.ff-brand small{font-size:.72rem}.ff-menutoggle{display:grid;place-items:center;position:absolute;right:1rem;top:.9rem;width:36px;height:33px;background:#ffffff12;color:white;border-radius:6px}.ff-rail-panel{display:none}.ff-rail.open .ff-rail-panel{display:flex;padding-top:1rem}.ff-rail nav{grid-template-columns:repeat(2,minmax(0,1fr))}.ff-railbottom{padding-top:.5rem}.ff-profile{display:none}.ff-header{min-height:56px;gap:.6rem}.ff-crumb{display:none}.ff-search{margin:0;min-width:0;flex:1}.ff-search input{width:100%;font-size:.85rem}.ff-mode{font-size:.72rem}.ff-main{padding:1rem}.metrics{gap:.65rem;grid-template-columns:repeat(2,minmax(0,1fr))}.metric{min-height:84px;padding:.78rem .85rem}.pagehead{margin-bottom:1rem}.panel{padding:1rem}.ff-login{grid-template-columns:1fr;grid-template-rows:auto 1fr}.ff-loginhero{min-height:210px;height:27vh;max-height:280px;padding:1.3rem 1.55rem;background-position:center 78%;background-image:linear-gradient(90deg,#071b40e0,transparent),url("coach.jpg")}.ff-heroheading{margin-top:auto}.ff-heroheading h1{font-size:2.3rem}.ff-loginbody{align-items:start;padding:2rem 1.3rem}.ff-loginicon{display:none}.ff-intro{margin-bottom:1.2rem}}
@media(max-width:480px){.ff-dialogbody,.ff-dialoghead{padding:1rem}.ff-main{padding:.9rem}.formgrid{grid-template-columns:1fr}.ff-loginhero{min-height:160px;height:22vh}.ff-heroheading h1{font-size:1.95rem}.ff-brand b{font-size:1.15rem}.ff-loginhero .ff-brand b{font-size:1.26rem}.ff-loginhero .ff-brand small{font-size:.73rem}.ff-loginhero .ff-mark{width:34px;height:34px}.ff-mode{padding:.25rem .48rem}.ff-search{padding:0 .45rem}}
@media(prefers-reduced-motion:no-preference){button,a{transition:color .14s,background-color .14s,border-color .14s}}
@media print{.ff-rail,.ff-header,.actions,.toolbar,.modalfoot,#feedback,.ff-skip{display:none!important}.ff-shell{display:block}.ff-main{padding:0}.metric,.panel{box-shadow:none;break-inside:avoid}.ff-work{width:100%}}

.busline,.qrline,.stoprow{display:flex;gap:1rem;align-items:center;padding:.8rem 0;flex-wrap:wrap}.busline{justify-content:space-between;border-bottom:1px solid var(--line)}.qrline code{overflow-wrap:anywhere}.checkline{display:flex;align-items:center;gap:.5rem}.formgrid .checkline input{width:1rem}.form-error{color:var(--danger);margin-top:.75rem}.form-error:empty{display:none}.toolbar{align-items:flex-end}.stoprow label{flex:1}.stoprow{align-items:flex-end}.busline small,td small{color:var(--muted)}
