html {
  scroll-padding-top: 85px;
}
.topbar .nav-shell {
  position: relative!important;
  min-width: 0!important;
  flex-wrap: nowrap!important;
  gap: 9px!important;
}
.topbar .nav-shell>.brand {
  margin-right: auto;
  min-width: 0;
  flex: 1 1 auto;
}
.header-menu-toggle {
  display: inline-flex!important;
  gap: 7px!important;
  align-items: center;
  justify-content: center;
  min-width: 89px!important;
  width: auto!important;
  padding: 0 11px!important;
  flex: 0 0 auto!important;
  height: 46px;
}
.header-menu-toggle::after {
  content: "Meni";
  font-size: .79rem;
  font-weight: 800;
}
.header-menu-toggle[aria-expanded="true"]::after {
  content: "Meni";
}
.topbar .nav-links {
  display: none!important;
  position: absolute!important;
  top: calc(100% + 8px)!important;
  right: 0!important;
  left: auto!important;
  width: min(365px,calc(100vw - 28px))!important;
  max-height: 73dvh!important;
  overflow-y: auto!important;
  z-index: 140!important;
  flex-direction: column!important;
  align-items: stretch!important;
  gap: 6px!important;
  padding: 12px!important;
  background: var(--panel-strong)!important;
  border: 1px solid var(--border-strong)!important;
  border-radius: 17px!important;
  box-shadow: 0 22px 70px #0008!important;
}
.topbar .nav-links.is-open {
  display: flex!important;
}
.topbar .nav-links .nav-link {
  width: 100%!important;
  min-height: 44px!important;
  padding: 11px 13px!important;
  white-space: normal!important;
}
.portal-ux-settings {
  position: relative;
  flex: 0 0 auto;
  z-index: 141;
}
.portal-settings-button {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  cursor: pointer;
  color: var(--text);
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 13px;
}
.portal-settings-button:hover,.portal-settings-button:focus-visible,.portal-settings-button[aria-expanded="true"] {
  border-color: var(--accent);
  outline-offset: 2px;
}
.portal-settings-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(320px,calc(100vw - 28px));
  max-height: 75dvh;
  overflow-y: auto;
  background: var(--panel-strong);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 17px;
  box-shadow: 0 24px 65px #0009;
  padding: 17px;
  z-index: 150;
}
.portal-settings-panel[hidden] {
  display: none!important;
}
.portal-settings-panel>strong {
  display: block;
  margin-bottom: 12px;
}
.portal-settings-panel fieldset {
  display: grid;
  gap: 4px;
  border: 0;
  border-top: 1px solid var(--border);
  padding: 9px 0;
  margin: 8px 0;
}
.portal-settings-panel legend {
  font-size: .91rem;
  font-weight: 850;
  padding-top: 12px;
}
.portal-settings-panel label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  cursor: pointer;
  font-size: .93rem;
}
.portal-settings-panel input {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.portal-settings-panel small {
  display: block;
  line-height: 1.5;
  color: var(--muted);
  font-size: .78rem;
}
.portal-mode-firstvisit {
  position: fixed;
  margin: auto;
  max-width: min(560px,calc(100vw - 24px));
  max-height: 88dvh;
  overflow-y: auto;
  padding: 28px;
  border-radius: 23px;
  border: 1px solid var(--border-strong);
  background: var(--panel-strong);
  color: var(--text);
  box-shadow: 0 28px 90px #000c;
}
.portal-mode-firstvisit::backdrop {
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(5px);
}
.portal-mode-firstvisit h2 {
  font-size: clamp(1.4rem,3vw,2rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.portal-mode-firstvisit p {
  color: var(--muted);
  margin: 10px 0 18px;
}
.portal-firstvisit-actions {
  display: grid;
  gap: 12px;
}
.portal-firstvisit-actions button {
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  background: var(--panel-soft);
  color: var(--text);
  padding: 15px;
  text-align: left;
  cursor: pointer;
  min-height: 76px;
}
.portal-firstvisit-actions button:hover,.portal-firstvisit-actions button:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.portal-firstvisit-actions strong,.portal-firstvisit-actions span {
  display: block;
}
.portal-firstvisit-actions span {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 5px;
}
.portal-privacy-note {
  font-size: .78rem!important;
}
.portal-link-symbol {
  display: inline-block;
  margin-left: 5px;
  font-weight: 900;
  flex: none;
}
.chip.active:hover,.chip.active:focus-visible,.toggle-button.active:hover,.toggle-button.active:focus-visible {
  background: var(--accent-soft)!important;
  border-color: var(--accent)!important;
  color: var(--text)!important;
}
button,.primary-button,.ghost-button,.nav-link,.chip,.toggle-button {
  touch-action: manipulation;
}
.chip,.toggle-button,.icon-button,.header-menu-toggle,.portal-settings-button {
  min-height: 44px;
}
.section-header,.section-header.tight-header {
  margin-bottom: 20px;
}
.section-header h2+h3,.section-header h3+p {
  margin-top: 10px;
}
[data-news-panel],.resource-modal,.compact-popover,.resource-grid,.footer-panel,.nav-shell {
  max-width: 100%;
  min-width: 0;
}
body {
  overflow-x: clip;
}
.topbar .brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
}
.tag,.badge {
  border-inline-start: 2px solid var(--accent);
}
.resource-modal button[aria-label*="Zapri"],.compact-popover-close,[id$="DialogClose"],.resource-modal-close {
  min-width: 44px!important;
  min-height: 44px!important;
  color: var(--danger)!important;
  border-color: var(--danger)!important;
}
.portal-ux-quicknav {
  position: fixed;
  right: max(14px,env(safe-area-inset-right));
  bottom: max(14px,env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 75;
}
.portal-ux-quicknav a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  background: var(--panel-strong);
  color: var(--text);
  box-shadow: 0 10px 30px #0007;
  font-size: 24px;
  font-weight: 800;
}
.portal-ux-quicknav a:hover,.portal-ux-quicknav a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
html[data-ux-theme="light"] {
  color-scheme: light;
  --bg: #f6faf7;
  --bg-2: #edf6f0;
  --bg-3: #e3f2e9;
  --panel: rgba(255,255,255,.94);
  --panel-strong: #fff;
  --panel-soft: rgba(10,85,50,.04);
  --border: rgba(16,90,53,.22);
  --border-strong: rgba(10,105,58,.44);
  --text: #123327;
  --muted: #476a5a;
  --muted-2: #59766a;
  --accent: #116c42;
  --accent-strong: #0c5a36;
  --accent-soft: rgba(17,108,66,.10);
  --warning: #9b5b00;
  --danger: #ab223d;
  --shadow: 0 20px 60px rgba(30,75,48,.10);
  --shadow-soft: 0 10px 32px rgba(20,70,43,.12);
}
html[data-ux-theme="light"] body {
  background: radial-gradient(circle at 12% 0%,#d5f1e2,transparent 32%),linear-gradient(145deg,#f7fbf8,#edf5f0)!important;
}
html[data-ux-theme="light"] .topbar {
  background: rgba(247,251,248,.93)!important;
}
html[data-ux-theme="light"] .footer-panel,html[data-ux-theme="light"] .panel,html[data-ux-theme="light"] .dynamic-card,html[data-ux-theme="light"] .tool-card,html[data-ux-theme="light"] .starter-pack,html[data-ux-theme="light"] .stack-card,html[data-ux-theme="light"] .lc-card {
  background: var(--panel)!important;
  color: var(--text)!important;
}
html[data-ux-theme="light"] input,html[data-ux-theme="light"] select,html[data-ux-theme="light"] textarea {
  color: var(--text)!important;
  background: #fff!important;
  border-color: var(--border)!important;
}
html[data-ux-theme="light"] .nav-link,html[data-ux-theme="light"] .ghost-button,html[data-ux-theme="light"] .chip,html[data-ux-theme="light"] .toggle-button,html[data-ux-theme="light"] .tag,html[data-ux-theme="light"] .badge {
  background: var(--panel-soft);
  color: var(--text);
}
html[data-ux-theme="light"] .primary-button {
  color: #fff;
  background: linear-gradient(135deg,#137247,#0e5e3a)!important;
}
html[data-ux-theme="light"] .primary-button:hover {
  color: #fff!important;
}
html[data-ux-theme="light"] .portal-settings-panel,html[data-ux-theme="light"] .portal-mode-firstvisit,html[data-ux-theme="light"] .topbar .nav-links {
  background: #fff!important;
}
html[data-ux-theme="light"] .brand-domain {
  color: var(--accent)!important;
}
@media(max-width:760px) {
  .topbar .nav-shell {
    gap: 6px!important;
  }
  .header-menu-toggle {
    min-width: 76px!important;
    padding: 0 8px!important;
  }
  .portal-settings-button,.account-trigger {
    width: 42px!important;
    height: 42px!important;
  }
  .topbar .brand-text {
    font-size: clamp(.79rem,2.8vw,.98rem);
  }
  .topbar .top-brand-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  .portal-ux-quicknav a {
    width: 42px;
    height: 42px;
  }
  .section-header {
    margin-bottom: 18px!important;
  }
}
@media(max-width:360px) {
  .topbar .nav-shell {
    gap: 4px!important;
  }
  .topbar .brand-text {
    font-size: .76rem;
  }
  .header-menu-toggle::after {
    font-size: .73rem;
  }
}
@media print {
  .portal-ux-quicknav,.portal-ux-settings,.portal-mode-firstvisit {
    display: none!important;
  }
}
html[data-ux-theme="light"] body.site-varnakoda {
  --bg: #fff8f8;
  --bg-2: #f8eef0;
  --bg-3: #f8e8eb;
  --panel: #fff;
  --panel-strong: #fff;
  --border: rgba(148,35,55,.2);
  --border-strong: rgba(148,35,55,.45);
  --text: #3b1820;
  --muted: #70505a;
  --muted-2: #80626b;
  --accent: #a52a43;
  --accent-strong: #7c1730;
  --accent-soft: rgba(165,42,67,.1);
  --danger: #b62a3e;
}
html[data-ux-theme="light"] body.site-varnakoda {
  background: radial-gradient(circle at 8% 2%,#ffe4e7,transparent 34%),linear-gradient(145deg,#fff9f9,#f9edf0)!important;
}
html[data-ux-theme="light"] body.site-varnakoda .primary-button {
  background: linear-gradient(135deg,#ad3049,#851c32)!important;
}
.compact-dock .ux-dock-action span {
  font-size: 24px!important;
  line-height: 1!important;
  display: inline-block!important;
}
@media (max-width:700px) {
  .portal-settings-panel {
    position: fixed!important;
    left: 12px!important;
    right: 12px!important;
    top: var(--portal-settings-top,72px)!important;
    width: auto!important;
    max-height: calc(100dvh - var(--portal-settings-top,72px) - 12px)!important;
    z-index: 400!important;
    overscroll-behavior: contain;
  }
  .topbar .nav-links {
    max-height: calc(100dvh - 100px)!important;
    overscroll-behavior: contain;
  }
  .topbar .nav-shell {
    max-width: 100%!important;
  }
}
/* Never show the delayed back-to-top action before the visitor has scrolled. */
[data-ux-back-top][hidden] {
  display: none!important;
}
.portal-settings-button:focus-visible,.header-menu-toggle:focus-visible,.portal-firstvisit-actions button:focus-visible {
  outline: 2px solid var(--accent)!important;
  outline-offset: 3px;
}
.portal-ux-quicknav a,.compact-dock .ux-dock-action {
  touch-action: manipulation;
}
#strokovna-pomoc>.container>.section-header,#orodja>.container>.section-header {
  margin-bottom: 22px;
}
@media (max-width:700px) {
  #strokovna-pomoc>.container>.section-header,#orodja>.container>.section-header {
    margin-bottom: 16px;
  }
}
/* Red visual language, inspired by contrasting security-guide sections. */
body.site-varnakoda #strokovna-pomoc {
  background: linear-gradient(120deg,rgba(158,42,65,.055),transparent 70%);
}
body.site-varnakoda #tools {
  background: linear-gradient(120deg,transparent,rgba(158,42,65,.045));
}
body.site-varnakoda .resource-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
html[data-ux-theme="light"] body.site-varnakoda #strokovna-pomoc {
  background: linear-gradient(135deg,#fff0f2,#fff8f9)!important;
}
html[data-ux-theme="light"] body.site-varnakoda #tools {
  background: linear-gradient(135deg,#fff8f9,#fceef2)!important;
}
/* The compact mobile dock uses display:grid!important; hidden must win. */
body>.compact-dock>.compact-shortcut[data-ux-back-top][hidden] {
  display: none!important;
}
.portal-ux-quicknav .ux-back-top {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--panel-strong);
  color: var(--text);
  box-shadow: 0 8px 24px #0006;
  cursor: pointer;
}
.portal-ux-quicknav .ux-back-top svg,.compact-dock .ux-back-top svg {
  width: 23px!important;
  height: 23px!important;
  stroke: currentColor!important;
  fill: none!important;
}
.portal-ux-quicknav .ux-back-top[hidden],.compact-dock .ux-back-top[hidden] {
  display: none!important;
}
.portal-news-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 45px;
  padding: 0 11px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--text);
  text-decoration: none;
  font-size: .83rem;
  font-weight: 780;
  white-space: nowrap;
}
.portal-news-link:hover,.portal-news-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
@media(max-width:490px) {
  .portal-news-link {
    padding: 0 9px;
    width: 42px;
    height: 42px;
  }
  .portal-news-link span {
    display: none;
  }
}
@media(max-width:390px) {
  .topbar .brand-text {
    display: none!important;
  }
  .topbar .brand {
    min-width: 0!important;
    flex: 0 0 auto;
  }
  .topbar .brand-icon {
    margin: 0!important;
  }
}
.footer-main>.footer-actions {
  min-width: 0;
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(0,1fr);
  align-items: start;
  gap: 12px;
}
.footer-actions>.footer-sources {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.footer-actions .footer-source-groups {
  display: grid!important;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px!important;
  align-items: start;
}
.footer-actions .footer-source-group {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0!important;
  border-radius: 13px;
  position: relative;
}
.footer-actions .footer-source-group>summary {
  box-sizing: border-box;
  min-height: 76px!important;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.footer-actions .footer-cta {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  min-height: 76px!important;
  margin: 0!important;
  padding: 10px!important;
  font-size: .79rem!important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--border-strong);
  text-decoration: none;
  line-height: 1.3;
}
.footer-actions .footer-source-items {
  z-index: 50;
}
@media(max-width:850px) {
  .footer-main>.footer-actions {
    grid-column: 1/-1;
    grid-row: auto;
  }
}
@media(max-width:520px) {
  .footer-main>.footer-actions {
    grid-template-columns: 1fr;
  }
  .footer-actions .footer-source-groups {
    gap: 8px!important;
  }
  .footer-actions .footer-cta {
    width: 100%;
  }
}
.topbar .portal-ux-settings {
  display: block!important;
  visibility: visible!important;
  flex-shrink: 0!important;
}
.topbar .portal-settings-button {
  display: grid!important;
  place-items: center!important;
}
.portal-settings-all {
  display: block;
  margin-top: 13px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .87rem;
  font-weight: 750;
  text-align: center;
  color: var(--text);
  text-decoration: none;
}
.portal-settings-all:hover,.portal-settings-all:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}
.preferences-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px,5vw,70px) 24px 80px;
}
.preferences-hero h1 {
  font-size: clamp(2rem,4vw,3.4rem);
  line-height: 1.09;
  letter-spacing: -.03em;
}
.preferences-hero p {
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.65;
}
.preferences-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  margin: 30px 0;
}
.preferences-card {
  border: 1px solid var(--border-strong);
  background: var(--panel);
  border-radius: 20px;
  padding: 24px;
}
.preferences-card h2 {
  margin: 0 0 14px;
}
.preferences-card>p {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.55;
}
.preferences-card label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 12px;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 10px 0;
}
.preferences-card input {
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--accent);
  margin-top: 2px;
}
.preferences-card label:has(input:checked) {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.preferences-card label strong,.preferences-card label small {
  display: block;
}
.preferences-card label small {
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}
.preferences-footer {
  margin-top: 28px;
  font-size: .9rem;
  color: var(--muted);
}
@media(max-width:650px) {
  .preferences-grid {
    grid-template-columns: 1fr;
  }
  .preferences-shell {
    padding: 24px 16px 50px;
  }
  .preferences-card {
    padding: 18px;
  }
}
/* R26 — sources open as a dropdown, never expand the page. */
.footer-actions .footer-source-group>.footer-source-items {
  position: absolute!important;
  bottom: calc(100% + 9px)!important;
  top: auto!important;
  display: grid!important;
  left: 0;
  right: auto;
  width: min(330px,calc(100vw - 28px));
  max-height: min(58vh,370px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px!important;
  background: var(--panel-strong)!important;
  border: 1px solid var(--border-strong)!important;
  border-radius: 14px!important;
  box-shadow: 0 22px 50px #0009;
  z-index: 70!important;
}
.footer-actions .footer-source-group:not([open])>.footer-source-items {
  display: none!important;
}
.footer-actions .footer-source-group:last-child>.footer-source-items {
  left: auto!important;
  right: 0!important;
}
.footer-actions .footer-source-group>.footer-source-items a {
  min-width: 0;
}
@media(max-width:520px) {
  .footer-actions .footer-source-group>.footer-source-items {
    width: min(330px,calc(100vw - 72px));
  }
}
.topbar .nav-shell {
  display: flex!important;
  align-items: center!important;
  gap: 8px!important;
  flex-wrap: nowrap!important;
}
.topbar .nav-shell>.brand {
  flex: 1 1 auto;
  min-width: 0;
  margin-right: auto;
}
.topbar .nav-shell>.portal-news-link {
  order: 2;
  flex: none;
}
.topbar .nav-shell>.header-menu-toggle {
  order: 3;
  flex: none;
}
.topbar .nav-shell>.portal-header-divider {
  order: 4;
  display: block;
  align-self: center;
  width: 1px;
  height: 28px;
  flex: none;
  background: var(--border-strong);
}
.topbar .nav-shell>.account-menu {
  order: 5;
  flex: none;
}
.topbar .nav-shell>.portal-ux-settings {
  order: 6;
  flex: none;
}
.topbar .nav-shell>.nav-links {
  order: 7;
}
.topbar .nav-shell .account-trigger {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}
.topbar .nav-shell .portal-settings-button {
  width: 46px;
  height: 46px;
}
.topbar .nav-shell .portal-news-link {
  margin: 0!important;
  display: inline-flex!important;
}
.topbar .nav-shell .header-menu-toggle {
  margin: 0!important;
}
@media(max-width:620px) {
  .topbar .nav-shell {
    gap: 5px!important;
  }
  .topbar .nav-shell>.portal-header-divider {
    height: 22px;
  }
  .topbar .nav-shell>.header-menu-toggle {
    min-width: 69px!important;
    padding: 0 7px!important;
  }
  .topbar .nav-shell>.account-menu .account-trigger,.topbar .nav-shell>.portal-ux-settings .portal-settings-button {
    width: 42px;
    height: 42px;
  }
}
@media(max-width:390px) {
  .topbar .nav-shell>.portal-header-divider {
    display: none;
  }
  .topbar .nav-shell>.header-menu-toggle {
    min-width: 64px!important;
  }
}
html[data-ux-theme="light"] {
  --bg: #f4f7f6;
  --bg-2: #e9f1ee;
  --bg-3: #e5f0eb;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --panel-soft: #f2f7f5;
  --border: rgba(22,69,52,.16);
  --border-strong: rgba(20,80,55,.29);
  --text: #183328;
  --muted: #53685e;
  --muted-2: #60766b;
  --accent: #126b49;
  --accent-strong: #095b3a;
  --accent-soft: rgba(20,111,74,.10);
  --shadow: 0 20px 50px rgba(20,49,39,.09);
  --shadow-soft: 0 9px 26px rgba(25,60,40,.08);
}
html[data-ux-theme="light"] body {
  background: radial-gradient(ellipse at 12% 0%,rgba(177,223,198,.31),transparent 34%),radial-gradient(ellipse at 93% 18%,rgba(201,224,215,.34),transparent 30%),#f5f8f6!important;
  color: var(--text)!important;
}
html[data-ux-theme="light"] body::before {
  opacity: .16;
}
html[data-ux-theme="light"] body::after {
  opacity: .16;
}
html[data-ux-theme="light"] .topbar {
  background: rgba(252,254,253,.94)!important;
  border-bottom-color: var(--border)!important;
}
html[data-ux-theme="light"] :is(.hero-shell,.hero-identity-card,.hero-assessment-card,.hero-terminal,.hero-index-panel,.resource-card,.step-card,.starter-pack,.overview-card,.panel,.footer-panel,.footer-section,.dynamic-card,.news-article,.news-featured,.news-hero,.news-notice,.catalog-modal,.catalog-modal-head,.quiz-modal-dialog,.guide-dialog-shell,.assessment-dialog-shell,.newsletter-panel,.resource-modal,.security-full-dialog,.preview-card,.preview-hero,.preferences-card,.lc-card) {
  background: #fff!important;
  color: var(--text)!important;
  border-color: var(--border)!important;
  box-shadow: var(--shadow-soft);
}
html[data-ux-theme="light"] :is(.hero-shell,.news-hero,.preview-hero,.preferences-hero) {
  background: linear-gradient(135deg,#ffffff 3%,#edf7f1 100%)!important;
}
html[data-ux-theme="light"] :is(.resource-card,.step-card,.starter-pack,.preview-card,.lc-card):hover {
  border-color: var(--border-strong)!important;
  box-shadow: 0 14px 34px rgba(18,70,44,.11)!important;
}
html[data-ux-theme="light"] :is(.hero-copy p,.lead,.muted,.section-header p,.step-card p,.resource-card>span:not(.resource-card-heading):not(.resource-card-kicker),.preview-card p,.news-summary,.newsletter-note,.footer-bottom,.news-item-meta,.news-meta) {
  color: var(--muted)!important;
}
html[data-ux-theme="light"] :is(.primary-button,.newsletter-submit,.news-featured-cta,.news-notification-button) {
  background: linear-gradient(135deg,#187b53,#0b6040)!important;
  color: #fff!important;
  border-color: #0d6442!important;
}
html[data-ux-theme="light"] :is(.ghost-button,.nav-link,.chip,.tag,.badge,.toggle-button,.portal-news-link,.header-menu-toggle,.portal-settings-button,.account-trigger,.footer-cta) {
  color: var(--text)!important;
  background: #f5f8f6!important;
  border-color: var(--border)!important;
}
html[data-ux-theme="light"] :is(.nav-link,.ghost-button,.chip,.toggle-button):hover {
  background: #e9f3ed!important;
  color: var(--accent)!important;
}
html[data-ux-theme="light"] :is(.nav-link,.chip,.toggle-button).active {
  background: var(--accent-soft)!important;
  border-color: var(--accent)!important;
}
html[data-ux-theme="light"] :is(.portal-settings-panel,.topbar .nav-links,.account-dropdown,.footer-source-items,.security-dialog-bar,.security-dialog-content) {
  background: #fff!important;
  color: var(--text)!important;
  border-color: var(--border)!important;
}
html[data-ux-theme="light"] :is(input,select,textarea) {
  background: #fff!important;
  color: var(--text)!important;
  border-color: var(--border-strong)!important;
}
html[data-ux-theme="light"] :is(.resource-card-kicker,.badge,.news-category) {
  color: var(--accent)!important;
}
html[data-ux-theme="light"] :is(.news-article h3 a,.preview-card h2,.resource-card strong,.brand,.footer-brand-line) {
  color: var(--text)!important;
}
html[data-ux-theme="light"] .footer-source-group summary {
  color: var(--text)!important;
}
html[data-ux-theme="light"] :is(.footer-source-items,.catalog-modal-scroll,.newsletter-form,.advanced-cta) {
  background: #fff!important;
  color: var(--text)!important;
}
html[data-ux-theme="light"] :is(.status-pill,.news-category,.resource-card-kicker) {
  background: var(--accent-soft)!important;
}
html[data-ux-theme="light"] :is(.news-featured-cta,.news-notification-button) {
  color: #fff!important;
}
/* Red branding on the security portal, including percentages and popups. */
html[data-ux-theme="light"] body.site-varnakoda {
  --bg: #faf5f6;
  --bg-2: #f7e9ed;
  --bg-3: #f2e0e6;
  --panel: #fff;
  --panel-strong: #fff;
  --panel-soft: #fff6f7;
  --border: rgba(122,39,59,.16);
  --border-strong: rgba(138,44,68,.30);
  --text: #38202a;
  --muted: #725661;
  --muted-2: #876773;
  --accent: #a52645;
  --accent-strong: #83132f;
  --accent-soft: rgba(165,38,69,.10);
  --danger: #b52c4b;
  background: radial-gradient(ellipse at 8% -4%,rgba(242,195,207,.34),transparent 34%),radial-gradient(ellipse at 92% 20%,rgba(241,217,225,.38),transparent 31%),#fbf7f8!important;
}
html[data-ux-theme="light"] body.site-varnakoda :is(.hero-shell,.news-hero,.preview-hero,.preferences-hero) {
  background: linear-gradient(135deg,#fff 3%,#faeef1 100%)!important;
}
html[data-ux-theme="light"] body.site-varnakoda :is(.primary-button,.newsletter-submit,.news-featured-cta,.news-notification-button) {
  background: linear-gradient(135deg,#b62d51,#871b38)!important;
  border-color: #952343!important;
}
body.site-varnakoda .quiz-result .security-score {
  background: #a72243!important;
  border-color: #c44c66!important;
  color: #fff!important;
  font-weight: 850;
}
body.site-varnakoda .security-tool-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.25;
  min-height: 42px;
  overflow-wrap: anywhere;
}
body.site-varnakoda .security-tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  line-height: 1;
}
body.site-varnakoda .resources-unified .resource-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 175px;
}
body.site-varnakoda .resources-unified .resource-card>span:not(.resource-card-kicker):not(.resource-card-arrow) {
  line-height: 1.5;
}
body.site-varnakoda .starter-pack a[href^="http"]:not(:has(svg))::after,body.site-varnakoda #starter-packs a[href^="http"]::after {
  content: ' ↗';
  font-weight: 850;
  color: var(--accent);
  white-space: nowrap;
}
.security-full-dialog {
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  border-radius: 22px;
  padding: 0;
  width: min(1200px,calc(100vw - 24px));
  max-width: none;
  max-height: 92dvh;
  overflow: hidden;
  box-shadow: 0 32px 90px #0009;
}
.security-full-dialog::backdrop {
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(4px);
}
.security-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 66px;
  padding: 12px clamp(16px,3vw,26px);
  background: var(--panel-strong);
  border-bottom: 1px solid var(--border-strong);
  color: var(--text);
}
.security-dialog-bar strong {
  font-size: 1.12rem;
  line-height: 1.25;
}
.security-dialog-close {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  flex: none;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--panel-soft);
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.security-dialog-content {
  max-height: calc(92dvh - 67px);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--bg);
}
.security-dialog-content>.section {
  display: block!important;
  max-width: none!important;
  padding: clamp(13px,2vw,25px) 0!important;
  min-height: 0!important;
  margin: 0!important;
}
.security-dialog-content>.section>.container {
  width: min(100% - 24px,1140px)!important;
  margin: 0 auto!important;
}
.security-dialog-content .section-header {
  margin-bottom: 18px;
}
.security-dialog-content .tools-grid {
  grid-template-columns: repeat(auto-fit,minmax(min(260px,100%),1fr));
}
@media(max-width:620px) {
  .security-full-dialog {
    width: calc(100vw - 12px);
    max-height: 97dvh;
    border-radius: 12px;
  }
  .security-dialog-content {
    max-height: calc(97dvh - 65px);
  }
  .security-dialog-content>.section>.container {
    width: calc(100% - 20px)!important;
  }
  .security-dialog-bar {
    padding: 10px 13px;
  }
}
body.site-varnakoda .footer-main {
  align-items: center;
}
body.site-varnakoda .footer-brand-block p {
  display: none;
}
body.site-varnakoda .footer-actions {
  margin-left: auto;
}
body.site-varnakoda .footer-actions :is(.footer-source-group>summary,.footer-cta) {
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.site-varnakoda .footer-source-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
body.site-varnakoda .footer-source-group {
  position: relative;
}
body.site-varnakoda .footer-source-items {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  width: min(340px,calc(100vw - 30px));
  max-height: 58dvh;
  overflow: auto;
  z-index: 20;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--panel-strong);
  box-shadow: 0 16px 44px #0007;
}
body.site-varnakoda .footer-source-group:not([open]) .footer-source-items {
  display: none;
}
@media(max-width:700px) {
  body.site-varnakoda .footer-actions {
    margin: 12px 0 0;
    width: 100%;
  }
  body.site-varnakoda .footer-source-groups {
    flex-wrap: nowrap;
  }
  body.site-varnakoda .footer-source-group {
    flex: 1;
    min-width: 0;
  }
}
html[data-ux-theme="light"] :is(.lc-filters,.lc-stat,.lc-card,.lifecycle-card,.lc-summary,.lc-toolbar) {
  color: var(--text)!important;
  background: #fff!important;
  border-color: var(--border)!important;
}
html,html[data-ux-theme="dark"] {
  color-scheme: dark;
}
.portal-ux-settings {
  display: none!important;
}
.topbar .nav-shell>.portal-header-divider {
  order: 4;
}
.site-varnakoda .tool-card .tool-official-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  text-decoration: none;
  min-height: 44px;
  padding: 9px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  color: var(--text);
  font-weight: 800;
}
.site-varnakoda .tool-card .tool-official-link:hover,.site-varnakoda .tool-card .tool-official-link:focus-visible {
  background: var(--accent);
  color: #fff;
}
.topbar .nav-shell {
  display: flex!important;
  align-items: center!important;
  flex-wrap: nowrap!important;
  gap: clamp(4px,.7vw,10px)!important;
}
.topbar .nav-shell>.brand {
  order: 0!important;
  flex: 1 1 auto!important;
  min-width: 0!important;
  margin-right: auto!important;
}
.topbar .nav-shell>.portal-news-link {
  order: 1!important;
  flex: none!important;
  margin: 0!important;
}
.topbar .nav-shell>.header-menu-toggle {
  order: 2!important;
  flex: none!important;
  margin: 0!important;
}
.topbar .nav-shell>.portal-header-divider {
  order: 3!important;
  display: block!important;
  flex: 0 0 1px!important;
  width: 1px!important;
  height: 26px!important;
  align-self: center!important;
  background: var(--border-strong)!important;
  margin: 0 2px!important;
}
.topbar .nav-shell>.account-menu {
  order: 4!important;
  flex: 0 0 auto!important;
  margin: 0!important;
}
.topbar .nav-shell>.nav-links {
  order: 5!important;
}
.topbar .nav-shell>.portal-ux-settings {
  display: none!important;
}
.topbar .nav-shell>.account-menu .account-trigger {
  width: 46px!important;
  height: 46px!important;
  display: grid!important;
  place-items: center!important;
}
@media(max-width:620px) {
  .topbar .nav-shell>.header-menu-toggle {
    min-width: 65px!important;
    padding: 0 6px!important;
  }
  .topbar .nav-shell>.account-menu .account-trigger {
    width: 42px!important;
    height: 42px!important;
  }
  .topbar .nav-shell>.portal-header-divider {
    height: 22px!important;
    margin: 0 1px!important;
  }
}
@media(max-width:370px) {
  .topbar .nav-shell>.portal-header-divider {
    display: block!important;
  }
  .topbar .nav-shell>.brand .brand-text {
    font-size: clamp(.66rem,2.8vw,.82rem)!important;
  }
  .topbar .nav-shell>.portal-news-link {
    padding: 0 5px!important;
  }
}
dialog.resource-modal,dialog.catalog-modal,dialog.assessment-dialog,dialog.guide-dialog,dialog.security-full-dialog,dialog.news-notification-dialog {
  box-sizing: border-box!important;
  width: min(1480px,calc(100vw - 24px))!important;
  max-width: none!important;
  height: min(95dvh,1100px)!important;
  max-height: 95dvh!important;
  margin: auto!important;
  border-radius: 18px!important;
}
dialog.resource-modal,dialog.assessment-dialog,dialog.guide-dialog,dialog.security-full-dialog,dialog.catalog-modal {
  overflow: hidden!important;
}
dialog.news-notification-dialog {
  overflow-y: auto!important;
  overscroll-behavior: contain!important;
}
dialog.news-notification-dialog .news-notification-close {
  position: sticky;
  top: 0;
  z-index: 5;
}
.resource-modal-body {
  min-height: 0!important;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.catalog-modal-scroll {
  flex: 1 1 auto!important;
  min-height: 0!important;
  overflow-y: auto!important;
}
.security-full-dialog {
  display: none;
  flex-direction: column;
}
.security-full-dialog[open] {
  display: flex!important;
}
.security-dialog-content {
  flex: 1 1 auto!important;
  min-height: 0!important;
  max-height: none!important;
  overflow-y: auto!important;
}
.quiz-modal-dialog {
  box-sizing: border-box!important;
  width: min(1220px,calc(100vw - 26px))!important;
  max-width: none!important;
  height: min(92dvh,980px)!important;
  max-height: 92dvh!important;
  overflow-y: auto!important;
  overscroll-behavior: contain!important;
}
.compact-floating-section[data-floating-open="true"] {
  box-sizing: border-box!important;
  width: min(1040px,calc(100vw - 26px))!important;
  max-width: calc(100vw - 26px)!important;
  max-height: calc(100dvh - 102px)!important;
  overflow-y: auto!important;
  overscroll-behavior: contain!important;
}
@media(max-width:700px) {
  dialog.resource-modal,dialog.catalog-modal,dialog.assessment-dialog,dialog.guide-dialog,dialog.security-full-dialog,dialog.news-notification-dialog {
    width: calc(100vw - 8px)!important;
    height: calc(100dvh - 8px)!important;
    max-height: calc(100dvh - 8px)!important;
    border-radius: 10px!important;
  }
  .quiz-modal-dialog {
    width: calc(100vw - 8px)!important;
    height: calc(100dvh - 12px)!important;
    max-height: calc(100dvh - 12px)!important;
    border-radius: 12px!important;
  }
  .compact-floating-section[data-floating-open="true"] {
    width: calc(100vw - 16px)!important;
    max-width: calc(100vw - 16px)!important;
    left: 8px!important;
    right: 8px!important;
  }
}
body.site-odprtakoda .footer-panel,body.site-varnakoda .footer-panel {
  overflow: visible!important;
}
body.site-odprtakoda .footer-main,body.site-varnakoda .footer-main {
  display: grid!important;
  grid-template-columns: minmax(0,1fr) minmax(0,760px)!important;
  gap: clamp(14px,2vw,28px)!important;
  align-items: center!important;
}
body.site-odprtakoda .footer-main>.footer-brand-block,body.site-varnakoda .footer-main>.footer-brand-block {
  grid-column: 1!important;
  grid-row: 1!important;
  min-width: 0!important;
}
body.site-odprtakoda .footer-main>.footer-actions,body.site-varnakoda .footer-main>.footer-actions {
  grid-column: 2!important;
  grid-row: 1!important;
  display: grid!important;
  grid-template-columns: minmax(0,2fr) minmax(0,1fr)!important;
  gap: 12px!important;
  width: 100%!important;
  margin: 0!important;
  min-width: 0!important;
  justify-self: end!important;
  align-items: center!important;
}
body.site-odprtakoda .footer-actions .footer-sources,body.site-varnakoda .footer-actions .footer-sources {
  margin: 0!important;
  padding: 0!important;
  border: 0!important;
  min-width: 0!important;
}
body.site-odprtakoda .footer-actions .footer-source-groups,body.site-varnakoda .footer-actions .footer-source-groups {
  display: grid!important;
  grid-template-columns: repeat(2,minmax(0,1fr))!important;
  gap: 12px!important;
  align-items: stretch!important;
  flex-wrap: nowrap!important;
}
body.site-odprtakoda .footer-actions .footer-source-group,body.site-varnakoda .footer-actions .footer-source-group {
  position: relative!important;
  min-width: 0!important;
  width: 100%!important;
  max-width: none!important;
  padding: 0!important;
  margin: 0!important;
  border: 0!important;
  background: transparent!important;
}
body.site-odprtakoda .footer-actions .footer-source-group>summary,body.site-varnakoda .footer-actions .footer-source-group>summary,
body.site-odprtakoda .footer-actions .footer-cta,body.site-varnakoda .footer-actions .footer-cta {
  box-sizing: border-box!important;
  display: flex!important;
  align-items: center!important;
  justify-content: center!important;
  min-width: 0!important;
  width: 100%!important;
  min-height: 65px!important;
  height: 100%!important;
  padding: 10px 13px!important;
  margin: 0!important;
  border: 1px solid var(--border-strong)!important;
  border-radius: 13px!important;
  text-align: center!important;
  line-height: 1.3!important;
  font-weight: 750!important;
  color: var(--text)!important;
  background: var(--panel-soft)!important;
  text-decoration: none!important;
}
body.site-odprtakoda .footer-actions .footer-source-group>summary,body.site-varnakoda .footer-actions .footer-source-group>summary {
  justify-content: space-between!important;
  gap: 10px!important;
  cursor: pointer;
}
body.site-odprtakoda .footer-actions .footer-source-group>summary:hover,body.site-varnakoda .footer-actions .footer-source-group>summary:hover,
body.site-odprtakoda .footer-actions .footer-cta:hover,body.site-varnakoda .footer-actions .footer-cta:hover {
  border-color: var(--accent)!important;
}
body.site-odprtakoda .footer-actions .footer-source-items,body.site-varnakoda .footer-actions .footer-source-items {
  position: absolute!important;
  bottom: calc(100% + 9px)!important;
  top: auto!important;
  right: auto!important;
  left: 0!important;
  width: min(355px,calc(100vw - 32px))!important;
  max-width: calc(100vw - 32px)!important;
  max-height: 60dvh!important;
  padding: 10px!important;
  margin: 0!important;
  overflow: auto!important;
  display: flex!important;
  flex-direction: column!important;
  gap: 5px!important;
  border: 1px solid var(--border-strong)!important;
  border-radius: 15px!important;
  background: var(--panel-strong)!important;
  box-shadow: 0 17px 56px #000a!important;
  z-index: 60!important;
}
body.site-odprtakoda .footer-actions .footer-source-group:last-child>.footer-source-items,body.site-varnakoda .footer-actions .footer-source-group:last-child>.footer-source-items {
  right: 0!important;
  left: auto!important;
}
body.site-odprtakoda .footer-actions .footer-source-group:not([open])>.footer-source-items,body.site-varnakoda .footer-actions .footer-source-group:not([open])>.footer-source-items {
  display: none!important;
}
body.site-odprtakoda .footer-brand-block p,body.site-varnakoda .footer-brand-block p {
  display: none!important;
}
@media(max-width:1000px) {
  body.site-odprtakoda .footer-main,body.site-varnakoda .footer-main {
    grid-template-columns: minmax(0,1fr)!important;
  }
  body.site-odprtakoda .footer-main>.footer-brand-block,body.site-varnakoda .footer-main>.footer-brand-block {
    grid-column: 1!important;
    grid-row: auto!important;
  }
  body.site-odprtakoda .footer-main>.footer-actions,body.site-varnakoda .footer-main>.footer-actions {
    grid-column: 1!important;
    grid-row: auto!important;
    justify-self: stretch!important;
  }
}
@media(max-width:520px) {
  body.site-odprtakoda .footer-main>.footer-actions,body.site-varnakoda .footer-main>.footer-actions {
    grid-template-columns: minmax(0,1fr)!important;
  }
  body.site-odprtakoda .footer-actions .footer-source-group>summary,body.site-varnakoda .footer-actions .footer-source-group>summary,
 body.site-odprtakoda .footer-actions .footer-cta,body.site-varnakoda .footer-actions .footer-cta {
    min-height: 54px!important;
  }
}
.portal-tool-tabs {
  min-width: 0;
  margin-top: 22px;
}
.portal-tool-tablist {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  margin-bottom: 20px;
}
.portal-tool-tab {
  flex: 1 1 150px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  white-space: normal;
  text-align: center;
  transition: background .15s,border-color .15s,color .15s;
}
.portal-tool-tab[aria-selected="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
  box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--accent) 30%,transparent);
}
.portal-tool-tab:hover:not([aria-selected="true"]) {
  background: var(--panel-soft);
  color: var(--text);
}
.portal-tool-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.portal-tool-tabs[data-tabs-ready="true"] .portal-tool-panel[hidden] {
  display: none!important;
}
.portal-tool-panel {
  min-width: 0;
}
.portal-tool-panel-intro {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 80ch;
  font-size: .98rem;
}
#orodja .resource-grid,#strokovna-pomoc .resource-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}
#orodja .resource-card,#strokovna-pomoc .resource-card {
  box-sizing: border-box;
  min-width: 0;
  min-height: 172px;
  padding: clamp(17px,2.2vw,25px);
  gap: 12px;
}
#orodja .resource-card strong,#strokovna-pomoc .resource-card strong,#strokovna-pomoc .security-tool-heading {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  text-wrap: pretty;
  max-width: 100%;
  line-height: 1.38;
}
#orodja .resource-card>span:not(.resource-card-kicker):not(.resource-card-arrow),#strokovna-pomoc .resource-card>span:not(.resource-card-kicker):not(.resource-card-arrow) {
  max-width: none;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  line-height: 1.55;
}
#orodja .resource-card-heading,#strokovna-pomoc .resource-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
#orodja .resource-card-heading strong,#strokovna-pomoc .resource-card-heading strong {
  min-width: 0;
}
#orodja .resource-card-kicker,#strokovna-pomoc .resource-card-kicker {
  letter-spacing: .035em;
  line-height: 1.45;
}
#orodja .free-to-paid-promo {
  margin-top: 21px;
  line-height: 1.6;
}
body.site-odprtakoda :is(.step-card,.starter-pack,.dynamic-card,.tool-card) :is(h2,h3,h4,strong,p),
body.site-varnakoda :is(.step-card,.starter-pack,.dynamic-card,.tool-card) :is(h2,h3,h4,strong,p) {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
@media(max-width:680px) {
  .portal-tool-tablist {
    gap: 5px;
    padding: 4px;
  }
  .portal-tool-tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 5px;
    font-size: clamp(.78rem,3.1vw,.92rem);
    min-height: 46px;
  }
  #orodja .resource-grid,#strokovna-pomoc .resource-grid {
    grid-template-columns: minmax(0,1fr);
  }
  #orodja .resource-card,#strokovna-pomoc .resource-card {
    min-height: 146px;
  }
}
body.site-odprtakoda #siteFooter .footer-actions .footer-source-group>summary,
body.site-odprtakoda #siteFooter .footer-actions .footer-cta,
body.site-varnakoda #siteFooter .footer-actions .footer-source-group>summary,
body.site-varnakoda #siteFooter .footer-actions .footer-cta {
  font-size: 14px!important;
  font-weight: 750!important;
  letter-spacing: normal!important;
  line-height: 1.35!important;
}
body.site-odprtakoda .tool-card>.tool-official-link,
body.site-varnakoda .tool-card>.tool-official-link {
  align-self: flex-end;
  margin-top: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
}
body.site-odprtakoda .tool-card>.card-top,
body.site-varnakoda .tool-card>.card-top {
  min-width: 0;
}
body.site-odprtakoda .tool-card>.card-top>div,
body.site-varnakoda .tool-card>.card-top>div {
  min-width: 0;
}
body.site-odprtakoda .tool-card>.card-top .tool-title,
body.site-varnakoda .tool-card>.card-top .tool-title {
  overflow-wrap: break-word;
  word-break: normal;
}
body.site-varnakoda #siteFooter .footer-source-group>summary .sources-chevron {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  min-width: 25px;
  font-size: 0;
  border: 0;
  background: transparent;
  transform: none!important;
  transition: none!important;
}
body.site-varnakoda #siteFooter .footer-source-group>summary .sources-chevron::before {
  content: "+";
  font: 800 20px/1 system-ui,sans-serif;
  color: var(--accent);
}
body.site-varnakoda #siteFooter .footer-source-group[open]>summary .sources-chevron::before {
  content: "−";
}
@media(max-width:520px) {
  body.site-odprtakoda #siteFooter .footer-actions .footer-source-group>summary,
  body.site-odprtakoda #siteFooter .footer-actions .footer-cta,
  body.site-varnakoda #siteFooter .footer-actions .footer-source-group>summary,
  body.site-varnakoda #siteFooter .footer-actions .footer-cta {
    min-height: 60px!important;
  }
}


