/* Insights site (evmap.pl, Edc_Site): the look of the EvMAP Insights landing page for the pages rendered by the
   application shell - statistics, documents, sign-in, messages, account, reports. Linked last and only on the
   Insights site by edc_frontend/Layouts/Main.phtml and edc_app/Layouts/Partials/Header.phtml, so the rules need no
   scope class. Palette, word mark, button and footer follow modules/evmap-insights-landing.css; the text of the
   pages keeps the font of the application. */

/* 1. Palette of the landing page, fed into the tokens of the three style generations. */
:root {
  --evi-ink: #0b2637;
  --evi-body: #42566a;
  --evi-muted: #637185;
  --evi-green: #007e70;
  --evi-green-dark: #005d52;
  --evi-mint: #e8f4f0;
  --evi-line: #dfe9e8;
  --evi-soft: #f4f8f6;
  --evi-button: linear-gradient(120deg, #008c7c, #007267);
  --evi-container: min(1280px, 89%);

  /* v7 system (assets/css/evmap-tokens.css) */
  --stat-ink: var(--evi-ink);
  --stat-ink-secondary: #2c4656;
  --stat-muted: #5b6f7f;
  --stat-muted-secondary: #7d8e9a;
  --stat-canvas: var(--evi-soft);
  --stat-surface-subtle: #f7faf9;
  --stat-border: var(--evi-line);
  --stat-border-strong: #c3d0d2;
  --stat-primary: var(--evi-green);
  --stat-primary-hover: var(--evi-green-dark);
  --stat-primary-soft: var(--evi-mint);
  --stat-header: var(--evi-ink);
  --stat-focus: rgba(0, 126, 112, .22);
  --ev-brand-border: #b5d8cf;
  --ev-info: #00695d;
  --ev-info-soft: #edf7f4;
  --ev-info-text: #23564d;
  --ev-info-highlight: #9fe3cf;

  /* first system (Styles/evmap.css) */
  --evmap-blue: var(--evi-green);
  --evmap-blue-strong: var(--evi-green-dark);
  --evmap-blue-soft: var(--evi-mint);
  --evmap-navy: var(--evi-ink);
  --evmap-text: var(--evi-ink);
  --evmap-cyan: var(--evi-green);
  --evmap-line: var(--evi-line);
  --evmap-surface-soft: var(--evi-soft);
  --evmap-focus: 0 0 0 3px rgba(0, 126, 112, .2);
}

/* operations shell (Styles/operations-tokens.css): the reports workspace */
.evmap-operations, .fleet-share {
  --ops-ink: var(--evi-ink);
  --ops-ink-2: #2c4656;
  --ops-muted: #5b6f7f;
  --ops-line: var(--evi-line);
  --ops-line-strong: #c3d0d2;
  --ops-surface-soft: var(--evi-soft);
  --ops-accent: var(--evi-green);
  --ops-accent-strong: var(--evi-green-dark);
}
.evmap-operations {
  --ops-accent-soft: var(--evi-mint);
  --ops-focus: var(--evi-green);
  --ops-canvas: var(--evi-soft);
  --ops-info: #00695d;
  --ops-info-soft: #edf7f4;
  --ops-blue-soft: var(--evi-mint);
  --ops-text-2: #2c4656;
  --ops-toast-bg: var(--evi-ink);
  --ops-toast-action: #9fe3cf;
}

/* 2. Header: word mark, links and button of the landing page. */
.evmap-body .evmap-global-topbar.edc-frontend-header.site-header { background: #fff; box-shadow: 0 1px 0 var(--evi-line), 0 6px 20px rgba(16, 44, 54, .04); }
.evmap-body .edc-frontend-header.site-header .header-inner { width: var(--evi-container); max-width: none; margin-inline: auto; padding-inline: 0; }
.evmap-insights-brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; line-height: 1; text-decoration: none; }
.evmap-insights-word { font: 800 21px/1 Arial, Helvetica, sans-serif; letter-spacing: -.7px; color: #0d2939; }
.evmap-insights-sub { padding-left: 11px; border-left: 1px solid #c3d0d2; font: 400 13px/1 Arial, Helvetica, sans-serif; letter-spacing: 0; color: var(--evi-muted); }
.evmap-body .edc-frontend-header.site-header .main-nav .nav-link { background: transparent; color: var(--evi-ink); font-weight: 500; }
.evmap-body .edc-frontend-header.site-header .main-nav .nav-link:hover { background: transparent; color: var(--evi-green); }
.evmap-body .edc-frontend-header.site-header .main-nav .nav-link.active { background: transparent; color: var(--evi-green-dark); font-weight: 700; }
.evmap-body .edc-frontend-header.site-header .main-nav .nav-link.active::after { display: none; }
.evmap-body .edc-frontend-header.site-header .login-button { height: 38px; padding: 0 18px; border: 0; border-radius: 6px; background: var(--evi-button); color: #fff; font-weight: 600; transition: background .18s, box-shadow .18s; }
.evmap-body .edc-frontend-header.site-header .login-button:hover { background: var(--evi-green-dark); box-shadow: 0 5px 14px rgba(0, 91, 83, .14); }
.evmap-body .edc-frontend-header.site-header .edc-language-switcher summary { color: var(--evi-muted); font-weight: 600; }
.evmap-body .edc-frontend-header.site-header .edc-language-switcher summary:hover { color: var(--evi-green); }
.edc-language-switcher .edc-language-switcher-check { color: var(--evi-green); }
@media (min-width: 981px) {
  .evmap-body .edc-frontend-header.site-header .header-inner { gap: 34px; }
  .evmap-body .edc-frontend-header.site-header .main-nav { gap: 26px; }
  .evmap-body .edc-frontend-header.site-header .main-nav .nav-link { height: 100%; padding: 0; border-radius: 0; }
  .evmap-body .edc-frontend-header.site-header .main-nav .nav-link.active { box-shadow: inset 0 -2px 0 var(--evi-green); }
}
@media (min-width: 981px) and (max-width: 1100px) {
  .evmap-body .edc-frontend-header.site-header .header-inner { gap: 22px; }
  .evmap-body .edc-frontend-header.site-header .main-nav { gap: 18px; }
}
@media (max-width: 480px) {
  .edc-frontend-header .evmap-insights-brand { gap: 8px; }
  .edc-frontend-header .evmap-insights-word { font-size: 19px; }
  .edc-frontend-header .evmap-insights-sub { padding-left: 8px; font-size: 11px; }
}

/* 3. Page canvas and width: the container of the landing page; the bottom bar of the map does not belong here. */
html body.evmap-body { background: var(--evi-soft); color: var(--evi-ink); }
html body main.app-main { width: var(--evi-container); max-width: none; margin-inline: auto; padding-inline: 0; }
html body .global-alert-region { width: var(--evi-container); max-width: none; margin-inline: auto; padding-inline: 0; }
.map-planner-mobile-nav { display: none; }

/* 4. Footer of the Insights site (edc_frontend/Partials/Insights/SiteFooter.phtml). */
.evmap-insights-footer { margin-top: 48px; padding: 40px 0 20px; border-top: 1px solid #e3ecea; color: var(--evi-ink); line-height: 1.48; }
.evmap-insights-container { width: var(--evi-container); margin-inline: auto; }
main .evmap-insights-container { width: 100%; }
.evmap-insights-footer-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .8fr); gap: 32px; align-items: start; }
.evmap-insights-footer .evmap-insights-word { font-size: 18px; }
.evmap-insights-footer .evmap-insights-sub { font-size: 11px; }
.evmap-insights-footer-brand p { max-width: 26rem; margin: 8px 0 0; font-size: 12px; line-height: 1.55; color: #687985; }
.evmap-insights-footer-links { display: grid; gap: 6px; align-content: start; }
.evmap-insights-footer-links strong { margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #294453; }
.evmap-insights-footer-links a { justify-self: start; padding: 3px 0; font-size: 12px; font-weight: 400; color: #667484; text-decoration: none; }
.evmap-insights-footer-links a:hover { color: var(--evi-green); }
.evmap-insights-footer-copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid #e3ecea; font-size: 11px; color: #6b7a86; }
@media (max-width: 980px) {
  .evmap-insights-footer-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .evmap-insights-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .evmap-insights-footer { margin-top: 32px; padding: 26px 0 16px; }
  .evmap-insights-footer-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .evmap-insights-footer-links a { padding: 5px 0; font-size: 13px; }
}

/* 5. Parts with colours written into their own stylesheets. */
/* consent window (Styles/consent-manager.css) */
.evmap-consent-banner-copy a, .evmap-consent-policy-link, .evmap-consent-dialog > header span { color: var(--evi-green-dark); }
.evmap-consent-actions button, .evmap-consent-dialog-actions button, .evmap-consent-close { border-color: var(--evi-green); color: var(--evi-green-dark); }
.evmap-consent-dialog-actions button:first-child, .evmap-consent-actions .evmap-consent-choice-action { border-color: var(--evi-green); background: var(--evi-green); color: #fff; }
.evmap-consent-actions .evmap-consent-choice-action:hover, .evmap-consent-dialog-actions button:first-child:hover { border-color: var(--evi-green-dark); background: var(--evi-green-dark); }
.evmap-consent-category-heading input { accent-color: var(--evi-green); }
/* message pages (Styles/message-page.css) */
.evmap-body [data-edc-message-page] { --message-accent: var(--evi-green); --message-tint: var(--evi-mint); background: transparent; }
.evmap-body [data-edc-message-page] .message-action:hover { border-color: var(--evi-green); background: var(--evi-mint); color: var(--evi-green-dark); }
.evmap-body [data-edc-message-page] .message-action-primary, .evmap-body [data-edc-message-page] .message-action-primary:hover { border-color: transparent; background: var(--evi-button); color: #fff; }
.evmap-body [data-edc-message-page] .message-action-primary:hover { background: var(--evi-green-dark); }
.evmap-body [data-edc-message-page] a:focus-visible { outline-color: var(--evi-green); }
/* documents (Styles/content-public.css): headings in the font of the page */
.content-public-header h1 { font-family: var(--ev-font-sans); font-size: 40px; font-weight: 790; line-height: 1.12; letter-spacing: -1px; color: var(--evi-ink); }
.content-public-body h1, .content-public-body h2, .content-public-body h3, .content-public-body h4 { font-family: var(--ev-font-sans); font-weight: 760; letter-spacing: -.4px; color: var(--evi-ink); }
.content-public-body a { color: var(--evi-green-dark); }
.content-public-body th { background: var(--evi-soft); }
.content-public-body blockquote { border-left-color: #9fd3c7; }
@media (max-width: 700px) { .content-public-header h1 { font-size: 30px; letter-spacing: -.6px; } }
/* statistics (modules/evmap-statistics.css): share bars */
.evstat-share > span { background: linear-gradient(90deg, #008c7c, #2fa896); }

/* 6. Sign-in pages: the word mark is in the header, so the mark above the title goes; the lead and the side panel
   carry the texts of the Insights site (PUBLIC.AUTH.INSIGHTS.*). */
.focused-card .identity-mark { display: none; }
.focused-card-header > p, .context-panel h2 { text-wrap: balance; }
/* marks and step numbers of the panel lists: centred in their boxes, in the green of the page */
.context-list .context-list-icon { display: grid; place-items: center; margin-top: 0; font-size: 13px; line-height: 1; color: var(--evi-green-dark); }
.context-panel.is-brand .context-list .context-list-icon { color: #9fe3cf; }

/* 7. Signed-in workspace (operations shell): the word mark in the sidebar and in the phone top bar; the search of
   operators and locations belongs to the main site. */
.operations-brand .evmap-insights-word, .operations-topbar-brand .evmap-insights-word { font-size: 20px; }
.operations-brand .evmap-insights-sub, .operations-topbar-brand .evmap-insights-sub { padding-left: 10px; font-size: 11px; }
.evmap-operations .operations-topbar .operations-search { display: none; }
