/* Track Mechanics V38.81.133 — approved mockup interface reconstruction
   Structural UI layer matching the approved coach/athlete/practice/performance/tools concept.
   Presentation only: data, sync, timing, deletion, privacy and provenance remain unchanged. */

:root{
  --tm133-navy:#0b2135;
  --tm133-navy-2:#12324c;
  --tm133-ink:#142033;
  --tm133-muted:#667487;
  --tm133-line:#dfe5eb;
  --tm133-line-strong:#cbd4de;
  --tm133-bg:#f4f6f8;
  --tm133-surface:#ffffff;
  --tm133-surface-soft:#f8fafb;
  --tm133-red:#e44332;
  --tm133-red-dark:#c93225;
  --tm133-red-soft:#fff0ed;
  --tm133-blue:#2b66c3;
  --tm133-green:#198754;
  --tm133-shadow:0 8px 28px rgba(15,35,55,.08);
  --tm133-shadow-soft:0 3px 12px rgba(15,35,55,.06);
  --tm133-radius:14px;
  --tm133-radius-lg:18px;
  --tm133-page:1240px;
}

html,body{background:var(--tm133-bg)!important;color:var(--tm133-ink)!important;}
body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;letter-spacing:-.005em;}
button,input,select,textarea{font:inherit;}
.tm-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important;}

