/* =====================================================================
   Components — buttons, links, badges, inputs, accordion, eyebrow, rule
   Brandbook-exact. No shadows, no glows.
   ===================================================================== */

/* ---------- Eyebrow + filetlijn (used to label any section) ---------- */
.aie-eyebrow {
    display: inline-block;
    font-family: var(--aie-body);
    font-weight: 500;
    font-size: var(--aie-text-xs);
    letter-spacing: var(--aie-tracking-widest);
    text-transform: uppercase;
    color: var(--aie-accent);
    margin: 0 0 var(--aie-space-3);
}

.aie-rule {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--aie-rule);
    margin: 0 0 var(--aie-space-5);
}

.aie-rule--center {
    margin-inline: auto;
}

/* ---------- Buttons — navy blocks, compact, up-right arrow ---------- */
.aie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--aie-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    line-height: 1;
    padding: 1.25rem clamp(1.75rem, 3.5vw, 2.25rem);
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 500ms var(--aie-ease),
                color 500ms var(--aie-ease),
                border-color 500ms var(--aie-ease);
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
}

/* Bottom hairline — single subtle hover detail (gold accent) */
.aie-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--aie-gold);
    transition: width 500ms var(--aie-ease);
    pointer-events: none;
}
.aie-btn:hover::after { width: 100%; }

/* Up-right arrow — CSS mask, inherits currentColor, no template changes */
.aie-btn__arrow {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-left: 0.85rem;
    font-size: 0;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1'><line x1='3' y1='9' x2='9' y2='3'/><polyline points='3,3 9,3 9,9'/></svg>") no-repeat center / contain;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1'><line x1='3' y1='9' x2='9' y2='3'/><polyline points='3,3 9,3 9,9'/></svg>") no-repeat center / contain;
    transition: transform 500ms var(--aie-ease);
    flex-shrink: 0;
}
.aie-btn:hover .aie-btn__arrow { transform: translate(2px, -2px); }

/* Primary — navy block on light surfaces (brandbook colour) */
.aie-btn--primary {
    background: var(--aie-navy);
    color: var(--aie-ivory);
    border-color: var(--aie-navy);
}
.aie-btn--primary:hover {
    background: var(--aie-noir);
    color: var(--aie-gold-light);
    border-color: var(--aie-noir);
}

/* Inverted on dark surfaces — ivory block, navy text */
.aie-surface-dark .aie-btn--primary,
.aie-surface-navy .aie-btn--primary {
    background: var(--aie-ivory);
    color: var(--aie-navy);
    border-color: var(--aie-ivory);
}
.aie-surface-dark .aie-btn--primary:hover,
.aie-surface-navy .aie-btn--primary:hover {
    background: var(--aie-white);
    color: var(--aie-noir);
    border-color: var(--aie-white);
}
.aie-surface-dark .aie-btn::after,
.aie-surface-navy .aie-btn::after { background: var(--aie-gold-light); }

/* Outline — hairline navy on light, hairline ivory on dark */
.aie-btn--outline {
    background: transparent;
    color: var(--aie-navy);
    border-color: var(--aie-navy);
}
.aie-btn--outline:hover {
    background: var(--aie-navy);
    color: var(--aie-ivory);
    border-color: var(--aie-navy);
}
.aie-surface-dark .aie-btn--outline,
.aie-surface-navy .aie-btn--outline {
    color: var(--aie-ivory);
    border-color: var(--aie-ivory);
}
.aie-surface-dark .aie-btn--outline:hover,
.aie-surface-navy .aie-btn--outline:hover {
    background: var(--aie-ivory);
    color: var(--aie-navy);
    border-color: var(--aie-ivory);
}

/* Secondary — gold-dark accent variant for marketing moments */
.aie-btn--secondary {
    background: var(--aie-gold-dark);
    color: var(--aie-white);
    border-color: var(--aie-gold-dark);
}
.aie-btn--secondary:hover {
    background: #7F5C25;
    border-color: #7F5C25;
}

/* Ghost — Steel-Light border, Steel text (utility) */
.aie-btn--ghost {
    background: transparent;
    color: var(--aie-steel);
    border-color: var(--aie-steel-light);
}
.aie-btn--ghost:hover {
    color: var(--aie-charcoal);
    border-color: var(--aie-steel);
}

