/* src/styles.css */
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
  --ha-blue-500: #2e9bf0;
  --ha-blue-600: #1769e0;
  --ha-blue-700: #0f5cc0;
  --ha-teal-500: #1fb5a3;
  --ha-ink: #162a46;
  --ha-slate-600: #52647b;
  --ha-slate-500: #6b7c91;
  --ha-bg: #f7f9fc;
  --ha-surface: #ffffff;
  --ha-border: #dbe4f0;
  --ha-border-strong: #b9c9df;
  --ha-blue-tint: #eaf3ff;
  --ha-success: #1e8a5b;
  --ha-success-bg: #e7f5ee;
  --ha-warning: #b97a13;
  --ha-warning-bg: #fdf3e3;
  --ha-danger: #c9333e;
  --ha-danger-bg: #fdeceb;
  --ha-focus: rgba(23, 105, 224, 0.24);
  --ha-shadow-dialog: 0 18px 40px rgba(23, 33, 43, 0.08);
  color: var(--ha-ink);
  background: var(--ha-bg);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--ha-bg);
  color: var(--ha-ink);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a.secondary {
  cursor: pointer;
}
button,
a,
input,
select,
textarea {
  transition:
    color 140ms ease,
    background-color 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease,
    opacity 140ms ease;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ha-focus);
  outline-offset: 2px;
}
button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  background: var(--ha-bg);
}
.sidebar {
  background: var(--ha-surface);
  color: var(--ha-ink);
  padding: 18px 14px;
  border-right: 1px solid var(--ha-border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
}
.brand img {
  width: 54px;
  height: 42px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--ha-border);
  border-radius: 6px;
  padding: 3px;
}
.brand strong {
  display: block;
  font-size: 18px;
}
.brand span {
  display: block;
  font-size: 12px;
  color: var(--ha-slate-500);
}
.brand.large {
  color: var(--ha-ink);
  padding: 0;
  margin-bottom: 14px;
}
.brand.large img {
  width: 132px;
  height: 92px;
  border: 1px solid #e5eaee;
  padding: 6px;
}
.brand.large span {
  color: var(--ha-slate-500);
}
.sidebar nav {
  display: grid;
  gap: 3px;
}
.sidebar button {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  color: #31445e;
  background: transparent;
  padding: 9px 10px;
  border-radius: 6px;
  text-align: left;
  font-weight: 650;
}
.sidebar button.active,
.sidebar button:hover {
  background: var(--ha-blue-tint);
  color: var(--ha-blue-700);
}
.sidebar button.active {
  box-shadow: inset 3px 0 var(--ha-blue-600);
}
main {
  min-width: 0;
  padding: 22px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ha-border);
}
.topbar h1 {
  margin: 2px 0 0;
  font-size: 28px;
  letter-spacing: 0;
}
.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #50616f;
  font-size: 13px;
}
.context-line {
  margin: 4px 0 0;
  color: var(--ha-slate-500);
  font-size: 13px;
}
.userbox {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  padding: 7px 8px;
}
.icon-button {
  border: 1px solid var(--ha-border-strong);
  background: white;
  color: var(--ha-ink);
  border-radius: 6px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-button:hover:not(:disabled) {
  border-color: var(--ha-blue-600);
  background: var(--ha-blue-tint);
  color: var(--ha-blue-700);
}
.brand-button {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ha-ink);
  padding: 0;
}
.brand-button img {
  width: 48px;
  height: 36px;
  object-fit: contain;
  border: 1px solid #e5eaee;
  border-radius: 6px;
  padding: 4px;
  background: #fff;
}
.brand-button strong {
  font-size: 18px;
}
.stack {
  display: grid;
  gap: 16px;
}
.grid {
  min-width: 0;
}
.public-shell,
.platform-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f7f9fc;
  color: #162a46;
}
.public-shell .primary,
.platform-shell .primary {
  border-color: #1769e0;
  background: #1769e0;
  color: #fff;
}
.public-shell .primary:hover,
.platform-shell .primary:hover {
  border-color: #0f5cc0;
  background: #0f5cc0;
}
.public-shell .secondary,
.platform-shell .secondary {
  border-color: #b9c9df;
  color: #154f9f;
}
.public-shell button:focus-visible,
.platform-shell button:focus-visible,
.public-shell input:focus-visible,
.platform-shell input:focus-visible,
.platform-shell textarea:focus-visible {
  outline: 3px solid rgba(23, 105, 224, 0.24);
  outline-offset: 2px;
}
.public-nav,
.platform-topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  background: #fff;
  border-bottom: 1px solid #dbe4f0;
}
.public-nav .brand-button,
.platform-topbar .brand-button {
  position: relative;
  width: 100px;
  height: 60px;
  overflow: hidden;
}
.public-nav .brand-button img,
.platform-topbar .brand-button img {
  position: absolute;
  left: -10px;
  top: -25px;
  width: 113px;
  height: 113px;
  max-width: none;
  border: 0;
  padding: 0;
  object-fit: contain;
}
.desktop-public-nav,
.desktop-platform-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}
.desktop-public-nav .nav-link,
.desktop-platform-nav > button:not(.icon-button) {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 8px 12px;
  background: transparent;
  color: #31445e;
  font-weight: 650;
}
.desktop-platform-nav > button.active {
  color: #0f5cc0;
  box-shadow: inset 0 -2px #1769e0;
}
.platform-user-name {
  margin-left: 16px;
  padding-left: 20px;
  border-left: 1px solid #dbe4f0;
  color: #52647b;
  font-size: 14px;
  background: transparent;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #c7d4e5;
  border-radius: 7px;
  background: #fff;
  color: #162a46;
}
.mobile-nav-panel {
  display: none;
}
.public-main,
.platform-main {
  flex: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0;
}
.landing-hero {
  min-height: 390px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #dbe4f0;
}
.landing-hero h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  max-width: 920px;
}
.landing-hero p {
  margin: 28px 0 0;
  color: #52647b;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  max-width: 760px;
}
.public-section {
  display: grid;
  gap: 22px;
  margin: 52px 0 24px;
  scroll-margin-top: 24px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}
