:root {
    --bg: #f7f7f8;
    --card: #ffffff;
    --text: #1f2933;
    --muted: #6b7280;
    --accent: #9b00d4;
    --accent-soft: #f7edfc;
    --ok: #057a55;
    --ok-soft: #ecfdf5;
    --ko: #b42318;
    --ko-soft: #fef3f2;
    --border: #e5e7eb;
    --focus: #9b00d4;
    --radius: 0.5rem;
    --font: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-width: 320px;
}

a { color: var(--accent); }
a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 100;
    background: #fff;
    padding: 0.5rem 0.75rem;
}

.topbar {
    background: #111;
    color: #f3f3f3;
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid #222;
}

.topbar__inner {
    max-width: 68rem;
    margin: 0 auto;
    padding: 0.65rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: inherit;
}
.brand:hover { text-decoration: none; }
.brand__logo {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
}
.brand__name {
    display: block;
    font-weight: 650;
    font-size: 0.92rem;
    color: #fff;
}
.brand__sub {
    display: block;
    font-size: 0.7rem;
    color: #9ca3af;
}

.nav--primary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem;
    flex: 1;
    justify-content: center;
}
.nav__link {
    text-decoration: none;
    color: #d1d5db;
    padding: 0.4rem 0.55rem;
    border-radius: 0.35rem;
    font-size: 0.875rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}
.nav__link:hover,
.nav__link.is-active {
    color: #fff;
    background: #1f1f1f;
    text-decoration: none;
}

.nav-more {
    position: relative;
}
.nav-more > summary {
    list-style: none;
}
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more__panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    min-width: 11rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 0.45rem;
    padding: 0.35rem;
    display: grid;
    gap: 0.1rem;
    z-index: 40;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.nav-more__panel .nav__link {
    display: block;
}

.topbar__user {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
}
.topbar__who { font-size: 0.85rem; color: #9ca3af; }
.nav__bell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
    border-radius: 0.35rem;
    text-decoration: none;
    color: #fff;
}
.nav__bell-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #555;
    display: inline-block;
}
.role-pill {
    display: inline-block;
    margin-left: 0.25rem;
    font-size: 0.65rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    background: #2a2a2a;
    color: #e5e7eb;
}

.topbar .btn--ghost {
    background: transparent;
    border-color: #333;
    color: #fff;
}

.main {
    max-width: 68rem;
    margin: 0 auto;
    padding: 1.25rem 1rem 3rem;
}

.footer {
    max-width: 68rem;
    margin: 0 auto;
    padding: 0.75rem 1rem 1.5rem;
    color: var(--muted);
    font-size: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}
.footer__logo { height: 1.1rem; width: auto; opacity: 0.85; }
.footer p { margin: 0; }

.page__header { margin-bottom: 1rem; }
.page__header h1 {
    margin: 0 0 0.25rem;
    font-size: clamp(1.25rem, 3.5vw, 1.6rem);
    font-weight: 700;
}
.page__sub,
.page__meta { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.9rem; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin: 0 0 0.5rem; }