/* ---------- Links (text CTA, no arrow, growing underline) ---------- */
.aie-link {
    display: inline-block;
    font-family: var(--aie-body);
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--aie-noir);
    padding-bottom: 0.5rem;
    position: relative;
    transition: color 600ms var(--aie-ease);
}
.aie-link::before,
.aie-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    transition: width 600ms var(--aie-ease);
}
.aie-link::before {
    width: 100%;
    background: rgba(8, 8, 14, 0.18);
}
.aie-link::after {
    width: 0;
    background: var(--aie-noir);
}
.aie-link:hover { color: var(--aie-charcoal); }
.aie-link:hover::after { width: 100%; }

.aie-surface-dark .aie-link,
.aie-surface-navy .aie-link {
    color: var(--aie-ivory);
}
.aie-surface-dark .aie-link::before,
.aie-surface-navy .aie-link::before { background: rgba(244, 240, 232, 0.22); }
.aie-surface-dark .aie-link::after,
.aie-surface-navy .aie-link::after  { background: var(--aie-gold-light); }
.aie-surface-dark .aie-link:hover,
.aie-surface-navy .aie-link:hover { color: var(--aie-gold-light); }

/* Hide any legacy link arrow markup */
.aie-link__arrow { display: none; }
.aie-link:hover .aie-link__arrow { width: 26px; }

.aie-link-inline {
    color: var(--aie-gold-dark);
    border-bottom: 1px solid var(--aie-gold);
    padding-bottom: 1px;
    transition: color var(--aie-dur) var(--aie-ease),
                border-color var(--aie-dur) var(--aie-ease);
}
.aie-link-inline:hover {
    color: var(--aie-gold);
    border-bottom-color: var(--aie-gold);
}

/* ---------- Badges (brandbook: page 06) ---------- */
.aie-badge {
    display: inline-block;
    font-family: var(--aie-body);
    font-weight: 500;
    font-size: var(--aie-text-xs);
    letter-spacing: var(--aie-tracking-wider);
    text-transform: uppercase;
    padding: 0.4rem 0.75rem;
    border-radius: var(--aie-radius);
}
.aie-badge--strategy { color: var(--aie-gold-dark); background: rgba(201, 169, 110, 0.15); }
.aie-badge--advisory { color: var(--aie-steel); background: rgba(58, 74, 92, 0.10); }
.aie-badge--success  { color: var(--aie-sage); background: rgba(74, 103, 65, 0.12); }

/* ---------- Form inputs (brandbook: page 06) ---------- */
.aie-input,
.aie-textarea {
    display: block;
    width: 100%;
    font-family: var(--aie-body);
    font-weight: 400;
    font-size: var(--aie-text-md);
    color: var(--aie-charcoal);
    background: var(--aie-white);
    border: 1px solid #DDDDDD;
    border-radius: var(--aie-radius);
    padding: 0.85rem 1rem;
    line-height: 1.5;
    transition: border-color var(--aie-dur) var(--aie-ease),
                box-shadow var(--aie-dur) var(--aie-ease);
}
.aie-input:focus,
.aie-textarea:focus {
    border-color: var(--aie-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.20);
    outline: 0;
}
.aie-textarea { min-height: 8rem; resize: vertical; }
.aie-label {
    display: block;
    font-family: var(--aie-body);
    font-weight: 500;
    font-size: var(--aie-text-xs);
    letter-spacing: var(--aie-tracking-wider);
    text-transform: uppercase;
    color: var(--aie-steel);
    margin-bottom: var(--aie-space-2);
}

/* On dark/navy surfaces */
.aie-surface-dark .aie-input,
.aie-surface-dark .aie-textarea,
.aie-surface-navy .aie-input,
.aie-surface-navy .aie-textarea {
    background: rgba(232, 238, 244, 0.04);
    color: var(--aie-ivory);
    border-color: rgba(232, 238, 244, 0.18);
}
.aie-surface-dark .aie-label,
.aie-surface-navy .aie-label { color: var(--aie-gold); }

/* Gravity Forms styling lives in forms.css — enqueued separately so it loads
   AFTER the Gravity Forms Orbital stylesheet and wins on equal specificity. */

/* ---------- Accordion (FAQ) ---------- */
.aie-accordion__item {
    border-bottom: 1px solid var(--aie-hair);
    counter-increment: faqitem;
}
.aie-accordion {
    counter-reset: faqitem;
}

