/* Concept demo page: production demo app styles, scoped into the concept shell. */

.offlinebar{background:#0A6699; color:#fff; font-size:11.5px; font-weight:600; padding:8px 14px; display:flex; gap:10px; align-items:center; justify-content:space-between; flex:0 0 auto; position:relative; z-index:30;}
.offlinebar button{background:rgba(255,255,255,.2); border:none; color:#fff; font-family:'Noto Sans',sans-serif; font-size:11.5px; font-weight:700; border-radius:999px; padding:5px 12px; cursor:pointer;}
.appbar{background:#FFFFFF; padding:10px 16px 12px; border-bottom:1px solid #E5ECF3; flex:0 0 auto; position:relative; z-index:30;}
.appbar .row{display:flex; align-items:center; gap:10px;}
.appbar .back{width:32px; height:32px; border-radius:50%; display:grid; place-items:center; color:#0A1420; cursor:default; flex:0 0 auto;}
.appbar h3{font-size:19px; font-weight:700; color:#0A1420; letter-spacing:-.01em; flex:1; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0;}
.appbar .dots{color:#0A1420; font-weight:800; letter-spacing:2px; width:32px; text-align:right;}

/* The scroller: content slides under the white app bar (fixed above); the group
   chips + tab bar stick together just below it — as on the live app. */
.scroller{flex:1; overflow-y:auto; scrollbar-width:none; position:relative;}
.scroller::-webkit-scrollbar{display:none;}
.stickyhead{position:sticky; top:0; z-index:20; box-shadow:0 6px 14px rgba(6,55,92,.08);}
.groupline{background:#FFFFFF; padding:10px 12px; display:flex; gap:8px; overflow-x:auto; border-bottom:1px solid #E5ECF3; scrollbar-width:none;}
.groupline::-webkit-scrollbar{display:none;}
.gchip{border:1px solid #C9D6E2; background:#fff; color:#0A6699; border-radius:12px; padding:7px 16px; font-family:'Noto Sans',sans-serif; font-size:12.5px; font-weight:600; white-space:nowrap; cursor:pointer; display:flex; align-items:center; gap:6px;}
.gchip.sel{background:#DDEBF6; border-color:#DDEBF6;}
.tabbar{display:flex; background:#E7F0F8;}
.apptab{flex:1; text-align:center; font-size:13px; font-weight:600; color:#0A6699; padding:10px 4px 9px; border-bottom:2.5px solid transparent; cursor:pointer;}
.apptab.active{color:#0A1420; font-weight:700; border-bottom-color:#0A6699;}
.apptab .badge{display:inline-block; min-width:16px; height:16px; border-radius:8px; background:#28A7E5; color:#fff; font-size:9.5px; font-weight:700; line-height:16px; text-align:center; padding:0 4px; margin-left:4px;}
.syncline{text-align:center; font-size:11px; color:#0A6699; font-weight:600; padding:7px 0 3px; display:flex; align-items:center; justify-content:center; gap:6px;}
.tabcontent{padding:10px 12px 24px;}
.toast{position:absolute; left:16px; right:16px; bottom:88px; background:#0A1420; color:#fff; font-size:12.5px; font-weight:500; padding:11px 15px; border-radius:12px; opacity:0; transform:translateY(8px); transition:all .25s ease; pointer-events:none; z-index:60;}
.toast.show{opacity:1; transform:translateY(0);}
.bottomnav{flex:0 0 auto; background:#fff; border-top:1px solid #E5ECF3; display:flex; padding:5px 8px 9px;}
.navitem{flex:1; text-align:center; font-size:9.5px; color:#7A8791; font-weight:600; padding-top:4px;}
.navitem.active{color:#0A6699;}
.navitem svg{display:block; margin:0 auto 2px; width:21px; height:21px;}

/* app ui atoms (Material 3 light — matched to screenshots) */
.eventcard{background:#DDEBF6; border-radius:18px; padding:18px 20px; margin-bottom:10px;}
.eventcard h4{font-size:22px; font-weight:700; color:#0A1420; letter-spacing:-.01em; margin-bottom:12px;}
.evrow{display:flex; gap:12px; align-items:center; margin-bottom:10px;}
.datechip{background:#5AACDD; color:#fff; border-radius:12px; text-align:center; padding:8px 14px; flex:0 0 auto;}
.datechip b{display:block; font-size:19px; font-weight:700; line-height:1.1;}
.datechip span{font-size:10.5px; opacity:.9;}
.evmeta{font-size:14px; color:#0A1420;}
.evmeta .tm{color:#0A6699; font-weight:600; display:flex; align-items:center; gap:6px;}
.evmeta .cap{display:flex; align-items:center; gap:6px; margin-top:4px; color:#0A1420;}
.locrow{display:flex; align-items:center; gap:8px; margin:2px 0 8px;}
.locrow .pin{color:#0A6699;}
.locrow .lt{font-size:14px; color:#0A1420; font-weight:600; flex:1;}
.locrow .navbtn{width:30px; height:30px; border-radius:8px; background:#0A78BE; display:grid; place-items:center; flex:0 0 auto;}
.desclbl{font-size:14px; font-weight:700; color:#0A1420; margin-bottom:4px;}
.desc{font-size:13.5px; color:#42505C; margin-bottom:12px;}
.planlink{display:inline-flex; align-items:center; gap:7px; border:1px solid #BFD9EC; background:#fff; color:#0A6699; border-radius:11px; padding:9px 16px; font-size:13.5px; font-weight:600; margin-bottom:14px;}
.rsvpbtn{border:none; border-radius:12px; background:#0A78BE; color:#fff; font-family:'Noto Sans',sans-serif; font-size:14.5px; font-weight:700; padding:13px 22px; cursor:pointer; display:flex; align-items:center; gap:9px;}
.rsvpbtn:hover{background:#0867A4;}
.sectionlbl{font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#5B6B77; margin:12px 4px 8px; font-family:'IBM Plex Mono',monospace;}
.countline{background:#E7F0F8; border-radius:12px; padding:10px 14px; font-size:14px; font-weight:600; color:#0A6699; margin-bottom:10px;}
.livechip{display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:700; color:#0A1420; background:#A7D8F4; border-radius:999px; padding:4px 11px; margin-left:8px; vertical-align:middle;}
.livechip i{width:8px; height:8px; border-radius:50%; background:#1B6B2E; display:inline-block;}
.ridergroup{background:#DDEBF6; border-radius:16px; padding:4px 0; margin-bottom:12px;}
.riderrow{padding:11px 15px; display:flex; align-items:center; gap:12px; border-bottom:1px solid #CBDEEC;}
.ridergroup .riderrow:last-child{border-bottom:none;}
.avatar{width:40px; height:40px; border-radius:50%; background:#D3E5F0; color:#0A3D5C; display:grid; place-items:center; font-weight:500; font-size:15px; flex:0 0 auto;}
.riderrow .info{flex:1; min-width:0; cursor:pointer;}
.riderrow .nm{font-size:15.5px; font-weight:600; color:#0A1420; display:flex; align-items:center; gap:8px; flex-wrap:wrap;}
.coachchip{font-size:9.5px; font-weight:700; letter-spacing:.05em; background:#E3E9FF; color:#3A4FA8; border-radius:6px; padding:2px 7px; text-transform:uppercase;}
.riderrow .meta{font-size:12px; color:#5B6B77; margin-top:1px;}
.riderrow .meta .tm{color:#0A6699; font-weight:600; display:inline-flex; align-items:center; gap:3px;}
.pendingico{color:#C25B1E; display:inline-flex; margin-left:6px; vertical-align:-2px;}
.iconbtn{width:40px; height:40px; border-radius:10px; border:none; cursor:pointer; display:grid; place-items:center; flex:0 0 auto; background:transparent;}
.iconbtn.in{color:#0A6699;}
.iconbtn.out2{color:#B03030;}
.summarybar{background:#DDEBF6; border-radius:18px; padding:16px 18px; margin-bottom:8px;}
.summarybar .sb-title{font-size:12.5px; letter-spacing:.14em; color:#0A6699; font-weight:700; text-transform:uppercase; text-align:center; margin-bottom:12px; font-family:'IBM Plex Mono',monospace;}
.summarybar .cols{display:flex; gap:12px;}
.summarybar .col{flex:1; background:#EFF5FB; border-radius:14px; padding:12px;}
.summarybar .col .colhd{font-size:12px; letter-spacing:.1em; color:#0A6699; font-weight:700; text-transform:uppercase; text-align:center; margin-bottom:9px;}
.schip{display:flex; align-items:center; gap:9px; background:#DCE8F2; border-radius:11px; padding:10px 12px; margin-bottom:8px;}
.schip b{font-size:17px; color:#0A6699;}
.schip span{font-size:12.5px; color:#0A1420; font-weight:600;}
.totalrow{font-size:13px; color:#0A6699; text-align:center; margin-top:6px; font-weight:600;}
.sheetbackdrop{position:absolute; inset:0; background:rgba(6,30,50,.45); z-index:50;}
.sheet{position:absolute; left:0; right:0; bottom:0; background:#F7FAFD; border-radius:24px 24px 0 0; z-index:55; padding:10px 18px 20px; max-height:88%; display:flex; flex-direction:column; box-shadow:0 -12px 40px rgba(6,30,50,.35); overflow-y:auto; scrollbar-width:none;}
.sheet::-webkit-scrollbar{display:none;}
.sheet .grab{width:44px; height:4px; border-radius:2px; background:#B9C6D2; margin:2px auto 12px; flex:0 0 auto;}
.sheet h4{font-size:19px; font-weight:700; color:#0A1420; display:flex; align-items:center; gap:12px;}
.sheet h4 .avatar{width:52px; height:52px; font-size:19px;}
.memberrow{background:#EAF3FA; border-radius:14px; padding:12px 14px; margin-bottom:8px; display:flex; align-items:center; gap:11px; position:relative;}
.memberrow .nm{font-size:14.5px; font-weight:600; color:#0A1420;}
.memberrow .rel{font-size:11px; color:#5B6B77;}
.chip{border-radius:999px; font-size:11.5px; font-weight:700; padding:4px 11px;}
.chip.going{background:#6FBEEA; color:#fff;}
.chip.maybe{background:#EAF4FB; color:#0A6699;}
.chip.not{background:#F6CFCC; color:#B03030;}
.chip.none{background:#E3E9F0; color:#5B6B77;}
.statusdd{margin-left:auto; border:1px solid #C9D6E2; background:#fff; border-radius:999px; font-family:'Noto Sans',sans-serif; font-size:12px; font-weight:600; color:#0A6699; padding:7px 13px; cursor:pointer; display:flex; align-items:center; gap:6px;}
.smenu{position:absolute; right:12px; top:46px; background:#fff; border-radius:12px; box-shadow:0 8px 28px rgba(6,30,50,.28); z-index:5; overflow:hidden; min-width:150px;}
.smenu button{display:flex; align-items:center; gap:8px; width:100%; border:none; background:#fff; padding:10px 14px; font-family:'Noto Sans',sans-serif; font-size:12.5px; font-weight:600; color:#0A1420; cursor:pointer;}
.smenu button:hover{background:#EFF5FB;}
.confirmcard{background:#fff; border-radius:18px; padding:20px; position:absolute; left:0; right:0; bottom:0; z-index:58; box-shadow:0 -10px 30px rgba(6,30,50,.3);}
.confirmcard h4{font-size:17px; font-weight:700; color:#0A1420; margin-bottom:8px;}
.confirmcard .cinfo{font-size:13px; color:#42505C; display:flex; gap:8px; align-items:center; margin-bottom:16px;}
.confirmrow{display:flex; gap:10px;}
.confirmrow .cbtn{flex:1; border-radius:999px; padding:13px; font-family:'Noto Sans',sans-serif; font-size:14px; font-weight:700; cursor:pointer; border:none;}
.confirmrow .cancel{background:#EFF5FB; color:#0A6699;}
.confirmrow .go{background:#B03030; color:#fff;}
.infocard{background:#EAF3FA; border-radius:16px; padding:16px 18px; margin-bottom:14px;}
.infocard h5{font-size:17px; font-weight:700; color:#0A1420; margin-bottom:10px;}
.infocard .sub{font-size:11.5px; color:#0A6699; font-weight:600; margin-bottom:8px;}
.infocard .irow{display:flex; gap:11px; align-items:flex-start; padding:8px 0;}
.infocard .irow svg{flex:0 0 auto; margin-top:2px;}
.infocard .irow .iv{font-size:13.5px; color:#0A6699; font-weight:600; word-break:break-all;}
.infocard .irow .il{display:block; font-size:11px; color:#0A6699; opacity:.75; font-weight:500;}
.infocard .irow .plain{color:#0A1420;}
.l2note{font-size:11px; color:#5B6B77; background:#fff; border-radius:9px; padding:8px 11px; margin-top:8px;}
.demo-note{font-size:10.5px; color:#7A8791; text-align:center; margin-top:7px;}
.tip{position:absolute; z-index:70; background:#0A1420; color:#fff; font-size:11.5px; font-weight:600; padding:8px 13px; border-radius:9px; white-space:nowrap; pointer-events:none; opacity:0; transition:opacity .18s ease;}
.tip::after{content:''; position:absolute; left:50%; bottom:-5px; transform:translateX(-50%); border:5px solid transparent; border-top-color:#0A1420; border-bottom:none;}
.readychip{font-size:9px; font-weight:700; background:#DFF3E1; color:#1B6B2E; border-radius:6px; padding:2px 7px;}
.pitzchip{font-size:9px; font-weight:700; background:#ECEFF1; color:#5B6B77; border-radius:6px; padding:2px 7px;}
.minibtn{border:1px solid #C9D6E2; background:#fff; color:#0A6699; font-family:'Noto Sans',sans-serif; font-size:11px; font-weight:700; border-radius:999px; padding:5px 11px; cursor:pointer;}
.minibtn:disabled{opacity:.45; cursor:default;}

/* ===== Third phone — Volunteer Management (parent view; mirrors the app) ===== */
.volshift{background:#fff; border:1px solid #E3E9F0; border-radius:12px; padding:12px 14px; margin-bottom:9px; display:flex; gap:10px; align-items:center;}
.volshift .vi{flex:1; min-width:0;}
.volshift .vt{font-size:15px; font-weight:700; color:#0A1420; display:flex; align-items:center; gap:8px; flex-wrap:wrap;}
.volshift .vm{font-size:12px; color:#0A6699; font-weight:600; margin-top:2px;}
.volsignup{border:none; border-radius:12px; background:#0A78BE; color:#fff; font-family:'Noto Sans',sans-serif; font-size:13.5px; font-weight:700; padding:10px 18px; cursor:pointer; flex:0 0 auto;}
.volsignup:disabled{opacity:.45; cursor:default;}
.volclaimed{display:inline-flex; align-items:center; gap:4px; background:#DFF3E1; color:#1B6B2E; border-radius:999px; padding:3px 10px; font-size:11px; font-weight:700;}
.volstatus{display:inline-flex; align-items:center; gap:5px; background:#A7D8F4; color:#0A1420; border-radius:999px; padding:4px 11px; font-size:11.5px; font-weight:700;}
.volmeta{font-size:13.5px; color:#0A1420; display:flex; gap:7px; align-items:center; margin:7px 0;}
.volmeta svg{flex:0 0 auto;}
.volnot{background:#fff; border:1px solid #E3E9F0; border-radius:12px; padding:11px 13px; margin-bottom:8px; display:flex; gap:10px;}
.volnot .bn{width:34px; height:34px; border-radius:10px; background:#EFF5FB; display:grid; place-items:center; flex:0 0 auto;}
.volnot .nt{font-size:13.5px; font-weight:700; color:#0A1420;}
.volnot .nb{font-size:12.5px; color:#42505C; margin-top:1px;}
.volnot .nm2{font-size:11.5px; color:#0A6699; font-weight:600; margin-top:3px;}
.volnot .nw{margin-left:auto; font-size:10.5px; color:#5B6B77; font-weight:600; flex:0 0 auto;}
.voltl{display:flex; gap:8px; flex-wrap:wrap;}
.hourscard{background:#fff; border:1px solid #E3E9F0; border-radius:12px; padding:12px 14px;}
.hbar{height:10px; background:#EFF5FB; border-radius:5px; overflow:hidden; margin-top:7px;}
.hfill{height:10px; background:#0A78BE; border-radius:5px;}
.badgechip{display:inline-flex; align-items:center; gap:5px; background:#DFF3E1; color:#1B6B2E; border-radius:999px; padding:4px 11px; font-size:11.5px; font-weight:700;}
.minibtn.sel{background:#DFF3E1; border-color:#DFF3E1; color:#1B6B2E;}

/* ===== Second phone — the Coach's weekly briefing =====
   Report-screen chrome (title bar, group chips) + the Coach-actions card +
   the report's collapsible sections, matched to the real app (GD-34/35/59;
   coach_insights_report_screen.dart, coach_actions_card.dart,
   attendance_heatmap.dart). The heat ramp is the app's fixed
   StreakHeatColors — H1 1–2 #FFE0C2 · H2 3–4 #FFB74D · H3 5–9 #EF6C00 ·
   H4 10+ #BF360C (white numeral), neutral H0 — data colors, not marketing
   tokens. */
.btile{background:#DDEBF6; border-radius:12px; padding:11px 12px; margin-bottom:8px; cursor:pointer;}
.btop{display:flex; align-items:flex-start; gap:8px;}
.btitle{font-size:14px; font-weight:700; color:#0A1420; line-height:1.25;}
.bchips{display:flex; gap:6px; margin-top:6px; flex-wrap:wrap; align-items:center;}
.urgchip{font-size:10px; font-weight:700; border-radius:6px; padding:2px 7px; white-space:nowrap;}
.urg-u{background:#F6CFCC; color:#B03030;}
.urg-w{background:#C9E3F5; color:#0A6699;}
.urg-s{background:#E3E9F0; color:#5B6B77;}
.kindchip{font-size:10px; font-weight:700; background:#fff; color:#0A6699; border:1px solid #BFD9EC; border-radius:6px; padding:2px 7px; white-space:nowrap;}
.kindchip.celebrate{background:#DFF3E1; color:#1B6B2E; border-color:#DFF3E1;}
.chev{display:inline-flex; flex:0 0 auto; margin-top:2px; transition:transform .15s ease;}
.chev.up{transform:rotate(180deg);}
.ackbtn{border:none; background:#0A78BE; color:#fff; font-family:'Noto Sans',sans-serif; font-size:11.5px; font-weight:700; border-radius:999px; padding:7px 15px; cursor:pointer;}
.ackbtn:active{background:#0867A4;}
.handledrow{background:#EFF5FB; border-radius:12px; padding:9px 13px; margin-bottom:7px; font-size:12.5px; color:#0A1420; font-weight:600; display:flex; align-items:center; gap:8px; flex-wrap:wrap;}
.handledrow .fuq{margin-left:auto; display:flex; align-items:center; gap:6px; font-size:11px; color:#5B6B77; font-weight:600;}
.bacline{display:flex; align-items:center; gap:7px; font-size:16px; font-weight:700; color:#0A1420; margin-bottom:12px;}
.openreport{border:none; background:none; color:#0A78BE; font-family:'Noto Sans',sans-serif; font-size:15px; font-weight:700; cursor:pointer; padding:0; flex:0 0 auto;}
.memcard.hlbox{border-radius:14px;}
.bkl{font-size:14.5px; font-weight:700; color:#0A1420; margin-bottom:2px;}
.gensub{font-size:12px; color:#0A6699; font-weight:600; margin-bottom:11px;}
.bwhy{font-size:12px; color:#0A6699; margin:8px 0 6px; line-height:1.45;}
.bwho{font-size:12px; color:#0A1420; font-weight:600; margin-bottom:9px;}
.seccard{background:#fff; border-radius:14px; padding:13px 15px; margin-bottom:10px; box-shadow:0 1px 5px rgba(6,55,92,.07);}
.sechd{display:flex; align-items:center; gap:10px; cursor:pointer;}
.secttl{font-size:16.5px; font-weight:700; color:#0A1420; letter-spacing:-.01em;}
.secsub{font-size:12px; color:#0A6699; font-weight:600; margin-top:2px;}
.secbody{margin-top:12px;}
.secrow{font-size:12.5px; color:#42505C; margin-bottom:8px; line-height:1.45;}
.secrow b{color:#0A1420;}
.secempty{font-size:12.5px; color:#5B6B77;}
.secdiv{height:1px; background:#E5ECF3; margin:12px 0;}
.gname{font-size:15.5px; font-weight:600; color:#0A1420; margin:2px 2px 10px;}
.curstk{font-size:12px; color:#0A6699; font-weight:600; margin-bottom:10px;}
.heatgrid{display:flex; flex-wrap:wrap; gap:12px 8px; margin-bottom:12px;}
.heatcell{width:70px; display:flex; flex-direction:column; align-items:center; gap:5px; cursor:pointer;}
.heatdot{width:38px; height:38px; border-radius:50%; display:grid; place-items:center; font-size:13.5px; font-weight:700; color:#0A1420;}
.hb0{background:#E3E9F0; border:1px solid #C9D6E2;}
.hb1{background:#FFE0C2; border:1px solid #C9D6E2;}
.hb2{background:#FFB74D;}
.hb3{background:#EF6C00;}
.hb4{background:#BF360C; color:#fff;}
.heatname{font-size:10px; font-weight:700; color:#0A1420; text-align:center; line-height:1.2;}
.heatleg{display:flex; gap:12px; flex-wrap:wrap; align-items:center; font-size:10.5px; color:#5B6B77; font-weight:600;}
.legsw{width:10px; height:10px; border-radius:50%; display:inline-block; margin-right:4px; vertical-align:-1px;}
.darknote{font-size:11px; color:#0A6699; font-weight:600; margin-top:7px;}
.watchrow{background:#EFF5FB; border-radius:12px; padding:9px 13px; font-size:12.5px; color:#0A1420; font-weight:600; display:flex; align-items:center; gap:9px;}
.reddot{width:8px; height:8px; border-radius:50%; background:#B03030; display:inline-block; flex:0 0 auto;}
.briefrow{margin-top:70px;}

/* ===== Second phone — the Performance dashboard page (FEAT-015) =====
   The in-phone page the volume/skills action tiles navigate to, matched to
   GE-19/GE-20 (performance_dashboard_screen.dart): pinned Reporting Window
   card + group chips + page dots above a swipeable three-card stack. */
@keyframes dashin{from{transform:translateX(46px); opacity:0;} to{transform:none; opacity:1;}}
@keyframes dashfade{from{opacity:0;} to{opacity:1;}}
.dashwrap{animation:dashin .22s ease;}
/* The dashboard's chrome (filter card + page dots) lives OUTSIDE the
   scroller entirely — a fixed slot under the app bar. Safari's sticky-
   within-scroller quirks (and any transform/animation interplay) cannot
   scroll it away: the chrome is persistent in every browser, and the
   scroller below holds only the swipeable cards. */
.dashfixed{background:#fff; position:relative; z-index:20; box-shadow:0 6px 14px rgba(6,55,92,.08);}
/* Group tab: Next Practice + the Group Roster (per the Group Roster
   capture), rendered above the Coach actions card. */
.npttl{font-size:17px; font-weight:700; color:#0A1420; margin:2px 0 2px;}
.npsub{font-size:13px; font-weight:600; color:#0A6699;}
.npbtns{display:flex; gap:10px; margin-top:11px;}
.npbtn{flex:1; display:flex; align-items:center; justify-content:center; gap:7px; background:#0A78BE; color:#fff; border:none; border-radius:10px; padding:10px 12px; font-family:'Noto Sans',sans-serif; font-size:13px; font-weight:700; cursor:pointer;}
.npbtn.ghost{background:#fff; color:#0A6699; border:1px solid #BFD9EC;}
.sectout{font-size:16.5px; font-weight:700; color:#0A1420; margin:14px 2px 8px;}
.rostergrid{display:grid; grid-template-columns:repeat(3,1fr); gap:8px; padding:2px 0 6px;}
.roscard{background:#fff; border:1px solid #E3E9F0; border-radius:12px; padding:12px 6px 10px; display:flex; flex-direction:column; align-items:center; gap:6px; cursor:pointer; font-family:'Noto Sans',sans-serif;}
.rosav{width:34px; height:34px; border-radius:50%; background:#EFF5FB; color:#0A1420; display:grid; place-items:center; font-size:14px; font-weight:600;}
.rosname{font-size:11.5px; font-weight:700; color:#0A1420; line-height:1.25; text-align:center;}
.rosbadge{display:inline-flex; align-items:center; gap:3px; font-size:10px; font-weight:700; color:#1B6B2E;}
.rosbadge.pit{color:#B8912A;}
/* Activities tab rows (per the capture: icon, title, when, Strava chip,
   stats, View on Strava). */
.actrow{background:#fff; border:1px solid #E3E9F0; border-radius:14px; padding:12px; margin-bottom:10px; display:flex; gap:10px; cursor:pointer;}
.actic{width:42px; height:42px; flex:0 0 auto; border-radius:11px; background:#FBE9DD; display:grid; place-items:center;}
.actmain{flex:1; min-width:0; display:flex; flex-direction:column; gap:3px;}
.actttl{font-size:14.5px; font-weight:700; color:#0A1420; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.actwhen{font-size:12px; color:#0A6699; font-weight:600;}
.actstats{display:flex; gap:10px; font-size:11.5px; color:#0A6699; font-weight:600; margin-top:2px;}
.actstats span{display:inline-flex; align-items:center; gap:4px; white-space:nowrap;}
.actstrava{font-size:12.5px; font-weight:700; color:#B24A0B; margin-top:4px; display:inline-flex; align-items:center; gap:5px;}
.starchip{flex:0 0 auto; align-self:flex-start; display:inline-flex; align-items:center; gap:4px; background:#FBE9DD; color:#B24A0B; border-radius:999px; padding:4px 9px; font-size:10.5px; font-weight:800;}
/* Activity Details (per the capture): hero stats, Expand All, Route Map,
   chart accordions, zone table, summary grid, View on Strava. */
.actsum2{display:grid; grid-template-columns:1fr 1fr; gap:10px;}
.sumcard{background:#EFF5FB; border-radius:12px; padding:10px 12px;}
.sumlbl{font-size:11.5px; font-weight:700; color:#0A6699; display:flex; align-items:center; gap:5px;}
.sumval{font-size:19px; font-weight:700; color:#0A1420; margin-top:3px;}
.sumval i, .sumcard i{font-style:normal;}
.sumsub{font-size:10.5px; color:#5B6B77; margin-top:1px;}
.expandall{display:flex; justify-content:flex-end; margin:2px 2px 8px;}
.exall{background:none; border:none; color:#0A78BE; font-family:'Noto Sans',sans-serif; font-size:12.5px; font-weight:700; cursor:pointer; display:inline-flex; align-items:center; gap:4px;}
.routemap{background:#EFEAE4; border-radius:12px; overflow:hidden;}
.routemap svg{width:100%; height:150px; display:block;}
.chiphd{display:flex; align-items:center; gap:8px; margin-bottom:8px; flex-wrap:wrap;}
.chiphd b{font-size:15.5px; color:#0A1420;}
.chiphd .chip{background:#E3E9F0; color:#0A1420; border-radius:999px; padding:3px 10px; font-size:11px; font-weight:700;}
.chartleg{display:flex; gap:14px; margin-top:6px; font-size:11px; font-weight:600; color:#5B6B77;}
.chartleg span{display:inline-flex; align-items:center; gap:4px;}
.chartleg i{width:10px; height:10px; border-radius:3px; display:inline-block;}
.chartleg.wrap{flex-wrap:wrap; gap:6px 12px;}
.zrow{display:flex; align-items:center; gap:8px; margin:7px 0;}
.zl{width:20px; font-size:11px; font-weight:800;}
.zname{width:118px; font-size:12px; font-weight:600; color:#0A1420; flex:0 0 auto;}
.zbar{flex:1; height:14px; background:#EFEFE4; border-radius:4px; overflow:hidden; display:flex;}
.zbar span{display:block; height:100%; border-radius:4px;}
.zval{width:74px; text-align:right; font-size:12px; font-weight:700; color:#0A1420; flex:0 0 auto;}
.zval i{display:block; font-style:normal; font-size:10px; font-weight:600; color:#5B6B77;}
.sumhd{font-size:17px; font-weight:700; color:#0A1420; margin:14px 2px 8px;}
.actsumgrid{display:grid; grid-template-columns:1fr 1fr; gap:10px;}
.stravabtn{width:100%; margin-top:12px; display:flex; align-items:center; justify-content:center; gap:8px; background:#FBE9DD; color:#B24A0B; border:1px solid #F3D4BC; border-radius:12px; padding:12px; font-family:'Noto Sans',sans-serif; font-size:14px; font-weight:700; cursor:pointer;}
/* Guided tour: the left panel narrates the screen on display; the pulsing
   purple dots mark where to tap next (semi-transparent touch indicator). */
.tourkicker{font-size:11px; letter-spacing:.12em; font-weight:800; color:#0A78BE; text-transform:uppercase; font-family:'IBM Plex Mono',monospace; margin-top:6px;}
.tourttl{font-size:19px; font-weight:700; color:#0A1420; margin:6px 0 8px; letter-spacing:-.01em;}
.tourbody{font-size:14px; color:#3A4A56; line-height:1.6;}
.tourinv{margin-top:12px; padding-top:11px; border-top:1px dashed #E3E9F0; font-size:13.5px; font-weight:600; color:#0A1420; line-height:1.55;}
.tourback{margin-top:13px; width:100%; display:flex; align-items:center; justify-content:center; background:#0A78BE; color:#fff; border:none; border-radius:10px; padding:11px; font-family:'Noto Sans',sans-serif; font-size:13.5px; font-weight:700; cursor:pointer;}
@keyframes tdotpulse{0%,100%{transform:translate(-50%,-50%) scale(.75); opacity:.85;}50%{transform:translate(-50%,-50%) scale(1.3); opacity:.4;}}
.tdot{position:absolute; left:50%; top:50%; width:30px; height:30px; border-radius:50%; background:rgba(9,197,255,.45); box-shadow:0 0 0 5px rgba(9,197,255,.16); animation:tdotpulse 1.7s ease-in-out infinite; pointer-events:none; z-index:40;}
.tour-t{position:relative;}
/* The three flows, nested as clickable chevrons (Test Instructions layout):
   header-titled, click to reveal the instructions. */
.tourchev{border:1px solid #E3E9F0; border-radius:10px; margin-top:9px; overflow:hidden;}
.tourchevhd{width:100%; display:flex; align-items:center; justify-content:space-between; gap:10px; background:#F7FAFD; border:none; padding:11px 13px; font-family:'Noto Sans',sans-serif; font-size:13.5px; font-weight:700; color:#0A6699; cursor:pointer; text-align:left;}
.tourchevbody{padding:11px 13px 13px; font-size:13px; font-weight:500; color:#3A4A56; line-height:1.6; border-top:1px solid #E3E9F0;}
/* Member page: the four time-trial rows (segment + sub + time + percentile + PR). */
.ttrow{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 2px; border-bottom:1px solid #EFF5FB;}
.ttrow:last-of-type{border-bottom:none;}
.ttname{font-size:13px; font-weight:700; color:#0A1420;}
.ttname i{display:block; font-style:normal; font-size:10.5px; font-weight:600; color:#5B6B77; margin-top:1px;}
.tttime{display:inline-flex; align-items:center; gap:7px; font-size:14px; font-weight:700; color:#0A1420;}
.prchip{background:#DFF3E1; color:#1B6B2E; border-radius:999px; padding:2px 8px; font-size:10px; font-weight:800;}
.back.live{cursor:pointer;}
/* Dashboard chrome (FEAT-018 rebuilt to the shipped in-place accordion —
   performance_dashboard_screen.dart _buildFilterPanel + the 2026-10-05
   "coach insights timeline" capture): the collapsed filter line is a Card
   whose chevron rotates 180°; tapping expands the ReportingWindowSelector
   IN PLACE below it — never a modal sheet (the sheet-era affordance was
   replaced for exactly this contradiction). Panel: scrollable MD3 segmented
   presets with checkmark, the full-width Select Custom Range outlined
   button (tinted + range label when a custom range is active), then the
   Groups chips. Selections apply live and the panel never auto-collapses. */
.filtercard{margin:8px 12px 0; background:#DDEBF6; border-radius:12px; box-shadow:0 1px 5px rgba(6,55,92,.07);}
.filtercard.open{border-radius:12px 12px 0 0;}
.filtersum{padding:10px 13px; display:flex; align-items:center; gap:8px; cursor:pointer; border-radius:12px;}
.filtercard.open .filtersum{border-radius:12px 12px 0 0;}
.filtersum .flabel{flex:1; font-size:13.5px; font-weight:600; color:#0A1420; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.filtersum .fchev{color:#5B6B77; flex:0 0 auto; display:inline-flex; transition:transform .2s ease;}
.filtersum .fchev.open{transform:rotate(180deg);}
.filterbody{padding:2px 13px 14px;}
.rwlbl{font-size:14.5px; font-weight:700; color:#0A78BE; margin:0 2px 10px;}
.rwseg{display:flex; overflow-x:auto; scrollbar-width:none; background:#fff; border:1.5px solid #BFD9EC; border-radius:999px; margin-bottom:10px;}
.rwseg::-webkit-scrollbar{display:none;}
.rwsegbtn{flex:1 0 auto; display:inline-flex; align-items:center; justify-content:center; gap:4px; font-size:11.5px; font-weight:700; color:#0A6699; padding:8px 13px; cursor:pointer; font-family:'Noto Sans',sans-serif; border:none; background:#fff; white-space:nowrap;}
.rwsegbtn+.rwsegbtn{border-left:1.5px solid #BFD9EC;}
.rwsegbtn:first-child{border-radius:999px 0 0 999px;}
.rwsegbtn:last-child{border-radius:0 999px 999px 0;}
.rwsegbtn.sel{background:#DDEBF6; color:#065792;}
.rwcustom{width:100%; display:flex; align-items:center; justify-content:center; gap:8px; background:#fff; color:#0A1420; border:1.5px solid #BFD9EC; border-radius:12px; padding:11px 16px; font-family:'Noto Sans',sans-serif; font-size:13.5px; font-weight:600; cursor:pointer;}
.rwcustom.sel{background:#DDEBF6; border-color:#DDEBF6; color:#065792;}
.rwglbl{font-size:13.5px; font-weight:700; color:#0A1420; margin:12px 2px 8px;}
.rwgchips{display:flex; gap:8px; flex-wrap:wrap;}
/* The custom range picker — the app's showDateRangePicker route: blue
   header (close / "Select range" + the picked range / Save) over a
   month-scrolled calendar with the range band and blue endpoint circles;
   future dates are disabled. */
.calpage{position:absolute; inset:0; z-index:55; background:#F7FAFD; display:flex; flex-direction:column;}
.calhdr{background:#0A78BE; color:#fff; padding:14px 16px 18px; flex:0 0 auto;}
.calhdrtop{display:flex; align-items:center; justify-content:space-between;}
.calhdrtop .calsave{background:none; border:none; color:#fff; font-family:'Noto Sans',sans-serif; font-size:14px; font-weight:700; cursor:pointer; padding:6px 2px;}
.calrange{margin-top:10px;}
.calrangesub{font-size:12.5px; opacity:.9;}
.calrangemain{font-size:24px; font-weight:700; margin-top:2px; display:flex; align-items:center; gap:10px;}
.calbody{flex:1; overflow-y:auto; padding:6px 12px 16px; scrollbar-width:none;}
.calbody::-webkit-scrollbar{display:none;}
.calwd{display:grid; grid-template-columns:repeat(7,1fr); padding:8px 0 2px; border-bottom:1px solid #E5ECF3;}
.calwd span{text-align:center; font-size:12.5px; font-weight:600; color:#0A1420; padding:6px 0;}
.calmname{font-size:14.5px; font-weight:600; color:#0A1420; margin:14px 0 6px;}
.calgrid{display:grid; grid-template-columns:repeat(7,1fr); row-gap:2px;}
.calday{position:relative; text-align:center; font-size:13px; color:#0A1420; padding:2px 0; height:34px; display:flex; align-items:center; justify-content:center;}
.calday .band{position:absolute; left:0; right:0; top:4px; bottom:4px; background:#D6E7F5;}
.calday .band.l{left:14px; border-radius:999px 0 0 999px;}
.calday .band.r{right:14px; border-radius:0 999px 999px 0;}
.calday .num{position:relative; z-index:1; width:30px; height:30px; display:flex; align-items:center; justify-content:center; border-radius:50%;}
.calday.on .num{background:#0A78BE; color:#fff; font-weight:700;}
.calday.dis{color:#C9D6E2;}
.calday.dis .band{background:transparent;}
.dashdots{background:#fff; display:flex; gap:7px; justify-content:center; padding:7px 0 9px; border-bottom:1px solid #E5ECF3;}
.ddot{width:7px; height:7px; border-radius:50%; background:#C9D6E2; cursor:pointer; border:none; padding:0;}
.ddot.sel{background:#0A78BE;}
.dashpager{display:flex; gap:10px; overflow-x:auto; scroll-snap-type:x mandatory; padding:10px 8px 20px; scrollbar-width:none;}
.dashpager::-webkit-scrollbar{display:none;}
.dashcard{flex:0 0 94%; scroll-snap-align:center; background:#DDEBF6; border-radius:16px; padding:14px 16px; overflow-y:auto; height:515px; scrollbar-width:none; position:relative;}
.dashcard::-webkit-scrollbar{display:none;}
.dcttl{font-size:18px; font-weight:700; color:#065792; letter-spacing:-.01em;}
.dcsub{font-size:12px; color:#0A6699; font-weight:600; margin-top:2px;}
.dcmed{display:flex; align-items:center; gap:6px; font-size:13px; font-weight:700; color:#0A1420; margin:9px 0 2px;}
.dcnote{font-size:10.5px; color:#0A6699; margin-top:9px; line-height:1.45;}
.vrow{padding:9px 10px 8px; border-top:1px solid #CBDEEC; position:relative;}
.vrow.vaccent{border-left:4px solid #0A78BE; padding-left:7px;}
.hlbox{box-shadow:inset 0 0 0 2px #0A78BE; border-radius:10px; background:#EAF3FA;}
.vname{font-size:14px; font-weight:600; color:#0A1420;}
.vtrack{height:8px; background:#EFF5FB; border-radius:4px; position:relative; margin:7px 0 2px;}
.vfill{height:8px; border-radius:4px; position:absolute; left:0; top:0;}
.vtick{position:absolute; top:-3px; width:2px; height:14px; background:#0A1420;}
.vtick.dash{width:0; height:16px; top:-4px; background:none; border-left:2px dashed #5B6B77;}
.vstats{display:flex; gap:16px; margin-top:6px; flex-wrap:wrap;}
.vstat{font-size:11.5px; color:#0A6699; font-weight:600;}
.vstat b{color:#0A1420; font-size:13px;}
.bandchip{display:inline-block; font-size:10px; font-weight:700; border-radius:999px; padding:2px 9px; margin-left:6px; vertical-align:1px; white-space:nowrap;}
.band-lo{background:#F6CFCC; color:#B03030;}
.band-mid{background:#EAF4FB; color:#0A6699;}
.band-hi{background:#DDEBF6; color:#0A6699;}
.unkchip{display:inline-block; float:right; font-size:10.5px; font-weight:700; background:#E3E9F0; color:#5B6B77; border-radius:999px; padding:2px 9px;}
.srow{padding:9px 10px 8px; border-top:1px solid #CBDEEC;}
.sname{font-size:14px; font-weight:600; color:#0A1420;}
.sseg{font-size:11px; color:#5B6B77; margin-top:1px;}
.sbar{height:8px; background:#EFF5FB; border-radius:4px; position:relative; margin:7px 0 2px;}
.sfill{position:absolute; top:0; height:8px; border-radius:4px;}
.stick{position:absolute; left:50%; top:-3px; width:2px; height:14px; background:#0A1420;}
.sstats{display:flex; gap:16px; margin-top:6px; flex-wrap:wrap;}
.skchip{display:inline-block; font-size:10.5px; font-weight:700; border-radius:999px; padding:3px 10px; margin:9px 0 3px;}
.sk-sup{background:#F6CFCC; color:#B03030;}
/* FEAT-003 valence: green = at/above the median (zero-or-negative gap). */
.sk-men{background:#DFF3E1; color:#1B6B2E;}
.gap-bad{color:#B03030; font-weight:700;}
.gap-good{color:#1B6B2E; font-weight:700;}
.drillidea{font-size:11.5px; color:#5B6B77; font-style:italic; margin:7px 0 2px; line-height:1.45;}
.nearline{font-size:11px; color:#5B6B77; font-weight:600; margin-top:7px;}
.unkhd{font-size:12.5px; font-weight:600; color:#5B6B77; padding-top:9px; border-top:1px solid #E5ECF3; margin-top:9px;}
.unkrow{font-size:12.5px; color:#42505C; padding:6px 2px; border-bottom:1px solid #EFF5FB;}
.dmstrip{display:flex; gap:2px; margin:9px 0 5px;}
.dmseg{height:10px; border-radius:3px;}
.shapeline{font-size:11px; color:#5B6B77; font-weight:600; margin-bottom:6px;}
.bandhd{font-size:11px; font-weight:700; border-radius:999px; display:inline-block; padding:3px 10px; margin:8px 0 3px;}
.medline{display:flex; align-items:center; gap:6px; font-size:13.5px; font-weight:700; color:#0A1420; margin:8px 0 2px;}
.periodline{font-size:11.5px; color:#5B6B77; font-weight:600;}
.segblock{background:#EFF5FB; border-radius:12px; padding:10px 11px; margin-top:10px;}
.segttl{font-size:15px; font-weight:700; color:#065792;}
.segblock svg{display:block; margin:4px auto 0;}
.ptwrap{overflow-x:auto; margin-top:12px; scrollbar-width:none;}
.ptwrap::-webkit-scrollbar{display:none;}
.ptable{border-collapse:collapse; font-size:11.5px; min-width:520px; width:100%;}
.ptable th{font-size:10.5px; color:#0A6699; text-align:left; padding:5px 8px; border-bottom:1px solid #CBDEEC; white-space:nowrap; font-weight:700;}
.ptable td{padding:6px 8px; border-bottom:1px solid #EFF5FB; white-space:nowrap; color:#0A1420;}
.ptable .tav{width:22px; height:22px; border-radius:50%; display:inline-grid; place-items:center; font-size:8.5px; font-weight:700; color:#fff; margin-right:6px; vertical-align:middle;}
.pctl{color:#5B6B77; font-size:10px; margin-left:4px;}

/* ===== Second phone — the member-detail page (FEAT-017) =====
   The reach-out tile's click-through: the athlete profile (member detail),
   matched to the GE-35/GE-23 captures (member_detail_screen.dart) — the
   avatar header (name + ATHLETE · Active), the scrollable tab strip, and the
   Overview / Profile / Performance tabs. Profile sections follow the
   source's fixed order; the phone row opens the app's Phone Actions sheet
   (Call / Text Message / Copy, _showPhoneActions). Existing palette only. */
.memhead{background:#fff; text-align:center; padding:14px 16px 12px; border-bottom:1px solid #E5ECF3;}
.memavatar{width:64px; height:64px; border-radius:50%; background:#D3E5F0; color:#0A3D5C; display:inline-grid; place-items:center; font-size:23px; font-weight:500;}
.memname{font-size:20px; font-weight:700; color:#0A1420; margin-top:8px;}
.memsub{display:flex; gap:8px; justify-content:center; align-items:center; margin-top:4px;}
.memrole{font-size:12.5px; font-weight:600; letter-spacing:.08em; color:#0A78BE;}
.memactive{font-size:11px; font-weight:600; color:#1B6B2E; background:#DFF3E1; border-radius:999px; padding:2px 10px;}
/* The member nav bar lives OUTSIDE the scroller — a fixed slot under the
   app bar (Safari drops sticky-in-scroller bars on re-render; this one
   cannot scroll away or vanish). White bar, bottom border, page dots of
   the dashboard chrome stack above it when both would show. */
.memtabs{display:flex; justify-content:space-between; background:#fff; border-bottom:1px solid #E5ECF3; position:relative; z-index:20; box-shadow:0 6px 14px rgba(6,55,92,.08);}
.memtab{flex:0 0 auto; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; font-size:10px; font-weight:600; color:#5B6B77; padding:7px 8px 6px; border-bottom:2.5px solid transparent; cursor:pointer;}
.mtlbl{white-space:nowrap;}
.memtab.active{color:#0A78BE; border-bottom-color:#0A78BE;}
.memcard{background:#fff; border-radius:14px; padding:14px 16px; margin-bottom:12px; box-shadow:0 1px 5px rgba(6,55,92,.07);}
.memcard-h{font-size:18px; font-weight:700; color:#0A1420; margin-bottom:8px;}
.memrow{display:flex; gap:11px; align-items:flex-start; padding:8px 0;}
.memrow svg{flex:0 0 auto; margin-top:2px;}
.memrow .rl{font-size:13.5px; color:#0A1420; font-weight:600; word-break:break-all;}
.memrow .rs{display:block; font-size:11px; color:#5B6B77; font-weight:500; margin-top:1px;}
.memrow.tap{cursor:pointer;}
.memrow.tap .rs{color:#0A78BE; font-weight:600;}
.memdiv{height:1px; background:#E5ECF3; margin:8px 0;}
.pghd{font-size:14.5px; font-weight:700; color:#0A1420; margin:8px 0 2px;}
.rellbl{font-size:12px; color:#0A78BE; font-weight:600; margin-bottom:2px;}
.regbadges{display:flex; gap:8px; flex-wrap:wrap;}
.regchip{display:inline-flex; align-items:center; gap:5px; font-size:11.5px; font-weight:700; border-radius:999px; padding:5px 12px;}
.reg-paid{background:#DDEBF6; color:#0A6699;}
.reg-out{background:#fff; color:#0A6699; border:1.5px solid #BFD9EC;}
.reg-ready{background:#DFF3E1; color:#1B6B2E;}
.l2note2{font-size:11px; color:#5B6B77; background:#EFF5FB; border-radius:9px; padding:8px 11px; margin-top:8px;}
/* FEAT-004 anchored arrival (member_detail_screen.dart): the Linked Parents
   card's arrival ring — a 2dp primary ring + tint, applied on the anchored
   arrival and auto-cleared after ~6s (the idiom's "you are here", never a
   permanent state). Box-shadow ring = no layout shift. */
.lp-ring{box-shadow:0 0 0 2px #0A78BE, 0 1px 5px rgba(6,55,92,.07); background:#EAF3FA;}
/* FEAT-011 celebrate contract: the streak bottom sheet (streak_bottom_sheet.dart)
   opens as a MODAL overlay in the phone — header line, STREAK chip, the
   "N practices in a row" figure, the flame in the feed's streak accent
   (#EF6C00, the same data hue as heat band H3), the milestone caption, and
   the next-milestone line. Close via the X or the backdrop. */
.shx{width:32px; height:32px; border:none; background:transparent; color:#5B6B77; cursor:pointer; border-radius:50%; display:grid; place-items:center; flex:0 0 auto;}
.stkhd{display:flex; gap:12px; align-items:flex-start; margin:4px 0 14px; padding-right:30px;}
.stkico{width:40px; height:40px; border-radius:12px; background:rgba(239,108,0,.12); display:grid; place-items:center; flex:0 0 auto;}
.stkwho{font-size:15.5px; color:#0A1420; line-height:1.35;}
.stkwho b{font-weight:700;}
.stkwhen{font-size:11.5px; color:#5B6B77; margin-top:2px;}
.stkhero{background:#EFF5FB; border-radius:16px; padding:20px 16px; text-align:center;}
.stkchip{display:inline-flex; align-items:center; gap:4px; background:#E3E9F0; border-radius:999px; padding:4px 10px; font-size:10.5px; font-weight:800; letter-spacing:.06em; color:#5B6B77;}
.stkfig{font-size:22px; font-weight:800; color:#0A1420; margin-top:10px;}
.stkcap{font-size:13.5px; font-weight:600; color:#0A1420; margin-top:8px;}
.stknext{font-size:12px; font-weight:600; color:#0A78BE; margin-top:6px;}
/* FEAT-011: the celebrate tile's inline high-five (the feed's own control,
   acting in place on the tile). */
.hfbtn{border:none; background:#DFF3E1; color:#1B6B2E; font-family:'Noto Sans',sans-serif; font-size:11.5px; font-weight:700; border-radius:999px; padding:7px 13px; cursor:pointer; display:inline-flex; align-items:center; gap:6px;}
.perfttl{font-size:22px; font-weight:700; color:#0A1420; margin:2px 2px 10px;}
.atteye{font-size:10.5px; font-weight:700; letter-spacing:.1em; color:#0A6699; text-transform:uppercase; font-family:'IBM Plex Mono',monospace;}
.attmain{display:flex; align-items:center; gap:10px; margin-top:4px;}
.attnum{font-size:34px; font-weight:700; color:#0A1420; line-height:1;}
.attchip{font-size:11.5px; font-weight:700; background:#DDEBF6; color:#0A6699; border-radius:999px; padding:4px 11px;}
.attsub{font-size:13px; color:#0A6699; font-weight:600; margin-top:6px;}
.atttotal{font-size:11.5px; color:#5B6B77; text-align:right;}
.attsq{display:flex; flex-wrap:wrap; gap:6px; margin:12px 0 6px;}
.attsq i{width:26px; height:20px; border-radius:5px; background:#0A78BE; display:inline-block;}
.attsq i.ab{background:#E3E9F0;}
.attleg{font-size:11px; color:#5B6B77; font-weight:600;}
/* FEAT-006 (VAL-STREAK-003): the Practice Attendance card's real-streak
   figure — flame glyph + "Current streak: N practice(s) in a row"
   (attendance_performance_card.dart _buildStreakFigure wording). */
.attstreak{display:flex; align-items:center; gap:6px; font-size:13px; font-weight:600; color:#0A1420; margin-top:10px;}
.attstreak svg{flex:0 0 auto;}
.objrow{display:flex; gap:12px; align-items:center;}
.objico{width:44px; height:44px; border-radius:12px; background:#DDEBF6; display:grid; place-items:center; flex:0 0 auto;}
.objlb{font-size:12.5px; color:#5B6B77; font-weight:600;}
.objval{font-size:17px; font-weight:700; color:#0A1420;}
.objsub{font-size:12px; color:#5B6B77;}
.wkhd{display:flex; align-items:center; gap:10px; margin-bottom:10px;}
.wkico{width:38px; height:38px; border-radius:11px; background:#DDEBF6; display:grid; place-items:center; flex:0 0 auto;}
.wkttl{font-size:16px; font-weight:700; color:#0A1420;}
.ygrow{display:flex; align-items:center; gap:9px; margin:6px 0;}
.yglb{width:46px; font-size:12.5px; color:#0A1420; font-weight:600; flex:0 0 auto;}
.ygbar{flex:1; height:12px; background:#EFF5FB; border-radius:6px; position:relative; overflow:hidden;}
.ygfill{position:absolute; left:0; top:0; height:12px; border-radius:6px;}
.ygval{width:70px; text-align:right; font-size:12.5px; color:#0A1420; font-weight:700; flex:0 0 auto;}
.wknote{font-size:11px; color:#0A6699; font-weight:600; margin-top:8px; line-height:1.45;}
.pacttl{font-size:17px; font-weight:700; color:#0A1420; margin:2px 0 6px;}
.pactrow{display:flex; align-items:center; gap:12px; width:100%; border:none; background:#fff; padding:13px 6px; font-family:'Noto Sans',sans-serif; font-size:14px; font-weight:600; color:#0A1420; cursor:pointer; border-bottom:1px solid #EFF5FB;}
.pactrow:last-child{border-bottom:none;}

/* ---------------------------------------------------------------- concept demo shell */
/* The demo app CSS above is kept from the production demo. These rules wrap
   it in the concept page shell and the shared phone frame. */

.demo-main{
  max-width:var(--max);
  margin:0 auto;
  padding:clamp(36px,5vw,64px) 20px 0;
}

.demo-top{max-width:820px;margin:0 0 clamp(32px,5vw,56px);}
.demo-top .eyebrow{color:var(--blue);}
.demo-top h1{
  margin:14px 0 14px;
  font-family:'Barlow Condensed',sans-serif;
  font-size:clamp(2.4rem,5vw,4.2rem);
  font-weight:600;
  line-height:0.98;
  letter-spacing:-0.02em;
  color:var(--navy);
}
.demo-top .sub{font-size:clamp(1rem,1.4vw,1.12rem);max-width:68ch;color:var(--muted);}
.demo-top .fakenote{
  display:inline-block;
  margin-top:18px;
  padding:7px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--mist);
  font-family:'IBM Plex Mono',monospace;
  font-size:10.5px;
  font-weight:600;
  letter-spacing:0.08em;
  color:var(--navy);
}

.workspace{
  display:flex;
  gap:clamp(36px,6vw,72px);
  align-items:flex-start;
  justify-content:center;
  flex-wrap:wrap;
  padding-bottom:clamp(36px,5vw,56px);
}

.copycol{
  flex:1 1 340px;
  max-width:430px;
  position:sticky;
  top:96px;
}

.copycol .trynum{
  display:block;
  margin-bottom:4px;
  font-family:'IBM Plex Mono',monospace;
  font-size:10.5px;
  font-weight:600;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--blue);
}

.copycol h2{
  margin:20px 0 12px;
  font-family:'Barlow Condensed',sans-serif;
  font-size:clamp(1.7rem,2.8vw,2.3rem);
  font-weight:600;
  line-height:1.05;
  letter-spacing:-0.01em;
  color:var(--navy);
}
.copycol h2.first{margin-top:8px;}
.copycol p{color:var(--muted);font-size:0.98rem;margin-bottom:12px;}
.copycol .why{
  margin:14px 0;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--mist);
  font-size:0.92rem;
  color:var(--navy);
}

.stepctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px;}
.cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  border-radius:999px;
  padding:0 20px;
  border:1px solid transparent;
  font-family:'Barlow',sans-serif;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:background-color 160ms var(--ease-out),border-color 160ms var(--ease-out),color 160ms var(--ease-out);
}
.cta-primary{background:var(--navy);color:var(--white);}
.cta-primary:hover{background:var(--ink);}
.cta-ghost{background:transparent;border-color:var(--line-strong);color:var(--navy);}
.cta-ghost:hover{border-color:var(--navy);}
.resetlink{margin-top:20px;font-size:13px;color:var(--muted-2);}
.resetlink button{background:none;border:none;color:var(--navy);font:inherit;cursor:pointer;text-decoration:underline;padding:0;}

.pagebreak{
  width:min(880px,88%);
  margin:clamp(48px,7vw,84px) auto;
  border:0;
  border-top:1px solid var(--line);
}

.phonecol{flex:0 0 auto;width:390px;max-width:100%;}
.demo-phone{width:100%;height:auto;margin:0 auto;}
.demo-phone .phone-screen{background:#EAF3FA;}
.phone-status-icons{display:flex;align-items:center;gap:5px;}
.phone-status-icons .phone-icons{height:var(--phone-icons-h);width:auto;fill:currentColor;}
.phone-inner{
  position:absolute;
  inset:var(--phone-status-h) 0 0 0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#EAF3FA;
  font-family:'Noto Sans',sans-serif;
}

/* The instructional copy sits outside the phone; keep it in the page voice. */
.copycol .tourchev{border-color:var(--line);border-radius:14px;margin-top:10px;}
.copycol .tourchevhd{font-family:'Barlow',sans-serif;font-weight:600;color:var(--navy);background:var(--mist);}
.copycol .tourchevbody{font-family:'Barlow',sans-serif;color:var(--muted);border-color:var(--line);}
.copycol .tourkicker,.copycol .tourttl,.copycol .tourbody,.copycol .tourinv,.copycol .tourback{font-family:'Barlow',sans-serif;}
.copycol .tourkicker{font-family:'IBM Plex Mono',monospace;color:var(--blue);}
.copycol .tourttl{font-family:'Barlow Condensed',sans-serif;font-size:1.35rem;color:var(--navy);}
.copycol .tourback{background:var(--navy);color:var(--white);}
.copycol .tourback:hover{background:var(--ink);}

/* Gate */
#demo-gate .copycol{
  max-width:560px;
  padding:28px 30px;
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--white);
  box-shadow:var(--shadow-card);
}
#demo-gate h2{font-size:clamp(1.6rem,2.6vw,2.1rem);}
#demo-gate label{display:block;margin:14px 0 5px;font-size:13px;font-weight:600;color:var(--navy);}
#demo-gate input,#demo-gate select{
  width:100%;
  box-sizing:border-box;
  padding:11px 12px;
  border:1px solid var(--line-strong);
  border-radius:10px;
  background:var(--white);
  color:var(--ink);
  font:inherit;
  font-size:16px;
}
#demo-gate input:focus,#demo-gate select:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(9,197,255,0.22);}
#demo-gate .consent{display:flex;align-items:flex-start;gap:9px;margin:16px 0 4px;font-size:13px;font-weight:400;line-height:1.45;color:var(--muted);cursor:pointer;}
#demo-gate .consent input{width:auto;flex-shrink:0;margin-top:2px;}
#gate-toast{
  position:fixed;
  top:18px;
  left:50%;
  z-index:300;
  transform:translateX(-50%);
  padding:12px 22px;
  border-radius:10px;
  background:var(--deep);
  color:var(--white);
  font:600 14px 'Barlow',sans-serif;
  box-shadow:0 12px 32px rgba(4,48,79,0.28);
  opacity:0;
  pointer-events:none;
  transition:opacity 250ms var(--ease-out);
}
#gate-toast.show{opacity:1;}

@media (max-width:900px){
  .demo-main{padding-top:32px;}
  .copycol{position:static;max-width:none;flex-basis:100%;}
  .phonecol{width:100%;order:-1;margin:0 auto;}
  .demo-phone{
    width:min(360px,100%);
    --phone-screen-radius:50px;
    --phone-status-h:50px;
    --phone-status-x-left:46px;
    --phone-status-x-right:32px;
    --phone-status-font:16px;
    --phone-island-h:34px;
    --phone-island-top:10px;
    --phone-island-camera:7px;
    --phone-icons-h:11px;
  }
  .workspace{gap:30px;}
}
