/* OGCC Global Snapshot System */

.ogcc-snapshot-selector{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:0 0 16px;
}

.ogcc-scenario-switcher-wrap{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  margin:0;
}

.ogcc-snapshot-selector__label{
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#5e6b74;
  font-weight:700;
}

.ogcc-scenario-switcher{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
  min-width:220px;
  margin:0;
}

.ogcc-scenario-switcher__toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:auto;
  max-width:320px;
  height:30px;
  margin:0;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(11,78,162,.38);
  background:#ffffff;
  box-shadow:0 1px 0 rgba(0,0,0,.04),0 10px 24px rgba(0,0,0,.06);
  /* Match .ogcc-model-tab typography from ogcc-portal.css */
  color:var(--ogcc-ocean, #0b4ea2);
  font-size:11px;
  font-weight:700;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-family:inherit;
  opacity:1;
  white-space:nowrap;
  transition:background .12s ease, border-color .12s ease, box-shadow .12s ease, transform .12s ease, opacity .12s ease;
}

.ogcc-scenario-switcher__toggle:hover{
  border-color:rgba(11,78,162,.45);
  background:#ffffff;
  box-shadow:0 1px 0 rgba(0,0,0,.05),0 12px 26px rgba(0,0,0,.08);
  transform:translateY(-1px);
}

.ogcc-scenario-switcher__toggle:focus-visible{
  outline:2px solid rgba(11,78,162,.35);
  outline-offset:2px;
}

.ogcc-scenario-switcher__active-name{
  display:block;
  max-width:220px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.ogcc-scenario-switcher__active-check{
  font-weight:800;
  line-height:1;
  color:var(--ogcc-ocean, #0b4ea2);
}

.ogcc-scenario-switcher__menu{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  z-index:10030;
  min-width:248px;
  max-width:320px;
  padding:8px;
  border:1px solid rgba(11,78,162,.18);
  border-radius:18px;
  background:#fff;
  box-shadow:0 18px 45px rgba(16,51,71,.16);
}

.ogcc-scenario-switcher__item{
  display:flex;
  align-items:center;
  width:100%;
  min-height:34px;
  padding:0 12px;
  border:1px solid transparent;
  border-radius:999px;
  background:transparent;
  /* Match .ogcc-model-tab typography from ogcc-portal.css */
  color:var(--ogcc-ocean, #0b4ea2);
  font-size:11px;
  font-weight:700;
  letter-spacing:.10em;
  line-height:1;
  text-transform:uppercase;
  font-family:inherit;
  opacity:.88;
  text-align:left;
  text-decoration:none;
  cursor:pointer;
  transition:background .12s ease, border-color .12s ease, transform .12s ease, opacity .12s ease;
}

.ogcc-scenario-switcher__item:hover,
.ogcc-scenario-switcher__item:focus-visible{
  border-color:rgba(11,78,162,.28);
  background:rgba(11,78,162,.06);
  outline:none;
  opacity:1;
  transform:translateY(-1px);
}

.ogcc-scenario-switcher__item-name{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.ogcc-scenario-switcher__active-name,
.ogcc-scenario-switcher__item-name{
  color:inherit;
  font:inherit;
  letter-spacing:inherit;
  text-transform:inherit;
}

.ogcc-scenario-switcher__divider{
  height:1px;
  margin:8px 6px;
  background:rgba(11,78,162,.12);
}

.ogcc-scenario-switcher__item--manager{
  color:var(--ogcc-ocean, #0b4ea2);
}

.ogcc-snapshot-selector__meta,
.ogcc-snapshot-card__badges{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.ogcc-snapshot-chip{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 10px;
  border-radius:999px;
  background:#f5f8fa;
  border:1px solid rgba(0,0,0,.08);
  color:#29414f;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.ogcc-snapshot-chip--active,
.ogcc-snapshot-registry__dot--active{
  background:#e8f4ee;
}

.ogcc-snapshot-chip--selected{
  background:#eef4fc;
}

.ogcc-snapshot-chip--baseline{
  background:#eef7f1;
}

.ogcc-snapshot-chip--locked{
  background:#faf3e8;
}

.ogcc-snapshot-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(17,59,89,.12);
  background:#fff;
  color:#183644;
  font-size:11px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.08em;
  text-decoration:none;
  font-weight:700;
  cursor:pointer;
}

.ogcc-snapshot-btn:hover{
  background:#f6fbff;
}

.ogcc-snapshot-btn--primary{
  background:#183644;
  border-color:#183644;
  color:#fff;
}

.ogcc-snapshot-btn--primary:hover{
  background:#245065;
}

.ogcc-snapshot-card{
  margin:16px 0 22px;
  padding:18px 18px 16px;
  border:1px solid rgba(17, 59, 89, .10);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(248,252,255,.96), rgba(255,255,255,.98));
  box-shadow:0 12px 28px rgba(16, 51, 71, .06);
}

.ogcc-snapshot-card__head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  flex-wrap:wrap;
}

.ogcc-snapshot-card__title{
  margin:0 0 4px;
  font-size:13px;
  line-height:1.2;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#597080;
}

.ogcc-snapshot-card__name{
  font-size:22px;
  line-height:1.2;
  font-weight:700;
  color:#183644;
}

.ogcc-snapshot-card__description{
  margin-top:10px;
  color:#314754;
}

.ogcc-snapshot-card__description p{
  margin:0;
}

.ogcc-snapshot-card__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));
  gap:12px;
  margin-top:14px;
}

.ogcc-snapshot-card__stat{
  padding:12px 13px;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(17, 59, 89, .08);
}

.ogcc-snapshot-card__stat-label{
  display:block;
  margin-bottom:4px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#6b7f8a;
}

.ogcc-snapshot-card__stat-value{
  font-size:15px;
  color:#183644;
}

.ogcc-snapshot-summary{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(17, 59, 89, .08);
}

.ogcc-snapshot-summary__title{
  margin:0 0 10px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#597080;
}

.ogcc-snapshot-summary__row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  padding:10px 0 6px;
}