.aie-accordion__btn {
    width: 100%;
    display: grid;
    grid-template-columns: 3rem 1fr auto;
    align-items: baseline;
    gap: var(--aie-space-4);
    padding: var(--aie-space-6) 0;
    text-align: left;
    font-family: var(--aie-display);
    font-weight: 400;
    font-size: 1.2rem;
    line-height: var(--aie-leading-snug);
    color: var(--aie-heading);
    letter-spacing: var(--aie-tracking-tight);
    transition: color 500ms var(--aie-ease);
}
.aie-accordion__btn::before {
    content: counter(faqitem, decimal-leading-zero);
    font-family: var(--aie-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: var(--aie-tracking-widest);
    color: var(--aie-text-soft);
    transition: color 500ms var(--aie-ease);
}
.aie-accordion__btn:hover,
.aie-accordion__btn[aria-expanded="true"] { color: var(--aie-noir); }
.aie-accordion__btn:hover::before,
.aie-accordion__btn[aria-expanded="true"]::before { color: var(--aie-accent); }

.aie-accordion__icon {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.aie-accordion__icon::before,
.aie-accordion__icon::after {
    content: '';
    position: absolute;
    inset: 50% 0 auto 0;
    height: 1px;
    background: var(--aie-accent);
    transform-origin: center;
    transition: transform var(--aie-dur) var(--aie-ease);
}
.aie-accordion__icon::after { transform: rotate(90deg); }
.aie-accordion__btn[aria-expanded="true"] .aie-accordion__icon::after { transform: rotate(0deg); }

.aie-accordion__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--aie-dur) var(--aie-ease);
}
.aie-accordion__btn[aria-expanded="true"] + .aie-accordion__panel { max-height: 800px; }

.aie-accordion__inner {
    padding: 0 0 var(--aie-space-6) calc(3rem + var(--aie-space-4));
    color: var(--aie-text);
    max-width: 64ch;
    font-size: var(--aie-text-md);
    line-height: var(--aie-leading-loose);
}
@media (max-width: 600px) {
    .aie-accordion__inner { padding-left: 0; }
}

/* ---------- Site header — floating navy capsule ---------------------------
   Position fixed with 20px gutter, max-width matches the page container so
   the header reads as a contained capsule rather than a full-bleed bar.
   Body gets matching padding-top so content sits below. The .is-scrolled
   state slightly intensifies the background. */
.aie-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: var(--aie-container);
    z-index: 100;
    background: var(--aie-navy);
    border: 1px solid rgba(201, 169, 110, 0.20);
    border-radius: var(--aie-radius);
    transition: background-color var(--aie-dur) var(--aie-ease),
                border-color var(--aie-dur) var(--aie-ease);
}
/* On scroll, only the border subtly intensifies — background stays navy. */
.aie-header.is-scrolled {
    border-color: rgba(201, 169, 110, 0.32);
}

/* Inverted state — JS adds .aie-header--inverted whenever the section
   currently behind the floating header is on a dark or navy surface, so
   the capsule stays legible. Ivory bg with charcoal type, primary CTA
   flips back to a navy block, and link/menu colours invert in lockstep. */
.aie-header.aie-header--inverted {
    background: var(--aie-ivory);
    border-color: rgba(28, 28, 30, 0.10);
}
.aie-header.aie-header--inverted.is-scrolled {
    border-color: rgba(28, 28, 30, 0.18);
}
.aie-header.aie-header--inverted .aie-nav__link {
    color: rgba(28, 28, 30, 0.72);
}
.aie-header.aie-header--inverted .aie-nav__link:hover,
.aie-header.aie-header--inverted .aie-nav__link.is-active {
    color: var(--aie-gold-dark);
    border-bottom-color: var(--aie-gold-dark);
}
.aie-header.aie-header--inverted .aie-menu-btn {
    border-color: rgba(28, 28, 30, 0.20);
}
.aie-header.aie-header--inverted .aie-menu-btn__lines,
.aie-header.aie-header--inverted .aie-menu-btn__lines::before,
.aie-header.aie-header--inverted .aie-menu-btn__lines::after {
    background: var(--aie-charcoal);
}
.aie-header.aie-header--inverted .aie-btn--primary {
    background: var(--aie-navy);
    color: var(--aie-ivory);
    border-color: var(--aie-navy);
}
.aie-header.aie-header--inverted .aie-btn--primary:hover {
    background: var(--aie-noir);
    color: var(--aie-gold-light);
    border-color: var(--aie-noir);
}

/* Logo on inverted (ivory) header — the brandbook SVG is a single gold
   gradient lockup, so we shift it to a charcoal gradient via CSS filter.
   grayscale collapses the gold to neutral, brightness drops it to charcoal,
   contrast keeps the depth between the three gradient stops. */
