/*
 * Styles publics du projet EIDETIQUE.
 */

:root {
    --font-display: "Times New Roman", "Times", "Liberation Serif", serif;
    --font-ui: "Times New Roman", "Times", "Georgia", serif;
    --page-bg: #f5f1e8;
    --page-bg-soft: #f0e9dd;
    --panel: rgba(255, 252, 246, 0.92);
    --panel-strong: #fffefb;
    --ink: #181511;
    --muted: #5f574d;
    --line: rgba(66, 53, 38, 0.16);
    --line-strong: rgba(66, 53, 38, 0.28);
    --brand: #2f5e63;
    --brand-dark: #213f43;
    --accent: #8b6336;
    --accent-dark: #5f4326;
    --success: #275f4d;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow-soft: 0 18px 46px rgba(42, 32, 21, 0.12);
    --shadow-strong: 0 26px 70px rgba(24, 19, 14, 0.18);
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-ui);
    background:
        radial-gradient(circle at 8% -12%, rgba(47, 94, 99, 0.14), transparent 30%),
        radial-gradient(circle at 92% 2%, rgba(139, 99, 54, 0.1), transparent 26%),
        linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-soft) 52%, #efe6d7 100%);
    min-height: 100vh;
}

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

img {
    display: block;
    max-width: 100%;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(calc(100% - 2.2rem), var(--container));
    margin: 0 auto;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
    padding-bottom: 3.2rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(248, 244, 236, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.42rem;
    color: #f7f4ee;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    box-shadow: var(--shadow-soft);
}

.brand-mark-globe {
    padding: 8px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background:
        radial-gradient(circle at 28% 22%, rgba(246, 239, 226, 0.35), transparent 42%),
        linear-gradient(155deg, #355f74 0%, #203a4a 55%, #12222c 100%);
    box-shadow:
        0 14px 26px rgba(20, 29, 37, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.brand-mark-globe::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 8px;
    border: 1px solid rgba(214, 178, 120, 0.56);
    pointer-events: none;
}

.brand-mark-globe svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-text strong {
    font-family: var(--font-display);
    font-size: 1.16rem;
    letter-spacing: 0.08em;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.95rem;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--muted);
    padding: 0.48rem 0.12rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--ink);
    border-bottom-color: rgba(47, 94, 99, 0.45);
}

.hero,
.page-intro {
    padding-top: 3.4rem;
}

.hero-home {
    padding-bottom: 2.1rem;
}

.home-onepage-hero {
    padding-bottom: 0.9rem;
}

.home-single-section {
    padding-top: 2rem;
}

.home-onepage .header-inner {
    justify-content: center;
}

.home-onepage .site-nav {
    justify-content: center;
}

.home-main-card {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: clamp(1.4rem, 3vw, 2.3rem);
    background:
        radial-gradient(circle at 9% 10%, rgba(47, 94, 99, 0.11), transparent 36%),
        radial-gradient(circle at 94% 12%, rgba(139, 99, 54, 0.11), transparent 30%),
        var(--panel);
    text-align: center;
}

.home-main-card-full {
    width: min(100%, 1320px);
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    padding: clamp(1.1rem, 2.4vw, 1.8rem);
}

.home-main-card-full > * {
    width: 100%;
}

.home-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.35rem;
    gap: 0.8rem;
}

.home-globe {
    width: clamp(104px, 12vw, 156px);
    height: clamp(104px, 12vw, 156px);
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: #f8f4ee;
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background:
        radial-gradient(circle at 30% 20%, rgba(248, 241, 229, 0.4), transparent 48%),
        radial-gradient(circle at 72% 80%, rgba(100, 166, 194, 0.2), transparent 48%),
        linear-gradient(160deg, #356a84 0%, #204053 58%, #0f202c 100%);
    box-shadow:
        0 24px 48px rgba(22, 30, 37, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.48);
    position: relative;
}

.home-globe::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 28px;
    border: 1px solid rgba(212, 178, 123, 0.62);
    pointer-events: none;
}

.home-globe::after {
    content: "";
    position: absolute;
    top: 12%;
    left: 14%;
    width: 40%;
    height: 40%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.33), transparent 70%);
    pointer-events: none;
}

.home-globe svg {
    width: 70%;
    height: 70%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-search-form {
    margin-top: 0.9rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.home-search-form label {
    display: block;
    margin-bottom: 0.45rem;
    text-align: center;
}

.home-search-form .inline-form {
    align-items: stretch;
    justify-content: center;
}

.home-search-form input[type="search"] {
    flex: 1 1 420px;
}

.home-result-card {
    margin: 0;
    text-align: center;
}

.home-result-card h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 2.7rem);
}

