/* VNRESS SHARE CORE 5.0 - Google Drive Home Frontend Stylesheet */
.vns-drive-shell, .vns-hub, .vns-section-wrap, .vns-submit-wrap, .vns-account-wrap, .vns-unlock-wrap, .vns-community-wrap, .vns-admin-wrap {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1f1f1f;
  box-sizing: border-box;
}
.vns-drive-shell *, .vns-hub *, .vns-section-wrap *, .vns-modal * { box-sizing: border-box; }

/* Google Drive Workspace Shell (used when third-party theme is active) */
.vns-drive-shell {
  display: flex;
  min-height: 760px;
  background: #f8fafd;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  max-width: 1520px;
  margin: 0 auto;
  position: relative;
}
.vns-drive-sidebar {
  width: 248px;
  flex-shrink: 0;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f8fafd;
}
.vns-drive-brand-row { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 14px; }
.vns-drive-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #1f1f1f; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.vns-drive-logo { width: 34px; height: 34px; border-radius: 10px; background: #0b57d0; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.vns-drive-logo svg { width: 18px; height: 18px; }
.vns-drive-new-wrap { padding: 0 2px 14px; }
.vns-drive-new-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #1f1f1f;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  transition: background 0.15s, box-shadow 0.15s;
}
.vns-drive-new-btn:hover { background: #edf2fa; box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1); }
.vns-drive-new-btn svg { width: 18px; height: 18px; color: #0b57d0; }

.vns-drive-nav { display: flex; flex-direction: column; gap: 3px; }
.vns-drive-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #444746;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.vns-drive-nav-item:hover { background: #e9eef6; color: #1f1f1f; }
.vns-drive-nav-item.is-active { background: #c2e7ff; color: #001d35; font-weight: 600; }
.vns-drive-nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }

.vns-drive-quota-card { margin-top: 20px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #e2e8f0; }
.vns-drive-quota-head { display: flex; justify-content: space-between; font-size: 12px; color: #444746; }
.vns-drive-quota-head strong { color: #0b57d0; font-variant-numeric: tabular-nums; }
.vns-drive-quota-bar { height: 6px; border-radius: 99px; background: #e2e8f0; overflow: hidden; margin: 10px 0 8px; }
.vns-drive-quota-fill { height: 100%; background: #0b57d0; border-radius: 99px; }
.vns-drive-quota-meta { margin: 0; font-size: 11px; color: #64748b; }

.vns-drive-main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 0 14px 16px 4px; }
.vns-drive-topbar { display: flex; align-items: center; gap: 10px; padding: 12px 4px; }
.vns-drive-search-pill {
  flex: 1;
  max-width: 720px;
  height: 44px;
  border-radius: 999px;
  background: #e9eef6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  transition: background 0.15s, box-shadow 0.15s;
}
.vns-drive-search-pill:focus-within { background: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1); }
.vns-drive-search-pill svg { width: 17px; height: 17px; color: #444746; flex-shrink: 0; }
.vns-drive-search-input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  font-size: 14px;
  color: #1f1f1f;
  outline: none;
  min-width: 0;
  padding: 0 !important;
  box-shadow: none !important;
}
.vns-drive-source-inline { border: none; border-left: 1px solid #cbd5e1; background: transparent; padding-left: 10px; font-size: 12px; font-weight: 500; color: #444746; outline: none; cursor: pointer; }
.vns-drive-topbar-upload { border: none; background: #0b57d0; color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.vns-drive-sheet { flex: 1; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 22px 24px; }
.vns-mobile-only { display: none; }
.vns-drive-backdrop { display: none; }
.vns-icon-btn { width: 38px; height: 38px; border-radius: 999px; border: none; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #444746; font-size: 22px; }
.vns-icon-btn svg { width: 20px; height: 20px; }
.vns-icon-btn:hover { background: #e9eef6; }

/* Standalone & Theme-integrated wrappers */
.vns-hub, .vns-section-wrap { max-width: 1400px; margin: 0 auto; }
.vns-drive-sheet .vns-hub, .vnd-workspace-sheet .vns-hub,
.vns-drive-sheet .vns-section-wrap, .vnd-workspace-sheet .vns-section-wrap { max-width: none; padding: 0; }
.vns-standalone-source, .vns-standalone-search { display: inline-block; width: 190px; }
.vns-drive-sheet .vns-standalone-source,
.vns-drive-sheet .vns-standalone-search,
.vnd-workspace-sheet .vns-standalone-search { display: none; }
@media (min-width: 961px) {
  .vnd-workspace-sheet .vns-standalone-source { display: none; }
}

/* Common Page Headers & Cards */
.vns-page-head-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.vns-page-heading { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.vns-page-sub { margin: 4px 0 0; font-size: 13px; color: #5f6368; }
.vns-panel-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; margin-bottom: 16px; }
.vns-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.vns-panel-head h3 { margin: 0; font-size: 15px; font-weight: 600; }

.vns-stat-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.vns-stat-card { background: #f0f4f9; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; }
.vns-stat-card span { display: block; font-size: 12px; color: #5f6368; }
.vns-stat-card strong { display: block; margin-top: 4px; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }

.vns-user-badge-row { display: flex; align-items: center; gap: 8px; }
.vns-user-chip { padding: 6px 12px; border-radius: 999px; background: #c2e7ff; color: #001d35; font-size: 12.5px; font-weight: 600; }
.vns-status-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #e9eef6; color: #444746; }
.vns-status-badge.is-ok { background: #dcfce7; color: #166534; }
.vns-status-badge.is-wait { background: #fef3c7; color: #92400e; }
.vns-status-badge.is-err { background: #fee2e2; color: #991b1b; }

/* Buttons & Inputs */
.vns-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 9px 18px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; border: 1px solid transparent; transition: background 0.15s, border-color 0.15s; white-space: nowrap; }
.vns-btn-primary { background: #0b57d0; color: #fff; }
.vns-btn-primary:hover { background: #0842a0; }
.vns-btn-outline { background: #fff; color: #0b57d0; border-color: #cbd5e1; }
.vns-btn-outline:hover { background: #edf2fa; }
.vns-btn-mini { border: 1px solid #cbd5e1; background: #fff; color: #1f1f1f; border-radius: 7px; padding: 4px 10px; font-size: 11.5px; font-weight: 600; cursor: pointer; margin-left: 4px; }
.vns-btn-mini.is-primary { background: #0b57d0; color: #fff; border-color: #0b57d0; }
.vns-btn-mini.is-danger { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.vns-input, .vns-select, .vns-textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 8px 12px; font-size: 13px; background: #fff; color: #1f1f1f; }
.vns-input:focus, .vns-select:focus, .vns-textarea:focus { outline: none; border-color: #0b57d0; }

/* Hub Header, View Switcher & Material 3 Filter Chips */
.vns-hub-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.vns-hub-title { margin: 0; font-size: 22px; font-weight: 600; color: #1f1f1f; letter-spacing: -0.02em; }
.vns-hub-sub { margin: 4px 0 0; font-size: 12.5px; color: #5f6368; font-variant-numeric: tabular-nums; }
.vns-dot { margin: 0 5px; }
.vns-hub-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vns-hub-controls .vns-select { width: auto; height: 36px; border-radius: 8px; }

.vns-view-switch { display: inline-flex; border: 1px solid #cbd5e1; border-radius: 999px; overflow: hidden; background: #fff; }
.vns-view-btn { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border: none; background: transparent; color: #444746; font-size: 12px; font-weight: 500; cursor: pointer; }
.vns-view-btn + .vns-view-btn { border-left: 1px solid #cbd5e1; }
.vns-view-btn svg { width: 14px; height: 14px; }
.vns-view-btn.is-active { background: #c2e7ff; color: #001d35; font-weight: 600; }

.vns-cat-bar, .vns-admin-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 6px; }
.vns-admin-tabs { padding: 0 0 14px; }
.vns-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #444746;
  border-radius: 8px;
  padding: 0 13px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
.vns-cat-btn:hover { background: #f0f4f9; }
.vns-cat-check { display: none; font-size: 12px; }
.vns-cat-btn.is-active { background: #c2e7ff; color: #001d35; border-color: transparent; font-weight: 600; }
.vns-cat-btn.is-active .vns-cat-check { display: inline; }

/* Suggested Quick-Access Row */
.vns-suggested-section { margin-top: 18px; }
.vns-section-label { margin: 0 0 10px; font-size: 13.5px; font-weight: 600; color: #444746; }
.vns-suggested-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.vns-sug-card { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #f0f4f9; border: 1px solid #e2e8f0; transition: background 0.15s; }
.vns-sug-card:hover { background: #e9eef6; }
.vns-sug-main { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; border: none; background: transparent; padding: 0; text-align: left; cursor: pointer; }
.vns-sug-icon { width: 34px; height: 34px; border-radius: 8px; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vns-sug-text { min-width: 0; display: flex; flex-direction: column; }
.vns-sug-text strong { font-size: 12.5px; font-weight: 600; color: #1f1f1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vns-sug-text small { font-size: 11px; color: #5f6368; margin-top: 2px; }
.vns-sug-dl { width: 30px; height: 30px; border-radius: 999px; border: none; background: transparent; color: #444746; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.vns-sug-dl:hover { background: #fff; color: #0b57d0; }
.vns-sug-dl svg { width: 15px; height: 15px; }

.vns-library-head { margin-top: 22px; }

/* Drive File Type Icons & Color-Coded Badges */
.vns-file-icon { width: 16px; height: 16px; flex-shrink: 0; }
.vns-file-icon.is-link, .vns-file-icon.is-code { color: #0b57d0; }
.vns-file-icon.is-media { color: #e11d48; }
.vns-file-icon.is-doc { color: #059669; }
.vns-file-icon.is-archive { color: #64748b; }

.vns-mini-badge {
  width: 17px;
  height: 17px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.vns-mini-badge svg { width: 11px; height: 11px; }
.vns-mini-badge.is-pdf { background: #ea4335; }
.vns-mini-badge.is-sheet { background: #0f9d58; }
.vns-mini-badge.is-archive { background: #5f6368; }
.vns-mini-badge.is-ebook { background: #4f46e5; }
.vns-mini-badge.is-doc { background: #4285f4; }

/* 5-Column Drive File Cards Desktop / 2-Column Compact Mobile */
.vns-grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.vns-card { display: flex; flex-direction: column; justify-content: space-between; background: #f0f4f9; border: 1px solid transparent; border-radius: 12px; padding: 10px; transition: background 0.15s, border-color 0.15s; }
.vns-card:hover { background: #e9eef6; border-color: #cbd5e1; }
.vns-card-top-btn { display: flex; align-items: center; gap: 8px; width: 100%; border: none; background: transparent; padding: 0 2px 8px; text-align: left; cursor: pointer; }
.vns-card-title { margin: 0; font-size: 13px; font-weight: 500; color: #1f1f1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vns-card:hover .vns-card-title { color: #0b57d0; }
.vns-card-frame { border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid #e2e8f0; cursor: pointer; }
.vns-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #fff; }
.vns-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.vns-card:hover .vns-card-media img { transform: scale(1.05); }
.vns-card-fallback { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; background: #ffffff; }
.vns-fallback-tile { width: 52px; height: 52px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #ffffff; background: #0b57d0; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12); }
.vns-fallback-tile svg { width: 26px; height: 26px; }
.vns-fallback-tile.is-archive { background: #5f6368; }
.vns-fallback-tile.is-pdf { background: #ea4335; }
.vns-fallback-tile.is-ebook { background: #4f46e5; }
.vns-fallback-tile.is-sheet { background: #0f9d58; }
.vns-fallback-tile.is-doc { background: #4285f4; }
.vns-fallback-tile.is-slides { background: #d97706; }
.vns-fallback-tile.is-media { background: #e11d48; }
.vns-fallback-tile.is-video { background: #7c3aed; }
.vns-ext { font-family: monospace; font-size: 11px; font-weight: 700; color: #64748b; letter-spacing: 0.05em; }

.vns-cover-preview-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid #e2e8f0; background: #f8fafd; margin-bottom: 14px; }
.vns-cover-preview-thumb { width: 88px; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; border: 1px solid #cbd5e1; background: #fff; flex-shrink: 0; }
.vns-cover-preview-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vns-cover-preview-thumb .vns-fallback-tile { width: 32px; height: 32px; border-radius: 8px; }
.vns-cover-preview-thumb .vns-fallback-tile svg { width: 16px; height: 16px; }
.vns-cover-preview-thumb .vns-card-fallback { gap: 3px; padding: 4px; }
.vns-cover-preview-thumb .vns-ext { font-size: 9px; }
.vns-cover-preview-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vns-cover-preview-info strong { font-size: 12.5px; color: #1f1f1f; }
.vns-cover-preview-info span { font-size: 11.5px; color: #5f6368; }
.vns-card-hover-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; padding: 8px 10px; background: linear-gradient(to top, rgba(15, 23, 42, 0.72), transparent 60%); color: #fff; font-size: 11px; font-weight: 600; opacity: 0; transition: opacity 0.2s ease; }
.vns-card:hover .vns-card-hover-overlay { opacity: 1; }
.vns-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-top: 9px; }
.vns-card-foot-meta { min-width: 0; display: flex; flex-direction: column; font-size: 11px; color: #5f6368; }
.vns-mono { font-family: monospace; font-weight: 600; color: #334155; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vns-card-dl { font-size: 11px; color: #5f6368; font-variant-numeric: tabular-nums; }
.vns-btn-dl { background: #fff; color: #0b57d0; border: 1px solid #cbd5e1; border-radius: 999px; padding: 5px 12px; font-size: 11.5px; font-weight: 600; cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.vns-btn-dl:hover { background: #0b57d0; color: #fff; border-color: #0b57d0; }
.vns-load-more-wrap { text-align: center; margin-top: 22px; }
.vns-empty-state { border: 1px dashed #cbd5e1; border-radius: 14px; padding: 36px 20px; text-align: center; background: #f8fafd; }
.vns-empty-state h3 { margin: 0 0 8px; font-size: 16px; }
.vns-empty-state p { margin: 0 0 16px; font-size: 13px; color: #5f6368; }

/* List View & Tables */
.vns-list-wrap, .vns-table-scroll { overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.vns-panel-card .vns-table-scroll { border: none; }
.vns-list-title-btn { display: inline-flex; align-items: center; gap: 8px; border: none; background: transparent; padding: 0; font-size: 13px; font-weight: 500; color: #1f1f1f; cursor: pointer; text-align: left; }
.vns-list-title-btn:hover { color: #0b57d0; }
.vns-table { width: 100%; border-collapse: collapse; background: #fff; }
.vns-table th, .vns-table td { padding: 11px 12px; border-bottom: 1px solid #f1f5f9; text-align: left; font-size: 13px; }
.vns-table th { font-size: 12px; font-weight: 600; color: #5f6368; }

/* Upload, Auth, Unlock & Community Grids */
.vns-upload-form { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 22px; max-width: 780px; }
.vns-modal-wide .vns-upload-form { border: none; padding: 0; max-width: none; }
.vns-mode-tabs, .vns-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #f1f5f9; padding: 4px; border-radius: 8px; margin-bottom: 16px; }
.vns-mode-btn { border: none; background: transparent; padding: 9px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; color: #475569; }
.vns-mode-btn.is-active { background: #fff; color: #0f172a; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.vns-dropzone { border: 2px dashed #cbd5e1; border-radius: 10px; padding: 22px 16px; text-align: center; background: #f8fafc; cursor: pointer; margin-bottom: 16px; }
.vns-dropzone.is-drag { border-color: #0b57d0; background: #eff6ff; }
.vns-drop-title { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.vns-drop-hint { margin: 0; font-size: 12px; color: #64748b; }
.vns-progress { height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden; margin-top: 12px; }
.vns-progress-bar { height: 100%; background: #0b57d0; transition: width 0.15s; }
.vns-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.vns-col-full { grid-column: 1 / -1; }
.vns-form-grid label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; color: #334155; }
.vns-alert { padding: 11px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 14px; }
.vns-alert.is-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.vns-alert.is-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

.vns-auth-panel { background: #f8fafd; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; margin-bottom: 18px; }
.vns-unlock-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
.vns-radio-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #cbd5e1; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; background: #f8fafd; }
.vns-radio-left { display: flex; align-items: flex-start; gap: 10px; }
.vns-radio-left strong { display: block; font-size: 13.5px; }
.vns-radio-left small { display: block; font-size: 11.5px; color: #5f6368; }
.vns-price-tag { font-size: 13.5px; color: #0b57d0; white-space: nowrap; }
.vns-bank-meta { background: #f0f4f9; border-radius: 10px; padding: 12px 14px; font-size: 13px; margin-bottom: 14px; }
.vns-bank-meta p { margin: 4px 0; }
.vns-qr-placeholder { font-size: 13px; color: #5f6368; line-height: 1.6; }

.vns-community-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; align-items: start; }
.vns-idea-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; margin-bottom: 10px; }
.vns-idea-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11.5px; color: #5f6368; margin-bottom: 6px; }
.vns-idea-body h4 { margin: 0 0 6px; font-size: 15px; }
.vns-idea-body p { margin: 0; font-size: 13px; color: #475569; line-height: 1.55; }
.vns-vote-btn { display: inline-flex; flex-direction: column; align-items: center; min-width: 52px; border: 1px solid #cbd5e1; background: #f8fafd; border-radius: 10px; padding: 8px 10px; font-weight: 700; cursor: pointer; color: #1f1f1f; }
.vns-vote-btn:hover { background: #c2e7ff; color: #001d35; border-color: transparent; }

/* Modal */
.vns-modal { position: fixed; inset: 0; background: rgba(2, 6, 23, 0.6); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 99999; }
.vns-modal[hidden] { display: none; }
.vns-modal-card { width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 16px; border: 1px solid #e2e8f0; }
.vns-modal-wide { max-width: 680px; }
.vns-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #e2e8f0; }
.vns-modal-head h3 { margin: 0; font-size: 16px; font-weight: 600; }
.vns-modal-close { border: none; background: transparent; font-size: 22px; cursor: pointer; color: #64748b; }
.vns-modal-body { padding: 18px; font-size: 14px; }

/* Dark Theme Support when VNRESS Drive Theme toggles .vnd-dark */
html.vnd-dark .vns-hub, html.vnd-dark .vns-section-wrap, html.vnd-dark .vns-hub-title, html.vnd-dark .vns-page-heading, html.vnd-dark .vns-card-title, html.vnd-dark .vns-sug-text strong, html.vnd-dark .vns-list-title-btn, html.vnd-dark .vns-idea-body h4, html.vnd-dark .vns-cover-preview-info strong { color: #e3e3e3; }
html.vnd-dark .vns-panel-card, html.vnd-dark .vns-upload-form, html.vnd-dark .vns-auth-panel, html.vnd-dark .vns-idea-item, html.vnd-dark .vns-table, html.vnd-dark .vns-list-wrap, html.vnd-dark .vns-modal-card, html.vnd-dark .vns-card-frame, html.vnd-dark .vns-card-fallback, html.vnd-dark .vns-cover-preview-thumb, html.vnd-dark .vns-sug-icon, html.vnd-dark .vns-cat-btn, html.vnd-dark .vns-view-switch, html.vnd-dark .vns-select, html.vnd-dark .vns-input, html.vnd-dark .vns-textarea { background: #1e1f20; border-color: #333537; color: #e3e3e3; }
html.vnd-dark .vns-card, html.vnd-dark .vns-sug-card, html.vnd-dark .vns-stat-card, html.vnd-dark .vns-radio-card, html.vnd-dark .vns-bank-meta, html.vnd-dark .vns-dropzone, html.vnd-dark .vns-empty-state, html.vnd-dark .vns-cover-preview-row { background: #282a2c; border-color: #3c4043; }
html.vnd-dark .vns-cat-btn.is-active, html.vnd-dark .vns-view-btn.is-active { background: #004a77; color: #c2e7ff; }

/* Responsive Tablet & Mobile */
@media (max-width: 1180px) {
  .vns-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vns-suggested-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .vns-mobile-only { display: inline-flex; }
  .vns-drive-main { padding: 0 10px 14px; }
  .vns-drive-sheet { padding: 16px 14px; border-radius: 14px; }
  .vns-unlock-grid, .vns-community-grid, .vns-stat-grid-3 { grid-template-columns: 1fr; }
  .vns-drive-sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 10000; width: 268px; max-width: 85vw; transform: translateX(-105%); transition: transform 0.22s ease; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); }
  .vns-drive-sidebar.is-open { transform: translateX(0); }
  .vns-drive-backdrop.is-open { display: block; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.48); z-index: 9999; }
}
@media (max-width: 640px) {
  .vns-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vns-suggested-grid { grid-template-columns: 1fr; }
  .vns-drive-source-inline { display: none; }
  .vns-card { padding: 8px; border-radius: 10px; }
  .vns-card-title { font-size: 12px; }
  .vns-btn-dl { padding: 4px 10px; font-size: 11px; }
  .vns-hide-sm { display: none; }
  .vns-form-grid { grid-template-columns: 1fr; }
  .vns-hub-controls { width: 100%; justify-content: space-between; }
  .vns-hub-controls .vns-select { flex: 1 1 135px; }
  .vns-standalone-search { width: 100%; }
}