.section-head h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.02em;
}
.public-app-list,
.app-launch-list,
.organization-list {
  display: grid;
  gap: 10px;
}
.public-app-row,
.app-launch-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 116px;
  padding: 14px 18px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #fff;
}
.public-app-row {
  grid-template-columns: 108px minmax(0, 1fr);
}
.public-app-row img,
.app-launch-row img {
  width: 96px;
  height: 76px;
  object-fit: contain;
  border-radius: 7px;
}
.public-app-row img.module-logo.verwaltung,
.app-launch-row img.module-logo.verwaltung {
  object-fit: cover;
  object-position: center 48%;
}
.public-app-row h2,
.app-launch-row h2 {
  margin: 0 0 5px;
  font-size: 21px;
}
.public-app-row p,
.app-launch-row p {
  margin: 0;
  color: #52647b;
  line-height: 1.45;
}
.legal-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 22px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid #dbe4f0;
  background: #fff;
  color: #52647b;
}
.legal-footer > div {
  display: grid;
  gap: 3px;
}
.legal-footer strong {
  color: #162a46;
}
.legal-footer span,
.legal-footer small {
  font-size: 12px;
}
.legal-footer small {
  white-space: nowrap;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.legal-links a {
  color: #405d80;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.legal-links a:hover,
.legal-links a:focus-visible {
  color: #0f5cc0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-links.compact {
  justify-content: center;
  gap: 6px 12px;
}
.legal-links.compact a {
  font-size: 12px;
}
.legal-document {
  display: grid;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
  padding: 10px 0 32px;
}
.legal-document-head {
  display: grid;
  gap: 11px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dbe4f0;
}
.legal-document-head h1 {
  margin: 0;
  color: #162a46;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.03em;
}
.legal-document-head > p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: #52647b;
  font-size: 18px;
  line-height: 1.55;
}
.legal-document-head > span {
  color: #6b7c91;
  font-size: 13px;
}
.legal-document section {
  display: grid;
  gap: 10px;
}
.legal-document h2 {
  margin: 0;
  color: #162a46;
  font-size: 21px;
}
.legal-document p,
.legal-document li,
.legal-document address {
  color: #40515f;
  line-height: 1.7;
}
.legal-document p,
.legal-document ul {
  margin: 0;
}
.legal-document ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}
.legal-document address {
  font-style: normal;
}
.legal-document a,
.legal-notice a,
.legal-consent a {
  color: #0f5cc0;
  text-underline-offset: 2px;
}
.auth-stack {
  width: min(460px, 100%);
  display: grid;
  gap: 16px;
}
.auth-stack .login-card {
  width: 100%;
}
.legal-consent {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #40515f;
  font-weight: 500;
  line-height: 1.45;
}
.legal-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
}
.legal-notice {
  margin: 0;
  color: #607188;
  font-size: 12px;
  line-height: 1.45;
}
.terms-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(
      140deg,
      #eef3f4,
      #f9faf7);
}
.terms-gate-card {
  width: min(620px, 100%);
  display: grid;
  gap: 15px;
  padding: 26px;
  border: 1px solid #d8e0e5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(23, 33, 43, 0.08);
}
.terms-gate-card > img {
  width: 118px;
  height: 76px;
  object-fit: contain;
}
.terms-gate-card h1 {
  margin: 0;
  color: #162a46;
  font-size: clamp(28px, 5vw, 38px);
  letter-spacing: -0.025em;
}
.terms-gate-card > p:not(.eyebrow):not(.legal-notice):not(.error) {
  margin: 0;
  color: #52647b;
  line-height: 1.55;
}
.terms-gate-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding-top: 4px;
}
.sidebar .legal-links {
  margin-top: auto;
  display: grid;
  justify-content: stretch;
  padding: 12px 10px 0;
  border-top: 1px solid var(--ha-border);
}
.sidebar .legal-links a {
  color: var(--ha-slate-500);
}
.verwaltung-sidebar-account .legal-links,
.verwaltung-mobile-account .legal-links {
  display: grid;
  justify-content: stretch;
  padding: 7px 10px;
  border-top: 1px solid #e2eaf3;
  border-bottom: 1px solid #e2eaf3;
}
.verwaltung-sidebar-account .legal-links a,
.verwaltung-mobile-account .legal-links a {
  color: #607188;
  font-size: 11px;
}
.app-launch-copy small {
  display: block;
  margin-top: 7px;
  color: #6b7c91;
}
.platform-page-head h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.025em;
}
.platform-intro {
  margin: 8px 0 26px;
  color: #607188;
  font-size: 17px;
}
.platform-v2-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.44fr);
  gap: 18px;
  align-items: stretch;
  margin: 8px 0 22px;
  padding: 24px;
  border: 1px solid #bfd4f2;
  border-radius: 10px;
  background:
    linear-gradient(
      145deg,
      #f8fbff,
      #edf5ff);
}
.platform-v2-overview-compact {
  grid-template-columns: 1fr;
}
.platform-v2-overview h2 {
  margin: 6px 0 8px;
  color: #162a46;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}
.platform-v2-overview p {
  max-width: 760px;
  margin: 0;
  color: #52647b;
  font-size: 16px;
  line-height: 1.55;
}
.platform-v2-kicker {
  color: #1769e0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.platform-v2-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.platform-v2-facts div {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  border: 1px solid #dbe7f7;
  border-radius: 8px;
  background: #fff;
}
.platform-v2-facts span,
.platform-v2-count {
  color: #6b7c91;
  font-size: 12px;
  font-weight: 750;
}
.platform-v2-facts strong {
  color: #162a46;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}
.platform-v2-count {
  white-space: nowrap;
}
.portal-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}
.portal-section {
  min-width: 0;
  padding: 18px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #fff;
}
.portal-dashboard-grid-v2 {
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 16px;
}
.portal-section-v2 {
  padding: 18px;
  border-color: #d7e4f5;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(22, 42, 70, 0.05);
}
.portal-section > h2,
.portal-section-head h2 {
  margin: 0 0 16px;
  font-size: 19px;
}
.portal-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.portal-section-head-v2 {
  margin-bottom: 14px;
  align-items: center;
}
.portal-section-head-v2 h2 {
  margin: 3px 0 0;
  color: #162a46;
  font-size: 21px;
  letter-spacing: 0;
}
.portal-section .app-launch-row {
  grid-template-columns: 76px minmax(0, 1fr) auto;
  min-height: 98px;
  padding: 10px 12px;
}
.portal-section .app-launch-row img {
  width: 66px;
  height: 60px;
}
.portal-section .inline-actions {
  justify-content: flex-start;
}
.organization-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 10px;
  border: 0;
  border-bottom: 1px solid #e6edf5;
  background: #fff;
  color: #162a46;
  text-align: left;
}
.organization-row:last-child {
  border-bottom: 0;
}
.organization-row:hover {
  background: #f4f8fe;
}
.organization-row span {
  display: grid;
  gap: 3px;
}
.organization-row small {
  color: #6b7c91;
}
.organization-list-v2 {
  gap: 8px;
}
.organization-row-v2 {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  min-height: 64px;
  padding: 10px;
  border: 1px solid #e1eaf6;
  border-radius: 8px;
  background: #fff;
}
.organization-row-v2:hover {
  border-color: #bfd4f2;
  background: #f8fbff;
}
.platform-v2-row-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eaf3ff;
  color: #0f5cc0;
}
.organization-row-v2 strong {
  overflow: hidden;
  color: #162a46;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.organization-row-v2 small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.portal-tasks {
  margin-top: 18px;
}
.onboarding-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #bfd4f2;
  background: #f4f8fe;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 18px;
}
.onboarding-guide h2 {
  margin: 0 0 6px;
  font-size: 20px;
}
.onboarding-guide p {
  margin: 0;
  color: #52647b;
  line-height: 1.4;
}
.onboarding-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.billing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 16px;
  align-items: start;
  border: 1px solid #d6e1e6;
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 12px;
}
.billing-hero h2 {
  margin: 4px 0 8px;
  font-size: 24px;
}
.billing-hero p {
  margin: 0;
  color: #40515c;
  line-height: 1.45;
}
.empty-actions,
.inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.inline-actions {
  justify-content: flex-end;
  min-width: 0;
}
.app-launch-list-v2 {
  gap: 10px;
}
.app-launch-row-v2,
.portal-section .app-launch-row-v2 {
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 112px;
  padding: 14px;
  border-color: #e1eaf6;
  border-radius: 10px;
  background: #fff;
}
.app-launch-row-v2:hover {
  border-color: #bfd4f2;
  background: #f8fbff;
}
.app-launch-row-v2.disabled {
  background: #f8fafc;
}
.app-launch-row-v2.disabled .app-launch-copy,
.app-launch-row-v2.disabled .app-launch-logo-frame {
  opacity: 0.72;
}
.app-launch-logo-frame {
  width: 76px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid #e1eaf6;
  border-radius: 10px;
  background: #fff;
}
.portal-section .app-launch-row-v2 .app-launch-logo-frame img,
.app-launch-row-v2 .app-launch-logo-frame img {
  width: 66px;
  height: 58px;
  object-fit: contain;
  border-radius: 7px;
}
.app-launch-row-v2 .app-launch-logo-frame img.module-logo.verwaltung {
  object-fit: cover;
  object-position: center 48%;
}
.app-launch-row-v2 .app-launch-copy h2 {
  margin: 3px 0 5px;
  color: #162a46;
  font-size: 20px;
  letter-spacing: 0;
}
.app-launch-row-v2 .app-launch-copy p {
  margin: 0;
  color: #52647b;
  line-height: 1.45;
}
.app-launch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}
.app-launch-meta span {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  background: #eaf3ff;
  color: #0f5cc0;
  font-size: 12px;
  font-weight: 800;
}
.app-launch-row-v2 label {
  min-width: 170px;
  color: #52647b;
}
.app-launch-row-v2 select {
  min-height: 38px;
}
.app-launch-row-v2 .primary {
  min-height: 40px;
  align-self: center;
  border-color: #1769e0;
  background: #1769e0;
  color: #fff;
}
.app-launch-row-v2 .primary:hover:not(:disabled) {
  border-color: #0f5cc0;
  background: #0f5cc0;
}
.app-launch-row-v2 .primary:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}
.app-switcher-actions-v2 {
  justify-content: flex-start;
  padding-top: 2px;
}
.app-switcher-actions-v2 .secondary {
  min-height: 40px;
  border-color: #b9c9df;
  color: #154f9f;
}
.app-launch-empty-v2 {
  border-color: #d7e4f5;
  background: #f8fbff;
}
.info-card h2,
.app-module-card h2 {
  margin: 10px 0 8px;
  font-size: 22px;
}
.info-card p,
.app-module-card p {
  margin: 0 0 12px;
  color: #5e6c78;
  line-height: 1.45;
}
.app-module-card {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 220px;
}
.app-module-card.disabled {
  opacity: 0.72;
  background: #f8fafb;
}
.app-module-card button {
  margin-top: auto;
}
.shopflow-module-card {
  border-color: #d7bd79;
  background: #fffdf7;
}
.app-module-logo {
  width: 92px;
  height: 68px;
  object-fit: contain;
  border: 1px solid #eadfbd;
  border-radius: 8px;
  padding: 5px;
  background: #fbf6ea;
}
.shopflow-instance-management {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #bfd4f2;
  border-radius: 8px;
  background: #f7faff;
}
.shopflow-instance-head,
.shopflow-candidate-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.shopflow-instance-head h2 {
  margin: 0 0 5px;
  font-size: 20px;
}
.shopflow-instance-head p {
  margin: 0;
  color: #52647b;
}
.shopflow-instance-head > span {
  color: #6b7c91;
  font-size: 14px;
  white-space: nowrap;
}
.shopflow-candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}
.shopflow-candidate-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 14px;
  border: 1px solid #d5dfec;
  border-radius: 8px;
  background: #fff;
}
.shopflow-candidate-card.current {
  border-color: #74a8ed;
  box-shadow: inset 3px 0 #1769e0;
}
.shopflow-candidate-title > div {
  display: grid;
  gap: 3px;
}
.shopflow-candidate-title small {
  color: #728197;
}
.shopflow-display-name {
  margin: 0;
  color: #0f5cc0;
  font-weight: 750;
}
.shopflow-candidate-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
}
.shopflow-candidate-facts div {
  display: grid;
  gap: 2px;
}
.shopflow-candidate-facts dt {
  color: #728197;
  font-size: 12px;
}
.shopflow-candidate-facts dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.requestable-shopflow-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid #bfd4f2;
  border-radius: 8px;
  background: #f4f8fe;
}
.requestable-shopflow-card strong {
  font-size: 18px;
  color: #162a46;
}
.requestable-shopflow-card span {
  color: #52647b;
}
.organization-management {
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.organization-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #e2eaf3;
}
.organization-search {
  flex: 1;
  max-width: 520px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.organization-search input {
  width: 100%;
  min-height: 40px;
}
.status-filter {
  display: flex;
  padding: 3px;
  border: 1px solid #cdd9e8;
  border-radius: 7px;
  background: #f5f8fc;
}
.status-filter button {
  min-height: 34px;
  border: 0;
  border-radius: 5px;
  padding: 6px 12px;
  color: #52647b;
  background: transparent;
}
.status-filter button.active {
  color: #0f5cc0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(22, 42, 70, 0.1);
}
.organization-count {
  margin-left: auto;
  color: #6b7c91;
  font-size: 14px;
  white-space: nowrap;
}
.organization-table-wrap {
  overflow-x: auto;
}
.organization-table {
  min-width: 860px;
}
.organization-name {
  display: grid;
  gap: 3px;
}
.organization-name small {
  color: #728197;
}
.organization-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  white-space: nowrap;
}
.status-label {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 750;
}
.status-label.active {
  color: #0f5cc0;
  background: #eaf3ff;
}
.status-label.archived {
  color: #5e6a78;
  background: #edf1f5;
}
.organization-empty {
  background: #fff;
}
.organization-dialog {
  width: min(560px, 100%);
}
.organization-dialog > p {
  margin: 0;
  line-height: 1.5;
}
.platform-shell .primary.destructive {
  border-color: #c9333e;
  background: #c9333e;
}
.platform-shell .primary.destructive:hover {
  border-color: #a7242e;
  background: #a7242e;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shopflow-platform-frame {
  min-height: 100vh;
  background: #f8f3ea;
  position: relative;
}
.shopflow-app-frame {
  display: block;
  width: 100%;
  min-height: 100vh;
  border: 0;
  background: #f8f3ea;
}
.shopflow-platform-actions {
  display: none;
}
.shopflow-platform-actions .secondary {
  border-color: rgba(92, 8, 34, 0.28);
  color: #5c0822;
  background: rgba(255, 252, 246, 0.94);
  box-shadow: 0 10px 24px rgba(92, 8, 34, 0.08);
}
.profile-name-backdrop {
  z-index: 60;
}
.profile-name-dialog {
  width: min(480px, 100%);
}
.profile-name-dialog > p {
  margin: 0;
  color: #52647b;
  line-height: 1.5;
}
.profile-dialog {
  width: min(720px, 100%);
}
.compact-dialog {
  width: min(680px, 100%);
}
.invitation-join-card {
  width: min(660px, 100%);
  display: grid;
  gap: 16px;
  margin: 40px auto;
  padding: 28px;
  border: 1px solid #bfd4f2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(22, 42, 70, 0.08);
}
.invitation-join-card h1,
.invitation-join-card p {
  margin: 0;
}
.invitation-join-card h1 {
  font-size: clamp(30px, 5vw, 44px);
}
.invitation-join-card > p {
  color: #52647b;
  line-height: 1.55;
}
.invitation-facts {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #f8fbff;
}
.invitation-facts span {
  color: #6b7c91;
}
.invitation-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.verwaltung-workspace {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  background: #f7f9fc;
  color: #162a46;
}
.verwaltung-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px 14px;
  border-right: 1px solid #dbe4f0;
  background: #fff;
}
.verwaltung-sidebar-brand {
  min-width: 0;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 4px;
}
.verwaltung-sidebar-brand img {
  width: 50px;
  height: 44px;
  object-fit: contain;
  border: 1px solid #e2eaf3;
  border-radius: 7px;
  background: #fff;
  padding: 4px;
}
.verwaltung-sidebar-brand div {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.verwaltung-sidebar-brand strong {
  overflow: hidden;
  color: #162a46;
  font-size: 15px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.verwaltung-sidebar-brand span {
  color: #6b7c91;
  font-size: 12px;
}
.verwaltung-sidebar nav {
  display: grid;
  align-content: start;
  gap: 4px;
  overflow-y: auto;
}
.verwaltung-sidebar nav button,
.verwaltung-sidebar-account button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 7px;
  padding: 9px 10px;
  background: transparent;
  color: #31445e;
  text-align: left;
  font-weight: 650;
}
.verwaltung-sidebar nav button:hover,
.verwaltung-sidebar nav button.active {
  background: #eaf3ff;
  color: #0f5cc0;
}
.verwaltung-sidebar nav button.active {
  box-shadow: inset 3px 0 #1769e0;
}
.verwaltung-sidebar-account {
  display: grid;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px solid #e2eaf3;
}
.verwaltung-sidebar-account > span {
  padding: 5px 10px 8px;
  overflow: hidden;
  color: #6b7c91;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.verwaltung-sidebar-account button:last-child {
  color: #a7242e;
}
.verwaltung-feature-main {
  min-width: 0;
  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
  padding: 22px;
}
.verwaltung-feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #dbe4f0;
}
.verwaltung-feature-head div {
  display: grid;
  gap: 4px;
}
.verwaltung-feature-head div > span,
.verwaltung-feature-head > span {
  color: #6b7c91;
  font-size: 13px;
}
.verwaltung-feature-head h1 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 27px;
  letter-spacing: -0.02em;
}
.verwaltung-mobile-header,
.verwaltung-mobile-menu,
.verwaltung-menu-backdrop {
  display: none;
}
.verwaltung-dashboard .metric {
  border-color: #dbe4f0;
}
.status-page {
  min-height: 56vh;
  display: grid;
  place-items: start;
  align-content: center;
  gap: 12px;
  max-width: 620px;
}
.status-page h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
}
.status-page p {
  margin: 0;
  color: #5e6c78;
  font-size: 17px;
  line-height: 1.45;
}
.overview-shell {
  min-height: 100vh;
  padding: 28px;
  background: var(--ha-bg);
  display: grid;
  align-content: start;
  gap: 18px;
}
.overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: white;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  padding: 16px;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.admin-card {
  display: grid;
  gap: 10px;
  text-align: left;
  background: white;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  padding: 16px;
  color: var(--ha-ink);
  min-height: 170px;
}
.admin-card:hover {
  border-color: #bfd4f2;
  background: #f8fbff;
}
.admin-card strong {
  font-size: 20px;
}
.admin-card small {
  color: #66727d;
  line-height: 1.4;
}
.admin-card-logo {
  width: 58px;
  height: 42px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e5eaee;
  border-radius: 6px;
  padding: 4px;
}
.badge {
  width: fit-content;
  border: 0;
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--ha-blue-700);
  background: var(--ha-blue-tint);
  font-size: 12px;
  font-weight: 750;
}
.tenant-hero {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  gap: 16px;
  align-items: center;
  background: white;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.tenant-hero img {
  width: 72px;
  height: 54px;
  object-fit: contain;
  border: 1px solid #e5eaee;
  border-radius: 6px;
  padding: 5px;
  background: white;
}
.tenant-hero h2 {
  margin: 2px 0 4px;
  font-size: 22px;
}
.tenant-hero p {
  margin: 0;
  color: #66727d;
}
.tenant-facts {
  min-width: 110px;
  border-left: 1px solid #edf1f4;
  padding-left: 14px;
}
.tenant-facts span {
  display: block;
  color: #66727d;
  font-size: 12px;
}
.tenant-facts strong {
  font-size: 20px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 12px;
}
.account-summary {
  display: grid;
  gap: 12px;
}
.metric,
.panel,
.table-wrap,
.toolbar {
  background: white;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
}
.metric {
  padding: 16px;
  min-height: 94px;
}
.metric span {
  display: block;
  color: var(--ha-slate-600);
  font-size: 13px;
}
.metric strong {
  display: block;
  margin-top: 8px;
  color: var(--ha-ink);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}
.panel {
  padding: 16px;
  min-width: 0;
}
.panel h2,
.toolbar h2 {
  margin: 0;
  color: var(--ha-ink);
  font-size: 19px;
  line-height: 1.25;
}
.panel > h2 + * {
  margin-top: 14px;
}
.minirows {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}
.minirows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf1f4;
  padding-bottom: 8px;
}
.minirows span {
  color: var(--ha-slate-600);
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
}
.tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.search {
  position: relative;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--ha-border);
  border-radius: 6px;
  padding: 7px 9px;
  background: #fff;
  min-width: 240px;
}
.search:focus-within {
  border-color: var(--ha-blue-600);
  box-shadow: 0 0 0 3px var(--ha-focus);
}
.search input {
  border: 0;
  outline: none;
  width: 100%;
}
.primary,
.secondary,
.small {
  border: 1px solid var(--ha-blue-600);
  border-radius: 6px;
  min-height: 40px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 700;
}
.primary {
  color: white;
  background: var(--ha-blue-600);
}
.primary:hover:not(:disabled) {
  border-color: var(--ha-blue-700);
  background: var(--ha-blue-700);
}
.secondary,
.small {
  border-color: var(--ha-border-strong);
  background: white;
  color: #154f9f;
}
.secondary:hover:not(:disabled),
.small:hover:not(:disabled) {
  border-color: var(--ha-blue-600);
  background: var(--ha-blue-tint);
  color: var(--ha-blue-700);
}
.small {
  min-height: 34px;
  padding: 5px 9px;
  font-size: 13px;
}
.danger {
  border-color: var(--ha-danger);
  color: var(--ha-danger);
}
.danger:hover:not(:disabled),
.primary.destructive:hover:not(:disabled) {
  border-color: #a7242e;
  background: var(--ha-danger-bg);
  color: #a7242e;
}
.primary.destructive {
  border-color: var(--ha-danger);
  background: var(--ha-danger);
  color: #fff;
}
.primary.destructive:hover:not(:disabled) {
  background: #a7242e;
  color: #fff;
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 14px;
}
th {
  text-align: left;
  color: var(--ha-slate-500);
  background: #f7f9fc;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid #e6edf5;
  vertical-align: top;
}
tbody tr:hover {
  background: #f4f8fe;
}
td {
  max-width: 320px;
  overflow-wrap: anywhere;
}
th.num,
td.num {
  text-align: right;
}
.tabular {
  font-variant-numeric: tabular-nums;
}
.nowrap {
  white-space: nowrap;
}
.row-actions {
  white-space: nowrap;
  text-align: right;
}
.empty {
  text-align: center;
  color: var(--ha-slate-500);
  padding: 28px;
}
.traffic {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 99px;
}
.traffic.green {
  background: #2f8f5b;
}
.traffic.yellow {
  background: #d8a21b;
}
.traffic.red {
  background: #bf3b35;
}
.traffic.grey {
  background: #8d99a3;
}
.login-page,
.center {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--ha-bg);
}
.login-card {
  width: min(420px, 100%);
  background: white;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  padding: 24px;
  display: grid;
  gap: 14px;
  box-shadow: var(--ha-shadow-dialog);
}
label {
  display: grid;
  gap: 6px;
  color: #31445e;
  font-size: 13px;
  font-weight: 650;
}
input,
select,
textarea {
  min-height: 40px;
  border: 1px solid var(--ha-border);
  border-radius: 6px;
  padding: 8px 10px;
  background: white;
  color: var(--ha-ink);
  min-width: 0;
}
input:hover:not(:disabled),
select:hover:not(:disabled),
textarea:hover:not(:disabled) {
  border-color: var(--ha-border-strong);
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--ha-blue-600);
}
input[type=checkbox],
input[type=radio] {
  min-height: 0;
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--ha-blue-600);
}
textarea {
  min-height: 82px;
  resize: vertical;
}
.demo-logins {
  display: flex;
  gap: 8px;
}
.demo-logins button {
  flex: 1;
  min-height: 40px;
  border: 1px solid var(--ha-border-strong);
  background: #fff;
  color: #154f9f;
  border-radius: 6px;
  padding: 7px;
}
.demo-logins button:hover {
  border-color: var(--ha-blue-600);
  background: var(--ha-blue-tint);
}
.error {
  color: var(--ha-danger);
  background: var(--ha-danger-bg);
  border: 1px solid #edc9cc;
  padding: 9px 10px;
  border-radius: 6px;
  margin: 0;
}
.success {
  color: var(--ha-success);
  background: var(--ha-success-bg);
  border: 1px solid #bdd5c4;
  padding: 9px 10px;
  border-radius: 6px;
  margin: 0;
}
.link-button {
  border: 0;
  background: transparent;
  color: var(--ha-blue-700);
  padding: 4px 0;
  text-align: left;
  width: fit-content;
  font-weight: 650;
}
.link-button:hover {
  color: var(--ha-blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.empty-state {
  border: 1px solid #d8e0e5;
  background: white;
  border-radius: 8px;
  padding: 22px;
  color: #40515c;
}
.empty-state h2 {
  margin-top: 0;
  color: #17212b;
}
.request-grid,
.access-list {
  display: grid;
  gap: 10px;
}
.request-card,
.access-row {
  border: 1px solid var(--ha-border);
  background: #fff;
  border-radius: 8px;
  padding: 11px;
  color: var(--ha-ink);
}
.request-card {
  display: grid;
  gap: 4px;
  text-align: left;
}
.request-card.active {
  border-color: #bfd4f2;
  background: #f4f8fe;
  box-shadow: inset 3px 0 var(--ha-blue-600);
}
.request-card span,
.access-row span {
  color: var(--ha-slate-500);
  font-size: 13px;
}
.access-management h3 {
  margin: 0 0 10px;
  font-size: 15px;
}
.shopflow-request-management {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2eaf3;
}
.shopflow-request-management .access-row {
  grid-template-columns: minmax(0, 1fr) minmax(130px, auto) auto;
}
.access-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto) auto auto;
  gap: 8px;
  align-items: center;
}
.access-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.compact-access-row {
  grid-template-columns: minmax(0, 1fr) auto;
}
.access-row div {
  display: grid;
  gap: 3px;
}
.access-row p {
  margin: 3px 0 0;
  color: #40515c;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 33, 43, 0.38);
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 20;
}
.modal {
  width: min(980px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--ha-border);
  padding: 18px;
  display: grid;
  gap: 14px;
  box-shadow: var(--ha-shadow-dialog);
}
.wide-modal {
  width: min(1180px, 100%);
}
.modal-head,
.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.modal-head h2 {
  margin: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}
