/* Mi Atelier: ficha de Colab y acordeón de entorno, con la paleta existente. */
body.taller-flows-editorial .flow-estado--synthetic{display:inline-flex;align-items:center;border:1px solid #A36549!important;border-radius:999px;padding:7px 12px!important;background:rgba(244,238,228,.92)!important;color:#70452f!important;font-size:11px!important;letter-spacing:.08em;white-space:nowrap;}
body.taller-flows-editorial .colab-practice-body{max-width:1240px;margin-inline:auto;padding:clamp(18px,3vw,38px);background:rgba(244,238,228,.62);border-left:2px solid #A36549;}
body.taller-flows-editorial .colab-synthetic-flag{display:inline-flex;align-items:center;gap:8px;margin:0 0 20px;padding:7px 12px;border:1px solid rgba(163,101,73,.65);border-radius:999px;color:#70452f;font:600 12px/1.35 'Hanken Grotesk',Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;}
body.taller-flows-editorial .colab-synthetic-flag span{font-size:9px;color:#A36549;}body.taller-flows-editorial .colab-section{margin:0 0 30px;}body.taller-flows-editorial .colab-section:last-child{margin-bottom:0;}
body.taller-flows-editorial .colab-section h2{margin:0 0 12px;font:600 clamp(25px,2.8vw,32px)/1.2 'Newsreader',Georgia,serif;color:#8A4B2C;}body.taller-flows-editorial .colab-section h3{margin:0 0 6px;font:400 21px/1.35 'Newsreader',Georgia,serif;color:#754b37;}body.taller-flows-editorial .colab-section>p{max-width:1000px;margin:0;font-size:17px;line-height:1.6;}
body.taller-flows-editorial .colab-method{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;counter-reset:method;list-style:none;padding:0;margin:16px 0 0;}body.taller-flows-editorial .colab-method li{position:relative;display:flex;align-items:center;min-height:74px;padding:14px 16px 14px 44px;border-top:1px solid rgba(163,101,73,.45);background:rgba(255,250,242,.5);font-size:15px;line-height:1.45;counter-increment:method;}body.taller-flows-editorial .colab-method li::before{content:counter(method,decimal-leading-zero);position:absolute;left:14px;top:14px;color:#A36549;font:400 14px/1.4 'Hanken Grotesk',Arial,sans-serif;}body.taller-flows-editorial .colab-method li:not(:last-child)::after{content:'→';position:absolute;z-index:1;right:-11px;top:50%;transform:translate(50%,-50%);color:#A36549;font:400 18px/1 'Hanken Grotesk',Arial,sans-serif;}
body.taller-flows-editorial .colab-evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;margin-top:16px;}body.taller-flows-editorial .colab-evidence-grid figure{margin:0;min-width:0;}body.taller-flows-editorial .colab-evidence-grid a{display:block;outline-offset:4px;}body.taller-flows-editorial .colab-evidence-grid a:focus-visible{outline:2px solid #A36549;}body.taller-flows-editorial .colab-evidence-grid img{display:block;width:100%;height:auto;border:1px solid rgba(112,69,47,.25);}body.taller-flows-editorial .colab-evidence-grid figcaption{margin-top:8px;color:#6D5B4F;font-size:13px;line-height:1.5;}
body.taller-flows-editorial .colab-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:14px;}body.taller-flows-editorial .colab-result-block{padding:18px 20px;background:rgba(255,250,242,.58);border-top:2px solid #A36549;min-width:0;}body.taller-flows-editorial .colab-result-block--mean{border-color:#7f6656;}body.taller-flows-editorial .colab-result-note{margin:0 0 12px!important;color:#6D5B4F;font-size:14px!important;line-height:1.45!important;}body.taller-flows-editorial .colab-result-block table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.45;}body.taller-flows-editorial .colab-result-block th,body.taller-flows-editorial .colab-result-block td{padding:9px 8px;border-bottom:1px solid rgba(163,101,73,.22);text-align:left;}body.taller-flows-editorial .colab-result-block thead th{color:#70452f;font:600 12px/1.4 'Hanken Grotesk',Arial,sans-serif;letter-spacing:.04em;}body.taller-flows-editorial .colab-result-block tbody th{font-weight:400;}body.taller-flows-editorial .colab-result-block tbody td{font-variant-numeric:tabular-nums;}
body.taller-flows-editorial .colab-limits h3{margin-top:18px;}body.taller-flows-editorial .colab-limits ul{margin:8px 0 18px;padding-left:22px;}body.taller-flows-editorial .colab-limits li{margin:7px 0;font-size:16px;line-height:1.55;}body.taller-flows-editorial .colab-limits>p{padding-top:14px;border-top:1px solid rgba(163,101,73,.25);font-size:14px!important;line-height:1.6!important;color:#59463b;}body.taller-flows-editorial .case-progress-note{margin:0 0 18px;padding:8px 12px;border-left:2px solid #A36549;color:#70452f;background:rgba(244,238,228,.5);font-size:14px;line-height:1.5;}
body.taller-flows-editorial .smart-entorno-disclosure{margin:30px 0 10px;border-top:1px solid rgba(163,101,73,.42);border-bottom:1px solid rgba(163,101,73,.42);}body.taller-flows-editorial .smart-entorno-disclosure>summary{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:78px;padding:16px 8px;cursor:pointer;list-style:none;}body.taller-flows-editorial .smart-entorno-disclosure>summary::-webkit-details-marker{display:none;}body.taller-flows-editorial .smart-entorno-disclosure>summary:focus-visible{outline:2px solid #A36549;outline-offset:3px;}body.taller-flows-editorial .smart-entorno-heading{display:flex;flex-direction:column;gap:3px;}body.taller-flows-editorial .smart-entorno-title{font:400 clamp(23px,2.5vw,30px)/1.25 'Newsreader',Georgia,serif;color:#3b2b25;}body.taller-flows-editorial .smart-entorno-subtitle{font-size:clamp(16px,1.2vw,18px);line-height:1.45;color:#59463b;}body.taller-flows-editorial .smart-entorno-indicator{position:relative;flex:0 0 24px;width:24px;height:24px;}body.taller-flows-editorial .smart-entorno-indicator::before,body.taller-flows-editorial .smart-entorno-indicator::after{content:'';position:absolute;left:4px;right:4px;top:50%;height:1.5px;background:#8A4B2C;transition:transform .2s ease;}body.taller-flows-editorial .smart-entorno-indicator::after{transform:rotate(90deg);}body.taller-flows-editorial .smart-entorno-disclosure[open] .smart-entorno-indicator::after{transform:rotate(0);}body.taller-flows-editorial .smart-entorno-body{padding:12px 8px 28px;}body.taller-flows-editorial .smart-entorno-body .smart-behind{margin-bottom:32px;}
@media(max-width:800px){body.taller-flows-editorial .colab-method{grid-template-columns:repeat(2,minmax(0,1fr));}body.taller-flows-editorial .colab-evidence-grid,body.taller-flows-editorial .colab-results-grid{grid-template-columns:1fr;}}@media(max-width:600px){body.taller-flows-editorial .colab-practice-body{padding:18px 14px;}body.taller-flows-editorial .colab-method{grid-template-columns:1fr;gap:6px;}body.taller-flows-editorial .colab-method li{min-height:56px;}body.taller-flows-editorial .colab-method li:not(:last-child)::after{content:'↓';right:50%;top:auto;bottom:-11px;transform:translate(50%,50%);}body.taller-flows-editorial .smart-entorno-disclosure>summary{min-height:70px;padding-inline:4px;}body.taller-flows-editorial .smart-entorno-body{padding-inline:2px;}}@media(prefers-reduced-motion:reduce){body.taller-flows-editorial .smart-entorno-indicator::before,body.taller-flows-editorial .smart-entorno-indicator::after{transition:none;}}

/* Gráfico del ejercicio 4: archivo original, proporciones conservadas y ampliación accesible. */
body.taller-flows-editorial .colab-method{grid-template-columns:repeat(5,minmax(0,1fr));}
body.taller-flows-editorial .colab-chart-figure{max-width:790px;margin:28px auto 0;}
body.taller-flows-editorial .colab-chart-figure img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;border:1px solid rgba(112,69,47,.25);}
body.taller-flows-editorial .colab-chart-figure figcaption{display:grid;gap:10px;margin-top:12px;font-size:16px;line-height:1.6;}
body.taller-flows-editorial .colab-chart-caveat{max-width:980px;margin:16px auto 0!important;padding:13px 16px;border-left:3px solid #A36549;background:rgba(244,238,228,.72);color:#59463b;font-size:15px!important;line-height:1.6!important;}
@media(max-width:1050px){body.taller-flows-editorial .colab-method{grid-template-columns:1fr;}body.taller-flows-editorial .colab-method li:not(:last-child)::after{content:'↓';right:50%;top:auto;bottom:-11px;transform:translate(50%,50%);}}
@media(max-width:600px){body.taller-flows-editorial .colab-chart-figure{margin-top:22px;}body.taller-flows-editorial .colab-chart-figure figcaption{font-size:15px;}body.taller-flows-editorial .colab-chart-caveat{padding:11px 12px;font-size:14px!important;}}

body.taller-flows-editorial .smart-ecosistema li{border:0;background:#D8BFA9;cursor:default;transition:none;}body.taller-flows-editorial .smart-ecosistema li:hover{border-color:transparent;background:#D8BFA9;transform:none;}body.taller-flows-editorial .smart-ecosistema svg{color:#8A4B2C;}

/* Jerarquía de Procesos y pruebas: entorno primero y prácticas agrupadas. */
body.taller-flows-editorial .smart-entorno-disclosure{margin:0 0 24px;border:0;border-bottom:1px solid rgba(163,101,73,.3);}
body.taller-flows-editorial .smart-entorno-disclosure>summary{display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:16px;min-height:78px;padding:16px 6px;}
body.taller-flows-editorial .smart-entorno-heading{min-width:0;}
body.taller-flows-editorial .smart-entorno-indicator{grid-column:2;justify-self:center;width:24px;height:24px;}
body.taller-flows-editorial .processes-group{margin:0;padding:0;}
body.taller-flows-editorial .processes-group-heading{display:grid;gap:3px;margin:0 0 8px;padding:0 6px;}
body.taller-flows-editorial .processes-group-heading h2{margin:0;}
body.taller-flows-editorial .processes-group-heading p{margin:0;}
body.taller-flows-editorial .processes-group .flows-lista{display:grid;gap:4px;margin:0;border:0;}
body.taller-flows-editorial .processes-group .flow{border:0;background:transparent;}
body.taller-flows-editorial .processes-group .flow-cabecera{grid-template-columns:42px minmax(0,1fr) minmax(146px,max-content) 28px;gap:16px;min-height:76px;padding:17px 6px;}
body.taller-flows-editorial .processes-group .flow-textos{min-width:0;}
body.taller-flows-editorial .processes-group .flow-estado{justify-self:start;}
body.taller-flows-editorial .processes-group .flow-abrir{grid-column:4;justify-self:center;width:24px;height:24px;}
body.taller-flows-editorial .processes-group .flow-cabecera:hover{background:rgba(252,250,246,.55);}
body.taller-flows-editorial .processes-group .flow[open]{background:rgba(244,238,228,.4);}
@media(max-width:780px){
  body.taller-flows-editorial .smart-entorno-disclosure>summary{grid-template-columns:minmax(0,1fr) 28px;min-height:70px;padding:14px 4px;}
  body.taller-flows-editorial .processes-group .flow-cabecera{grid-template-columns:36px minmax(0,1fr) 28px;gap:12px;min-height:68px;padding:16px 4px;}
  body.taller-flows-editorial .processes-group .flow-estado{grid-column:2;grid-row:2;justify-self:start;margin-top:6px;}
  body.taller-flows-editorial .processes-group .flow-abrir{grid-column:3;grid-row:1;}
}
@media(max-width:600px){
  body.taller-flows-editorial .processes-group-heading{padding-inline:4px;margin-bottom:6px;}
  body.taller-flows-editorial .processes-group .flow-cabecera{padding-block:15px;}
}
/* proposal-flow-control-position: keep each disclosure control beside its copy */
body.taller-flows-editorial .processes-group .flow-cabecera{
  grid-template-columns:42px fit-content(72ch) 28px max-content;
  grid-template-areas:"number copy toggle state";
  justify-content:start;
  column-gap:16px;
}
body.taller-flows-editorial .processes-group .flow-num{grid-area:number;}
body.taller-flows-editorial .processes-group .flow-textos{grid-area:copy;width:auto;max-width:72ch;min-width:0;}
body.taller-flows-editorial .processes-group .flow-abrir{grid-area:toggle;justify-self:start;width:28px;height:28px;margin:0;}
body.taller-flows-editorial .processes-group .flow-estado{grid-area:state;justify-self:start;margin:0;}
@media(max-width:800px){
  body.taller-flows-editorial .processes-group .flow-cabecera{
    grid-template-columns:36px fit-content(66vw) 28px;
    grid-template-areas:none;
    column-gap:10px;
    row-gap:6px;
  }
  body.taller-flows-editorial .processes-group .flow-num{grid-area:auto;grid-column:1;grid-row:1;}
  body.taller-flows-editorial .processes-group .flow-textos{grid-area:auto;grid-column:2;grid-row:1;max-width:66vw;}
  body.taller-flows-editorial .processes-group .flow-abrir{grid-area:auto;grid-column:3;grid-row:1;}
  body.taller-flows-editorial .processes-group .flow-estado{grid-area:auto;grid-column:2/4;grid-row:2;margin-top:6px;}
}
/* Authorship and review share the existing editorial scale and disclosure. */
body.taller-flows-editorial .smart-entorno-body .smart-authorship {
  max-width: 1000px;
  margin: 8px 0 36px;
}
body.taller-flows-editorial .smart-authorship p {
  margin: 0 0 18px;
  max-width: none;
}
body.taller-flows-editorial .smart-authorship p:last-child { margin-bottom: 0; }
body.taller-flows-editorial .smart-entorno-body .smart-authorship + .smart-behind {
  padding-top: 28px;
  border-top: 1px solid rgba(163, 101, 73, .25);
}
@media (max-width: 780px) {
  body.taller-flows-editorial .smart-entorno-body .smart-authorship { margin-bottom: 28px; }
}
