:root {
  --ivory: #F8F3E9;
  --beige: #DCC6A8;
  --gold: #D4AF37;
  --wine: #721329;
  --forest: #1F3D2E;

  --paper: #FFFCF6;
  --ink: #4F3D33;
  --muted: #786B61;
  --line: #DFD1BF;

  --serif:
    Georgia,
    "Times New Roman",
    serif;

  --sans:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  --shadow:
    0 24px 55px
    rgba(74, 45, 27, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background:
    var(--ivory);

  color:
    var(--ink);

  font:
    15px/1.7
    var(--sans);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

.shell {
  width:
    min(
      1190px,
      calc(100% - 56px)
    );

  margin:
    0 auto;
}

.sr-only {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip:
    rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;

  z-index: 100;

  background: white;

  padding: 10px;
}

.skip-link:focus {
  top: 12px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline:
    3px solid
    var(--gold);

  outline-offset:
    3px;
}


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

.topline {
  background:
    var(--wine);

  color:
    #FFF8EF;

  padding:
    6px 10px;

  text-align:
    center;

  font-size:
    9px;

  letter-spacing:
    .22em;
}

.header {
  position:
    relative;

  z-index:
    10;

  background:
    rgba(
      248,
      243,
      233,
      .96
    );

  border-bottom:
    1px solid
    var(--line);
}

.header-inner {
  min-height:
    84px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    30px;
}

.brand {
  display:
    flex;

  align-items:
    center;

  gap:
    12px;

  color:
    var(--wine);
}

.brand-symbol {
  width:
    45px;

  height:
    45px;

  display:
    grid;

  place-items:
    center;

  border:
    1px solid
    var(--gold);

  border-radius:
    50%;

  font:
    italic
    32px/1
    var(--serif);
}

.brand-copy {
  font:
    700
    27px/1
    var(--serif);

  letter-spacing:
    .08em;
}

.brand-copy small {
  display:
    block;

  margin-top:
    7px;

  font:
    700
    8px
    var(--sans);

  letter-spacing:
    .34em;
}

.nav {
  display:
    flex;

  align-items:
    center;

  gap:
    27px;
}

.nav a {
  font-size:
    12px;

  font-weight:
    650;
}

.nav a:hover {
  color:
    var(--wine);
}

.nav-rsvp {
  color:
    var(--wine);

  border:
    1px solid
    var(--wine);

  padding:
    11px 16px;
}

.menu-button {
  display:
    none;

  background:
    transparent;

  color:
    var(--wine);

  border:
    1px solid
    var(--line);

  border-radius:
    4px;

  font-size:
    23px;

  padding:
    5px 11px;
}


/* ==========================================
   HERO
   ========================================== */

.hero {
  overflow:
    hidden;

  background:

    radial-gradient(
      circle at 5% 8%,
      #FFFFFF,
      transparent 40%
    ),

    linear-gradient(
      115deg,
      #FFFCF6,
      var(--ivory)
    );
}

.hero-grid {
  min-height:
    690px;

  display:
    grid;

  grid-template-columns:
    .95fr 1.1fr;

  gap:
    75px;

  align-items:
    center;

  padding:
    82px 0;
}

.eyebrow {
  margin:
    0 0 17px;

  color:
    #A67B39;

  font-size:
    10px;

  font-weight:
    750;

  letter-spacing:
    .28em;

  text-transform:
    uppercase;
}

.eyebrow.light {
  color:
    var(--beige);
}

.hero-kicker {
  max-width:
    430px;

  margin:
    0;

  font:
    25px/1.35
    var(--serif);

  color:
    #6B5B51;
}

.age-lockup {
  display:
    flex;

  align-items:
    baseline;

  gap:
    15px;

  color:
    var(--wine);
}

.age {
  font:
    150px/.95
    var(--serif);

  letter-spacing:
    -.09em;
}

.years {
  font:
    italic
    72px/1
    var(--serif);
}

.ornament {
  margin:
    5px 0 16px;

  color:
    #AE8137;

  letter-spacing:
    .13em;
}

.hero h1,
.section h2,
.memories h2 {
  margin:
    0 0 18px;

  font:
    normal
    42px/1.18
    var(--serif);

  letter-spacing:
    -.025em;
}

.hero h1 em,
.section h2 em,
.memories h2 em {
  color:
    var(--wine);

  font-style:
    italic;

  font-weight:
    normal;
}

.hero-description {
  max-width:
    500px;

  color:
    var(--muted);
}

.hero-meta {
  display:
    flex;

  gap:
    25px;

  flex-wrap:
    wrap;

  margin:
    25px 0 31px;

  font-size:
    12px;
}

.hero-buttons {
  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    10px;
}

.button {
  display:
    inline-block;

  min-height:
    47px;

  padding:
    13px 22px;

  border:
    1px solid
    transparent;

  font-size:
    12px;

  font-weight:
    700;

  text-align:
    center;

  transition:
    transform .15s ease;
}

.button:hover:not(:disabled) {
  transform:
    translateY(-2px);
}

.primary {
  background:
    var(--wine);

  color:
    white;
}

.secondary {
  border-color:
    #A98A7B;

  color:
    var(--wine);
}

.muted {
  margin-top:
    20px;

  background:
    #E8E1D8;

  color:
    #81766C;
}

.hero-visual {
  position:
    relative;
}

.image-frame {
  padding:
    10px;

  background:
    white;

  border:
    1px solid
    var(--gold);

  box-shadow:
    var(--shadow);
}

.image-frame img {
  width:
    100%;

  aspect-ratio:
    3 / 2;

  object-fit:
    cover;

  object-position:
    center;

  background:
    var(--beige);
}

.seal {
  position:
    absolute;

  right:
    -24px;

  top:
    -28px;

  width:
    116px;

  height:
    116px;

  display:
    flex;

  flex-direction:
    column;

  justify-content:
    center;

  align-items:
    center;

  border:
    1px solid
    var(--gold);

  border-radius:
    50%;

  background:
    var(--paper);

  color:
    var(--wine);

  box-shadow:
    var(--shadow);
}

.seal strong {
  font:
    47px/.9
    var(--serif);
}

.seal small {
  font-size:
    7px;

  letter-spacing:
    .14em;
}

.image-note {
  margin:
    10px 0 0;

  color:
    var(--muted);

  text-align:
    right;

  font-size:
    10px;
}


/* ==========================================
   COUNTDOWN
   ========================================== */

.countdown {
  padding:
    50px 0;

  background:
    var(--wine);

  color:
    white;
}

.countdown-grid {
  display:
    grid;

  grid-template-columns:
    1fr 1.25fr;

  gap:
    35px;

  align-items:
    center;
}

.countdown h2 {
  margin:
    0;

  font:
    37px
    var(--serif);
}

.countdown p:not(.eyebrow) {
  margin:
    5px 0 0;

  color:
    #EEDDE1;
}

.counter {
  display:
    grid;

  grid-template-columns:
    repeat(4, 1fr);

  text-align:
    center;
}

.counter div {
  border-left:
    1px solid
    rgba(255,255,255,.2);
}

.counter strong {
  display:
    block;

  font:
    43px/1.1
    var(--serif);
}

.counter span {
  font-size:
    8px;

  letter-spacing:
    .2em;
}


/* ==========================================
   GENERALES
   ========================================== */

.section {
  padding:
    100px 0;

  background:
    var(--paper);
}

.section.soft {
  background:
    var(--ivory);
}

.section-heading {
  max-width:
    690px;

  margin:
    0 auto 48px;

  text-align:
    center;
}

.section-heading p:last-child {
  color:
    var(--muted);
}

.story-grid,
.location-grid,
.rsvp-grid,
.concierge-grid {
  display:
    grid;

  grid-template-columns:
    1fr 1fr;

  gap:
    80px;

  align-items:
    center;
}

.story-grid p,
.location-grid p,
.concierge-grid p {
  color:
    var(--muted);
}

.story-card {
  min-height:
    355px;

  display:
    flex;

  flex-direction:
    column;

  justify-content:
    center;

  align-items:
    center;

  position:
    relative;

  background:

    radial-gradient(
      circle,
      #FFFDF7,
      #DEC8AD 65%,
      #B79674
    );

  border:
    1px solid
    var(--gold);

  box-shadow:
    var(--shadow);

  color:
    var(--wine);
}

.story-card::after {
  content: "";

  position:
    absolute;

  inset:
    13px;

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

.story-flower {
  color:
    var(--forest);

  font:
    63px
    var(--serif);
}

.story-card strong {
  font:
    normal
    105px/.9
    var(--serif);
}

.story-card > span:last-child {
  font:
    italic
    25px
    var(--serif);
}

blockquote {
  margin:
    25px 0 0;

  padding:
    4px 0 4px 20px;

  border-left:
    2px solid
    var(--gold);

  color:
    var(--wine);

  font:
    italic
    21px/1.5
    var(--serif);
}


/* ==========================================
   TIMELINE
   ========================================== */

.timeline {
  display:
    grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap:
    17px;
}

.timeline-card {
  min-height:
    185px;

  padding:
    26px 23px;

  background:
    #FFFDF8;

  border:
    1px solid
    #E4D5C2;

  box-shadow:
    0 4px 20px
    rgba(80,45,25,.05);
}

.timeline-symbol {
  display:
    block;

  margin-bottom:
    8px;

  color:
    var(--wine);

  font-size:
    30px;
}

.timeline-card small {
  color:
    #956D41;

  font-size:
    9px;

  letter-spacing:
    .13em;
}

.timeline-card h3 {
  margin:
    4px 0 5px;

  font:
    23px
    var(--serif);
}

.timeline-card p {
  margin:
    0;

  color:
    var(--muted);

  font-size:
    13px;
}

.section-note {
  margin:
    27px auto 0;

  max-width:
    760px;

  color:
    var(--muted);

  text-align:
    center;

  font-size:
    12px;
}

.section-note.left {
  margin-left:
    0;

  text-align:
    left;
}


/* ==========================================
   UBICACION
   ========================================== */

.location-art {
  min-height:
    350px;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  gap:
    18px;

  background:

    linear-gradient(
      135deg,
      #AE8E72,
      #E4D0B6 45%,
      #C6A269
    );

  border:
    1px solid
    var(--gold);

  color:
    var(--wine);

  box-shadow:
    var(--shadow);

  text-align:
    center;
}

.location-art span {
  font:
    45px
    var(--serif);
}

.location-art strong {
  font:
    20px/1.6
    var(--serif);

  letter-spacing:
    .2em;
}

.fact {
  display:
    flex;

  flex-direction:
    column;

  padding:
    13px 0;

  border-bottom:
    1px solid
    var(--line);
}

.fact small {
  color:
    #A47B3C;

  font-size:
    10px;

  letter-spacing:
    .16em;
}

.fact strong {
  font:
    normal
    19px
    var(--serif);
}


/* ==========================================
   PALETA
   ========================================== */

.palette {
  display:
    grid;

  grid-template-columns:
    repeat(5, 1fr);

  gap:
    16px;
}

.palette article {
  text-align:
    center;
}

.swatch {
  display:
    block;

  width:
    96px;

  height:
    96px;

  margin:
    0 auto 14px;

  border-radius:
    50%;

  border:
    1px solid
    rgba(80,60,40,.15);

  box-shadow:
    0 8px 20px
    rgba(70,40,20,.08);
}

.swatch.ivory {
  background:
    #F8F3E9;
}

.swatch.beige {
  background:
    #DCC6A8;
}

.swatch.gold {
  background:
    #D4AF37;
}

.swatch.wine {
  background:
    #721329;
}

.swatch.forest {
  background:
    #1F3D2E;
}

.palette strong {
  display:
    block;

  font:
    18px
    var(--serif);
}

.palette small {
  color:
    var(--muted);
}


/* ==========================================
   RSVP
   ========================================== */

.rsvp {
  background:

    linear-gradient(
      120deg,
      #5D0C20,
      var(--wine) 60%,
      #8B2F43
    );

  color:
    white;
}

.rsvp h2 em {
  color:
    var(--beige);
}

.rsvp-grid > div:first-child > p:not(.eyebrow) {
  color:
    #F1DDE1;
}

.rsvp-card {
  padding:
    31px;

  background:
    var(--paper);

  border-top:
    4px solid
    var(--gold);

  color:
    var(--ink);

  box-shadow:
    var(--shadow);
}

.rsvp-card h3 {
  margin:
    0 0 20px;

  color:
    var(--wine);

  font:
    28px
    var(--serif);
}

.rsvp-card label {
  display:
    block;

  margin-bottom:
    7px;

  font-size:
    12px;

  font-weight:
    700;
}

.rsvp-card input {
  width:
    100%;

  padding:
    13px;

  border:
    1px solid
    var(--line);

  background:
    #F4EFE8;
}

.rsvp-options {
  display:
    flex;

  gap:
    9px;

  margin:
    17px 0;
}

.rsvp-options span {
  flex:
    1;

  padding:
    10px;

  border:
    1px solid
    var(--line);

  color:
    var(--muted);

  text-align:
    center;

  font-size:
    11px;
}

.rsvp-card .button {
  width:
    100%;
}

.rsvp-card > small {
  display:
    block;

  margin-top:
    12px;

  color:
    var(--muted);
}


/* ==========================================
   CHAT
   ========================================== */

.concierge-grid {
  align-items:
    start;
}

.chat {
  overflow:
    hidden;

  background:
    white;

  border:
    1px solid
    var(--line);

  box-shadow:
    var(--shadow);
}

.chat-header {
  display:
    flex;

  align-items:
    center;

  gap:
    11px;

  padding:
    16px 19px;

  background:
    var(--wine);

  color:
    white;
}

.chat-header small {
  display:
    block;

  color:
    #EBD3D8;
}

.chat-logo {
  width:
    39px;

  height:
    39px;

  display:
    grid;

  place-items:
    center;

  border:
    1px solid
    var(--gold);

  border-radius:
    50%;

  font:
    italic
    25px
    var(--serif);
}

.chat-log {
  min-height:
    215px;

  max-height:
    280px;

  overflow-y:
    auto;

  display:
    flex;

  flex-direction:
    column;

  gap:
    11px;

  padding:
    20px;

  background:
    #FDF9F3;
}

.message {
  max-width:
    88%;

  margin:
    0;

  padding:
    10px 13px;

  border-radius:
    12px;

  font-size:
    13px;
}

.message.bot {
  align-self:
    flex-start;

  background:
    #EEE5DA;
}

.message.user {
  align-self:
    flex-end;

  background:
    #F2DEE3;

  color:
    var(--wine);
}

.quick-questions {
  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    7px;

  padding:
    0 18px 15px;
}

.quick-questions button {
  padding:
    6px 10px;

  background:
    white;

  color:
    var(--wine);

  border:
    1px solid
    #D9BAC1;

  border-radius:
    20px;

  font-size:
    11px;
}

.chat-form {
  display:
    flex;

  border-top:
    1px solid
    var(--line);
}

.chat-form input {
  flex:
    1;

  min-width:
    0;

  padding:
    15px;

  border:
    0;
}

.chat-form button {
  width:
    54px;

  border:
    0;

  background:
    var(--wine);

  color:
    white;

  font-size:
    19px;
}


/* ==========================================
   RECUERDOS
   ========================================== */

.memories {
  padding:
    95px 0;

  background:
    var(--forest);

  color:
    white;

  text-align:
    center;
}

.memories .shell {
  max-width:
    730px;
}

.memories h2 em {
  color:
    var(--beige);
}

.memories p:not(.eyebrow) {
  color:
    #E0E8E0;
}

.memories span {
  display:
    inline-block;

  margin-top:
    15px;

  padding:
    10px 22px;

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

  font-size:
    12px;
}


/* ==========================================
   FOOTER
   ========================================== */

.footer {
  padding:
    38px 0;

  background:
    #F0E5D7;

  border-top:
    1px solid
    #D3BFA8;
}

.footer-inner {
  text-align:
    center;
}

.footer strong {
  color:
    var(--wine);

  font:
    27px
    var(--serif);
}

.footer p {
  margin:
    5px 0;

  font:
    17px
    var(--serif);
}

.footer small {
  color:
    var(--muted);
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1000px) {

  .hero-grid {
    gap:
      35px;
  }

  .nav {
    gap:
      14px;
  }

  .story-grid,
  .location-grid,
  .rsvp-grid,
  .concierge-grid {
    gap:
      35px;
  }

}


/* ==========================================
   MOVIL
   ========================================== */

@media (max-width: 760px) {

  .shell {
    width:
      min(
        calc(100% - 34px),
        520px
      );
  }

  .topline {
    font-size:
      8px;

    letter-spacing:
      .1em;
  }

  .header-inner {
    min-height:
      72px;
  }

  .menu-button {
    display:
      block;
  }

  .nav {
    display:
      none;

    position:
      absolute;

    top:
      100%;

    left:
      0;

    right:
      0;

    flex-direction:
      column;

    align-items:
      stretch;

    gap:
      0;

    padding:
      12px 20px 20px;

    background:
      var(--paper);

    box-shadow:
      var(--shadow);
  }

  .nav.open {
    display:
      flex;
  }

  .nav a {
    padding:
      10px;
  }

  .nav-rsvp {
    margin-top:
      8px;

    text-align:
      center;
  }

  .hero-grid,
  .countdown-grid,
  .story-grid,
  .location-grid,
  .rsvp-grid,
  .concierge-grid {
    grid-template-columns:
      1fr;
  }

  .hero-grid {
    min-height:
      auto;

    padding:
      54px 0;

    gap:
      38px;
  }

  .hero-kicker {
    font-size:
      21px;
  }

  .age {
    font-size:
      108px;
  }

  .years {
    font-size:
      54px;
  }

  .hero h1,
  .section h2,
  .memories h2 {
    font-size:
      33px;
  }

  .seal {
    width:
      88px;

    height:
      88px;

    right:
      -7px;

    top:
      -23px;
  }

  .seal strong {
    font-size:
      34px;
  }

  .image-frame img {
    aspect-ratio:
      auto;

    object-fit:
      contain;
  }

  .counter strong {
    font-size:
      29px;
  }

  .counter span {
    font-size:
      7px;
  }

  .section,
  .memories {
    padding:
      70px 0;
  }

  .story-card {
    min-height:
      280px;
  }

  .story-card strong {
    font-size:
      82px;
  }

  .timeline {
    grid-template-columns:
      1fr;
  }

  .timeline-card {
    min-height:
      auto;
  }

  .palette {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .palette article:last-child {
    grid-column:
      1 / -1;
  }

  .location-art {
    min-height:
      260px;
  }

  .rsvp-card {
    padding:
      23px;
  }

}


/* ==========================================
   ACCESIBILIDAD
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior:
      auto;
  }

  .button {
    transition:
      none;
  }

}


/* ==========================================
   ECIE EXPERIENCE · ADMIN V1
   ========================================== */

.admin-body {
  background:
    #F4EFE8;
}

.admin-header {
  background:
    #FFFDF8;

  border-bottom:
    1px solid
    var(--line);
}

.admin-header-inner {
  min-height:
    105px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    30px;
}

.admin-kicker {
  margin:
    0 0 3px;

  color:
    var(--wine);

  font-size:
    9px;

  font-weight:
    800;

  letter-spacing:
    .28em;
}

.admin-header h1 {
  margin:
    0;

  font:
    35px
    var(--serif);

  color:
    var(--wine);
}

.admin-header-actions {
  display:
    flex;

  align-items:
    center;

  gap:
    12px;
}

.admin-local-badge {
  padding:
    8px 12px;

  background:
    var(--forest);

  color:
    white;

  font-size:
    9px;

  font-weight:
    800;

  letter-spacing:
    .16em;
}

.admin-main {
  padding:
    48px 0 90px;
}

.admin-hero {
  display:
    flex;

  justify-content:
    space-between;

  gap:
    30px;

  align-items:
    center;

  padding:
    32px;

  background:
    var(--wine);

  color:
    white;

  box-shadow:
    var(--shadow);
}

.admin-hero h2 {
  margin:
    0;

  font:
    38px
    var(--serif);
}

.admin-hero p:not(.eyebrow) {
  margin:
    4px 0 0;

  color:
    #ECD8DC;
}

.admin-status {
  min-width:
    145px;

  text-align:
    right;
}

.admin-status small {
  display:
    block;

  color:
    var(--beige);

  font-size:
    9px;

  letter-spacing:
    .16em;
}

.admin-status strong {
  font:
    26px
    var(--serif);
}

.admin-tabs {
  display:
    flex;

  gap:
    4px;

  overflow-x:
    auto;

  margin:
    18px 0 35px;

  padding:
    8px;

  background:
    #E7DBCD;

  border:
    1px solid
    var(--line);
}

.admin-tabs a,
.admin-tabs span {
  white-space:
    nowrap;

  padding:
    10px 14px;

  color:
    #786A60;

  font-size:
    11px;

  font-weight:
    700;
}

.admin-tabs .active {
  background:
    white;

  color:
    var(--wine);

  box-shadow:
    0 2px 8px
    rgba(60,30,15,.08);
}

.admin-section {
  margin-bottom:
    42px;

  padding:
    34px;

  background:
    #FFFDF8;

  border:
    1px solid
    var(--line);

  box-shadow:
    0 10px 30px
    rgba(70,40,20,.06);
}

.admin-section-title {
  display:
    flex;

  justify-content:
    space-between;

  align-items:
    start;

  gap:
    20px;

  margin-bottom:
    28px;

  padding-bottom:
    20px;

  border-bottom:
    1px solid
    var(--line);
}

.admin-section-title h2 {
  margin:
    0;

  font:
    31px
    var(--serif);
}

.admin-section-title p:not(.eyebrow) {
  margin:
    5px 0 0;

  color:
    var(--muted);
}

.admin-readonly {
  padding:
    7px 10px;

  border:
    1px solid
    var(--gold);

  color:
    #8A652D;

  font-size:
    9px;

  font-weight:
    800;

  letter-spacing:
    .09em;
}

.admin-grid {
  display:
    grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap:
    14px;
}

.admin-card {
  min-height:
    135px;

  padding:
    20px;

  background:
    #F8F3E9;

  border:
    1px solid
    #E2D3C0;
}

.admin-card small {
  display:
    block;

  margin-bottom:
    7px;

  color:
    #976F35;

  font-size:
    9px;

  font-weight:
    800;

  letter-spacing:
    .14em;
}

.admin-card strong {
  display:
    block;

  color:
    var(--wine);

  font:
    20px
    var(--serif);
}

.admin-card p {
  margin:
    8px 0 0;

  color:
    var(--muted);

  font-size:
    12px;
}

.admin-private {
  border-left:
    4px solid
    var(--wine);
}

.admin-activity-list {
  display:
    flex;

  flex-direction:
    column;

  gap:
    10px;
}

.admin-activity {
  display:
    grid;

  grid-template-columns:
    52px
    minmax(250px, 1.8fr)
    minmax(190px, 1fr)
    minmax(170px, .8fr);

  gap:
    18px;

  align-items:
    center;

  padding:
    18px;

  background:
    #FAF6EF;

  border:
    1px solid
    #E0D1BD;
}

.admin-sequence {
  width:
    43px;

  height:
    43px;

  display:
    grid;

  place-items:
    center;

  background:
    var(--wine);

  color:
    white;

  font:
    19px
    var(--serif);
}

.admin-activity-main small {
  color:
    #9B7957;

  font-size:
    9px;
}

.admin-activity-main h3 {
  margin:
    2px 0;

  font:
    21px
    var(--serif);
}

.admin-activity-main p {
  margin:
    0;

  color:
    var(--muted);

  font-size:
    12px;
}

.admin-activity-state {
  display:
    flex;

  flex-direction:
    column;

  gap:
    5px;
}

.admin-activity-state span {
  padding:
    5px 7px;

  background:
    #EEE4D7;

  color:
    #65564B;

  font-size:
    9px;

  font-weight:
    800;
}

.admin-activity-data {
  display:
    grid;

  grid-template-columns:
    auto 1fr;

  gap:
    4px 10px;

  font-size:
    11px;
}

.admin-activity-data small {
  color:
    #99723E;

  font-size:
    8px;

  letter-spacing:
    .1em;
}

.admin-next {
  padding:
    25px;

  background:
    var(--forest);

  color:
    white;
}

.admin-next strong {
  font:
    24px
    var(--serif);
}

.admin-next p {
  margin:
    4px 0 0;

  color:
    #DDE8DE;
}


@media (max-width: 900px) {

  .admin-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .admin-activity {
    grid-template-columns:
      45px 1fr;
  }

  .admin-activity-state,
  .admin-activity-data {
    grid-column:
      2;
  }

}


@media (max-width: 600px) {

  .admin-header-inner,
  .admin-hero,
  .admin-section-title {
    align-items:
      flex-start;

    flex-direction:
      column;
  }

  .admin-header-actions {
    width:
      100%;
  }

  .admin-status {
    text-align:
      left;
  }

  .admin-section {
    padding:
      22px 17px;
  }

  .admin-grid {
    grid-template-columns:
      1fr;
  }

  .admin-activity {
    grid-template-columns:
      1fr;
  }

  .admin-sequence {
    grid-column:
      1;
  }

  .admin-activity-state,
  .admin-activity-data {
    grid-column:
      1;
  }

}


/* ==========================================
   ECIE EXPERIENCE · CRUD EXPERIENCE
   ========================================== */

.admin-alert {
  margin-bottom:
    18px;

  padding:
    13px 16px;

  border:
    1px solid transparent;

  font-size:
    13px;

  font-weight:
    650;
}

.admin-alert.draft {
  background:
    #FFF3D7;

  border-color:
    #D9B967;

  color:
    #715318;
}

.admin-alert.published {
  background:
    #E4F0E5;

  border-color:
    #8CAD8E;

  color:
    #21442E;
}

.admin-alert.error {
  background:
    #F7DFE3;

  border-color:
    #B96E7D;

  color:
    var(--wine);
}

.admin-editable {
  padding:
    7px 10px;

  background:
    var(--forest);

  color:
    white;

  font-size:
    9px;

  font-weight:
    800;

  letter-spacing:
    .11em;
}

.admin-form-grid {
  display:
    grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap:
    18px;
}

.admin-field {
  display:
    flex;

  flex-direction:
    column;

  gap:
    7px;
}

.admin-field.wide {
  grid-column:
    1 / -1;
}

.admin-field > span {
  color:
    #806647;

  font-size:
    10px;

  font-weight:
    800;

  letter-spacing:
    .12em;

  text-transform:
    uppercase;
}

.admin-field input,
.admin-field select {
  width:
    100%;

  min-height:
    44px;

  padding:
    10px 12px;

  background:
    white;

  color:
    var(--ink);

  border:
    1px solid
    var(--line);

  border-radius:
    0;
}

.admin-field input:focus,
.admin-field select:focus {
  border-color:
    var(--gold);

  outline:
    2px solid
    rgba(212,175,55,.18);
}

.admin-publication {
  margin-top:
    30px;

  padding-top:
    24px;

  border-top:
    1px solid
    var(--line);

  display:
    flex;

  justify-content:
    space-between;

  align-items:
    center;

  gap:
    25px;
}

.admin-publication small {
  display:
    block;

  color:
    #98713D;

  font-size:
    9px;

  font-weight:
    800;

  letter-spacing:
    .13em;
}

.admin-publication strong {
  color:
    var(--wine);

  font:
    22px
    var(--serif);
}

.admin-publication p {
  margin:
    3px 0 0;

  color:
    var(--muted);

  font-size:
    11px;
}

.admin-form-actions {
  display:
    flex;

  gap:
    9px;

  flex-wrap:
    wrap;

  justify-content:
    flex-end;
}


@media (max-width: 700px) {

  .admin-form-grid {
    grid-template-columns:
      1fr;
  }

  .admin-field.wide {
    grid-column:
      auto;
  }

  .admin-publication {
    align-items:
      flex-start;

    flex-direction:
      column;
  }

  .admin-form-actions {
    width:
      100%;

    justify-content:
      stretch;
  }

  .admin-form-actions .button {
    flex:
      1;
  }

}


/* ==========================================
   ECIE EXPERIENCE · CRUD PREAGENDA
   ========================================== */

.activity-create {
  margin-bottom: 25px;
  border: 1px solid var(--gold);
  background: #FFFAEF;
}

.activity-create summary {
  cursor: pointer;
  padding: 15px 18px;
  color: var(--wine);
  font-weight: 800;
}

.activity-create[open] summary {
  border-bottom: 1px solid var(--line);
}

.activity-form {
  padding: 20px;
}

.activity-form-grid {
  display: grid;
  grid-template-columns: 130px 1fr 1fr;
  gap: 15px;
}

.activity-title-field {
  grid-column: span 2;
}

.activity-wide {
  grid-column: 1 / -1;
}

.admin-field textarea {
  width: 100%;
  resize: vertical;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font: inherit;
}

.admin-activity-edit-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.activity-editor {
  border: 1px solid #DDCEBA;
  background: #FAF6EF;
}

.activity-editor-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: #F0E6D9;
  border-bottom: 1px solid #DDCEBA;
}

.activity-editor-head small {
  color: #9A7651;
  font-size: 9px;
}

.activity-editor-head h3 {
  margin: 2px 0 0;
  color: var(--wine);
  font: 23px var(--serif);
}

.activity-editor-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.activity-editor-badges span {
  padding: 5px 7px;
  background: white;
  color: #66564A;
  border: 1px solid #DDD0BF;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.activity-editor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.activity-editor-footer small {
  display: block;
  color: #976F3A;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.activity-editor-footer strong {
  display: block;
  color: var(--wine);
  font: 18px var(--serif);
}

.activity-editor-footer span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.activity-delete-form {
  padding: 0 20px 18px;
  text-align: right;
}

.activity-delete-form button {
  border: 0;
  background: transparent;
  color: #9E3047;
  font-size: 11px;
  text-decoration: underline;
}


@media (max-width: 850px) {

  .activity-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .activity-title-field {
    grid-column: auto;
  }

  .activity-wide {
    grid-column: 1 / -1;
  }
}


@media (max-width: 600px) {

  .activity-form-grid {
    grid-template-columns: 1fr;
  }

  .activity-wide {
    grid-column: auto;
  }

  .activity-editor-head,
  .activity-editor-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .activity-editor-badges {
    justify-content: flex-start;
  }
}


/* ==========================================
   ECIE EXPERIENCE · TIMELINE PUBLICO DINAMICO
   ========================================== */

.timeline-status {
  display:
    inline-block;

  margin-top:
    13px;

  padding:
    5px 8px;

  font-size:
    8px;

  font-weight:
    800;

  letter-spacing:
    .12em;
}

.timeline-status.cancelled {
  background:
    #F0D9DE;

  color:
    #8D263E;
}

.timeline-status.reprogrammed {
  background:
    #F6EBCF;

  color:
    #785A1D;
}

.timeline-cancelled {
  opacity:
    .72;
}

.timeline-empty {
  max-width:
    620px;

  margin:
    0 auto;

  padding:
    35px;

  border:
    1px solid
    var(--line);

  background:
    #FFFDF8;

  text-align:
    center;
}

.timeline-empty strong {
  display:
    block;

  color:
    var(--wine);

  font:
    25px
    var(--serif);
}

.timeline-empty p {
  margin:
    8px 0 0;

  color:
    var(--muted);
}


/* ECIE EXPERIENCE · LIVE UPDATE */

.live-update {
  position: fixed;
  z-index: 1000;

  right: 22px;
  bottom: 22px;

  max-width: 360px;

  padding: 13px 17px;

  background: var(--forest);
  color: white;

  border-left:
    4px solid
    var(--gold);

  box-shadow:
    var(--shadow);

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

  opacity: 0;

  transform:
    translateY(18px);

  pointer-events: none;

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


.live-update.show {
  opacity: 1;

  transform:
    translateY(0);
}


@media (max-width: 600px) {

  .live-update {
    left: 17px;
    right: 17px;
    bottom: 17px;

    max-width: none;
  }

}


@media (prefers-reduced-motion: reduce) {

  .live-update {
    transition: none;
  }

}


/* ==========================================
   ECIE EXPERIENCE · CHECKLIST
   ========================================== */

.checklist-score {
  display:
    grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap:
    10px;

  margin-bottom:
    30px;
}


.checklist-score article {
  padding:
    18px;

  background:
    #FFFDF8;

  border:
    1px solid
    var(--line);

  text-align:
    center;
}


.checklist-score small {
  display:
    block;

  min-height:
    26px;

  color:
    #927144;

  font-size:
    8px;

  font-weight:
    800;

  letter-spacing:
    .1em;
}


.checklist-score strong {
  color:
    var(--wine);

  font:
    34px
    var(--serif);
}


.check-readiness {
  display:
    flex;

  align-items:
    center;

  gap:
    9px;

  padding:
    11px;

  border:
    1px solid
    var(--line);

  background:
    #F7F1E7;

  font-size:
    11px;
}


.check-readiness input {
  width:
    auto;

  min-height:
    auto;
}


.checklist-list {
  display:
    flex;

  flex-direction:
    column;

  gap:
    16px;
}


.checklist-item {
  border:
    1px solid
    #DDCEBA;

  background:
    #FAF6EF;
}


.checklist-item-head {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    18px;

  padding:
    16px 20px;

  background:
    #F0E6D9;

  border-bottom:
    1px solid
    #DDCEBA;
}


.checklist-item-head small {
  color:
    #987350;

  font-size:
    8px;
}


.checklist-item-head h3 {
  margin:
    2px 0;

  color:
    var(--wine);

  font:
    22px
    var(--serif);
}


.checklist-item-head p {
  margin:
    0;

  color:
    var(--muted);

  font-size:
    11px;
}


.checklist-status {
  padding:
    6px 9px;

  font-size:
    9px;

  font-weight:
    800;

  text-transform:
    uppercase;
}


.checklist-status.pending {
  background:
    #EEE4D7;

  color:
    #695B4F;
}


.checklist-status.in-progress {
  background:
    #F4E9BF;

  color:
    #70571A;
}


.checklist-status.blocked {
  background:
    #F2DDE1;

  color:
    #8E2B41;
}


.checklist-status.cancelled {
  background:
    #E6E1DC;

  color:
    #756D66;
}


.checklist-status.done {
  background:
    #DCEBDD;

  color:
    #244C31;
}


.checklist-done {
  margin:
    20px;

  padding:
    18px;

  border-left:
    4px solid
    var(--forest);

  background:
    #E7F0E7;
}


.checklist-done strong {
  color:
    var(--forest);

  font:
    20px
    var(--serif);
}


.checklist-done p {
  margin:
    4px 0 0;

  color:
    #506753;

  font-size:
    12px;
}


.checklist-empty {
  padding:
    38px;

  border:
    1px solid
    var(--line);

  background:
    #FAF6EF;

  text-align:
    center;
}


.checklist-empty strong {
  display:
    block;

  color:
    var(--wine);

  font:
    24px
    var(--serif);
}


.checklist-empty p {
  margin:
    7px auto 0;

  max-width:
    480px;

  color:
    var(--muted);
}


@media (max-width: 760px) {

  .checklist-score {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .checklist-item-head {
    align-items:
      flex-start;

    flex-direction:
      column;
  }

}


/* ==========================================
   ECIE EXPERIENCE · READINESS ENGINE
   ========================================== */

.readiness-score {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

.readiness-score article {
  padding: 18px;
  background: #FFFDF8;
  border: 1px solid var(--line);
  text-align: center;
}

.readiness-score small {
  display: block;
  min-height: 26px;
  color: #927144;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
}

.readiness-score strong {
  color: var(--wine);
  font: 34px var(--serif);
}

.readiness-general {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F8F3E9;
  border: 1px solid var(--line);
}

.readiness-general > strong {
  color: var(--wine);
  font: 23px var(--serif);
}

.readiness-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.readiness-card {
  padding: 21px;
  background: #FAF6EF;
  border: 1px solid #DDCEBA;
}

.readiness-card.verified {
  border-left: 5px solid var(--forest);
}

.readiness-card.blocked {
  border-left: 5px solid var(--wine);
}

.readiness-card.eligible {
  border-left: 5px solid var(--gold);
}

.readiness-card > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
}

.readiness-card header small {
  color: #96714B;
  font-size: 8px;
}

.readiness-card h3 {
  margin: 3px 0 0;
  color: var(--wine);
  font: 24px var(--serif);
}

.ready-badge {
  display: inline-block;
  padding: 6px 9px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.ready-badge.pending,
.ready-badge.in-progress {
  background: #EEE4D7;
  color: #65584D;
}

.ready-badge.eligible {
  background: #F5E9BB;
  color: #6C5319;
}

.ready-badge.verified {
  background: #DCEBDD;
  color: #234C30;
}

.ready-badge.blocked {
  background: #F2DDE1;
  color: #8B2B41;
}

.readiness-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.readiness-counts span {
  padding: 7px 9px;
  background: white;
  border: 1px solid var(--line);
  font-size: 10px;
}

.readiness-warning,
.readiness-missing,
.readiness-confirmed {
  margin-top: 14px;
  padding: 15px;
}

.readiness-warning {
  background: #FFF0D4;
  border-left: 4px solid var(--gold);
}

.readiness-missing {
  background: #F6E8E8;
  border-left: 4px solid var(--wine);
}

.readiness-confirmed {
  background: #E4EFE4;
  border-left: 4px solid var(--forest);
}

.readiness-warning strong,
.readiness-missing strong,
.readiness-confirmed strong {
  font: 18px var(--serif);
}

.readiness-warning p,
.readiness-confirmed p {
  margin: 4px 0 0;
  font-size: 11px;
}

.readiness-missing ul {
  margin: 7px 0 0;
  padding-left: 20px;
  font-size: 11px;
}

.readiness-confirm-form,
.task-complete-form {
  margin-top: 16px;
  padding: 16px;
  background: #F3EEE5;
  border: 1px solid var(--line);
}

.task-complete-form {
  margin: 0 20px 18px;
}

.readiness-button {
  margin-top: 10px;
  background: var(--forest);
  color: white;
}

@media (max-width: 760px) {

  .readiness-score {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .readiness-general,
  .readiness-card > header {
    align-items:
      flex-start;

    flex-direction:
      column;
  }

}


/* ==========================================
   ECIE EXPERIENCE · OPERATIONAL TIMELINE
   ========================================== */

.timeline-score {
  display:
    grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap:
    10px;

  margin-bottom:
    30px;
}


.timeline-score article {
  padding:
    18px;

  background:
    #FFFDF8;

  border:
    1px solid
    var(--line);

  text-align:
    center;
}


.timeline-score small {
  display:
    block;

  min-height:
    26px;

  color:
    #927144;

  font-size:
    8px;

  font-weight:
    800;

  letter-spacing:
    .1em;
}


.timeline-score strong {
  color:
    var(--wine);

  font:
    34px
    var(--serif);
}


.ops-timeline {
  display:
    flex;

  flex-direction:
    column;

  gap:
    18px;
}


.ops-card {
  padding:
    21px;

  background:
    #FAF6EF;

  border:
    1px solid
    #DDCEBA;
}


.ops-card.live {
  border-left:
    5px solid
    var(--gold);
}


.ops-card.green {
  border-left:
    5px solid
    var(--forest);
}


.ops-card-head {
  display:
    flex;

  justify-content:
    space-between;

  align-items:
    flex-start;

  gap:
    20px;

  margin-bottom:
    18px;
}


.ops-card-head small {
  color:
    #96714B;

  font-size:
    8px;
}


.ops-card-head h3 {
  margin:
    3px 0;

  color:
    var(--wine);

  font:
    25px
    var(--serif);
}


.ops-card-head p {
  margin:
    0;

  color:
    var(--muted);

  font-size:
    11px;
}


.execution-badge {
  display:
    inline-block;

  padding:
    7px 10px;

  font-size:
    9px;

  font-weight:
    800;

  text-transform:
    uppercase;
}


.execution-badge.pending {
  background:
    #EEE4D7;

  color:
    #65584D;
}


.execution-badge.live {
  background:
    #F5E9BB;

  color:
    #6C5319;
}


.execution-badge.green {
  background:
    #DCEBDD;

  color:
    #234C30;
}


.execution-badge.reprogrammed,
.execution-badge.cancelled {
  background:
    #E8E1DC;

  color:
    #6D635C;
}


.ops-grid {
  display:
    grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap:
    9px;
}


.ops-grid > div {
  padding:
    11px;

  background:
    white;

  border:
    1px solid
    var(--line);
}


.ops-grid small {
  display:
    block;

  margin-bottom:
    4px;

  color:
    #96714B;

  font-size:
    8px;

  font-weight:
    800;

  letter-spacing:
    .08em;
}


.ops-grid strong {
  color:
    #46392F;

  font-size:
    11px;
}


.ops-variance {
  margin-top:
    14px;

  padding:
    10px 12px;

  background:
    #F2ECE2;

  border-left:
    4px solid
    #B5A286;

  font-size:
    11px;
}


.ops-variance.late {
  background:
    #F6E8E8;

  border-left-color:
    var(--wine);

  color:
    #7F2940;
}


.ops-variance.early {
  background:
    #E8EFE7;

  border-left-color:
    var(--forest);

  color:
    #31533A;
}


.ops-ready,
.ops-blocked,
.ops-live,
.ops-green {
  margin-top:
    15px;

  padding:
    15px;
}


.ops-ready {
  background:
    #F8EFCB;

  border-left:
    4px solid
    var(--gold);
}


.ops-blocked {
  background:
    #F6E8E8;

  border-left:
    4px solid
    var(--wine);
}


.ops-live {
  background:
    #FFF1C9;

  border-left:
    4px solid
    var(--gold);
}


.ops-green {
  background:
    #E4EFE4;

  border-left:
    4px solid
    var(--forest);
}


.ops-ready strong,
.ops-blocked strong,
.ops-live strong,
.ops-green strong {
  font:
    18px
    var(--serif);
}


.ops-ready p,
.ops-live p,
.ops-green p {
  margin:
    5px 0 0;

  font-size:
    11px;
}


.ops-blocked ul {
  margin:
    8px 0 0;

  padding-left:
    20px;

  font-size:
    11px;
}


.ops-action-form {
  margin-top:
    13px;

  padding:
    16px;

  background:
    #F3EEE5;

  border:
    1px solid
    var(--line);
}


.timeline-start-button {
  margin-top:
    10px;

  background:
    var(--gold);

  color:
    #3F321B;
}


.timeline-green-button {
  margin-top:
    10px;

  background:
    var(--forest);

  color:
    white;
}


@media (max-width: 760px) {

  .timeline-score {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .ops-grid {
    grid-template-columns:
      1fr;
  }


  .ops-card-head {
    flex-direction:
      column;
  }

}


/* ==========================================
   ECIE EXPERIENCE · AI EVENT DIRECTOR
   ========================================== */

.director-readonly-badge {
  padding: 6px 9px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}

.director-generated {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}

.director-guardrail {
  margin-bottom: 24px;
  padding: 17px 20px;
  background: #E7EFE6;
  border-left: 4px solid var(--forest);
}

.director-guardrail strong {
  color: var(--forest);
  font: 20px var(--serif);
}

.director-guardrail p {
  margin: 5px 0 0;
  max-width: 800px;
  color: #506753;
  font-size: 11px;
}

.director-score {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

.director-score article {
  padding: 18px 10px;
  background: #FFFDF8;
  border: 1px solid var(--line);
  text-align: center;
}

.director-score small {
  display: block;
  min-height: 24px;
  color: #927144;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .09em;
}

.director-score strong {
  color: var(--wine);
  font: 32px var(--serif);
}

.director-code {
  padding: 6px 9px;
  background: #EEE4D7;
  color: #715A46;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}

.director-next-action {
  padding: 24px;
  background:
    linear-gradient(
      135deg,
      #721329,
      #5C0E20
    );
  color: #FFF9F1;
}

.director-next-action h3 {
  margin: 0;
  color: #F3D782;
  font: 29px var(--serif);
}

.director-next-action p {
  max-width: 760px;
  margin: 8px 0 18px;
  color: #F4E8E4;
  font-size: 12px;
  line-height: 1.6;
}

.director-findings {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.director-finding {
  padding: 18px;
  background: #FAF6EF;
  border: 1px solid #DDCEBA;
  border-left-width: 5px;
}

.director-finding.critical {
  border-left-color: var(--wine);
}

.director-finding.warning {
  border-left-color: #B57A2E;
}

.director-finding.attention {
  border-left-color: var(--gold);
}

.director-finding.good {
  border-left-color: var(--forest);
}

.director-finding.info {
  border-left-color: #6B7C8E;
}

.director-finding-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.director-finding-head small {
  color: #9B8268;
  font-size: 8px;
  font-weight: 700;
}

.director-severity {
  padding: 5px 7px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.director-severity.critical {
  background: #F2DDE1;
  color: #8E2B41;
}

.director-severity.warning {
  background: #F3E4CE;
  color: #81541E;
}

.director-severity.attention {
  background: #F5E9BB;
  color: #6C5319;
}

.director-severity.good {
  background: #DCEBDD;
  color: #244C31;
}

.director-severity.info {
  background: #E4E9ED;
  color: #475767;
}

.director-finding h3 {
  margin: 11px 0 5px;
  color: var(--wine);
  font: 21px var(--serif);
}

.director-finding > p {
  margin: 0;
  color: #5F554D;
  font-size: 11px;
  line-height: 1.55;
}

.director-recommendation {
  margin-top: 13px;
  padding: 11px;
  background: #FFFDF8;
  border: 1px solid var(--line);
}

.director-recommendation strong {
  color: var(--forest);
  font-size: 9px;
  text-transform: uppercase;
}

.director-recommendation p {
  margin: 4px 0 0;
  font-size: 11px;
}

.director-radar {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.director-activity {
  padding: 18px;
  background: #FAF6EF;
  border: 1px solid #DDCEBA;
}

.director-activity > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 13px;
}

.director-activity header small {
  color: #96714B;
  font-size: 8px;
}

.director-activity h3 {
  margin: 3px 0 0;
  color: var(--wine);
  font: 22px var(--serif);
}

.director-activity-grid {
  display: grid;
  grid-template-columns:
    repeat(4, 1fr);
  gap: 8px;
}

.director-activity-grid div {
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
}

.director-activity-grid small {
  display: block;
  margin-bottom: 3px;
  color: #96714B;
  font-size: 7px;
  font-weight: 800;
}

.director-activity-grid strong {
  font-size: 10px;
  text-transform: uppercase;
}

.director-startable {
  margin-top: 11px;
  padding: 11px;
  background: #E7EFE6;
  border-left: 4px solid var(--forest);
  color: #35553B;
  font-size: 11px;
}

.director-blockers {
  margin-top: 11px;
  padding: 11px;
  background: #F6E8E8;
  border-left: 4px solid var(--wine);
}

.director-blockers strong {
  color: var(--wine);
  font-size: 10px;
  text-transform: uppercase;
}

.director-blockers ul {
  margin: 6px 0 0;
  padding-left: 20px;
  font-size: 11px;
}

.director-summary-grid {
  display: grid;
  grid-template-columns:
    repeat(3, 1fr);
  gap: 9px;
}

.director-summary-grid article {
  padding: 15px;
  background: #FFFDF8;
  border: 1px solid var(--line);
}

.director-summary-grid small {
  display: block;
  margin-bottom: 5px;
  color: #96714B;
  font-size: 8px;
  font-weight: 800;
}

.director-summary-grid strong {
  color: #46392F;
  font: 18px var(--serif);
}


@media (max-width: 900px) {

  .director-score {
    grid-template-columns:
      repeat(3, 1fr);
  }

  .director-findings {
    grid-template-columns:
      1fr;
  }

  .director-activity-grid,
  .director-summary-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


@media (max-width: 600px) {

  .director-score {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .director-activity > header {
    flex-direction:
      column;
  }

  .director-activity-grid,
  .director-summary-grid {
    grid-template-columns:
      1fr;
  }

}


/* ==========================================
   ECIE EXPERIENCE · DIRECTOR CONVERSATION
   ========================================== */

.director-chat {
  border:
    1px solid
    var(--line);

  background:
    #F8F3E9;
}


.director-chat-log {
  display:
    flex;

  flex-direction:
    column;

  gap:
    10px;

  max-height:
    460px;

  overflow-y:
    auto;

  padding:
    18px;
}


.director-message {
  max-width:
    86%;

  padding:
    13px 15px;

  border:
    1px solid
    var(--line);
}


.director-message strong {
  display:
    block;

  margin-bottom:
    4px;

  font:
    17px
    var(--serif);
}


.director-message p {
  margin:
    0;

  font-size:
    11px;

  line-height:
    1.55;
}


.director-message-system,
.director-message-director {
  align-self:
    flex-start;

  background:
    #FFFDF8;

  border-left:
    4px solid
    var(--forest);
}


.director-message-director strong,
.director-message-system strong {
  color:
    var(--forest);
}


.director-message-user {
  align-self:
    flex-end;

  background:
    #721329;

  color:
    white;

  border-color:
    #721329;
}


.director-message-user strong {
  color:
    #F3D782;
}


.director-message-error {
  align-self:
    flex-start;

  background:
    #F6E8E8;

  border-left:
    4px solid
    var(--wine);
}


.director-chat-facts {
  display:
    grid;

  grid-template-columns:
    minmax(100px, auto)
    1fr;

  gap:
    5px 10px;

  margin:
    12px 0 0;

  padding-top:
    10px;

  border-top:
    1px solid
    var(--line);

  font-size:
    10px;
}


.director-chat-facts dt {
  color:
    #927144;

  font-weight:
    800;

  text-transform:
    uppercase;
}


.director-chat-facts dd {
  margin:
    0;

  color:
    #4F443C;
}


.director-chat-action {
  display:
    inline-block;

  margin-top:
    12px;

  color:
    var(--wine);

  font-size:
    10px;

  font-weight:
    800;

  text-decoration:
    underline;
}


.director-suggestions {
  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    7px;

  padding:
    0 18px 15px;
}


.director-suggestions button {
  padding:
    7px 9px;

  background:
    white;

  border:
    1px solid
    #D8C8B4;

  color:
    #5C493A;

  cursor:
    pointer;

  font-size:
    9px;
}


.director-suggestions button:hover {
  border-color:
    var(--gold);

  color:
    var(--wine);
}


.director-chat-form {
  display:
    grid;

  grid-template-columns:
    1fr auto;

  gap:
    8px;

  padding:
    15px 18px;

  border-top:
    1px solid
    var(--line);

  background:
    #F0E6D9;
}


.director-chat-form input {
  min-width:
    0;

  padding:
    11px;

  border:
    1px solid
    #CDBBA5;

  background:
    white;
}


.director-chat-footnote {
  margin:
    0;

  padding:
    0 18px 16px;

  color:
    var(--muted);

  font-size:
    9px;
}


@media (max-width: 600px) {

  .director-message {
    max-width:
      96%;
  }


  .director-chat-form {
    grid-template-columns:
      1fr;
  }


  .director-chat-facts {
    grid-template-columns:
      1fr;
  }

}


/* ==========================================
   ECIE EXPERIENCE · GUESTS + RSVP
   ========================================== */

.guest-score {
  display: grid;
  grid-template-columns:
    repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

.guest-score article {
  padding: 17px 10px;
  background: #FFFDF8;
  border: 1px solid var(--line);
  text-align: center;
}

.guest-score small {
  display: block;
  min-height: 24px;
  color: #927144;
  font-size: 8px;
  font-weight: 800;
}

.guest-score strong {
  color: var(--wine);
  font: 30px var(--serif);
}

.guest-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guest-card {
  border: 1px solid #DDCEBA;
  background: #FAF6EF;
}

.guest-card > header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #F0E6D9;
}

.guest-card header small {
  color: #96714B;
  font-size: 8px;
}

.guest-card h3 {
  margin: 3px 0 0;
  color: var(--wine);
  font: 23px var(--serif);
}

.guest-rsvp {
  align-self: flex-start;
  padding: 6px 9px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.guest-rsvp.pending {
  background: #EEE4D7;
  color: #65584D;
}

.guest-rsvp.accepted {
  background: #DCEBDD;
  color: #244C31;
}

.guest-rsvp.declined {
  background: #F2DDE1;
  color: #8E2B41;
}

.guest-rsvp-link {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: #FFFDF8;
}

.guest-rsvp-link span {
  display: block;
  margin-bottom: 5px;
  color: #927144;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.guest-rsvp-link a {
  overflow-wrap: anywhere;
  color: var(--wine);
  font-size: 11px;
}

.guest-response {
  margin: 0 20px 18px;
  padding: 14px;
  background: #FFFDF8;
  border: 1px solid var(--line);
}

.guest-response strong {
  color: var(--forest);
  font: 18px var(--serif);
}

.guest-response p {
  margin: 5px 0 0;
  font-size: 11px;
}


/* RSVP PUBLIC */

.rsvp-body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(
      145deg,
      #F8F3E9,
      #EADCC8
    );
}

.rsvp-shell {
  width: min(680px, calc(100% - 30px));
  margin: 0 auto;
  padding: 42px 0;
}

.rsvp-card {
  padding: 42px;
  background: #FFFDF8;
  border: 1px solid #D9C7AF;
  box-shadow: var(--shadow);
  text-align: center;
}

.rsvp-number {
  margin-top: 8px;
  color: var(--gold);
  font: 72px var(--serif);
  line-height: 1;
}

.rsvp-card h1 {
  margin: 5px 0;
  color: var(--wine);
  font: 38px var(--serif);
}

.rsvp-name {
  margin: 20px 0 5px;
  color: var(--forest);
  font: 27px var(--serif);
}

.rsvp-intro {
  max-width: 480px;
  margin: 0 auto 25px;
  color: var(--muted);
  line-height: 1.6;
}

.rsvp-event-data {
  display: grid;
  grid-template-columns:
    repeat(2, 1fr);
  gap: 10px;
  margin: 25px 0;
  text-align: left;
}

.rsvp-event-data > div {
  padding: 15px;
  background: #F8F3E9;
  border: 1px solid var(--line);
}

.rsvp-event-data small {
  display: block;
  margin-bottom: 5px;
  color: #927144;
  font-size: 8px;
  font-weight: 800;
}

.rsvp-event-data strong,
.rsvp-event-data span {
  display: block;
}

.rsvp-event-data strong {
  color: var(--wine);
  font: 17px var(--serif);
}

.rsvp-event-data span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.rsvp-success,
.rsvp-error {
  margin: 20px 0;
  padding: 15px;
  text-align: left;
}

.rsvp-success {
  background: #E4EFE4;
  border-left: 4px solid var(--forest);
}

.rsvp-error {
  background: #F6E8E8;
  border-left: 4px solid var(--wine);
}

.rsvp-success strong {
  color: var(--forest);
  font: 18px var(--serif);
}

.rsvp-success p {
  margin: 4px 0 0;
  font-size: 11px;
}

.rsvp-form {
  margin-top: 25px;
  text-align: left;
}

.rsvp-form fieldset {
  margin: 0 0 18px;
  padding: 15px;
  border: 1px solid var(--line);
}

.rsvp-form legend {
  padding: 0 7px;
  color: var(--wine);
  font: 20px var(--serif);
}

.rsvp-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  cursor: pointer;
}

.rsvp-option input {
  width: auto;
}

.rsvp-submit {
  width: 100%;
  margin-top: 15px;
}

.rsvp-privacy {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 9px;
}


@media (max-width: 800px) {

  .guest-score {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


@media (max-width: 600px) {

  .rsvp-card {
    padding: 28px 20px;
  }

  .rsvp-number {
    font-size: 58px;
  }

  .rsvp-card h1 {
    font-size: 31px;
  }

  .rsvp-event-data {
    grid-template-columns: 1fr;
  }

  .guest-card > header {
    flex-direction: column;
  }

}


/* ECIE EXPERIENCE · GUEST ADMIN POLISH */

.guest-card .guest-name-field {
  grid-column:
    span 2;
}


.guest-card .guest-name-field input {
  width:
    100%;
}


@media (max-width: 760px) {

  .guest-card .guest-name-field {
    grid-column:
      span 1;
  }

}


/* ECIE EXPERIENCE · RSVP LIVE */

.director-score {
  grid-template-columns:
    repeat(7, 1fr);
}


@media (max-width: 1100px) {

  .director-score {
    grid-template-columns:
      repeat(4, 1fr);
  }

}


@media (max-width: 700px) {

  .director-score {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* ==========================================
   ECIE EXPERIENCE · RESTRICTED INVITATIONS
   ========================================== */

.guest-restricted-access {
  padding:
    14px;

  border:
    1px solid
    var(--line);

  background:
    #F7F1E7;
}


.guest-restricted-access legend {
  padding:
    0 6px;

  color:
    var(--wine);

  font:
    17px
    var(--serif);
}


.guest-restricted-access label {
  display:
    flex;

  align-items:
    center;

  gap:
    9px;

  padding:
    7px 0;

  font-size:
    11px;
}


.guest-restricted-access input {
  width:
    auto;

  min-height:
    auto;
}


.guest-restricted-empty {
  padding:
    14px;

  background:
    #F4EEE5;

  border:
    1px dashed
    #CDBBA5;
}


.guest-restricted-empty strong {
  color:
    var(--wine);

  font:
    17px
    var(--serif);
}


.guest-restricted-empty p {
  margin:
    4px 0 0;

  color:
    var(--muted);

  font-size:
    10px;
}


.rsvp-private-agenda {
  margin:
    26px 0;

  padding:
    20px;

  background:
    #F7F0E5;

  border:
    1px solid
    #D6C2A6;

  border-top:
    4px solid
    var(--gold);

  text-align:
    left;
}


.rsvp-private-agenda h2 {
  margin:
    3px 0;

  color:
    var(--wine);

  font:
    25px
    var(--serif);
}


.rsvp-private-intro {
  margin:
    4px 0 15px;

  color:
    var(--muted);

  font-size:
    10px;
}


.rsvp-private-list {
  display:
    flex;

  flex-direction:
    column;

  gap:
    9px;
}


.rsvp-private-list article {
  padding:
    13px;

  background:
    #FFFDF8;

  border:
    1px solid
    var(--line);
}


.rsvp-private-list small {
  color:
    #927144;

  font-size:
    8px;

  font-weight:
    800;

  text-transform:
    uppercase;
}


.rsvp-private-list h3 {
  margin:
    4px 0;

  color:
    var(--forest);

  font:
    20px
    var(--serif);
}


.rsvp-private-list p {
  margin:
    0;

  color:
    #5F554D;

  font-size:
    10px;

  line-height:
    1.5;
}


/* ==========================================
   ECIE EXPERIENCE · RESTRICTED VENUE
   ========================================== */

.restricted-venue-list {
  display:
    flex;

  flex-direction:
    column;

  gap:
    16px;
}


.restricted-venue-card {
  border:
    1px solid
    #DDCEBA;

  background:
    #FAF6EF;
}


.restricted-venue-card > header {
  display:
    flex;

  justify-content:
    space-between;

  gap:
    14px;

  padding:
    15px 20px;

  background:
    #F0E6D9;
}


.restricted-venue-card header small {
  color:
    #96714B;

  font-size:
    8px;
}


.restricted-venue-card h3 {
  margin:
    3px 0 0;

  color:
    var(--wine);

  font:
    22px
    var(--serif);
}


.restricted-publication-state {
  padding:
    10px 20px;

  border-bottom:
    1px solid
    var(--line);

  color:
    var(--muted);

  font-size:
    10px;
}


.guest-rsvp.confirmed {
  background:
    #DCEBDD;

  color:
    #244C31;
}


.rsvp-private-venue {
  display:
    flex;

  flex-direction:
    column;

  gap:
    3px;

  margin-top:
    10px;

  padding-top:
    10px;

  border-top:
    1px solid
    var(--line);
}


.rsvp-private-venue strong {
  color:
    var(--wine);

  font:
    17px
    var(--serif);
}


.rsvp-private-venue span {
  color:
    var(--muted);

  font-size:
    10px;
}


.rsvp-private-venue a {
  margin-top:
    3px;

  color:
    var(--wine);

  font-size:
    10px;

  font-weight:
    700;
}


/* ==========================================
   ECIE EXPERIENCE · PRIVATE BUDGET
   ========================================== */

.budget-private-badge {
  padding:
    6px 9px;

  background:
    var(--wine);

  color:
    white;

  font-size:
    8px;

  font-weight:
    800;

  letter-spacing:
    .08em;
}


.budget-score {
  display:
    grid;

  grid-template-columns:
    repeat(6, 1fr);

  gap:
    10px;

  margin-bottom:
    22px;
}


.budget-score article {
  padding:
    17px 10px;

  background:
    #FFFDF8;

  border:
    1px solid
    var(--line);

  text-align:
    center;
}


.budget-score small {
  display:
    block;

  min-height:
    24px;

  color:
    #927144;

  font-size:
    8px;

  font-weight:
    800;
}


.budget-score strong {
  color:
    var(--wine);

  font:
    23px
    var(--serif);
}


.budget-privacy {
  margin-bottom:
    28px;

  padding:
    16px 19px;

  background:
    #F2E6E8;

  border-left:
    4px solid
    var(--wine);
}


.budget-privacy strong {
  color:
    var(--wine);

  font:
    18px
    var(--serif);
}


.budget-privacy p {
  margin:
    5px 0 0;

  color:
    #69545A;

  font-size:
    10px;
}


.budget-list {
  display:
    flex;

  flex-direction:
    column;

  gap:
    16px;
}


.budget-card {
  border:
    1px solid
    #DDCEBA;

  background:
    #FAF6EF;
}


.budget-card > header {
  display:
    flex;

  justify-content:
    space-between;

  gap:
    15px;

  padding:
    16px 20px;

  background:
    #F0E6D9;
}


.budget-card header small {
  color:
    #96714B;

  font-size:
    8px;
}


.budget-card h3 {
  margin:
    3px 0 0;

  color:
    var(--wine);

  font:
    23px
    var(--serif);
}


.budget-status {
  align-self:
    flex-start;

  padding:
    6px 9px;

  font-size:
    8px;

  font-weight:
    800;

  text-transform:
    uppercase;
}


.budget-status.pending {
  background:
    #EEE4D7;

  color:
    #65584D;
}


.budget-status.quoted {
  background:
    #E8E5F1;

  color:
    #554E76;
}


.budget-status.approved {
  background:
    #F5E9BB;

  color:
    #6C5319;
}


.budget-status.paid {
  background:
    #DCEBDD;

  color:
    #244C31;
}


.budget-status.cancelled {
  background:
    #F2DDE1;

  color:
    #8E2B41;
}


.budget-readout {
  display:
    grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap:
    8px;

  padding:
    15px 20px 0;
}


.budget-readout div {
  padding:
    11px;

  background:
    #FFFDF8;

  border:
    1px solid
    var(--line);
}


.budget-readout small {
  display:
    block;

  color:
    #927144;

  font-size:
    8px;

  font-weight:
    800;
}


.budget-readout strong {
  display:
    block;

  margin-top:
    4px;

  color:
    #46392F;

  font:
    18px
    var(--serif);
}


@media (max-width: 900px) {

  .budget-score {
    grid-template-columns:
      repeat(3, 1fr);
  }

}


@media (max-width: 650px) {

  .budget-score,
  .budget-readout {
    grid-template-columns:
      1fr;
  }


  .budget-card > header {
    flex-direction:
      column;
  }

}


/* ==========================================
   ECIE EXPERIENCE · VENDORS 7K.2
   ========================================== */

.vendor-score {
  grid-template-columns:
    repeat(5, 1fr);
}


.activity-wide legend {
  color:
    var(--wine);

  font:
    17px
    var(--serif);

  margin-bottom:
    8px;
}


.activity-wide > label {
  display:
    inline-block;

  margin:
    4px 12px 4px 0;

  font-size:
    10px;
}


@media (max-width: 900px) {

  .vendor-score {
    grid-template-columns:
      repeat(3, 1fr);
  }

}


@media (max-width: 650px) {

  .vendor-score {
    grid-template-columns:
      1fr;
  }

}


/* ==========================================
   ECIE EXPERIENCE · ADMIN AUTH 7L.1
   ========================================== */

.auth-body {
  margin:
    0;

  min-height:
    100vh;

  background:
    #F8F3E9;

  color:
    #46392F;
}


.auth-page {
  min-height:
    100vh;

  display:
    grid;

  place-items:
    center;

  padding:
    32px 18px;
}


.auth-card {
  width:
    min(
      440px,
      100%
    );

  padding:
    38px;

  background:
    #FFFDF8;

  border:
    1px solid
    #DDCEBA;

  box-shadow:
    0 18px 55px
    rgba(55, 35, 25, .10);
}


.auth-card h1 {
  margin:
    4px 0 8px;

  color:
    var(--wine);

  font:
    38px
    var(--serif);
}


.auth-intro {
  margin:
    0 0 28px;

  color:
    #786B60;

  font-size:
    12px;
}


.auth-form {
  display:
    flex;

  flex-direction:
    column;

  gap:
    18px;
}


.auth-submit {
  width:
    100%;

  margin-top:
    4px;
}


.auth-security-note {
  margin:
    24px 0 0;

  padding-top:
    18px;

  border-top:
    1px solid
    #E8DDCE;

  color:
    #88786A;

  font-size:
    9px;

  line-height:
    1.6;
}


@media (max-width: 520px) {

  .auth-card {
    padding:
      28px 22px;
  }

}


/* ==========================================
   ECIE EXPERIENCE · ADMIN TEAM 7L.2
   ========================================== */

.admin-team-list {
  display:
    flex;

  flex-direction:
    column;

  gap:
    14px;
}


.admin-team-card {
  border:
    1px solid
    #DDCEBA;

  background:
    #FAF6EF;
}


.admin-team-card > header {
  display:
    flex;

  justify-content:
    space-between;

  align-items:
    flex-start;

  gap:
    20px;

  padding:
    18px 20px;

  background:
    #F0E6D9;
}


.admin-team-card h3 {
  margin:
    3px 0;

  color:
    var(--wine);

  font:
    22px
    var(--serif);
}


.admin-team-card p {
  margin:
    0;

  font-size:
    10px;

  color:
    #74665A;
}


.admin-role-badge {
  display:
    inline-block;

  margin-left:
    6px;

  padding:
    6px 9px;

  background:
    #E9DDC9;

  color:
    #5A4730;

  font-size:
    8px;

  font-weight:
    800;

  text-transform:
    uppercase;
}


@media (max-width: 650px) {

  .admin-team-card > header {
    flex-direction:
      column;
  }

}


/* =========================================================
   ECIE EXPERIENCE · LOGIN FRONTEND V1
   ========================================================= */

.ecie-login-body {
  margin:
    0;

  min-height:
    100vh;

  background:
    #F8F3E9;

  color:
    #45392F;
}


.ecie-login-shell {
  min-height:
    100vh;

  display:
    grid;

  grid-template-columns:
    minmax(420px, 1.05fr)
    minmax(440px, .95fr);
}


/* -----------------------------------------
   BRAND PANEL
   ----------------------------------------- */

.ecie-login-brand {
  position:
    relative;

  overflow:
    hidden;

  display:
    flex;

  background:
    linear-gradient(
      145deg,
      #551020 0%,
      #721329 45%,
      #5F1023 100%
    );

  color:
    #FFF9EE;
}


.ecie-login-brand::before {
  content:
    "";

  position:
    absolute;

  width:
    540px;

  height:
    540px;

  right:
    -260px;

  top:
    -190px;

  border:
    1px solid
    rgba(212, 175, 55, .20);

  border-radius:
    50%;
}


.ecie-login-brand::after {
  content:
    "";

  position:
    absolute;

  width:
    360px;

  height:
    360px;

  left:
    -190px;

  bottom:
    -180px;

  border:
    1px solid
    rgba(248, 243, 233, .12);

  border-radius:
    50%;
}


.ecie-login-brand-inner {
  position:
    relative;

  z-index:
    1;

  width:
    100%;

  min-height:
    100%;

  box-sizing:
    border-box;

  padding:
    54px 64px 42px;

  display:
    flex;

  flex-direction:
    column;
}


.ecie-login-logo {
  display:
    flex;

  align-items:
    center;

  gap:
    13px;
}


.ecie-login-logo-mark {
  width:
    43px;

  height:
    43px;

  display:
    grid;

  place-items:
    center;

  border:
    1px solid
    rgba(212, 175, 55, .75);

  color:
    #D4AF37;

  font-family:
    var(--serif);

  font-size:
    25px;
}


.ecie-login-logo div {
  display:
    flex;

  flex-direction:
    column;

  gap:
    1px;
}


.ecie-login-logo strong {
  font-family:
    var(--serif);

  font-size:
    21px;

  font-weight:
    500;

  letter-spacing:
    .08em;
}


.ecie-login-logo div span {
  color:
    #D8C7AC;

  font-size:
    7px;

  font-weight:
    800;

  letter-spacing:
    .29em;
}


.ecie-login-hero {
  margin:
    auto 0;

  max-width:
    610px;

  padding:
    80px 0 60px;
}


.ecie-login-overline {
  margin:
    0 0 17px;

  color:
    #D4AF37;

  font-size:
    8px;

  font-weight:
    800;

  letter-spacing:
    .30em;
}


.ecie-login-hero h1 {
  margin:
    0;

  color:
    #FFF9EE;

  font-family:
    var(--serif);

  font-size:
    clamp(
      44px,
      5vw,
      76px
    );

  font-weight:
    400;

  line-height:
    .98;

  letter-spacing:
    -.025em;
}


.ecie-login-hero h1 em {
  display:
    block;

  margin-top:
    9px;

  color:
    #D4AF37;

  font-weight:
    400;
}


.ecie-login-description {
  max-width:
    500px;

  margin:
    29px 0 0;

  color:
    #E7D8C7;

  font-size:
    12px;

  line-height:
    1.8;
}


.ecie-login-capabilities {
  display:
    grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap:
    22px;

  margin-bottom:
    54px;
}


.ecie-login-capabilities article {
  display:
    grid;

  grid-template-columns:
    auto 1fr;

  gap:
    10px;

  padding-top:
    14px;

  border-top:
    1px solid
    rgba(212, 175, 55, .32);
}


.ecie-login-capabilities article > span {
  color:
    #D4AF37;

  font-size:
    8px;

  font-weight:
    800;
}


.ecie-login-capabilities strong {
  display:
    block;

  margin-bottom:
    5px;

  color:
    #FFF8ED;

  font-family:
    var(--serif);

  font-size:
    15px;

  font-weight:
    500;
}


.ecie-login-capabilities p {
  margin:
    0;

  color:
    #CDBEAE;

  font-size:
    8px;

  line-height:
    1.6;
}


.ecie-login-brand-footer {
  display:
    flex;

  justify-content:
    space-between;

  gap:
    20px;

  padding-top:
    18px;

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

  color:
    #BFAE9D;

  font-size:
    7px;

  font-weight:
    700;

  letter-spacing:
    .18em;
}


/* -----------------------------------------
   ACCESS PANEL
   ----------------------------------------- */

.ecie-login-access {
  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  box-sizing:
    border-box;

  padding:
    54px 68px 34px;

  background:
    #F8F3E9;
}


.ecie-login-card {
  width:
    min(
      455px,
      100%
    );
}


.ecie-login-card-header {
  margin-bottom:
    29px;
}


.ecie-login-kicker {
  margin:
    0 0 10px;

  color:
    #A57A3D;

  font-size:
    8px;

  font-weight:
    800;

  letter-spacing:
    .22em;
}


.ecie-login-card-header h2 {
  margin:
    0;

  color:
    #721329;

  font-family:
    var(--serif);

  font-size:
    40px;

  font-weight:
    400;
}


.ecie-login-card-header > p:last-child {
  margin:
    10px 0 0;

  max-width:
    370px;

  color:
    #786D63;

  font-size:
    11px;

  line-height:
    1.7;
}


/* messages */

.ecie-auth-message {
  display:
    flex;

  flex-direction:
    column;

  gap:
    3px;

  margin-bottom:
    20px;

  padding:
    13px 15px;

  border-left:
    3px solid;
}


.ecie-auth-message strong {
  font-size:
    10px;
}


.ecie-auth-message span {
  font-size:
    9px;

  line-height:
    1.5;
}


.ecie-auth-message.success {
  border-color:
    #3D674B;

  background:
    #E8F0E7;

  color:
    #31513B;
}


.ecie-auth-message.error {
  border-color:
    #9D3049;

  background:
    #F5E5E8;

  color:
    #7B2438;
}


/* form */

.ecie-login-form {
  display:
    flex;

  flex-direction:
    column;

  gap:
    19px;
}


.ecie-login-field {
  display:
    flex;

  flex-direction:
    column;

  gap:
    7px;
}


.ecie-login-field-label {
  color:
    #5F5146;

  font-size:
    9px;

  font-weight:
    800;

  letter-spacing:
    .04em;
}


.ecie-login-input {
  display:
    grid;

  grid-template-columns:
    44px 1fr auto;

  align-items:
    center;

  min-height:
    52px;

  border:
    1px solid
    #D8CBB9;

  background:
    #FFFDF8;

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


.ecie-login-input:focus-within {
  border-color:
    #A57A3D;

  background:
    #FFFFFF;

  box-shadow:
    0 0 0 3px
    rgba(165, 122, 61, .09);
}


.ecie-login-input-icon {
  display:
    grid;

  place-items:
    center;

  height:
    25px;

  border-right:
    1px solid
    #E4D9CA;

  color:
    #9D7A50;

  font-size:
    13px;

  font-weight:
    700;
}


.ecie-login-input-icon.password {
  font-size:
    18px;
}


.ecie-login-input input {
  width:
    100%;

  box-sizing:
    border-box;

  padding:
    0 14px;

  border:
    0;

  outline:
    0;

  background:
    transparent;

  color:
    #43382F;

  font-family:
    inherit;

  font-size:
    11px;
}


.ecie-login-input input::placeholder {
  color:
    #B4A99D;
}


.ecie-password-toggle {
  margin-right:
    7px;

  padding:
    8px 9px;

  border:
    0;

  background:
    transparent;

  color:
    #721329;

  cursor:
    pointer;

  font-size:
    8px;

  font-weight:
    800;
}


.ecie-password-toggle:hover {
  background:
    #F3E9DC;
}


.ecie-login-submit {
  width:
    100%;

  min-height:
    54px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  box-sizing:
    border-box;

  margin-top:
    5px;

  padding:
    0 20px;

  border:
    1px solid
    #721329;

  background:
    #721329;

  color:
    #FFFFFF;

  cursor:
    pointer;

  font-family:
    inherit;

  font-size:
    9px;

  font-weight:
    800;

  letter-spacing:
    .08em;

  transition:
    transform .15s ease,
    background .15s ease;
}


.ecie-login-submit:hover {
  background:
    #5B0F21;

  transform:
    translateY(-1px);
}


.ecie-login-submit:disabled {
  opacity:
    .68;

  cursor:
    wait;

  transform:
    none;
}


/* role */

.ecie-login-role-note {
  display:
    grid;

  grid-template-columns:
    auto 1fr;

  gap:
    12px;

  margin-top:
    28px;

  padding:
    16px;

  border:
    1px solid
    #E0D5C6;

  background:
    #F2E9DD;
}


.ecie-role-icon {
  width:
    26px;

  height:
    26px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    50%;

  background:
    #1F3D2E;

  color:
    white;

  font-size:
    9px;
}


.ecie-login-role-note strong {
  display:
    block;

  margin-bottom:
    4px;

  color:
    #594635;

  font-size:
    9px;
}


.ecie-login-role-note p {
  margin:
    0;

  color:
    #796D61;

  font-size:
    8px;

  line-height:
    1.6;
}


/* security */

.ecie-login-security {
  display:
    grid;

  grid-template-columns:
    auto 1fr;

  gap:
    10px;

  margin-top:
    22px;

  padding-top:
    20px;

  border-top:
    1px solid
    #E1D7CA;
}


.ecie-security-lock {
  color:
    #A57A3D;

  font-size:
    13px;
}


.ecie-login-security p {
  margin:
    0;

  color:
    #8B8178;

  font-size:
    8px;

  line-height:
    1.6;
}


.ecie-login-access-footer {
  margin-top:
    auto;

  padding-top:
    40px;

  display:
    flex;

  align-items:
    center;

  gap:
    8px;

  color:
    #9A8E82;

  font-size:
    7px;

  letter-spacing:
    .08em;
}


.ecie-login-dot {
  color:
    #D4AF37;
}


/* -----------------------------------------
   RESPONSIVE
   ----------------------------------------- */

@media (max-width: 980px) {

  .ecie-login-shell {
    grid-template-columns:
      1fr;
  }


  .ecie-login-brand {
    min-height:
      auto;
  }


  .ecie-login-brand-inner {
    padding:
      36px 38px;
  }


  .ecie-login-hero {
    padding:
      60px 0 45px;
  }


  .ecie-login-hero h1 {
    font-size:
      clamp(
        42px,
        10vw,
        64px
      );
  }


  .ecie-login-capabilities {
    margin-bottom:
      30px;
  }


  .ecie-login-access {
    min-height:
      680px;

    padding:
      55px 30px 30px;
  }

}


@media (max-width: 620px) {

  .ecie-login-brand-inner {
    padding:
      27px 23px;
  }


  .ecie-login-hero {
    padding:
      48px 0 35px;
  }


  .ecie-login-description {
    font-size:
      11px;
  }


  .ecie-login-capabilities {
    grid-template-columns:
      1fr;

    gap:
      13px;
  }


  .ecie-login-capabilities article {
    grid-template-columns:
      28px 1fr;
  }


  .ecie-login-brand-footer {
    display:
      none;
  }


  .ecie-login-access {
    min-height:
      650px;

    padding:
      42px 22px 25px;
  }


  .ecie-login-card-header h2 {
    font-size:
      34px;
  }

}


/* =========================================================
   ECIE EXPERIENCE · LOGIN MOBILE V1
   ========================================================= */

@media (max-width: 620px) {

  /*
   * En móvil el objetivo principal es autenticar.
   * Conservamos identidad sin obligar a recorrer
   * un hero completo antes de encontrar el Login.
   */

  .ecie-auth-layout {
    display:
      block;

    min-height:
      100vh;
  }


  .ecie-auth-brand {
    min-height:
      auto;
  }


  .ecie-auth-brand-content {
    min-height:
      auto;

    padding:
      24px 22px 28px;
  }


  .ecie-auth-logo-symbol {
    width:
      38px;

    height:
      38px;

    font-size:
      21px;
  }


  .ecie-auth-logo strong {
    font-size:
      19px;
  }


  .ecie-auth-logo span {
    font-size:
      6.5px;
  }


  .ecie-auth-brand-copy {
    max-width:
      none;

    padding:
      34px 0 0;
  }


  .ecie-auth-overline {
    margin-bottom:
      11px;

    font-size:
      7px;
  }


  .ecie-auth-brand-copy h1 {
    font-size:
      clamp(
        38px,
        12vw,
        50px
      );

    line-height:
      1;
  }


  .ecie-auth-brand-copy h1 em {
    margin-top:
      4px;
  }


  .ecie-auth-brand-copy > p:last-child {
    max-width:
      340px;

    margin-top:
      18px;

    font-size:
      10px;

    line-height:
      1.65;
  }


  /*
   * Información secundaria:
   * útil en desktop, innecesaria antes
   * del Login en un teléfono.
   */

  .ecie-auth-features {
    display:
      none;
  }


  /*
   * Panel de Login inmediatamente después
   * del encabezado de marca.
   */

  .ecie-auth-access {
    min-height:
      auto;

    display:
      block;

    padding:
      34px 22px 40px;
  }


  .ecie-auth-card {
    width:
      100%;

    max-width:
      none;

    transform:
      none;
  }


  .ecie-auth-card > header {
    margin-bottom:
      25px;
  }


  .ecie-auth-kicker {
    font-size:
      7px;
  }


  .ecie-auth-card h2 {
    font-size:
      34px;
  }


  .ecie-auth-card > header > p:last-child {
    max-width:
      none;

    font-size:
      10px;
  }


  .ecie-auth-form {
    gap:
      17px;
  }


  .ecie-auth-field > span {
    font-size:
      9px;
  }


  /*
   * Inputs suficientemente altos para interacción táctil.
   */

  .ecie-auth-input,
  .ecie-auth-input.password {
    min-height:
      56px;

    grid-template-columns:
      44px 1fr;
  }


  .ecie-auth-input.password {
    grid-template-columns:
      44px minmax(0, 1fr) auto;
  }


  .ecie-auth-input input {
    min-width:
      0;

    padding:
      0 12px;

    font-size:
      16px;
  }


  /*
   * 16px evita que iOS haga zoom automático
   * al enfocar campos de formulario.
   */

  .ecie-auth-toggle {
    padding:
      10px 8px;

    margin-right:
      5px;
  }


  .ecie-auth-submit {
    min-height:
      58px;

    font-size:
      10px;
  }


  .ecie-auth-role {
    margin-top:
      24px;
  }


  .ecie-auth-security {
    margin-top:
      20px;
  }

}


/* =========================================================
   ECIE EXPERIENCE · PERSISTENT SESSION 7L.4
   ========================================================= */

.ecie-login-remember,
.ecie-auth-remember {
  display:
    grid;

  grid-template-columns:
    auto minmax(0, 1fr);

  gap:
    10px;

  align-items:
    flex-start;

  padding:
    1px 0;

  cursor:
    pointer;
}


.ecie-login-remember input,
.ecie-auth-remember input {
  width:
    16px;

  height:
    16px;

  margin:
    2px 0 0;

  accent-color:
    #721329;

  cursor:
    pointer;
}


.ecie-login-remember > span,
.ecie-auth-remember > span {
  display:
    flex;

  flex-direction:
    column;

  gap:
    2px;
}


.ecie-login-remember strong,
.ecie-auth-remember strong {
  color:
    #594D43;

  font-size:
    9px;

  font-weight:
    800;
}


.ecie-login-remember small,
.ecie-auth-remember small {
  color:
    #91867C;

  font-size:
    8px;

  line-height:
    1.5;
}


@media (max-width: 620px) {

  .ecie-login-remember input,
  .ecie-auth-remember input {
    width:
      18px;

    height:
      18px;
  }


  .ecie-login-remember strong,
  .ecie-auth-remember strong {
    font-size:
      9.5px;
  }


  .ecie-login-remember small,
  .ecie-auth-remember small {
    font-size:
      8.5px;
  }

}


/* =========================================================
   ECIE EXPERIENCE · GLOBAL ADMIN SESSION CONTROL 7L.4A
   ========================================================= */

.admin-session-control {
  display:
    flex;

  align-items:
    center;

  justify-content:
    flex-end;

  gap:
    9px;
}


.admin-session-identity {
  display:
    flex;

  flex-direction:
    column;

  align-items:
    flex-end;

  padding-right:
    10px;

  border-right:
    1px solid
    rgba(255,255,255,.18);
}


.admin-session-identity strong {
  color:
    #FFF8EE;

  font-size:
    8px;

  font-weight:
    800;

  white-space:
    nowrap;
}


.admin-session-identity span {
  margin-top:
    1px;

  color:
    #D4AF37;

  font-size:
    7px;

  font-weight:
    800;

  letter-spacing:
    .08em;

  text-transform:
    uppercase;
}


.admin-logout-form {
  margin:
    0;

  padding:
    0;
}


.admin-account-button,
.admin-logout-button {
  min-height:
    32px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  box-sizing:
    border-box;

  padding:
    0 12px;

  font-size:
    8px;

  white-space:
    nowrap;
}


.admin-logout-button {
  border:
    1px solid
    rgba(255,255,255,.34);

  background:
    transparent;

  color:
    #FFF8EE;

  cursor:
    pointer;
}


.admin-logout-button:hover {
  border-color:
    #D4AF37;

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

  color:
    #FFFFFF;
}


@media (max-width: 760px) {

  .admin-session-control {
    width:
      100%;

    flex-wrap:
      wrap;

    justify-content:
      flex-start;

    margin-top:
      10px;
  }


  .admin-session-identity {
    width:
      100%;

    align-items:
      flex-start;

    padding:
      0 0 8px;

    border-right:
      0;

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


  .admin-account-button,
  .admin-logout-button {
    min-height:
      40px;

    padding:
      0 14px;
  }

}


/* =========================================================
   ECIE EXPERIENCE · ADMIN SESSION HEADER CONTRAST
   ========================================================= */

.admin-session-identity {
  border-right-color:
    #D9CBBB;
}


.admin-session-identity strong {
  color:
    #4C3C32;
}


.admin-session-identity span {
  color:
    #B78926;
}


.admin-account-button {
  border-color:
    #B99D82;

  background:
    #FFFDF8;

  color:
    #721329;
}


.admin-account-button:hover {
  border-color:
    #721329;

  background:
    #F4ECE2;

  color:
    #721329;
}


.admin-logout-button {
  border:
    1px solid
    #B99D82;

  background:
    #FFFDF8;

  color:
    #721329;
}


.admin-logout-button:hover {
  border-color:
    #721329;

  background:
    #721329;

  color:
    #FFFFFF;
}


@media (max-width: 760px) {

  .admin-session-identity {
    border-bottom-color:
      #D9CBBB;
  }

}


/* =========================================================
   ECIE EXPERIENCE · ACCOUNT V2 7L.5
   ========================================================= */

.account-v2-shell {
  display:
    flex;

  flex-direction:
    column;

  gap:
    22px;
}


.account-security-note {
  margin-top:
    20px;

  padding:
    15px 18px;

  border-left:
    3px solid
    #1F3D2E;

  background:
    #EAF0E9;
}


.account-security-note strong {
  color:
    #1F3D2E;

  font-size:
    10px;
}


.account-security-note p {
  margin:
    5px 0 0;

  color:
    #667167;

  font-size:
    9px;

  line-height:
    1.6;
}


.account-session-list {
  display:
    flex;

  flex-direction:
    column;

  gap:
    14px;

  margin-top:
    20px;
}


.account-session-card {
  border:
    1px solid
    #DDCEBA;

  background:
    #FAF6EF;
}


.account-session-card > header {
  display:
    flex;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap:
    20px;

  padding:
    16px 19px;

  background:
    #F0E6D9;
}


.account-session-card header small {
  color:
    #987248;

  font-size:
    8px;

  font-weight:
    800;
}


.account-session-card h3 {
  margin:
    4px 0 0;

  color:
    #721329;

  font:
    21px
    var(--serif);
}


.account-current-session {
  padding:
    6px 9px;

  background:
    #1F3D2E;

  color:
    #FFFFFF;

  font-size:
    8px;

  font-weight:
    800;

  letter-spacing:
    .06em;
}


.account-session-grid {
  display:
    grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap:
    8px;

  padding:
    16px 19px;
}


.account-session-grid > div {
  padding:
    11px;

  border:
    1px solid
    #E4D8C8;

  background:
    #FFFDF8;
}


.account-session-grid small {
  display:
    block;

  margin-bottom:
    4px;

  color:
    #987248;

  font-size:
    8px;

  font-weight:
    800;
}


.account-session-grid strong {
  color:
    #4B4037;

  font-size:
    10px;

  font-weight:
    600;
}


.account-session-card >
.admin-form-actions {
  padding:
    0 19px 17px;
}


@media (max-width: 800px) {

  .account-session-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


@media (max-width: 520px) {

  .account-session-grid {
    grid-template-columns:
      1fr;
  }


  .account-session-card > header {
    flex-direction:
      column;
  }

}


/* =========================================================
   ECIE EXPERIENCE · PASSWORD VISIBILITY 7L.5A
   ========================================================= */

.account-password-input {
  display:
    grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  align-items:
    center;

  min-height:
    48px;

  border:
    1px solid
    #D8CBB9;

  background:
    #FFFDF8;
}


.account-password-input:focus-within {
  border-color:
    #A57A3D;

  box-shadow:
    0 0 0 3px
    rgba(165, 122, 61, .09);
}


.account-password-input input {
  width:
    100%;

  min-width:
    0;

  box-sizing:
    border-box;

  padding:
    0 13px;

  border:
    0;

  outline:
    0;

  background:
    transparent;

  color:
    #46392F;

  font:
    inherit;
}


.account-password-toggle {
  min-height:
    46px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    6px;

  padding:
    0 12px;

  border:
    0;

  border-left:
    1px solid
    #E3D8CA;

  background:
    transparent;

  color:
    #721329;

  cursor:
    pointer;

  font-family:
    inherit;

  font-size:
    8px;

  font-weight:
    800;
}


.account-password-toggle:hover {
  background:
    #F3E9DC;
}


.account-password-toggle:focus-visible {
  outline:
    2px solid
    #A57A3D;

  outline-offset:
    -2px;
}


.account-password-eye {
  width:
    17px;

  height:
    17px;

  fill:
    none;

  stroke:
    currentColor;

  stroke-width:
    1.7;

  stroke-linecap:
    round;

  stroke-linejoin:
    round;
}


.account-password-toggle.visible
.account-password-eye {
  opacity:
    .65;
}


@media (max-width: 620px) {

  .account-password-input {
    min-height:
      56px;
  }


  .account-password-input input {
    /*
     * 16px evita zoom automático
     * de iOS al enfocar inputs.
     */
    font-size:
      16px;
  }


  .account-password-toggle {
    min-height:
      54px;

    padding:
      0 11px;

    font-size:
      9px;
  }


  .account-password-eye {
    width:
      19px;

    height:
      19px;
  }

}


/* =========================================================
   ECIE EXPERIENCE · ACCOUNT VISUAL V2
   Mi Cuenta · distribución premium
   ========================================================= */


/* ---------------------------------------------------------
   CONTENEDOR GENERAL
   --------------------------------------------------------- */

.account-v2-shell {
  gap:
    28px;
}


.account-v2-shell
.admin-section {
  padding:
    36px 40px;
}


.account-v2-shell
.admin-section-title {
  margin-bottom:
    28px;
}


/* ---------------------------------------------------------
   IDENTIDAD
   --------------------------------------------------------- */

.account-identity
.budget-readout {
  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap:
    12px;
}


.account-identity
.budget-readout > div {
  min-width:
    0;

  padding:
    17px 18px;
}


.account-identity
.budget-readout strong {
  overflow-wrap:
    anywhere;

  line-height:
    1.35;
}


.account-identity
.admin-form-actions {
  margin-top:
    20px;

  justify-content:
    flex-end;
}


/* ---------------------------------------------------------
   CAMBIO DE CONTRASEÑA
   Distribución VERTICAL
   --------------------------------------------------------- */

.account-password-form {
  width:
    100%;
}


.account-password-form
.activity-form-grid {
  display:
    grid;

  grid-template-columns:
    minmax(0, 1fr);

  gap:
    20px;

  width:
    min(
      760px,
      100%
    );

  margin:
    0 auto;
}


/*
 * Cada campo queda en su propia fila.
 */
.account-password-form
.admin-field {
  width:
    100%;

  min-width:
    0;
}


.account-password-form
.admin-field > span {
  display:
    block;

  margin-bottom:
    8px;
}


.account-password-input {
  width:
    100%;

  min-height:
    54px;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  box-sizing:
    border-box;
}


.account-password-input input {
  min-width:
    0;

  min-height:
    52px;

  padding:
    0 16px;

  box-sizing:
    border-box;
}


.account-password-toggle {
  min-width:
    105px;

  min-height:
    52px;

  padding:
    0 15px;

  box-sizing:
    border-box;
}


/*
 * Nota de seguridad alineada con
 * el ancho real del formulario.
 */
.account-password-form
.account-security-note {
  width:
    min(
      760px,
      100%
    );

  box-sizing:
    border-box;

  margin:
    24px auto 0;

  padding:
    17px 20px;
}


/*
 * Botón separado de los campos:
 * evita sensación de superposición.
 */
.account-password-form
.admin-form-actions {
  width:
    min(
      760px,
      100%
    );

  margin:
    22px auto 0;

  display:
    flex;

  justify-content:
    flex-end;
}


.account-password-form
.admin-form-actions
.button {
  min-width:
    220px;

  min-height:
    48px;
}


/* ---------------------------------------------------------
   SESIONES
   --------------------------------------------------------- */

.account-session-list {
  gap:
    18px;
}


.account-session-card {
  overflow:
    hidden;
}


.account-session-card > header {
  align-items:
    center;

  padding:
    18px 21px;
}


.account-session-grid {
  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap:
    10px;

  padding:
    18px 21px 20px;
}


.account-session-grid > div {
  min-width:
    0;

  padding:
    13px 14px;
}


.account-session-grid strong {
  display:
    block;

  overflow-wrap:
    anywhere;

  line-height:
    1.45;
}


/* ---------------------------------------------------------
   HEADER MI CUENTA
   --------------------------------------------------------- */

.account-v2-shell ~ * {
  box-sizing:
    border-box;
}


body.admin-body
.admin-header-actions {
  align-items:
    center;

  gap:
    12px;
}


body.admin-body
.admin-header-actions
form {
  margin:
    0;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 980px) {

  .account-v2-shell
  .admin-section {
    padding:
      30px;
  }


  .account-identity
  .budget-readout {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }


  .account-session-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

}


/* ---------------------------------------------------------
   MÓVIL
   --------------------------------------------------------- */

@media (max-width: 620px) {

  .account-v2-shell {
    gap:
      18px;
  }


  .account-v2-shell
  .admin-section {
    padding:
      24px 20px;
  }


  .account-identity
  .budget-readout {
    grid-template-columns:
      1fr;
  }


  .account-identity
  .admin-form-actions {
    justify-content:
      stretch;
  }


  .account-identity
  .admin-form-actions
  .button {
    width:
      100%;
  }


  .account-password-form
  .activity-form-grid,
  .account-password-form
  .account-security-note,
  .account-password-form
  .admin-form-actions {
    width:
      100%;
  }


  .account-password-input {
    min-height:
      58px;
  }


  .account-password-input input {
    min-height:
      56px;

    font-size:
      16px;
  }


  .account-password-toggle {
    min-width:
      96px;

    min-height:
      56px;
  }


  .account-password-form
  .admin-form-actions {
    justify-content:
      stretch;
  }


  .account-password-form
  .admin-form-actions
  .button {
    width:
      100%;

    min-width:
      0;

    min-height:
      52px;
  }


  .account-session-grid {
    grid-template-columns:
      1fr;
  }


  .account-session-card > header {
    align-items:
      flex-start;
  }

}


/* =========================================================
   ECIE EXPERIENCE · EQUIPO ADMINISTRADOR ALIGNMENT
   ========================================================= */

/*
 * Solo afecta el botón Equipo administrador
 * dentro del bloque Identidad administrativa.
 */

.account-identity {
  position:
    relative;
}


@media (min-width: 901px) {

  .account-identity
  .admin-form-actions {
    position:
      absolute;

    top:
      36px;

    right:
      40px;

    margin:
      0;

    width:
      auto;

    justify-content:
      flex-end;
  }


  .account-identity
  .admin-form-actions
  .button {
    min-height:
      44px;

    display:
      inline-flex;

    align-items:
      center;

    justify-content:
      center;

    padding:
      0 20px;

    white-space:
      nowrap;
  }


  /*
   * Reserva espacio para que un nombre largo
   * nunca se superponga con el botón.
   */

  .account-identity
  .admin-section-title {
    padding-right:
      230px;
  }

}


/*
 * Tablet/móvil:
 * vuelve al flujo normal para evitar
 * apretar el encabezado.
 */

@media (max-width: 900px) {

  .account-identity
  .admin-form-actions {
    position:
      static;

    width:
      100%;

    margin-top:
      20px;

    justify-content:
      flex-start;
  }


  .account-identity
  .admin-section-title {
    padding-right:
      0;
  }

}


@media (max-width: 620px) {

  .account-identity
  .admin-form-actions
  .button {
    width:
      100%;
  }

}


/* =========================================================
   ECIE EXPERIENCE · ADMIN UI ALIGNMENT V1
   Consistencia general + Team vertical
   ========================================================= */


/* ---------------------------------------------------------
   1. BOTONES ADMIN · MISMA ALTURA Y ALINEACIÓN
   --------------------------------------------------------- */

.admin-body
.button,
.admin-body
button.button,
.admin-body
a.button {
  min-height:
    46px;

  box-sizing:
    border-box;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0 18px;

  border-radius:
    0;

  line-height:
    1;

  font-size:
    9px;

  font-weight:
    800;

  text-decoration:
    none;

  white-space:
    nowrap;

  vertical-align:
    middle;
}


/*
 * Evita que formularios que contienen botones
 * agreguen espacios externos diferentes.
 */

.admin-body
.admin-form-actions form,
.admin-body
.admin-header-actions form,
.admin-body
.admin-session-control form {
  margin:
    0;
}


/* ---------------------------------------------------------
   2. FILAS DE ACCIONES · CONSISTENCIA GLOBAL
   --------------------------------------------------------- */

.admin-body
.admin-form-actions {
  display:
    flex;

  flex-wrap:
    wrap;

  align-items:
    center;

  justify-content:
    flex-end;

  gap:
    10px;
}


.admin-body
.admin-header-actions {
  display:
    flex;

  flex-wrap:
    wrap;

  align-items:
    center;

  justify-content:
    flex-end;

  gap:
    10px;
}


/* ---------------------------------------------------------
   3. INPUTS / SELECTS ADMIN · ALTURA UNIFORME
   --------------------------------------------------------- */

.admin-body
.admin-field
input:not([type="checkbox"]):not([type="radio"]),
.admin-body
.admin-field
select {
  width:
    100%;

  min-width:
    0;

  min-height:
    48px;

  box-sizing:
    border-box;
}


.admin-body
.admin-field
textarea {
  width:
    100%;

  min-width:
    0;

  box-sizing:
    border-box;
}


/* ---------------------------------------------------------
   4. TEAM · CREAR MIEMBRO EN VERTICAL
   --------------------------------------------------------- */

.admin-body
form[action="/admin/team"].activity-form {
  width:
    100%;
}


.admin-body
form[action="/admin/team"]
.activity-form-grid {
  width:
    min(
      760px,
      100%
    );

  margin:
    0 auto;

  display:
    grid;

  grid-template-columns:
    minmax(0, 1fr);

  gap:
    19px;
}


/*
 * Anula spans/grid-columns anteriores
 * únicamente dentro de Crear miembro.
 */

.admin-body
form[action="/admin/team"]
.activity-form-grid > * {
  grid-column:
    1 / -1 !important;

  width:
    100%;

  min-width:
    0;

  box-sizing:
    border-box;
}


.admin-body
form[action="/admin/team"]
.admin-field {
  width:
    100%;
}


.admin-body
form[action="/admin/team"]
.admin-field > span {
  display:
    block;

  margin-bottom:
    8px;
}


/*
 * Rol también ocupa el mismo ancho visual
 * que nombre/correo/contraseña.
 */

.admin-body
form[action="/admin/team"]
select[name="role"] {
  width:
    100%;
}


/*
 * CTA final separado y alineado.
 */

.admin-body
form[action="/admin/team"]
.admin-form-actions {
  width:
    min(
      760px,
      100%
    );

  margin:
    24px auto 0;

  justify-content:
    flex-end;
}


.admin-body
form[action="/admin/team"]
.admin-form-actions
.button {
  min-width:
    210px;
}


/* ---------------------------------------------------------
   5. TARJETAS DEL EQUIPO
   --------------------------------------------------------- */

.admin-team-card
.admin-form-actions {
  padding:
    16px 20px;

  margin:
    0;

  border-top:
    1px solid
    #E2D6C7;
}


.admin-team-card
.admin-form-actions
.button {
  min-width:
    145px;
}


/*
 * Selector de rol dentro de una tarjeta:
 * no queda pequeño al lado del botón.
 */

.admin-team-card
.admin-form-actions
.admin-field {
  flex:
    1 1 280px;

  margin:
    0;
}


.admin-team-card
.admin-form-actions
.admin-field select {
  min-height:
    46px;
}


/* ---------------------------------------------------------
   6. BOTONES SECUNDARIOS / DE BORRADO
   --------------------------------------------------------- */

.admin-body
.activity-delete-form {
  display:
    flex;

  justify-content:
    flex-end;

  margin:
    0;

  padding:
    0 20px 18px;
}


.admin-body
.activity-delete-form button {
  min-height:
    42px;

  box-sizing:
    border-box;

  padding:
    0 16px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  white-space:
    nowrap;
}


/* ---------------------------------------------------------
   7. TEAM · ESPACIADO DEL CONTENEDOR
   --------------------------------------------------------- */

.admin-team-list {
  gap:
    18px;
}


.admin-team-card {
  overflow:
    hidden;
}


.admin-team-card > header {
  align-items:
    center;
}


/* ---------------------------------------------------------
   8. TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .admin-body
  form[action="/admin/team"]
  .activity-form-grid,
  .admin-body
  form[action="/admin/team"]
  .admin-form-actions {
    width:
      100%;
  }

}


/* ---------------------------------------------------------
   9. MÓVIL
   --------------------------------------------------------- */

@media (max-width: 620px) {

  .admin-body
  .admin-form-actions {
    width:
      100%;

    flex-direction:
      column;

    align-items:
      stretch;
  }


  .admin-body
  .admin-form-actions
  .button,
  .admin-body
  .admin-form-actions
  button {
    width:
      100%;

    min-width:
      0;
  }


  .admin-body
  .admin-header-actions {
    width:
      100%;

    align-items:
      stretch;
  }


  .admin-body
  .admin-header-actions
  .button,
  .admin-body
  .admin-header-actions
  button {
    min-height:
      44px;
  }


  .admin-body
  form[action="/admin/team"]
  .activity-form-grid {
    gap:
      16px;
  }


  .admin-body
  .admin-field
  input:not([type="checkbox"]):not([type="radio"]),
  .admin-body
  .admin-field
  select {
    min-height:
      54px;
  }


  .admin-team-card
  .admin-form-actions {
    padding:
      16px;
  }

}


/* =========================================================
   ECIE EXPERIENCE · TEAM ROLE ALIGNMENT FINAL
   ========================================================= */

/*
 * Formulario Cambiar rol:
 * selector + botón en una sola fila,
 * misma altura y alineación.
 */

.admin-team-card
form[action*="/role"].admin-form-actions {
  display:
    grid;

  grid-template-columns:
    minmax(0, 1fr)
    170px;

  gap:
    12px;

  align-items:
    end;

  padding:
    16px 20px;

  margin:
    0;
}


.admin-team-card
form[action*="/role"]
.admin-field {
  width:
    100%;

  min-width:
    0;

  margin:
    0;
}


.admin-team-card
form[action*="/role"]
.admin-field > span {
  display:
    block;

  margin-bottom:
    8px;
}


.admin-team-card
form[action*="/role"]
select {
  width:
    100%;

  min-height:
    48px;

  box-sizing:
    border-box;
}


.admin-team-card
form[action*="/role"]
.button {
  width:
    170px;

  min-width:
    170px;

  min-height:
    48px;

  margin:
    0;

  align-self:
    end;
}


/*
 * Desactivar / Reactivar:
 * se mantiene alineado a la derecha
 * con el mismo ancho visual.
 */

.admin-team-card
form[action*="/status"].admin-form-actions {
  justify-content:
    flex-end;
}


.admin-team-card
form[action*="/status"]
.button {
  width:
    170px;

  min-width:
    170px;

  min-height:
    48px;
}


/* Tablet / móvil */

@media (max-width: 700px) {

  .admin-team-card
  form[action*="/role"].admin-form-actions {
    grid-template-columns:
      1fr;
  }


  .admin-team-card
  form[action*="/role"]
  .button,
  .admin-team-card
  form[action*="/status"]
  .button {
    width:
      100%;

    min-width:
      0;
  }

}


/* =========================================================
   ECIE EXPERIENCE · MEMBER SELF PASSWORD 7L.6
   ========================================================= */

.team-self-password-note {
  width:
    100%;

  box-sizing:
    border-box;

  padding:
    15px 17px;

  border-left:
    3px solid
    #1F3D2E;

  background:
    #EAF0E9;
}


.team-self-password-note strong {
  color:
    #1F3D2E;

  font-size:
    9px;
}


.team-self-password-note p {
  margin:
    4px 0 0;

  color:
    #697269;

  font-size:
    8px;

  line-height:
    1.55;
}


.team-delete-access {
  border-color:
    #9B3047 !important;

  color:
    #8A223A !important;
}


.team-delete-access:hover {
  background:
    #8A223A !important;

  color:
    #FFFFFF !important;
}


.team-setup-url {
  display:
    block;

  margin-top:
    24px;
}


.team-setup-url input {
  width:
    100%;

  min-height:
    50px;

  box-sizing:
    border-box;

  font-family:
    monospace;

  font-size:
    10px;
}


/* =========================================================
   ECIE EXPERIENCE · PASSWORD RECOVERY 7L.7
   ========================================================= */

.ecie-login-forgot {
  display:
    flex;

  justify-content:
    flex-end;

  margin-top:
    -7px;
}


.ecie-login-forgot a,
.ecie-recovery-back a {
  color:
    #721329;

  font-size:
    9px;

  font-weight:
    800;

  text-decoration:
    none;
}


.ecie-login-forgot a:hover,
.ecie-recovery-back a:hover {
  text-decoration:
    underline;
}


.ecie-recovery-back {
  margin-top:
    24px;

  padding-top:
    18px;

  border-top:
    1px solid
    #E3D8CA;
}


@media (max-width: 620px) {

  .ecie-login-forgot a,
  .ecie-recovery-back a {
    font-size:
      9.5px;
  }

}


/* =========================================================
   ECIE EXPERIENCE · TEAM DELETE BUTTON ALIGNMENT FINAL
   ========================================================= */

/*
 * Eliminar acceso comparte exactamente
 * dimensiones y alineación con Desactivar
 * y Cambiar rol.
 */

.admin-team-card
form[action*="/archive"].admin-form-actions {
  display:
    flex;

  align-items:
    center;

  justify-content:
    flex-end;

  gap:
    12px;

  margin:
    0;

  padding:
    16px 20px;
}


.admin-team-card
form[action*="/archive"]
.team-delete-access {
  width:
    170px;

  min-width:
    170px;

  min-height:
    48px;

  height:
    48px;

  margin:
    0;

  padding:
    0 18px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  box-sizing:
    border-box;
}


/* Móvil */

@media (max-width: 700px) {

  .admin-team-card
  form[action*="/archive"]
  .team-delete-access {
    width:
      100%;

    min-width:
      0;
  }

}


/* =========================================================
   ECIE EXPERIENCE · GLOBAL TOAST V1
   ========================================================= */

.ecie-toast-host {
  position:
    fixed;

  top:
    22px;

  right:
    22px;

  width:
    min(
      390px,
      calc(100vw - 32px)
    );

  display:
    flex;

  flex-direction:
    column;

  gap:
    11px;

  z-index:
    99999;

  pointer-events:
    none;
}


.ecie-toast {
  width:
    100%;

  min-height:
    74px;

  padding:
    15px 14px;

  border:
    1px solid
    #DED2C4;

  border-left-width:
    4px;

  background:
    rgba(
      255,
      253,
      248,
      .98
    );

  box-shadow:
    0 18px 48px
    rgba(
      55,
      42,
      33,
      .16
    );

  display:
    grid;

  grid-template-columns:
    34px
    minmax(0, 1fr)
    28px;

  gap:
    11px;

  align-items:
    start;

  opacity:
    0;

  transform:
    translateY(-10px);

  transition:
    opacity .20s ease,
    transform .20s ease;

  pointer-events:
    auto;
}


.ecie-toast.visible {
  opacity:
    1;

  transform:
    translateY(0);
}


.ecie-toast.leaving {
  opacity:
    0;

  transform:
    translateY(-8px);
}


.ecie-toast.success {
  border-left-color:
    #1F3D2E;
}


.ecie-toast.error {
  border-left-color:
    #8E203B;
}


.ecie-toast.warning {
  border-left-color:
    #B58A46;
}


.ecie-toast.info {
  border-left-color:
    #66736C;
}


.ecie-toast-icon {
  width:
    30px;

  height:
    30px;

  border:
    1px solid
    #D6C9BA;

  border-radius:
    50%;

  display:
    grid;

  place-items:
    center;

  font-family:
    Georgia,
    serif;

  font-size:
    15px;

  font-weight:
    700;
}


.ecie-toast.success
.ecie-toast-icon {
  color:
    #1F3D2E;

  border-color:
    #A8B8AA;
}


.ecie-toast.error
.ecie-toast-icon {
  color:
    #8E203B;

  border-color:
    #D8A8B3;
}


.ecie-toast.warning
.ecie-toast-icon {
  color:
    #936C30;

  border-color:
    #D8C39F;
}


.ecie-toast-content {
  min-width:
    0;
}


.ecie-toast-content strong {
  display:
    block;

  margin:
    1px 0 5px;

  color:
    #392F2A;

  font-family:
    Georgia,
    'Times New Roman',
    serif;

  font-size:
    15px;

  font-weight:
    400;
}


.ecie-toast-content p {
  margin:
    0;

  color:
    #766B63;

  font-size:
    11px;

  line-height:
    1.55;
}


.ecie-toast-close {
  width:
    28px;

  height:
    28px;

  padding:
    0;

  border:
    0;

  background:
    transparent;

  color:
    #897D73;

  font-size:
    20px;

  line-height:
    1;

  cursor:
    pointer;
}


.ecie-toast-close:hover {
  color:
    #721329;
}


@media (max-width: 620px) {

  .ecie-toast-host {
    top:
      12px;

    right:
      12px;

    left:
      12px;

    width:
      auto;
  }


  .ecie-toast {
    min-height:
      68px;
  }

}


/* =========================================================
   ECIE EXPERIENCE · PASSWORD POLICY HINT V1
   ========================================================= */

.ecie-password-policy-hint {
  margin:
    -4px 0 19px;

  color:
    #776C64;

  font-size:
    10px;

  line-height:
    1.55;
}


@media (max-width: 620px) {

  .ecie-password-policy-hint {
    font-size:
      11px;
  }

}


/* =========================================================
   ECIE EXPERIENCE · MOBILE ADMIN HEADER ALIGNMENT V1
   Mi cuenta / Cerrar sesión
   Admin local / Ver portal
   ========================================================= */

@media (max-width: 620px) {

  /*
   * Header completo en una sola columna.
   */
  .admin-body
  .admin-header-inner {
    display:
      flex;

    flex-direction:
      column;

    align-items:
      stretch;

    gap:
      16px;

    width:
      100%;
  }


  /*
   * Bloque de identidad / sesión.
   */
  .admin-body
  .admin-session-control {
    width:
      100%;

    display:
      grid;

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

    gap:
      10px;

    align-items:
      stretch;
  }


  /*
   * Segunda fila:
   * Admin local / Ver portal.
   */
  .admin-body
  .admin-header-actions {
    width:
      100%;

    display:
      grid;

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

    gap:
      10px;

    align-items:
      stretch;

    justify-content:
      stretch;
  }


  /*
   * Formularios internos no deben
   * alterar ancho ni alineación.
   */
  .admin-body
  .admin-session-control form,
  .admin-body
  .admin-header-actions form {
    width:
      100%;

    margin:
      0;
  }


  /*
   * Los cuatro controles comparten
   * exactamente dimensiones.
   */
  .admin-body
  .admin-session-control > a,
  .admin-body
  .admin-session-control form > button,
  .admin-body
  .admin-header-actions > a,
  .admin-body
  .admin-header-actions form > button,
  .admin-body
  .admin-header-actions .button,
  .admin-body
  .admin-session-control .button {
    width:
      100%;

    min-width:
      0;

    min-height:
      54px;

    height:
      54px;

    margin:
      0;

    padding:
      0 12px;

    box-sizing:
      border-box;

    display:
      inline-flex;

    align-items:
      center;

    justify-content:
      center;

    text-align:
      center;

    white-space:
      nowrap;
  }


  /*
   * Evita desplazamientos heredados
   * de desktop.
   */
  .admin-body
  .admin-session-control,
  .admin-body
  .admin-header-actions {
    margin-left:
      0;

    margin-right:
      0;
  }

}


/*
 * Pantallas muy estrechas:
 * conservamos dos columnas mientras
 * exista espacio suficiente.
 */
@media (max-width: 380px) {

  .admin-body
  .admin-session-control,
  .admin-body
  .admin-header-actions {
    gap:
      8px;
  }


  .admin-body
  .admin-session-control > a,
  .admin-body
  .admin-session-control form > button,
  .admin-body
  .admin-header-actions > a,
  .admin-body
  .admin-header-actions form > button,
  .admin-body
  .admin-header-actions .button,
  .admin-body
  .admin-session-control .button {
    padding:
      0 8px;

    font-size:
      8px;
  }

}


/* =========================================================
   ECIE EXPERIENCE · PREAGENDA REORDER V1
   ========================================================= */

.preagenda-reorder-toolbar {
  margin:
    22px 0;

  padding:
    18px 20px;

  border:
    1px solid
    #DED2C4;

  background:
    #F8F3E9;

  display:
    grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap:
    20px;

  align-items:
    center;
}


.preagenda-reorder-toolbar strong {
  display:
    block;

  color:
    #721329;

  font-family:
    Georgia,
    serif;

  font-size:
    17px;

  font-weight:
    400;
}


.preagenda-reorder-toolbar p {
  margin:
    5px 0 0;

  color:
    #756A62;

  font-size:
    11px;

  line-height:
    1.55;
}


.preagenda-reorder-toolbar button {
  min-height:
    46px;
}


.preagenda-reorder-toolbar button:disabled {
  opacity:
    .45;

  cursor:
    not-allowed;
}


.activity-reorder-strip {
  padding:
    10px 14px;

  border-bottom:
    1px solid
    #E1D6C8;

  display:
    grid;

  grid-template-columns:
    42px
    minmax(0, 1fr)
    auto;

  gap:
    10px;

  align-items:
    center;

  background:
    #F5EEE4;
}


.activity-reorder-handle {
  width:
    34px;

  height:
    34px;

  border:
    1px solid
    #CDBB9F;

  display:
    grid;

  place-items:
    center;

  color:
    #721329;

  cursor:
    grab;

  user-select:
    none;

  font-size:
    18px;
}


.activity-reorder-handle:active {
  cursor:
    grabbing;
}


.activity-reorder-position {
  color:
    #76695F;

  font-size:
    9px;

  font-weight:
    800;

  letter-spacing:
    .12em;

  text-transform:
    uppercase;
}


.activity-reorder-buttons {
  display:
    flex;

  gap:
    7px;
}


.activity-reorder-buttons button {
  width:
    38px;

  height:
    38px;

  border:
    1px solid
    #CAB9A5;

  background:
    #FFFDF8;

  color:
    #721329;

  cursor:
    pointer;

  font-size:
    17px;

  font-weight:
    700;
}


.activity-reorder-buttons button:hover:not(:disabled) {
  background:
    #721329;

  color:
    #FFFFFF;
}


.activity-reorder-buttons button:disabled {
  opacity:
    .28;

  cursor:
    not-allowed;
}


.activity-reorder-dragging {
  opacity:
    .50;

  outline:
    2px dashed
    #D4AF37;

  outline-offset:
    2px;
}


@media (max-width: 620px) {

  .preagenda-reorder-toolbar {
    grid-template-columns:
      1fr;

    gap:
      14px;

    padding:
      16px;
  }


  .preagenda-reorder-toolbar
  .button {
    width:
      100%;
  }


  .activity-reorder-strip {
    grid-template-columns:
      36px
      minmax(0, 1fr)
      auto;

    padding:
      9px 10px;
  }


  /*
   * En móvil ↑ ↓ es el mecanismo principal.
   * Arrastrar queda disponible donde el
   * navegador lo soporte.
   */
  .activity-reorder-buttons button {
    width:
      42px;

    height:
      42px;
  }

}


/* =========================================================
   ECIE EXPERIENCE · ACTIVITY ORDER READONLY V1
   ========================================================= */

.activity-order-readonly
.activity-order-display {
  min-height:
    48px;

  padding:
    0 14px;

  border:
    1px solid
    #D8CBBE;

  background:
    #F1EBE3;

  display:
    flex;

  align-items:
    center;

  color:
    #721329;

  font-size:
    14px;

  font-weight:
    800;
}


.activity-order-readonly small {
  display:
    block;

  margin-top:
    6px;

  color:
    #84776D;

  font-size:
    8px;

  line-height:
    1.4;
}



/* =========================================================
   ECIE EXPERIENCE · PREAGENDA PUBLISH TOOLBAR V1
   ========================================================= */

.preagenda-publish-toolbar {
  margin:
    14px 0 24px;

  padding:
    18px 20px;

  border:
    1px solid
    #CBB88E;

  background:
    #FFFDF8;

  display:
    grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap:
    20px;

  align-items:
    center;
}


.preagenda-publish-toolbar strong {
  display:
    block;

  color:
    #1F3D2E;

  font-family:
    Georgia,
    serif;

  font-size:
    17px;

  font-weight:
    400;
}


.preagenda-publish-toolbar p {
  margin:
    5px 0 0;

  color:
    #756A62;

  font-size:
    11px;

  line-height:
    1.55;
}


@media (max-width: 620px) {

  .preagenda-publish-toolbar {
    grid-template-columns:
      1fr;

    padding:
      16px;
  }


  .preagenda-publish-toolbar
  .button {
    width:
      100%;
  }

}


/* =========================================================
   ECIE EXPERIENCE · PREAGENDA PUBLISH TOOLBAR V1
   ========================================================= */

.preagenda-publish-toolbar {
  margin:
    14px 0 24px;

  padding:
    18px 20px;

  border:
    1px solid
    #CBB88E;

  background:
    #FFFDF8;

  display:
    grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap:
    20px;

  align-items:
    center;
}


.preagenda-publish-toolbar strong {
  display:
    block;

  color:
    #1F3D2E;

  font-family:
    Georgia,
    serif;

  font-size:
    17px;

  font-weight:
    400;
}


.preagenda-publish-toolbar p {
  margin:
    5px 0 0;

  color:
    #756A62;

  font-size:
    11px;

  line-height:
    1.55;
}


@media (max-width: 620px) {

  .preagenda-publish-toolbar {
    grid-template-columns:
      1fr;

    padding:
      16px;
  }


  .preagenda-publish-toolbar
  .button {
    width:
      100%;
  }

}


/* =========================================================
   ECIE EXPERIENCE · PREAGENDA CORE FIELDS GRID V1
   =========================================================
   Desktop:
   Visibilidad   | Planificación
   Inicio        | Final

   Mobile:
   una columna para preservar legibilidad.
   ========================================================= */

.activity-core-fields-grid {
  grid-column:
    1 / -1;

  width:
    100%;

  min-width:
    0;

  display:
    grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap:
    18px 22px;

  align-items:
    start;
}


.activity-core-fields-grid
.admin-field {
  min-width:
    0;

  width:
    100%;

  margin:
    0;
}


.activity-core-fields-grid
input,

.activity-core-fields-grid
select {
  box-sizing:
    border-box;

  width:
    100%;

  min-width:
    0;
}


.activity-core-fields-grid
input[type="datetime-local"] {
  width:
    100%;

  min-height:
    52px;
}


.activity-core-fields-grid
select {
  min-height:
    52px;
}


/*
 * Evita que controles nativos de fecha/hora
 * provoquen columnas de anchos extraños.
 */
.activity-core-fields-grid
input::-webkit-datetime-edit {
  min-width:
    0;
}


@media (max-width: 620px) {

  .activity-core-fields-grid {
    grid-template-columns:
      minmax(0, 1fr);

    gap:
      14px;
  }

}


/* =========================================================
   ECIE EXPERIENCE · PUBLIC ACTIVITY AUTO VISUAL V1
   ========================================================= */

.timeline-card[data-public-activity] {
  position: relative;
  min-width: 0;
}


.timeline-card
.timeline-symbol {
  min-height: 34px;

  display: flex;
  align-items: center;

  color: #721329;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 28px;
  line-height: 1;
}


.timeline-card[
  data-activity-kind="ceremony"
]
.timeline-symbol {
  font-size: 27px;
}


.timeline-card[
  data-activity-kind="generic"
]
.timeline-symbol {
  font-size: 25px;
}


.timeline {
  align-items: stretch;
}


.timeline-card h3,
.timeline-card p {
  overflow-wrap: anywhere;
}


@media (max-width: 620px) {

  .timeline-card
  .timeline-symbol {
    font-size: 25px;
  }

}


/* =========================================================
   ECIE EXPERIENCE · PREAGENDA SAFETY V1
   ========================================================= */

.ecie-schedule-invalid {
  border-color:
    #721329 !important;

  outline:
    2px solid rgba(114, 19, 41, .14);

  outline-offset:
    1px;
}



/* =========================================================
   ECIE EXPERIENCE · PREAGENDA AUTO ORDER NOTE
   ========================================================= */

.activity-auto-order-note {
  grid-column:
    1 / -1;

  padding:
    12px 14px;

  border:
    1px solid #DCC6A8;

  background:
    #F8F3E9;
}


.activity-auto-order-note strong {
  display:
    block;

  color:
    #721329;

  font-size:
    10px;

  font-weight:
    800;

  letter-spacing:
    .08em;

  text-transform:
    uppercase;
}


.activity-auto-order-note span {
  display:
    block;

  margin-top:
    4px;

  color:
    #756A62;

  font-size:
    10px;

  line-height:
    1.5;
}



/* =========================================================
   ECIE EXPERIENCE · RESPONSIBLE SELECT V1
   ========================================================= */

.activity-responsible-warning {
  display:
    block;

  margin-top:
    6px;

  color:
    #721329;

  font-size:
    9px;

  font-weight:
    700;

  line-height:
    1.45;
}



/* =========================================================
   ECIE EXPERIENCE · CHECKLIST RESPONSIBLE V2
   ========================================================= */

.task-auto-order-note {
  margin:
    4px 0 14px;

  padding:
    11px 13px;

  border:
    1px solid #DCC6A8;

  background:
    #F8F3E9;
}


.task-auto-order-note strong {
  display:
    block;

  color:
    #721329;

  font-size:
    10px;

  font-weight:
    800;

  letter-spacing:
    .07em;

  text-transform:
    uppercase;
}


.task-auto-order-note span {
  display:
    block;

  margin-top:
    3px;

  color:
    #756A62;

  font-size:
    10px;

  line-height:
    1.45;
}



/* =========================================================
   ECIE EXPERIENCE · CHECKLIST SIMPLE UX V1
   ========================================================= */

/*
 * Formularios del Checklist:
 * una sola columna.
 */
.ecie-checklist-form {
  display:
    grid !important;

  grid-template-columns:
    minmax(0, 1fr) !important;

  gap:
    18px !important;

  width:
    100%;

  max-width:
    none;
}


/*
 * Cualquier grid interno del viejo diseño
 * también pasa a una columna.
 */
.ecie-checklist-form [class*="grid"] {
  grid-template-columns:
    minmax(0, 1fr) !important;

  column-gap:
    0 !important;

  row-gap:
    16px !important;
}


/*
 * Todos los campos ocupan ancho completo.
 */
.ecie-checklist-form label,
.ecie-checklist-form fieldset {
  width:
    100% !important;

  max-width:
    none !important;

  margin:
    0 !important;
}


.ecie-checklist-form input:not([type="checkbox"]),
.ecie-checklist-form textarea,
.ecie-checklist-form select {
  display:
    block;

  width:
    100% !important;

  max-width:
    none !important;

  box-sizing:
    border-box;
}


/*
 * Título / textarea.
 */
.ecie-checklist-form textarea {
  min-height:
    110px;
}


/*
 * Checkbox Readiness.
 *
 * Evita la caja alta y estrecha
 * mostrada en la captura.
 */
.ecie-checklist-required {
  display:
    flex !important;

  flex-direction:
    row !important;

  align-items:
    center !important;

  justify-content:
    flex-start !important;

  gap:
    10px !important;

  width:
    100% !important;

  padding:
    12px 14px !important;

  border:
    1px solid #DCC6A8;

  background:
    #F8F3E9;
}


.ecie-checklist-required input[type="checkbox"] {
  flex:
    0 0 auto;

  width:
    18px !important;

  height:
    18px !important;

  margin:
    0 !important;
}


/*
 * Acciones alineadas a la izquierda,
 * no flotando al extremo derecho.
 */
.ecie-checklist-form .admin-form-actions,
.ecie-checklist-form [class*="actions"] {
  display:
    flex !important;

  justify-content:
    flex-start !important;

  align-items:
    center !important;

  gap:
    10px !important;

  width:
    100%;
}


/*
 * Nueva tarea pasa a ser secundaria.
 */
.ecie-checklist-additional {
  margin-top:
    36px !important;

  padding-top:
    26px !important;

  border-top:
    1px solid #DCC6A8;
}


.ecie-checklist-additional > .admin-section-title {
  margin-bottom:
    16px;
}


.ecie-checklist-add-toggle {
  margin:
    0 0 18px;
}


.ecie-checklist-create-form[hidden] {
  display:
    none !important;
}


/*
 * Ocultamos la nota técnica antigua
 * aunque exista en HTML.
 */
.ecie-checklist-form .task-auto-order-note {
  display:
    none !important;
}


/*
 * Tarjeta de tarea:
 * más aire y lectura vertical.
 */
.ecie-checklist-task-form {
  padding-top:
    8px;
}


@media (max-width: 760px) {

  .ecie-checklist-form {
    gap:
      14px !important;
  }


  .ecie-checklist-required {
    padding:
      10px 12px !important;
  }

}



/* =========================================================
   ECIE EXPERIENCE · CHECKLIST INHERITED RESPONSIBILITY V1
   ========================================================= */

.ecie-checklist-form {
  display:
    grid !important;

  grid-template-columns:
    minmax(0, 1fr) !important;

  gap:
    16px !important;
}


/*
 * Impide que reglas antiguas creen
 * columnas implícitas.
 */
.ecie-checklist-form > *,
.ecie-checklist-form [class*="grid"] > * {
  grid-column:
    1 / -1 !important;

  width:
    100% !important;

  max-width:
    none !important;
}


.ecie-checklist-form [class*="grid"] {
  display:
    grid !important;

  grid-template-columns:
    minmax(0, 1fr) !important;

  gap:
    16px !important;
}


.ecie-checklist-readonly {
  display:
    flex;

  flex-direction:
    column;

  gap:
    6px;

  width:
    100%;

  padding:
    13px 14px;

  box-sizing:
    border-box;

  border:
    1px solid #DCC6A8;

  background:
    #F8F3E9;
}


.ecie-checklist-readonly span {
  color:
    #8A6B42;

  font-size:
    10px;

  font-weight:
    800;

  letter-spacing:
    .08em;

  text-transform:
    uppercase;
}


.ecie-checklist-readonly strong {
  color:
    #493C34;

  font-size:
    14px;

  font-weight:
    600;
}


.ecie-inherited-note {
  display:
    block;

  margin-top:
    6px;

  color:
    #756A62;

  font-size:
    10px;

  line-height:
    1.45;
}


.ecie-checklist-form textarea,
.ecie-checklist-form select,
.ecie-checklist-form input:not([type="checkbox"]) {
  width:
    100% !important;

  max-width:
    none !important;

  box-sizing:
    border-box;
}


.ecie-checklist-task-form textarea {
  min-height:
    100px;
}


.ecie-checklist-form .admin-form-actions,
.ecie-checklist-form [class*="actions"] {
  display:
    flex !important;

  justify-content:
    flex-start !important;

  grid-column:
    1 / -1 !important;

  width:
    100% !important;
}



/* =========================================================
   ECIE GUEST INVITATION TOOLS V1
   ========================================================= */

.guest-invitation-tools {
  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    8px;

  margin-top:
    10px;
}


.guest-invitation-tools
.button {
  min-height:
    38px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  text-decoration:
    none;
}


@media (
  max-width:
    620px
) {

  .guest-invitation-tools {
    flex-direction:
      column;
  }


  .guest-invitation-tools
  .button {
    width:
      100%;
  }

}



/* =========================================================
   ECIE AI DIRECTOR · RESOLUTION GUIDE
   ========================================================= */

.director-resolution-guide {
  display: grid;
  grid-template-columns:
    minmax(150px, .45fr)
    minmax(280px, 1fr)
    auto;
  gap: 16px;
  align-items: center;
  margin: 14px 0 18px;
  padding: 16px;
  border: 1px solid #DCC6A8;
  border-left: 5px solid #D4AF37;
  border-radius: 14px;
  background: #F8F3E9;
}


.director-resolution-guide small {
  display: block;
  margin-bottom: 5px;
  color: #927939;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}


.director-resolution-guide strong {
  color: #721329;
}


.director-resolution-guide p {
  margin: 0;
  color: #5f5048;
  line-height: 1.5;
}


.director-chat-resolution {
  display: grid;
  gap: 4px;
  margin-top: 9px;
  padding: 9px 10px;
  border-left: 3px solid #D4AF37;
  border-radius: 8px;
  background: #F8F3E9;
}


.director-chat-resolution strong {
  color: #721329;
  font-size: 12px;
}


.director-chat-resolution p {
  margin: 0;
  font-size: 12px;
}


@media (max-width: 760px) {

  .director-resolution-guide {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

}

/* ===========================================================
   ECIE · GUÍA PÚBLICA / FAQ V3 · estilos estrictamente acotados
   =========================================================== */
.ecie-guide-admin { margin: 28px 0; padding: 24px; border: 1px solid #DCC6A8; background: #F8F3E9; border-radius: 12px; }
.ecie-guide-heading { margin: 0 0 18px; }
.ecie-guide-heading h3, .ecie-guide-heading h4 { color: #721329; margin: 4px 0 8px; }
.ecie-guide-heading p { color: #51463E; margin: 4px 0 14px; }
.ecie-guide-admin .admin-form-grid { margin-bottom: 22px; }
.ecie-guide-admin .admin-field textarea, .ecie-faq-edit-row textarea { width: 100%; padding: 12px; border: 1px solid #DCC6A8; border-radius: 6px; font: inherit; color: #332923; background: white; }
.ecie-faq-edit-list { display: grid; gap: 16px; margin-bottom: 14px; }
.ecie-faq-edit-row { padding: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; background: #FFFFFF; border: 1px solid #DCC6A8; border-radius: 8px; }
.ecie-faq-edit-row .wide { grid-column: 1 / -1; }
.ecie-faq-edit-row [data-faq-remove] { align-self: end; justify-self: start; }
.ecie-guide-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ecie-guide-cards article { padding: 22px; background: #F8F3E9; border: 1px solid #DCC6A8; border-radius: 10px; border-top: 3px solid #D4AF37; }
.ecie-guide-cards small { display: block; color: #721329; letter-spacing: .13em; font-size: 10px; font-weight: 700; }
.ecie-guide-cards h3 { margin: 10px 0; color: #721329; }
.ecie-guide-cards p { margin: 0; color: #41362F; line-height: 1.65; }
.ecie-rsvp-gift-note { margin: 28px 0; padding: 24px 20px; text-align: center; background: #F8F3E9; border: 1px solid #DCC6A8; border-top: 3px solid #D4AF37; border-radius: 10px; }
.ecie-rsvp-gift-note small { display: block; color: #721329; font-size: 10px; font-weight: 750; letter-spacing: .14em; }
.ecie-rsvp-gift-note h2 { margin: 10px 0; color: #721329; font-family: Georgia, serif; }
.ecie-rsvp-gift-note p { max-width: 520px; margin: 0 auto; color: #473B35; line-height: 1.65; }
@media(max-width:700px) { .ecie-guide-admin { padding: 16px; } .ecie-faq-edit-row { grid-template-columns: 1fr; } .ecie-faq-edit-row .wide { grid-column: 1; } }


/* ECIE PORTAL PÚBLICO V3.1 · RSVP informativo (sin formulario ficticio) */
.ecie-public-rsvp-card p { color: #4b3e38; line-height: 1.65; margin: 0 0 16px; }
.ecie-public-rsvp-steps { margin: 0 0 15px; padding: 0; list-style: none; counter-reset: ecie-rsvp; display: grid; gap: 12px; }
.ecie-public-rsvp-steps li { display: flex; align-items: center; gap: 12px; color: #3f322d; line-height: 1.45; }
.ecie-public-rsvp-steps li::before { counter-increment: ecie-rsvp; content: counter(ecie-rsvp); flex: 0 0 30px; display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid #D4AF37; border-radius: 50%; color: #721329; font-weight: bold; }
.ecie-public-rsvp-card > small { line-height: 1.55; }


/* ============================================================
   ECIE V3.2 · GALERÍA LOCAL PRIVADA / PRESENTACIÓN PÚBLICA
   ============================================================ */
.ecie-gallery-admin-panel { padding-top: 28px; padding-bottom: 38px; }
.ecie-gallery-upload { display:grid; gap:14px; grid-template-columns:repeat(2,minmax(0,1fr)); padding:22px; border:1px solid #DCC6A8; background:#F8F3E9; border-radius:10px; }
.ecie-gallery-upload .admin-field { min-width:0; }
.ecie-gallery-upload [type=file] { display:block; width:100%; padding:14px; background:#fff; color:#342821; border:1px solid #DCC6A8; }
.ecie-gallery-upload .button { justify-self:start; }
.ecie-gallery-upload-state { margin:0; color:#53443b; align-self:center; font-size:13px; }
.ecie-gallery-upload-state.is-error { color:#9a1f26; font-weight:700; }
.ecie-gallery-notice { background:#F8F3E9; border-left:3px solid #D4AF37; padding:12px 16px; color:#4b3c32; }
.ecie-gallery-admin-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:18px; }
.ecie-gallery-admin-card { border:1px solid #DCC6A8; background:#fff; border-radius:10px; overflow:hidden; }
.ecie-gallery-admin-card > img { width:100%; height:200px; object-fit:cover; background:#DCC6A8; }
.ecie-gallery-admin-card-body { padding:17px; }
.ecie-gallery-admin-state { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; color:#721329; font-size:11px; letter-spacing:.06em; }
.ecie-gallery-admin-state > span { color:#25563c; }
.ecie-gallery-card-form { display:grid; gap:12px; }
.ecie-gallery-admin-actions { display:flex; flex-wrap:wrap; gap:8px; padding-top:15px; }
.ecie-gallery-admin-actions form { margin:0; }
.ecie-gallery-admin-actions .button, .ecie-gallery-card-form .button { font-size:12px; padding:9px 12px; }
.ecie-memories-gallery .shell { max-width:1180px; }
.ecie-memories-gallery > .shell > p { max-width:730px; margin-left:auto; margin-right:auto; }
.ecie-gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; margin-top:40px; text-align:left; }
.ecie-gallery-photo { margin:0; padding:9px 9px 15px; border:1px solid rgba(212,175,55,.6); background:#F8F3E9; color:#44352e; border-radius:4px; box-shadow:0 16px 35px rgba(0,0,0,.14); }
.ecie-gallery-photo button { display:block; border:0; padding:0; margin:0; width:100%; cursor:zoom-in; background:transparent; }
.ecie-gallery-photo button:focus-visible { outline:3px solid #D4AF37; outline-offset:3px; }
.ecie-gallery-photo img { display:block; width:100%; height:230px; object-fit:cover; background:#DCC6A8; }
.ecie-gallery-photo figcaption { margin:12px 5px 0; font-family:Georgia,serif; font-size:16px; line-height:1.35; }
.ecie-gallery-empty { margin:34px auto 0; padding:27px 30px; max-width:640px; color:#F8F3E9; border:1px solid rgba(212,175,55,.65); font-family:Georgia,serif; font-size:20px; line-height:1.5; }
.ecie-gallery-dialog { box-sizing:border-box; max-width:min(94vw,1000px); width:100%; max-height:94vh; padding:24px; border:1px solid #D4AF37; background:#F8F3E9; color:#493d35; border-radius:8px; box-shadow:0 20px 90px rgba(0,0,0,.45); }
.ecie-gallery-dialog::backdrop { background:rgba(24,17,19,.84); }
.ecie-gallery-dialog-close { float:right; background:transparent; color:#721329; font-size:30px; border:0; cursor:pointer; }
.ecie-gallery-dialog figure { clear:both; margin:0; text-align:center; }
.ecie-gallery-dialog figure img { display:block; width:100%; max-height:65vh; object-fit:contain; background:#E8DED0; }
.ecie-gallery-dialog figcaption { padding:13px 0; font-family:Georgia,serif; font-size:18px; }
.ecie-gallery-dialog-controls { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:center; }
.ecie-gallery-dialog-controls button { background:transparent; color:#721329; padding:9px 15px; border:1px solid #DCC6A8; cursor:pointer; }
.ecie-gallery-dialog-controls button:hover,.ecie-gallery-dialog-controls button:focus-visible { background:#721329; color:#fff; }
.ecie-gallery-dialog-controls [data-gallery-counter] { padding:0 13px; }
@media(max-width:760px) { .ecie-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .ecie-gallery-photo img { height:160px; } .ecie-gallery-upload { grid-template-columns:1fr; } .ecie-gallery-dialog { padding:12px; } }
@media(max-width:460px) { .ecie-gallery-grid { grid-template-columns:1fr; } .ecie-gallery-photo img { height:230px; } }


/* ECIE V3.4 · Carrusel público de recuerdos: 3 fotos horizontales con autoplay y flechas */
.ecie-gallery-carousel { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:16px; align-items:center; margin-top:40px; }
.ecie-gallery-viewport { overflow:hidden; min-width:0; }
.ecie-gallery-track { display:flex; transition:transform .65s ease; will-change:transform; }
.ecie-gallery-page { flex:0 0 100%; min-width:0; display:grid; grid-template-columns:repeat(var(--ecie-gallery-per-page,3), minmax(0,1fr)); gap:17px; }
.ecie-gallery-page-arrow { width:52px; height:52px; border-radius:999px; border:1px solid rgba(212,175,55,.7); background:#F8F3E9; color:#721329; font-size:34px; line-height:1; cursor:pointer; box-shadow:0 10px 24px rgba(0,0,0,.16); }
.ecie-gallery-page-arrow:hover,.ecie-gallery-page-arrow:focus-visible { background:#721329; color:#fff; }
.ecie-gallery-page-arrow:disabled { opacity:.35; cursor:default; background:#E8DED0; color:#7d6f66; box-shadow:none; }
.ecie-gallery-carousel-footer { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:16px; color:#F8F3E9; }
.ecie-gallery-carousel-counter,.ecie-gallery-carousel-helper { margin:0; }
.ecie-gallery-carousel-counter { font-size:13px; letter-spacing:.18em; text-transform:uppercase; color:#DCC6A8; }
.ecie-gallery-carousel-helper { font-size:14px; color:rgba(248,243,233,.88); }
@media(max-width:900px) { .ecie-gallery-carousel { grid-template-columns:44px minmax(0,1fr) 44px; gap:10px; } .ecie-gallery-page-arrow { width:44px; height:44px; font-size:28px; } .ecie-gallery-carousel-footer { flex-direction:column; align-items:flex-start; } }
@media(max-width:520px) { .ecie-gallery-carousel { grid-template-columns:1fr 1fr; gap:12px 16px; align-items:center; } .ecie-gallery-viewport { grid-column:1 / -1; order:1; } .ecie-gallery-page-arrow { position:static; width:50px; height:50px; justify-self:center; align-self:center; } .ecie-gallery-page-arrow.is-prev { order:2; justify-self:end; } .ecie-gallery-page-arrow.is-next { order:3; justify-self:start; } .ecie-gallery-carousel-footer { margin-top:14px; align-items:center; text-align:center; } .ecie-gallery-carousel-counter, .ecie-gallery-carousel-helper { width:100%; text-align:center; } }

/* ECIE V3.5 · Ubicación: 3 visuales independientes + 2 enlaces */
.ecie-venue-heading { text-align:center; max-width:760px; margin:0 auto 35px; }
.ecie-venue-heading p:last-child { color:#74675e; margin:15px 0 0; }
.ecie-venue-photos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.ecie-venue-card { min-width:0; margin:0; border:1px solid #DCC6A8; background:#F8F3E9; box-shadow:0 12px 28px rgba(52,40,33,.08); }
.ecie-venue-image-frame { aspect-ratio:1.6; overflow:hidden; background:linear-gradient(135deg,#DCC6A8,#F8F3E9); }
.ecie-venue-image-frame img { display:block; width:100%; height:100%; object-fit:cover; }
.ecie-venue-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; height:100%; padding:18px; text-align:center; color:#721329; font-family:Georgia,serif; font-size:16px; line-height:1.5; border:1px solid #D4AF37; }
.ecie-venue-placeholder strong { font-size:74px; font-weight:400; line-height:1; }
.ecie-venue-placeholder span { font-size:17px; }
.ecie-venue-card figcaption { display:grid; gap:6px; padding:17px 18px 20px; min-height:85px; color:#40322c; }
.ecie-venue-card figcaption strong { font:normal 20px Georgia,serif; }
.ecie-venue-card figcaption small { font-size:13px; color:#6d5b4c; line-height:1.5; }
.ecie-venue-details { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; margin-top:35px; }
.ecie-venue-details .fact { min-width:0; }
.ecie-venue-links { display:flex; gap:14px; align-items:center; justify-content:center; flex-wrap:wrap; padding-top:25px; }
.ecie-venue-links a[hidden] { display:none; }
.ecie-venue-links .button { text-decoration:none; }
.ecie-venue-admin-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.ecie-venue-admin-card { padding:20px; background:#F8F3E9; border:1px solid #DCC6A8; border-radius:8px; }
.ecie-venue-admin-card h3 { margin:0 0 10px; }
.ecie-venue-admin-card img { width:100%; aspect-ratio:1.6; object-fit:cover; background:#DCC6A8; }
.ecie-venue-admin-card .admin-field { display:grid; margin:14px 0; }
.ecie-venue-admin-card input[type=file] { width:100%; max-width:100%; }
.ecie-venue-admin-card .admin-form-actions { display:flex; flex-wrap:wrap; gap:8px; }
.ecie-venue-admin-card .admin-form-actions form { margin:0; }
.ecie-venue-upload-status { font-size:13px; margin:9px 0; min-height:1.5em; }
.ecie-venue-upload-status.is-error { color:#9a1f26; font-weight:bold; }
.ecie-venue-links-form { display:grid; gap:18px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.ecie-venue-links-form .admin-field { display:grid; gap:8px; }
.ecie-venue-links-form .admin-field input { width:100%; box-sizing:border-box; }
.ecie-venue-links-form .admin-form-actions { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:10px; }
@media(max-width:900px) { .ecie-venue-photos,.ecie-venue-admin-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .ecie-venue-details { grid-template-columns:1fr; gap:0; } }
@media(max-width:600px) { .ecie-venue-photos,.ecie-venue-admin-grid,.ecie-venue-links-form { grid-template-columns:1fr; } .ecie-venue-links { align-items:stretch; } .ecie-venue-links .button { width:100%; text-align:center; } }

/* ============================================================
   ECIE V3.6 · UBICACIÓN ÚNICA + ACCESOS ADMINISTRATIVOS
   Recupera la composición original de dos columnas sin afectar
   la galería de recuerdos V3.4.
   ============================================================ */
.ecie-venue-single-grid { align-items:center; }
.ecie-venue-visual-column { min-width:0; }
.ecie-venue-photo-stage { position:relative; box-sizing:border-box; min-height:350px; height:400px; padding:0; overflow:hidden; }
.ecie-venue-photo-stage img.ecie-venue-display-image { display:block; width:100%; height:100%; object-fit:cover; }
.ecie-venue-anniversary-fallback { width:100%; height:100%; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:12px; color:#721329; font-family:Georgia,serif; background:linear-gradient(135deg,#ae8e72,#e4d0b6 45%,#c6a269); }
.ecie-venue-anniversary-fallback strong { font-size:106px; font-weight:400; letter-spacing:0; line-height:1; }
.ecie-venue-anniversary-fallback span:first-child { font-size:34px; }
.ecie-venue-anniversary-fallback span:nth-child(3) { font-size:21px; letter-spacing:.04em; }
.ecie-venue-anniversary-fallback span:last-child { font-size:34px; }
.ecie-venue-image-pending { width:100%; height:100%; display:flex; align-items:center; justify-content:center; padding:20px; box-sizing:border-box; text-align:center; font-family:Georgia,serif; font-size:21px; color:#721329; background:linear-gradient(135deg,#ae8e72,#e4d0b6 45%,#c6a269); }
.ecie-venue-selected-caption { margin:12px 0 0; font-family:Georgia,serif; font-size:15px; color:#6c5b52; text-align:center; min-height:1.4em; }
.ecie-venue-switches { display:flex; flex-wrap:wrap; gap:14px; margin:24px 0 0; align-items:center; }
.ecie-venue-switch { order:2; border:0; border-bottom:1px solid #c7aa83; background:transparent; padding:8px 3px 9px; cursor:pointer; color:#765a4e; font:500 14px Georgia,serif; white-space:nowrap; }
.ecie-venue-switch[data-venue-switch="anniversary"] { order:1; }
.ecie-venue-switch[aria-pressed="true"] { color:#721329; border-bottom:2px solid #721329; font-weight:700; }
.ecie-venue-switch:hover,.ecie-venue-switch:focus-visible { color:#721329; outline-offset:4px; }
.ecie-venue-offsite-links { display:flex; flex-wrap:wrap; gap:8px 22px; margin:18px 0 0; align-items:center; }
.ecie-venue-offsite-link { font-size:13px; font-weight:600; color:#721329; text-decoration:none; }
.ecie-venue-offsite-link:hover,.ecie-venue-offsite-link:focus-visible { text-decoration:underline; }
.ecie-venue-offsite-link[hidden] { display:none!important; }
.ecie-admin-portal-shortcuts { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; margin:20px 0 4px; padding:18px 22px; background:#f8f3e9; border:1px solid #dcc6a8; border-left:4px solid #d4af37; }
.ecie-admin-portal-shortcuts p { margin:0 0 4px; }
.ecie-admin-portal-shortcuts h3 { margin:0; font:normal 22px Georgia,serif; color:#721329; }
.ecie-admin-portal-shortcuts-actions { display:flex; gap:10px; flex-wrap:wrap; }
.ecie-admin-portal-shortcuts-actions .button { font-size:12px; padding:10px 15px; text-decoration:none; }
@media(max-width:760px) {
 .ecie-venue-photo-stage { min-height:280px; height:330px; }
 .ecie-venue-single-grid { gap:28px; }
 .ecie-venue-switches { justify-content:center; }
 .ecie-venue-offsite-links { justify-content:flex-start; }
 .ecie-admin-portal-shortcuts { align-items:flex-start; }
}
@media(max-width:460px) {
 .ecie-venue-photo-stage { min-height:230px; height:270px; }
 .ecie-venue-anniversary-fallback strong { font-size:80px; }
 .ecie-venue-switch { font-size:13px; }
 .ecie-admin-portal-shortcuts-actions { width:100%; }
 .ecie-admin-portal-shortcuts-actions .button { width:100%; text-align:center; }
}


/* ============================================================
   ECIE V3.8 · PORTADA / RETRATO · ENCUADRE EDITORIAL
   Solo aplica a #inicio. Sin tocar ubicación ni recuerdos.
   ============================================================ */
@media (min-width: 1001px) {
  #inicio .shell.hero-grid {
    width: min(1250px, calc(100% - 60px));
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(36px, 3.6vw, 52px);
    min-height: 685px;
    padding-top: 72px;
    padding-bottom: 74px;
  }
}
#inicio .hero-copy h1 { max-width: 470px; }
#inicio .hero-visual { min-width: 0; }
#inicio .image-frame {
  padding: 7px;
  background: #FFFCF7;
  border-color: var(--gold);
  box-shadow: 0 22px 48px rgba(74, 45, 27, .16);
}
#inicio .image-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1.38;
  max-height: 510px;
  object-fit: contain;
  object-position: center center;
  background: #F3EEE7;
}
@media (min-width: 761px) and (max-width: 1000px) {
  #inicio .hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 30px;
  }
  #inicio .image-frame img { aspect-ratio: 1.32; }
}
@media (max-width: 760px) {
  #inicio .image-frame img {
    aspect-ratio: auto;
    height: auto;
    max-height: 470px;
    object-fit: contain;
  }
}
