/**
 * /agenda.html — weekweergave, lijst, detailpaneel en het blokformulier.
 *
 * De weekweergave is een tijdas met zeven kolommen; blokken staan er absoluut
 * in gepositioneerd (top/height = tijd, left/width = overlapkolom, zie
 * layoutColumns in agenda.js). Elke soort blok heeft een eigen accentkleur,
 * maar nooit alléén kleur: er staat altijd een icoon of woord bij.
 */

#agenda {
    width: 100%;
    max-width: min(2100px, 97vw);
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

/* =========================================================================
   Kop en navigatie
   ========================================================================= */

.ag-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ag-head__title {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ag-head__sub {
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
    opacity: 0.7;
}

.ag-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ag-toggle {
    display: inline-flex;
    padding: 0.2rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white);
}

.ag-toggle__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border: 0;
    border-radius: 999px;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.ag-toggle__btn.is-active {
    background: var(--primary-color);
    color: #fff;
}

/* =========================================================================
   Knoppen
   ========================================================================= */

.ag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.ag-btn:disabled { opacity: 0.55; cursor: default; }
.ag-btn--small { padding: 0.4rem 0.8rem; font-size: 0.82rem; }

.ag-btn--primary {
    background: var(--grad-brand, var(--primary-color));
    color: #fff;
}
.ag-btn--primary:hover:not(:disabled) { filter: brightness(1.08); }

.ag-btn--soft {
    background: color-mix(in srgb, var(--primary-color) 12%, transparent);
    color: var(--primary-color);
}
.ag-btn--soft:hover:not(:disabled) { background: color-mix(in srgb, var(--primary-color) 20%, transparent); }

.ag-btn--ghost {
    border-color: var(--border-color);
    background: var(--white);
}
.ag-btn--ghost:hover:not(:disabled) { border-color: var(--primary-color); color: var(--primary-color); }

.ag-btn--danger { color: #d93025; border-color: transparent; }
.ag-btn--danger:hover:not(:disabled) { background: color-mix(in srgb, #d93025 12%, transparent); }

.ag-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--white);
    color: inherit;
    font-size: 1.15rem;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.ag-iconbtn:hover { border-color: var(--primary-color); color: var(--primary-color); }

/* =========================================================================
   Indeling: rooster + detailpaneel
   ========================================================================= */

.ag-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.ag-layout.has-detail { grid-template-columns: minmax(0, 1fr) 22rem; }

.ag-main { min-width: 0; }

.ag-loading {
    padding: 3rem 1rem;
    text-align: center;
    opacity: 0.7;
}

.ag-empty {
    display: grid;
    justify-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 2.5rem 1.5rem;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
}
.ag-empty__icon { font-size: 2.4rem; opacity: 0.4; }
.ag-empty h3 { margin: 0; font-size: 1.1rem; }
.ag-empty p { margin: 0; max-width: 44ch; line-height: 1.55; opacity: 0.7; }

/* =========================================================================
   Weekweergave
   ========================================================================= */

.ag-week {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--white);
    overflow: hidden;
}

.ag-week__head {
    display: grid;
    grid-template-columns: 4.8rem repeat(7, minmax(0, 1fr));
    border-bottom: 1px solid var(--border-color);
}

.ag-week__corner { border-right: 1px solid var(--border-color); }

.ag-week__day {
    padding: 0.9rem 0.4rem;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-color);
    opacity: 0.75;
}
.ag-week__day + .ag-week__day,
.ag-week__corner + .ag-week__day { border-left: 1px solid var(--border-color); }
.ag-week__day.is-today { opacity: 1; }
.ag-week__dayname { text-transform: capitalize; }
.ag-week__day.is-today .ag-week__dayname {
    display: inline-block;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    background: var(--grad-brand);
    color: #fff;
    font-weight: 700;
}

.ag-week__body {
    display: grid;
    grid-template-columns: 4.8rem repeat(7, minmax(0, 1fr));
    position: relative;
}

.ag-week__axis { border-right: 1px solid var(--border-color); }

.ag-week__hour {
    padding: 0 0.7rem;
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    opacity: 0.55;
    /* De tijd hoort bij de lijn erboven, dus schuift hij een halve regel op. */
    transform: translateY(-0.4em);
}

