#eaLabForm.ea-auto-ai-builder-active > .ea-preview-section:not(.ea-product-dropdown-section):not(#eaAssetSelector):not(#eaGuidedIntent):not(#eaAutoDynamicQuestion),
#eaLabForm.ea-auto-ai-builder-active > .ea-form-section:not(#eaAutoDynamicQuestion){display:none!important}
#eaLabForm.ea-auto-ai-builder-active #eaGuidedIntent{display:block!important}
#eaGuidedIntent.ea-auto-initial-card .eyebrow{letter-spacing:.13em}
.ea-beginner-guidance-entry{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;margin:16px 0;padding:16px;border:1px solid color-mix(in srgb,var(--mint,#43d8b1) 45%,transparent);border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--mint,#43d8b1) 11%,transparent),color-mix(in srgb,var(--gold,#e4b23f) 8%,transparent));box-shadow:0 16px 40px rgba(6,20,34,.12)}
.ea-beginner-guidance-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;color:#05201b;background:linear-gradient(135deg,#72efd0,#f2c55b);box-shadow:0 8px 24px rgba(67,216,177,.25);font-size:20px}
.ea-beginner-guidance-copy{display:grid;gap:3px;min-width:0}.ea-beginner-guidance-copy span{font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--mint,#43d8b1)}.ea-beginner-guidance-copy b{font-size:1.02rem}.ea-beginner-guidance-copy p,.ea-beginner-guidance-copy small{margin:0;line-height:1.5;opacity:.78}.ea-beginner-guidance-copy small{font-size:.75rem}
.ea-beginner-guidance-start{position:relative;isolation:isolate;min-height:46px;padding:0 20px;white-space:nowrap;border:1px solid rgba(255,220,119,.86)!important;border-radius:13px;background:linear-gradient(135deg,#ffe17d 0%,#efb93f 54%,#d89b24 100%)!important;color:#17202b!important;box-shadow:0 9px 22px rgba(225,168,45,.26),inset 0 1px 0 rgba(255,255,255,.58);font-weight:850;letter-spacing:.01em;cursor:pointer;opacity:1!important;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.ea-beginner-guidance-start::after{content:'\2192';display:inline-block;margin-left:9px;font-size:1.05em;transition:transform .18s ease}
@media(hover:hover){.ea-beginner-guidance-start:hover{filter:brightness(1.055);transform:translateY(-2px);box-shadow:0 13px 28px rgba(225,168,45,.34),inset 0 1px 0 rgba(255,255,255,.64)}.ea-beginner-guidance-start:hover::after{transform:translateX(3px)}}
.ea-beginner-guidance-start:active{transform:translateY(0);filter:brightness(.97);box-shadow:0 5px 13px rgba(225,168,45,.24),inset 0 2px 4px rgba(90,54,0,.12)}
.ea-beginner-guidance-start:focus-visible{outline:3px solid rgba(107,230,202,.9);outline-offset:3px;box-shadow:0 0 0 6px rgba(67,216,177,.18),0 10px 24px rgba(225,168,45,.3)}
.ea-beginner-guidance-start:disabled{cursor:wait;filter:saturate(.55);opacity:.72!important;transform:none;box-shadow:none}
html[data-theme="dark"] .ea-beginner-guidance-start,body.dark-mode .ea-beginner-guidance-start{border-color:#ffe17d!important;background:linear-gradient(135deg,#ffe990 0%,#f2bf4d 52%,#dda02b 100%)!important;color:#111b27!important;box-shadow:0 0 0 1px rgba(255,225,125,.16),0 10px 26px rgba(225,168,45,.34),inset 0 1px 0 rgba(255,255,255,.68)}
@media(hover:hover){html[data-theme="dark"] .ea-beginner-guidance-start:hover,body.dark-mode .ea-beginner-guidance-start:hover{filter:brightness(1.08) saturate(1.06);box-shadow:0 0 0 2px rgba(255,225,125,.24),0 14px 32px rgba(225,168,45,.44),inset 0 1px 0 rgba(255,255,255,.74)}}
html[data-theme="dark"] .ea-beginner-guidance-start:active,body.dark-mode .ea-beginner-guidance-start:active{filter:brightness(.92);box-shadow:0 0 0 1px rgba(255,225,125,.2),0 4px 12px rgba(225,168,45,.28),inset 0 3px 6px rgba(83,50,0,.2)}
html[data-theme="light"] .ea-beginner-guidance-start,body.light-mode .ea-beginner-guidance-start{color:#14202d!important;box-shadow:0 9px 22px rgba(159,108,5,.2),inset 0 1px 0 rgba(255,255,255,.72)}
@media(prefers-reduced-motion:reduce){.ea-beginner-guidance-start,.ea-beginner-guidance-start::after{transition:none!important}}
@media(max-width:720px){.ea-beginner-guidance-entry{grid-template-columns:auto 1fr}.ea-beginner-guidance-start{grid-column:1/-1;width:100%}}
.ea-auto-thinking{display:flex;gap:12px;align-items:flex-start;margin-top:14px;padding:14px 16px;border:1px solid rgba(201,168,76,.22);border-radius:14px;background:rgba(201,168,76,.06)}
.ea-auto-thinking[hidden]{display:none!important}.ea-auto-thinking-dot{width:10px;height:10px;margin-top:5px;border-radius:50%;background:currentColor;animation:eaAutoPulse 1s ease-in-out infinite}.ea-auto-thinking b{display:block}.ea-auto-thinking small{display:block;margin-top:3px;opacity:.72}
@keyframes eaAutoPulse{0%,100%{opacity:.25;transform:scale(.8)}50%{opacity:1;transform:scale(1.1)}}
#eaAutoDynamicQuestion{margin-top:18px}.ea-auto-question-card{padding:20px;border:1px solid rgba(201,168,76,.24);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(201,168,76,.035));box-shadow:0 16px 38px rgba(0,0,0,.08)}
.ea-auto-question-kicker{font-size:.74rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;opacity:.66}.ea-auto-question-card h3{margin:7px 0 8px}.ea-auto-question-main{font-size:1.05rem;font-weight:700;line-height:1.55}.ea-auto-question-reason,.ea-auto-question-helper{margin:7px 0 0;opacity:.78;line-height:1.55}.ea-auto-question-card textarea{width:100%;min-height:128px;margin-top:14px;resize:vertical}.ea-auto-question-actions{display:flex;gap:10px;align-items:center;margin-top:12px}.ea-auto-question-actions small{opacity:.7}.ea-auto-error{margin-top:12px;padding:12px 14px;border-radius:12px;border:1px solid rgba(220,80,80,.3);background:rgba(220,80,80,.06)}.ea-auto-ready{padding:20px;border:1px solid rgba(80,190,120,.28);border-radius:18px;background:rgba(80,190,120,.06)}
@media(max-width:760px){.ea-auto-question-card{padding:16px}.ea-auto-question-actions{align-items:stretch;flex-direction:column}.ea-auto-question-actions .btn{width:100%}}

/* TOPIC23_DYNAMIC_SERVER_STATE */
#eaLabForm.ea-auto-ai-builder-active #eaAutoDynamicQuestion.ea-auto-dynamic-active,
#eaLabForm.ea-auto-ai-builder-active #eaAutoDynamicQuestion.ea-auto-dynamic-active[hidden]{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative;
  pointer-events:auto;
}

#eaAutoDynamicQuestion.ea-auto-dynamic-active{
  width:100%;
  max-width:100%;
}


/* =========================================================
   EA BUILDER — AUTH REQUIRED MODAL
   ========================================================= */

html.ea-builder-auth-modal-open,
html.ea-builder-auth-modal-open body{
  overflow:hidden;
}

.ea-builder-auth-overlay{
  position:fixed;
  inset:0;
  z-index:2147482000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(2,8,20,.72);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  opacity:0;
  transition:opacity .18s ease;
}

.ea-builder-auth-overlay.is-visible{
  opacity:1;
}

.ea-builder-auth-modal{
  position:relative;
  width:min(460px,100%);
  padding:28px;
  border:1px solid rgba(218,179,84,.30);
  border-radius:22px;
  background:
    linear-gradient(145deg,rgba(17,36,67,.98),rgba(6,19,38,.99));
  box-shadow:
    0 28px 80px rgba(0,0,0,.48),
    inset 0 1px 0 rgba(255,255,255,.04);
  text-align:center;
}

.ea-builder-auth-close{
  position:absolute;
  top:12px;
  right:14px;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.07);
  color:#fff;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}

.ea-builder-auth-icon{
  width:58px;
  height:58px;
  margin:0 auto 15px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:rgba(218,179,84,.12);
  border:1px solid rgba(218,179,84,.25);
  font-size:28px;
}

.ea-builder-auth-modal h3{
  margin:0 0 10px;
  color:#fff;
  font-size:22px;
  line-height:1.35;
}

.ea-builder-auth-message{
  margin:0 auto 10px;
  max-width:390px;
  color:#c3cfdf;
  font-size:14px;
  line-height:1.7;
}

.ea-builder-auth-preserve{
  margin:0 0 20px;
  color:#7ce8bd;
  font-size:13px;
  font-weight:700;
}

.ea-builder-auth-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.ea-builder-auth-actions a,
.ea-builder-auth-actions button{
  min-height:44px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
}

.ea-builder-auth-primary{
  color:#10131a;
  background:linear-gradient(135deg,#f7d474,#d4a84f);
  border:1px solid rgba(255,255,255,.10);
}

.ea-builder-auth-secondary{
  color:#fff;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
}

.ea-builder-auth-cancel{
  grid-column:1 / -1;
  color:#aab7c9;
  background:transparent;
  border:1px solid rgba(255,255,255,.09);
}

@media (max-width:520px){
  .ea-builder-auth-modal{
    padding:25px 18px 20px;
    border-radius:18px;
  }

  .ea-builder-auth-actions{
    grid-template-columns:1fr;
  }

  .ea-builder-auth-cancel{
    grid-column:auto;
  }
}


/* =========================================================
   EA BUILDER — REQUIREMENT HISTORY V5
   ========================================================= */

.ea-auto-history{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:18px;
}

.ea-auto-history-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  padding:2px 2px 5px;
}

.ea-auto-history-heading strong{
  color:#edf5ff;
  font-size:14px;
}

.ea-auto-history-heading small{
  color:#8192a8;
  font-size:11px;
}

.ea-auto-history-card{
  overflow:hidden;
  border:1px solid rgba(89,201,151,.24);
  border-radius:14px;

  background:
    linear-gradient(
      135deg,
      rgba(40,118,86,.10),
      rgba(12,31,53,.76)
    );
}

.ea-auto-history-card-head{
  min-height:62px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
}

.ea-auto-history-identity{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
}

.ea-auto-history-check{
  width:29px;
  height:29px;
  flex:0 0 auto;

  display:grid;
  place-items:center;

  border-radius:50%;

  color:#79e5b5;
  background:rgba(70,211,150,.11);
  border:1px solid rgba(70,211,150,.34);

  font-weight:900;
}

.ea-auto-history-identity strong{
  display:block;
  color:#edf5ff;
  font-size:14px;
}

.ea-auto-history-identity small{
  display:block;
  margin-top:3px;
  color:#71d5a9;
  font-size:11px;
}

.ea-auto-history-toggle{
  flex:0 0 auto;
  padding:7px 10px;
  border:0;
  border-radius:9px;
  background:rgba(255,255,255,.055);
  color:#b9c8da;
  font-size:11px;
  cursor:pointer;
}

.ea-auto-history-toggle:hover{
  color:#fff;
  background:rgba(255,255,255,.095);
}

.ea-auto-history-body{
  padding:0 14px 14px 53px;
}

.ea-auto-history-body[hidden]{
  display:none!important;
}

.ea-auto-history-question{
  margin-bottom:8px;
  color:#8799af;
  font-size:12px;
  line-height:1.55;
}

.ea-auto-history-answer{
  white-space:pre-wrap;
  word-break:break-word;

  padding:10px 12px;
  border-radius:10px;

  color:#eaf2fc;
  background:rgba(1,13,26,.46);
  border:1px solid rgba(255,255,255,.055);

  font-size:13px;
  line-height:1.6;
}

@media(max-width:700px){
  .ea-auto-history-heading{
    align-items:flex-start;
    flex-direction:column;
    gap:3px;
  }

  .ea-auto-history-body{
    padding:0 12px 12px;
  }
}


/* =========================================================
   TOPIC 4 — VISIBLE ACK V2
   ========================================================= */

.ea-auto-acknowledgement{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0 0 14px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(72,211,151,.25);
  background:
    linear-gradient(
      135deg,
      rgba(41,126,89,.12),
      rgba(11,35,55,.72)
    );
}

.ea-auto-acknowledgement-icon{
  width:25px;
  height:25px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#7be7b7;
  background:rgba(63,205,143,.12);
  border:1px solid rgba(63,205,143,.34);
  font-weight:900;
}

.ea-auto-acknowledgement-text{
  padding-top:2px;
  color:#dce9f6;
  font-size:13px;
  line-height:1.6;
}


/* =========================================================
   TOPIC 5B V2 — DYNAMIC TEXTAREA UX
   ========================================================= */

.ea-auto-answer-label{
  display:block;
  margin:14px 0 7px;
  color:rgba(229,237,247,.84);
  font-size:12px;
  font-weight:750;
  line-height:1.45;
}

#eaAutoDynamicAnswer{
  display:block;
  width:100%;
  min-height:110px;
  max-height:320px;
  box-sizing:border-box;
  resize:none;
  overflow-y:auto;
  line-height:1.55;
}

.ea-auto-question-card[aria-busy="true"]{
  opacity:.86;
}

.ea-auto-question-card[aria-busy="true"]
#eaAutoDynamicAnswer{
  cursor:wait;
}

@media (max-width:760px){

  #eaAutoDynamicAnswer{
    width:100%;
    min-height:120px;
  }

  .ea-auto-question-actions{
    width:100%;
    flex-direction:column;
    align-items:stretch;
  }

  .ea-auto-question-actions .btn{
    width:100%;
  }
}

/* =========================================================
   TOPIC 5 — NEUTRAL CLARIFICATION
   ========================================================= */

.ea-auto-initial-clarification{
  margin-top:14px;
  padding:13px 15px;

  border:1px solid rgba(242,199,106,.24);
  border-radius:12px;

  background:rgba(242,199,106,.055);

  color:rgba(229,237,247,.88);

  font-size:13px;
  line-height:1.6;
}



/* =========================================================
   TOPIC 5C — CANONICAL SUMMARY V4
   ========================================================= */

.ea-auto-history-summary{
  display:block;
  margin-top:4px;

  font-size:12px;
  line-height:1.5;
  font-weight:700;

  color:rgba(229,237,247,.88);
}



/* =========================================================
   TOPIC5 AI ASSIST SAFE V2
   ========================================================= */

.ea-auto-ai-assist-panel{
  margin:14px 0 12px;
  padding:14px;
  border:1px solid rgba(93,194,255,.24);
  border-radius:14px;
  background:rgba(28,71,103,.18);
}

.ea-auto-ai-assist-heading{
  font-size:13px;
  line-height:1.45;
  font-weight:800;
}

.ea-auto-ai-assist-note{
  margin-top:5px;
  font-size:12px;
  line-height:1.55;
  opacity:.82;
}

.ea-auto-ai-assist-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.ea-auto-ai-assist-btn{
  min-height:38px;
  padding:8px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.055);
  color:inherit;
  font:inherit;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
}

.ea-auto-ai-assist-btn:hover{
  background:rgba(255,255,255,.09);
}

.ea-auto-ai-assist-primary{
  border-color:rgba(245,195,79,.46);
  background:rgba(245,195,79,.14);
}

.ea-auto-ai-assist-muted{
  opacity:.82;
}

@media (max-width:640px){
  .ea-auto-ai-assist-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .ea-auto-ai-assist-btn{
    width:100%;
    text-align:left;
  }
}



/* =========================================================
   TOPIC5 RECOMMENDATION PREVIEW UI V1
   ========================================================= */
.ea-auto-recommendation-preview{
  margin-top:14px;
  padding:16px;
  border:1px solid rgba(245,195,79,.35);
  border-radius:14px;
  background:rgba(245,195,79,.07);
}
.ea-auto-recommendation-eyebrow{
  font-size:12px;
  font-weight:800;
  opacity:.86;
  margin-bottom:6px;
}
.ea-auto-recommendation-preview h4{
  margin:0 0 10px;
  font-size:15px;
  line-height:1.45;
}
.ea-auto-recommendation-proposed{
  white-space:pre-wrap;
  padding:12px;
  border-radius:10px;
  background:rgba(0,0,0,.2);
  line-height:1.65;
  font-size:13px;
}
.ea-auto-recommendation-rationale,
.ea-auto-recommendation-warning{
  margin:10px 0 0;
  font-size:12px;
  line-height:1.6;
  opacity:.86;
}
.ea-auto-recommendation-warning{opacity:.95;}
.ea-auto-recommendation-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
@media(max-width:640px){
  .ea-auto-recommendation-actions{display:grid;grid-template-columns:1fr;}
  .ea-auto-recommendation-actions button{width:100%;}
}


/* ==========================================================
   TOPIC5C2B1_PRO_IMPACT_UI_V1
   Professional customer-facing Edit Impact Preview
   ========================================================== */

.ea-auto-edit-impact-preview{
  margin-top:18px;
  padding:18px;
  border:1px solid rgba(224,181,74,.38);
  border-radius:16px;
  background:
    linear-gradient(
      180deg,
      rgba(17,38,55,.96),
      rgba(10,28,42,.98)
    );
}

.ea-auto-impact-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.ea-auto-impact-head h4{
  margin:4px 0 6px;
  font-size:18px;
  line-height:1.35;
}

.ea-auto-impact-head p{
  margin:0;
  opacity:.72;
  font-size:13px;
  line-height:1.55;
}

.ea-auto-impact-eyebrow{
  display:block;
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  opacity:.72;
}

.ea-auto-impact-dry-badge{
  flex:0 0 auto;
  padding:6px 9px;
  border-radius:999px;
  border:1px solid rgba(224,181,74,.4);
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}

.ea-auto-impact-section{
  margin-top:12px;
}

.ea-auto-impact-section h5{
  margin:0 0 10px;
  font-size:13px;
}

.ea-auto-impact-change-card{
  padding:14px;
  border-radius:12px;
  background:rgba(3,15,26,.56);
  border:1px solid rgba(255,255,255,.08);
}

.ea-auto-impact-change-card + .ea-auto-impact-change-card{
  margin-top:8px;
}

.ea-auto-impact-change-card > strong{
  display:block;
  margin-bottom:9px;
  font-size:13px;
}

.ea-auto-impact-change-card > small{
  display:block;
  margin-top:8px;
  opacity:.68;
  line-height:1.45;
}

.ea-auto-impact-values{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}

.ea-auto-impact-old,
.ea-auto-impact-new{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 9px;
  border-radius:8px;
  font-weight:700;
  font-size:13px;
}

.ea-auto-impact-old{
  background:rgba(255,255,255,.07);
  text-decoration:line-through;
  opacity:.7;
}

.ea-auto-impact-new{
  background:rgba(72,191,145,.13);
  border:1px solid rgba(72,191,145,.28);
}

.ea-auto-impact-arrow{
  opacity:.55;
  font-weight:700;
}

.ea-auto-impact-check-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}

.ea-auto-impact-status,
.ea-auto-impact-related{
  display:flex;
  gap:10px;
  padding:12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(3,15,26,.42);
}

.ea-auto-impact-status-icon{
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  flex:0 0 24px;
  border-radius:50%;
  font-size:12px;
  font-weight:800;
}

.ea-auto-impact-status.is-ok
.ea-auto-impact-status-icon{
  background:rgba(72,191,145,.14);
  border:1px solid rgba(72,191,145,.35);
}

.ea-auto-impact-status.has-warning
.ea-auto-impact-status-icon{
  background:rgba(224,181,74,.14);
  border:1px solid rgba(224,181,74,.38);
}

.ea-auto-impact-status strong,
.ea-auto-impact-related strong{
  display:block;
  font-size:12px;
  margin-bottom:3px;
}

.ea-auto-impact-status small,
.ea-auto-impact-related p{
  display:block;
  margin:0;
  opacity:.7;
  font-size:12px;
  line-height:1.45;
}

.ea-auto-impact-related{
  grid-column:1 / -1;
  display:block;
}

.ea-auto-impact-footer-note{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.08);
  opacity:.68;
  font-size:12px;
  line-height:1.5;
}