.aie-header.aie-header--inverted .aie-logo__svg {
    filter: grayscale(1) brightness(0.32) contrast(1.15);
}
.aie-header,
.aie-header .aie-logo__svg {
    transition: background-color var(--aie-dur) var(--aie-ease),
                border-color var(--aie-dur) var(--aie-ease),
                filter var(--aie-dur) var(--aie-ease);
}
@media (max-width: 760px) {
    .aie-header {
        top: 12px;
        width: calc(100% - 24px);
    }
}

/* Reserve space below the floating header so content doesn't slide under */
body {
    padding-top: clamp(88px, 10vh, 112px);
}
@media (max-width: 760px) {
    body { padding-top: 78px; }
}

.aie-header__inner {
    /* top, right, bottom, left — right padding matches top/bottom so the CTA
       sits at the same gutter from the right edge as it does from the top/
       bottom. Logo keeps the larger left padding for breathing room. */
    padding: var(--aie-space-3) var(--aie-space-3) var(--aie-space-3) var(--aie-space-5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--aie-space-6);
    min-height: 60px;
}
.aie-header__cta {
    flex-shrink: 0;
}

/* Logo wrapper — flex-centred so the SVG sits visually mid-line in the header */
.aie-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

/* Header nav links: ivory by default, gold on hover/active. The header is
   .aie-surface-navy so the link colour overrides the surface defaults. */
.aie-header .aie-nav__link {
    color: rgba(232, 238, 244, 0.78);
}
.aie-header .aie-nav__link:hover,
.aie-header .aie-nav__link.is-active {
    color: var(--aie-gold-light);
    border-bottom-color: var(--aie-gold);
}

/* Mobile menu toggle — invert lines to ivory inside the dark header */
.aie-header .aie-menu-btn {
    border-color: rgba(232, 238, 244, 0.30);
}
.aie-header .aie-menu-btn__lines,
.aie-header .aie-menu-btn__lines::before,
.aie-header .aie-menu-btn__lines::after {
    background: var(--aie-ivory);
}

/* ---------- Logo — single SVG image (brandbook-exact) --------------------
   The official lockup from /assets/images/logo.svg. One file, scaled per
   context. Aspect ratio 2.53:1, so width follows from height. */
.aie-logo {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    flex-shrink: 0;
}
.aie-logo__svg {
    display: block;
    height: clamp(40px, 4.5vw, 52px);
    width: auto;
    max-width: 100%;
}
@media (max-width: 760px) {
    .aie-logo__svg { height: 36px; }
}

/* Footer brand uses a slightly larger logo */
.aie-footer__brand .aie-logo__svg {
    height: clamp(56px, 6vw, 72px);
}

/* Legacy alias — some footer markup still references aie-logo__name */
.aie-logo__name {
    font-family: var(--aie-display);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--aie-gold-light);
    line-height: 1;
}

/* ---------- Nav ---------- */
.aie-nav {
    display: flex;
    gap: var(--aie-space-6);
    align-items: center;
}
.aie-nav__link {
    font-family: var(--aie-body);
    font-weight: 400;
    font-size: var(--aie-text-xs);
    letter-spacing: var(--aie-tracking-wider);
    text-transform: uppercase;
    color: var(--aie-steel);
    padding: 0.5rem 0;
    line-height: 1;
    border-bottom: 1px solid transparent;
    transition: color var(--aie-dur) var(--aie-ease),
                border-color var(--aie-dur) var(--aie-ease);
    white-space: nowrap;
}
.aie-nav__link:hover { color: var(--aie-charcoal); }
.aie-nav__link.is-active {
    color: var(--aie-charcoal);
    border-bottom-color: var(--aie-gold);
}

@media (max-width: 980px) {
    .aie-nav,
    .aie-header__cta { display: none; }
}

/* ---------- Mobile sticky CTA — fixed to viewport bottom on small screens
   Hidden on desktop. Floats at the bottom-edge as an always-reachable
   "Plan introductie" action. Shares the brand button typography. */
.aie-mobile-cta {
    display: none;
}
@media (max-width: 980px) {
    .aie-mobile-cta {
        position: fixed;
        bottom: 12px;
        left: 12px;
        right: 12px;
        z-index: 95;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.85rem;
        padding: 1.05rem 1.5rem;
        background: var(--aie-ivory);
        color: var(--aie-navy);
        border: 1px solid var(--aie-ivory);
        border-radius: var(--aie-radius);
        font-family: var(--aie-body);
        font-weight: 500;
        font-size: 0.7rem;
        letter-spacing: 0.24em;
        text-transform: uppercase;
        line-height: 1;
        text-decoration: none;
        box-shadow: 0 2px 18px rgba(8, 8, 14, 0.18);
        transition: background-color 500ms var(--aie-ease),
                    color 500ms var(--aie-ease);
    }
    .aie-mobile-cta:hover {
        background: var(--aie-white);
        color: var(--aie-noir);
    }
    .aie-mobile-cta .aie-btn__arrow {
        background: currentColor;
    }
    /* Reserve space at the bottom so content isn't permanently obscured */
    body { padding-bottom: 78px; }
}

