:root {
      /* Authentic Google Drive Light Theme Palette (Material Design 3 / Material You) */
      --g-bg: #f8fafd;
      --g-surface: #ffffff;
      --g-surface-variant: #edf2fa;
      --g-surface-hover: #f0f4f9;
      --g-surface-selected: #c2e7ff;
      --g-selected-text: #001d35;
      --g-text: #1f1f1f;
      --g-text-secondary: #444746;
      --g-text-subtle: #747775;
      --g-border: #e0e2ec;
      --g-border-subtle: #e7e9ee;
      --g-primary: #0b57d0;
      --g-primary-hover: #0842a0;
      --g-primary-dark: #041e49;
      --g-danger: #b3261e;
      --g-danger-bg: #fce8e6;
      --g-warning: #b06000;
      --g-warning-bg: #fef7e0;
      --g-success: #137333;
      --g-success-bg: #e6f4ea;
      --g-card-bg: #ffffff;
      --sidebar-width: 256px;

      /* Mapped variables */
      --mc-primary: #0b57d0;
      --mc-primary-hover: #0842a0;
      --mc-primary-light: #e8f0fe;
      --mc-bg: #f8fafd;
      --mc-topbar: #f8fafd;
      --mc-sidebar: #f8fafd;
      --mc-sidebar-hover: #edf2fa;
      --mc-card: #ffffff;
      --mc-card-hover: #f0f4f9;
      --mc-surface: #ffffff;
      --mc-surface-variant: #edf2fa;
      --mc-border: #e0e2ec;
      --mc-border-light: #e7e9ee;
      --mc-text: #1f1f1f;
      --mc-text-secondary: #444746;
      --mc-text-muted: #747775;
      --mc-selected: #c2e7ff;
      --mc-selected-border: #0b57d0;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Google Sans', 'Roboto', -apple-system, sans-serif; -webkit-tap-highlight-color: transparent; }
    body { background-color: var(--g-bg); color: var(--g-text); height: 100vh; overflow: hidden; display: flex; flex-direction: column; }

    /* TOP HEADER (Authentic Google Drive Look) */
    .g-header {
      height: 64px;
      padding: 8px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-shrink: 0;
      border-bottom: 1px solid var(--g-border-subtle);
      background: var(--g-bg);
      z-index: 100;
    }

    .g-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: inherit;
      user-select: none;
    }
    .g-brand-wrapper {
      display: flex;
      align-items: center;
      gap: 4px;
      min-width: 240px;
      position: relative;
    }
    .g-drive-3dot-btn {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #444746;
      background: transparent;
      border: none;
      cursor: pointer;
      transition: background 0.15s ease, color 0.15s ease;
      padding: 0;
      flex-shrink: 0;
    }
    .g-drive-3dot-btn:hover {
      background: rgba(0, 0, 0, 0.06);
      color: #1f1f1f;
    }
    .g-drive-3dot-btn:active {
      background: rgba(0, 0, 0, 0.1);
    }
    .g-drive-dropdown-menu {
      display: none;
      position: absolute;
      top: 40px;
      left: 0;
      min-width: 250px;
      z-index: 1200;
      background: #ffffff;
      border: 1px solid #e0e2ec;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.12);
      padding: 6px 0;
      animation: modalPop 0.12s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .g-brand-logo { width: 40px; height: 40px; flex-shrink: 0; }
    .g-brand-title { font-size: 1.35rem; font-weight: 500; color: #1f1f1f; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
    .g-brand-badge {
      font-size: 0.65rem;
      background: #e8f0fe;
      border: 1px solid #d3e3fd;
      color: var(--g-primary);
      padding: 3px 8px;
      border-radius: 6px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    /* Central Google Search Bar */
    .g-search-container {
      flex: 1;
      max-width: 720px;
      position: relative;
    }
    .g-search-bar {
      width: 100%;
      height: 48px;
      background: var(--g-surface-variant);
      border: 1px solid transparent;
      border-radius: 24px;
      padding: 0 44px 0 52px;
      color: var(--g-text);
      font-size: 0.98rem;
      outline: none;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .g-search-bar:focus {
      background: #ffffff;
      border-color: transparent;
      box-shadow: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
    }
    .g-search-icon {
      position: absolute;
      left: 18px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--g-text-secondary);
      pointer-events: none;
      display: flex;
    }
    .g-search-clear {
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      background: transparent;
      border: none;
      color: var(--g-text-secondary);
      cursor: pointer;
      display: none;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      align-items: center;
      justify-content: center;
    }
    .g-search-clear:hover { background: var(--g-surface-hover); color: var(--g-text); }

    .g-header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 240px;
      justify-content: flex-end;
    }

    /* Button Styles */
    .g-icon-btn {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: transparent;
      border: none;
      color: var(--g-text-secondary);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.15s;
    }
    .g-icon-btn:hover { background: var(--g-surface-hover); color: var(--g-text); }

    .g-btn-pill {
      background: var(--g-surface-variant);
      color: var(--g-text);
      border: 1px solid var(--g-border);
      padding: 8px 18px;
      border-radius: 20px;
      font-size: 0.88rem;
      font-weight: 500;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.15s;
      user-select: none;
    }
    .g-btn-pill:hover { background: var(--g-surface-hover); border-color: var(--g-primary); color: var(--g-text); }
    .g-btn-pill.primary {
      background: var(--g-primary);
      color: #ffffff;
      border-color: var(--g-primary);
      font-weight: 600;
    }
    .g-btn-pill.primary:hover { background: var(--g-primary-hover); }
    .g-btn-pill.warning-btn {
      background: #b06000;
      color: #ffffff;
      border-color: #b06000;
      font-weight: 600;
    }
    .g-btn-pill.warning-btn:hover { background: #8f4e00; }

    /* WORKSPACE */
    .g-workspace {
      flex: 1;
      display: flex;
      overflow: hidden;
    }

    /* SIDEBAR (Google Drive Signature Layout) */
    .g-sidebar {
      width: var(--sidebar-width);
      padding: 16px 14px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      flex-shrink: 0;
      background: var(--g-bg);
      user-select: none;
      overflow-y: auto;
    }

    /* Drive "+ New" Button */
    .g-new-btn-container { position: relative; z-index: 1000; }
    .g-new-btn {
      height: 56px;
      padding: 0 24px 0 16px;
      border-radius: 16px;
      background: #ffffff;
      border: 1px solid #e0e2ec;
      color: #1f1f1f;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 14px;
      box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .g-new-btn:hover {
      background: #f8fafd;
      box-shadow: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
      transform: translateY(-1px);
    }

    /* "+ New" Dropdown Menu */
    .g-menu-dropdown {
      position: absolute;
      top: 64px;
      left: 0;
      width: 260px;
      background: #ffffff;
      border: 1px solid #e0e2ec;
      border-radius: 14px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.14);
      padding: 6px 0;
      z-index: 2000;
      display: none;
      animation: fadeIn 0.15s ease-out;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .g-menu-item {
      padding: 10px 18px;
      display: flex;
      align-items: center;
      gap: 14px;
      font-size: 0.9rem;
      color: var(--g-text);
      cursor: pointer;
      transition: background 0.15s;
    }
    .g-menu-item:hover { background: var(--g-surface-hover); }
    .g-menu-divider { height: 1px; background: var(--g-border); margin: 6px 0; }

    /* Navigation Links */
    .g-nav-list { display: flex; flex-direction: column; gap: 3px; }
    .g-nav-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 10px 16px;
      border-radius: 24px;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--g-text-secondary);
      cursor: pointer;
      transition: all 0.15s;
    }
    .g-nav-item:hover { background: var(--g-surface-hover); color: var(--g-text); }
    .g-nav-item.active {
      background: var(--g-surface-selected);
      color: var(--g-selected-text);
      font-weight: 600;
    }
    .g-nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }

    /* Sidebar Section: Connected Cloud Accounts */
    .g-sidebar-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 12px 4px;
    }
    .g-sidebar-section-title {
      font-size: 0.76rem;
      font-weight: 700;
      color: var(--g-text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    /* Redesigned Account Cards in Sidebar */
    .g-accounts-container {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .g-acc-card {
      border-radius: 12px;
      background: #ffffff;
      border: 1px solid var(--g-border);
      padding: 10px 12px;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .g-acc-card:hover {
      background: var(--g-surface-hover);
      border-color: #c4c7c5;
      transform: translateY(-1px);
    }
    .g-acc-card.active {
      background: #e8f0fe;
      border-color: var(--g-primary);
    }
    .g-acc-card-top {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .g-acc-card-icon { width: 18px; height: 18px; flex-shrink: 0; }
    .g-acc-card-email {
      font-size: 0.83rem;
      font-weight: 500;
      color: #1f1f1f;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      flex: 1;
    }
    .g-acc-card-badge {
      font-size: 0.68rem;
      padding: 1px 6px;
      border-radius: 4px;
      background: #e8f0fe;
      color: var(--g-primary);
      font-weight: 600;
    }
    .g-acc-progress {
      height: 4px;
      background: #e0e2ec;
      border-radius: 99px;
      overflow: hidden;
    }
    .g-acc-progress-fill {
      height: 100%;
      border-radius: 99px;
      background: var(--g-primary);
      transition: width 0.3s ease;
    }
    .g-acc-card-sub {
      display: flex;
      justify-content: space-between;
      font-size: 0.72rem;
      color: var(--g-text-secondary);
    }

    /* Unified Storage Meter at bottom */
    .g-storage-box {
      margin-top: auto;
      padding: 14px 16px;
      border-radius: 14px;
      background: #ffffff;
      border: 1px solid var(--g-border);
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .g-storage-header { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500; color: #1f1f1f; }
    .g-progress-bar { height: 6px; background: #e0e2ec; border-radius: 99px; overflow: hidden; margin-top: 2px; }
    .g-progress-fill { height: 100%; background: var(--g-primary); border-radius: 99px; width: 0%; transition: width 0.4s; }
    .g-storage-text { font-size: 0.75rem; color: var(--g-text-secondary); }

    /* MAIN VIEW (Google Drive Native Experience) */
    .g-main {
      flex: 1;
      display: flex;
      flex-direction: column;
      background: var(--g-surface);
      border-radius: 20px 0 0 0;
      border-left: 1px solid var(--g-border-subtle);
      border-top: 1px solid var(--g-border-subtle);
      overflow: hidden;
      margin-top: 8px;
    }

    /* Toolbar / Breadcrumb Bar */
    .g-toolbar {
      padding: 12px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--g-border-subtle);
      gap: 12px;
      flex-shrink: 0;
      user-select: none;
    }
    .g-breadcrumbs {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 1.15rem;
      font-weight: 500;
      color: var(--g-text);
      overflow-x: auto;
    }
    .g-crumb { cursor: pointer; border-radius: 8px; padding: 4px 8px; transition: background 0.15s; color: var(--g-text-secondary); }
    .g-crumb:hover { background: var(--g-surface-hover); color: var(--g-text); }
    .g-crumb.active { font-weight: 600; color: #1f1f1f; cursor: default; }

    .g-active-drive-pill {
      background: #e8f0fe;
      border: 1px solid #d3e3fd;
      color: var(--g-primary);
      padding: 4px 12px;
      border-radius: 99px;
      font-size: 0.78rem;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .g-toolbar-right { display: flex; align-items: center; gap: 8px; }

    /* Content Scroll Area */
    .g-content-scroll {
      flex: 1;
      overflow-y: auto;
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 28px;
      position: relative;
    }

    .g-section-title {
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--g-text-secondary);
      margin-bottom: 14px;
    }

    /* Folders Grid */
    .g-folders-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
      gap: 14px;
    }
    .g-folder-card {
      background: #f0f4f9;
      border: 1px solid transparent;
      border-radius: 12px;
      padding: 14px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      cursor: pointer;
      user-select: none;
      transition: all 0.15s ease-out;
    }
    .g-folder-card:hover {
      background: #e9eef6;
      border-color: var(--g-border);
      transform: translateY(-1px);
    }
    .g-folder-card.selected {
      background: #c2e7ff;
      border-color: var(--g-primary);
    }
    .g-folder-left {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
      flex: 1;
    }
    .g-folder-name {
      font-size: 0.92rem;
      font-weight: 500;
      color: #1f1f1f;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Files View: Table */
    .g-files-table {
      width: 100%;
      border-collapse: collapse;
      user-select: none;
    }
    .g-files-table th {
      text-align: left;
      padding: 10px 14px;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--g-text-secondary);
      border-bottom: 1px solid var(--g-border);
    }
    .g-files-table td {
      padding: 12px 14px;
      font-size: 0.88rem;
      border-bottom: 1px solid #f0f4f9;
      vertical-align: middle;
      color: #1f1f1f;
    }
    .g-file-row {
      cursor: pointer;
      transition: background 0.12s;
    }
    .g-file-row:hover { background: var(--g-surface-hover); }
    .g-file-row.selected { background: #c2e7ff; }
    .g-file-name-cell {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 500;
      color: #1f1f1f;
    }
    .g-file-icon { width: 24px; height: 24px; flex-shrink: 0; }

    .g-drive-tag {
      background: var(--g-surface-variant);
      border: 1px solid var(--g-border);
      color: #9aa0a6;
      font-size: 0.74rem;
      font-weight: 500;
      padding: 3px 8px;
      border-radius: 6px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
    }
    .g-drive-tag.split-badge {
      background: rgba(251, 188, 4, 0.12);
      border-color: rgba(251, 188, 4, 0.35);
      color: #fbbc04;
      font-weight: 600;
    }
    .g-drive-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--g-primary); }

    /* Drag & Drop Fullscreen Overlay */
    .g-drop-overlay {
      position: absolute;
      inset: 12px;
      border: 2px dashed var(--g-primary);
      background: rgba(19, 19, 20, 0.92);
      border-radius: 16px;
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 14px;
      z-index: 3000;
      pointer-events: none;
    }
    .g-drop-overlay-text { font-size: 1.3rem; font-weight: 600; color: var(--g-primary); }

    /* GOOGLE DRIVE OFFICIAL FLOATING UPLOAD DRAWER (Bottom-Right Docked Card) */
    .g-upload-card {
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 390px;
      background: var(--g-surface);
      border: 1px solid var(--g-border);
      border-radius: 14px;
      box-shadow: 0 14px 40px rgba(0,0,0,0.7);
      display: none;
      flex-direction: column;
      overflow: hidden;
      z-index: 4000;
      animation: slideUp 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    @keyframes slideUp {
      from { transform: translateY(20px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    .g-upload-card-header {
      background: var(--g-surface-variant);
      padding: 12px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 0.9rem;
      font-weight: 600;
      border-bottom: 1px solid var(--g-border-subtle);
    }
    .g-upload-bar-track {
      width: 100%;
      height: 3px;
      background: var(--g-border-subtle);
      overflow: hidden;
    }
    .g-upload-bar-fill {
      height: 100%;
      width: 0%;
      background: var(--g-primary);
      transition: width 0.2s ease, background 0.2s;
    }
    .g-upload-bar-fill.success { background: var(--g-success); }
    .g-upload-bar-fill.cancelled { background: var(--g-danger); }

    .g-upload-card-body {
      padding: 14px 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 0.88rem;
    }
    .g-upload-spinner {
      width: 28px;
      height: 28px;
      border: 3px solid rgba(138, 180, 248, 0.2);
      border-top-color: var(--g-primary);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      flex-shrink: 0;
    }
    @keyframes spin {
      to { transform: rotate(360deg); }
    }
    .g-upload-cancel-btn {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      color: var(--g-text-secondary);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      background: transparent;
      border: none;
      transition: all 0.15s;
      flex-shrink: 0;
    }
    .g-upload-cancel-btn:hover {
      background: rgba(242, 139, 130, 0.18);
      color: var(--g-danger);
      transform: scale(1.08);
    }

    /* CONTEXT MENU */
    .g-context-menu {
      position: fixed;
      background: var(--g-surface);
      border: 1px solid var(--g-border);
      border-radius: 12px;
      box-shadow: 0 12px 36px rgba(0,0,0,0.7);
      padding: 6px 0;
      min-width: 220px;
      z-index: 5000;
      display: none;
    }

    /* MATERIAL 3 MODAL DIALOGS (Light & Human) */
    .g-modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(4px);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 99999 !important;
      padding: 16px;
      overflow-y: auto;
    }
    .g-modal-box {
      background: #ffffff;
      border: 1px solid var(--g-border);
      border-radius: 24px;
      width: 100%;
      max-width: 480px;
      max-height: calc(100vh - 40px);
      display: flex;
      flex-direction: column;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
      animation: modalPop 0.16s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      color: #1f1f1f;
    }
    .g-modal-box:not(.g-modal-upload-box) {
      padding: 24px 28px;
      gap: 14px;
      overflow-y: auto;
    }
    .g-modal-upload-box {
      max-width: 520px;
      overflow: hidden;
      padding: 0;
    }
    .g-modal-close-btn {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: none;
      background: transparent;
      color: var(--g-text-secondary);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.15s ease;
      z-index: 20;
    }
    .g-modal-close-btn:hover {
      background: #f0f4f9;
      color: #1f1f1f;
    }
    .g-bombas-header {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
      margin-bottom: 8px;
    }
    .g-bombas-icon-circle {
      display: none;
    }
    .g-bombas-title {
      font-size: 1.35rem;
      font-weight: 500;
      color: #1f1f1f;
      letter-spacing: -0.01em;
      line-height: 1.25;
      margin: 0;
      text-align: left;
    }
    .g-bombas-sub {
      font-size: 0.85rem;
      color: var(--g-text-secondary);
      line-height: 1.45;
      margin-top: 4px;
      margin-bottom: 0;
      text-align: left;
    }
    .g-bombas-badge {
      border: 1px solid #c2e7ff;
      background: #e8f0fe;
      color: var(--g-primary);
      border-radius: 8px;
      padding: 6px 14px;
      font-size: 0.86rem;
      font-weight: 600;
      letter-spacing: 0.01em;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin: 4px 0 6px 0;
      max-width: 100%;
    }
    .g-bombas-btn-primary {
      background: #0b57d0;
      color: #ffffff;
      border: none;
      border-radius: 20px;
      height: 40px;
      font-size: 0.90rem;
      font-weight: 600;
      cursor: pointer;
      padding: 0 24px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.15s ease;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    }
    .g-bombas-btn-primary:hover {
      background: #0842a0;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    }
    .g-bombas-cancel-link {
      background: none;
      border: none;
      color: #0b57d0;
      font-size: 0.90rem;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 18px;
      height: 40px;
      border-radius: 20px;
      transition: background 0.15s ease;
    }
    .g-bombas-cancel-link:hover {
      background: #f0f4f9;
      color: #0842a0;
    }
    .g-bombas-footnote {
      display: none;
    }
    .g-modal-header {
      padding: 18px 24px 14px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--g-border);
      flex-shrink: 0;
      background: #ffffff;
    }
    .g-modal-scroll-body {
      padding: 16px 24px;
      overflow-y: auto;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 12px;
      background: #ffffff;
    }
    .g-modal-scroll-body::-webkit-scrollbar {
      width: 6px;
    }
    .g-modal-scroll-body::-webkit-scrollbar-thumb {
      background: #c4c7c5;
      border-radius: 3px;
    }
    .g-modal-footer {
      padding: 14px 24px 18px 24px;
      border-top: 1px solid var(--g-border);
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      flex-shrink: 0;
      background: #ffffff;
      border-radius: 0 0 24px 24px;
    }
    .g-modal-title { font-size: 1.3rem; font-weight: 500; color: #1f1f1f; }
    .g-modal-input {
      width: 100%;
      height: 46px;
      background: #ffffff;
      border: 1px solid #747775;
      border-radius: 8px;
      padding: 0 16px;
      color: #1f1f1f;
      font-size: 0.95rem;
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .g-modal-input:focus {
      border-color: var(--g-primary);
      box-shadow: 0 0 0 2px rgba(11, 87, 208, 0.2);
    }
      border-color: var(--g-primary);
      box-shadow: 0 0 0 3px rgba(138, 180, 248, 0.15);
    }

    /* Selected File Preview Box in Upload Modal */
    .g-upload-preview-box {
      background: #f0f4f9;
      border: 1px solid var(--g-border);
      border-radius: 12px;
      padding: 14px 16px;
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .g-upload-preview-info {
      flex: 1;
      min-width: 0;
    }
    .g-upload-preview-name {
      font-size: 0.95rem;
      font-weight: 600;
      color: #1f1f1f;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .g-upload-preview-meta {
      font-size: 0.78rem;
      color: var(--g-text-secondary);
      margin-top: 2px;
    }

    /* Drive Selector List in Modals */
    .g-drive-selector-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
      max-height: 220px;
      overflow-y: auto;
      padding-right: 2px;
    }
    .g-drive-radio-option {
      border: 1px solid var(--g-border);
      border-radius: 12px;
      padding: 12px 14px;
      background: #ffffff;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      gap: 6px;
      transition: all 0.15s;
      position: relative;
    }
    .g-drive-radio-option:hover {
      background: var(--g-surface-variant);
      border-color: var(--g-primary);
    }
    .g-drive-radio-option.selected {
      border-color: var(--g-primary);
      background: #e8f0fe;
      box-shadow: 0 0 0 1px var(--g-primary);
    }
    .g-drive-radio-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 0.88rem;
      font-weight: 500;
      color: #1f1f1f;
    }
    .g-drive-radio-sub {
      font-size: 0.75rem;
      color: var(--g-text-secondary);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    /* INSUFFICIENT STORAGE WARNING BANNER & DUAL SOLUTION TILES */
    .g-storage-warning-card {
      background: rgba(242, 139, 130, 0.08);
      border: 1px solid rgba(242, 139, 130, 0.35);
      border-radius: 16px;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      animation: fadeIn 0.2s ease-out;
    }
    .g-warning-title-row {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--g-danger);
      font-weight: 600;
      font-size: 0.95rem;
    }
    .g-warning-msg {
      font-size: 0.84rem;
      color: var(--g-text);
      line-height: 1.45;
    }

    .g-solutions-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
    }
    .g-solution-tile {
      background: var(--g-surface);
      border: 1px solid var(--g-border);
      border-radius: 12px;
      padding: 12px 14px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      gap: 6px;
      transition: all 0.15s;
    }
    .g-solution-tile:hover {
      background: var(--g-surface-variant);
      border-color: var(--g-primary);
    }
    .g-solution-tile-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-weight: 600;
      font-size: 0.88rem;
      color: #fff;
    }
    .g-solution-tile-sub {
      font-size: 0.78rem;
      color: var(--g-text-secondary);
      line-height: 1.4;
    }

    /* Part Distribution Visual Breakdown */
    .g-split-breakdown-bar {
      display: flex;
      height: 8px;
      border-radius: 4px;
      overflow: hidden;
      margin: 4px 0;
      background: #37393b;
    }
    .g-split-seg-1 { background: #8ab4f8; }
    .g-split-seg-2 { background: #81c995; }
    .g-split-seg-3 { background: #fdd663; }
    .g-split-seg-4 { background: #f28b82; }

    /* Mode Switcher: Single Drive vs Multi-Account Split (Clean Material 3 Style) */
    .g-mode-switcher {
      display: flex;
      background: #f0f4f9;
      border: 1px solid var(--g-border, #e0e2ec);
      border-radius: 12px;
      padding: 4px;
      gap: 4px;
      margin-bottom: 12px;
    }
    .g-mode-btn {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 8px 12px;
      border-radius: 8px;
      border: none;
      background: transparent;
      color: #444746;
      font-size: 0.84rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .g-mode-btn:hover {
      color: #1f1f1f;
      background: rgba(0, 0, 0, 0.04);
    }
    .g-mode-btn.active {
      background: #ffffff;
      color: #0b57d0;
      font-weight: 600;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    .g-mode-btn.active.split-active {
      background: #ffffff;
      color: #0b57d0;
      border: none;
    }
    .g-pill-pro-badge {
      font-size: 0.62rem;
      background: #c2e7ff;
      color: #001d35;
      font-weight: 700;
      padding: 2px 6px;
      border-radius: 6px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    /* Premium Clean Chunk Allocation Cards */
    .g-chunk-panel {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .g-chunk-panel-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 2px;
    }
    .g-chunk-panel-title {
      font-size: 0.82rem;
      font-weight: 600;
      color: #444746;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .g-chunk-actions {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .g-chunk-pill-btn {
      background: #ffffff;
      border: 1px solid #c4c7c5;
      color: #1f1f1f;
      font-size: 0.74rem;
      font-weight: 500;
      padding: 4px 10px;
      border-radius: 14px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      transition: all 0.15s ease;
    }
    .g-chunk-pill-btn:hover {
      background: #f0f4f9;
      border-color: #0b57d0;
      color: #0b57d0;
    }
    .g-chunk-card {
      background: #ffffff;
      border: 1px solid var(--g-border, #e0e2ec);
      border-radius: 12px;
      padding: 12px 14px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      transition: all 0.15s ease;
    }
    .g-chunk-card:hover {
      border-color: #c2e7ff;
      background: #f8fafd;
    }
    .g-chunk-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 0.82rem;
    }
    .g-chunk-card-email {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 500;
      color: #1f1f1f;
    }
    .g-chunk-card-quota {
      font-size: 0.74rem;
      color: #444746;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .g-chunk-controls-row {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .g-chunk-slider {
      flex: 1;
      -webkit-appearance: none;
      appearance: none;
      height: 6px;
      border-radius: 3px;
      background: #e0e2ec;
      outline: none;
      cursor: pointer;
      accent-color: #0b57d0;
    }
    .g-chunk-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #0b57d0;
      box-shadow: 0 1px 3px rgba(11, 87, 208, 0.4);
      cursor: pointer;
      border: 2px solid #ffffff;
      transition: transform 0.1s ease;
    }
    .g-chunk-slider::-webkit-slider-thumb:hover {
      transform: scale(1.15);
    }
    .g-chunk-num-box {
      position: relative;
      display: flex;
      align-items: center;
      width: 110px;
      flex-shrink: 0;
    }
    .g-chunk-num-box input {
      width: 100%;
      height: 32px;
      background: #ffffff;
      border: 1px solid #c4c7c5;
      border-radius: 8px;
      padding: 4px 30px 4px 10px;
      color: #1f1f1f;
      font-size: 0.85rem;
      font-weight: 600;
      text-align: right;
      outline: none;
    }
    .g-chunk-num-box input:focus {
      border-color: #0b57d0;
      box-shadow: 0 0 0 1px #0b57d0;
    }
    .g-chunk-num-box span {
      position: absolute;
      right: 8px;
      font-size: 0.7rem;
      font-weight: 600;
      color: #747775;
      pointer-events: none;
    }
    .g-chunk-pct {
      font-size: 0.75rem;
      font-weight: 700;
      min-width: 44px;
      text-align: right;
    }
    .g-chunk-status-tag {
      font-size: 0.68rem;
      font-weight: 600;
      padding: 2px 6px;
      border-radius: 4px;
      display: inline-flex;
      align-items: center;
      gap: 3px;
    }
    .g-chunk-status-tag.ok {
      background: #e6f4ea;
      color: #137333;
    }
    .g-chunk-status-tag.warn {
      background: #fce8e6;
      color: #c5221f;
    }
    .g-chunk-summary-strip {
      background: #f0f4f9;
      border: 1px solid var(--g-border, #e0e2ec);
      border-radius: 12px;
      padding: 10px 14px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .g-chunk-summary-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.78rem;
    }
    .g-chunk-multi-bar {
      height: 6px;
      border-radius: 3px;
      overflow: hidden;
      display: flex;
      background: #e0e2ec;
    }
    .g-chunk-seg {
      height: 100%;
      transition: width 0.15s ease;
    }

    .g-chunk-pill-btn.active {
      background: #e8f0fe;
      border-color: #0b57d0;
      color: #0b57d0;
      font-weight: 600;
    }
    .g-batch-drive-select {
      background: #ffffff;
      border: 1px solid #c4c7c5;
      border-radius: 6px;
      color: #1f1f1f;
      font-size: 0.74rem;
      padding: 4px 8px;
      outline: none;
      cursor: pointer;
      max-width: 170px;
    }
    .g-batch-drive-select:focus {
      border-color: #0b57d0;
    }
    .g-batch-file-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 6px 8px;
      border-radius: 6px;
      font-size: 0.78rem;
      background: #ffffff;
      border: 1px solid var(--g-border, #e0e2ec);
      color: #1f1f1f;
      transition: background 0.15s;
    }
    .g-batch-file-row:hover {
      background: #f8fafd;
    }

    /* Google Files App Style Components */
    .g-files-summary-card {
      background: #f0f4f9;
      border: 1px solid var(--g-border, #e0e2ec);
      border-radius: 16px;
      padding: 12px 14px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .g-batch-card-panel {
      background: #f0f4f9;
      border: 1px solid var(--g-border, #e0e2ec);
      border-radius: 16px;
      padding: 14px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      color: #1f1f1f;
    }
    .g-chip-small {
      background: #ffffff;
      border: 1px solid #c4c7c5;
      border-radius: 20px;
      color: #1f1f1f;
      font-size: 0.72rem;
      font-weight: 500;
      padding: 3px 10px;
      cursor: pointer;
      transition: all 0.15s;
    }
    .g-chip-small:hover {
      background: #e8f0fe;
      border-color: #0b57d0;
      color: #0b57d0;
    }
    .g-files-storage-bar-box {
      background: #ffffff;
      border: 1px solid var(--g-border, #e0e2ec);
      border-radius: 10px;
      padding: 8px 12px;
    }
    .g-drive-alloc-card {
      background: rgba(255, 255, 255, 0.025);
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: 14px;
      padding: 10px 14px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      transition: border-color 0.15s;
    }
    .g-drive-alloc-card:hover {
      border-color: rgba(138, 180, 248, 0.3);
    }
    .g-stepper-btn {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #fff;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      user-select: none;
      transition: background 0.12s;
    }
    .g-stepper-btn:hover {
      background: var(--g-primary);
      color: #000;
    }
    .g-stepper-input {
      width: 52px;
      height: 28px;
      background: #131314;
      border: 1px solid var(--g-border);
      border-radius: 6px;
      color: #fff;
      font-size: 0.86rem;
      font-weight: 600;
      text-align: center;
      outline: none;
    }
    .g-stepper-input:focus {
      border-color: var(--g-primary);
    }
    .g-toggle-link-btn {
      background: none;
      border: none;
      color: var(--g-primary);
      font-size: 0.74rem;
      cursor: pointer;
      padding: 4px 0;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      text-decoration: none;
    }
    .g-toggle-link-btn:hover {
      text-decoration: underline;
    }

    /* Auth Screen */
    .g-auth-overlay {
      position: fixed;
      inset: 0;
      background: var(--g-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9000;
      padding: 20px;
    }
    .g-auth-card {
      background: var(--g-surface);
      border: 1px solid var(--g-border);
      border-radius: 28px;
      padding: 44px;
      width: 100%;
      max-width: 440px;
      text-align: center;
      box-shadow: 0 24px 64px rgba(0,0,0,0.8);
    }

    /* ========================================================= */
    /* GOOGLE DRIVE HARMONIZED VAULT DESIGN SYSTEM               */
    /* ========================================================= */
    .g-vault-universe {
      position: fixed;
      inset: 0;
      z-index: 8500;
      background-color: var(--g-bg, #f8fafd);
      color: var(--g-text, #1f1f1f);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      font-family: 'Google Sans', Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }
    
    /* Vault Top Header */
    .pv-topbar {
      height: 64px;
      background-color: #ffffff;
      border-bottom: 1px solid var(--g-border, #e0e2ec);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
      flex-shrink: 0;
    }
    .pv-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }
    .pv-brand-title {
      font-weight: 600;
      font-size: 1.25rem;
      color: #1f1f1f;
      letter-spacing: -0.01em;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .pv-brand-badge {
      font-size: 0.72rem;
      background: #e8f0fe;
      border: 1px solid #d2e3fc;
      color: #0b57d0;
      padding: 2px 8px;
      border-radius: 6px;
      font-weight: 600;
      letter-spacing: 0.02em;
    }
    
    /* Vault Search */
    .pv-search-container {
      flex: 1;
      max-width: 520px;
      margin: 0 24px;
      position: relative;
      display: flex;
      align-items: center;
    }
    .pv-search-input {
      width: 100%;
      height: 44px;
      background-color: #e9eef6;
      border: 1px solid transparent;
      border-radius: 24px;
      padding: 0 16px 0 44px;
      color: #1f1f1f;
      font-size: 0.92rem;
      outline: none;
      transition: all 0.15s ease;
    }
    .pv-search-input:focus {
      background-color: #ffffff;
      border-color: #c4c7c5;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    }
    .pv-search-icon {
      position: absolute;
      left: 14px;
      pointer-events: none;
      color: #444746;
    }

    /* Vault Header Actions */
    .pv-topbar-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .pv-security-pill {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 0.78rem;
      color: #444746;
      background: #f0f4f9;
      border: 1px solid #e0e2ec;
      padding: 6px 12px;
      border-radius: 20px;
    }
    .pv-security-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #137333;
    }
    .pv-btn-icon {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: transparent;
      border: none;
      color: #444746;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }
    .pv-btn-icon:hover {
      background: #f0f4f9;
      color: #1f1f1f;
    }
    .pv-btn-lock {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #ffffff;
      border: 1px solid #747775;
      color: #1f1f1f;
      padding: 8px 18px;
      border-radius: 20px;
      font-size: 0.84rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .pv-btn-lock:hover {
      background: #fce8e6;
      color: #b3261e;
      border-color: #b3261e;
    }

    /* Vault Workspace */
    .pv-workspace {
      flex: 1;
      display: flex;
      overflow: hidden;
    }

    /* Vault Left Sidebar */
    .pv-sidebar {
      width: 256px;
      background-color: #f8fafd;
      border-right: 1px solid var(--g-border, #e0e2ec);
      display: flex;
      flex-direction: column;
      padding: 16px 12px;
      flex-shrink: 0;
    }
    .pv-btn-new-upload {
      background-color: #0b57d0;
      color: #ffffff;
      border: none;
      border-radius: 16px;
      padding: 12px 20px;
      font-weight: 500;
      font-size: 0.9rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.15s ease;
      box-shadow: 0 1px 3px rgba(11, 87, 208, 0.25);
      margin-bottom: 20px;
    }
    .pv-btn-new-upload:hover {
      background-color: #0842a0;
      box-shadow: 0 2px 6px rgba(11, 87, 208, 0.35);
    }
    .pv-nav-list {
      display: flex;
      flex-direction: column;
      gap: 4px;
      flex: 1;
    }
    .pv-nav-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 16px;
      border-radius: 20px;
      color: #444746;
      text-decoration: none;
      font-size: 0.88rem;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }
    .pv-nav-item:hover {
      background-color: #edf2fa;
      color: #1f1f1f;
    }
    .pv-nav-item.active {
      background-color: #c2e7ff;
      color: #001d35;
      font-weight: 600;
    }
    .pv-storage-card {
      background: #ffffff;
      border: 1px solid var(--g-border, #e0e2ec);
      border-radius: 16px;
      padding: 14px 16px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    }
    .pv-storage-title {
      font-size: 0.75rem;
      font-weight: 600;
      color: #444746;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .pv-storage-bar {
      height: 4px;
      background: #e0e2ec;
      border-radius: 4px;
      overflow: hidden;
      margin-bottom: 8px;
    }
    .pv-storage-fill {
      height: 100%;
      width: 25%;
      background: #0b57d0;
      border-radius: 4px;
    }
    .pv-storage-sub {
      font-size: 0.75rem;
      color: #747775;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    /* Vault Main Area */
    .pv-main {
      flex: 1;
      background-color: #ffffff;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      padding: 24px 32px;
      border-top-left-radius: 16px;
    }
    .pv-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 24px;
    }
    .pv-crumb {
      color: #1f1f1f !important;
      font-weight: 600;
      font-size: 1.15rem;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      text-decoration: none;
      transition: color 0.15s ease;
    }
    .pv-crumb:hover {
      color: #0b57d0 !important;
    }
    .pv-title {
      font-size: 1.35rem;
      font-weight: 600;
      color: #1f1f1f;
      letter-spacing: -0.01em;
      font-family: 'Google Sans', sans-serif;
    }
    .pv-item-count {
      font-size: 0.8rem;
      color: #0b57d0;
      background: #e8f0fe;
      border: 1px solid #d2e3fc;
      padding: 3px 10px;
      border-radius: 12px;
      font-weight: 600;
      margin-left: 10px;
    }
    .pv-header-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* Vault File Grid */
    .pv-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 16px;
      padding: 4px;
    }
    .pv-card {
      background: #ffffff;
      border: 1px solid var(--g-border, #e0e2ec);
      border-radius: 14px;
      padding: 16px;
      display: flex;
      flex-direction: column;
      cursor: pointer;
      position: relative;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      user-select: none;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    }
    .pv-card:hover {
      background: #f8fafd;
      border-color: #c2e7ff;
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    }
    .pv-card.selected {
      border-color: #0b57d0;
      background: #c2e7ff;
      box-shadow: 0 0 0 2px rgba(11, 87, 208, 0.25);
    }
    .pv-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }
    .pv-icon-box {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      background: #e8f0fe;
      border: 1px solid #d2e3fc;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: transform 0.2s ease;
      color: #0b57d0;
    }
    .pv-card:hover .pv-icon-box {
      transform: scale(1.05);
    }
    .pv-card-menu-btn {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: transparent;
      border: none;
      color: #444746;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 1.15rem;
      transition: all 0.15s ease;
    }
    .pv-card-menu-btn:hover {
      background: #f0f4f9;
      color: #1f1f1f;
    }
    .pv-card-name {
      font-size: 0.92rem;
      font-weight: 500;
      color: #1f1f1f;
      margin-top: 14px;
      margin-bottom: 6px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .pv-card-meta {
      font-size: 0.78rem;
      color: #747775;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .pv-badge-pill {
      font-size: 0.68rem;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 10px;
      letter-spacing: 0.02em;
    }

    /* Floating Context Menu */
    .pv-floating-menu {
      position: fixed;
      z-index: 9999;
      background: #ffffff;
      border: 1px solid var(--g-border, #e0e2ec);
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
      min-width: 180px;
      padding: 6px;
      display: flex;
      flex-direction: column;
      gap: 2px;
      animation: pvPop 0.12s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes pvPop {
      from { opacity: 0; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1); }
    }
    .pv-floating-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 12px;
      border-radius: 8px;
      font-size: 0.84rem;
      font-weight: 500;
      color: #1f1f1f;
      cursor: pointer;
      transition: all 0.12s ease;
    }
    .pv-floating-item:hover {
      background: #f0f4f9;
      color: #0b57d0;
    }
    .pv-floating-item.danger, .pv-floating-item.pv-floating-danger {
      color: #b3261e;
    }
    .pv-floating-item.danger:hover, .pv-floating-item.pv-floating-danger:hover {
      background: #fce8e6;
      color: #b3261e;
    }
    .pv-empty {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 60px 20px;
    }
    .pv-empty-icon {
      width: 72px;
      height: 72px;
      border-radius: 18px;
      background: #e8f0fe;
      border: 1px solid #d2e3fc;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: #0b57d0;
    }
  
    /* MULTCLOUD DESKTOP ACTION TOOLBAR */
    .mc-action-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 20px;
      background: #ffffff;
      border-bottom: 1px solid var(--mc-border);
      flex-shrink: 0;
      user-select: none;
      z-index: 50;
    }
    .mc-toolbar-left {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    .mc-toolbar-right {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .mc-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 8px;
      font-size: 0.84rem;
      font-weight: 500;
      cursor: pointer;
      border: 1px solid transparent;
      transition: all 0.15s ease;
      white-space: nowrap;
    }
    .mc-btn:disabled {
      opacity: 0.45;
      cursor: not-allowed !important;
      pointer-events: none;
    }
    .mc-btn-primary {
      background: #0b57d0;
      color: #ffffff;
      border-color: #0b57d0;
      box-shadow: 0 1px 2px rgba(11, 87, 208, 0.2);
    }
    .mc-btn-primary:hover:not(:disabled) {
      background: #0842a0;
    }
    .mc-btn-secondary {
      background: #ffffff;
      color: #1f1f1f;
      border-color: #747775;
    }
    .mc-btn-secondary:hover:not(:disabled) {
      background: #f0f4f9;
      border-color: #444746;
      color: #1f1f1f;
    }
    .mc-toolbar-divider {
      width: 1px;
      height: 20px;
      background: #e0e2ec;
      margin: 0 4px;
    }
    .mc-icon-btn {
      width: 32px;
      height: 32px;
      border-radius: 6px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #ffffff;
      color: #444746;
      border: 1px solid #e0e2ec;
      cursor: pointer;
      transition: all 0.15s;
    }
    .mc-icon-btn:hover {
      background: #f0f4f9;
      color: #1f1f1f;
      border-color: #c4c7c5;
    }
    .mc-dropdown-menu {
      display: none;
      position: absolute;
      top: calc(100% + 4px);
      left: 0;
      min-width: 180px;
      background: #ffffff;
      border: 1px solid #e0e2ec;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
      padding: 6px 0;
      z-index: 1000;
    }
    .mc-dropdown-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 14px;
      font-size: 0.85rem;
      color: #1f1f1f;
      cursor: pointer;
      transition: background 0.12s;
    }
    .mc-dropdown-item:hover {
      background: #f0f4f9;
      color: #0b57d0;
    }

    /* UNIVERSAL FILE PREVIEW DIALOG (Google Drive Light Harmonized) */
    .mc-preview-dialog {
      background: #ffffff;
      border: 1px solid var(--g-border, #e0e2ec);
      border-radius: 20px;
      width: 92vw;
      max-width: 1080px;
      height: 88vh;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
      animation: modalPop 0.15s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
    }
    .mc-preview-header {
      padding: 14px 24px;
      background: #ffffff;
      border-bottom: 1px solid var(--g-border, #e0e2ec);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      flex-shrink: 0;
    }
    .mc-preview-header-left {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }
    .mc-preview-title {
      font-size: 1.1rem;
      font-weight: 600;
      color: #1f1f1f;
      margin: 0;
      max-width: 500px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .mc-preview-sub {
      font-size: 0.78rem;
      color: #747775;
      margin-top: 2px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .mc-preview-header-right {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }
    .mc-preview-pill-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 16px;
      border-radius: 20px;
      font-size: 0.82rem;
      font-weight: 500;
      text-decoration: none;
      cursor: pointer;
      border: 1px solid #747775;
      background: #ffffff;
      color: #1f1f1f;
      transition: all 0.15s;
    }
    .mc-preview-pill-btn:hover {
      background: #f0f4f9;
      color: #1f1f1f;
    }
    .mc-preview-pill-btn.mc-pill-primary {
      background: #0b57d0;
      border-color: #0b57d0;
      color: #ffffff;
    }
    .mc-preview-pill-btn.mc-pill-primary:hover {
      background: #0842a0;
    }
    .mc-preview-close-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: none;
      background: transparent;
      color: #444746;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.15s;
    }
    .mc-preview-close-btn:hover {
      background: #f0f4f9;
      color: #1f1f1f;
    }
    .mc-preview-content {
      flex: 1;
      overflow: auto;
      background: #f0f4f9;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      position: relative;
    }

    /* ROW & CARD SELECTION (Google Drive Blue Highlight) */
    .g-file-row.selected {
      background: #c2e7ff !important;
      border-left: 3px solid #0b57d0 !important;
    }
    .g-folder-card.selected {
      background: #c2e7ff !important;
      border-color: #0b57d0 !important;
    }
    .mc-preview-trigger {
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 10px;
    }
    .mc-preview-trigger:hover span {
      text-decoration: underline;
      color: #60a5fa;
    }
