/* V56 - histórico: "Abrir" vira acompanhamento de status, sem depender de arquivo */
.historyStatusOpenV56{
  min-width:122px !important;
  border-color:#cbd9ff !important;
  background:#f8faff !important;
  color:#164bff !important;
  font-weight:850 !important;
}
.historyStatusOpenV56:hover{
  border-color:#164bff !important;
  background:#edf3ff !important;
  transform:translateY(-1px);
}
.historyStatusModalOpenV56{overflow:hidden}
.historyStatusOverlayV56{
  position:fixed;inset:0;z-index:2147482500;
  display:grid;place-items:center;padding:24px;
  background:rgba(4,13,54,.54);
  backdrop-filter:blur(8px);
}
.historyStatusOverlayV56[hidden]{display:none !important}
.historyStatusModalV56{
  position:relative;width:min(720px,calc(100vw - 32px));max-height:min(760px,calc(100vh - 32px));overflow:auto;
  padding:32px;border:1px solid rgba(198,216,255,.95);border-radius:28px;
  background:linear-gradient(145deg,#ffffff 0%,#f7faff 100%);
  box-shadow:0 34px 90px rgba(3,19,77,.30);
  color:#10235f;
}
.historyStatusCloseV56{
  position:absolute;top:18px;right:18px;width:40px;height:40px;border:1px solid #dce5fb;border-radius:12px;
  display:grid;place-items:center;background:#fff;color:#53658f;font-size:25px;line-height:1;cursor:pointer;
}
.historyStatusTopV56{padding-right:50px}
.historyStatusEyebrowV56{display:inline-flex;margin-bottom:10px;padding:7px 11px;border-radius:999px;background:#eef2ff;color:#5a35e8;font-size:10px;font-weight:950;letter-spacing:.11em}
.historyStatusTopV56 h2{margin:0 0 8px;color:#07175c;font-size:34px;line-height:1.05;letter-spacing:-.04em}
.historyStatusSubtitleV56{margin:0;color:#7180a2;font-size:13px;line-height:1.55}
.historyStatusCurrentV56{
  margin:24px 0 18px;padding:16px 18px;border:1px solid #d8e5ff;border-radius:18px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#eef5ff,#f8fbff);
}
.historyStatusCurrentV56 span{font-size:12px;font-weight:800;color:#7180a2}
.historyStatusCurrentV56 strong{padding:9px 14px;border-radius:999px;background:linear-gradient(135deg,#1747f5,#5840ef);color:#fff;font-size:12px;font-weight:950;box-shadow:0 10px 24px rgba(23,71,245,.18)}
.historyStatusCurrentV56 strong[data-tone="warning"]{background:linear-gradient(135deg,#b94932,#dc6c42)}
.historyStatusTimelineV56{position:relative;display:grid;gap:0;margin-top:6px}
.historyStatusStepV56{position:relative;display:grid;grid-template-columns:48px 1fr;gap:14px;padding:10px 0 18px}
.historyStatusStepV56:not(:last-child)::after{content:"";position:absolute;left:23px;top:53px;bottom:-1px;width:2px;background:#dde5f6}
.historyStatusStepNumberV56{position:relative;z-index:1;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;border:1px solid #d4def4;background:#fff;color:#7b8aac;font-size:14px;font-weight:950}
.historyStatusStepV56 strong{display:block;margin:3px 0 5px;color:#13275f;font-size:14px;font-weight:900}
.historyStatusStepV56 p{margin:0;color:#7482a2;font-size:12px;line-height:1.5}
.historyStatusStepV56.is-done .historyStatusStepNumberV56{border-color:#bce8d0;background:#e9fbf0;color:#159558}
.historyStatusStepV56.is-done:not(:last-child)::after{background:#aee2c6}
.historyStatusStepV56.is-active .historyStatusStepNumberV56{border-color:#5d49f5;background:linear-gradient(135deg,#1747f5,#6840f2);color:#fff;box-shadow:0 0 0 7px #eeeaff,0 9px 23px rgba(45,53,217,.20)}
.historyStatusStepV56.is-active strong{color:#4c35e8}
.historyStatusExceptionV56{margin-bottom:14px;padding:14px 16px;border-radius:16px;background:#fff3ef;border:1px solid #ffd2c5;color:#8b3f2f;display:flex;flex-direction:column;gap:4px}
.historyStatusExceptionV56 strong{font-size:13px}.historyStatusExceptionV56 span{font-size:12px;line-height:1.45}
.historyStatusFootV56{margin-top:8px;padding-top:18px;border-top:1px solid #e1e8f5;display:flex;align-items:center;justify-content:space-between;gap:18px}
.historyStatusFootV56 p{margin:0;max-width:490px;color:#7180a2;font-size:11.5px;line-height:1.5}
.historyStatusOkV56{flex:0 0 auto;min-height:42px;padding:0 20px;border:0;border-radius:12px;background:#164bff;color:#fff;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 10px 22px rgba(22,75,255,.18)}
@media(max-width:700px){
  .historyStatusOverlayV56{padding:12px;align-items:end}
  .historyStatusModalV56{width:100%;max-height:88vh;padding:24px 18px 20px;border-radius:24px 24px 16px 16px}
  .historyStatusTopV56 h2{font-size:27px}
  .historyStatusCurrentV56{align-items:flex-start;flex-direction:column;gap:8px}
  .historyStatusFootV56{align-items:stretch;flex-direction:column}
  .historyStatusOkV56{width:100%}
  .historyStatusOpenV56{min-width:auto !important}
}
@media(prefers-reduced-motion:reduce){.historyStatusOpenV56{transition:none !important}}
