.view-nav {
    display: flex;
    gap: 10px;
    padding: 14px 20px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.view-nav::-webkit-scrollbar {
    display: none;
}

.view-pill {
    border: 0;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.view-pill.active {
    background: var(--primary-gradient);
    color: #fff;
}

.platform-section {
    padding-bottom: 110px;
}

.section-shell {
    padding: 20px;
}

.section-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: var(--accent);
}

.section-copy {
    margin: 0;
    color: var(--text-muted);
    max-width: 720px;
}

.toolbar-search,
.toolbar-select {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 18px;
    padding: 10px 14px;
    box-shadow: var(--shadow-sm);
    min-width: min(100%, 320px);
}

.toolbar-search {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar-search input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
}

.mini-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.mini-stat-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
}

.mini-stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.mini-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.client-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.client-card-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.client-card h3 {
    font-size: 1.05rem;
    margin: 0;
}

.client-subline,
.client-meta {
    color: var(--text-muted);
    font-size: 0.86rem;
}

.client-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.soft-badge {
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--accent);
}

.soft-badge.success {
    background: rgba(39, 174, 96, 0.12);
    color: #1f7a45;
}

.soft-badge.warning {
    background: rgba(243, 156, 18, 0.16);
    color: #8a5a00;
}

.client-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.client-card-actions button {
    flex: 1;
    border: 0;
    border-radius: 14px;
    padding: 10px 12px;
    font-weight: 700;
}

.btn-soft-primary {
    background: var(--primary-gradient);
    color: #fff;
}

.btn-soft-secondary {
    background: #eef2f6;
    color: var(--accent);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.insights-toolbar-stack,
.insights-custom-range {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.section-toolbar-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.insights-filter-panel {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(44, 62, 80, 0.06);
}

.insight-weekday-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.insight-weekday-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.insight-weekday-filter {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.btn-inline-chip {
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

.insights-meta-copy {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.insight-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.insight-card-title {
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--accent);
}

.chart-list,
.insight-list {
    display: grid;
    gap: 10px;
}

.chart-row {
    display: grid;
    gap: 6px;
}

.chart-row-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.9rem;
}

.chart-bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(44, 62, 80, 0.08);
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--primary-gradient);
}

.insight-item {
    background: #f8fafc;
    border-radius: 16px;
    padding: 12px 14px;
    color: var(--accent);
    font-size: 0.92rem;
}

.card-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.link-client-chip {
    border: 0;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 6px 10px;
}

.client-link-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 14px;
}

.client-link-panel {
    background: #f8fafc;
    border-radius: 18px;
    padding: 16px;
}

.client-link-title {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.client-link-list {
    display: grid;
    gap: 10px;
}

.client-link-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(44, 62, 80, 0.06);
}

.client-link-copy {
    display: grid;
    gap: 4px;
}

.client-link-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.client-link-checkbox {
    width: 18px;
    height: 18px;
}

.business-hours-grid {
    display: grid;
    gap: 10px;
}

.business-hours-row {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr) minmax(120px, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 16px;
}

.business-hours-day {
    font-weight: 700;
    color: var(--accent);
}

.business-hours-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.client-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 8px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
    padding: 8px;
    z-index: 1060;
}

.client-suggestion-item {
    border: 0;
    width: 100%;
    background: transparent;
    text-align: left;
    padding: 10px 12px;
    border-radius: 14px;
    display: grid;
    gap: 2px;
}

.client-suggestion-item:hover {
    background: rgba(var(--primary-rgb), 0.08);
}

.client-suggestion-title {
    font-weight: 700;
    color: var(--accent);
}

.client-suggestion-subline {
    color: var(--text-muted);
    font-size: 0.86rem;
}

.client-detail-grid {
    display: grid;
    gap: 14px;
}

.client-detail-panel {
    background: #f8fafc;
    border-radius: 18px;
    padding: 14px;
}

.client-detail-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.client-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(44, 62, 80, 0.06);
    padding-bottom: 8px;
}

