/* Shared dashboard and registration module cards. */
    .tenant-dashboard-module-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      text-align: center;
      color: inherit;
      text-decoration: none;
      position: relative;
      z-index: 3;
      pointer-events: auto;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }
    .tenant-dashboard-module-card.is-disabled {
      pointer-events: none;
      opacity: .64;
    }
    .tenant-dashboard-module-tile {
      width: 82px;
      height: 82px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(255,255,255,0.78);
      background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.92),
        0 10px 20px rgba(6, 18, 46, 0.24);
      transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
    }
    .tenant-dashboard-module-card:hover .tenant-dashboard-module-tile {
      transform: translateY(-4px);
      border-color: color-mix(in srgb, var(--module-icon-color, #2563eb) 26%, #dbe7ff);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.96),
        0 14px 26px rgba(6, 18, 46, 0.30);
    }
    .tenant-dashboard-module-card:focus-visible {
      outline: 2px solid rgba(255,255,255,0.9);
      outline-offset: 6px;
      border-radius: 14px;
    }
    .tenant-dashboard-module-icon {
      width: 51px;
      height: 51px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.3;
      stroke-linecap: round;
      stroke-linejoin: round;
      color: var(--module-icon-color, #2563eb);
    }
    .tenant-dashboard-module-icon-image {
      width: 56px;
      height: 56px;
      object-fit: contain;
      display: block;
      filter: drop-shadow(0 1px 0 rgba(255,255,255,0.35));
    }
    .tenant-dashboard-module-name {
      max-width: 120px;
      font-size: 15px;
      font-weight: 700;
      line-height: 1.15;
      text-wrap: balance;
    }
    body[data-ui-theme="midnight"] .tenant-dashboard-module-tile {
      border: 1px solid rgba(158, 189, 244, 0.34);
      background:
        linear-gradient(180deg, rgba(161, 190, 246, 0.14) 0%, rgba(120, 153, 220, 0.08) 100%);
      box-shadow:
        inset 0 1px 0 rgba(208, 225, 255, 0.24),
        0 12px 24px rgba(1, 8, 24, 0.36);
      backdrop-filter: blur(7px);
    }
    body[data-ui-theme="midnight"] .tenant-dashboard-module-card:hover .tenant-dashboard-module-tile {
      border-color: rgba(176, 204, 255, 0.56);
      box-shadow:
        inset 0 1px 0 rgba(220, 234, 255, 0.34),
        0 16px 28px rgba(1, 8, 24, 0.44);
    }
    body[data-ui-theme="midnight"] .tenant-dashboard-module-icon-image {
      filter: drop-shadow(0 2px 10px rgba(13, 29, 63, 0.42));
    }
    .tone-cyan .tenant-dashboard-module-tile { --module-icon-color: #0ea5e9; }
    .tone-slate .tenant-dashboard-module-tile { --module-icon-color: #6366f1; }
    .tone-emerald .tenant-dashboard-module-tile { --module-icon-color: #10b981; }
    .tone-steel .tenant-dashboard-module-tile { --module-icon-color: #3b82f6; }
    .tone-sand .tenant-dashboard-module-tile { --module-icon-color: #f59e0b; }

.bkit-module-card.is-selectable { cursor: pointer; color: var(--bkit-color-text, #132238); padding: 10px 4px; border-radius: 12px; gap: 10px; }
.bkit-module-card.is-selectable .tenant-dashboard-module-tile { position: relative; border: 1px solid #e2e8f0; box-shadow: 0 5px 16px rgba(15,35,69,.08); }
.bkit-module-card.is-selectable > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bkit-module-card.is-selectable:has(input:focus-visible) { outline: 2px solid var(--bkit-color-primary, #4f46e5); outline-offset: 3px; }
.bkit-module-card.is-selectable:has(input:checked) .tenant-dashboard-module-tile { border-color: var(--bkit-color-primary, #4f46e5); box-shadow: 0 0 0 1px var(--bkit-color-primary, #4f46e5); background: #f3f1ff; }
.bkit-module-card.is-selectable .tenant-dashboard-module-name { font-size: 13px; line-height: 1.3; min-height: 34px; }
.bkit-module-selection-mark { display: none; position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--bkit-color-primary, #4f46e5); color: #fff; box-shadow: 0 0 0 2px #fff; place-items: center; }
.bkit-module-selection-mark svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bkit-module-selection-mark .bkit-module-required-mark { display: none; }
.bkit-module-card:has(input:checked) .bkit-module-selection-mark { display: grid; }
.bkit-module-card.is-selectable:has(input:disabled) { cursor: default; }
.bkit-module-card.is-selectable:has(input:disabled) .tenant-dashboard-module-tile { border-color: #94a3b8; box-shadow: 0 0 0 1px #94a3b8; background: #f1f5f9; transform: none; }
.bkit-module-card:has(input:disabled) .bkit-module-selection-mark { background: #64748b; }
.bkit-module-card:has(input:disabled) .bkit-module-selected-mark { display: none; }
.bkit-module-card:has(input:disabled) .bkit-module-required-mark { display: block; }
@media (prefers-reduced-motion: reduce) { .bkit-module-card * { transition: none !important; } }