.home-result-meta {
    margin: 0.95rem 0 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.home-onepage .pdf-control-deck {
    grid-template-columns: 1fr;
    justify-items: center;
    position: static;
    top: auto;
}

.home-onepage .pdf-controls-left,
.home-onepage .pdf-controls-right,
.home-onepage .pdf-jump-form {
    justify-content: center;
}

.home-onepage .pdf-controls-center {
    text-align: center;
}

.home-onepage .pdf-viewer-headline {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-onepage .pdf-viewer-actions {
    justify-content: center;
}

.home-main-card-full .pdf-toolbar,
.home-main-card-full .pdf-viewer-shell,
.home-main-card-full .empty-state {
    margin-top: 0;
}

.hero-grid,
.interactive-grid,
.spotlight-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: 1.5fr 1fr;
}

.hero-copy h1,
.section-heading h1,
.admin-auth-card h1 {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.02em;
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    text-wrap: balance;
}

.hero-text,
.section-heading p,
.feature-card p,
.surface-card p,
.book-teaser p {
    color: var(--muted);
    line-height: 1.72;
}

.eyebrow,
.section-label,
.panel-kicker {
    margin: 0 0 0.7rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-dark);
}

.hero-actions,
.admin-header-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.78rem;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #f7f4ee;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    box-shadow: 0 16px 34px rgba(33, 63, 67, 0.26);
}

.button-secondary {
    color: var(--ink);
    border-color: rgba(61, 49, 35, 0.2);
    background: rgba(255, 252, 246, 0.88);
}

.button-block {
    width: 100%;
}

.button.is-disabled,
.button[aria-disabled="true"] {
    opacity: 0.46;
    pointer-events: none;
}

.surface-card {
    background: var(--panel);
    border: 1px solid rgba(62, 48, 33, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
}

.hero-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: auto -26% -34% auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(47, 94, 99, 0.2), transparent 70%);
    z-index: -1;
}

.stats-list {
    display: grid;
    gap: 1rem;
    margin: 0;
}

.stats-list div {
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.9rem;
}

.stats-list dt {
    color: var(--muted);
    font-size: 0.88rem;
}

.stats-list dd {
    margin: 0.3rem 0 0;
    font-size: 1.22rem;
    font-weight: 700;
}

.sample-entry {
    margin-top: 1.3rem;
}

