/* INÍCIO EM FORMATO DASHBOARD (2026-11-07) — ver js/inicio-dash.js */
.idash { display: flex; flex-direction: column; gap: 18px; }
.idash .card-box { margin: 0; }

/* Hero */
.idash-hero { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 18px 22px; }
.idash-hero .idash-welcome { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; gap: 18px; }
.idash-hero .idash-welcome h2 { font-size: 20px; margin: 0; }
.idash-hero .inicio-progress-ring { transform: scale(.85); }
.idash-hero-kpis { border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); padding: 0 8px; }
.idash-hero-kpis .summary-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; }
.idash-hero-kpis .summary-card {
  background: none; border: 0; box-shadow: none; margin: 0; padding: 4px 18px;
  display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left;
}
.idash-hero-kpis .summary-card + .summary-card { border-left: 1px solid var(--border-color); }
.idash-hero-kpis .summary-icon {
  grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-input);
  display: flex; align-items: center; justify-content: center; margin: 0;
}
.idash-hero-kpis .summary-value { font-size: 24px; line-height: 1.1; margin: 0; }
.idash-hero-kpis .summary-label { font-size: 12px; color: var(--text-muted); margin: 0; }
.idash-hero-cycle { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
.idash-cycle-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 600; }
.idash-cycle-info small { font-size: 11.5px; color: var(--text-muted); }
.idash-cycle-name { font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }

/* Acesso rápido */
.idash-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: -6px; }
.idash-section-head h3 { font-size: 18px; margin: 0; }
.idash-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.idash-quick-btn {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 12px 16px; background: var(--bg-surface); border: 1px solid var(--border-color);
  border-radius: var(--radius-md, 14px); color: var(--text-main); font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.idash-quick-btn:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: 0 8px 20px rgba(26, 92, 69, .12); }
.idash-quick-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.idash-quick-ic .material-symbol { font-size: 22px; }
.idash-chev { position: absolute; right: 8px; bottom: 8px; font-size: 16px !important; color: var(--text-muted); }

/* Grade principal */
.idash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.idash-main { padding: 18px 20px; min-width: 0; }
.idash-main > .config-tabs-nav { margin-top: 0; }
.idash-main .idash-flat { border: 0; box-shadow: none; padding: 0; background: none; }
.idash-main #inicio-tab-tarefas > div[style*="justify-content:flex-end"] { display: none; }
.idash-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 130px; }
.idash-widget { padding: 16px 18px; }
.idash-w-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.idash-w-head > .material-symbol { color: var(--primary); font-size: 20px; }
.idash-w-head h4 { margin: 0; flex: 1; font-size: 14.5px; }
.idash-link { background: none; border: 0; color: var(--primary); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }

.idash-bar-row { display: grid; grid-template-columns: 82px 1fr 26px; align-items: center; gap: 10px; width: 100%; padding: 5px 0; background: none; border: 0; font: inherit; color: var(--text-main); cursor: pointer; text-align: left; }
.idash-bar-row.static { cursor: default; }
.idash-bar-row:not(.static):hover .idash-bar-label { color: var(--primary); }
.idash-bar-label { font-size: 12.5px; }
.idash-bar-row strong { font-size: 13px; text-align: right; }
.idash-bar { display: block; height: 7px; border-radius: 99px; background: var(--bg-input); overflow: hidden; }
.idash-bar > span { display: block; height: 100%; border-radius: 99px; background: var(--primary); min-width: 4px; }
.idash-next-title { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 600; margin: 14px 0 6px; }
.idash-next { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-top: 1px solid var(--border-color); }
.idash-date { flex: 0 0 auto; font-size: 11.5px; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: var(--primary-light); color: var(--primary); }
.idash-date.late { background: #fdecea; color: #c62828; }
.idash-next-t { font-size: 12.5px; line-height: 1.3; display: flex; flex-direction: column; min-width: 0; }
.idash-next-t small { color: var(--text-muted); font-size: 11.5px; }

.idash-notif { display: flex; gap: 10px; align-items: center; width: 100%; padding: 8px 0; background: none; border: 0; border-top: 1px solid var(--border-color); font: inherit; color: var(--text-main); text-align: left; cursor: pointer; }
.idash-notif:first-child { border-top: 0; }
.idash-notif-ic { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--bg-input); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.idash-notif-ic .material-symbol { font-size: 17px; }
.idash-notif.unread .idash-notif-ic { background: var(--primary-light); color: var(--primary); }
.idash-notif.unread .idash-notif-t { font-weight: 600; }
.idash-notif-t { font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.idash-notif:hover .idash-notif-t { color: var(--primary); }
.idash-empty { font-size: 12.5px; color: var(--text-muted); padding: 6px 0; }

.idash-stack { display: flex; height: 8px; border-radius: 99px; overflow: hidden; gap: 3px; margin-top: 12px; background: var(--bg-input); }
.idash-stack span { display: block; }
.idash-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 11.5px; color: var(--text-muted); }
.idash-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }

@media (max-width: 1280px) {
  .idash-hero { grid-template-columns: 1fr auto; }
  .idash-hero-kpis { grid-column: 1 / -1; grid-row: 2; border: 0; border-top: 1px solid var(--border-color); padding: 14px 0 0; }
}
@media (max-width: 1100px) {
  .idash-grid { grid-template-columns: 1fr; }
  .idash-side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 700px) {
  .idash-hero { grid-template-columns: 1fr; }
  .idash-hero-kpis .summary-cards-grid { grid-template-columns: repeat(2, 1fr); row-gap: 12px; }
  .idash-hero-kpis .summary-card:nth-child(3) { border-left: 0; }
}

.idash-side { top: 140px; }

