/*
Theme Name: VoltTag 1.12.28
Theme URI: https://volttag.no
Author: VoltTag
Author URI: https://volttag.no
Description: Plattform for VoltTag. Kunder logger inn i driftkonsollet på volttag.no.
Version: 1.12.28
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: volttag
Tags: one-column, custom-menu, featured-images, translation-ready
*/

:root {
  --ink: #10130c;
  --ink-2: #181c12;
  --paper: #f2eee2;
  --paper-2: #e6e0d0;
  --volt: #d8ff3a;
  --volt-deep: #b6d61f;
  --metal: #8a806c;
  --line: color-mix(in srgb, var(--volt) 22%, transparent);
  --danger: #c4452a;
  --radius: 1.1rem;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-sans: "Figtree", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body.volttag-body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: clip;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.vt-skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.vt-skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 40;
  background: var(--volt);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
}

.vt-wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.vt-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0.9rem 0;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}

.vt-header .vt-wrap {
  display: flex;
  width: min(100% - 2rem, var(--max));
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
}

.vt-header-end {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  flex-shrink: 0;
}

.vt-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.vt-logo .custom-logo {
  height: 2.15rem;
  width: auto;
  max-width: 7rem;
  flex-shrink: 0;
}

.vt-mark {
  width: 1.7rem;
  height: 2.15rem;
  border: 2px solid var(--volt);
  border-radius: 0.45rem 0.45rem 0.7rem 0.7rem;
  position: relative;
  background: var(--ink-2);
}

.vt-mark::before {
  content: "";
  position: absolute;
  top: 0.28rem;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border: 2px solid var(--volt);
  border-radius: 99px;
  transform: translateX(-50%);
}

.vt-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vt-nav a {
  text-decoration: none;
  font-size: 1rem;
  color: rgb(242 238 226 / 0.82);
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.vt-login-link {
  color: var(--volt);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.35rem;
  white-space: nowrap;
}

.vt-beboer .vt-nav,
.vt-beboer .vt-menu {
  display: none;
}

.vt-nav a:hover,
.vt-nav .current-menu-item a,
.vt-nav [aria-current="page"] {
  color: var(--volt);
}

.vt-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--volt);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.7rem 1.1rem;
  min-height: 2.75rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
}

.vt-cta-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgb(242 238 226 / 0.22);
}

.vt-identity {
  margin: 0 0 1.6rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--volt) 8%, transparent);
  max-width: 28rem;
}

.vt-identity-kicker {
  margin: 0 0 0.15rem;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--metal);
}

.vt-identity-name {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
}

.vt-identity strong {
  font-weight: 700;
}

.vt-identity p {
  margin: 0.15rem 0;
}

.vt-menu {
  display: none;
}

.vt-hero {
  padding: 3.5rem 0 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 1fr);
  gap: 2.4rem;
  align-items: center;
}

.vt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--volt);
  margin: 0 0 1rem;
}

.vt-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 3.6vw, 3.05rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 1.2rem;
  font-weight: 700;
  overflow-wrap: normal;
}

.vt-lede {
  font-size: 1.2rem;
  line-height: 1.65;
  max-width: 38rem;
  color: rgb(242 238 226 / 0.82);
  margin: 0 0 1.6rem;
}

.vt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.vt-tag {
  background: linear-gradient(180deg, #23281c, #14170f);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.35);
  position: relative;
}

.vt-tag::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 50%;
  width: 1.1rem;
  height: 1.1rem;
  border: 3px solid var(--volt);
  border-radius: 99px;
  transform: translateX(-50%);
  background: var(--ink);
}

.vt-tag-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--metal);
}

.vt-uid {
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 6vw, 2.6rem);
  letter-spacing: 0.06em;
  margin: 1.4rem 0 0.4rem;
  color: var(--volt);
  overflow-wrap: anywhere;
}

.vt-tag p {
  margin: 0;
  color: rgb(242 238 226 / 0.7);
}

.vt-strip {
  border-block: 1px solid rgb(255 255 255 / 0.08);
  overflow: hidden;
  padding: 0.85rem 0;
}

.vt-strip-track {
  display: flex;
  gap: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  color: rgb(216 255 58 / 0.7);
  white-space: nowrap;
}

.vt-section {
  padding: 4.5rem 0;
}

.vt-paper {
  background: var(--paper);
  color: var(--ink);
}

.vt-paper a {
  color: var(--ink);
}

.vt-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0 0 0.8rem;
  font-weight: 700;
}