.section-grid {
    padding: 1rem 0 2.15rem;
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card h2,
.book-teaser h2,
.empty-state h2,
.admin-panel h2,
.admin-empty h2,
.pdf-reader-head h2 {
    margin: 0 0 0.72rem;
    font-family: var(--font-display);
    font-size: 1.76rem;
}

.spotlight-grid {
    padding: 0.4rem 0 0;
}

.search-form,
.admin-form {
    display: grid;
    gap: 0.95rem;
}

.search-form-large {
    margin-top: 1.3rem;
}

.search-form label,
.admin-form label {
    font-weight: 600;
}

.inline-form {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

input[type="search"],
input[type="text"],
input[type="password"],
input[type="number"],
select {
    width: 100%;
    min-height: 52px;
    padding: 0.86rem 0.98rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(66, 53, 38, 0.2);
    background: rgba(255, 254, 250, 0.96);
    color: var(--ink);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input:focus,
select:focus {
    border-color: rgba(47, 94, 99, 0.48);
    box-shadow: 0 0 0 4px rgba(47, 94, 99, 0.12);
}

.field-hint {
    margin: -0.2rem 0 0;
    font-size: 0.93rem;
}

.results-header {
    margin: 1.9rem 0 1rem;
}

.results-header h2 {
    margin: 0.25rem 0 0;
    font-family: var(--font-display);
    font-size: clamp(2.04rem, 4vw, 2.95rem);
}

.results-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.entry-card {
    padding: 1rem 0;
}

.entry-card + .entry-card {
    border-top: 1px solid var(--line);
}

.entry-word {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.38rem;
}

.entry-meta {
    margin: 0.45rem 0 0.45rem;
}

.entry-cgram {
    font-style: italic;
    color: var(--accent-dark);
}

.entry-definition {
    margin: 0;
    line-height: 1.7;
    color: var(--ink);
}

.empty-state,
.admin-empty {
    margin-top: 1.8rem;
    text-align: center;
}

.suggestions {
    margin-top: 1.2rem;
}

.suggestion-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.56rem;
}

.suggestion-pill {
    padding: 0.62rem 0.92rem;
    border-radius: 999px;
    color: var(--brand-dark);
    background: rgba(47, 94, 99, 0.11);
}

.page-intro-compact {
    padding-bottom: 1rem;
}

.book-toolbar,
.pdf-toolbar {
    margin-top: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pdf-page .container {
    width: min(calc(100% - 2rem), 1380px);
}

.pdf-intro-meta {
    margin: 0;
    color: var(--accent-dark);
    font-weight: 600;
}

.pdf-control-deck {
    position: sticky;
    top: 94px;
    z-index: 25;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(170px, 0.6fr) minmax(0, 1.2fr);
    gap: 0.95rem;
    align-items: center;
    border-radius: 20px;
    border-color: rgba(66, 53, 38, 0.18);
    box-shadow: 0 22px 40px rgba(34, 27, 19, 0.16);
}

.book-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pdf-controls-left,
.pdf-controls-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pdf-controls-center {
    text-align: center;
    padding: 0.35rem 0.6rem;
    border-radius: 14px;
    background: rgba(38, 30, 19, 0.06);
    border: 1px solid rgba(66, 53, 38, 0.14);
}

.pdf-controls-center .section-label {
    margin-bottom: 0.3rem;
}

.pdf-page-indicator {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    letter-spacing: 0.01em;
}

.pdf-page-slider-form {
    width: min(100%, 520px);
    margin: 0.55rem auto 0;
}

.pdf-page-slider {
    width: 100%;
    appearance: none;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(47, 94, 99, 0.2), rgba(47, 94, 99, 0.42));
    outline: none;
    border: 1px solid rgba(66, 53, 38, 0.15);
}

.pdf-page-slider::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.86);
    background: linear-gradient(145deg, #2c6673, #1f4350);
    box-shadow: 0 6px 14px rgba(22, 39, 46, 0.3);
    cursor: pointer;
}

.pdf-page-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.86);
    background: linear-gradient(145deg, #2c6673, #1f4350);
    box-shadow: 0 6px 14px rgba(22, 39, 46, 0.3);
    cursor: pointer;
}

.pdf-page-slider-scale {
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--muted);
}

.pdf-page-slider-scale strong {
    color: var(--ink);
    font-size: 0.96rem;
}

.page-jump-form {
    align-items: center;
    justify-content: flex-end;
}

.pdf-jump-form {
    flex-wrap: nowrap;
}

.pdf-jump-form input[type="number"] {
    width: 120px;
    min-height: 48px;
}

.book-spread {
    position: relative;
    margin-top: 0.35rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 26px;
    background:
        linear-gradient(90deg, rgba(83, 61, 36, 0.05) 49.5%, rgba(83, 61, 36, 0.16) 50%, rgba(83, 61, 36, 0.05) 50.5%),
        linear-gradient(180deg, #fffef9, #f6efde);
    box-shadow: var(--shadow-strong);
}

.book-column {
    min-width: 0;
}

.book-column .entry-card {
    padding: 0.9rem 0;
}

.book-column .entry-word {
    font-size: 1.1rem;
}

.book-column .entry-definition {
    font-size: 0.97rem;
}

.pdf-viewer-shell {
    margin-top: 0.55rem;
    padding: 1.1rem;
    border-radius: 24px;
    border-color: rgba(66, 53, 38, 0.2);
    background:
        radial-gradient(circle at 8% 12%, rgba(47, 94, 99, 0.09), transparent 45%),
        radial-gradient(circle at 95% 84%, rgba(139, 99, 54, 0.1), transparent 35%),
        linear-gradient(180deg, #f8f4eb, #f0e5d2);
}

.pdf-viewer-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.9rem 1.4rem;
    padding: 0.72rem 0.8rem 1rem;
    border-bottom: 1px solid var(--line);
}

.pdf-viewer-headline h2 {
    margin: 0;
}

.pdf-viewer-note {
    margin: 0.4rem 0 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.pdf-viewer-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem 1rem;
    flex-wrap: wrap;
}

.pdf-stage {
    margin-top: 1rem;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(66, 53, 38, 0.25);
    background:
        radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.12), transparent 50%),
        linear-gradient(160deg, #1f1f20, #2b2b2c 40%, #202021);
    box-shadow: 0 24px 48px rgba(19, 16, 13, 0.38);
    padding: clamp(0.6rem, 2.1vw, 1.35rem);
}

