/* Simbo kit styles: fonts, warm moments, proof badges, status pills, Appearance switches and the mascot's
   seasonal layer. Link tokens.css first. Copied into each app by its UI build. */
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

.sb-ic { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* WarmMoment: one per screen at most */
.sb-greet { display: flex; align-items: center; gap: var(--space-4, 16px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card, 16px); padding: 18px 20px; color: var(--ink); }
.sb-greet-h { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.sb-greet-ic { width: 24px; height: 24px; fill: none; stroke: var(--tan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sb-greet-p { margin: 4px 0 0; font-family: var(--font-sans); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

/* The app icon, with an optional seasonal accessory layer above it */
.sb-mascot { position: relative; display: inline-block; flex: none; }
.sb-mascot img { width: 100%; height: 100%; display: block; border-radius: 22%; }
.sb-mascot .sb-acc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }

/* ProofBadge: true facts about privacy, plan and identity */
.sb-proof { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: var(--radius-pill, 999px); font-family: var(--font-sans); font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.sb-proof-local { background: var(--sunken); color: var(--ink); }
.sb-proof-cloud { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.sb-proof-plan { background: var(--violet-soft); color: var(--violet-ink); }
.sb-proof-founder { background: var(--tan-soft); color: var(--tan-ink); }

/* StatusPill: a word plus an icon shape, never color alone */
.sb-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill, 999px); font-family: var(--font-sans); font-size: 13px; font-weight: 600; white-space: nowrap; }
.sb-status .sb-ic { width: 14px; height: 14px; stroke-width: 2; }
.sb-status-good { background: var(--good-soft); color: var(--good); }
.sb-status-attention { background: var(--attention-soft); color: var(--attention); }
.sb-status-critical { background: var(--critical-soft); color: var(--critical); }

/* Appearance settings */
.sb-appearance { display: flex; flex-direction: column; gap: 10px; }
.sb-appearance-h { margin: 0 0 2px; font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--ink); }
.sb-switch { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-family: var(--font-sans); }
.sb-switch input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--violet); flex: none; }
.sb-switch b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.sb-switch small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }

/* One-time "Updated" note, shown under the greeting after an update until closed. */
.sb-updated { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--tan); border-radius: var(--radius-card, 16px); padding: 12px 14px 12px 16px; color: var(--ink); font-family: var(--font-sans); font-size: 14px; line-height: 1.5; }
.sb-updated-b { flex: 1; min-width: 0; }
.sb-updated-b > b { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.sb-updated-b > b .sb-ic { width: 16px; height: 16px; fill: none; stroke: var(--tan); stroke-width: 1.8; stroke-linejoin: round; flex: none; }
.sb-updated-l { margin: 6px 0 0; padding-left: 20px; color: var(--ink-2); }
.sb-updated-l li + li { margin-top: 2px; }
.sb-updated-x { flex: none; border: 0; background: none; color: var(--ink-2); cursor: pointer; padding: 4px; border-radius: 8px; line-height: 0; }
.sb-updated-x:hover { background: var(--line); color: var(--ink); }
.sb-updated-x .sb-ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
