.viscard-pro-dashboard {
  background: #f3f4f6;
  color: #0f172a;
  font-weight: 400;
}

.viscard-pro-dashboard .admin-content {
  padding: 22px;
}

.viscard-pro-dashboard .admin-content-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.viscard-pro-dashboard .admin-sidebar {
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
}

.viscard-pro-dashboard .sidebar-brand {
  min-height: 56px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-color: #e2e8f0;
}

.viscard-pro-dashboard .sidebar-brand__text strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.viscard-pro-dashboard .sidebar-brand__text small {
  font-size: 12px;
  color: #64748b;
}

.viscard-pro-dashboard .sidebar-nav {
  gap: 8px;
}

.viscard-pro-dashboard .nav-item {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #334155;
  border: 1px solid transparent;
}

.viscard-pro-dashboard .nav-item i {
  font-size: 17px;
  width: 18px;
  text-align: center;
}

.viscard-pro-dashboard .nav-item:hover {
  background: #f8fafc;
}

.viscard-pro-dashboard .nav-item.is-active {
  background: #ecf2ff;
  border-color: #dbe6ff;
  color: #1d4ed8;
  font-weight: 500;
}

.viscard-pro-dashboard .admin-topbar {
  min-height: 74px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: blur(8px);
}

.viscard-pro-dashboard .breadcrumb {
  color: #64748b;
}

.viscard-pro-dashboard .breadcrumb-item.active {
  color: #0f172a;
}

.viscard-pro-dashboard .dashboard-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.viscard-pro-dashboard .dashboard-page-header__eyebrow {
  margin: 0;
}

.viscard-pro-dashboard .dashboard-page-header__title {
  margin: 6px 0;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.viscard-pro-dashboard .dashboard-page-header__desc {
  margin: 0;
  max-width: 760px;
  font-size: 13px;
}

.viscard-pro-editor-002 .dashboard-page-header {
  align-items: flex-start;
  gap: 14px;
}

.viscard-pro-editor-002 .dashboard-page-header__eyebrow {
  margin-bottom: 4px;
}

.viscard-pro-editor-002 .dashboard-page-header__title {
  margin: 2px 0 10px;
  font-weight: 500;
}

.viscard-pro-editor-002 .pro-template-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #f8fbff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1d4ed8;
}

