/* CoachLi visual hierarchy v2. Presentation only; no business state changes. */
:root{--coach-paper:#f7f9fc;--coach-ink:#172b42;--coach-muted:#617286;--coach-line:#e4eaf1;--coach-blue:#1266d7}
body{background:var(--coach-paper);-webkit-font-smoothing:antialiased}
.ui-header{min-height:52px!important;padding-block:8px!important;gap:12px!important}.ui-header>strong{font-size:12px!important}.ui-header>a:first-child{font-size:14px!important}
:is(.ui-main,.dc-main,.edu-main){padding-top:10px!important;padding-bottom:28px!important}
.cl-page-heading{margin-bottom:16px!important;padding-right:0!important}.cl-page-heading::after{display:none!important}
:is(.cl-page-heading h1,.dc-header h1,.edu-head h1){font-size:clamp(27px,4vw,34px)!important;line-height:1.25!important;letter-spacing:-.04em;margin-block:3px 7px!important}
.cl-eyebrow,.coach-kicker{font-size:11px!important;color:#54769b!important;font-weight:600;letter-spacing:.06em;margin:0 0 5px!important}
.hierarchy-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.hierarchy-heading>div{min-width:0}.hierarchy-heading>button{flex:none;font-size:14px;min-height:42px;padding:9px 14px;border-radius:12px}.hierarchy-heading p:not(.cl-eyebrow){font-size:13px!important;line-height:1.6;margin:0!important}
/* Navigation sits above the content, never over it. */
:is(.ui-subnav,.dc-tabs){gap:4px!important;margin:8px 0 16px!important;padding:0!important;border-bottom:1px solid var(--coach-line);border-radius:0!important;background:transparent!important;align-items:center;flex-wrap:wrap!important}
:is(.ui-subnav,.dc-tabs)>:is(a,button){border:0!important;border-radius:0!important;background:transparent!important;color:var(--coach-muted);padding:11px 10px!important;min-height:44px;font-size:14px!important;font-weight:500;box-shadow:none!important;text-decoration:none!important}
:is(.ui-subnav,.dc-tabs)>:is(a[aria-current=page],button.active){color:var(--coach-blue)!important;box-shadow:inset 0 -2px var(--coach-blue)!important;font-weight:700;background:transparent!important}
.hierarchy-secondary-nav{display:flex;gap:6px;flex-wrap:wrap;width:100%;padding:6px 0 10px}.hierarchy-secondary-nav>button{padding:8px 10px!important;font-size:13px!important;background:#edf2f8;border:0;min-height:40px}.hierarchy-secondary-nav>button.active{background:#e4eeff;color:#125db9}
/* Team data: the list, not its filters, is the main object. */
#team-focus{border:0!important;border-radius:0!important;background:transparent!important;padding:6px 0 12px!important;margin:0!important;gap:12px;border-bottom:1px solid var(--coach-line)!important}
#team-focus h2{font-size:21px!important;letter-spacing:-.025em;margin-bottom:4px!important}#team-focus p{font-size:12px!important;margin-block:3px!important}#team-focus .coach-focus-art{width:48px;height:58px;flex-basis:48px}#team-focus .coach-focus-facts{margin-top:7px;font-size:12px;gap:5px 12px}
#athlete-main #filters{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;gap:8px!important;align-items:end;margin:14px 0 8px!important}
#athlete-main #filters>.team-search{grid-column:1/-1;margin:0!important}#athlete-main #filters>label:not(.team-search){grid-column:1;grid-row:2;margin:0!important;min-width:0}
#athlete-main #filters>button{grid-row:2;min-height:42px!important}#athlete-main #filters>.team-filter-fold{grid-column:1/-1;grid-row:3;min-width:0}#athlete-main .team-filter-fold>summary{display:inline-flex;font-size:12px;color:#567394;min-height:36px}
#athlete-main .record-tools{margin:0 0 10px!important;padding:0!important;gap:8px}#athlete-main .record-tools .check-label{font-size:12px;margin:0;min-height:38px}#athlete-main .record-tools summary{font-size:12px;min-height:38px}.record-definition{margin:12px 0!important}
.coach-section-head{margin:12px 0 8px!important}.coach-section-head h2{font-size:17px!important}.record-scroll{border-radius:12px!important;max-height:65dvh!important;box-shadow:0 3px 16px #233b5a03}.record-table th{background:#edf3fb!important;font-size:12px!important}.record-table td{font-size:14px}.record-table :is(th,td){padding:12px!important;min-width:108px}.record-table :is(th,td):first-child{min-width:132px}.record-table td small{font-size:11px!important}
#profile>.coach-focus{border-radius:18px;padding:20px;background:linear-gradient(115deg,#e6f0ff,#f3f7fc)}
/* Library: search first; each problem owns its methods. */
.library-search{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:12px;align-items:end}.library-search label{margin:0;font-size:12px}.library-search input,.library-search select{min-height:46px;margin-top:5px}.library-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:10px 0 18px}.library-toolbar>p{margin:0!important;font-size:12px;color:var(--coach-muted)}.library-manage{flex:none}.library-manage>summary{color:#57779c;font-size:12px;cursor:pointer;min-height:40px;align-content:center}.library-manage .record-actions{margin:4px 0 8px}
#items>.ui-item{padding:20px!important;border:1px solid var(--coach-line)!important;border-radius:16px!important;margin:0 0 14px!important;background:#fff}#items>.ui-item>small{background:#eff4fb;color:#517195;padding:3px 8px;border-radius:5px;font-size:11px}#items>.ui-item h2{font-size:21px!important;line-height:1.4;margin:10px 0!important}#items>.ui-item>p{font-size:13px;line-height:1.75;margin:6px 0;color:#596e83}#items>.ui-item>details>summary{font-size:15px!important;line-height:1.6;min-height:48px;align-content:center;color:#213e60}#items>.ui-item>details>p{font-size:14px;line-height:1.8;white-space:pre-line}#items .record-actions{margin-block:6px!important}#items [data-add]{font-size:13px;min-height:42px}
.ui-message{padding:22px 18px!important;background:#fff!important;border:1px dashed #d9e2ed!important;border-radius:14px!important;color:#617286!important;font-size:14px!important;line-height:1.8}
/* Less setup chrome, more room for the class and its people. */
.edu-head{margin:8px 0 16px!important;gap:10px!important}.edu-head-actions{gap:8px!important}.edu-head-actions details{position:static!important}.edu-head-actions details[open]{width:100%;flex-basis:100%}.edu-head-actions .nav-more{position:static!important;display:flex!important;flex-wrap:wrap;gap:8px;min-width:0!important;max-width:none!important;width:100%;padding:10px!important;margin:4px 0 0!important;box-shadow:none!important;border-radius:12px!important;background:#eef3fa!important}.edu-head-actions .nav-more>*{width:auto!important;padding:9px 12px!important;min-height:40px;font-size:13px!important;background:#fff;border-radius:8px}
.edu-box{padding:20px!important;border-radius:16px!important}.edu-box h2{font-size:20px!important;margin-bottom:10px!important}.edu-box>p{font-size:13px!important;line-height:1.7;margin-bottom:16px!important}.edu-starter{padding:20px!important;margin-bottom:16px!important}.edu-starter h2{font-size:23px!important}.edu-starter p{font-size:13px!important}.edu-starter-steps{gap:8px!important}.edu-step{padding:12px!important;min-height:0!important}.edu-step strong{font-size:14px!important}.edu-step small{font-size:12px!important}
.dc-header{margin:6px 0 12px!important;padding:0!important;gap:8px!important}.dc-eyebrow{display:none!important}.dc-date{font-size:12px!important}.decision-date-fold{margin:0 0 12px!important}.decision-date-fold>summary{font-size:12px;min-height:36px}.dc-filters{padding:12px!important;border-radius:12px!important;margin:6px 0!important;gap:8px!important}.dc-period>button{padding:8px 11px!important;min-height:40px!important}.dc-card{padding:20px!important;border-radius:16px!important;margin-bottom:14px!important}.dc-card h2{font-size:21px!important}.dc-card p{font-size:13px;line-height:1.8}.dc-main .coach-history{padding:16px 0!important}
#home-hero{padding:8px 0 14px!important;margin:0!important;min-height:0!important}#home-hero h1{margin:4px 0 8px!important;font-size:28px!important}#home-hero p{font-size:13px!important}.cl-training-shortcuts{margin-bottom:16px!important;gap:8px!important}.cl-training-shortcuts>a{min-height:84px!important;padding:13px!important;border-radius:14px!important}.cl-training-shortcuts>a strong{font-size:18px!important}.shortcut-index{margin-bottom:4px!important}#today-training-card{padding:20px!important;margin-bottom:16px!important;border-radius:18px!important}#today-training-card .big-number strong{font-size:28px!important}.coach-empty{padding:22px 16px!important}.coach-empty h3{font-size:19px!important}.coach-empty p{font-size:13px!important;margin-bottom:14px!important}
.cl-tasks-page .ui-hub{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;background:transparent!important;border:0!important;gap:10px!important;padding:0!important}.cl-tasks-page .ui-hub a{padding:16px!important;border:1px solid var(--coach-line)!important;border-radius:14px!important;background:#fff!important;min-width:0}.cl-tasks-page .ui-hub a strong{font-size:16px!important}.cl-tasks-page .ui-hub a small{font-size:12px!important;line-height:1.6}.cl-tasks-page .cl-tasks-hero h1{font-size:28px!important}
.ui-bottom{padding-top:5px!important;background:#ffffffed!important;box-shadow:0 -4px 20px #1a3a6503}.ui-bottom a{border-radius:12px!important;margin:4px!important;min-height:54px!important}.ui-bottom a[aria-current=page]{background:#eaf2ff!important}.ui-bottom svg{width:21px!important;height:21px!important}.ui-bottom span{font-size:12px!important}
dialog{border-radius:20px!important;border:1px solid #e0e7f0!important;padding:22px!important;max-width:min(560px,calc(100vw - 24px))!important}dialog::backdrop{background:#172b426b;backdrop-filter:blur(5px)}dialog h2{font-size:23px!important;margin-bottom:16px!important}dialog label{font-size:13px!important;margin:12px 0!important}dialog fieldset{border:1px solid #e0e8f2;border-radius:12px;padding:14px;margin:16px 0}dialog legend{font-size:13px;color:#3f6796;padding:0 6px}dialog textarea{min-height:92px!important}dialog .record-actions{padding-top:12px;border-top:1px solid var(--coach-line)}
@media(min-width:700px){#athlete-main #filters{grid-template-columns:minmax(180px,1.4fr) minmax(140px,1fr) auto auto!important}#athlete-main #filters>.team-search{grid-column:1;grid-row:1}#athlete-main #filters>label:not(.team-search){grid-column:2;grid-row:1}#athlete-main #filters>button{grid-row:1}.cl-tasks-page .ui-hub{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:480px){:is(.ui-main,.dc-main,.edu-main){padding-inline:18px!important}.library-search{grid-template-columns:minmax(0,1fr) 112px;gap:8px}.library-toolbar{align-items:start;gap:8px}.library-toolbar>p{max-width:65%}.hierarchy-heading{gap:8px}.hierarchy-heading>button{font-size:13px;padding-inline:12px}#items>.ui-item{padding:17px!important}.cl-tasks-page .ui-hub a{padding:14px!important}.edu-box,.dc-card{padding:18px!important}.ui-header{padding-inline:18px!important}.dc-tabs>button{padding-inline:9px!important;font-size:13px!important}.hierarchy-secondary-nav{gap:5px}.hierarchy-secondary-nav>button{font-size:12px!important;padding:8px 9px!important}.cl-training-shortcuts>a{padding:12px!important}.cl-training-shortcuts>a small{font-size:11px!important}}
@media(prefers-reduced-motion:no-preference){.ui-hub a,.ui-subnav a,.dc-tabs button{transition:background .16s,color .16s,box-shadow .16s}.ui-hub a:active{background:#e9f2ff!important;transform:translateY(1px)}}
#athlete-main:has(#profile:not([hidden])) .hierarchy-heading>#new-record{display:none!important}.library-toolbar:has(.library-manage[open]){flex-wrap:wrap}.library-manage[open]{flex:1 1 100%;border-block:1px solid var(--coach-line);padding-block:5px}.library-manage[open] .record-actions>button{font-size:13px;min-height:40px}
