/* ==========================================================================
   Atos.Link — profile card
   Standalone stylesheet. Does not require Bootstrap.
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------- */
:root {
    color-scheme: light;

    /* Atos brand palette — the seven values published on atos.net, verbatim. */
    --atos-dark-blue: #00005c;
    --atos-blue: #0073e6;
    --atos-light-blue: #3dc7ff;
    --atos-green: #4aa82d;
    --atos-purple: #663894;
    --atos-pink: #ef5e82;
    --atos-orange: #f56a00;
    --atos-grey: #6c757d;

    /* Roles */
    --al-ink: var(--atos-dark-blue);
    --al-brand: var(--atos-blue);            /* accent text and icons */
    --al-brand-solid: var(--atos-blue);      /* filled surfaces carrying white text */
    --al-brand-solid-deep: #0a5ac2;          /* shading of --al-brand-solid, not a palette colour */

    /* Surfaces & text */
    --al-bg: #f4f6fb;
    --al-surface: #ffffff;
    --al-surface-sunken: #f8fafd;
    --al-text: #101534;
    --al-text-muted: #5a6280;
    --al-border: #e4e8f2;
    --al-border-strong: #d3d9e8;

    /* Effects */
    --al-tint: rgba(0, 115, 230, .08);
    --al-ring: rgba(0, 115, 230, .38);   /* --atos-blue at 38% */
    --al-shadow-sm: 0 1px 2px rgba(16, 21, 52, .06);
    --al-shadow: 0 2px 4px rgba(16, 21, 52, .04), 0 12px 32px -16px rgba(16, 21, 52, .22);
    --al-shadow-lg: 0 24px 60px -28px rgba(0, 0, 92, .45);

    /* Geometry */
    --al-radius: 20px;
    --al-radius-sm: 14px;
    --al-radius-xs: 10px;
    --al-page: 34rem;           /* card column width */
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --al-bg: #080b1a;
        --al-surface: #12172c;
        --al-surface-sunken: #0d1224;
        --al-text: #eef1fa;
        --al-text-muted: #9aa3c0;
        --al-border: #232a45;
        --al-border-strong: #2e3757;
        --al-tint: rgba(61, 199, 255, .13);
        --al-brand: var(--atos-light-blue);
        --al-shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
        --al-shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 14px 34px -18px rgba(0, 0, 0, .8);
        --al-shadow-lg: 0 24px 60px -28px rgba(0, 0, 0, .9);
    }
}

[data-theme="dark"] {
    color-scheme: dark;
    --al-bg: #080b1a;
    --al-surface: #12172c;
    --al-surface-sunken: #0d1224;
    --al-text: #eef1fa;
    --al-text-muted: #9aa3c0;
    --al-border: #232a45;
    --al-border-strong: #2e3757;
    --al-tint: rgba(61, 199, 255, .13);
    --al-brand: var(--atos-light-blue);
    --al-shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --al-shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 14px 34px -18px rgba(0, 0, 0, .8);
    --al-shadow-lg: 0 24px 60px -28px rgba(0, 0, 0, .9);
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100dvh;
    background: var(--al-bg);
    color: var(--al-text);
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.55;
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

:where(a, button, [tabindex]):focus-visible {
    outline: 2px solid var(--al-ring);
    outline-offset: 2px;
    border-radius: var(--al-radius-xs);
}

.al-icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.al-icon--brand { fill: currentColor; stroke: none; }
.al-visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* --- Top bar ------------------------------------------------------------- */
.al-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .875rem clamp(1rem, 4vw, 2rem);
    background: color-mix(in srgb, var(--al-bg) 82%, transparent);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--al-border);
}

.al-brand { display: inline-flex; align-items: center; gap: .5rem; }
.al-brand__logo { height: 1.5rem; width: auto; display: block; }
.al-brand__suffix {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--al-text-muted);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .al-brand__logo { filter: brightness(0) invert(1); }
}
[data-theme="dark"] .al-brand__logo { filter: brightness(0) invert(1); }
[data-theme="light"] .al-brand__logo { filter: none; }

/* --- Layout -------------------------------------------------------------- */
.al-page {
    width: 100%;
    max-width: var(--al-page);
    margin-inline: auto;
    padding: clamp(1rem, 4vw, 2rem) clamp(1rem, 4vw, 1.5rem) 3rem;
    display: grid;
    gap: 1rem;
}