.ea-auto-edit-impact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}

.ea-auto-impact-empty{
  margin:0;
  opacity:.72;
}

@media (max-width:640px){
  .ea-auto-edit-impact-preview{
    padding:14px;
  }

  .ea-auto-impact-head{
    flex-direction:column;
  }

  .ea-auto-impact-check-grid{
    grid-template-columns:1fr;
  }

  .ea-auto-impact-related{
    grid-column:auto;
  }

  .ea-auto-edit-impact-actions .btn{
    flex:1 1 auto;
  }
}


/* ==========================================================
   INITIAL_IDEA_COMPLETED_UI_V1
   ========================================================== */

.ea-auto-initial-completed{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(48, 197, 142, .32);
  background:rgba(48, 197, 142, .08);
  font-size:13px;
  font-weight:700;
}

.ea-auto-initial-completed-icon{
  width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:1px solid rgba(48, 197, 142, .5);
  background:rgba(48, 197, 142, .14);
  flex:0 0 22px;
}

.ea-auto-initial-is-complete textarea{
  border-color:rgba(48, 197, 142, .42);
}



/* ==========================================================
   INITIAL_IDEA_COLLAPSE_UI_V2
   ========================================================== */

.ea-auto-initial-summary{
  display:none;
  margin-top:12px;
  padding:14px;
  border-radius:14px;
  border:1px solid rgba(48,197,142,.32);
  background:rgba(48,197,142,.07);
}

.ea-auto-initial-is-complete .ea-auto-initial-summary{
  display:block;
}