/* Auth */
.auth {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.auth__card {
    width: 100%;
    max-width: 22rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem;
}
.auth__logo {
    display: block;
    height: 2.1rem;
    width: auto;
    margin: 0 auto 0.85rem;
}
.eyebrow {
    margin: 0 0 0.25rem;
    color: var(--muted);
    font-size: 0.8rem;
    text-align: center;
}
.auth h1 {
    margin: 0 0 0.25rem;
    font-size: 1.3rem;
    text-align: center;
}
.lead {
    margin: 0 0 1.1rem;
    color: var(--muted);
    text-align: center;
    font-size: 0.9rem;
}

/* Forms */
.form .field { margin-bottom: 0.9rem; }
.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 2.4rem;
    border: 1px solid var(--border);
    border-radius: 0.4rem;
    padding: 0.4rem 0.6rem;
    font: inherit;
    background: #fff;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent);
    outline: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: 2.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 0.4rem;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { filter: brightness(1.05); color: #fff; }
.btn--ghost {
    background: #fff;
    border-color: var(--border);
    color: var(--text);
}
.btn--ghost:hover { background: #f9fafb; }
.btn--block { width: 100%; }
.btn--sm { min-height: 2rem; padding: 0.2rem 0.65rem; font-size: 0.85rem; }
.inline-form { display: inline; margin: 0; }

.alert {
    border-radius: 0.4rem;
    padding: 0.7rem 0.85rem;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
}
.alert--error { background: var(--ko-soft); color: var(--ko); border: 1px solid #fecaca; }
.alert--success { background: var(--ok-soft); color: var(--ok); border: 1px solid #a7f3d0; }

/* Next step — one calm strip */
.next-step {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    background: var(--accent-soft);
    border: 1px solid #edd7f8;
    border-radius: var(--radius);
    padding: 0.75rem 0.9rem;
    margin-bottom: 1rem;
}
.next-step__label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 650;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.next-step__text {
    margin: 0.1rem 0 0;
    font-weight: 650;
    color: var(--text);
}
.next-step__miss {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    color: #9f1239;
}
.next-step__actions {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.plat {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 650;
    padding: 0.15rem 0.45rem;
    border-radius: 0.3rem;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    text-decoration: none;
}
.plat--youtube { border-color: #f1c5c5; background: #fff5f5; color: #9b1c1c; }
.plat--instagram { border-color: #f0d0e8; background: #fdf4fb; color: #9d174d; }
.plat--tiktok { border-color: #d4d4d8; background: #fafafa; color: #18181b; }
.plat--meta { border-color: #c7d7f5; background: #f0f5ff; color: #1e40af; }
.plat.is-active {
    box-shadow: inset 0 0 0 1px currentColor;
}
.warn-text { color: #9f1239; font-weight: 650; }
.badge--warn {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #9f1239;
}

.panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 0.85rem;
}
.panel h2 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}
.panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.panel__head h2 { margin: 0; }

.count-pill {
    display: inline-flex;
    min-width: 1.35rem;
    justify-content: center;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: #eee;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 650;
}

/* Collapsible blocks on fiche */
.fold {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.65rem;
}
.fold > summary {
    list-style: none;
    cursor: pointer;
    padding: 0.85rem 1rem;
    font-weight: 650;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after {
    content: "+";
    color: var(--muted);
    font-weight: 400;
    font-size: 1.1rem;
}
.fold[open] > summary::after { content: "−"; }
.fold__body {
    padding: 0 1rem 1rem;
    border-top: 1px solid var(--border);
}

.stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin: 0.85rem 0;
}
.stats--secondary .stat { background: #fafafa; }
.stat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.85rem;
}
.stat h3 {
    margin: 0 0 0.25rem;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
}
.stat__value {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}
.stat__hint {
    margin: 0.2rem 0 0;
    font-size: 0.75rem;
    color: var(--muted);
}

.empty,
.muted,
.meta { color: var(--muted); }
.meta { font-size: 0.85rem; }
.break-all { word-break: break-all; }

.badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.12rem 0.4rem;
    border-radius: 0.3rem;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
}
.badge--validation {
    border-color: #e5d0f2;
    background: var(--accent-soft);
    color: #6b087f;
}
.badge--delivery {
    border-color: #bbf7d0;
    background: var(--ok-soft);
    color: var(--ok);
}

.todo-list { list-style: none; margin: 0; padding: 0; }
.todo-list li {
    border-top: 1px solid var(--border);
    padding: 0.75rem 0;
}
.todo-list li:first-child { border-top: 0; padding-top: 0; }
.todo-list__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
}
.todo-list__body {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
    flex: 1 1 12rem;
}
.todo-list__title {
    font-weight: 650;
    color: var(--text);
    text-decoration: none;
}
.todo-list__title:hover { color: var(--accent); }
.todo-list__action { font-size: 0.875rem; color: var(--muted); }

.filters {
    display: grid;
    gap: 0.65rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.85rem;
    margin-bottom: 0.85rem;
}
.filters__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.filters-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.filters.is-collapsed .filters__body { display: none; }
.filters__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}
.quick-filters a {
    text-decoration: none;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    font-size: 0.8rem;
}
.quick-filters a.is-active {
    background: var(--accent-soft);
    border-color: #e0c3f0;
    color: #6b087f;
    font-weight: 650;
}

.content-group {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.9rem;
    margin-bottom: 0.85rem;
}
.content-group__head h2 {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
}

.activation-cards {
    list-style: none;
    margin: 0.65rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}
.activation-card {
    border: 1px solid var(--border);
    border-radius: 0.4rem;
    padding: 0.75rem;
}
.activation-card__top {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.activation-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0.4rem 0;
}
.activation-card__actions {
    margin-top: 0.55rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.activation-card__next {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 0.55rem;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 36rem;
    font-size: 0.875rem;
}
.data-table th,
.data-table td {
    text-align: left;
    padding: 0.5rem 0.35rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.data-table th {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 650;
}

.defs { margin: 0; }
.defs > div { margin-bottom: 0.55rem; }
.defs dt { font-size: 0.78rem; color: var(--muted); }
.defs dd { margin: 0.1rem 0 0; }

.link-card {
    border: 1px dashed var(--border);
    border-radius: 0.4rem;
    padding: 0.75rem;
    margin-bottom: 0.65rem;
}

.cal-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}
.cal-nav h2 {
    margin: 0;
    font-size: 1.05rem;
    text-transform: capitalize;
}
.cal-grid {
    display: none;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.3rem;
    margin-bottom: 0.85rem;
}
.cal-grid__head {
    font-size: 0.72rem;
    color: var(--muted);
    text-align: center;
    padding: 0.2rem;
}
.cal-grid__cell {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.35rem;
    min-height: 5rem;
    padding: 0.3rem;
    font-size: 0.75rem;
}
.cal-grid__cell.is-empty {
    background: transparent;
    border-color: transparent;
}
.cal-grid__day { font-weight: 700; margin-bottom: 0.2rem; }
.cal-chip {
    display: block;
    background: var(--accent-soft);
    color: #6b087f;
    text-decoration: none;
    border-radius: 0.25rem;
    padding: 0.12rem 0.25rem;
    margin-bottom: 0.15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notif-count {
    display: inline-block;
    min-width: 1.15rem;
    padding: 0 0.3rem;
    margin-left: 0.2rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    text-align: center;
}

.thumb {
    max-width: min(100%, 240px);
    height: auto;
    border-radius: 0.4rem;
    border: 1px solid var(--border);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-weight: 500;
}

.interest-grid { display: grid; gap: 0.3rem; }

.chip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.45rem;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 0.4rem;
    padding: 0.4rem 0.55rem;
    background: #fff;
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0.3rem 0;
}

.country-select { min-height: 7rem; }

.sticky-actions,
.workflow-dock,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin-top: 0.75rem;
}

.workflow-dock {
    position: sticky;
    bottom: 0;
    z-index: 20;
    background: #fff;
    border-top: 1px solid var(--border);
    margin: 1rem -1rem -1rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
}
.workflow-dock .muted {
    flex: 1 1 100%;
    margin: 0;
    font-size: 0.8rem;
}

.admin-actions {
    margin-top: 0.75rem;
    display: grid;
    gap: 0.65rem;
}

.comment-list,
.history-list {
    list-style: none;
    margin: 0 0 0.85rem;
    padding: 0;
}
.comment-list li,
.history-list li {
    border-top: 1px solid var(--border);
    padding: 0.55rem 0;
}
.comment-list li:first-child,
.history-list li:first-child { border-top: 0; }

.is-unread {
    background: var(--accent-soft);
    border-radius: 0.35rem;
    padding: 0.3rem 0.45rem;
}

.audience-summary { margin-bottom: 0.75rem; }
.audience-summary__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.65rem;
}
.audience-editor[hidden] { display: none !important; }

textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 0.4rem;
    padding: 0.4rem 0.6rem;
    font: inherit;
    resize: vertical;
}

.form--compact { margin-bottom: 0.65rem; }
.field--action { align-self: end; }

.help {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    color: var(--muted);
}

/* —— Fiche activation —— */
.page--fiche { max-width: 40rem; }

.fiche-hero {
    margin-bottom: 1rem;
}
.fiche-hero__top {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    margin-bottom: 0.5rem;
}
.fiche-hero__title {
    margin: 0 0 0.25rem;
    font-size: clamp(1.35rem, 3.5vw, 1.7rem);
    font-weight: 700;
    line-height: 1.2;
}
.fiche-hero__sub {
    margin: 0 0 0.85rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.fiche-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0;
    padding: 0.75rem 0.85rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.fiche-facts dt {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
}
.fiche-facts dd {
    margin: 0.15rem 0 0;
    font-size: 0.9rem;
    font-weight: 650;
    word-break: break-word;
}

.fiche-steps {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.fiche-steps__item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 0.8rem;
    color: var(--muted);
}
.fiche-steps__n {
    display: inline-grid;
    place-items: center;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    background: #eee;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text);
}
.fiche-steps__item.is-current {
    border-color: #e0c3f0;
    background: var(--accent-soft);
    color: #6b087f;
    font-weight: 650;
}
.fiche-steps__item.is-current .fiche-steps__n {
    background: var(--accent);
    color: #fff;
}
.fiche-steps__item.is-done {
    border-color: #bbf7d0;
    background: var(--ok-soft);
    color: var(--ok);
}
.fiche-steps__item.is-done .fiche-steps__n {
    background: var(--ok);
    color: #fff;
}

.panel--focus {
    border-color: #e0c3f0;
    box-shadow: 0 0 0 1px rgba(155, 0, 212, 0.08);
}

.input--lg {
    min-height: 2.85rem !important;
    font-size: 1rem;
}

.field__hint {
    margin: 0.3rem 0 0;
    font-size: 0.8rem;
    color: var(--muted);
}

.defs--inline {
    display: grid;
    gap: 0.55rem;
}
.defs--inline > div {
    margin: 0;
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 0.5rem;
    align-items: start;
}
.defs--inline dt { margin: 0; padding-top: 0.1rem; }
.defs--inline dd { margin: 0; }

.interest-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
}

.audience-summary {
    padding: 0.75rem;
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 0.4rem;
}

@media (max-width: 520px) {
    .fiche-facts { grid-template-columns: 1fr; }
    .defs--inline > div { grid-template-columns: 1fr; gap: 0.1rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

@media (max-width: 719px) {
    .topbar__inner { align-items: flex-start; }
    .nav--primary {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }
    .nav-more__panel {
        position: static;
        box-shadow: none;
        margin-top: 0.25rem;
    }
    .topbar__who { display: none; }
}

@media (min-width: 720px) {
    .topbar__user {
        width: auto;
        margin-left: auto;
    }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .filters__body { grid-template-columns: repeat(3, 1fr); }
    .filters.is-collapsed .filters__body { display: grid; }
    .filters-toolbar .js-filters-toggle { display: none; }
    .cal-grid { display: grid; }
    .cal-list { display: none; }
    .workflow-dock {
        margin-left: 0;
        margin-right: 0;
        border-radius: var(--radius) var(--radius) 0 0;
    }
    .workflow-dock .muted {
        flex: 1 1 auto;
    }
}

@media (min-width: 1024px) {
    .stats { grid-template-columns: repeat(4, 1fr); }
    .sections {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
    }
    .sections .panel { margin-bottom: 0; }
}