.al-section-title {
    margin: .75rem .25rem -.25rem;
    font-size: .75rem;
    font-weight: 650;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--al-text-muted);
}

.al-card {
    background: var(--al-surface);
    border: 1px solid var(--al-border);
    border-radius: var(--al-radius);
    box-shadow: var(--al-shadow);
}

/* --- Hero ---------------------------------------------------------------- */
.al-hero {
    position: relative;
    overflow: hidden;
    padding: 0 1.5rem 1.75rem;
    text-align: center;
    box-shadow: var(--al-shadow-lg);
}

.al-hero__banner {
    position: relative;
    height: 116px;
    margin: 0 -1.5rem 0;
    /* Every stop is an Atos palette value: dark-blue field, light-blue corner glow. */
    background:
        radial-gradient(105% 135% at 88% 4%, rgba(61, 199, 255, .40) 0%, rgba(61, 199, 255, 0) 58%),
        linear-gradient(140deg, var(--atos-dark-blue) 0%, var(--atos-blue) 145%);
}

/* fine grid overlay — keeps the banner from reading as a flat blob */
.al-hero__banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .10) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .10) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 85%);
}

.al-avatar {
    position: relative;
    z-index: 1;
    display: block;
    width: 104px;
    height: 104px;
    margin: -52px auto 0;
    border-radius: 50%;
    object-fit: cover;
    background: var(--al-surface-sunken);
    border: 4px solid var(--al-surface);
    box-shadow: 0 10px 24px -10px rgba(0, 0, 92, .5);
}

.al-hero__name {
    margin: .9rem 0 .15rem;
    font-size: clamp(1.5rem, 5.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.al-hero__role {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--al-text-muted);
}

.al-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem;
    margin-top: .9rem;
}

.al-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .65rem;
    border-radius: 999px;
    background: var(--al-surface-sunken);
    border: 1px solid var(--al-border);
    font-size: .8125rem;
    font-weight: 500;
    color: var(--al-text-muted);
}
.al-chip .al-icon { width: .95rem; height: .95rem; }

/* --- Buttons ------------------------------------------------------------- */
.al-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .625rem;
    margin-top: 1.4rem;
}

.al-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 3rem;
    padding: 0 1.1rem;
    border: 1px solid transparent;
    border-radius: var(--al-radius-sm);
    font-size: .9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.al-btn:active { transform: scale(.985); }

.al-btn--primary {
    background: linear-gradient(180deg, var(--al-brand-solid) 0%, var(--al-brand-solid-deep) 100%);
    color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 92, .2), 0 10px 22px -12px rgba(0, 115, 230, .85);
}
.al-btn--primary:hover { box-shadow: 0 1px 2px rgba(0, 0, 92, .25), 0 14px 26px -12px rgba(0, 115, 230, .95); }

.al-btn--ghost {
    background: var(--al-surface);
    border-color: var(--al-border-strong);
    color: var(--al-text);
}
.al-btn--ghost:hover { background: var(--al-surface-sunken); }

.al-btn--icon { padding: 0; width: 3rem; }

/* --- Contact rows -------------------------------------------------------- */
.al-list {
    overflow: hidden;
    padding: .375rem;
    display: grid;
    gap: 2px;
}

.al-row {
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    align-items: center;
    gap: .875rem;
    padding: .75rem .625rem;
    border-radius: var(--al-radius-sm);
    transition: background-color .15s ease;
}
.al-row + .al-row { box-shadow: 0 -1px 0 var(--al-border); }
a.al-row:hover, .al-row:has(> a:hover) { background: var(--al-tint); box-shadow: none; }
a.al-row:hover + .al-row, .al-row:has(> a:hover) + .al-row { box-shadow: none; }

.al-row__icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--al-radius-xs);
    background: var(--al-tint);
    color: var(--al-brand);
}

.al-row__body { min-width: 0; }

.al-row__label {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--al-text-muted);
}

