:root {
  --navy: #102044;
  --navy-2: #25385f;
  --yellow: #ffc91f;
  --yellow-soft: #fff5bf;
  --blue: #3f92ec;
  --blue-soft: #eaf5ff;
  --mint: #21b985;
  --paper: #fff;
  --muted: #67738a;
  --line: #dfe5ef;
}

* { box-sizing: border-box; }

html { background: #e9edf3; }

body {
  margin: 0;
  color: var(--navy);
  background: #e9edf3;
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  font-feature-settings: "palt";
}

img { display: block; max-width: 100%; height: auto; }
button, select { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 14px;
  color: white;
  background: var(--navy);
  transform: translateY(-140%);
}

.skip-link:focus { transform: translateY(0); }

.flyer-toolbar {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  min-height: 72px;
  padding: 10px max(20px, calc((100vw - 1000px) / 2));
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(16, 32, 68, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(23, 37, 66, 0.09);
  backdrop-filter: blur(18px);
}

.toolbar-brand { width: 132px; margin-right: auto; }

.industry-picker { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 800; }
.industry-picker select {
  min-width: 220px;
  height: 42px;
  padding: 0 34px 0 13px;
  border: 1px solid #ccd4e1;
  border-radius: 11px;
  color: var(--navy);
  background: white;
  font-size: 12px;
  font-weight: 800;
}

.print-button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 11px;
  color: var(--navy);
  background: var(--yellow);
  box-shadow: 0 5px 15px rgba(225, 168, 5, 0.22);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.print-button:hover, .print-button:focus-visible { outline: 3px solid rgba(255, 201, 31, 0.35); }

.flyer-stage { display: grid; padding: 34px 18px 70px; gap: 34px; justify-items: center; }
.loading-message { padding: 80px 20px; color: var(--muted); font-weight: 800; }

.flyer-sheet {
  position: relative;
  width: 210mm;
  height: 297mm;
  overflow: hidden;
  color: var(--navy);
  background: var(--paper);
  box-shadow: 0 22px 60px rgba(22, 36, 64, 0.18);
}

.sheet-kicker {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 7px;
  color: #9a7100;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.sheet-kicker span { color: var(--yellow); font-size: 13px; }

.sheet-header {
  position: relative;
  z-index: 2;
  display: flex;
  height: 20mm;
  padding: 8mm 12mm 0;
  align-items: flex-start;
  justify-content: space-between;
}

.sheet-logo { width: 42mm; }
.sheet-header > p { margin: 1mm 0 0; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: 0.08em; }

.front-hero {
  position: relative;
  height: 121mm;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbff 0%, #fff 52%, #edf4fa 100%);
  isolation: isolate;
}

.front-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.78) 40%, rgba(255, 255, 255, 0.12) 73%, rgba(255, 255, 255, 0.3) 100%);
  content: "";
}

.flyer-front[data-has-background="true"] .front-hero {
  background-image: var(--front-background);
  background-position: center;
  background-size: cover;
}

.flyer-front[data-has-background="true"] .front-industry-person { display: none; }

.front-hero-copy {
  position: absolute;
  z-index: 4;
  top: 17mm;
  left: 11mm;
  width: 101mm;
}

.front-hero-copy .sheet-kicker::before { width: 10mm; height: 0.8mm; margin-right: 3mm; background: var(--yellow); content: ""; }
.front-hero-copy .sheet-kicker span { display: none; }
.front-hero-copy h1 { margin: 7mm 0 5mm; font-size: 12.2mm; letter-spacing: -0.075em; line-height: 1.17; }
.front-hero-copy h1 em { position: relative; z-index: 0; color: var(--navy); font-style: normal; }
.front-hero-copy h1 em::after { position: absolute; z-index: -1; right: -1mm; bottom: 0.8mm; left: -1mm; height: 4mm; border-radius: 1mm; background: var(--yellow); content: ""; transform: rotate(-1deg); }
.front-lead { margin: 0; color: var(--navy-2); font-size: 4mm; font-weight: 850; line-height: 1.75; }

.front-industry-person { position: absolute; z-index: 0; bottom: -6mm; left: 3mm; width: 62mm; opacity: 0.2; filter: grayscale(0.25); }

