/* ==========================================================================
   DIGITZ UI — classic frontend · theme digitz-classic-theme · overrides.css
   Skin-only effects (teal bar, amber brand line, gradients). No layout changes.
   ========================================================================== */

Where teal and amber become prominent
   ========================================================================== */
/* A teal top bar with one brand line running across the top of the whole app,
   under the white logo area and the teal bar alike. */
.topbar { background: var(--primary); border-bottom: 0; box-shadow: inset 0 -3px 0 var(--accent); backdrop-filter: none; }
.sidebar__brand { border-bottom: 0; box-shadow: inset 0 -3px 0 var(--accent); }
.crumbs, .crumbs a { color: rgba(255,255,255,.75); }
.crumbs b { color: #fff; }
.topbar .search { background: #fff; border-color: transparent; }
.topbar .icon-btn { color: rgba(255,255,255,.85); }
.topbar .icon-btn:hover { background: rgba(255,255,255,.14); color: #fff; }
.topbar .icon-btn .dot { box-shadow: 0 0 0 2px var(--primary); }
.topbar .user { border-left-color: rgba(255,255,255,.22); color: #fff; }
.topbar .user__meta small { color: rgba(255,255,255,.72); }
.topbar .avatar { background: var(--accent); color: var(--accent-ink); }
.topbar .appid__tile { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.topbar .appid__text b { color: #fff; }
.topbar .appid__text small { color: rgba(255,255,255,.9); }
.topbar .topbar__sep { background: rgba(255,255,255,.22); }

/* Active navigation is a solid teal pill; the amber marker stays on its left edge. */
.nav__item.is-active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px -4px rgba(14,116,144,.55); }
.nav__item.is-active .count { background: var(--accent); color: var(--accent-ink); }
.sidebar__company .mono { background: var(--accent); color: var(--accent-ink); }

/* Amber earns more room: icon tiles, tab underline, the eyebrow bar. */
.kpi__icon { background: var(--accent-soft); color: var(--accent-text); }
.chip-icon.amber { background: var(--accent); color: var(--accent-ink); }
.tab.is-active::after { height: 3px; background: var(--accent); }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--primary); }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--accent); }
.table th { background: var(--teal-25); }
.progress > span { background: linear-gradient(90deg, var(--primary), #2896B0); }

/* ==========================================================================
   Gradients for depth, pale tints to connect white to teal
   ========================================================================== */
.topbar { background: var(--grad-bar); }
.nav__item.is-active { background: linear-gradient(90deg, #0E7490 0%, #0F7F9C 100%); }
.btn-primary { background: var(--grad-btn); box-shadow: 0 1px 2px rgba(16,24,40,.08), 0 4px 10px -4px rgba(14,116,144,.55), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: linear-gradient(180deg, #0D6E8A 0%, #0B5F76 100%); }
.btn-primary:active { background: var(--primary-press); }
.kpi--feature { background: var(--grad-panel); box-shadow: 0 10px 24px -10px rgba(14,116,144,.6); }
.kpi--feature::after { border-color: rgba(255,255,255,.14); box-shadow: 0 0 0 26px rgba(255,255,255,.05); }
.card__head { background: linear-gradient(180deg, var(--tint) 0%, var(--surface) 100%); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.card__head:not(:first-child), .tabs:not(:first-child) { border-radius: 0; }
.table th { background: var(--tint); }
.tabs { background: linear-gradient(180deg, var(--tint) 0%, var(--surface) 100%); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.sidebar__company { background: var(--tint); border-color: var(--teal-100); }
.nav__item:hover { background: var(--tint); }
.badge-info { background: var(--tint); }

/* ==========================================================================
   Green joins teal and amber
   ========================================================================== */
/* The brand line runs amber -> green across the top bar. */
.topbar { box-shadow: none; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 35%, var(--green) 100%); }

/* Module tone colours come from --tone-* tokens (base.css). */

.kpi__icon--green { background: var(--green-soft); color: var(--green-text); }
.delta.up { color: var(--green-text); }
.kpi--feature .delta.up { color: #B6F0BE; }
.progress > span { background: linear-gradient(90deg, var(--green-600), var(--green-400)); }
.steps li:last-child .n { border-color: var(--green-200); color: var(--green-text); }

/* ==========================================================================