.pdf-reader-frame {
    width: 100%;
    height: clamp(560px, 80vh, 1100px);
    border: 0;
    border-radius: 12px;
    background: #fff;
}

.text-link {
    display: inline-flex;
    color: var(--brand-dark);
    font-weight: 700;
}

.book-teaser .text-link + .text-link {
    margin-left: 0.75rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    padding: 1.35rem 0 2rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
}

.footer-inner-single {
    justify-content: center;
    text-align: center;
}

.footer-inner-single p {
    margin: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Apparitions subtiles pour un rendu plus pro, sans effet gadget. */
.js .surface-card,
.js .section-heading,
.js .hero-copy {
    animation: rise-in 0.45s ease both;
}

.js .surface-card:nth-of-type(2) {
    animation-delay: 0.06s;
}

.js .surface-card:nth-of-type(3) {
    animation-delay: 0.11s;
}

@keyframes rise-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1120px) {
    .hero-grid,
    .interactive-grid,
    .spotlight-grid,
    .section-grid {
        grid-template-columns: 1fr;
    }

    .book-toolbar,
    .pdf-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .pdf-control-deck {
        position: static;
        grid-template-columns: 1fr;
    }

    .pdf-controls-center {
        text-align: center;
    }
}

@media (max-width: 840px) {
    .header-inner {
        min-height: 70px;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        padding: 0.6rem 0;
    }

    .site-nav {
        justify-content: center;
        gap: 0.62rem 0.85rem;
    }

    .brand {
        width: 100%;
        justify-content: center;
        text-align: center;
        gap: 0.7rem;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-text strong {
        font-size: 1.03rem;
        letter-spacing: 0.05em;
    }

    .hero,
    .page-intro {
        padding-top: 2rem;
    }

    .home-title-row {
        align-items: center;
        justify-content: center;
        margin-bottom: 0.35rem;
    }

    .home-main-card {
        width: 100%;
        padding: 1rem 0.9rem 1.1rem;
        text-align: center;
    }

    .home-main-card-full {
        gap: 0.85rem;
    }

    .home-globe {
        width: clamp(86px, 26vw, 124px);
        height: clamp(86px, 26vw, 124px);
        border-radius: 26px;
    }

    .home-globe::before {
        inset: 6px;
        border-radius: 20px;
    }

    .hero-copy h1,
    .section-heading h1,
    .admin-auth-card h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .inline-form,
    .hero-actions,
    .book-nav,
    .footer-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .home-search-form .inline-form {
        gap: 0.65rem;
    }

    .book-teaser .text-link + .text-link {
        margin-left: 0;
        margin-top: 0.65rem;
    }

    .book-spread {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 1.25rem;
        background: linear-gradient(180deg, #fffef9, #f6efde);
    }

    .pdf-page .container {
        width: min(calc(100% - 1.2rem), 1380px);
    }

    .pdf-viewer-shell {
        padding: 0.72rem;
    }

    .pdf-viewer-headline {
        align-items: flex-start;
        flex-direction: column;
    }

    .pdf-controls-left,
    .pdf-controls-right,
    .pdf-controls-center,
    .pdf-jump-form {
        width: 100%;
    }

    .pdf-controls-left,
    .pdf-controls-right,
    .pdf-jump-form,
    .pdf-controls-center {
        justify-content: center;
        text-align: center;
    }

    .pdf-jump-form {
        flex-wrap: wrap;
    }

    .pdf-jump-form input[type="number"] {
        width: 100%;
    }

    .pdf-reader-frame {
        height: clamp(440px, 66vh, 780px);
    }
}

@media (max-width: 560px) {
    .surface-card {
        padding: 1rem;
    }

    .home-search-form {
        margin-top: 0.65rem;
    }

    .home-search-form label {
        margin-bottom: 0.34rem;
    }

    .pdf-control-deck {
        gap: 0.72rem;
    }

    .pdf-controls-center {
        padding: 0.4rem;
    }

    .pdf-page-slider-form {
        margin-top: 0.45rem;
    }

    .pdf-stage {
        padding: 0.45rem;
    }

    .pdf-reader-frame {
        height: clamp(390px, 62vh, 640px);
    }

    .home-main-card-full {
        padding: 0.92rem 0.72rem;
    }

    .home-globe {
        width: 86px;
        height: 86px;
        border-radius: 24px;
    }
}