.ogcc-snapshot-summary__label{
  color:#314754;
  font-weight:600;
}

.ogcc-snapshot-summary__value{
  color:#183644;
  font-weight:700;
}

.ogcc-snapshot-summary__hint{
  padding:0 0 10px;
  font-size:12px;
  color:#6b7f8a;
  border-bottom:1px solid rgba(17, 59, 89, .06);
}

.ogcc-snapshot-summary__hint:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.ogcc-snapshot-card__models{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(17, 59, 89, .08);
}

.ogcc-snapshot-card__footer{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(17, 59, 89, .08);
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:12px;
}

.ogcc-snapshot-workspace{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin:16px 0 24px;
}

.ogcc-snapshot-workspace__head,
.ogcc-snapshot-workspace__panel{
  border:1px solid rgba(17, 59, 89, .10);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(248,252,255,.98), rgba(255,255,255,.98));
  box-shadow:0 12px 28px rgba(16, 51, 71, .05);
}

.ogcc-snapshot-workspace__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  padding:18px;
  flex-wrap:wrap;
}

.ogcc-snapshot-workspace__title{
  margin:0 0 4px;
  font-size:22px;
  line-height:1.2;
  color:#183644;
}

.ogcc-snapshot-workspace__subtitle,
.ogcc-snapshot-workspace__panel-note{
  margin:0;
  color:#5d707d;
}

.ogcc-snapshot-workspace__selector{
  min-width:280px;
}

.ogcc-snapshot-workspace__selector .ogcc-snapshot-selector{
  margin-bottom:0;
}

.ogcc-snapshot-workspace__panel{
  padding:18px;
}

.ogcc-snapshot-workspace__panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
  flex-wrap:wrap;
}

.ogcc-snapshot-workspace__panel-title{
  margin:0 0 4px;
  font-size:13px;
  line-height:1.2;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#597080;
}

.ogcc-snapshot-workspace__panel-count{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 12px;
  border-radius:999px;
  background:#f4f8fb;
  border:1px solid rgba(17,59,89,.08);
  color:#29414f;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.ogcc-snapshot-registry__scroll{
  max-height:var(--ogcc-snapshot-table-height, 488px);
  overflow:auto;
  border:1px solid rgba(17,59,89,.08);
  border-radius:14px;
  background:#fff;
}

.ogcc-snapshot-registry__table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:1040px;
}

.ogcc-snapshot-registry__table thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:#f8fbfd;
  color:#597080;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-align:left;
  padding:12px 12px;
  border-bottom:1px solid rgba(17,59,89,.08);
}