.ag-week__col {
    position: relative;
    border-left: 1px solid var(--border-color);
    min-width: 0;
    transition: background-color 0.12s ease;
}
.ag-week__col.is-today { background: color-mix(in srgb, var(--primary-color) 4%, transparent); }
.ag-week__col:hover { background: color-mix(in srgb, var(--primary-color) 7%, transparent); }

.ag-week__slotline { border-bottom: 1px dashed color-mix(in srgb, var(--border-color) 60%, transparent); }

/* De rode "nu"-lijn. */
.ag-now {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5484d;
    z-index: 3;
    pointer-events: none;
}
.ag-now::before {
    content: '';
    position: absolute;
    left: -4px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5484d;
    box-shadow: 0 0 0 3px color-mix(in srgb, #e5484d 25%, transparent);
}

/* ---- Een blok in het rooster ---- */

.ag-block {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    overflow: hidden;
    padding: 0.35rem 0.45rem;
    border: 0;
    border-left: 3px solid var(--ag-tone, var(--primary-color));
    border-radius: 0.4rem;
    background: color-mix(in srgb, var(--ag-tone, var(--primary-color)) 16%, var(--white));
    color: inherit;
    font: inherit;
    text-align: left;
    line-height: 1.25;
    cursor: pointer;
    z-index: 2;
    transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.ag-block:hover { filter: brightness(1.05); box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.12)); }

.ag-block__time { font-size: 0.7rem; font-weight: 700; opacity: 0.75; }
.ag-block__title {
    font-size: 0.8rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ag-block__flag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--ag-tone, var(--primary-color));
}

.ag-block.is-cancelled { opacity: 0.55; }
.ag-block.is-cancelled .ag-block__title { text-decoration: line-through; }
/* Een concept is gestreept, zodat je in één blik ziet wat de klas nog niet ziet. */
.ag-block.is-draft {
    border-style: dashed;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 6px,
        color-mix(in srgb, var(--text-color) 6%, transparent) 6px,
        color-mix(in srgb, var(--text-color) 6%, transparent) 12px
    );
}
.ag-block.is-mine { box-shadow: inset 0 0 0 2px var(--ag-tone, var(--primary-color)); }

