/*
 * DBIM 3.0 (Digital Brand Identity Manual, MeitY, Jan 2025) design tokens
 * and GIGW 3.0 base styles for Dashboard DBT.
 *
 * Colour group: BLUE. Every colour used anywhere in the application must
 * resolve to one of the tokens below. Loaded before any page stylesheet.
 */

:root {
  /* Primary colour group — Blue (key colour first) */
  --dbim-key: #162F6A;
  --dbim-blue-2: #214AAB;
  --dbim-blue-3: #5279D7;
  --dbim-blue-4: #A3BBF3;
  --dbim-blue-5: #D2DFFF;

  /* Functional palette */
  --dbim-linen: #EBEAEA;          /* highlights, quotes, outlines */
  --dbim-white: #FFFFFF;          /* page background, text on dark */
  --dbim-earthy-brown: #150202;   /* cookie banner background only */
  --dbim-black: #000000;          /* text on light backgrounds */
  --dbim-success: #198754;
  --dbim-warning: #FFC107;
  --dbim-error: #DC3545;
  --dbim-info: #0D6EFD;           /* information and links */
  --dbim-grey-1: #C6C6C6;
  --dbim-grey-2: #8E8E8E;
  --dbim-grey-3: #606060;

  /* Typography — Noto Sans for all text and Indian scripts */
  --dbim-font: 'Noto Sans', sans-serif;
  --dbim-h1: 36px;
  --dbim-h2: 24px;
  --dbim-h3: 20px;
  --dbim-p1: 16px;
  --dbim-p2: 14px;
  --dbim-small: 12px;

  --dbim-focus: 3px solid var(--dbim-info);
  --dbim-radius: 6px;
}

@media (max-width: 768px) {
  :root {
    --dbim-h1: 24px;
    --dbim-h2: 20px;
    --dbim-h3: 16px;
    --dbim-p1: 14px;
    --dbim-p2: 12px;
    --dbim-small: 10px;
  }
}

/* ── Base typography ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--dbim-font);
  color: var(--dbim-black);
  background: var(--dbim-white);
  line-height: 1.5;
  text-align: left;
}
h1, .dbim-h1 { font-size: var(--dbim-h1); font-weight: 700; line-height: 1.2; }
h2, .dbim-h2 { font-size: var(--dbim-h2); font-weight: 600; line-height: 1.2; }
h3, .dbim-h3 { font-size: var(--dbim-h3); font-weight: 600; line-height: 1.3; }
h4, h5, h6 { font-weight: 600; line-height: 1.3; }
.dbim-p1 { font-size: var(--dbim-p1); }
.dbim-p2 { font-size: var(--dbim-p2); }
.dbim-small { font-size: var(--dbim-small); }
p { text-transform: none; }
.mono, .num, td.num, th.num { font-variant-numeric: tabular-nums; }
abbr[title] { text-decoration: underline dotted; cursor: help; }

/* WCAG 1.4.12 — allow user text-spacing overrides: never clip text */
p, li, td, th, label, dd, dt { overflow-wrap: anywhere; }

