    /* ── Notification Badge ── */
    .nav-item, .bottom-nav-item { position: relative; }
    .notification-badge {
      position: absolute;
      top: 4px;
      right: 4px;
      background: #EF4444;
      color: #fff;
      border-radius: 999px;
      font-size: 10px;
      font-weight: 700;
      min-width: 18px;
      height: 18px;
      line-height: 18px;
      text-align: center;
      padding: 0 5px;
      pointer-events: none;
      box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    }
    .bottom-nav-item .notification-badge {
      top: 0px;
      right: 50%;
      transform: translateX(18px);
    }

    /* ── Inputs ── */
    .t-input {
      width: 100%; padding: 14px 16px; font-size: 14px; font-family: inherit;
      background: #EDF0F4; border: 1.5px solid transparent; border-radius: var(--radius-md);
      color: var(--text-primary); outline: none; transition: border-color 0.2s var(--ease);
    }
    .t-input:focus { border-color: var(--accent); }
    .t-input::placeholder { color: #94A3B8; }
    .input-group { margin-bottom: 16px; }
    .input-group label {
      display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary);
      margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em;
    }

    /* ── Buttons ── */
    .btn-primary {
      width: 100%; padding: 14px 24px; font-size: 14px; font-weight: 700;
      font-family: inherit; background: var(--accent); color: #fff;
      border: none; border-radius: 16px; cursor: pointer; text-transform: uppercase;
      letter-spacing: 0.06em; transition: all 0.2s var(--ease);
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    }
    .btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
    .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

    .btn-secondary {
      padding: 10px 20px; font-size: 13px; font-weight: 600; font-family: inherit;
      background: #EDF0F4; color: var(--text-primary); border: 1.5px solid var(--border-subtle);
      border-radius: var(--radius-md); cursor: pointer; transition: all 0.2s var(--ease);
      display: inline-flex; align-items: center; gap: 6px;
    }
    .btn-secondary:hover { background: var(--bg-surface-hover); border-color: var(--border-hover); }

    .btn-danger {
      padding: 10px 20px; font-size: 13px; font-weight: 600; font-family: inherit;
      background: transparent; color: #DC2626; border: 1.5px solid #FCA5A5;
      border-radius: var(--radius-md); cursor: pointer; transition: all 0.2s var(--ease);
      display: inline-flex; align-items: center; gap: 6px;
    }
    .btn-danger:hover { background: #FEE2E2; border-color: #DC2626; }

    .btn-sm { padding: 8px 14px; font-size: 12px; }
    .btn-approve { background: #059669; color: #fff; border: none; padding: 8px 16px; font-size: 12px; font-weight: 600; font-family: inherit; border-radius: var(--radius-sm); cursor: pointer; }
    .btn-approve:hover { background: #047857; }
    .btn-reject { background: transparent; color: #DC2626; border: 1.5px solid #FCA5A5; padding: 8px 16px; font-size: 12px; font-weight: 600; font-family: inherit; border-radius: var(--radius-sm); cursor: pointer; }
    .btn-reject:hover { background: #FEE2E2; }

    /* ── Cards ── */
    .card {
      background: var(--bg-surface); border: 1px solid var(--border-subtle);
      border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
      padding: 28px; transition: box-shadow 0.2s var(--ease);
    }
    .card:hover { box-shadow: var(--shadow-md); }
    .card-title {
      font-size: 11px; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px;
    }

    /* ── Avatar ── */
    .avatar {
      display: flex; align-items: center; justify-content: center;
      border-radius: 50%; font-weight: 700; color: #fff; flex-shrink: 0;
      background: linear-gradient(135deg, var(--accent), var(--accent-light));
      overflow: hidden;
    }
    .avatar img { width: 100%; height: 100%; object-fit: cover; }
    .avatar-sm { width: 40px; height: 40px; font-size: 14px; }
    .avatar-md { width: 56px; height: 56px; font-size: 18px; }
    .avatar-lg { width: 96px; height: 96px; font-size: 32px; }

    /* ── Role Badge ── */
    .badge {
      display: inline-flex; align-items: center; padding: 4px 12px;
      border-radius: 999px; font-size: 11px; font-weight: 600;
      letter-spacing: 0.03em;
    }
    .badge-owner { background: var(--pastel-amber); color: #92400E; }
    .badge-adult { background: var(--pastel-blue); color: #1E40AF; }
    .badge-youth { background: var(--pastel-green); color: #065F46; }
    .badge-pending { background: #FEF3C7; color: #92400E; }

    /* ── Toggle Switch ── */
    .toggle-wrap { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border-subtle); }
    .toggle-wrap:last-child { border-bottom: none; }
    .toggle-label { font-size: 14px; color: var(--text-primary); }
    .toggle {
      position: relative; width: 48px; height: 28px; cursor: pointer;
      background: #CBD5E1; border-radius: 14px; border: none;
      transition: background 0.2s var(--ease); flex-shrink: 0;
    }
    .toggle::after {
      content: ''; position: absolute; top: 3px; left: 3px;
      width: 22px; height: 22px; border-radius: 50%; background: #fff;
      box-shadow: 0 1px 3px rgba(0,0,0,0.15); transition: transform 0.2s var(--ease);
    }
    .toggle.active { background: var(--accent); }
    .toggle.active::after { transform: translateX(20px); }

    /* ── App-style Section Label ── */
    .section-label {
      font-size: 11px; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.1em; color: #94A3B8; margin-bottom: 12px;
      padding-left: 4px;
    }

    /* ── List Card (white card containing list items) ── */
    .list-card {
      background: var(--bg-surface); border-radius: var(--radius-xl);
      box-shadow: var(--shadow-sm); overflow: hidden;
    }

    /* ── List Item row ── */
    .list-item {
      display: flex; align-items: center; gap: 14px; padding: 14px 18px;
      border-bottom: 1px solid var(--border-subtle); cursor: pointer;
      transition: background 0.15s var(--ease);
    }
    .list-item:last-child { border-bottom: none; }
    .list-item:hover { background: var(--bg-surface-hover); }
    .list-item-icon {
      width: 48px; height: 48px; border-radius: 14px; display: flex;
      align-items: center; justify-content: center; flex-shrink: 0;
    }
    .list-item-icon svg { width: 22px; height: 22px; }
    .list-item-content { flex: 1; min-width: 0; }
    .list-item-title { font-size: 15px; font-weight: 600; color: var(--text-primary); }
    .list-item-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 1px; }
    .list-item-chevron {
      color: #CBD5E1; flex-shrink: 0; width: 20px; height: 20px;
    }
    .list-item-action { flex-shrink: 0; }

    /* ── Dark Gradient Header Card ── */
    .gradient-header {
      background: linear-gradient(135deg, #0D2B3E, #1A4A6E, #0D2B3E);
      border-radius: 20px; padding: 28px 24px;
      text-align: center; margin-bottom: 24px; position: relative; overflow: hidden;
      box-shadow: 0 8px 20px rgba(13,43,62,0.4);
    }
    .gradient-header::before {
      content: ''; position: absolute; top: -40px; right: -40px;
      width: 160px; height: 160px; border-radius: 50%;
      background: rgba(255,255,255,0.04);
    }
    .gradient-header-icon {
      width: 48px; height: 48px; border-radius: 14px; display: inline-flex;
      align-items: center; justify-content: center; margin-bottom: 12px;
      background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }
    .gradient-header-icon svg { width: 24px; height: 24px; color: #fff; }
    .gradient-header h3 {
      font-size: 18px; font-weight: 700; color: #FFFFFF; margin-bottom: 4px;
    }
    .gradient-header p {
      font-size: 14px; color: rgba(255,255,255,0.6); margin: 0;
    }
    .gradient-header .invite-code-display {
      display: inline-flex; align-items: center; gap: 12px;
      margin-top: 16px; padding: 10px 20px; border-radius: 12px;
      background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
    }
    .gradient-header .invite-code-display span {
      font-size: 22px; font-weight: 800; letter-spacing: 0.15em;
      color: #FFFFFF; font-family: 'Courier New', monospace;
    }
    .gradient-header .invite-code-display button {
      padding: 6px 14px; font-size: 12px; font-weight: 600; font-family: inherit;
      background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.2);
      border-radius: 8px; cursor: pointer; transition: background 0.15s;
    }
    .gradient-header .invite-code-display button:hover { background: rgba(255,255,255,0.25); }

    /* ── Avatar with edit overlay ── */
    .avatar-edit-wrap { position: relative; display: inline-block; }
    .avatar-edit {
      position: absolute; bottom: 0; right: 0; width: 32px; height: 32px;
      border-radius: 50%; background: #1A2536; border: 3px solid #fff;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: background 0.15s;
    }
    .avatar-edit:hover { background: #243447; }
    .avatar-edit svg { width: 14px; height: 14px; color: #fff; }

    /* ── Quick stat cards ── */
    .stat-card {
      background: var(--bg-surface); border-radius: var(--radius-lg); padding: 20px;
      box-shadow: var(--shadow-sm); text-align: center; flex: 1; min-width: 0;
    }
    .stat-card-icon {
      width: 44px; height: 44px; border-radius: 12px; display: inline-flex;
      align-items: center; justify-content: center; margin-bottom: 10px;
    }
    .stat-card-icon svg { width: 22px; height: 22px; }
    .stat-card-value { font-size: 22px; font-weight: 700; color: var(--text-primary); }
    .stat-card-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

    /* ── Quick action buttons ── */
    .quick-actions { display: flex; gap: 12px; flex-wrap: wrap; }
    .quick-action-btn {
      display: flex; align-items: center; gap: 10px; padding: 12px 20px;
      background: var(--bg-surface); border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm); border: 1px solid var(--border-subtle);
      cursor: pointer; transition: all 0.15s var(--ease); font-family: inherit;
      font-size: 13px; font-weight: 600; color: var(--text-primary);
    }
    .quick-action-btn:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
    .quick-action-btn .qa-icon {
      width: 36px; height: 36px; border-radius: 10px; display: flex;
      align-items: center; justify-content: center; flex-shrink: 0;
    }
    .quick-action-btn .qa-icon svg { width: 18px; height: 18px; }

    /* ── Read-only badge ── */
    .badge-readonly {
      display: inline-flex; align-items: center; padding: 3px 10px;
      border-radius: 999px; font-size: 10px; font-weight: 600;
      background: #F1F5F9; color: #94A3B8; letter-spacing: 0.03em;
    }

    /* ── Empty state ── */
    .empty-state {
      text-align: center; padding: 48px 24px;
    }
    .empty-state img { width: 180px; margin-bottom: 20px; opacity: 0.7; }
    .empty-state p { font-size: 15px; color: var(--text-muted); }

    /* ── Sharing page ── */
    .share-info-row {
      display: flex; align-items: center; gap: 10px; padding: 8px 14px;
      border-bottom: 1px solid rgba(0,0,0,0.04);
    }
    .share-info-row:last-child { border-bottom: none; }
    .share-info-icon {
      width: 28px; height: 28px; border-radius: 8px; display: flex;
      align-items: center; justify-content: center; flex-shrink: 0;
    }
    .share-info-icon svg { width: 14px; height: 14px; }
    .share-info-text { font-size: 12px; font-weight: 600; color: var(--text-primary); }
    .share-info-sub { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
    .share-active-item {
      display: flex; align-items: center; gap: 14px; padding: 14px 18px;
      border-bottom: 1px solid rgba(0,0,0,0.04);
    }
    .share-active-item:last-child { border-bottom: none; }
    .share-active-icon {
      width: 40px; height: 40px; border-radius: 50%; display: flex;
      align-items: center; justify-content: center; flex-shrink: 0;
      background: var(--pastel-green);
    }
    .share-active-info { flex: 1; min-width: 0; }
    .share-active-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
    .share-active-countdown { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
    .share-active-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
    .btn-share-copy {
      padding: 6px 12px; font-size: 12px; font-weight: 600; font-family: inherit;
      background: var(--pastel-blue); color: #3B82F6; border: none;
      border-radius: 8px; cursor: pointer; transition: background 0.15s;
    }
    .btn-share-copy:hover { background: #BFDBFE; }
    .btn-share-revoke {
      padding: 6px 12px; font-size: 12px; font-weight: 600; font-family: inherit;
      background: var(--pastel-red); color: #DC2626; border: none;
      border-radius: 8px; cursor: pointer; transition: background 0.15s;
    }
    .btn-share-revoke:hover { background: #FECACA; }
    .share-duration-option {
      display: flex; align-items: center; gap: 12px; padding: 14px 18px;
      border-bottom: 1px solid rgba(0,0,0,0.04); cursor: pointer;
      transition: background 0.15s;
    }
    .share-duration-option:last-child { border-bottom: none; }
    .share-duration-option:hover { background: var(--bg-surface-hover); }
    .share-duration-option input[type="radio"] {
      width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer;
    }
    .share-duration-label { font-size: 14px; color: var(--text-primary); }
    .share-duration-label strong {
      display: inline-block; min-width: 24px; font-weight: 700; color: var(--accent);
    }
    .share-limit-warning {
      display: flex; align-items: center; gap: 10px; padding: 12px 16px;
      background: #FEF3C7; border-radius: var(--radius-md); margin-bottom: 16px;
      font-size: 13px; color: #92400E;
    }

    /* ── Save pill button (navy) ── */
    .btn-pill-navy {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      padding: 14px 32px; font-size: 14px; font-weight: 700; font-family: inherit;
      background: #1A2536; color: #fff; border: none; border-radius: 999px;
      cursor: pointer; transition: all 0.2s var(--ease);
      box-shadow: 0 4px 16px rgba(26,37,54,0.2);
    }
    .btn-pill-navy:hover { background: #243447; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,37,54,0.3); }
    .btn-pill-navy:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

    /* ── Toast ── */
    .toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
    .toast {
      padding: 14px 20px; border-radius: var(--radius-md); font-size: 13px;
      font-weight: 500; color: #fff; box-shadow: var(--shadow-lg);
      animation: toastIn 0.3s var(--ease-bounce); min-width: 280px;
      display: flex; align-items: center; gap: 10px;
    }
    .toast-success { background: #059669; }
    .toast-error { background: #DC2626; }
    .toast-info { background: var(--accent); }
    @keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
    @keyframes toastOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(16px); } }

    /* ── Spinner ── */
    .spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; }
    .spinner-dark { border-color: rgba(0,0,0,0.1); border-top-color: var(--accent); }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* ── Skeleton ── */
    .skeleton {
      background: linear-gradient(90deg, #EDF0F4 25%, #E2E8F0 50%, #EDF0F4 75%);
      background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-md);
    }
    @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

    /* ── Modal ── */
    .modal-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 9998;
      display: flex; align-items: center; justify-content: center;
      backdrop-filter: blur(4px); opacity: 0; pointer-events: none;
      transition: opacity 0.2s var(--ease);
    }
    .modal-overlay.active { opacity: 1; pointer-events: auto; }
    .modal {
      background: var(--bg-surface); border-radius: var(--radius-xl); padding: 32px;
      max-width: 440px; width: 90%; box-shadow: var(--shadow-lg);
      transform: scale(0.95); transition: transform 0.2s var(--ease-bounce);
    }
    .modal-overlay.active .modal { transform: scale(1); }
    .modal h3 { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
    .modal p { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.6; }

    /* ── Invite code display ── */
    .invite-code {
      display: flex; align-items: center; gap: 12px; padding: 14px 20px;
      background: #EDF0F4; border-radius: var(--radius-md); margin-top: 12px;
    }
    .invite-code span {
      font-size: 24px; font-weight: 800; letter-spacing: 0.15em;
      color: var(--accent); font-family: 'Courier New', monospace;
    }
    .invite-code button {
      margin-left: auto; padding: 8px 14px; font-size: 12px; font-weight: 600;
      font-family: inherit; background: var(--accent); color: #fff;
      border: none; border-radius: var(--radius-sm); cursor: pointer;
      transition: background 0.15s;
    }
    .invite-code button:hover { background: var(--accent-light); }

    /* ── Danger zone ── */
    .danger-zone {
      border: 1.5px solid #FCA5A5; border-radius: var(--radius-xl); padding: 24px;
      background: #FFF5F5;
    }
    .danger-zone h4 { font-size: 14px; font-weight: 700; color: #DC2626; margin-bottom: 8px; }
    .danger-zone p { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }

    /* ── Settings Radio (language selector) ── */
    .settings-radio {
      width: 24px; height: 24px; border-radius: 50%; border: 2px solid #CBD5E1;
      display: flex; align-items: center; justify-content: center;
      transition: all 0.15s; cursor: pointer; flex-shrink: 0;
    }
    .settings-radio.selected {
      background: #1E293B; border-color: #1E293B;
    }
    .settings-radio.selected::after {
      content: ''; display: block; width: 8px; height: 5px;
      border-left: 2px solid #fff; border-bottom: 2px solid #fff;
      transform: rotate(-45deg); margin-top: -2px;
    }
