.lead-studio-hero{padding:4.1rem 0 2.8rem;background:linear-gradient(120deg,#071b2d 0%,#10334b 66%,#1a506c 100%);color:#fff}
.lead-studio-hero-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(265px,.8fr);gap:2.5rem;align-items:center}
.lead-studio-hero h1{font-size:clamp(2rem,4vw,3.6rem);line-height:1.12;max-width:800px;margin:1rem 0}
.lead-studio-hero .lead{color:#d5e5f0;max-width:790px}
.lead-studio-hero-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.6rem}
.lead-studio-truth{border:1px solid rgba(255,255,255,.2);background:rgba(1,20,33,.43);padding:1.4rem;border-radius:15px}
.lead-studio-truth strong{display:block;font-size:1.08rem}
.lead-studio-truth p{font-size:.92rem;color:#e0e9f0;line-height:1.55;margin:.8rem 0}
.lead-studio-demostatus{display:block;border-left:3px solid #e8a04b;padding-left:.65rem;color:#fff2d7;font-size:.84rem;margin-top:1rem}
.lead-studio-shell{display:grid;grid-template-columns:minmax(215px,260px) minmax(0,1fr);gap:1.5rem;padding-top:2.5rem;padding-bottom:4rem;align-items:start}
.lead-studio-rail{position:sticky;top:1.5rem;padding:1rem;background:#071e31;border:1px solid #193d56;border-radius:14px;color:#f3f7fb}
.lead-studio-rail-brand{letter-spacing:.15em;font-weight:750;font-size:.72rem;color:#9cbacf;padding:.6rem .75rem 1rem}
.lead-studio-nav{display:flex;flex-direction:column;gap:.4rem}
.lead-studio-nav button{display:flex;align-items:center;gap:.65rem;text-align:left;font-weight:650;font-size:.9rem;cursor:pointer;background:none;border:1px solid transparent;color:#c3d5e3;width:100%;border-radius:9px;padding:.85rem .7rem}
.lead-studio-nav button span{flex:1}
.lead-studio-nav button:hover{background:rgba(255,255,255,.08);color:#fff}
.lead-studio-nav button[aria-selected="true"]{background:#174760;color:#fff;border-color:#3b789b;box-shadow:inset 3px 0 #eaa24e}
.lead-studio-rail-help{color:#b2cad9;line-height:1.5;font-size:.82rem;margin:1.2rem .75rem}
.lead-studio-rail-links{display:grid;gap:.65rem;padding:.8rem;border-top:1px solid #355268}
.lead-studio-rail-links a{color:#e1eff9;font-size:.85rem}
.lead-studio-toolbar{display:flex;gap:1rem;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #cddbe3;padding-bottom:1.25rem;margin-bottom:1.35rem}
.lead-studio-toolbar h2{font-size:clamp(1.7rem,2.5vw,2.3rem);margin:.3rem 0}
.lead-studio-toolbar p{margin:0;color:#536876;font-size:.94rem;max-width:660px}
.lead-studio-save{text-align:right;font-size:.75rem;line-height:1.5;color:#607383;white-space:nowrap}
.lead-studio-save span{font-weight:700;color:#22617f}
.lead-studio-content{min-width:0}
.lead-studio-panel[hidden],#assessmentResults[hidden],.lead-studio-demostatus[hidden]{display:none!important}
.lead-studio-panel{min-width:0}
.lead-studio-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin-bottom:1rem}
.lead-studio-metrics>div{display:flex;flex-direction:column;gap:.25rem;border:1px solid #d7e1e8;background:#fff;border-radius:12px;padding:1rem}
.lead-studio-metrics strong{font-size:2rem;color:#10334b}
.lead-studio-metrics span{font-size:.8rem;color:#577083}
.lead-studio-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;margin-bottom:1rem}
.lead-studio-card{background:#fff;border:1px solid #d6e1e9;border-radius:13px;padding:1.25rem;min-width:0;margin-bottom:1rem}
.lead-studio-columns .lead-studio-card{margin:0}
.lead-studio-card h3{margin:0 0 .5rem;color:#15344a}
.lead-studio-card>p,.lead-studio-intro p{color:#576d7d;font-size:.9rem;line-height:1.6}
.lead-studio-card>.btn{margin-top:.8rem}
.lead-studio-item{display:flex;gap:.5rem;flex-direction:column;padding:.8rem 0;border-bottom:1px solid #e5edf2}
.lead-studio-item:last-child{border-bottom:0}
.lead-studio-item-head{display:flex;gap:.6rem;justify-content:space-between;align-items:flex-start}
.lead-studio-item strong{display:block;color:#1b3b51}
.lead-studio-item small{color:#61788a;line-height:1.45}
.lead-studio-item button{cursor:pointer;font-size:.78rem;padding:.4rem .6rem;border-radius:7px;background:#eef6fa;color:#185875;border:1px solid #b8d5e3;text-align:left;align-self:flex-start}
.lead-studio-chip{font-size:.71rem;font-weight:750;border-radius:999px;padding:.15rem .55rem;border:1px solid #c6d9e3;white-space:nowrap;background:#eaf2f7;color:#22536b}
.lead-studio-chip.high{color:#8a330a;background:#fff1e5;border-color:#efc49e}
.lead-studio-chip.moderate{color:#735819;background:#fff9df;border-color:#e8d393}
.lead-studio-next{padding:1.2rem 1.4rem;background:#eaf4f9;border-left:4px solid #26739a;border-radius:8px}
.lead-studio-next p{margin:.45rem 0 0;color:#3f5c6b;line-height:1.55}
.lead-studio-intro{background:#eff7fb;border-left:4px solid #2478a3;border-radius:8px;padding:1rem 1.25rem;margin-bottom:1.25rem}
.lead-studio-intro h3{margin:0 0 .35rem}
.lead-studio-intro p{margin:0}
.lead-studio-panel .tool-panel{margin-bottom:1rem}
.lead-studio-panel .assessment-dimension{margin-bottom:1.5rem}
.lead-studio-history{margin-bottom:1rem}
.lead-studio-history p{margin:.3rem 0;color:#50687b}
.lead-studio-footnote{font-size:.81rem;color:#667f8e;line-height:1.55}
.lead-studio-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}
.lead-studio-form-grid label{font-size:.85rem;font-weight:650;color:#1b4154;display:grid;gap:.35rem}
.lead-studio-form-grid input,.lead-studio-form-grid select,.lead-studio-form-grid textarea{width:100%;box-sizing:border-box;padding:.72rem .75rem;border:1px solid #b8ccd9;border-radius:7px;background:#fff;color:#112c40;font:inherit;min-width:0}
.lead-studio-form-grid .lead-studio-span{grid-column:1/-1}
.lead-studio-list-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.lead-studio-action{border-top:1px solid #e1ebf1;padding:1rem 0;display:grid;gap:.55rem}
.lead-studio-action:first-child{border-top:0}
.lead-studio-action h4{margin:0}
.lead-studio-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;font-size:.83rem;color:#466074}
.lead-studio-action-grid span{display:block;font-weight:700;color:#163b50}
.lead-studio-action-buttons{display:flex;gap:.55rem;flex-wrap:wrap}
.lead-studio-action-buttons button{border:1px solid #bbd1dd;background:#eef5f9;color:#174c68;border-radius:7px;padding:.45rem .7rem;cursor:pointer}
.lead-studio-action-buttons .lead-delete{border-color:#edc4c0;color:#9a3430;background:#fff5f4}
.lead-studio-empty{border:1px dashed #c4d7e0;background:#f5fafc;border-radius:10px;padding:1rem;margin:.5rem 0 1rem;color:#566f80;font-size:.92rem}
.lead-studio-panel .assessment-results{padding:1rem;background:#f5f9fb;border-radius:12px;margin-top:1rem}
.lead-studio-panel .assessment-results .tool-panel{background:white}
@media(max-width:1000px){.lead-studio-shell{grid-template-columns:1fr}.lead-studio-rail{position:static}.lead-studio-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.lead-studio-nav button{font-size:.82rem;padding:.6rem}.lead-studio-rail-help{margin:.6rem 0}.lead-studio-rail-links{display:flex;flex-wrap:wrap}}
@media(max-width:680px){.lead-studio-hero-grid,.lead-studio-columns{grid-template-columns:1fr}.lead-studio-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-studio-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-studio-toolbar{flex-direction:column}.lead-studio-save{text-align:left}.lead-studio-form-grid,.lead-studio-action-grid{grid-template-columns:1fr}.lead-studio-hero{padding:2.4rem 0 2rem}}

/* Sticky and independently scrollable module navigation on all screen sizes. */
@media (min-width:1001px){
  .lead-studio-rail{
    top:88px;
    align-self:start;
    max-height:calc(100vh - 104px);
    max-height:calc(100dvh - 104px);
    overflow-y:auto;
    scrollbar-width:thin;
  }
  .lead-studio-content{scroll-margin-top:96px}
}
@media (max-width:1000px){
  .lead-studio-rail{
    position:sticky;
    top:72px;
    z-index:40;
    max-height:none;
    overflow:visible;
    padding:.45rem .6rem;
    box-shadow:0 6px 14px rgba(7,30,49,.16);
  }
  .lead-studio-nav{
    display:flex;
    grid-template-columns:none;
    flex-direction:row;
    gap:.35rem;
    overflow-x:auto;
    scrollbar-width:thin;
    padding-bottom:.2rem;
  }
  .lead-studio-nav button{
    flex:0 0 auto;
    width:auto;
    white-space:nowrap;
    padding:.65rem .75rem;
    font-size:.82rem;
  }
  .lead-studio-nav button span{flex:0 0 auto}
  .lead-studio-rail-brand{padding:.1rem .45rem .4rem;font-size:.62rem}
  .lead-studio-rail-help,.lead-studio-rail-links{display:none}
  .lead-studio-content{scroll-margin-top:164px}
}