.al-row__value {
    display: block;
    font-size: .9375rem;
    font-weight: 550;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.al-row__value--wrap { white-space: normal; }

.al-copy {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid transparent;
    border-radius: var(--al-radius-xs);
    background: transparent;
    color: var(--al-text-muted);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.al-copy:hover { background: var(--al-surface-sunken); border-color: var(--al-border); color: var(--al-text); }
.al-copy[data-copied] { color: #14824a; border-color: transparent; background: rgba(20, 130, 74, .12); }
.al-copy[data-copied] .al-copy__default { display: none; }
.al-copy:not([data-copied]) .al-copy__done { display: none; }

/* --- Address & map ------------------------------------------------------- */
.al-office__info { display: grid; align-content: start; padding-bottom: .625rem; }

.al-office__route {
    justify-self: start;
    min-height: 2.5rem;
    margin: .125rem .625rem 0 .625rem;
    font-size: .875rem;
}
.al-office__route .al-icon { width: 1.05rem; height: 1.05rem; }

.al-map {
    position: relative;
    /* Stacked under the address, the map scales with the viewport. The floor keeps
       the embed's own attribution strip on one line instead of letting it wrap over
       the tiles; the ceiling stops it becoming a letterbox on a wide tablet. */
    height: clamp(15rem, 40vw, 22rem);
    margin: 0;
    border-top: 1px solid var(--al-border);
    background: var(--al-surface-sunken);
    overflow: hidden;
    border-radius: 0 0 calc(var(--al-radius) - 1px) calc(var(--al-radius) - 1px);
}
.al-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.92); }
[data-theme="dark"] .al-map iframe { filter: saturate(.7) brightness(.82) invert(.92) hue-rotate(180deg); }

/* Consent gate: no third-party tiles are requested until the visitor asks. */
.al-map__gate {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .625rem;
    padding: 1rem;
    text-align: center;
    background:
        repeating-linear-gradient(45deg, color-mix(in srgb, var(--al-tint) 55%, transparent) 0 10px, transparent 10px 26px),
        var(--al-surface-sunken);
}
.al-map__hint { margin: 0; font-size: .8125rem; color: var(--al-text-muted); max-width: 22rem; }

/* --- Socials ------------------------------------------------------------- */
.al-socials {
    display: flex;
    justify-content: center;
    gap: .625rem;
    padding: .25rem 0 .5rem;
}

.al-social {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--al-radius-sm);
    background: var(--al-surface);
    border: 1px solid var(--al-border);
    box-shadow: var(--al-shadow-sm);
    color: var(--al-ink);
    transition: transform .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
[data-theme="dark"] .al-social { color: var(--al-text); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .al-social { color: var(--al-text); }
}
.al-social:hover {
    transform: translateY(-2px);
    color: var(--al-brand);
    border-color: var(--al-brand);
    box-shadow: var(--al-shadow);
}
.al-social .al-icon { width: 1.15rem; height: 1.15rem; fill: currentColor; stroke: none; }

/* --- Footer -------------------------------------------------------------- */
.al-footer {
    margin-top: .5rem;
    text-align: center;
    font-size: .78125rem;
    color: var(--al-text-muted);
}
.al-footer a { text-decoration: underline; text-underline-offset: 2px; }

/* --- Toast --------------------------------------------------------------- */
.al-toast {
    position: fixed;
    left: 50%;
    bottom: calc(1.25rem + env(safe-area-inset-bottom));
    z-index: 60;
    translate: -50% 0;
    padding: .625rem 1rem;
    border-radius: 999px;
    background: var(--al-ink);
    color: #fff;
    font-size: .875rem;
    font-weight: 550;
    box-shadow: var(--al-shadow);
    opacity: 0;
    transition: opacity .18s ease, translate .18s ease;
    pointer-events: none;
}
[data-theme="dark"] .al-toast { background: #e9edfa; color: #101534; }
.al-toast[data-visible] { opacity: 1; translate: -50% -6px; }

/* --- Motion & print ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
    .al-topbar, .al-actions, .al-copy, .al-map, .al-toast { display: none !important; }
    body { background: #fff; }
    .al-card { box-shadow: none; border-color: #ccc; }
}

/* ==========================================================================
   Meeting page — document collection
   ========================================================================== */

/* --- Meeting hero -------------------------------------------------------- */
.al-mhero {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    color: #fff;
    /* Atos uses flat colour blocks, so this stays a single dark-blue field with one
       light-blue glow in the corner — the same accent their hero artwork uses. */
    background:
        radial-gradient(100% 130% at 90% 2%, rgba(61, 199, 255, .38) 0%, rgba(61, 199, 255, 0) 60%),
        linear-gradient(145deg, var(--atos-dark-blue) 0%, var(--atos-blue) 165%);
    border-color: transparent;
    box-shadow: var(--al-shadow-lg);
}

.al-mhero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .09) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(90% 90% at 85% 0%, rgba(0, 0, 0, .9), transparent 70%);
}

