@font-face{font-family:"VSGO Header";src:url("./fonts/vsgo-header-inter.woff") format("woff");font-style:normal;font-weight:100 900;font-display:swap}
/* V43.31: shared visual tokens. Layout, status colors and print output stay separate. */
@media screen{
html.vsgo-ui{--ui-bg:#030b0d;--ui-panel:#071518;--ui-card:#0a1b1e;--ui-input:#0c1b1f;--ui-border:#29464b;--ui-text:#eff6f7;--ui-muted:#b0c0c7;--ui-accent:#62dcb6;--ui-primary:#286e59;--ui-primary-end:#358671;--ui-radius:16px;--card:var(--ui-card);--text:var(--ui-text);--ui-font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color-scheme:dark}
html.vsgo-ui[data-theme=light]{--ui-bg:#edf3f1;--ui-panel:#f8fbfa;--ui-card:#fff;--ui-input:#fff;--ui-border:#b7ccc4;--ui-text:#18362f;--ui-muted:#4d6860;--ui-accent:#126b50;--ui-primary:#286e59;--ui-primary-end:#358671;color-scheme:light}
html.vsgo-ui[data-theme] body{background:var(--ui-bg)!important;color:var(--ui-text)!important;font-family:var(--ui-font)}
html.vsgo-ui[data-theme] body .shell{background:var(--ui-bg)!important;color:var(--ui-text)!important;box-shadow:none!important}
html.vsgo-ui[data-theme] body :is(h1,h2,h3,.sectiontitle,.gname,.gpercent,.stat strong,.taskname){color:var(--ui-text)!important;font-family:var(--ui-font)}
html.vsgo-ui[data-theme] body #projectTitle{font-family:var(--vsgo-title-font,"VSGO Header",Arial,sans-serif)!important;font-weight:750!important;letter-spacing:-.03em!important;line-height:1.12!important}
html.vsgo-ui[data-theme] body .shell>.top .eyebrow,html.vsgo-ui[data-theme] body .shell>.navtabs button,html.vsgo-ui[data-theme] body .shell>.top .project-picker select{font-family:"VSGO Header",Arial,sans-serif!important}
html.vsgo-ui[data-theme] body .shell>.top .theme-switcher svg{display:block;width:16px;height:16px;flex:none}
html.vsgo-ui[data-theme=dark] body .shell>.top{background:linear-gradient(135deg,var(--vsgo-header-color,#0a1b1e),#0a282b)!important}

html.vsgo-ui[data-theme] body :is(.stat,.group,.task,.dialogbox,.cloudpanel,.action-menu,.mobile-more,.obs-summary-dialog,.obs-summary-results>*,.upgrade-card,.plan-card,.support-thread,.support-ticket,.support-message,.intro,#vsModulePanel,.vsm-box,.vsm-item,.vsm-photo-edit,.vsr-panel,#vsgoPendingPanel){background:var(--ui-card)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important;box-shadow:none!important}
html.vsgo-ui[data-theme] body :is(.stat,.group,.dialogbox,.cloudpanel,.upgrade-card,.plan-card,.support-thread){border-radius:var(--ui-radius)}
html.vsgo-ui[data-theme] body :is(.tasks,.apartments,.grouphead,.taskhead,.toolbar,.navtabs,.mobile-bottom,.support-mine){background:var(--ui-panel)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important}
html.vsgo-ui[data-theme] body :is(input,textarea,select,.search,.field,.task .field,.project-picker select){background-color:var(--ui-input)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important;font-family:inherit;accent-color:var(--ui-accent)}
html.vsgo-ui[data-theme] body :is(input,textarea)::placeholder{color:var(--ui-muted)!important}
html.vsgo-ui[data-theme] body :is(button,.btn){font-family:var(--ui-font);border-radius:10px}
html.vsgo-ui[data-theme] body :is(.btn:not(.primary),.icon-button,.subscription-page button.secondary,.support-ticket,#supportPrev,#supportNext,#supportRefresh,#supportOlder,.mobile-more button){background:var(--ui-input)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important}
html.vsgo-ui[data-theme] body :is(.btn.primary,.mobile-fab,.subscription-page button:not(.secondary),#supportSend,#supportReplySend,#supportResolve){background:linear-gradient(120deg,var(--ui-primary),var(--ui-primary-end))!important;color:#fff!important;border-color:var(--ui-primary-end)!important}
html.vsgo-ui[data-theme] body :is(.eyebrow,.sub,.gmeta,.stat label,.stat small,.foot,.view-hint,.dialogbox label,.obs-summary-subtitle,.note,.cloudstatus,.support-message small){color:var(--ui-muted)!important}
html.vsgo-ui[data-theme] body :is(.navtabs button.active,.mobile-bottom button.active){color:var(--ui-accent)!important;border-bottom-color:var(--ui-accent)!important}
html.vsgo-ui[data-theme] body :is(.progress,.mini-track,.smallbar){background:var(--ui-border)!important}
html.vsgo-ui[data-theme] body :is(.fill,.mini-track>span,.smallbar>div){background:linear-gradient(90deg,var(--ui-primary),var(--ui-accent))!important}
html.vsgo-ui[data-theme] body :is(.subscription-page header,body>header,.top:not(.shell .top)){background:var(--ui-panel);border-color:var(--ui-border)}
html.vsgo-ui[data-theme] body.subscription-page :is(header,main),html.vsgo-ui[data-theme] body>main{color:var(--ui-text)}
html.vsgo-ui[data-theme] body a{color:var(--ui-accent)}
html.vsgo-ui[data-theme] body .plan-card:has(input:checked),html.vsgo-ui[data-theme] body .support-ticket[aria-pressed=true]{border-color:var(--ui-accent)!important}
html.vsgo-ui[data-theme] body .support-unread{background:var(--ui-accent);color:var(--ui-bg)}
html.vsgo-ui[data-theme] body :is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}
html.vsgo-ui[data-theme] body :is(button:disabled,input:disabled,textarea:disabled,select:disabled){opacity:.65}
html.vsgo-ui[data-theme] body:not(:has(.shell)) button{background:var(--ui-input);color:var(--ui-text);border-color:var(--ui-border)}
html.vsgo-ui[data-theme] body :is(#vsModulePanel,.vsr-panel) button{background:var(--ui-input);color:var(--ui-text);border-color:var(--ui-border)}
html.vsgo-ui[data-theme] body #vsModulePanel .vsm-primary{background:var(--ui-primary);color:#fff}
html.vsgo-ui[data-theme] body .support-message p{color:var(--ui-text)}
html.vsgo-ui[data-theme] body .support-mine{border-left:3px solid var(--ui-accent)!important}
html.vsgo-ui[data-theme] body .shell>.top,html.vsgo-ui[data-theme] body .shell>.navtabs{border-color:var(--ui-border)!important}
/* Light mode must replace the legacy, always-dark personalized header surface. */
html.vsgo-ui[data-theme=light] body .shell>.top,html.vsgo-ui[data-theme=light] body .shell>.navtabs{background:linear-gradient(135deg,var(--ui-card),var(--ui-panel))!important}
html.vsgo-ui[data-theme=light] body .shell>.navtabs button{color:var(--ui-muted)!important}
html.vsgo-ui[data-theme=light] body .shell>.navtabs button.active{color:var(--ui-accent)!important}
html.vsgo-ui[data-theme=light] body .mobile-bottom button.active,html.vsgo-ui[data-theme=light] body .mobile-bottom button[aria-current=page]{transition:none;background:var(--ui-primary)!important;color:#fff!important;border-color:var(--ui-primary)!important}
html.vsgo-ui[data-theme=light] body .shell #clearFilters{transition:none;background:var(--ui-input)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important}
html.vsgo-ui[data-theme=light] body .shell #groups select.status{transition:none;background:var(--ui-input)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important}
html.vsgo-ui[data-theme=light] body .shell #groups select.status.done{background:#e6f5ed!important}
html.vsgo-ui[data-theme=light] body .shell #groups select.status.working{background:#fff3d4!important}
html.vsgo-ui[data-theme=light] body .shell #groups select.status.todo{background:#fde9e7!important}
html.vsgo-ui[data-theme=light] body .vs-home-late{color:#b42318!important}
html.vsgo-ui[data-theme=light] body .vs-home-soon{color:#835500!important}
html.vsgo-ui[data-theme=light] body .vs-home-on{color:#166b46!important}
html.vsgo-ui[data-theme] body #vsSupportNotice{background:var(--ui-card);border-color:var(--ui-border)!important;color:var(--ui-accent)}
html.vsgo-ui[data-theme] body #vsLegalModal{background:rgba(0,8,10,.94);color:var(--ui-text);border:0}
}
@media print{
html.vsgo-ui body #printSheet,html.vsgo-ui body #printSheet :is(h1,h2,h3,p,td,th),html.vsgo-ui body #vsModulePanel :is(h1,h2,h3,p,label,td,th){color:#111!important;background:#fff!important}
}

/* Selos ao final do rodapé, alinhados à direita e no fluxo da página. */
#vsHttpsBadge[hidden]{display:none!important}
#vsHttpsBadge{display:flex;justify-content:flex-end;clear:both;margin:14px 0 0;padding:0 0 8px;text-align:right}
#vsHttpsBadge .vs-https-badge{display:inline-flex;align-items:center;gap:10px;max-width:100%;padding:10px 14px;border:1px solid var(--ui-border,#29464b);border-radius:10px;background:var(--ui-card,#0a1b1e);color:var(--ui-text,#eff6f7);box-sizing:border-box;text-align:left}
#vsHttpsBadge svg{flex:none;display:block}
#vsHttpsBadge .vs-https-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
#vsHttpsBadge strong{font:800 17px/1.1 var(--ui-font,Arial,sans-serif);letter-spacing:-.03em;color:var(--ui-text,#eff6f7)}
#vsHttpsBadge small{font:650 9px/1.3 var(--ui-font,Arial,sans-serif);letter-spacing:.06em;color:var(--ui-muted,#b0c0c7)}
@media print{#vsHttpsBadge{display:none!important}}

/* Selo na coluna direita, alinhado ao início do bloco de créditos. */
.vs-app-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:start;margin-top:18px}
.vs-app-footer>.foot{grid-column:1;margin:0 0 10px}
.vs-app-footer>#vsHttpsBadge{grid-column:2;grid-row:1 / span 3;align-self:start;justify-self:end;margin:0;padding:0}
@media(max-width:600px){.vs-app-footer{grid-template-columns:minmax(0,1fr);row-gap:4px}.vs-app-footer>#vsHttpsBadge{display:none!important}}

/* V43.39 — harmonização visual global; somente apresentação, sem alterar dados ou lógica. */
@media screen {
html.vsgo-ui[data-theme] { --ui-radius:20px; --ui-radius-inner:13px; }
html.vsgo-ui[data-theme] body :is(.dialogbox,.cloudpanel,.obs-summary-dialog,.vs-collab-dialog,.stat,.group,.task,.upgrade-card,.plan-card,.support-thread,.support-ticket,.intro,.vsm-box,.vsm-item,.vsr-panel,#vsModulePanel,#vsgoPendingPanel,.action-menu,.mobile-more,.vs-home-deadlines,.vs-deadline-card) {border-radius:var(--ui-radius)!important;}
html.vsgo-ui[data-theme] body :is(input:not([type=checkbox]):not([type=radio]),textarea,select,.btn,button,.field,.search,.taskhead,.grouphead,.obs-summary-filters,.vsm-photo-edit) {border-radius:var(--ui-radius-inner)!important;}
html.vsgo-ui[data-theme] body :is(.dialogbox,.cloudpanel,.obs-summary-dialog,.vs-collab-dialog) {max-width:calc(100vw - 24px);box-sizing:border-box;}
html.vsgo-ui[data-theme] body :is(.dialogveil,.cloudshade) {box-sizing:border-box;}
html.vsgo-ui[data-theme=light] {--ui-muted:#486158;--ui-border:#aebfb9;--ui-input:#fff;--ui-panel:#f8fbfa;--ui-text:#19352e;}
html.vsgo-ui[data-theme=light] body :is(.dialogbox,.cloudpanel,.obs-summary-dialog,.vs-collab-dialog,#vsModulePanel,.vsm-box,.vsm-item,.vsr-panel,.action-menu,.mobile-more) {background:#fff!important;color:var(--ui-text)!important;}
html.vsgo-ui[data-theme=light] body :is(.dialogbox,.cloudpanel,.obs-summary-dialog,.vs-collab-dialog,#vsModulePanel,.vsm-box,.vsm-item,.vsr-panel) :is(p,span,li,label,small,legend,strong,h2,h3,h4) {color:var(--ui-text)!important;}
html.vsgo-ui[data-theme=light] body :is(.dialogbox,.cloudpanel,.obs-summary-dialog,.vs-collab-dialog,#vsModulePanel,.vsm-box,.vsm-item,.vsr-panel) :is(input:not([type=checkbox]):not([type=radio]),textarea,select) {background:#fff!important;color:#19352e!important;border-color:#aebfb9!important;}
html.vsgo-ui[data-theme=light] body :is(.dialogbox,.cloudpanel,.obs-summary-dialog,.vs-collab-dialog,#vsModulePanel,.vsm-box,.vsm-item,.vsr-panel) :is(input,textarea)::placeholder {color:#586e67!important;opacity:1;}
html.vsgo-ui[data-theme=light] body :is(.dialogbox,.cloudpanel,.obs-summary-dialog,.vs-collab-dialog,#vsModulePanel,.vsm-box,.vsm-item,.vsr-panel) :is(.btn:not(.primary),button:not(.primary):not(.vsm-primary)) {color:#19352e!important;background:#fff!important;border-color:#aebfb9!important;}
html.vsgo-ui[data-theme=light] body :is(.dialogbox,.cloudpanel,.obs-summary-dialog,.vs-collab-dialog,#vsModulePanel,.vsm-box,.vsm-item,.vsr-panel) :is(.btn.primary,.vsm-primary) {color:#fff!important;background:#286e59!important;}
html.vsgo-ui[data-theme=light] body :is(.vsm-box,.vsm-item,.vsr-panel,.obs-summary-results>*,.vs-home-deadlines,.vs-deadline-card) {background:#fff!important;color:#19352e!important;border-color:#aebfb9!important;}
html.vsgo-ui[data-theme=light] body :is(.vsm-box,.vsm-item,.vsr-panel,.obs-summary-results>*,.vs-home-deadlines,.vs-deadline-card) :is(p,span,small,label,li) {color:#314d44!important;}
html.vsgo-ui[data-theme=light] body :is(.vsm-box,.vsm-item,.vsr-panel) :is([style*="background:#1"],[style*="background: #1"],[style*="background:#0"],[style*="background: #0"]) {background:#f4f8f6!important;color:#19352e!important;}
html.vsgo-ui[data-theme=light] body :is(.vsm-box,.vsm-item,.vsr-panel) :is([style*="color:#b"],[style*="color: #b"],[style*="color:#c"],[style*="color: #c"]) {color:#486158!important;}
html.vsgo-ui[data-theme=light] body :is(.vs-home-late,.vs-deadline-late) {color:#a51d19!important;}
html.vsgo-ui[data-theme=light] body :is(.vs-home-soon,.vs-deadline-soon) {color:#865700!important;}
html.vsgo-ui[data-theme=light] body :is(.vs-home-on,.vs-deadline-on) {color:#176b48!important;}
@media(max-width:700px){html.vsgo-ui[data-theme] body :is(.dialogbox,.cloudpanel,.obs-summary-dialog,.vs-collab-dialog) {border-radius:18px!important;max-width:calc(100vw - 16px);}}
}

/* V43.40 — correção de contraste no modo claro (somente CSS). */
@media screen {
html.vsgo-ui[data-theme="light"] body #vsModulePanel .vsm-diary-group-list {
  background:#f8fbfa!important; color:#19352e!important;
  border:1px solid #aebfb9!important; border-radius:13px!important;
}
html.vsgo-ui[data-theme="light"] body #vsModulePanel .vsm-diary-group-list .vsm-diary-group,
html.vsgo-ui[data-theme="light"] body #vsModulePanel .vsm-diary-group-list :is(label,span,small) {
  color:#19352e!important; background:transparent!important; opacity:1!important;
}
html.vsgo-ui[data-theme="light"] body #vsModulePanel .vsm-diary-group-list input[type="checkbox"] {
  accent-color:#286e59; background:#fff; color:#19352e;
}
html.vsgo-ui[data-theme="light"] body #vsModulePanel .vsm-muted,
html.vsgo-ui[data-theme="light"] body #vsModulePanel .vsm-item .vsm-muted {
  color:#415d54!important; opacity:1!important;
}
html.vsgo-ui[data-theme="light"] body #vsModulePanel .vsm-item .vsm-tag {
  background:#e7f1ec!important; color:#194c3a!important;
  border:1px solid #b8d7c8!important; border-radius:10px!important;
}
html.vsgo-ui[data-theme="light"] body #vsModulePanel .vsm-item .vsm-tag :is(span,small) {
  color:#194c3a!important;
}
}

/* V44.06: mantém o contador inteiro, sem recorte no cabeçalho móvel. */
html body .shell>.top>.brand>.theme-switcher{overflow:visible!important}
#vsBell{overflow:visible!important}
#vsgoSignupCount{box-sizing:border-box;min-width:14px;line-height:12px;text-align:center;white-space:nowrap;z-index:1}

/* V44.17 — toolbar sem tarja de fundo; os controles mantêm o próprio estilo. */
html.vsgo-ui[data-theme] body .shell>.toolbar{background:transparent!important}
