/* Elite Team Desktop UI Refresh — preview-first, presentation-only.
   Scoped to the existing desktop app. No roles, API, content, mobile or PWA changes.
   Design tokens: charcoal / ivory / champagne gold, larger legible text. */
@media (min-width: 960px) {
  .elite-app[data-surface="desktop"]{
    --elr-ink:#24221d;--elr-muted:#6e695e;--elr-gold:#b58b44;
    --elr-border:#e7dfd2;--elr-card:#ffffff;--elr-paper:#f8f7f3;
    --elr-shadow:0 8px 26px rgba(33,28,21,.055);
    --elr-radius:20px;
    background:var(--elr-paper);color:var(--elr-ink);
    font-size:15px;
  }
  .elite-app[data-surface="desktop"] .elite-workspace{background:#f8f7f3;min-width:0}
  .elite-app[data-surface="desktop"] :is(button,a,input,select,textarea):focus-visible{
    outline:3px solid rgba(181,139,68,.7);outline-offset:2px;
  }
  /* Primary rail and sidebar — visual change only; existing groups and JS stay intact. */
  .elite-app[data-surface="desktop"] .elite-desktop-rail{
    background:linear-gradient(180deg,#171612,#090909);
    border-color:rgba(231,207,166,.12);
  }
  .elite-app[data-surface="desktop"] .elite-rail-button{
    border-radius:14px;min-height:62px;
    color:#c9c6bc;transition:background .16s ease,transform .16s ease;
  }
  .elite-app[data-surface="desktop"] .elite-rail-button small{font-size:10px;letter-spacing:.02em}
  .elite-app[data-surface="desktop"] .elite-rail-button .elite-emoji-icon{font-size:23px}
  .elite-app[data-surface="desktop"] .elite-rail-button:hover{transform:translateY(-1px);background:#2a2620;color:#fff}
  .elite-app[data-surface="desktop"] .elite-rail-button.is-active{
    background:linear-gradient(135deg,#44351e,#27241e);
    border-color:#b58b44;color:#fff2d8;box-shadow:inset 3px 0 0 #d6ae63;
  }
  .elite-app[data-surface="desktop"] .elite-sidebar{
    background:linear-gradient(180deg,#171714,#10100f);border-right:1px solid #373026;
  }
  .elite-app[data-surface="desktop"] .elite-sidebar-head{padding-top:19px;padding-bottom:17px}
  .elite-app[data-surface="desktop"] .elite-brand strong{font-size:14px;letter-spacing:.08em;color:#fff4de}
  .elite-app[data-surface="desktop"] .elite-brand small{font-size:11px;color:#b7ae9d}
  .elite-app[data-surface="desktop"] .elite-primary-nav .elite-nav-item{
    min-height:44px;margin:2px 0;border-radius:12px;font-size:14px;
    font-weight:730;line-height:1.35;padding:10px 12px;
    color:#d5d1c9;transition:background .15s,color .15s;
  }
  .elite-app[data-surface="desktop"] .elite-primary-nav .elite-nav-item .elite-icon{
    display:grid;place-items:center;width:27px;min-width:27px;min-height:27px;
    border-radius:9px;background:rgba(255,255,255,.055);
  }
  .elite-app[data-surface="desktop"] .elite-primary-nav .elite-nav-item .elite-emoji-icon{font-size:18px}
  .elite-app[data-surface="desktop"] .elite-primary-nav .elite-nav-item:hover{
    background:rgba(255,255,255,.085);color:#fff;
  }
  .elite-app[data-surface="desktop"] .elite-primary-nav .elite-nav-item.is-active{
    background:linear-gradient(110deg,#363027,#231f19);color:#fff9ec;
    border:1px solid rgba(204,160,83,.5);box-shadow:inset 3px 0 0 #d5a657;
  }
  .elite-app[data-surface="desktop"] .elite-nav-group-label{
    color:#c9a86c;font-size:10px;letter-spacing:.14em;font-weight:900;
  }
  /* Header, search and owner QA strip. */
  .elite-app[data-surface="desktop"] .elite-topbar{
    background:rgba(255,255,255,.97);border-bottom:1px solid #e9e2d7;
    box-shadow:0 2px 15px rgba(26,21,15,.025);min-height:76px;
  }
  .elite-app[data-surface="desktop"] .elite-topbar h1{font-size:27px;letter-spacing:-.03em;color:#211f1b}
  .elite-app[data-surface="desktop"] .elite-top-kicker{font-size:11px;letter-spacing:.08em;color:#8b7653}
  .elite-app[data-surface="desktop"] .elite-topbar-actions{gap:10px}
  .elite-app[data-surface="desktop"] .elite-language-switcher{
    padding:4px;border-radius:13px;background:#f5f1e9;border:1px solid #e8ddcc;
  }
  .elite-app[data-surface="desktop"] .elite-language-switcher button{
    min-width:31px;min-height:32px;border-radius:9px;font-size:11px;
  }
  /* Locale switcher flags: crisp CSS flags work on Windows without emoji support. */
  .elite-app[data-surface="desktop"] .elite-language-switcher.elite-flag-language{gap:3px;}
  .elite-app[data-surface="desktop"] .elite-language-switcher button.elite-flag-language-choice{
    width:51px;min-width:51px;height:50px;padding:5px 4px;
    display:inline-flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;
    border-radius:10px;font-size:10px;line-height:1.1;letter-spacing:0;
  }
  .elite-app[data-surface="desktop"] .elite-language-switcher button.elite-flag-language-choice[data-language-choice="es"]{width:51px;min-width:51px;}

  /* Real national flag SVG artwork; no synthetic stripes, placeholder star or emoji eagle. */
  .elite-lang-flag{display:inline-block;position:relative;flex:none;overflow:hidden;width:26px;height:16px;border:1px solid rgba(0,0,0,.17);border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.1);background-color:#fff;background-position:center;background-size:contain;background-repeat:no-repeat;}
  .elite-lang-flag::before,.elite-lang-flag::after{content:none!important;display:none!important;}
  .elite-lang-flag-us{width:26px;height:14px;background-image:url("https://flagcdn.com/us.svg");}
  .elite-lang-flag-vn{width:24px;height:16px;background-image:url("https://flagcdn.com/vn.svg");}
  .elite-lang-flag-mx{width:26px;height:15px;background-image:url("https://flagcdn.com/mx.svg");}
  .elite-flag-language .elite-lang-label{display:block;white-space:nowrap;font-family:inherit;font-weight:850;letter-spacing:.01em;font-variant-numeric:normal;}

  .elite-app[data-surface="desktop"] .elite-search-trigger{
    min-height:39px;border-radius:12px;border:1px solid #e4ded3;
    background:#fff;padding:0 13px;font-size:12px;
  }
  .elite-app[data-surface="desktop"] .elite-icon-button{border-radius:12px;min-width:39px;min-height:39px}
  .elite-app[data-surface="desktop"] .elite-topbar-user{border-radius:13px}
  .elite-app[data-surface="desktop"] .elite-topbar-user-copy strong{font-size:13px}
  .elite-app[data-surface="desktop"] .elite-topbar-user-copy small{font-size:10px}
  .elite-app[data-surface="desktop"] .elite-owner-qa-bar{
    margin:10px 18px 0;border:1px solid #e7decf;border-radius:15px;
    background:#fffdf9;box-shadow:0 2px 10px rgba(30,25,18,.025);
  }
  .elite-app[data-surface="desktop"] .elite-owner-qa-copy strong{font-size:13px}
  .elite-app[data-surface="desktop"] .elite-owner-qa-controls :is(select,button){min-height:39px;border-radius:11px;font-size:12px}
  /* Shared visual scaffolding for desktop content panels. */
  .elite-app[data-surface="desktop"] :is(
    .elite-home-shell,.elite-training-shell,.elite-promotions-shell,
    .elite-policy-shell,.elite-compliance-shell
  ){width:min(1380px,100%);margin-inline:auto}
  .elite-app[data-surface="desktop"] :is(
    .elite-home-panel,.elite-training-panel,.elite-promotions-panel,
    .elite-policy-panel,.elite-compliance-panel
  ){padding:30px clamp(20px,3vw,42px) 52px}
  .elite-app[data-surface="desktop"] :is(
    .elite-training-head,.elite-policy-head,.elite-promotions-head,.elite-compliance-head
  ){
    position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;
    gap:20px;padding:24px 27px;margin-bottom:20px;
    background:linear-gradient(105deg,#fff,#fbf7ef);border:1px solid var(--elr-border);
    border-radius:var(--elr-radius);box-shadow:var(--elr-shadow);
  }
  .elite-app[data-surface="desktop"] :is(
    .elite-training-head,.elite-policy-head,.elite-promotions-head
  )::before{display:none}
  .elite-app[data-surface="desktop"] :is(
    .elite-training-head,.elite-policy-head,.elite-promotions-head
  )::after{display:none}
  .elite-app[data-surface="desktop"] :is(
    .elite-training-head h2,.elite-policy-head h2,.elite-promotions-head h2,.elite-compliance-head h2
  ){font-family:inherit;font-weight:850;font-size:clamp(26px,2.2vw,34px);line-height:1.15;letter-spacing:-.035em;color:#24221e;margin:7px 0 9px}
  .elite-app[data-surface="desktop"] :is(
    .elite-training-head p:last-child,.elite-policy-head p:last-child,
    .elite-promotions-head p:last-child,.elite-compliance-head p:last-child
  ){max-width:760px;color:#6f6b64;font-size:14px;line-height:1.55}
  .elite-app[data-surface="desktop"] :is(
    .elite-section-kicker,.elite-training-head .elite-section-kicker,
    .elite-policy-head .elite-section-kicker,.elite-promotions-head .elite-section-kicker
  ){
    color:#95703a;font-size:11px;font-weight:900;letter-spacing:.1em;
  }
  .elite-app[data-surface="desktop"] :is(
    .elite-training-count,.elite-policy-count,.elite-promotion-count,.elite-compliance-count
  ){
    min-width:91px;min-height:69px;padding:12px 16px;border-radius:15px;
    border:1px solid #e4d8c5;background:#fffaf0;
  }
  .elite-app[data-surface="desktop"] :is(
    .elite-training-count strong,.elite-policy-count strong,
    .elite-promotion-count strong,.elite-compliance-count strong
  ){font-family:inherit;font-size:27px;font-weight:850;line-height:1.1;color:#6c542f}
  .elite-app[data-surface="desktop"] :is(
    .elite-training-count span,.elite-policy-count span,
    .elite-promotion-count span,.elite-compliance-count span
  ){font-size:10px;font-weight:800}
  .elite-app[data-surface="desktop"] :is(
    .elite-approve-button,.elite-dashboard-refresh,
    .elite-policy-head-actions button,.elite-promotion-head-actions button
  ){min-height:42px;padding:10px 17px;border-radius:12px;font-size:13px;font-weight:800}
  /* Home dashboard */
  .elite-app[data-surface="desktop"] .elite-home-hero{
    position:relative;overflow:hidden;display:flex;align-items:center;gap:19px;
    margin-bottom:30px;padding:26px 30px;min-height:144px;
    border:1px solid var(--elr-border);border-radius:22px;
    background:linear-gradient(112deg,#fff,#fffdf9 65%,#f8f0e3);
    box-shadow:var(--elr-shadow);
  }
  .elite-app[data-surface="desktop"] .elite-home-avatar{
    width:72px;height:72px;flex:0 0 72px;font-size:30px;border:2px solid #e2c68f;
  }
  .elite-app[data-surface="desktop"] .elite-home-hero p{font-size:13px;color:#8b7a63}
  .elite-app[data-surface="desktop"] .elite-home-hero h2{
    margin:2px 0 5px;font-size:39px;letter-spacing:-.04em;color:#2a251e;
  }
  .elite-app[data-surface="desktop"] .elite-home-hero small{font-size:13px;color:#766c60}
  .elite-app[data-surface="desktop"] .elite-home-section-head{margin-bottom:16px}
  .elite-app[data-surface="desktop"] .elite-home-section-head span{
    font-size:11px;letter-spacing:.14em;color:#997138;
  }
  .elite-app[data-surface="desktop"] .elite-home-section-head h3{
    font-family:inherit;font-weight:850;font-size:29px;letter-spacing:-.035em;color:#27231e;
  }
  .elite-app[data-surface="desktop"] .elite-home-section-head > small{font-size:12px;color:#80776c}
  .elite-app[data-surface="desktop"] .elite-home-today{margin-top:0}
  .elite-app[data-surface="desktop"] .elite-home-quick{margin-top:30px}
  .elite-app[data-surface="desktop"] .elite-home-attention-grid{gap:13px}
  .elite-app[data-surface="desktop"] .elite-home-attention-grid button{
    min-height:137px;gap:10px;padding:19px 16px;border-radius:19px;
    border:1px solid var(--elr-border);background:linear-gradient(135deg,#fff,#fdfaf5);
    box-shadow:var(--elr-shadow);align-content:center;
  }
  .elite-app[data-surface="desktop"] .elite-home-attention-grid button:nth-child(2){background:linear-gradient(135deg,#fff,#fcf6f3)}
  .elite-app[data-surface="desktop"] .elite-home-attention-grid button:nth-child(3){background:linear-gradient(135deg,#fff,#faf7ff)}
  .elite-app[data-surface="desktop"] .elite-home-attention-grid button:nth-child(4){background:linear-gradient(135deg,#fff,#f2faf5)}
  .elite-app[data-surface="desktop"] .elite-home-attention-grid button:nth-child(5){background:linear-gradient(135deg,#fff,#f3f8fb)}
  .elite-app[data-surface="desktop"] .elite-home-card-icon{
    display:grid;place-items:center;width:47px;height:47px;border-radius:13px;
    background:#f4eadd;color:#79562a;font-size:22px;
  }
  .elite-app[data-surface="desktop"] .elite-home-card-icon .elite-emoji-icon{font-size:24px}
  .elite-app[data-surface="desktop"] .elite-home-attention-grid strong{
    font-family:inherit;font-weight:900;font-size:30px;color:#24221f;
  }
  .elite-app[data-surface="desktop"] .elite-home-attention-grid small{font-size:12px;font-weight:750;color:#635e57}
  .elite-app[data-surface="desktop"] .elite-home-attention-grid em{
    display:inline-flex;justify-self:start;width:max-content;
    padding:5px 9px;border-radius:999px;background:rgba(174,139,77,.13);
    color:#8c642f;font-size:11px;font-weight:800;
  }
  .elite-app[data-surface="desktop"] .elite-home-quick-grid{gap:14px}
  .elite-app[data-surface="desktop"] .elite-home-quick-grid button{
    min-height:150px;gap:12px;padding:21px 14px;
    background:#fff;border:1px solid var(--elr-border);
    border-radius:19px;box-shadow:var(--elr-shadow);
    transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
  }
  .elite-app[data-surface="desktop"] .elite-home-quick-grid button .elite-emoji-icon{font-size:31px}
  .elite-app[data-surface="desktop"] .elite-home-quick-grid button span:not(.elite-emoji-icon){
    font-size:15px;font-weight:850;color:#29251f;
  }
  .elite-app[data-surface="desktop"] .elite-home-quick-grid button:hover,
  .elite-app[data-surface="desktop"] .elite-home-attention-grid button:hover{
    transform:translateY(-2px);border-color:#bd9b5f;box-shadow:0 14px 26px rgba(80,60,30,.09);
  }
  /* Desktop Quick Access File Center link inherits the same card treatment as buttons. */
  .elite-app[data-surface="desktop"] .elite-home-quick-grid > a[href*="elite_files"]{
    display:grid;place-items:center;align-content:center;gap:12px;
    min-height:150px;padding:21px 14px;
    background:#fff;border:1px solid var(--elr-border);border-radius:19px;
    box-shadow:var(--elr-shadow);text-align:center;text-decoration:none;color:#29251f;
    transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
  }
  .elite-app[data-surface="desktop"] .elite-home-quick-grid > a[href*="elite_files"] svg{
    width:31px;height:31px;fill:none;stroke:#7c5e32;stroke-width:1.5;
  }
  .elite-app[data-surface="desktop"] .elite-home-quick-grid > a[href*="elite_files"] span:not(.elite-emoji-icon){
    font-size:15px;font-weight:850;color:#29251f;
  }
  .elite-app[data-surface="desktop"] .elite-home-quick-grid > a[href*="elite_files"]:hover{
    transform:translateY(-2px);border-color:#bd9b5f;box-shadow:0 14px 26px rgba(80,60,30,.09);
  }
  /* Training: courses, group tiles, progress and Coach. */
  .elite-app[data-surface="desktop"] .elite-training-hub{gap:22px}
  .elite-app[data-surface="desktop"] .elite-training-hub-head{gap:7px}
  .elite-app[data-surface="desktop"] .elite-training-hub-title{
    font-size:29px;font-weight:850;letter-spacing:-.035em;color:#28231e;
  }
  .elite-app[data-surface="desktop"] .elite-training-hub-copy{font-size:14px}
  .elite-app[data-surface="desktop"] .elite-training-hub-progress{
    border:1px solid #e8d9bf;padding:20px 24px;
    border-radius:19px;background:#fffaf1;box-shadow:var(--elr-shadow);
  }
  .elite-app[data-surface="desktop"] .elite-training-hub-progress-head{font-size:15px}
  .elite-app[data-surface="desktop"] .elite-training-hub-progress-head b{font-size:26px}
  .elite-app[data-surface="desktop"] .elite-training-hub-track{height:10px}
  .elite-app[data-surface="desktop"] .elite-training-hub-progress small{font-size:12px}
  .elite-app[data-surface="desktop"] .elite-training-hub-categories{
    grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;
  }
  .elite-app[data-surface="desktop"] .elite-training-hub-categories:has([data-training-center-target="shared"]){
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .elite-app[data-surface="desktop"] .elite-training-hub-tile{
    padding:20px;min-height:176px;gap:13px;border-radius:19px;
    background:#fff;border:1px solid #e3dcd1;box-shadow:var(--elr-shadow);
  }
  .elite-app[data-surface="desktop"] .elite-training-hub-tile-title{font-size:16px;color:#211f1c}
  .elite-app[data-surface="desktop"] .elite-training-hub-icon{
    width:48px;height:48px;flex-basis:48px;border-radius:14px;
    background:#f5f0e6;font-size:26px;
  }
  .elite-app[data-surface="desktop"] .elite-training-hub-tile-desc{font-size:13px;line-height:1.55}
  .elite-app[data-surface="desktop"] .elite-training-hub-tile-meta{font-size:12px;color:#865f2b}
  .elite-app[data-surface="desktop"] .elite-training-hub-tile.is-active{
    border:2px solid #ba8e41;background:linear-gradient(140deg,#fffdf8,#fff5e5);
    box-shadow:0 13px 25px rgba(137,95,38,.12);
  }
  .elite-app[data-surface="desktop"] .elite-training-hub-pane-title{font-size:21px}
  .elite-app[data-surface="desktop"] .elite-training-hub-course-list{gap:16px}
  .elite-app[data-surface="desktop"] .elite-training-card{
    border-radius:18px;padding:21px 24px;border-color:#e8dfd1;
    background:#fff;box-shadow:var(--elr-shadow);
  }
  .elite-app[data-surface="desktop"] .elite-training-card h3{font-size:23px;line-height:1.25;font-weight:850}
  .elite-app[data-surface="desktop"] .elite-training-card :is(p,.elite-training-progress){font-size:13px;line-height:1.55}
  .elite-app[data-surface="desktop"] .elite-training-toolbar{margin:21px 0;gap:14px}
  .elite-app[data-surface="desktop"] .elite-training-toolbar label > span{font-size:11px}
  .elite-app[data-surface="desktop"] .elite-training-toolbar select{min-height:43px;font-size:13px;border-radius:12px}
  .elite-app[data-surface="desktop"] .elite-coach,
  .elite-app[data-surface="desktop"] .elite-regulatory-inbox{
    border-radius:21px;background:#fff;border:1px solid var(--elr-border);
    box-shadow:var(--elr-shadow);margin-bottom:20px;
  }
  .elite-app[data-surface="desktop"] .elite-coach :is(button,select){
    min-height:40px;border-radius:11px;
  }
  /* Policies + promotions */
  .elite-app[data-surface="desktop"] :is(.elite-policy-grid,.elite-promotion-grid){gap:19px}
  .elite-app[data-surface="desktop"] :is(.elite-policy-card,.elite-promotion-card){
    gap:17px;padding:23px;border-radius:21px;border:1px solid #e6dfd3;
    background:#fff;box-shadow:var(--elr-shadow);
  }
  .elite-app[data-surface="desktop"] :is(.elite-policy-card h3,.elite-promotion-card h3){
    font-family:inherit;font-weight:850;font-size:24px;letter-spacing:-.025em;line-height:1.22;color:#25221e;
  }
  .elite-app[data-surface="desktop"] :is(.elite-policy-category,.elite-promotion-category){
    font-size:11px;letter-spacing:.11em;color:#946e35;
  }
  .elite-app[data-surface="desktop"] :is(.elite-policy-state,.elite-promotion-status){
    padding:7px 12px;font-size:11px;letter-spacing:.02em;border-radius:999px;
  }
  .elite-app[data-surface="desktop"] .elite-promotion-offer{font-size:22px;line-height:1.32;color:#79541d}
  .elite-app[data-surface="desktop"] :is(.elite-policy-rule,.elite-policy-action,.elite-promotion-rule,.elite-promotion-note){
    padding:17px 18px;border-radius:15px;background:#f8f7f4;
  }
  .elite-app[data-surface="desktop"] :is(.elite-policy-rule>span,.elite-policy-action>span,.elite-promotion-rule>span,.elite-promotion-note>span){
    font-size:11px;font-weight:900;letter-spacing:.08em;
  }
  .elite-app[data-surface="desktop"] :is(.elite-policy-rule p,.elite-policy-action p,.elite-promotion-rule p,.elite-promotion-note p){
    font-size:14px;line-height:1.65;color:#5b554c;
  }
  .elite-app[data-surface="desktop"] :is(.elite-policy-meta span,.elite-promotion-meta span){
    font-size:12px;padding:7px 11px;border-radius:999px;
  }
  .elite-app[data-surface="desktop"] :is(.elite-policy-actions button,.elite-promotion-actions button){
    min-height:43px;padding:10px 17px;font-size:13px;font-weight:800;border-radius:12px;
  }
  .elite-app[data-surface="desktop"] :is(.elite-policy-toolbar,.elite-promotion-toolbar){
    padding:16px 18px;border:1px solid #e8e1d5;border-radius:18px;
    background:#fff;box-shadow:0 4px 16px rgba(35,30,20,.027);margin-bottom:19px;
  }
  .elite-app[data-surface="desktop"] :is(.elite-policy-toolbar label>span,.elite-promotion-toolbar label>span){
    font-size:11px;letter-spacing:.06em;color:#8c714b;
  }
  .elite-app[data-surface="desktop"] :is(
    .elite-policy-toolbar input,.elite-policy-toolbar select,
    .elite-promotion-toolbar input,.elite-promotion-toolbar select
  ){
    min-height:46px;font-size:14px;border:1px solid #ded5c7;border-radius:12px;
    padding:11px 14px;background:#fff;
  }
  .elite-app[data-surface="desktop"] :is(.elite-policy-toolbar p,.elite-promotion-toolbar p){font-size:12px}
  /* Provider Compliance: larger inputs and distinct private documents. */
  .elite-app[data-surface="desktop"] .elite-compliance-tabs{
    display:flex;flex-wrap:wrap;gap:8px;padding:7px;border:1px solid #e4ded4;
    border-radius:16px;background:#efeee9;margin-bottom:17px;
  }
  .elite-app[data-surface="desktop"] .elite-compliance-tabs button{
    min-height:44px;padding:11px 17px;border-radius:11px;font-size:13px;font-weight:800;
  }
  .elite-app[data-surface="desktop"] .elite-compliance-summary{
    padding:14px 18px;font-size:13px;line-height:1.55;
    border-radius:14px;background:#fff;border:1px solid var(--elr-border);margin-bottom:14px;
  }
  .elite-app[data-surface="desktop"] .elite-compliance-list{gap:19px}
  .elite-app[data-surface="desktop"] .elite-compliance-card{
    padding:24px 26px;gap:18px;border:1px solid #e3ded2;border-left:4px solid #a6c1ac;
    border-radius:20px;background:#fff;box-shadow:var(--elr-shadow);
  }
  .elite-app[data-surface="desktop"] .elite-compliance-card-head>div strong{
    font-size:25px;font-family:inherit;font-weight:850;letter-spacing:-.03em;color:#2d2823;
  }
  .elite-app[data-surface="desktop"] .elite-compliance-card-head>div small{font-size:12px}
  .elite-app[data-surface="desktop"] :is(.elite-compliance-card-head>span,.elite-compliance-document-head>span){
    font-size:11px;padding:7px 12px;border-radius:999px;
  }
  .elite-app[data-surface="desktop"] .elite-compliance-fields{gap:13px}
  .elite-app[data-surface="desktop"] .elite-compliance-fields label>span{font-size:11px;letter-spacing:.06em}
  .elite-app[data-surface="desktop"] .elite-compliance-fields input{
    min-height:48px;font-size:14px;padding:11px 14px;border-radius:12px;
  }
  .elite-app[data-surface="desktop"] .elite-compliance-documents{gap:15px}
  .elite-app[data-surface="desktop"] .elite-compliance-document{
    padding:17px;border-radius:16px;border:1px solid #e7e1d7;background:#fdfcf9;gap:12px;
  }
  .elite-app[data-surface="desktop"] .elite-compliance-document-head>strong{font-size:13px;line-height:1.4}
  .elite-app[data-surface="desktop"] .elite-compliance-upload button{
    min-height:43px;font-size:12px;border-radius:11px;background:#fff;
  }
  .elite-app[data-surface="desktop"] .elite-compliance-upload input[type="file"]{font-size:11px}
  .elite-app[data-surface="desktop"] .elite-compliance-upload small{font-size:11px}
  .elite-app[data-surface="desktop"] .elite-compliance-privacy-note{font-size:12px}
  /* Account Center — accessible label and control sizing, no form behavior changes. */
  .elite-modal-backdrop[data-account-modal] .elite-account-modal{
    width:min(760px,calc(100vw - 42px));max-height:min(89vh,850px);overflow:auto;
    border-radius:24px;background:#fffdf8;
    border:1px solid #e9dfcf;box-shadow:0 32px 100px rgba(20,18,14,.28);
    padding:25px 29px 28px;
  }
  .elite-modal-backdrop[data-account-modal] .elite-account-modal h2{font-size:31px}
  .elite-modal-backdrop[data-account-modal] .elite-account-hero{padding:17px 0 20px}
  .elite-modal-backdrop[data-account-modal] .elite-account-hero strong{font-size:18px}
  .elite-modal-backdrop[data-account-modal] .elite-account-hero small{font-size:12px}
  .elite-modal-backdrop[data-account-modal] .elite-account-grid{gap:12px}
  .elite-modal-backdrop[data-account-modal] .elite-account-grid>div{
    padding:14px 16px;border-radius:13px;background:#f8f7f4;border:1px solid #e9e2d8;
  }
  .elite-modal-backdrop[data-account-modal] .elite-account-grid>div>span{font-size:11px;letter-spacing:.07em}
  .elite-modal-backdrop[data-account-modal] .elite-account-grid>div>strong{font-size:14px;word-break:break-word}
  .elite-modal-backdrop[data-account-modal] :is(.elite-account-login-note,.elite-account-reset){
    padding:15px 17px;border-radius:14px;font-size:13px;line-height:1.55;
  }
  .elite-modal-backdrop[data-account-modal] .elite-account-reset button{min-height:43px;font-size:13px;border-radius:11px}
}
/* Desktop controls polish v1 — CSS-only, scoped; no app routing or actions touched. */
@media (min-width:960px) {
  /* Form filters: visible at rest, compact, and safe with long translations. */
  .elite-app[data-surface="desktop"] :is(
    .elite-training-toolbar select,
    .elite-policy-toolbar select,
    .elite-promotion-toolbar select,
    .elite-task-toolbar select,
    .elite-case-toolbar select,
    .elite-coach-controls select
  ){
    box-sizing:border-box;
    min-width:0;max-width:100%;min-height:48px;
    padding:10px 36px 10px 14px;
    border:1.5px solid #bf9b61;border-radius:12px;
    background-color:#fff8e9;color:#342719;
    font-size:14px;font-weight:750;line-height:1.35;
    box-shadow:0 2px 9px rgba(91,65,23,.08);
    text-overflow:ellipsis;
  }
  .elite-app[data-surface="desktop"] :is(
    .elite-training-toolbar label,.elite-policy-toolbar label,
    .elite-promotion-toolbar label,.elite-coach-controls label
  ){min-width:0;max-width:100%}
  .elite-app[data-surface="desktop"] :is(
    .elite-training-toolbar select,.elite-coach-controls select
  ){width:min(255px,100%)}
  .elite-app[data-surface="desktop"] :is(
    .elite-training-toolbar select,.elite-policy-toolbar select,
    .elite-promotion-toolbar select,.elite-task-toolbar select,
    .elite-case-toolbar select,.elite-coach-controls select
  ):focus-visible{outline:3px solid rgba(189,145,65,.45);outline-offset:2px}

  /* Elite Coach — clear primary action and legible scenario choices. */
  .elite-app[data-surface="desktop"] .elite-coach-controls{
    flex-wrap:wrap;min-width:0;row-gap:12px;
  }
  .elite-app[data-surface="desktop"] .elite-coach-controls button[data-coach-next]{
    min-height:46px;max-width:100%;padding:11px 20px;
    border:1px solid #a58048;border-radius:12px;
    background:linear-gradient(110deg,#24201a,#493720);color:#fff6e7;
    font-size:14px;font-weight:820;line-height:1.35;
    white-space:normal;overflow-wrap:anywhere;
    box-shadow:0 5px 13px rgba(50,35,15,.13);
  }
  .elite-app[data-surface="desktop"] .elite-coach-controls button[data-coach-next]:hover:not(:disabled){
    background:linear-gradient(110deg,#362a1d,#65502d);
    border-color:#c6a46b;
  }
  .elite-app[data-surface="desktop"] .elite-coach-option{
    min-width:0;min-height:57px;
    border:1.5px solid #d5c7af;border-radius:13px;
    background:#fffdfa;
    box-shadow:0 2px 5px rgba(64,43,12,.035);
    transition:background .16s,border-color .16s,box-shadow .16s;
  }
  .elite-app[data-surface="desktop"] .elite-coach-option strong{
    min-width:0;font-size:14px;line-height:1.48;
    font-weight:760;overflow-wrap:anywhere;
  }
  .elite-app[data-surface="desktop"] .elite-coach-option > span{
    background:#ede0c6;color:#624417;font-size:12px;
    border:1px solid #d4bc8d;
  }
  .elite-app[data-surface="desktop"] .elite-coach-option:hover:not(:disabled){
    border-color:#ad8546;background:#fff6e7;
    box-shadow:0 5px 13px rgba(82,56,21,.09);
  }
  .elite-app[data-surface="desktop"] .elite-coach-option.is-selected{
    border-color:#946823;background:#fff1d9;
    box-shadow:inset 4px 0 0 #946823;
  }
  .elite-app[data-surface="desktop"] .elite-coach-case-meta em{
    background:#efe3cd;color:#60451f;border:1px solid #dec9a3;
    max-width:65%;overflow-wrap:anywhere;text-align:right;
  }

  /* Training categories: consistent surface, clear active state, no fixed text height. */
  .elite-app[data-surface="desktop"] .elite-training-hub-tile{
    box-sizing:border-box;min-width:0;
    background:linear-gradient(145deg,#fffdfa,#f9f3e8);
    border:1.5px solid #d5c29e;
    box-shadow:0 5px 17px rgba(70,47,18,.07);
    transition:border-color .16s,background .16s,box-shadow .16s;
  }
  .elite-app[data-surface="desktop"] .elite-training-hub-tile:hover{
    background:linear-gradient(145deg,#fff8eb,#f7e8cf);
    border-color:#ab8449;box-shadow:0 9px 21px rgba(93,62,24,.11);
  }
  .elite-app[data-surface="desktop"] .elite-training-hub-tile.is-active{
    background:linear-gradient(140deg,#fff2db,#fffaf2);
    border:2px solid #ac7a30;box-shadow:inset 4px 0 0 #b18b4b,0 8px 20px rgba(90,60,22,.09);
  }
  .elite-app[data-surface="desktop"] .elite-training-hub-tile-title{
    min-width:0;max-width:100%;
    flex-wrap:wrap;overflow-wrap:anywhere;
    font-size:19px;line-height:1.32;font-weight:850;
  }
  .elite-app[data-surface="desktop"] .elite-training-hub-tile-desc{
    min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:1.52;
  }
  .elite-app[data-surface="desktop"] .elite-training-hub-tile-meta{
    display:inline-flex;align-self:flex-start;
    max-width:100%;padding:6px 10px;
    background:#f2e3c7;border-radius:999px;
    color:#654519;font-size:12px;font-weight:820;
    line-height:1.4;overflow-wrap:anywhere;
  }
  /* Knowledge Check CTA: visually prominent without stretching its form. */
  .elite-app[data-surface="desktop"] .elite-training-quiz{min-width:0}
  .elite-app[data-surface="desktop"] .elite-training-quiz input{
    min-width:0;max-width:100%;box-sizing:border-box;
  }
  .elite-app[data-surface="desktop"] .elite-training-quiz button[type="submit"]{
    box-sizing:border-box;max-width:100%;min-height:46px;
    padding:10px 17px;border:1px solid #a58048;border-radius:11px;
    background:#29231c;color:#fff7e7;
    font-size:13px;font-weight:850;line-height:1.4;
    white-space:normal;overflow-wrap:anywhere;
    box-shadow:0 4px 11px rgba(47,34,17,.12);
  }
  .elite-app[data-surface="desktop"] .elite-training-quiz button[type="submit"]:hover:not(:disabled){
    background:#493922;border-color:#c19b5a;
  }
  /* Policy / promotion tags: readable contrast, with safe multiline labels. */
  .elite-app[data-surface="desktop"] :is(.elite-policy-meta,.elite-promotion-meta){
    min-width:0;gap:8px;align-items:flex-start;
  }
  .elite-app[data-surface="desktop"] :is(.elite-policy-meta span,.elite-promotion-meta span){
    display:inline-flex;align-items:center;
    box-sizing:border-box;max-width:100%;min-height:32px;
    padding:7px 12px;border:1px solid #c8ab79;
    background:#f9f0df;color:#65491f;
    font-size:12px;font-weight:740;line-height:1.35;
    white-space:normal;overflow-wrap:anywhere;
  }
}
@media (min-width:960px) and (max-width:1160px){
  .elite-app[data-surface="desktop"] .elite-training-hub-tile-title{font-size:17px}
  .elite-app[data-surface="desktop"] .elite-coach-controls label{flex:1 1 210px}
}
@media (prefers-reduced-motion:reduce){
  .elite-app[data-surface="desktop"] .elite-coach-option,
  .elite-app[data-surface="desktop"] .elite-training-hub-tile{transition:none!important}
}

/* Desktop Training category tiles — same dark champagne treatment as mobile.
   Presentation-only: keep natural card height, text wrapping, click targets and course state. */
@media (min-width:960px){
  .elite-app[data-surface="desktop"] .elite-v2-ops .elite-training-hub-tile{
    position:relative;
    isolation:isolate;
    box-sizing:border-box;
    min-width:0;
    overflow:hidden;
    background:radial-gradient(circle at 100% 0%,rgba(210,173,103,.18),transparent 55%),
      linear-gradient(122deg,#161615,#29241f 70%,#171717);
    border:1.5px solid #b99760;
    color:#fffaf0;
    box-shadow:0 10px 23px rgba(21,16,8,.16);
  }
  .elite-app[data-surface="desktop"] .elite-v2-ops .elite-training-hub-tile::after{
    content:"";
    position:absolute;
    z-index:-1;
    right:-29%;top:-54%;
    width:75%;aspect-ratio:1;
    border:1px solid rgba(211,180,119,.23);
    border-radius:50%;
    box-shadow:0 0 0 23px rgba(211,180,119,.04),0 0 0 46px rgba(211,180,119,.035);
    pointer-events:none;
  }
  .elite-app[data-surface="desktop"] .elite-v2-ops .elite-training-hub-tile:hover{
    background:radial-gradient(circle at 100% 0%,rgba(210,173,103,.23),transparent 55%),
      linear-gradient(122deg,#1b1a17,#30291e 70%,#191817);
    border-color:#d6b577;
  }
  .elite-app[data-surface="desktop"] .elite-v2-ops .elite-training-hub-tile.is-active{
    background:radial-gradient(circle at 100% 0%,rgba(210,173,103,.28),transparent 55%),
      linear-gradient(122deg,#161615,#30261b 70%,#171717);
    border:2px solid #e6c180;
    box-shadow:0 0 0 2px rgba(199,166,106,.16),0 12px 26px rgba(21,16,8,.2);
  }
  .elite-app[data-surface="desktop"] .elite-v2-ops .elite-training-hub-tile-title{
    color:#fffaf0;
    min-width:0;max-width:100%;
    overflow-wrap:anywhere;
  }
  .elite-app[data-surface="desktop"] .elite-v2-ops .elite-training-hub-icon{
    color:#f4d391;
    background:rgba(248,229,191,.12);
    border:1px solid rgba(221,190,130,.45);
  }
  .elite-app[data-surface="desktop"] .elite-v2-ops .elite-training-hub-tile-desc{
    color:#ecddc3;
    min-width:0;overflow-wrap:anywhere;
  }
  .elite-app[data-surface="desktop"] .elite-v2-ops .elite-training-hub-tile-meta{
    color:#ffe1a6;
    background:rgba(218,177,104,.19);
    border:1px solid rgba(224,187,120,.4);
    align-self:flex-start;
    max-width:100%;
    line-height:1.4;
    white-space:normal;
    overflow-wrap:anywhere;
  }
}
@media (min-width:960px) and (max-width:1299px){
  .elite-app[data-surface="desktop"] .elite-home-attention-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .elite-app[data-surface="desktop"] .elite-training-hub-categories:has([data-training-center-target="shared"]){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:960px) and (max-width:1099px){
  .elite-app[data-surface="desktop"] .elite-home-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){
  .elite-app[data-surface="desktop"] .elite-rail-button,
  .elite-app[data-surface="desktop"] .elite-home-quick-grid button,
  .elite-app[data-surface="desktop"] .elite-home-attention-grid button{transition:none!important;transform:none!important}
}