.front-workspace {
  position: absolute;
  z-index: 2;
  top: 5mm;
  right: -7mm;
  display: grid;
  width: 104mm;
  height: 111mm;
  grid-template-columns: 30mm minmax(0, 1fr);
  overflow: hidden;
  border: 0.4mm solid rgba(15, 29, 62, 0.13);
  border-radius: 5mm 0 0 0;
  background: white;
  box-shadow: 0 3mm 12mm rgba(23, 34, 59, 0.16);
  transform: rotate(-1.2deg);
  transform-origin: bottom right;
}

.front-workspace-nav { display: grid; align-content: start; padding: 6mm 3mm; gap: 3mm; color: white; background: linear-gradient(165deg, #362146, #23182d); font-size: 2.2mm; font-weight: 800; }
.front-workspace-nav strong { margin-bottom: 3mm; font-size: 2.6mm; white-space: nowrap; }
.front-workspace-nav small { color: #c8bdce; font-size: 2mm; font-weight: 750; }
.front-workspace-nav span { padding: 1.3mm 1.5mm; border-radius: 1.5mm; white-space: nowrap; }
.front-workspace-nav span.is-active { background: rgba(255, 255, 255, 0.14); }

.front-workspace-main { position: relative; padding: 5mm 5mm 10mm; color: var(--navy); background: rgba(255, 255, 255, 0.97); }
.front-workspace-main > h2 { margin: 0 0 5mm; padding-bottom: 3mm; border-bottom: 0.3mm solid #e4e8ef; font-size: 3.3mm; }
.workspace-message { display: grid; margin-bottom: 4mm; grid-template-columns: 9mm minmax(0, 1fr); align-items: start; gap: 2.5mm; }
.workspace-message > span { display: grid; width: 9mm; height: 9mm; place-items: center; overflow: hidden; border-radius: 50%; background: #e8eef6; }
.workspace-message > span img { width: 100%; height: 100%; object-fit: cover; }
.workspace-message b { display: block; font-size: 2.7mm; }
.workspace-message b small { color: #9aa4b5; font-size: 1.8mm; font-weight: 700; }
.workspace-message p { margin: 1mm 0 0; padding: 2.5mm 3mm; border-radius: 3mm; background: #f0f3f7; font-size: 2.6mm; font-weight: 800; line-height: 1.45; }
.workspace-message-ai p { background: #fff4c8; }
.workspace-result { margin-left: 11.5mm; padding: 3mm; border: 0.35mm solid #dce2eb; border-radius: 3mm; background: #fff; }
.workspace-result > b { display: block; margin-bottom: 2mm; font-size: 2.5mm; }
.workspace-result ol { display: grid; margin: 0; padding: 0; gap: 1.4mm; list-style: none; counter-reset: result; }
.workspace-result li { display: grid; grid-template-columns: 5mm 1fr; align-items: start; gap: 1.3mm; color: #56637b; font-size: 1.9mm; font-weight: 750; line-height: 1.35; counter-increment: result; }
.workspace-result li::before { display: grid; width: 4.5mm; height: 4.5mm; place-items: center; border-radius: 1mm; color: var(--navy); background: #f0f3f7; content: counter(result); font-size: 2mm; font-weight: 900; }
.workspace-input { position: absolute; right: 3mm; bottom: 3mm; left: 3mm; padding: 2mm 3mm; border: 0.3mm solid #e2e7ee; border-radius: 2.5mm; color: #a0a9b8; font-size: 1.8mm; }

.front-character { position: absolute; z-index: 5; right: 65mm; bottom: -5mm; width: 54mm; height: 62mm; }
.front-character > img { position: absolute; right: 0; bottom: 0; width: 55mm; filter: drop-shadow(0 3mm 3mm rgba(35, 43, 61, 0.2)); }
.front-laptop { position: absolute; z-index: 6; right: -4mm; bottom: 0; width: 35mm; height: 21mm; border-radius: 2mm 2mm 1mm 1mm; background: linear-gradient(150deg, #e8edf3, #aab4c2); box-shadow: 0 1mm 2mm rgba(26, 38, 62, 0.22); transform: skewX(-7deg); }
.front-laptop::after { position: absolute; right: -3mm; bottom: -2mm; width: 40mm; height: 2.5mm; border-radius: 99px; background: #909cab; content: ""; }
.front-laptop i { position: absolute; top: 8mm; left: 15mm; width: 6mm; height: 5mm; border-radius: 1mm; background: rgba(52, 66, 88, 0.32); }
.front-handwrite { position: absolute; z-index: 5; bottom: 9mm; left: 55mm; width: 35mm; margin: 0; padding-bottom: 3mm; border-bottom: 0.8mm solid var(--yellow); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 4mm; font-style: italic; font-weight: 750; line-height: 1.5; text-align: center; transform: rotate(-7deg); }

.front-definition {
  padding: 7mm 14mm 0;
}

.definition-label { display: flex; margin: 0 0 4mm; align-items: center; gap: 3mm; color: #bd8600; font-size: 2.4mm; font-weight: 900; letter-spacing: 0.15em; }
.definition-label span { display: block; width: 10mm; height: 0.6mm; background: var(--yellow); }
.front-definition h2 { margin: 0 0 3mm; font-size: 7.3mm; letter-spacing: -0.045em; line-height: 1.3; }
.front-definition > p:last-child { margin: 0; color: #526078; font-size: 3mm; font-weight: 700; line-height: 1.6; }

.front-features { margin: 4mm 10mm 0; }
.front-flow-heading .definition-label { margin-bottom: 1.5mm; }
.front-flow-heading h2 { margin: 0; font-size: 5.3mm; letter-spacing: -.04em; line-height: 1.2; }
.front-flow-heading > p:last-child { margin: 1mm 0 0; color: var(--muted); font-size: 2.55mm; font-weight: 750; }
.front-flow-steps { display: grid; margin-top: 3mm; grid-template-columns: minmax(0,1fr) 12mm minmax(0,1fr) 12mm minmax(0,1fr); align-items: center; }
.front-flow-steps article { position: relative; display: grid; min-width: 0; min-height: 29mm; padding: 0 2mm; grid-template-columns: 16mm minmax(0,1fr); grid-template-areas: "number icon" "title title" "lead lead" "copy copy"; align-content: start; column-gap: 2mm; }
.front-flow-steps article > span { grid-area: number; align-self: center; color: #e8edf4; font-size: 8.5mm; font-weight: 950; letter-spacing: -.08em; line-height: 1; }
.front-flow-steps i { position: relative; display: grid; width: 14mm; height: 14mm; grid-area: icon; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #fffdf0, #fff7cc); font-style: normal; }
.front-flow-steps svg { width: 8mm; height: 8mm; overflow: visible; fill: none; stroke: var(--navy); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.front-flow-steps svg circle { fill: var(--navy); stroke: none; }
.front-flow-steps article:nth-of-type(3) svg circle { fill: none; stroke: var(--navy); stroke-width: 1.7; }
.front-flow-steps h3 { margin: 1mm 0 0; grid-area: title; font-size: 4.5mm; letter-spacing: -.04em; line-height: 1.15; }
.front-flow-steps strong { margin-top: 1mm; grid-area: lead; font-size: 2.5mm; line-height: 1.35; white-space: nowrap; }
.front-flow-steps p { margin: .8mm 0 0; grid-area: copy; color: var(--muted); font-size: 2.15mm; font-weight: 700; line-height: 1.35; }
.front-flow-arrow { position: relative; color: #b5bfcd; font-size: 5mm; font-weight: 400; text-align: center; }
.front-flow-arrow::before { position: absolute; z-index: -1; top: 50%; right: 1mm; left: 1mm; height: .35mm; background: #c5cdd8; content: ""; }

.front-industry-callout { position: absolute; right: 0; bottom: 24mm; left: 0; display: flex; height: 27mm; padding: 5mm 11mm; align-items: center; justify-content: space-between; color: white; background: linear-gradient(110deg, #0c214d, #102c5d 68%, #06152f); }
.flyer-front[data-has-background="true"] .front-industry-callout { background-image: linear-gradient(90deg, rgba(5, 23, 55, 0.98) 0%, rgba(8, 33, 73, 0.94) 58%, rgba(8, 31, 66, 0.72) 100%), var(--front-background); background-position: center 64%; background-size: cover; }
.front-industry-callout::after { position: absolute; inset: 0 0 0 53%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05)); content: ""; }
.front-industry-callout small { color: var(--yellow); font-size: 2.7mm; font-weight: 900; letter-spacing: 0.15em; }
.front-industry-callout p { margin: 1mm 0 0; font-size: 5.8mm; font-weight: 850; }
.front-industry-callout p b { color: var(--yellow); }
.front-industry-callout > span { z-index: 1; display: flex; align-items: center; gap: 2mm; font-size: 0; font-weight: 900; }
.front-industry-callout > span b { display: grid; width: 11mm; height: 11mm; place-items: center; border-radius: 50%; color: var(--navy); background: var(--yellow); font-size: 5mm; }

.sheet-footer { position: absolute; right: 12mm; bottom: 8mm; left: 12mm; display: flex; min-height: 22mm; align-items: flex-end; justify-content: space-between; gap: 8mm; }
.sheet-footer-front { right: 10mm; bottom: 0; left: 10mm; height: 24mm; min-height: 0; align-items: center; gap: 5mm; }
.front-footer-logo { width: 38mm; padding-right: 5mm; border-right: 0.35mm solid #aeb8c8; }
.sheet-footer-front > p { flex: 1; margin: 0; color: var(--navy-2); font-size: 2.3mm; font-weight: 700; line-height: 1.55; }
.sheet-footer-front > p b { font-size: 2.55mm; }
.agency-contact { display: grid; width: 68mm; padding: 3mm 4mm; grid-template-columns: 1fr 1fr; gap: 2.5mm 4mm; border: 0.4mm solid #ccd4e0; border-radius: 3mm; background: white; }
.sheet-footer-front .agency-contact { width: 67mm; padding-block: 2.5mm; }
.agency-contact small { grid-column: 1 / -1; color: #8b96a8; font-size: 2.2mm; font-weight: 900; }
.agency-contact span { padding-bottom: 1.5mm; border-bottom: 0.3mm solid #aeb8c8; color: #8b96a8; font-size: 2.2mm; font-weight: 700; }

.flyer-back { padding: 0; background: white; }
.back-header { position: relative; height: 78mm; overflow: hidden; background: linear-gradient(110deg, #fff 0%, #f5f9fd 46%, #e8f0f6 100%); isolation: isolate; }
.back-header::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 39%, rgba(255,255,255,.28) 65%, rgba(255,255,255,.08) 100%); content: ""; }
.flyer-back[data-has-background="true"] .back-header { background-image: var(--back-background); background-position: center 54%; background-size: cover; }
.back-logo { position: absolute; z-index: 3; top: 7mm; left: 9mm; width: 35mm; }
.back-heading { position: absolute; z-index: 3; bottom: 6mm; left: 10mm; width: 104mm; }
.back-heading .sheet-kicker::before { width: 9mm; height: .7mm; margin-right: 2mm; background: var(--yellow); content: ""; }
.back-heading .sheet-kicker span { display: none; }
.back-heading > small { display: inline-flex; margin: 3mm 0 1.5mm; padding: 1.2mm 3mm; border-radius: 99px; color: #805d00; background: #ffe99b; font-size: 2.4mm; font-weight: 900; }
.back-heading h1 { position: relative; z-index: 0; margin: 0; font-size: 10.5mm; letter-spacing: -.075em; line-height: 1.12; }
.back-heading h1 b { color: var(--navy); }
.back-heading h1::after { position: absolute; z-index: -1; bottom: .7mm; left: -1mm; width: 88mm; height: 2.2mm; border-radius: 1mm; background: var(--yellow); content: ""; transform: rotate(-1deg); }
.back-heading > p:last-child { max-width: 105mm; margin: 4mm 0 0; color: var(--navy-2); font-size: 2.85mm; font-weight: 800; line-height: 1.5; }
.back-avatar { position: absolute; z-index: 2; right: 39mm; bottom: -2mm; width: 60mm; height: 63mm; }
.back-avatar img { position: absolute; right: 0; bottom: 0; width: 56mm; filter: drop-shadow(0 2mm 3mm rgba(31,47,77,.18)); }
.back-avatar span { position: absolute; z-index: 3; top: -2mm; left: -11mm; padding-bottom: 2mm; border-bottom: .7mm solid var(--yellow); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 3.1mm; font-style: italic; font-weight: 850; line-height: 1.45; text-align: center; transform: rotate(-8deg); }
.back-laptop { position: absolute; z-index: 4; right: -4mm; bottom: 0; width: 34mm; height: 20mm; border-radius: 2mm 2mm 1mm 1mm; background: linear-gradient(150deg, #eef2f7, #aeb8c5); box-shadow: 0 1mm 2mm rgba(26,38,62,.2); transform: skewX(-7deg); }
.back-laptop::after { position: absolute; right: -3mm; bottom: -2mm; width: 39mm; height: 2.5mm; border-radius: 99px; background: #8f9baa; content: ""; }
.back-files { position: absolute; z-index: 3; right: 5mm; bottom: 5mm; width: 28mm; margin: 0; padding: 0; list-style: none; transform: rotate(-1deg); }
.back-files li { height: 8mm; padding: 2.1mm 3mm; border: .35mm solid #cfd6df; border-radius: 1mm; color: var(--navy-2); background: rgba(255,255,255,.94); box-shadow: 0 .7mm 2mm rgba(24,39,68,.11); font-size: 2.35mm; font-weight: 900; text-align: center; white-space: nowrap; }

.change-grid { display: grid; height: 43mm; margin: 5mm 10mm 0; grid-template-columns: 1fr 10mm 1fr; align-items: stretch; gap: 3mm; }
.change-card { padding: 5mm 6mm; border-radius: 4mm; }
.change-card > p { display: flex; margin: 0 0 4mm; align-items: center; gap: 3mm; font-size: 3.4mm; font-weight: 900; }
.change-card > p span { font-size: 2.5mm; letter-spacing: .11em; }
.change-before { border: .35mm solid #d7e1ec; background: linear-gradient(145deg, #f6f9fc, #fff); }
.change-before > p span { color: #7d8da6; }
.change-after { border: .35mm solid #f0df9e; background: linear-gradient(145deg, #fffdf5, #fff9e8); }
.change-after > p span { color: #11865f; }
.change-card ul { display: grid; margin: 0; padding: 0; gap: 2.4mm; list-style: none; }
.change-card li { display: grid; grid-template-columns: 6mm 1fr; align-items: center; gap: 2mm; color: var(--navy-2); font-size: 2.8mm; font-weight: 800; line-height: 1.35; }
.change-card li span { display: grid; width: 6mm; height: 6mm; place-items: center; border-radius: 50%; color: white; background: #9eabbc; font-size: 2.6mm; }
.change-before li span { font-size: 0; }
.change-before li span::before { content: "×"; font-size: 3mm; }
.change-after li span { background: var(--yellow); }
.change-arrow { display: grid; align-content: center; justify-items: center; color: var(--navy); }
.change-arrow span { display: none; }
.change-arrow b { font-size: 8mm; font-weight: 500; }

.day-flow { margin: 5mm 7.5mm 0; }
.day-flow-title { display: flex; margin: 0 3mm 2.5mm; align-items: baseline; justify-content: space-between; }
.day-flow-title p { display: flex; margin: 0; align-items: center; gap: 3mm; font-size: 4.6mm; font-weight: 950; }
.day-flow-title p::after { display: block; width: 10mm; height: .8mm; background: var(--yellow); content: ""; }
.day-flow-title span { color: var(--muted); font-size: 2.35mm; font-weight: 750; }
.day-flow ol { position: relative; display: grid; margin: 0; padding: 0; gap: 1.7mm; list-style: none; }
.day-flow ol::before { position: absolute; z-index: 2; top: 10mm; bottom: 10mm; left: 5.1mm; width: .35mm; background: #b9c9dc; content: ""; }
.day-flow li { position: relative; display: grid; height: 19mm; padding: 2mm 2.5mm; grid-template-columns: 27mm 13mm minmax(0,1fr) 64mm 12mm; align-items: center; gap: 2mm; overflow: hidden; border: .3mm solid #e0e6ee; border-radius: 3.5mm; background: white; box-shadow: 0 .8mm 3mm rgba(34,48,77,.05); }
.day-flow li::before { position: absolute; z-index: 3; left: 3.7mm; width: 3mm; height: 3mm; border: .55mm solid #526d96; border-radius: 50%; background: white; content: ""; }
.timeline-time { display: grid; padding-left: 8mm; line-height: 1.2; }
.timeline-time time { font-size: 3.8mm; font-weight: 950; }
.timeline-time small { margin-top: .8mm; color: var(--muted); font-size: 2mm; font-weight: 750; }
.timeline-dot { display: grid; width: 12mm; height: 12mm; place-items: center; border-radius: 50%; color: #276dd2; background: #e8f2ff; }
.timeline-dot::before { content: "▤"; font-size: 4.5mm; font-weight: 900; }
.day-flow li:nth-child(2) .timeline-dot::before { content: "◆"; }
.day-flow li:nth-child(3) .timeline-dot::before { content: "⚙"; }
.day-flow li:nth-child(4) .timeline-dot::before { content: "•••"; letter-spacing: -.08em; }
.day-flow li:nth-child(5) .timeline-dot::before { content: "▥"; }
.timeline-work h3 { display: -webkit-box; margin: 0 0 .8mm; overflow: hidden; font-size: 2.9mm; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.timeline-work p, .timeline-result p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted); font-size: 2mm; font-weight: 700; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.timeline-work p span, .timeline-result > span { display: inline-flex; margin-right: 1.3mm; padding: .45mm 1.5mm; border-radius: 99px; color: #64758e; background: #eaf2fb; font-size: 1.75mm; font-weight: 900; }
.timeline-result { position: relative; min-height: 13mm; padding: 3.8mm 3mm 1.5mm 14mm; border-radius: 3mm; background: linear-gradient(110deg, #fff2b7, #fff9e5); }
.timeline-result::before { position: absolute; top: 2.3mm; left: 2.5mm; width: 9mm; height: 9mm; border-radius: 50%; background: var(--yellow) url("/assets/ai-shain-mascot-icon.png") center 35% / 10mm auto no-repeat; content: ""; image-rendering: auto; }
.timeline-result > span { position: absolute; top: 1.2mm; left: 14mm; margin: 0; color: #806000; background: transparent; }
.timeline-result p { color: var(--navy-2); font-weight: 800; }
.timeline-status { justify-self: end; padding: 1.5mm 2mm; border-radius: 99px; color: #14795a; background: #d9f7ed; font-size: 2mm; white-space: nowrap; }
.status-auto { color: #1e6ba7; background: #e4f3ff; }
.status-report { color: #674bb5; background: #eee9ff; }

.back-summary { position: relative; display: grid; min-height: 31mm; margin: 4mm 6mm 0; padding: 3mm 6mm; grid-template-columns: 35mm 1fr 68mm; align-items: center; gap: 4mm; overflow: hidden; border-radius: 5mm; color: white; background: linear-gradient(90deg, #0b2857 0%, #102f62 58%, #071c3e 100%); isolation: isolate; }
.flyer-back[data-has-background="true"] .back-summary { background-image: linear-gradient(90deg, rgba(7,28,62,.98) 0%, rgba(12,43,89,.96) 59%, rgba(7,28,62,.72) 100%), var(--back-background); background-position: center 69%; background-size: cover; }
.summary-icon { display: grid; width: 28mm; height: 28mm; place-items: center; overflow: hidden; border-radius: 50%; background: var(--yellow); }
.summary-icon img { width: 31mm; max-width: none; }
.back-summary small { color: var(--yellow); font-size: 2.3mm; font-weight: 900; }
.back-summary h2 { margin: 1mm 0 0; font-size: 5mm; letter-spacing: -.03em; line-height: 1.25; }
.back-summary h2::after { display: block; width: 42mm; height: .8mm; margin-top: .5mm; background: var(--yellow); content: ""; }
.back-summary > p { margin: 0; padding-left: 5mm; border-left: .3mm solid rgba(255,255,255,.72); color: #eef3fb; font-size: 2.3mm; font-weight: 700; line-height: 1.55; }

.sheet-footer-back { right: 8mm; bottom: 0; left: 8mm; height: 20mm; min-height: 0; padding-top: 2mm; align-items: center; border-top: .35mm solid #dfe4eb; }
.sheet-footer-back > img { width: 34mm; padding-right: 5mm; border-right: .35mm solid #aeb8c8; }
.sheet-footer-back > p { margin: 0 auto 0 0; font-size: 2.35mm; font-weight: 700; line-height: 1.4; }
.sheet-footer-back > p b { font-size: 2.8mm; }
.agency-contact-back { width: 63mm; padding-block: 2mm; }

.flyer-error { margin-top: 40px; padding: 30px; border-radius: 20px; background: white; text-align: center; }
.flyer-error a { color: #176caa; font-weight: 800; }

[hidden] { display: none !important; }

@media (max-width: 860px) {
  .flyer-toolbar { flex-wrap: wrap; padding: 10px 14px; }
  .industry-picker { order: 3; width: 100%; }
  .industry-picker select { min-width: 0; flex: 1; }
  .flyer-stage { padding: 22px 0 50px; overflow: hidden; }
  .flyer-sheet { transform-origin: top center; }
}

@media print {
  @page { size: A4 portrait; margin: 0; }
  html, body { width: 210mm; margin: 0; background: white; }
  .flyer-toolbar, .skip-link, .loading-message, .flyer-error { display: none !important; }
  .flyer-stage { display: block; padding: 0; }
  .flyer-sheet { display: block !important; margin: 0; box-shadow: none; break-after: page; page-break-after: always; }
  .flyer-sheet:last-of-type { break-after: auto; page-break-after: auto; }
}