.wide {
  grid-column: 1 / -1;
}
.muted {
  color: var(--ha-slate-500);
}
.upload-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.upload-row input {
  flex: 1;
  min-width: 260px;
}
.toolbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.doc-preview {
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  padding: 10px;
  min-height: 120px;
  display: grid;
  gap: 8px;
  color: var(--ha-ink);
  text-decoration: none;
  background: #fff;
}
.doc-preview:hover {
  border-color: #bfd4f2;
  background: #f8fbff;
}
.doc-preview strong {
  font-size: 14px;
}
.doc-preview img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  background: white;
  border-radius: 6px;
}
.doc-preview object {
  width: 100%;
  height: 360px;
  background: white;
  border: 1px solid #edf1f4;
  border-radius: 6px;
}
.doc-preview.wide {
  grid-column: 1 / -1;
}
.logo-settings {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
}
.logo-settings img {
  width: 140px;
  height: 100px;
  object-fit: contain;
  border: 1px solid #d9e0e6;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
}
.member-assignments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.assignment-cards,
.game-list {
  display: grid;
  gap: 12px;
}
.assignment-card {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}
.date-block {
  display: grid;
  place-items: center;
  border: 1px solid var(--ha-border);
  background: white;
  border-radius: 8px;
  padding: 10px 6px;
  min-height: 70px;
}
.date-block strong {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.date-block span {
  color: #66727d;
  font-variant-numeric: tabular-nums;
}
.assignment-card h3,
.game-card-head h3 {
  margin: 6px 0 4px;
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.assignment-card p,
.game-card-head p {
  margin: 0;
  color: var(--ha-slate-500);
}
.game-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.status-pill {
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
}
.status-pill.ok {
  border: 1px solid #bdd5c4;
  background: var(--ha-success-bg);
  color: var(--ha-success);
}
.status-pill.warn {
  border: 1px solid #efd9aa;
  background: var(--ha-warning-bg);
  color: var(--ha-warning);
}
.status-pill.neutral {
  border: 1px solid var(--ha-border-strong);
  background: #fff;
  color: #31445e;
}
.status-pill.info {
  border: 1px solid #bfd4f2;
  background: var(--ha-blue-tint);
  color: var(--ha-blue-700);
}
.status-pill.finding {
  border: 1px solid #edc9cc;
  background: var(--ha-danger-bg);
  color: var(--ha-danger);
}
.review-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  white-space: nowrap;
}
.assignment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 10px;
}
.assignment-slot {
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  padding: 10px;
  display: grid;
  gap: 7px;
  background: #fff;
}
.assignment-slot span {
  color: #66727d;
}
.game-compact-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  padding: 10px 12px;
  background: white;
}
.game-compact-row:hover {
  border-color: #bfd4f2;
  background: #f8fbff;
}
.game-compact-main {
  display: grid;
  grid-template-columns: auto auto auto minmax(90px, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.game-compact-main strong,
.game-compact-main span {
  white-space: nowrap;
}
.game-league {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.game-league select {
  width: auto;
  min-width: 150px;
  padding: 6px 30px 6px 8px;
  font-weight: 600;
}
.slot-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.slot-button {
  min-width: 92px;
  min-height: 40px;
  border: 1px solid var(--ha-border);
  border-radius: 6px;
  padding: 7px 9px;
  display: grid;
  gap: 2px;
  text-align: left;
  background: #fff;
  color: var(--ha-ink);
}
.slot-button span {
  font-weight: 800;
  line-height: 1.1;
}
.slot-button small {
  color: #66727d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 110px;
}
.slot-button.free {
  border-color: #bfd4f2;
  background: var(--ha-blue-tint);
  color: var(--ha-blue-700);
}
.slot-button.filled {
  border-color: #72b58b;
  background: #eef8f2;
  color: #1f6540;
}
.slot-button.filled small {
  color: #246b45;
}
.slot-button.replacement {
  border-color: #d8a21b;
  background: #fff8e8;
}
.slot-button.free:not(:disabled) {
  cursor: pointer;
}
.slot-button.free:not(:disabled):hover {
  border-color: var(--ha-blue-600);
  background: #dbeaff;
}
.club-master-grid,
.gameops-entry-grid {
  align-items: start;
}
.compact-master-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.compact-master-list .access-row {
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid #edf1f4;
  border-radius: 6px;
  padding: 8px;
}
.official-member-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 260px;
}
.official-member-controls select {
  min-width: 76px;
}
.member-login-state {
  display: grid;
  gap: 4px;
  min-width: 210px;
}
.member-login-state span {
  color: #52647b;
  font-size: 0.84rem;
}
.member-login-state .link-button {
  width: fit-content;
}
.member-edit-dialog {
  width: min(760px, 100%);
}
.club-master-stack > .panel {
  width: 100%;
}
.season-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.invitation-management {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #dbe4f0;
}
.invitation-management h3 {
  margin: 0;
  font-size: 16px;
}
.invitation-share-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 12px;
  border: 1px solid #bfd4f2;
  border-radius: 8px;
  background: #f4f8fe;
}
.invitation-share-card input {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 12px;
}
.invitation-row {
  grid-template-columns: minmax(0, 1fr) auto;
}
.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.game-import-panel {
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  background: #f8fbff;
}
.file-field {
  flex: 1;
  min-width: 280px;
}
.file-field input {
  display: block;
  width: 100%;
  margin-top: 5px;
}
.import-errors {
  max-height: 180px;
  overflow: auto;
  color: #8a2f2f;
}
.import-errors p {
  margin: 3px 0;
}
.assignment-overview {
  display: grid;
  gap: 8px;
  max-height: 64vh;
  overflow: auto;
}
.overview-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(120px, 1fr) minmax(180px, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #edf1f4;
  border-radius: 8px;
  padding: 8px;
}
.overview-row div:first-child {
  display: grid;
  gap: 2px;
}
.overview-row div:first-child span {
  color: #66727d;
  font-size: 13px;
}
.overview-row .row-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  white-space: normal;
}
.preview-box {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  padding: 12px;
  background: #f8fbff;
}
.toolbar.slim {
  border: 0;
  padding: 0;
  margin-bottom: 12px;
  background: transparent;
}
.event-card-grid,
.helper-grid {
  display: grid;
  gap: 12px;
}
.event-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.event-card {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}
.event-card h3 {
  margin: 8px 0 4px;
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.event-card p {
  margin: 0;
  color: var(--ha-slate-500);
}
.helper-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}
.helper-card > div:first-child {
  display: grid;
  gap: 3px;
}
.helper-card strong {
  overflow-wrap: anywhere;
}
.helper-card span {
  color: var(--ha-slate-500);
}
.helper-card .minirows {
  margin: 0;
  min-width: 180px;
}
.helper-names {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 2px;
}
.helper-name {
  border: 1px solid #72b58b;
  background: #eef8f2;
  color: #1f6540;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.helper-name.mine {
  border-color: var(--ha-blue-600);
  background: var(--ha-blue-tint);
  color: var(--ha-blue-700);
  font-weight: 700;
}
.helper-actions {
  display: grid;
  gap: 4px;
  align-content: center;
}
.assignment-help {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
}
:where(.app-shell, .verwaltung-workspace, .overview-shell) :where(.panel, .metric, .table-wrap, .toolbar) {
  border-color: var(--ha-border);
  box-shadow: none;
}
:where(.app-shell, .verwaltung-workspace) .stack {
  gap: 14px;
}
:where(.app-shell, .verwaltung-workspace) .toolbar {
  min-height: 58px;
  padding: 10px 12px;
  background: #fff;
}
:where(.app-shell, .verwaltung-workspace) .toolbar :where(select, .secondary, .primary) {
  min-height: 40px;
}
:where(.app-shell, .verwaltung-workspace) .panel > .metric-grid {
  margin: 14px 0 0;
}
:where(.app-shell, .verwaltung-workspace) .panel > .metric-grid .metric {
  background: #f8fbff;
}
:where(.app-shell, .verwaltung-workspace) .account-summary > .metric {
  min-height: auto;
  padding: 0 0 13px;
  border: 0;
  border-bottom: 1px solid var(--ha-border);
  border-radius: 0;
}
:where(.app-shell, .verwaltung-workspace) .form-grid {
  gap: 12px;
}
:where(.app-shell, .verwaltung-workspace) .form-grid > .primary {
  align-self: end;
  width: fit-content;
}
:where(.app-shell, .verwaltung-workspace) .three-col .compact-form {
  grid-template-columns: 1fr;
}
:where(.app-shell, .verwaltung-workspace) .compact-form {
  margin-top: 14px;
}
:where(.app-shell, .verwaltung-workspace) .compact-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}
:where(.app-shell, .verwaltung-workspace) .table-wrap {
  background: #fff;
}
:where(.app-shell, .verwaltung-workspace) .data-table-wide table {
  min-width: 1080px;
}
:where(.app-shell, .verwaltung-workspace) .data-table-wide :where(th, td:first-child, td.num, td.row-actions) {
  white-space: nowrap;
}
:where(.app-shell, .verwaltung-workspace) .data-table-wide td {
  max-width: 210px;
}
:where(.app-shell, .verwaltung-workspace) table {
  color: var(--ha-ink);
}
:where(.app-shell, .verwaltung-workspace) td {
  line-height: 1.4;
}
:where(.app-shell, .verwaltung-workspace) tbody tr:last-child td {
  border-bottom: 0;
}
:where(.app-shell, .verwaltung-workspace) :where(.assignment-card, .event-card, .helper-card, .access-row, .overview-row) {
  transition: background-color 140ms ease, border-color 140ms ease;
}
:where(.app-shell, .verwaltung-workspace) :where(.assignment-card, .event-card, .helper-card, .access-row, .overview-row):hover {
  border-color: #bfd4f2;
  background: #f8fbff;
}
:where(.app-shell, .verwaltung-workspace) .modal-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ha-border);
}
:where(.app-shell, .verwaltung-workspace) .modal-backdrop {
  z-index: 40;
  background: rgba(22, 42, 70, 0.45);
}
:where(.app-shell, .verwaltung-workspace) .modal {
  width: min(560px, 100%);
  max-height: 92dvh;
}
:where(.app-shell, .verwaltung-workspace) .modal.wide-modal {
  width: min(1180px, 100%);
}
:where(.app-shell, .verwaltung-workspace) .modal.member-edit-dialog {
  width: min(760px, 100%);
}
:where(.app-shell, .verwaltung-workspace) .modal-head h2 {
  font-size: 19px;
  line-height: 1.2;
}
:where(.app-shell, .verwaltung-workspace) .modal > .metric-grid .metric {
  min-height: auto;
  padding: 8px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--ha-border);
  border-radius: 0;
  background: transparent;
}
:where(.app-shell, .verwaltung-workspace) .modal > .panel {
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--ha-border);
  border-radius: 0;
  background: transparent;
}
:where(.app-shell, .verwaltung-workspace) .modal-actions {
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px solid var(--ha-border);
}
:where(.app-shell, .verwaltung-workspace) .upload-row {
  padding: 12px;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  background: #f8fbff;
}
:where(.app-shell, .verwaltung-workspace) .traffic.green {
  background: var(--ha-success);
}
:where(.app-shell, .verwaltung-workspace) .traffic.yellow {
  background: var(--ha-warning);
}
:where(.app-shell, .verwaltung-workspace) .traffic.red {
  background: var(--ha-danger);
}
:where(.app-shell, .verwaltung-workspace) svg {
  stroke-width: 1.75;
}
@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .landing-hero {
    grid-template-columns: 1fr;
  }
  .platform-v2-overview {
    grid-template-columns: 1fr;
  }
  .platform-v2-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .metric-grid,
  .three-col,
  .two-col,
  .form-grid,
  .tenant-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member-assignments {
    grid-template-columns: 1fr;
  }
  .assignment-card {
    grid-template-columns: 86px minmax(0, 1fr) minmax(150px, auto);
  }
  .event-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }
  .helper-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  :where(.app-shell, .verwaltung-workspace) .three-col .compact-form {
    grid-template-columns: 1fr;
  }
  .assignment-grid {
    grid-template-columns: 1fr;
  }
  .game-compact-row,
  .overview-row,
  .access-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .slot-buttons,
  .overview-row .row-actions {
    justify-content: stretch;
  }
  .slot-button,
  .overview-row .row-actions button {
    flex: 1;
  }
  .onboarding-guide {
    grid-template-columns: 1fr;
  }
  .billing-hero {
    grid-template-columns: 1fr;
  }
  .onboarding-actions {
    min-width: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .portal-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .portal-dashboard-grid-v2 {
    grid-template-columns: 1fr;
  }
  .organization-toolbar {
    flex-wrap: wrap;
  }
  .organization-count {
    margin-left: 0;
  }
  .shopflow-request-management .access-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  html,
  body,
  #root {
    max-width: 100%;
    overflow-x: hidden;
  }
  main {
    padding: 12px;
  }
  .public-nav,
  .platform-topbar {
    min-height: 64px;
    align-items: center;
    flex-direction: row;
    padding: 8px 14px;
  }
  .public-nav .brand-button,
  .platform-topbar .brand-button {
    width: 86px;
    height: 48px;
  }
  .public-nav .brand-button img,
  .platform-topbar .brand-button img {
    left: -8px;
    top: -20px;
    width: 92px;
    height: 92px;
  }
  .desktop-public-nav,
  .desktop-platform-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .mobile-nav-panel {
    position: absolute;
    z-index: 25;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #cdd9e8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(22, 42, 70, 0.14);
  }
  .mobile-nav-panel.open {
    display: grid;
    gap: 3px;
  }
  .mobile-nav-panel button,
  .mobile-nav-panel span {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 6px;
    padding: 9px 11px;
    background: #fff;
    color: #162a46;
    text-align: left;
  }
  .mobile-nav-panel button:hover {
    background: #eaf3ff;
  }
  .mobile-nav-panel span {
    color: #607188;
    border-top: 1px solid #e2eaf3;
  }
  .mobile-nav-panel .legal-links {
    display: grid;
    justify-content: stretch;
    gap: 3px;
    margin-top: 4px;
    padding-top: 7px;
    border-top: 1px solid #e2eaf3;
  }
  .mobile-nav-panel .legal-links a {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 8px 11px;
    border-radius: 6px;
    color: #405d80;
    font-size: 12px;
  }
  .public-main,
  .platform-main {
    width: calc(100% - 28px);
    padding: 24px 0;
  }
  .platform-v2-overview {
    padding: 18px;
  }
  .platform-v2-overview h2 {
    font-size: 25px;
  }
  .platform-v2-facts {
    grid-template-columns: 1fr;
  }
  .portal-section-v2 {
    padding: 14px;
  }
  .portal-section-head-v2 {
    align-items: flex-start;
    flex-direction: column;
  }
  .legal-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
    padding: 20px 14px;
  }
  .legal-footer .legal-links {
    display: grid;
    gap: 9px;
  }
  .legal-document {
    gap: 23px;
  }
  .legal-document-head > p:not(.eyebrow) {
    font-size: 16px;
  }
  .terms-gate {
    padding: 12px;
  }
  .terms-gate-card {
    padding: 20px;
  }
  .terms-gate-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .terms-gate-actions button {
    width: 100%;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .landing-hero {
    min-height: 340px;
  }
  .landing-hero h1 {
    font-size: 43px;
  }
  .landing-hero p {
    font-size: 16px;
  }
  .public-app-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
  .public-app-row img {
    width: 66px;
    height: 58px;
  }
  .public-app-row h2 {
    font-size: 18px;
  }
  .public-app-row p {
    font-size: 14px;
  }
  .app-launch-row,
  .portal-section .app-launch-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
  }
  .app-launch-row-v2,
  .portal-section .app-launch-row-v2 {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 12px;
  }
  .app-launch-logo-frame {
    width: 64px;
    height: 62px;
  }
  .portal-section .app-launch-row-v2 .app-launch-logo-frame img,
  .app-launch-row-v2 .app-launch-logo-frame img {
    width: 56px;
    height: 52px;
  }
  .app-launch-row-v2 label {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .app-launch-row-v2 select {
    width: 100%;
  }
  .app-launch-row img,
  .portal-section .app-launch-row img {
    width: 58px;
    height: 54px;
  }
  .app-launch-row .primary {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 42px;
  }
  .app-switcher-actions-v2 button {
    flex: 1;
    min-width: 210px;
  }
  .topbar,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .tools,
  .search {
    width: 100%;
  }
  .metric-grid,
  .three-col,
  .two-col,
  .form-grid,
  .sidebar nav,
  .member-assignments {
    grid-template-columns: 1fr;
  }
  .overview-shell {
    padding: 12px;
  }
  .overview-head {
    align-items: stretch;
    flex-direction: column;
  }
  .tenant-hero {
    grid-template-columns: 1fr;
  }
  .tenant-facts {
    border-left: 0;
    border-top: 1px solid #edf1f4;
    padding-left: 0;
    padding-top: 10px;
  }
  .panel,
  .metric,
  .table-wrap,
  .toolbar,
  .empty-state {
    max-width: 100%;
  }
  .compact-table table {
    min-width: 560px;
  }
  .access-row,
  .inline-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .inline-actions input,
  .inline-actions button,
  .upload-row input,
  .upload-row button {
    width: 100%;
    min-width: 0;
  }
  .onboarding-steps {
    grid-template-columns: 1fr;
  }
  .onboarding-guide {
    align-items: stretch;
    flex-direction: column;
  }
  .onboarding-actions button {
    flex: 1;
    min-height: 42px;
  }
  .portal-section {
    padding: 14px;
  }
  .organization-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }
  .organization-search {
    max-width: none;
  }
  .status-filter {
    width: fit-content;
  }
  .organization-table-wrap {
    overflow: visible;
  }
  .organization-table {
    min-width: 0;
  }
  .organization-table thead {
    display: none;
  }
  .organization-table tbody {
    display: grid;
    gap: 10px;
    padding: 12px;
  }
  .organization-table tr {
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid #dbe4f0;
    border-radius: 8px;
  }
  .organization-table td {
    max-width: none;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    padding: 0;
    border: 0;
  }
  .organization-table td::before {
    content: attr(data-label);
    color: #6b7c91;
    font-size: 12px;
    font-weight: 700;
  }
  .organization-table td.organization-actions {
    display: flex;
    grid-template-columns: none;
    margin-top: 5px;
  }
  .organization-table td.organization-actions::before {
    display: none;
  }
  .organization-actions button {
    flex: 1;
  }
  .organization-row-v2 {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }
  .shopflow-instance-management {
    padding: 14px;
  }
  .shopflow-instance-head,
  .shopflow-candidate-title {
    align-items: stretch;
    flex-direction: column;
  }
  .shopflow-candidate-grid {
    grid-template-columns: 1fr;
  }
  .assignment-card {
    grid-template-columns: 1fr;
  }
  .event-card {
    grid-template-columns: 1fr;
  }
  .assignment-card .primary {
    width: 100%;
    min-height: 44px;
  }
  .game-compact-main {
    grid-template-columns: auto auto 1fr;
  }
  .game-compact-main .status-pill {
    grid-column: 1 / -1;
    width: fit-content;
  }
  .slot-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .slot-button {
    min-width: 0;
    text-align: center;
  }
  .slot-button small {
    max-width: none;
  }
  .date-block {
    justify-items: start;
    grid-template-columns: auto auto;
    gap: 8px;
    min-height: auto;
  }
  .doc-grid,
  .logo-settings {
    grid-template-columns: 1fr;
  }
  .metric strong {
    font-size: 20px;
  }
  :where(.app-shell, .verwaltung-workspace) .form-grid > .primary {
    width: 100%;
  }
  :where(.app-shell, .verwaltung-workspace) .modal-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  :where(.app-shell, .verwaltung-workspace) .modal-actions button {
    width: 100%;
  }
}
@media print {
  .public-nav,
  .legal-footer {
    display: none;
  }
  .public-shell,
  .public-main {
    display: block;
    width: 100%;
    padding: 0;
    background: #fff;
  }
  .legal-document {
    max-width: none;
    padding: 0;
  }
  .legal-document section {
    break-inside: avoid;
  }
}
@media (max-width: 860px) {
  .app-shell {
    display: block;
  }
  .app-shell > .sidebar,
  .app-shell > main > .topbar {
    display: none;
  }
  .app-shell > main {
    padding: 16px 12px 28px;
  }
  .verwaltung-workspace {
    display: block;
  }
  .verwaltung-sidebar {
    display: none;
  }
  .verwaltung-mobile-header {
    position: sticky;
    top: 0;
    z-index: 35;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid #dbe4f0;
    background: rgba(255, 255, 255, 0.98);
  }
  .verwaltung-mobile-header .menu-toggle {
    position: relative;
    z-index: 38;
    display: inline-flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }
  .verwaltung-mobile-context {
    min-width: 0;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
  }
  .verwaltung-mobile-context img {
    width: 44px;
    height: 42px;
    object-fit: contain;
    border: 1px solid #e2eaf3;
    border-radius: 7px;
    padding: 3px;
    background: #fff;
  }
  .verwaltung-mobile-context div {
    min-width: 0;
    display: grid;
    gap: 2px;
  }
  .verwaltung-mobile-context strong,
  .verwaltung-mobile-context span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .verwaltung-mobile-context strong {
    color: #162a46;
    font-size: 15px;
  }
  .verwaltung-mobile-context span {
    color: #6b7c91;
    font-size: 12px;
  }
  .verwaltung-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 36;
    border: 0;
    border-radius: 0;
    background: rgba(22, 42, 70, 0.45);
  }
  .verwaltung-mobile-menu.open {
    position: fixed;
    z-index: 37;
    inset: 0 auto 0 0;
    width: min(340px, calc(100% - 40px));
    display: grid;
    align-content: start;
    gap: 7px;
    overflow-y: auto;
    padding: max(76px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom));
    border: 0;
    border-right: 1px solid #cdd9e8;
    border-radius: 0;
    background: #fff;
    box-shadow: 18px 0 42px rgba(22, 42, 70, 0.18);
  }
  .verwaltung-mobile-menu nav,
  .verwaltung-mobile-account {
    display: grid;
    gap: 3px;
  }
  .verwaltung-mobile-menu nav button,
  .verwaltung-mobile-account button,
  .verwaltung-mobile-account span {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 0;
    border-radius: 6px;
    padding: 9px 11px;
    background: #fff;
    color: #31445e;
    text-align: left;
    font-weight: 650;
  }
  .verwaltung-mobile-menu nav button.active {
    color: #0f5cc0;
    background: #eaf3ff;
  }
  .verwaltung-mobile-account {
    padding-top: 7px;
    border-top: 1px solid #e2eaf3;
  }
  .verwaltung-mobile-account span {
    min-height: 34px;
    color: #6b7c91;
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .verwaltung-mobile-account button:last-child {
    color: #a7242e;
  }
  .verwaltung-feature-main {
    max-width: none;
    padding: 16px 12px 28px;
  }
  .verwaltung-feature-head {
    margin-bottom: 14px;
    padding-bottom: 11px;
  }
  .verwaltung-feature-head h1 {
    font-size: 23px;
  }
  .verwaltung-feature-head > span {
    display: none;
  }
  :where(.app-shell, .verwaltung-workspace) :where(button, .secondary, .primary, .small) {
    min-height: 44px;
  }
  .app-shell input,
  .app-shell select,
  .app-shell textarea,
  .verwaltung-workspace input,
  .verwaltung-workspace select,
  .verwaltung-workspace textarea {
    min-height: 44px;
    font-size: 16px;
  }
  :where(.app-shell, .verwaltung-workspace) tr {
    min-height: 48px;
  }
  :where(.app-shell, .verwaltung-workspace) .modal-backdrop {
    align-items: end;
    padding: 0;
  }
  :where(.app-shell, .verwaltung-workspace) .modal {
    width: 100%;
    max-height: 92dvh;
    border-width: 1px 0 0;
    border-radius: 14px 14px 0 0;
    padding: 26px 16px max(16px, env(safe-area-inset-bottom));
  }
  :where(.app-shell, .verwaltung-workspace) .modal::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: #c7d4e5;
    transform: translateX(-50%);
  }
  :where(.app-shell, .verwaltung-workspace) .modal {
    position: relative;
  }
}
@media (max-width: 430px) {
  .shopflow-platform-actions {
    display: none;
  }
}
.property-planning .section-head,
.property-voting .section-head {
  align-items: start;
}
.property-planning .section-head h1,
.property-voting .section-head h1 {
  margin: 0;
  color: #162a46;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.025em;
}
.property-planning .section-head p:last-child,
.property-voting .section-head p:last-child {
  margin: 6px 0 0;
  color: #607188;
}
.panel-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.panel-title-row h2,
.panel-title-row p {
  margin: 0;
}
.panel-title-row label {
  min-width: min(320px, 45%);
}
.planning-table table {
  min-width: 980px;
}
.planning-table th {
  vertical-align: bottom;
  white-space: nowrap;
}
.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.numeric.adverse,
.metric-adverse strong {
  color: #a7242e;
}
.criteria-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 12px;
}
.criteria-summary span {
  padding: 6px 9px;
  border: 1px solid #dbe4f0;
  border-radius: 6px;
  background: #f6f9fc;
  color: #43566f;
  font-size: 12px;
}
.criteria-editor {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #f8fafc;
}
.criteria-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(160px, 1.4fr) minmax(110px, 0.6fr) auto;
  gap: 8px;
  align-items: end;
}
.criteria-row .small {
  min-height: 38px;
}
.governance-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #c8d9ee;
  border-radius: 8px;
  background: #f1f7ff;
}
.governance-action .check {
  margin: 0;
}
.governance-action.danger-zone {
  border-color: #edc9cc;
  background: #fff7f7;
}
.self-vote-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(220px, 1.4fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #fff;
}
.self-vote-card > div:first-child {
  display: grid;
  gap: 4px;
}
.self-vote-card span {
  color: #607188;
  font-size: 12px;
}
.vote-result {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #bdd5c4;
  border-radius: 8px;
  background: #f4fbf6;
}
.vote-result h3 {
  margin-top: 0;
}
.club-finance-workspace,
.club-finance-card {
  min-width: 0;
}
.club-finance-card > .panel-title-row {
  align-items: start;
}
.club-finance-season-bar,
.club-finance-actions,
.club-finance-filters,
.communication-filters {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.club-finance-season-bar {
  justify-content: space-between;
}
.club-finance-season-bar label,
.club-finance-filters label,
.member-season-filter {
  min-width: min(280px, 100%);
}
.club-contribution-planning {
  border-color: #bfd4f2;
  background: #fbfdff;
}
.contribution-run-list {
  margin-bottom: 14px;
}
.club-contribution-run-form {
  display: grid;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ha-border);
}
.contribution-item-editor {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  background: #f8fbff;
}
.contribution-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.contribution-item-head h3 {
  margin: 0;
}
.contribution-item-row {
  display: grid;
  grid-template-columns: minmax(150px, .8fr) minmax(180px, 1.2fr) minmax(150px, .8fr) minmax(125px, .6fr) auto;
  gap: 8px;
  align-items: end;
}
.contribution-item-row > button {
  min-height: 40px;
}
.contribution-validation {
  display: grid;
  gap: 5px;
  font-size: 13px;
}
.warning-text {
  color: var(--ha-warning);
}
.bank-import-drop {
  padding: 16px;
  border: 1px dashed #b9c9df;
  border-radius: 8px;
  background: #fbfdff;
}
.csv-mapping-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.bank-import-preview,
.allocation-editor,
.contribution-correction-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  background: #f8fbff;
}
.confirmation-check {
  display: flex;
  align-items: start;
  gap: 9px;
  color: var(--ha-slate-600);
  font-size: 13px;
}
.confirmation-check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
}
.bank-transaction-list {
  display: grid;
  gap: 9px;
}
.bank-transaction-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--ha-border);
  border-radius: 8px;
  background: #fff;
}
.bank-transaction-card > div {
  display: grid;
  gap: 3px;
}
.bank-transaction-card > div:last-child {
  justify-items: end;
}
.bank-transaction-card span,
.bank-transaction-card small {
  color: var(--ha-slate-600);
}
.allocation-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(140px, .35fr) auto;
  gap: 8px;
  align-items: end;
}
.allocation-summary {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  font-variant-numeric: tabular-nums;
}
.finance-responsive-table td small {
  display: block;
  color: var(--ha-slate-500);
}
.communication-filters .secondary.active {
  border-color: #bfd4f2;
  background: var(--ha-blue-tint);
  color: var(--ha-blue-700);
}
.member-season-filter {
  margin: 0;
}
@media (max-width: 860px) {
  .club-finance-season-bar,
  .club-finance-filters,
  .contribution-item-head,
  .bank-transaction-card {
    align-items: stretch;
    flex-direction: column;
  }
  .club-finance-season-bar label,
  .club-finance-filters label,
  .member-season-filter {
    width: 100%;
    min-width: 0;
  }
  .contribution-item-row,
  .csv-mapping-grid,
  .allocation-row {
    grid-template-columns: 1fr;
  }
  .contribution-item-row > button,
  .bank-transaction-card button,
  .allocation-editor .toolbar-actions,
  .allocation-editor .toolbar-actions button {
    width: 100%;
  }
  .bank-transaction-card > div:last-child {
    justify-items: stretch;
  }
  .finance-responsive-table {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .finance-responsive-table table {
    min-width: 0;
  }
  .finance-responsive-table thead {
    display: none;
  }
  .finance-responsive-table tbody {
    display: grid;
    gap: 10px;
  }
  .finance-responsive-table tr {
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid var(--ha-border);
    border-radius: 8px;
    background: #fff;
  }
  .finance-responsive-table td {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(105px, .55fr) minmax(0, 1fr);
    gap: 10px;
    padding: 0;
    border: 0;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .finance-responsive-table td::before {
    content: attr(data-label);
    color: var(--ha-slate-500);
    font-size: 12px;
    font-weight: 700;
  }
  .finance-responsive-table td[colspan]::before {
    display: none;
  }
  .finance-responsive-table .status-pill {
    width: fit-content;
  }
}
@media (max-width: 760px) {
  .panel-title-row {
    align-items: stretch;
    flex-direction: column;
  }
  .panel-title-row label {
    min-width: 0;
    width: 100%;
  }
  .criteria-row,
  .self-vote-card {
    grid-template-columns: 1fr;
  }
  .governance-action {
    align-items: stretch;
    flex-direction: column;
  }
  .governance-action button {
    width: 100%;
  }
  .season-form,
  .invitation-share-card {
    grid-template-columns: 1fr;
  }
  .invitation-actions,
  .invitation-actions button,
  .invitation-share-card .toolbar-actions,
  .invitation-share-card .toolbar-actions button {
    width: 100%;
  }
  .member-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .compact-table .member-table {
    min-width: 0;
  }
  .member-table thead {
    display: none;
  }
  .member-table tbody {
    display: grid;
    gap: 10px;
  }
  .member-table tr {
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid #dbe4f0;
    border-radius: 8px;
    background: #fff;
  }
  .member-table td {
    max-width: none;
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 10px;
    padding: 0;
    border: 0;
  }
  .member-table td::before {
    content: attr(data-label);
    color: #6b7c91;
    font-size: 12px;
    font-weight: 700;
  }
  .member-table td[colspan]::before {
    display: none;
  }
  .member-table td .secondary {
    width: 100%;
  }
}
:root {
  --ha-blue-500: #2e9bf0;
  --ha-blue-600: #1769e0;
  --ha-blue-700: #0f5cc0;
  --ha-teal-500: #1fb5a3;
  --ha-ink: #162a46;
  --ha-slate-600: #52647b;
  --ha-slate-500: #6b7c91;
  --ha-bg: #f7f9fc;
  --ha-surface: #ffffff;
  --ha-border: #dbe4f0;
  --ha-blue-tint: #eaf3ff;
  --ha-hero-1: #0d2145;
  --ha-hero-2: #123a7a;
}
.landing-v2-shell {
  background: var(--ha-bg);
  color: var(--ha-ink);
}
.landing-v2-hero {
  color: #fff;
  background:
    linear-gradient(
      175deg,
      var(--ha-hero-1) 0%,
      var(--ha-hero-2) 68%,
      var(--ha-blue-600) 130%);
}
.landing-v2-hero .public-nav-dark {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  background: transparent;
  border: 0;
}
.landing-v2-brand.brand-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
}
.landing-v2-brand-tile {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(13, 33, 69, 0.35);
}
.landing-v2-brand-tile img {
  width: 54px;
  height: 54px;
  max-width: none;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.desktop-public-nav-dark {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.landing-v2-hero .nav-link-dark {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 8px 12px;
  background: transparent;
  color: #c7dcf9;
  font-weight: 650;
}
.landing-v2-hero .nav-link-dark:hover {
  color: #fff;
}
.landing-v2-hero .primary-inverted,
.landing-v2-cta .primary-inverted {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 8px 18px;
  background: #fff;
  color: var(--ha-blue-700);
  font-weight: 700;
}
.landing-v2-hero .primary-inverted:hover,
.landing-v2-cta .primary-inverted:hover {
  background: var(--ha-blue-tint);
}
.landing-v2-menu-toggle {
  display: none;
}
.landing-v2-mobile-nav {
  display: none;
}
.landing-v2-hero-inner {
  display: grid;
  justify-items: center;
  gap: 26px;
  padding: 56px max(24px, calc((100vw - 900px) / 2)) 0;
  text-align: center;
}
.landing-v2-hero-inner h1 {
  margin: 0;
  max-width: 920px;
  font-size: 76px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}
.landing-v2-hero-inner > p {
  max-width: 680px;
  margin: 0;
  color: #b9cff0;
  font-size: 22px;
  line-height: 1.55;
}
.landing-v2-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.landing-v2-hero-cta .primary-inverted,
.landing-v2-hero-cta .ghost {
  min-height: 48px;
  border-radius: 7px;
  padding: 12px 26px;
  font-size: 16px;
}
.landing-v2-hero-cta .ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  font-weight: 650;
}
.landing-v2-hero-cta .ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.landing-v2-logo-card {
  margin-top: 6px;
  padding: 34px 40px 26px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(6, 20, 48, 0.4);
}
.landing-v2-logo-card svg {
  width: min(480px, 86vw);
  display: block;
}
.landing-v2-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  padding: 26px 24px 34px;
  color: #9ec5f7;
  font-size: 14px;
  font-weight: 600;
}
.landing-v2-fade {
  position: relative;
  height: 220px;
  margin-top: -1px;
  background:
    linear-gradient(
      180deg,
      #1552af 0%,
      #5d86c4 34%,
      #b8c9e2 62%,
      #eef2f8 84%,
      var(--ha-bg) 100%);
}
.landing-v2-fade > div {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(247, 249, 252, 0) 0%,
      var(--ha-bg) 78%);
  opacity: 0;
  transition: opacity 120ms linear;
  pointer-events: none;
}
.landing-v2-main {
  padding-top: 0;
}
.landing-v2-section {
  gap: 22px;
  margin: 52px 0 24px;
}
.landing-v2-kicker {
  color: var(--ha-blue-600);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}