.al-mhero > * { position: relative; z-index: 1; }

.al-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: 0 0 .5rem;
    padding: .25rem .6rem .25rem .5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .01em;
}
.al-eyebrow .al-icon { width: .9rem; height: .9rem; }

.al-mhero__title {
    margin: 0;
    font-size: clamp(1.4rem, 6vw, 1.875rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.al-mhero__subtitle {
    margin: .5rem 0 0;
    font-size: .9375rem;
    color: rgba(255, 255, 255, .78);
    max-width: 30rem;
}

.al-meta {
    display: grid;
    gap: .5rem;
    margin: 1.15rem 0 0;
    padding: 0;
    list-style: none;
}

.al-meta li {
    display: grid;
    grid-template-columns: 1.15rem 1fr;
    align-items: start;
    gap: .6rem;
    font-size: .875rem;
    color: rgba(255, 255, 255, .88);
}
.al-meta .al-icon { width: 1.15rem; height: 1.15rem; color: rgba(255, 255, 255, .6); margin-top: .1rem; }
.al-meta a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255, 255, 255, .35); }

.al-mhero .al-actions { margin-top: 1.4rem; }
.al-mhero .al-btn--primary {
    background: #fff;
    color: var(--al-ink);
    box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .8);
}
.al-mhero .al-btn--ghost {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
}
.al-mhero .al-btn--ghost:hover { background: rgba(255, 255, 255, .2); }

/* --- Section header with counter ---------------------------------------- */
.al-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: .75rem .25rem -.25rem;
}
.al-section-head .al-section-title { margin: 0; }
.al-count { font-size: .75rem; font-weight: 600; color: var(--al-text-muted); font-variant-numeric: tabular-nums; }

/* --- Notes --------------------------------------------------------------- */
.al-notes { padding: 1.125rem 1.25rem; }

.al-prose { font-size: .9375rem; line-height: 1.65; color: var(--al-text); }
.al-prose > :first-child { margin-top: 0; }
.al-prose > :last-child { margin-bottom: 0; }
.al-prose p { margin: .65rem 0; }
.al-prose strong { font-weight: 650; }
.al-prose h3 { margin: 1.25rem 0 .4rem; font-size: .9375rem; font-weight: 650; letter-spacing: -.01em; }
.al-prose ul, .al-prose ol { margin: .65rem 0; padding-left: 1.1rem; }
.al-prose li { margin: .3rem 0; }
.al-prose li::marker { color: var(--al-brand); }
.al-prose a { color: var(--al-brand); text-decoration: underline; text-underline-offset: 2px; }
.al-prose hr { margin: 1.1rem 0; border: 0; border-top: 1px solid var(--al-border); }
.al-prose code {
    padding: .1rem .35rem;
    border-radius: 6px;
    background: var(--al-surface-sunken);
    border: 1px solid var(--al-border);
    font-size: .875em;
}

/* --- Document search ----------------------------------------------------- */
.al-search { position: relative; }
.al-search .al-icon {
    position: absolute;
    left: .875rem;
    top: 50%;
    translate: 0 -50%;
    color: var(--al-text-muted);
    pointer-events: none;
}
.al-search input {
    width: 100%;
    min-height: 2.875rem;
    padding: 0 .875rem 0 2.75rem;
    border: 1px solid var(--al-border);
    border-radius: var(--al-radius-sm);
    background: var(--al-surface);
    color: var(--al-text);
    font: inherit;
    font-size: .9375rem;
    box-shadow: var(--al-shadow-sm);
    appearance: none;
}
.al-search input::placeholder { color: var(--al-text-muted); }
.al-search input:focus-visible { outline: 2px solid var(--al-ring); outline-offset: 1px; border-color: var(--al-brand); }

/* --- Document list ------------------------------------------------------- */
.al-docs {
    padding: .375rem;
    display: grid;
    gap: 2px;
}

