@charset "UTF-8";

@font-face { font-family: "Gordita"; src: url("/brand/fonts/Gordita-Regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Gordita"; src: url("/brand/fonts/Gordita-Medium.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Gordita"; src: url("/brand/fonts/Gordita-Bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Gordita"; src: url("/brand/fonts/Gordita-Black.woff2") format("woff2"); font-style: normal; font-weight: 900; font-display: swap; }
@font-face { font-family: "Gordita"; src: url("/brand/fonts/Gordita-Italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Georama"; src: url("/brand/elegal/fonts/Georama-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Georama"; src: url("/brand/elegal/fonts/Georama-SemiBold.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Georama"; src: url("/brand/elegal/fonts/Georama-Bold.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
    --ink: #000000;
    --ink-soft: #202020;
    --paper: #f4f5f1;
    --white: #ffffff;
    --line: #e1e0db;
    --muted: #78808b;
    --red: #ea1d3c;
    --red-dark: #9f0c25;
    --brand-light-gray: #e1e0db;
    --brand-gray: #78808b;
    --mint: #baf8d8;
    --mint-deep: #26845a;
    --amber: #fff0b9;
    --radius: 20px;
    --shadow: 0 16px 44px rgba(17, 21, 18, .07);
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: "Gordita", Verdana, Arial, sans-serif; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
.studio-brand-elegal { --red: #ff7f00; --red-dark: #b85c00; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 256px minmax(0, 1fr); }
.sidebar { position: sticky; inset: 0 auto 0 0; height: 100vh; z-index: 30; display: flex; flex-direction: column; padding: 24px 18px; color: #eaf0eb; background: var(--ink); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 8px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: white; }
.brand-mark img { width: 25px; height: 25px; object-fit: contain; }
.brand-mark b { color: #ff7f00; font-family: "Georama", Arial, sans-serif; font-size: 30px; line-height: 1; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: -.01em; }
.brand small { margin-top: 2px; color: #949d96; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.brand-switcher { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin: 18px 8px 0; padding: 3px; border: 1px solid #313832; border-radius: 11px; background: #171b18; }
.brand-switcher button { min-height: 31px; padding: 0 6px; border: 0; border-radius: 8px; color: #808a82; background: transparent; font-size: 10px; font-weight: 750; }
.brand-switcher button.active { color: #111512; background: white; }
.studio-brand-elegal .brand-switcher button.active { box-shadow: inset 0 -2px 0 #ff7f00; }
.main-nav { margin-top: 24px; }
.nav-label { margin: 0 10px 10px; color: #747e76; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nav-label-spaced { margin-top: 34px; }
.main-nav a { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; min-height: 46px; margin: 4px 0; padding: 0 11px; border-radius: 12px; color: #b7c0b9; font-size: 14px; font-weight: 650; transition: .2s ease; }
.main-nav a:hover { color: var(--white); background: #1c221e; }
.main-nav a.active { color: var(--white); background: #252c27; box-shadow: inset 3px 0 0 var(--mint); }
.nav-symbol { color: #737d75; font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.main-nav a.active .nav-symbol { color: var(--mint); }
.nav-count { min-width: 25px; padding: 3px 7px; border-radius: 20px; color: #aeb8b0; background: #333b35; font-size: 10px; text-align: center; }
.sidebar-foot { margin-top: auto; padding: 16px 12px 2px; border-top: 1px solid #2e352f; color: #808a82; font-size: 11px; }
.sidebar-foot p { margin: 8px 0 0 17px; }
.status-dot-row { color: #bcc5be; font-weight: 600; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(186, 248, 216, .08); }

.main-column { min-width: 0; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 38px; border-bottom: 1px solid var(--line); background: rgba(244, 245, 241, .94); }
.breadcrumbs { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.top-actions { display: flex; align-items: center; gap: 18px; }
.quiet-button, .text-button { padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 13px; font-weight: 650; }
.quiet-button:hover, .text-button:hover { color: var(--ink); }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #cfd4ce; border-radius: 50%; background: var(--white); font-size: 11px; font-weight: 800; }
.mobile-menu { display: none; }
.page-content { width: min(1440px, 100%); margin: 0 auto; padding: 42px 46px 70px; }
.flash { margin-bottom: 20px; padding: 14px 18px; border: 1px solid #a5dfbf; border-radius: 12px; color: #145b38; background: #e5faee; font-size: 13px; font-weight: 650; }

.hero-row, .library-header, .builder-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.hero-row h1, .library-header h1, .builder-header h1 { margin-bottom: 8px; font-size: clamp(32px, 4vw, 46px); line-height: 1.05; letter-spacing: -.045em; }
.hero-row p, .library-header p, .builder-header p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.section-kicker { display: block; margin-bottom: 10px; color: var(--red); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 19px; border: 1px solid transparent; border-radius: 12px; font-size: 13px; font-weight: 800; transition: transform .15s, background .15s, box-shadow .15s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--white); background: var(--red); box-shadow: 0 9px 20px rgba(238, 23, 69, .19); }
.button-primary:hover { background: #c80f36; box-shadow: 0 11px 24px rgba(238, 23, 69, .26); }
.button-light { color: var(--ink); background: var(--white); }
.button-secondary { border-color: #cbd0ca; color: var(--ink); background: var(--white); }
.button-compact { min-height: 34px; padding: 0 12px; border-radius: 9px; font-size: 9px; }
.button:disabled { cursor: wait; opacity: .58; transform: none; }
.button-block { width: 100%; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 2px rgba(17, 21, 18, .02); }
.card-dark { color: var(--white); background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow); }
.pill { display: inline-flex; align-items: center; width: fit-content; min-height: 24px; padding: 0 9px; border-radius: 20px; font-size: 9px; font-style: normal; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.pill-mint { color: #104d32; background: var(--mint); }
.pill-success { color: #1b7347; background: #e5f7ed; }
.pill-warning { color: #775a09; background: var(--amber); }

.quick-start { position: relative; min-height: 365px; display: grid; grid-template-columns: minmax(330px, .9fr) 1.1fr; gap: 30px; overflow: hidden; padding: 46px 50px; }
.quick-decor { position: absolute; z-index: 1; width: 210px; height: auto; right: 18px; top: -28px; transform: rotate(102deg); transform-origin: center; }
.quick-copy { position: relative; z-index: 2; align-self: center; }
.quick-copy h2 { margin: 22px 0 16px; font-size: clamp(27px, 3vw, 40px); line-height: 1.08; letter-spacing: -.04em; }
.quick-copy p { max-width: 520px; margin-bottom: 27px; color: #9ca69e; font-size: 14px; line-height: 1.65; }
.elegal-quick-start { color: #000; background: #ff7f00; border-color: #ff7f00; }
.elegal-quick-start .quick-copy p { color: #2c1600; }
.elegal-reference-stack { position: relative; min-height: 270px; }
.elegal-reference-stack img { position: absolute; box-shadow: 0 24px 55px rgba(0,0,0,.28); }
.elegal-reference-stack img:first-child { width: 220px; left: 6%; top: 0; transform: rotate(-4deg); }
.elegal-reference-stack img:last-child { width: 330px; right: 1%; bottom: 8px; transform: rotate(3deg); }
.format-stack { position: relative; z-index: 2; min-height: 270px; align-self: center; }
.mini-banner { position: absolute; overflow: hidden; border-radius: 9px; box-shadow: 0 26px 60px rgba(0,0,0,.32); font-size: 11px; font-style: normal; }
.mini-banner strong { position: absolute; left: 12%; top: 30%; line-height: 1.12; }
.mini-banner i { position: absolute; right: 8%; bottom: 8%; font-size: 7px; font-style: normal; font-weight: 850; }
.mini-banner .mini-logo { width: 18%; height: auto; position: absolute; right: 8%; bottom: 8%; }
.mini-corner { position: absolute; height: auto; transform-origin: center; }
.mini-corner-top { width: 36%; right: 0; top: -10%; transform: rotate(12deg); }
.mini-corner-bottom { width: 36%; left: -17%; bottom: 0; transform: rotate(192deg); }
.mini-square { width: 172px; aspect-ratio: 1; left: 3%; top: 23%; color: white; background: var(--red); transform: rotate(-5deg); }
.mini-portrait { width: 172px; aspect-ratio: 4/5; left: 34%; top: 4%; color: var(--ink); background: white; transform: rotate(4deg); z-index: 2; }
.mini-wide { width: 238px; aspect-ratio: 900/471; left: 43%; top: 58%; color: white; background: var(--red); transform: rotate(-2deg); z-index: 3; }
.mini-portrait .mini-corner-top { width: 32%; right: 3%; top: -9%; }
.mini-portrait .mini-corner-bottom { width: 32%; left: 10%; bottom: -8%; }
.mini-wide .mini-corner-top { width: 24%; left: 34%; right: auto; top: -14%; }
.mini-wide .mini-corner-bottom { width: 24%; left: auto; right: -8%; top: 41%; bottom: auto; transform: rotate(102deg); }

.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 50px; }
.metric-card { min-height: 138px; padding: 21px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.metric-card > span { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }
.metric-card strong { display: block; margin: 13px 0 6px; font-size: 30px; letter-spacing: -.04em; }
.metric-card small { display: block; color: #8b928d; font-size: 10px; line-height: 1.4; }
.metric-accent { background: var(--mint); border-color: #9ee9c3; }
.metric-accent span, .metric-accent small { color: #276046; }
.section-block { margin-top: 18px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.section-heading h2 { margin-bottom: 0; font-size: 24px; letter-spacing: -.035em; }
.campaign-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.campaign-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: transform .18s, box-shadow .18s; }
.campaign-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.campaign-thumb { height: 178px; display: grid; place-items: center; overflow: hidden; background: #e8ebe6; }
.campaign-thumb img { width: 100%; height: 100%; object-fit: cover; }
.campaign-body { padding: 19px 20px 21px; }
.campaign-meta { display: flex; align-items: center; justify-content: space-between; color: #8b928d; font-size: 10px; }
.campaign-body h3 { margin: 16px 0 7px; font-size: 17px; letter-spacing: -.02em; }
.campaign-body p { margin-bottom: 17px; color: var(--muted); font-size: 11px; }
.campaign-body a { color: var(--red); font-size: 11px; font-weight: 800; }
.campaign-new { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-style: dashed; color: var(--muted); text-align: center; }
.campaign-new .new-plus { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 50%; color: var(--ink); background: var(--mint); font-size: 23px; }
.campaign-new strong { color: var(--ink); font-size: 14px; }
.campaign-new small { margin-top: 6px; font-size: 10px; }

/* Campaign builder */
.builder-header { align-items: center; }
.builder-progress { display: flex; align-items: center; gap: 8px; }
.builder-progress span { width: 28px; height: 28px; display: grid; place-items: center; position: relative; border: 1px solid #cbd1ca; border-radius: 50%; color: #8a928c; background: var(--white); font-size: 10px; font-weight: 850; }
.builder-progress span.done { color: var(--ink); border-color: var(--mint); background: var(--mint); }
.builder-progress span i { position: absolute; top: 35px; left: 50%; color: #858d87; font-size: 9px; font-style: normal; font-weight: 650; transform: translateX(-50%); }
.builder-progress b { width: 38px; height: 1px; background: #cbd1ca; }
.builder-layout { display: grid; grid-template-columns: minmax(440px, .9fr) minmax(430px, 1.1fr); gap: 20px; align-items: start; }
.brief-panel, .preview-panel { padding: 28px; }
.panel-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
.step-number { display: inline-grid; flex: 0 0 auto; place-items: center; width: 34px; height: 28px; border-radius: 8px; color: #7a817c; background: #eef0ec; font-size: 9px; font-weight: 850; letter-spacing: .05em; }
.panel-heading h2, .preview-toolbar h2 { margin: 0 0 5px; font-size: 17px; letter-spacing: -.025em; }
.panel-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.field { display: block; margin-bottom: 21px; }
.field > span, .field legend { display: flex; justify-content: space-between; margin-bottom: 8px; color: #353b37; font-size: 11px; font-weight: 750; }
.field em { color: #9aa09b; font-size: 9px; font-style: normal; font-weight: 550; }
.field input[type="text"], .field input[type="url"], .field input[type="password"], .field input[name="model"], .field textarea, .field select, .secret-field { width: 100%; border: 1px solid #d8dcd6; border-radius: 11px; outline: none; color: var(--ink); background: #fbfcfa; font-size: 12px; transition: border .15s, box-shadow .15s; }
.field input[type="text"], .field input[type="url"], .field input[type="password"], .field input[name="model"], .field select { height: 44px; padding: 0 13px; }
.source-url-field > small { display: block; margin-top: 7px; color: #7d857f; font-size: 9px; line-height: 1.45; }
.field textarea { padding: 12px 13px; line-height: 1.55; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #7b8a80; box-shadow: 0 0 0 3px rgba(17,21,18,.06); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.fieldset-clean { margin-inline: 0; padding: 0; border: 0; }
.format-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.format-option { min-height: 72px; display: flex; align-items: center; gap: 10px; position: relative; padding: 10px; border: 1px solid #d9ddd7; border-radius: 11px; background: #fbfcfa; cursor: pointer; }
.format-option:has(input:checked) { border-color: var(--ink); background: #f4f6f2; }
.format-option input { position: absolute; opacity: 0; }
.format-option > span:nth-of-type(2) { min-width: 0; }
.format-option strong, .format-option small { display: block; white-space: nowrap; }
.format-option strong { font-size: 10px; }
.format-option small { margin-top: 4px; color: #8b918c; font-size: 8px; }
.format-option i { display: none; position: absolute; right: 6px; top: 5px; color: var(--mint-deep); font-size: 9px; font-style: normal; }
.format-option:has(input:checked) i { display: block; }
.format-shape { display: inline-block; flex: 0 0 auto; border: 1.5px solid currentColor; border-radius: 2px; color: #687069; }
.shape-square { width: 19px; height: 19px; }
.shape-wide { width: 25px; height: 14px; }
.shape-portrait { width: 16px; height: 21px; }
.choice-row { display: flex; gap: 9px; }
.choice-pill { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px 0 8px; border: 1px solid #d9ddd7; border-radius: 10px; font-size: 10px; font-weight: 700; cursor: pointer; }
.choice-pill:has(input:checked) { border-color: var(--ink); }
.choice-pill input { width: 13px; height: 13px; accent-color: var(--ink); }
.audience-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.audience-option { min-height: 64px; display: flex; align-items: flex-start; gap: 9px; padding: 11px; border: 1px solid #d9ddd7; border-radius: 11px; background: #fbfcfa; cursor: pointer; }
.audience-option:has(input:checked) { border-color: #ff7f00; background: #fff7ed; box-shadow: inset 0 0 0 1px rgba(255,127,0,.12); }
.audience-option input { flex: 0 0 auto; width: 14px; height: 14px; margin: 1px 0 0; accent-color: #ff7f00; }
.audience-option span, .audience-option strong, .audience-option small { display: block; min-width: 0; }
.audience-option strong { margin-bottom: 4px; color: var(--ink); font-size: 10px; }
.audience-option small { color: #858c87; font-size: 7px; line-height: 1.35; }
.swatch { width: 18px; height: 18px; border: 1px solid #d6d9d4; border-radius: 6px; background: var(--swatch, transparent); }
.swatch-red { background: var(--red); }
.swatch-white { border: 1px solid #d6d9d4; background: white; }
.privacy-note { display: flex; flex-direction: column; margin: 4px 0 18px; padding: 12px 14px 12px 40px; position: relative; border-radius: 10px; color: #39664e; background: #ebf8f0; font-size: 9px; }
.privacy-note::before { content: "✓"; position: absolute; left: 14px; top: 13px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--mint-deep); font-size: 9px; }
.privacy-note strong { margin-bottom: 2px; font-size: 10px; }
.spark { font-size: 15px; }

.preview-panel { position: sticky; top: 18px; }
.preview-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.preview-toolbar > div:first-child { display: flex; align-items: center; gap: 11px; }
.segmented { display: flex; padding: 3px; border-radius: 9px; background: #eef0ec; }
.segmented button { min-height: 29px; padding: 0 11px; border: 0; border-radius: 7px; color: #7a817b; background: transparent; font-size: 9px; font-weight: 750; }
.segmented button.active { color: var(--ink); background: white; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.canvas-area { min-height: 440px; display: grid; place-items: center; padding: 24px; overflow: hidden; border-radius: 15px; background: #eaede8; }
.banner-preview { position: relative; overflow: hidden; container-type: inline-size; isolation: isolate; box-shadow: 0 22px 50px rgba(17,21,18,.19); transition: width .35s, aspect-ratio .35s, color .2s, background .2s; }
.banner-preview.format-square { width: min(360px, 85%); aspect-ratio: 1; }
.banner-preview.format-wide { width: min(500px, 95%); aspect-ratio: 900/471; }
.banner-preview.format-portrait { width: min(300px, 70%); aspect-ratio: 4/5; }
.banner-preview.theme-red { color: white; background: var(--red); }
.banner-preview.theme-light { color: var(--ink); background: white; }
.banner-preview.theme-orange-fan, .banner-preview.theme-orange-e { color: #000; background: #ff7f00; }
.banner-preview.theme-black-fan, .banner-preview.theme-black-e { color: #fff; background: #000; }
.brand-corner { position: absolute; z-index: -1; height: auto; transform-origin: center; }
.decor-red { display: none; }
.theme-light .decor-white { display: none; }
.theme-light .decor-red { display: block; }
.corner-top { width: var(--decor-one-size); left: var(--decor-one-x); top: var(--decor-one-y); transform: translate(var(--decor-one-shift-x), var(--decor-one-shift-y)) rotate(var(--decor-one-rotation)); }
.corner-bottom { width: var(--decor-two-size); left: var(--decor-two-x); top: var(--decor-two-y); transform: translate(var(--decor-two-shift-x), var(--decor-two-shift-y)) rotate(var(--decor-two-rotation)); }
.preview-copy { width: var(--content-width); position: absolute; z-index: 2; left: var(--content-x); top: var(--content-top); }
.preview-copy h3 { margin-bottom: 2cqi; font-size: var(--headline-size); line-height: 1.08; letter-spacing: -.035em; white-space: pre-wrap; transform: translate(var(--headline-shift-x), var(--headline-shift-y)); transform-origin: left top; }
.preview-copy p { margin-bottom: 2.4cqi; font-size: var(--body-size); line-height: 1.38; white-space: pre-wrap; transform: translate(var(--body-shift-x), var(--body-shift-y)); transform-origin: left top; }
.preview-cta { display: inline-flex; min-height: var(--cta-height); max-width: var(--cta-max); align-items: center; justify-content: center; margin-left: var(--cta-offset); padding: var(--cta-v-padding) var(--cta-padding); border-radius: var(--cta-radius); color: white; background: var(--red-dark); font-size: var(--cta-size); font-weight: 850; line-height: 1.15; text-align: center; white-space: pre-wrap; transform: translate(var(--cta-shift-x), var(--cta-shift-y)); transform-origin: left top; }
.theme-light .preview-cta { background: var(--red); }
.preview-logo { position: absolute; z-index: 3; left: var(--logo-x); top: var(--logo-y); width: var(--logo-width); height: auto; object-fit: contain; transform: translate(var(--logo-shift-x), var(--logo-shift-y)); transform-origin: left top; }
.logo-red { display: none; }
.theme-light .logo-white { display: none; }
.theme-light .logo-red { display: block; }
.preview-icon { position: absolute; left: var(--icon-x); top: var(--icon-y); width: var(--icon-width); height: var(--icon-height); color: #000; opacity: .34; transform: translate(var(--icon-shift-x), var(--icon-shift-y)); transform-origin: center; }
.preview-icon::before { content: ""; position: absolute; inset: 0; background: currentColor; -webkit-mask: var(--pictogram-mask) center / contain no-repeat; mask: var(--pictogram-mask) center / contain no-repeat; }
.preview-icon img { width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.theme-light .preview-icon { color: var(--brand-light-gray); opacity: 1; }
.brand-elegal.banner-preview { font-family: "Georama", Arial, sans-serif; }
.brand-elegal .preview-copy h3 { font-weight: 700; line-height: 1.18; letter-spacing: -.02em; }
.brand-elegal .preview-copy p { line-height: 1.34; }
.brand-elegal .preview-icon, .brand-elegal .preview-cta, .brand-unused { display: none !important; }
.logo-elegal-white { display: none; }
.preview-logo.is-audience-hidden { display: none !important; }
.theme-black-fan .logo-elegal-black, .theme-black-e .logo-elegal-black { display: none; }
.theme-black-fan .logo-elegal-white, .theme-black-e .logo-elegal-white { display: block; }
.brand-elegal .preview-toolbar { display: grid; grid-template-columns: 1fr; gap: 12px; }
.brand-elegal .segmented { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.brand-elegal .segmented button { white-space: nowrap; }
.builder-layout.brand-elegal .choice-row { display: grid; grid-template-columns: 1fr 1fr; }
.elegal-fan, .elegal-e-symbol { position: absolute; z-index: 0; display: none; pointer-events: none; }
.theme-orange-fan .elegal-fan, .theme-black-fan .elegal-fan { display: block; }
/* Vějíř je vyexportovaný v poměru stran svého formátu, výška se dopočítá. */
.elegal-fan { left: var(--decor-one-x); top: var(--decor-one-y); width: var(--decor-one-size); height: auto; transform: translate(var(--decor-one-shift-x), var(--decor-one-shift-y)); transform-origin: left top; }
.elegal-fan-wide, .elegal-fan-portrait { display: none !important; }
.format-wide .elegal-fan-square, .format-portrait .elegal-fan-square { display: none !important; }
.theme-orange-fan.format-wide .elegal-fan-wide, .theme-black-fan.format-wide .elegal-fan-wide { display: block !important; }
.theme-orange-fan.format-portrait .elegal-fan-portrait, .theme-black-fan.format-portrait .elegal-fan-portrait { display: block !important; }
.theme-black-e .elegal-e-gradient, .theme-orange-e .elegal-e-gradient { display: block; }
.elegal-e-symbol { width: var(--decor-two-size); left: var(--decor-two-x); top: var(--decor-two-y); aspect-ratio: 410 / 341; transform: translate(var(--decor-two-shift-x), var(--decor-two-shift-y)); transform-origin: left top; }
.elegal-e-gradient { height: auto; object-fit: contain; }
.theme-orange-e .elegal-e-gradient { filter: url(#elegal-orange-symbol-filter); }
.elegal-e-dark { background: #000; -webkit-mask: url('/brand/elegal/symbol-e-mask.png') center / contain no-repeat; mask: url('/brand/elegal/symbol-e-mask.png') center / contain no-repeat; }
.brand-elegal.theme-orange-e.format-wide .preview-copy, .brand-elegal.theme-black-e.format-wide .preview-copy { text-align: right; }
.preview-formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 13px; }
.preview-formats button { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #dce0da; border-radius: 9px; color: #777f79; background: white; font-size: 9px; font-weight: 700; }
.preview-formats button.active { color: var(--ink); border-color: var(--ink); background: #f3f5f1; }
/* Zdroje pro AI */
.source-urls { margin-bottom: 21px; }
.source-url-rows { display: grid; gap: 7px; }
.source-url-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px; }
.source-url-row input { width: 100%; height: 44px; padding: 0 13px; border: 1px solid #d8dcd6; border-radius: 11px; outline: none; color: var(--ink); background: #fbfcfa; font-size: 12px; transition: border .15s, box-shadow .15s; }
.source-url-row input:focus { border-color: #7b8a80; box-shadow: 0 0 0 3px rgba(17,21,18,.06); }
.source-url-remove { width: 34px; height: 34px; border: 1px solid #dfe3dd; border-radius: 9px; color: #8b928d; background: white; font-size: 15px; line-height: 1; cursor: pointer; }
.source-url-remove:hover { color: var(--red-dark); border-color: #efb9c3; background: #fff5f7; }
.source-url-remove[hidden] { display: none; }
.source-url-tools { display: flex; align-items: baseline; gap: 12px; margin-top: 9px; }
.source-url-tools button { flex: 0 0 auto; padding: 0; border: 0; color: var(--red); background: transparent; font-family: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }
.source-url-tools button:hover { text-decoration: underline; }
.source-url-tools button[hidden] { display: none; }
.source-url-tools small { color: #7d857f; font-size: 9px; line-height: 1.45; }
.source-url-report { display: grid; gap: 5px; margin: 10px 0 0; padding: 0; list-style: none; }
.source-url-report[hidden] { display: none; }
.source-url-report li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 9px; background: #f4f6f2; }
.source-url-report span { overflow: hidden; font-size: 8px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.source-url-report small { font-size: 8px; }
.source-url-report .is-success { background: #eef8f2; }
.source-url-report .is-success small { color: var(--mint-deep); }
.source-url-report .is-error { background: #fff2f4; }
.source-url-report .is-error small { color: var(--red-dark); }
.variant-count-field input[type="number"] { width: 100%; height: 44px; padding: 0 13px; border: 1px solid #d8dcd6; border-radius: 11px; outline: none; color: var(--ink); background: #fbfcfa; font-size: 12px; }
.variant-count-field input[type="number"]:focus { border-color: #7b8a80; box-shadow: 0 0 0 3px rgba(17,21,18,.06); }
.variant-count-field > small { display: block; margin-top: 7px; color: #7d857f; font-size: 9px; line-height: 1.45; }
.claim-panel { margin-top: 20px; }
.claim-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: #343a36; font-size: 10px; font-weight: 800; }
.claim-heading small { color: #939a95; font-weight: 550; }
.claim-heading b { color: var(--red); font-weight: 850; }
.claim-add { flex: 0 0 auto; padding: 5px 0; border: 0; color: var(--red); background: transparent; font-family: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }
.claim-add:hover:not(:disabled) { text-decoration: underline; }
.claim-add:disabled { color: #a7ada8; cursor: default; }
.export-claim-filter legend em { color: #9aa09b; font-size: 8px; font-style: normal; font-weight: 550; }
.claim-choice { width: 100%; min-height: 44px; display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 8px; margin-top: 6px; padding: 0 11px; border: 1px solid #e0e3de; border-radius: 9px; color: #737a75; background: white; text-align: left; }
.claim-choice span { font-size: 9px; }
.claim-choice strong { color: var(--ink); font-size: 10px; }
.claim-choice i { font-style: normal; }
.claim-choice.active { border-color: var(--red); background: #fff5f7; }
.claim-choice.active span, .claim-choice.active i { color: var(--red); }
.manual-editor { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.manual-editor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.manual-editor-heading .section-kicker { margin-bottom: 6px; font-size: 7px; }
.manual-editor-heading h2 { margin: 0 0 4px; font-size: 14px; }
.manual-editor-heading p { margin: 0; color: var(--muted); font-size: 8px; }
.manual-reset { flex: 0 0 auto; margin-top: 3px; padding: 6px 0; border: 0; color: var(--red); background: transparent; font-family: inherit; font-size: 8px; font-weight: 800; cursor: pointer; }
.manual-scope { margin: 14px 0 13px; padding: 0; border: 0; }
.manual-scope legend { margin-bottom: 7px; color: #555d57; font-size: 8px; font-weight: 800; }
.manual-scope-options { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.manual-scope-options label { min-width: 0; display: grid; grid-template-columns: 14px 1fr; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid #dfe3dd; border-radius: 9px; background: #fbfcfa; cursor: pointer; }
.manual-scope-options label:has(input:checked) { border-color: var(--red); background: #fff7f8; }
.manual-scope-options input { width: 13px; height: 13px; margin: 0; accent-color: var(--red); }
.manual-scope-options span { min-width: 0; display: grid; gap: 2px; }
.manual-scope-options strong { color: var(--ink); font-size: 8px; }
.manual-scope-options strong b { font: inherit; }
.manual-scope-options small { overflow: hidden; color: #8c938e; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.manual-scope-status { display: block; margin-top: 7px; color: #848c86; font-size: 7px; line-height: 1.45; }
.manual-scope-status.has-override { color: var(--red); font-weight: 750; }
.manual-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.manual-field { display: grid; gap: 6px; }
.manual-field-wide { grid-column: 1 / -1; }
.manual-field > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #343a36; font-size: 9px; font-weight: 800; }
.manual-field > span small { color: #9aa09b; font-size: 7px; font-weight: 550; }
.manual-field > span b { font-weight: 700; }
.manual-field input, .manual-field textarea { width: 100%; padding: 10px 11px; border: 1px solid #d8ddd7; border-radius: 9px; outline: 0; color: var(--ink); background: #fbfcfa; font-family: inherit; font-size: 9px; line-height: 1.45; transition: border-color .2s, box-shadow .2s, background .2s; }
.manual-field input { height: 39px; }
.manual-field textarea { min-height: 70px; resize: vertical; }
.manual-field textarea[data-manual-title], .manual-field textarea[data-manual-cta] { min-height: 54px; }
.manual-field input:focus, .manual-field textarea:focus { border-color: var(--red); background: white; box-shadow: 0 0 0 3px rgba(234,29,60,.07); }
.manual-text-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.manual-text-tools > span { margin-right: 3px; color: #8c938e; font-size: 7px; font-weight: 700; }
.manual-text-tools button { min-height: 28px; padding: 0 9px; border: 1px solid #d8ddd7; border-radius: 7px; color: #535b55; background: white; font-family: inherit; font-size: 7px; font-weight: 800; cursor: pointer; }
.manual-text-tools button:hover { color: var(--red); border-color: #ef9cac; background: #fff5f7; }
.pictogram-control { margin-top: 12px; }
.pictogram-label { display: block; margin-bottom: 6px; color: #343a36; font-size: 9px; font-weight: 800; }
.pictogram-trigger { width: 100%; min-height: 54px; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 7px 11px 7px 7px; border: 1px solid #d8ddd7; border-radius: 10px; color: var(--ink); background: white; text-align: left; cursor: pointer; }
.pictogram-trigger-preview { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: #f0f2ef; }
.pictogram-trigger-preview img { max-width: 28px; max-height: 28px; object-fit: contain; }
.pictogram-trigger strong, .pictogram-trigger small { display: block; }
.pictogram-trigger strong { margin-bottom: 3px; font-size: 9px; }
.pictogram-trigger small { color: #8f9690; font-size: 7px; }
.pictogram-trigger i { color: var(--red); font-size: 8px; font-style: normal; font-weight: 800; }
.pictogram-options { margin-top: 7px; padding: 10px; border: 1px solid #dfe3de; border-radius: 11px; background: #f7f8f6; box-shadow: 0 12px 28px rgba(21,28,23,.08); }
.pictogram-options[hidden], .pictogram-option[hidden], .pictogram-empty[hidden] { display: none; }
.pictogram-search { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; margin-bottom: 9px; padding: 0 10px; border: 1px solid #d8ddd7; border-radius: 8px; background: white; }
.pictogram-search span { color: #919892; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.pictogram-search input { width: 100%; height: 34px; border: 0; outline: 0; background: transparent; font-family: inherit; font-size: 8px; }
.pictogram-grid { max-height: 248px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; overflow-y: auto; }
.pictogram-option { min-width: 0; display: grid; gap: 4px; padding: 5px; border: 1px solid transparent; border-radius: 8px; color: #59615b; background: white; cursor: pointer; }
.pictogram-option > span { height: 43px; display: grid; place-items: center; border-radius: 6px; background: #f0f2ef; }
.pictogram-option img { max-width: 28px; max-height: 28px; object-fit: contain; }
.pictogram-option small { overflow: hidden; font-size: 6px; font-weight: 700; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.pictogram-option:hover { border-color: #c8cec8; }
.pictogram-option.active { border-color: var(--red); background: #fff2f5; box-shadow: inset 0 0 0 1px var(--red); }
.pictogram-empty { display: block; padding: 18px 8px 8px; color: #8e958f; font-size: 8px; text-align: center; }
.layout-tuner { margin-top: 15px; padding: 14px; border: 1px solid #dfe3de; border-radius: 12px; background: #f7f8f6; }
.layout-tuner-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.layout-tuner-heading strong, .layout-tuner-heading small { display: block; }
.layout-tuner-heading strong { margin-bottom: 4px; font-size: 10px; }
.layout-tuner-heading small { color: #8b928d; font-size: 7px; }
.layout-tuner-heading button { flex: 0 0 auto; padding: 2px 0; border: 0; color: var(--red); background: transparent; font-family: inherit; font-size: 8px; font-weight: 800; cursor: pointer; }
.layout-element-select { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; margin-top: 13px; }
.layout-element-select > span { font-size: 8px; font-weight: 800; }
.layout-element-select select { width: 100%; height: 36px; padding: 0 10px; border: 1px solid #d8ddd7; border-radius: 8px; outline: 0; color: var(--ink); background: white; font-family: inherit; font-size: 8px; }
.layout-sliders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 13px; }
.layout-sliders label { min-width: 0; }
.layout-sliders span { display: flex; justify-content: space-between; gap: 5px; margin-bottom: 8px; color: #555d57; font-size: 7px; font-weight: 700; }
.layout-sliders output { color: var(--red); font-weight: 850; }
.layout-sliders input { width: 100%; height: 4px; accent-color: var(--red); cursor: pointer; }
.layout-tuner-note { display: block; margin-top: 10px; color: #929994; font-size: 7px; line-height: 1.45; }
/* Rozpracovaná kampaň */
.draft-panel { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.draft-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.draft-heading .section-kicker { margin-bottom: 6px; font-size: 7px; }
.draft-heading h2 { margin: 0 0 4px; font-size: 14px; }
.draft-heading p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.45; }
.draft-list-link { flex: 0 0 auto; margin-top: 3px; color: var(--red); font-size: 8px; font-weight: 800; }
.draft-list-link:hover { text-decoration: underline; }
.draft-actions { display: flex; align-items: center; gap: 12px; margin-top: 13px; }
.draft-actions .button { flex: 0 0 auto; min-height: 38px; padding-inline: 15px; font-size: 10px; }
.draft-status { min-width: 0; color: #8b928d; font-size: 8px; line-height: 1.4; }
.draft-status.is-working { color: var(--red); font-weight: 700; }
.draft-status.is-success { color: var(--mint-deep); font-weight: 700; }
.draft-status.is-error { color: var(--red-dark); font-weight: 700; }
.draft-empty { padding: 34px 30px; text-align: center; }
.draft-empty strong { display: block; margin-bottom: 7px; font-size: 15px; }
.draft-empty p { max-width: 460px; margin: 0 auto 18px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.draft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.draft-card { display: flex; flex-direction: column; padding: 20px; }
.draft-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.draft-card-head h3 { margin: 0 0 4px; font-size: 16px; letter-spacing: -.02em; }
.draft-card-head small { color: #8b928d; font-size: 9px; }
.draft-card-brief { min-height: 46px; margin: 0 0 14px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.draft-card-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.draft-card-meta dt { color: #949b95; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.draft-card-meta dd { margin: 4px 0 0; font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.draft-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.draft-card-actions .button { min-height: 38px; padding-inline: 16px; font-size: 10px; }
.draft-card-actions form { margin: 0; }
.draft-delete { padding: 6px 0; border: 0; color: #98a09a; background: transparent; font-family: inherit; font-size: 9px; font-weight: 700; cursor: pointer; }
.draft-delete:hover { color: var(--red-dark); text-decoration: underline; }
.export-panel { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.export-heading { display: flex; align-items: flex-start; gap: 11px; }
.export-heading h2 { margin: 0 0 4px; font-size: 14px; }
.export-heading p { margin: 0; color: var(--muted); font-size: 9px; }
.export-claim-filter { margin: 14px 0 0; padding: 0; border: 0; }
.export-claim-filter legend { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: #353b37; font-size: 9px; font-weight: 800; }
.export-claim-tools { display: flex; align-items: center; gap: 9px; }
.export-claim-tools button { padding: 0; border: 0; color: var(--red); background: transparent; font-size: 8px; font-weight: 750; cursor: pointer; }
.export-claim-tools button:hover { text-decoration: underline; }
.export-claim-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.export-claim-option { min-width: 0; min-height: 36px; display: grid; grid-template-columns: 14px 20px minmax(0, 1fr); align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid #dfe3dd; border-radius: 9px; color: #7c837e; background: #fbfcfa; cursor: pointer; transition: border-color .15s, background .15s, opacity .15s; }
.export-claim-option:has(input:checked) { border-color: #b9c2ba; background: white; }
.export-claim-option input { width: 13px; height: 13px; margin: 0; accent-color: var(--red); }
.export-claim-option span { font-size: 8px; font-weight: 700; }
.export-claim-option strong { min-width: 0; overflow: hidden; color: var(--ink); font-size: 8px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.export-claim-option:not(:has(input:checked)) { opacity: .56; }
.export-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
.export-actions .button { min-width: 0; padding-inline: 11px; font-size: 10px; }
.export-status { display: block; min-height: 14px; margin-top: 9px; color: #8b928d; font-size: 8px; line-height: 1.4; }
.export-status.is-working { color: var(--red); font-weight: 700; }
.export-status.is-success { color: var(--mint-deep); font-weight: 700; }
.export-status.is-error { color: var(--red-dark); font-weight: 700; }
.generation-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; background: rgba(17,21,18,.7); backdrop-filter: blur(8px); transition: .2s; }
.generation-overlay.show { visibility: visible; opacity: 1; }
.generation-error { display: block; margin-top: 10px; padding: 11px 13px; border: 1px solid #f2bbc4; border-radius: 10px; color: var(--red-dark); background: #fff1f3; font-size: 9px; font-weight: 700; line-height: 1.45; }
.generation-error[hidden] { display: none; }
.generation-card { width: min(410px, 100%); padding: 38px; border-radius: 22px; background: white; text-align: center; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.generation-mark { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 15px; color: var(--red); background: #ffe8ed; font-size: 24px; }
.generation-card h2 { margin-bottom: 8px; font-size: 20px; }
.generation-card p { color: var(--muted); font-size: 11px; }
.generation-track { height: 5px; margin-top: 24px; overflow: hidden; border-radius: 10px; background: #ecefeb; }
.generation-track i { display: block; width: 40%; height: 100%; border-radius: inherit; background: var(--red); animation: loading 1.2s infinite ease-in-out; }
@keyframes loading { from { transform: translateX(-100%); } to { transform: translateX(350%); } }

/* Library */
.library-summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 18px; }
.library-summary article { min-height: 92px; display: flex; align-items: center; gap: 13px; position: relative; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.asset-type-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; font-size: 13px; font-weight: 900; }
.asset-type-mark.red { color: white; background: var(--red); }
.asset-type-mark.ink { color: white; background: var(--ink); }
.asset-type-mark.pale { color: var(--red); background: #ffe5eb; }
.asset-type-mark.mint { color: #165c39; background: var(--mint); }
.asset-type-mark.gray { color: white; background: var(--brand-gray); }
.library-summary strong, .library-summary small { display: block; }
.library-summary strong { font-size: 20px; }
.library-summary small { color: var(--muted); font-size: 9px; }
.library-summary em { position: absolute; right: 10px; top: 9px; color: #9ba19c; font-size: 7px; font-style: normal; text-transform: uppercase; }
.library-card { overflow: hidden; }
.library-toolbar { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.library-tabs { display: flex; align-items: center; gap: 5px; }
.library-tabs button { min-height: 34px; padding: 0 12px; border: 0; border-radius: 9px; color: #737a74; background: transparent; font-size: 10px; font-weight: 750; }
.library-tabs button span { margin-left: 4px; color: #a1a7a2; font-size: 8px; }
.library-tabs button.active { color: var(--ink); background: #edf0eb; }
.search-field { width: 230px; height: 38px; position: relative; }
.search-field span { position: absolute; left: 12px; top: 50%; color: #8b928d; font-size: 0; transform: translateY(-50%); }
.search-field span::after { content: "⌕"; font-size: 18px; }
.search-field input { width: 100%; height: 100%; padding: 0 12px 0 36px; border: 1px solid #dadeD8; border-radius: 10px; outline: none; background: #fbfcfa; font-size: 10px; }
.asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 20px; }
.asset-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; }
.asset-card[hidden] { display: none; }
.asset-preview { height: 200px; display: grid; place-items: center; position: relative; overflow: hidden; background: #eef0ed; }
.asset-preview img { width: 100%; height: 100%; object-fit: contain; }
.asset-preview > a { width: 100%; height: 100%; display: block; }
.asset-preview.is-dark { background: var(--ink); }
.asset-preview.is-font { background: var(--brand-light-gray); }
.font-sample { display: grid; place-items: center; gap: 3px; color: var(--ink); font-family: "Gordita", sans-serif; }
.font-sample span { font-size: 58px; line-height: 1; letter-spacing: -.08em; }
.font-sample small { color: var(--brand-gray); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.approved-badge { position: absolute; left: 9px; top: 9px; padding: 5px 8px; border-radius: 20px; color: #195e3a; background: rgba(226,248,235,.94); font-size: 7px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.asset-info { min-height: 65px; display: flex; align-items: center; justify-content: space-between; padding: 11px 13px; }
.asset-info strong, .asset-info small { display: block; }
.asset-info strong { font-size: 10px; }
.asset-info small { margin-top: 4px; color: #8b928d; font-size: 8px; }
.asset-info button, .asset-info > a { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; color: #858c87; background: #f3f5f1; letter-spacing: 1px; }
.asset-upload-card { min-height: 266px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-style: dashed; color: #888f89; }
.asset-upload-card span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 50%; color: var(--ink); background: var(--mint); font-size: 20px; }
.asset-upload-card strong { color: var(--ink); font-size: 11px; }
.asset-upload-card small { margin-top: 5px; font-size: 8px; }
.empty-filter { padding: 60px 20px; text-align: center; }
.empty-filter strong { font-size: 15px; }
.empty-filter p { margin: 7px 0 0; color: var(--muted); font-size: 10px; }

/* Templates */
.template-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.template-card { overflow: hidden; }
.template-stage { height: 310px; display: grid; place-items: center; padding: 25px; background: #e9ece7; }
.template-art { position: relative; overflow: hidden; color: white; background: var(--red); box-shadow: 0 16px 36px rgba(17,21,18,.16); }
.template-art.square { width: 210px; aspect-ratio: 1; }
.template-art.wide { width: 285px; aspect-ratio: 900/471; }
.template-art.portrait { width: 178px; aspect-ratio: 4/5; }
.template-art .template-decor { position: absolute; height: auto; transform-origin: center; }
.template-art .decor-a { width: 36%; right: 0; top: -10%; transform: rotate(12deg); }
.template-art .decor-b { width: 36%; left: -17%; bottom: 0; transform: rotate(192deg); }
.template-art b { position: absolute; left: 10%; top: 25%; font-size: 13px; line-height: 1.06; }
.template-art p { width: 67%; position: absolute; left: 10%; top: 43%; font-size: 6px; line-height: 1.35; }
.template-art i { position: absolute; left: 10%; bottom: 18%; padding: 6px 9px; border-radius: 15px; background: var(--red-dark); font-size: 6px; font-style: normal; font-weight: 800; }
.template-art em { position: absolute; right: 6%; bottom: 5%; font-size: 6px; font-style: normal; font-weight: 800; }
.template-art .template-logo { width: 18%; height: auto; position: absolute; right: 6%; bottom: 5%; }
.template-art.square i { left: 19%; }
.template-art.wide .decor-a { width: 24%; left: 34%; right: auto; top: -14%; }
.template-art.wide .decor-b { width: 24%; left: auto; right: -8%; top: 41%; bottom: auto; transform: rotate(102deg); }
.template-art.portrait .decor-a { width: 32%; right: 3%; top: -9%; }
.template-art.portrait .decor-b { width: 32%; left: 10%; bottom: -8%; }
.template-art.wide b { top: 25%; font-size: 14px; }
.template-art.wide p { top: 44%; }
.template-art.wide i { bottom: 14%; }
.template-art.portrait b { top: 22%; }
.template-art.portrait p { top: 42%; font-size: 6px; }
.elegal-template-reference { display: block; object-fit: contain; box-shadow: 0 16px 36px rgba(17,21,18,.16); }
.elegal-template-reference.square { width: 210px; aspect-ratio: 1; }
.elegal-template-reference.wide { width: 285px; aspect-ratio: 900/471; }
.elegal-template-reference.portrait { width: 178px; aspect-ratio: 4/5; }
.studio-brand-elegal .font-sample { font-family: "Georama", Arial, sans-serif; }
.template-info { padding: 20px; }
.template-info h2 { margin: 15px 0 5px; font-size: 17px; }
.template-info p { margin-bottom: 14px; color: var(--muted); font-size: 10px; }
.template-info small { color: #929993; font-size: 8px; }
.rule-callout { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 20px; padding: 28px 30px; }
.rule-callout h2 { margin-bottom: 7px; font-size: 20px; }
.rule-callout p { max-width: 700px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

/* Settings */
.settings-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 18px; }
.settings-main { display: grid; gap: 16px; }
.settings-card { padding: 26px; }
.validation-summary { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 14px 18px; border: 1px solid #f2bcc5; border-radius: 13px; color: var(--red-dark); background: #fff2f4; font-size: 10px; }
.validation-summary strong { font-size: 11px; }
.settings-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 25px; }
.settings-heading > div { flex: 1; }
.settings-heading h2 { margin-bottom: 5px; font-size: 17px; }
.settings-heading p { margin-bottom: 0; color: var(--muted); font-size: 10px; }
.settings-index { color: var(--red); font-size: 9px; font-weight: 850; letter-spacing: .05em; }
.secret-field { display: grid; grid-template-columns: 1fr auto; overflow: hidden; }
.secret-field input { border: 0 !important; box-shadow: none !important; background: transparent !important; }
.secret-field button { padding: 0 13px; border: 0; color: var(--red); background: transparent; font-size: 9px; font-weight: 750; }
.saved-key-note { display: block; margin-top: 6px; color: #858c87; font-size: 8px; line-height: 1.45; }
.remove-key-option { width: fit-content; display: flex; align-items: center; gap: 7px; margin: -5px 0 15px; color: var(--red-dark); font-size: 8px; font-weight: 700; cursor: pointer; }
.remove-key-option[hidden] { display: none; }
.remove-key-option input { width: 12px; height: 12px; accent-color: var(--red); }
.model-actions { min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.model-actions small { color: #8b928d; font-size: 8px; line-height: 1.35; }
.model-actions small.is-error { color: var(--red-dark); }
.model-actions small.is-success { color: var(--mint-deep); font-weight: 700; }
.field input[type="range"] { width: 100%; height: 5px; accent-color: var(--red); }
.toggle-list { display: grid; gap: 4px; }
.toggle-list label { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; padding: 9px 0; border-bottom: 1px solid #edf0ec; cursor: pointer; }
.toggle-list label:last-child { border-bottom: 0; }
.toggle-list strong, .toggle-list small { display: block; }
.toggle-list strong { font-size: 11px; }
.toggle-list small { margin-top: 4px; color: #858c87; font-size: 9px; }
.toggle-list input { position: absolute; opacity: 0; }
.toggle-list i { width: 36px; height: 20px; position: relative; flex: 0 0 auto; border-radius: 20px; background: #d7dbd6; transition: .2s; }
.toggle-list i::after { content: ""; width: 14px; height: 14px; position: absolute; left: 3px; top: 3px; border-radius: 50%; background: white; transition: .2s; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.toggle-list input:checked + i { background: var(--ink); }
.toggle-list input:checked + i::after { transform: translateX(16px); }
.toggle-list input:disabled + i { background: var(--mint-deep); }
.prompt-variable-note { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding: 15px 17px; border-radius: 12px; background: #f1f8f4; }
.prompt-variable-note strong { display: block; margin-bottom: 4px; font-size: 10px; }
.prompt-variable-note p { max-width: 500px; margin: 0; color: #6f7c73; font-size: 9px; line-height: 1.5; }
.prompt-chips { max-width: 330px; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 5px; }
.prompt-chips code { padding: 5px 7px; border: 1px solid #d5e6db; border-radius: 6px; color: #38664e; background: white; font-family: Consolas, monospace; font-size: 8px; }
.prompt-editor-list { display: grid; gap: 12px; }
.prompt-editor { padding: 17px; border: 1px solid #e2e6e1; border-radius: 13px; background: #fbfcfa; }
.prompt-editor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.prompt-editor-heading strong, .prompt-editor-heading small { display: block; }
.prompt-editor-heading strong { margin-bottom: 4px; font-size: 11px; }
.prompt-editor-heading small { color: #858c87; font-size: 8px; line-height: 1.45; }
.prompt-editor-heading button { flex: 0 0 auto; padding: 5px 0; border: 0; color: var(--red); background: transparent; font-family: inherit; font-size: 8px; font-weight: 800; cursor: pointer; }
.prompt-editor textarea { width: 100%; min-height: 122px; padding: 13px 14px; border: 1px solid #d8ddd7; border-radius: 10px; outline: 0; color: var(--ink); background: white; font-family: Gordita, Arial, sans-serif; font-size: 9px; line-height: 1.65; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.prompt-editor textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(234, 29, 60, .08); }
.prompt-editor-foot { display: flex; justify-content: space-between; gap: 15px; margin-top: 7px; color: #969c97; font-size: 8px; }
.settings-aside { display: grid; gap: 14px; position: sticky; top: 18px; }
.settings-summary, .cost-card { padding: 22px; }
.settings-summary h2 { font-size: 17px; line-height: 1.25; }
.summary-progress { height: 6px; overflow: hidden; border-radius: 8px; background: #e8ebe7; }
.summary-progress i { display: block; width: 50%; height: 100%; background: var(--red); }
.summary-progress.is-three-quarters i { width: 75%; }
.summary-progress.is-four-fifths i { width: 80%; }
.summary-progress.is-complete i { width: 100%; background: var(--mint-deep); }
.settings-summary ul { display: grid; gap: 10px; margin: 19px 0 0; padding: 0; list-style: none; }
.settings-summary li { position: relative; padding-left: 21px; color: #7b837c; font-size: 9px; }
.settings-summary li::before { content: ""; width: 10px; height: 10px; position: absolute; left: 0; top: 0; border: 1px solid #c6ccc6; border-radius: 50%; }
.settings-summary li.done { color: var(--ink); font-weight: 700; }
.settings-summary li.done::before { border-color: var(--mint-deep); background: var(--mint); box-shadow: inset 0 0 0 3px var(--mint); }
.cost-card { color: white; background: var(--ink); border-color: var(--ink); }
.cost-card span { color: var(--mint); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.cost-card strong { display: block; margin: 13px 0 8px; font-size: 14px; }
.cost-card p { margin: 0; color: #929c94; font-size: 9px; line-height: 1.55; }
.calibration-entry-body { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px; border: 1px solid #e2e6e1; border-radius: 13px; background: #fbfcfa; }
.calibration-entry-body strong { display: block; margin-bottom: 5px; font-size: 11px; }
.calibration-entry-body p { margin: 0; color: #858c87; font-size: 9px; line-height: 1.5; }
.calibration-header { margin-bottom: 24px; }
.calibration-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 20px; }
.calibration-main { min-width: 0; }
.calibration-help { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 17px 19px; }
.calibration-help-mark { width: 30px; height: 30px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 8px; color: #6d756f; background: #eef0ec; font-size: 8px; font-weight: 850; }
.calibration-help div { flex: 1; }
.calibration-help strong { display: block; margin-bottom: 4px; font-size: 11px; }
.calibration-help p { margin: 0; color: #858c87; font-size: 9px; line-height: 1.5; }
.calibration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.calibration-card { padding: 14px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.calibration-card.is-active { border-color: var(--red); box-shadow: 0 0 0 3px rgba(120,128,139,.14); }
.calibration-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.calibration-card header strong, .calibration-card header span { display: block; }
.calibration-card header strong { margin-bottom: 2px; font-size: 10px; }
.calibration-card header span { color: #969d97; font-size: 7px; }
.calibration-card header em { padding: 5px 7px; border-radius: 6px; color: #6f766f; background: #f0f2ef; font-size: 7px; font-style: normal; font-weight: 800; }
.calibration-stage { min-height: 300px; display: grid; place-items: center; overflow: hidden; border-radius: 11px; background: #eaede8; }
.calibration-banner { position: relative; overflow: hidden; container-type: inline-size; isolation: isolate; font-family: "Georama", Arial, sans-serif; box-shadow: 0 15px 35px rgba(17,21,18,.18); }
.calibration-banner.format-square { width: min(245px, 80%); aspect-ratio: 1; }
.calibration-banner.format-wide { width: min(390px, 94%); aspect-ratio: 900 / 471; }
.calibration-banner.format-portrait { width: min(190px, 64%); aspect-ratio: 4 / 5; }
.calibration-banner.theme-orange-fan, .calibration-banner.theme-orange-e { color: #000; background: #ff7f00; }
.calibration-banner.theme-black-fan, .calibration-banner.theme-black-e { color: #fff; background: #000; }
.calibration-banner.theme-red { color: #fff; background: var(--red); }
.calibration-banner.theme-light { color: var(--ink); background: #fff; }
.calibration-banner.brand-enovation { font-family: "Gordita", Verdana, sans-serif; }
.calibration-item { position: absolute; user-select: none; touch-action: none; cursor: grab; }
.calibration-item:active { cursor: grabbing; }
.calibration-card.is-active .calibration-item.is-selected { outline: 1px dashed #38d39f; outline-offset: 4px; }
.calibration-graphic { z-index: 1; left: var(--cal-graphic-x); top: var(--cal-graphic-y); width: var(--cal-graphic-size); height: auto; object-fit: contain; }
.calibration-symbol { aspect-ratio: 410 / 341; }
.calibration-banner.theme-orange-e .calibration-symbol { filter: url(#elegal-orange-symbol-filter); }
.calibration-symbol-dark { background: #000; -webkit-mask: url('/brand/elegal/symbol-e-mask.png') center / contain no-repeat; mask: url('/brand/elegal/symbol-e-mask.png') center / contain no-repeat; }
.calibration-decor { z-index: 0; height: auto; transform-origin: center; }
.calibration-decor-one { left: var(--cal-decorOne-x); top: var(--cal-decorOne-y); width: var(--cal-decorOne-size); rotate: var(--cal-decorOne-rotation); }
.calibration-decor-two { left: var(--cal-decorTwo-x); top: var(--cal-decorTwo-y); width: var(--cal-decorTwo-size); rotate: var(--cal-decorTwo-rotation); }
.calibration-icon { z-index: 1; display: grid; place-items: center; left: var(--cal-icon-x); top: var(--cal-icon-y); width: var(--cal-icon-size); aspect-ratio: 1; opacity: .34; }
.calibration-banner.theme-light .calibration-icon { opacity: 1; filter: grayscale(1) opacity(.45); }
.calibration-icon img { width: 100%; height: 100%; object-fit: contain; }
.calibration-copy { z-index: 2; left: var(--cal-copy-x); top: var(--cal-copy-y); width: var(--cal-copy-width); transform: scale(var(--cal-copy-size)); transform-origin: left top; }
.calibration-copy h3 { margin: 0 0 2cqi; font-size: 6.6cqi; line-height: 1.18; letter-spacing: -.02em; }
.calibration-copy p { margin: 0; font-size: 4.3cqi; line-height: 1.34; }
/* Vpravo se sází jen symbolová varianta na šířku, stejně jako v náhledu i exportu. */
.calibration-banner.brand-elegal.theme-orange-e.format-wide .calibration-copy,
.calibration-banner.brand-elegal.theme-black-e.format-wide .calibration-copy { text-align: right; transform-origin: right top; }
.calibration-banner.format-wide .calibration-copy h3 { font-size: 5.2cqi; }
.calibration-banner.format-wide .calibration-copy p { font-size: 2.9cqi; }
.calibration-banner.format-portrait .calibration-copy h3 { font-size: 7.3cqi; }
.calibration-banner.brand-enovation .calibration-copy h3 { font-size: 9cqi; line-height: 1.08; letter-spacing: -.035em; }
.calibration-banner.brand-enovation .calibration-copy p { font-size: 3.9cqi; line-height: 1.38; }
.calibration-banner.brand-enovation.format-wide .calibration-copy h3 { font-size: 5.8cqi; }
.calibration-banner.brand-enovation.format-wide .calibration-copy p { font-size: 2.45cqi; }
.calibration-cta { display: inline-flex; align-items: center; margin-top: 2.4cqi; padding: 1.9cqi 4.6cqi; border-radius: 5cqi; color: #fff; background: var(--red-dark); font-size: 3.4cqi; font-weight: 850; }
.calibration-banner.format-wide .calibration-cta { padding: 1.2cqi 3cqi; font-size: 2.2cqi; }
.calibration-banner.theme-light .calibration-cta { background: var(--red); }
.calibration-logo { z-index: 3; left: var(--cal-logo-x); top: var(--cal-logo-y); width: var(--cal-logo-size); height: auto; object-fit: contain; }
.calibration-controls { position: sticky; top: 18px; padding: 22px; }
.calibration-controls h2 { margin: 6px 0; font-size: 18px; }
.calibration-controls > p { margin: 0; color: #858c87; font-size: 9px; line-height: 1.5; }
.calibration-element-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 4px; margin: 18px 0; padding: 3px; border-radius: 9px; background: #eef0ec; }
.calibration-element-tabs button { min-height: 31px; padding: 4px 5px; border: 0; border-radius: 7px; color: #7a817b; background: transparent; font-family: inherit; font-size: 8px; font-weight: 800; line-height: 1.25; cursor: pointer; }
.calibration-element-tabs button.active { color: #111512; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.09); }
.calibration-sliders { display: grid; gap: 15px; }
.calibration-sliders label { display: grid; gap: 8px; }
.calibration-sliders label[hidden] { display: none; }
.calibration-sliders span { display: flex; justify-content: space-between; gap: 10px; color: #3f4541; font-size: 8px; font-weight: 800; }
.calibration-sliders output { color: var(--red); }
.calibration-sliders input { width: 100%; accent-color: var(--red); }
.calibration-actions-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 20px 0 14px; }
.calibration-actions-secondary button { min-height: 36px; padding: 7px; border: 1px solid #dce0da; border-radius: 8px; color: #606862; background: white; font-family: inherit; font-size: 7px; font-weight: 800; cursor: pointer; }
.calibration-save-note { margin-bottom: 13px; padding: 12px; border-radius: 9px; background: #eff9f4; }
.calibration-save-note strong, .calibration-save-note span { display: block; }
.calibration-save-note strong { margin-bottom: 4px; color: #287052; font-size: 8px; }
.calibration-save-note span { color: #668174; font-size: 7px; line-height: 1.45; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; max-width: min(420px, calc(100% - 30px)); padding: 12px 16px; border-radius: 11px; color: white; background: var(--ink); box-shadow: 0 15px 45px rgba(0,0,0,.24); font-size: 11px; font-weight: 650; visibility: hidden; opacity: 0; transform: translate(-50%, 12px); transition: .2s; }
.toast.show { visibility: visible; opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1120px) {
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .campaign-grid, .template-grid, .draft-grid { grid-template-columns: repeat(2, 1fr); }
    .campaign-new { min-height: 280px; }
    .builder-layout { grid-template-columns: 1fr; }
    .preview-panel { position: static; }
    .settings-layout { grid-template-columns: 1fr; }
    .calibration-layout { grid-template-columns: 1fr; }
    .calibration-controls { position: static; }
    .settings-aside { position: static; grid-template-columns: 1fr 1fr; }
    .settings-aside .button { grid-column: 1 / -1; }
    .library-summary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .app-shell { display: block; }
    .sidebar { position: fixed; width: 256px; transform: translateX(-105%); transition: transform .25s; box-shadow: 25px 0 70px rgba(0,0,0,.2); }
    .sidebar.open { transform: translateX(0); }
    .topbar { padding: 0 20px; }
    .mobile-menu { display: block; padding: 7px 10px; border: 1px solid #ccd1cb; border-radius: 8px; background: white; font-size: 10px; font-weight: 750; }
    .page-content { padding: 30px 20px 55px; }
    .quick-start { grid-template-columns: 1fr; padding: 35px; }
    .format-stack { min-height: 250px; }
    .campaign-grid, .template-grid, .draft-grid { grid-template-columns: 1fr; }
    .asset-grid { grid-template-columns: repeat(2, 1fr); }
    .library-toolbar { align-items: stretch; flex-direction: column; }
    .search-field { width: 100%; }
    .prompt-variable-note { flex-direction: column; }
    .prompt-chips { max-width: none; justify-content: flex-start; }
    .calibration-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .validation-summary, .prompt-editor-heading { align-items: flex-start; flex-direction: column; }
    .hero-row, .library-header, .builder-header { align-items: stretch; flex-direction: column; }
    .hero-row .button, .library-header .button { width: 100%; }
    .hero-row h1, .library-header h1, .builder-header h1 { font-size: 34px; }
    .builder-progress { margin: 6px 0 20px; }
    .metrics-grid, .library-summary { grid-template-columns: 1fr; }
    .quick-start { min-height: 650px; padding: 28px; }
    .mini-square { left: 0; }
    .mini-portrait { left: 27%; }
    .mini-wide { left: 18%; top: 62%; }
    .field-grid, .format-options, .audience-options { grid-template-columns: 1fr; }
    .format-option { min-height: 60px; }
    .brief-panel, .preview-panel { padding: 20px; }
    .canvas-area { min-height: 370px; padding: 14px; }
    .banner-preview.format-square { width: 95%; }
    .banner-preview.format-portrait { width: 75%; }
    .preview-formats button { flex-direction: column; gap: 3px; }
    .manual-scope-options, .manual-fields { grid-template-columns: 1fr; }
    .manual-field-wide { grid-column: auto; }
    .pictogram-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .layout-element-select { grid-template-columns: 1fr; gap: 6px; }
    .layout-sliders { grid-template-columns: 1fr; }
    .export-claim-options, .export-actions { grid-template-columns: 1fr; }
    .asset-grid { grid-template-columns: 1fr; }
    .library-tabs { overflow-x: auto; }
    .library-tabs button { white-space: nowrap; }
    .settings-aside { grid-template-columns: 1fr; }
    .rule-callout { align-items: stretch; flex-direction: column; }
    .calibration-entry-body, .calibration-help { align-items: stretch; flex-direction: column; }
    .calibration-entry-body .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