.vt-muted {
  color: var(--metal);
  max-width: 42rem;
}

.vt-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.vt-card {
  background: var(--ink-2);
  border: 1px solid rgb(255 255 255 / 0.07);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem 1.2rem;
}

.vt-paper .vt-card {
  background: white;
  border-color: rgb(16 19 12 / 0.08);
}

.vt-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  margin: 0 0 0.45rem;
  letter-spacing: 0;
  line-height: 1.3;
  font-weight: 700;
}

.vt-card p {
  margin: 0;
  color: rgb(242 238 226 / 0.72);
}

.vt-paper .vt-card p,
.vt-paper .vt-muted {
  color: #5c5648;
}

.vt-num {
  font-family: var(--font-mono);
  color: var(--volt-deep);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.vt-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.vt-list li {
  padding: 0.85rem 0;
  border-top: 1px solid rgb(242 238 226 / 0.12);
}

.vt-paper .vt-list li {
  border-top: 1px solid rgb(16 19 12 / 0.1);
}

.vt-list strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.2rem;
}

.vt-formula {
  display: grid;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  background: var(--ink);
  color: var(--paper);
  padding: 1.2rem;
  border-radius: var(--radius);
  overflow-wrap: anywhere;
}

.vt-formula span {
  color: var(--volt);
}

.vt-calc-front {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(16 19 12 / 0.1);
}

.vt-calc-front h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.6rem;
}

.vt-calc-note,
.vt-calc-foot {
  max-width: 40rem;
}

.vt-calc-foot {
  margin: 1rem 0 0;
  color: var(--metal);
  font-size: 0.92rem;
}

.vt-calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.2rem;
  margin: 1.3rem 0 1.4rem;
  max-width: 44rem;
}

.vt-calc-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.vt-calc-front input {
  font: inherit;
  font-size: 1rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid rgb(16 19 12 / 0.14);
  background: #fff;
  color: var(--ink);
}

.vt-calc-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin: 0;
  max-width: none;
}

.vt-calc-front .vt-fact-tiles div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.vt-paper .vt-calc-results dt {
  color: var(--metal);
  font-size: 0.82rem;
}

.vt-paper .vt-calc-results dd {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

@media (max-width: 700px) {
  .vt-calc-grid,
  .vt-calc-front .vt-fact-tiles {
    grid-template-columns: 1fr;
  }
}

.vt-pitch-money {
  margin-top: 2rem;
}

.vt-compare {
  margin-top: 2.6rem;
}

.vt-compare-compact {
  padding-top: 2rem;
  border-top: 1px solid rgb(16 19 12 / 0.1);
}

.vt-compare h2,
.vt-mix h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.6rem;
}

.vt-compare-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 1.3rem;
}

.vt-compare-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1.4rem;
  display: grid;
  justify-items: start;
  gap: 0.35rem;
}

.vt-paper .vt-compare-card {
  background: var(--paper);
  border: 1px solid rgb(16 19 12 / 0.08);
}

.vt-compare-card-vt {
  box-shadow: inset 0 0 0 2px var(--volt);
}

.vt-compare-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.vt-compare-card p {
  margin: 0;
}

.vt-stack {
  display: flex;
  flex-direction: column-reverse;
  height: 210px;
  width: 4.6rem;
  border-radius: 0.85rem;
  overflow: hidden;
  background: rgb(16 19 12 / 0.08);
  margin: 0.7rem 0 0.85rem;
}

.vt-compare-compact .vt-stack {
  height: 150px;
}

.vt-stack-op {
  background: #2f3328;
  flex-grow: 1;
  min-height: 0;
}

.vt-stack-bl {
  background: var(--volt);
  flex-grow: 0;
  min-height: 0;
}

.vt-compare-card-vt .vt-stack-op {
  flex-grow: 2;
}

.vt-compare-card-vt .vt-stack-bl {
  flex-grow: 3;
}

.vt-compare-legend,
.vt-compare-year {
  margin: 1rem 0 0;
}

.vt-compare-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
  color: var(--metal);
  font-size: 0.9rem;
}

.vt-dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  margin-right: 0.4rem;
  vertical-align: -0.05rem;
}

.vt-dot-op {
  background: #2f3328;
}

.vt-dot-bl {
  background: var(--volt);
}

.vt-compare-year {
  font-size: 1.12rem;
}

.vt-hero-compare {
  min-width: 0;
}

.vt-compare-hero {
  margin-top: 0;
}