/* Cross-portal self-assessment — visual styling follows varnakoda's own palette. */
.vk-dn-promo{display:flex;align-items:center;gap:15px;padding:19px 21px;margin:17px 0 24px;border:1px solid var(--border-strong,#904444);border-radius:16px;background:linear-gradient(115deg,rgba(130,34,45,.18),rgba(21,26,28,.9))}
.vk-dn-promo-icon{flex:0 0 45px;width:45px;height:45px;display:grid;place-items:center;border-radius:13px;background:rgba(210,75,75,.13);color:var(--accent,#ff8b85)}
.vk-dn-promo-icon svg{width:24px;height:24px}
.vk-dn-promo>div:nth-child(2){flex:1 1 auto;min-width:0}
.vk-dn-promo strong{display:block;color:var(--text,#fff);font-size:1.07rem;line-height:1.35}
.vk-dn-promo p{color:var(--muted,#c6b6b6);line-height:1.55;font-size:.89rem;margin:5px 0 0}
.vk-dn-promo>a{display:inline-flex;align-items:center;justify-content:center;flex:none;border:1px solid var(--border-strong,#9e5f65);border-radius:10px;background:rgba(180,48,61,.12);padding:12px 15px;color:var(--accent,#ff9c99);font-size:.88rem;font-weight:780;text-align:center}
@media(max-width:700px){.vk-dn-promo{flex-wrap:wrap;padding:17px}.vk-dn-promo>a{width:100%}}

/* V12 – shared portal refinements. */

.security-dialog-open{margin-left:auto;color:var(--accent);font-weight:750;font-size:.81rem;text-decoration:none;white-space:normal}
.security-dialog-open:hover{text-decoration:underline}
@media(max-width:580px){.security-dialog-bar{flex-wrap:wrap}.security-dialog-open{order:3;flex:1 1 100%;margin:0}}


/* V12 normalized public page chrome */
html.portal-embedded-mode .topbar,html.portal-embedded-mode .footer{display:none!important}


/* V13: standalone link matches the existing lifecycle modal footer. */
.security-full-dialog[open]{display:flex;flex-direction:column}
.security-dialog-content{flex:1;min-height:0;max-height:none!important;overflow:auto}
.security-dialog-foot{display:flex;flex:none;justify-content:flex-end;padding:10px 20px;border-top:1px solid var(--border-strong);background:var(--panel-strong)}
.security-dialog-foot .security-dialog-open{margin:0;display:inline-flex;padding:9px 13px;border:1px solid var(--border-strong);border-radius:10px;background:var(--panel);font-weight:750;color:var(--accent);text-decoration:none}
.security-dialog-foot .security-dialog-open:hover{border-color:var(--accent);background:var(--panel-soft)}
@media(max-width:600px){.security-dialog-foot{padding:9px 12px}}


.v14-back-navigation{max-width:1240px;margin:12px auto 20px}
.v14-back-navigation>a{display:inline-flex;align-items:center;min-height:38px;padding:7px 13px;border:1px solid var(--border-strong,#69333b);border-radius:10px;color:var(--accent,#ff657a);text-decoration:none;font-weight:750}



.security-feed-more>summary{display:flex;align-items:center;justify-content:space-between;gap:15px}
.security-feed-more-arrow{display:inline-flex;align-items:center;justify-content:center;transition:transform .18s ease;font-size:1.25rem;color:var(--accent,#ff6c7e);line-height:1}
.security-feed-more[open] .security-feed-more-arrow{transform:rotate(180deg)}

html.portal-embedded-mode .v14-back-navigation,html.lifecycle-embed .v14-back-navigation{display:none!important}

/* V15: security guide opens with the same fixed footer action as the other portal modals. */
.guide-dialog-foot{flex:0 0 auto;display:flex;justify-content:flex-end;align-items:center;min-height:64px;padding:10px 20px;border-top:1px solid var(--border-strong);background:var(--panel-strong)}
.guide-dialog-open{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 14px;border:1px solid var(--border-strong);border-radius:11px;color:var(--accent);background:var(--panel);text-decoration:none;font-size:.87rem;font-weight:750}
.guide-dialog-open:hover,.guide-dialog-open:focus-visible{border-color:var(--accent);background:var(--panel-soft)}
body.site-varnakoda :is(dialog.guide-dialog,dialog.assessment-dialog,dialog.canonical-guide-dialog,dialog.security-full-dialog){border-radius:18px}
body.site-varnakoda :is(.guide-dialog-header,.assessment-dialog-header,.canonical-guide-head,.security-dialog-bar){min-height:69px}
body.site-varnakoda :is(.guide-dialog-close,.assessment-dialog-close,.canonical-guide-close,.security-dialog-close){width:44px;height:44px;border-radius:12px}
@media(max-width:600px){.guide-dialog-foot{padding:9px 14px}body.site-varnakoda :is(dialog.guide-dialog,dialog.assessment-dialog,dialog.canonical-guide-dialog,dialog.security-full-dialog){border-radius:0}}

/* One recognizable chrome for established varnakoda guides and assessments. */
:where(.canonical-guide-dialog,.guide-dialog,.assessment-dialog) {
  width:min(1050px,calc(100vw - 28px));height:min(890px,calc(100dvh - 28px));
  max-height:calc(100dvh - 28px);border:1px solid var(--border-strong);
  border-radius:18px;overflow:hidden;
}
:where(.canonical-guide-head,.guide-dialog-header,.assessment-dialog-header) {
  min-height:70px;padding:14px 22px;
  background:var(--panel-strong);border-bottom:1px solid var(--border);
}
:where(.canonical-guide-foot,.guide-dialog-foot,.assessment-dialog-footer) {
  display:flex;align-items:center;justify-content:flex-end;gap:12px;
  min-height:62px;padding:11px 20px;
  border-top:1px solid var(--border);background:var(--panel-strong);
}
:where(.canonical-guide-open,.guide-dialog-open,.assessment-dialog-open-page) {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:40px;padding:9px 13px;
  color:var(--accent);background:var(--panel);border:1px solid var(--border-strong);
  border-radius:10px;font-weight:750;text-decoration:none;
}
:where(.canonical-guide-close,.guide-dialog-close,.assessment-dialog-close) {
  width:44px;min-width:44px;height:44px;
  color:var(--accent);background:var(--panel);border:1px solid var(--border-strong);
  border-radius:12px;
}
@media(max-width:600px){:where(.canonical-guide-dialog,.guide-dialog,.assessment-dialog){width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0}}

/* V17 – focused component adjustments */

.lifecycle-assessment-promo{display:flex!important;flex-wrap:wrap;align-items:center;gap:12px!important}
.lifecycle-assessment-promo .lifecycle-promo-copy{flex:1 1 240px}
.lifecycle-assessment-promo>a{margin-left:0!important;flex:none}

/* Consistent wide dialogs with clear page margins and visible background. */
body.site-odprtakoda dialog:modal,
body.site-varnakoda dialog:modal {
  box-sizing: border-box !important;
  width: min(1320px, calc(100vw - 36px)) !important;
  max-width: min(1320px, calc(100vw - 36px)) !important;
  max-height: calc(100dvh - 36px) !important;
  margin: auto !important;
  border-radius: 18px !important;
  overscroll-behavior: contain;
}
body.site-odprtakoda dialog:modal::backdrop,
body.site-varnakoda dialog:modal::backdrop {
  background: rgba(0, 0, 0, .62) !important;
  backdrop-filter: blur(3px) !important;
}
body.site-odprtakoda dialog:is(.resource-modal,.catalog-modal,.assessment-dialog,.guide-dialog,.security-full-dialog,.new-tool-dialog,.canonical-guide-dialog):modal,
body.site-varnakoda dialog:is(.resource-modal,.catalog-modal,.assessment-dialog,.guide-dialog,.security-full-dialog,.new-tool-dialog,.canonical-guide-dialog):modal {
  height: min(920px, calc(100dvh - 36px)) !important;
  max-height: calc(100dvh - 36px) !important;
}
body.site-odprtakoda .quiz-modal-dialog,
body.site-varnakoda .quiz-modal-dialog {
  width: min(1320px, calc(100vw - 36px)) !important;
  max-width: min(1320px, calc(100vw - 36px)) !important;
  max-height: calc(100dvh - 36px) !important;
}
body.site-odprtakoda .quiz-modal-backdrop,
body.site-varnakoda .quiz-modal-backdrop {
  background: rgba(0, 0, 0, .62) !important;
  backdrop-filter: blur(3px) !important;
}
/* Place all existing standalone-page links at the right edge of modal footers. */
:is(body.site-odprtakoda,body.site-varnakoda) dialog :is(
  .resource-modal-foot,.new-tool-dialog-foot,.lifecycle-standalone-foot,
  .catalog-modal-foot,.assessment-dialog-footer,.guide-dialog-foot,
  .canonical-guide-foot,.security-dialog-foot
) {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 12px !important;
}
:is(body.site-odprtakoda,body.site-varnakoda) dialog :is(
  .resource-modal-foot,.new-tool-dialog-foot,.lifecycle-standalone-foot,
  .catalog-modal-foot,.assessment-dialog-footer,.guide-dialog-foot,
  .canonical-guide-foot,.security-dialog-foot
) > a[href] {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 16px !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 11px !important;
  background: var(--panel) !important;
  color: var(--accent) !important;
  font: inherit !important;
  font-size: .9rem !important;
  font-weight: 750 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
}
:is(body.site-odprtakoda,body.site-varnakoda) dialog :is(
  .resource-modal-foot,.new-tool-dialog-foot,.lifecycle-standalone-foot,
  .catalog-modal-foot,.assessment-dialog-footer,.guide-dialog-foot,
  .canonical-guide-foot,.security-dialog-foot
) > a[href]:is(:hover,:focus-visible) {
  background: var(--accent-soft) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  outline-offset: 3px;
}
/* Footer source lists expand above their section without clipping. */
body.site-odprtakoda #siteFooter, body.site-varnakoda #siteFooter,
body.site-odprtakoda #siteFooter :is(.footer-panel,.footer-main,.footer-actions,.footer-sources,.footer-source-groups,.footer-source-group),
body.site-varnakoda #siteFooter :is(.footer-panel,.footer-main,.footer-actions,.footer-sources,.footer-source-groups,.footer-source-group) {
  overflow: visible !important;
}
body.site-odprtakoda #siteFooter .footer-source-group[open],
body.site-varnakoda #siteFooter .footer-source-group[open] { z-index: 60 !important; }
body.site-odprtakoda #siteFooter .footer-source-items,
body.site-varnakoda #siteFooter .footer-source-items { z-index: 100 !important; }
body.site-odprtakoda #siteFooter .source-link-row,
body.site-varnakoda #siteFooter .source-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
}
body.site-odprtakoda #siteFooter .source-link-copy,
body.site-varnakoda #siteFooter .source-link-copy { display:flex;flex-direction:column;min-width:0;gap:3px; }
body.site-odprtakoda #siteFooter .source-link-copy small,
body.site-varnakoda #siteFooter .source-link-copy small { font-size:.81rem;line-height:1.38;white-space:normal; }
@media (max-width: 650px) {
  body.site-odprtakoda dialog:modal,body.site-varnakoda dialog:modal {
    width: calc(100vw - 12px) !important;
    max-width: calc(100vw - 12px) !important;
    max-height: calc(100dvh - 12px) !important;
    border-radius: 12px !important;
  }
  body.site-odprtakoda dialog:is(.resource-modal,.catalog-modal,.assessment-dialog,.guide-dialog,.security-full-dialog,.new-tool-dialog,.canonical-guide-dialog):modal,
  body.site-varnakoda dialog:is(.resource-modal,.catalog-modal,.assessment-dialog,.guide-dialog,.security-full-dialog,.new-tool-dialog,.canonical-guide-dialog):modal {
    height: calc(100dvh - 12px) !important;
    max-height: calc(100dvh - 12px) !important;
  }
  body.site-odprtakoda .quiz-modal-dialog,body.site-varnakoda .quiz-modal-dialog {
    width: calc(100vw - 12px) !important;
    max-width: calc(100vw - 12px) !important;
  }
}