.ea-auto-initial-summary-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.ea-auto-initial-summary-identity{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.ea-auto-initial-summary-check{
  width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 24px;
  border-radius:50%;
  border:1px solid rgba(48,197,142,.55);
  background:rgba(48,197,142,.14);
  font-weight:800;
}

.ea-auto-initial-summary-title{
  font-weight:800;
  line-height:1.2;
}

.ea-auto-initial-summary-status{
  margin-top:2px;
  font-size:12px;
  opacity:.72;
}

.ea-auto-initial-summary-actions{
  display:flex;
  align-items:center;
  gap:6px;
}

.ea-auto-initial-detail-btn,
.ea-auto-initial-edit-btn{
  cursor:pointer;
}

.ea-auto-initial-summary-value{
  margin-top:10px;
  padding:10px 12px;
  border-radius:10px;
  background:rgba(0,0,0,.12);
  white-space:pre-wrap;
  word-break:break-word;
  line-height:1.45;
}

/*
 * Collapse original large Initial Idea form after success.
 *
 * The summary remains visible.
 */
.ea-auto-initial-is-complete:not(.ea-auto-initial-expanded)
  > *:not(.ea-auto-initial-summary){
  display:none !important;
}

/*
 * Expanded/edit mode restores the original card.
 */
.ea-auto-initial-is-complete.ea-auto-initial-expanded
  > *{
  display:revert;
}

.ea-auto-initial-is-complete.ea-auto-initial-expanded
  .ea-auto-initial-summary{
  display:block;
}

@media (max-width:640px){
  .ea-auto-initial-summary-head{
    align-items:flex-start;
  }

  .ea-auto-initial-summary-actions{
    flex-wrap:wrap;
    justify-content:flex-end;
  }
}



/* ==========================================================
   FINAL_REVIEW_GENERATION_CONFIRM_UI_V1
   ========================================================== */

.ea-auto-generation-confirm-panel{
  margin-top:16px;
  padding:16px;
  border-radius:14px;
  border:1px solid rgba(236,190,79,.34);
  background:rgba(236,190,79,.055);
}

.ea-auto-generation-confirm-title{
  font-size:16px;
  font-weight:800;
  line-height:1.3;
}

.ea-auto-generation-confirm-desc{
  margin-top:6px;
  font-size:13px;
  line-height:1.55;
  opacity:.78;
}

.ea-auto-generation-confirm-btn{
  margin-top:14px;
}

.ea-auto-generation-confirm-btn:disabled{
  cursor:not-allowed;
  opacity:.72;
}

.ea-auto-generation-confirm-status{
  display:none;
  margin-top:12px;
  padding:12px;
  border-radius:12px;
  line-height:1.5;
  font-size:13px;
}

.ea-auto-generation-confirm-status.is-working,
.ea-auto-generation-confirm-status.is-success,
.ea-auto-generation-confirm-status.is-error{
  display:block;
}

.ea-auto-generation-confirm-status.is-working{
  border:1px solid rgba(236,190,79,.28);
  background:rgba(236,190,79,.07);
}

.ea-auto-generation-confirm-status.is-success{
  border:1px solid rgba(48,197,142,.35);
  background:rgba(48,197,142,.08);
}

.ea-auto-generation-confirm-status.is-error{
  border:1px solid rgba(232,93,93,.35);
  background:rgba(232,93,93,.08);
}

.ea-auto-generation-confirm-success-head{
  font-weight:800;
}

.ea-auto-generation-confirm-meta{
  display:grid;
  gap:4px;
  margin-top:8px;
}

.ea-auto-generation-confirm-meta code{
  overflow-wrap:anywhere;
}

@media (max-width:640px){
  .ea-auto-generation-confirm-btn{
    width:100%;
  }
}



/* ==========================================================
   EA_BUILDER_DRAFT_CENTER_FRONTEND_V1
   ========================================================== */

.ea-draft-center-trigger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-left:10px;
  min-height:42px;
  padding:0 16px;
  border-radius:12px;
  border:1px solid rgba(236,190,79,.38);
  background:rgba(236,190,79,.07);
  color:inherit;
  font-weight:800;
  cursor:pointer;
}

.ea-draft-center-count{
  min-width:22px;
  height:22px;
  padding:0 6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#e9bd55;
  color:#07111f;
  font-size:12px;
  font-weight:900;
}

.ea-draft-center-modal[hidden]{
  display:none !important;
}

.ea-draft-center-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}

.ea-draft-center-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,8,18,.78);
  backdrop-filter:blur(7px);
}

.ea-draft-center-dialog{
  position:relative;
  width:min(760px,100%);
  max-height:min(760px,88vh);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border-radius:22px;
  border:1px solid rgba(236,190,79,.26);
  background:
    linear-gradient(
      180deg,
      rgba(17,36,57,.99),
      rgba(7,21,36,.99)
    );
  box-shadow:
    0 28px 90px rgba(0,0,0,.48);
}

.ea-draft-center-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding:22px 24px 18px;
  border-bottom:
    1px solid rgba(255,255,255,.08);
}

.ea-draft-center-header h3{
  margin:0;
  font-size:22px;
}

.ea-draft-center-header p{
  margin:6px 0 0;
  opacity:.68;
}

.ea-draft-center-close{
  width:38px;
  height:38px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:inherit;
  font-size:24px;
  cursor:pointer;
}

.ea-draft-center-list{
  overflow:auto;
  display:grid;
  gap:12px;
  padding:18px 22px 24px;
}

.ea-draft-card{
  padding:17px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.11);
  background:rgba(255,255,255,.035);
}

.ea-draft-card.is-review{
  border-color:rgba(236,190,79,.34);
}

.ea-draft-card.is-generation{
  border-color:rgba(48,197,142,.38);
}

.ea-draft-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.ea-draft-card-status{
  font-size:12px;
  font-weight:800;
  opacity:.75;
}

.ea-draft-card-title{
  margin-top:5px;
  font-size:17px;
  font-weight:900;
}

.ea-draft-card-version{
  padding:5px 8px;
  border-radius:8px;
  background:rgba(255,255,255,.06);
  font-size:12px;
}

.ea-draft-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  margin-top:12px;
  font-size:12px;
  opacity:.65;
}

.ea-draft-card-snapshot{
  margin-top:12px;
  padding:10px 12px;
  border-radius:10px;
  background:rgba(48,197,142,.07);
  font-size:12px;
}

.ea-draft-card-snapshot code{
  display:block;
  margin-top:4px;
  overflow-wrap:anywhere;
}

.ea-draft-card-actions{
  display:flex;
  gap:8px;
  margin-top:15px;
}

.ea-draft-resume-btn,
.ea-draft-archive-btn{
  min-height:40px;
  border-radius:10px;
  padding:0 14px;
  cursor:pointer;
}

.ea-draft-resume-btn{
  flex:1;
  border:0;
  background:#e9bd55;
  color:#07111f;
  font-weight:900;
}

.ea-draft-archive-btn{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:inherit;
}

.ea-draft-center-loading,
.ea-draft-center-empty{
  padding:38px 20px;
  text-align:center;
  opacity:.72;
}

.ea-draft-center-empty span{
  display:block;
  margin-top:6px;
  font-size:13px;
}

@media(max-width:640px){

  .ea-draft-center-modal{
    align-items:flex-end;
    padding:0;
  }

  .ea-draft-center-dialog{
    width:100%;
    max-height:86vh;
    border-radius:22px 22px 0 0;
  }

  .ea-draft-center-trigger{
    margin-left:6px;
  }

  .ea-draft-card-actions{
    flex-direction:column;
  }

  .ea-draft-resume-btn,
  .ea-draft-archive-btn{
    width:100%;
  }
}



/* ==========================================================
   EA_BUILDER_DRAFT_CENTER_FUTURE_V2
   Futuristic Premium / AI Control Center
   ========================================================== */

.ea-draft-center-trigger{
  position:relative;
  isolation:isolate;

  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;

  min-height:44px;
  margin-left:12px;
  padding:0 15px;

  border-radius:13px;

  border:
    1px solid rgba(221,174,73,.52);

  background:
    linear-gradient(
      135deg,
      rgba(13,31,52,.96) 0%,
      rgba(7,22,39,.98) 58%,
      rgba(10,29,48,.98) 100%
    );

  color:#edf6ff;

  font-weight:800;
  letter-spacing:.01em;

  cursor:pointer;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 0 0 1px rgba(34,151,210,.05),
    0 8px 28px rgba(0,0,0,.24);

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.ea-draft-center-trigger::before{
  content:"";
  position:absolute;
  inset:-1px;
  z-index:-1;

  border-radius:inherit;

  opacity:0;

  background:
    linear-gradient(
      100deg,
      rgba(223,177,77,.35),
      rgba(39,190,235,.22),
      transparent 72%
    );

  filter:blur(9px);

  transition:opacity .2s ease;
}

.ea-draft-center-trigger:hover{
  transform:translateY(-1px);

  border-color:
    rgba(240,194,91,.78);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 0 18px rgba(39,180,229,.13),
    0 9px 30px rgba(0,0,0,.3);
}

.ea-draft-center-trigger:hover::before{
  opacity:.8;
}

.ea-draft-center-trigger:active{
  transform:translateY(0);
}

.ea-draft-trigger-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  color:#efc35c;

  filter:
    drop-shadow(
      0 0 7px rgba(236,190,79,.18)
    );
}

.ea-draft-trigger-label{
  white-space:nowrap;
}

/* Never show an empty yellow dot */
.ea-draft-center-count[hidden],
.ea-draft-center-count:empty{
  display:none !important;
}

.ea-draft-center-count{
  min-width:21px;
  height:21px;

  padding:0 6px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  border-radius:7px;

  border:
    1px solid rgba(58,190,237,.48);

  background:
    linear-gradient(
      145deg,
      rgba(20,87,131,.88),
      rgba(15,54,89,.95)
    );

  color:#e6f8ff;

  font-size:11px;
  font-weight:900;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 10px rgba(28,177,232,.12);
}

.ea-draft-trigger-arrow{
  margin-left:1px;

  color:
    rgba(233,244,255,.56);

  font-size:19px;
  line-height:1;

  transition:
    transform .2s ease,
    color .2s ease;
}

.ea-draft-center-trigger:hover
.ea-draft-trigger-arrow{
  transform:translateX(2px);
  color:#f2c660;
}


/* =========================
   MODAL
   ========================= */

.ea-draft-center-modal{
  position:fixed;
  inset:0;

  z-index:99999;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:24px;
}

.ea-draft-center-backdrop{
  position:absolute;
  inset:0;

  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(16,66,101,.16),
      transparent 36%
    ),
    rgba(0,7,17,.78);

  backdrop-filter:
    blur(10px) saturate(115%);
}

.ea-draft-center-dialog{
  position:relative;

  width:min(780px,100%);
  max-height:min(790px,88vh);

  overflow:hidden;

  display:flex;
  flex-direction:column;

  border-radius:22px;

  border:
    1px solid rgba(225,178,76,.36);

  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(22,113,159,.10),
      transparent 33%
    ),
    linear-gradient(
      150deg,
      rgba(15,34,55,.995),
      rgba(6,20,35,.995)
    );

  box-shadow:
    0 36px 110px rgba(0,0,0,.58),
    0 0 34px rgba(26,147,203,.08),
    inset 0 1px 0 rgba(255,255,255,.035);
}

.ea-draft-center-dialog::before{
  content:"";

  position:absolute;
  top:0;
  left:26px;
  right:26px;

  height:1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(245,199,92,.78),
      rgba(43,187,235,.42),
      transparent
    );
}


/* =========================
   HEADER
   ========================= */

.ea-draft-center-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;

  gap:22px;

  padding:
    23px 25px 19px;

  border-bottom:
    1px solid rgba(255,255,255,.075);
}

.ea-draft-center-header h3{
  position:relative;

  margin:0;

  font-size:21px;
  font-weight:900;

  letter-spacing:.01em;
}

.ea-draft-center-header h3::before{
  content:"▣";

  display:inline-flex;
  margin-right:9px;

  color:#edbe53;

  filter:
    drop-shadow(
      0 0 8px rgba(237,190,83,.22)
    );
}

.ea-draft-center-header p{
  margin:
    7px 0 0 31px;

  color:
    rgba(224,237,249,.62);

  font-size:13px;
  line-height:1.45;
}

