/* features/gaps-fixes.css: small fixes from the gaps audit (27 Nov 2026; ~/Desktop/CertAnvil/Current/gaps-audit.md §4-5).
   Loaded after styles.css, so equal-strength rules here win. */

/* The website's offline bar (app.js _renderConnectivityBanner; phones get their own, features/ios-firstrun.js): a quiet
   hairline bar on the surface with the wifi-off icon. No gradient. It slides down its own height and leaves faster. */
#connectivity-banner.connectivity-banner { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--text);
  background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: none; font-weight: 600;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1); }
#connectivity-banner.connectivity-banner:not(.is-shown) { transition-duration: 200ms; }
#connectivity-banner.connectivity-banner.offline, #connectivity-banner.connectivity-banner.online { background: var(--surface); color: var(--text); }
#connectivity-banner svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--text-dim); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { #connectivity-banner.connectivity-banner { transition: none; } }

/* Desktop Home, no exam date: "Set your exam date" in the days chip, a plain link (features/home.js). */
.cmd-chip .cb-setdate { position: relative; padding: 0; border: 0; background: none; font: inherit; font-weight: 650; color: var(--accent);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cmd-chip .cb-setdate input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.cmd-chip .cb-setdate:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { .cmd-chip .cb-setdate:hover { text-decoration-thickness: 2px; } }
/* Topic deep dive (features/topic-dive.js): no purple, the editorial head the Progress page uses, and the loading
   screen's shimmer line (antalik-effects, BRAND §6's one shimmer source) while the guide is written. */
html[data-theme] body #page-topic-dive .ed-pagehead-eyebrow { color: var(--text-dim) !important; }
html[data-theme] body #page-topic-dive .ed-pagehead-eyebrow::before { content: none !important; display: none !important; }
html[data-theme] body #page-topic-dive h1.ed-pagehead-display em { color: var(--accent) !important; }
html[data-theme] body #page-topic-dive .topic-dive-obj { color: var(--accent-deep, var(--accent)); background: color-mix(in oklab, var(--accent) 10%, transparent); }
#page-topic-dive .topic-dive-obj:empty { display: none; }
#page-topic-dive .td-wait { position: relative; display: inline-block; margin: 0; font-size: 16px; font-weight: 600; color: color-mix(in srgb, var(--text) 60%, transparent); }
#page-topic-dive .td-wait::before { content: attr(data-text); position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, transparent 0 40%, var(--text) 50%, transparent 60% 100%); background-size: 400% 100%; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: td-shimmer 2s linear infinite; }
@keyframes td-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { #page-topic-dive .td-wait::before { animation: none; content: none; } }

/* Desktop Home, no exam date: "Set your exam date" in the days chip, a plain link (features/home.js). */
.cmd-chip .cb-setdate { position: relative; padding: 0; border: 0; background: none; font: inherit; font-weight: 650; color: var(--accent);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.cmd-chip .cb-setdate input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; font-size: 16px; }
.cmd-chip .cb-setdate { transition: transform 150ms cubic-bezier(0.16, 1, 0.3, 1); }
.cmd-chip .cb-setdate:active { transform: scale(0.97); }
.cmd-chip .cb-setdate:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { .cmd-chip .cb-setdate:hover { text-decoration-thickness: 2px; } }

/* Explain further failed (features/quiz-engine.js): the line under the button saying no daily question was used. */
.explain-fail-note { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--text-dim); }
