/* One layout for the live preview and exported post, support slides and story. */
@font-face { font-family: DosisPoster; src: url('../../fonts/Dosis-Medium.ttf') format('truetype'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: DosisPoster; src: url('../../fonts/Dosis-Bold.ttf') format('truetype'); font-weight: 700 900; font-style: normal; font-display: swap; }
.gfx-canvas--v2 {
    --gfx2-paper: #102a33;
    --gfx2-panel: #102a33;
    --gfx2-ink: #f4fcfa;
    --gfx2-muted: #b7d1d2;
    --gfx2-accent: #62ded0;
    --gfx2-soft: #1d424b;
    --gfx2-line: #34555e;
    position: relative;
    overflow: hidden;
    background: var(--gfx2-paper);
    color: var(--gfx2-ink);
    font-family: DosisPoster, sans-serif;
    font-synthesis: none;
    font-kerning: none;
    font-variant-ligatures: none;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: left;
}
.gfx-canvas--v2, .gfx-canvas--v2 * { box-sizing: border-box; }
.gfx-canvas--v2.vertical { width: 1440px; height: 1800px; }
.gfx-canvas--v2.story { width: 1080px; height: 1920px; }
.gfx-canvas--v2.horizontal { width: 1920px; height: 1080px; }
.gfx-canvas--v2 .material-symbols-outlined {
    font-family: 'Material Symbols Outlined'; font-weight: 400; font-feature-settings: 'liga';
    font-variant-ligatures: normal; letter-spacing: 0; line-height: 1;
}
.gfx-canvas--v2 .gfx2-top {
    position: relative; z-index: 3; display: flex; align-items: center;
    height: 150px; padding: 24px 64px; background: var(--gfx2-paper);
    border-bottom: 2px solid var(--gfx2-line);
}
.gfx-canvas--v2 .gfx2-system-logo-plate { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.gfx-canvas--v2 .gfx2-system-logo { display: block; width: 220px; height: 110px; object-fit: contain; object-position: center; }
.gfx-canvas--v2 .gfx2-photo {
    position: absolute; z-index: 0; top: 150px; left: 0; right: 0;
    height: 900px; overflow: hidden; background: var(--gfx2-paper);
}
.gfx-canvas--v2 .gfx2-photo-img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.gfx-canvas--v2 .gfx2-photo::before, .gfx-canvas--v2 .gfx2-photo::after { display: none !important; }
.gfx-canvas--v2 .gfx2-sheet { display: contents; }
.gfx-canvas--v2 .gfx2-cover {
    position: absolute; z-index: 2; left: 0; right: 0; bottom: 150px;
    display: flex; flex-direction: column; gap: 22px; margin: 0;
    padding: 38px 64px; background: var(--gfx2-panel); color: var(--gfx2-ink);
    border-top: 2px solid var(--gfx2-line);
}
.gfx-canvas--v2 .gfx2-heading-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.gfx-canvas--v2 .gfx2-category {
    display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
    padding: 10px 18px; border-radius: 12px; background: var(--gfx2-soft);
    color: var(--gfx2-accent); font-size: 28px; font-weight: 700;
    letter-spacing: 0; text-transform: none; line-height: 1.2;
}
.gfx-canvas--v2 .gfx2-category .material-symbols-outlined { flex: 0 0 32px; width: 32px; font-size: 32px; }
.gfx-canvas--v2 .gfx2-age { padding: 9px 16px; border: 2px solid var(--gfx2-line); border-radius: 12px; font-size: 28px; white-space: nowrap; }
.gfx-canvas--v2 .gfx2-date, .gfx-canvas--v2 .gfx2-location { display: none; }
.gfx-canvas--v2 .gfx2-title { margin: 0; color: var(--gfx2-ink); font-size: 76px; font-weight: 800; line-height: 1.08; letter-spacing: 0; overflow-wrap: anywhere; }
.gfx-canvas--v2 .gfx2-meta-row { display: flex; align-items: flex-start; gap: 16px; font-size: 38px; line-height: 1.25; color: var(--gfx2-muted); }
.gfx-canvas--v2 .gfx2-meta-row > .material-symbols-outlined { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; font-size: 40px; color: var(--gfx2-accent); }
.gfx-canvas--v2 .gfx2-meta-row > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.gfx-canvas--v2 .gfx2-cover-bottom { display: flex; align-items: center; gap: 18px; }
.gfx-canvas--v2 .gfx2-price { color: var(--gfx2-accent); font-size: 36px; font-weight: 700; line-height: 1.2; }
.gfx-canvas--v2 .gfx2-currency { margin-left: 10px; }
.gfx-canvas--v2 .gfx2-occasion { align-self: flex-start; max-width: 100%; padding: 8px 16px; border-radius: 12px; font-size: 26px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.gfx-canvas--v2 .gfx2-footer {
    position: absolute; z-index: 3; bottom: 0; left: 0; right: 0;
    height: 150px; padding: 26px 64px; display: flex; align-items: center;
    justify-content: space-between; gap: 28px; border-top: 2px solid var(--gfx2-line);
    background: var(--gfx2-paper); color: var(--gfx2-ink); font-size: 28px;
}
.gfx-canvas--v2 .gfx2-org-logo-plate { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: max-content; max-width: 250px; padding: 8px; border-radius: 10px; overflow: hidden; background: #fffefa; }
.gfx-canvas--v2 .gfx2-org-logo { display: block; width: auto; max-width: 226px; height: 72px; max-height: 88px; object-fit: contain; padding: 0; border: 0; background: transparent; }
.gfx-canvas--v2 .gfx2-org-name { flex: 1 1 auto; min-width: 0; font-size: 26px; line-height: 1.2; font-weight: 600; overflow-wrap: anywhere; }
.gfx-canvas--v2 .gfx2-slide-count { flex: 0 0 auto; margin-left: auto; font-size: 28px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gfx-canvas--v2 .gfx2-footer-cta { flex: 0 1 auto; min-width: 0; font-size: 28px; font-weight: 700; color: var(--gfx2-accent); white-space: nowrap; text-align: right; }
.gfx-canvas--v2 .gfx2-access { display: none; }
.gfx-canvas--v2.vertical .gfx2-category { font-size: 32px; }
.gfx-canvas--v2.vertical .gfx2-meta-row { font-size: 44px; }
.gfx-canvas--v2.vertical .gfx2-meta-row > .material-symbols-outlined { margin-top: 4px; }
.gfx-canvas--v2.gfx-canvas--access .gfx2-photo, .gfx-canvas--v2.gfx-canvas--access .gfx2-cover { display: none; }
.gfx-canvas--v2.vertical.gfx-canvas--access .gfx2-access { position: absolute; z-index: 2; inset: 198px 64px 180px; display: flex; flex-direction: column; }
.gfx-canvas--v2 .gfx2-access-eyebrow { font-size: 28px; font-weight: 600; color: var(--gfx2-muted); line-height: 1.2; }
.gfx-canvas--v2 .gfx2-access-title { margin: 14px 0 24px; font-size: 64px; line-height: 1.1; color: var(--gfx2-ink); }
.gfx-canvas--v2 .gfx2-access-page { display: none; flex: 1 1 0; min-height: 0; flex-direction: column; justify-content: center; gap: 0; }
.gfx-canvas--v2 .gfx2-access-page.is-active { display: flex; }
.gfx-canvas--v2 .gfx2-access-row { display: flex; align-items: center; flex: 0 1 auto; gap: 26px; min-height: 150px; padding: 24px 0; border-bottom: 2px solid var(--gfx2-line); color: var(--gfx2-ink); font-size: 48px; line-height: 1.2; }
.gfx-canvas--v2 .gfx2-access-icon { display: grid; place-items: center; flex: 0 0 84px; width: 84px; height: 84px; padding: 18px; border-radius: 18px; background: var(--gfx2-soft); color: var(--gfx2-accent); }
.gfx-canvas--v2 .gfx2-access-icon > .material-symbols-outlined { display: block; width: 48px; height: 48px; font-size: 48px; line-height: 1; padding: 0; background: transparent; }
.gfx-canvas--v2 .gfx2-access-icon svg { display: block !important; width: 48px !important; height: 48px !important; }
.gfx-canvas--v2 .gfx2-access-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.gfx-canvas--v2 .gfx2-access-copy b { display: block; font-weight: 700; }
.gfx-canvas--v2 .gfx2-access-copy small { display: block; margin-top: 8px; color: var(--gfx2-muted); font-size: .74em; line-height: 1.25; }
.gfx-canvas--v2 .gfx2-pictogram-credit { flex: 0 0 auto; margin-top: 20px; font-size: 20px; line-height: 1.35; color: var(--gfx2-muted); }
.gfx-canvas--v2.no-photo .gfx2-photo { display: none !important; }
.gfx-canvas--v2.no-photo.vertical .gfx2-cover { top: 150px; bottom: 150px; justify-content: flex-start; gap: 36px; padding: 96px 64px; border-top: 0; }
/* The story keeps its essential content clear of the app's top and bottom controls. */
.gfx-canvas--v2.story .gfx2-top { width: max-content; height: 122px; min-height: 0; margin: 150px 64px 0; padding: 10px 18px; border: 0; border-radius: 16px; }
.gfx-canvas--v2.story .gfx2-photo { top: 300px; height: 700px; }
.gfx-canvas--v2.story .gfx2-sheet { display: flex; flex-direction: column; position: absolute; z-index: 2; left: 64px; right: 64px; bottom: 240px; }
.gfx-canvas--v2.story .gfx2-sheet .gfx2-cover, .gfx-canvas--v2.story .gfx2-sheet .gfx2-footer { position: relative; left: auto; right: auto; bottom: auto; width: 100%; margin: 0; }
.gfx-canvas--v2.story .gfx2-cover { padding: 32px 0; border-top: 2px solid var(--gfx2-line); gap: 20px; }
.gfx-canvas--v2.story .gfx2-category { font-size: 27px; }
.gfx-canvas--v2.story .gfx2-meta-row { font-size: 36px; }
.gfx-canvas--v2.story .gfx2-title { font-size: 76px; }
.gfx-canvas--v2.story .gfx2-footer { height: 110px; padding: 18px 0; }
.gfx-canvas--v2.story .gfx2-footer-cta { font-size: 29px; }
.gfx-canvas--v2.story .gfx2-slide-count { display: none; }
.gfx-canvas--v2.story.no-photo .gfx2-sheet { top: 340px; bottom: 240px; justify-content: flex-start; }
.gfx-canvas--v2.story.no-photo .gfx2-cover { flex: 0 0 auto; border-top: 0; }
.gfx-canvas--v2.story.no-photo .gfx2-footer { flex: 0 0 auto; }
.gfx-canvas--v2.horizontal .gfx2-cover { left: 64px; right: 980px; bottom: 150px; padding: 32px 0; }
.gfx-canvas--v2.horizontal .gfx2-photo { top: 150px; left: 1000px; height: 780px; }
.gfx-canvas--v2.horizontal.no-photo .gfx2-cover { top: 150px; right: 64px; justify-content: center; }
.gfx-canvas--v2 .gfx2-photo-img.is-baked { position: absolute !important; inset: 0 auto auto 0 !important; z-index: 2 !important; object-fit: fill !important; max-width: none !important; max-height: none !important; }
.gfx-canvas--v2 .gfx2-org-logo.is-baked, .gfx-canvas--v2 .gfx2-system-logo.is-baked { display: block; object-fit: fill; max-width: none; max-height: none; }

/* Sign language badges stay inside the same balanced icon tile during export. */
.gfx-canvas--v2 .gfx2-access-icon:has(.dv-a11y-sign){width:96px;flex-basis:96px;height:96px;padding:12px}
.gfx-canvas--v2 .gfx2-access-icon>.material-symbols-outlined:has(.dv-a11y-sign){width:72px!important;height:72px;display:grid;place-items:center}
.gfx-canvas--v2 .dv-a11y-sign{display:flex;flex-direction:column;align-items:center;gap:4px;white-space:nowrap}
.gfx-canvas--v2 .gfx2-access-icon .dv-a11y-sign svg{width:40px!important;height:40px!important}
.gfx-canvas--v2 .dv-a11y-sign-label{font:700 18px/1.2 Arial,sans-serif;letter-spacing:.02em}
