/* PHASE 14.1 — trainer dashboard, faithful to the approved "Nachher" board.
 * Strictly scoped to trainer DASHBOARD (not the other trainer screens).
 * Source artwork: /trainer-approved-field.svg, drawn for this project.
 * Existing permissions, stats, actions, dates and role-specific navigation
 * remain authoritative and MUST NOT be faked in production UI. */
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin{
  --fce-target-navy:#06334a;
  --fce-target-teal:#075569;
  --fce-target-green:#0b874d;
  --fce-target-green-dark:#086b40;
  --fce-target-ink:#142c33;
  --fce-target-muted:#597079;
  --fce-target-border:#d4e5e7;
  --fce-target-shadow:0 6px 21px rgba(10,48,61,.105);
  --bg:#f4f8f9;
  --surface-soft:#eaf5f1;
  --line:#d4e5e7;
  --brand:#0b754f;
  --brand-strong:#065a40;
  --brand-soft:#e4f5ec;
  color:var(--fce-target-ink);
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .topbar{
  background:
    linear-gradient(100deg,rgba(3,36,58,.98) 0%,rgba(2,56,65,.98) 57%,rgba(5,99,63,.92) 100%),
    url("/trainer-approved-field.svg") center/cover no-repeat;
  border-bottom:1px solid rgba(156,220,184,.4);
  color:#fff;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .topbar .brand-mark{
  clip-path:polygon(50% 0,92% 13%,92% 70%,50% 99%,8% 70%,8% 13%);
  border-radius:0;
  background:linear-gradient(165deg,#fff 0%,#d9f4e8 65%,#8de0a8 100%);
  color:#06435a;
  font-size:14px;
  box-shadow:0 0 0 2px #e0f3ec;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-desktop-nav .fce-desktop-nav-link{
  color:#eafcf4;
  border-radius:8px;
  font-weight:750;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-desktop-nav .fce-desktop-nav-link.is-current{
  background:linear-gradient(145deg,#0d9d5a,#087741);
  color:white;
  box-shadow:0 3px 11px rgba(4,35,28,.22);
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .container{
  color:var(--fce-target-ink);
}
body.theme-admin .site-shell.role-admin .fce-trainer-title-dashboard,
body.theme-admin .site-shell.role-admin .fce-trainer-intro-dashboard{display:none}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-title-default,
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-intro-default{display:none}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-title-dashboard,
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-intro-dashboard{display:inline}
@media(min-width:761px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-desktop-intro{
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    padding:5px 4px 4px;
    margin-bottom:8px;
    min-height:71px;
    border:0;
    background:transparent;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-desktop-intro h2{
    font-weight:900;
    letter-spacing:-.04em;
    font-size:clamp(25px,3.5vw,34px);
    color:#192d38;
    line-height:1.08;
    margin-bottom:5px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-desktop-intro .trainer-intro-brief{
    font-size:13px;
    color:#5b7074;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions{
    justify-content:flex-end;
    margin-top:-70px;
    margin-bottom:25px;
    position:relative;
    z-index:1;
  }
}
/* Desktop quick actions in approved board: precisely two right-aligned CTAs. */
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions
  .fce-target-action-lineup,
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions
  .fce-target-mobile-action{display:none}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions .fce-approved-quick-action{
  min-height:42px;
  border-radius:9px;
  border-color:#0b7b4a;
  font-size:12px;
  font-weight:800;
  box-shadow:0 3px 10px rgba(3,79,52,.075);
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions
  .fce-approved-quick-action.is-primary{
  background:linear-gradient(120deg,#0c934a,#08733d);
  color:white;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions
  .fce-approved-quick-action:not(.is-primary){background:#fff;color:#075f3d}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-board{
  column-gap:12px;
  row-gap:12px;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-board>.trainer-status-tile{
  min-height:82px;
  display:grid;
  grid-template-columns:40px minmax(0,1fr);
  grid-template-rows:30px 1fr;
  align-items:center;
  align-content:center;
  justify-items:start;
  padding:13px 16px;
  gap:2px 9px;
  border:1px solid #dce7e9;
  border-radius:13px;
  box-shadow:var(--fce-target-shadow);
  text-align:left;
  background:#fff;
  width:100%;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-tile .trainer-status-icon{
  grid-column:1;
  grid-row:1/3;
  place-self:center;
  width:36px;
  height:36px;
  flex:0 0 36px;
  border-radius:11px;
  background:#e3f3ea;
  color:#0b8450;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-tile>strong{
  grid-column:2;
  grid-row:1;
  font-size:23px;
  line-height:1;
  margin:0;
  color:#172c33;
  font-weight:900;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-tile>span:not(.trainer-status-icon){
  grid-column:2;
  grid-row:2;
  font-size:11px;
  color:#62717a;
  text-align:left;
  line-height:1.18;
  margin:0;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-tile>small{
  display:none;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-headliners{
  margin-top:6px;
  gap:14px;
  align-items:stretch;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-current{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #d1e3df;
  box-shadow:var(--fce-target-shadow);
  border-radius:13px;
  overflow:hidden;
  padding:0!important;
  min-height:252px;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-panel-band{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:39px;
  padding:7px 14px;
  background:linear-gradient(105deg,#06824b 5%,#359d72 100%);
  color:#fff;
  font-size:12px;
  font-weight:900;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-panel-band>span:first-child{
  display:flex;
  align-items:center;
  gap:7px;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-panel-band svg{
  width:19px;
  height:19px;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-panel-band .badge{
  background:#d9f6e4;
  color:#065834;
  box-shadow:none;
  border:0;
  font-size:10px;
  line-height:1.2;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-current .trainer-status-head{
  display:block;
  padding:14px 16px 3px;
  margin:0;
  background:#fff;
  border:0;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current .trainer-status-kicker{display:none}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current h3{
  margin:0 0 5px;
  color:#112a33;
  font-size:clamp(17px,1.8vw,21px);
  line-height:1.2;
  font-weight:900;
  overflow-wrap:anywhere;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current .trainer-status-head p{
  margin:0;
  font-size:12px;
  line-height:1.45;
  color:#52656b;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current>.trainer-status-mini{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin:14px 14px 7px;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current>.trainer-status-mini>div{
  border-radius:9px;
  padding:8px 5px;
  background:#e5f6eb;
  border:0;
  text-align:center;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current>.trainer-status-mini>div.is-no{background:#fde9eb}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current>.trainer-status-mini>div.is-open{background:#eaf1f7}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current>.trainer-status-mini strong{
  font-size:19px;
  color:#086c3b;
  line-height:1.13;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current>.trainer-status-mini .is-no strong{color:#b52732}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current>.trainer-status-mini .is-open strong{color:#184765}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current>.trainer-status-mini span{
  font-size:10px;
  color:#415c5c;
  line-height:1.18;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current>.trainer-status-mini+p{
  font-size:10px;
  color:#688078;
  padding:0 15px;
  margin:0 0 4px;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current .trainer-progress-row{
  padding:6px 15px 1px;
  margin:0;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current .trainer-progress-track{
  margin:5px 15px 8px;
  height:8px;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-panel-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding:10px 13px 13px;
  margin-top:auto;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-panel-actions .trainer-status-jump{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:39px;
  padding:9px 11px;
  margin:0;
  border-radius:8px;
  background:#087e49;
  border:1px solid #087e49;
  box-shadow:none;
  color:white;
  font-size:12px;
  line-height:1.2;
  font-weight:850;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-panel-actions .fce-trainer-outline{
  background:#fff!important;
  color:#1d3c49!important;
  border-color:#bacbd0!important;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-upcoming-grid{
  margin-top:16px;
  gap:14px;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-upcoming-panel{
  border:1px solid #d8e6e7;
  border-radius:13px;
  background:#fff;
  padding:0 13px 8px;
  min-height:134px;
  box-shadow:var(--fce-target-shadow);
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-upcoming-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:44px;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-upcoming-heading h3{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  line-height:1.25;
  margin:0;
  font-weight:900;
  color:#203b47;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-upcoming-heading h3 svg{
  width:21px;height:21px;color:#0a8950;flex:0 0 auto;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-upcoming-heading .trainer-status-jump{
  flex:0 0 auto;
  padding:4px 0;
  margin:0;
  border:0;
  background:transparent;
  color:#0c784c;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-upcoming-row{
  min-height:37px;
  padding:7px 3px;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-upcoming-row .trainer-upcoming-value{
  color:#167349;
  border-radius:30px;
  padding:4px 7px;
  background:#e7f6ed;
  font-size:10px;
}
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-mobile-task-heading{display:none}

/* The approved mobile variant is a real layout, not a scaled-down desktop. */
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .topbar{
    background:linear-gradient(105deg,#043852,#075972)!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-mobile-dashboard-entry{
    display:block!important;
    position:relative;
    isolation:isolate;
    min-height:131px;
    margin:0 0 10px!important;
    padding:18px 18px 25px!important;
    background:
      linear-gradient(110deg,rgba(4,41,65,.93) 0%,rgba(5,66,76,.84) 52%,rgba(1,112,69,.22) 100%),
      url("/trainer-approved-field.svg") right center/cover no-repeat;
    border-radius:0 0 15px 15px;
    overflow:hidden;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-mobile-dashboard-entry:after{
    content:"";
    position:absolute;
    z-index:-1;
    width:155px;
    height:155px;
    border-radius:50%;
    top:-45px;
    right:-35px;
    background:radial-gradient(circle,#1fba6b66,transparent 72%);
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-mobile-welcome{
    display:block!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-mobile-welcome-icon{display:none!important}
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-mobile-welcome-copy h2{
    color:white!important;
    font-size:clamp(21px,5.8vw,26px);
    line-height:1.13;
    margin:0;
    max-width:245px;
    letter-spacing:-.01em;
    font-weight:900;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-mobile-person{
    display:block;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-mobile-welcome-copy p{
    color:#d9f2e8!important;
    font-size:12px;
    font-weight:600;
    margin-top:7px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
    margin:-37px 7px 14px!important;
    padding:0!important;
    position:relative;
    z-index:2;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions
    .fce-target-mobile-action{display:flex!important}
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions
    .fce-target-action-lineup{display:none!important}
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions .fce-approved-quick-action{
    display:flex!important;
    flex-direction:column!important;
    gap:6px;
    width:100%;
    min-height:83px;
    padding:12px 3px 8px;
    background:#fff!important;
    color:#0b6747!important;
    box-shadow:0 5px 13px #082d3c21;
    border:1px solid #cadfe0!important;
    border-radius:11px!important;
    line-height:1.12;
    font-size:10px;
    font-weight:850;
    text-align:center;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions svg{
    width:23px;height:23px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-board{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:0;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-headliners{
    display:grid!important;
    order:0!important;
    grid-column:1/-1!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px;
    margin:0 0 12px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-current{
    min-height:0;
    border-radius:13px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current>.trainer-status-mini{
    margin:10px 10px 8px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-status-current>.trainer-status-mini+p{
    font-size:10px;
    padding:0 10px;
    margin:0 0 3px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-panel-band{
    padding:7px 12px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-panel-actions{
    padding:8px 10px 11px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-panel-actions .trainer-status-jump{
    font-size:11px;
    padding:9px 5px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-mobile-task-heading{
    display:block!important;
    grid-column:1/-1;
    padding:13px 12px;
    border:1px solid #d4e6dd;
    background:linear-gradient(140deg,#effaf2,#f8fcfa);
    border-radius:12px 12px 0 0;
    margin:0 0 -1px;
    color:#164737;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-mobile-task-heading strong{
    display:flex;align-items:center;gap:8px;
    font-size:14px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-mobile-task-heading svg{
    width:20px;height:20px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-board>.trainer-status-tile{
    display:grid!important;
    grid-template-columns:25px minmax(0,1fr) auto!important;
    grid-template-rows:1fr!important;
    justify-items:start;
    align-items:center;
    gap:8px!important;
    min-height:47px!important;
    border-radius:0;
    border:1px solid #d4e6dd;
    box-shadow:none;
    padding:8px 12px;
    background:#fff;
    text-align:left;
    order:2!important;
    grid-column:1/-1!important;
    width:100%;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-tile:last-child{
    border-radius:0 0 13px 13px;
    box-shadow:0 8px 17px #0a392315;
    margin-bottom:12px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-tile>.trainer-status-icon{
    grid-column:1!important;grid-row:1!important;
    width:24px;height:24px;flex:0 0 24px;
    background:transparent;border-radius:0;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-tile>.trainer-status-icon svg{
    width:21px;height:21px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-tile>span:not(.trainer-status-icon){
    grid-column:2!important;grid-row:1!important;
    font-size:11px;text-align:left!important;
    color:#263f41;
    font-weight:700;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-status-tile>strong{
    grid-column:3!important;grid-row:1!important;
    font-size:13px;
    text-align:right;
    background:#e4ebf3;
    padding:5px 9px;
    border-radius:14px;
    color:#163f57;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .trainer-upcoming-grid{
    display:none!important; /* Mobile approved mock replaces bottom calendars with 'Meine Aufgaben'. */
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only .fce-trainer-target-poll .fce-trainer-panel-actions{
    display:none; /* As in approved mobile target, open poll is accessible via entire dashboard navigation. */
  }
}
@media(max-width:360px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions{
    gap:4px!important;margin-inline:0!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions .fce-approved-quick-action{
    font-size:9px;min-height:83px;
  }
}
@media(prefers-reduced-motion:reduce){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin *{scroll-behavior:auto}
}


/* 14.1 mobile screenshot correction — exactly four actions in one row. */
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-approved-trainer-actions .fce-approved-quick-action{
    grid-column:auto!important;
    grid-row:auto!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-approved-trainer-actions .fce-approved-quick-action.fce-target-action-lineup{
    display:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-bottom-nav{
    background:linear-gradient(110deg,#07354d,#074b69)!important;
    border-top:1px solid rgba(189,242,218,.22)!important;
    box-shadow:0 -6px 19px #022c3730!important;
    color:#fff;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-bottom-item{
    color:#f3fbff!important;
    border-color:transparent!important;
    border-radius:9px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-bottom-item.is-current{
    background:linear-gradient(140deg,#18ad65,#0b914b)!important;
    border-color:transparent!important;
    color:#fff!important;
    box-shadow:0 3px 9px #06342765;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-bottom-item:focus-visible{
    outline:3px solid #ffe28b!important;
  }
}


/* Phase 14.1: mobile approved-reference corrections.
   The training editor and all four KPI destinations remain accessible through
   the existing bottom navigation; no data, permissions or APIs change. */
@media(max-width:760px){
  /* One full-width primary action, exactly as in accepted mobile concept. */
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .fce-trainer-panel-actions{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .fce-trainer-panel-actions .fce-trainer-outline{
    display:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .fce-trainer-panel-actions .trainer-status-jump:not(.fce-trainer-outline){
    background:linear-gradient(105deg,#075883,#076ca1)!important;
    border-color:#066a9a!important;
  }
  /* Approved upcoming-poll card shows title, date, location and response
     count/progress; its detailed yes/no breakdown remains under Umfragen. */
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll{
    min-height:0!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll .trainer-status-mini{
    display:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll .fce-trainer-panel-actions{
    display:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll .trainer-progress-track{
    margin:5px 13px 14px;
  }
  /* Exactly the three approved task rows. The polls overview remains
     reachable in its permanent navigation tab. */
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile[data-view="overview"]{
    display:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile[data-view="consents"]{
    order:2!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile[data-view="users"]{
    order:3!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile[data-view="trainings"]{
    order:4!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile[data-view="trainings"]{
    border-radius:0 0 13px 13px;
    box-shadow:0 8px 17px #0a392315;
    margin-bottom:12px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile[data-view="users"]{
    border-radius:0;
    box-shadow:none;
    margin-bottom:0;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-mobile-task-heading strong:after{
    content:"3";
    display:inline-grid;
    place-items:center;
    margin-left:auto;
    width:21px;height:21px;
    border-radius:50%;
    background:#0b8148;
    color:#fff;
    font-size:12px;
  }
}


/* Phase 14.1 UI sign-off corrections: header tools, vector nav and button order.
   These selectors target the trainer role only; parents/guests are unchanged. */
body.theme-admin .site-shell.role-admin .fce-desktop-nav-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:17px;
  height:17px;
  flex:0 0 17px;
}
body.theme-admin .site-shell.role-admin .fce-desktop-nav-icon svg{
  display:block;
  width:17px;
  height:17px;
}
body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions{
  display:flex!important;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex:0 0 auto;
  margin-left:auto;
}
body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions>a{
  position:relative;
  box-sizing:border-box;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:7px;
  height:37px;
  min-height:37px;
  min-width:38px;
  padding:8px 11px;
  color:#f1fff8;
  border:1px solid rgba(220,252,239,.38);
  border-radius:9px;
  background:rgba(255,255,255,.095);
  text-decoration:none;
  font-size:12px;
  font-weight:800;
}
body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions>a:hover{
  border-color:rgba(237,255,244,.85);
  background:rgba(255,255,255,.22);
}
body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions .trainer-header-bell{
  width:38px;
  padding:8px;
}
body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions :is(a,button) svg{
  display:block;
  flex:0 0 auto;
  width:18px;
  height:18px;
}
body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions .trainer-mobile-header-logout{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:7px;
  box-sizing:border-box;
  height:37px;
  min-height:37px;
  min-width:0;
  padding:8px 12px;
  background:#fff!important;
  color:#193b46!important;
  border:1px solid #dce9e9;
  border-radius:9px;
  font-size:12px;
  font-weight:800;
  box-shadow:0 2px 10px rgba(0,28,38,.15);
}
body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions .trainer-mobile-header-logout:hover{
  background:#e9f7f0!important;
}
body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions :is(a,button):focus-visible{
  outline:3px solid #ffdc75;
  outline-offset:2px;
}
body.theme-admin .site-shell.role-admin .fce-approved-quick-action svg{
  width:18px;
  height:18px;
}
body.theme-admin .site-shell.role-admin .fce-quick-mobile{display:none}
body.theme-admin .site-shell.role-admin .fce-quick-desktop{display:inline}
@media(min-width:761px){
  body.theme-admin .site-shell.role-admin .topbar-brand-row{
    align-items:center;
  }
  body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions{
    margin-left:auto!important;
  }
  body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions .trainer-header-account{
    min-width:91px;
  }
  body.theme-admin .site-shell.role-admin .fce-approved-trainer-actions{
    gap:10px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions
    .fce-approved-quick-action.is-primary{order:1}
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions
    .fce-approved-quick-action[data-view="polls"]{order:2}
}
@media(max-width:760px){
  body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions{
    gap:5px!important;
  }
  body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions>a{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
    padding:7px!important;
    border-radius:10px!important;
  }
  body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions .trainer-header-account span{
    display:none;
  }
  body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions .trainer-mobile-header-logout{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
    padding:7px!important;
    background:#c33529!important;
    color:white!important;
    border:1px solid rgba(255,255,255,.35)!important;
    border-radius:10px!important;
  }
  body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions .trainer-mobile-header-logout span{
    display:none!important;
  }
  body.theme-admin .site-shell.role-admin .trainer-mobile-brand{
    min-width:0!important;
    overflow:hidden;
  }
  body.theme-admin .site-shell.role-admin .trainer-mobile-brand-copy{
    overflow:hidden;
    min-width:0;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-approved-trainer-actions
    .fce-approved-quick-action{
    grid-column:auto!important;
    grid-row:auto!important;
    order:initial!important;
    min-width:0;
    min-height:78px;
    padding:11px 4px 7px;
  }
  body.theme-admin .site-shell.role-admin .fce-approved-trainer-actions .fce-quick-desktop{display:none}
  body.theme-admin .site-shell.role-admin .fce-approved-trainer-actions .fce-quick-mobile{display:inline}
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only
    .fce-trainer-target-training .fce-trainer-panel-actions{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only
    .fce-trainer-target-training .fce-trainer-panel-actions .fce-trainer-outline{
    display:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .trainer-dashboard-only
    .fce-trainer-target-training .fce-trainer-panel-actions .trainer-status-jump:first-child{
    background:#075b8a!important;
    border-color:#075b8a!important;
    color:white!important;
    min-height:42px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-mobile-task-heading{
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .fce-trainer-task-count{
    display:grid;
    place-items:center;
    min-width:23px;
    height:23px;
    padding:0 4px;
    border-radius:999px;
    background:#0b9053;
    color:white;
    font-size:12px;
    font-weight:900;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile[data-view="overview"]{
    display:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile[data-view="consents"]{
    order:1!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile[data-view="users"]{
    order:2!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile[data-view="trainings"]{
    order:3!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile[data-view="consents"] .trainer-status-icon{
    color:#0b8e54;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile[data-view="users"] .trainer-status-icon{
    color:#196e98;
  }
}
@media(max-width:360px){
  body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions{
    gap:3px!important;
  }
  body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions>a,
  body.theme-admin .site-shell.role-admin .trainer-mobile-header-actions .trainer-mobile-header-logout{
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    min-height:34px!important;
    padding:6px!important;
  }
  body.theme-admin .site-shell.role-admin .trainer-mobile-brand-copy strong{
    font-size:12px;
  }
}


/* Phase 14.1 fidelity pass: a SINGLE mobile hero holds the greeting and
 * four quick actions. Its boundary meets the trainer topbar flush.
 * The QA image has a single connected header as the sole approved reference. */
@media(min-width:761px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry{
    display:contents!important; /* desktop action buttons stay in normal flow */
  }
}
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .sticky-header-stack{
    z-index:120;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar{
    background:linear-gradient(108deg,#053953 0%,#07506a 63%,#067146 100%)!important;
    border-bottom:0!important;
    box-shadow:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner{
    padding-bottom:4px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-brand-copy small{
    font-size:0!important;
    white-space:normal!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-brand-copy small:before{
    content:"Trainerbereich";
    color:#def5ee;
    font-size:10px;
    font-weight:600;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    #main-content.container{
    padding-top:0!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    #main-content>.section{
    padding-top:0!important;
    margin-top:0!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only{
    padding-top:0!important;
    margin-top:0!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry{
    display:flex!important;
    flex-direction:column;
    position:relative;
    isolation:isolate;
    justify-content:flex-start;
    box-sizing:border-box;
    width:calc(100% + 20px)!important;
    max-width:none!important;
    min-height:218px!important;
    padding:24px 16px 17px!important;
    margin:0 -10px 13px!important;
    border:0!important;
    border-radius:0 0 17px 17px!important;
    overflow:hidden!important;
    background:linear-gradient(112deg,#07465a 0%,#07556a 41%,#077e55 74%,#078e4a 100%)!important;
    box-shadow:0 8px 17px rgba(9,59,57,.13)!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry:before{
    content:"";
    pointer-events:none;
    position:absolute;
    z-index:0;
    top:0;right:-15px;bottom:0;
    width:min(75%,290px);
    background:
      url("/trainer-approved-green-ball.svg") right 31px/245px auto no-repeat,
      radial-gradient(circle at 100% 80%,rgba(5,198,102,.45),transparent 69%);
    opacity:.96;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry:after{
    content:"";
    position:absolute;
    pointer-events:none;
    z-index:0;
    left:0;right:0;bottom:0;
    height:45%;
    background:linear-gradient(to bottom,transparent 0%,rgba(6,91,61,.22) 80%,rgba(4,78,57,.29) 100%);
    border-radius:0;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry .trainer-mobile-welcome{
    display:block!important;
    position:relative;
    z-index:1;
    padding:0!important;
    margin:0!important;
    min-width:0;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry .trainer-mobile-welcome-copy h2{
    max-width:230px;
    margin:0!important;
    line-height:1.13;
    font-size:clamp(22px,6vw,27px);
    color:white!important;
    overflow-wrap:anywhere;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry .trainer-mobile-welcome-copy p{
    max-width:240px;
    margin:7px 0 0!important;
    color:#d6fae4!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry .fce-approved-trainer-actions{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:stretch;
    flex:0 0 auto;
    width:100%;
    gap:6px!important;
    box-sizing:border-box;
    margin:35px 0 0!important;
    padding:0!important;
    z-index:2;
    position:relative;
    background:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry .fce-approved-quick-action{
    display:flex!important;
    flex-direction:column!important;
    align-items:center;
    justify-content:center;
    gap:6px!important;
    min-width:0;
    min-height:78px!important;
    padding:10px 3px 7px!important;
    color:#086a41!important;
    background:#fff!important;
    border:1px solid #dcece9!important;
    border-radius:11px!important;
    box-shadow:0 3px 10px rgba(0,55,43,.19)!important;
    line-height:1.16;
    font-size:10px!important;
    font-weight:850;
    text-align:center;
    text-wrap:balance;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry .fce-approved-quick-action svg{
    width:25px!important;
    height:25px!important;
    flex:0 0 25px;
    color:#078a48;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry .fce-approved-quick-action .fce-quick-mobile{
    display:inline!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry .fce-approved-quick-action .fce-quick-desktop{
    display:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-status-current .trainer-status-head{
    padding-top:10px!important;
    padding-bottom:1px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-status-current>.trainer-status-mini{
    margin-top:7px!important;
    margin-bottom:6px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-status-current .trainer-status-mini+p{
    font-size:9px!important;
    line-height:1.3;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .fce-trainer-target-poll .trainer-status-head{
    padding-top:10px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .fce-trainer-target-poll .trainer-progress-track{
    margin-top:3px!important;
    margin-bottom:9px!important;
  }
}
@media(max-width:360px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry{
    min-height:218px!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry .fce-approved-trainer-actions{
    gap:4px!important;
    margin-top:31px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry .fce-approved-quick-action{
    min-height:77px!important;
    font-size:9px!important;
  }
}


/* Fidelity pass 14.1b – approved compact mobile cards and visible task list.
 * Match the reference card rhythm without changing actual data/permissions. */
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-status-current{
    min-height:0!important;
    box-shadow:0 5px 13px rgba(16,55,57,.1)!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-panel-band{
    min-height:32px!important;
    padding:5px 11px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-panel-band svg{
    width:18px!important;height:18px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-status-current .trainer-status-head{
    padding:9px 12px 2px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-status-current .trainer-status-head h3{
    font-size:16px!important;line-height:1.18!important;
    margin:0 0 3px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-status-current .trainer-status-head p{
    font-size:10.5px!important;
    line-height:1.24!important;
    margin:0!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .trainer-status-mini{
    gap:6px!important;
    margin:7px 10px 5px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .trainer-status-mini>div{
    min-height:0!important;
    padding:6px 3px!important;
    border-radius:9px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .trainer-status-mini strong{
    font-size:17px!important;
    line-height:1.12!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .trainer-status-mini span{
    font-size:10px!important;line-height:1.17!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .trainer-status-mini+p{
    display:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .fce-trainer-panel-actions{
    padding:3px 10px 10px!important;
    margin:0!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .fce-trainer-panel-actions .trainer-status-jump{
    min-height:36px!important;
    padding:7px 9px!important;
    font-size:11px!important;
    border-radius:9px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll .trainer-status-head{
    padding:9px 11px 1px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll .trainer-progress-row{
    margin:0!important;
    padding:4px 11px 0!important;
    line-height:1.1!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll .trainer-progress-row strong{
    font-size:14px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll .trainer-progress-track{
    height:6px!important;
    margin:4px 11px 9px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-mobile-task-heading{
    min-height:33px!important;
    padding:7px 10px!important;
    box-sizing:border-box;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-mobile-task-heading strong{
    font-size:12px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-mobile-task-heading svg{
    width:17px;height:17px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile{
    min-height:35px!important;
    padding:5px 10px!important;
    gap:7px!important;
    grid-template-columns:23px minmax(0,1fr) auto!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile>.trainer-status-icon{
    width:21px!important;height:21px!important;flex-basis:21px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile>.trainer-status-icon svg{
    width:18px!important;height:18px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile>span:not(.trainer-status-icon){
    font-size:10px!important;line-height:1.2!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile>strong{
    font-size:11px!important;padding:4px 8px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-tile:last-child{
    margin-bottom:7px!important;
  }
}


/* Desktop guard: the mobile greeting lives in the mobile hero wrapper for
   semantic grouping, but only the quick-action nav may render on desktop. */
@media(min-width:761px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry>.trainer-mobile-welcome{
    display:none!important;
  }
}


/* 390px / 844px real-phone viewport: keep all three quick tasks above
 * the fixed bottom navigation without inventing content or removing controls. */
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry{
    margin-bottom:8px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-status-headliners{
    gap:7px!important;
    margin-bottom:6px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only>.trainer-status-board{
    row-gap:0!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-mobile-task-heading{
    min-height:28px!important;
    padding:4px 10px!important;
    margin-top:0!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile{
    min-height:29px!important;
    padding:3px 10px!important;
  }
}


/* Reuse one deterministic, self-contained FCE shield vector in desktop and
   mobile; no network-dependent icons and no pretend notification count. */
body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
  .topbar-brand-row .brand-mark{
  display:block!important;
  width:35px!important;
  height:37px!important;
  flex:0 0 35px!important;
  border:0!important;
  border-radius:0!important;
  clip-path:none!important;
  background: url("/trainer-approved-crest.svg") center center/contain no-repeat!important;
  box-shadow:none!important;
  color:transparent!important;
  font-size:0!important;
  line-height:0!important;
}


/* Final mobile fidelity: no duplicated legacy "3" pseudo-badge. */
body.theme-admin .site-shell.role-admin
  .trainer-dashboard-only .fce-task-label-mobile{
  display:none!important;
}
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-mobile-task-heading strong::after{
    content:none!important;
    display:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .fce-task-label-default{
    display:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .fce-task-label-mobile{
    display:block!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-mobile-task-heading{
    min-height:30px!important;
    padding:2px 10px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile{
    min-height:27px!important;
    padding:2px 10px!important;
  }
}


/* Approved trainer mobile card finish — pale header strips, status on the
 * right, chevrons and wording match the screenshot without changing routes. */
body.theme-admin .site-shell.role-admin .fce-tournament-band-mobile{
  display:none!important;
}
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-panel-band{
    background:linear-gradient(100deg,#f0fbf5 0%,#f9fdfb 100%)!important;
    border-bottom:1px solid #d9ebe2!important;
    color:#1b3730!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-panel-band svg{
    color:#0a8b4d!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-panel-band .badge{
    background:#d8f7e4!important;
    color:#097342!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-tournament-band-desktop{
    display:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-tournament-band-mobile{
    display:inline!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile{
    grid-template-columns:21px minmax(0,1fr) auto 10px!important;
    gap:6px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile::after{
    content:"›"!important;
    display:block!important;
    grid-column:4!important;
    grid-row:1!important;
    color:#526a77;
    font-size:21px;
    font-weight:500;
    line-height:1;
    justify-self:end;
    align-self:center;
  }
}


/* Screenshot-coordinate fine tuning: compact one-piece hero. The accepted
 * reference keeps action size 78px but uses less blank vertical padding. */
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry{
    min-height:0!important;
    padding-top:17px!important;
    padding-bottom:10px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-dashboard-entry .fce-approved-trainer-actions{
    margin-top:20px!important;
  }
}


/* Desktop fidelity: the approved mockup includes a faint football pitch
 * continuing behind the dashboard heading. This is decorative only and
 * remains below every interactive element. */
@media(min-width:761px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin{
    background:#f2f8f9!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    #main-content.container{
    position:relative;
    isolation:isolate;
    background:linear-gradient(115deg,#f7fafb 0%,#f0f8f6 100%)!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    #main-content.container:before{
    content:"";
    position:absolute;
    pointer-events:none;
    top:-4px;
    right:0;
    width:min(58%,680px);
    height:210px;
    z-index:0;
    opacity:.17;
    background:url("/trainer-approved-field.svg") right top/cover no-repeat;
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 35%,transparent 100%);
    mask-image:linear-gradient(to bottom,#000 0%,#000 35%,transparent 100%);
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    #main-content.container>.section{
    position:relative;
    z-index:1;
  }
}


/* Fade the decorative desktop pitch in BOTH axes; never show the hard edge
 * of its dark SVG background behind the main heading or action buttons. */
@media(min-width:761px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    #main-content.container:before{
    opacity:.10!important;
    width:min(57%,660px)!important;
    height:190px!important;
    -webkit-mask-image:radial-gradient(ellipse at 74% 27%,
      rgba(0,0,0,.85) 0%,rgba(0,0,0,.33) 37%,transparent 77%)!important;
    mask-image:radial-gradient(ellipse at 74% 27%,
      rgba(0,0,0,.85) 0%,rgba(0,0,0,.33) 37%,transparent 77%)!important;
  }
}


/* Faithful event metadata: desktop remains one row, mobile has actual date
 * and location in two compact lines with semantic vector icons. */
body.theme-admin .site-shell.role-admin .fce-event-meta-mobile{
  display:none!important;
}
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-status-head .fce-event-meta-desktop{
    display:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-status-head .fce-event-meta-mobile{
    display:grid!important;
    gap:2px;
    margin:2px 0 2px;
    color:#536b6b;
    line-height:1.16;
    font-size:10px;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-status-head .fce-event-meta-mobile>span{
    display:flex;
    align-items:center;
    gap:5px;
    min-width:0;
    overflow-wrap:anywhere;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-status-head .fce-event-meta-mobile svg{
    width:12px;
    height:12px;
    flex:0 0 12px;
    color:#153f48;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-status-head{
    padding-bottom:1px!important;
  }
}


/* Approved desktop reference shows the ball touching the lower-right edge
 * of the navy/green navigation, not a solid flat header. Keep text legible. */
@media(min-width:761px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin .topbar{
    background:
      linear-gradient(100deg,rgba(3,36,58,.99) 0%,rgba(2,56,65,.97) 54%,rgba(5,99,63,.45) 100%),
      url("/trainer-approved-field.svg") right center/cover no-repeat!important;
  }
}


/* Approved phone design: compact tournament response summary and a real
 * actionable chevron; no fabricated invitation or participation status. */
body.theme-admin .site-shell.role-admin .fce-trainer-poll-mobile-summary,
body.theme-admin .site-shell.role-admin .fce-trainer-tournament-chevron{
  display:none!important;
}
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll{
    position:relative;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll .trainer-progress-row{
    display:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll .fce-trainer-poll-mobile-summary{
    display:block!important;
    padding:3px 12px 0;
    color:#263d47;
    font-size:10px;
    font-weight:800;
    line-height:1.25;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll .fce-trainer-tournament-chevron{
    display:flex!important;
    position:absolute;
    z-index:2;
    right:8px;
    top:70px;
    align-items:center;
    justify-content:center;
    width:27px;
    height:29px;
    padding:0;
    color:#183b53;
    background:transparent;
    border:0;
    border-radius:8px;
    font-size:23px;
    font-weight:500;
    cursor:pointer;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll .fce-trainer-tournament-chevron:focus-visible{
    outline:3px solid #eab64f;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll .trainer-status-head{
    padding-right:34px!important;
  }
}


/* 14.1C — Single painted header, not two adjoining gradients.
 * The FCE logo/actions and the welcome/ball/4 buttons now share the same
 * topbar DOM parent on mobile. Only that parent's gradient is painted;
 * the child is transparent so no horizontal colour seam can appear.
 * The yellow staging-only banner remains a separate safety notice. */
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .sticky-header-stack{
    position:relative!important;
    top:auto!important;
    z-index:120;
    box-shadow:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar{
    position:relative;
    overflow:hidden!important;
    border:0!important;
    border-radius:0 0 17px 17px!important;
    background:
      radial-gradient(ellipse 76% 42% at 3% 100%,rgba(76,201,100,.59),transparent 94%),
      radial-gradient(ellipse 80% 58% at 96% 87%,rgba(14,174,70,.28),transparent 94%),
      linear-gradient(164deg,#063b65 0%,#07536f 33%,#087b60 67%,#0b9a53 100%)!important;
    box-shadow:0 7px 19px rgba(4,69,66,.16)!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner{
    padding-top:16px!important;
    padding-bottom:0!important;
    background:transparent!important;
  }
  /* Keep the full TEST warning, but float it within the same blue-green
     header instead of rendering another full-width yellow section. */
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .sticky-header-stack>.staging-banner{
    position:absolute!important;
    z-index:143!important;
    top:5px!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-width:none!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    padding:4px 6px!important;
    box-sizing:border-box;
    border:1px solid #e7bc37!important;
    border-radius:5px!important;
    background:#ffe277!important;
    color:#4d3905!important;
    font-size:9px!important;
    line-height:1.2!important;
    font-weight:850!important;
    letter-spacing:.005em!important;
    white-space:normal!important;
    text-align:center!important;
    box-shadow:0 1px 5px rgba(1,32,39,.14);
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .sticky-header-stack:has(>.staging-banner) .topbar-inner{
    padding-top:45px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-brand-row{
    position:relative;
    z-index:2;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    margin-bottom:0!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner>.trainer-mobile-dashboard-entry{
    position:relative!important;
    display:flex!important;
    flex-direction:column;
    box-sizing:border-box;
    isolation:isolate;
    width:calc(100% + 24px)!important;
    max-width:none!important;
    min-height:0!important;
    padding:14px 16px 7px!important;
    margin:0 -12px!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-brand-row{
    padding-left:15px!important;
    padding-right:6px!important;
    box-sizing:border-box;
  }
  /* The approved crest occupies 45px with a 15px title gap.
     Keep the greeting and action-row Y coordinates stable by reducing
     the hero's top padding by the same 10px. */
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-brand-row .trainer-mobile-brand{
    gap:15px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-brand-row .trainer-mobile-brand .brand-mark{
    width:45px!important;
    height:45px!important;
    flex:0 0 45px!important;
    background-size:contain!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner>.trainer-mobile-dashboard-entry:before{
    opacity:.80!important;
    filter:brightness(.82) saturate(1.14);
    background-position:calc(100% + 14px) -14px, 100% 80%!important;
  }
  /* A precisely measured short gap from the welcome to the action row,
     and a 7px trailing inset instead of the former 24px blank footer. */
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner>.trainer-mobile-dashboard-entry .fce-approved-trainer-actions{
    margin-top:15px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner>.trainer-mobile-dashboard-entry .trainer-mobile-welcome-copy p{
    margin-top:2px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner>.trainer-mobile-dashboard-entry .trainer-mobile-welcome{
    padding-left:8px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    #main-content.container{
    background:linear-gradient(180deg,#319e63 0px,#97ceab 90px,#e7f2ea 195px,#f4f8f9 320px)!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner>.trainer-mobile-dashboard-entry:after{
    background:linear-gradient(to bottom,transparent 0%,rgba(4,99,55,.05) 80%,rgba(5,112,54,.1) 100%);
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    #main-content.container{
    padding-top:0!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-headliners{
    margin-top:0!important;
  }
  /* Keep name and foreground controls in front of the decorative football. */
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner>.trainer-mobile-dashboard-entry .trainer-mobile-welcome,
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner>.trainer-mobile-dashboard-entry .fce-approved-trainer-actions{
    position:relative;
    z-index:2;
  }
}
/* Switching to another trainer workspace must remove the dashboard-specific
   greeting and quick actions from the common header. */
@media(max-width:760px){
  body.theme-admin:not([data-fce-trainer-view="dashboard"]) .site-shell.role-admin
    .topbar-inner>.trainer-mobile-dashboard-entry{
    display:none!important;
  }
}


/* Approved mobile tournament card: the small right-chevron is an unfilled
   action, not a large solid-green secondary button. Keep a 44px touch area. */
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll .fce-trainer-tournament-chevron{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    position:absolute!important;
    top:58px!important;
    right:7px!important;
    width:36px!important;
    min-width:36px!important;
    height:44px!important;
    min-height:44px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:8px!important;
    color:#2a4657!important;
    background:transparent!important;
    box-shadow:none!important;
    font-size:23px!important;
    font-weight:500!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-poll .fce-trainer-tournament-chevron:hover{
    background:#eaf6f0!important;
    color:#086a45!important;
  }
}

/* Phase 14.1D – approved SOLL/IST correction, mobile dashboard only.
 * The green stage below the connected header must remain visible around
 * Training, then fade to the cool pale canvas before the tournament card.
 * Keep all desktop/parent styles and underlying functionality unchanged.
 */
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    #main-content.container{
    padding-top:7px!important;
    background:
      radial-gradient(ellipse 110% 120px at 13% 0%,rgba(40,174,99,.12),transparent 85%),
      linear-gradient(180deg,
        #51aa79 0px,
        #85c2a3 39px,
        #b6d8c9 83px,
        #dceae7 132px,
        #eaf1f2 182px,
        #f0f4f6 242px,
        #f4f8f9 350px)!important;
  }
  /* Leave a short piece of green background between the four quick
     actions and the first training panel, as in the approved design. */
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner>.trainer-mobile-dashboard-entry .fce-approved-trainer-actions{
    margin-top:17px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner>.trainer-mobile-dashboard-entry .fce-approved-quick-action{
    min-height:73px!important;
    padding:8px 3px 6px!important;
    gap:5px!important;
    border-radius:10px!important;
  }
  /* Slightly softer trainer card edges/shadow, with the reference's
     airy three pastel status fields, not a flat grey box. */
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-current{
    border-radius:15px!important;
    border-color:#dce8e3!important;
    box-shadow:0 6px 18px rgba(21,61,61,.13)!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .trainer-status-mini>div{
    background:#e4f8e9!important;
    border-radius:10px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .trainer-status-mini>div.is-no{
    background:#fce9ed!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .trainer-status-mini>div.is-open{
    background:#e9eff6!important;
  }
  /* Consistent icon family: four action icons bold enough to match the
     reference while the bottom bar and panel icons stay clearly legible. */
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner>.trainer-mobile-dashboard-entry .fce-approved-quick-action svg{
    width:24px!important;
    height:24px!important;
    flex:0 0 24px!important;
    stroke-width:2.4;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-panel-band svg,
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-mobile-task-heading svg{
    stroke-width:2.25;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-dashboard-only .trainer-status-board>.trainer-status-tile>.trainer-status-icon svg{
    stroke-width:2.35;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-status-head .fce-event-meta-mobile svg{
    stroke-width:2.1;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-header-actions :is(a,button) svg{
    stroke-width:2.15;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-bottom-item svg{
    display:block;
    width:22px;
    height:22px;
    flex:0 0 22px;
    stroke-width:2.15;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .trainer-mobile-bottom-item.is-current svg{
    width:24px;
    height:24px;
    stroke-width:2.5;
  }
}


/* Phase 14.1E – SOLL/IST compact training panel and extended green stage.
 * Approved mobile reference only. The colour must keep flowing behind
 * the first card instead of fading into cool grey immediately below hero.
 * Layout changes are restricted to the training panel (not the tournament,
 * task list, desktop header, parents, or underlying navigation).
 */
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    #main-content.container{
    background:
      radial-gradient(ellipse 95% 160px at 6% 0%,rgba(25,168,82,.14),transparent 86%),
      linear-gradient(180deg,
        #50b57b 0px,
        #7cc99c 55px,
        #a3d6b8 118px,
        #cce8da 192px,
        #e7f1ec 274px,
        #f1f5f5 338px,
        #f4f8f9 430px)!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .trainer-status-head{
    padding:7px 12px 1px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .trainer-status-mini{
    margin:5px 10px 4px!important;
    gap:7px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .trainer-status-mini>div{
    padding:5px 3px!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .fce-trainer-target-training .fce-trainer-panel-actions{
    padding:2px 10px 9px!important;
  }
}


/* Phase 14.1F – keep the privacy footer below the fixed mobile bottom
 * navigation after the compact training card shortens the dashboard. */
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .footer-privacy-link{
    margin-top:26px!important;
  }
}


/* Phase 14.1G – remove the real seam between connected mobile header and
 * training stage. The old 17px rounded topbar exposed the page background
 * at its lower corners; the narrow .container only painted green inside a
 * 10px gutter, leaving a contrasting strip at the viewport edges.
 * Paint both layers edge-to-edge, with green continuous behind the card.
 * Keep 10px horizontal content padding so cards retain approved alignment.
 */
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar{
    border-bottom:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner>.trainer-mobile-dashboard-entry:after{
    background:none!important;
  }
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    #main-content.container{
    box-sizing:border-box;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:7px 10px 56px!important;
    background:
      radial-gradient(ellipse 95% 155px at 7% 0%,rgba(33,182,100,.15),transparent 90%),
      linear-gradient(180deg,
        #189b60 0px,
        #4cb776 31px,
        #86c9a0 95px,
        #b9dfcb 170px,
        #e6f1ea 285px,
        #f4f8f9 440px)!important;
  }
}


/* Phase 14.1H – approved mobile football: shift right, slightly reduce
 * rendered size and soften the contour. The actual ball is painted by
 * ::before; ::after is a separate shading overlay and remains untouched.
 * No changes to mobile header geometry or approved training-card transition.
 */
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner>.trainer-mobile-dashboard-entry::before{
    background-size:232px auto,auto!important;
    background-position:calc(100% + 38px) -22px,100% 80%!important;
    opacity:.76!important;
    filter:brightness(1.09) saturate(.90) contrast(.94)!important;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.82) 35%,#000 69%);
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.82) 35%,#000 69%);
  }
}

/* Phase 14.1I – preserve a naturally rounded football crown below the
 * navigation/identity strip. The former -22px background Y offset cropped
 * the SVG sphere through its top panels, creating a horizontal flat edge.
 * Keep the hero dimensions and the approved green card transition intact.
 */
@media(max-width:760px){
  body.theme-admin[data-fce-trainer-view="dashboard"] .site-shell.role-admin
    .topbar-inner>.trainer-mobile-dashboard-entry::before{
    background-position:calc(100% + 38px) 11px,100% 80%!important;
  }
}