.landing-v2-section-title {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}
.landing-v2-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  border-top: 1px solid var(--ha-border);
}
.landing-v2-feature {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 22px 26px 0;
  border-bottom: 1px solid var(--ha-border);
}
.landing-v2-feature > span {
  color: #bfd4f2;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.landing-v2-feature h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}
.landing-v2-feature p {
  max-width: 440px;
  margin: 7px 0 0;
  color: var(--ha-slate-600);
  font-size: 15px;
  line-height: 1.55;
}
.landing-v2-mockup {
  padding: 10px;
  border: 1px solid var(--ha-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(13, 33, 69, 0.16);
}
.landing-v2-platform-preview {
  min-height: 420px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 9px;
  background:
    linear-gradient(
      145deg,
      #f8fbff,
      #edf4ff);
}
.landing-v2-preview-sidebar,
.landing-v2-preview-content {
  border: 1px solid #dbe7f7;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}
.landing-v2-preview-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}
.landing-v2-preview-sidebar strong {
  margin-bottom: 6px;
  color: var(--ha-ink);
  font-size: 15px;
}
.landing-v2-preview-sidebar span {
  min-height: 38px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  padding: 8px 10px;
  background: #e7f0fb;
  color: #415a78;
  font-size: 13px;
  font-weight: 700;
}
.landing-v2-preview-sidebar span:first-of-type {
  background: #d5e8ff;
  color: var(--ha-blue-700);
  box-shadow: inset 3px 0 var(--ha-blue-600);
}
.landing-v2-preview-content {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
}
.landing-v2-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2ecf8;
}
.landing-v2-preview-head div {
  display: grid;
  gap: 3px;
}
.landing-v2-preview-head strong {
  color: var(--ha-ink);
  font-size: 26px;
}
.landing-v2-preview-head small,
.landing-v2-preview-head span {
  color: var(--ha-slate-500);
  font-size: 13px;
  font-weight: 700;
}
.landing-v2-preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.landing-v2-preview-metrics > div {
  min-width: 0;
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 13px;
  border: 1px solid #dbe7f7;
  border-radius: 8px;
  background: #fff;
}
.landing-v2-preview-metrics span,
.landing-v2-preview-metrics small {
  color: var(--ha-slate-500);
  font-size: 12px;
  font-weight: 700;
}
.landing-v2-preview-metrics strong {
  color: var(--ha-ink);
  font-size: 21px;
  font-variant-numeric: tabular-nums;
}
.landing-v2-preview-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid #dbe7f7;
  border-radius: 8px;
  background: #fff;
}
.landing-v2-preview-table-head,
.landing-v2-preview-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 0.8fr;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
}
.landing-v2-preview-table-head {
  background: #edf4fb;
  color: var(--ha-slate-500);
  font-size: 11px;
  font-weight: 800;
}
.landing-v2-preview-row {
  border-top: 1px solid #edf4fb;
  color: #31445e;
  font-size: 12px;
  font-weight: 650;
}
.landing-v2-preview-row strong {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.landing-v2-preview-row em {
  width: fit-content;
  border-radius: 999px;
  padding: 3px 7px;
  background: var(--ha-blue-tint);
  color: var(--ha-blue-700);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.landing-v2-apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 14px;
}
.landing-v2-app-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--ha-border);
  border-radius: 10px;
  background: #fff;
}
.landing-v2-app-card:hover {
  border-color: #bfd4f2;
  box-shadow: 0 8px 24px rgba(22, 42, 70, 0.07);
}
.landing-v2-app-card img {
  width: 88px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
}
.landing-v2-app-card img.module-logo.verwaltung {
  object-fit: cover;
  object-position: center 48%;
}
.landing-v2-app-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: 0;
}
.landing-v2-app-card p {
  margin: 0;
  color: var(--ha-slate-600);
  line-height: 1.45;
}
.landing-v2-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 52px 0 72px;
  padding: 44px 40px;
  border-radius: 14px;
  background:
    linear-gradient(
      160deg,
      var(--ha-hero-2),
      var(--ha-blue-600));
  color: #fff;
}
.landing-v2-cta h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
}
.landing-v2-cta p {
  margin: 8px 0 0;
  color: #c7dcf9;
  font-size: 16px;
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1), transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@keyframes haDraw {
  from {
    stroke-dashoffset: 420;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes haPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes haFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes haUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 860px) {
  .landing-v2-hero .public-nav-dark {
    min-height: 66px;
    padding: 8px 14px;
  }
  .landing-v2-brand.brand-button {
    font-size: 18px;
  }
  .landing-v2-brand-tile {
    width: 50px;
    height: 50px;
    border-radius: 11px;
  }
  .landing-v2-brand-tile img {
    width: 42px;
    height: 42px;
  }
  .desktop-public-nav-dark {
    display: none;
  }
  .landing-v2-menu-toggle {
    display: inline-flex;
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }
  .landing-v2-mobile-nav {
    position: absolute;
    z-index: 25;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #cdd9e8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(22, 42, 70, 0.18);
  }
  .landing-v2-mobile-nav.open {
    display: grid;
    gap: 3px;
  }
  .landing-v2-mobile-nav button {
    min-height: 42px;
    display: flex;
    align-items: center;
    border: 0;
    border-radius: 6px;
    padding: 9px 11px;
    background: #fff;
    color: var(--ha-ink);
    text-align: left;
  }
  .landing-v2-mobile-nav button:hover {
    background: var(--ha-blue-tint);
  }
  .landing-v2-hero-inner {
    padding-top: 38px;
  }
  .landing-v2-hero-inner h1 {
    font-size: 54px;
  }
  .landing-v2-hero-inner > p {
    font-size: 18px;
  }
  .landing-v2-features,
  .landing-v2-apps {
    grid-template-columns: 1fr;
  }
  .landing-v2-platform-preview {
    grid-template-columns: 1fr;
  }
  .landing-v2-preview-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .landing-v2-preview-sidebar strong {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .landing-v2-hero-inner {
    gap: 20px;
    padding: 34px 18px 0;
  }
  .landing-v2-hero-inner h1 {
    font-size: 43px;
    line-height: 1.05;
  }
  .landing-v2-logo-card {
    width: 100%;
    padding: 22px 14px 18px;
    border-radius: 14px;
  }
  .landing-v2-trust {
    gap: 10px 16px;
    padding: 22px 18px 30px;
  }
  .landing-v2-fade {
    height: 160px;
  }
  .landing-v2-section-title {
    font-size: 28px;
  }
  .landing-v2-feature {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 0;
  }
  .landing-v2-feature > span {
    font-size: 24px;
  }
  .landing-v2-platform-preview {
    min-height: 330px;
    padding: 12px;
  }
  .landing-v2-preview-metrics {
    grid-template-columns: 1fr;
  }
  .landing-v2-preview-metrics span {
    height: auto;
  }
  .landing-v2-preview-metrics > div {
    min-height: 64px;
  }
  .landing-v2-preview-table-head {
    display: none;
  }
  .landing-v2-preview-row {
    grid-template-columns: 1fr auto;
    gap: 6px 10px;
  }
  .landing-v2-preview-row span:nth-child(2) {
    color: var(--ha-slate-500);
  }
  .landing-v2-preview-row strong,
  .landing-v2-preview-row em {
    justify-self: end;
  }
  .landing-v2-app-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }
  .landing-v2-app-card img {
    width: 66px;
    height: 58px;
  }
  .landing-v2-cta {
    align-items: stretch;
    margin-bottom: 48px;
    padding: 28px 22px;
  }
  .landing-v2-cta .primary-inverted {
    width: 100%;
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .landing-v2-hero *,
  .landing-v2-logo-card * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
