/* TKY-26: Coach workspace refresh.
   Deliberately additive: the original app.css remains the fallback. */
.shell {
  --panel-navy: #0b2946;
  --panel-teal: #0d9d9e;
  --panel-ink: #113b55;
  --panel-border: #dbe9ef;
  --panel-muted: #617889;
  background: linear-gradient(145deg,#f1f7fb 0%,#f8fbfd 58%,#edf8f6 100%);
  color: var(--panel-ink);
}
.shell > .sidebar {
  background: linear-gradient(155deg,#061b32 0%,#0d3a60 65%,#0e5a68 100%);
  border-left: 1px solid rgba(255,255,255,.12);
  box-shadow: -9px 0 32px rgba(13,42,65,.07);
}
.shell .sidebar .brand { font-size: 23px; line-height: 1.55; }
.shell .sidebar .brand .mark {
  background: linear-gradient(135deg,#1bdaca,#80f0dc);
  color: #062d3c;
  box-shadow: 0 7px 22px rgba(15,215,192,.20);
}
.shell .sidebar .side-caption {
  color: #a9d5d8;
  letter-spacing: .15px;
}
.shell .sidebar nav { gap: 6px; }
.shell .sidebar nav a {
  display: block;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 10px 13px;
  color: #deecf5;
  transition: background-color .18s,border-color .18s,color .18s;
}
.shell .sidebar nav a:hover,
.shell .sidebar nav a.selected {
  color: #ecfffd;
  background: rgba(51,204,195,.15);
  border-color: rgba(112,229,214,.25);
  text-decoration: none;
}
.shell .sidebar nav a.selected { box-shadow: inset -3px 0 #21d5c3; }
.shell .sidebar nav a span { color: #77d6cc; }
.shell .sidebar .side-bottom {
  border-top-color: rgba(207,232,243,.22);
  color: #d6ebf3;
}
.shell .sidebar .side-bottom a { color: #abebeb; }
.shell .sidebar .logout {
  border-color: #7398a5;
  border-radius: 9px;
  color: #eff8fa;
}
.shell > main { min-width: 0; }
.shell .topbar {
  height: auto;
  min-height: 80px;
  padding: 14px 0;
  border-bottom: 1px solid #d7e5ec;
  color: #587184;
  font-weight: 600;
}
.shell .local-badge {
  border: 1px solid #cce7e6;
  background: #e9f8f5;
  color: #176c78;
  font-size: 11px;
  font-weight: 700;
}
.shell .page-heading {
  gap: 20px;
  margin: 30px 0 21px;
}
.shell .page-heading h1 {
  color: #0d3450;
  font-size: clamp(25px,2.4vw,33px);
  line-height: 1.55;
  margin: 6px 0;
}
.shell .page-heading .eyebrow,
.shell .eyebrow {
  color: #0b8791;
  font-weight: 700;
}
.shell .muted { color: var(--panel-muted); }
.shell .button:not(.secondary) {
  color: #fff;
  background: linear-gradient(115deg,#0b8f96,#12b6a8);
  border: 1px solid #0e9b99;
  box-shadow: 0 7px 20px rgba(6,142,140,.15);
}
.shell .button:not(.secondary):hover {
  background: linear-gradient(115deg,#087880,#0a9a90);
  box-shadow: 0 10px 25px rgba(6,142,140,.21);
  text-decoration: none;
}
.shell .button.secondary {
  color: #125a70;
  background: #f3faf9;
  border: 1px solid #cce4e5;
}
.shell .button.secondary:hover {
  color: #0e5b64;
  background: #e4f5f2;
  text-decoration: none;
}
.shell .quick-actions {
  background: linear-gradient(115deg,#e7f7f4,#f4fbfa);
  border: 1px solid #cbe9e6;
  border-radius: 16px;
  gap: 10px;
  padding: 16px 20px;
}
.shell .quick-actions > span {
  color: #0c7581;
  font-weight: 800;
  font-size: 12px;
}
.shell .quick-actions a {
  background: #fff;
  color: #12627a;
  border: 1px solid #cce9e4;
  border-radius: 10px;
  font-weight: 700;
  transition: background-color .18s,transform .18s,border-color .18s;
}
.shell .quick-actions a:hover {
  background: #d9f7ef;
  border-color: #9fe2d8;
  transform: translateY(-2px);
}
.shell .card,
.shell .coach-completeness {
  border-color: var(--panel-border);
  border-radius: 17px;
  box-shadow: 0 13px 36px rgba(14,63,92,.055);
}
.shell .cards.metrics { gap: 15px; }
.shell .metrics .card {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 23px;
}
.shell .metrics .card:before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg,transparent,#13beaf,transparent);
}
.shell .metrics .card span {
  color: #5a7585;
  font-weight: 700;
  font-size: 12px;
}
.shell .metrics .card strong {
  color: #0e536b;
  line-height: 1.2;
  font-size: clamp(30px,3vw,42px);
}
.shell .metrics .card small { color: #7a8b99; }
.shell .season-banner {
  border: 1px solid #1a6a7b;
  background: linear-gradient(120deg,#0c2b49,#135477 73%,#0f7f80);
  box-shadow: 0 16px 34px rgba(8,48,77,.14);
  border-radius: 20px;
}
.shell .season-banner .status {
  background: rgba(255,255,255,.08);
  border-color: #8bcccb;
  color: #bdf9ec;
}
.shell .section-heading h2 {
  color: #133d59;
  font-size: clamp(19px,1.8vw,24px);
}
.shell .team-card {
  border-radius: 18px;
  transition: box-shadow .18s,transform .18s;
}
.shell .team-card:hover {
  box-shadow: 0 18px 38px rgba(14,63,92,.09);
  transform: translateY(-2px);
}
.shell .team-icon {
  color: #116d78;
  background: #e4f7f3;
  border-color: #c8e6e0;
}
.shell .pill {
  color: #457181;
  background: #f2f9fa;
}
.shell .coach-report-center {
  padding: clamp(19px,2.8vw,31px);
  border: 1px solid #2a6b80;
  border-radius: 21px;
  background: linear-gradient(130deg,#0a2a49 0%,#145471 72%,#0d747b 100%);
  box-shadow: 0 19px 42px rgba(7,43,68,.16);
}
.shell .coach-report-item {
  border-color: rgba(218,250,250,.26);
  background: rgba(255,255,255,.085);
  border-radius: 15px;
  padding: 19px;
}
.shell .coach-report-item h3 {
  color: #fff;
  line-height: 1.7;
}
.shell .coach-report-actions a {
  color: #083e49;
  background: #aaf3e4;
  border-radius: 9px;
  padding: 9px 13px;
  font-size: 12px;
}
.shell .coach-report-actions a:hover { text-decoration: none; background: #d0fff2; }
.shell .coach-report-actions a:last-child:hover { background: rgba(255,255,255,.22); }
.shell .coach-completeness-count { background: #daf6f0; color: #087880; }
.shell .coach-incomplete-list li a { color: #077c88; }
.shell .form-card {
  max-width: 1060px;
  background: #fff;
  padding: clamp(20px,2.5vw,35px);
}
.shell .field { min-width: 0; }
.shell .field label { font-size: 13px; color: #244c62; font-weight: 700; }
.shell .field small { color: #647c88; }
.shell :is(input:not([type=checkbox]),select,textarea) {
  min-width: 0;
  background: #fbfdfe;
  border: 1px solid #cbdde4;
  border-radius: 10px;
  color: #183a50;
}
.shell :is(input:not([type=checkbox]),select,textarea):focus-visible {
  outline: 3px solid rgba(11,164,156,.23);
  border-color: #0c9e9d;
}
.shell :is(a,button):focus-visible {
  outline: 3px solid #13a89d;
  outline-offset: 3px;
}
.shell .classification-filters {
  background: #f0faf9;
  border-color: #d2ebe6;
  border-radius: 16px;
}
.shell .toolbar { gap: 10px; }
.shell .table-scroll {
  border: 1px solid #e0ebef;
  border-radius: 12px;
  max-width: 100%;
}
.shell table th {
  background: #ecf7f6;
  color: #315d70;
  font-weight: 700;
}
.shell table tr:hover td { background: #f8fcfd; }
.shell table td { color: #314e60; }
.shell .pagination a,
.shell .text-link,
.shell .card-link { color: #077f89; font-weight: 700; }
.shell .notice {
  color: #205e54;
  background: #e4f8f0;
  border-color: #bfe6d3;
  border-radius: 11px;
}
.shell .login-card { box-shadow: 0 20px 50px rgba(15,50,73,.09); }
.shell .login-layout h1 { color: #0e3855; }
.shell footer { border-top-color: #d8e7ed; color: #758b95; }
@media (max-width: 1150px) {
  .shell .coach-report-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 850px) {
  .shell .coach-report-grid { grid-template-columns: minmax(0,1fr); }
  .shell .form-grid { gap: 19px; }
  .shell .page-heading { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .shell > .sidebar {
    border-left: 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 8px 28px rgba(5,32,55,.08);
  }
  .shell .sidebar nav a { padding: 9px 10px; }
  .shell .topbar { min-height: 60px; }
  .shell .page-heading { margin-top: 24px; }
  .shell .page-heading h1 { font-size: 26px; }
  .shell .quick-actions { padding: 13px; }
  .shell .quick-actions a { flex: 1 1 43%; }
  .shell .metrics .card { padding: 16px; }
  .shell .metrics .card strong { font-size: 30px; }
  .shell .coach-report-item { padding: 16px; }
  .shell .form-card { padding: 19px; }
  .shell .classification-filters { padding: 13px; }
  .shell .season-banner { padding: 21px; }
  .shell .team-card:hover,
  .shell .quick-actions a:hover { transform: none; }
}
@media (max-width: 420px) {
  .shell .coach-report-actions a { flex: 1 1 auto; text-align: center; }
  .shell .quick-actions a { flex: 1 1 100%; }
  .shell .topbar { gap: 8px; flex-wrap: wrap; }
  .shell .season-select { max-width: 100%; }
  .shell .season-select select { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .shell .sidebar nav a,
  .shell .quick-actions a,
  .shell .team-card { transition: none; }
  .shell .team-card:hover,
  .shell .quick-actions a:hover { transform: none; }
}
