/* PRISMA TMS · Identidade oficial e visão da quinzena (V1). */
.brand.brand-prisma-oficial {
  display:flex; flex-direction:column; align-items:stretch; gap:9px;
  padding:14px 13px 15px; text-decoration:none; height:auto;
}
.brand-prisma-oficial .brand-logo-panel {
  display:block; box-sizing:border-box; width:100%; background:#fff;
  border-radius:9px; padding:7px 9px; overflow:hidden;
}
.brand-prisma-oficial .brand-logo-panel img {
  display:block; width:100%; max-width:100%; height:auto; object-fit:contain;
}
.brand-prisma-oficial .brand-copy {display:flex; flex-direction:column; gap:2px; padding:0 5px;}
.brand-prisma-oficial .brand-copy strong {font-size:16px; font-weight:800; letter-spacing:.01em; color:#fff; line-height:1.2;}
.brand-prisma-oficial .brand-copy small {font-size:11px; color:#b9cce5; letter-spacing:.01em;}
.login-prisma-oficial {display:block; width:300px; max-width:100%; height:auto; margin:0 auto 22px;}
.period-overview {position:relative; overflow:hidden; margin:0 0 22px;}
.period-overview::before {
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg,#111 0 20%,#902aa5 20% 38%,#f02448 38% 56%,#ffce17 56% 73%,#00afbf 73% 87%,#f5a323 87% 100%);
}
.period-overview-head {display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:23px 24px 19px;}
.period-overview-head .eyebrow {margin:0 0 8px;}
.period-overview-head h2 {font-size:20px; font-weight:800; color:#142b4c; margin:0 0 6px; line-height:1.3;}
.period-overview-head p:not(.eyebrow) {margin:0; font-size:13px; color:#64748b;}
.period-overview-head p strong {color:#243c5e;}
.period-overview-actions {display:flex; align-items:center; gap:16px; flex-wrap:wrap; justify-content:flex-end;}
.period-stage {display:inline-flex; align-items:center; padding:7px 12px; border-radius:8px; background:#fff5e7; color:#9b5a04; font-size:12px; font-weight:800; white-space:nowrap;}
.period-stage.is-closed {background:#e8f7ee; color:#157447;}
.period-overview-grid {display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; padding:0 22px 22px;}
.period-stat {display:flex; flex-direction:column; min-width:0; gap:9px; border:1px solid #e2e8f0; border-radius:12px; padding:16px 14px; background:#f9fbfe;}
.period-stat > span {color:#637694; font-size:11px; font-weight:800; line-height:1.45; letter-spacing:.015em; text-transform:uppercase;}
.period-stat > strong {font-size:25px; color:#152f53; font-weight:800; letter-spacing:-.025em; line-height:1.1; overflow-wrap:anywhere;}
.period-stat > small {font-size:11px; line-height:1.45; color:#7789a2;}
.period-stat-primary {background:#f0f7ff; border-color:#c9dffb;}
.period-stat-primary > strong {font-size:clamp(19px,1.7vw,27px); color:#0959c4;}
.period-stat-warning {background:#fff8ed; border-color:#f4d9a9;}
.period-stat-warning > strong {color:#9b5a04;}
.period-stat > strong.period-approval-label {font-size:17px; letter-spacing:0;}
.day-section-head {display:flex; justify-content:space-between; align-items:end; gap:12px; margin:0 0 13px;}
.day-section-head .eyebrow {margin:0 0 5px;}
.day-section-head h2 {font-size:18px; font-weight:800; color:#142b4c; margin:0;}
.day-section-head > span {font-size:12px; color:#7587a1;}
@media (max-width:1350px) { .period-overview-grid {grid-template-columns:repeat(3,minmax(0,1fr));} }
@media (max-width:900px) { .period-overview-grid {grid-template-columns:repeat(2,minmax(0,1fr));} .period-overview-head {flex-direction:column;} .period-overview-actions {justify-content:flex-start;} }
@media (max-width:560px) { .period-overview-grid {grid-template-columns:1fr; padding:0 14px 16px;} .period-overview-head {padding:20px 16px 16px;} .day-section-head {align-items:start; flex-direction:column;} }
