.yc-demo-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
    background: #f0bf56;
    color: #2b210a;
    padding: 2px 6px;
    font-weight: 750;
    font-size: .73rem;
}
.sidebar-brand:has(> .yc-demo-badge) { position: relative; }
.sidebar-brand > .yc-demo-badge {
    position: absolute;
    inset-inline-start: 43px;
    inset-block-end: -10px;
    font-size: .64rem;
}
html.is-sidebar-collapsed .sidebar-brand:has(> .yc-demo-badge) { overflow: visible; }
html.is-sidebar-collapsed .sidebar-brand > .yc-demo-badge { inset-inline-start: -4px; inset-block-end: -15px; }
.demo-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 12px;
    align-items: start;
}
.demo-entry, .demo-panel { padding: 16px; min-width: 0; }
.demo-entry { margin: 32px auto; width: min(420px, calc(100% - 24px)); }
.demo-entry h1, .demo-panel h2 { font-size: 1.15rem; margin-block: 8px; }
.demo-entry form:not([hidden]), .demo-panel form {
    display: grid;
    gap: 7px;
    margin-block-start: 14px;
}
.demo-panel form > button, .demo-entry form > button { justify-self: start; max-width: 100%; }
.demo-panel .yc-input, .demo-entry .yc-input { width: 100%; min-width: 0; }
.demo-inline { display: flex; gap: 6px; margin-block-start: 5px; }
.demo-inline button { flex: 0 0 42px; min-width: 42px; padding: 0; }
.demo-inline svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.demo-toolbar { display: flex; flex-wrap: wrap; gap: 6px; }
.sidebar-nav .demo-actions { display: grid; gap: 2px; }
.demo-actions form { margin: 0; }
.demo-actions .sidebar-link { min-height: 34px; padding-block: 4px; background: transparent; color: inherit; border: 0; text-align: start; }
.demo-actions svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (min-width: 900px) { html.is-sidebar-collapsed .demo-actions span { display: none; } }

.yc-theme-dark body .meal-planner__search :is(input, button) {
    background: var(--yc-surface);
    border-color: var(--yc-border);
    color: var(--yc-text);
}
.yc-theme-dark body .meal-planner__tabs a:not(.is-active) { color: var(--yc-night-accent); }
.yc-theme-dark body .meal-planner :is(.meal-planner__recipe-actions, .meal-planner__tabs-bar) a.yc-btn--primary { color: #fff; }
.yc-theme-dark body .meal-planner__recipe-actions a.yc-btn--secondary { color: var(--yc-text); }
.yc-theme-dark .contacts-search__control > svg,
.yc-theme-dark .contact-card :is(.contact-card__avatar, .contact-card__links, .contact-card__actions) svg {
    color: var(--yc-text);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}