/* Accentkleuren per soort. */
.ag-block--ask,   .ag-row--ask,   .ag-kind--ask   { --ag-tone: #7c5cff; }
.ag-block--live,  .ag-row--live,  .ag-kind--live  { --ag-tone: #e5484d; }
.ag-block--lesson,.ag-row--lesson,.ag-kind--lesson{ --ag-tone: #0ea5e9; }
.ag-block--due,   .ag-row--due,   .ag-kind--due   { --ag-tone: #d97706; }
.ag-block--other, .ag-row--other, .ag-kind--other { --ag-tone: #16a34a; }

/* =========================================================================
   Lijstweergave
   ========================================================================= */

.ag-list { display: grid; gap: 0.5rem; }

.ag-list__day {
    margin: 1.1rem 0 0.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.6;
}
.ag-list__day:first-child { margin-top: 0; }

.ag-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--ag-tone, var(--primary-color));
    border-radius: var(--radius-lg);
    background: var(--white);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.ag-row:hover { border-color: var(--ag-tone, var(--primary-color)); transform: translateX(2px); }
.ag-row.is-cancelled { opacity: 0.6; }
.ag-row.is-cancelled .ag-row__title { text-decoration: line-through; }

.ag-row__time {
    display: grid;
    flex-shrink: 0;
    width: 3.6rem;
    font-variant-numeric: tabular-nums;
}
.ag-row__time span { font-size: 0.78rem; opacity: 0.6; }

.ag-row__body { flex: 1; min-width: 0; display: grid; gap: 0.15rem; }
.ag-row__titleline { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.ag-row__titleline > i { color: var(--ag-tone, var(--primary-color)); }
.ag-row__title { font-weight: 600; }
.ag-row__meta { font-size: 0.8rem; opacity: 0.6; }
.ag-row__free {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.7;
}

.ag-tag {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ag-tag--draft { background: color-mix(in srgb, var(--text-color) 12%, transparent); }
.ag-tag--off { background: color-mix(in srgb, #e5484d 18%, transparent); color: #b42318; }
.ag-tag--on { background: color-mix(in srgb, #16a34a 18%, transparent); color: #15803d; }

/* =========================================================================
   Detailpaneel
   ========================================================================= */

.ag-detail {
    position: sticky;
    top: 1.5rem;
    display: grid;
    gap: 0.8rem;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--white);
}

.ag-detail__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }

.ag-kind {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ag-tone, var(--primary-color)) 15%, transparent);
    color: var(--ag-tone, var(--primary-color));
    font-size: 0.78rem;
    font-weight: 700;
}

.ag-detail__title { margin: 0; font-size: 1.3rem; line-height: 1.25; }
.ag-detail__when { margin: 0; font-size: 0.9rem; font-weight: 600; opacity: 0.75; }
.ag-detail__desc { margin: 0; line-height: 1.6; white-space: pre-wrap; }

.ag-detail__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.ag-detail__bullets {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.3rem;
    line-height: 1.5;
}

.ag-attach {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: inherit;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}
.ag-attach:hover { border-color: var(--primary-color); }
.ag-attach .bx { font-size: 1.1rem; color: var(--primary-color); }

.ag-memo {
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--text-color) 5%, transparent);
    border-left: 3px solid var(--primary-color);
}
.ag-memo--recap { border-left-color: #12b76a; }
.ag-memo--private { border-left-color: #f79009; }
.ag-memo__title { margin: 0 0 0.25rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; opacity: 0.7; }
.ag-memo__body { margin: 0; line-height: 1.55; white-space: pre-wrap; font-size: 0.9rem; }

.ag-mynote { display: grid; gap: 0.35rem; margin-top: 0.4rem; }
.ag-mynote__title { margin: 0; font-size: 0.82rem; font-weight: 700; }
.ag-mynote__area { min-height: 4.5rem; }
.ag-mynote__status { font-size: 0.72rem; opacity: 0.6; min-height: 1em; }

/* ---- Thumbnail + agendapunten in het formulier ---- */

.ag-thumb {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}

.ag-thumb__img {
    width: 100%;
    max-width: 22rem;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.ag-bullets {
    display: grid;
    gap: 0.4rem;
}

.ag-bullets__row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ag-bullets__row .ag-input {
    flex: 1;
}

.ag-notice {
    margin: 0;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--primary-color) 10%, transparent);
    font-size: 0.85rem;
}
.ag-notice--off { background: color-mix(in srgb, #e5484d 14%, transparent); color: #b42318; }

.ag-facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.3rem 0.8rem;
    margin: 0;
    font-size: 0.88rem;
}
.ag-facts dt { font-weight: 700; opacity: 0.6; }
.ag-facts dd { margin: 0; }

/* ---- Tijdslots ---- */

.ag-slots { display: grid; gap: 0.4rem; }
.ag-slots__title { margin: 0.3rem 0 0; font-size: 0.95rem; }

.ag-slot {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}
.ag-slot.is-mine { border-color: #16a34a; background: color-mix(in srgb, #16a34a 8%, transparent); }
.ag-slot.is-full { opacity: 0.55; }

.ag-slot__time { font-weight: 600; font-variant-numeric: tabular-nums; }
.ag-slot__count { flex: 1; font-size: 0.78rem; opacity: 0.65; }
.ag-slot__note { font-size: 0.78rem; font-weight: 700; opacity: 0.6; }

/* ---- Deelnemers (docent) ---- */

.ag-owner { display: grid; gap: 0.6rem; border-top: 1px solid var(--border-color); padding-top: 0.9rem; }
.ag-owner__title { margin: 0; font-size: 0.95rem; }
.ag-owner__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.ag-people { display: grid; gap: 0.4rem; }
.ag-people__empty { margin: 0; font-size: 0.85rem; opacity: 0.6; }

.ag-person {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--text-color) 4%, transparent);
}

.ag-person__avatar {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    overflow: hidden;
}
.ag-person__avatar img { width: 100%; height: 100%; object-fit: cover; }

.ag-person__body { flex: 1; min-width: 0; display: grid; gap: 0.1rem; }
.ag-person__name { font-weight: 600; font-size: 0.9rem; }
.ag-person__meta { font-size: 0.75rem; opacity: 0.6; }
.ag-person__note {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    line-height: 1.45;
    opacity: 0.85;
}

/* =========================================================================
   Formulier (dialoog)
   ========================================================================= */

.ag-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    overflow-y: auto;
}

.ag-form {
    width: min(560px, 100%);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ag-form__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}
.ag-form__head h2 { margin: 0; font-size: 1.15rem; }

.ag-form__body {
    display: grid;
    gap: 0.85rem;
    padding: 1.25rem;
    overflow-y: auto;
}

.ag-form__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0.6rem; }
.ag-form__sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 0.8rem;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--text-color) 4%, transparent);
}