/* Mobile toggle */
.aie-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--aie-hair);
    border-radius: var(--aie-radius);
}
.aie-menu-btn__lines {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--aie-charcoal);
    position: relative;
}
.aie-menu-btn__lines::before,
.aie-menu-btn__lines::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--aie-charcoal);
    transition: transform var(--aie-dur) var(--aie-ease),
                opacity var(--aie-dur) var(--aie-ease);
}
.aie-menu-btn__lines::before { top: -5px; }
.aie-menu-btn__lines::after  { top:  5px; }
.aie-menu-btn.is-open .aie-menu-btn__lines { background: transparent; }
.aie-menu-btn.is-open .aie-menu-btn__lines::before { transform: translateY(5px) rotate(45deg); }
.aie-menu-btn.is-open .aie-menu-btn__lines::after  { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 980px) {
    .aie-menu-btn { display: inline-flex; }
}

.aie-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: var(--aie-white);
    padding: 6rem var(--aie-gutter) 3rem;
    display: flex;
    flex-direction: column;
    gap: var(--aie-space-2);
    transform: translateY(-100%);
    transition: transform var(--aie-dur) var(--aie-ease);
    overflow-y: auto;
}
.aie-mobile-nav.is-open { transform: translateY(0); }
.aie-mobile-nav__link {
    font-family: var(--aie-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--aie-charcoal);
    padding: var(--aie-space-4) 0;
    border-bottom: 1px solid var(--aie-hair);
}
.aie-mobile-nav__link.is-active { color: var(--aie-gold-dark); }
.aie-mobile-nav .aie-btn { align-self: flex-start; margin-top: var(--aie-space-6); }

/* ---------- Stats line (used in about + engagement) ---------- */
.aie-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aie-space-7);
    padding-top: var(--aie-space-5);
    border-top: 1px solid var(--aie-hair);
}
.aie-stat__num {
    font-family: var(--aie-display);
    font-size: clamp(2rem, 3.6vw, 2.5rem);
    color: var(--aie-accent);
    line-height: 1;
    font-weight: 400;
}
.aie-stat__label {
    margin-top: var(--aie-space-2);
    font-family: var(--aie-body);
    font-size: var(--aie-text-xs);
    font-weight: 500;
    letter-spacing: var(--aie-tracking-wider);
    text-transform: uppercase;
    color: var(--aie-text-soft);
}

/* ---------- Zoho Bookings agenda modal ----------
   Opened by any element with .js-aie-agenda. The iframe is injected on
   first open so it does not weigh on initial page load. */
.aie-no-scroll { overflow: hidden; }

.aie-agenda {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem);
}
.aie-agenda.is-open { display: flex; }

.aie-agenda__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 26, 0.62);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    cursor: pointer;
}

.aie-agenda__panel {
    position: relative;
    width: min(1100px, 100%);
    max-height: min(820px, 92vh);
    height: 92vh;
    background: var(--aie-bg, #fff);
    border: 1px solid var(--aie-hair);
    border-radius: var(--aie-radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.aie-agenda__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(0.875rem, 1.5vw, 1.25rem) clamp(1rem, 2vw, 1.5rem);
    border-bottom: 1px solid var(--aie-hair);
    background: var(--aie-bg, #fff);
}

.aie-agenda__close {
    appearance: none;
    background: transparent;
    border: 1px solid var(--aie-hair);
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--aie-heading);
    font-size: 1.5rem;
    line-height: 1;
    transition: border-color 200ms var(--aie-ease, ease),
                background-color 200ms var(--aie-ease, ease);
}
.aie-agenda__close:hover,
.aie-agenda__close:focus-visible {
    border-color: var(--aie-accent, currentColor);
    background: var(--aie-bg-inset, rgba(0, 0, 0, 0.04));
    outline: none;
}

.aie-agenda__frame {
    flex: 1;
    min-height: 0;
    background: var(--aie-bg-inset, #f6f3ec);
}
.aie-agenda__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 640px) {
    .aie-agenda { padding: 0; }
    .aie-agenda__panel {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border: 0;
    }
}
