/* ===== White theme with brand colors =====
   Primary: #0E6050   Secondary: #D5743D
*/
:root{
  --bg:#ffffff; --bg2:#ffffff; --card:#ffffff;
  --text:#0f172a; --muted:#5b657a;
  --stroke:rgba(15,23,42,.10);
  --ring:#0E6050;
  --brand:#002D70; --brand-ink:#ffffff;
  --secondary:#FF6600; --secondary-ink:#ffffff;
  --ghost:#f4f7fb; --ghost-ink:#0f172a;
}

.lesco-wrap{
  /*background:*/
  /*  radial-gradient(800px 380px at -10% -20%, rgba(13,96,80,.08), transparent 50%),*/
  /*  radial-gradient(900px 480px at 110% 0%, rgba(213,116,61,.08), transparent 60%),*/
  /*  linear-gradient(180deg, var(--bg), var(--bg2));*/
  padding: 18px;
  border-radius: 16px;
}

.lesco-card{
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--stroke);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(2,6,23,.06);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.lesco-head{ margin-bottom: 12px; }
.lesco-eyebrow{ margin-bottom: 10px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); }
.lesco-title{ font-size: 1.6em !important; line-height: 1.25; }
.lesco-sub{ margin-bottom: 10px !important; color: var(--muted); }

.lesco-title { margin-bottom: 08px !important; }

.lesco-grid{ display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end; }
.lesco-or{ text-align: center; color: var(--muted); align-self: center; }
.lesco-or span{ padding: 6px 10px; border:1px dashed var(--secondary); border-radius: 999px; font-size: 14px; }

.lesco-field label{ display:block; font-size: 14px; margin-bottom: 6px; color: var(--text); }
.lesco-field input{
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--stroke);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .05s ease;
}
.lesco-field input:focus{
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(14,96,80,.20);
}
.lesco-help{ font-size: 14px; color: var(--muted); margin-top: 6px; }

.lesco-actions{ display:flex; flex-wrap:wrap; align-items: center; gap: 12px; margin-top: 14px; }
.lesco-btn{
  appearance:none; border:none; border-radius: 12px; padding: 12px 16px;
  font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  background: var(--secondary); color: var(--brand-ink);
  box-shadow: 0 6px 18px rgba(14,96,80,.22);
  transition: transform .06s ease, filter .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.lesco-btn:hover{
    background: var(--secondary) !important;
}

.lesco-btn.ok{ background: var(--secondary); color: var(--brand-ink); }
.lesco-btn.secondary{ background: var(--secondary); color: var(--secondary-ink); box-shadow: 0 6px 18px rgba(213,116,61,.22); }
.lesco-btn.ghost{ background: var(--secondary); color: var(--text); border: 1px solid var(--stroke); box-shadow: none; }
.lesco-btn:hover{ filter: brightness(1.03); }
.lesco-btn:active{ transform: translateY(1px) scale(.99); }
.lesco-btn.is-disabled{ opacity: .5; cursor: not-allowed; }
.ic{ width: 18px; height: 18px; }
.spinner{ width: 16px; height: 16px; border-radius: 999px; border: 2px solid rgba(255,255,255,.6); border-top-color: transparent; display:none; }
.lesco-btn.is-loading .spinner{ display:inline-block; animation: spin .9s linear infinite; }
@keyframes spin { to{ transform: rotate(360deg); } }

.lesco-save{ display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.lesco-save input{ transform: translateY(1px); }

.lesco-error{
  margin-top: 10px; padding: 10px 12px; border-radius: 10px;
  background: #fff5f5; color: #8b1c21; border: 1px solid #f3c2c4;
  font-size: 13px;
}

.lesco-summary{ margin-top: 16px; background: #ffffff; border: 1px solid var(--stroke); border-radius: 12px; padding: 12px; }
.lesco-summary-title{ font-size: 14px; margin-bottom: 8px; color: var(--muted); }
.lesco-summary-grid{ display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 14px; }
.lesco-summary-grid span{ display:block; font-size:12px; color: var(--muted); }
.lesco-summary-grid strong{ font-size:14px; }

.lesco-note{ margin-top: 15px !important; color: #0E6050; font-size: 12px; }

@media (max-width: 720px){
  .lesco-grid{ grid-template-columns: 1fr; }
  .lesco-or{ display:none; }
}