.vt-compare-hero .vt-num {
  margin: 0 0 0.35rem;
  color: var(--volt);
}

.vt-compare-hero h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--paper);
  margin: 0 0 0.9rem;
}

.vt-compare-hero .vt-compare-cols {
  margin-top: 0;
  gap: 0.7rem;
}

.vt-compare-hero .vt-compare-card {
  background: #1a1e14;
  border: 1px solid rgb(242 238 226 / 0.1);
  padding: 0.95rem 0.9rem 1rem;
  color: var(--paper);
  height: 100%;
}

.vt-compare-hero .vt-compare-card h3 {
  font-size: 0.98rem;
  color: var(--paper);
}

.vt-compare-hero .vt-compare-card p {
  font-size: 0.82rem;
  color: rgb(242 238 226 / 0.72);
}

.vt-compare-hero .vt-compare-card p strong {
  display: block;
  color: var(--paper);
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.vt-compare-hero .vt-stack {
  height: 118px;
  width: 3.4rem;
  margin: 0.5rem 0 0.65rem;
  background: rgb(242 238 226 / 0.08);
}

.vt-compare-hero .vt-compare-legend,
.vt-compare-hero .vt-compare-year {
  color: rgb(242 238 226 / 0.7);
  font-size: 0.84rem;
  margin-top: 0.7rem;
}

.vt-compare-hero .vt-compare-year {
  color: var(--paper);
  font-size: 0.95rem;
}

.vt-compare-hero .vt-compare-year strong {
  color: var(--volt);
}

.vt-compare-more {
  margin: 0.85rem 0 0;
}

.vt-compare-more a {
  color: var(--volt);
  font-weight: 600;
}

.vt-compare-more a:hover,
.vt-compare-more a:focus {
  color: var(--paper);
}

.vt-mix .vt-split {
  margin-top: 1.4rem;
}

.vt-paper .vt-mix {
  margin-bottom: 0.4rem;
}

@media (max-width: 700px) {
  .vt-compare-cols {
    grid-template-columns: 1fr;
  }

  .vt-compare-hero .vt-compare-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.vt-pitch-money article {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.3rem;
}

.vt-pitch-money .vt-num {
  color: var(--volt);
  margin: 0 0 0.55rem;
}

.vt-pitch-money h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--paper);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

.vt-pitch-money p:last-child {
  margin: 0;
  color: rgb(242 238 226 / 0.72);
}

.vt-pitch-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.6rem 0 2rem;
}

.vt-pitch-facts article {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.15rem;
}

.vt-pitch-facts h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 0.35rem;
  color: var(--volt);
}

.vt-pitch-facts p:last-child {
  margin: 0;
  color: rgb(242 238 226 / 0.72);
}

@media (max-width: 800px) {
  .vt-pitch-facts {
    grid-template-columns: 1fr 1fr;
  }
}

.vt-pitch .vt-compare-hero {
  margin-top: 2rem;
}

.vt-pitch-docs {
  display: grid;
  gap: 1.2rem;
  margin: 2rem 0 2.4rem;
}

@media (min-width: 760px) {
  .vt-pitch-docs {
    grid-template-columns: 1fr 1fr;
  }
}

.vt-pitch-docs h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0.35rem 0 0.5rem;
}

.vt-pitch-docs .vt-actions {
  margin-top: 1.1rem;
}

.vt-page {
  padding: 3rem 0 4.5rem;
}

.vt-section h2.vt-ref-follow {
  margin-top: 3rem;
}

.vt-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.4vw, 3.5rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 700;
}

.vt-faq {
  margin: 2.6rem 0 0;
  max-width: 40rem;
}

.vt-faq h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.4rem;
}

.vt-faq-list {
  margin: 0;
}

.vt-faq-item {
  padding: 0.95rem 0;
  border-top: 1px solid rgb(242 238 226 / 0.12);
}