.ogcc-snapshot-registry__table tbody td{
  padding:11px 12px;
  border-bottom:1px solid rgba(17,59,89,.06);
  color:#27404e;
  font-size:13px;
  vertical-align:middle;
}

.ogcc-snapshot-registry__table tbody tr:nth-child(even){
  background:rgba(248,252,255,.75);
}

.ogcc-snapshot-registry__row{
  cursor:pointer;
  transition:background .12s ease, box-shadow .12s ease;
}

.ogcc-snapshot-registry__row:hover{
  background:#eef6fb;
}

.ogcc-snapshot-registry__row.is-selected{
  background:#eaf4fb;
  box-shadow:inset 3px 0 0 #2b6f8e;
}

.ogcc-snapshot-registry__row.is-active{
  background:#edf7f1;
}

.ogcc-snapshot-registry__dot{
  display:inline-block;
  width:11px;
  height:11px;
  border-radius:999px;
  border:1px solid rgba(17,59,89,.14);
  background:#fff;
}

.ogcc-snapshot-registry__dot--active{
  border-color:#2a7d58;
  box-shadow:0 0 0 2px rgba(42,125,88,.12);
}

.ogcc-snapshot-registry__name{
  color:#183644;
  font-weight:700;
  text-decoration:none;
}

.ogcc-snapshot-registry__name:hover{
  text-decoration:underline;
}

.ogcc-snapshot-registry__code,
.ogcc-snapshot-registry__status{
  color:#5b7180;
}

.ogcc-snapshot-registry__actions{
  display:flex;
  align-items:center;
  gap:8px;
  justify-content:flex-end;
  flex-wrap:wrap;
}

.ogcc-snapshot-registry__set-active-form,
.ogcc-snapshot-card__footer-form{
  margin:0;
}

.ogcc-snapshot-registry__current{
  color:#245065;
  font-size:12px;
  font-weight:700;
}

.ogcc-snapshot-registry__empty{
  text-align:center;
  color:#6b7f8a;
  padding:28px 16px !important;
}

.ogcc-model-head .ogcc-model-head__toolbar{
  margin:0 0 0 auto;
}

.ogcc-model-head__toolbar--scenario,
.ogcc-model-head__toolbar .ogcc-scenario-switcher-wrap{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  margin:0 0 0 auto;
}

.ogcc-model-head__toolbar .ogcc-snapshot-selector,
.ogcc-model-head__toolbar .ogcc-scenario-switcher,
.ogcc-model-head__toolbar .ogcc-model-scenario-switcher{
  margin:0;
}

.ogcc-model-head__toolbar .ogcc-scenario-switcher,
.ogcc-model-head__toolbar .ogcc-model-scenario-switcher{
  min-width:0;
  width:auto;
  max-width:100%;
  align-items:flex-end;
  gap:0;
}

.ogcc-model-head__toolbar .ogcc-scenario-switcher__toggle{
  min-height:30px;
  height:30px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(11,78,162,.38);
  background:#ffffff;
  box-shadow:0 1px 0 rgba(0,0,0,.04),0 10px 24px rgba(0,0,0,.06);
}

.ogcc-model-head__toolbar .ogcc-scenario-switcher__active-name{
  max-width:180px;
}

.ogcc-model-head__toolbar .ogcc-scenario-switcher__menu{
  top:calc(100% + 8px);
  right:0;
}

.ogcc-model-scenario-switcher{
  background:transparent;
}

@media (max-width: 920px){
  .ogcc-snapshot-workspace__head{
    flex-direction:column;
  }

  .ogcc-snapshot-workspace__selector{
    width:100%;
    min-width:0;
  }

  .ogcc-snapshot-workspace__selector .ogcc-scenario-switcher,
  .ogcc-snapshot-workspace__selector .ogcc-scenario-switcher__toggle,
  .ogcc-snapshot-workspace__selector .ogcc-scenario-switcher__menu{
    width:100%;
    max-width:none;
    min-width:0;
  }

  .ogcc-snapshot-workspace__selector .ogcc-scenario-switcher{
    align-items:stretch;
  }

  .ogcc-snapshot-workspace__selector .ogcc-scenario-switcher__active-name{
    max-width:none;
  }

  .ogcc-model-head__toolbar .ogcc-scenario-switcher,
  .ogcc-model-head__toolbar .ogcc-scenario-switcher__toggle,
  .ogcc-model-head__toolbar .ogcc-scenario-switcher__menu{
    width:100%;
    max-width:none;
    min-width:0;
  }

  .ogcc-model-head__toolbar .ogcc-scenario-switcher,
  .ogcc-model-head__toolbar .ogcc-model-scenario-switcher,
  .ogcc-model-head__toolbar .ogcc-scenario-switcher-wrap{
    align-items:stretch;
    width:100%;
  }

  .ogcc-model-head__toolbar .ogcc-scenario-switcher__active-name{
    max-width:none;
  }
}

