/* Standalone Luna training module within the public demo. No hunts or customer data. */
#featureContent:has(.train-demo){padding:0;background:transparent;border:0;box-shadow:none}
.train-demo{color:#254c37;min-width:0;display:grid;gap:17px}
.train-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-radius:16px;border:1px solid #c2d5c1;background:linear-gradient(116deg,#e7f1e2,#fdfcf5)}
.train-eyebrow{display:block;font-size:10px;color:#4e7758;font-weight:850;letter-spacing:.15em}
.train-head h3{font:500 clamp(27px,3vw,37px)/1.12 Georgia,serif!important;margin:7px 0 8px;color:#214831}
.train-head p{color:#53715c;font-size:13px;margin:0;line-height:1.55;max-width:650px}
.train-flag{font-size:10px;line-height:1.5;font-weight:800;color:#4d7054;border:1px solid #b6d1b3;border-radius:99px;padding:7px 12px;white-space:nowrap;background:#edf5e8}
.train-mode-choices{display:grid;grid-template-columns:1.12fr 1fr;gap:12px}
.train-mode-choices button{font:inherit;display:grid;grid-template-columns:1fr auto;text-align:left;align-content:center;gap:7px;min-height:103px;border-radius:14px;padding:17px 18px;border:1px solid #c2d8c1;transition:background .15s}
.train-mode-choices button b{font-size:16px}
.train-mode-choices button small{font-size:12px;line-height:1.5;grid-column:1;max-width:45ch}
.train-mode-choices button>span{grid-column:2;grid-row:1/3;font-size:19px;align-self:center}
.train-mode-choices .train-main{background:#285b3f;border-color:#285b3f;color:white}
.train-mode-choices .train-main:hover{background:#346e4d}
.train-mode-choices .train-other{background:#f9fbf6;color:#285840}
.train-mode-choices .train-other:hover{background:#e9f3e7}
.train-demo-hint{color:#506b55;background:#eaf3e6;border:1px solid #c8dec7;border-radius:9px;padding:10px 14px;font-size:12px}
.train-filter label{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700}
.train-filter select{border:1px solid #bcd1ba;border-radius:8px;padding:7px 10px;background:white;color:#25543a}
.train-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.train-stat{min-width:0;border:1px solid #d7e4d4;border-radius:12px;background:#f7faf4;padding:14px;display:grid;gap:6px}
.train-stat small{font-size:11px;color:#597460}
.train-stat strong{font-size:clamp(19px,2vw,28px);line-height:1.14;color:#23503a}
.train-stat span{font-size:10px;color:#718476}
.train-content{display:grid;grid-template-columns:minmax(190px,.36fr) minmax(0,1fr);gap:14px}
.train-list,.train-detail{border:1px solid #d1e0d0;border-radius:13px;background:#fffefa;padding:15px;min-width:0}
.train-list h4,.train-detail h4{margin:0 0 12px;color:#295239;font:500 22px Georgia,serif}
.train-list>small{display:block;margin-top:16px;color:#667e6c;line-height:1.5;font-size:11px}
.train-session{display:grid;width:100%;gap:7px;text-align:left;border:1px solid #dae5d5;border-radius:9px;background:#f9fbf6;padding:12px;margin-bottom:9px;color:#2c563e}
.train-session.selected{background:#e5f1e2;border-color:#91b899;box-shadow:inset 3px 0 #2e6846}
.train-session strong{font-size:12px}.train-session span{font-size:11px;color:#647c69}
.train-detail .train-date{font-size:12px;color:#637b69;margin:-3px 0 14px}
.train-gpx{display:grid;gap:10px;background:#eef7e9;border:1px solid #b5d1b6;border-radius:11px;padding:14px}
.train-gpx strong{font-size:14px;color:#2d6144}
.train-gpx p,.train-gpx small{margin:0;font-size:12px;line-height:1.6;color:#4d6855}
.train-gpx-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.train-gpx-actions>button{border:1px solid #2d6646;background:#2b6043;color:#fff;padding:10px 12px;border-radius:9px;font-size:12px;font-weight:700}
.train-gpx-actions label{font-size:12px;display:grid;gap:5px;background:#fff;padding:9px;border:1px dashed #86ac86;border-radius:8px;max-width:100%}
.train-gpx-actions input{font-size:11px;width:100%;max-width:290px}
.train-map{height:340px;min-height:230px;background:#e7eee3;border:1px solid #c5d5c0;border-radius:10px;overflow:hidden;margin-top:12px;z-index:0}
.train-map-note{font-size:12px;line-height:1.6;color:#506b56}
.train-events{margin:18px 0}.train-events h4,.train-field h4{font:650 14px system-ui;margin:0 0 10px}
.train-event{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:9px;border-top:1px solid #e2eadd;padding:10px 1px}
.train-event>span:nth-child(2){display:grid;gap:3px}.train-event b{font-size:12px}.train-event small{font-size:10px;color:#708470}
.train-event button,.train-edit-button{background:#f6faf3;border:1px solid #b9d2b8;color:#2b6143;padding:7px 10px;border-radius:8px;font-size:11px;font-weight:700}
.train-dot{width:10px;height:10px;border-radius:50%;background:#bc7736}.train-dot-flush{background:#a84c4c}.train-dot-work_reis{background:#336f9d}.train-dot-work_no_reis{background:#7b5ea4}
.train-edit{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0}
.train-edit label,.train-note{font-size:12px;font-weight:700;display:grid;gap:5px;color:#456b51}
.train-edit input,.train-edit select,.train-note textarea{width:100%;min-width:0;border:1px solid #b8cdb8;background:#fff;border-radius:8px;padding:9px;min-height:41px;color:#244a36}
.train-note textarea{min-height:76px;resize:vertical}
.train-field{border:1px solid #c9dfc5;border-radius:12px;background:#f4faf1;padding:13px;margin:12px 0}
.train-field p{font-size:12px;color:#617666;line-height:1.5}
.train-field-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.train-field-buttons button{display:flex;justify-content:space-between;gap:8px;align-items:center;background:#e4f1df;color:#285639;padding:11px;border:1px solid #b7d3b7;border-radius:8px;font-size:12px;font-weight:700;text-align:left}
.train-save{margin-top:10px;border:1px solid #285b3f;border-radius:9px;padding:12px 16px;background:#285b3f;color:white;font-size:12px;font-weight:800}
.train-status{color:#2b6546;background:#eaf5e6;padding:10px 12px;border-radius:8px;font-size:12px}
@media(max-width:960px){.train-content{grid-template-columns:1fr}.train-list{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.train-list h4{width:100%}.train-list>small{width:100%}.train-session{width:auto;flex:1 1 190px}}
@media(max-width:650px){.train-head{padding:16px;align-items:flex-start;flex-direction:column}.train-flag{white-space:normal}.train-mode-choices{grid-template-columns:1fr;gap:9px}.train-mode-choices button{min-height:83px;padding:13px}.train-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.train-stat{padding:11px}.train-detail,.train-list{padding:12px}.train-map{height:300px}.train-edit{grid-template-columns:1fr}.train-field-buttons{grid-template-columns:1fr 1fr}}

/* Premium visual parity with the real Lefty and customer training journal. */
.train-demo{--train-dark:#183e2b;--train-gold:#e1c992;gap:15px}
.train-head{position:relative;isolation:isolate;overflow:hidden;flex-wrap:wrap;align-items:start;background:radial-gradient(ellipse at 90% 10%,#406c4f,transparent 52%),linear-gradient(125deg,#133326,#254c35);border-color:#335a40;color:#fff;border-radius:20px;padding:29px 30px 23px;box-shadow:0 14px 30px #15382320}
.train-head::after{content:"";position:absolute;inset:0;z-index:-1;opacity:.14;background:repeating-radial-gradient(ellipse at 100% -40%,transparent 0 35px,#d8e6d5 36px 37px,transparent 39px 62px)}
.train-head-copy{flex:1;min-width:240px}
.train-head .train-eyebrow{color:#e6d09f;letter-spacing:.15em}
.train-head h3{color:#fff!important;font-size:clamp(31px,3vw,42px)!important;letter-spacing:-.03em}
.train-head p{color:#dae6d7;line-height:1.7}
.train-flag{background:#ffffff17;border-color:#ffffff42;color:#e3ebdd}
.train-head-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;width:100%;border-top:1px solid #ffffff39;padding-top:16px;margin-top:7px}
.train-head-metrics>div{display:grid;gap:4px;padding:2px 17px;border-right:1px solid #ffffff36;min-width:0}
.train-head-metrics>div:first-child{padding-left:0}
.train-head-metrics>div:last-child{border-right:0}
.train-head-metrics small{font-size:10px;color:#cadbca}
.train-head-metrics strong{font-size:clamp(23px,3vw,31px);line-height:1.15;color:white;letter-spacing:-.025em}
.train-mode-choices button{border-radius:15px;min-height:100px;transition:transform .15s,background .15s,box-shadow .15s}
.train-mode-choices button:hover{transform:translateY(-2px);box-shadow:0 7px 17px #1f45241c}
.train-mode-choices .train-main{background:linear-gradient(115deg,#204f36,#32714d)}
.train-mode-choices .train-other{background:linear-gradient(135deg,#f5f9f2,#fffdfa);border-color:#d8e3d3}
.train-demo-hint{background:#f2f7ef;border:1px solid #dce8d6;border-radius:11px;color:#4a6a54}
.train-filter{display:flex;justify-content:flex-start}
.train-filter label{padding:7px 12px;border:1px solid #dce7d8;background:#f6f9f3;border-radius:10px}
.train-stats{gap:10px}
.train-stat{border-color:#dce9d7;background:linear-gradient(150deg,#f0f7ed,#fffefa);border-radius:14px;padding:17px;min-height:105px}
.train-stat small{font-weight:750;font-size:11px}
.train-stat strong{font-weight:800;letter-spacing:-.03em;font-size:clamp(23px,2.7vw,33px)}
.train-progress{background:#fffefb;border:1px solid #dce6d9;border-radius:17px;padding:20px 22px 13px;box-shadow:0 7px 23px #1d38270c}
.train-progress-top{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:11px}
.train-progress-top small{font-size:10px;color:#64806b;letter-spacing:.13em;font-weight:800}
.train-progress-top h4{font:500 25px/1.2 Georgia,serif;color:#224d36;margin:5px 0 0}
.train-progress-switch{display:flex;gap:4px;padding:4px;background:#eef4ea;border-radius:11px}
.train-progress-switch button{min-height:36px;padding:8px 13px;border:0;border-radius:8px;color:#54745c;background:transparent;font:750 11px system-ui;cursor:pointer}
.train-progress-switch button[aria-pressed="true"]{background:#275d41;color:#fff}
.train-progress-switch button:focus-visible{outline:3px solid #c9a061;outline-offset:2px}
.train-progress-svg{display:block;width:100%;max-height:230px}
.train-progress-note{display:block;margin-top:4px;color:#6c806e;line-height:1.5}
.train-list,.train-detail{border-color:#dce6d9;border-radius:16px;background:#fffefb;padding:18px;box-shadow:0 6px 20px #1e3d2908}
.train-list h4,.train-detail h4{font-size:24px}
.train-session{border-color:#dbe6d7;background:#f9fbf7;border-radius:12px;padding:14px 13px;transition:background .14s,border-color .14s}
.train-session.selected{border-color:#8bad91;background:#eaf4e7;box-shadow:inset 4px 0 #39744e}
.train-session strong{font-size:13px}
.train-session:focus-visible{outline:3px solid #c7a166;outline-offset:2px}
.train-gpx,.train-field{border-radius:13px}
.train-map{border-radius:12px}
@media(max-width:700px){
 .train-demo{gap:12px}
 .train-head{border-radius:17px;padding:20px 18px 18px}
 .train-head-copy{min-width:0}
 .train-head h3{font-size:30px!important}
 .train-head-metrics{margin-top:5px;padding-top:12px}
 .train-head-metrics>div{padding:2px 8px}
 .train-head-metrics strong{font-size:clamp(20px,5vw,25px)}
 .train-head-metrics small{font-size:9px}
 .train-mode-choices button:hover{transform:none}
 .train-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .train-stat{min-height:95px;padding:12px}
 .train-stat strong{font-size:23px}
 .train-progress{padding:15px 12px}
 .train-progress-top h4{font-size:21px}
 .train-list,.train-detail{padding:14px}
}
@media(prefers-reduced-motion:reduce){.train-mode-choices button,.train-session{transition:none}}

/* Training landing card in Luna: same component, palette and GPX as owner/customer.
 * In full-screen demo this is the functional "start training" action.
 * Rollback via premiumDemoTrainingEntryEnabled in training-demo.mjs.
 */
.train-demo .train-head--premium{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  padding:0;
  gap:10px;
  margin:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
.train-demo .train-head--premium::after{content:none}
.train-demo .train-head--premium .lefty-training-entry--premium{margin:0}
.train-demo .train-head--premium .lefty-training-entry-link{
  cursor:pointer;
  width:100%;
  text-align:left;
  font-family:inherit;
}
.train-demo .train-head--premium .train-head-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  width:100%;
  gap:0;
  margin:0;
  padding:15px 4px;
  border:1px solid #dbe6d9;
  border-radius:14px;
  background:linear-gradient(115deg,#f2f7ef,#fffef9);
}
.train-demo .train-head--premium .train-head-metrics>div{border-right:1px solid #d9e5d9;padding:4px 17px}
.train-demo .train-head--premium .train-head-metrics>div:last-child{border-right:0}
.train-demo .train-head--premium .train-head-metrics small{color:#5c7863}
.train-demo .train-head--premium .train-head-metrics strong{color:#244e36}
@media(max-width:700px){
  .train-demo .train-head--premium{padding:0;gap:9px}
  .train-demo .train-head--premium .train-head-metrics{padding:11px 2px}
  .train-demo .train-head--premium .train-head-metrics>div{padding:3px 9px}
}

/* Standalone Field Mode Light experience in Luna's public demo.
   One coherent field screen – not a new record buried beneath the history. */
.train-light{gap:15px;max-width:100%;min-width:0}
.train-light-header{
 padding:22px clamp(16px,2.8vw,31px) 24px;
 background:radial-gradient(ellipse at 93% 10%,#417557 0%,transparent 54%),linear-gradient(130deg,#143928,#24563a);
 border:1px solid #3c6447;border-radius:19px;color:#f8f9ee;
}
.train-light-back{
 font:750 12px system-ui;background:#ffffff15;border:1px solid #ffffff4a;
 color:#f6f4df;padding:10px 12px;border-radius:9px;cursor:pointer;
}
.train-light-back:hover{background:#ffffff25}
.train-light-demo-pill{
 display:inline-flex;font:800 10px system-ui;letter-spacing:.09em;
 padding:8px 10px;color:#ead69d;vertical-align:middle;
}
.train-light-header h3{
 font:500 clamp(28px,3.8vw,46px)/1.12 Georgia,serif!important;
 margin:15px 0 10px;color:#fff;
}
.train-light-header p{max-width:75ch;color:#e1eade;font-size:13px;line-height:1.65;margin:0}
.train-light-steps{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;
 border-radius:13px;background:#edf4e9;padding:8px;
 border:1px solid #d7e4d1;
}
.train-light-steps span{
 padding:10px 6px;text-align:center;border-radius:8px;font:750 12px system-ui;
 color:#69826c;background:#f7faf4;
}
.train-light-steps .done{background:#e2f1df;color:#2e6445}
.train-light-steps .now{background:#2b6344;color:white}
.train-light-grid{
 display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
 gap:15px;align-items:start;min-width:0;
}
.train-light-main,.train-light-side{min-width:0}
.train-light-stage,.train-light-side{
 background:#fffefa;border:1px solid #cfddca;border-radius:16px;
 padding:clamp(13px,2vw,24px);box-shadow:0 8px 21px #1d40240c;
}
.train-light-stage{display:grid;gap:15px}
.train-light-status{
 display:flex;align-items:center;gap:10px;font:800 13px system-ui;
 background:#f0f5ed;border:1px solid #d7e5d0;border-radius:10px;
 padding:12px 13px;color:#315d40;
}
.train-light-status.is-running{background:#e1f1e4;border-color:#b4d6bd}
.train-light-status.is-review{background:#f8f0dc;border-color:#e4d4a8;color:#675b33}
.train-light-led{display:block;width:10px;height:10px;flex:none;border-radius:50%;background:#7e9c84}
.is-running .train-light-led{background:#298452;box-shadow:0 0 0 4px #c1e2cb}
.is-review .train-light-led{background:#b68b32}
.train-light-metrics{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 background:#f4f7f0;border:1px solid #e0e9db;border-radius:12px;
 padding:13px 6px;
}
.train-light-metrics>div{padding:0 9px;border-right:1px solid #d7e0d1;min-width:0}
.train-light-metrics>div:last-child{border:0}
.train-light-metrics small{display:block;font-size:10px;line-height:1.4;color:#68816f}
.train-light-metrics strong{display:block;margin-top:5px;font-size:clamp(17px,2.1vw,23px);color:#244f37}
.train-light-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,.62fr);gap:10px}
.train-light-fields label,.train-light-review label,.train-light-notes label{display:grid;gap:6px;font:700 12px system-ui;color:#456e50}
.train-light-fields input,.train-light-review select,.train-light-notes textarea{
 font:13px system-ui;box-sizing:border-box;min-width:0;width:100%;
 padding:11px 12px;border:1px solid #bdcfbc;border-radius:9px;
 background:white;color:#244e36;
}
.train-light-fields input{min-height:44px}
.train-light-notes textarea{min-height:83px;resize:vertical}
.train-light-gps{
 display:flex;align-items:center;gap:10px;font:750 12px/1.45 system-ui;
 color:#365f43;padding:11px;background:#eef7ea;border-radius:10px;
}
.train-light-gps input{width:20px;height:20px;accent-color:#2a6144}
.train-light-explain{font:12px/1.6 system-ui;color:#667b69;margin:0}
.train-light-primary,.train-light-finish{
 cursor:pointer;display:flex;align-items:center;justify-content:center;
 width:100%;min-height:53px;box-sizing:border-box;padding:12px 18px;
 border:1px solid #286247;border-radius:10px;background:#26583e;
 color:white;font:850 14px system-ui;
}
.train-light-primary:hover{background:#34714d}
.train-light-finish{
 background:#f2e4c3;border-color:#cbb078;color:#473d2a;
}
.train-light-finish:hover{background:#ead6a6}
.train-light-register{
 background:#f1f8ee;border:1px solid #c6ddc1;border-radius:12px;
 padding:15px;
}
.train-light-register h4,.train-light-review h4,.train-light-registered h4{
 font:600 19px/1.2 Georgia,serif;color:#214931;margin:0 0 8px;
}
.train-light-register p,.train-light-review p{
 font:12px/1.6 system-ui;color:#5b755f;margin:0 0 13px;
}
.train-light-event-buttons{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;
}
.train-light-event-buttons button{
 display:flex;align-items:center;justify-content:space-between;gap:9px;
 min-height:62px;box-sizing:border-box;padding:13px;
 border:1px solid #9ec5a3;border-radius:10px;background:#e2f0de;
 color:#25593c;cursor:pointer;text-align:left;
}
.train-light-event-buttons button:hover{background:#d4e9d1}
.train-light-event-buttons strong{font:800 12px/1.4 system-ui}
.train-light-count{
 border-radius:50%;display:grid;place-items:center;
 background:white;color:#245a3e;font:850 14px system-ui;flex:none;
 width:29px;height:29px;
}
.train-light-review{display:grid;gap:9px;border:1px solid #d9d8b4;background:#faf8e9;border-radius:12px;padding:14px}
.train-light-mapheading{
 display:flex;align-items:center;justify-content:space-between;gap:9px;
 margin-bottom:12px;
}
.train-light-mapheading small{font:850 9px system-ui;color:#678169;letter-spacing:.08em}
.train-light-mapheading h4{font:500 21px Georgia,serif;color:#234933;margin:5px 0 0}
.train-light-mapheading>strong{font:800 11px system-ui;color:#2b6743;white-space:nowrap}
.train-light-map{height:clamp(250px,35vw,360px);margin:0 0 11px}
.train-light-registered{border-top:1px solid #e0e7dd;margin-top:15px;padding-top:15px}
.train-light-registered ul{list-style:none;display:grid;gap:0;padding:0;margin:0}
.train-light-registered li{
 display:flex;align-items:center;gap:10px;padding:10px 0;
 border-bottom:1px solid #e9eee5;
}
.train-light-registered li>span:nth-child(2){display:grid;gap:4px}
.train-light-registered li strong{font:800 12px system-ui;color:#28533a}
.train-light-registered li small{font:11px system-ui;color:#66806a}
.train-light-registered li.train-light-empty{font:12px system-ui;color:#627969;border-bottom:0}
.train-light-gpx{display:grid;gap:9px;margin-top:16px;background:#f0f7ee;border-radius:11px;padding:11px}
.train-light-gpx button{
 padding:9px 10px;border-radius:8px;border:1px solid #b4cbb3;background:#fff;
 color:#2b6342;font:700 12px system-ui;cursor:pointer;
}
.train-light-gpx label{font:750 11px/1.5 system-ui;color:#506f56;display:grid;gap:4px}
.train-light-gpx input{width:100%;font-size:11px;max-width:100%}
.train-light-disclaimer,.train-light-resume{
 background:#f1f6ee;border:1px solid #d3e1cd;color:#55705b;
 padding:12px 15px;border-radius:10px;font:12px/1.55 system-ui;margin:0;
}
.train-light-resume{display:flex;align-items:center;justify-content:space-between;gap:11px}
.train-light-resume button{
 font:800 12px system-ui;background:#295f44;color:#fff;border:0;
 padding:11px 13px;border-radius:9px;cursor:pointer;
}
.train-light button:focus-visible,.train-light input:focus-visible,
.train-light select:focus-visible,.train-light textarea:focus-visible{
 outline:3px solid #c6a35b;outline-offset:2px;
}
@media(max-width:1050px){.train-light-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){
 .train-light-header{padding:17px 15px}.train-light-header h3{font-size:30px!important}
 .train-light-demo-pill{display:block;padding:10px 0 0}
 .train-light-steps{gap:4px;padding:5px}
 .train-light-steps span{font-size:10px;padding:9px 4px}
 .train-light-stage,.train-light-side{padding:13px}
 .train-light-fields{grid-template-columns:1fr}
 .train-light-event-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
 .train-light-event-buttons button{padding:10px;min-height:66px}
 .train-light-event-buttons strong{font-size:11px}
 .train-light-map{height:300px}
 .train-light-resume{flex-direction:column;align-items:flex-start}
}
