/*
 * Brand of this product – the one stylesheet a product built from Basis changes (docs/NEUES-PRODUKT.md). This file
 * belongs to the product (ADR 0032): updates of the base do not change it.
 * Override tokens from design.css here, and add the icons of the product's modules (SVG in wwwroot/icons), e.g.
 *     .icon-calendar { --icon: url("../icons/calendar.svg"); }
 * Basis itself stays neutral, so this layer is empty.
 *
 * Example (orange accent; check contrast: --accent-600 and --accent-700 need at least 4.5:1 against white):
 *
 * @layer brand {
 *     :root {
 *         --accent-50: #fff4ed;
 *         --accent-100: #ffe6d5;
 *         --accent-200: #fdc9a8;
 *         --accent-500: #e8590c;
 *         --accent-600: #c2410c;
 *         --accent-700: #9a3412;
 *         --accent-800: #7c2d12;
 *         --accent-900: #431407;
 *         --radius: 6px;
 *     }
 * }
 */
@layer brand {
    /* Monthly report of a website (product ADR 0108): plain on screen, and made for paper – the browser prints it
       or saves it as PDF. */
    .report section { margin-top: 2rem; }
    .report-months ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; padding: 0; list-style: none; }

    /* The brand of an agency on a report, and the public report for its client (product ADR 0110). */
    .report-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
    .report-brand-logo { max-width: 12rem; max-height: 4rem; object-fit: contain; }
    .report-brand-name { display: block; font-size: 1.25rem; }
    .report-brand-contact { display: block; color: var(--color-text-muted); font-size: 0.875rem; }
    .client-report { max-width: 60rem; margin: 2rem auto; padding: 0 1rem; }
    .client-report-site { margin-top: 2.5rem; }
    .client-report-footer { margin-top: 2.5rem; }
    .agency-sites .badge + .badge { margin-left: 0.25rem; }
    .client-unassign-form { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }

    @media print {
        .client-report { margin: 0; padding: 0; }
        .client-report-site + .client-report-site { break-before: page; }
        .breadcrumb, .report-months, .page-actions { display: none !important; }
        .report section { break-inside: avoid; }
        .report h2, .report h3 { break-after: avoid; }
        .report .table-wrap { overflow: visible; }
        .report .badge, .report .alert { border: 1px solid currentColor; background: none; color: inherit; }
    }
}
