/* Sockvision brand tokens. See docs/BRAND.md. Fonts are self-hosted OFL files. */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/poppins-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/poppins-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/inter-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/inter-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0F1B3D;
  --yellow: #FFD02F;
  --yellow-hover: #E6BC12;
  --off-white: #FAFBFD;
  --light-gray: #E9ECF2;
  --slate: #A7B0C8;
  --soft-blue: #D9E1F2;
  --pale-yellow: #FFF6CC;
  --ink: #0F1B3D;
  --text: #0F1B3D;
  --muted: #4E5970;
  --line: #E9ECF2;
  --surface: #ffffff;
  --soft: #FAFBFD;
  --strong: #A7B0C8;
  --alt: #FAFBFD;
  --border: #E9ECF2;
  --radius: 16px;
  --font: "Inter", "Segoe UI", Arial, sans-serif;
  --display: "Poppins", "Inter", sans-serif;
}

body {
  background: var(--off-white);
  color: var(--navy);
  font-family: var(--font);
}

h1, h2, h3, h4, .wordmark {
  font-family: var(--display);
  font-weight: 700;
}

a.brand img,
.sv-lockup,
.ops-brand img,
.wordmark img {
  width: auto !important;
  height: 44px !important;
  max-width: min(280px, 70vw) !important;
  object-fit: contain;
  object-position: left center;
}

img.brand-icon {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  flex: none;
}

.pub-section-icon {
  background: transparent;
  width: auto;
  height: auto;
  padding: 0;
}

.sidebar > .brand img,
.public-header .brand img,
.minimal-header .brand img {
  width: auto;
  height: 32px;
}

.btn,
.button {
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 600;
}

.btn:hover,
.button:hover {
  background: var(--yellow-hover);
}

.btn.secondary,
.button.secondary {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 999px;
}

.btn.secondary:hover {
  background: var(--soft-blue);
}

.page-heading > .btn.primary::after,
.public-header .row > .btn.primary::after,
.page-heading > .row > .btn.primary::after {
  content: "→";
  font-family: var(--font);
}

.chip,
.pill,
.tag {
  border-radius: 999px;
}

.chip.yellow,
.chip.y,
.pill.yellow {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
}

.chip.info {
  background: var(--soft-blue);
  border-color: var(--soft-blue);
  color: var(--navy);
}

.card,
.summary-card,
.metric,
.kcard {
  background: #fff;
  border: 1px solid var(--light-gray);
  border-radius: 16px;
}

.divider,
hr {
  border: 0;
  border-top: 1px solid var(--light-gray);
}

.side-link .icon,
.benefit-icon,
.nav-ico {
  background: var(--pale-yellow);
  color: var(--navy);
  border-radius: 999px;
}

.side-link .icon {
  width: 28px;
  height: 28px;
  padding: 5px;
}

.public-footer {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  background: #fff;
  background-image: none;
  border-top: 0;
  margin-top: 0;
  padding: 30px 0 32px;
}

/* One thin row of the original single-stitch cut-out. Navy at 42%, two yellow accents. */
.stitch-seam {
  display: flex;
  flex-flow: row nowrap;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-evenly;
  align-self: stretch;
  width: 100%;
  height: 20px;
  max-height: 20px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  flex: 0 0 20px;
}

.stitch-seam-mark {
  flex: 0 0 22px;
  width: 22px;
  height: 18px;
  max-width: 22px;
  max-height: 18px;
  min-width: 0;
  min-height: 0;
  background: #0F1B3D;
  opacity: 0.42;
  -webkit-mask: url("stitch/vv-single-stitch.png") center / contain no-repeat;
  mask: url("stitch/vv-single-stitch.png") center / contain no-repeat;
}

.stitch-seam-accent {
  display: block;
  background: none;
  opacity: 1;
  -webkit-mask: none;
  mask: none;
  object-fit: contain;
}

.public-footer-row {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 64px;
  padding: 0 max(calc((100% - 1200px) / 2), 28px);
  box-sizing: border-box;
  position: relative;
}

.public-footer .brand img {
  width: auto;
  height: 28px;
  max-width: 200px;
}

.public-footer .footer-slogan {
  margin: 12px 0 0;
  color: #0F1B3D;
  font-family: Inter, sans-serif;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
  user-select: text;
}

.public-footer .footer-slogan .slogan-stop {
  color: #FFD02F;
}

.public-footer .footer-subline {
  margin: 4px 0 0;
  color: #0F1B3D;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  user-select: text;
}

@media print {
  .public-footer { display: none !important; }
}

.empty-state {
  background-image: url("stitch/vv-stitch-row.png");
  background-repeat: no-repeat;
  background-position: center 12px;
  background-size: 81px 65px;
  padding-top: 84px;
}

.public-header,
.top,
.workspace-topbar {
  background: #fff;
  border-bottom: 1px solid var(--light-gray);
}

.landing-host {
  min-height: 100vh;
  background: #fff;
}

.sidebar-bottom .btn.ghost,
.sidebar-bottom a.btn.ghost {
  width: 100%;
  justify-content: flex-start;
  margin-top: 4px;
}

.sidebar-profile {
  margin: 12px 0 4px;
}

.topbar-tools .btn.ghost {
  white-space: nowrap;
}

/* Keep public header on one row (logo | nav | actions) — avoid wrapped "So funktioniert's"
   and stacked locale/signed-chip/CTA that inflate the bar. */
.public-header-inner {
  flex-wrap: nowrap;
}

.public-header nav {
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
}

.public-header nav a,
.public-header nav summary {
  white-space: nowrap;
}

.public-header .row {
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
}

.header-signed-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 1px;
  margin-right: 4px;
  max-width: 180px;
  line-height: 1.2;
}

.header-signed-chip .header-signed-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #6f6f6f);
}

.header-signed-chip strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy, #0F1B3D);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

html[lang="de"] .public-header nav {
  gap: 18px;
}

html[lang="de"] .public-header .row {
  gap: 8px;
}

@media (max-width: 1200px) {
  .public-header nav {
    gap: 16px;
  }

  .header-signed-chip {
    max-width: 140px;
  }

  .header-signed-chip strong {
    max-width: 140px;
  }
}

@media (max-width: 620px) {
  .public-header .row > .btn.primary {
    display: inline-flex !important;
  }

  .header-signed-chip {
    display: none;
  }
}

.sidebar {
  background: var(--off-white);
  border-right: 1px solid var(--light-gray);
}

.side {
  background: var(--navy);
}

.sv-staff-logo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.sv-staff-logo small {
  flex-basis: 100%;
}

.sv-staff-logo .sv-app-icon {
  width: 32px !important;
  height: 32px !important;
  max-width: none !important;
}

.sv-staff-logo .sv-wordmark {
  width: auto !important;
  height: 20px !important;
  max-width: 150px !important;
  object-fit: contain;
}

.side button {
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
}

.nav-ico {
  width: 26px;
  height: 26px;
  padding: 4px;
  flex: none;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.side button .cnt {
  margin-left: auto;
}

.btn.pri {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
  border-radius: 999px;
}

.chip.y {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}

.toast a {
  color: #FFD02F;
  margin-left: 8px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.w2k-steps strong {
  color: var(--navy);
}

.st-canvases {
  grid-template-columns: minmax(0, 1fr);
}

.st-preview-pane {
  display: none;
}
