    :root {
      --bg: rgb(248 250 252);
      --ink: rgb(29 42 56);
      --surface: rgb(255 255 255);
      --mist: rgb(244 245 246);
      --muted: rgb(91 107 124);
      --line: rgb(164 171 179);
      --brand: rgb(198 59 53);
      --brand-dark: rgb(195 48 42);
      --brand-soft: rgba(198, 59, 53, 0.10);
      --pulse: rgb(164 171 179);
      --panel: rgb(255 255 255 / 0.9);
      --panel-solid: rgb(255 255 255);
      --panel-soft: rgb(255 255 255 / 0.72);
      --border: rgb(255 255 255 / 0.46);
      --good: #15803d;
      --warn: #a16207;
      --bad: rgb(195 48 42);
      --shadow: 0 22px 52px rgb(29 42 56 / 0.12);
      --panel-shadow: 0 18px 42px rgb(29 42 56 / 0.08);
      --cta: var(--brand);
      --cta-dark: var(--brand-dark);
      --accent: var(--brand);
      --hero-ink: var(--ink);
      --radius-panel: 18px;
      --radius-control: 10px;
      --page-background:
        radial-gradient(66rem 42rem at 48% -24%, rgb(198 59 53 / 0.13), transparent 58%),
        radial-gradient(78rem 76rem at -16% 34%, rgb(45 212 191 / 0.22), transparent 62%),
        radial-gradient(64rem 78rem at 112% 36%, rgb(198 59 53 / 0.09), transparent 64%),
        linear-gradient(90deg, rgb(225 246 245) 0%, rgb(240 249 248) 22%, rgb(248 250 252) 52%, rgb(249 248 244) 100%),
        linear-gradient(180deg, rgb(255 255 255) 0%, rgb(244 247 248) 100%);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
      color: var(--ink);
      background-color: var(--bg);
      background-image: var(--page-background);
      background-attachment: fixed, fixed, fixed, fixed, fixed;
      min-height: 100vh;
    }

    body.auth-locked {
      overflow: hidden;
    }

    body.auth-locked .shell {
      filter: blur(4px);
      pointer-events: none;
      user-select: none;
    }

    .login-screen {
      position: fixed;
      inset: 0;
      z-index: 60;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(17, 29, 45, 0.42);
      backdrop-filter: blur(4px);
    }

    .login-screen[hidden],
    .login-screen.is-hidden {
      display: none !important;
    }

    body:not(.auth-locked) #login-screen {
      display: none !important;
      visibility: hidden !important;
      pointer-events: none !important;
    }

    .login-card {
      width: min(520px, 100%);
      border: 1px solid var(--border);
      border-radius: 16px;
      background: var(--panel);
      padding: 18px;
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px);
      display: grid;
      gap: 10px;
    }

    .login-logo {
      margin: 0;
      font-weight: 700;
      font-size: 1.25rem;
      color: var(--brand);
    }

    .login-title {
      margin: 0;
      font-size: 1.45rem;
      line-height: 1.2;
      color: var(--ink);
    }

    .login-form {
      display: grid;
      gap: 8px;
    }

    .login-actions {
      display: grid;
      gap: 8px;
    }

    .login-inline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: .86rem;
      color: var(--muted);
    }

    .shell {
      max-width: 1460px;
      margin: 18px auto;
      padding: 0 18px 30px;
      display: grid;
      grid-template-columns: 276px minmax(0, 1fr);
      gap: 20px;
    }

    .sidebar {
      background: var(--panel);
      border: 1px solid var(--border);
      border-radius: var(--radius-panel);
      padding: 22px;
      color: var(--ink);
      box-shadow: var(--shadow);
      backdrop-filter: blur(20px);
      position: sticky;
      top: 16px;
      height: fit-content;
      animation: slideIn .45s ease;
    }

    .brand-lockup {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }

    .brand-logo {
      width: 42px;
      height: 42px;
      object-fit: contain;
      border-radius: 10px;
      background: rgba(255,255,255,.72);
      border: 1px solid var(--border);
      padding: 5px;
      box-shadow: 0 8px 22px rgba(29, 42, 56, 0.08);
    }

    .brand {
      letter-spacing: .1px;
      font-size: 1.22rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 4px;
    }

    .subtitle {
      margin: 0;
      color: var(--muted);
      font-size: .86rem;
    }

    .nav {
      display: grid;
      gap: 8px;
      margin: 18px 0 22px;
    }

    .nav button {
      width: 100%;
      border: 0;
      cursor: pointer;
      text-align: left;
      font: inherit;
      color: var(--ink);
      padding: 11px 12px;
      border-radius: var(--radius-control);
      border: 1px solid transparent;
      background: transparent;
      transition: transform .2s ease, background .2s ease, border-color .2s ease;
      position: relative;
      overflow: hidden;
    }

    .nav button::before {
      content: "";
      position: absolute;
      left: 0;
      top: 8px;
      bottom: 8px;
      width: 3px;
      border-radius: 4px;
      background: transparent;
      transition: background .2s ease;
    }

    .nav button:hover {
      transform: translateX(2px);
      background: var(--panel-soft);
      border-color: var(--border);
    }

    .nav button.active {
      background: var(--brand);
      border-color: var(--brand);
      color: #fff;
      transform: translateX(2px);
      box-shadow: 0 10px 24px rgba(198, 59, 53, 0.18);
    }

    .nav button.active::before {
      background: rgba(255,255,255,.82);
    }

    .nav-submenu {
      display: grid;
      gap: 6px;
      margin: -3px 0 2px 14px;
      padding-left: 10px;
      border-left: 1px solid var(--border);
    }

    .nav-submenu button {
      padding: 8px 10px;
      border-radius: 8px;
      font-size: .9rem;
      background: rgba(244, 245, 246, 0.58);
    }

    .nav-submenu button:disabled {
      opacity: .58;
      cursor: not-allowed;
      transform: none;
    }

    .hint {
      border: 1px solid var(--border);
      border-radius: var(--radius-control);
      padding: 12px;
      font-size: .86rem;
      color: var(--muted);
      line-height: 1.35;
      background: var(--panel-soft);
    }

    .tenant-switch {
      margin: 0 0 14px;
      padding: 10px;
      border: 1px solid var(--border);
      border-radius: var(--radius-control);
      background: var(--panel-soft);
    }

    .nav-shortcut {
      width: 100%;
      margin: 0 0 10px;
      border: 1px solid rgba(198, 59, 53, 0.34);
      border-radius: var(--radius-control);
      text-align: left;
      color: #fff;
      background: linear-gradient(138deg, var(--brand), var(--brand-dark));
      box-shadow: 0 10px 22px rgba(198, 59, 53, 0.16);
    }

    .nav-shortcut:hover {
      background: linear-gradient(138deg, var(--brand-dark), var(--brand));
    }

    .nav-shortcut.active {
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    }

    .tenant-switch label {
      display: block;
      margin-bottom: 6px;
      font-size: .83rem;
      color: var(--muted);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .tenant-switch select {
      width: 100%;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,.72);
      color: var(--ink);
      padding: 8px;
      font-family: inherit;
      margin-bottom: 6px;
    }

    .tenant-switch .small {
      color: var(--muted);
    }

    .tenant-reconnect-btn {
      width: 100%;
      margin-top: 8px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: rgba(255,255,255,.58);
      color: var(--ink);
      font-size: .84rem;
      padding: 7px 10px;
    }

    .tenant-reconnect-btn:hover {
      background: var(--brand-soft);
      border-color: rgba(198, 59, 53, 0.36);
    }

    .tenant-reconnect-btn:disabled {
      opacity: .65;
      cursor: wait;
    }

    .theme-toggle {
      width: 100%;
      margin: 0 0 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius-control);
      background: rgba(255,255,255,.58);
      color: var(--ink);
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      text-align: left;
    }

    .auth-user-chip {
      margin: 0 0 10px;
      padding: 8px 10px;
      border: 1px solid var(--border);
      border-radius: var(--radius-control);
      background: var(--panel-soft);
      color: var(--ink);
      font-size: .84rem;
    }

    .logout-btn {
      width: 100%;
      margin: 0 0 14px;
      border-radius: var(--radius-control);
      border: 1px solid rgba(220, 132, 132, 0.45);
      background: var(--brand-soft);
      color: var(--brand-dark);
      display: none;
    }

    .logout-btn:hover {
      background: rgba(214, 84, 84, 0.28);
    }

    .logout-btn.is-visible {
      display: block;
    }

    .theme-toggle:hover {
      background: rgba(255, 255, 255, 0.14);
    }

    .theme-toggle .small {
      color: var(--muted);
      font-size: .78rem;
    }

    .content {
      display: grid;
      gap: 16px;
      animation: fadeIn .55s ease;
    }

    .view {
      display: none;
      gap: 16px;
    }

    .view.is-active {
      display: grid;
      animation: fadeIn .35s ease;
    }

    .hero {
      border-radius: var(--radius-panel);
      border: 1px solid var(--border);
      background:
        radial-gradient(420px 180px at 92% -10%, rgb(198 59 53 / 0.11), transparent 65%),
        var(--panel);
      color: var(--ink);
      padding: 24px;
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px);
      position: relative;
      overflow: hidden;
    }

    .hero::after {
      content: "";
      position: absolute;
      right: -85px;
      top: -85px;
      width: 280px;
      height: 280px;
      border-radius: 50%;
      background: rgba(198, 59, 53, 0.08);
    }

    .hero h1 {
      margin: 0;
      font-size: 2.02rem;
      letter-spacing: .1px;
    }

    .hero p {
      margin: 8px 0 0;
      max-width: 70ch;
      font-size: .97rem;
      opacity: .97;
    }

    .kpi-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
    }

    .card {
      background: var(--panel);
      border: 1px solid var(--border);
      border-radius: var(--radius-panel);
      padding: 16px;
      box-shadow: var(--panel-shadow);
      backdrop-filter: blur(18px);
    }

    .collapsible-panel {
      border: 1px solid var(--border);
      border-radius: var(--radius-control);
      background: var(--panel-soft);
      overflow: hidden;
    }

    .collapsible-panel summary {
      list-style: none;
      cursor: pointer;
      padding: 10px 12px;
      font-weight: 700;
      font-size: .9rem;
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--ink);
    }

    .collapsible-panel summary::-webkit-details-marker {
      display: none;
    }

    .collapsible-panel summary::before {
      content: "▾";
      font-size: .82rem;
      transition: transform .2s ease;
    }

    .collapsible-panel:not([open]) summary::before {
      transform: rotate(-90deg);
    }

    .collapsible-panel .collapsible-content {
      padding: 0 10px 10px;
    }

    .kpi .label {
      color: var(--muted);
      font-size: .75rem;
      text-transform: uppercase;
      letter-spacing: .055em;
      font-weight: 700;
    }

    .kpi .value {
      font-size: 1.52rem;
      font-weight: 700;
      margin-top: 5px;
      letter-spacing: .1px;
    }

    .layout-two {
      display: grid;
      grid-template-columns: 1.4fr .9fr;
      gap: 14px;
    }

    #view-admin .layout-two {
      grid-template-columns: 1fr;
    }

    #view-admin .card {
      overflow-x: auto;
    }

    #view-admin .collapsible-panel .collapsible-content {
      overflow-x: auto;
    }

    #view-admin table {
      min-width: 860px;
      table-layout: fixed;
    }

    #view-admin th,
    #view-admin td {
      overflow-wrap: anywhere;
    }

    #view-admin .admin-tenants-table th:nth-child(1),
    #view-admin .admin-tenants-table th:nth-child(2),
    #view-admin .admin-tenants-table th:nth-child(4),
    #view-admin .admin-tenants-table th:nth-child(5),
    #view-admin .admin-tenants-table td:nth-child(1),
    #view-admin .admin-tenants-table td:nth-child(2),
    #view-admin .admin-tenants-table td:nth-child(4),
    #view-admin .admin-tenants-table td:nth-child(5) {
      width: 16%;
    }

    #view-admin .admin-tenants-table th:nth-child(3),
    #view-admin .admin-tenants-table td:nth-child(3) {
      width: 36%;
      min-width: 300px;
    }

    .admin-cipp-controls {
      margin-bottom: 10px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px 12px;
    }

    .admin-cipp-controls .small {
      flex: 1 1 260px;
    }

    .cipp-mapping-cell {
      display: grid;
      gap: 7px;
      min-width: 280px;
    }

    .cipp-mapping-cell select {
      min-width: 0;
    }

    .cipp-mapping-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 10px;
    }

    .score-actions {
      margin-top: 12px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .purple-knight-upload {
      margin-top: 12px;
      display: grid;
      gap: 8px;
    }

    .purple-knight-upload input[type="file"] {
      width: 100%;
      min-width: 0;
    }

    .purple-knight-archive {
      margin-top: 14px;
      display: grid;
      gap: 8px;
    }

    .purple-knight-archive h3 {
      margin: 0;
      font-size: 0.95rem;
    }

    .purple-knight-archive-list {
      display: grid;
      gap: 8px;
    }

    .purple-knight-archive-item {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 6px 10px;
      padding: 8px 0;
      border-top: 1px solid rgba(148, 163, 184, 0.18);
    }

    .section-title {
      margin: 0 0 10px;
      font-size: 1.12rem;
      font-weight: 600;
      letter-spacing: .1px;
    }

    .security-section-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
      flex-wrap: wrap;
    }

    .security-section-head .section-title {
      margin: 0;
    }

    .security-view-toggle {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .security-view-toggle button {
      padding: 6px 10px;
      border-radius: 8px;
      font-size: .8rem;
      border: 1px solid var(--border);
      background: var(--panel-soft);
      color: var(--ink);
    }

    .security-view-toggle button.active {
      background: var(--brand);
      border-color: var(--brand);
      color: #fff;
    }

    .badge {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: .025em;
    }

    .badge.good { background: rgba(21, 128, 61, 0.12); color: var(--good); }
    .badge.warn { background: rgba(161, 98, 7, 0.13); color: var(--warn); }
    .badge.bad { background: rgba(198, 59, 53, 0.12); color: var(--bad); }
    .badge.neutral { background: rgba(164, 171, 179, 0.18); color: var(--muted); }
    .badge.loop { background: rgba(164, 171, 179, 0.20); color: var(--ink); }
    .badge.upgrade { background: var(--brand); color: #ffffff; }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: .91rem;
      border-radius: 12px;
      overflow: hidden;
    }

    th, td {
      padding: 9px 8px;
      border-bottom: 1px solid rgba(164, 171, 179, 0.22);
      text-align: left;
      vertical-align: top;
    }

    th {
      color: var(--ink);
      font-weight: 700;
      background: rgba(244, 245, 246, 0.82);
    }

    .toolbar {
      display: flex;
      gap: 8px;
      margin-bottom: 10px;
      flex-wrap: wrap;
    }

    button, .btn {
      border: 0;
      cursor: pointer;
      border-radius: var(--radius-control);
      padding: 9px 12px;
      font-family: inherit;
      font-weight: 600;
      background: var(--panel-soft);
      color: var(--ink);
      border: 1px solid var(--border);
    }

    .toolbar button.active {
      background: var(--brand);
      color: white;
      border-color: var(--brand);
    }

    .btn-primary {
      background: var(--cta);
      color: white;
    }

    .btn-primary:hover {
      background: var(--cta-dark);
    }

    .progress-wrap {
      background: rgba(164, 171, 179, 0.24);
      height: 11px;
      border-radius: 99px;
      overflow: hidden;
      margin: 10px 0 6px;
    }

    .progress {
      height: 100%;
      background: linear-gradient(90deg, var(--brand), var(--brand-dark));
      width: 0;
      transition: width .5s ease;
    }

    .mini-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .small {
      font-size: .86rem;
      color: var(--muted);
    }

    .form-grid {
      display: grid;
      gap: 8px;
    }
    input, select, textarea {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: var(--radius-control);
      padding: 10px;
      font-family: inherit;
      font-size: .92rem;
      background: rgba(255,255,255,.74);
      color: var(--ink);
    }

    textarea {
      min-height: 90px;
      resize: vertical;
    }

    .matrix-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 10px;
      align-items: stretch;
    }

    .security-area-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 12px;
    }

    .security-area {
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 10px;
      background: var(--panel-soft);
    }

    .security-area h3 {
      margin: 0 0 10px;
      font-size: .98rem;
    }

    .matrix-item {
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 12px;
      background: var(--panel);
      display: flex;
      flex-direction: column;
      min-height: 230px;
      height: 100%;
      box-shadow: var(--panel-shadow);
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    }

    .matrix-item:hover {
      transform: translateY(-2px);
      border-color: rgba(198, 59, 53, 0.32);
      box-shadow: 0 12px 24px rgba(29, 42, 56, 0.10);
    }

    .matrix-item h4 {
      margin: 0;
      font-size: .97rem;
      line-height: 1.25;
      min-height: 2.5em;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .matrix-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 6px;
    }

    .matrix-description {
      margin: 0;
      min-height: 3.8em;
      line-height: 1.35;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .matrix-info-btn {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      border: 1px solid rgba(198, 59, 53, 0.24);
      background: var(--brand-soft);
      color: var(--brand-dark);
      font-size: .82rem;
      line-height: 1;
      padding: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 24px;
    }

    .matrix-info-btn:hover {
      background: rgba(198, 59, 53, 0.16);
    }

    .contract-trigger {
      background: transparent;
      padding: 0;
      color: var(--brand-dark);
      text-decoration: underline;
      text-underline-offset: 2px;
      border-radius: 4px;
    }

    .contract-trigger:hover {
      color: var(--brand);
    }

    .contract-trigger.active {
      color: var(--brand-dark);
      font-weight: 700;
    }

    .contract-panel {
      margin-top: 12px;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 12px;
      background: var(--panel-soft);
    }

    .contract-panel h3 {
      margin: 0 0 4px;
      font-size: 1rem;
    }

    .contract-grid {
      margin-top: 10px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .contract-list {
      margin: 0;
      padding-left: 18px;
      font-size: .9rem;
      display: grid;
      gap: 5px;
    }

    .matrix-meta {
      margin-top: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      padding-top: 8px;
    }

    .status-editor {
      max-width: 150px;
      padding: 6px 8px;
      font-size: .84rem;
      border-radius: 8px;
      background: rgba(255,255,255,.72);
    }

    .matrix-reference {
      margin-top: 8px;
      padding-top: 8px;
      border-top: 1px dashed var(--border);
      min-height: 2.9em;
      line-height: 1.25;
    }

    .matrix-reference.is-empty {
      visibility: hidden;
      border-top-color: transparent;
    }

    #security.security-mode-compact .matrix-item {
      min-height: 200px;
    }

    #security.security-mode-compact .matrix-description {
      min-height: 2.7em;
      -webkit-line-clamp: 2;
      line-clamp: 2;
    }

    #security.security-mode-compact .matrix-reference {
      min-height: 2.2em;
    }

    #security.security-mode-detailed .matrix-item {
      min-height: 278px;
    }

    #security.security-mode-detailed .matrix-description {
      min-height: 6.6em;
      -webkit-line-clamp: 5;
      line-clamp: 5;
    }

    #security.security-mode-detailed .matrix-reference {
      min-height: 3.3em;
    }

    .security-score-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 12px;
    }

    .progress.domain-progress {
      background: linear-gradient(90deg, #ca3c3c, #d49c26, #1f9d58);
    }

    .ranking-table td {
      vertical-align: middle;
    }

    .ranking-bar-wrap {
      width: 100%;
      max-width: 280px;
      height: 10px;
      border-radius: 99px;
      background: rgba(164, 171, 179, 0.24);
      overflow: hidden;
      margin-bottom: 4px;
    }

    .ranking-bar {
      height: 100%;
      background: linear-gradient(90deg, #ca3c3c, #d49c26, #1f9d58);
      width: 0;
      transition: width .45s ease;
    }

    .advisor-subnav {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 10px 0;
    }

    .advisor-subnav button.active {
      background: var(--brand);
      border-color: var(--brand);
      color: white;
    }

    .advisor-api {
      margin: 4px 0 10px;
      font-size: .82rem;
      color: var(--muted);
      word-break: break-all;
    }

    .advisor-list {
      margin: 0;
      padding-left: 18px;
      display: grid;
      gap: 8px;
      font-size: .9rem;
    }

    .advisor-list strong {
      display: block;
      margin-bottom: 2px;
    }

    .roadmap-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 8px;
    }

    .assessment-controls {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      margin: 10px 0;
    }

    .assessment-controls select {
      min-width: 220px;
    }

    .assessment-question {
      margin-top: 12px;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 12px;
      background: var(--panel-soft);
      display: grid;
      gap: 8px;
    }

    .assessment-question-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 8px;
    }

    .assessment-answer-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 8px;
    }

    .assessment-answer-grid button {
      padding: 8px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,.62);
      font-size: .82rem;
    }

    .assessment-answer-grid button.is-active {
      border-color: var(--brand);
      background: var(--brand);
      color: #fff;
    }

    .assessment-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
    }

    .assessment-summary {
      margin-top: 10px;
      display: grid;
      gap: 6px;
      border-top: 1px solid #e8dece;
      padding-top: 10px;
    }

    .managed-form-grid {
      margin-top: 10px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      align-items: end;
      padding: 12px;
      border: 1px solid #d2dfec;
      border-radius: 12px;
      background: #f8fbff;
      box-shadow: 0 4px 10px rgba(21, 53, 87, .05);
    }

    .managed-section-head {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
    }

    .managed-section-head .section-title {
      margin-bottom: 4px;
    }

    .managed-full-width {
      grid-column: 1 / -1;
    }

    .managed-content-editor {
      display: grid;
      gap: 12px;
    }

    .managed-content-editor[hidden] {
      display: none;
    }

    body.managed-editor-active #managed-presentation {
      display: none !important;
    }

    body.managed-editor-active #view-managed-services [data-managed-subview-panel="navigator"],
    body.managed-editor-active #managed-cart-fab,
    body.managed-editor-active #managed-cart-flyover {
      display: none !important;
    }

    .managed-content-editor-head {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
    }

    .managed-editor-form {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      align-items: end;
    }

    .managed-editor-form textarea {
      resize: vertical;
    }

    .managed-editor-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .managed-addon-unlock {
      display: grid;
      gap: 10px;
      padding: 10px 12px 12px;
      border: 1px solid #d2dfec;
      border-radius: 12px;
      background: linear-gradient(180deg, #f9fcff, #f3f8fd);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
    }

    .managed-addon-unlock-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .managed-addon-unlock-row {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
    }

    .managed-toggle-pill {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 10px;
      position: relative;
      padding: 0 14px;
      min-height: 50px;
      width: 100%;
      box-sizing: border-box;
      border: 1px solid #c9d8e8;
      border-radius: 14px;
      background: #fff;
      color: #28405a;
      font-size: .86rem;
      cursor: pointer;
      text-align: left;
      box-shadow: 0 2px 8px rgba(23, 53, 87, .05);
      transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .08s ease;
    }

    .managed-toggle-pill input {
      position: absolute;
      inset: 0;
      opacity: 0;
      margin: 0;
      cursor: pointer;
    }

    .managed-toggle-indicator {
      width: 18px;
      height: 18px;
      border-radius: 999px;
      border: 2px solid #9db4ca;
      background: linear-gradient(180deg, #fff, #eef5fb);
      flex: 0 0 auto;
      transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
    }

    .managed-toggle-text {
      font-weight: 600;
      line-height: 1.15;
      letter-spacing: -.01em;
    }

    .managed-toggle-pill:hover {
      border-color: #a6c0d7;
      box-shadow: 0 6px 16px rgba(23, 53, 87, .08);
    }

    .managed-toggle-pill:has(input:checked) {
      border-color: #5d8db6;
      background: linear-gradient(180deg, #f5fbff, #edf6ff);
      box-shadow: 0 8px 18px rgba(56, 113, 160, .14);
    }

    .managed-toggle-pill:has(input:focus-visible) {
      outline: 0;
      box-shadow: 0 0 0 3px rgba(64, 134, 195, .22);
    }

    .managed-toggle-pill:has(input:checked) .managed-toggle-indicator {
      border-color: #2b79a6;
      background: radial-gradient(circle at 50% 50%, #2b79a6 0 42%, transparent 43%);
      box-shadow: 0 0 0 3px rgba(43, 121, 166, .12);
    }

    .managed-toggle-pill:active {
      transform: translateY(1px);
    }

    .managed-template-wrap {
      display: grid;
      gap: 8px;
      margin-top: 2px;
      padding: 8px;
      border: 1px dashed #b8cfe0;
      border-radius: 10px;
      background: #f7fbff;
    }

    .managed-template-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .managed-template-chip {
      border: 1px solid #c5d8e8;
      border-radius: 8px;
      padding: 7px 8px;
      text-align: left;
      background: #fff;
      color: #28405a;
      font-size: .84rem;
      line-height: 1.36;
      cursor: pointer;
      transition: border-color .16s ease, box-shadow .16s ease;
      box-shadow: none;
    }

    .managed-template-chip:hover {
      border-color: #8fb4cf;
      box-shadow: 0 0 0 2px rgba(117, 160, 196, .14);
    }

    .managed-actions {
      grid-column: 1 / -1;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 6px;
    }

    .managed-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }

    .managed-bundle-list {
      display: grid;
      gap: 6px;
    }

    #managed-addon-list {
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 12px;
      align-items: stretch;
    }

    #managed-addon-list .managed-bundle-card {
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    #managed-addon-list .managed-bundle-body {
      display: flex;
      flex-direction: column;
      flex: 1;
      gap: 6px;
    }

    #managed-addon-list .managed-addon-qty-row {
      margin-top: auto;
      padding-top: 4px;
    }

    .managed-bundle-card {
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      background: #fbfdff;
      display: grid;
      gap: 0;
      transition: border-color .14s ease, box-shadow .16s ease;
      box-shadow: 0 2px 8px rgba(22, 52, 82, .05);
    }

    .managed-bundle-card:hover {
      border-color: #b2c8d8;
      box-shadow: 0 4px 10px rgba(16, 42, 83, .07);
    }

    .managed-bundle-card.is-locked {
      opacity: .72;
      background: #f5f8fb;
    }

    .managed-bundle-card.is-locked:hover {
      border-color: var(--border);
      box-shadow: 0 2px 8px rgba(22, 52, 82, .05);
    }

    .managed-card-hero {
      min-height: 38px;
      padding: 5px 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      color: #fff;
      background: linear-gradient(130deg, #3d5d8a, #1f3657);
    }

    .managed-card-hero-label {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.45);
      background: rgba(255, 255, 255, 0.16);
      padding: 2px 7px;
      font-size: .66rem;
      font-weight: 700;
      letter-spacing: .02em;
    }

    .managed-card-hero-icon {
      width: 36px;
      height: 28px;
      opacity: .95;
      flex: 0 0 auto;
    }

    .managed-bundle-body {
      display: grid;
      gap: 4px;
      padding: 8px;
    }

    .managed-bundle-body p {
      margin: 0;
      line-height: 1.32;
    }

    .managed-bundle-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 8px;
    }

    .managed-bundle-title {
      margin: 0;
      font-size: .86rem;
      line-height: 1.2;
    }

    .managed-bundle-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      align-items: center;
    }

    .managed-bundle-meta .badge {
      padding: 3px 8px;
      font-size: .7rem;
    }

    .managed-select-inline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: .86rem;
      color: var(--muted);
    }

    .managed-select-checkbox {
      appearance: none;
      -webkit-appearance: none;
      width: 18px;
      height: 18px;
      border-radius: 6px;
      border: 1px solid #9ab2ce;
      background: linear-gradient(160deg, #ffffff, #edf4fc);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 2px rgba(16, 42, 83, .1);
      cursor: pointer;
      display: inline-grid;
      place-content: center;
      transition: border-color .15s ease, box-shadow .15s ease, background .15s ease, transform .08s ease;
    }

    .managed-select-checkbox::before {
      content: "";
      width: 10px;
      height: 10px;
      transform: scale(0);
      transition: transform .12s ease;
      background: #fff;
      clip-path: polygon(14% 52%, 0 67%, 39% 100%, 100% 19%, 85% 4%, 37% 67%);
    }

    .managed-select-checkbox:hover {
      border-color: #678fb9;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 2px 6px rgba(31, 97, 141, .16);
    }

    .managed-select-checkbox:focus-visible {
      outline: none;
      box-shadow: 0 0 0 3px rgba(64, 134, 195, .26), inset 0 1px 0 rgba(255, 255, 255, .8);
    }

    .managed-select-checkbox:checked {
      border-color: #1e7ca4;
      background: linear-gradient(160deg, #1f94bf, #156986);
    }

    .managed-select-checkbox:checked::before {
      transform: scale(1);
    }

    .managed-select-checkbox:active {
      transform: translateY(1px);
    }

    .managed-select-controls {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
    }

    .managed-select-controls button {
      padding: 6px 9px;
      border-radius: 8px;
      font-size: .8rem;
    }

    .managed-addon-qty-row {
      display: grid;
      grid-template-columns: auto 92px 1fr;
      gap: 8px;
      align-items: center;
    }

    .managed-card-qty {
      width: 100%;
      min-width: 0;
      padding: 6px 8px;
      border-radius: 8px;
      border: 1px solid #c8d8ee;
      background: #fff;
      font-family: inherit;
    }

    .managed-card-qty:disabled {
      background: #eef3f8;
      color: #7b8a98;
      cursor: not-allowed;
    }

    .managed-cart-fab {
      position: fixed;
      right: 20px;
      bottom: 20px;
      z-index: 38;
      border-radius: 999px;
      padding: 10px 14px;
      border: 1px solid #2f6a72;
      background: linear-gradient(145deg, #1f8fa0, #185f6b);
      color: #fff;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 12px 24px rgba(16, 42, 83, 0.25);
      transform: translateY(0);
      transition: transform .16s ease, opacity .16s ease;
    }

    .managed-cart-fab[hidden] {
      display: none !important;
    }

    .managed-cart-fab:hover {
      transform: translateY(-1px);
    }

    .managed-cart-fab-count {
      min-width: 20px;
      height: 20px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 6px;
      font-size: .76rem;
      font-weight: 700;
      background: #fff;
      color: #154f58;
    }

    .managed-cart-flyover {
      position: fixed;
      inset: 0;
      z-index: 45;
      display: grid;
      grid-template-columns: 1fr min(460px, 100vw);
      pointer-events: none;
      opacity: 0;
      transition: opacity .18s ease;
    }

    .managed-cart-flyover[hidden] {
      display: none !important;
    }

    .managed-cart-flyover.is-open {
      opacity: 1;
      pointer-events: auto;
    }

    .managed-cart-backdrop {
      background: rgba(12, 22, 34, 0.38);
    }

    .managed-cart-panel {
      height: 100%;
      background: #f9fcff;
      border-left: 1px solid var(--border);
      box-shadow: -14px 0 32px rgba(16, 42, 83, 0.18);
      display: grid;
      grid-template-rows: auto 1fr auto;
      overflow: hidden;
    }

    .managed-cart-panel-head {
      padding: 14px 14px 12px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
    }

    .managed-cart-panel-body {
      overflow: auto;
      padding: 12px;
      display: grid;
      gap: 8px;
      align-content: start;
    }

    .managed-cart-panel-foot {
      border-top: 1px solid var(--border);
      padding: 10px 12px;
      display: grid;
      gap: 8px;
      background: #f3f8ff;
    }

    .managed-share-result {
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 8px;
      background: #f8fcff;
      display: grid;
      gap: 6px;
    }

    .managed-share-result-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 6px;
      align-items: center;
    }

    .managed-share-link {
      width: 100%;
      border: 1px solid #c8d8ee;
      border-radius: 8px;
      padding: 6px 8px;
      font-family: inherit;
      background: #fff;
    }

    .managed-cart-row {
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 8px 10px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 120px auto;
      gap: 8px;
      align-items: center;
      background: #fbfdff;
    }

    .managed-cart-qty {
      width: 100%;
      max-width: 120px;
      padding: 6px 8px;
      border-radius: 8px;
      border: 1px solid #c8d8ee;
      background: #fff;
      font-family: inherit;
    }

    .managed-cart-remove {
      white-space: nowrap;
      border-color: #d8b8be;
      background: #fff7f8;
      color: #7f1d2d;
    }

    .managed-cart-empty {
      border: 1px dashed var(--border);
      border-radius: 10px;
      padding: 12px;
      background: #f7fbff;
    }

    .managed-addon-placeholder {
      border: 1px dashed var(--border);
      border-radius: 10px;
      padding: 10px;
      background: #f6faff;
    }

    .managed-history-list {
      display: grid;
      gap: 8px;
    }

    .managed-history-item {
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 10px;
      background: #fbfdff;
      display: grid;
      gap: 6px;
    }

    .managed-history-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .managed-history-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .managed-history-empty {
      border: 1px dashed var(--border);
      border-radius: 10px;
      padding: 12px;
      background: #f7fbff;
    }

    .dsgvo-head,
    .dsgvo-section-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .dsgvo-status-pill {
      min-width: 128px;
      border-radius: 8px;
      padding: 10px 14px;
      font-weight: 800;
      text-align: center;
      border: 1px solid rgba(38, 56, 74, .12);
    }

    .dsgvo-status-green { background: #e6f7ef; color: var(--good); }
    .dsgvo-status-yellow { background: #fff4df; color: var(--warn); }
    .dsgvo-status-red { background: #fde8e8; color: var(--bad); }
    .dsgvo-status-gray { background: #eaf0fa; color: #3f5270; }
    .dsgvo-status-accepted { background: #eef2ff; color: #4253b8; }

    .dsgvo-profile-actions,
    .dsgvo-quick-actions,
    .dsgvo-filter-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
    }

    .dsgvo-dashboard-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 10px;
    }

    .dsgvo-workflow {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 10px;
      margin: 12px 0;
    }

    .dsgvo-workflow-step,
    .dsgvo-readiness {
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 12px;
      background: #fbfdff;
    }

    .dsgvo-workflow-step {
      display: grid;
      align-content: start;
      gap: 8px;
      text-align: left;
      min-height: 0;
      cursor: pointer;
      overflow: hidden;
    }

    .dsgvo-workflow-main {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
    }

    .dsgvo-workflow-main span,
    .dsgvo-workflow-step small {
      overflow-wrap: anywhere;
    }

    .dsgvo-workflow-main strong {
      white-space: nowrap;
    }

    .dsgvo-workflow-step small {
      line-height: 1.35;
    }

    .dsgvo-workflow-privacy_docs {
      grid-column: span 2;
    }

    @media (max-width: 760px) {
      .dsgvo-workflow-privacy_docs {
        grid-column: auto;
      }
    }

    .dsgvo-workflow-step.is-done {
      border-color: #53b16e;
    }

    .dsgvo-workflow-step.is-current {
      border-color: var(--brand);
      box-shadow: 0 0 0 3px var(--brand-soft);
    }

    .dsgvo-workflow-substeps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
      gap: 6px;
      margin-top: 4px;
    }

    .dsgvo-workflow-substep {
      display: grid;
      gap: 2px;
      padding: 7px;
      border: 1px solid rgba(91, 119, 150, .26);
      border-radius: 8px;
      background: rgba(255, 255, 255, .58);
      font-size: .78rem;
      cursor: pointer;
      overflow: hidden;
    }

    .dsgvo-workflow-substep span,
    .dsgvo-workflow-substep strong {
      overflow-wrap: anywhere;
    }

    .dsgvo-workflow-substep.is-done {
      border-color: rgba(83, 177, 110, .58);
      background: rgba(83, 177, 110, .12);
    }

    .dsgvo-readiness {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
      flex-wrap: wrap;
    }

    .dsgvo-hbdi-readiness {
      display: grid;
      gap: 8px;
      margin: 12px 0;
    }

    .dsgvo-hbdi-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      padding: 12px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: #fbfdff;
    }

    .dsgvo-hbdi-gates {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 6px;
    }

    .dsgvo-hbdi-gate {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: start;
      gap: 4px 10px;
      min-height: 0;
      padding: 9px 10px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: #fbfdff;
      color: inherit;
      text-align: left;
      cursor: pointer;
    }

    .dsgvo-hbdi-title {
      font-weight: 800;
      overflow-wrap: anywhere;
    }

    .dsgvo-hbdi-gate strong {
      white-space: nowrap;
    }

    .dsgvo-hbdi-gate small {
      grid-column: 1 / -1;
      line-height: 1.3;
    }

    .dsgvo-hbdi-gate.is-ok {
      border-color: rgba(83, 177, 110, .7);
      background: rgba(83, 177, 110, .08);
    }

    .dsgvo-hbdi-gate.is-warn {
      border-color: rgba(224, 148, 36, .7);
      background: rgba(224, 148, 36, .08);
    }

    .dsgvo-hbdi-gate.is-block {
      border-color: rgba(208, 62, 62, .7);
      background: rgba(208, 62, 62, .08);
    }

    .dsgvo-coverage-hint {
      color: #31527a;
      font-weight: 700;
    }

    .dsgvo-kpi,
    .dsgvo-summary-box,
    .dsgvo-row,
    .dsgvo-history-item {
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 12px;
      background: #fbfdff;
    }

    .dsgvo-kpi {
      display: grid;
      gap: 5px;
    }

    .dsgvo-kpi span {
      color: var(--muted);
      font-size: .82rem;
      font-weight: 700;
    }

    .dsgvo-kpi strong {
      font-size: 1.15rem;
      color: var(--ink);
    }

    .dsgvo-summary-box,
    .dsgvo-list {
      margin-top: 12px;
    }

    .dsgvo-guidance {
      border: 1px solid #c8d8ee;
      border-radius: 8px;
      padding: 12px;
      background: #f4f8ff;
      display: grid;
      gap: 8px;
    }

    .dsgvo-guidance dl {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
      gap: 8px;
      margin: 0;
    }

    .dsgvo-guidance dl div {
      border: 1px solid rgba(91, 119, 150, .2);
      border-radius: 8px;
      padding: 8px;
      background: rgba(255, 255, 255, .75);
    }

    .dsgvo-guidance dt {
      color: var(--muted);
      font-size: .78rem;
      font-weight: 800;
      margin-bottom: 3px;
    }

    .dsgvo-guidance dd {
      margin: 0;
      font-size: .9rem;
    }

    .dsgvo-scenario-assistant {
      margin-bottom: 12px;
    }

    .dsgvo-scenario-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
      gap: 8px;
    }

    .dsgvo-scenario-chip {
      display: grid;
      gap: 4px;
      text-align: left;
      min-height: 64px;
      padding: 9px 10px;
      border-radius: 8px;
      background: #fff;
    }

    .dsgvo-scenario-chip small,
    .dsgvo-origin {
      color: var(--muted);
      font-weight: 700;
    }

    .dsgvo-question-list {
      display: grid;
      gap: 10px;
      margin-top: 10px;
    }

    .dsgvo-sub-row,
    .dsgvo-derived-item {
      border: 1px solid rgba(91, 119, 150, .24);
      border-radius: 8px;
      padding: 10px;
      background: rgba(255, 255, 255, .74);
      display: grid;
      gap: 8px;
    }

    .dsgvo-progress-line {
      display: grid;
      gap: 5px;
      margin-top: 10px;
      padding: 10px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: #fbfdff;
      font-weight: 800;
      color: var(--muted);
    }

    .dsgvo-progress-line progress {
      width: 100%;
      height: 10px;
    }

    .dsgvo-form-grid,
    .dsgvo-inline-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
      gap: 10px;
    }

    .dsgvo-form-grid label,
    .dsgvo-inline-grid label {
      display: grid;
      gap: 4px;
      color: var(--muted);
      font-size: .82rem;
      font-weight: 700;
    }

    .dsgvo-form-grid input,
    .dsgvo-form-grid select,
    .dsgvo-form-grid textarea,
    .dsgvo-inline-grid input,
    .dsgvo-inline-grid select,
    .dsgvo-inline-grid textarea {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 9px 10px;
      font: inherit;
      background: #fff;
      color: var(--ink);
    }

    .dsgvo-list,
    .dsgvo-row,
    .dsgvo-history-item {
      display: grid;
      gap: 10px;
    }

    .dsgvo-row-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }

    .dsgvo-row.is-new {
      outline: 2px solid #60a5fa;
      box-shadow: 0 0 0 4px rgba(96, 165, 250, .18);
    }

    .dsgvo-quick-form {
      margin-bottom: 12px;
    }

    .dsgvo-outcome {
      margin: 4px 0 0;
      max-width: 72ch;
    }

    .dsgvo-quick-status {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .dsgvo-quick-status button {
      width: auto;
      min-height: 32px;
      padding: 6px 10px;
      border-radius: 8px;
      font-size: .85rem;
      font-weight: 800;
    }

    .dsgvo-quick-status button.active {
      background: var(--brand-soft);
      border-color: rgba(198, 59, 53, 0.42);
    }

    .dsgvo-compact-grid {
      grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    }

    .dsgvo-details {
      border: 1px dashed var(--border);
      border-radius: 8px;
      padding: 8px 10px;
      background: rgba(247, 251, 255, .7);
    }

    .dsgvo-details summary {
      cursor: pointer;
      font-weight: 800;
      color: var(--muted);
    }

    .dsgvo-details .dsgvo-inline-grid {
      margin-top: 10px;
    }

    .dsgvo-info-button {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      padding: 0;
      display: inline-grid;
      place-items: center;
      font-weight: 900;
      line-height: 1;
    }

    .dsgvo-evidence-box {
      margin-top: 12px;
      border-top: 1px solid var(--border);
      padding-top: 10px;
      display: grid;
      gap: 8px;
    }

    .dsgvo-evidence-list {
      display: grid;
      gap: 6px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .dsgvo-evidence-list li {
      display: grid;
      gap: 2px;
      padding: 8px;
      border: 1px solid rgba(91, 119, 150, .22);
      border-radius: 8px;
      background: rgba(255, 255, 255, .7);
    }

    .dsgvo-evidence-upload {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 8px;
      align-items: end;
    }

    .dsgvo-evidence-upload input,
    .dsgvo-evidence-upload select {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 8px 9px;
      font: inherit;
    }

    .dsgvo-info-panel {
      position: fixed;
      inset: 0;
      z-index: 40;
      display: flex;
      justify-content: flex-end;
      background: rgba(6, 17, 31, .35);
      padding: 18px;
    }

    .dsgvo-info-panel[hidden] {
      display: none;
    }

    .dsgvo-info-card {
      width: min(520px, 100%);
      max-height: calc(100vh - 36px);
      overflow: auto;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: #fff;
      color: var(--ink);
      padding: 18px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
      position: relative;
    }

    #dsgvo-info-close {
      position: sticky;
      top: 0;
      float: right;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      padding: 0;
      font-size: 1.3rem;
      line-height: 1;
      z-index: 1;
    }

    .dsgvo-info-section {
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid var(--border);
    }

    .dsgvo-info-section h4 {
      margin: 0 0 5px;
      font-size: .9rem;
    }

    .warn-text {
      color: var(--warn);
      font-weight: 800;
    }

    .dsgvo-row-actions {
      display: flex;
      justify-content: flex-end;
      gap: 8px;
      flex-wrap: wrap;
    }

    .danger-action {
      border-color: rgba(180, 60, 49, .42);
      background: #fff1f0;
      color: var(--bad);
    }

    .danger-action:hover {
      border-color: rgba(180, 60, 49, .7);
      background: #ffe4e2;
    }

    .dsgvo-split {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 14px;
    }

    .dsgvo-disclaimer {
      margin-top: 12px;
      padding: 10px;
      border-left: 3px solid var(--accent);
      background: rgba(180, 60, 49, .06);
    }

    .managed-section-kicker {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 3px 8px;
      border-radius: 999px;
      border: 1px solid #c2d7e6;
      background: #f2f8fd;
      color: #396082;
      font-size: .74rem;
      letter-spacing: .03em;
      text-transform: uppercase;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .managed-presentation {
      margin-top: 12px;
      border-style: dashed;
      border-width: 1px;
    }

    .managed-presentation-content {
      display: grid;
      gap: 12px;
    }

    .managed-present-cover {
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      background: #fbfdff;
    }

    .managed-present-body {
      display: grid;
      gap: 8px;
      padding: 12px;
    }

    .managed-present-section {
      border-top: 1px solid var(--border);
      padding-top: 10px;
      display: grid;
      gap: 8px;
    }

    .kanban-board {
      margin-top: 12px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 12px;
      align-items: start;
    }

    .kanban-column {
      border: 1px solid var(--border);
      border-radius: 14px;
      background: #fbfdff;
      min-height: 180px;
      padding: 10px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      min-width: 0;
      box-shadow: 0 8px 22px rgba(16, 42, 83, 0.05);
    }

    .kanban-column-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
    }

    .kanban-column-title {
      margin: 0;
      font-size: .95rem;
    }

    .kanban-list {
      display: grid;
      gap: 8px;
      min-height: 80px;
      border-radius: 10px;
      padding: 4px;
      transition: background .2s ease, outline-color .2s ease;
    }

    .kanban-list.drag-over {
      background: var(--brand-soft);
      outline: 2px dashed rgba(198, 59, 53, 0.36);
      outline-offset: -2px;
    }

    .kanban-empty {
      margin: 0;
      font-size: .84rem;
      color: var(--muted);
      padding: 8px 6px;
      border: 1px dashed var(--border);
      border-radius: 8px;
      background: var(--panel-soft);
    }

    .kanban-card {
      border: 1px solid var(--border);
      border-radius: 12px;
      background: var(--panel);
      padding: 9px;
      display: grid;
      gap: 6px;
      cursor: grab;
      min-width: 0;
      overflow: hidden;
      box-shadow: 0 6px 16px rgba(16, 42, 83, 0.06);
    }

    .kanban-card.is-dragging {
      opacity: .55;
      cursor: grabbing;
    }

    .kanban-card-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 8px;
    }

    .kanban-card-title {
      margin: 0;
      font-size: .88rem;
      line-height: 1.25;
      flex: 1 1 auto;
      min-width: 0;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .kanban-card-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .kanban-card .small {
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .roadmap-reset {
      padding: 7px 10px;
      border-radius: 8px;
      font-size: .82rem;
      border: 1px solid var(--border);
      background: var(--panel-soft);
      color: var(--ink);
    }

    .roadmap-reset:hover {
      background: var(--brand-soft);
    }

    .api-note {
      font-size: .83rem;
      background: var(--panel-soft);
      color: var(--ink);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 10px;
      overflow-x: auto;
    }

    .toast {
      position: fixed;
      right: 16px;
      bottom: 16px;
      background: var(--brand);
      color: #fff;
      padding: 10px 14px;
      border-radius: 10px;
      box-shadow: var(--shadow);
      transform: translateY(20px);
      opacity: 0;
      transition: all .25s ease;
      pointer-events: none;
      font-size: .9rem;
    }

    .info-modal {
      position: fixed;
      inset: 0;
      display: none;
      align-items: center;
      justify-content: center;
      background: rgba(16, 19, 25, 0.52);
      padding: 16px;
      z-index: 20;
    }

    .info-modal.show {
      display: flex;
    }

    .info-modal-content {
      width: min(760px, 100%);
      max-height: 85vh;
      overflow: auto;
      border-radius: 14px;
      background: #ffffff;
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      padding: 14px;
    }

    .info-modal-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 8px;
    }

    .info-modal-title {
      margin: 0;
      font-size: 1.04rem;
    }

    .info-modal-close {
      width: 30px;
      height: 30px;
      border-radius: 8px;
      padding: 0;
      background: var(--brand-soft);
      color: var(--brand-dark);
      border: 1px solid rgba(198, 59, 53, 0.24);
      font-size: 1.08rem;
      line-height: 1;
    }

    .framework-list {
      margin: 8px 0 0;
      padding-left: 18px;
      display: grid;
      gap: 6px;
      font-size: .9rem;
    }

    .toast.show {
      transform: translateY(0);
      opacity: 1;
    }

    body.dark-mode {
      --bg: rgb(13 18 27);
      --ink: rgb(248 250 252);
      --surface: rgb(24 33 43);
      --mist: rgb(20 30 40);
      --muted: rgb(196 207 217);
      --line: rgb(121 143 160);
      --brand: rgb(223 81 75);
      --brand-dark: rgb(255 118 110);
      --brand-soft: rgba(223, 81, 75, 0.14);
      --pulse: rgb(45 212 191);
      --panel: rgb(24 33 43 / 0.9);
      --panel-solid: rgb(24 33 43);
      --panel-soft: rgb(24 33 43 / 0.76);
      --border: rgb(143 166 184 / 0.24);
      --good: #86efac;
      --warn: #fde68a;
      --bad: rgb(255 118 110);
      --shadow: 0 24px 56px rgb(0 0 0 / 0.34);
      --panel-shadow: 0 18px 40px rgb(0 0 0 / 0.26);
      --page-background:
        radial-gradient(68rem 42rem at 50% -26%, rgb(223 81 75 / 0.22), transparent 58%),
        radial-gradient(76rem 78rem at -14% 36%, rgb(45 212 191 / 0.36), transparent 62%),
        radial-gradient(66rem 80rem at 112% 34%, rgb(223 81 75 / 0.11), transparent 64%),
        linear-gradient(90deg, rgb(10 52 60) 0%, rgb(13 43 51) 18%, rgb(14 22 34) 48%, rgb(17 21 30) 72%, rgb(39 34 25) 100%),
        linear-gradient(180deg, rgb(12 18 29) 0%, rgb(20 30 40) 52%, rgb(13 19 29) 100%);
    }

    body.dark-mode .sidebar {
      background: var(--panel);
      border-color: var(--border);
    }

    body.dark-mode .hero {
      background:
        radial-gradient(32rem 18rem at 88% -12%, rgb(223 81 75 / 0.16), transparent 68%),
        radial-gradient(40rem 24rem at -8% 0%, rgb(45 212 191 / 0.10), transparent 70%),
        linear-gradient(135deg, rgb(24 33 43 / 0.92), rgb(19 28 38 / 0.88));
      border-color: rgb(143 166 184 / 0.2);
      box-shadow: 0 22px 48px rgb(0 0 0 / 0.3);
    }

    body.dark-mode .hero::after {
      background: rgb(223 81 75 / 0.07);
    }

    body.dark-mode .brand-logo {
      background: rgba(255,255,255,.08);
      border-color: var(--border);
    }

    body.dark-mode .brand,
    body.dark-mode .subtitle,
    body.dark-mode .nav button,
    body.dark-mode .tenant-switch label,
    body.dark-mode .theme-toggle,
    body.dark-mode .auth-user-chip {
      color: var(--ink);
    }

    body.dark-mode .subtitle,
    body.dark-mode .tenant-switch .small,
    body.dark-mode .theme-toggle .small,
    body.dark-mode .hint {
      color: var(--muted);
    }

    body.dark-mode .nav button.active {
      background: var(--brand);
      border-color: var(--brand);
      color: #fff;
    }

    body.dark-mode .card,
    body.dark-mode .security-area,
    body.dark-mode .matrix-item,
    body.dark-mode .contract-panel,
    body.dark-mode .info-modal-content {
      background: var(--panel);
      border-color: var(--border);
    }

    body.dark-mode .matrix-reference {
      border-top-color: #324a6d;
    }

    body.dark-mode th,
    body.dark-mode td {
      border-bottom-color: #2b3f5d;
    }

    body.dark-mode th {
      background: rgba(35, 48, 60, 0.86);
      color: var(--ink);
    }

    body.dark-mode button,
    body.dark-mode .btn {
      background: var(--panel-soft);
      color: var(--ink);
      border-color: var(--border);
    }

    body.dark-mode .btn-primary {
      background: var(--brand);
      color: #fff;
    }

    body.dark-mode .btn-primary:hover {
      background: var(--brand-dark);
    }

    body.dark-mode .toolbar button.active,
    body.dark-mode .advisor-subnav button.active {
      background: var(--brand);
      color: #fff;
      border-color: var(--brand);
    }

    body.dark-mode .progress-wrap {
      background: #22334c;
    }

    body.dark-mode .ranking-bar-wrap {
      background: #22334c;
    }

    body.dark-mode .nav-shortcut {
      background: linear-gradient(138deg, var(--brand), var(--brand-dark));
      border-color: rgba(223, 81, 75, 0.42);
    }

    body.dark-mode input,
    body.dark-mode select,
    body.dark-mode textarea {
      background: rgba(24, 33, 43, 0.78);
      border-color: var(--border);
      color: var(--ink);
    }

    body.dark-mode .status-editor {
      background: rgba(24, 33, 43, 0.78);
      border-color: var(--border);
    }

    body.dark-mode .security-view-toggle button {
      background: var(--panel-soft);
      border-color: var(--border);
      color: var(--ink);
    }

    body.dark-mode .security-view-toggle button.active {
      background: var(--brand);
      border-color: var(--brand);
      color: #fff;
    }

    body.dark-mode .matrix-info-btn {
      border-color: rgba(223, 81, 75, 0.28);
      background: var(--brand-soft);
      color: var(--brand-dark);
    }

    body.dark-mode .matrix-info-btn:hover {
      background: rgba(223, 81, 75, 0.22);
    }

    body.dark-mode .matrix-item:hover {
      border-color: rgba(223, 81, 75, 0.38);
      box-shadow: 0 12px 26px rgba(2, 9, 18, 0.34);
    }

    body.dark-mode .contract-trigger {
      color: var(--brand-dark);
    }

    body.dark-mode .contract-trigger:hover {
      color: var(--brand);
    }

    body.dark-mode .badge.neutral {
      background: rgba(121, 143, 160, 0.18);
      color: var(--muted);
    }

    body.dark-mode .badge.loop {
      background: rgba(45, 212, 191, 0.12);
      color: var(--pulse);
    }

    body.dark-mode .badge.upgrade {
      background: var(--brand);
      color: #f2f7ff;
    }

    body.dark-mode .api-note {
      background: #0d213f;
      color: #dce7f7;
      border: 1px solid #2a4264;
    }

    body.dark-mode .kanban-column,
    body.dark-mode .kanban-card {
      background: var(--panel);
      border-color: var(--border);
    }

    body.dark-mode .assessment-question {
      background: var(--panel);
      border-color: var(--border);
    }

    body.dark-mode .assessment-summary {
      border-top-color: #324a6d;
    }

    body.dark-mode .assessment-answer-grid button {
      background: var(--panel-soft);
      border-color: var(--border);
      color: var(--ink);
    }

    body.dark-mode .assessment-answer-grid button.is-active {
      background: var(--brand);
      border-color: var(--brand);
      color: #fff;
    }

    body.dark-mode .managed-bundle-card,
    body.dark-mode .managed-present-cover {
      background: #212f45;
      border-color: #465b7c;
    }

    body.dark-mode .managed-form-grid {
      border-color: #425a78;
      background: #1d2d44;
      box-shadow: 0 6px 14px rgba(3, 10, 19, .26);
    }

    body.dark-mode .managed-template-wrap {
      border-color: #4b6684;
      background: rgba(23, 36, 55, .82);
    }

    body.dark-mode .managed-addon-unlock {
      border-color: #425a78;
      background: linear-gradient(180deg, rgba(28, 43, 64, .96), rgba(22, 34, 52, .96));
    }

    body.dark-mode .managed-toggle-pill {
      border-color: #4c6889;
      background: #1a2c44;
      color: #e0ebf9;
      box-shadow: 0 2px 8px rgba(2, 9, 18, .2);
    }

    body.dark-mode .managed-toggle-indicator {
      border-color: #6d87a3;
      background: linear-gradient(180deg, #213651, #1a2c44);
    }

    body.dark-mode .managed-toggle-pill:hover {
      border-color: #6b8db1;
      box-shadow: 0 8px 18px rgba(2, 9, 18, .28);
    }

    body.dark-mode .managed-toggle-pill:has(input:checked) {
      border-color: #78a9d1;
      background: linear-gradient(180deg, #223c5a, #1d344e);
      box-shadow: 0 10px 20px rgba(17, 43, 74, .34);
    }

    body.dark-mode .managed-toggle-pill:has(input:checked) .managed-toggle-indicator {
      border-color: #8fc0e6;
      background: radial-gradient(circle at 50% 50%, #8fc0e6 0 42%, transparent 43%);
      box-shadow: 0 0 0 3px rgba(143, 192, 230, .12);
    }

    body.dark-mode .managed-template-chip {
      border-color: #4c6889;
      background: #1a2c44;
      color: #e0ebf9;
      box-shadow: none;
    }

    body.dark-mode .managed-template-chip:hover {
      border-color: #6f93b8;
      box-shadow: 0 0 0 2px rgba(111, 147, 184, .2);
    }

    body.dark-mode .managed-section-kicker {
      border-color: #4e6a88;
      background: #17283f;
      color: #b8cdea;
    }

    body.dark-mode .managed-cart-fab {
      border-color: #4e7ca0;
      background: linear-gradient(145deg, #315f85, #274a66);
      color: #ecf4ff;
    }

    body.dark-mode .managed-cart-fab-count {
      background: #e8f0fa;
      color: #1a3550;
    }

    body.dark-mode .managed-cart-backdrop {
      background: rgba(4, 9, 16, 0.58);
    }

    body.dark-mode .managed-cart-panel {
      background: #1c2b40;
      border-left-color: #465b7c;
    }

    body.dark-mode .managed-cart-panel-head {
      border-bottom-color: #465b7c;
    }

    body.dark-mode .managed-cart-panel-foot {
      border-top-color: #465b7c;
      background: #162338;
    }

    body.dark-mode .managed-card-qty {
      border-color: #4c6889;
      background: #16263a;
      color: #e0ebf9;
    }

    body.dark-mode .managed-card-qty:disabled {
      background: #1d2b3d;
      color: #8fa4bf;
    }

    body.dark-mode .managed-bundle-card.is-locked {
      background: #1b2738;
    }

    body.dark-mode .managed-share-result {
      background: #16253b;
      border-color: #465b7c;
    }

    body.dark-mode .managed-share-link {
      background: #101b2d;
      border-color: #355079;
      color: #e8eef9;
    }

    body.dark-mode .managed-cart-row {
      background: #212f45;
      border-color: #465b7c;
    }

    body.dark-mode .managed-cart-qty {
      background: #101b2d;
      border-color: #355079;
      color: #e8eef9;
    }

    body.dark-mode .managed-cart-empty {
      background: #16253b;
      border-color: #465b7c;
    }

    body.dark-mode .managed-present-section {
      border-top-color: #465b7c;
    }

    body.dark-mode .managed-addon-placeholder {
      background: #16253b;
      border-color: #465b7c;
    }

    body.dark-mode .managed-history-item {
      background: #212f45;
      border-color: #465b7c;
    }

    body.dark-mode .managed-history-empty {
      background: #16253b;
      border-color: #465b7c;
    }

    body.dark-mode .dsgvo-kpi,
    body.dark-mode .dsgvo-summary-box,
    body.dark-mode .dsgvo-workflow-step,
    body.dark-mode .dsgvo-readiness,
    body.dark-mode .dsgvo-hbdi-head,
    body.dark-mode .dsgvo-hbdi-gate,
    body.dark-mode .dsgvo-row,
    body.dark-mode .dsgvo-history-item,
    body.dark-mode .dsgvo-guidance,
    body.dark-mode .dsgvo-sub-row,
    body.dark-mode .dsgvo-progress-line {
      background: #212f45;
      border-color: #465b7c;
    }

    body.dark-mode .dsgvo-guidance dl div,
    body.dark-mode .dsgvo-scenario-chip,
    body.dark-mode .dsgvo-derived-item,
    body.dark-mode .dsgvo-workflow-substep {
      background: #16253b;
      border-color: #465b7c;
    }

    body.dark-mode .dsgvo-coverage-hint {
      color: #b8d4ff;
    }

    body.dark-mode .dsgvo-hbdi-gate.is-ok {
      background: rgba(83, 177, 110, .14);
    }

    body.dark-mode .dsgvo-hbdi-gate.is-warn {
      background: rgba(224, 148, 36, .14);
    }

    body.dark-mode .dsgvo-hbdi-gate.is-block {
      background: rgba(208, 62, 62, .14);
    }

    body.dark-mode .danger-action {
      background: #3a1d22;
      border-color: #8b3a43;
      color: #ffc7c7;
    }

    body.dark-mode .dsgvo-form-grid input,
    body.dark-mode .dsgvo-form-grid select,
    body.dark-mode .dsgvo-form-grid textarea,
    body.dark-mode .dsgvo-inline-grid input,
    body.dark-mode .dsgvo-inline-grid select,
    body.dark-mode .dsgvo-inline-grid textarea {
      background: #16253b;
      border-color: #465b7c;
      color: var(--ink);
    }

    body.dark-mode .dsgvo-details {
      background: #16253b;
      border-color: #465b7c;
    }

    body.dark-mode .dsgvo-info-card {
      background: #172439;
      color: #f3f7ff;
      border-color: rgba(148, 163, 184, .34);
    }

    body.dark-mode .dsgvo-evidence-list li {
      background: rgba(15, 23, 42, .42);
      border-color: rgba(148, 163, 184, .28);
    }

    body.dark-mode .dsgvo-evidence-upload input,
    body.dark-mode .dsgvo-evidence-upload select {
      background: #0f172a;
      color: #f8fafc;
      border-color: rgba(148, 163, 184, .32);
    }

    body.dark-mode .kanban-empty {
      background: #132339;
      border-color: #36547c;
    }

    body.dark-mode .kanban-list.drag-over {
      background: #1a2f4c;
      outline-color: #77a8ea;
    }

    body.dark-mode .roadmap-reset {
      background: #1a2d49;
      border-color: #355079;
      color: #dfe7f6;
    }

    body.dark-mode .roadmap-reset:hover {
      background: #253d61;
    }

    body.dark-mode .info-modal {
      background: rgba(0, 0, 0, 0.58);
    }

    body.dark-mode .info-modal-close {
      background: #1a2f4d;
      border-color: #355079;
      color: #dce7f8;
    }

    body.dark-mode .collapsible-panel {
      border-color: var(--border);
      background: #16253b;
    }

    body.dark-mode .collapsible-panel summary {
      color: #dce7f8;
    }

    .security-technical-controls {
      display: grid;
      grid-template-columns: auto minmax(180px, 1fr) auto minmax(180px, 260px) auto;
      gap: 10px;
      align-items: center;
      margin: 12px 0;
    }

    .security-technical-toggle {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
    }

    .security-technical-table-wrap {
      overflow-x: auto;
      margin-top: 10px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: var(--panel);
    }

    .security-technical-table {
      width: max-content;
      min-width: 100%;
      margin: 0;
      table-layout: auto;
    }

    .security-technical-table th,
    .security-technical-table td {
      vertical-align: middle;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: background .16s ease, box-shadow .16s ease;
    }

    .security-technical-table th.security-sortable {
      cursor: pointer;
      user-select: none;
    }

    .security-technical-table th.security-sortable:hover {
      background: var(--brand-soft);
    }

    .security-sort-indicator {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-left: 5px;
      color: var(--muted);
      font-size: .72rem;
      line-height: 1;
    }

    .security-sort-indicator.is-active {
      color: var(--brand-dark);
      font-weight: 800;
    }

    .security-technical-table .security-col-customer {
      position: sticky;
      left: 0;
      z-index: 2;
      background: var(--panel-solid, var(--panel));
      min-width: 260px;
      width: 260px;
      max-width: 260px;
      white-space: normal;
      overflow-wrap: anywhere;
    }

    .security-technical-table thead .security-col-customer {
      z-index: 3;
    }

    .security-technical-table tbody tr.is-row-target > td {
      background: rgba(198, 59, 53, 0.055);
    }

    .security-technical-table tbody tr.is-row-target .security-col-customer {
      background: linear-gradient(90deg, rgba(198, 59, 53, 0.12), var(--panel-solid, var(--panel)) 78%);
      box-shadow: inset 3px 0 0 var(--brand), 10px 0 16px rgba(29, 42, 56, 0.06);
    }

    .security-technical-table .is-column-target {
      background: rgba(198, 59, 53, 0.075);
      box-shadow: inset 1px 0 0 rgba(198, 59, 53, 0.28), inset -1px 0 0 rgba(198, 59, 53, 0.28);
    }

    .security-technical-table thead .is-column-target {
      background: rgba(198, 59, 53, 0.16);
      color: var(--brand-dark);
    }

    .security-technical-table tbody tr.is-row-target .is-column-target {
      background: rgba(198, 59, 53, 0.14);
      box-shadow: inset 0 0 0 2px rgba(198, 59, 53, 0.30);
    }

    .security-col-favorite {
      width: 76px;
      min-width: 76px;
      text-align: center;
    }

    .security-col-risk {
      width: 128px;
      min-width: 128px;
    }

    .security-col-score {
      width: 96px;
      min-width: 96px;
      text-align: center;
    }

    .security-measure-col {
      width: 66px;
      min-width: 66px;
      max-width: 66px;
      height: 170px;
      padding: 8px 4px;
      vertical-align: bottom;
      text-align: center;
      white-space: normal;
    }

    .security-measure-col span {
      display: inline-block;
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      max-height: 150px;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.15;
      font-size: .76rem;
    }

    .security-measure-col .security-sort-indicator {
      margin: 4px 0 0;
      width: 100%;
    }

    .security-status-cell {
      text-align: center;
      width: 66px;
      min-width: 66px;
      max-width: 66px;
      cursor: crosshair;
    }

    .security-favorite-btn {
      border: 1px solid var(--border);
      background: transparent;
      color: var(--muted);
      border-radius: 8px;
      min-width: 34px;
      min-height: 30px;
      cursor: pointer;
    }

    .security-favorite-btn.is-active {
      color: #b7791f;
      border-color: #d69e2e;
      background: #fff8e1;
    }

    .security-share-actions {
      display: grid;
      gap: 10px;
      margin: 10px 0 14px;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes slideIn {
      from { opacity: 0; transform: translateX(-8px); }
      to { opacity: 1; transform: translateX(0); }
    }

    @media (max-width: 1080px) {
      .shell {
        grid-template-columns: 1fr;
      }
      .sidebar {
        position: static;
      }
      .kpi-grid, .layout-two {
        grid-template-columns: 1fr;
      }
      .security-score-grid {
        grid-template-columns: 1fr;
      }
      .mini-grid {
        grid-template-columns: 1fr 1fr;
      }
      .kanban-board { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
      .managed-form-grid { grid-template-columns: 1fr; }
      .managed-section-head { display: grid; }
      .managed-content-editor-head { display: grid; }
      .managed-editor-form { grid-template-columns: 1fr; }
      .managed-template-grid { grid-template-columns: 1fr; }
      .managed-grid { grid-template-columns: 1fr; }
      .dsgvo-split { grid-template-columns: 1fr; }
      .managed-cart-row { grid-template-columns: 1fr; }
      .managed-cart-flyover { grid-template-columns: 1fr; }
      .managed-cart-panel { width: 100vw; }
      .security-technical-controls { grid-template-columns: 1fr; }
    }

    @media (min-width: 1260px) {
      #view-security .security-area-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }

    @media (max-width: 620px) {
      .hero h1 { font-size: 1.56rem; }
      .mini-grid { grid-template-columns: 1fr; }
      .contract-grid { grid-template-columns: 1fr; }
      .kanban-board { grid-template-columns: 1fr; }
      .assessment-answer-grid { grid-template-columns: 1fr 1fr; }
      .managed-actions { flex-direction: column; }
    }