@media (max-width: 680px){
  .ogcc-snapshot-card,
  .ogcc-snapshot-workspace__head,
  .ogcc-snapshot-workspace__panel{
    padding:16px 14px;
  }

  .ogcc-snapshot-summary__row,
  .ogcc-snapshot-card__footer{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
}

/* 2.3.3 — Scenario Manager workspace polish */
.ogcc-snapshot-workspace{
  gap:16px;
}

.ogcc-snapshot-workspace__head,
.ogcc-snapshot-workspace__panel{
  border:1px solid rgba(17,59,89,.10);
  border-radius:20px;
  background:linear-gradient(180deg, rgba(249,252,255,.98) 0%, rgba(255,255,255,.99) 100%);
  box-shadow:0 14px 34px rgba(16,51,71,.06);
}

.ogcc-snapshot-workspace__head{
  position:relative;
  overflow:hidden;
  align-items:center;
  padding:22px 22px 20px;
}

.ogcc-snapshot-workspace__head::before{
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  height:5px;
  background:linear-gradient(90deg, rgba(11,78,162,.82), rgba(76,163,196,.55));
}

.ogcc-snapshot-workspace__titles{
  max-width:860px;
}

.ogcc-snapshot-workspace__eyebrow{
  margin:0 0 8px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ogcc-ocean, #0b4ea2);
}

.ogcc-snapshot-workspace__title{
  margin:0 0 6px;
  font-size:28px;
  line-height:1.08;
  color:#153544;
}

.ogcc-snapshot-workspace__subtitle{
  max-width:880px;
  font-size:14px;
  line-height:1.55;
  color:#4f6675;
}

.ogcc-snapshot-workspace__selector{
  min-width:280px;
  margin-left:auto;
}

.ogcc-snapshot-workspace__stats{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
}

.ogcc-snapshot-workspace__stat-card{
  min-height:114px;
  padding:16px 16px 15px;
  border:1px solid rgba(17,59,89,.08);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(246,250,253,.98) 100%);
  box-shadow:0 10px 24px rgba(16,51,71,.04);
}

.ogcc-snapshot-workspace__stat-label{
  margin:0 0 8px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#6a7f8d;
}

.ogcc-snapshot-workspace__stat-value{
  margin:0 0 8px;
  font-size:20px;
  line-height:1.2;
  font-weight:700;
  color:#163746;
}

.ogcc-snapshot-workspace__stat-hint{
  font-size:12px;
  line-height:1.45;
  color:#617786;
}

.ogcc-snapshot-workspace__panel{
  padding:20px;
}

.ogcc-snapshot-workspace__panel-head{
  margin-bottom:16px;
}

.ogcc-snapshot-workspace__panel-tools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

.ogcc-snapshot-workspace__panel-title{
  margin:0 0 6px;
  color:#567080;
}

.ogcc-snapshot-workspace__panel-note{
  max-width:920px;
  font-size:13px;
  line-height:1.5;
}

.ogcc-snapshot-workspace__panel-count{
  min-height:32px;
  padding:0 13px;
  background:#f7fafc;
}

.ogcc-snapshot-registry__scroll{
  border-radius:16px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}