.ea-draft-center-close{
  width:38px;
  height:38px;

  flex:0 0 38px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:11px;

  border:
    1px solid rgba(255,255,255,.1);

  background:
    rgba(255,255,255,.035);

  color:
    rgba(235,244,251,.74);

  font-size:24px;

  cursor:pointer;

  transition:
    border-color .2s ease,
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.ea-draft-center-close:hover{
  border-color:
    rgba(233,188,82,.34);

  background:
    rgba(233,188,82,.07);

  color:#fff;

  transform:rotate(2deg);
}


/* =========================
   LIST
   ========================= */

.ea-draft-center-list{
  overflow:auto;

  display:grid;
  gap:13px;

  padding:
    18px 22px 24px;

  scrollbar-width:thin;
}


/* =========================
   DRAFT CARD
   ========================= */

.ea-draft-card{
  position:relative;

  padding:17px 18px;

  border-radius:16px;

  border:
    1px solid rgba(255,255,255,.095);

  background:
    linear-gradient(
      145deg,
      rgba(17,39,62,.72),
      rgba(7,24,41,.80)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025);

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.ea-draft-card::before{
  content:"";

  position:absolute;

  top:14px;
  bottom:14px;
  left:0;

  width:2px;

  border-radius:4px;

  background:
    rgba(45,166,218,.52);
}

.ea-draft-card:hover{
  transform:
    translateY(-1px);

  border-color:
    rgba(65,171,217,.26);

  box-shadow:
    0 12px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.035);
}

.ea-draft-card.is-review{
  border-color:
    rgba(231,182,73,.24);
}

.ea-draft-card.is-review::before{
  background:
    linear-gradient(
      #e5ad42,
      #806628
    );
}

.ea-draft-card.is-generation{
  border-color:
    rgba(43,202,144,.27);
}

.ea-draft-card.is-generation::before{
  background:
    linear-gradient(
      #39d39b,
      #147259
    );
}


/* =========================
   CARD HEAD
   ========================= */

.ea-draft-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;

  gap:16px;
}

.ea-draft-card-status{
  display:inline-flex;
  align-items:center;
  gap:6px;

  padding:
    4px 8px;

  border-radius:999px;

  border:
    1px solid rgba(50,171,220,.25);

  background:
    rgba(32,130,178,.075);

  color:
    #91ddfb;

  font-size:10px;
  font-weight:900;

  letter-spacing:.04em;
}

.ea-draft-card-status::before{
  content:"";

  width:6px;
  height:6px;

  border-radius:50%;

  background:#46c6f4;

  box-shadow:
    0 0 8px rgba(70,198,244,.5);
}

.ea-draft-card.is-review
.ea-draft-card-status{
  border-color:
    rgba(235,182,69,.29);

  background:
    rgba(235,182,69,.07);

  color:#f0c567;
}

.ea-draft-card.is-review
.ea-draft-card-status::before{
  background:#eabd56;

  box-shadow:
    0 0 8px rgba(234,189,86,.4);
}

.ea-draft-card.is-generation
.ea-draft-card-status{
  border-color:
    rgba(47,206,149,.29);

  background:
    rgba(47,206,149,.065);

  color:#65deb2;
}

.ea-draft-card.is-generation
.ea-draft-card-status::before{
  background:#39d69d;

  box-shadow:
    0 0 8px rgba(57,214,157,.42);
}

.ea-draft-card-title{
  margin-top:8px;

  color:#f3f7fb;

  font-size:17px;
  font-weight:900;

  line-height:1.3;
}

.ea-draft-card-version{
  padding:
    5px 8px;

  border-radius:8px;

  border:
    1px solid rgba(255,255,255,.075);

  background:
    rgba(255,255,255,.035);

  color:
    rgba(227,239,248,.65);

  font-size:11px;
  font-weight:800;
}


/* =========================
   META
   ========================= */

.ea-draft-card-meta{
  display:flex;
  flex-wrap:wrap;

  gap:
    7px 18px;

  margin-top:13px;

  color:
    rgba(214,228,240,.58);

  font-size:11px;
}

.ea-draft-card-snapshot{
  margin-top:13px;

  padding:
    10px 11px;

  border-radius:10px;

  border:
    1px solid rgba(43,203,147,.16);

  background:
    linear-gradient(
      90deg,
      rgba(43,203,147,.07),
      rgba(34,147,203,.025)
    );

  color:
    rgba(222,244,235,.82);

  font-size:11px;
}

.ea-draft-card-snapshot code{
  display:block;

  margin-top:5px;

  overflow-wrap:anywhere;

  color:
    rgba(164,224,205,.66);

  font-size:10px;
}


/* =========================
   ACTIONS
   ========================= */

.ea-draft-card-actions{
  display:flex;

  gap:8px;

  margin-top:16px;
}

.ea-draft-resume-btn,
.ea-draft-archive-btn{
  min-height:40px;

  border-radius:10px;

  padding:
    0 15px;

  cursor:pointer;

  font-weight:800;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.ea-draft-resume-btn{
  flex:1;

  border:
    1px solid rgba(55,181,231,.55);

  background:
    linear-gradient(
      135deg,
      rgba(22,118,164,.82),
      rgba(13,74,116,.92)
    );

  color:#f0fbff;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 0 16px rgba(34,163,216,.075);
}

.ea-draft-card.is-review
.ea-draft-resume-btn{
  border-color:
    rgba(232,184,75,.58);

  background:
    linear-gradient(
      135deg,
      rgba(176,126,32,.88),
      rgba(112,77,20,.94)
    );
}

.ea-draft-card.is-generation
.ea-draft-resume-btn{
  border-color:
    rgba(52,203,149,.58);

  background:
    linear-gradient(
      135deg,
      rgba(24,137,99,.88),
      rgba(12,85,65,.95)
    );
}

.ea-draft-resume-btn:hover,
.ea-draft-archive-btn:hover{
  transform:
    translateY(-1px);
}

.ea-draft-archive-btn{
  border:
    1px solid rgba(255,255,255,.11);

  background:
    rgba(255,255,255,.025);

  color:
    rgba(221,234,244,.7);
}

.ea-draft-archive-btn:hover{
  border-color:
    rgba(230,188,88,.22);

  color:
    rgba(245,226,178,.88);
}


/* =========================
   EMPTY / LOADING
   ========================= */

.ea-draft-center-loading,
.ea-draft-center-empty{
  padding:
    42px 22px;

  text-align:center;

  color:
    rgba(221,235,245,.62);
}

.ea-draft-center-empty strong{
  display:block;

  color:
    rgba(241,247,252,.88);
}


/* =========================
   MOBILE
   ========================= */

@media(max-width:640px){

  .ea-draft-center-trigger{
    min-height:42px;
    margin-left:7px;
    padding:0 12px;
  }

  .ea-draft-trigger-arrow{
    display:none;
  }

  .ea-draft-center-modal{
    align-items:flex-end;

    padding:0;
  }

  .ea-draft-center-dialog{
    width:100%;
    max-height:88vh;

    border-radius:
      22px 22px 0 0;

    border-left:0;
    border-right:0;
    border-bottom:0;
  }

  .ea-draft-center-header{
    padding:
      19px 18px 15px;
  }

  .ea-draft-center-header h3{
    font-size:19px;
  }

  .ea-draft-center-header p{
    margin-left:0;
  }

  .ea-draft-center-list{
    padding:
      14px 14px 22px;
  }

  .ea-draft-card{
    padding:
      15px;
  }

  .ea-draft-card-actions{
    flex-direction:column;
  }

  .ea-draft-resume-btn,
  .ea-draft-archive-btn{
    width:100%;
  }
}



/* ==========================================================
   EA_BUILDER_DRAFT_DELETE_UI_V1
   ========================================================== */

.ea-draft-delete-btn{
  min-height:40px;
  padding:0 13px;

  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;

  border-radius:10px;

  border:
    1px solid rgba(235,91,91,.22);

  background:
    rgba(124,37,42,.08);

  color:
    rgba(244,169,169,.82);

  font-weight:800;

  cursor:pointer;

  transition:
    border-color .18s ease,
    background .18s ease,
    color .18s ease,
    transform .18s ease;
}

.ea-draft-delete-btn:hover{
  transform:translateY(-1px);

  border-color:
    rgba(239,101,101,.5);

  background:
    rgba(153,43,49,.16);

  color:#ffd0d0;
}


/* DELETE MODAL */

.ea-draft-delete-modal[hidden]{
  display:none !important;
}

.ea-draft-delete-modal{
  position:fixed;
  inset:0;

  z-index:100100;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:22px;
}

.ea-draft-delete-backdrop{
  position:absolute;
  inset:0;

  background:
    rgba(0,6,15,.83);

  backdrop-filter:
    blur(10px);
}

.ea-draft-delete-dialog{
  position:relative;

  width:min(500px,100%);

  display:flex;
  align-items:flex-start;
  gap:16px;

  padding:22px;

  border-radius:20px;

  border:
    1px solid rgba(224,99,99,.28);

  background:
    radial-gradient(
      circle at 0 0,
      rgba(139,42,49,.12),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(16,33,52,.995),
      rgba(7,19,32,.995)
    );

  box-shadow:
    0 30px 100px rgba(0,0,0,.62),
    0 0 24px rgba(170,54,61,.07);
}

.ea-draft-delete-icon{
  width:42px;
  height:42px;

  flex:0 0 42px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:12px;

  border:
    1px solid rgba(232,94,94,.4);

  background:
    rgba(153,46,52,.14);

  color:#ff9898;

  font-size:22px;
  font-weight:900;
}

.ea-draft-delete-content{
  min-width:0;
  flex:1;
}

.ea-draft-delete-content h3{
  margin:0;

  color:#fff;

  font-size:20px;
  font-weight:900;
}

.ea-draft-delete-content p{
  margin:9px 0 0;

  color:
    rgba(221,232,241,.72);

  font-size:13px;
  line-height:1.6;
}

.ea-draft-delete-warning{
  margin-top:13px;

  padding:9px 11px;

  border-radius:9px;

  border:
    1px solid rgba(231,91,91,.16);

  background:
    rgba(153,43,49,.09);

  color:#f3abab;

  font-size:12px;
  font-weight:800;
}

.ea-draft-delete-target{
  margin-top:11px;

  color:
    rgba(230,237,244,.55);

  font-size:11px;

  overflow-wrap:anywhere;
}

.ea-draft-delete-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;

  margin-top:18px;
}

.ea-draft-delete-cancel,
.ea-draft-delete-confirm{
  min-height:40px;

  padding:0 16px;

  border-radius:10px;

  cursor:pointer;

  font-weight:900;
}

.ea-draft-delete-cancel{
  border:
    1px solid rgba(255,255,255,.11);

  background:
    rgba(255,255,255,.035);

  color:
    rgba(230,239,247,.78);
}

.ea-draft-delete-confirm{
  border:
    1px solid rgba(238,93,93,.5);

  background:
    linear-gradient(
      135deg,
      #b43c43,
      #7f252d
    );

  color:#fff;

  box-shadow:
    0 7px 22px rgba(151,39,46,.19);
}

.ea-draft-delete-confirm:disabled,
.ea-draft-delete-cancel:disabled{
  cursor:not-allowed;
  opacity:.6;
}

.ea-draft-delete-status{
  display:none;

  margin-top:12px;

  padding:9px 10px;

  border-radius:9px;

  font-size:12px;
}

.ea-draft-delete-status.is-working,
.ea-draft-delete-status.is-success,
.ea-draft-delete-status.is-error{
  display:block;
}

.ea-draft-delete-status.is-working{
  background:
    rgba(220,170,63,.07);

  color:#e8c678;
}

.ea-draft-delete-status.is-success{
  background:
    rgba(41,194,139,.07);

  color:#75d8b4;
}

.ea-draft-delete-status.is-error{
  background:
    rgba(204,62,69,.09);

  color:#ef9ca0;
}


