/* Painel assistencial. Os demais módulos conservam seus próprios estilos. */
#view-dashboard.vn-overview{
  --vn-d-bg:#edf5fc;--vn-d-card:#f7faff;--vn-d-border:#bed5eb;--vn-d-ink:#121f40;--vn-d-muted:#354861;
  --vn-d-accent:#064bd8;--vn-d-blue:#0055ec;--vn-d-soft:#e7f1fc;--vn-d-tint:#d5e8fc;
  --vn-d-warn:#fff3da;--vn-d-warn-ink:#734109;--vn-d-control:#f8fbff;
  container-type:inline-size;min-width:0;min-height:calc(100dvh - 63px);padding:9px 15px 16px;
  color:var(--vn-d-ink);background:linear-gradient(145deg,#f0f7fc,var(--vn-d-bg) 55%,#e3f0fc);
  font-family:Inter,"Segoe UI",sans-serif;font-size:.87rem;line-height:1.32
}
#screen[data-theme="dark"] #view-dashboard.vn-overview,.workspace[data-theme="dark"] #view-dashboard.vn-overview{
  --vn-d-bg:#0d1c2f;--vn-d-card:#14283e;--vn-d-border:#3d5a76;--vn-d-ink:#eef5ff;--vn-d-muted:#c4d6ea;
  --vn-d-accent:#9bc6ff;--vn-d-blue:#155dcc;--vn-d-soft:#203951;--vn-d-tint:#21486e;
  --vn-d-warn:#453722;--vn-d-warn-ink:#ffda91;--vn-d-control:#183049;
  background:linear-gradient(145deg,#142840,var(--vn-d-bg) 70%)
}
.vn-overview [hidden],.dashboard-header #vn-unidade-atalho[hidden]{display:none!important}
.vn-overview *{box-sizing:border-box;min-width:0}
.vn-overview :is(h1,h2,h3,p,ul){margin:0}
.vn-overview :is(button,input,summary){font:inherit}
.vn-overview button{cursor:pointer;color:inherit}
.vn-overview button:disabled{cursor:default;opacity:.68}
.vn-overview :is(button,input,summary,[tabindex]):focus-visible{outline:2px solid var(--vn-d-accent);outline-offset:2px}
.vn-overview-title{padding:1px 3px 10px}
.vn-overview-title h1{color:var(--vn-d-ink);font-size:clamp(1.25rem,2.13vw,1.79rem);font-weight:800;letter-spacing:-.035em;line-height:1.18}
.vn-overview-grid{display:grid;grid-template-columns:minmax(0,1.88fr) minmax(270px,1fr);gap:12px;align-items:start}
.vn-overview-main,.vn-overview-side{display:grid;gap:10px;align-content:start}
.vn-overview-hero{position:relative;isolation:isolate;min-height:168px;display:grid;align-items:center;grid-template-columns:minmax(0,1fr) minmax(0,31%);overflow:hidden;border:1px solid var(--vn-d-border);border-radius:13px;background:linear-gradient(114deg,#e5f1ff,#cfe6fb 64%,#a9d3fb)}
#screen[data-theme="dark"] .vn-overview-hero,.workspace[data-theme="dark"] .vn-overview-hero{background:linear-gradient(114deg,#142940,#1e4265 61%,#285578)}
.vn-overview-welcome{z-index:1;padding:20px clamp(14px,2vw,28px);padding-inline-end:0;align-self:center}
.vn-overview-welcome h2{font-size:clamp(1.25rem,2.3vw,2rem);font-weight:800;letter-spacing:-.046em;line-height:1.11;overflow-wrap:anywhere}
.vn-overview-welcome h2 strong{color:var(--vn-d-accent)}
.vn-overview-welcome p{font-size:.9rem;color:var(--vn-d-muted);margin-block-start:5px}
.vn-overview-welcome p strong{font-weight:740;color:var(--vn-d-ink)}
.vn-overview-art{position:absolute;z-index:0;inset-block-end:0;inset-inline-end:0;height:100%;width:clamp(190px,40%,310px);background:url('/assets/layout-classico/painel-ilustracao.jpg') center top / cover no-repeat;mask-image:linear-gradient(to right,transparent,transparent 13%,#000 39%)}
#screen[data-theme="dark"] .vn-overview-art,.workspace[data-theme="dark"] .vn-overview-art{filter:brightness(.78) saturate(.84)}
.vn-overview-meta,.vn-overview-meta>span,.vn-overview-meta time{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.vn-overview-meta{gap:.65rem 1.1rem;margin-block-start:14px;font-weight:650;font-size:.79rem}
.vn-overview-meta>span+span{padding-inline-start:12px;border-inline-start:1px solid var(--vn-d-border)}
.vn-overview-meta strong{font-variant-numeric:tabular-nums;background:var(--vn-d-tint);color:var(--vn-d-ink);border-radius:5px;padding:2px 6px}
.vn-overview-icon{width:1.36rem;height:1.36rem;flex:none;fill:none;stroke:var(--vn-d-accent,#0755d7);stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.vn-overview-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.vn-overview-metrics button{display:flex;align-items:flex-start;gap:7px;padding:9px;min-height:73px;text-align:start;border-radius:11px;background:var(--vn-d-card);border:1px solid var(--vn-d-border);box-shadow:0 2px 4px #24558b08}
.vn-overview-metrics button>span{overflow-wrap:anywhere;font-size:.76rem;line-height:1.19}
.vn-overview-metrics strong{display:block;font-size:1.55rem;line-height:1.1;margin-top:3px;font-variant-numeric:tabular-nums;letter-spacing:-.04em}
.vn-overview-metrics .vn-overview-icon{width:35px;height:35px;border-radius:50%;padding:7px;background:var(--vn-d-tint)}
.vn-overview-metrics button:nth-child(2) .vn-overview-icon,.vn-overview-metrics button:nth-child(5) .vn-overview-icon{background:var(--vn-d-warn);stroke:var(--vn-d-warn-ink)}
.vn-overview-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:10px;align-items:stretch}
.vn-overview-card{padding:11px 12px;border:1px solid var(--vn-d-border);border-radius:12px;background:var(--vn-d-card);box-shadow:0 2px 6px #123e7b0c}
.vn-overview-card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}
.vn-overview-card-head h2{display:flex;align-items:center;gap:8px;color:var(--vn-d-ink);font-size:clamp(.97rem,1.35vw,1.2rem);font-weight:790;letter-spacing:-.029em}
.vn-overview-card-head p{margin-top:2px;color:var(--vn-d-muted);font-size:.81rem}
.vn-overview :is(.vn-overview-link,.vn-overview-agenda-select){padding:5px 3px;min-height:32px;border:0;background:transparent;color:var(--vn-d-accent);font-weight:680;text-align:start}
.vn-overview-link:hover,.vn-overview-agenda-select:hover{text-decoration:underline}
.vn-overview-agenda-head,.vn-overview-agenda-row{display:grid;grid-template-columns:3.55rem minmax(0,1fr) minmax(4.5rem,auto) auto;gap:6px;align-items:center;padding:4px 7px}
.vn-overview-agenda-head{border-radius:6px;background:var(--vn-d-soft);font-size:.74rem;font-weight:750}
.vn-overview-agenda-row{border-bottom:1px solid var(--vn-d-border);min-height:44px}
.vn-overview-agenda-row>time{font-variant-numeric:tabular-nums;font-weight:790}
.vn-overview-agenda-row>button:last-child{padding-inline:5px}
.vn-overview-agenda-select .vn-overview-person-label b{font-size:.79rem;font-weight:640;color:var(--vn-d-ink)}
.vn-overview-agenda-select[aria-pressed="true"] .vn-overview-person-label b{color:var(--vn-d-accent)}
.vn-overview-agenda-row :is(.status-chip,.ap-chip,.aps-workspace-state,.section-chip){font-size:.72rem;white-space:normal}
.vn-overview-agenda-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:2px 14px}
.vn-overview-caption,.vn-overview-muted,.vn-overview-note{font-size:.78rem;color:var(--vn-d-muted)}
.vn-overview-caption{padding-top:5px;margin-top:2px!important}
.vn-overview-queue-empty{display:grid;justify-items:center;text-align:center;gap:2px;padding:4px 0}
.vn-overview-queue-empty .vn-overview-icon{width:37px;height:30px;stroke:var(--vn-d-muted);opacity:.75}
.vn-overview-queue-empty p{font-size:.79rem;color:var(--vn-d-muted)}
.vn-overview-queue-footer{text-align:center;margin-top:7px}
.vn-overview :is(.vn-overview-outline,.vn-overview-primary,.vn-overview-shortcuts button,.vn-overview-ai-actions button,.vn-overview-tabs button){min-height:36px;padding:6px 9px;border:1px solid var(--vn-d-border);border-radius:8px;background:var(--vn-d-control);font-weight:680}
.vn-overview :is(.vn-overview-outline,.vn-overview-outline:hover){border-color:var(--vn-d-accent);color:var(--vn-d-accent)}
.vn-overview button.vn-overview-primary{color:#fff;background:linear-gradient(180deg,var(--vn-d-blue),#0644c8);border-color:var(--vn-d-blue)}
.vn-overview-context,.vn-overview-assistant-context{padding:9px;border-radius:8px;background:linear-gradient(135deg,var(--vn-d-soft),var(--vn-d-tint))}
.vn-overview-context,.vn-overview-assistant-patient{display:flex;justify-content:space-between;align-items:center;gap:8px}
.vn-overview-context .vn-overview-primary{flex:none}
.vn-overview-person{display:flex;gap:8px;align-items:center}
.vn-overview-initials{display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:50%;font-weight:800;color:var(--vn-d-accent);background:var(--vn-d-tint);border:1px solid var(--vn-d-border)}
.vn-overview-agenda-row .vn-overview-initials{width:26px;height:26px;font-size:.66rem}
.vn-overview-person-label{display:grid;overflow-wrap:anywhere;gap:2px;color:var(--vn-d-ink)}
.vn-overview-person-label small{color:var(--vn-d-muted);font-size:.76rem}
.vn-overview-tabs{display:flex;overflow:auto;gap:3px;margin-top:8px;padding:2px 2px 4px}
.vn-overview .vn-overview-tabs button{flex:1 0 max-content;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:4px 7px;font-size:.78rem}
.vn-overview .vn-overview-tabs button[aria-selected="true"]{color:var(--vn-d-accent);background:var(--vn-d-tint);box-shadow:inset 0 -2px var(--vn-d-accent)}
.vn-overview #vn-painel-prontuario-resumo{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:7px;margin-top:5px}
.vn-overview-record{border:1px solid var(--vn-d-border);border-radius:8px;padding:8px;background:var(--vn-d-control)}
.vn-overview-record h3{font-size:.88rem;font-weight:740}
.vn-overview-record-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:5px;padding:3px 0}
.vn-overview-record-row .vn-overview-icon,.vn-overview-tabs .vn-overview-icon{width:1.05rem;height:1.05rem}
.vn-overview-shortcuts,.vn-overview-ai-actions{display:grid;gap:6px}
.vn-overview-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));padding:6px}
.vn-overview-ai-actions{grid-template-columns:repeat(2,minmax(0,1fr));margin:7px 0 10px}
.vn-overview :is(.vn-overview-shortcuts,.vn-overview-ai-actions) button{display:flex;align-items:center;justify-content:center;gap:7px;text-align:start;font-size:.8rem}
.vn-overview .vn-overview-ai-actions button{justify-content:start;min-height:43px;font-weight:760}
.vn-overview-footer{font-size:.78rem;color:var(--vn-d-muted);padding:2px 3px}
.vn-overview-badge{background:var(--vn-d-tint);border-radius:20px;color:var(--vn-d-accent);font-size:.65rem;padding:3px 7px;font-weight:800;letter-spacing:.04em}
.vn-overview-kicker{color:var(--vn-d-ink);font-size:.69rem;text-transform:uppercase;letter-spacing:.05em;font-weight:790;margin:5px 0!important}
.vn-overview-chat{min-height:38px}
.vn-overview-answer{padding:7px 9px;border-radius:8px;background:var(--vn-d-tint);color:var(--vn-d-ink);font-size:.84rem}
.vn-overview-query{margin:7px 0 5px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border:1px solid var(--vn-d-border);border-radius:8px;background:var(--vn-d-control)}
.vn-overview-query input{min-height:36px;border:0;color:var(--vn-d-ink);border-radius:8px;background:none;width:100%;padding-inline:8px}
.vn-overview-query input::placeholder{color:var(--vn-d-muted)}
.vn-overview-query button{display:grid;place-items:center;min-height:37px;min-width:40px;border:0;border-radius:8px;background:none}
.vn-overview-note{display:flex;align-items:start;gap:5px}
.vn-overview-note .vn-overview-icon{width:15px;height:15px}
.vn-overview-pending,.vn-overview-activity{list-style:none;padding:0;display:grid;gap:4px}
.vn-overview-pending-item,.vn-overview-activity-item{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:5px;border:0;text-align:start;padding:5px 7px;min-height:32px;border-radius:7px}
.vn-overview-pending-item{background:var(--vn-d-warn);color:var(--vn-d-warn-ink)!important}
.vn-overview-pending-item strong{padding:1px 6px;border-radius:12px;background:#e9a53332}
.vn-overview-activity-item{background:transparent;border-bottom:1px solid var(--vn-d-border);grid-template-columns:auto minmax(0,1fr) auto;font-size:.81rem}
.vn-overview-activity-item span{overflow-wrap:anywhere}
.vn-overview-activity-item time{color:var(--vn-d-muted);font-size:.71rem}
.vn-overview-calendar summary{color:var(--vn-d-ink);font-weight:710;cursor:pointer}
.vn-overview-calendar[open] summary{margin-bottom:8px}
.vn-overview-picker{display:grid;gap:5px;max-height:55vh;overflow:auto;margin-top:8px}
.dashboard-header #vn-unidade-atalho{display:flex;align-items:center;gap:8px;max-width:245px;padding:7px 10px;border:1px solid var(--line,#b7d1ea);border-radius:9px;background:var(--card,#ebf4fc);color:inherit;font:inherit;font-weight:650;font-size:.82rem;min-height:38px}
.dashboard-header #vn-unidade-atalho span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#screen[data-reference="dashboard"] #profile-toggle .avatar{display:grid;place-items:center;overflow:hidden;flex:none}
#screen[data-reference="dashboard"] #profile-toggle .avatar img{width:100%;height:100%;object-fit:cover}
.vn-profile-identity{display:block;padding:0 8px 6px;line-height:1.3;overflow-wrap:anywhere}
@container (max-width:1040px){.vn-overview-columns{grid-template-columns:minmax(0,1.43fr) minmax(0,1fr)}.vn-overview-metrics button{padding:7px;gap:4px}.vn-overview-metrics .vn-overview-icon{width:29px;height:29px;padding:5px}.vn-overview-agenda-head,.vn-overview-agenda-row{grid-template-columns:2.7rem minmax(0,1fr) auto auto;gap:4px;padding-inline:3px}}
@container (max-width:820px){.vn-overview-grid{grid-template-columns:minmax(0,1fr)}.vn-overview-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.vn-overview-side>section:first-child{grid-row:span 2}}
@container (max-width:520px){.vn-overview-hero{min-height:167px;grid-template-columns:minmax(0,1fr) minmax(0,24%)}.vn-overview-welcome{padding:12px;padding-inline-end:0}.vn-overview-welcome p{font-size:.78rem}.vn-overview-meta{gap:4px 6px;margin-top:8px}.vn-overview-meta>span+span{border-inline-start:0;padding-inline-start:0}.vn-overview-art{width:36%;min-width:0;inset-block-start:auto;height:136px;background-position:58% top;mask-image:linear-gradient(to right,transparent,#000 36%)}.vn-overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.vn-overview-metrics button>span{font-size:.7rem}.vn-overview-metrics button{min-height:60px;gap:3px}.vn-overview-metrics .vn-overview-icon{width:23px;height:23px;padding:4px}.vn-overview-columns,.vn-overview-side{grid-template-columns:minmax(0,1fr)}.vn-overview-side>section:first-child{grid-row:auto}.vn-overview-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.vn-overview-context .vn-overview-primary{flex:none}.vn-overview-context>.vn-overview-person{min-width:0}}
@media(max-width:1010px){.dashboard-header #vn-unidade-atalho{display:none}}
@media(max-width:520px){#view-dashboard.vn-overview{padding-inline:9px}.vn-overview-context{flex-wrap:wrap}.vn-overview-context p{flex-basis:100%}}

#view-dashboard.vn-overview {
  --vn-d-card: #f6f9fd;
  --vn-d-border: #bfd5ef;
  --vn-d-ink: #0a1236;
  --vn-d-muted: #283557;
  --vn-d-accent: #0048ff;
  padding: 9px 14px 15px 16px;
  font-size: .875rem;
}
.vn-overview-title { padding-bottom: 14px; }
.vn-overview-grid { gap: 14px; }
.vn-overview-main, .vn-overview-side { gap: 12px; }
.vn-overview-hero {
  min-height: 177px;
  grid-template-columns: minmax(0, 1fr);
  overflow: visible;
  border: 0;
  background: linear-gradient(112deg,#d5e9fb,#d9ecfa 48%,#a9d3fa);
}
.vn-overview-welcome { padding: 24px 26% 16px 30px; }
.vn-overview-welcome h2 { font-size: clamp(1.3rem,3.8cqi,2rem); }
.vn-overview-welcome p { font-size: .92rem; }
.vn-overview-welcome p strong { font-size: 1.13rem; }
.vn-overview-art {
  width: min(35%,281px);
  height: auto;
  aspect-ratio: 281 / 197;
  background: url('/assets/layout-classico/painel-referencia.png') 62.87% 11.85% / 546.62% auto no-repeat;
  border-radius: 0 0 13px 0;
  mask-image: linear-gradient(to right,transparent,#000 13%);
  clip-path: polygon(0 10.2%,34% 10.2%,35% 5%,39% 1%,47% 0,54% 2.5%,60% 10.2%,100% 10.2%,100% 100%,0 100%);
  pointer-events: none;
}
.vn-overview-meta { margin-top: 18px; font-size: .865rem; }
.vn-overview-meta strong { background: transparent; padding: 0; }
.vn-overview-meta>span+span { border-color: #95b3d7; }
.vn-overview-metrics { gap: 9px; }
.vn-overview-metrics button { min-height: 83px; padding: 11px 6px 9px 11px; gap: 8px; }
.vn-overview-metrics button>span { font-size: .79rem; overflow-wrap: normal; }
.vn-overview-metrics .vn-overview-icon { width: 43px; height: 43px; padding: 10px; }
.vn-overview-metrics strong { font-size: 1.8rem; }
#screen:not([data-theme="dark"]) .vn-overview-metrics button:nth-child(4) .vn-overview-icon { background:#efe7fd; stroke:#6033ef; }
#screen:not([data-theme="dark"]) .vn-overview-metrics button:nth-child(5) .vn-overview-icon { background:#fce9ec; stroke:#d10919; }
.vn-overview-columns { gap: 12px; }
.vn-overview-columns>.vn-overview-card { min-height: 179px; }
.vn-overview-card-head h2 { gap: 10px; }
.vn-overview-card-head .vn-overview-icon { width: 24px; height: 24px; }
.vn-overview-queue-empty .vn-overview-icon { width: 56px; height: 37px; }
.vn-overview-queue-footer button { min-width: min(178px,100%); }
.vn-overview-agenda-actions { border-bottom: 1px solid var(--vn-d-border); }
.vn-overview-agenda-actions button, .vn-overview-primary { display: inline-flex; align-items: center; gap: 7px; }
.vn-overview-primary .vn-overview-icon { stroke: currentColor; }
.vn-overview-context { min-height: 64px; padding: 8px 12px; }
#vn-painel-contexto .vn-overview-initials { width: 46px; height: 46px; font-size: 1.25rem; }
.vn-overview-context .vn-overview-person-label b, .vn-overview-assistant-patient .vn-overview-person-label b { font-size: 1rem; }
.vn-overview-tabs { gap: 1px; padding: 0; border-radius: 9px; background: var(--vn-d-soft); }
.vn-overview .vn-overview-tabs button { min-height: 43px; border: 0; background: none; }
.vn-overview #vn-painel-prontuario-resumo { gap: 11px; margin-top: 10px; }
.vn-overview-record { padding: 10px 13px; }
.vn-overview-record-row>:last-child { white-space: nowrap; }
.vn-overview-shortcuts button { min-height: 48px; }
.vn-overview-ai-actions button { gap: 12px; }
.vn-overview .vn-overview-ai-actions button { min-height: 49px; padding-inline: 13px; font-size: .875rem; }
.vn-overview-ai-actions .vn-overview-icon { width: 25px; height: 25px; }
.vn-overview-assistant-context .vn-overview-kicker { display: inline-block; margin: 0 0 4px !important; padding: 1px 6px; border-radius: 12px; background: var(--vn-d-tint); }
.vn-overview-chat { display: flex; align-items: start; gap: 10px; }
.vn-overview-chat>.vn-overview-icon { box-sizing: content-box; margin-top: 2px; border-radius: 50%; background: var(--vn-d-soft); padding: 9px; }
.vn-overview-answer { flex: 1; }
.vn-overview-side .vn-overview-kicker { display: flex; align-items: center; gap: 8px; }
.vn-overview-side .vn-overview-kicker::after { content: ''; flex: 1; border-top: 1px solid var(--vn-d-border); }
.vn-overview-side .vn-overview-assistant-context .vn-overview-kicker { display: inline-block; }
.vn-overview-assistant-context .vn-overview-kicker::after { display: none; }
.vn-overview-pending .vn-overview-muted { display: flex; gap: 8px; align-items: center; }
.vn-overview-calendar { display: none; }

#screen[data-reference="dashboard"] .dashboard-header {
  min-height: 62px;
  padding: 8px 19px;
  gap: 17px;
  justify-content: start;
  flex-wrap: nowrap;
  font-family: Inter, "Segoe UI", sans-serif;
}
#screen[data-reference="dashboard"] .top-search { flex: 1 1 449px; min-width: 0; max-width: none; }
#screen[data-reference="dashboard"] .search-field { height: 40px; min-height: 40px; border-radius: 8px; box-shadow: none; padding-inline: 13px; gap: 12px; }
#screen[data-reference="dashboard"] .search-field input { min-height: 0; padding-block: 0; font-size: .875rem; }
#screen[data-reference="dashboard"] .search-field kbd { display: none; }
#screen[data-reference="dashboard"] #vn-unidade-atalho { flex: 0 1 269px; min-width: 146px; max-width: 269px; min-height: 40px; padding-inline: 12px; border-radius: 8px; gap: 9px; font-size: .875rem; }
#screen[data-reference="dashboard"] #vn-unidade-atalho .vn-overview-icon { width: 19px; height: 19px; stroke: currentColor; }
#screen[data-reference="dashboard"] .vn-unit-chevron { width: 17px; height: 17px; margin-inline-start: auto; }
#screen[data-reference="dashboard"] .top-actions { flex: 0 0 auto; gap: 17px; margin-inline-start: 2px; }
#screen[data-reference="dashboard"] #workspace-action { height: 40px; width: 191px; min-height: 40px; padding: 0 14px; background: linear-gradient(#0767ff,#0346ed); font: 680 .96rem Inter,"Segoe UI",sans-serif; box-shadow: none; }
#screen[data-reference="dashboard"] #workspace-action-label { white-space: nowrap; }
#screen[data-reference="dashboard"] #notification-toggle { width: 39px; min-height: 40px; }
#screen[data-reference="dashboard"] #notification-toggle .dash-icon { width: 24px; height: 24px; }
#screen[data-reference="dashboard"] #notification-toggle[data-unread]::after { background: #005aff; }
#screen[data-reference="dashboard"] #profile-toggle { min-width: 231px; min-height: 40px; padding-inline-start: 16px; gap: 12px; }
#screen[data-reference="dashboard"] #profile-toggle .avatar { width: 41px; height: 41px; font-size: 1.13rem; }
#screen[data-reference="dashboard"] #profile-toggle .avatar::after { display: none; }
#screen[data-reference="dashboard"] #profile-toggle .vn-profile-caption { display: grid; min-width: 0; text-align: center; line-height: 1.17; }
#screen[data-reference="dashboard"] #profile-toggle strong { display: block; font-size: 1.05rem; font-weight: 780; }
#screen[data-reference="dashboard"] #profile-toggle small { display: grid; margin-top: 1px; font-size: .84rem; }
#screen[data-reference="dashboard"] #profile-toggle > .dash-icon { width: 19px; height: 19px; margin-inline-start: auto; }
.vn-profile-caption [data-profile-registration] { font-size: .66rem; margin-top: 1px; }
.vn-profile-caption [data-profile-registration]:empty { display: none; }
@media (min-width:851px) {
  #profile-toggle .vn-profile-caption { text-align: center; }
  #profile-toggle .vn-profile-caption small { display: grid; }
}
#screen[data-reference="dashboard"]:not([data-theme="dark"]) .dashboard-header { color: #0a1236; background: #f5f8fc; border-color: #c7daef; }
#screen[data-reference="dashboard"]:not([data-theme="dark"]) :is(.search-field,#vn-unidade-atalho) { background: #edf3fb; border-color: #b6cbe5; }
#screen[data-reference="dashboard"]:not([data-theme="dark"]) #profile-toggle .avatar { color: #003bbd; background: linear-gradient(125deg,#d6ebff,#c7e3ff); }

.vn-dashboard-nav, .vn-dashboard-footer { display: none; }
#screen[data-reference="dashboard"] .vitanex-sidebar {
  width: 247px;
  background: linear-gradient(145deg,#0d263e,#0b2944 66%,#0a253e);
  border-color: #0a2540;
}
#screen[data-reference="dashboard"] .vitanex-sidebar.vn-contrast { background:#081b30; }
#screen[data-reference="dashboard"] .vitanex-sidebar :is(.vn-sidebar-nav,.vn-toolbar,.vn-footer) { display: none; }
#screen[data-reference="dashboard"] .vn-header { min-height:88px; padding:8px 12px; }
#screen[data-reference="dashboard"] .vn-brand { padding: 2px; }
#screen[data-reference="dashboard"] .vn-brand :is(.vn-wordmark,.vn-brand-icon) { mix-blend-mode: screen; }
#screen[data-reference="dashboard"] .vn-brand .vn-brand-icon { background-size: 135px auto; background-position: -13px 0; }
#screen[data-reference="dashboard"] .vn-mobile-trigger .vn-brand-icon { background-size: 118px auto; background-position: -11px 0; }
#screen[data-reference="dashboard"] .vn-dashboard-nav { display:block; padding:0 12px 12px; overflow:auto; min-height:0; scrollbar-width:thin; }
.vn-dashboard-nav-group + .vn-dashboard-nav-group { margin-top:20px; }
.vn-dashboard-nav-group h2 { margin:11px 12px 12px; text-transform:uppercase; font-size:.85rem; letter-spacing:.025em; }
#screen[data-reference="dashboard"] .vitanex-sidebar :is(.vn-dashboard-nav,.vn-dashboard-footer) .vn-entry { display:flex; align-items:center; padding:5px 5px 5px 16px; gap:16px; min-height:40px; font-size:1rem; }
.vn-dashboard-nav .vn-icon, .vn-dashboard-footer .vn-icon { width:23px; height:23px; }
#screen[data-reference="dashboard"] .vn-dashboard-nav .vn-entry[aria-current="page"] { background:linear-gradient(105deg,#0877f9,#1d6af0); color:#fff; }
#screen[data-reference="dashboard"] .vn-dashboard-footer { display:grid; margin:clamp(12px,8dvh,84px) 22px 18px; padding-top:12px; border-top:1px solid #86a8c3; }
#screen[data-reference="dashboard"] .vitanex-sidebar .vn-dashboard-footer .vn-entry { padding-inline:5px; }
#screen[data-reference="dashboard"] .vitanex-sidebar.vn-peek { margin-inline-end: 0; box-shadow: none; }
#screen[data-reference="dashboard"] .vitanex-sidebar.vn-compact { width: 70px; }
#screen[data-reference="dashboard"] .vitanex-sidebar.vn-compact .vn-header { min-height: 62px; padding: 4px 6px; }
#screen[data-reference="dashboard"] .vitanex-sidebar.vn-compact .vn-brand { justify-content: center; padding: 2px; }
#screen[data-reference="dashboard"] .vitanex-sidebar.vn-compact .vn-dashboard-nav-group h2 { display: none; }
#screen[data-reference="dashboard"] .vitanex-sidebar.vn-compact .vn-dashboard-nav { padding: 5px 6px 9px; }
#screen[data-reference="dashboard"] .vitanex-sidebar.vn-compact .vn-dashboard-nav-group+.vn-dashboard-nav-group { margin-top: 8px; padding-top: 8px; border-top: 1px solid #86a8c34d; }
#screen[data-reference="dashboard"] .vitanex-sidebar.vn-compact :is(.vn-dashboard-nav,.vn-dashboard-footer) .vn-entry { justify-content: center; padding-inline: 0; }
#screen[data-reference="dashboard"] .vitanex-sidebar.vn-compact .vn-dashboard-footer { margin: 12px 8px; padding-top: 8px; }

@container (max-width: 1200px) {
  #screen[data-reference="dashboard"] .dashboard-header { gap: 11px; padding-inline: 14px; }
  #screen[data-reference="dashboard"] #vn-unidade-atalho { flex-basis: 195px; }
  #screen[data-reference="dashboard"] .top-actions { gap: 10px; margin-inline-start: 0; }
  #screen[data-reference="dashboard"] #workspace-action { width: auto; }
  #screen[data-reference="dashboard"] #profile-toggle { min-width: 0; padding-inline-start: 10px; gap: 8px; }
}
@container (max-width: 880px) {
  #screen[data-reference="dashboard"] #vn-unidade-atalho { display: none; }
}
@media (min-width:901px) {
  #screen[data-reference="dashboard"] .dashboard-header { height: 62px; padding-block: 0; }
}

@container (max-width:1040px) {
  .vn-overview-metrics button { gap: 5px; padding: 9px 6px; }
  .vn-overview-metrics button>span { font-size: .73rem; }
  .vn-overview-metrics .vn-overview-icon { width: 27px; height: 27px; padding: 5px; }
}
@container (max-width:950px) and (min-width:821px) {
  .vn-overview-metrics button { flex-direction: column; gap: 4px; }
}
@container (max-width:520px) {
  .vn-overview-welcome { padding: 15px 20% 12px 12px; }
  .vn-overview-welcome p { font-size: .78rem; }
  .vn-overview-welcome p strong { font-size: .9rem; }
  .vn-overview-meta { margin-block-start: 9px; font-size: .75rem; }
  .vn-overview-metrics button { min-height: 64px; }
  .vn-overview-metrics button>span { font-size: .73rem; }
  .vn-overview-metrics .vn-overview-icon { width: 25px; height: 25px; padding: 4px; }
  .vn-overview-shortcuts button { min-height: 42px; }
}
@media(max-width:850px) {
  #screen[data-reference="dashboard"] .dashboard-header { flex-wrap: wrap; gap: 8px; padding-inline: 10px; }
  #screen[data-reference="dashboard"] .top-search { flex: 1 1 0; }
  #screen[data-reference="dashboard"] .top-actions { margin-inline-start: auto; }
  #screen[data-reference="dashboard"] #profile-toggle .vn-profile-caption { display: none; }
  .vn-overview-calendar { display: block; }
}
@media(max-width:520px) {
  #screen[data-reference="dashboard"] .top-search { flex-basis: calc(100% - 52px); }
  #screen[data-reference="dashboard"] #profile-toggle { padding-inline-start: 0; }
}

