/* NEXO 3.1.4 - Visao geral orientada a uma unica proxima acao */
.focus-dashboard{display:grid;gap:14px}
.focus-dashboard>.next-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:34px;min-height:228px;margin:0;padding:32px 36px;overflow:hidden;border:1px solid rgba(126,232,218,.2);border-radius:22px;background:linear-gradient(118deg,#0b1d36 0%,#0d3c54 58%,#0e827f 100%);box-shadow:0 22px 54px rgba(5,24,40,.2)}
.focus-dashboard>.next-card:before{display:none!important;content:none!important}
.focus-copy{min-width:0;max-width:930px}
.focus-kicker{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.focus-kicker .eyebrow{margin:0;color:#a9dcd7;font-size:10px;letter-spacing:.17em}
.focus-dashboard .next-card h2{max-width:900px;margin:0;color:#fff;font-size:clamp(27px,3vw,40px);font-weight:780;line-height:1.08;letter-spacing:-.042em;overflow-wrap:anywhere}
.next-meta-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}
.next-meta-chips span{display:inline-flex;align-items:center;min-height:28px;padding:6px 10px;border:1px solid rgba(255,255,255,.14);border-radius:999px;color:#d9eeec;background:rgba(5,20,35,.18);font-size:10px;font-weight:650;line-height:1.25}
.next-reason{max-width:760px;margin:13px 0 0!important;color:#b9d9d6!important;font-size:10px!important;line-height:1.55}
.next-status-chip{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:6px 10px;border:1px solid rgba(255,255,255,.19);border-radius:999px;color:#eafffc;background:rgba(255,255,255,.1);font-size:9px;font-weight:780}
.next-status-chip:before{content:"";width:7px;height:7px;border-radius:50%;background:#78e2d4;box-shadow:0 0 0 4px rgba(120,226,212,.12)}
.next-status-chip:hover,.next-status-chip:focus-visible{border-color:rgba(255,255,255,.42);background:rgba(255,255,255,.16)}
.next-status-chip.review:before{background:#d8c6ff}.next-status-chip.overdue:before,.next-status-chip.blocked:before{background:#ff9b9b}.next-status-chip.postponed:before{background:#d4dbe6}
.focus-dashboard .next-actions{display:grid;grid-template-columns:repeat(3,max-content);gap:8px;align-items:center}
.focus-dashboard .next-actions button{min-width:116px;min-height:48px;padding:11px 16px;border-radius:12px;font-size:10.5px;font-weight:760;white-space:nowrap}
.focus-dashboard .next-actions button:focus-visible,.next-status-chip:focus-visible{outline:3px solid rgba(134,238,225,.75);outline-offset:3px}
.focus-dashboard .white-button{color:#0b315a;background:#fff;box-shadow:0 9px 22px rgba(2,19,34,.16)}
.focus-dashboard .white-button:hover{background:#effffc}
.focus-dashboard .white-button:disabled{color:#c6e5e1;background:rgba(255,255,255,.16);box-shadow:none;cursor:default}
.focus-dashboard .status-button{color:#effffc;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.1)}
.focus-dashboard .status-button:hover{background:rgba(255,255,255,.17)}
.focus-dashboard .outline-button{border-color:rgba(255,255,255,.25);background:transparent}
.focus-dashboard .outline-button:hover{background:rgba(255,255,255,.09)}
.focus-dashboard>.next-card.focus-status-overdue,.focus-dashboard>.next-card.focus-status-blocked{box-shadow:inset 4px 0 #ff8b8b,0 22px 54px rgba(5,24,40,.2)}
.focus-dashboard>.next-card.focus-status-review{box-shadow:inset 4px 0 #c9b3ff,0 22px 54px rgba(5,24,40,.2)}
.focus-dashboard>.next-card.all-clear{min-height:196px;background:linear-gradient(118deg,#0b1d36,#124555 68%,#126a67)}
.focus-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px;padding:0 5px;color:var(--muted);font-size:10px}
.focus-footer span{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.focus-footer strong{color:var(--ink);font-size:11px}.focus-footer i{width:3px;height:3px;border-radius:50%;background:var(--muted)}
.focus-footer button{min-height:38px;padding:8px 10px;border:0;color:var(--blue);background:transparent;font-size:10px;font-weight:760}
.focus-footer button:hover{text-decoration:underline}
.focus-dashboard-more{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--panel) 92%,transparent);box-shadow:var(--nx-shadow-sm,0 8px 22px rgba(11,29,54,.05))}
.focus-dashboard-more>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:52px;padding:13px 17px;cursor:pointer;list-style:none;color:var(--ink);font-size:11px;font-weight:760}
.focus-dashboard-more>summary::-webkit-details-marker{display:none}
.focus-dashboard-more>summary:before{content:"+";display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:8px;color:var(--blue);background:var(--pale);font-size:16px;font-weight:500}
.focus-dashboard-more[open]>summary:before{content:"-"}
.focus-dashboard-more>summary span{margin-right:auto}.focus-dashboard-more>summary small{color:var(--muted);font-size:9px;font-weight:550}
.focus-dashboard-more-content{display:grid;gap:14px;padding:0 14px 14px;border-top:1px solid var(--line)}
.focus-dashboard-more-content>.calm-automation{margin:14px 0 0}.focus-dashboard-more-content>.stats-grid{margin:0}.focus-dashboard-more-content>.dashboard-grid{margin:0}
.focus-dashboard-more-content .dashboard-grid{grid-template-columns:1.25fr .8fr}

.task-status-marker.blocked,.status-chip.blocked{color:#c33;background:#fff0f0}.task-status-marker.postponed,.status-chip.postponed{color:#65748a;background:#edf1f6}
[data-theme="dark"] .status-chip.blocked,[data-theme="blackwhite"] .status-chip.blocked{color:#ffaaaa;background:#301a1e}
[data-theme="dark"] .status-chip.postponed,[data-theme="blackwhite"] .status-chip.postponed{color:#cbd5e1;background:#242c37}

.nexo314-status-modal{width:min(94vw,720px);max-height:min(92vh,790px);overflow:hidden;border:1px solid var(--line);border-radius:20px;color:var(--ink);background:var(--panel)}
.nexo314-status-modal::backdrop{background:rgba(5,16,29,.58);backdrop-filter:blur(5px)}
.nexo314-status-modal .status-modal-body{display:grid;gap:15px;max-height:min(92vh,790px);overflow-y:auto;padding:25px}
.nexo314-status-modal .modal-head{align-items:flex-start}.nexo314-status-modal .modal-head h2{max-width:580px;margin:0;font-size:22px;line-height:1.2;overflow-wrap:anywhere}
.nexo314-status-modal .modal-head button{display:grid;place-items:center;min-width:40px;width:40px;height:40px;color:var(--muted);background:var(--paper);font-size:23px}
.nexo314-status-modal .status-modal-copy{margin:0;color:var(--muted);font-size:10.5px;line-height:1.55}
.nexo314-status-modal .status-option-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.nexo314-status-modal .status-option{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:11px;min-height:72px;padding:13px;border:1px solid var(--line);border-radius:13px;color:var(--ink);background:var(--panel);text-align:left}
.nexo314-status-modal .status-option:hover{border-color:color-mix(in srgb,var(--blue) 45%,var(--line));background:var(--pale)}
.nexo314-status-modal .status-option.active{border-color:var(--blue);background:color-mix(in srgb,var(--pale) 76%,var(--panel));box-shadow:0 0 0 2px color-mix(in srgb,var(--blue) 12%,transparent)}
.nexo314-status-modal .status-option:focus-visible{outline:3px solid color-mix(in srgb,var(--blue) 30%,transparent);outline-offset:2px}
.nexo314-status-modal .status-option>span:last-child{min-width:0}.nexo314-status-modal .status-option strong,.nexo314-status-modal .status-option small{display:block}
.nexo314-status-modal .status-option strong{font-size:11px}.nexo314-status-modal .status-option small{margin-top:5px;color:var(--muted);font-size:8.5px;line-height:1.45}
.nexo314-status-modal .task-status-marker{width:11px;height:11px;margin-top:2px;border:2px solid currentColor;border-radius:50%;background:transparent}
.nexo314-status-modal .status-note,.nexo314-status-modal .status-resume{gap:7px;color:var(--ink);font-size:10px}
.nexo314-status-modal .status-resume[hidden]{display:none!important}
.nexo314-status-modal textarea,.nexo314-status-modal input{min-height:44px;background:var(--paper)}
.nexo314-status-modal .status-field-help{margin:-5px 0 0;color:var(--muted);font-size:9px;line-height:1.45}
.nexo314-status-modal .status-form-error{min-height:16px;margin:-6px 0 0;color:var(--red);font-size:9px;font-weight:700}
.nexo314-status-modal #save-status-note{min-height:46px}

[data-theme="dark"] .focus-dashboard-more,[data-theme="blackwhite"] .focus-dashboard-more{background:var(--panel)}
[data-theme="blackwhite"] .focus-dashboard>.next-card{color:#fff;background:linear-gradient(118deg,#111,#222 64%,#333);border-color:#444}
[data-theme="blackwhite"] .focus-dashboard>.next-card h2,[data-theme="blackwhite"] .focus-dashboard>.next-card .next-actions .outline-button,[data-theme="blackwhite"] .focus-dashboard>.next-card .next-actions .status-button{color:#fff}
[data-theme="blackwhite"] .focus-dashboard .white-button{color:#050505;background:#f5f5f5}

@media(max-width:1100px){
  .focus-dashboard>.next-card{grid-template-columns:1fr;gap:24px;min-height:0}
  .focus-dashboard .next-actions{grid-template-columns:repeat(3,1fr);width:100%}.focus-dashboard .next-actions button{min-width:0;width:100%}
  .focus-dashboard-more-content .dashboard-grid{grid-template-columns:1fr}
}

@media(max-width:760px){
  .focus-dashboard{gap:10px}.focus-dashboard>.next-card{gap:21px;margin:0;padding:23px 19px;border-radius:18px}
  .focus-dashboard .next-card h2{font-size:clamp(24px,8vw,31px);line-height:1.12}.focus-kicker{margin-bottom:13px}.next-meta-chips{gap:6px;margin-top:15px}.next-meta-chips span{min-height:27px;padding:5px 8px;font-size:9px}
  .next-reason{margin-top:11px!important;font-size:9.5px!important}.focus-dashboard .next-actions{gap:6px}.focus-dashboard .next-actions button{min-height:46px;padding:9px 7px;font-size:9.5px;white-space:normal}
  .focus-footer{align-items:flex-start;flex-direction:column;gap:1px;padding:2px 4px}.focus-footer button{padding-left:0}
  .focus-dashboard-more>summary{align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;padding:12px 13px}.focus-dashboard-more>summary small{width:calc(100% - 42px);margin:-8px 0 0 42px}.focus-dashboard-more-content{padding:0 10px 10px}
  .nexo314-status-modal{width:calc(100vw - 18px);max-height:calc(100dvh - 18px);border-radius:17px}.nexo314-status-modal .status-modal-body{max-height:calc(100dvh - 18px);padding:19px 15px}.nexo314-status-modal .status-option-grid{grid-template-columns:1fr}.nexo314-status-modal .status-option{min-height:64px;padding:11px}.nexo314-status-modal .modal-head h2{font-size:19px}
}

@media(max-width:360px){
  .focus-dashboard>.next-card{padding:20px 15px}.focus-dashboard .next-actions{grid-template-columns:1fr 1fr}.focus-dashboard .next-actions #start-next{grid-column:1/-1}.focus-dashboard .next-actions button{font-size:10px}
}

@media(prefers-reduced-motion:reduce){.focus-dashboard *,.nexo314-status-modal *{scroll-behavior:auto!important;transition:none!important}}
