/* Public site in the Harmonia standard: moon white, gold as the only warm accent, sentence case,
   serif headings, short tiles whose details open in a popup. Loaded after home.css. */
:root[data-theme=light] body, :root:not([data-theme]) body { background: #EEF1F5; }
.public-site .home-section, .public-site .decision-section { background: transparent; }
.public-site :is(.eyebrow, .example-label, .case-flow dt, .site-footer .footer-brand span) { text-transform: none !important; letter-spacing: 0 !important; }
.public-site .eyebrow { font-weight: 600; font-size: 13px; color: #D8B26A; }
.public-site main .home-section .eyebrow, .public-site .audience-card .eyebrow, .public-site .decision-card .eyebrow { color: #7A5A1E; }
.public-site .section-number, .public-site .role-index { display: none !important; }
.public-site .section-heading h2 { position: relative; padding-left: 14px; }
.public-site .section-heading h2::before { content: ""; position: absolute; left: 0; top: .22em; bottom: .22em; width: 3px; border-radius: 2px; background: #C99B45; }
.public-site :is(.audience-card, .use-case-card, .decision-card) { background: #fff !important; border: 1px solid #DCE2EA !important; border-radius: 14px !important; box-shadow: 0 1px 2px rgba(20,32,44,.04), 0 16px 34px -20px rgba(20,32,44,.22) !important; position: relative; }
.public-site :is(.audience-card, .use-case-card)::after { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #C99B45, rgba(201,155,69,.15) 70%, rgba(201,155,69,0)); }
.public-site .decision-toggle { background: transparent !important; border: 0 !important; box-shadow: none !important; color: #7A5A1E !important; padding: 2px 0 !important; min-height: 0 !important; font-weight: 600; text-decoration: underline; text-decoration-color: #D8B26A; text-underline-offset: 4px; align-self: flex-start; }
.public-site .evidence-row { border-color: #DCE2EA !important; }
.public-site .evidence-number { color: #14202C; }
.public-site .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.public-site .news-grid > .news-feature { grid-column: 1 / -1; background: linear-gradient(120deg, #fff 55%, #FBF6EA) !important; border-color: #E6D3A8 !important; }
.public-site .news-grid > .news-feature h3 { font-size: 24px; }
@media (max-width: 760px) { .public-site .news-grid { grid-template-columns: 1fr; } }
/* Use-case tiles: title, input and what opens; the full flow in a popup. */
.public-site .use-case-card.is-compact .case-flow > div:not(:first-child), .public-site .use-case-card.is-compact > details { display: none; }
.public-site .case-more { margin-top: auto; padding-top: 14px; border-top: 1px solid #E8ECF1; display: flex; flex-direction: column; gap: 8px; }
.public-site .case-more p { margin: 0; font-size: 13px; color: #5B6673; }
.public-site .case-more button { align-self: flex-start; background: none; border: 0; padding: 2px 0; cursor: pointer; font: inherit; font-weight: 600; color: #7A5A1E; text-decoration: underline; text-decoration-color: #D8B26A; text-underline-offset: 4px; }
.home-dialog { border: 0; border-radius: 18px; padding: 0; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-shadow: 0 30px 80px rgba(2,10,24,.45); color: #14202C; }
.home-dialog::backdrop { background: rgba(6,16,30,.55); }
.home-dialog .hd-in { padding: 30px 34px; position: relative; }
.home-dialog .hd-in::before { content: ""; position: absolute; left: 34px; right: 34px; top: 0; height: 3px; background: linear-gradient(90deg,#C99B45,rgba(201,155,69,.15) 70%,rgba(201,155,69,0)); }
.home-dialog h2 { margin: 0 0 18px; font: 600 26px/1.25 Georgia, 'IBM Plex Serif', serif; }
.home-dialog dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid #DCE2EA; }
.home-dialog dl > div { padding: 16px 18px 16px 0; }
.home-dialog dl > div + div { padding-left: 18px; border-left: 1px solid #E8ECF1; }
.home-dialog dt { font-weight: 600; font-size: 13px; margin-bottom: 6px; display: flex; gap: 8px; align-items: baseline; }
.home-dialog dt span { font: 500 18px Georgia, serif; color: #B8862E; }
.home-dialog dd { margin: 0; font-size: 15px; line-height: 1.6; }
.home-dialog .hd-extra { margin-top: 16px; font-size: 14px; color: #5B6673; }
.home-dialog .hd-close { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid #DCE2EA; background: #fff; cursor: pointer; font-size: 20px; }
@media (max-width: 640px) { .home-dialog dl { grid-template-columns: 1fr; } .home-dialog dl > div + div { padding-left: 0; border-left: 0; border-top: 1px solid #E8ECF1; } }

.public-site .decision-card .decision-face { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.public-site .decision-card::after { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #C99B45, rgba(201,155,69,.15) 70%, rgba(201,155,69,0)); }
.public-site .news-grid > .news-feature { min-height: 0 !important; }
.public-site .home-main, .public-site .decision-section, .public-site main { background: transparent !important; }
.home-dialog dl > div:first-child { padding-left: 0; }
.home-dialog dl > div { padding-top: 16px; }

/* Every block of text sits on a surface; the hero is a rounded photo band inside the same width as the panels below. */
:is(:root[data-theme=light], :root:not([data-theme])) .public-site .site-header { background: rgba(247,249,252,.94); backdrop-filter: blur(10px); border-bottom: 1px solid #DCE2EA; }
:is(:root[data-theme=light], :root:not([data-theme])) .public-site .site-header :is(.main-nav a, .brand-type) { color: #14202C; }
:is(:root[data-theme=light], :root:not([data-theme])) .public-site .site-header .main-nav a:hover { color: #7A5A1E; }
:is(:root[data-theme=light], :root:not([data-theme])) .public-site .site-header :is(.locale-button, .menu-toggle, .theme-toggle, [data-theme-toggle]) { color: #14202C; border-color: #C9B48A; background: #fff; }
.public-site .home-hero { width: min(var(--home-width), calc(100% - 64px)); margin: 28px auto 0; min-height: 0; border-radius: 22px; box-shadow: 0 1px 2px rgba(20,32,44,.06), 0 28px 60px -34px rgba(20,32,44,.55); }
.public-site .home-hero .hero-content { width: auto; margin: 0; padding: 64px 60px 58px; }
.public-site .home-hero .hero-content h1 { font-size: clamp(34px, 3.6vw, 52px); max-width: 720px; }
.public-site .home-hero .hero-lead { font-size: 17px; max-width: 620px; }
.public-site .decision-section { padding-top: 28px; }
.public-site .home-section { margin-block: 28px; padding: 48px 52px 52px; background: #F9FAFC; border: 1px solid #DCE2EA; border-radius: 22px; box-shadow: 0 1px 2px rgba(20,32,44,.04), 0 22px 48px -32px rgba(20,32,44,.28); }
.public-site .home-section + .home-section { border-top: 1px solid #DCE2EA; }
.public-site .home-section .section-heading { margin-bottom: 26px; }
.public-site .method-step { background: #fff; border: 1px solid #DCE2EA; border-left: 3px solid #C99B45; border-radius: 12px; padding: 20px 22px; box-shadow: 0 10px 24px -20px rgba(20,32,44,.3); }
.public-site .evidence-copy { background: #fff; border: 1px solid #DCE2EA; border-radius: 14px; padding: 26px 28px; }
.public-site .evidence-list { background: #fff; border: 1px solid #DCE2EA; border-radius: 14px; padding: 4px 28px; }
.public-site .evidence-list .evidence-row:last-child { border-bottom: 0; }
.public-site .evidence-row { grid-template-columns: 190px minmax(0, 1fr); }
.public-site .home-section > details, .public-site .evidence-layout + details { margin-top: 20px; background: #fff; border: 1px solid #DCE2EA !important; border-radius: 12px; padding: 4px 20px; }
.public-site .access-band { background: #fff; border: 1px solid #DCE2EA; border-radius: 22px; box-shadow: 0 22px 48px -32px rgba(20,32,44,.28); }
.public-site .decision-card .decision-back { display: none !important; }
.public-site .decision-card .decision-front { opacity: 1 !important; transform: none !important; visibility: visible !important; }
@media (max-width: 760px) {
  .public-site .home-hero { width: calc(100% - 24px); margin-top: 12px; border-radius: 16px; }
  .public-site .home-hero .hero-content { padding: 40px 24px 36px; }
  .public-site .home-section { margin-inline: 12px; width: auto; padding: 30px 20px 32px; border-radius: 16px; }
  .public-site .evidence-row { grid-template-columns: 1fr; }
  .public-site :is(.evidence-copy, .evidence-list) { padding-inline: 20px; }
}
.home-dialog .hd-back .eyebrow { color: #7A5A1E; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.home-dialog .hd-back h3 { margin: 0 0 16px; font: 600 26px/1.25 Georgia, 'IBM Plex Serif', serif; padding-right: 40px; }
.home-dialog .hd-back ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid #DCE2EA; }
.home-dialog .hd-back li { padding: 12px 0 12px 18px; border-bottom: 1px solid #E8ECF1; position: relative; font-size: 15px; line-height: 1.6; }
.home-dialog .hd-back li::before { content: ""; position: absolute; left: 0; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: #C99B45; }
.home-dialog .hd-back .decision-note { margin-top: 14px; font-size: 14px; color: #5B6673; }
.home-dialog .hd-back [data-decision-toggle], .home-dialog .hd-back button:not(.hd-close) { display: none; }
:is(:root[data-theme=light], :root:not([data-theme])) .public-site .site-header .main-nav a { color: #14202C !important; }
:is(:root[data-theme=light], :root:not([data-theme])) .public-site .site-header .main-nav a:hover { color: #7A5A1E !important; }
.public-site .access-band { background: linear-gradient(120deg, #0E2238 0%, #14304D 100%) !important; border: 1px solid #1F3A57 !important; position: relative; overflow: hidden; }
.public-site .access-band::before { content: ""; position: absolute; left: 44px; right: 44px; top: 0; height: 2px; background: linear-gradient(90deg, #C99B45, rgba(201,155,69,.15) 70%, rgba(201,155,69,0)); }
@media (max-width: 760px) { .public-site .access-band { margin-inline: 12px; width: auto; } }
/* Footer in moon white with the gold hairline; same type as the header. */
:is(:root[data-theme=light], :root:not([data-theme])) .public-site .site-footer { background: #F7F9FC; border-top: 1px solid #DCE2EA; position: relative; }
:is(:root[data-theme=light], :root:not([data-theme])) .public-site .site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, rgba(201,155,69,0), #C99B45 30%, #C99B45 70%, rgba(201,155,69,0)); opacity: .55; }
:is(:root[data-theme=light], :root:not([data-theme])) .public-site .footer-inner { color: #5B6673; }
:is(:root[data-theme=light], :root:not([data-theme])) .public-site .footer-brand > :first-child { color: #14202C; font-weight: 600; }
:is(:root[data-theme=light], :root:not([data-theme])) .public-site .footer-links .button { background: #fff; color: #14202C; border-color: #C9B48A; }
:is(:root[data-theme=light], :root:not([data-theme])) .public-site .footer-links .button:hover { border-color: #7A5A1E; color: #7A5A1E; }
.public-site .site-footer { margin-top: 12px; }
/* News cards size to their text; Details links left-aligned everywhere. */
.public-site #news .news-grid .audience-card { display: flex; flex-direction: column; grid-row: auto; }
.public-site #news .news-grid { align-items: stretch; }
.public-site .decision-toggle.button { width: auto !important; justify-content: flex-start !important; text-align: left !important; }
/* Phone: language and theme move into the menu, the header keeps sign-in and the menu button. */
.public-site .nav-extras { display: none; }
@media (max-width: 640px) {
  .public-site .nav-extras { display: flex; gap: 10px; align-items: center; padding-top: 14px; margin-top: 6px; border-top: 1px solid #DCE2EA; }
  .public-site .nav-extras .locale-button { width: auto; min-width: 84px; height: 44px; border: 1px solid #C9B48A; border-radius: 8px; background: #fff; color: #14202C; font-weight: 600; }
  :is(:root[data-theme=light], :root:not([data-theme])) .public-site .main-nav.is-open { background: #F7F9FC; border-bottom: 1px solid #DCE2EA; }
}
/* Navy theme: the same panels in navy shades, so light text stays readable. */
:root[data-theme=navy] body { background: #071624; }
:root[data-theme=navy] .public-site .home-section { background: #0C1F33; border-color: #1E3854; box-shadow: 0 22px 48px -32px rgba(0,0,0,.6); }
:root[data-theme=navy] .public-site :is(.audience-card, .use-case-card, .decision-card, .news-grid > .news-feature) { background: #102840 !important; border-color: #24425F !important; box-shadow: 0 16px 34px -22px rgba(0,0,0,.6) !important; }
:root[data-theme=navy] .public-site :is(.method-step, .evidence-copy, .evidence-list, .home-section > details, .evidence-layout + details) { background: #102840; border-color: #24425F !important; }
:root[data-theme=navy] .public-site .method-step { border-left-color: #C99B45 !important; }
:root[data-theme=navy] .public-site :is(.evidence-row) { border-color: #24425F !important; }
:root[data-theme=navy] .public-site :is(.evidence-number, .evidence-state) { color: #F3EEE3; }
:root[data-theme=navy] .public-site :is(main .home-section .eyebrow, .audience-card .eyebrow, .decision-card .eyebrow, .decision-toggle, .case-more button) { color: #D8B26A !important; }
:root[data-theme=navy] .public-site .case-more { border-top-color: #24425F; }
:root[data-theme=navy] .public-site .case-more p { color: #9FB0C2; }
:root[data-theme=navy] .public-site .site-footer { background: #06121F; }
/* Phone menu in moon white. */
@media (max-width: 1100px) {
  :is(:root[data-theme=light], :root:not([data-theme])) .public-site #publicNav { background: #F7F9FC; border-bottom: 1px solid #DCE2EA; box-shadow: 0 18px 30px -18px rgba(20,32,44,.35); }
  :is(:root[data-theme=light], :root:not([data-theme])) .public-site #publicMenu { background: #fff; color: #14202C; border: 1px solid #C9B48A; }
  :root[data-theme=navy] .public-site .nav-extras { border-top-color: #24425F; }
}
/* News: one white list, title on the left, text on the right, no uneven tiles. */
.public-site #news .news-grid { grid-template-columns: 1fr !important; gap: 0; background: #fff; border: 1px solid #DCE2EA; border-radius: 14px; padding: 4px 28px; }
.public-site #news .news-grid > .audience-card { display: grid !important; grid-template-columns: 280px minmax(0,1fr); gap: 28px; align-items: baseline; background: transparent !important; border: 0 !important; border-bottom: 1px solid #E8ECF1 !important; border-radius: 0 !important; box-shadow: none !important; padding: 22px 0 !important; }
.public-site #news .news-grid > .audience-card:last-child { border-bottom: 0 !important; }
.public-site #news .news-grid > .audience-card::after { display: none; }
.public-site #news .news-grid > .audience-card h3 { min-height: 0; margin: 0; font-size: 21px; position: relative; padding-left: 16px; }
.public-site #news .news-grid > .audience-card h3::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: #C99B45; }
.public-site #news .news-grid > .audience-card p { margin: 0; }
:root[data-theme=navy] .public-site #news .news-grid { background: #102840; border-color: #24425F; }
:root[data-theme=navy] .public-site #news .news-grid > .audience-card { background: transparent !important; border-bottom-color: #24425F !important; }
@media (max-width: 760px) { .public-site #news .news-grid { padding: 4px 20px; } .public-site #news .news-grid > .audience-card { grid-template-columns: 1fr; gap: 8px; } }

/* Contact, privacy, cookies: the same moon-white page, text on white panels. */
:is(:root[data-theme=light], :root:not([data-theme])) .service-site, :is(:root[data-theme=light], :root:not([data-theme])) .service-site .service-main { background: #EEF1F5 !important; }
.service-site .service-main { padding-block: 32px 48px; }
:is(:root[data-theme=light], :root:not([data-theme])) .service-site :is(.contact-intro, .contact-form-panel, .policy-header, .policy-section, .cookie-settings) { background: #fff; border: 1px solid #DCE2EA !important; border-radius: 18px; box-shadow: 0 1px 2px rgba(20,32,44,.04), 0 22px 48px -32px rgba(20,32,44,.28); position: relative; }
.service-site :is(.contact-intro, .contact-form-panel, .policy-header, .policy-section, .cookie-settings) { padding: 34px 38px !important; }
.service-site :is(.contact-intro, .contact-form-panel, .policy-header)::before { content: ""; position: absolute; left: 38px; right: 38px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #C99B45, rgba(201,155,69,.15) 70%, rgba(201,155,69,0)); }
.service-site .policy-section { margin-top: 18px; border-top: 1px solid #DCE2EA; }
.service-site .policy-section + .policy-section { border-top: 1px solid #DCE2EA; }
.service-site .contact-layout { align-items: start; }
:root[data-theme=navy] .service-site :is(.contact-intro, .contact-form-panel, .policy-header, .policy-section, .cookie-settings) { background: #0C1F33; border: 1px solid #1E3854 !important; border-radius: 18px; }
@media (max-width: 760px) { .service-site :is(.contact-intro, .contact-form-panel, .policy-header, .policy-section, .cookie-settings) { padding: 24px 20px !important; } .service-site :is(.contact-intro, .contact-form-panel, .policy-header)::before { left: 20px; right: 20px; } }

/* Sign-in: photo as a rounded band, the form on a white card, moon-white around both. */
:is(:root[data-theme=light], :root:not([data-theme])) .login-site, :is(:root[data-theme=light], :root:not([data-theme])) .login-site .login-main { background: #EEF1F5 !important; }
.login-site .login-main { gap: 24px; padding: 24px 32px 32px; }
.login-site .login-visual { border-radius: 22px; overflow: hidden; position: relative; box-shadow: 0 28px 60px -34px rgba(20,32,44,.55); }
.login-site .login-panel { background: transparent !important; }
:is(:root[data-theme=light], :root:not([data-theme])) .login-site .login-card { background: #fff; border: 1px solid #DCE2EA; border-radius: 22px; padding: 34px 36px !important; box-shadow: 0 1px 2px rgba(20,32,44,.04), 0 22px 48px -32px rgba(20,32,44,.28); position: relative; }
.login-site .login-card::before { content: ""; position: absolute; left: 36px; right: 36px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #C99B45, rgba(201,155,69,.15) 70%, rgba(201,155,69,0)); }
:root[data-theme=navy] .login-site .login-card { background: #0C1F33; border: 1px solid #1E3854; border-radius: 22px; padding: 34px 36px !important; position: relative; }
@media (max-width: 760px) { .login-site .login-main { padding: 12px 12px 24px; gap: 14px; } .login-site .login-visual { border-radius: 16px; } .login-site .login-card { padding: 26px 20px !important; } }
.service-site .policy-section > .in-panel { margin-top: 18px; }
.service-site .policy-section > details.in-panel { border-bottom: 0; padding-bottom: 0; }
.service-site .cookie-settings { margin-top: 18px; }
.service-site .policy-main > .policy-links { margin-top: 18px; }
.service-site :is(.contact-intro, .contact-form-panel) { align-self: start; }
.service-site .contact-intro { top: auto !important; }
/* Phone: news rows stack title above text (no shared grid cell, so they never overlap). */
@media (max-width: 760px) {
  .public-site #news .news-grid > .audience-card { display: flex !important; flex-direction: column; align-items: stretch; gap: 8px; }
  .public-site #news .news-grid > .audience-card > * { grid-row: auto !important; grid-column: auto !important; }
}

/* 10 Nov 2026: one button shape everywhere, symmetric footer links, sign-in card never clipped, measurement numbers never overlap their text. */
.public-site .header-actions > :is(.button, .locale-button, .theme-toggle, #publicMenu), .footer-links .button { height: 46px !important; min-height: 46px !important; border-radius: 8px !important; box-shadow: none !important; }
.public-site .header-actions > .theme-toggle { width: 46px !important; min-width: 46px !important; padding: 0 !important; }
.public-site .header-actions > #publicMenu { width: 46px !important; min-width: 46px !important; }
.site-footer .footer-links, .login-site .footer-links { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 10px !important; width: auto !important; justify-self: end; }
.site-footer .footer-links .button { width: auto !important; min-width: 132px !important; }
@media (max-width: 640px) { .site-footer .footer-links, .login-site .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; width: 100% !important; } .site-footer .footer-links .button { min-width: 0 !important; } }
.login-site .login-main { height: auto !important; min-height: 0 !important; align-items: center; }
.login-site .login-panel { overflow: visible !important; height: auto !important; max-height: none !important; padding-block: 8px !important; }
.login-site .login-kicker { text-transform: none !important; letter-spacing: 0 !important; color: #7A5A1E; font-weight: 600; font-size: 13px; }
.public-site .evidence-row { grid-template-columns: minmax(190px, max-content) minmax(0, 1fr) !important; column-gap: 32px !important; }
.public-site .evidence-row .evidence-number { white-space: nowrap; }
@media (max-width: 760px) { .public-site .evidence-row { grid-template-columns: 1fr !important; } }
.login-site .login-main { align-items: start !important; }
.login-site .login-panel { align-items: flex-start !important; padding-top: 24px !important; padding-bottom: 24px !important; }
.site-footer .footer-links .button { min-width: 0 !important; padding: 0 18px !important; }
@media (max-width: 1100px) { .site-footer .footer-links, .login-site .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.login-site { height: auto !important; min-height: 100vh; overflow: visible !important; }
.login-site .footer-inner { padding: 16px clamp(20px, 4vw, 40px) !important; column-gap: 32px; }
.login-site .footer-links { justify-self: end; max-width: 100%; }

/* Sign-in page (11 Nov 2026): header and footer buttons fit the width of the sign-in buttons; the photo does not jump. */
body.login-site .header-actions.auth-fit{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;flex:none;margin:0!important;justify-content:stretch}
body.login-site .header-actions.auth-fit > *{font-size:var(--fl-size,14px)!important;width:100%!important;min-width:0!important;padding:4px 3px!important;white-space:normal!important;text-align:center;line-height:1.15!important;overflow:hidden;display:flex!important;align-items:center;justify-content:center}
body.login-site .header-actions.auth-fit > .theme-toggle{width:100%!important;padding:0!important}
body.login-site .footer-links.auth-fit{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;flex:none;margin:0!important}
body.login-site .footer-links.auth-fit > *{font-size:var(--fl-size,14px)!important;width:100%!important;min-width:0!important;padding:4px 3px!important;white-space:normal!important;text-align:center;line-height:1.15!important;overflow:hidden;hyphens:none;word-break:normal;display:flex!important;align-items:center;justify-content:center}
body.login-site .auth-fit.tight > *{hyphens:auto;overflow-wrap:anywhere}
/* Sign-in card: buttons that stand side by side share the width equally. */
body.login-site .login-card :is(.login-pair-actions,.login-followup-actions,.invite-actions):not([hidden]){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:10px}
body.login-site .login-card :is(.login-pair-actions,.login-followup-actions,.invite-actions) > :is(.button,button,a){width:100%!important;min-width:0!important;justify-content:center;text-align:center}
@media (max-width:480px){body.login-site .login-card :is(.login-pair-actions,.login-followup-actions,.invite-actions):not([hidden]){grid-template-columns:1fr}}
/* Phone: the logo gets its own line, so the button row (card width) never covers it. */
@media (max-width:760px){body.login-site .site-header{height:auto!important}
body.login-site .site-header .header-inner{display:grid!important;grid-template-columns:1fr;justify-items:start;row-gap:8px;height:auto!important;padding-top:8px;padding-bottom:10px}
body.login-site .site-header .site-brand{width:auto!important}}
@media (max-width:760px){body.login-site .login-visual{margin-left:20px!important;margin-right:20px!important}}
/* Sign-in: one coherent border for the card, the inputs and every button (11 Nov 2026). */
:is(:root[data-theme=light], :root:not([data-theme])) .login-site .login-card { border-color: #C9B48A !important; }
:is(:root[data-theme=light], :root:not([data-theme])) .login-site .login-card .form-field input,
:is(:root[data-theme=light], :root:not([data-theme])) .login-site .login-card input[type=text],
:is(:root[data-theme=light], :root:not([data-theme])) .login-site .login-card input[type=email],
:is(:root[data-theme=light], :root:not([data-theme])) .login-site .login-card textarea,
:is(:root[data-theme=light], :root:not([data-theme])) .login-site .login-card select { border-color: #C9B48A !important; }
:root[data-theme=navy] .login-site .login-card { border-color: rgba(214,173,98,.35) !important; }
/* One radius for every button and field on the sign-in page; the card keeps its larger container radius. */
body.login-site .login-card :is(.button, button:not(.tg-lang), .auth-choice, .form-field input, input[type=text], input[type=email], select),
body.login-site .header-actions.auth-fit > *, body.login-site .footer-links.auth-fit > * { border-radius: 8px !important; }

/* 11 Nov 2026 — one proportion system (Nikos: nothing sticks out past the page's reference lines).
   Gutters: 32px on desktop and tablet, 16px on phones. Bars (header, footer): 44px controls.
   Primary calls to action: 44px. Every other button and every field: 38px (buttons.css). */
.public-site .header-actions > :is(.button, .locale-button, .theme-toggle, #publicMenu),
.public-site .footer-links .button { height: 44px !important; min-height: 44px !important; }
body.public-site:not(.login-site) .header-actions > :is(.theme-toggle, #publicMenu) { width: 44px !important; min-width: 44px !important; flex: 0 0 44px !important; }
.public-site .hero-actions .button { height: 44px !important; min-height: 44px !important; }
@media (max-width: 760px) {
  .public-site .header-inner, .public-site .footer-inner { width: calc(100% - 32px) !important; margin-inline: auto !important; }
  .public-site .home-main > section { width: calc(100% - 32px) !important; margin-inline: auto !important; }
  .public-site .home-main > section.home-section { margin-inline: auto !important; }
}

/* Sign-in: the card is the reference. Desktop: gutters 32 | photo | 32 | card (460) | 32, so the page is symmetric. */
@media (min-width: 961px) {
  body.login-site .login-main { grid-template-columns: minmax(0, 1fr) 460px !important; gap: 32px !important; padding-inline: 32px !important; }
  body.login-site .login-panel { padding: 0 !important; }
  body.login-site .login-card { max-width: 460px !important; }
}
/* Tablet and phone: one column; photo, header rows and footer take exactly the card's width. */
@media (max-width: 960px) {
  body.login-site { --auth-w: min(520px, calc(100vw - 64px)); }
  body.login-site .login-main { padding-inline: 0 !important; }
  body.login-site .login-panel { padding-inline: 0 !important; }
  body.login-site :is(.login-visual, .login-card) { width: var(--auth-w) !important; max-width: var(--auth-w) !important; margin-inline: auto !important; }
  body.login-site .site-header { height: auto !important; }
  body.login-site .site-header .header-inner { display: grid !important; grid-template-columns: 1fr; justify-items: start; row-gap: 8px; width: var(--auth-w) !important; height: auto !important; padding-block: 10px !important; margin-inline: auto !important; }
  body.login-site .site-header .site-brand { width: auto !important; }
  body.login-site .footer-inner { width: var(--auth-w) !important; margin-inline: auto !important; padding-inline: 0 !important; }
  body.login-site .footer-brand { max-width: 100%; }
}
@media (max-width: 760px) { body.login-site { --auth-w: calc(100vw - 32px); } }
/* Header and footer labels stay on one line; the fitting script shrinks the type instead of wrapping. */
body.login-site .header-actions.auth-fit > *, body.login-site .footer-links.auth-fit > * { white-space: nowrap !important; }

/* 11 Nov 2026, full UI pass: Contact, Privacy and Cookies on phones.
   The bar stays one row: language and theme are 44px squares, "Home" takes the rest, so its label is never cut.
   The page cards share the header's 16px edges. */
@media (max-width: 760px) {
  body.service-site .header-actions { display: flex !important; gap: 8px !important; flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
  body.service-site .header-actions > .button { flex: 0 0 auto; width: auto !important; min-width: 0 !important; padding-inline: 14px !important; white-space: nowrap !important; }
  body.service-site .header-actions > :is(.locale-button, .theme-toggle) { flex: 0 0 44px !important; width: 44px !important; min-width: 44px !important; padding: 0 !important; }
  body.service-site .service-main { padding-inline: 16px !important; width: 100% !important; max-width: none !important; box-sizing: border-box; }
  body.service-site .service-main > * { width: 100% !important; max-width: none !important; margin-inline: 0 !important; box-sizing: border-box; }
  body.service-site .site-header .header-inner { display: flex !important; align-items: center; gap: 12px; }
  body.service-site .site-header .header-inner > .header-actions { margin-left: auto; }
}
/* Contact steps: the numbers sit in one fixed-width column, so every step heading starts on the same line. */
.service-site .contact-step { flex: 0 0 2.2em; font-variant-numeric: tabular-nums; }

/* Sign-in on desktop: the page is exactly one screen. Header, photo + card, footer fill the window with no scrolling;
   the photo and the card stretch together to the space between the bars (16px from each), the form centred in the card.
   Only a window shorter than the form itself (under ~770px) scrolls. */
@media (min-width: 961px) {
  body.login-site { min-height: 100vh; min-height: 100dvh; grid-template-rows: auto minmax(0, 1fr) auto; }
  body.login-site > main.login-main { padding-block: 16px !important; align-items: stretch !important; align-content: stretch; min-height: 0; }
  body.login-site .login-main > .login-visual, body.login-site .login-main > .login-panel { height: auto !important; min-height: 0; align-self: stretch !important; }
  body.login-site .login-panel > .login-card { height: 100% !important; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding-block: 28px !important; }
  body.login-site .login-visual > .login-photo { height: 100% !important; object-fit: cover; }
}
/* Lists in "Sieci" and "Co nowego": the title column is 280px wide in every list, so all the texts on the
   right start on one vertical line (news list, figures and the rules of the networks). */
@media (min-width: 761px) {
  .public-site :is(#news, #neural) .evidence-list { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 28px; }
  .public-site :is(#news, #neural) .evidence-list > .evidence-row { grid-column: 1 / -1; grid-template-columns: subgrid !important; column-gap: 28px !important; }
}
/* Neural networks: four cards whose labels, titles and texts share rows, then the rules list. */
.public-site #neural .method-step { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.public-site #neural .method-step .net-code { display: block; margin: 0 0 10px; color: #7A5A1E; font-size: 13px; font-weight: 600; line-height: 1.5; }
.public-site #neural .method-step h3 { margin: 0 0 12px; font-size: 24px; }
.public-site #neural .evidence-list { margin-top: 24px; }
@media (min-width: 761px) and (max-width: 1100px) { .public-site #neural .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
:root[data-theme=navy] .public-site #neural .method-step .net-code { color: #D8B26A; }
/* News: earlier entries fold under one row and keep the look of the list above. */
.public-site #news details.news-earlier .news-grid { border: 0; background: transparent; padding: 0 8px 4px; }
.public-site #news details.news-earlier .news-grid > .audience-card p { padding: 0; font-size: 15px; line-height: 1.75; }
:root[data-theme=navy] .public-site #news details.news-earlier .news-grid { background: transparent; }
@media (max-width: 760px) { .public-site #news details.news-earlier .news-grid { padding: 0 0 4px; } }
/* News: status data as three tiles in the look of the cards under the hero. Labels, figures and texts share rows. */
.public-site #news .news-stats { gap: 24px; margin-bottom: 24px; }
.public-site #news .news-stats > .decision-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding: 26px 26px 28px; }
.public-site #news .news-stats .eyebrow { margin: 0; }
.public-site #news .news-stats .decision-number { display: block; min-height: 0; margin: 14px 0 0; font-size: 44px; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.public-site #news .news-stats .decision-summary { margin: 14px 0 0 !important; }
@media (max-width: 1100px) { .public-site #news .news-stats > .decision-card { padding: 22px 20px 24px; } .public-site #news .news-stats .decision-number { font-size: 34px; } }
@media (max-width: 960px) { .public-site #news .news-stats { gap: 16px; } .public-site #news .news-stats .decision-number { font-size: 40px; } }
/* 25 Nov 2026 - Measurements: the text card and the list are two framed tiles on one 24px gap and end on one
   bottom line; the next measurement sits in the text card; all descriptions start on one vertical line;
   earlier measurements fold under one row like "Earlier changes" in the news. */
.public-site #evidence-scope .evidence-copy { display: flex; flex-direction: column; }
.public-site #evidence-scope .evidence-copy > p { margin-top: 0; }
.public-site #evidence-scope .evidence-next { margin: 22px 0 24px; padding-top: 20px; border-top: 1px solid #DCE2EA; }
.public-site #evidence-scope .evidence-next > .evidence-state { margin: 0; }
.public-site #evidence-scope .evidence-next > .evidence-description { margin: 8px 0 0; font-size: 14px; line-height: 1.8; }
.public-site #evidence-scope .evidence-copy > .button { margin-top: auto; align-self: flex-start; }
.public-site #evidence-scope details .evidence-list { border: 0; background: transparent; padding: 0 8px 4px; }
:root[data-theme=navy] .public-site #evidence-scope .evidence-next { border-color: #24425F; }
.public-site #evidence-scope .evidence-layout { gap: 24px; }
@media (min-width: 961px) {
  .public-site #evidence-scope .evidence-layout { align-items: stretch; }
}
@media (min-width: 761px) {
  .public-site #evidence-scope .evidence-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 32px; }
  .public-site #evidence-scope .evidence-list > .evidence-row { grid-column: 1 / -1; grid-template-columns: subgrid !important; column-gap: 32px !important; }
}
.public-site #evidence-scope .evidence-next-list { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid #DCE2EA; }
.public-site #evidence-scope .evidence-next-list li { padding: 10px 0 10px 18px; border-bottom: 1px solid #DCE2EA; position: relative; font-size: 15px; line-height: 1.6; }
.public-site #evidence-scope .evidence-next-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: #C99B45; }
:root[data-theme=navy] .public-site #evidence-scope .evidence-next-list, :root[data-theme=navy] .public-site #evidence-scope .evidence-next-list li { border-color: #24425F; }
/* 25 Nov 2026 - one sign-in entry: the home footer has three links (Sign in is in the header), so its grid has
   three columns and the last link ends on the right edge; on a phone the three stay in one row. */
body.public-site:not(.login-site) .site-footer .footer-links:not(:has(> :nth-child(4))) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
/* 28 Nov 2026 - Responsible AI: the section title sits on the photo, like the title of the page on its hero; the
   faces stay above the text and the caption names the figures. Then the three tiles and the list in the look of
   "What's new" (same tiles, same 280px title column). */
.public-site #responsible-ai .ria-banner { position: relative; isolation: isolate; margin: 0 0 24px; border-radius: 14px; overflow: hidden; border: 1px solid #24425F; aspect-ratio: 1672 / 720; display: flex; align-items: flex-end; }
.public-site #responsible-ai .ria-banner img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.public-site #responsible-ai .ria-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(6,23,37,.94) 0%, rgba(6,23,37,.72) 30%, rgba(6,23,37,0) 62%), linear-gradient(90deg, rgba(6,23,37,.55) 0%, rgba(6,23,37,0) 55%); }
.public-site #responsible-ai .ria-banner-text { margin: 0 !important; padding: 0 44px 40px; max-width: 640px; }
.public-site #responsible-ai .ria-banner-text h2 { color: #fff !important; }
.public-site #responsible-ai .ria-banner-text p { color: #E8ECEF !important; }
.public-site #responsible-ai .ria-caption { position: absolute; right: 24px; bottom: 18px; max-width: 40%; color: #E8ECEF; font-size: 13px; line-height: 1.5; text-align: right; }
@media (min-width: 761px) and (max-width: 1100px) { .public-site #responsible-ai .ria-banner { aspect-ratio: 16 / 10; } }
@media (max-width: 760px) {
  .public-site #responsible-ai .ria-banner { aspect-ratio: 2 / 3; flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .public-site #responsible-ai .ria-banner img { object-position: 32% 0%; }
  .public-site #responsible-ai .ria-banner-text { padding: 0 20px 12px; }
  .public-site #responsible-ai .ria-caption { position: static; max-width: none; text-align: left; padding: 0 20px 18px; font-size: 12px; }
}
.public-site #responsible-ai .news-stats { gap: 24px; margin-bottom: 24px; }
.public-site #responsible-ai .news-stats > .decision-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding: 26px 26px 28px; }
.public-site #responsible-ai .news-stats .eyebrow { margin: 0; }
.public-site #responsible-ai .news-stats .decision-number { display: block; min-height: 0; margin: 14px 0 0; font-size: 44px; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.public-site #responsible-ai .news-stats .decision-summary { margin: 14px 0 0 !important; }
@media (max-width: 1100px) { .public-site #responsible-ai .news-stats > .decision-card { padding: 22px 20px 24px; } .public-site #responsible-ai .news-stats .decision-number { font-size: 34px; } }
@media (max-width: 960px) { .public-site #responsible-ai .news-stats { gap: 16px; } .public-site #responsible-ai .news-stats .decision-number { font-size: 40px; } }
@media (min-width: 761px) {
  .public-site #responsible-ai .evidence-list { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 28px; }
  .public-site #responsible-ai .evidence-list > .evidence-row { grid-column: 1 / -1; grid-template-columns: subgrid !important; column-gap: 28px !important; }
}
.public-site #responsible-ai .ria-more { margin: 24px 0 0; }