.ogcc-snapshot-registry__table thead th{
  background:linear-gradient(180deg, #fbfdff 0%, #f4f8fb 100%);
}

.ogcc-snapshot-registry__table tbody td{
  padding:12px 12px;
}

.ogcc-snapshot-registry__row{
  transition:background .14s ease, box-shadow .14s ease, transform .14s ease;
}

.ogcc-snapshot-registry__row:hover{
  background:#eef6fb;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65);
}

.ogcc-snapshot-registry__row.is-selected{
  background:linear-gradient(180deg, rgba(235,244,251,.96) 0%, rgba(228,240,249,.96) 100%);
  box-shadow:inset 4px 0 0 #2b6f8e;
}

.ogcc-snapshot-registry__row.is-active{
  background:linear-gradient(180deg, rgba(237,247,241,.98) 0%, rgba(231,244,236,.98) 100%);
}

.ogcc-snapshot-registry__dot{
  width:12px;
  height:12px;
}

.ogcc-snapshot-registry__name{
  font-size:14px;
}

.ogcc-snapshot-card{
  margin:0;
  padding:0;
  border:none;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.ogcc-snapshot-card__head{
  padding-bottom:14px;
  border-bottom:1px solid rgba(17,59,89,.08);
}

.ogcc-snapshot-card__title{
  margin:0 0 6px;
}

.ogcc-snapshot-card__name{
  font-size:20px;
}

.ogcc-snapshot-card__intro{
  display:grid;
  grid-template-columns:minmax(0, 1.6fr) minmax(260px, .9fr);
  gap:16px;
  margin-top:16px;
}

.ogcc-snapshot-card__intro-main{
  min-width:0;
}

.ogcc-snapshot-card__description{
  margin-top:0;
  padding:14px 16px;
  border:1px solid rgba(17,59,89,.08);
  border-radius:16px;
  background:#fff;
}

.ogcc-snapshot-card__status-panel{
  padding:14px 16px;
  border:1px solid rgba(11,78,162,.12);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(240,247,255,.92) 0%, rgba(250,252,255,.98) 100%);
}

.ogcc-snapshot-card__status-label{
  margin:0 0 8px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ogcc-ocean, #0b4ea2);
}

.ogcc-snapshot-card__status-copy{
  font-size:13px;
  line-height:1.55;
  color:#456171;
}

.ogcc-snapshot-card__grid{
  margin-top:16px;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:14px;
}

.ogcc-snapshot-card__stat{
  padding:13px 14px;
  border-radius:16px;
  background:#fff;
  box-shadow:0 6px 16px rgba(16,51,71,.03);
}

.ogcc-snapshot-card__models{
  margin-top:20px;
  padding-top:16px;
}

.ogcc-snapshot-card__empty-state{
  padding:18px 18px;
  border:1px dashed rgba(17,59,89,.16);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(250,252,254,.98) 0%, rgba(245,249,252,.98) 100%);
}

.ogcc-snapshot-card__empty-title{
  margin:0 0 6px;
  font-size:14px;
  font-weight:700;
  color:#183644;
}

.ogcc-snapshot-card__empty-copy{
  font-size:13px;
  line-height:1.55;
  color:#607685;
}

.ogcc-snapshot-card__footer{
  margin-top:20px;
  padding-top:16px;
}