/* ── Links ───────────────────────────────────────────────────── */
.dbim-prose a, main p a, main li a, .dbim-link {
  color: var(--dbim-info);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dbim-prose a:hover, main p a:hover, main li a:hover, .dbim-link:hover { color: var(--dbim-blue-2); text-decoration-thickness: 2px; }
a[target="_blank"]:not(.no-ext-icon)::after {
  content: "";
  display: inline-block;
  width: 0.75em; height: 0.75em; margin-left: 0.25em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6M15 3h6v6M10 14 21 3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6M15 3h6v6M10 14 21 3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ── Focus (WCAG 2.4.7) — visible on light and dark surfaces ── */
:focus-visible {
  outline: var(--dbim-focus) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 5px var(--dbim-white) !important;
}

/* ── Skip link ───────────────────────────────────────────────── */
.dbim-skip {
  position: absolute; left: 8px; top: -60px; z-index: 10000;
  background: var(--dbim-key); color: var(--dbim-white);
  padding: 10px 16px; border-radius: var(--dbim-radius);
  font-size: var(--dbim-p2); font-weight: 600; text-decoration: none;
}
.dbim-skip:focus { top: 8px; }

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

/* ── Buttons (uniform size; enabled / hover / focus / disabled) ─ */
.dbim-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  font: 600 var(--dbim-p2)/1.2 var(--dbim-font);
  border-radius: var(--dbim-radius); border: 2px solid var(--dbim-key);
  background: var(--dbim-key); color: var(--dbim-white);
  cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.dbim-btn:hover { background: var(--dbim-blue-2); border-color: var(--dbim-blue-2); color: var(--dbim-white); }
.dbim-btn-secondary { background: var(--dbim-white); color: var(--dbim-key); }
.dbim-btn-secondary:hover { background: var(--dbim-blue-5); color: var(--dbim-key); border-color: var(--dbim-key); }
.dbim-btn[disabled], .dbim-btn[aria-disabled="true"],
button[disabled], input[type="submit"][disabled] {
  background: var(--dbim-linen) !important; border-color: var(--dbim-grey-1) !important;
  color: var(--dbim-grey-3) !important; cursor: not-allowed !important;
}
button[aria-busy="true"] { cursor: progress; }

/* Every clickable item shows a visible hover change */
a:hover, button:not([disabled]):hover, [role="button"]:hover, summary:hover { text-decoration-thickness: 2px; }
a:not([class]):hover { text-decoration: underline; }

/* ── Icons: 24/32/48/64px, key colour or white ─────────────── */
.dbim-icon { width: 24px; height: 24px; flex: 0 0 auto; color: var(--dbim-key); }
.dbim-icon-32 { width: 32px; height: 32px; }
.dbim-icon-48 { width: 48px; height: 48px; }
.dbim-icon-64 { width: 64px; height: 64px; }
.dbim-on-dark .dbim-icon { color: var(--dbim-white); }

/* ── Forms ───────────────────────────────────────────────────── */
.dbim-req { color: var(--dbim-error); font-weight: 700; margin-left: 2px; }
.dbim-form-note {
  font-size: var(--dbim-p2); color: var(--dbim-black);
  background: var(--dbim-linen); border-left: 4px solid var(--dbim-key);
  padding: 8px 12px; margin: 0 0 16px; border-radius: 4px;
}
.dbim-field-error { color: var(--dbim-error); font-size: var(--dbim-p2); margin-top: 4px; }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
select, textarea { border-color: var(--dbim-grey-2); }
[aria-invalid="true"] { border-color: var(--dbim-error) !important; }
label { cursor: pointer; }

/* ── Data tables: text left, numbers right, headers centred ── */
table th { text-align: center; }
table td { text-align: left; }
table td.num, table td[data-type="number"] { text-align: right; }

/* ── Alerts (colour never the only cue: icon + text label) ──── */
.dbim-alert { border: 1px solid; border-left-width: 4px; border-radius: 4px; padding: 10px 14px; background: var(--dbim-white); color: var(--dbim-black); }
.dbim-alert-success { border-color: var(--dbim-success); }
.dbim-alert-error { border-color: var(--dbim-error); }
.dbim-alert-info { border-color: var(--dbim-info); }
.dbim-alert-warning { border-color: var(--dbim-warning); }

/* ═══════════════════════════════════════════════════════════════
   HEADER (DBIM Header 1 — Ministry/Department; sticky)
   ═══════════════════════════════════════════════════════════════ */
.dbim-header { position: sticky; top: 0; z-index: 500; background: var(--dbim-white); font-family: var(--dbim-font); }
.dbim-app .dbim-header { position: relative; }
.dbim-topbar { background: var(--dbim-key); color: var(--dbim-white); }
.dbim-wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.dbim-topbar .dbim-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; flex-wrap: wrap; }
.dbim-topbar-gov { font-size: var(--dbim-small); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.dbim-topbar-tools { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.dbim-topbar a, .dbim-topbar button {
  color: var(--dbim-white); background: transparent; border: 1px solid transparent;
  font: 600 var(--dbim-small)/1.2 var(--dbim-font); padding: 6px 10px; min-height: 32px;
  border-radius: 4px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.dbim-topbar a:hover, .dbim-topbar button:hover, .dbim-topbar button[aria-expanded="true"] { border-color: var(--dbim-white); text-decoration: underline; }
.dbim-topbar .dbim-sep { opacity: .7; }
.dbim-topbar .dbim-icon { color: inherit; width: 18px; height: 18px; }
.dbim-lang { display: inline-flex; align-items: center; }
.dbim-lang [aria-current="true"] { text-decoration: underline; text-underline-offset: 3px; }

.dbim-brandbar .dbim-wrap { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.dbim-lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--dbim-black); min-width: 0; }
.dbim-lockup:hover .dbim-lockup-name { text-decoration: underline; }
.dbim-emblem { height: 56px; width: auto; aspect-ratio: 371 / 537; flex: 0 0 auto; }
.dbim-lockup-divider { width: 1px; align-self: stretch; background: var(--dbim-grey-1); }
.dbim-lockup-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.dbim-lockup-gov { font-size: var(--dbim-small); font-weight: 600; color: var(--dbim-grey-3); }
.dbim-lockup-name { font-size: var(--dbim-h3); font-weight: 700; color: var(--dbim-key); }
.dbim-lockup-sub { font-size: var(--dbim-small); color: var(--dbim-grey-3); }
.dbim-brand-spacer { flex: 1 1 auto; }

.dbim-search { display: flex; align-items: stretch; min-width: 240px; max-width: 360px; flex: 1 1 240px; }
.dbim-search input {
  flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px;
  border: 1px solid var(--dbim-grey-2); border-right: 0; border-radius: var(--dbim-radius) 0 0 var(--dbim-radius);
  font: 400 var(--dbim-p2) var(--dbim-font); color: var(--dbim-black); background: var(--dbim-white);
}
.dbim-search button {
  min-width: 48px; border: 1px solid var(--dbim-key); background: var(--dbim-key); color: var(--dbim-white);
  border-radius: 0 var(--dbim-radius) var(--dbim-radius) 0; cursor: pointer; display: grid; place-items: center;
}
.dbim-search button:hover { background: var(--dbim-blue-2); }

.dbim-nav { background: var(--dbim-white); border-top: 1px solid var(--dbim-linen); border-bottom: 1px solid var(--dbim-grey-1); }
.dbim-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.dbim-nav a {
  display: block; padding: 12px 14px; font-size: var(--dbim-p2); font-weight: 600;
  color: var(--dbim-key); text-decoration: none; border-bottom: 3px solid transparent;
}
.dbim-nav a:hover { background: var(--dbim-blue-5); border-bottom-color: var(--dbim-blue-3); }
.dbim-nav a[aria-current="page"] { border-bottom-color: var(--dbim-key); }
.dbim-nav-toggle { display: none; }
@media (max-width: 768px) {
  .dbim-emblem { height: 44px; }
  .dbim-search { max-width: none; flex-basis: 100%; }
  .dbim-nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin: 8px 0; min-height: 44px; padding: 8px 12px;
    border: 1px solid var(--dbim-key); background: var(--dbim-white); color: var(--dbim-key);
    border-radius: var(--dbim-radius); font: 600 var(--dbim-p2) var(--dbim-font); cursor: pointer;
  }
  .dbim-nav ul { display: none; flex-direction: column; }
  .dbim-nav.is-open ul { display: flex; }
}
@media (max-width: 600px) {
  /* Keep the Government of India strip to two tidy rows on phones */
  .dbim-topbar .dbim-wrap { gap: 0; padding-top: 4px; padding-bottom: 4px; }
  .dbim-topbar-gov { flex-basis: 100%; }
  .dbim-topbar-tools { gap: 0; margin-left: -8px; }
  .dbim-topbar a, .dbim-topbar button { padding: 6px 8px; }
  .dbim-a11y > button > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .dbim-brandbar .dbim-wrap { gap: 10px; }
  .dbim-brandbar .dbim-lockup { flex-basis: 100%; }
  .dbim-brand-spacer { display: none; }
  .dbim-brandbar .dbim-search { flex: 1 1 180px; min-width: 0; }
}

/* Accessibility panel */
.dbim-a11y { position: relative; }
.dbim-a11y-panel {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 600; width: 280px; max-width: calc(100vw - 24px);
  background: var(--dbim-white); color: var(--dbim-black); border: 2px solid var(--dbim-key);
  border-radius: 8px; padding: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
.dbim-a11y-panel[hidden] { display: none; }
.dbim-a11y-panel h2 { font-size: var(--dbim-p1); margin: 0 0 8px; color: var(--dbim-key); }
.dbim-a11y-panel fieldset { border: 1px solid var(--dbim-grey-1); border-radius: 6px; margin: 0 0 8px; padding: 8px; }
.dbim-a11y-panel legend { font-size: var(--dbim-small); font-weight: 600; padding: 0 4px; }
.dbim-a11y-panel .dbim-row { display: flex; gap: 6px; flex-wrap: wrap; }
.dbim-a11y-panel button {
  flex: 1; min-height: 36px; min-width: 44px; padding: 6px 8px; border: 1px solid var(--dbim-key);
  background: var(--dbim-white); color: var(--dbim-key); border-radius: 4px;
  font: 600 var(--dbim-small)/1.2 var(--dbim-font); cursor: pointer;
}
.dbim-a11y-panel button:hover { background: var(--dbim-blue-5); }
.dbim-a11y-panel button[aria-pressed="true"] { background: var(--dbim-key); color: var(--dbim-white); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER — background is the key colour
   ═══════════════════════════════════════════════════════════════ */
.dbim-footer { background: var(--dbim-key); color: var(--dbim-white); font-family: var(--dbim-font); margin-top: 48px; }
.dbim-footer a { color: var(--dbim-white); text-decoration: underline; text-underline-offset: 2px; }
.dbim-footer a:hover { text-decoration-thickness: 2px; background: rgba(255,255,255,.12); }
.dbim-footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 32px 16px 16px; }
.dbim-footer h2 { font-size: var(--dbim-p1); font-weight: 700; margin: 0 0 10px; color: var(--dbim-white); }
.dbim-footer ul { list-style: none; margin: 0; padding: 0; }
.dbim-footer li { margin: 0 0 8px; font-size: var(--dbim-p2); }
.dbim-footer-meta {
  border-top: 1px solid rgba(255,255,255,.35); padding: 16px; font-size: var(--dbim-small);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; line-height: 1.5;
}
.dbim-social { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 900px) { .dbim-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dbim-footer-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   COOKIE BANNER (DPDP Act 2023) — Deep Earthy Brown, bottom
   ═══════════════════════════════════════════════════════════════ */
.dbim-cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000;
  background: var(--dbim-earthy-brown); color: var(--dbim-white);
  padding: 16px; font-family: var(--dbim-font); box-shadow: 0 -6px 20px rgba(0,0,0,.3);
}
.dbim-cookie[hidden] { display: none; }
.dbim-cookie .dbim-wrap { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.dbim-cookie p { margin: 0; font-size: var(--dbim-p2); max-width: 760px; }
.dbim-cookie a { color: var(--dbim-white); text-decoration: underline; }
.dbim-cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dbim-cookie .dbim-btn { border-color: var(--dbim-white); }
.dbim-cookie .dbim-btn-secondary { background: transparent; color: var(--dbim-white); }
.dbim-cookie .dbim-btn-secondary:hover { background: rgba(255,255,255,.15); color: var(--dbim-white); }

/* Modal dialogs (language prompt, session timeout, external link) */
.dbim-dialog { border: 2px solid var(--dbim-key); border-radius: 8px; padding: 20px; max-width: 460px; width: calc(100vw - 32px); font-family: var(--dbim-font); color: var(--dbim-black); }
.dbim-dialog::backdrop { background: rgba(0,0,0,.6); }
.dbim-dialog h2 { font-size: var(--dbim-h3); margin: 0 0 8px; color: var(--dbim-key); }
.dbim-dialog p { font-size: var(--dbim-p2); margin: 0 0 16px; }
.dbim-dialog .dbim-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* ── Content pages (policies, help, sitemap…) ────────────────── */
.dbim-page { max-width: 960px; margin: 0 auto; padding: 24px 16px 48px; }
.dbim-breadcrumb { font-size: var(--dbim-p2); margin-bottom: 16px; }
.dbim-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.dbim-breadcrumb li + li::before { content: "›"; margin: 0 6px; color: var(--dbim-grey-3); }
.dbim-breadcrumb a { color: var(--dbim-blue-2); font-weight: 600; }
.dbim-breadcrumb [aria-current="page"] { color: var(--dbim-grey-3); }
.dbim-prose { font-size: var(--dbim-p1); line-height: 1.5; }
.dbim-prose h1 { color: var(--dbim-key); margin: 0 0 16px; }
.dbim-prose h2 { color: var(--dbim-key); margin: 28px 0 10px; }
.dbim-prose h3 { margin: 20px 0 8px; }
.dbim-prose table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: var(--dbim-p2); }
.dbim-prose th, .dbim-prose td { border: 1px solid var(--dbim-grey-1); padding: 8px 10px; vertical-align: top; }
.dbim-prose th { background: var(--dbim-blue-5); }
.dbim-prose blockquote { background: var(--dbim-linen); border-left: 4px solid var(--dbim-key); margin: 12px 0; padding: 10px 14px; }
.dbim-todo { background: var(--dbim-linen); border: 1px dashed var(--dbim-grey-3); padding: 2px 6px; border-radius: 4px; font-size: var(--dbim-p2); }

/* ═══════════════════════════════════════════════════════════════
   HIGH CONTRAST MODE (GIGW 5.2) — toggled from the a11y panel
   ═══════════════════════════════════════════════════════════════ */
html.dbim-hc, html.dbim-hc body { background: var(--dbim-black) !important; color: var(--dbim-white) !important; }
html.dbim-hc *:not(svg):not(path):not(img):not(canvas) {
  background-color: var(--dbim-black) !important; color: var(--dbim-white) !important;
  border-color: var(--dbim-white) !important; box-shadow: none !important; text-shadow: none !important;
  background-image: none !important;
}
html.dbim-hc a, html.dbim-hc a * { color: var(--dbim-warning) !important; text-decoration: underline !important; }
html.dbim-hc button, html.dbim-hc .dbim-btn { border: 2px solid var(--dbim-white) !important; }
html.dbim-hc :focus-visible { outline-color: var(--dbim-warning) !important; }
html.dbim-hc .dbim-emblem { filter: invert(1); }

/* Invert colours / greyscale (photos are inverted back so they stay natural) */
html.dbim-invert { filter: invert(1) hue-rotate(180deg); }
html.dbim-invert img, html.dbim-invert video, html.dbim-invert canvas { filter: invert(1) hue-rotate(180deg); }
html.dbim-saturation { filter: grayscale(1); }
html.dbim-invert.dbim-saturation { filter: invert(1) hue-rotate(180deg) grayscale(1); }
/* Large cursor */
html.dbim-big-cursor, html.dbim-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l14 11-6.2.9 3.7 7.4-2.7 1.3-3.6-7.5L4 19.5z' fill='black' stroke='white' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 8 4, auto !important;
}
html.dbim-big-cursor a, html.dbim-big-cursor a *, html.dbim-big-cursor button, html.dbim-big-cursor button *, html.dbim-big-cursor [role="button"], html.dbim-big-cursor label, html.dbim-big-cursor summary {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M9 11V4.5a1.5 1.5 0 0 1 3 0V10l.1-1.5a1.5 1.5 0 0 1 3 .2V11a1.5 1.5 0 0 1 3 .2v1.3a1.5 1.5 0 0 1 3 .3V16a6.5 6.5 0 0 1-6.5 6.5h-1.8a6 6 0 0 1-4.6-2.2L4.6 16.4a1.6 1.6 0 0 1 2.4-2.1L9 16z' fill='white' stroke='black' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 18 4, pointer !important;
}
html.dbim-highlight-links a { text-decoration: underline !important; outline: 2px dashed var(--dbim-info); outline-offset: 1px; }
html.dbim-hide-images img:not(.dbim-emblem) { visibility: hidden !important; }
html.dbim-readable-font body, html.dbim-readable-font * { letter-spacing: 0.12em !important; word-spacing: 0.16em !important; line-height: 1.5 !important; }

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

/* ═══════════════════════════════════════════════════════════════
   PRINT (A4) — GIGW 5.1
   ═══════════════════════════════════════════════════════════════ */
@page { size: A4; margin: 15mm 12mm; }
@media print {
  html, body { background: #FFFFFF !important; color: #000000 !important; font-size: 11pt; }
  .dbim-topbar, .dbim-nav, .dbim-search, .dbim-cookie, .dbim-skip, .dbim-a11y, .dbim-dialog,
  .sidebar, .topbar .icon-btn, .cmdk, .cmdk-overlay, .no-print, button, .btn, nav[aria-label="Pagination"] { display: none !important; }
  .app { display: block !important; }
  .dbim-header { position: static !important; border-bottom: 1pt solid #000000; }
  .dbim-footer { background: #FFFFFF !important; color: #000000 !important; border-top: 1pt solid #000000; margin-top: 12pt; }
  .dbim-footer a, .dbim-footer h2 { color: #000000 !important; }
  .dbim-footer-grid { display: none !important; }
  a[href^="http"]:not(.dbim-lockup)::after { content: " (" attr(href) ")"; font-size: 9pt; background: none; -webkit-mask: none; mask: none; width: auto; height: auto; }
  table { page-break-inside: auto; border-collapse: collapse; }
  tr, img, canvas, .card { page-break-inside: avoid; }
  thead { display: table-header-group; }
  h1, h2, h3 { page-break-after: avoid; }
  main { width: 100% !important; padding: 0 !important; }
}
