:root {
  --red: #e0001b;
  --red-dark: #b90016;
  --ink: #111317;
  --muted: #68717e;
  --line: #e1e4e8;
  --paper: #fff;
  --canvas: #f4f5f7;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; }
button, input { font: inherit; }
a { color: inherit; }

/* Centrale login */
.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background:
    radial-gradient(circle at 92% 8%, rgba(224,0,27,.12), transparent 32%),
    linear-gradient(rgba(87,101,96,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87,101,96,.055) 1px, transparent 1px),
    #fafafa;
  background-size: auto, 64px 64px, 64px 64px, auto;
}
.login-panel { position: relative; width: min(720px, 100%); padding: clamp(34px, 6vw, 64px); border: 1px solid rgba(17,19,23,.09); border-radius: 28px; background: rgba(255,255,255,.96); box-shadow: 0 30px 80px rgba(17,19,23,.13); }
.language-switch { display: flex; padding: 4px; border: 1px solid #dfe3e7; border-radius: 12px; background: white; }
.login-panel > .language-switch { position: absolute; top: 28px; right: 28px; }
.language-switch button { min-width: 44px; min-height: 38px; padding: 7px 10px; border: 0; border-radius: 8px; color: #626b77; background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.language-switch button.active { color: white; background: var(--red); }
.brand { display: inline-block; margin-bottom: 42px; }
.brand img { display: block; width: 190px; max-width: 45vw; height: auto; }
.eyebrow { margin: 0 0 13px; color: var(--red); font-size: 12px; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.login-panel h1 { margin: 0; font-size: clamp(42px, 8vw, 72px); line-height: .94; letter-spacing: -.065em; }
.login-panel h1 em { color: var(--red); font-style: normal; }
.intro { max-width: 580px; margin: 24px 0 32px; color: #626a77; font-size: 17px; line-height: 1.55; }
#login-form { display: grid; grid-template-columns: minmax(145px, .55fr) minmax(0, 1fr); align-items: center; gap: 14px 22px; }
#login-form label { color: #46534f; font-size: 13px; font-weight: 800; }
#login-form input { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid #d5dbd8; border-radius: 12px; color: var(--ink); background: white; }
#login-form input:focus { border-color: var(--red); outline: 4px solid rgba(224,0,27,.11); }
.help, .privacy, .error, .submit, .back { grid-column: 1 / -1; }
.help { margin: 12px 0 0; padding: 16px 18px; border-radius: 12px; color: #49515d; background: #f1f3f5; font-size: 13px; line-height: 1.55; }
.help a { color: var(--red); font-weight: 800; }
.privacy { margin: 3px 0 8px; color: #67707d; font-size: 12px; line-height: 1.55; }
.error { margin: 0; padding: 12px 14px; border: 1px solid #efb6bd; border-radius: 10px; color: #950012; background: #fff2f4; font-size: 13px; }
.submit { min-height: 56px; border: 0; border-radius: 12px; color: white; background: var(--red); box-shadow: 0 16px 34px rgba(224,0,27,.2); font-size: 15px; font-weight: 850; cursor: pointer; }
.submit:hover { background: var(--red-dark); }
.submit:disabled { cursor: wait; opacity: .65; }
.back { color: #68717e; text-align: center; font-size: 12px; }

/* Knowledge Centre */
.centre-view { min-height: 100vh; background: var(--canvas); }
.centre-header { position: sticky; z-index: 20; top: 0; padding: 18px 24px 0; }
.centre-nav { width: min(1440px, 100%); min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: auto; padding: 13px 18px 13px 24px; border: 1px solid rgba(17,19,23,.08); border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: 0 14px 44px rgba(17,19,23,.08); backdrop-filter: blur(18px); }
.centre-brand img { display: block; width: 150px; height: auto; }
.centre-nav-actions { display: flex; align-items: center; gap: 10px; }
.centre-nav-actions > a, .logout-button { min-height: 42px; display: inline-flex; align-items: center; padding: 9px 13px; border: 1px solid transparent; border-radius: 10px; color: #59616d; background: transparent; font-size: 12px; font-weight: 800; text-decoration: none; }
.centre-nav-actions > a:hover { color: var(--ink); background: #f3f4f6; }
.logout-button { border-color: #dfe3e7; background: white; cursor: pointer; }
.logout-button:hover { border-color: #cbd0d6; color: var(--red); }
.centre-main { overflow: hidden; }
.centre-hero { position: relative; width: min(1340px, calc(100% - 48px)); min-height: 420px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: end; gap: 50px; margin: 34px auto 0; padding: clamp(44px, 7vw, 88px); overflow: hidden; border: 1px solid rgba(17,19,23,.08); border-radius: 32px; background: radial-gradient(circle at 92% 8%, rgba(224,0,27,.16), transparent 28%), linear-gradient(rgba(87,101,96,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(87,101,96,.045) 1px, transparent 1px), white; background-size: auto, 58px 58px, 58px 58px, auto; box-shadow: 0 24px 70px rgba(17,19,23,.08); }
.centre-hero::after { content: "K"; position: absolute; top: -150px; right: -10px; color: rgba(224,0,27,.035); font-size: 35rem; font-weight: 950; line-height: 1; pointer-events: none; }
.centre-hero-copy { position: relative; z-index: 1; }
.centre-eyebrow { margin: 0 0 18px; color: var(--red); font-size: 11px; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.centre-hero h1 { max-width: 820px; margin: 0; font-size: clamp(64px, 10vw, 128px); line-height: .82; letter-spacing: -.075em; }
.centre-hero h1 em { color: var(--red); font-style: normal; }
.centre-hero-copy > p:last-child { max-width: 650px; margin: 30px 0 0; color: #626b78; font-size: clamp(16px, 2vw, 21px); line-height: 1.55; }
.account-card { position: relative; z-index: 2; align-self: end; padding: 22px; border: 1px solid #e0e3e7; border-radius: 18px; background: rgba(255,255,255,.88); box-shadow: 0 18px 45px rgba(17,19,23,.08); backdrop-filter: blur(12px); }
.account-card span, .account-card strong, .account-card small { display: block; }
.account-card span { color: #7a828e; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.account-card strong { margin-top: 8px; overflow: hidden; font-size: 20px; text-overflow: ellipsis; }
.account-card small { margin-top: 5px; color: #737b87; }
.catalog-section { width: min(1340px, calc(100% - 48px)); margin: 82px auto 100px; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 12px; padding-bottom: 20px; border-bottom: 1px solid #daddE2; }
.catalog-heading p { margin: 0; color: #767e8a; font-size: 13px; }
.catalog-heading > div p { margin-bottom: 8px; color: var(--red); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.catalog-heading h2 { margin: 0; font-size: clamp(32px, 5vw, 50px); letter-spacing: -.05em; }
.catalog-group { padding: 34px 0 46px; border-bottom: 1px solid #daddE2; }
.catalog-group:last-child { border-bottom: 0; }
.group-heading { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 17px; margin-bottom: 22px; }
.group-heading > span { padding-top: 5px; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.group-heading h3 { margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.group-heading p { max-width: 720px; margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.group-heading-action { grid-template-columns: 44px minmax(0, 1fr) auto; }
.group-heading-action > button { align-self: center; padding: 9px 12px; border: 0; border-radius: 9px; color: var(--red); background: #fff0f2; font-size: 11px; font-weight: 850; cursor: pointer; }
.group-heading-action > button:hover { background: #ffe3e7; }
.catalog-placeholder { min-height: 92px; display: flex; align-items: center; padding: 24px 28px; border: 1px dashed #d1d6dc; border-radius: 17px; color: #858c96; background: rgba(255,255,255,.54); font-size: 12px; font-weight: 700; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-teaser { min-width: 0; overflow: hidden; border: 1px solid #dfe3e7; border-radius: 18px; background: white; box-shadow: 0 14px 38px rgba(17,19,23,.065); transition: transform .25s ease, box-shadow .25s ease; }
.news-teaser:hover { transform: translateY(-4px); box-shadow: 0 22px 52px rgba(17,19,23,.11); }
.news-teaser-button { width: 100%; height: 100%; display: flex; flex-direction: column; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.news-teaser-image { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; object-position: center 72%; background: #eef1f4; }
.news-teaser-copy { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.news-teaser-meta { display: flex; flex-wrap: wrap; gap: 8px; color: #7b838e; font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.news-teaser-meta span { color: var(--red); }
.news-teaser h4 { margin: 14px 0 0; font-size: 22px; line-height: 1.08; letter-spacing: -.035em; }
.news-teaser p { display: -webkit-box; margin: 11px 0 18px; overflow: hidden; color: #68717d; font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-teaser-more { margin-top: auto; color: var(--red); font-size: 11px; font-weight: 850; }
.news-card { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); overflow: hidden; border: 1px solid #dfe3e7; border-radius: 24px; background: white; box-shadow: 0 18px 50px rgba(17,19,23,.07); }
.news-visual { position: relative; min-height: 650px; display: block; overflow: hidden; background: #eef1f4; }
.news-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.news-visual > span { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; color: white; background: rgba(17,19,23,.78); backdrop-filter: blur(10px); font-size: 10px; font-weight: 850; letter-spacing: .04em; }
.news-body { display: flex; flex-direction: column; padding: clamp(30px, 4vw, 52px); }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #757d89; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.news-meta span { padding: 6px 8px; border-radius: 999px; color: var(--red); background: #fff0f2; }
.news-body h4 { max-width: 760px; margin: 22px 0 0; font-size: clamp(31px, 4vw, 52px); line-height: 1.02; letter-spacing: -.055em; }
.news-body > p { max-width: 790px; margin: 17px 0 0; color: #626b77; font-size: 14px; line-height: 1.7; }
.news-body .news-lead { color: #303640; font-size: 16px; line-height: 1.65; }
.news-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 25px; }
.news-facts div { padding: 16px; border: 1px solid #e3e6ea; border-radius: 13px; background: #f7f8f9; }
.news-facts strong, .news-facts span { display: block; }
.news-facts strong { font-size: clamp(22px, 3vw, 31px); letter-spacing: -.04em; }
.news-facts span { margin-top: 5px; color: #747c87; font-size: 10px; line-height: 1.35; }
.news-note { padding-left: 15px; border-left: 3px solid var(--red); }
.news-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 28px; }
.news-actions a { min-height: 49px; display: inline-flex; align-items: center; justify-content: space-between; gap: 17px; padding: 12px 15px; border-radius: 11px; font-size: 12px; font-weight: 850; text-decoration: none; }
.news-primary { color: white; background: var(--red); box-shadow: 0 12px 26px rgba(224,0,27,.17); }
.news-primary:hover { background: var(--red-dark); }
.news-secondary { border: 1px solid #dfe3e7; color: #525b67; background: white; }
.news-secondary:hover { color: var(--red); border-color: #efb6bd; }
.news-reader { width: min(1440px, calc(100% - 48px)); margin: 38px auto 100px; }
.news-reader-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.news-reader-heading p { margin: 0 0 8px; color: var(--red); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.news-reader-heading h2 { margin: 0; font-size: clamp(38px, 6vw, 64px); letter-spacing: -.055em; }
.news-reader-heading button { padding: 11px 14px; border: 1px solid #dfe3e7; border-radius: 10px; color: #525b67; background: white; font-size: 11px; font-weight: 850; cursor: pointer; }
.news-reader-layout { display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); align-items: start; gap: 24px; }
.news-index { position: sticky; top: 124px; overflow: hidden; border: 1px solid #dfe3e7; border-radius: 18px; background: white; }
.news-index h3 { margin: 0; padding: 19px 20px; border-bottom: 1px solid #e5e8eb; font-size: 15px; }
.news-index-item { width: 100%; display: grid; gap: 5px; padding: 16px 20px; border: 0; border-bottom: 1px solid #eceef1; color: inherit; background: white; text-align: left; cursor: pointer; }
.news-index-item:last-child { border-bottom: 0; }
.news-index-item:hover, .news-index-item.active { background: #fff3f5; }
.news-index-item time { color: #818994; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.news-index-item strong { font-size: 12px; line-height: 1.35; }
.news-index-item span { overflow: hidden; color: #747c87; font-size: 10px; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; }
.news-article { overflow: hidden; padding: 52px; border: 1px solid #dfe3e7; border-radius: 24px; background: white; box-shadow: 0 18px 52px rgba(17,19,23,.07); }
.news-article-image { position: relative; max-height: 560px; margin: -52px -52px 38px; overflow: hidden; background: #eef1f4; }
.news-article-image img { width: 100%; max-height: 560px; display: block; object-fit: cover; object-position: center 72%; }
.news-article-image span { position: absolute; right: 18px; bottom: 18px; padding: 10px 12px; border-radius: 9px; color: white; background: rgba(17,19,23,.78); font-size: 9px; font-weight: 800; }
.news-article h1 { max-width: 850px; margin: 22px 0 0; font-size: clamp(38px, 6vw, 70px); line-height: .98; letter-spacing: -.06em; }
.news-article-lead { max-width: 850px; margin: 24px 0 0; color: #303640; font-size: clamp(17px, 2vw, 21px); line-height: 1.6; }
.news-article-content { max-width: 850px; margin-top: 24px; color: #626b77; font-size: 14px; line-height: 1.75; }
.news-article-content p { margin: 0 0 16px; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.access-notice { margin: 0 0 22px; padding: 14px 16px; border: 1px solid #efb6bd; border-radius: 12px; color: #950012; background: #fff2f4; font-size: 13px; font-weight: 700; }
.empty-catalog { padding: 42px; border: 1px dashed #cfd4da; border-radius: 20px; text-align: center; background: rgba(255,255,255,.65); }
.empty-catalog strong { display: block; font-size: 22px; }
.empty-catalog p { max-width: 620px; margin: 12px auto 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.app-card { overflow: hidden; border: 1px solid #dfe3e7; border-radius: 24px; background: white; box-shadow: 0 18px 50px rgba(17,19,23,.07); transition: transform .3s ease, box-shadow .3s ease; }
.app-card:hover { transform: translateY(-5px); box-shadow: 0 28px 70px rgba(17,19,23,.12); }
.app-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(320px, .95fr) minmax(340px, 1.05fr); }
.app-visual { position: relative; min-height: 430px; display: block; overflow: hidden; color: white; background: radial-gradient(circle at 88% 12%, rgba(255,255,255,.18), transparent 24%), linear-gradient(145deg, #e0001b, #ad0015 58%, #17191f); text-decoration: none; }
.visual-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.36) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.36) 1px, transparent 1px); background-size: 48px 48px; }
.visual-label { position: absolute; z-index: 2; top: 28px; left: 30px; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.app-visual > strong { position: absolute; right: -12px; bottom: -48px; color: rgba(255,255,255,.12); font-size: 14rem; line-height: 1; letter-spacing: -.1em; }
.visual-search { position: absolute; z-index: 2; top: 105px; right: 28px; left: 28px; height: 62px; display: flex; align-items: center; gap: 11px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(255,255,255,.15); box-shadow: 0 18px 40px rgba(51,0,6,.18); backdrop-filter: blur(8px); }
.visual-search span { width: 19px; height: 19px; border: 3px solid white; border-radius: 50%; }
.visual-search i { height: 7px; border-radius: 99px; background: rgba(255,255,255,.75); }
.visual-search i:first-of-type { width: 52%; }
.visual-search i:last-of-type { width: 18%; margin-left: auto; background: white; }
.visual-results { position: absolute; z-index: 2; top: 188px; right: 28px; left: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.visual-results span { height: 118px; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; background: rgba(255,255,255,.12); backdrop-filter: blur(7px); }
.app-card-body { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 44px); }
.app-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.app-badges span { padding: 7px 9px; border-radius: 999px; color: #59616d; background: #f1f3f5; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.app-badges span:last-child { color: #17643c; background: #eaf8f0; }
.app-card h3 { margin: 24px 0 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.055em; }
.app-card-body > p { margin: 17px 0 0; color: #626b77; font-size: 15px; line-height: 1.65; }
.app-features { display: grid; gap: 10px; margin: 24px 0 30px; padding: 0; color: #4f5864; font-size: 13px; list-style: none; }
.app-features li { position: relative; padding-left: 22px; }
.app-features li::before { content: ""; position: absolute; top: 6px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(224,0,27,.09); }
.open-app { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: auto; padding: 13px 17px; border-radius: 12px; color: white; background: var(--red); box-shadow: 0 14px 30px rgba(224,0,27,.18); font-size: 13px; font-weight: 850; text-decoration: none; }
.open-app:hover { background: var(--red-dark); }
.centre-footer { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px max(24px, calc((100% - 1340px) / 2)); color: #aeb4bd; background: var(--ink); font-size: 11px; }

@media (max-width: 980px) {
  .centre-hero { grid-template-columns: 1fr; }
  .account-card { width: min(360px, 100%); }
  .app-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-card-featured { grid-column: 1; }
}
@media (max-width: 760px) {
  .centre-header { padding: 10px 12px 0; }
  .centre-nav { min-height: 72px; padding: 11px 12px 11px 16px; border-radius: 16px; }
  .centre-brand img { width: 118px; }
  .centre-nav-actions > a { display: none; }
  .centre-language-switch button { min-width: 38px; min-height: 36px; }
  .logout-button { padding: 8px 10px; }
  .centre-hero { width: calc(100% - 24px); min-height: 460px; margin-top: 18px; padding: 38px 24px; border-radius: 23px; }
  .centre-hero h1 { font-size: clamp(56px, 17vw, 88px); }
  .catalog-section { width: calc(100% - 24px); margin: 58px auto 70px; }
  .catalog-heading { display: block; }
  .catalog-heading > p { margin-top: 12px; }
  .catalog-group { padding: 28px 0 38px; }
  .group-heading { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
  .group-heading-action { grid-template-columns: 34px minmax(0, 1fr); }
  .group-heading-action > button { grid-column: 2; justify-self: start; }
  .news-card { grid-template-columns: 1fr; }
  .news-visual { min-height: 480px; max-height: 620px; }
  .news-visual img { object-fit: contain; }
  .app-card-featured { display: block; }
  .app-visual { min-height: 320px; }
  .visual-results span { height: 82px; }
  .centre-footer { display: grid; text-align: center; }
  .news-reader { width: calc(100% - 24px); margin-top: 24px; }
  .news-reader-layout { grid-template-columns: 1fr; }
  .news-index { position: static; }
}
@media (max-width: 620px) {
  .login-panel { padding: 30px 24px; border-radius: 20px; }
  .login-panel > .language-switch { position: static; width: fit-content; margin: 0 0 28px auto; }
  .brand { margin-bottom: 30px; }
  #login-form { grid-template-columns: 1fr; gap: 9px; }
  #login-form input { margin-bottom: 5px; }
  .centre-nav-actions { gap: 5px; }
  .logout-button { font-size: 10px; }
  .news-body { padding: 27px 22px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-reader-heading { display: grid; }
  .news-reader-heading button { justify-self: start; }
  .news-article { padding: 24px 20px; }
  .news-article-image { margin: -24px -20px 28px; }
  .news-facts { grid-template-columns: 1fr; }
  .news-actions a { width: 100%; }
  .app-card-body { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .app-card { transition: none; } }