.vt-faq-item dt {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.vt-faq-item dd {
  margin: 0;
  color: var(--metal);
}

.vt-form {
  display: grid;
  gap: 0.9rem;
  max-width: 32rem;
  margin-top: 1.5rem;
}

.vt-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.vt-form input,
.vt-form textarea,
.vt-form select {
  font: inherit;
  font-size: 1rem;
  width: 100%;
  max-width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid rgb(242 238 226 / 0.18);
  background: var(--ink-2);
  color: var(--paper);
}

.vt-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.vt-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.vt-notice {
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
  background: color-mix(in srgb, var(--volt) 16%, transparent);
}

.vt-notice-error {
  background: color-mix(in srgb, var(--danger) 22%, transparent);
}

.vt-notice-warn {
  background: color-mix(in srgb, #e8b84a 22%, transparent);
}

.vt-footer {
  border-top: 1px solid rgb(255 255 255 / 0.08);
  padding: 2.5rem 0 2rem;
}

.vt-footer-brand {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 11vw, 5.5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 1.2rem;
  color: var(--volt);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.vt-company {
  margin: 0 0 1.4rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.vt-company-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.vt-company-org {
  margin: 0.25rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--volt);
}

.vt-company-mail {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
}

.vt-company-mail a {
  color: var(--paper);
  text-decoration: none;
}

.vt-company-mail a:hover,
.vt-company-mail a:focus {
  color: var(--volt);
  text-decoration: underline;
}

.vt-company-kontakt {
  margin: 1.25rem 0 1.75rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid color-mix(in srgb, var(--volt) 22%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--ink-2) 75%, #000);
  border-top: 1px solid color-mix(in srgb, var(--volt) 22%, transparent);
}

.vt-company-kontakt .vt-num {
  margin: 0 0 0.45rem;
}

.vt-footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--metal);
  font-size: 0.92rem;
}

.vt-footer a {
  color: var(--paper);
  text-decoration: none;
}

.vt-footer-links a {
  text-underline-offset: 0.15em;
}

.vt-footer-links a:hover,
.vt-footer-links a:focus {
  text-decoration: underline;
}

.vt-page .vt-content {
  margin-top: 0.5rem;
}

.vt-content :where(p, ul, ol) {
  max-width: 40rem;
}

.vt-content a {
  color: var(--volt);
}

.vt-content .vt-cta {
  color: var(--ink);
}

.vt-content .vt-cta-ghost {
  color: var(--paper);
}

.vt-content .vt-grid-3 {
  max-width: none;
}

.vt-content img,
.vt-content figure,
.vt-content video {
  max-width: 100%;
  height: auto;
}

.vt-content pre,
.vt-content table {
  max-width: 100%;
}

.vt-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0 0;
}

.vt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.vt-table th,
.vt-table td {
  text-align: left;
  padding: 0.7rem 0.85rem 0.7rem 0;
  border-bottom: 1px solid rgb(242 238 226 / 0.12);
  vertical-align: top;
}

.vt-table code {
  font-family: var(--font-mono);
  font-size: 0.85em;
}

.vt-portal-h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 1.4rem 0 0.5rem;
}

.vt-portal-logout {
  margin-top: 2rem;
}

.vt-login-extra {
  margin: 1.5rem 0 0;
  max-width: 32rem;
}

.vt-login-extra summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--metal);
  list-style: none;
}

.vt-login-extra summary::-webkit-details-marker {
  display: none;
}

.vt-login-extra summary::after {
  content: " +";
  color: var(--volt);
}

.vt-login-extra[open] summary::after {
  content: " −";
}

.vt-login-extra .vt-form,
.vt-login-extra > .vt-muted {
  margin-top: 0.8rem;
}

.vt-text-btn {
  display: inline;
  margin: 0.6rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--metal);
  font: inherit;
  font-size: 0.92rem;
  text-decoration: underline;
  cursor: pointer;
}

.vt-text-btn:hover,
.vt-text-btn:focus {
  color: var(--paper);
}

.vt-portal .vt-form {
  padding-bottom: 0.4rem;
}

.vt-grid-3 > *,
.vt-split > *,
.vt-hero > * {
  min-width: 0;
}

@media (max-width: 1100px) {
  .vt-hero {
    gap: 2rem;
  }

  .vt-section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 960px) {
  .vt-nav-desktop,
  .vt-header-cta {
    display: none;
  }

  .vt-menu {
    display: block;
  }

  .vt-menu > summary {
    list-style: none;
    cursor: pointer;
    border: 1px solid rgb(242 238 226 / 0.22);
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }

  .vt-menu > summary::-webkit-details-marker,
  .vt-menu > summary::marker {
    display: none;
    content: "";
  }

  .vt-menu[open] .vt-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    background: var(--ink-2);
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: 1rem;
    padding: 0.9rem 1.1rem;
    min-width: min(18rem, calc(100vw - 2.5rem));
    z-index: 30;
  }

  .vt-menu[open] .vt-nav ul {
    flex-direction: column;
    gap: 0.2rem;
  }
}

