/* Início: saudação, piloto automático (ligado / pausado / passo a passo), o que depende da pessoa, próximos 7 dias, resultados. */
.dash { display: flex; flex-direction: column; gap: 24px; }
.dash-hello h2 { font-size: 26px; letter-spacing: -.03em; margin: 0 0 4px; }
.dash-hello p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 760px; }

/* piloto ligado / pausado */
.dash-pilot { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; align-items: center; padding: 22px 26px; }
.dash-pilot.is-on { border-color: var(--ok-line); background: linear-gradient(135deg, #fff 0%, var(--ok-soft) 100%); }
.dash-pilot.is-paused { border-color: var(--warn-line); background: linear-gradient(135deg, #fff 0%, var(--warn-soft) 100%); }
.dash-pilot-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ok); }
.dash-pilot.is-paused .dash-pilot-badge { color: var(--warn); }
.dash-pilot-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.dash-pilot.is-on .dash-pilot-dot { animation: dash-pulse 2.2s ease-in-out infinite; }
@keyframes dash-pulse { 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); } 50% { box-shadow: 0 0 0 7px color-mix(in srgb, currentColor 8%, transparent); } }
.dash-pilot-main h3 { font-size: 21px; letter-spacing: -.03em; margin: 8px 0 4px; }
.dash-pilot-main p { margin: 0; font-size: 14px; line-height: 1.5; }
.dash-accts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.dash-acct { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 12.5px; font-weight: 500; text-decoration: none; }
.dash-acct img, .dash-acct i { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; font-style: normal; font-size: 8px; display: grid; place-items: center; }
.dash-acct.is-bad { border-color: var(--err-line); color: var(--err); background: var(--err-soft); padding-left: 9px; }
.dash-pilot-stats { display: flex; gap: 18px; padding: 0 8px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.dash-pilot-stats .kpi { min-width: 110px; padding: 6px 10px; }
.dash-pilot-stats .kpi strong { font-size: 30px; }
.dash-pilot-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.dash-pilot-actions form { display: contents; }

/* passo a passo (antes de ligar) */
.dash-start { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 24px 26px; border-color: var(--orange-line); background: linear-gradient(135deg, #fff 0%, var(--orange-soft) 100%); }
.dash-start-main h3 { font-size: 22px; letter-spacing: -.03em; margin: 2px 0 6px; }
.dash-start-main p { margin: 0 0 16px; }
.dash-steps li { padding: 9px 0; }
.dash-steps li > div small { font-size: 12px; }
.dash-steps li.is-next > div a { color: var(--ink); }

.dash-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.dash-section-head h3 { margin: 0; font-size: 16px; }
.dash-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.dash-action { display: flex; flex-direction: column; gap: 4px; text-decoration: none; padding: 18px; transition: transform .15s var(--ease), box-shadow .15s, border-color .15s; }
.dash-action:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.dash-action-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 8px; background: var(--surface-2); color: var(--ink-2); }
.dash-action.tone-accent .dash-action-ic { background: var(--orange-soft); color: var(--orange); }
.dash-action.tone-ok .dash-action-ic { background: var(--ok-soft); color: var(--ok); }
.dash-action.tone-err .dash-action-ic { background: var(--err-soft); color: var(--err); }
.dash-action.tone-info .dash-action-ic { background: var(--info-soft); color: var(--info); }
.dash-action.tone-err { border-color: var(--err-line); }
.dash-action-n { font: 700 28px/1 var(--font-display); letter-spacing: -.04em; }
.dash-action strong { font-size: 14.5px; }
.dash-action p { margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.4; flex: 1; }
.dash-clear { display: flex; gap: 14px; align-items: center; padding: 18px 20px; }
.dash-clear-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; flex: none; }
.dash-clear-ic.is-muted { background: var(--surface-2); color: var(--muted); }
.dash-clear p { margin: 0; font-size: 13.5px; }

/* próximos 7 dias: faixa horizontal de mini cards */
.dash-week { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.dash-day { display: flex; flex-direction: column; text-decoration: none; overflow: hidden; scroll-snap-align: start; transition: transform .15s var(--ease), box-shadow .15s; }
.dash-day:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.dash-day.is-failed { border-color: var(--err-line); }
.dash-day-thumb { background: var(--surface-3); padding: 10px 10px 0; display: flex; justify-content: center; max-height: 170px; overflow: hidden; pointer-events: none; }
.dash-day-thumb .pv-feed, .dash-day-thumb .pv-stories { max-width: 170px; width: 100%; border-radius: 10px 10px 0 0; box-shadow: none; border-bottom: 0; }
.dash-day-thumb .pv-feed-head, .dash-day-thumb .pv-feed-icons, .dash-day-thumb .pv-caption, .dash-day-thumb .pv-linkedin-actions, .dash-day-thumb .pv-stories-head, .dash-day-thumb .pv-stories-foot, .dash-day-thumb .pv-stories-bars, .dash-day-thumb .pv-stories-reply { display: none; }
.dash-day-info { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.dash-day-info strong { font-size: 13.5px; }
.dash-day-info small { font-size: 12px; }
.dash-day-info .chip { align-self: flex-start; margin-top: 4px; }

.dash-acct-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; margin-bottom: 14px; }
.dash-acct-stat { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-3); text-decoration: none; color: var(--ink); }
.dash-acct-stat img, .dash-acct-stat i { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; font-style: normal; font-size: 11px; display: grid; place-items: center; }
.dash-acct-stat div { min-width: 0; display: flex; flex-direction: column; }
.dash-acct-stat strong { font-size: 14px; }
.dash-acct-stat span { font-size: 12.5px; color: var(--ink-2); }
.dash-acct-stat b { color: var(--ink); }
.dash-perf-empty { display: flex; gap: 16px; align-items: flex-start; padding: 6px 0; }
.dash-perf-empty p { margin: 2px 0 0; font-size: 13.5px; }

@media (max-width: 1100px) { .dash-pilot { grid-template-columns: 1fr; } .dash-pilot-stats { border: 0; padding: 0; } .dash-pilot-actions { flex-direction: row; } }
@media (max-width: 960px) { .dash-start { grid-template-columns: 1fr; gap: 16px; padding: 20px; } .dash-pilot { padding: 18px; } }