.al-doc {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) auto;
    align-items: center;
    gap: .875rem;
    padding: .8125rem .625rem;
    border-radius: var(--al-radius-sm);
    color: inherit;
    transition: background-color .15s ease;
}
.al-doc + .al-doc { box-shadow: 0 -1px 0 var(--al-border); }
.al-doc:hover { background: var(--al-tint); box-shadow: none; }
.al-doc:hover + .al-doc { box-shadow: none; }

/* extension badge — the file kind is legible before anything loads */
.al-doc__kind {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--al-radius-xs);
    background: color-mix(in srgb, var(--al-kind, var(--al-brand)) 13%, transparent);
    color: var(--al-kind, var(--al-brand));
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.al-doc__kind .al-icon { width: 1.15rem; height: 1.15rem; }

/* The familiar file-type colours, each resolved to its nearest Atos palette value. */
.al-doc[data-kind="pdf"]     { --al-kind: var(--atos-pink); }
.al-doc[data-kind="word"]    { --al-kind: var(--atos-blue); }
.al-doc[data-kind="excel"]   { --al-kind: var(--atos-green); }
.al-doc[data-kind="ppt"]     { --al-kind: var(--atos-orange); }
.al-doc[data-kind="image"]   { --al-kind: #1b9dc4; }  /* --atos-light-blue, darkened for AA on white */
.al-doc[data-kind="video"]   { --al-kind: var(--atos-purple); }
.al-doc[data-kind="archive"] { --al-kind: var(--atos-grey); }
.al-doc[data-kind="link"]    { --al-kind: var(--atos-grey); }

/* Lifted for contrast on the dark surface — the hues are unchanged. */
[data-theme="dark"] .al-doc[data-kind="pdf"]     { --al-kind: #f78ba5; }
[data-theme="dark"] .al-doc[data-kind="word"]    { --al-kind: #57a8ff; }
[data-theme="dark"] .al-doc[data-kind="excel"]   { --al-kind: #6fd04f; }
[data-theme="dark"] .al-doc[data-kind="ppt"]     { --al-kind: #ff9445; }
[data-theme="dark"] .al-doc[data-kind="image"]   { --al-kind: var(--atos-light-blue); }
[data-theme="dark"] .al-doc[data-kind="video"]   { --al-kind: #a983d8; }
[data-theme="dark"] .al-doc[data-kind="archive"] { --al-kind: #a9b2ba; }
[data-theme="dark"] .al-doc[data-kind="link"]    { --al-kind: #a9b2ba; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .al-doc[data-kind="pdf"]     { --al-kind: #f78ba5; }
    :root:not([data-theme="light"]) .al-doc[data-kind="word"]    { --al-kind: #57a8ff; }
    :root:not([data-theme="light"]) .al-doc[data-kind="excel"]   { --al-kind: #6fd04f; }
    :root:not([data-theme="light"]) .al-doc[data-kind="ppt"]     { --al-kind: #ff9445; }
    :root:not([data-theme="light"]) .al-doc[data-kind="image"]   { --al-kind: var(--atos-light-blue); }
    :root:not([data-theme="light"]) .al-doc[data-kind="video"]   { --al-kind: #a983d8; }
    :root:not([data-theme="light"]) .al-doc[data-kind="archive"] { --al-kind: #a9b2ba; }
    :root:not([data-theme="light"]) .al-doc[data-kind="link"]    { --al-kind: #a9b2ba; }
}

.al-doc__body { min-width: 0; }

.al-doc__name {
    display: block;
    font-size: .9375rem;
    font-weight: 600;
    letter-spacing: -.005em;
    overflow-wrap: anywhere;
}

.al-doc__desc {
    margin-top: .1rem;
    font-size: .8125rem;
    line-height: 1.45;
    color: var(--al-text-muted);
    /* A safety net for an over-long description, not a routine trim: normal
       one- or two-sentence descriptions are shown in full at every width. */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.al-doc__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    margin-top: .3rem;
    font-size: .75rem;
    color: var(--al-text-muted);
    font-variant-numeric: tabular-nums;
}
.al-doc__meta > span + span::before { content: "·"; margin-right: .35rem; opacity: .6; }
.al-badge-new {
    padding: .05rem .35rem;
    border-radius: 5px;
    background: var(--al-tint);
    color: var(--al-brand);
    font-weight: 650;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-size: .6875rem;
}
.al-doc__meta > span.al-badge-new + span::before,
.al-doc__meta > .al-badge-new::before { content: none; margin: 0; }

.al-doc__go {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--al-radius-xs);
    color: var(--al-text-muted);
    background: transparent;
    transition: background-color .15s ease, color .15s ease;
}
.al-doc:hover .al-doc__go { background: var(--al-surface); color: var(--al-brand); }

/* --- Empty state --------------------------------------------------------- */
.al-empty {
    padding: 2.25rem 1.5rem;
    text-align: center;
    color: var(--al-text-muted);
}
.al-empty .al-icon { width: 1.75rem; height: 1.75rem; margin-bottom: .5rem; opacity: .55; }
.al-empty p { margin: 0; font-size: .875rem; }

/* --- Presenter / footer note -------------------------------------------------- */
.al-presenter {
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    align-items: center;
    gap: .875rem;
    padding: .875rem 1rem;
}
.al-presenter__avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    background: var(--al-surface-sunken);
}
.al-presenter__initials {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--al-tint);
    color: var(--al-brand);
    font-size: .8125rem;
    font-weight: 700;
}

/* --- Wider viewports: two document columns ------------------------------- */
/* --------------------------------------------------------------------------
   Wider viewports

   The column grows in steps rather than filling the window: content spreads
   into more columns, while anything read as prose keeps a capped measure.
   -------------------------------------------------------------------------- */

/* Tablet — two document columns. */
@media (min-width: 46rem) {
    :root { --al-page: 46rem; }

    .al-docs { grid-template-columns: repeat(auto-fill, minmax(min(21rem, 100%), 1fr)); gap: 4px; }
    .al-doc + .al-doc { box-shadow: none; }
    .al-doc { border: 1px solid transparent; }
    .al-doc:hover { border-color: var(--al-border); }

    .al-mhero { padding: 1.75rem 2rem 2rem; }
    .al-mhero .al-actions { max-width: 24rem; }
}

/* Desktop — three document columns, contact rows and the office card side by side. */
@media (min-width: 64rem) {
    :root { --al-page: 62rem; }

    /* Contact rows pair up. The office card below keeps its single full-width row. */
    .al-card.al-list { grid-template-columns: 1fr 1fr; gap: 4px; }
    .al-card.al-list .al-row + .al-row { box-shadow: none; }
    .al-card.al-list .al-row { border: 1px solid transparent; }
    .al-card.al-list .al-row:has(> a:hover) { border-color: var(--al-border); }

    /* Address text left, map right — the map earns more height than it had stacked. */
    /* Address and route on the left, a map with usable height on the right. */
    .al-office {
        display: grid;
        grid-template-columns: minmax(15rem, .8fr) minmax(0, 1.2fr);
        align-items: stretch;
    }
    .al-office__info { align-content: center; padding: 1.25rem .5rem 1.25rem 0; }
    .al-office > .al-map {
        height: auto;
        min-height: 21rem;
        border-top: 0;
        border-left: 1px solid var(--al-border);
        border-radius: 0 calc(var(--al-radius) - 1px) calc(var(--al-radius) - 1px) 0;
    }

    /* A 62rem-wide hero would leave the centred identity block adrift. */
    .al-hero { padding-bottom: 2rem; }
    .al-hero__banner { height: 148px; }
    .al-hero .al-actions { max-width: 26rem; margin-inline: auto; }

    .al-mhero { padding: 2.25rem 2.5rem 2.5rem; }
    .al-mhero__title { max-width: 26ch; }
    .al-mhero__subtitle { font-size: 1rem; }

    /* Notes are prose: the card spans the page, the text does not. */
    .al-notes { padding: 1.5rem 1.75rem; }
    .al-notes .al-prose { max-width: 68ch; }

    .al-socials { padding-top: .5rem; }
    .al-social { width: 3.25rem; height: 3.25rem; }
}

/* Large desktop — one more step of width, then stop. */
@media (min-width: 100rem) {
    :root { --al-page: 74rem; }

    .al-doc { padding: .9375rem .75rem; }
    .al-office { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
}

/* Three actions (download all · calendar · share) on the meeting header. */
.al-actions--three { grid-template-columns: 1fr auto auto; }
