/* Interim green direction; final brand colours, typography and mark come later. */
:root{--vica-surface:#fff;--vica-soft:#f0f5ec;--vica-accent:#e6efdf;--vica-accent-ink:#41653a;--vica-hero:#194632;--vica-hero-ink:#eef5e8}
.brand{letter-spacing:-.7px;font-weight:600;font-size:26px}.brand span{border:0;padding:0;font:inherit;opacity:1;letter-spacing:inherit}.auth-topline{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:35px}.auth-topline .auth-brand{margin-bottom:0}.theme-control{display:flex;align-items:center;gap:8px;margin:0;font-size:11px;font-weight:400;color:var(--muted)}.theme-control select{width:auto;min-width:104px;padding:9px 11px;margin:0;font-size:11px;background:var(--vica-surface);color:var(--ink);border-color:var(--line)}.theme-description{font-size:11px;line-height:1.7;color:var(--muted)}.temporary-brand-note{font-size:10px;color:var(--muted)}.auth-points{display:flex;flex-direction:column;gap:18px;margin-top:55px}.auth-points>div{display:flex;gap:15px;align-items:center;color:#c8debf;font-size:14px}.auth-points>div>span{font-size:11px;opacity:.65;border:1px solid #91b39040;border-radius:50%;width:30px;height:30px;display:grid;place-items:center}
#app aside nav button{font-size:13px}.metric-label,.card-subtitle,.readiness-line,.readiness-line strong,.business-link,.text-btn{font-size:12px}.metric>p,.table-business small,.status-pill,.mode-chip,.activity-item small,.recent-list small,.card .hint,.attention-row small,.attention-card>.hint{font-size:11px}.attention-row strong,.activity-item strong,.recent-list strong{font-size:12px}table{font-size:12px}th{font-size:10px}.service-card>p,.service-add,.scope-note,.credential-note,.connection-next,.connection-card .text-btn{font-size:12px}.service-category,.service-card-bottom>span,.service-category,.guide-date,.integration-sending-note{font-size:11px}.service-logo img{max-width:26px;max-height:26px;object-fit:contain}.catalog-footer{font-size:11px}.integration-help p{font-size:12px}.service-grid{row-gap:18px}.metric>strong{font-size:33px}.chart-empty-label{font-size:12px}.chart-label{font-size:11px}.chart-legend{font-size:11px}.top-status .pill{font-size:10px}.dashboard-hero{background:var(--vica-hero);color:var(--vica-hero-ink)}
html[data-theme="light"]{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark;--ink:#e8efe5;--muted:#c1cdbf;--paper:#25322d;--line:#52635a;--green:#c0dbae;--mint:#c5dfb5;--white:#303f37;--red:#e9aaa2;--vica-surface:#303f37;--vica-soft:#384d3e;--vica-accent:#435d47;--vica-accent-ink:#c3ddb1;--vica-hero:#213f2b;--vica-hero-ink:#eff7e9}
html[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
html[data-theme="dark"] :is(.auth-page,.topbar){background:var(--paper)}
html[data-theme="dark"] :is(.card,article,.metric,.auth-layout,.search-field input,.skeleton-card,.chat-list,.chat-panel,dialog,.integration-dialog-header,.connection-card,.service-card,input,textarea,select,.icon-button){background:var(--vica-surface);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] #app>aside{background:var(--vica-surface);border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] :is(.workspace-identity,.workspace-mark,.table-avatar,.profile-avatar,.user-avatar,.mode-chip,.quiet-tag,.empty-symbol,.next-step,.integration-help,.integration-help-icon,.integration-guide,.dialog-close,.message,.draft,pre,.metric.featured,.chat-item.active,.top-status .pill){background:var(--vica-soft);color:var(--vica-accent-ink);border-color:var(--line)}
html[data-theme="dark"] :is(#app aside nav button,.workspace-label,.topbar .eyebrow,.metric-label,.metric>p,.card-subtitle,.table-business small,.activity-item small,.recent-list small,.readiness-line>span:first-child,.attention-row small,.empty-state p,.directory-toolbar>.muted,.catalog-footer,.service-card>p,.service-category,.service-card-bottom>span,.credential-note,.connection-next,.guide-date,.scope-note,.auth-privacy,.integration-sending-note,.integration-help p,.theme-description,.next-step p,.top-status .pill,.account-profile p,#logout,.hint,.muted){color:var(--muted)}
html[data-theme="dark"] :is(.business-link,.text-btn,.metric>strong,.usage-summary strong,.attention-row,.recent-list>button,.chat-item,.chat-head,.card h2,.card h3,.integration-guide li){color:var(--ink)}
html[data-theme="dark"] #app aside nav button.active{background:var(--vica-accent);color:var(--vica-accent-ink)}
html[data-theme="dark"] #app aside nav button:hover{background:var(--vica-soft)}
html[data-theme="dark"] :is(.btn.primary,.btn.light){background:#c0dbae;color:#182c1e}
html[data-theme="dark"] .btn.outline{background:transparent;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] :is(.status-pill,.connection-status,.nav-count){background:var(--vica-soft);color:var(--muted)}
html[data-theme="dark"] :is(.status-pill.good,.connection-status.verified,.message.outbound){background:#284231;color:#c0ddb2}
html[data-theme="dark"] :is(.status-pill.attention,.notice.warn,.warm){background:#3c3425;color:#ead3a3;border-color:#5c513c}
html[data-theme="dark"] :is(.notice,.draft){background:var(--vica-soft);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] :is(.notice.error,.auth-error,.rose){background:#422a28;color:#f0b4ad;border-color:#64413a}
html[data-theme="dark"] .mint{background:#29432f;color:#bfdcaf}
html[data-theme="dark"] :is(td,th,.attention-row,.recent-list>button,.readiness-line,.service-card-bottom,.scope-note,.chat-head){border-color:var(--line)}
html[data-theme="dark"] th{color:var(--muted)}
html[data-theme="dark"] .chart-grid{stroke:var(--line)}
html[data-theme="dark"] .chart-label{fill:var(--muted)}
html[data-theme="dark"] .chart-inbound{stroke:#c0dbae}
html[data-theme="dark"] .chart-outbound{stroke:#759b7a}
html[data-theme="dark"] .chart-legend i{background:#c0dbae}
html[data-theme="dark"] .chart-legend i.outbound{background:#759b7a}
html[data-theme="dark"] .chart-empty-label{background:var(--vica-surface);color:var(--muted)}
html[data-theme="dark"] :is(.catalog-tabs button,.service-add){color:var(--muted);border-color:var(--line)}
html[data-theme="dark"] .catalog-tabs button.active{background:var(--vica-accent);color:var(--vica-accent-ink);border-color:var(--line)}
html[data-theme="dark"] .auth-story{background:#173a29;color:var(--ink)}
html[data-theme="dark"] .auth-form-wrap input{background:var(--paper)}
html[data-theme="dark"] .auth-layout{box-shadow:none}
html[data-theme="dark"] .auth-form-wrap>form>p{color:var(--muted)}
html[data-theme="dark"] .service-logo{background:#edf3e8}
html[data-theme="dark"] .auth-error{color:#f0b4ad!important}
@media(max-width:760px){.theme-control>span{display:none}.theme-control select{min-width:94px;padding:8px;font-size:12px}.top-status{gap:10px}.auth-topline{margin-bottom:24px}.auth-points{display:none}.auth-page{padding:22px 4%}.brand{font-size:23px}.service-card>p{font-size:12px}.service-card-bottom{gap:10px}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.topbar{height:auto;min-height:100px;flex-wrap:wrap;gap:14px}.topbar>div:first-child{flex-basis:100%}.top-status{margin-left:auto}.auth-topline{align-items:flex-start}.auth-topline .theme-control select{max-width:110px}}
@media(max-width:370px){.service-grid{grid-template-columns:1fr}.topbar{padding:16px}.topbar h1{font-size:22px}}