.ag-field { display: grid; gap: 0.3rem; min-width: 0; }
.ag-field__label { font-size: 0.82rem; font-weight: 600; }
.ag-field__hint { font-size: 0.75rem; line-height: 1.4; opacity: 0.6; }
.ag-req { color: var(--danger-color, #e5484d); font-weight: 700; }
.ag-optional { font-weight: 400; opacity: 0.55; }
.ag-form__section { display: grid; gap: 0.6rem; }
.ag-form__row--2 { grid-template-columns: 1fr 1fr; }
.ag-form__row--noend { grid-template-columns: 1.4fr 1fr; }

.ag-input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white);
    color: inherit;
    font: inherit;
    font-size: 0.92rem;
}
.ag-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 16%, transparent);
}
.ag-textarea { resize: vertical; line-height: 1.5; }

.ag-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}
.ag-check input { width: 1rem; height: 1rem; accent-color: var(--primary-color); }

.ag-form__actions {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-color);
}

/* =========================================================================
   Toasts
   ========================================================================= */

.ag-toasts {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: grid;
    gap: 0.5rem;
    pointer-events: none;
}

.ag-toast {
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    background: var(--secondary-color, #1f2430);
    color: #fff;
    font-size: 0.88rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    animation: ag-toast-in 0.25s ease;
}
.ag-toast--error { background: #b42318; }

@keyframes ag-toast-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ag-toast { animation: none; }
    .ag-row:hover { transform: none; }
}

/* =========================================================================
   Smaller schermen
   ========================================================================= */

@media (max-width: 1100px) {
    .ag-layout.has-detail { grid-template-columns: minmax(0, 1fr); }
    .ag-detail { position: static; }
}

@media (max-width: 780px) {
    #agenda { padding: 1.25rem 1rem 3rem; }
    /* Een 7-koloms rooster op een telefoon leest niemand — de lijst wel. */
    .ag-week { overflow-x: auto; }
    .ag-week__head,
    .ag-week__body { min-width: 640px; }
    .ag-form__row { grid-template-columns: 1fr; }
    .ag-form__sub { grid-template-columns: 1fr; }
}

/* =========================================================================
   Live nu — een blok waar op dit moment wordt uitgezonden
   ========================================================================= */

.ag-block.is-livenow {
    border-left-color: #e5484d;
    box-shadow: inset 0 0 0 1px #e5484d;
}

.ag-livedot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e5484d;
    animation: ag-livepulse 1.6s ease-in-out infinite;
}

@keyframes ag-livepulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.ag-tag--live {
    background: #e5484d;
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .ag-livedot { animation: none; }
}

/* =========================================================================
   PREMIUM LAAG
   ========================================================================= */

.ag-head__title { letter-spacing: -0.02em; }

.ag-btn--primary {
    box-shadow: 0 8px 22px -8px rgba(123, 47, 247, 0.55);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.ag-btn--primary:hover:not(:disabled) { transform: translateY(-1px); }

.ag-toggle__btn.is-active {
    background: var(--grad-brand);
    box-shadow: 0 6px 16px -6px rgba(123, 47, 247, 0.5);
}

.ag-detail,
.ag-week {
    transition: box-shadow 0.25s ease;
}

.ag-block {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.ag-block:hover {
    box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--ag-tone, var(--primary-color)) 60%, transparent);
}

.ag-row:hover {
    box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--ag-tone, var(--primary-color)) 45%, transparent);
}

.ag-slot.is-mine {
    box-shadow: 0 0 0 1px color-mix(in srgb, #16a34a 40%, transparent);
}

@media (prefers-reduced-motion: reduce) {
    .ag-btn--primary:hover:not(:disabled) { transform: none; }
}
