    .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.5);
      backdrop-filter: blur(4px);
      z-index: 100;
      align-items: center;
      justify-content: center;
    }

    .modal-overlay.open {
      display: flex
    }

    .modal {
      background: #fff;
      border-radius: 16px;
      padding: 28px;
      width: 520px;
      max-width: 95vw;
      max-height: 85vh;
      overflow-y: auto;
      box-shadow: var(--shadow-lg);
      animation: modalIn 0.2s ease;
    }

    @keyframes modalIn {
      from {
        opacity: 0;
        transform: translateY(10px) scale(0.98)
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1)
      }
    }

    .modal-title {
      font-size: 17px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      letter-spacing: -0.01em;
    }

    .close-btn {
      background: #f1f5f9;
      border: none;
      cursor: pointer;
      font-size: 16px;
      color: var(--muted);
      padding: 6px;
      width: 30px;
      height: 30px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
    }

    .close-btn:hover {
      background: #e2e8f0;
      color: var(--text)
    }

    .room-map-wrapper {
      padding: 30px;
      display: flex;
      flex-direction: column;
      align-items: center;
      background: #fafafa;
      border-radius: 20px;
      overflow: hidden;
    }

    .room-stage {
      width: 410px;
      /* Base width */
      height: 480px;
      /* Base height */
      position: relative;
      background: linear-gradient(180deg, #fbfcfe 0%, #eef2f7 100%);
      border: 3px solid #d0d5dd;
      border-radius: 18px;
      overflow: hidden;
      transform-origin: top center;
      margin: 0 auto;
    }

    .entry-tag {
      position: absolute;
      top: 0;
      left: 18px;
      background: #0f6e56;
      color: #e8fff7;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .08em;
      padding: 5px 14px;
      border-radius: 0 0 9px 9px;
      z-index: 10;
    }

    .table-block {
      position: absolute;
      background: #d6d2c4;
      border: 2px solid #8c8677;
      border-radius: 9px;
      box-shadow: inset 0 1px 3px rgba(0, 0, 0, .08);
      z-index: 1;
    }

    .partition-v {
      position: absolute;
      background: #7a7568;
      width: 3px;
      z-index: 3;
      border-radius: 2px;
    }

    .partition-h {
      position: absolute;
      background: #7a7568;
      height: 3px;
      z-index: 3;
      border-radius: 2px;
    }

    .wall-strip {
      position: absolute;
      top: 0;
      right: 0;
      width: 14px;
      height: 100%;
      background: #b8b4aa;
      border-left: 2px solid #817b70;
      z-index: 1;
    }

    .seat-box {
      position: absolute;
      width: 30px;
      height: 30px;
      border-radius: 9px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 10px;
      cursor: pointer;
      transition: all 0.18s ease;
      z-index: 5;
      box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
      border: 2px solid #4b5563;
    }

    .seat-box.free {
      background: #ffffff;
      color: #1f2937;
    }

    .seat-box.occupied {
      background: #e2e8f0;
      color: #64748b;
      border-color: #94a3b8;
    }

    .seat-box.absent {
      background: #fef3c7;
      color: #92400e;
      border-color: #fcd34d;
    }

    .seat-box:hover,
    .seat-box.selected {
      background: #378add !important;
      color: #fff !important;
      border-color: #1d5f9d !important;
      transform: translateY(-1px);
    }

    .room-map-shell {
      position: relative;
      width: 100%;
      min-height: 500px;
      border-radius: 14px;
      border: 1px solid var(--border);
      overflow: hidden;
      background: linear-gradient(180deg, #fbfdff 0%, #eef4fb 100%);
    }

    .room-map-frame {
      width: 100%;
      height: 680px;
      border: 0;
      display: block;
      background: #fff;
    }

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

    .room-map-zoom-buttons {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .room-map-zoom-btn {
      min-width: 36px;
      height: 32px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: #fff;
      color: var(--text);
      font-weight: 700;
      cursor: pointer;
      padding: 0 10px;
      font-family: inherit;
    }

    .room-map-zoom-label {
      font-size: 12px;
      color: var(--muted);
      font-weight: 600;
      min-width: 58px;
      text-align: center;
    }

    .room-map-hint {
      font-size: 12px;
      color: var(--muted);
    }

    .room-map-shell::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
      background-size: 26px 26px;
      pointer-events: none;
      z-index: 0;
    }

    .room-map-image {
      width: 100%;
      display: block;
      object-fit: contain;
      user-select: none;
      pointer-events: none;
    }

    .room-map-overlay {
      position: absolute;
      inset: 0;
      z-index: 2;
    }

    .room-layout-guide {
      position: absolute;
      border: 2px solid rgba(176, 144, 96, 0.8);
      background: rgba(205, 179, 138, 0.22);
      border-radius: 10px;
      z-index: 1;
      pointer-events: none;
    }

    .seat-pin {
      position: absolute;
      transform: translate(-50%, -50%);
      border-radius: 8px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      cursor: pointer;
      border: 2px solid #334155;
      box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
      transition: transform 0.15s ease, box-shadow 0.15s ease;
      padding: 0;
      font-family: inherit;
    }

    .seat-pin:hover {
      transform: translate(-50%, -50%) scale(1.06);
      box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
    }

    .seat-pin.free {
      background: #ffffff;
      color: #1f2937;
      border-color: #475569;
    }

    .seat-pin.booked {
      background: #2563eb;
      color: #ffffff;
      border-color: #1d4ed8;
    }

    .seat-pin.absent {
      background: #fef3c7;
      color: #92400e;
      border-color: #f59e0b;
    }

    .seat-pin.edit-mode {
      box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.32), 0 3px 10px rgba(15, 23, 42, 0.2);
    }

    .room-tab {
      padding: 8px 18px;
      border-radius: 8px;
      border: 1.5px solid var(--border);
      background: #fff;
      cursor: pointer;
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
      transition: var(--transition);
      margin-right: 6px;
      margin-bottom: 8px;
      font-family: inherit;
    }

    .room-tab.active {
      background: var(--primary-light);
      color: #fff;
      border-color: transparent;
      box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
    }

    /* Dividers removed - handled by absolute positioning */

    .progress-bar {
      height: 8px;
      background: #e2e8f0;
      border-radius: 10px;
      overflow: hidden;
      margin-top: 6px
    }

    .progress-fill {
      height: 100%;
      border-radius: 10px;
      transition: width .5s ease
    }

    .progress-fill.blue {
      background: var(--primary-light)
    }

    .progress-fill.green {
      background: var(--success)
    }

    .progress-fill.amber {
      background: var(--warn)
    }

    .progress-fill.red {
      background: var(--danger)
    }

    .revenue-bar {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
      font-size: 12px
    }

    .rev-label {
      width: 70px;
      color: var(--muted);
      font-weight: 500
    }

    .rev-track {
      flex: 1;
      height: 14px;
      background: #f1f5f9;
      border-radius: 10px;
      overflow: hidden
    }

    .rev-fill {
      height: 100%;
      border-radius: 10px;
      background: linear-gradient(90deg, var(--primary-light), #7c3aed);
      transition: width .5s
    }

    .tab-row {
      display: flex;
      border-bottom: 2px solid var(--border);
      margin-bottom: 18px;
      gap: 4px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }

    .tab-row::-webkit-scrollbar {
      height: 4px;
    }

    .tab-row::-webkit-scrollbar-thumb {
      background: var(--border);
      border-radius: 4px;
    }

    .tab {
      padding: 10px 18px;
      cursor: pointer;
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
      border-bottom: 2px solid transparent;
      margin-bottom: -2px;
      transition: var(--transition);
      font-family: inherit;
      background: none;
      border-left: none;
      border-right: none;
      border-top: none;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .tab.active {
      color: var(--primary-light);
      border-bottom-color: var(--primary-light)
    }

    .tab:hover {
      color: var(--text)
    }

    .notif {
      padding: 14px 16px;
      border-radius: 10px;
      border: 1px solid var(--border);
      margin-bottom: 8px;
      display: flex;
      gap: 12px;
      align-items: flex-start;
      transition: var(--transition);
    }

    .notif:hover {
      box-shadow: var(--shadow-sm)
    }

    .notif-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      flex-shrink: 0;
      margin-top: 5px
    }

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

    .section-title {
      font-size: 17px;
      font-weight: 700;
      color: var(--primary);
      letter-spacing: -0.02em
    }

    .divider {
      border: none;
      border-top: 1px solid var(--border);
      margin: 18px 0
    }

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

    .topper-card {
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 12px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      box-shadow: var(--shadow-sm);
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .topper-card img {
      width: 58px;
      height: 58px;
      border-radius: 12px;
      object-fit: cover;
      border: 1px solid var(--border);
      background: #e2e8f0;
      flex-shrink: 0;
    }

    .topper-stats {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 6px;
    }

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

    .countdown-ring {
      width: 120px;
      height: 120px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .countdown-ring svg {
      width: 120px;
      height: 120px;
      transform: rotate(-90deg)
    }

    .countdown-ring .ring-bg {
      fill: none;
      stroke: #e2e8f0;
      stroke-width: 8
    }

    .countdown-ring .ring-fg {
      fill: none;
      stroke-width: 8;
      stroke-linecap: round;
      transition: stroke-dashoffset 0.8s ease
    }

    .countdown-ring .ring-text {
      position: absolute;
      text-align: center;
      width: 100%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    .countdown-ring .ring-days {
      font-size: 28px;
      font-weight: 800;
      color: var(--primary);
      line-height: 1
    }

    .countdown-ring .ring-label {
      font-size: 10px;
      color: var(--muted);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .05em
    }

    .hero-card {
      background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
      border-radius: 16px;
      padding: 24px 28px;
      color: #fff;
      border: none;
      position: relative;
      overflow: hidden;
    }

    .hero-card::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -30%;
      width: 300px;
      height: 300px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.03);
    }

    .hero-card::after {
      content: '';
      position: absolute;
      bottom: -60%;
      left: 30%;
      width: 250px;
      height: 250px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.02);
    }

    .toast-container {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 999;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .toast {
      padding: 14px 20px;
      border-radius: 10px;
      color: #fff;
      font-size: 13px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: var(--shadow-lg);
      animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
      min-width: 280px;
      font-family: inherit;
    }

    .toast-success {
      background: linear-gradient(135deg, #059669, #10b981)
    }

    .toast-error {
      background: linear-gradient(135deg, #dc2626, #ef4444)
    }

    .toast-warn {
      background: linear-gradient(135deg, #d97706, #f59e0b)
    }

    .toast-info {
      background: linear-gradient(135deg, #2563eb, #3b82f6)
    }

    @keyframes toastIn {
      from {
        opacity: 0;
        transform: translateX(40px)
      }

      to {
        opacity: 1;
        transform: translateX(0)
      }
    }

    @keyframes toastOut {
      from {
        opacity: 1
      }

      to {
        opacity: 0;
        transform: translateX(40px)
      }
    }

    .plan-card {
      background: var(--card);
      border-radius: 14px;
      border: 2px solid var(--border);
      padding: 22px;
      transition: var(--transition);
      position: relative;
      overflow: hidden;
    }

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

    .subscription-plan-card {
      position: relative;
      border-radius: 14px;
      color: #fff;
      padding: 18px;
      overflow: hidden;
      min-height: 220px;
      box-shadow: var(--shadow-md);
      border: 1px solid rgba(255, 255, 255, 0.16);
    }

    .subscription-plan-name {
      font-size: 15px;
      font-weight: 800;
      letter-spacing: 0;
      margin-bottom: 8px;
    }

    .subscription-plan-price {
      font-size: 26px;
      font-weight: 900;
      line-height: 1;
      margin-bottom: 8px;
    }

    .subscription-plan-duration {
      font-size: 12px;
      font-weight: 700;
      opacity: 0.9;
      margin-bottom: 12px;
    }

    .subscription-plan-features {
      display: flex;
      flex-direction: column;
      gap: 6px;
      position: relative;
      z-index: 1;
    }

    .subscription-plan-feature {
      font-size: 12px;
      padding-left: 12px;
      position: relative;
      opacity: 0.96;
    }

    .subscription-plan-feature::before {
      content: '';
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.9);
      position: absolute;
      left: 0;
      top: 6px;
    }

    .subscription-plan-accent {
      width: 130px;
      height: 130px;
      border-radius: 50%;
      position: absolute;
      right: -40px;
      bottom: -40px;
      opacity: 0.25;
      filter: blur(1px);
    }

    .subscription-plan-edit-row {
      display: flex;
      gap: 8px;
      align-items: center;
      margin-top: 12px;
      position: relative;
      z-index: 2;
    }

    .subscription-plan-edit-row input {
      flex: 1;
      min-width: 0;
      border: 1px solid rgba(255, 255, 255, 0.42);
      background: rgba(255, 255, 255, 0.16);
      color: #fff;
      border-radius: 8px;
      padding: 7px 9px;
      font-weight: 700;
    }

    .student-identity-card {
      border-radius: 14px;
      color: #fff;
      margin-bottom: 18px;
      padding: 16px;
      box-shadow: var(--shadow-md);
      border: 1px solid rgba(255, 255, 255, 0.16);
    }

    .student-id-card-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
    }

    .student-id-title {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      opacity: 0.9;
      font-weight: 700;
    }

    .student-id-plan {
      font-size: 16px;
      font-weight: 800;
      margin-top: 3px;
    }

    .student-id-days {
      font-size: 12px;
      font-weight: 700;
      background: rgba(255, 255, 255, 0.18);
      border: 1px solid rgba(255, 255, 255, 0.24);
      border-radius: 999px;
      padding: 4px 10px;
      white-space: nowrap;
    }

    .student-id-body {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .student-id-photo {
      width: 72px;
      height: 72px;
      border-radius: 12px;
      object-fit: cover;
      border: 2px solid rgba(255, 255, 255, 0.35);
      flex-shrink: 0;
      background: rgba(255, 255, 255, 0.1);
    }

    .student-id-photo-fallback {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      font-weight: 800;
      color: #fff;
    }

    .student-id-meta {
      display: flex;
      flex-direction: column;
      gap: 3px;
      min-width: 0;
    }

    .student-id-name {
      font-size: 18px;
      font-weight: 900;
      letter-spacing: 0;
      line-height: 1.2;
    }

    .student-id-line {
      font-size: 12px;
      font-weight: 600;
      opacity: 0.95;
      word-break: break-word;
    }

    .plan-card:hover {
      border-color: var(--primary-light);
      box-shadow: var(--shadow-md);
      transform: translateY(-2px)
    }

    .plan-card.popular {
      border-color: var(--primary-light)
    }

    .plan-card.popular::before {
      content: 'Popular';
      position: absolute;
      top: 12px;
      right: -28px;
      background: var(--primary-light);
      color: #fff;
      font-size: 10px;
      font-weight: 700;
      padding: 3px 30px;
      transform: rotate(45deg);
      letter-spacing: .05em;
    }

    .alert-box {
      padding: 14px 18px;
      border-radius: 10px;
      margin-bottom: 16px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 13px;
      font-weight: 500;
    }

    .alert-warn {
      background: #fef3c7;
      color: #92400e;
      border: 1px solid #fde68a
    }

    .alert-danger {
      background: #fee2e2;
      color: #991b1b;
      border: 1px solid #fecaca
    }

    .alert-info {
      background: #dbeafe;
      color: #1e40af;
      border: 1px solid #bfdbfe
    }

    .alert-success {
      background: #d1fae5;
      color: #065f46;
      border: 1px solid #a7f3d0
    }

    .empty-state {
      text-align: center;
      padding: 48px 20px;
      color: var(--muted);
    }

    .empty-state svg {
      width: 64px;
      height: 64px;
      margin-bottom: 16px;
      opacity: 0.4
    }

    .empty-state h3 {
      font-size: 16px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 6px
    }

    .empty-state p {
      font-size: 13px
    }

    @keyframes shimmer {
      0% {
        background-position: -200px 0
      }

      100% {
        background-position: calc(200px + 100%) 0
      }
    }

    .content>* {
      animation: fadeIn 0.25s ease
    }

    body.typing-filter .content>* {
      animation: none !important;
    }

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

      to {
        opacity: 1;
        transform: translateY(0)
      }
    }

    .sidebar-nav::-webkit-scrollbar,
    .content::-webkit-scrollbar {
      width: 6px
    }

    .sidebar-nav::-webkit-scrollbar-track,
    .content::-webkit-scrollbar-track {
      background: transparent
    }

    .sidebar-nav::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 3px
    }

    .content::-webkit-scrollbar-thumb {
      background: #cbd5e1;
      border-radius: 3px
    }