.viscard-pro-dashboard .panel,
.viscard-pro-dashboard .metric-card {
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.viscard-pro-editor-002 .panel {
  border-radius: 22px;
  border-color: #e2e8f0;
  box-shadow: none;
}

.viscard-pro-dashboard .panel__header {
  padding: 20px 22px 14px;
}

.viscard-pro-dashboard .panel__body {
  padding: 16px 22px 22px;
}

.viscard-pro-editor-002 .panel__header {
  padding: 22px 24px 12px;
}

.viscard-pro-editor-002 .panel__body {
  padding: 16px 24px 24px;
}

.viscard-pro-dashboard .panel__title {
  font-weight: 500;
  letter-spacing: -0.01em;
}

.viscard-pro-dashboard .panel__desc {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #6b7280;
}

.viscard-pro-dashboard .btn {
  border-radius: 12px;
  min-height: 40px;
  font-size: 14px;
  font-weight: 500;
}

.viscard-pro-dashboard .btn--sm {
  min-height: 36px;
}

.viscard-pro-dashboard .btn-primary {
  background: linear-gradient(135deg, #7b5cff, #62b3ff);
  border-color: transparent;
}

.viscard-pro-dashboard .btn-secondary {
  border-color: #dbe3ef;
  background: #ffffff;
}

.viscard-pro-dashboard .input,
.viscard-pro-dashboard .select,
.viscard-pro-dashboard .textarea {
  min-height: 42px;
  border-radius: 12px;
  border-color: #d1d5db;
  font-size: 14px;
  font-weight: 400;
  color: #0f172a;
  background: #ffffff;
}

.viscard-pro-dashboard .textarea {
  min-height: 96px;
}

.viscard-pro-dashboard .input:focus,
.viscard-pro-dashboard .select:focus,
.viscard-pro-dashboard .textarea:focus {
  border-color: #9ca3af;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06);
}

.viscard-pro-dashboard .form-label {
  display: inline-block;
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #475569;
}

.viscard-pro-dashboard .form-field--full {
  grid-column: 1 / -1;
}

.viscard-pro-dashboard .autosave-status {
  font-size: 12px;
  margin: 0 0 8px;
}

.viscard-pro-dashboard .editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.viscard-pro-editor-002 .editor-layout,
.viscard-pro-editor-002 .editor-sections,
.viscard-pro-editor-002 .panel,
.viscard-pro-editor-002 .panel__body {
  min-width: 0;
}

.viscard-pro-dashboard .editor-sections {
  display: grid;
  gap: 16px;
}

.viscard-pro-dashboard .preview-shell {
  position: sticky;
  top: 24px;
}

.viscard-pro-dashboard .preview-shell .panel {
  overflow: hidden;
}

.viscard-pro-dashboard .page-preview-frame {
  width: 100%;
  min-height: 72vh;
  height: calc(100vh - 242px);
  border: 0;
  background: #f8fafc;
}

.viscard-pro-editor-002 .preview-shell {
  top: 20px;
}

.viscard-pro-editor-002 .preview-shell .panel__body--no-padding {
  display: flex;
  justify-content: center;
  background: #f8fafc;
}

.viscard-pro-editor-002 .page-preview-frame {
  display: block;
  width: min(100%, 430px);
  min-height: 680px;
  height: calc(100vh - 252px);
  margin: 0 auto;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  background: #ffffff;
}

.viscard-pro-dashboard .form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.viscard-pro-dashboard .pro-theme-inline {
  align-self: end;
}

.viscard-pro-dashboard .accent-input-wrap {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
}

.viscard-pro-editor-002 .accent-input-wrap {
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
}

.viscard-pro-editor-002 .theme-color-control {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.viscard-pro-dashboard .input--color {
  min-height: 42px;
  padding: 4px;
  cursor: pointer;
}

.viscard-pro-editor-002 .input--color {
  width: 56px;
  min-height: 48px;
  height: 48px;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

.viscard-pro-editor-002 #accentColorText,
.viscard-pro-editor-002 #solidThemeColorText {
  min-height: 48px;
  height: 48px;
}

.viscard-pro-dashboard .theme-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.viscard-pro-dashboard .theme-chip {
  position: relative;
  display: block;
}

.viscard-pro-dashboard .theme-chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.viscard-pro-dashboard .theme-chip span {
  display: inline-flex;
  width: 100%;
  min-height: 38px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #334155;
  background: #ffffff;
}

.viscard-pro-editor-002 .theme-chip span {
  min-height: 42px;
  border-radius: 14px;
  font-weight: 500;
}

.viscard-pro-dashboard .theme-chip input:checked + span {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

.viscard-pro-editor-002 .theme-preset-groups {
  margin-top: 12px;
}

.viscard-pro-editor-002 .theme-solid-custom {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
}

.viscard-pro-editor-002 .theme-solid-custom.is-active {
  display: grid;
  gap: 10px;
}

.viscard-pro-editor-002 .theme-preset-group {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.viscard-pro-editor-002 .theme-preset-group.is-active {
  display: grid;
}

.viscard-pro-editor-002 .theme-preset-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  padding: 8px;
  text-align: left;
  display: grid;
  gap: 6px;
  cursor: pointer;
  box-shadow: none;
  outline: none;
}

.viscard-pro-editor-002 .theme-preset-card::before,
.viscard-pro-editor-002 .theme-preset-card::after {
  box-shadow: none;
  outline: none;
}

.viscard-pro-editor-002 .theme-preset-card__swatch {
  height: 26px;
  border-radius: 12px;
  border: none;
  outline: none;
  box-shadow: none;
}

.viscard-pro-editor-002 .theme-preset-card__label {
  font-size: 11px;
  font-weight: 600;
  color: #334155;
}

.viscard-pro-editor-002 .theme-preset-card.is-selected {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.viscard-pro-editor-002 .theme-preset-card.is-selected .theme-preset-card__swatch {
  border: none;
  outline: none;
  box-shadow: none;
}

.viscard-pro-editor-002 .theme-preset-card:focus-visible {
  outline: none;
}

.viscard-pro-dashboard .upload-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.viscard-pro-dashboard .upload-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  background: #fcfcfd;
  display: grid;
  gap: 9px;
}

.viscard-pro-editor-002 .upload-card {
  border-color: #e2e8f0;
  border-radius: 18px;
  background: #fbfcfe;
  padding: 16px;
}

.viscard-pro-editor-002 .upload-card-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 360px;
}

.viscard-pro-dashboard .upload-card__label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.viscard-pro-dashboard .upload-card__help {
  margin: 0;
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

.viscard-pro-dashboard .upload-picker {
  min-height: 40px;
  border-radius: 12px;
  border: 1px dashed #cfd5dd;
  background: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.viscard-pro-editor-002 .upload-picker {
  min-height: 42px;
  border-color: #cfd8e3;
}

.viscard-pro-dashboard .upload-picker:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.viscard-pro-dashboard .upload-picker__input {
  display: none;
}

.viscard-pro-dashboard .upload-preview {
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  min-height: 88px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.viscard-pro-editor-002 .upload-preview {
  border-radius: 12px;
  border-color: #e2e8f0;
  background: #ffffff;
}

.viscard-pro-dashboard .upload-preview.is-empty span {
  font-size: 11px;
  color: #94a3b8;
}

.viscard-pro-editor-002 .upload-remove-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #475569;
}

.viscard-pro-editor-002 .upload-remove-toggle input {
  width: 16px;
  height: 16px;
}

.viscard-pro-editor-002 .photo-adjust-grid {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
  display: grid;
  gap: 6px;
}

.viscard-pro-editor-002 .photo-adjust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.viscard-pro-editor-002 .photo-adjust-value {
  font-size: 11px;
  font-weight: 600;
  color: #334155;
}

.viscard-pro-editor-002 .photo-adjust-grid input[type="range"] {
  width: 100%;
  accent-color: #2563eb;
}

.viscard-pro-dashboard .upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.viscard-pro-dashboard .upload-preview--cover {
  min-height: 108px;
}

.viscard-pro-dashboard .switch-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #334155;
}

.viscard-pro-dashboard .switch-toggle input {
  width: 36px;
  height: 20px;
  accent-color: #2563eb;
}

.viscard-pro-editor-002 .switch-toggle input {
  appearance: none;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #e2e8f0;
  position: relative;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.viscard-pro-editor-002 .switch-toggle input::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
  transition: transform 0.18s ease;
}

.viscard-pro-editor-002 .switch-toggle input:checked {
  background: #2563eb;
  border-color: #2563eb;
}

.viscard-pro-editor-002 .switch-toggle input:checked::after {
  transform: translateX(18px);
}

.viscard-pro-dashboard .stat-row-card {
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  padding: 10px;
  background: #ffffff;
}

.viscard-pro-editor-002 .stat-row-card {
  border-color: #e2e8f0;
  border-radius: 16px;
  padding: 12px;
}

.viscard-pro-dashboard .social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.viscard-pro-dashboard .social-input {
  display: grid;
  gap: 6px;
}

.viscard-pro-editor-002 .social-input {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px;
  background: #fbfcfe;
}

.viscard-pro-dashboard .social-input__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #334155;
  font-weight: 500;
}

.viscard-pro-dashboard .social-input__label i {
  font-size: 15px;
  color: #64748b;
}

.viscard-pro-dashboard .pro-help-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.viscard-pro-dashboard .pro-link-tab-row {
  display: grid;
  grid-template-columns: minmax(118px, 0.46fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 10px;
  align-items: end;
}

.viscard-pro-editor-002 .pro-link-tab-row {
  grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 12px;
}

.viscard-pro-dashboard .pro-link-tab-row__icon .input {
  text-align: center;
}

.viscard-pro-dashboard .link-row-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 12px;
  display: grid;
  gap: 10px;
  background: #fcfcfd;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.viscard-pro-editor-002 .link-row-card {
  border-color: #e2e8f0;
  border-radius: 18px;
  padding: 14px;
  background: #fbfcfe;
}

.viscard-pro-dashboard .link-row-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.viscard-pro-dashboard .link-row-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.viscard-pro-dashboard .link-row-index {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
}

.viscard-pro-editor-002 .icon-picker-wrap {
  position: relative;
}

.viscard-pro-editor-002 .icon-picker-trigger {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 12px;
  cursor: pointer;
}

.viscard-pro-editor-002 .icon-picker-trigger__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #0f172a;
}

.viscard-pro-editor-002 .icon-picker-trigger__text {
  font-size: 12px;
  font-weight: 500;
  color: #475569;
}

.viscard-pro-dashboard .cta-mini-preview {
  min-height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 12px;
  color: #334155;
}

.viscard-pro-editor-002 .cta-mini-preview {
  justify-content: flex-start;
  border-color: #dbe3ef;
  background: #ffffff;
}

.viscard-pro-editor-002 .link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.viscard-pro-dashboard .cta-mini-preview__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.viscard-pro-dashboard .dynamic-stat-row {
  align-items: end;
}

.viscard-pro-dashboard .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.viscard-pro-dashboard .is-hidden {
  display: none !important;
}

.viscard-pro-dashboard .icon-picker-popover {
  position: absolute;
  z-index: 3000;
  width: min(340px, calc(100vw - 20px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border-radius: 14px;
  border: 1px solid #dbe3ef;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.viscard-pro-dashboard .icon-picker-option {
  min-height: 38px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 10px;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
}

.viscard-pro-dashboard .icon-picker-option i {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #0f172a;
}

.viscard-pro-dashboard .icon-picker-option:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.viscard-pro-dashboard .pro-template-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.viscard-pro-dashboard .template-card {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.viscard-pro-dashboard .template-card__preview {
  width: 100%;
  min-height: 190px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viscard-pro-dashboard .template-card__preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.viscard-pro-dashboard .template-card__preview-fallback {
  width: 100%;
  height: 100%;
}

.viscard-pro-dashboard .template-preview-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.viscard-pro-dashboard .template-preview-mini .mini-phone {
  position: relative;
  width: 122px;
  height: 166px;
  border-radius: 24px;
  border: 1px solid #dbe4ef;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  padding: 10px;
  display: grid;
  align-content: start;
  gap: 6px;
}

.viscard-pro-dashboard .template-preview-mini .mini-cover,
.viscard-pro-dashboard .template-preview-mini .mini-gradient,
.viscard-pro-dashboard .template-preview-mini .mini-avatar,
.viscard-pro-dashboard .template-preview-mini .mini-profile-card,
.viscard-pro-dashboard .template-preview-mini .mini-social-row,
.viscard-pro-dashboard .template-preview-mini .mini-button,
.viscard-pro-dashboard .template-preview-mini .mini-card {
  display: none;
}

.viscard-pro-dashboard .template-preview-mini .mini-line {
  height: 7px;
  border-radius: 999px;
  background: #e2e8f0;
}

.viscard-pro-dashboard .template-preview-mini .mini-line--name {
  width: 72%;
  margin-top: 4px;
}

.viscard-pro-dashboard .template-preview-mini--biolink-pro-001 .mini-cover {
  display: block;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fafc, #e2e8f0);
}

.viscard-pro-dashboard .template-preview-mini--biolink-pro-001 .mini-avatar {
  display: block;
  width: 30px;
  height: 30px;
  margin: -18px auto 0;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #6d5bff;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  line-height: 26px;
}

.viscard-pro-dashboard .template-preview-mini--biolink-pro-001 .mini-button {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.viscard-pro-dashboard .template-preview-mini--biolink-pro-001 .mini-card {
  display: block;
  height: 12px;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.viscard-pro-dashboard .template-preview-mini--biolink-pro-002 .mini-phone {
  background: linear-gradient(180deg, #eff6ff, #f8fafc 42%, #ffffff 100%);
}

.viscard-pro-dashboard .template-preview-mini--biolink-pro-002 .mini-gradient {
  display: block;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #38bdf8);
}

.viscard-pro-dashboard .template-preview-mini--biolink-pro-002 .mini-profile-card {
  display: block;
  height: 28px;
  margin-top: -18px;
  border-radius: 10px;
  border: 1px solid #dbeafe;
  background: rgba(255, 255, 255, 0.92);
}

.viscard-pro-dashboard .template-preview-mini--biolink-pro-002 .mini-social-row {
  display: flex;
  gap: 4px;
}

.viscard-pro-dashboard .template-preview-mini--biolink-pro-002 .mini-social-row span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #81e6d9;
}

.viscard-pro-dashboard .template-preview-mini--biolink-pro-002 .mini-card {
  display: block;
  height: 14px;
  border-radius: 10px;
  border: 1px solid #dbeafe;
  background: #ffffff;
}

.viscard-pro-dashboard .template-preview-mini--biolink-pro-002 .mini-avatar {
  display: block;
  width: 30px;
  height: 30px;
  margin: -18px auto 0;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #0d4a5a;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  line-height: 26px;
}

.viscard-pro-dashboard .template-card__preview-fallback.is-hidden,
.viscard-pro-dashboard .template-card__preview-image.is-hidden {
  display: none;
}

.viscard-pro-dashboard .template-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
}

.viscard-pro-dashboard .template-card__name,
.viscard-pro-dashboard .template-card__desc {
  margin: 0;
  font-size: 12px;
}

.viscard-pro-dashboard .template-card__sample {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 10px;
  background: #ffffff;
  display: grid;
  gap: 4px;
}

.viscard-pro-dashboard .template-card__sample-name {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
}

.viscard-pro-dashboard .template-card__sample-role {
  margin: 0;
  font-size: 11px;
}

.viscard-pro-dashboard .template-card__sample-links {
  display: flex;
  gap: 6px;
}

.viscard-pro-dashboard .template-card__sample-links span {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: #e2e8f0;
}

.viscard-pro-dashboard .template-card__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.viscard-pro-dashboard .template-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.viscard-pro-dashboard .status-pill--ready {
  background: #ffffff;
  border-color: #dbe3ef;
  color: #475569;
}

.viscard-pro-preview {
  min-height: 100vh;
  margin: 0;
}

.viscard-pro-preview .pro-preview-topbar {
  min-height: 74px;
  padding: 14px 18px;
  border-bottom: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.viscard-pro-preview .pro-preview-title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
}

.viscard-pro-preview .pro-preview-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.viscard-pro-preview .pro-preview-frame-wrap {
  padding: 18px;
}

.viscard-pro-preview .pro-preview-frame {
  width: 100%;
  height: calc(100vh - 112px);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
}

.viscard-pro-preview .pro-preview-frame img,
.biolink-pro-002 img {
  max-width: 100%;
}

@media (max-width: 900px) {
  .viscard-pro-dashboard .dashboard-page-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .viscard-pro-dashboard .editor-layout {
    grid-template-columns: 1fr;
  }
  .viscard-pro-dashboard .preview-shell {
    position: static;
  }
  .viscard-pro-dashboard .page-preview-frame {
    min-height: 520px;
    height: 70vh;
  }
  .viscard-pro-editor-002 .page-preview-frame {
    width: 100%;
    max-width: 100%;
    min-height: 560px;
    height: 72vh;
    border-left: 0;
    border-right: 0;
  }
}

@media (max-width: 768px) {
  .viscard-pro-dashboard .admin-content {
    padding: 14px;
  }
  .viscard-pro-dashboard .panel__header,
  .viscard-pro-dashboard .panel__body {
    padding: 14px;
  }
  .viscard-pro-preview .pro-preview-frame-wrap {
    padding: 12px;
  }
  .viscard-pro-preview .pro-preview-frame {
    height: calc(100vh - 116px);
  }
  .viscard-pro-dashboard .pro-link-tab-row {
    grid-template-columns: 1fr;
  }
  .viscard-pro-dashboard .upload-card-grid,
  .viscard-pro-dashboard .social-grid,
  .viscard-pro-dashboard .form-grid-2,
  .viscard-pro-dashboard .theme-chip-grid {
    grid-template-columns: 1fr;
  }
  .viscard-pro-dashboard .accent-input-wrap {
    grid-template-columns: 1fr;
  }
  .viscard-pro-editor-002 .link-grid .btn {
    flex: 1 1 180px;
  }
}