@media (max-width: 860px) {
  .vt-hero,
  .vt-split {
    grid-template-columns: 1fr;
  }

  .vt-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .vt-hero {
    padding: 2.2rem 0 2.6rem;
  }

  .vt-page {
    padding: 2.2rem 0 3rem;
  }

  .vt-section {
    padding: 2.8rem 0;
  }

  .vt-hero h1,
  .vt-page h1 {
    font-size: clamp(1.7rem, 6.4vw, 2.35rem);
  }

  .vt-lede {
    font-size: 1.08rem;
  }

  .vt-footer-row {
    flex-direction: column;
    gap: 0.4rem;
  }
}

@media (max-width: 560px) {
  body.volttag-body {
    font-size: 1.05rem;
  }

  .vt-wrap {
    width: min(100% - 1.4rem, var(--max));
  }

  .vt-header .vt-wrap {
    width: min(100% - 1.4rem, var(--max));
  }

  .vt-logo {
    font-size: 1.15rem;
    gap: 0.45rem;
  }

  .vt-mark {
    width: 1.45rem;
    height: 1.85rem;
  }

  .vt-grid-3 {
    grid-template-columns: 1fr;
  }

  .vt-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .vt-actions .vt-cta {
    width: 100%;
  }

  .vt-tag {
    padding: 1.15rem 1.1rem 1.05rem;
  }

  .vt-table {
    min-width: 36rem;
  }
}

body.vt-faktura {
  background: #fff;
  color: #10130c;
}

body.vt-faktura .vt-invoice {
  width: min(100% - 2rem, 52rem);
  margin: 2rem auto 3rem;
}

.vt-invoice-actions {
  display: flex;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
}

.vt-invoice-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.vt-invoice-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--metal);
  margin: 0 0 0.35rem;
}

.vt-invoice-buyer p,
.vt-invoice-seller p {
  margin: 0.15rem 0;
}

.vt-invoice-head h1 {
  margin: 0.4rem 0 0.8rem;
  font-size: 2.2rem;
}

.vt-invoice-brand {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.vt-invoice-addr {
  margin: 0.35rem 0 0;
}

.vt-invoice-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.85rem 1.2rem;
  margin: 0.4rem 0 1.2rem;
}

.vt-invoice-meta dt {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--metal);
}

.vt-invoice-meta dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.vt-invoice-paybar {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.6rem;
  background: #10130c;
  color: #f2eee2;
}

.vt-invoice-paybar th,
.vt-invoice-paybar td {
  text-align: left;
  padding: 0.65rem 0.8rem;
  font-variant-numeric: tabular-nums;
}

.vt-invoice-paybar th {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8ff3a;
  font-weight: 600;
}

.vt-invoice-paybar td {
  font-weight: 600;
  font-size: 1.02rem;
}

.vt-invoice h2 {
  font-size: 1rem;
  margin: 1.4rem 0 0.5rem;
}

.vt-invoice-table {
  width: 100%;
  border-collapse: collapse;
}

.vt-invoice-table th,
.vt-invoice-table td {
  text-align: left;
  padding: 0.45rem 0.35rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  font-variant-numeric: tabular-nums;
}

.vt-invoice-lines th:nth-child(2),
.vt-invoice-lines td:nth-child(2),
.vt-invoice-lines th:nth-child(3),
.vt-invoice-lines td:nth-child(3),
.vt-invoice-lines th:nth-child(4),
.vt-invoice-lines td:nth-child(4),
.vt-invoice-lines th:nth-child(5),
.vt-invoice-lines td:nth-child(5) {
  text-align: right;
  white-space: nowrap;
}

.vt-invoice-table tfoot th,
.vt-invoice-table tfoot td {
  font-size: 1.02rem;
  padding-top: 0.75rem;
}

.vt-invoice-foot {
  margin-top: 2rem;
  color: var(--metal);
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  .vt-invoice-parties {
    grid-template-columns: 1fr;
  }
}

@media print {
  body.vt-faktura {
    background: #fff;
  }

  .vt-invoice-actions {
    display: none;
  }

  body.vt-faktura .vt-invoice {
    width: auto;
    margin: 0;
  }

  .vt-invoice-paybar {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .vt-invoice-sheet {
    page-break-after: always;
    break-after: page;
  }

  .vt-invoice-sheet:last-child {
    page-break-after: auto;
    break-after: auto;
  }
}

.vt-prove-stamp {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 10px;
  border: 1px solid #6b4f00;
  color: #6b4f00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vt-prove-stamp-pack {
  display: block;
  max-width: 46rem;
  margin: 0 auto 20px;
}
