/* Guia "Fim da escala 6x1" (/escala-6x1): peças interativas no padrão visual do site */
.e61 { --e-b: #0254D8; --e-n: #0A1B45; --e-t: #0F172A; --e-m: #475569; --e-l: #DCE6F7; --e-soft: #EAF1FF; --e-ok: #059669; --e-no: #DC2626; color: var(--e-t); }
.e61 button { font: inherit; color: inherit; cursor: pointer; }
.e61 button:focus-visible, .e61 summary:focus-visible, .e61 input:focus-visible, .e61 select:focus-visible { outline: 3px solid var(--e-b); outline-offset: 2px; }
.e61 .e61-lead { color: var(--e-m); text-align: center; max-width: 62ch; margin: -28px auto 28px; font-size: 1.05rem; line-height: 1.6; }
.e61 .wrap { max-width: 1000px; margin: 0 auto; }

/* Índice de capítulos */
.e61-nav { position: sticky; top: 69px; z-index: 40; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid #E2E8F0; }
.e61-nav div { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; max-width: 1100px; margin: 0 auto; scrollbar-width: none; }
.e61-nav a { white-space: nowrap; padding: 6px 14px; border-radius: 99px; color: #475569; text-decoration: none; font-weight: 600; font-size: 14px; }
.e61-nav a:hover { background: #EAF1FF; color: #0254D8; }
.e61-anchor { scroll-margin-top: 122px; }

/* Semana (topo e montador de escala) */
.e61 .strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.e61 .d { border: 1px solid var(--e-l); border-radius: 14px; padding: 14px 4px; text-align: center; background: #fff; color: var(--e-n); transition: .35s; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.e61 .d b { font-size: 15px; font-weight: 800; }
.e61 .d.off { background: var(--e-b); border-color: var(--e-b); color: #fff; transform: translateY(8px); }
.e61-hero .d { background: rgba(255, 255, 255, .96); border-color: transparent; }
.e61-hero .d.off { background: #22D3EE; color: #06233F; }
.e61-hero .row2 { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.e61-hero .btn { background: #fff; color: var(--e-n); border: 0; border-radius: 12px; padding: 12px 20px; font-weight: 700; font-size: 15px; }
.e61-hero .chip { border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; padding: 9px 16px; font-size: 14px; color: #E2E8F0; }
.e61-hero #wl { margin: 14px 0 0; font-size: 15px; color: #CBD5E1; }

/* Cartões e números */
.e61 .card { background: #fff; border: 1px solid #E2E8F0; border-radius: 22px; padding: 24px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.e61 .g { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.e61 .k { font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif; font-size: 2.6rem; font-weight: 800; color: var(--e-b); line-height: 1.05; }
.e61 .k small { display: block; font-family: 'Manrope', system-ui, sans-serif; font-size: 14px; font-weight: 500; color: var(--e-m); margin-top: 4px; }
.e61 .tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.e61 .tabs button { background: #fff; border: 1px solid #CBD5E1; border-radius: 99px; padding: 9px 18px; font-weight: 600; font-size: 15px; }
.e61 .tabs button[aria-pressed=true] { background: var(--e-b); border-color: var(--e-b); color: #fff; }
.e61 .note { background: var(--e-soft); border-left: 4px solid var(--e-b); border-radius: 12px; padding: 14px 18px; margin-top: 16px; color: var(--e-t); font-size: 15px; line-height: 1.55; }
.e61 .fine { color: var(--e-m); font-size: 14px; margin-top: 12px; line-height: 1.55; }

/* Linha do tempo */
.e61 details { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; margin-bottom: 10px; }
.e61 summary { padding: 16px 20px; cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.e61 summary::-webkit-details-marker { display: none; }
.e61 summary::after { content: "+"; color: var(--e-b); font-size: 22px; line-height: 1; }
.e61 details[open] summary::after { content: "−"; }
.e61 details p { margin: 0; padding: 0 20px 18px; color: var(--e-m); line-height: 1.6; }
.e61 details[open] { border-color: #93C5FD; box-shadow: 0 6px 18px rgba(2, 84, 216, .08); }

/* Formulários e barras */
.e61 .f { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 20px; }
.e61 label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.e61 input, .e61 select { font: inherit; padding: 12px 14px; border: 1px solid #CBD5E1; border-radius: 12px; background: #F8FAFC; color: var(--e-t); width: 100%; }
.e61 input[type=range] { padding: 0; accent-color: var(--e-b); }
.e61 .row { display: grid; grid-template-columns: 220px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid #E2E8F0; }
.e61 .row small { display: block; color: var(--e-m); font-size: 13px; }
.e61 .row strong { font-size: 1.05rem; }
.e61 .bar { height: 14px; background: #E2E8F0; border-radius: 9px; overflow: hidden; }
.e61 .bar i { display: block; height: 100%; background: linear-gradient(90deg, #0254D8, #22D3EE); border-radius: 9px; transition: width .4s; }
.e61 .panel ul { margin: 0; padding-left: 20px; color: var(--e-m); line-height: 1.6; }
.e61 .panel li { margin-bottom: 8px; }
.e61 .panel li b { color: var(--e-t); }

/* Mito ou verdade */
.e61 .q { display: flex; flex-direction: column; gap: 12px; }
.e61 .q .a { display: flex; gap: 8px; }
.e61 .q .a button { flex: 1; background: #F8FAFC; border: 1px solid #CBD5E1; border-radius: 12px; padding: 10px; font-weight: 600; }
.e61 .q .rs { display: none; font-size: 15px; color: var(--e-m); line-height: 1.55; }
.e61 .q.done .rs { display: block; }
.e61 .q.done .a button { opacity: .5; pointer-events: none; }
.e61 .q.done .a button.sel { opacity: 1; }
.e61 .okc { border-color: var(--e-ok); }
.e61 .noc { border-color: var(--e-no); }
.e61 .rs b { color: var(--e-t); }

/* Checklist */
.e61 .pb { height: 12px; background: #E2E8F0; border-radius: 9px; overflow: hidden; margin: 8px 0 14px; }
.e61 .pb i { display: block; height: 100%; background: var(--e-ok); width: 0; transition: width .3s; }
.e61 .ck { display: flex; flex-direction: row; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid #E2E8F0; cursor: pointer; font-weight: 500; }
.e61 .ck input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--e-b); flex: none; padding: 0; }
.e61 .ck input:checked + span { text-decoration: line-through; color: var(--e-m); }

/* Tabela da escala de exemplo */
.e61 .tb { width: 100%; border-collapse: collapse; min-width: 520px; }
.e61 .tb th, .e61 .tb td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #E2E8F0; font-size: 15px; }
.e61 .tb th { color: var(--e-n); }
.e61 .tb td.o { background: var(--e-soft); font-weight: 700; color: var(--e-b); }
.e61 h3 { font-size: 1.3rem; font-weight: 800; margin: 32px 0 12px; color: var(--e-n); }

.e61-sources p { margin: 0 0 8px; }

/* Simulador da jornada 5x2 */
.e61 .e61-sim { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 24px; align-items: start; max-width: 1180px; margin: 0 auto; }
.e61 .sim-form { position: sticky; top: 130px; padding: 22px; max-height: calc(100vh - 150px); overflow-y: auto; }
.e61 .sim-form fieldset { border: 0; margin: 0; padding: 0 0 18px; display: flex; flex-direction: column; gap: 12px; }
.e61 .sim-form fieldset + fieldset { border-top: 1px solid #E2E8F0; padding-top: 18px; }
.e61 .sim-form legend { font-weight: 800; color: var(--e-n); display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 0; }
.e61 .sim-form legend i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--e-b); color: #fff; display: grid; place-items: center; font-size: 13px; }
.e61 .sim-form label { font-size: 14px; color: var(--e-n); opacity: 1; }
.e61 .sim-form input[type=time]::-webkit-calendar-picker-indicator { display: none; }
.e61 .sim-form input[type=time] { text-align: center; }
.e61 .sim-form input, .e61 .sim-form select { padding: 10px 12px; font-size: 15px; }
.e61 .sim-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.e61 .suf { position: relative; display: block; }
.e61 .suf em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 500; font-size: 13px; color: var(--e-m); pointer-events: none; }
.e61 .suf input { padding-right: 52px; }
.e61 .suf.pre em { left: 12px; right: auto; }
.e61 .suf.pre input { padding-left: 38px; padding-right: 12px; }
.e61 .hint { font-size: 12.5px; color: var(--e-m); line-height: 1.5; margin: 0; }
.e61 .hrs { display: grid; grid-template-columns: 74px 1fr 1fr 62px; gap: 6px 6px; align-items: center; }
.e61 .hrs small { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--e-m); letter-spacing: .04em; }
.e61 .hrs b { font-size: 13px; color: var(--e-n); }
.e61 .hrs input { padding: 8px 4px; font-size: 14px; min-width: 0; text-align: center; }
.e61 .sim-out { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.e61 .sim-out .card { padding: 22px; }
.e61 .sim-out h3 { margin: 0; font-size: 1.15rem; }
.e61 .sim-out .sub { color: var(--e-m); font-size: 14px; margin: 2px 0 14px; }
.e61 .sim-head { margin-top: 0; background: #FFF7E6; border-left-color: #F59E0B; }
.e61 .sim-head small { display: inline-block; margin-top: 6px; color: var(--e-m); font-size: 13.5px; }
.e61 .sim-stages { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.e61 .sim-stage { background: linear-gradient(160deg, #0A1B45, #0B3A8C); color: #fff; border-radius: 22px; padding: 20px; }
.e61 .sim-stage > span { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #67E8F9; }
.e61 .sim-stage .big { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 3rem; line-height: 1; margin-top: 8px; }
.e61 .sim-stage .big small { font-family: 'Manrope', system-ui, sans-serif; font-size: 16px; font-weight: 600; margin-left: 6px; }
.e61 .sim-stage > p { margin: 4px 0 14px; color: #CBD5E1; font-size: 13px; }
.e61 .sim-stage .kp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.e61 .sim-stage .kp div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; }
.e61 .sim-stage .kp small { font-size: 12px; color: #CBD5E1; line-height: 1.3; }
.e61 .sim-stage .kp b { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-size: 1.7rem; font-weight: 800; line-height: 1.15; }
.e61 .sim-stage .kp em { font-style: normal; font-size: 11.5px; color: #94A3B8; line-height: 1.3; }
.e61 .cr { padding: 12px 0; border-top: 1px solid #E2E8F0; }
.e61 .cr h4 { margin: 0 0 6px; font-weight: 700; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--e-n); }
.e61 .tg { font-style: normal; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 99px; background: #F1F5F9; color: var(--e-m); }
.e61 .tg.ok { background: #DCFCE7; color: #047857; }
.e61 .tg.low { background: #DBEAFE; color: #1D4ED8; }
.e61 .cl { display: grid; grid-template-columns: 64px 1fr 170px; gap: 12px; align-items: center; padding: 4px 0; font-size: 13px; color: var(--e-m); }
.e61 .cl .bar { height: 10px; }
.e61 .cv { text-align: right; line-height: 1.25; }
.e61 .cv b { color: var(--e-t); font-size: 15px; display: block; }
.e61 .cv small { font-size: 11.5px; }
.e61 .sim-tabs { justify-content: flex-start; margin: 12px 0 6px; }
.e61 .sim-tabs button { display: flex; flex-direction: column; align-items: flex-start; border-radius: 12px; padding: 7px 14px; font-size: 14px; line-height: 1.2; }
.e61 .sim-tabs button small { font-size: 11px; font-weight: 500; opacity: .8; }
.e61 .hm-wrap { overflow-x: auto; }
.e61 .hm { display: grid; grid-template-columns: 38px repeat(var(--c), minmax(22px, 1fr)); gap: 3px; min-width: calc(38px + var(--c) * 25px); }
.e61 .hm small { font-size: 11px; color: var(--e-m); text-align: center; }
.e61 .hm b { font-size: 12px; color: var(--e-n); align-self: center; }
.e61 .hm i { height: 22px; border-radius: 5px; }
.e61 .hm i.ok, .e61 .lg .ok::before { background: #10B981; }
.e61 .hm i.pa, .e61 .lg .pa::before { background: #FBBF24; }
.e61 .hm i.no, .e61 .lg .no::before { background: #EF4444; }
.e61 .hm i.x, .e61 .lg .x::before { background: repeating-linear-gradient(45deg, #F1F5F9 0 4px, #E2E8F0 4px 8px); }
.e61 .lg { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 12.5px; color: var(--e-m); }
.e61 .lg span::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.e61 .tb-wrap { overflow-x: auto; }
.e61 .sim-tb { min-width: 720px; }
.e61 .sim-tb th, .e61 .sim-tb td { font-size: 12.5px; padding: 9px 6px; text-align: center; white-space: nowrap; }
.e61 .sim-tb tbody th { text-align: left; }
.e61 .sim-tb td small { display: block; color: var(--e-m); font-size: 11px; }
.e61 .sim-tb td.fo { color: var(--e-b); font-weight: 700; background: var(--e-soft); }
.e61 .sim-tb td.tt { font-weight: 800; color: var(--e-n); }
.e61 .sim-ck { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: 13.5px; color: var(--e-m); }
.e61 .sim-ck li { position: relative; padding-left: 24px; line-height: 1.45; }
.e61 .sim-ck li::before { position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%; font-size: 11px; font-weight: 800; color: #fff; display: grid; place-items: center; }
.e61 .sim-ck li.y::before { content: "✓"; background: #10B981; }
.e61 .sim-ck li.n::before { content: "!"; background: #EF4444; }
.e61 .sim-ck li.w::before { content: "!"; background: #F59E0B; }
.e61 .sim-act { display: flex; flex-wrap: wrap; gap: 10px; }
.e61 .sim-act a, .e61 .sim-act button { border-radius: 12px; padding: 12px 18px; font-weight: 700; font-size: 15px; text-decoration: none; }
.e61 .sim-wa { background: #16A34A; color: #fff; }
.e61 .sim-wa:hover { background: #15803D; }
.e61 .sim-act button { background: #fff; border: 1px solid #CBD5E1; color: var(--e-n); }
.e61 .sim-fine { max-width: 1180px; margin: 18px auto 0; text-align: center; }
@media (max-width: 1023px) {
  .e61 .e61-sim { grid-template-columns: minmax(0, 1fr); }
  .e61 .sim-form { position: static; max-height: none; }
}
@media (max-width: 640px) {
  .e61 .sim-stages, .e61 .sim-ck { grid-template-columns: 1fr; }
  .e61 .cl { grid-template-columns: 52px 1fr 120px; gap: 8px; }
  .e61 .sim-out .card, .e61 .sim-form { padding: 16px; }
  .e61 .hrs { grid-template-columns: 62px 1fr 1fr 52px; }
  .e61 .hrs input[type=time] { font-size: 13px; padding: 8px 2px; }
}

@media (max-width: 560px) {
  .e61 .row { grid-template-columns: 1fr auto; }
  .e61 .bar { grid-column: 1 / -1; order: 3; }
  .e61 .strip { gap: 4px; }
  .e61 .d { font-size: 11px; padding: 10px 2px; }
  .e61 .d b { font-size: 13px; }
  .e61 .card { padding: 18px; }
  .e61-nav { top: 61px; }
}
@media (prefers-reduced-motion: reduce) { .e61 * { transition: none !important; } }