/* ===== Application shell ===== */
.tm-approved-shell.app-shell{background:var(--tm133-bg)!important;min-height:100dvh!important;}
.tm-approved-rail{background:linear-gradient(180deg,#081a2b 0%,#0b2135 64%,#081a2b 100%)!important;color:#fff!important;border:0!important;box-shadow:8px 0 28px rgba(5,20,35,.08)!important;}
.tm-approved-brand{min-height:94px!important;padding:18px 16px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.08)!important;background:transparent!important;color:#fff!important;display:flex!important;gap:11px!important;align-items:center!important;text-align:left!important;}
.tm-approved-brand>span:last-child{display:grid;gap:2px;min-width:0;}
.tm-approved-brand strong{font-size:.82rem!important;letter-spacing:.12em!important;white-space:nowrap;color:#fff!important;}
.tm-approved-brand small{font-size:.55rem!important;letter-spacing:.17em!important;color:#aab9c8!important;white-space:nowrap;}
.tm-lane-mark{display:inline-flex;align-items:flex-end;gap:2px;width:42px;height:34px;transform:skewX(-22deg);flex:0 0 auto;}
.tm-lane-mark i{display:block;width:11px;height:30px;background:linear-gradient(180deg,#f25b43,#d83427);border-radius:1px;box-shadow:inset -1px 0 rgba(255,255,255,.2);}
.tm-lane-mark i:nth-child(2){height:27px}.tm-lane-mark i:nth-child(3){height:24px}
.tm-lane-mark-small{width:26px;height:22px;gap:1px}.tm-lane-mark-small i{width:7px;height:20px}.tm-lane-mark-small i:nth-child(2){height:18px}.tm-lane-mark-small i:nth-child(3){height:16px}
.tm-approved-rail .rail-nav{display:grid!important;gap:4px!important;padding:18px 10px!important;}
.tm-approved-rail .nav-link{min-height:48px!important;border:0!important;border-radius:9px!important;padding:0 13px!important;display:flex!important;align-items:center!important;gap:12px!important;color:#b9c5d0!important;background:transparent!important;font-size:.88rem!important;font-weight:650!important;text-align:left!important;}
.tm-approved-rail .nav-link .nav-mark{width:20px!important;height:20px!important;color:#91a4b7!important;}
.tm-approved-rail .nav-link.active{background:#123b5d!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--tm133-red)!important;}
.tm-approved-rail .nav-link.active .nav-mark{color:#fff!important;}
.tm-approved-rail .rail-support{margin-top:auto!important;padding:12px 12px 8px!important;border-top:1px solid rgba(255,255,255,.07)!important;display:grid!important;gap:2px!important;}
.tm-approved-rail .support-link{color:#9db0c1!important;background:transparent!important;border:0!important;padding:8px 7px!important;font-size:.7rem!important;text-align:left!important;}
.tm-rail-account{margin:6px 10px 12px!important;padding:10px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:12px!important;background:rgba(255,255,255,.04)!important;color:#fff!important;display:flex!important;align-items:center!important;gap:9px!important;text-align:left!important;}
.tm-rail-account>span:last-child{display:grid;gap:2px;min-width:0}.tm-rail-account strong{font-size:.72rem}.tm-rail-account small{font-size:.62rem;color:#9db0c1}.tm-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#f3f5f7;color:#0b2135;font-weight:850;font-size:.62rem;}

.tm-approved-topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--tm133-line)!important;box-shadow:none!important;backdrop-filter:blur(14px)!important;padding-inline:22px!important;min-height:64px!important;}
.tm-approved-topbar .experience-top-context{min-width:0!important;}
.tm-approved-topbar .appbar-title{display:flex!important;align-items:center!important;gap:9px!important;border:0!important;background:transparent!important;color:var(--tm133-ink)!important;font-weight:800!important;}
.tm-mobile-brand-text{font-size:.88rem;font-weight:850;}
.tm-approved-topbar .experience-current-title{font-weight:700!important;color:#49586a!important;}
.tm-global-search{width:min(360px,32vw)!important;height:40px!important;border:1px solid var(--tm133-line)!important;background:#f5f7f9!important;border-radius:9px!important;color:#7b8795!important;display:flex!important;align-items:center!important;gap:9px!important;padding:0 11px!important;text-align:left!important;box-shadow:inset 0 1px 1px rgba(17,32,51,.02)!important;}
.tm-global-search svg{width:17px;height:17px;flex:0 0 auto}.tm-global-search span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.78rem}.tm-global-search kbd{font-size:.65rem;background:#fff;border:1px solid var(--tm133-line);border-radius:5px;padding:2px 6px;color:#7b8795;}
.tm-sync-chip{height:36px!important;border:0!important;background:transparent!important;color:#708092!important;font-size:.72rem!important;padding:0 6px!important;}
.tm-profile-button{width:34px;height:34px;border-radius:50%;border:1px solid var(--tm133-line);background:#efe3d9;color:#47382e;font-weight:850;font-size:.65rem;display:grid;place-items:center;}
.tm-approved-topbar .appbar-icon{width:38px!important;height:38px!important;border:0!important;background:transparent!important;color:#536274!important;}
.tm-approved-topbar .appbar-icon:hover,.tm-profile-button:hover{background:#f3f6f8!important;}

.main-shell{background:var(--tm133-bg)!important;min-width:0!important;}
#main{width:100%!important;max-width:var(--tm133-page)!important;margin:0 auto!important;padding:30px 30px 92px!important;}
.local-state{opacity:.7!important;font-size:.67rem!important;}

/* ===== Global page language ===== */
.page,.experience-page{gap:24px!important;}
.page-heading{margin:0!important;padding:0 2px!important;display:grid!important;gap:5px!important;}
.page-heading .eyebrow{display:none!important;}
.page-heading h1{font-size:clamp(1.8rem,2.7vw,2.45rem)!important;line-height:1.02!important;letter-spacing:-.045em!important;color:#101b2c!important;margin:0!important;}
.page-heading .lead{font-size:.9rem!important;color:var(--tm133-muted)!important;max-width:72ch!important;margin:0!important;}
.page:has(.tm-performance-shell)>.page-heading,.page:has(.tm-practice-header)>.page-heading,.page:has(.tm-tools-search)>.page-heading{display:none!important;}
.eyebrow{font-size:.64rem!important;font-weight:850!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:#788697!important;}
.helper,small{line-height:1.38;}
.btn{min-height:40px!important;border-radius:8px!important;padding:0 15px!important;border:1px solid var(--tm133-line-strong)!important;background:#fff!important;color:#223047!important;font-weight:750!important;box-shadow:none!important;}
.btn:hover{background:#f8fafb!important;border-color:#aeb9c5!important;}
.btn-primary{background:linear-gradient(180deg,#ec4937,#db382a)!important;color:#fff!important;border-color:#d53628!important;box-shadow:0 5px 13px rgba(211,55,41,.18)!important;}
.btn-primary:hover{background:#d93729!important;border-color:#c92e22!important;}
.btn-danger{background:#fff5f3!important;color:#b42e22!important;border-color:#f0c3bc!important;}
.btn-quiet{border-color:transparent!important;background:transparent!important;color:#4b6178!important;padding-inline:7px!important;}
input,select,textarea{border:1px solid var(--tm133-line-strong)!important;border-radius:8px!important;background:#fff!important;color:var(--tm133-ink)!important;box-shadow:inset 0 1px 2px rgba(20,32,51,.03)!important;}
input:focus,select:focus,textarea:focus{border-color:#6c8fb4!important;box-shadow:0 0 0 3px rgba(53,111,168,.12)!important;outline:0!important;}

/* ===== Shared dashboard building blocks ===== */
.tm-dashboard-page{gap:22px!important;}
.tm-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px;}
.tm-panel-head h2{font-size:1rem!important;letter-spacing:-.02em!important;margin:1px 0 0!important;color:#17243a!important;}
.tm-text-link{border:0;background:transparent;color:#315c89;font-weight:750;font-size:.72rem;padding:4px 0;}
.tm-dashboard-panel,.tm-dashboard-section{background:#fff;border:1px solid var(--tm133-line);border-radius:var(--tm133-radius);padding:18px;box-shadow:var(--tm133-shadow-soft);min-width:0;}
.tm-dashboard-section{display:grid;gap:12px;}
.tm-dashboard-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.85fr);gap:18px;min-width:0;}
.tm-dashboard-columns-priority{grid-template-columns:minmax(0,1.65fr) minmax(300px,.8fr);}
.tm-empty-compact{display:grid;gap:4px;padding:18px;color:#687789;background:#f8fafb;border-radius:10px;}.tm-empty-compact strong{color:#2c3b4e}.tm-empty-compact span{font-size:.8rem;}

/* ===== Coach Home exactly follows approved dashboard composition ===== */
.tm-coach-hero{min-height:235px;border-radius:16px;overflow:hidden;position:relative;padding:30px 30px 22px;color:#fff;background:linear-gradient(100deg,rgba(7,28,46,.98) 0%,rgba(13,47,73,.94) 50%,rgba(111,55,40,.68) 100%),linear-gradient(165deg,#102f49,#0c2237);box-shadow:0 10px 26px rgba(15,35,55,.16);display:flex;flex-direction:column;justify-content:space-between;}
.tm-coach-hero::before{content:"";position:absolute;inset:auto -6% -58% 42%;height:230px;border-radius:50%;border:2px solid rgba(245,96,66,.52);box-shadow:0 0 0 18px rgba(245,96,66,.15),0 0 0 38px rgba(255,255,255,.08),0 0 0 58px rgba(245,96,66,.10);transform:rotate(-8deg);}
.tm-coach-hero::after{content:"";position:absolute;right:0;bottom:0;width:55%;height:62%;background:linear-gradient(160deg,transparent 45%,rgba(242,87,62,.14) 46% 48%,transparent 49%),linear-gradient(170deg,transparent 55%,rgba(255,255,255,.10) 56% 57%,transparent 58%);pointer-events:none;}
.tm-coach-hero-copy,.tm-hero-status-row{position:relative;z-index:1}.tm-coach-hero-copy{max-width:680px;}
.tm-kicker{margin:0!important;color:#fff!important;font-size:.78rem!important;font-weight:650!important;}
.tm-coach-hero h1,.tm-athlete-hero h1{margin:1px 0 5px!important;font-size:clamp(2rem,4vw,3.1rem)!important;line-height:.98!important;letter-spacing:-.055em!important;color:#fff!important;}
.tm-coach-hero-copy>p:last-child{margin:0;color:#d9e2ea;font-size:.9rem;}
.tm-hero-status-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:28px;max-width:740px;}
.tm-hero-status-row button{border:1px solid rgba(255,255,255,.55);border-radius:10px;background:rgba(255,255,255,.94);color:#17243a;text-align:left;padding:11px 12px;display:grid;gap:2px;min-height:68px;box-shadow:0 5px 16px rgba(6,18,30,.14);}
.tm-hero-status-row small{font-size:.58rem;color:#657487;text-transform:uppercase;letter-spacing:.07em;font-weight:800;}.tm-hero-status-row strong{font-size:.95rem;line-height:1.1}.tm-hero-status-row span{font-size:.65rem;color:#6f7e8e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.tm-priority-card{background:#fff;border:1px solid var(--tm133-line);border-radius:var(--tm133-radius);padding:19px 20px;box-shadow:var(--tm133-shadow-soft);display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:132px;}
.tm-priority-card h2{margin:2px 0 5px;font-size:1.18rem;letter-spacing:-.03em}.tm-priority-card p{margin:0;color:#687789;font-size:.8rem;}.tm-priority-card small{display:block;margin-top:7px;color:#a04c42;font-weight:650;}
.tm-upcoming-list{display:grid;}.tm-upcoming-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;border:0;border-bottom:1px solid #edf0f3;background:transparent;padding:10px 2px;text-align:left;color:#243247;}.tm-upcoming-row:last-child{border-bottom:0}.tm-upcoming-row>span{font-size:.65rem;font-weight:850;color:#e44332;text-transform:uppercase}.tm-upcoming-row strong{font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tm-upcoming-row small{font-size:.68rem;color:#7b8999;}
.tm-metric-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--tm133-line);border-radius:12px;background:#fff;overflow:hidden;box-shadow:var(--tm133-shadow-soft);}
.tm-metric-strip article{padding:15px 17px;display:grid;gap:3px;border-right:1px solid #edf0f3;min-width:0;}.tm-metric-strip article:last-child{border-right:0}.tm-metric-strip small{font-size:.62rem;color:#748294;text-transform:uppercase;letter-spacing:.055em;font-weight:750}.tm-metric-strip strong{font-size:1.4rem;line-height:1;color:#142033;letter-spacing:-.035em}.tm-metric-strip span{font-size:.66rem;color:#7e8c9b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.tm-meet-card{width:100%;display:grid;gap:4px;text-align:left;border:1px solid #e5e9ed;border-radius:10px;background:#f9fafb;padding:13px;margin-bottom:10px;color:#233146}.tm-meet-card small{color:#758497;text-transform:uppercase;font-weight:800;font-size:.58rem}.tm-meet-card strong{font-size:.86rem}.tm-meet-card span{font-size:.7rem;color:#748294}.tm-board-excerpt{font-size:.78rem;color:#526174;line-height:1.5;margin:9px 0 0;}

/* Existing result rows become concise activity ledger on Home */
.tm-dashboard-panel .experience-recent{border:0!important;border-radius:0!important;overflow:visible!important;}
.tm-dashboard-panel .experience-recent-row{border:0!important;border-bottom:1px solid #edf0f3!important;border-radius:0!important;padding:10px 2px!important;background:transparent!important;min-height:54px!important;}.tm-dashboard-panel .experience-recent-row:last-child{border-bottom:0!important}.tm-dashboard-panel .experience-recent-copy strong{font-size:.75rem!important}.tm-dashboard-panel .experience-recent-copy small{font-size:.64rem!important}.tm-dashboard-panel .experience-result-value b{font-size:.86rem!important;}

/* ===== Athlete Home ===== */
.tm-athlete-hero{position:relative;min-height:160px;border-radius:16px;border:1px solid var(--tm133-line);background:linear-gradient(105deg,#fff 0%,#f7f9fb 62%,#edf2f6 100%);padding:26px 30px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;box-shadow:var(--tm133-shadow-soft);}
.tm-athlete-hero h1{color:#101c2e!important}.tm-athlete-hero .tm-kicker{color:#22324a!important}.tm-athlete-hero-copy>p:last-child{margin:7px 0 0;color:#657487;max-width:470px;font-size:.84rem;}.tm-athlete-orbit{width:190px;height:190px;position:absolute;right:24px;top:-12px;border-radius:50%;border:1px solid #e7ebef;box-shadow:0 0 0 18px rgba(33,78,118,.04),0 0 0 40px rgba(228,67,50,.035);display:grid;place-items:center;}.tm-athlete-orbit::before,.tm-athlete-orbit::after{content:"";position:absolute;border-radius:50%;border:2px solid rgba(228,67,50,.22);inset:24px;transform:rotate(-18deg)}.tm-athlete-orbit::after{inset:50px;border-color:rgba(26,67,103,.20)}.tm-athlete-orbit span{width:74px;height:74px;border-radius:50%;display:grid;place-items:center;background:#0b2135;color:#fff;font-size:2rem;font-weight:850;box-shadow:0 10px 22px rgba(11,33,53,.18);z-index:1;}
.tm-next-action-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:15px;align-items:center;border:1px solid var(--tm133-line);border-radius:14px;background:#fff;padding:16px 18px;box-shadow:var(--tm133-shadow-soft);}.tm-next-action-icon{width:42px;height:42px;border-radius:10px;background:var(--tm133-red-soft);color:var(--tm133-red);display:grid;place-items:center;font-size:1.4rem;font-weight:900}.tm-next-action-card h2{font-size:1rem;margin:1px 0 3px}.tm-next-action-card p{margin:0;color:#6d7b8c;font-size:.72rem;}
.tm-performance-list,.tm-goal-list{display:grid;}.tm-performance-row,.tm-goal-row{border:0;border-bottom:1px solid #edf0f3;background:transparent;padding:10px 2px;display:grid;align-items:center;text-align:left;color:#213049;gap:10px}.tm-performance-row{grid-template-columns:minmax(0,1fr) auto 18px}.tm-performance-row>span:first-child,.tm-goal-row>span:nth-child(2){display:grid;gap:2px}.tm-performance-row strong,.tm-goal-row strong{font-size:.76rem}.tm-performance-row small,.tm-goal-row small{font-size:.64rem;color:#7b8998}.tm-performance-row>b{font-size:.84rem}.tm-goal-row{grid-template-columns:26px minmax(0,1fr) 18px}.tm-goal-index{width:24px;height:24px;border-radius:7px;background:#fff1ee;color:#dc3d2f;display:grid;place-items:center;font-size:.7rem;font-weight:850}.tm-goal-arrow{color:#8b98a6}.tm-team-note{margin-top:0;}

/* ===== Practice: approved current-set + capture composition ===== */
.tm-practice-header{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:4px 0 8px;}.tm-practice-header>div:first-child{min-width:0}.tm-practice-header .back-link{border:0;background:transparent;padding:0;color:#59708a;font-size:.7rem;margin-bottom:8px}.tm-practice-header h1{margin:2px 0 4px;font-size:clamp(1.75rem,3.2vw,2.55rem);letter-spacing:-.05em;line-height:1;color:#111d30}.tm-practice-header p:last-child{margin:0;color:#718093;font-size:.78rem;}
.tm-practice-progress{display:flex;align-items:center;gap:8px;min-width:310px;justify-content:flex-end;}.tm-practice-progress a{display:flex;align-items:center;gap:6px;color:#8a97a5;text-decoration:none;font-size:.7rem;font-weight:750}.tm-practice-progress a span{width:27px;height:27px;border-radius:50%;border:1px solid #cdd5dd;background:#fff;display:grid;place-items:center;font-size:.67rem}.tm-practice-progress a.active{color:#233247}.tm-practice-progress a.active span{background:var(--tm133-red);border-color:var(--tm133-red);color:#fff}.tm-practice-progress i{display:block;width:34px;height:1px;background:#d6dce2;}
.tm-practice-workspace{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.9fr);gap:18px;align-items:stretch;}
.tm-current-set-card,.tm-capture-card{border:1px solid var(--tm133-line);border-radius:15px;background:#fff;box-shadow:var(--tm133-shadow-soft);padding:19px;min-width:0;}
.tm-card-title-row,.tm-capture-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.tm-card-title-row h2,.tm-capture-card-head h2{font-size:1.05rem;margin:2px 0 0;color:#17243a;letter-spacing:-.025em}.tm-current-dose{font-size:.75rem;color:#6f7d8e;margin:6px 0 0;}
.tm-practice-visual{height:128px;margin:14px 0;border-radius:11px;background:linear-gradient(135deg,#f7f9fb 0%,#eef2f5 100%);position:relative;overflow:hidden;}.tm-practice-visual::before{content:"";position:absolute;right:-45px;bottom:-80px;width:260px;height:190px;border-radius:50%;border:3px solid rgba(228,67,50,.16);box-shadow:0 0 0 16px rgba(228,67,50,.08),0 0 0 33px rgba(11,33,53,.06)}.tm-track-line{position:absolute;right:0;left:38%;height:1px;background:rgba(228,67,50,.24);transform:rotate(-8deg);transform-origin:right}.tm-track-line-one{bottom:38px}.tm-track-line-two{bottom:58px}.tm-runner-mark{position:absolute;left:48%;top:31%;width:44px;height:55px;z-index:1}.tm-runner-mark::before{content:"";position:absolute;width:17px;height:17px;border-radius:50%;background:#0d2b43;top:0;left:14px}.tm-runner-mark::after{content:"";position:absolute;width:43px;height:29px;border:7px solid #0d2b43;border-left-color:transparent;border-bottom-color:var(--tm133-red);border-radius:50%;top:17px;left:0;transform:rotate(-16deg)}
.tm-set-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:10px}.tm-set-progress div{display:grid;gap:2px}.tm-set-progress span{font-size:.59rem;color:#7c8998;text-transform:uppercase;font-weight:750}.tm-set-progress strong{font-size:.8rem;color:#223047}.tm-set-progress-bar{height:5px;border-radius:999px;background:#e7ebef;overflow:hidden}.tm-set-progress-bar span{display:block;height:100%;width:var(--tm-progress,20%);background:linear-gradient(90deg,var(--tm133-red),#f06952);border-radius:inherit}.tm-current-set-card>small{display:block;margin-top:8px;color:#728092;font-size:.67rem;}
.tm-recommended-badge{font-size:.57rem;font-weight:850;letter-spacing:.08em;color:#385cbe;background:#eef2ff;border-radius:999px;padding:5px 8px}.tm-capture-primary{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;padding:14px 0 16px;border-bottom:1px solid #edf0f3}.tm-capture-primary-icon{width:40px;height:40px;border-radius:10px;background:#eef2ff;color:#3657bd;display:grid;place-items:center;font-size:1.3rem}.tm-capture-primary>div{display:grid;gap:2px}.tm-capture-primary strong{font-size:.8rem}.tm-capture-primary small{font-size:.65rem;color:#738193}.tm-capture-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:12px 0}.tm-capture-shortcut{min-height:72px;border:1px solid #e4e9ee;border-radius:10px;background:#f9fafb;color:#344255;padding:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-align:center;}.tm-capture-shortcut-icon{font-size:1rem;color:#526b86}.tm-capture-shortcut strong{font-size:.64rem}.tm-capture-shortcut small{font-size:.52rem;color:#8290a0;display:none}.tm-manual-shortcut{padding:0}.tm-manual-shortcut>summary{list-style:none;width:100%;min-height:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer}.tm-manual-shortcut>summary::-webkit-details-marker{display:none}.tm-manual-shortcut form{position:absolute;z-index:20;background:#fff;border:1px solid var(--tm133-line);border-radius:10px;box-shadow:var(--tm133-shadow);padding:12px;width:260px;right:20px;display:grid;gap:8px}.tm-more-tools{border-top:1px solid #edf0f3}.tm-more-tools>summary{list-style:none;display:flex;justify-content:space-between;padding:10px 0 0;font-size:.68rem;font-weight:750;color:#51647a;cursor:pointer}.tm-more-tools>summary::-webkit-details-marker{display:none}.tm-more-tools-body{padding-top:12px}.tm-capture-trust{font-size:.61rem;color:#8492a1;margin:10px 0 0;}
.tm-practice-flow-list{background:#fff;border:1px solid var(--tm133-line);border-radius:14px;padding:18px;box-shadow:var(--tm133-shadow-soft)}.tm-practice-flow-list>a,.tm-practice-flow-list>button{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;border:0;border-bottom:1px solid #edf0f3;background:transparent;padding:11px 2px;text-decoration:none;color:#26344a;text-align:left}.tm-practice-flow-list>a:last-child{border-bottom:0}.tm-flow-state{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#eef2f5;color:#758394;font-size:.66rem;font-weight:850}.tm-practice-flow-list .active .tm-flow-state{background:#eaf1ff;color:#2b62bd}.tm-practice-flow-list .complete .tm-flow-state{background:#e9f7ef;color:#18824f}.tm-practice-flow-list strong{font-size:.76rem}.tm-practice-flow-list small{font-size:.63rem;color:#7b8998}.tm-practice-flow-list b{font-size:.62rem;color:#728194}.tm-practice-flow-list .complete b{color:#178351}
.tm-practice-drawer,.tm-results-evidence-drawer{border:1px solid var(--tm133-line);border-radius:14px;background:#fff;box-shadow:var(--tm133-shadow-soft);overflow:hidden}.tm-practice-drawer>summary,.tm-results-evidence-drawer>summary{list-style:none;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.tm-practice-drawer>summary::-webkit-details-marker,.tm-results-evidence-drawer>summary::-webkit-details-marker{display:none}.tm-practice-drawer>summary>span:first-child,.tm-results-evidence-drawer>summary>span:first-child{display:grid;gap:2px}.tm-practice-drawer>summary small{font-size:.58rem;letter-spacing:.09em;color:#7d8b9a;font-weight:800}.tm-practice-drawer>summary strong,.tm-results-evidence-drawer>summary strong{font-size:.82rem}.tm-practice-drawer-body,.tm-results-evidence-body{border-top:1px solid #edf0f3;padding:18px;display:grid;gap:16px;background:#fafbfc}

/* ===== Results becomes Performance dashboard ===== */
.tm-performance-shell{display:grid;gap:18px}.tm-performance-title{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:2px 0}.tm-performance-title h1{font-size:clamp(2rem,3.5vw,2.8rem);letter-spacing:-.055em;line-height:.98;margin:2px 0 4px;color:#101c2e}.tm-performance-title p:last-child{margin:0;color:#6f7d8d;font-size:.82rem}.tm-performance-actions{display:flex;gap:7px;align-items:center}.tm-results-tabs{display:flex;gap:4px;border-bottom:1px solid var(--tm133-line);padding:0 1px}.tm-results-tabs a,.tm-results-tabs button{border:0;background:transparent;text-decoration:none;color:#6d7a8a;font-size:.7rem;font-weight:750;padding:9px 12px;border-bottom:2px solid transparent;margin-bottom:-1px}.tm-results-tabs .active{color:#16263d;border-color:var(--tm133-red)}
.tm-performance-metrics{box-shadow:none}.tm-performance-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.72fr);gap:16px}.tm-performance-chart-panel{background:#fff;border:1px solid var(--tm133-line);border-radius:14px;padding:18px;box-shadow:var(--tm133-shadow-soft);min-height:270px}.tm-performance-chart-panel .tm-chart{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}.tm-performance-chart-panel .tm-chart h3,.tm-performance-chart-panel .tm-chart>p{display:none!important}.tm-performance-chart-panel .tm-chart svg{width:100%!important;height:190px!important}.tm-performance-chart-panel .tm-chart-line{stroke:var(--tm133-red)!important;stroke-width:2.4!important}.tm-performance-chart-panel .tm-chart-dot{fill:#fff!important;stroke:var(--tm133-red)!important;stroke-width:2!important}.tm-performance-chart-panel .tm-chart-gridline{stroke:#e8edf1!important}.tm-empty-chart{height:190px;border-radius:10px;background:linear-gradient(180deg,#fbfcfd,#f6f8fa);display:grid;place-items:center;color:#8794a3;font-size:.75rem}.tm-event-mix{box-shadow:var(--tm133-shadow-soft)!important}.tm-event-mix-row{display:grid;grid-template-columns:78px minmax(0,1fr) 28px;gap:8px;align-items:center;padding:8px 0}.tm-event-mix-row>span{font-size:.68rem;color:#536477;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tm-event-mix-row>div{height:7px;background:#edf1f4;border-radius:99px;overflow:hidden}.tm-event-mix-row i{display:block;height:100%;width:var(--tm-event-width);background:linear-gradient(90deg,var(--tm133-red),#f17a62);border-radius:inherit}.tm-event-mix-row b{font-size:.65rem;color:#6e7c8c;text-align:right}
.tm-performance-recent{padding:0!important;overflow:hidden}.tm-performance-recent .tm-panel-head{padding:17px 18px 8px;margin:0}.tm-performance-table{display:grid}.tm-performance-table-head,.tm-performance-table-row{display:grid;grid-template-columns:minmax(120px,1.1fr) minmax(90px,.8fr) minmax(80px,.6fr) 90px 20px;gap:10px;align-items:center}.tm-performance-table-head{padding:8px 18px;background:#f7f9fb;border-top:1px solid #edf0f3;border-bottom:1px solid #e5e9ed;color:#7c8998;font-size:.57rem;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.tm-performance-table-row{border:0;border-bottom:1px solid #edf0f3;background:#fff;padding:10px 18px;text-align:left;color:#25344a}.tm-performance-table-row:hover{background:#fafbfc}.tm-performance-table-row span{font-size:.7rem}.tm-performance-table-row strong{font-size:.76rem}.tm-performance-table-row small{font-size:.65rem;color:#758495}.tm-performance-table-row b{color:#8996a4}.result-persistence-note{border-radius:10px!important;background:#f8fafb!important;box-shadow:none!important;}
.tm-results-evidence-drawer>summary{background:#fff}.tm-results-evidence-body .results-command-center,.tm-results-evidence-body .results-event-aggregate-section,.tm-results-evidence-body .results-evidence-section{background:#fff;border:1px solid var(--tm133-line);border-radius:12px;padding:16px;}

/* ===== Tools: compact job-based launcher ===== */
.tm-tools-search{background:#fff;border:1px solid var(--tm133-line);border-radius:12px;padding:14px 16px;box-shadow:var(--tm133-shadow-soft)}.tm-tools-search label{display:flex;align-items:center;gap:12px}.tm-tools-search label>span{font-size:.7rem;font-weight:800;color:#48596d;white-space:nowrap}.tm-tools-search input{flex:1;min-width:0}.tm-tools-search .helper{margin:6px 0 0 92px;font-size:.62rem}.tm-tools-suggested,.tm-tools-recent{display:grid;gap:10px}.tm-tool-chip-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tm-tool-chip{border:1px solid var(--tm133-line);border-radius:11px;background:#fff;min-height:76px;padding:12px 13px;display:grid;grid-template-columns:minmax(0,1fr) 16px;grid-template-rows:auto auto;text-align:left;color:#26354a;box-shadow:var(--tm133-shadow-soft)}.tm-tool-chip span{font-size:.75rem;font-weight:800}.tm-tool-chip small{font-size:.61rem;color:#7c8997;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tm-tool-chip b{grid-column:2;grid-row:1/3;align-self:center;color:#7d8b9a}.tm-tool-chip-muted{box-shadow:none;background:#f9fafb}.tm-tool-category-list{border:1px solid var(--tm133-line);border-radius:14px;overflow:hidden;background:#fff;box-shadow:var(--tm133-shadow-soft)}.tm-tool-category{border:0!important;border-bottom:1px solid #edf0f3!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;margin:0!important}.tm-tool-category:last-child{border-bottom:0!important}.tm-tool-category>summary{list-style:none!important;display:grid!important;grid-template-columns:38px minmax(0,1fr) 30px 18px!important;gap:10px!important;align-items:center!important;min-height:65px!important;padding:10px 15px!important;background:#fff!important;cursor:pointer}.tm-tool-category>summary::-webkit-details-marker{display:none}.tm-tool-category[open]>summary{background:#f8fafb!important}.tm-tool-category-icon{width:36px;height:36px;border-radius:9px;background:#eef3ff;color:#315fc0;display:grid;place-items:center}.tm-tool-category:nth-child(2) .tm-tool-category-icon{background:#eef7f3;color:#168251}.tm-tool-category:nth-child(3) .tm-tool-category-icon{background:#eef3ff;color:#315fc0}.tm-tool-category:nth-child(4) .tm-tool-category-icon{background:#fff1ee;color:#d94232}.tm-tool-category:nth-child(5) .tm-tool-category-icon{background:#f1f0ff;color:#5a55bb}.tm-tool-category-icon svg{width:19px;height:19px}.tm-tool-category-copy{display:grid;gap:3px;min-width:0}.tm-tool-category-copy strong{font-size:.76rem}.tm-tool-category-copy small{font-size:.6rem;color:#84919f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tm-tool-category-count{font-size:.62rem;color:#8794a2;text-align:right}.tm-tool-category-arrow{font-size:1.2rem;color:#8c98a5}.tm-tool-category-body{padding:0 14px 14px;background:#f8fafb}.tm-tool-category-body .experience-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.tm-tool-category-body .experience-action{background:#fff!important;border:1px solid #e2e7ec!important;border-radius:9px!important;box-shadow:none!important;min-height:62px!important}.tm-tools-local-order{margin-top:0!important;}

/* ===== Existing generic surfaces aligned with the approved visual language ===== */
.experience-section,.evidence-panel,.entry-panel,.surface-card,.card,.experience-team-card,.experience-onboarding,.experience-empty,.home-team-pulse,.tm-chart,.result-analysis-card,.results-command-center,.results-event-aggregate-section,.results-evidence-section{border-color:var(--tm133-line)!important;box-shadow:var(--tm133-shadow-soft)!important;background:#fff!important;}
.experience-action{border:1px solid var(--tm133-line)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;min-height:64px!important}.experience-action:hover{background:#f8fafb!important;border-color:#cbd4de!important}.experience-action-icon{background:#f2f5f8!important;color:#49637e!important;border-radius:8px!important}.experience-action-copy strong{color:#223047!important;font-size:.76rem!important}.experience-action-copy small{color:#7d8998!important;font-size:.62rem!important}.experience-chevron{color:#8a96a4!important;}
.experience-disclosure,.experience-admin-details,.entry-panel{border-radius:12px!important;overflow:hidden!important}.experience-disclosure>summary,.experience-admin-details>summary,.entry-panel>summary{background:#fff!important;border:0!important;padding:14px 16px!important}.experience-disclosure-body{background:#fafbfc!important;border-top:1px solid #edf0f3!important;}
.status-pill{box-shadow:none!important;}
.table-wrap table,.results-table-wrap table{background:#fff!important}.table-wrap th,.results-table-wrap th{background:#f7f9fb!important;color:#718093!important;font-size:.62rem!important;text-transform:uppercase!important;letter-spacing:.055em!important}.table-wrap td,.results-table-wrap td{border-color:#edf0f3!important;}

/* ===== Mobile ===== */
.tm-approved-bottom-nav{background:rgba(255,255,255,.98)!important;border-top:1px solid #dfe5eb!important;box-shadow:0 -7px 22px rgba(18,37,56,.08)!important;backdrop-filter:blur(15px)!important;padding:5px 6px calc(5px + env(safe-area-inset-bottom,0px))!important;gap:0!important;}
.tm-approved-bottom-nav .nav-link{border:0!important;border-radius:9px!important;background:transparent!important;color:#687789!important;min-height:52px!important;display:grid!important;place-items:center!important;gap:1px!important;padding:3px!important;font-size:.58rem!important;font-weight:700!important;}
.tm-approved-bottom-nav .nav-mark{width:20px!important;height:20px!important}.tm-approved-bottom-nav .nav-link.active{color:#2b66c3!important;background:#eef4ff!important}.tm-approved-bottom-nav .nav-link.active .nav-mark{color:#2b66c3!important;}

@media(min-width:960px){
  .tm-approved-shell.app-shell{grid-template-columns:205px minmax(0,1fr)!important;}
  .tm-approved-rail{width:205px!important;display:flex!important;flex-direction:column!important;position:fixed!important;inset:0 auto 0 0!important;z-index:40!important;}
  .main-shell{grid-column:2!important;min-height:100dvh!important;}
  .tm-approved-bottom-nav{display:none!important;}
  .tm-mobile-brand-text{display:none!important;}
}

@media(max-width:959px){
  .tm-approved-shell.app-shell{display:block!important;padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))!important;}
  .tm-approved-rail{display:none!important;}
  .main-shell{width:100%!important;}
  #main{padding:22px 18px 92px!important;}
  .tm-approved-topbar{padding:6px 14px!important;min-height:58px!important;}
  .tm-desktop-context,.tm-sync-chip{display:none!important;}
  .tm-global-search{width:38px!important;height:38px!important;border:0!important;background:transparent!important;padding:0!important;display:grid!important;place-items:center!important;}
  .tm-global-search span,.tm-global-search kbd{display:none!important}.tm-global-search svg{width:20px;height:20px}.tm-profile-button{display:none!important;}
  .tm-approved-bottom-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:60!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;}
  .tm-dashboard-columns,.tm-dashboard-columns-priority,.tm-practice-workspace,.tm-performance-grid{grid-template-columns:1fr!important;}
  .tm-coach-hero{min-height:245px;padding:24px 20px 18px}.tm-coach-hero h1{font-size:2.2rem!important}.tm-hero-status-row{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:24px}.tm-hero-status-row button{min-height:72px;padding:9px}.tm-hero-status-row small{font-size:.5rem}.tm-hero-status-row strong{font-size:.8rem}.tm-hero-status-row span{font-size:.55rem}
  .tm-practice-header{align-items:flex-start;flex-direction:column}.tm-practice-progress{min-width:0;width:100%;justify-content:flex-start}.tm-practice-progress i{flex:1;max-width:44px}.tm-practice-workspace{gap:14px}.tm-current-set-card,.tm-capture-card{padding:16px}.tm-capture-shortcuts{grid-template-columns:repeat(4,1fr)}
  .tm-performance-title{align-items:flex-start;flex-direction:column}.tm-results-tabs{overflow-x:auto;scrollbar-width:none}.tm-results-tabs::-webkit-scrollbar{display:none}.tm-results-tabs a,.tm-results-tabs button{white-space:nowrap}.tm-performance-table-head{display:none}.tm-performance-table-row{grid-template-columns:minmax(0,1fr) auto 18px;grid-template-areas:"athlete result arrow" "event date arrow";gap:2px 10px;padding:11px 15px}.tm-performance-table-row span:first-child{grid-area:athlete;font-weight:750}.tm-performance-table-row span:nth-child(2){grid-area:event;color:#748294}.tm-performance-table-row strong{grid-area:result;text-align:right}.tm-performance-table-row small{grid-area:date;text-align:right}.tm-performance-table-row b{grid-area:arrow;align-self:center}
  .tm-tool-chip-row{grid-template-columns:1fr}.tm-tool-category-body .experience-action-grid{grid-template-columns:1fr!important}.tm-tools-search label{display:grid;gap:7px}.tm-tools-search .helper{margin-left:0}
}

@media(max-width:599px){
  #main{padding:16px 13px 88px!important;}
  .page,.experience-page,.tm-dashboard-page{gap:14px!important;}
  .tm-coach-hero{border-radius:13px;min-height:228px;padding:20px 15px 14px}.tm-coach-hero::before{right:-18%;bottom:-42%;width:210px;height:170px}.tm-coach-hero-copy>p:last-child{font-size:.75rem}.tm-hero-status-row{gap:5px;margin-top:20px}.tm-hero-status-row button{border-radius:8px;padding:8px 7px;min-height:70px}.tm-hero-status-row small{letter-spacing:0}.tm-hero-status-row strong{font-size:.72rem}.tm-hero-status-row span{font-size:.5rem}
  .tm-priority-card{align-items:stretch;flex-direction:column;padding:15px;min-height:0}.tm-priority-card .btn{width:100%}.tm-dashboard-panel,.tm-dashboard-section{padding:14px}.tm-metric-strip{grid-template-columns:repeat(2,1fr)}.tm-metric-strip article:nth-child(2){border-right:0}.tm-metric-strip article:nth-child(-n+2){border-bottom:1px solid #edf0f3}.tm-metric-strip article{padding:13px}.tm-metric-strip strong{font-size:1.2rem}
  .tm-athlete-hero{padding:20px 16px;min-height:148px}.tm-athlete-orbit{width:130px;height:130px;right:-20px;top:9px;opacity:.75}.tm-athlete-orbit span{width:54px;height:54px;font-size:1.4rem}.tm-athlete-hero-copy{position:relative;z-index:2;max-width:70%}.tm-athlete-hero h1{font-size:2.15rem!important}.tm-athlete-hero-copy>p:last-child{font-size:.72rem}.tm-next-action-card{grid-template-columns:38px 1fr;padding:13px}.tm-next-action-card>.btn{grid-column:1/-1;width:100%}.tm-next-action-icon{width:36px;height:36px}
  .tm-practice-header h1{font-size:1.85rem}.tm-practice-progress{gap:4px}.tm-practice-progress a strong{font-size:.62rem}.tm-practice-progress i{max-width:25px}.tm-current-set-card,.tm-capture-card{border-radius:12px}.tm-practice-visual{height:105px}.tm-set-progress{gap:3px}.tm-capture-primary{grid-template-columns:36px 1fr}.tm-capture-primary>.btn{grid-column:1/-1;width:100%}.tm-capture-shortcuts{grid-template-columns:repeat(4,1fr);gap:4px}.tm-capture-shortcut{min-height:62px;padding:5px}.tm-capture-shortcut strong{font-size:.57rem}.tm-manual-shortcut form{position:fixed;left:12px;right:12px;bottom:80px;width:auto}.tm-practice-flow-list{padding:13px}.tm-practice-flow-list>a,.tm-practice-flow-list>button{grid-template-columns:27px minmax(0,1fr) auto;padding:10px 0}.tm-practice-drawer>summary,.tm-results-evidence-drawer>summary{padding:14px}.tm-practice-drawer-body,.tm-results-evidence-body{padding:12px}
  .tm-performance-title h1{font-size:2.15rem}.tm-performance-actions{width:100%}.tm-performance-actions .btn{flex:1}.tm-performance-chart-panel{padding:14px;min-height:235px}.tm-performance-chart-panel .tm-chart svg{height:160px!important}.tm-event-mix-row{grid-template-columns:68px 1fr 24px}.tm-performance-recent .tm-panel-head{padding:14px 14px 7px}.result-persistence-note{font-size:.68rem!important}
  .tm-tool-category>summary{grid-template-columns:36px minmax(0,1fr) 22px 14px!important;padding:9px 12px!important}.tm-tool-category-copy small{max-width:210px}.tm-tool-category-body{padding:0 10px 10px}.tm-tools-search{padding:12px}
}

@media(max-width:360px){
  #main{padding-inline:10px!important}.tm-hero-status-row{grid-template-columns:1fr}.tm-coach-hero{min-height:auto}.tm-hero-status-row button{min-height:54px}.tm-hero-status-row span{display:none}.tm-capture-shortcuts{grid-template-columns:repeat(2,1fr)}.tm-results-tabs a,.tm-results-tabs button{padding-inline:9px}.tm-approved-topbar{padding-inline:10px!important}.tm-mobile-brand-text{font-size:.76rem}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.tm-approved-shell *{transition:none!important;animation:none!important;}}
@media(forced-colors:active){.tm-coach-hero,.tm-approved-rail,.tm-approved-topbar,.tm-dashboard-panel,.tm-dashboard-section,.tm-current-set-card,.tm-capture-card,.tm-performance-chart-panel,.tm-tool-category-list,.tm-practice-drawer,.tm-results-evidence-drawer{forced-color-adjust:auto!important;border:1px solid CanvasText!important;box-shadow:none!important}.tm-lane-mark i,.tm-set-progress-bar span,.tm-event-mix-row i{background:Highlight!important}.tm-approved-bottom-nav .nav-link.active{outline:2px solid Highlight!important}.tm-coach-hero h1,.tm-coach-hero p{color:CanvasText!important}.tm-coach-hero{background:Canvas!important;}}

@media print{.tm-approved-rail,.tm-approved-topbar,.tm-approved-bottom-nav,.local-state,.tm-global-search{display:none!important}#main{padding:0!important;max-width:none!important}.tm-dashboard-panel,.tm-dashboard-section,.tm-current-set-card,.tm-capture-card,.tm-performance-chart-panel,.tm-practice-drawer,.tm-results-evidence-drawer{box-shadow:none!important;break-inside:avoid}}