@media(max-width:640px){

  .ea-draft-delete-btn{
    width:100%;
  }

  .ea-draft-delete-dialog{
    padding:18px;
    gap:12px;
  }

  .ea-draft-delete-actions{
    flex-direction:column-reverse;
  }

  .ea-draft-delete-cancel,
  .ea-draft-delete-confirm{
    width:100%;
  }
}



/* ==========================================================
   EA_BUILDER_GENERATION_CREDIT_ESTIMATE_UI_V1
   ========================================================== */
.ea-auto-generation-credit-panel{margin-top:14px;padding:15px;border:1px solid rgba(63,188,226,.24);border-radius:14px;background:linear-gradient(145deg,rgba(10,34,54,.84),rgba(7,23,39,.92));box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.ea-auto-generation-credit-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ea-auto-generation-credit-kicker{font-size:10px;letter-spacing:.13em;color:#61c8e8;font-weight:900}
.ea-auto-generation-credit-title{margin-top:3px;font-size:15px;font-weight:900;color:#f3f7fb}
.ea-auto-generation-credit-badge{padding:4px 7px;border-radius:7px;border:1px solid rgba(236,190,79,.28);color:#efc65e;font-size:10px;font-weight:900}
.ea-auto-generation-credit-body{margin-top:12px}
.ea-auto-generation-credit-loading,.ea-auto-generation-credit-error{padding:12px;border-radius:10px;background:rgba(255,255,255,.03);font-size:12px;color:rgba(224,235,244,.72)}
.ea-auto-generation-credit-error{border:1px solid rgba(232,93,93,.22);color:#efaaaa;background:rgba(150,44,51,.07)}
.ea-auto-generation-credit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ea-auto-generation-credit-grid>div{padding:10px;border-radius:10px;background:rgba(255,255,255,.028);border:1px solid rgba(255,255,255,.055)}
.ea-auto-generation-credit-grid span{display:block;font-size:10px;color:rgba(211,226,238,.56)}
.ea-auto-generation-credit-grid strong{display:block;margin-top:4px;font-size:12px;color:#edf6fb;overflow-wrap:anywhere}
.ea-auto-generation-credit-grid .ea-credit-emphasis{color:#f1c55b;font-size:14px}
.ea-auto-generation-credit-state{margin-top:10px;padding:10px 11px;border-radius:10px;font-size:12px;font-weight:800}
.ea-auto-generation-credit-state.is-ok{border:1px solid rgba(47,203,149,.25);background:rgba(47,203,149,.07);color:#76dcb6}
.ea-auto-generation-credit-state.is-low{border:1px solid rgba(231,175,67,.25);background:rgba(231,175,67,.07);color:#ecc86d}
.ea-auto-generation-credit-note{margin-top:9px;font-size:10px;line-height:1.55;color:rgba(207,222,233,.52)}
@media(max-width:640px){.ea-auto-generation-credit-grid{grid-template-columns:1fr}}


/* ==========================================================
   EA_BUILDER_GENERATION_MODEL_SELECTOR_UI_V2
   ========================================================== */

.ea-auto-generation-model-selector{
  margin-bottom:14px;
  padding:14px;

  border-radius:13px;

  border:
    1px solid rgba(57,185,225,.22);

  background:
    linear-gradient(
      145deg,
      rgba(10,35,56,.62),
      rgba(6,23,39,.78)
    );

  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.025);
}

.ea-auto-generation-model-heading{
  margin-bottom:8px;

  color:
    rgba(224,238,249,.8);

  font-size:12px;
  font-weight:900;

  letter-spacing:.015em;
}

.ea-auto-generation-model-select{
  width:100%;
  min-height:46px;

  padding:
    0 12px;

  border-radius:11px;

  border:
    1px solid
    rgba(235,190,82,.42);

  outline:none;

  background:
    rgba(2,17,30,.9);

  color:#f3f8fb;

  font-weight:900;

  cursor:pointer;

  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}

.ea-auto-generation-model-select:hover{
  border-color:
    rgba(239,195,91,.68);
}

.ea-auto-generation-model-select:focus{
  border-color:
    rgba(63,192,235,.72);

  box-shadow:
    0 0 0 3px
    rgba(53,187,233,.08);
}

.ea-auto-generation-model-level{
  margin-top:10px;

  display:flex;
  flex-direction:column;

  gap:3px;
}

.ea-auto-generation-model-level strong{
  color:#efc157;

  font-size:13px;
  font-weight:900;
}

.ea-auto-generation-model-level span{
  color:
    rgba(216,231,242,.64);

  font-size:11px;

  line-height:1.5;
}

.ea-auto-generation-model-loading{
  color:
    rgba(218,233,244,.65);

  font-size:12px;
}

@media(max-width:640px){

  .ea-auto-generation-model-selector{
    padding:12px;
  }

  .ea-auto-generation-model-select{
    min-height:44px;

    font-size:12px;
  }
}



/* ==========================================================
   EA_BUILDER_AI_SELECTOR_VISIBLE_PLACEMENT_V33
   ========================================================== */

.ea-auto-generation-model-selector-host{
  margin:
    0 0 14px 0;
}

.ea-ai-selector-shell{
  position:relative;

  padding:16px;

  overflow:hidden;

  border-radius:15px;

  border:
    1px solid rgba(236,191,82,.48);

  background:
    linear-gradient(
      145deg,
      rgba(15,37,55,.97),
      rgba(7,27,45,.98)
    );

  box-shadow:
    0 10px 34px
      rgba(0,0,0,.18),
    inset 0 1px 0
      rgba(255,255,255,.035);
}

.ea-ai-selector-shell::before{
  content:"";

  position:absolute;

  width:170px;
  height:170px;

  right:-80px;
  top:-110px;

  border-radius:50%;

  background:
    radial-gradient(
      circle,
      rgba(58,198,239,.11),
      transparent 68%
    );

  pointer-events:none;
}

.ea-ai-selector-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;

  gap:12px;
}

.ea-ai-selector-kicker{
  color:#57d4ff;

  font-size:10px;
  font-weight:900;

  letter-spacing:.11em;
}

.ea-ai-selector-title{
  margin-top:3px;

  color:#f4f8fb;

  font-size:15px;
  font-weight:900;
}

.ea-ai-selector-badge{
  flex:0 0 auto;

  padding:
    5px 8px;

  border-radius:8px;

  border:
    1px solid rgba(235,188,74,.45);

  color:#eec455;

  background:
    rgba(234,187,70,.055);

  font-size:9px;
  font-weight:900;

  letter-spacing:.07em;
}

.ea-ai-selector-guide{
  margin:
    13px 0 7px;

  display:flex;
  align-items:center;

  gap:6px;

  color:
    rgba(224,237,247,.76);

  font-size:11px;
  font-weight:800;
}

.ea-ai-selector-guide strong{
  color:#efc052;

  font-size:15px;
}

.ea-ai-selector-guide-dot{
  width:7px;
  height:7px;

  border-radius:50%;

  background:#45d7ef;

  box-shadow:
    0 0 10px
      rgba(69,215,239,.75);
}

.ea-ai-selector-control{
  position:relative;
}

.ea-ai-selector-control
.ea-auto-generation-model-select{
  appearance:none;
  -webkit-appearance:none;

  display:block;

  width:100%;
  min-height:50px;

  padding:
    0 46px 0 14px;

  border-radius:12px;

  border:
    1px solid rgba(237,191,78,.58);

  outline:none;

  color:#f7fafc;

  background:
    linear-gradient(
      180deg,
      rgba(5,25,42,.98),
      rgba(4,20,35,.98)
    );

  font-size:13px;
  font-weight:900;

  cursor:pointer;

  transition:
    border-color .16s ease,
    box-shadow .16s ease,
    transform .16s ease;
}

.ea-ai-selector-control
.ea-auto-generation-model-select:hover{
  border-color:
    rgba(248,204,92,.9);

  box-shadow:
    0 0 0 3px
      rgba(236,190,77,.07);
}

.ea-ai-selector-control
.ea-auto-generation-model-select:focus{
  border-color:#4bd5f5;

  box-shadow:
    0 0 0 3px
      rgba(75,213,245,.11);
}

.ea-ai-selector-chevron{
  position:absolute;

  right:15px;
  top:50%;

  transform:
    translateY(-50%);

  color:#edc45d;

  font-size:11px;

  pointer-events:none;
}

.ea-ai-selector-intelligence{
  margin-top:10px;

  padding:
    10px 12px;

  border-radius:10px;

  border:
    1px solid
      rgba(57,192,230,.14);

  background:
    rgba(25,74,98,.13);
}

.ea-ai-selector-level{
  color:#efc256;

  font-size:12px;
  font-weight:900;
}

.ea-ai-selector-description{
  margin-top:3px;

  color:
    rgba(219,232,242,.66);

  font-size:10.5px;
  line-height:1.55;
}

.ea-ai-selector-note{
  margin-top:9px;

  color:
    rgba(185,211,226,.54);

  font-size:9.5px;
}

.ea-ai-selector-loading{
  padding:5px 0;

  color:
    rgba(219,233,243,.7);

  font-size:11px;
}

@media(max-width:640px){

  .ea-ai-selector-shell{
    padding:13px;
  }

  .ea-ai-selector-title{
    font-size:14px;
  }

  .ea-ai-selector-control
  .ea-auto-generation-model-select{
    min-height:48px;

    font-size:12px;
  }

}



/* ==========================================================
   EA_BUILDER_DRAFT_METADATA_V3
   Job Type + Original EA Idea presentation
   ========================================================== */
.ea-draft-card-context{
  display:grid;
  gap:9px;
  margin-top:13px;
}

.ea-draft-card-context-row{
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  gap:10px;
  align-items:start;

  padding:10px 11px;
  border-radius:10px;

  border:1px solid rgba(73,177,220,.12);
  background:rgba(16,48,70,.18);
}

.ea-draft-card-context-row.is-job-type{
  border-color:rgba(229,182,73,.18);
  background:linear-gradient(90deg,rgba(229,182,73,.055),rgba(20,57,78,.12));
}

.ea-draft-card-context-label{
  color:rgba(184,207,224,.58);
  font-size:10px;
  font-weight:800;
  letter-spacing:.02em;
}

.ea-draft-card-context-value{
  min-width:0;
  color:rgba(239,247,252,.91);
  font-size:11px;
  line-height:1.55;
}

.ea-draft-card-context-row.is-job-type
.ea-draft-card-context-value{
  color:#f0c76c;
  font-weight:900;
}

.ea-draft-card-idea{
  white-space:pre-line;
  overflow-wrap:anywhere;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}

@media(max-width:640px){
  .ea-draft-card-context-row{
    grid-template-columns:1fr;
    gap:4px;
  }
}


/* ==========================================================
   EA_BUILDER_DRAFT_NEW_EA_ACTION_V1
   ========================================================== */

.ea-draft-center-header-actions{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:9px;
}

.ea-draft-new-ea-btn{
  position:relative;

  min-height:38px;
  padding:0 13px;

  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;

  border-radius:10px;

  border:
    1px solid rgba(236,190,79,.48);

  background:
    linear-gradient(
      145deg,
      rgba(236,190,79,.14),
      rgba(38,172,219,.07)
    );

  color:#f3ca67;

  font-size:12px;
  font-weight:900;

  white-space:nowrap;
  cursor:pointer;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 0 15px rgba(223,177,77,.05);

  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.ea-draft-new-ea-btn:hover{
  transform:translateY(-1px);

  border-color:
    rgba(244,201,101,.82);

  background:
    linear-gradient(
      145deg,
      rgba(236,190,79,.21),
      rgba(38,172,219,.10)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 18px rgba(223,177,77,.09);
}

.ea-draft-new-ea-btn:active{
  transform:translateY(0);
}

.ea-draft-new-ea-btn:disabled{
  cursor:wait;
  opacity:.68;
}

.ea-draft-new-ea-icon{
  font-size:18px;
  font-weight:500;
  line-height:1;
  color:#55d4f3;
}

.ea-draft-new-ea-btn.is-busy
.ea-draft-new-ea-icon{
  animation:
    eaDraftNewEaPulseV1
    .75s ease-in-out infinite alternate;
}

@keyframes eaDraftNewEaPulseV1{
  from{
    opacity:.45;
    transform:scale(.92);
  }

  to{
    opacity:1;
    transform:scale(1.08);
  }
}

@media(max-width:640px){

  .ea-draft-center-header{
    gap:12px;
  }

  .ea-draft-center-header-actions{
    gap:7px;
  }

  .ea-draft-new-ea-btn{
    min-height:36px;
    padding:0 10px;

    font-size:11px;
  }

  .ea-draft-new-ea-icon{
    font-size:16px;
  }
}

@media(max-width:430px){

  .ea-draft-new-ea-btn span:last-child{
    display:none;
  }

  .ea-draft-new-ea-btn{
    width:38px;
    padding:0;
  }

  .ea-draft-new-ea-icon{
    font-size:20px;
  }
}
.ea-auto-build-v16-copyright{margin-top:16px;padding:14px;border:1px solid rgba(245,196,81,.3);border-radius:14px;background:rgba(245,196,81,.05)}
.ea-auto-build-v16-copyright-toggle{border:1px solid rgba(245,196,81,.55);background:transparent;color:#f5c451;font-weight:800}
.ea-auto-build-v16-copyright-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,220px);gap:12px;margin-top:14px;align-items:end}
.ea-auto-build-v16-copyright-form[hidden]{display:none}
.ea-auto-build-v16-copyright-form label{display:flex;flex-direction:column;gap:7px;color:#c7d3df;font-size:13px;font-weight:700}
.ea-auto-build-v16-copyright-form label b{color:#f5c451}
.ea-auto-build-v16-copyright-form input{width:100%;min-height:42px;border:1px solid rgba(148,163,184,.28);border-radius:10px;background:#071422;color:#eef6ff;padding:9px 11px;outline:none}
.ea-auto-build-v16-copyright-form input:focus{border-color:#f5c451;box-shadow:0 0 0 3px rgba(245,196,81,.12)}
.ea-auto-build-v16-copyright-preview{grid-column:1/-1;padding:10px 12px;border-radius:10px;background:rgba(12,25,40,.82);color:#9fb2c4;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;overflow-wrap:anywhere}
.ea-auto-build-v16-confirm:disabled{opacity:.48;cursor:not-allowed}
@media(max-width:760px){.ea-auto-build-v16-copyright-form{grid-template-columns:1fr}.ea-auto-build-v16-copyright-form .is-year{max-width:180px}}

/* ==========================================================
   EA LAB LIBRARY — COMPACT PROFESSIONAL LAYOUT V1
   ========================================================== */
.ea-draft-center-dialog{width:min(840px,calc(100vw - 32px));max-height:min(760px,88dvh);border-radius:20px}
.ea-draft-center-header{align-items:center;gap:16px;padding:17px 20px 14px}.ea-draft-center-header h3{font-size:19px;letter-spacing:-.01em}.ea-draft-center-header h3::before{margin-right:8px;font-size:15px}.ea-draft-center-header p{margin:4px 0 0 27px;font-size:11px;line-height:1.4}
.ea-draft-center-header-actions{gap:7px}.ea-draft-new-ea-btn{min-height:36px;padding:0 12px;border-radius:9px}.ea-draft-center-close{width:36px;height:36px;flex-basis:36px;border-radius:9px;font-size:21px}
#eaDraftCenterModal .ea-lab-library-tabs{flex:0 0 auto;gap:7px;padding:10px 20px;background:rgba(3,13,24,.56);scrollbar-width:none}#eaDraftCenterModal .ea-lab-library-tabs::-webkit-scrollbar{display:none}#eaDraftCenterModal .ea-lab-library-tabs>button{min-height:34px;padding:7px 14px;font-size:11px;white-space:nowrap;transition:transform .18s ease,border-color .18s ease,background .18s ease}#eaDraftCenterModal .ea-lab-library-tabs>button:hover{transform:translateY(-1px);border-color:rgba(255,210,94,.42)}
.ea-draft-center-list{display:flex;flex-direction:column;gap:10px;padding:14px 20px 18px;overscroll-behavior:contain}
.ea-draft-card{padding:13px 15px;border-radius:13px}.ea-draft-card::before{top:11px;bottom:11px}.ea-draft-card-head{gap:12px}.ea-draft-card-status{padding:3px 7px;font-size:9px}.ea-draft-card-title{margin-top:6px;font-size:16px}.ea-draft-card-version{padding:4px 7px;font-size:10px}.ea-draft-card-meta{gap:5px 14px;margin-top:9px;font-size:10px}
.ea-draft-card-context{margin-top:10px}.ea-draft-card-context-row{padding:8px 10px;grid-template-columns:112px minmax(0,1fr);gap:10px}.ea-draft-card-context-label,.ea-draft-card-context-value{font-size:10px}.ea-draft-card-idea{-webkit-line-clamp:2;line-height:1.45}
.ea-draft-card-snapshot{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;margin-top:9px;padding:7px 10px;font-size:10px}.ea-draft-card-snapshot code{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}
.ea-draft-card-actions,.ea-lab-archive-actions{align-items:center;gap:7px;margin-top:10px}.ea-draft-resume-btn,.ea-draft-archive-btn,.ea-lab-archive-detail-btn{min-height:36px;padding:0 12px;border-radius:9px;font-size:11px}.ea-lab-library-delete-btn{min-width:68px}.ea-lab-archive-downloads{gap:8px;margin-top:9px}.ea-lab-archive-downloads a{min-width:180px;min-height:36px;display:grid;place-items:center;font-size:11px}
.ea-lab-usage-summary,.ea-lab-library-note{margin-top:9px;padding:8px 10px;font-size:10px}.ea-lab-credit-summary{gap:8px;margin-bottom:12px}.ea-lab-credit-stat{padding:10px 11px;border-radius:11px}.ea-lab-credit-stat strong{font-size:16px}.ea-lab-credit-row{gap:12px;padding:11px 13px;margin-bottom:7px}.ea-lab-credit-ledger-head{padding:4px 2px 11px}
@media(max-width:720px){.ea-draft-center-dialog{width:calc(100vw - 18px);max-height:calc(100dvh - 18px);border-radius:17px}.ea-draft-center-header{align-items:flex-start;padding:14px 13px 12px}.ea-draft-center-header h3{font-size:17px}.ea-draft-center-header p{max-width:220px;margin-left:25px;font-size:10px}.ea-draft-new-ea-btn{min-height:34px}.ea-draft-center-close{width:34px;height:34px;flex-basis:34px}#eaDraftCenterModal .ea-lab-library-tabs{padding:8px 12px}#eaDraftCenterModal .ea-lab-library-tabs>button{min-height:33px;padding:7px 12px}.ea-draft-center-list{gap:9px;padding:11px 12px 14px}.ea-draft-card{padding:12px}.ea-draft-card-context-row{grid-template-columns:1fr;gap:3px}.ea-draft-card-actions,.ea-lab-archive-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto}.ea-draft-resume-btn{min-width:0}.ea-lab-archive-downloads{display:grid;grid-template-columns:1fr 1fr}.ea-lab-archive-downloads a{min-width:0}.ea-lab-credit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.ea-draft-center-header p{display:none}.ea-draft-center-header h3::before{margin-right:6px}.ea-draft-card-actions,.ea-lab-archive-actions{grid-template-columns:minmax(0,1fr) auto}.ea-draft-archive-btn{grid-column:auto}.ea-lab-library-delete-btn{min-width:58px}.ea-lab-archive-downloads{grid-template-columns:1fr}.ea-draft-card-snapshot{grid-template-columns:1fr;gap:3px}.ea-draft-card-snapshot code{width:100%}}

/* EA LAB library: complete light-theme contrast */
html[data-theme="light"] #eaDraftCenterModal .ea-draft-center-backdrop{
  background:rgba(24,38,52,.62);
  backdrop-filter:blur(10px) saturate(105%);
}
html[data-theme="light"] #eaDraftCenterModal .ea-draft-center-dialog{
  color:#172b3d;
  border-color:rgba(169,119,24,.42);
  background:radial-gradient(circle at 92% 0,rgba(226,171,55,.13),transparent 32%),linear-gradient(150deg,#fffdf8,#edf4f9);
  box-shadow:0 32px 90px rgba(19,38,55,.32),0 0 0 1px rgba(255,255,255,.7),inset 0 1px 0 #fff;
}
html[data-theme="light"] #eaDraftCenterModal .ea-draft-center-header{
  border-bottom-color:rgba(115,87,35,.18);
}
html[data-theme="light"] #eaDraftCenterModal .ea-draft-center-header h3{
  color:#12283b;
  text-shadow:none;
}
html[data-theme="light"] #eaDraftCenterModal .ea-draft-center-header p{
  color:#536b80;
}
html[data-theme="light"] #eaDraftCenterModal .ea-draft-center-close{
  color:#405a70;
  border-color:rgba(63,89,111,.2);
  background:rgba(255,255,255,.72);
}
html[data-theme="light"] #eaDraftCenterModal .ea-draft-center-close:hover{
  color:#172b3d;
  border-color:rgba(169,119,24,.48);
  background:#fff8e8;
}
html[data-theme="light"] #eaDraftCenterModal .ea-draft-new-ea-btn{
  color:#2b1c03;
  border-color:rgba(157,106,15,.5);
  background:linear-gradient(135deg,#ffda72,#d9a12a);
  box-shadow:0 8px 20px rgba(169,119,24,.2),inset 0 1px 0 rgba(255,255,255,.55);
}
html[data-theme="light"] #eaDraftCenterModal .ea-draft-new-ea-btn:hover{
  color:#201300;
  border-color:#a77112;
  background:linear-gradient(135deg,#ffe08a,#e0a72d);
}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-library-tabs{
  border-bottom-color:rgba(115,87,35,.18);
  background:rgba(228,237,244,.88);
}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-library-tabs>button{
  color:#38546b;
  border-color:rgba(83,108,130,.25);
  background:#f8fbfd;
}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-library-tabs>button:hover{
  color:#172b3d;
  border-color:rgba(169,119,24,.5);
  background:#fff;
}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-library-tabs>button.is-active{
  color:#2a1b03;
  border-color:rgba(169,119,24,.42);
  background:linear-gradient(135deg,#ffdc78,#dca72f);
  box-shadow:0 8px 20px rgba(178,127,30,.2);
}
html[data-theme="light"] #eaDraftCenterModal .ea-draft-center-list{
  color:#172b3d;
  background:rgba(246,250,252,.38);
}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-ledger-head,
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-ledger-head strong{
  color:#9a680d;
}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-ledger-head span{
  color:#587085;
}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-stat{
  border-color:rgba(154,104,13,.22);
  background:linear-gradient(145deg,#fffdf7,#eaf2f7);
  box-shadow:0 8px 20px rgba(31,60,82,.08),inset 0 1px 0 #fff;
}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-stat span,
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-stat small{
  color:#5b7286;
}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-stat strong{
  color:#9b690b;
}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-stat.is-ok strong{
  color:#087a58;
}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-stat.is-alert strong{
  color:#c7354e;
}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-row{
  color:#172b3d;
  border-color:rgba(72,105,132,.2);
  background:linear-gradient(135deg,#fff,#edf4f8);
  box-shadow:0 7px 18px rgba(31,60,82,.07);
}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-row>div:first-child,
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-row>div:first-child strong{
  color:#203b52;
}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-row span,
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-row .ea-lab-credit-token-line,
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-amount small{
  color:#5c7387;
}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-row.is-debit .ea-lab-credit-amount{color:#c52d49}
html[data-theme="light"] #eaDraftCenterModal .ea-lab-credit-row.is-credit .ea-lab-credit-amount{color:#087a58}
.ea-image-evidence{margin-top:16px;padding:0;border:1px solid rgba(73,201,255,.3);border-radius:16px;background:linear-gradient(145deg,rgba(9,28,43,.95),rgba(8,21,34,.92));box-shadow:inset 0 1px 0 rgba(255,255,255,.035);overflow:hidden}
.ea-image-evidence[hidden],.ea-image-evidence-body[hidden]{display:none!important}.ea-image-evidence-toggle{width:100%;padding:15px 16px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.ea-image-evidence-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0}.ea-image-evidence-head div{display:grid;gap:4px;min-width:0}.ea-image-evidence-head b{color:#eaf7ff;font-size:15px}.ea-image-evidence-head small,.ea-image-evidence-formats{color:#8faabd;font-size:11px;line-height:1.5}.ea-image-evidence-toggle-action{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 0 auto}.ea-image-evidence-toggle-label{color:#8ee2ff;font-size:11px;font-weight:800;white-space:nowrap}.ea-image-evidence-toggle-action i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1px solid rgba(73,201,255,.34);color:#8ee2ff;font-style:normal;font-size:16px;transition:transform .22s ease}.ea-image-evidence-toggle:hover,.ea-image-evidence-toggle:focus-visible{background:rgba(73,201,255,.045);outline:none}.ea-image-evidence-toggle:focus-visible{box-shadow:inset 0 0 0 2px #49c9ff}.ea-image-evidence.is-expanded .ea-image-evidence-toggle-action i{transform:rotate(180deg)}.ea-image-evidence-body{padding:0 16px 16px;animation:eaImageEvidenceExpand .22s ease both}@keyframes eaImageEvidenceExpand{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}.ea-image-evidence-input{display:grid;grid-template-columns:minmax(210px,.72fr) minmax(0,1.28fr);gap:12px}.ea-image-evidence-drop{min-height:112px;border:1px dashed rgba(73,201,255,.48);border-radius:13px;background:rgba(73,201,255,.045);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:12px;text-align:center;cursor:pointer;transition:.22s ease}.ea-image-evidence-drop:hover{border-color:#f5c451;background:rgba(245,196,81,.07);transform:translateY(-1px)}.ea-image-evidence-drop input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.ea-image-evidence-drop>span{color:#49c9ff;font-size:24px}.ea-image-evidence-drop>b{color:#eaf7ff;font-size:13px}.ea-image-evidence-drop>small{max-width:100%;color:#8faabd;font-size:11px;overflow-wrap:anywhere}.ea-image-evidence-analyze{width:100%;margin-top:12px;min-height:42px;border:1px solid rgba(73,201,255,.45);background:rgba(73,201,255,.09);color:#8ee2ff;font-weight:850}.ea-image-evidence-analyze:not(:disabled):hover{border-color:#f5c451;color:#f5c451;box-shadow:0 8px 24px rgba(0,0,0,.24)}.ea-image-evidence-analyze:disabled{opacity:.45;cursor:not-allowed}.ea-image-evidence-result{margin-top:12px;padding:14px;border:1px solid rgba(245,196,81,.28);border-radius:13px;background:rgba(4,15,25,.7);color:#cbd9e4}.ea-image-evidence-result h4{margin:0 0 7px;color:#f5c451}.ea-image-evidence-result p{margin:0;line-height:1.65}.ea-image-evidence-result ul{margin:9px 0 0;padding-left:20px}.ea-image-evidence-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.ea-image-evidence-meta span{padding:4px 8px;border-radius:999px;background:rgba(73,201,255,.09);color:#8ee2ff;font-size:10px}.ea-image-evidence-accept{width:100%;margin-top:12px}.ea-image-evidence-warning{margin-top:9px;color:#f7c978;font-size:11px}
html[data-theme="light"] .ea-image-evidence{border-color:rgba(32,113,164,.28);background:linear-gradient(145deg,#fffefa,#f5f9fc);box-shadow:0 10px 28px rgba(34,72,102,.08),inset 0 1px 0 #fff}
html[data-theme="light"] .ea-image-evidence-toggle{background:linear-gradient(100deg,rgba(255,255,255,.98),rgba(239,247,252,.9))}
html[data-theme="light"] .ea-image-evidence-toggle:hover,html[data-theme="light"] .ea-image-evidence-toggle:focus-visible{background:linear-gradient(100deg,#fffaf0,#eef8fd)}
html[data-theme="light"] .ea-image-evidence-head b{color:#18344d}
html[data-theme="light"] .ea-image-evidence-head small,html[data-theme="light"] .ea-image-evidence-formats{color:#5c7185}
html[data-theme="light"] .ea-image-evidence-toggle-label{color:#946000}
html[data-theme="light"] .ea-image-evidence-toggle-action i{border-color:rgba(25,118,174,.32);background:#f4fbff;color:#176d9e}
html[data-theme="light"] .ea-image-evidence-body{padding-top:15px;border-top:1px solid rgba(32,113,164,.14);background:rgba(255,255,255,.72)}
html[data-theme="light"] .ea-image-evidence-input .field{border-color:#d6e1e9;background:#fff}
html[data-theme="light"] .ea-image-evidence-input .field>span{color:#6f4a00}
html[data-theme="light"] .ea-image-evidence-input textarea{border-color:#c9d8e4;background:#fff;color:#1d3347;box-shadow:inset 0 1px 2px rgba(31,69,98,.04)}
html[data-theme="light"] .ea-image-evidence-input textarea::placeholder{color:#7a8c9c}
html[data-theme="light"] .ea-image-evidence-drop{border-color:rgba(25,118,174,.48);background:#f5fbff}
html[data-theme="light"] .ea-image-evidence-drop:hover{border-color:#bd8316;background:#fff9eb}
html[data-theme="light"] .ea-image-evidence-drop>span{color:#177bae}
html[data-theme="light"] .ea-image-evidence-drop>b{color:#203a51}
html[data-theme="light"] .ea-image-evidence-drop>small{color:#687d8f}
html[data-theme="light"] .ea-image-evidence-analyze{border-color:rgba(177,118,14,.42);background:linear-gradient(90deg,#fff7e4,#f9e6b5);color:#765000}
html[data-theme="light"] .ea-image-evidence-analyze:disabled{border-color:#ccd9e3;background:#edf3f7;color:#556d82;opacity:1}
html[data-theme="light"] .ea-image-evidence-analyze:not(:disabled):hover{border-color:#a66b00;color:#674200;box-shadow:0 8px 22px rgba(171,113,9,.16)}
html[data-theme="light"] .ea-image-evidence-result{border-color:rgba(177,118,14,.28);background:#fffaf0;color:#29445b}
html[data-theme="light"] .ea-image-evidence-result h4{color:#8c5900}
html[data-theme="light"] .ea-image-evidence-meta span{background:#eaf6fc;color:#176991}
html[data-theme="light"] .ea-image-evidence-warning{color:#855700}
@media(max-width:680px){.ea-image-evidence-toggle{padding:13px}.ea-image-evidence-head{display:grid}.ea-image-evidence-toggle-action{justify-content:space-between;width:100%}.ea-image-evidence-formats{display:none}.ea-image-evidence-body{padding:0 13px 13px}.ea-image-evidence-input{grid-template-columns:1fr}.ea-image-evidence-drop{min-height:96px}.ea-image-evidence-result{padding:12px}}
@media(max-width:680px){html[data-theme="light"] .ea-image-evidence-body{padding-top:13px}}
/* EA LAB light theme: keep the build/test controls readable and visually
   consistent with the warm, airy customer workspace. These controls are
   rendered dynamically and carry dark-theme styles with them, so the light
   override intentionally uses the theme root for stronger specificity. */
html[data-theme="light"] .ea-build-config-v19,
html.light-mode .ea-build-config-v19 {
  color: #17324d;
  border-color: #ead29a;
  background: linear-gradient(145deg, #fffdf8 0%, #f5f9fd 100%);
  box-shadow: 0 12px 30px rgba(45, 72, 98, .08), inset 0 1px #fff;
}

html[data-theme="light"] .ea-build-config-v19-head strong,
html.light-mode .ea-build-config-v19-head strong {
  color: #8b5a00;
}

html[data-theme="light"] .ea-build-config-v19-head small,
html.light-mode .ea-build-config-v19-head small {
  color: #60758a;
}

html[data-theme="light"] .ea-build-config-v19-badge,
html.light-mode .ea-build-config-v19-badge {
  color: #087765;
  border-color: #8fd8ca;
  background: #e9faf5;
}

html[data-theme="light"] .ea-build-config-v19-grid label > span,
html.light-mode .ea-build-config-v19-grid label > span {
  color: #243f59;
  font-weight: 800;
}

html[data-theme="light"] .ea-build-config-v19-grid label > span b,
html.light-mode .ea-build-config-v19-grid label > span b {
  color: #b77a00;
}

html[data-theme="light"] .ea-build-config-v19-grid input,
html[data-theme="light"] .ea-build-config-v19-grid select,
html.light-mode .ea-build-config-v19-grid input,
html.light-mode .ea-build-config-v19-grid select {
  color: #17324d;
  border-color: #c8d6e3;
  background: #fff;
  box-shadow: 0 2px 8px rgba(45, 72, 98, .05);
}

html[data-theme="light"] .ea-build-config-v19-grid input:focus,
html[data-theme="light"] .ea-build-config-v19-grid select:focus,
html.light-mode .ea-build-config-v19-grid input:focus,
html.light-mode .ea-build-config-v19-grid select:focus {
  border-color: #d7a62e;
  box-shadow: 0 0 0 3px rgba(215, 166, 46, .14);
}

html[data-theme="light"] .ea-build-config-v19-hint,
html.light-mode .ea-build-config-v19-hint {
  color: #4d657b;
  border: 1px solid #dbe8f1;
  background: #edf6fb;
}

html[data-theme="light"] .ea-build-config-v19-hint b,
html.light-mode .ea-build-config-v19-hint b {
  color: #214d70;
}

html[data-theme="light"] .ea-repair-consent-v21,
html.light-mode .ea-repair-consent-v21 {
  color: #17324d;
  border-color: #a8ddd3;
  background: linear-gradient(145deg, #f3fcf9 0%, #eef7fb 100%);
  box-shadow: 0 12px 30px rgba(33, 104, 91, .08), inset 0 1px #fff;
}

html[data-theme="light"] .ea-repair-consent-v21 h4,
html.light-mode .ea-repair-consent-v21 h4 {
  color: #185c52;
}

html[data-theme="light"] .ea-repair-consent-v21 p,
html.light-mode .ea-repair-consent-v21 p {
  color: #526c7e;
}

html[data-theme="light"] .ea-repair-consent-v21-grid label > span,
html.light-mode .ea-repair-consent-v21-grid label > span {
  color: #28485e;
}

html[data-theme="light"] .ea-repair-consent-v21 select,
html.light-mode .ea-repair-consent-v21 select {
  color: #17324d;
  border-color: #bdd7d3;
  background: #fff;
  box-shadow: 0 2px 8px rgba(33, 104, 91, .05);
}

.ea-repair-attempts-row-v21[hidden] {
  display: none !important;
}

html[data-theme="light"] .ea-repair-consent-v21-check,
html.light-mode .ea-repair-consent-v21-check {
  color: #354f62;
  border-color: #e5c877;
  background: linear-gradient(110deg, #fff8e7, #edf9f5);
}

html[data-theme="light"] .ea-repair-consent-v21-trust,
html.light-mode .ea-repair-consent-v21-trust {
  color: #087765;
}

/* Linked/submitted Verified Backtest notices are generated by the Quick
   Backtest module with dark-theme text colors. Give every status line an
   explicit accessible light-theme palette. */
html[data-theme="light"] .ea-qb-verified-related,
html[data-theme="light"] .ea-qb-verified-request,
html.light-mode .ea-qb-verified-related,
html.light-mode .ea-qb-verified-request {
  color: #17324d;
  border-color: #79d5c4;
  background: linear-gradient(135deg, #effcf8 0%, #e6f7f4 100%);
  box-shadow: 0 8px 22px rgba(25, 111, 94, .07), inset 0 1px #fff;
}

html[data-theme="light"] .ea-qb-verified-related b,
html[data-theme="light"] .ea-qb-verified-request b,
html.light-mode .ea-qb-verified-related b,
html.light-mode .ea-qb-verified-request b {
  color: #123a4e;
  font-weight: 900;
}

html[data-theme="light"] .ea-qb-verified-related span,
html[data-theme="light"] .ea-qb-verified-request span,
html.light-mode .ea-qb-verified-related span,
html.light-mode .ea-qb-verified-request span {
  color: #36566c;
}

html[data-theme="light"] .ea-qb-verified-request small,
html.light-mode .ea-qb-verified-request small {
  color: #587184;
}

html[data-theme="light"] .ea-qb-verified-result,
html.light-mode .ea-qb-verified-result {
  color: #102a3c;
}

/* EA_LAB_LIGHT_CONTRAST_STRATEGY_TUNING_V1
   The strategy-improvement panel is injected with a dark gradient. In light
   mode, broad typography rules used to turn its copy dark while leaving that
   gradient in place. Keep the whole component on one accessible light palette. */
html[data-theme="light"] .ea-performance-review-v41,
html.light-mode .ea-performance-review-v41 {
  color: #263f54;
  border-color: #e5bd58;
  background: linear-gradient(135deg, #fff9eb 0%, #f8fbff 52%, #ecf9f6 100%);
  box-shadow: 0 12px 30px rgba(22, 51, 72, .10), inset 0 1px rgba(255, 255, 255, .96);
}

html[data-theme="light"] .ea-performance-review-v41 h3,
html.light-mode .ea-performance-review-v41 h3 {
  color: #102a43 !important;
}

html[data-theme="light"] .ea-performance-review-v41 p,
html[data-theme="light"] .ea-performance-review-v41 li,
html[data-theme="light"] .ea-performance-review-v41 small,
html[data-theme="light"] .ea-performance-review-v41-result,
html.light-mode .ea-performance-review-v41 p,
html.light-mode .ea-performance-review-v41 li,
html.light-mode .ea-performance-review-v41 small,
html.light-mode .ea-performance-review-v41-result {
  color: #405a70 !important;
}

html[data-theme="light"] .ea-tuning-change-v1,
html.light-mode .ea-tuning-change-v1 {
  color: #334e63;
  border-color: #bfd2df;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 6px 16px rgba(29, 64, 87, .07);
}

html[data-theme="light"] .ea-tuning-change-v1 b,
html.light-mode .ea-tuning-change-v1 b {
  color: #17324d !important;
}

html[data-theme="light"] .ea-tuning-values-v1 span,
html.light-mode .ea-tuning-values-v1 span {
  color: #17324d;
  border-color: #c7d8e4;
  background: #edf5fa;
}

html[data-theme="light"] .ea-tuning-risk-v1,
html.light-mode .ea-tuning-risk-v1 {
  color: #74420a;
  border-color: #e8c16b;
  background: #fff4d6;
}

html[data-theme="light"] .ea-tuning-baseline-v1,
html.light-mode .ea-tuning-baseline-v1 {
  color: #075e52;
  border-color: #87d5c5;
  background: #e8f8f4;
}

/* EA_LAB_LIGHT_CREDIT_ESTIMATE_V1 */
html[data-theme="light"] .ea-auto-generation-credit-panel,
html.light-mode .ea-auto-generation-credit-panel {
  color: #243f56;
  border-color: #d9b85d;
  background: linear-gradient(145deg, #fffaf0 0%, #f7fbff 56%, #edf9f6 100%);
  box-shadow: 0 12px 30px rgba(25, 54, 76, .10), inset 0 1px rgba(255, 255, 255, .96);
}

html[data-theme="light"] .ea-auto-generation-credit-kicker,
html.light-mode .ea-auto-generation-credit-kicker {
  color: #087c8f;
}

html[data-theme="light"] .ea-auto-generation-credit-title,
html.light-mode .ea-auto-generation-credit-title {
  color: #102a43 !important;
}

html[data-theme="light"] .ea-auto-generation-credit-badge,
html.light-mode .ea-auto-generation-credit-badge {
  color: #74420a;
  border-color: #dfb64e;
  background: #fff1c7;
}

html[data-theme="light"] .ea-auto-generation-credit-grid > div,
html.light-mode .ea-auto-generation-credit-grid > div {
  border-color: #cfdee8;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 4px 12px rgba(25, 54, 76, .05);
}

html[data-theme="light"] .ea-auto-generation-credit-grid span,
html.light-mode .ea-auto-generation-credit-grid span {
  color: #587184;
}

html[data-theme="light"] .ea-auto-generation-credit-grid strong,
html.light-mode .ea-auto-generation-credit-grid strong {
  color: #17324d;
}

html[data-theme="light"] .ea-auto-generation-credit-grid .ea-credit-emphasis,
html.light-mode .ea-auto-generation-credit-grid .ea-credit-emphasis {
  color: #9a5b08;
}

html[data-theme="light"] .ea-auto-generation-credit-state.is-ok,
html.light-mode .ea-auto-generation-credit-state.is-ok {
  color: #076b58;
  border-color: #78cdbc;
  background: #e6f7f2;
}

html[data-theme="light"] .ea-auto-generation-credit-state.is-low,
html.light-mode .ea-auto-generation-credit-state.is-low {
  color: #7a4707;
  border-color: #e2bd65;
  background: #fff3d2;
}

html[data-theme="light"] .ea-auto-generation-credit-note,
html.light-mode .ea-auto-generation-credit-note {
  color: #526b7e;
}

html[data-theme="light"] .ea-auto-generation-credit-loading,
html.light-mode .ea-auto-generation-credit-loading {
  color: #405a70;
  border: 1px solid #d6e3eb;
  background: #f5f9fc;
}

html[data-theme="light"] .ea-auto-generation-credit-error,
html.light-mode .ea-auto-generation-credit-error {
  color: #922f35;
  border-color: #e4a5a9;
  background: #fff1f2;
}

/* EA_LAB_LIGHT_AI_MODEL_SELECTOR_V1 */
html[data-theme="light"] .ea-ai-selector-shell,
html.light-mode .ea-ai-selector-shell {
  color: #29455b;
  border-color: #dcb95c;
  background: linear-gradient(145deg, #fff9eb 0%, #f5fbff 54%, #edf9f6 100%);
  box-shadow: 0 12px 30px rgba(25, 54, 76, .10), inset 0 1px rgba(255, 255, 255, .96);
}

html[data-theme="light"] .ea-ai-selector-kicker,
html.light-mode .ea-ai-selector-kicker { color: #087c8f; }
html[data-theme="light"] .ea-ai-selector-title,
html.light-mode .ea-ai-selector-title { color: #102a43 !important; }
html[data-theme="light"] .ea-ai-selector-guide,
html.light-mode .ea-ai-selector-guide { color: #405a70; }
html[data-theme="light"] .ea-ai-selector-badge,
html.light-mode .ea-ai-selector-badge {
  color: #74420a;
  border-color: #dfb64e;
  background: #fff1c7;
}
html[data-theme="light"] .ea-ai-selector-control .ea-auto-generation-model-select,
html.light-mode .ea-ai-selector-control .ea-auto-generation-model-select {
  color: #17324d;
  border-color: #d8b75b;
  background: #fff;
}
html[data-theme="light"] .ea-ai-selector-intelligence,
html.light-mode .ea-ai-selector-intelligence {
  border-color: #c9dce7;
  background: rgba(255, 255, 255, .76);
}
html[data-theme="light"] .ea-ai-selector-level,
html.light-mode .ea-ai-selector-level { color: #8b5709; }
html[data-theme="light"] .ea-ai-selector-description,
html[data-theme="light"] .ea-ai-selector-note,
html[data-theme="light"] .ea-ai-selector-loading,
html.light-mode .ea-ai-selector-description,
html.light-mode .ea-ai-selector-note,
html.light-mode .ea-ai-selector-loading { color: #526b7e; }

/* EA_LAB_LIGHT_REPAIR_APPROVAL_CONTRAST_V1
   The repair card is rendered with dark inline defaults for dark mode. Keep
   those defaults intact and provide an explicit, readable light surface. */
html[data-theme="light"] .ea-repair-approval-v21,
html.light-mode .ea-repair-approval-v21 {
  color: #17324d !important;
  border-color: #d7ad45 !important;
  background: linear-gradient(145deg, #fffaf0 0%, #f4f9fc 58%, #eef8f5 100%) !important;
  box-shadow: 0 12px 28px rgba(31, 55, 74, .10), inset 0 1px rgba(255, 255, 255, .95);
}
html[data-theme="light"] .ea-repair-approval-v21 h4,
html.light-mode .ea-repair-approval-v21 h4 {
  color: #8a5400 !important;
}
html[data-theme="light"] .ea-repair-approval-v21 p,
html.light-mode .ea-repair-approval-v21 p {
  color: #36536b !important;
}
html[data-theme="light"] .ea-repair-approval-v21 p strong,
html.light-mode .ea-repair-approval-v21 p strong {
  color: #183b56 !important;
}
html[data-theme="light"] .ea-repair-approval-v21 .ea-repair-finding,
html.light-mode .ea-repair-approval-v21 .ea-repair-finding {
  border-color: #c9d9e3 !important;
  background: #ffffff !important;
  box-shadow: 0 5px 14px rgba(28, 57, 78, .06);
}
html[data-theme="light"] .ea-repair-approval-v21 .ea-repair-finding b,
html.light-mode .ea-repair-approval-v21 .ea-repair-finding b {
  color: #8a5400 !important;
}
html[data-theme="light"] .ea-repair-approval-v21 .ea-repair-finding small,
html.light-mode .ea-repair-approval-v21 .ea-repair-finding small {
  color: #4b6579 !important;
}
html[data-theme="light"] .ea-repair-approval-v21 .ea-repair-approval-v21-note,
html.light-mode .ea-repair-approval-v21 .ea-repair-approval-v21-note {
  color: #40596d !important;
  border: 1px solid #ead59b;
  background: #fff6dc !important;
}
html[data-theme="light"] .ea-repair-approval-v21 .ea-repair-approval-v21-note strong,
html.light-mode .ea-repair-approval-v21 .ea-repair-approval-v21-note strong {
  color: #744500 !important;
}
html[data-theme="light"] .ea-repair-approval-v21 .btn:not(.btn-gold),
html.light-mode .ea-repair-approval-v21 .btn:not(.btn-gold) {
  color: #17324d !important;
  border-color: #b9cad6 !important;
  background: #ffffff !important;
}
