/* The customer app uses the shared web base (palette, surface tokens,
   components) from crates/ui/style/web.css (linked just before this
   file). Only customer-specific styles live here. */

/* ===== Pet detail "Eintragen" tabs ===== */
.log-heading { margin-bottom: 0.5rem; }
.log-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
}
/* Active tab fills with the primary colour; beats the base .button-ghost
   thanks to the two-class selector. */
.button-ghost.log-tab-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== Pet detail history disclosure ===== */
.history-section { margin: 1rem 0; }
.history-section > summary {
    cursor: pointer;
    list-style: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.5rem 0;
}
.history-section > summary::-webkit-details-marker { display: none; }
.history-section > summary::before {
    content: "▸";
    color: var(--muted);
    margin-right: 0.4rem;
    display: inline-block;
}
.history-section[open] > summary::before { content: "▾"; }
