/* Atelier: two native sections, reciprocal navigation and aligned cards. */
@layer mobile-review-important {
  html:root body.taller-flows-editorial #contenido .process-disclosure {
    display:block;
    margin:0 0 24px !important;
    border:1px solid rgba(138,75,44,.28) !important;
    border-radius:3px;
    scroll-margin-top:110px;
  }
  html:root body.taller-flows-editorial #contenido .process-disclosure > summary {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:20px !important;
    padding:22px 20px !important;
    min-height:84px !important;
    cursor:pointer;
    list-style:none;
    background:rgba(252,250,246,.24);
  }
  html:root body.taller-flows-editorial #contenido .process-disclosure > summary::-webkit-details-marker {display:none;}
  html:root body.taller-flows-editorial #contenido .process-disclosure > summary:focus-visible {
    outline:2px solid #8a4b2c;
    outline-offset:3px;
  }
  html:root body.taller-flows-editorial #contenido .process-section-heading {min-width:0;}
  html:root body.taller-flows-editorial #contenido .process-section-heading h2 {
    margin:0 0 6px !important;
    max-width:none !important;
    hyphens:none !important;
  }
  html:root body.taller-flows-editorial #contenido .process-section-heading .smart-entorno-subtitle {
    display:block;
    font-size:var(--em-type-note) !important;
    line-height:1.45 !important;
  }
  html:root body.taller-flows-editorial #contenido .process-disclosure .smart-entorno-action {
    display:inline-flex !important;
    align-items:center !important;
    flex:0 0 auto;
    gap:8px !important;
    border:1px solid rgba(138,75,44,.45);
    border-radius:3px;
    padding:4px 10px !important;
    min-height:44px !important;
    box-sizing:border-box;
    font-size:16px !important;
    color:#8a4b2c;
  }
  html:root body.taller-flows-editorial #contenido .process-disclosure .smart-entorno-indicator {
    position:relative;
    display:inline-block !important;
    width:22px !important;
    height:22px !important;
  }
  html:root body.taller-flows-editorial #contenido .process-disclosure .smart-entorno-indicator::before,
  html:root body.taller-flows-editorial #contenido .process-disclosure .smart-entorno-indicator::after {
    content:'';
    position:absolute;
    top:10px !important;
    left:4px !important;
    width:14px !important;
    height:1px !important;
    background:currentColor;
  }
  html:root body.taller-flows-editorial #contenido .process-disclosure .smart-entorno-indicator::after {transform:rotate(90deg);}
  html:root body.taller-flows-editorial #contenido .process-disclosure[open] .smart-entorno-indicator::after {transform:rotate(0deg);}
  html:root body.taller-flows-editorial #contenido .process-disclosure .smart-entorno-label-open,
  html:root body.taller-flows-editorial #contenido .process-disclosure[open] .smart-entorno-label-closed {display:none;}
  html:root body.taller-flows-editorial #contenido .process-disclosure[open] .smart-entorno-label-open {display:inline;}
  html:root body.taller-flows-editorial #contenido .process-section-body {
    box-sizing:border-box;
    width:100% !important;
    max-width:none !important;
    min-width:0;
    padding:28px 20px !important;
  }
  html:root body.taller-flows-editorial #contenido .process-section-navigation {
    display:flex;
    margin-top:28px;
    padding-top:20px;
    border-top:1px solid rgba(138,75,44,.28);
  }
  html:root body.taller-flows-editorial #contenido .process-section-switch {
    display:inline-flex;
    align-items:center;
    min-height:44px;
    color:#8a4b2c;
    font-size:var(--em-type-note);
    line-height:1.45;
    text-decoration:underline;
    text-underline-offset:5px;
    overflow-wrap:normal;
  }
  html:root body.atelier-compact #contenido .atelier-experiment-card {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:auto auto auto 1fr auto;
    row-gap:10px !important;
  }
  html:root body.atelier-compact #contenido .atelier-learning-heading {
    display:grid;
    grid-template-columns:32px minmax(0,1fr);
    gap:12px;
    align-items:start;
  }
  html:root body.atelier-compact #contenido .atelier-learning-icon {
    width:32px;
    height:32px;
    color:#8f553b;
    display:block;
    margin-top:2px;
  }
  html:root body.atelier-compact #contenido .atelier-learning-icon svg {display:block;width:100%;height:100%;}
  html:root body.atelier-compact #contenido .atelier-learning-copy {min-width:0;}
  @supports(grid-template-rows:subgrid) {
    @media(min-width:781px) {
      html:root body.atelier-compact #contenido .atelier-review-projects {row-gap:10px !important;}
      html:root body.atelier-compact #contenido .atelier-experiment-card {grid-row:span 5;grid-template-rows:subgrid !important;}
    }
  }
  @media(max-width:780px) {
    html:root body.taller-flows-editorial #contenido .process-disclosure > summary {
      padding:18px 12px !important;
      gap:12px !important;
    }
    html:root body.taller-flows-editorial #contenido .process-disclosure .smart-entorno-action {
      font-size:14px !important;
      padding-inline:6px !important;
      gap:4px !important;
    }
    html:root body.taller-flows-editorial #contenido .process-section-body {padding:22px 10px !important;}
    html:root body.atelier-compact #contenido .atelier-experiment-card {grid-row:auto;}
  }
}