@media (max-width: 1180px){
  .ogcc-snapshot-workspace__stats{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .ogcc-snapshot-card__intro{
    grid-template-columns:1fr;
  }
}

@media (max-width: 920px){
  .ogcc-snapshot-workspace__head{
    padding:18px 18px 16px;
    align-items:flex-start;
  }

  .ogcc-snapshot-workspace__title{
    font-size:24px;
  }

  .ogcc-snapshot-workspace__stats{
    grid-template-columns:1fr;
  }
}

@media (max-width: 680px){
  .ogcc-snapshot-workspace__head,
  .ogcc-snapshot-workspace__panel{
    padding:16px 14px;
  }

  .ogcc-snapshot-workspace__stat-value{
    font-size:18px;
  }
}

/* 2.3.4 — Scenario CRUD + toolbar refresh */
.ogcc-snapshot-notice{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(17,59,89,.10);
  background:#fff;
  color:#173746;
  box-shadow:0 8px 22px rgba(16,51,71,.04);
}

.ogcc-snapshot-notice--success{
  border-color:rgba(42,125,88,.18);
  background:linear-gradient(180deg, rgba(237,247,241,.96) 0%, rgba(248,252,249,.98) 100%);
}

.ogcc-snapshot-notice--error{
  border-color:rgba(167,63,51,.18);
  background:linear-gradient(180deg, rgba(253,242,240,.96) 0%, rgba(255,250,249,.98) 100%);
}

.ogcc-snapshot-notice__text{
  font-size:13px;
  line-height:1.5;
  font-weight:600;
}

.ogcc-snapshot-toolbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.ogcc-snapshot-toolbar__context{
  display:grid;
  gap:10px;
  min-width:0;
  max-width:760px;
}

.ogcc-snapshot-toolbar__eyebrow{
  font-size:11px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--ogcc-ocean, #0b4ea2);
}

.ogcc-snapshot-toolbar__chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.ogcc-snapshot-toolbar__copy{
  margin:0;
  font-size:13px;
  line-height:1.55;
  color:#5a7080;
}

.ogcc-snapshot-toolbar__actions,
.ogcc-snapshot-card__footer-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.ogcc-snapshot-toolbar__form{
  margin:0;
}

.ogcc-snapshot-btn--danger{
  border-color:rgba(154,58,47,.18);
  color:#8e2f26;
  background:#fff7f6;
}

.ogcc-snapshot-btn--danger:hover{
  background:#fff0ee;
}

.ogcc-snapshot-card__footer{
  justify-content:space-between;
}

.ogcc-scenario-modal__body{
  display:grid;
  gap:14px;
}

.ogcc-scenario-form-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.ogcc-scenario-form__field{
  display:grid;
  gap:6px;
}

.ogcc-scenario-form__label,
.ogcc-scenario-delete__label{
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#617786;
}

.ogcc-scenario-form__input,
.ogcc-scenario-form__textarea{
  width:100%;
  border:1px solid rgba(17,59,89,.14);
  border-radius:14px;
  background:#fff;
  color:#173746;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
}

.ogcc-scenario-form__input{
  min-height:42px;
  padding:10px 12px;
}

.ogcc-scenario-form__textarea{
  min-height:144px;
  padding:12px 12px;
  resize:vertical;
}

.ogcc-scenario-form__checkbox{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:#27404e;
}

.ogcc-scenario-delete__card{
  display:grid;
  gap:10px;
  padding:14px 16px;
  border:1px solid rgba(154,58,47,.12);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,248,247,.98) 0%, rgba(255,255,255,.98) 100%);
}

.ogcc-scenario-delete__name{
  font-size:20px;
  line-height:1.2;
  font-weight:700;
  color:#173746;
}

.ogcc-scenario-delete__copy{
  margin:0;
  font-size:13px;
  line-height:1.55;
  color:#5d707d;
}

.ogcc-scenario-delete__flags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

@media (max-width: 920px){
  .ogcc-scenario-form-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 680px){
  .ogcc-snapshot-toolbar,
  .ogcc-snapshot-card__footer{
    flex-direction:column;
    align-items:flex-start;
  }
}


/* 2.3.5 — scenario modal load-state safety */
.ogcc-modal[id^="ogccScenario"][hidden],
.ogcc-modal[id^="ogccScenario"][aria-hidden="true"]{
  display:none !important;
  visibility:hidden !important;
  pointer-events:none !important;
}


/* 2.3.8 — scenario modal footer action visibility */
.ogcc-modal[id^="ogccScenario"] .ogcc-modal__footer .ogcc-snapshot-btn{
  min-height:30px !important;
  height:auto !important;
  padding:6px 12px !important;
  border:1px solid rgba(17,59,89,.12) !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#183644 !important;
  box-shadow:none !important;
  font-size:11px !important;
  line-height:1 !important;
  font-weight:700 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  text-decoration:none !important;
}

.ogcc-modal[id^="ogccScenario"] .ogcc-modal__footer .ogcc-snapshot-btn--primary{
  background:#183644 !important;
  border-color:#183644 !important;
  color:#fff !important;
}

.ogcc-modal[id^="ogccScenario"] .ogcc-modal__footer .ogcc-snapshot-btn--primary:hover{
  background:#245065 !important;
}

.ogcc-modal[id^="ogccScenario"] .ogcc-modal__footer .ogcc-snapshot-btn--danger{
  border-color:rgba(154,58,47,.18) !important;
  background:#fff7f6 !important;
  color:#8e2f26 !important;
}

.ogcc-modal[id^="ogccScenario"] .ogcc-modal__footer .ogcc-snapshot-btn:hover{
  background:#f6fbff !important;
}

.ogcc-modal[id^="ogccScenario"] .ogcc-modal__footer .ogcc-snapshot-btn--danger:hover{
  background:#fff0ee !important;
}

.ogcc-modal[id^="ogccScenario"] .ogcc-modal__footer .ogcc-snapshot-btn--primary:hover{
  background:#245065 !important;
}