.weekday-picker {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.weekday-pill {
    border: 0;
    border-radius: 14px;
    background: #edf1f6;
    padding: 10px 0;
    font-weight: 700;
    color: var(--accent);
}

.weekday-pill.active {
    background: var(--primary-gradient);
    color: #fff;
}

@media (max-width: 768px) {
    .section-shell {
        padding: 16px;
    }

    .view-nav {
        padding: 12px 16px 0;
    }

    .client-card-actions {
        flex-direction: column;
    }

    .insight-weekday-filter {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .client-link-shell {
        grid-template-columns: 1fr;
    }

    .business-hours-row {
        grid-template-columns: 1fr;
    }

    .weekday-picker {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== Bottom Tab Bar (mobile) ===== */
.mobile-tabbar { display: none; }

@media (max-width: 768px) {
    .mobile-tabbar {
        display: flex;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 1200;
        align-items: center;
        justify-content: space-around;
        gap: 4px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(18px) saturate(140%);
        -webkit-backdrop-filter: blur(18px) saturate(140%);
        border-top: 1px solid rgba(44, 62, 80, 0.08);
        box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.10);
    }
    .tabbar-item {
        flex: 1;
        border: 0; background: transparent;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 3px; padding: 6px 2px;
        min-height: 52px;
        color: var(--text-muted);
        font-size: 0.7rem; font-weight: 700;
        border-radius: 14px;
        transition: color .15s ease, background .15s ease;
    }
    .tabbar-item i { font-size: 1.25rem; line-height: 1; }
    .tabbar-item.active { color: var(--primary); background: rgba(var(--primary-rgb), 0.10); }
    .tabbar-add {
        flex: 0 0 auto;
        width: 58px; height: 58px;
        margin-top: -22px;
        border: 0; border-radius: 50%;
        background: var(--primary-gradient);
        color: #fff; font-size: 1.5rem;
        box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.45);
        display: flex; align-items: center; justify-content: center;
    }
    .tabbar-add:active { transform: scale(0.94); }

    .view-nav { display: none; }
    .fab { display: none !important; }
    .gemini-fab {
        bottom: calc(84px + env(safe-area-inset-bottom)) !important;
        left: auto !important;
        right: 14px !important;
        width: 46px !important;
        height: 46px !important;
        z-index: 1150;
    }

    .platform-section { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
}

body.dark-mode .mobile-tabbar {
    background: rgba(24, 24, 24, 0.94);
    border-top-color: #333;
}
body.dark-mode .tabbar-item { color: #aaa; }

/* Esconde a barra inferior e o FAB da IA quando um modal está aberto
   (evita que a barra "coma" o botão do modal no celular) */
body.modal-open .mobile-tabbar,
body.modal-open .gemini-fab { display: none !important; }

/* Modais ocupam a tela toda no celular: botão sempre acessível */
@media (max-width: 575.98px) {
    .modal-fullscreen-sm-down .modal-body { padding-bottom: 28px; }
}

/* ===== Cliente Fixa: calendário ===== */
.fx-cal { background: #f8fafc; border-radius: 18px; padding: 12px; }
.fx-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.fx-cal-label { font-weight: 800; color: var(--accent); }
.fx-cal-nav { border: 0; background: #fff; width: 34px; height: 34px; border-radius: 10px; color: var(--accent); box-shadow: var(--shadow-sm); }
.fx-cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 6px; }
.fx-cal-dow span { text-align: center; font-size: 0.66rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.fx-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.fx-day { aspect-ratio: 1 / 1; border: 0; background: #fff; border-radius: 10px; font-weight: 700; color: var(--accent); font-size: 0.9rem; cursor: pointer; padding: 0; }
.fx-day.empty { background: transparent; }
.fx-day.today { box-shadow: inset 0 0 0 2px rgba(var(--primary-rgb), 0.55); }
.fx-day.sel { background: var(--primary-gradient); color: #fff; }
.fx-day.past { color: #c3c9d2; background: #f1f3f6; cursor: not-allowed; }
.fx-quickfill { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fx-quickfill-label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.fx-qf { border: 1px solid rgba(var(--primary-rgb), 0.35); background: #fff; color: var(--accent); border-radius: 999px; padding: 5px 10px; font-size: 0.74rem; font-weight: 700; }
.fx-qf:active { transform: scale(0.96); }
.fx-selected-list { display: flex; flex-direction: column; gap: 8px; max-height: 280px; overflow-y: auto; padding: 2px; }
.fx-apply-all { border: 1px solid rgba(var(--primary-rgb), 0.4); background: #fff; color: var(--accent); border-radius: 999px; padding: 5px 10px; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.fx-apply-all:active { transform: scale(.95); }
.fx-item { background: #f8fafc; border: 1px solid rgba(44,62,80,0.06); border-radius: 14px; padding: 10px 12px; }
.fx-item-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.fx-item-date { font-weight: 800; color: var(--accent); font-size: 0.82rem; }
.fx-item-rm { border: 0; background: transparent; color: #c0392b; font-size: 0.9rem; line-height: 1; padding: 2px 4px; }
.fx-item-fields { display: grid; grid-template-columns: 1fr 116px; gap: 8px; }
.fx-item-desc { font-size: 0.86rem; padding: 9px 12px; }
.fx-item-price-wrap { display: flex; align-items: center; gap: 4px; background: #fff; border-radius: 12px; padding-left: 10px; border: 1px solid rgba(44,62,80,0.08); }
.fx-item-price-wrap span { font-weight: 700; color: var(--text-muted); font-size: 0.82rem; }
.fx-item-price { padding: 9px 8px; font-weight: 700; }
body.dark-mode .fx-item { background: #222; border-color: #444; }
body.dark-mode .fx-apply-all, body.dark-mode .fx-item-price-wrap { background: #2a2a2a; color: #eee; border-color: #444; }
body.dark-mode .fx-cal { background: #222; }
body.dark-mode .fx-day { background: #2a2a2a; color: #eee; }
body.dark-mode .fx-day.past { background: #1c1c1c; color: #555; }
body.dark-mode .fx-cal-nav, body.dark-mode .fx-qf { background: #2a2a2a; color: #eee; }

/* ===== Aba Fixas ===== */
.recurring-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.recurring-card {
    background: rgba(255,255,255,0.96);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255,255,255,0.6);
    transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, border-color .22s ease;
}
.recurring-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15,23,42,0.12); border-color: rgba(var(--primary-rgb), 0.28); }
.recurring-card:active { transform: translateY(-1px) scale(.994); }
.recurring-card h3 { font-size: 1.05rem; margin: 0 0 2px; color: var(--accent); }
.pending-chip {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(243,156,18,0.16); color: #8a5a00;
    font-weight: 800; border-radius: 999px; padding: 2px 10px 2px 8px;
    font-size: 0.74rem; margin-left: 6px; white-space: nowrap;
    animation: pendingPop .3s cubic-bezier(.3,1.4,.4,1) both;
}
.pending-chip::before { content: "•"; font-size: 1rem; line-height: 0; }
@keyframes pendingPop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
body.dark-mode .pending-chip { background: rgba(243,156,18,0.22); color: #f5b041; }
.recurring-proc { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.recurring-proc span { background: rgba(var(--primary-rgb),0.12); color: var(--accent); border-radius: 999px; padding: 4px 10px; font-size: 0.74rem; font-weight: 700; }
.recurring-dates { display: grid; gap: 6px; margin-top: 8px; }
.recurring-date-row { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; background: #f8fafc; border-radius: 12px; padding: 8px 12px; font-size: 0.86rem; transition: background .15s ease, transform .12s ease; }
.recurring-date-row .when { font-weight: 700; color: var(--accent); }
.rdr-left { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rdr-svc { font-size: 0.76rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; }
.rdr-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: nowrap; }
.rdr-val { font-weight: 800; font-size: 0.82rem; color: var(--accent); }
.recurring-date-row.editable { cursor: pointer; }
.recurring-date-row.editable:hover { background: rgba(var(--primary-rgb), 0.08); transform: translateX(2px); }
.recurring-date-row.editable:active { transform: scale(.98); background: rgba(var(--primary-rgb), 0.12); }
.rdr-edit { font-size: 0.72rem; color: var(--text-muted); margin-left: 3px; transition: opacity .15s ease; }

/* Divisor sutil entre a agenda do card e os botões de ação */
.recurring-card-actions {
    display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; flex-wrap: wrap;
    border-top: 1px dashed rgba(44,62,80,0.14);
}
body.dark-mode .recurring-card-actions { border-top-color: rgba(255,255,255,0.14); }

/* Entrada escalonada dos cards (ate 8; os demais herdam o ultimo atraso) */
.recurring-card:nth-child(1) { animation-delay: .02s; }
.recurring-card:nth-child(2) { animation-delay: .06s; }
.recurring-card:nth-child(3) { animation-delay: .10s; }
.recurring-card:nth-child(4) { animation-delay: .14s; }
.recurring-card:nth-child(5) { animation-delay: .18s; }
.recurring-card:nth-child(6) { animation-delay: .22s; }
.recurring-card:nth-child(n+7) { animation-delay: .26s; }

@media (max-width: 480px) {
    .mini-stats-grid { grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); gap: 10px; }
    .mini-stat-card { padding: 12px 14px; }
    .mini-stat-value { font-size: 1.25rem; }
    .recurring-card { padding: 16px; border-radius: 20px; }
}

/* ===== Entrada da Agenda de Natal ===== */
.natal-pill { text-decoration: none; background: linear-gradient(135deg, #c8102e, #8f0b21) !important; color: #fff !important; }
.natal-banner { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 14px; padding: 12px 16px; border-radius: 20px; color: #fbf8f1; background: radial-gradient(circle at 90% 0%, rgba(242,193,78,0.35), transparent 50%), linear-gradient(135deg, #13305a 0%, #0a1428 100%); border: 1px solid rgba(242,193,78,0.45); box-shadow: 0 10px 24px rgba(10,20,40,0.25); position: relative; overflow: hidden; transition: transform .15s ease; }
.natal-banner[hidden] { display: none; }
.natal-banner::after { content: "❄ ✦ ❄"; position: absolute; right: 44px; top: 6px; font-size: 0.7rem; letter-spacing: 6px; color: rgba(255,255,255,0.35); }
.natal-banner:active { transform: scale(.98); }
.natal-banner:hover { color: #fff; }
.nb-art { font-size: 1.8rem; animation: nbBob 2.4s ease-in-out infinite; }
.nb-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nb-text b { font-size: 1rem; }
.nb-text small { font-size: 0.78rem; color: rgba(251,248,241,0.75); }
@keyframes nbBob { 50% { transform: translateY(-3px) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .nb-art { animation: none; } }

/* ===== Meta semanal de cosseiras ===== */
.goal-card { background: linear-gradient(135deg, #fff8ee 0%, #ffeef3 100%); border: 1px solid rgba(255,143,171,0.28); border-radius: 20px; padding: 12px 14px; margin-bottom: 14px; box-shadow: 0 8px 22px rgba(196,102,31,0.08); }
.goal-head { display: flex; align-items: center; gap: 8px; }
.goal-toggle { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 4px 0; text-align: left; color: var(--accent); cursor: pointer; }
.goal-title { flex: 1; min-width: 0; font-weight: 800; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.goal-title span { text-transform: capitalize; }
.goal-count { font-family: 'Space Mono', monospace; font-weight: 700; font-size: 0.82rem; background: #fff; color: #c4661f; border: 1px solid rgba(243,154,69,0.35); border-radius: 999px; padding: 2px 10px; }
.goal-chevron { color: var(--text-muted); transition: transform .2s ease; }
.goal-card.collapsed .goal-body { display: none; }
.goal-card.collapsed .goal-chevron { transform: rotate(180deg); }
.goal-egg { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; border: 1px dashed rgba(44,62,80,0.18); background: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1; opacity: 0.55; cursor: pointer; transition: opacity .15s ease, transform .15s ease; }
.goal-egg:hover, .goal-egg:focus-visible { opacity: 1; }
.goal-egg:active { transform: scale(.9); }
.goal-body { margin-top: 10px; }
.goal-bar { height: 8px; border-radius: 999px; background: rgba(243,154,69,0.16); overflow: hidden; }
.goal-bar-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #f39a45, #ff8fab); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.goal-weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.goal-week { display: flex; flex-direction: column; align-items: center; gap: 6px; background: rgba(255,255,255,0.7); border: 1px solid rgba(44,62,80,0.06); border-radius: 14px; padding: 8px 4px; }
.goal-week.current { border-color: rgba(243,154,69,0.55); box-shadow: 0 0 0 2px rgba(243,154,69,0.15); }
.goal-week.future { opacity: 0.45; }
.goal-week.full { background: rgba(255,143,171,0.14); }
.goal-week-name { display: flex; flex-direction: column; align-items: center; font-weight: 800; font-size: 0.74rem; color: var(--accent); line-height: 1.15; }
.goal-week-name small { font-weight: 600; font-size: 0.64rem; color: var(--text-muted); }
.goal-paws { display: flex; gap: 4px; }
.goal-paw { width: 36px; height: 36px; border-radius: 50%; border: 2px dashed rgba(196,102,31,0.35); background: #fff; font-size: 1rem; line-height: 1; filter: grayscale(1); opacity: 0.45; cursor: pointer; transition: transform .18s cubic-bezier(.34,1.56,.64,1), background .15s ease; }
.goal-paw.on { border: 2px solid #ff8fab; background: #ffe3ec; filter: none; opacity: 1; animation: pawPop .35s cubic-bezier(.3,1.6,.5,1); }
.goal-paw:active:not(:disabled) { transform: scale(.88); }
.goal-paw:disabled { cursor: not-allowed; }
@keyframes pawPop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
.goal-hint { margin-top: 8px; font-size: 0.78rem; color: var(--text-muted); text-align: center; }
.goal-card.done { background: linear-gradient(135deg, #fff3d6 0%, #ffe3ec 100%); border-color: rgba(255,209,102,0.6); }
.goal-card.done .goal-hint { color: #c4661f; font-weight: 700; }
body.dark-mode .goal-card { background: linear-gradient(135deg, #2a221c 0%, #2c1f27 100%); border-color: #4a3440; }
body.dark-mode .goal-toggle, body.dark-mode .goal-week-name { color: #f4d35e; }
body.dark-mode .goal-count { background: #1f1f1f; color: #f5b041; border-color: #4a3a2a; }
body.dark-mode .goal-week { background: #1f1f1f; border-color: #3a3a3a; }
body.dark-mode .goal-paw { background: #262626; }
body.dark-mode .goal-paw.on { background: #ffc2d3; }
body.dark-mode .goal-egg { background: #262626; border-color: #444; }
@media (max-width: 380px) {
    .goal-weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== Gatinha pixel: comemoração e joguinho ===== */
.gato-overlay { position: fixed; inset: 0; z-index: 13000; display: flex; align-items: center; justify-content: center; padding: 14px; background: rgba(15,8,25,0.8); animation: gatoFade .25s ease; }
@keyframes gatoFade { from { opacity: 0; } to { opacity: 1; } }
.gato-card { width: 100%; max-width: 360px; background: #2a1646; color: #fff; border: 4px solid #ffd166; border-radius: 6px; padding: 16px; text-align: center; box-shadow: 0 0 0 4px #2a1646, 0 20px 50px rgba(0,0,0,0.5); animation: gatoPop .4s cubic-bezier(.2,.9,.2,1.2); }
@keyframes gatoPop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.gato-party-canvas { display: block; width: 100%; max-width: 320px; margin: 0 auto; aspect-ratio: 160 / 112; image-rendering: pixelated; border: 2px solid #1b1020; }
.gato-title { font-family: 'Press Start 2P', monospace; font-size: 1.1rem; color: #ffd166; margin: 14px 0 8px; letter-spacing: 1px; text-shadow: 2px 2px 0 #b3123a; }
.gato-text { font-size: 0.92rem; line-height: 1.5; color: rgba(255,255,255,0.88); margin: 0 0 14px; }
.gato-actions { display: flex; gap: 10px; justify-content: center; }
.gato-btn { font-family: 'Press Start 2P', monospace; font-size: 0.66rem; border: 0; border-radius: 4px; padding: 12px 14px; background: #ffd166; color: #2a1646; box-shadow: 0 4px 0 #b8860b; cursor: pointer; }
.gato-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #b8860b; }
.gato-btn.ghost { background: transparent; color: #ffd166; box-shadow: inset 0 0 0 2px #ffd166; }

.gato-game-box { width: 100%; max-width: 820px; background: #1b1020; border: 4px solid #ffd166; border-radius: 6px; padding: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.gato-game-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.gato-game-name { flex: 1; font-family: 'Press Start 2P', monospace; font-size: 0.72rem; color: #ffd166; letter-spacing: 1px; }
.gato-icon { width: 36px; height: 36px; border: 0; border-radius: 4px; background: #2e1d3d; color: #fff; font-size: 0.95rem; cursor: pointer; }
.gato-screen { display: block; width: 100%; max-width: calc((100dvh - 190px) * 16 / 9); margin: 0 auto; aspect-ratio: 16 / 9; height: auto; image-rendering: pixelated; background: #8fd8ff; touch-action: none; }
.gato-pad { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; user-select: none; -webkit-user-select: none; touch-action: none; }
.gato-dpad { display: flex; gap: 8px; }
.gato-pad button { border: 0; color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gato-dpad button { width: 64px; height: 56px; border-radius: 8px; background: #3a2750; font-size: 1.3rem; box-shadow: 0 4px 0 #120a18; }
.gato-jump { width: 92px; height: 64px; border-radius: 32px; background: #ff4d6d; font-family: 'Press Start 2P', monospace; font-size: 0.7rem; box-shadow: 0 5px 0 #8a1030; }
.gato-pad button.on { transform: translateY(3px); box-shadow: 0 1px 0 #120a18; }
.gato-help { font-size: 0.72rem; color: rgba(255,255,255,0.5); text-align: center; }
@media (hover: none) { .gato-help { display: none; } }
@media (prefers-reduced-motion: reduce) { .gato-overlay, .gato-card, .goal-paw.on, .goal-bar-fill { animation: none !important; transition: none !important; } }
.recurring-empty { color: var(--text-muted); padding: 20px; text-align: center; }
body.dark-mode .recurring-card { background: #2a2a2a; border-color: #444; }
body.dark-mode .recurring-date-row { background: #1f1f1f; }
/* --accent (navy) fica ilegivel em fundo escuro; dourado no escopo da aba Fixas + comprovante,
   consistente com o dourado ja usado no selo "Fixa" (.fixed-badge) em dark mode. */
body.dark-mode #recurringSection, body.dark-mode #receiptModal { --accent: #f4d35e; }
body.dark-mode .mini-stat-card { background: #242424; border: 1px solid #3a3a3a; }

/* ===== Polimento: skeletons, confete, micro-interações, toast ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.recurring-card, .client-card { animation: fadeUp .35s ease both; }

@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.skeleton { background: linear-gradient(90deg, rgba(0,0,0,0.06) 25%, rgba(0,0,0,0.12) 37%, rgba(0,0,0,0.06) 63%); background-size: 800px 100%; animation: shimmer 1.2s infinite linear; border-radius: 14px; }
.skel-stack { display: grid; gap: 12px; }
.skel-card { height: 76px; }
.skel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
body.dark-mode .skeleton { background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.12) 37%, rgba(255,255,255,0.06) 63%); background-size: 800px 100%; }

.btn-soft-primary, .btn-soft-secondary, .filter-pill, .view-pill, .fx-qf, .btn-inline-chip, .client-card-actions button, .tabbar-item, .tabbar-add { transition: transform .12s ease, box-shadow .12s ease; }
.btn-soft-primary:active, .btn-soft-secondary:active, .filter-pill:active, .view-pill:active, .fx-qf:active, .btn-inline-chip:active, .client-card-actions button:active, .tabbar-item:active { transform: scale(.96); }

.confetti-layer { position: fixed; inset: 0; pointer-events: none; z-index: 11000; overflow: hidden; }
.confetti-bit { position: absolute; top: -12px; width: 9px; height: 9px; border-radius: 2px; opacity: 0; animation: confettiFall var(--dur, 1s) ease-in forwards; }
@keyframes confettiFall { 0% { opacity: 0; transform: translateY(-10px) rotate(0); } 10% { opacity: 1; } 100% { opacity: 0; transform: translateY(92vh) rotate(540deg); } }

.app-toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; margin-bottom: 10px; max-width: 340px; color: #fff; font-weight: 600; font-size: .9rem; box-shadow: 0 12px 30px rgba(0,0,0,.22); cursor: pointer; animation: toastIn .35s cubic-bezier(.2,.8,.2,1); position: relative; overflow: hidden; }
.app-toast .ti-ico { font-size: 1.2rem; display: flex; }
.app-toast.hide { animation: toastOut .3s ease forwards; }
.app-toast .toast-bar { position: absolute; left: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.55); width: 100%; transform-origin: left; animation: toastBar 4s linear forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px) scale(.96); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }
@keyframes toastBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

@media (prefers-reduced-motion: reduce) {
    .recurring-card, .client-card, .skeleton, .confetti-bit, .app-toast, .app-toast .toast-bar { animation: none !important; }
}

/* ===== Chips de serviço (pré-seleção) ===== */
.svc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.svc-chip { border: 1px solid rgba(var(--primary-rgb), 0.4); background: #fff; color: var(--accent); border-radius: 999px; padding: 7px 12px; font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: transform .1s ease, background .12s ease; }
.svc-chip:hover { background: rgba(var(--primary-rgb), 0.10); }
.svc-chip:active { transform: scale(.94); }
.svc-clear { border: 0; background: #f1f3f6; color: var(--text-muted); border-radius: 999px; min-width: 34px; padding: 7px 10px; font-size: 0.8rem; cursor: pointer; }
.svc-clear:active { transform: scale(.94); }
body.dark-mode .svc-chip { background: #2a2a2a; color: #eee; }
body.dark-mode .svc-clear { background: #333; color: #bbb; }

/* ===== Ajuda (?) com legenda ===== */
.help-btn { border: 0; background: rgba(var(--primary-rgb), 0.14); color: var(--accent); width: 26px; height: 26px; border-radius: 50%; font-size: 0.95rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
.help-btn:active { transform: scale(.92); }
.help-legend { background: rgba(var(--primary-rgb), 0.08); border: 1px solid rgba(var(--primary-rgb), 0.22); border-radius: 14px; padding: 12px 14px; font-size: 0.85rem; color: var(--accent); margin: 10px 0 6px; line-height: 1.5; }
.help-legend strong { display: block; margin-bottom: 4px; }
body.dark-mode .help-legend { background: #222; border-color: #444; color: #ddd; }

/* Selo "Fixa" na agenda principal */
.fixed-badge { display: inline-flex; align-items: center; gap: 4px; background: rgba(var(--primary-rgb), 0.16); color: var(--accent); border-radius: 999px; padding: 2px 8px; font-size: 0.68rem; font-weight: 800; vertical-align: middle; }
body.dark-mode .fixed-badge { background: rgba(212,175,55,0.22); color: #f4d35e; }

/* Toggle "Exigir horário de funcionamento" */
.enforce-hours-box { display: flex; gap: 12px; align-items: flex-start; background: rgba(var(--primary-rgb), 0.08); border: 1px solid rgba(var(--primary-rgb), 0.22); border-radius: 16px; padding: 14px; margin-bottom: 16px; cursor: pointer; }
.enforce-hours-box input { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--primary); }
.enforce-hours-text { display: flex; flex-direction: column; gap: 2px; color: var(--accent); }
.enforce-hours-sub { color: var(--text-muted); font-size: 0.82rem; line-height: 1.4; }
body.dark-mode .enforce-hours-box { background: #222; border-color: #444; }

/* ===== Sheet de opções do agendamento (mobile + desktop) ===== */
.option-sheet-dialog { max-width: 380px; }
.option-sheet { border-radius: 22px; padding-bottom: 10px; }
.option-sheet-handle { display: none; }
#optionsModal .modal-header { padding: 16px 18px 6px; }
#optionsModal .modal-title { font-size: 1.05rem; }
#optionsModal .modal-body { padding: 10px 16px 6px; }
#optionsModal .modal-body .btn { display: flex; align-items: center; justify-content: flex-start; text-align: left; padding: 14px 16px; border-radius: 16px; font-weight: 700; font-size: 0.98rem; }
#optionsModal .modal-body .btn i { font-size: 1.2rem; }
.opt-cancel { margin: 6px 16px 8px; border: 0; background: #eef1f5; color: var(--accent); border-radius: 16px; padding: 13px; font-weight: 700; transition: transform .12s ease; }
.opt-cancel:active { transform: scale(.97); }
body.dark-mode .option-sheet { background: #1e1e1e; }
body.dark-mode .opt-cancel { background: #2a2a2a; color: #eee; }

@keyframes sheetUp { from { transform: translateY(50px); } to { transform: translateY(0); } }
@media (max-width: 575.98px) {
    #optionsModal .modal-dialog.option-sheet-dialog { position: fixed; left: 0; right: 0; bottom: 0; top: auto; margin: 0; max-width: 100%; min-height: auto; }
    .option-sheet { border-radius: 24px 24px 0 0; padding-bottom: calc(14px + env(safe-area-inset-bottom)); animation: sheetUp .28s cubic-bezier(.2,.8,.2,1); }
    .option-sheet-handle { display: block; width: 42px; height: 5px; border-radius: 999px; background: rgba(0,0,0,0.18); margin: 10px auto 2px; }
    #optionsModal .modal-body .btn { padding: 16px; font-size: 1.02rem; }
}

/* ===== Botões nos cards de Fixas ===== */
.rc-btn { flex: 1; min-width: 92px; border: 1px solid rgba(0,0,0,0.08); background: #fff; color: var(--accent); border-radius: 12px; padding: 9px 8px; font-size: 0.78rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 5px; cursor: pointer; transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .15s ease, background .15s ease; }
.rc-btn.primary { background: var(--primary-gradient); color: #fff; border-color: transparent; }
.rc-btn.danger { color: #c0392b; border-color: rgba(192,57,43,0.3); }
.rc-btn:hover { box-shadow: 0 6px 16px rgba(15,23,42,0.10); }
.rc-btn:active { transform: scale(.94); }
body.dark-mode .rc-btn { background: #383838; color: #eee; border-color: #4d4d4d; }
@media (max-width: 768px) { .rc-btn { min-height: 44px; font-size: 0.8rem; } }

/* ===== Comprovante (notinha) ===== */
.receipt {
    position: relative; overflow: hidden;
    background: #fffefb;
    border-radius: 18px;
    padding: 20px 18px;
    border: 1px dashed rgba(0,0,0,0.18);
    color: #2c3e50;
    font-family: 'Space Mono', Consolas, 'SFMono-Regular', monospace;
    animation: receiptIn .35s cubic-bezier(.2,.85,.25,1) both;
}
@keyframes receiptIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.receipt-row { cursor: pointer; transition: background .15s ease, transform .12s ease; border-radius: 8px; }
.receipt-row:hover { background: rgba(var(--primary-rgb), 0.05); }
.receipt-row:active { background: rgba(var(--primary-rgb), 0.10); transform: scale(.99); }
.receipt-paidline { text-align: right; font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.receipt-stamp {
    position: absolute; top: 50px; right: 12px; transform: rotate(-14deg);
    border: 3px solid #1f7a45; color: #1f7a45; font-weight: 900; font-size: 1.5rem;
    letter-spacing: 2px; padding: 3px 14px; border-radius: 8px; opacity: .85; pointer-events: none;
    animation: stampIn .5s cubic-bezier(.25,.9,.25,1.15) .1s both;
}
@keyframes stampIn { 0% { opacity: 0; transform: rotate(-14deg) scale(2.2); } 65% { opacity: .95; } 100% { opacity: .85; transform: rotate(-14deg) scale(1); } }
.receipt-head { text-align: center; border-bottom: 1px dashed rgba(0,0,0,0.15); padding-bottom: 12px; margin-bottom: 10px; }
.receipt-brand { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; background: var(--primary-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.receipt-client { font-weight: 700; margin-top: 4px; font-family: 'Outfit', sans-serif; }
.receipt-sub { color: var(--text-muted); font-size: 0.76rem; font-family: 'Outfit', sans-serif; }
.receipt-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 4px; border-bottom: 1px dashed rgba(0,0,0,0.08); font-size: 0.86rem; }
.receipt-row .rd { font-weight: 700; color: var(--accent); }
.receipt-row .rs { color: var(--text-muted); font-size: 0.74rem; font-family: 'Outfit', sans-serif; }
.receipt-row .rv { font-weight: 700; white-space: nowrap; }
.receipt-summary { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(var(--primary-rgb), 0.06); }
.receipt-total { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 1.08rem; color: var(--accent); }
.receipt-foot { text-align: center; color: var(--text-muted); font-size: 0.76rem; margin-top: 14px; font-family: 'Outfit', sans-serif; }
.receipt-pill { display: inline-block; margin-top: 4px; font-size: 0.62rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; transition: background .2s ease, color .2s ease; }
.receipt-pill.paid { background: rgba(39,174,96,.14); color: #1f7a45; }
.receipt-pill.pend { background: rgba(243,156,18,.18); color: #8a5a00; }
body.dark-mode .receipt { background: #161616; color: #eee; border-color: #444; }
body.dark-mode .receipt-summary { background: rgba(212,175,55,0.08); }
#receiptPayAllBtn { animation: payAllPulse 2.6s ease-in-out infinite; }
@keyframes payAllPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(39,174,96,0.28); } 50% { box-shadow: 0 0 0 7px rgba(39,174,96,0); } }
.receipt-action-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: 54px; font-size: 0.7rem !important; line-height: 1.1;
    transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .15s ease, background .15s ease !important;
}
.receipt-action-btn i { font-size: 1.15rem; margin: 0 !important; }
.receipt-action-btn:active { transform: scale(.92); }
/* Controles do comprovante (fora do recibo: nao entram na imagem/PDF) */
.receipt-controls { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.receipt-period { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.receipt-seg { display: inline-flex; background: #eef1f5; border-radius: 12px; padding: 3px; gap: 2px; }
.receipt-seg button { border: 0; background: transparent; color: var(--text-muted); font-weight: 700; font-size: 0.8rem; padding: 7px 12px; border-radius: 9px; min-height: 36px; transition: background .15s ease, color .15s ease; }
.receipt-seg button.active { background: #fff; color: var(--accent); box-shadow: 0 2px 6px rgba(15,23,42,0.10); }
.receipt-period-nav { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.receipt-period-nav button { border: 0; width: 36px; height: 36px; border-radius: 10px; background: #eef1f5; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.receipt-period-nav button:active { transform: scale(.92); }
.receipt-period-nav span { font-weight: 800; color: var(--accent); font-size: 0.88rem; min-width: 118px; text-align: center; }
.receipt-outside { display: flex; align-items: center; gap: 8px; background: rgba(243,156,18,0.12); border: 1px solid rgba(243,156,18,0.3); color: #8a5a00; border-radius: 12px; padding: 8px 10px; font-size: 0.8rem; font-weight: 600; }
.receipt-outside span { flex: 1; }
.receipt-outside button { border: 0; background: #fff; color: #8a5a00; font-weight: 800; border-radius: 999px; padding: 5px 12px; font-size: 0.76rem; white-space: nowrap; }
.receipt-period-tag { display: inline-block; margin-top: 6px; font-family: 'Outfit', sans-serif; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); background: rgba(var(--primary-rgb), 0.12); border-radius: 999px; padding: 3px 10px; }
body.dark-mode .receipt-seg, body.dark-mode .receipt-period-nav button { background: #2a2a2a; }
body.dark-mode .receipt-seg button.active { background: #3a3a3a; }
body.dark-mode .receipt-outside { background: rgba(243,156,18,0.14); color: #f5b041; }
body.dark-mode .receipt-outside button { background: #2a2a2a; color: #f5b041; }
@media (max-width: 400px) {
    .receipt-period-nav { margin-left: 0; width: 100%; justify-content: space-between; }
    .receipt-seg { width: 100%; }
    .receipt-seg button { flex: 1; }
}

/* Copia usada so pra gerar a imagem/PDF: invisivel na tela, sem animacao, sempre clara */
.receipt-capture-holder { position: fixed; left: 0; top: 0; width: 400px; visibility: hidden; pointer-events: none; z-index: -1; }
.receipt-capture, .receipt-capture * { animation: none !important; transition: none !important; }
body .receipt.receipt-capture { background: #fffefb !important; color: #2c3e50 !important; border-color: rgba(0,0,0,0.18) !important; --accent: #2c3e50; }
.receipt-capture .receipt-summary { background: rgba(212,175,55,0.10) !important; }
.receipt-capture .receipt-brand { background: none !important; -webkit-text-fill-color: #b8932a !important; color: #b8932a !important; }
.receipt-capture .receipt-hint { display: none !important; }

@media (max-width: 480px) {
    .receipt { padding: 16px 14px; font-size: 0.94rem; }
    .receipt-brand { font-size: 1.02rem; }
    .receipt-stamp { font-size: 1.15rem; padding: 2px 10px; top: 46px; right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .receipt, .receipt-stamp, .pending-chip, #receiptPayAllBtn, .recurring-card,
    .recurring-date-row, .receipt-row, .rc-btn, .receipt-action-btn {
        animation: none !important; transition: none !important;
    }
}

/* ===== Conflito de horário ===== */
.conflict-list { display: flex; flex-direction: column; gap: 10px; }
.conflict-item { display: flex; align-items: flex-start; gap: 12px; background: rgba(243,156,18,0.10); border: 1px solid rgba(243,156,18,0.28); border-radius: 14px; padding: 12px 14px; }
.conflict-item .ci-ico { color: #c87f0a; font-size: 1.2rem; margin-top: 2px; }
.conflict-item .ci-date { font-weight: 800; color: var(--accent); }
.conflict-item .ci-msg { font-size: 0.85rem; color: var(--text-muted); }
body.dark-mode .conflict-item { background: rgba(243,156,18,0.14); border-color: rgba(243,156,18,0.3); }
body.dark-mode .conflict-item .ci-date { color: #eee; }
