/* [project]/styles/globals.css [app-client] (css) */
:root {
  --primary: #1a237e;
  --primary-light: #283593;
  --primary-dark: #0d1452;
  --accent: #3f51b5;
  --accent-light: #5c6bc0;
  --white: #fff;
  --gray-50: #f8f9fa;
  --gray-100: #f0f2f5;
  --gray-200: #e0e3e8;
  --gray-300: #c4c9d1;
  --gray-400: #9ea5b1;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --danger: #dc2626;
  --success: #16a34a;
  --warning: #f59e0b;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px #0000001a, 0 1px 2px #0000000f;
  --shadow-md: 0 4px 6px #0000001a, 0 2px 4px #0000000f;
  --shadow-lg: 0 10px 15px #0000001a, 0 4px 6px #0000000d;
  --transition: all .2s ease;
}

*, :before, :after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  color: var(--gray-800);
  background-color: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  line-height: 1.6;
}

#modal-root {
  z-index: 2147483647;
  pointer-events: none;
  position: fixed;
  inset: 0;
}

#modal-root > * {
  pointer-events: auto;
}

a {
  color: var(--primary);
  transition: var(--transition);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--gray-600);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  display: inline-flex;
}

.btn:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid #0000;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  color: var(--white);
}

.btn-outline {
  color: var(--primary);
  border: 2px solid var(--primary);
  background-color: #0000;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.lang-btn {
  white-space: nowrap;
  height: 48px;
  min-height: 48px;
  padding: 0 1rem;
  font-size: .9rem;
  line-height: 1;
}

.lang-btn .flag-emoji {
  font-size: 1.2rem;
}

.btn-ghost {
  color: var(--primary);
  background-color: #0000;
  border: none;
}

.btn-ghost:hover {
  background-color: var(--gray-100);
}

.btn-danger {
  background-color: var(--danger);
  color: var(--white);
}

.btn-danger:hover {
  color: var(--white);
  background-color: #b91c1c;
}

.text-center {
  text-align: center;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  color: var(--gray-700);
  margin-bottom: .375rem;
  font-size: .875rem;
  font-weight: 600;
  display: block;
}

.form-input {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background-color: var(--white);
  width: 100%;
  color: var(--gray-800);
  transition: var(--transition);
  outline: none;
  padding: .75rem 1rem;
  font-size: 1rem;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #1a237e1a;
}

.form-input:placeholder-shown {
  color: var(--gray-400);
}

.form-error {
  color: var(--danger);
  margin-top: .25rem;
  font-size: .8rem;
}

.auth-page {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  display: flex;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}

.auth-card h1 {
  text-align: center;
  margin-bottom: .5rem;
  font-size: 1.75rem;
}

.auth-card p.subtitle {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 2rem;
  font-size: .9rem;
}

.auth-card .form-group:last-of-type {
  margin-bottom: 1.5rem;
}

.auth-card .btn {
  width: 100%;
  padding: .875rem;
  font-size: 1rem;
}

.auth-footer {
  text-align: center;
  color: var(--gray-500);
  margin-top: 1.5rem;
  font-size: .875rem;
}

.auth-footer a {
  font-weight: 600;
}

.auth-error {
  color: var(--danger);
  border-radius: var(--radius);
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  margin-bottom: 1rem;
  padding: .75rem 1rem;
  font-size: .875rem;
}

.landing-header {
  z-index: 100;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  background-color: #fffffff2;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.landing-header .container {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.landing-header .logo {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}

.landing-header .logo span {
  color: var(--accent);
}

.landing-header nav {
  align-items: center;
  gap: 1rem;
  display: flex;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 8rem 0 5rem;
}

.hero h1 {
  color: var(--white);
  max-width: 800px;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 3rem;
}

.hero p {
  color: #ffffffd9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.2rem;
  line-height: 1.8;
}

.hero-buttons {
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  display: flex;
}

.hero-buttons .btn-primary {
  background-color: var(--white);
  color: var(--primary);
}

.hero-buttons .btn-primary:hover {
  background-color: var(--gray-100);
  color: var(--primary);
}

.hero-buttons .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.hero-buttons .btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

.features {
  background-color: var(--white);
  padding: 5rem 0;
}

.features h2 {
  text-align: center;
  color: var(--gray-900);
  margin-bottom: 3rem;
  font-size: 2rem;
}

.features-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  display: grid;
}

.feature-card {
  background-color: var(--gray-50);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  padding: 2rem;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
  transform: translateY(-4px);
}

.feature-icon {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.feature-card h3 {
  color: var(--gray-900);
  margin-bottom: .75rem;
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--gray-500);
  font-size: .9rem;
  line-height: 1.6;
}

.landing-footer {
  background-color: var(--gray-900);
  color: var(--gray-400);
  text-align: center;
  padding: 2rem 0;
}

.landing-footer p {
  color: var(--gray-400);
  font-size: .875rem;
}

.dashboard-layout {
  min-height: 100vh;
  display: flex;
}

.dashboard-sidebar {
  background-color: var(--primary);
  width: 260px;
  color: var(--white);
  z-index: 50;
  transition: var(--transition);
  flex-direction: column;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
}

.dashboard-sidebar .sidebar-header {
  border-bottom: 1px solid #ffffff1a;
  padding: 1.5rem;
}

.dashboard-sidebar .sidebar-header h2 {
  color: var(--white);
  font-size: 1.25rem;
}

.dashboard-sidebar .sidebar-header h2 span {
  color: var(--accent-light);
}

.dashboard-sidebar .sidebar-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

.dashboard-sidebar .sidebar-nav a, .dashboard-sidebar .sidebar-nav button {
  color: #fffc;
  cursor: pointer;
  width: 100%;
  transition: var(--transition);
  text-align: left;
  background: none;
  border: none;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.5rem;
  font-size: .925rem;
  text-decoration: none;
  display: flex;
}

.dashboard-sidebar .sidebar-nav a:hover, .dashboard-sidebar .sidebar-nav button:hover {
  color: var(--white);
  background-color: #ffffff1a;
}

.dashboard-sidebar .sidebar-nav a.active {
  color: var(--white);
  background-color: #ffffff26;
  font-weight: 600;
}

.sidebar-logout {
  border-top: 1px solid #ffffff1a;
  padding: 1rem 1.5rem;
}

.sidebar-logout form button {
  color: #ffffffb3;
  cursor: pointer;
  width: 100%;
  transition: var(--transition);
  background: none;
  border: none;
  align-items: center;
  gap: .75rem;
  padding: .75rem 0;
  font-size: .925rem;
  display: flex;
}

.sidebar-logout form button:hover {
  color: var(--white);
}

.dashboard-main {
  background-color: var(--gray-50);
  flex: 1;
  min-width: 0;
  min-height: 100vh;
  margin-left: 260px;
  padding: 2rem;
  overflow-x: hidden;
}

.dashboard-main .page-header {
  margin-bottom: 2rem;
}

.dashboard-main .page-header h1 {
  margin-bottom: .5rem;
  font-size: 1.75rem;
}

.dashboard-main .page-header p {
  color: var(--gray-500);
}

.dashboard-cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  display: grid;
}

.dashboard-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  padding: 1.5rem;
}

.dashboard-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.dashboard-card .card-icon {
  margin-bottom: .75rem;
  font-size: 2rem;
}

.dashboard-card .card-value {
  color: var(--gray-900);
  margin-bottom: .25rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.dashboard-card .card-label {
  color: var(--gray-500);
  font-size: .875rem;
}

.mobile-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  z-index: 55;
  align-items: center;
  gap: .5rem;
  height: 3.25rem;
  padding: 0 .75rem;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.mobile-topbar-title {
  color: var(--gray-800);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 1rem;
  font-weight: 700;
  overflow: hidden;
}

.mobile-hamburger {
  border-radius: var(--radius);
  cursor: pointer;
  background: none;
  border: none;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: .5rem;
  display: none;
  position: relative;
}

.mobile-hamburger-inner {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  display: flex;
  position: absolute;
  inset: .5rem;
}

.mobile-hamburger-inner span {
  background: var(--primary);
  transform-origin: center;
  border-radius: 2px;
  width: 1.4rem;
  height: 3px;
  transition: all .25s cubic-bezier(.34, 1.56, .64, 1);
  display: block;
}

.mobile-hamburger.open .mobile-hamburger-inner span:first-child {
  width: 1.2rem;
  transform: translateY(7px)rotate(45deg);
}

.mobile-hamburger.open .mobile-hamburger-inner span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-hamburger.open .mobile-hamburger-inner span:nth-child(3) {
  width: 1.2rem;
  transform: translateY(-7px)rotate(-45deg);
}

.mobile-overlay {
  -webkit-backdrop-filter: blur(3px);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  background: #00000073;
  transition: opacity .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s;
  position: fixed;
  inset: 0;
}

.mobile-overlay-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-sidebar {
  width: 280px;
  max-width: 85vw;
  color: var(--gray-800);
  z-index: 90;
  transform-origin: 0;
  background: linear-gradient(#fff 0%, #f8f9fc 100%);
  border-radius: 0 16px 16px 0;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  transform: translateX(-100%)scaleX(.88);
  box-shadow: 0 0 #0000;
}

.mobile-sidebar-open {
  border-radius: 0;
  transform: translateX(0)scaleX(1);
  box-shadow: 4px 0 30px #00000026;
}

.mobile-sidebar-header {
  border-bottom: 1px solid var(--gray-200);
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  display: flex;
}

.mobile-sidebar-header h2 {
  color: var(--primary);
  margin: 0;
  font-size: 1.25rem;
}

.mobile-sidebar-header h2 span {
  color: var(--accent);
}

.mobile-close {
  color: var(--gray-400);
  cursor: pointer;
  background: none;
  border: none;
  padding: .25rem;
  font-size: 1.25rem;
  line-height: 1;
  transition: color .2s, transform .2s;
}

.mobile-close:hover {
  color: var(--gray-700);
  transform: rotate(90deg);
}

.mobile-sidebar-nav {
  flex: 1;
  padding: .5rem 0;
  overflow-y: auto;
}

.mobile-sidebar-nav a {
  color: var(--gray-600);
  border-left: 3px solid #0000;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.5rem;
  font-size: .95rem;
  text-decoration: none;
  transition: all .2s;
  display: flex;
  position: relative;
}

.mobile-sidebar-nav a:after {
  content: "";
  background: var(--gray-100);
  opacity: 0;
  height: 1px;
  transition: opacity .2s;
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
}

.mobile-sidebar-nav a:last-child:after {
  display: none;
}

.mobile-sidebar-nav a:hover {
  background: var(--primary-lighter);
  color: var(--primary);
  border-left-color: var(--primary);
}

.mobile-sidebar-nav a.active {
  background: var(--primary-lighter);
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}

.mobile-sidebar-logout {
  border-top: 1px solid var(--gray-200);
  padding: 1rem 1.5rem;
}

.mobile-sidebar-logout form button {
  background: var(--gray-100);
  width: 100%;
  color: var(--gray-600);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  border: none;
  padding: .75rem;
  font-size: .9rem;
  transition: all .2s;
}

.mobile-sidebar-logout form button:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

@media (max-width: 768px) {
  .mobile-hamburger, .mobile-topbar {
    display: flex;
  }

  .dashboard-sidebar {
    display: none;
  }

  .dashboard-main {
    margin-left: 0;
    padding: 4rem .75rem 1rem !important;
  }

  .dashboard-main .rb-page-header {
    padding-left: 0;
  }

  .dashboard-layout {
    flex-direction: column;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .auth-card {
    padding: 2rem 1.5rem;
  }

  .landing-header nav a.btn {
    padding: .5rem 1rem;
    font-size: .85rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

.disclaimer-card {
  background: #fffbf0;
  border: 1px solid #f0d78c;
  border-left: 4px solid #e6a817;
  border-radius: 8px;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  display: flex;
}

.disclaimer-icon {
  flex-shrink: 0;
  margin-top: .1rem;
  font-size: 1.5rem;
}

.disclaimer-content {
  flex: 1;
}

.disclaimer-content h3 {
  color: #8a6d0b;
  margin: 0 0 .5rem;
  font-size: .95rem;
  font-weight: 600;
}

.disclaimer-content p {
  color: #5a4a1a;
  margin: 0 0 .4rem;
  font-size: .85rem;
  line-height: 1.5;
}

.disclaimer-content p:last-child {
  margin-bottom: 0;
}

.disclaimer-content strong {
  color: #8a6d0b;
}

.disclaimer-close {
  color: #8a6d0b;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: .1rem;
  padding: .3rem .8rem;
  font-size: .85rem;
  font-weight: 500;
  transition: background .2s;
}

.disclaimer-close:hover {
  background: #e6a81726;
}

.empty-state {
  text-align: center;
  background: var(--white);
  border: 2px dashed var(--gray-300);
  border-radius: 12px;
  padding: 4rem 2rem;
}

.empty-state-icon {
  margin-bottom: 1rem;
  font-size: 3rem;
}

.empty-state h3 {
  color: var(--gray-600);
  margin: 0 0 .5rem;
  font-size: 1.1rem;
}

.empty-state p {
  color: var(--gray-500);
  margin: 0 0 1.5rem;
  font-size: .9rem;
}

.page-content {
  max-width: 960px;
}

.form-select {
  border: 2px solid var(--gray-200);
  width: 100%;
  padding: .75rem 1rem;
  font-size: 1rem;
}

.rb-page-header {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
}

.rb-page-header-left {
  flex: 1;
  min-width: 250px;
}

.rb-page-header-actions {
  align-items: center;
  gap: .75rem;
  padding-top: .25rem;
  display: flex;
}

.rb-layout {
  grid-template-columns: 220px 1fr;
  align-items: start;
  gap: 1.5rem;
  display: grid;
}

.rb-toolbar {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  flex-direction: column;
  max-height: calc(100vh - 4rem);
  padding: 1.25rem;
  display: flex;
  position: sticky;
  top: 2rem;
}

.rb-toolbar-title {
  color: var(--gray-800);
  text-align: center;
  margin-bottom: 1rem;
  font-size: .95rem;
  font-weight: 700;
}

.rb-toolbar-grid {
  flex-direction: column;
  flex: 1;
  gap: .5rem;
  display: flex;
  overflow-y: auto;
}

.rb-toolbar-btn {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-50);
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-700);
  text-align: left;
  align-items: center;
  gap: .625rem;
  width: 100%;
  padding: .625rem .75rem;
  font-size: .875rem;
  font-weight: 500;
  display: flex;
}

.rb-toolbar-btn:hover {
  background: var(--white);
  border-color: var(--rb-accent, var(--primary));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--rb-accent, var(--primary)) 15%, transparent);
  transform: translateX(4px);
}

.rb-toolbar-icon {
  font-size: 1.2rem;
}

.rb-toolbar-label {
  flex: 1;
}

.rb-canvas {
  flex-direction: column;
  gap: 1rem;
  min-height: 300px;
  display: flex;
}

.rb-block-wrapper {
  transition: var(--transition);
  margin-bottom: .75rem;
}

.rb-drag-over {
  box-shadow: 0 0 0 2px var(--primary);
  transition: all .15s;
  transform: scale(1.02);
  border-color: var(--primary) !important;
  background: var(--primary-light, #eff6ff) !important;
}

.rb-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  cursor: default;
  overflow: hidden;
}

.rb-block:hover {
  box-shadow: var(--shadow-md);
}

.rb-block-collapsed {
  cursor: pointer;
}

.rb-block-expanded:not(.rb-fixed) {
  cursor: grab;
}

.rb-block-expanded:not(.rb-fixed):active {
  cursor: grabbing;
}

.rb-block-collapsed:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.rb-fixed {
  background: linear-gradient(135deg, var(--gray-50), var(--white));
  border-color: var(--gray-300);
}

.rb-block-header {
  align-items: center;
  gap: .75rem;
  padding: .875rem 1rem;
  display: flex;
}

.rb-block-header[draggable="true"] {
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.rb-block-header[draggable="true"]:active {
  cursor: grabbing;
}

.rb-block-collapsed .rb-block-header {
  padding: .875rem 1rem;
}

.rb-block-icon {
  background: var(--gray-100);
  border-radius: var(--radius);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  font-size: 1.25rem;
  display: flex;
}

.rb-block-label {
  flex: 1;
  min-width: 0;
}

.rb-block-label strong {
  color: var(--gray-800);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .925rem;
  display: block;
  overflow: hidden;
}

.rb-block-meta {
  color: var(--gray-400);
  font-size: .75rem;
}

.rb-block-actions {
  flex-shrink: 0;
  align-items: center;
  gap: .25rem;
  display: flex;
}

.rb-btn-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--gray-400);
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  font-size: .8rem;
  display: flex;
}

.rb-btn-icon:hover:not(:disabled) {
  background: var(--gray-100);
  color: var(--gray-700);
}

.rb-btn-icon:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.rb-btn-move {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  border: 1px solid #0000;
  font-size: .95rem;
}

.rb-btn-move:hover:not(:disabled) {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff !important;
}

.rb-btn-move:active:not(:disabled) {
  transform: scale(.9);
}

.rb-btn-remove:hover {
  color: var(--danger) !important;
  background: #fef2f2 !important;
}

.rb-action-group {
  border: 1.5px solid var(--gray-200);
  background: var(--gray-50);
  border-radius: 10px;
  align-items: center;
  gap: 0;
  display: inline-flex;
  overflow: hidden;
  box-shadow: 0 1px 3px #0000000f;
}

.rb-action-group .rb-btn-icon {
  border-right: 1px solid var(--gray-200);
  background: none;
  border-radius: 0;
  width: 2.1rem;
  height: 2.1rem;
}

.rb-action-group .rb-btn-icon:last-child {
  border-right: none;
}

.rb-action-group .rb-btn-icon:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
}

.rb-action-group .rb-btn-remove:hover:not(:disabled) {
  background: var(--danger);
  color: #fff;
}

.rb-action-group .rb-btn-icon:disabled {
  opacity: .25;
}

.rb-badge {
  border-radius: 3px;
  margin-left: .4rem;
  padding: .15rem .4rem;
  font-size: .65rem;
  font-weight: 600;
  display: inline-block;
}

.rb-badge-fixed {
  background: var(--gray-200);
  color: var(--gray-500);
}

.rb-block-body {
  border-top: 1px solid var(--gray-100);
  padding: .875rem 1rem 1rem;
}

.rb-grid-2 {
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  display: grid;
}

.rb-grid-full {
  grid-column: 1 / -1;
}

.rb-inline-fields {
  align-items: end;
  gap: .75rem;
  display: flex;
}

.rb-inline-fields .rb-input:first-child {
  flex: 1;
}

.rb-inline-fields .rb-input-sm {
  width: 160px;
}

.rb-field-label {
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .25rem;
  font-size: .7rem;
  font-weight: 600;
  display: block;
}

.rb-input {
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  width: 100%;
  color: var(--gray-800);
  transition: var(--transition);
  border-radius: 6px;
  outline: none;
  padding: .6rem .75rem;
  font-family: inherit;
  font-size: .875rem;
}

.rb-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px #1a237e1a;
}

textarea.rb-input {
  resize: vertical;
  min-height: 60px;
}

select.rb-input {
  appearance: auto;
  cursor: pointer;
}

.rb-input-sm {
  width: auto;
}

.rb-text-muted {
  color: var(--gray-400);
  font-size: .85rem;
  font-style: italic;
}

.rb-stats {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: .75rem 1rem;
  font-size: .85rem;
  display: flex;
}

.rb-stats strong {
  color: var(--gray-700);
}

.rb-stats kbd {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  border-radius: 3px;
  padding: .1rem .35rem;
  font-family: inherit;
  font-size: .75rem;
}

.rb-actions {
  border: none;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0;
  padding: .75rem 0 0;
  display: flex;
}

.rb-actions-left {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.rb-note {
  color: var(--gray-400);
  margin-left: auto;
  font-size: .8rem;
  font-style: italic;
}

.rb-empty {
  text-align: center;
  background: var(--white);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
}

.rb-empty-icon {
  margin-bottom: .75rem;
  font-size: 3rem;
}

.rb-empty h3 {
  color: var(--gray-600);
  margin-bottom: .5rem;
}

.rb-empty p {
  color: var(--gray-400);
  font-size: .9rem;
}

.rb-toast {
  background: var(--gray-800);
  color: var(--white);
  border-radius: var(--radius);
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  padding: .75rem 1.5rem;
  font-size: .875rem;
  animation: .3s rb-toast-in;
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes rb-toast-in {
  from {
    opacity: 0;
    transform: translateX(-50%)translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateX(-50%)translateY(0);
  }
}

.rb-modal-overlay {
  z-index: 1000;
  background: #00000080;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  animation: .2s rb-fade-in;
  display: flex;
  position: fixed;
  inset: 0;
}

.rb-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  padding: 1.5rem;
  display: flex;
}

.rb-modal-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  display: flex;
}

.rb-modal-header h3 {
  font-size: 1.1rem;
}

.rb-json-output {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: #cdd6f4;
  resize: none;
  background: #1e1e2e;
  flex: 1;
  min-height: 300px;
  padding: 1rem;
  font-family: SF Mono, Fira Code, Consolas, monospace;
  font-size: .8rem;
  line-height: 1.5;
}

.rb-modal-footer {
  justify-content: flex-end;
  gap: .75rem;
  margin-top: 1rem;
  display: flex;
}

@keyframes rb-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.rb-ilist {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.rb-ilist-empty {
  text-align: center;
  color: var(--gray-400);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 1rem;
  font-size: .85rem;
}

.rb-ilist-add {
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
  background: var(--gray-50);
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
  justify-content: center;
  align-items: center;
  gap: .4rem;
  padding: .6rem;
  font-size: .85rem;
  font-weight: 500;
  display: flex;
}

.rb-ilist-add:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #eff6ff;
}

.rb-ilist-add span {
  font-size: 1.1rem;
  font-weight: 700;
}

.rb-ilist-dropzone {
  min-height: 0;
}

.rb-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
  overflow: hidden;
}

.rb-item:hover {
  box-shadow: var(--shadow-sm);
}

.rb-item-dragging {
  opacity: .4;
  transform: scale(.98);
}

.rb-item-header {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  cursor: default;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  display: flex;
}

.rb-item-drag {
  cursor: grab;
  color: var(--gray-400);
  -webkit-user-select: none;
  user-select: none;
  padding: 0 .25rem;
  font-size: 1rem;
  line-height: 1;
}

.rb-item-drag:hover {
  color: var(--gray-600);
}

.rb-item-drag:active {
  cursor: grabbing;
}

.rb-block-drag {
  cursor: grab;
  color: var(--gray-400);
  -webkit-user-select: none;
  user-select: none;
  padding: 0 .25rem 0 0;
  font-size: 1rem;
  line-height: 1;
  transition: color .15s;
}

.rb-block-drag:hover {
  color: var(--gray-600);
}

.rb-block-drag:active {
  cursor: grabbing;
}

.rb-item-label {
  color: var(--gray-700);
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  font-size: .85rem;
  font-weight: 500;
  overflow: hidden;
}

.rb-item-actions {
  flex-shrink: 0;
  align-items: center;
  gap: .2rem;
  display: flex;
}

.rb-item-body {
  padding: .75rem;
}

.rb-igrid-2 {
  grid-template-columns: 1fr 1fr;
  gap: .625rem;
  display: grid;
}

.rb-igrid-full {
  grid-column: 1 / -1;
}

.rb-iinline {
  align-items: end;
  gap: .625rem;
  display: flex;
}

.rb-iinline .rb-input:first-child {
  flex: 1;
}

.rb-iinline .rb-input-sm {
  width: 140px;
}

.rb-title-input-wrap {
  margin-top: .75rem;
}

.rb-title-input {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  width: 100%;
  max-width: 400px;
  color: var(--gray-800);
  transition: var(--transition);
  outline: none;
  padding: .6rem .75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
}

.rb-title-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px #1a237e1a;
}

.rb-badge-count {
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  margin-left: .4rem;
  padding: .1rem .4rem;
  font-size: .65rem;
  font-weight: 600;
}

.rb-toolbar-btn-disabled {
  opacity: .55;
  cursor: default !important;
  border-color: var(--gray-200) !important;
  background: var(--gray-100) !important;
}

.rb-toolbar-btn-disabled:hover {
  box-shadow: none !important;
  transform: none !important;
}

.rb-toolbar-check {
  color: var(--green, #059669);
  margin-left: .3rem;
  font-size: .8rem;
  font-weight: 700;
  display: inline-block;
}

.rb-toolbar-actions {
  border-top: 1px solid var(--gray-200);
  flex-direction: column;
  gap: .5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  display: flex;
}

.rb-toolbar-save, .rb-toolbar-reset {
  justify-content: center;
  width: 100%;
}

.rb-ppfill {
  border-top: 1px solid var(--gray-200);
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.rb-ppfill-title {
  color: var(--gray-600);
  margin-bottom: .5rem;
  font-size: .8rem;
  font-weight: 600;
}

.rb-ppfill-row {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.rb-ppfill-select {
  flex: 1;
  min-width: 0;
}

.rb-ppfill-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.rb-ppfill-empty {
  color: var(--gray-400);
  font-size: .75rem;
  font-style: italic;
}

.rb-ppfill-inline {
  align-items: center;
  gap: .5rem;
  margin-left: auto;
  display: flex;
}

.rb-ppfill-inline .rb-ppfill-title {
  color: var(--gray-500);
  white-space: nowrap;
  margin-bottom: 0;
  font-size: .75rem;
  font-weight: 500;
}

.rb-ppfill-inline .rb-ppfill-row {
  align-items: center;
  gap: .35rem;
  display: flex;
}

.rb-ppfill-inline .rb-ppfill-select {
  width: 160px;
  padding: .25rem .5rem;
  font-size: .8rem;
}

.rb-ppfill-inline .rb-ppfill-btn {
  padding: .25rem .6rem;
  font-size: .8rem;
  line-height: 1.4;
}

.rb-modal-overlay {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 1000;
  background: #00000080;
  justify-content: center;
  align-items: center;
  animation: .2s ease-out rb-modal-in;
  display: flex;
  position: fixed;
  inset: 0;
}

@keyframes rb-modal-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.rb-modal {
  background: var(--white);
  text-align: center;
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  padding: 2rem 2.5rem;
  animation: .25s cubic-bezier(.34, 1.56, .64, 1) rb-modal-scale;
  box-shadow: 0 20px 60px #0000004d;
}

@keyframes rb-modal-scale {
  from {
    opacity: 0;
    transform: scale(.85);
  }

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

.rb-modal-icon {
  margin-bottom: .75rem;
  font-size: 2.5rem;
}

.rb-modal-title {
  color: var(--gray-800);
  margin: 0 0 .5rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.rb-modal-text {
  color: var(--gray-500);
  margin: 0 0 1.5rem;
  font-size: .9rem;
  line-height: 1.5;
}

.rb-modal-actions {
  flex-direction: column;
  gap: .6rem;
  display: flex;
}

.rb-modal-actions .btn {
  justify-content: center;
  width: 100%;
  padding: .65rem 1rem;
  font-size: .9rem;
}

.rb-modal-danger {
  color: #ef4444 !important;
  border-color: #ef4444 !important;
}

.rb-modal-danger:hover {
  background: #fef2f2 !important;
}

.btn-ghost {
  color: var(--gray-500);
  cursor: pointer;
  background: none;
  border: none;
}

.btn-ghost:hover {
  color: var(--gray-700);
  background: var(--gray-50);
}

.rb-json-preview {
  color: var(--gray-500);
  background: var(--gray-100);
  border-radius: 3px;
  padding: .1rem .3rem;
  font-family: monospace;
  font-size: .7rem;
}

.rb-stats-json {
  margin-left: auto;
}

.rb-loading {
  text-align: center;
  color: var(--gray-400);
  padding: 4rem;
  font-size: 1rem;
}

@keyframes jcv-rotate {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes jcv-rotate-reverse {
  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0);
  }
}

@keyframes jcv-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .8;
    transform: scale(1.15);
  }
}

@keyframes jcv-bar-fill {
  0% {
    width: 0%;
  }

  50% {
    width: 70%;
  }

  100% {
    width: 100%;
  }
}

@keyframes jcv-fade-in {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.jcv-loading-wrap {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  padding: 3rem 1.5rem;
  animation: .4s jcv-fade-in;
  display: flex;
}

.jcv-loading-full {
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  background: #ffffffeb;
  gap: 1.5rem;
  padding: 0;
  position: fixed;
  inset: 0;
}

.jcv-loading-small {
  gap: .75rem;
  padding: 1.5rem;
}

.jcv-loading-spinner {
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  display: flex;
  position: relative;
}

.jcv-loading-small .jcv-loading-spinner {
  width: 3.5rem;
  height: 3.5rem;
}

.jcv-spinner-ring {
  border: 3px solid #0000;
  border-top-color: var(--primary);
  border-right-color: var(--accent);
  border-radius: 50%;
  animation: 1s linear infinite jcv-rotate;
  position: absolute;
  inset: 0;
}

.jcv-spinner-ring-2 {
  border-width: 2px;
  border-top-color: var(--secondary);
  border-right-color: #0000;
  border-left-color: var(--primary-light);
  animation: .8s linear infinite jcv-rotate-reverse;
  inset: 6px;
}

.jcv-loading-small .jcv-spinner-ring-2 {
  inset: 4px;
}

.jcv-spinner-ring-3 {
  border-width: 2px;
  border-top-color: var(--accent-light, #93c5fd);
  border-bottom-color: var(--primary);
  border-right-color: #0000;
  animation: .6s linear infinite jcv-rotate;
  inset: 13px;
}

.jcv-loading-small .jcv-spinner-ring-3 {
  inset: 9px;
}

.jcv-spinner-icon {
  z-index: 1;
  font-size: 1.4rem;
  line-height: 1;
  animation: 1.5s ease-in-out infinite jcv-pulse;
}

.jcv-loading-small .jcv-spinner-icon {
  font-size: 1rem;
}

.jcv-loading-text {
  color: var(--gray-500);
  letter-spacing: .02em;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.jcv-loading-small .jcv-loading-text {
  font-size: .85rem;
}

.jcv-loading-full .jcv-loading-text {
  color: var(--gray-600);
  font-size: 1.15rem;
}

.jcv-loading-bar {
  background: var(--gray-200);
  border-radius: 4px;
  width: 200px;
  height: 4px;
  margin-top: .25rem;
  overflow: hidden;
}

.jcv-loading-bar-fill {
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  background-size: 200% 100%;
  border-radius: 4px;
  height: 100%;
  animation: 2s ease-in-out infinite jcv-bar-fill, 3s linear infinite jcv-rotate;
}

.jcv-loading-small .jcv-loading-bar {
  width: 120px;
  height: 3px;
}

.jcv-loading-text:after {
  content: "";
  text-align: left;
  width: 1.2em;
  animation: 1.5s steps(4, end) infinite jcv-dots;
  display: inline-block;
}

@keyframes jcv-dots {
  0% {
    content: "";
  }

  25% {
    content: ".";
  }

  50% {
    content: "..";
  }

  75% {
    content: "...";
  }

  100% {
    content: "";
  }
}

.jcv-skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  border-radius: var(--radius);
  background-size: 200% 100%;
  animation: 1.5s ease-in-out infinite jcv-shimmer;
}

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

  100% {
    background-position: -200% 0;
  }
}

.jcv-skeleton-line {
  width: 100%;
  height: 1rem;
  margin-bottom: .75rem;
}

.jcv-skeleton-line:last-child {
  width: 60%;
}

.jcv-skeleton-title {
  width: 40%;
  height: 1.5rem;
  margin-bottom: 1rem;
}

.jcv-skeleton-card {
  width: 100%;
  height: 120px;
  margin-bottom: 1rem;
}

.jcv-loading-full .jcv-loading-text:after {
  display: none;
}

@keyframes rc-fade-in {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.resume-cards {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.resume-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: inherit;
  border-radius: 16px;
  padding: 1rem 1.125rem;
  text-decoration: none;
  transition: all .2s;
  animation: .4s backwards rc-fade-in;
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px #0000000f, 0 1px 2px #0000000a;
}

.resume-card:before {
  content: "";
  background: var(--primary-lighter);
  border-radius: 0 2px 2px 0;
  width: 4px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.resume-card:active {
  transform: scale(.985);
  box-shadow: 0 1px 2px #0000000a;
}

.resume-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 12px #00000014;
}

.resume-card:first-child {
  animation-delay: 0s;
}

.resume-card:nth-child(2) {
  animation-delay: 50ms;
}

.resume-card:nth-child(3) {
  animation-delay: .1s;
}

.resume-card:nth-child(4) {
  animation-delay: .15s;
}

.resume-card:nth-child(5) {
  animation-delay: .2s;
}

.resume-card:nth-child(6) {
  animation-delay: .25s;
}

.rc-top {
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .5rem;
  display: flex;
}

.rc-title-row {
  align-items: center;
  gap: .625rem;
  min-width: 0;
  display: flex;
}

.rc-icon {
  background: linear-gradient(135deg, var(--primary-lighter) 0%, #ede9fe 100%);
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.1rem;
  display: flex;
}

.rc-title {
  color: var(--gray-800);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
}

.rc-actions {
  flex-shrink: 0;
  gap: .25rem;
  display: flex;
}

.rc-action-btn {
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  color: var(--gray-400);
  background: none;
  border: none;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  font-size: .9rem;
  transition: all .15s;
  display: flex;
}

.rc-action-btn:hover {
  background: var(--gray-100);
}

.rc-action-btn.danger:hover {
  color: var(--danger);
  background: #fef2f2;
}

.rc-meta {
  color: var(--gray-500);
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  padding-left: 2.875rem;
  font-size: .8rem;
  display: flex;
}

.rc-meta-dot {
  background: var(--gray-300);
  border-radius: 50%;
  width: 3px;
  height: 3px;
}

@media (min-width: 769px) {
  .resume-cards {
    display: none;
  }
}

@media (max-width: 768px) {
  .table-container {
    display: none;
  }

  .resume-cards {
    display: flex;
  }
}

.pp-header {
  margin-bottom: 1.5rem;
}

.pp-header h1 {
  margin: 0;
}

.pp-header p {
  color: var(--gray-500);
  margin: .25rem 0 0;
  font-size: .85rem;
}

.pp-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  margin-bottom: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px #0000000a;
}

.pp-card-header {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  display: flex;
}

.pp-card-header h3 {
  margin: 0;
  font-size: 1.05rem;
}

.pp-grid-2 {
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  display: grid;
}

@media (max-width: 600px) {
  .pp-grid-2 {
    grid-template-columns: 1fr;
  }
}

.pp-field label {
  color: var(--gray-600);
  margin-bottom: .25rem;
  font-size: .8rem;
  font-weight: 600;
  display: block;
}

.pp-badge {
  text-transform: uppercase;
  letter-spacing: .03em;
  border-radius: 20px;
  padding: .15rem .5rem;
  font-size: .7rem;
  font-weight: 600;
}

.pp-badge-primary {
  background: var(--primary-lighter);
  color: var(--primary);
}

.pp-badge-info {
  color: #0369a1;
  background: #e0f2fe;
}

.pp-empty {
  text-align: center;
  color: var(--gray-400);
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 2rem 1rem;
  display: flex;
}

.pp-profiles-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .75rem;
  display: grid;
}

.pp-profile-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1rem;
  transition: box-shadow .2s, border-color .2s;
}

.pp-profile-card:hover {
  box-shadow: 0 2px 8px #0000000f;
}

.pp-profile-default {
  border-color: var(--primary-light);
  background: #f5f3ff;
}

.pp-profile-top {
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .5rem;
  display: flex;
}

.pp-profile-info {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  display: flex;
}

.pp-profile-info strong {
  color: var(--gray-800);
  font-size: .9rem;
}

.pp-profile-actions {
  flex-shrink: 0;
  gap: .25rem;
  display: flex;
}

.pp-icon-btn {
  cursor: pointer;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--gray-400);
  background: none;
  border: none;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  font-size: .8rem;
  transition: all .15s;
  display: flex;
}

.pp-icon-btn:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

.pp-icon-danger:hover {
  color: var(--danger);
  background: #fef2f2;
}

.pp-profile-summary {
  color: var(--gray-500);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin: 0 0 .5rem;
  font-size: .8rem;
  line-height: 1.4;
  display: -webkit-box;
  overflow: hidden;
}

.pp-location {
  color: var(--gray-400);
  font-size: .75rem;
}

.pp-exp-list {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.pp-exp-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  padding: .875rem 1rem;
  transition: border-color .2s;
  display: flex;
}

.pp-exp-item:hover {
  border-color: var(--gray-200);
}

.pp-exp-info {
  flex: 1;
  min-width: 0;
}

.pp-exp-role {
  color: var(--gray-800);
  font-size: .9rem;
  font-weight: 600;
}

.pp-exp-company {
  color: var(--gray-600);
  margin-top: .1rem;
  font-size: .85rem;
}

.pp-exp-date {
  color: var(--gray-400);
  margin-top: .15rem;
  font-size: .75rem;
}

.pp-exp-desc {
  color: var(--gray-500);
  margin: .35rem 0 0;
  font-size: .8rem;
  line-height: 1.4;
}

.pp-exp-actions {
  flex-shrink: 0;
  gap: .25rem;
  display: flex;
}

.upload-area {
  border: 2px dashed var(--border-color, #d1d5db);
  text-align: center;
  cursor: pointer;
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 2.5rem 2rem;
  transition: border-color .2s, background .2s;
}

.upload-area:hover {
  border-color: var(--primary);
  background: var(--primary-lighter);
}

.file-input {
  display: none;
}

.upload-label {
  cursor: pointer;
  color: var(--gray-500);
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.upload-icon {
  font-size: 2.5rem;
}

.modal-lg {
  max-width: 600px;
}

@media (max-width: 1024px) {
  .rb-layout {
    grid-template-columns: 1fr;
  }

  .rb-toolbar {
    position: static;
  }

  .rb-toolbar-grid {
    flex-flow: wrap;
  }

  .rb-toolbar-btn {
    flex: 1;
    width: auto;
    min-width: 120px;
  }
}

@media (max-width: 768px) {
  .rb-stats {
    gap: .75rem;
    font-size: .75rem;
  }

  .rb-grid-2, .rb-igrid-2 {
    grid-template-columns: 1fr;
  }

  .rb-inline-fields, .rb-iinline {
    flex-direction: column;
  }

  .rb-iinline .rb-input-sm, .rb-inline-fields .rb-input-sm {
    width: 100%;
  }

  .rb-block-header {
    flex-wrap: wrap;
  }

  .rb-block-actions {
    margin-left: auto;
  }

  .rb-actions .btn {
    flex: 1;
    min-width: 0;
    padding: .6rem .75rem;
    font-size: .8rem;
  }

  .rb-note {
    display: none;
  }
}

@media (max-width: 480px) {
  .rb-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
  }

  .rb-toolbar-grid {
    flex-direction: column;
  }

  .rb-toolbar-btn {
    width: 100%;
  }

  .rb-actions {
    flex-direction: column;
  }

  .rb-actions .btn {
    width: 100%;
  }
}

select.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #1a237e1a;
}

.form-textarea {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background-color: var(--white);
  width: 100%;
  color: var(--gray-800);
  transition: var(--transition);
  resize: vertical;
  outline: none;
  min-height: 120px;
  padding: .75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
}

.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #1a237e1a;
}

.btn-secondary {
  background-color: var(--gray-200);
  color: var(--gray-700);
}

.btn-secondary:hover {
  background-color: var(--gray-300);
  color: var(--gray-700);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.table-container {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table {
  border-collapse: collapse;
  width: 100%;
}

.table th, .table td {
  text-align: left;
  padding: .875rem 1.25rem;
  font-size: .9rem;
}

.table th {
  background-color: var(--gray-50);
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--gray-200);
  font-size: .8rem;
  font-weight: 600;
}

.table td {
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover td {
  background-color: var(--gray-50);
}

.table .actions {
  gap: .5rem;
  display: flex;
}

.table .actions .btn {
  padding: .4rem .75rem;
  font-size: .8rem;
}

.docs-pill-btn {
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: .3rem;
  padding: .35rem .75rem;
  font-size: .82rem;
  font-weight: 600;
  transition: all .2s;
  display: inline-flex;
}

.docs-pill-btn:hover {
  border-color: var(--accent);
  color: var(--primary);
  background: #e8eaf6;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px #1a237e26;
}

.docs-pill-btn:active {
  transform: translateY(0);
}

.docs-pill-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.modal-overlay {
  z-index: 100;
  background: #00000080;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  display: flex;
  position: fixed;
  inset: 0;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  overflow-y: auto;
}

.modal-content h2 {
  margin-bottom: 1.5rem;
}

.modal-actions {
  justify-content: flex-end;
  gap: .75rem;
  margin-top: 1.5rem;
  display: flex;
}

.disassociate-modal .disassociate-list {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  max-height: 320px;
  margin: 1rem 0;
  overflow-y: auto;
}

.disassociate-modal .disassociate-item {
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 1rem;
  transition: background .15s;
  display: flex;
}

.disassociate-modal .disassociate-item:last-child {
  border-bottom: none;
}

.disassociate-modal .disassociate-item:hover {
  background: var(--gray-50);
}

.confirm-modal {
  max-width: 480px;
}

.confirm-modal .confirm-message {
  color: var(--gray-700);
  margin-bottom: .5rem;
  font-size: .95rem;
  line-height: 1.5;
}

.confirm-modal .confirm-highlight {
  color: var(--primary);
  font-weight: 600;
}

.disassociate-modal .disassociate-item input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: .2rem;
}

.disassociate-modal .disassociate-item-info {
  flex: 1;
  min-width: 0;
}

.disassociate-modal .disassociate-item-title {
  color: var(--gray-800);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .9rem;
  font-weight: 600;
  overflow: hidden;
}

.disassociate-modal .disassociate-item-meta {
  color: var(--gray-500);
  gap: 1rem;
  margin-top: .2rem;
  font-size: .78rem;
  display: flex;
}

.disassociate-modal .disassociate-empty {
  text-align: center;
  color: var(--gray-500);
  padding: 2rem 1rem;
  font-size: .85rem;
}

.disassociate-modal .disassociate-actions {
  justify-content: flex-end;
  gap: .75rem;
  margin-top: .5rem;
  display: flex;
}

.status-badge {
  text-transform: capitalize;
  border-radius: 999px;
  padding: .25rem .6rem;
  font-size: .75rem;
  font-weight: 600;
  display: inline-block;
}

.status-badge.pendente {
  color: #92400e;
  background-color: #fef3c7;
}

.status-badge.candidatado {
  color: #1e40af;
  background-color: #dbeafe;
}

.status-badge.entrevista {
  color: #5b21b6;
  background-color: #ede9fe;
}

.status-badge.rejeitado {
  color: #991b1b;
  background-color: #fee2e2;
}

.status-badge.rascunho {
  color: #374151;
  background-color: #f3f4f6;
}

.status-badge.pronto {
  color: #065f46;
  background-color: #d1fae5;
}

.signature-canvas {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: crosshair;
  background: var(--white);
  width: 100%;
  max-width: 500px;
  height: 200px;
  margin-bottom: 1rem;
  display: block;
}

.signature-canvas:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #1a237e1a;
}

.signature-preview {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  padding: .5rem;
  display: inline-block;
}

.signature-preview img {
  max-width: 200px;
  max-height: 60px;
  display: block;
}

.inline-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.inline-form h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.detail-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  padding: 2rem;
}

.detail-card .detail-row {
  border-bottom: 1px solid var(--gray-100);
  padding: .75rem 0;
  display: flex;
}

.detail-card .detail-row:last-child {
  border-bottom: none;
}

.detail-card .detail-label {
  width: 160px;
  color: var(--gray-600);
  flex-shrink: 0;
  font-size: .9rem;
  font-weight: 600;
}

.detail-card .detail-value {
  color: var(--gray-800);
  flex: 1;
  font-size: .9rem;
}

.detail-actions {
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
  display: flex;
}

.profile-section {
  margin-bottom: 2rem;
}

.profile-section h2 {
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  font-size: 1.2rem;
}

.experiencia-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 1.25rem;
  display: flex;
}

.experiencia-item .exp-info {
  flex: 1;
}

.experiencia-item .exp-info h4 {
  color: var(--gray-800);
  margin-bottom: .25rem;
  font-size: 1rem;
}

.experiencia-item .exp-info .exp-period {
  color: var(--gray-500);
  margin-bottom: .5rem;
  font-size: .8rem;
}

.experiencia-item .exp-info p {
  color: var(--gray-600);
  font-size: .85rem;
}

.form-row {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  display: grid;
}

.alert {
  border-radius: var(--radius);
  margin-bottom: 1rem;
  padding: .75rem 1rem;
  font-size: .875rem;
}

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

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

.signature-list {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  display: grid;
}

.signature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  padding: 1.5rem;
}

.signature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.signature-card img {
  max-width: 200px;
  max-height: 60px;
  margin: 0 auto 1rem;
  display: block;
}

.signature-card .signature-name {
  color: var(--gray-800);
  margin-bottom: .25rem;
  font-size: .95rem;
  font-weight: 600;
}

.signature-card .signature-date {
  color: var(--gray-500);
  margin-bottom: .75rem;
  font-size: .8rem;
}

.cv-content-display {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  white-space: pre-wrap;
  color: var(--gray-800);
  padding: 2rem;
  font-family: inherit;
  font-size: .9rem;
  line-height: 1.7;
}

.salary-input-wrap {
  align-items: center;
  display: flex;
  position: relative;
}

.salary-currency-btn {
  background: var(--gray-100);
  border-radius: var(--radius);
  cursor: pointer;
  width: 2.2rem;
  color: var(--gray-700);
  border: none;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  transition: background .15s;
  display: flex;
  position: absolute;
  top: 4px;
  bottom: 4px;
  right: 4px;
}

.salary-currency-btn:hover {
  background: var(--gray-200);
}

.currency-overlay {
  z-index: 200;
  background: #0006;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}

.currency-popup {
  background: var(--white);
  border-radius: 16px;
  width: 260px;
  padding: 1rem 0;
  animation: .2s cubic-bezier(.34, 1.56, .64, 1) currency-in;
  box-shadow: 0 16px 48px #00000040;
}

@keyframes currency-in {
  from {
    opacity: 0;
    transform: scale(.85);
  }

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

.currency-popup-header {
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem .75rem;
  font-size: .9rem;
  font-weight: 600;
  display: flex;
}

.currency-close {
  color: var(--gray-400);
  cursor: pointer;
  background: none;
  border: none;
  padding: .25rem;
  font-size: 1rem;
  line-height: 1;
}

.currency-close:hover {
  color: var(--gray-600);
}

.currency-list {
  max-height: 280px;
  padding: .25rem 0;
  overflow-y: auto;
}

.currency-item {
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: var(--gray-700);
  background: none;
  border: none;
  align-items: center;
  gap: .75rem;
  padding: .6rem 1rem;
  font-size: .9rem;
  transition: background .1s;
  display: flex;
}

.currency-item:hover {
  background: var(--gray-50);
}

.currency-item-active {
  color: var(--primary);
  font-weight: 600;
  background: #eef2ff !important;
}

.currency-item-symbol {
  text-align: center;
  width: 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.currency-item-label {
  flex: 1;
}

.currency-item-check {
  color: var(--primary);
  font-weight: 700;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.toast {
  border-radius: var(--radius);
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  white-space: nowrap;
  padding: .75rem 1.5rem;
  font-size: .875rem;
  font-weight: 500;
  animation: .3s toast-in, .3s 3.7s forwards toast-out;
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.toast-info {
  background: var(--gray-800);
  color: var(--white);
}

.toast-success {
  color: #d1fae5;
  background: #065f46;
}

.toast-error {
  color: #fee2e2;
  background: #991b1b;
}

.toast-warning {
  color: #fef3c7;
  background: #92400e;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(-50%)translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateX(-50%)translateY(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.status-badge.processing {
  color: #3730a3;
  background: #e0e7ff;
  animation: 2s ease-in-out infinite badge-pulse;
}

.status-badge.failed {
  color: #991b1b;
  background: #fee2e2;
}

@keyframes badge-pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .65;
  }
}

.job-row-processing {
  border-left: 3px solid var(--primary);
  background: #6366f11a;
  transition: background .3s;
}

.job-row-processing td {
  border-bottom: 1px solid #6366f114;
}

.processing-spinner {
  border: 2px solid var(--gray-200);
  border-top-color: var(--primary);
  vertical-align: middle;
  border-radius: 50%;
  width: 1.1rem;
  height: 1.1rem;
  animation: .7s linear infinite spin;
  display: inline-block;
}

.spinner-inline {
  vertical-align: middle;
  border: 2px solid #0000;
  border-top-color: currentColor;
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  margin-right: .5rem;
  animation: .6s linear infinite spin;
  display: inline-block;
}

.export-overlay {
  z-index: 9999;
  background: #0009;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: .25s exportFadeIn;
  display: flex;
  position: fixed;
  inset: 0;
}

@keyframes exportFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.export-dialog {
  border-radius: var(--radius-lg);
  background: #fff;
  flex-direction: column;
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  animation: .35s cubic-bezier(.16, 1, .3, 1) exportDialogIn;
  display: flex;
  overflow: hidden;
  box-shadow: 0 20px 60px #0000004d, 0 0 0 1px #00000014;
}

@keyframes exportDialogIn {
  from {
    opacity: 0;
    transform: scale(.95)translateY(20px);
  }

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

.export-header {
  border-bottom: 1px solid var(--gray-200);
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 28px 16px;
  display: flex;
}

.export-title {
  color: var(--gray-900);
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.export-subtitle {
  color: var(--gray-500);
  margin: 4px 0 0;
  font-size: .875rem;
}

.export-close {
  color: var(--gray-400);
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
  background: none;
  border: none;
  padding: 6px 8px;
  font-size: 1.25rem;
  line-height: 1;
}

.export-close:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

.export-body {
  flex: 1;
  grid-template-columns: 1fr 260px;
  gap: 0;
  display: grid;
  overflow-y: auto;
}

.export-section {
  padding: 20px 24px;
}

.export-section-title {
  text-transform: uppercase;
  letter-spacing: .75px;
  color: var(--gray-400);
  margin: 0 0 14px;
  font-size: .8rem;
  font-weight: 700;
}

.export-template-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  display: grid;
}

.export-template-card {
  cursor: pointer;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
  background: var(--white);
  transition: all .2s;
  overflow: hidden;
}

.export-template-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px #0000001a;
}

.export-template-card.selected {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px #1a237e26, 0 4px 12px #0000001a;
}

.export-template-preview {
  border-bottom: 1px solid var(--gray-200);
  background: #fafafa;
  height: 140px;
  position: relative;
  overflow: hidden;
}

.export-template-thumb {
  transform-origin: 0 0;
  pointer-events: none;
  width: 333%;
  height: 333%;
  transform: scale(.3);
}

.export-template-check {
  color: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  font-size: .8rem;
  font-weight: 700;
  animation: .25s cubic-bezier(.16, 1, .3, 1) exportPopIn;
  display: flex;
  position: absolute;
  top: 8px;
  right: 8px;
}

@keyframes exportPopIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.export-template-info {
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  display: flex;
}

.export-template-icon {
  font-size: 1.1rem;
}

.export-template-name {
  color: var(--gray-800);
  font-size: .85rem;
  font-weight: 700;
}

.export-template-desc {
  color: var(--gray-500);
  font-size: .7rem;
  line-height: 1.3;
}

.export-actions-section {
  background: var(--gray-50);
  border-left: 1px solid var(--gray-200);
  flex-direction: column;
  display: flex;
}

.export-format-selector {
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  display: flex;
}

.export-format-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  transition: all .2s;
  display: flex;
}

.export-format-card:hover {
  border-color: var(--accent-light);
  background: #3f51b50a;
}

.export-format-card.selected {
  border-color: var(--primary);
  background: #1a237e0d;
}

.export-format-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
}

.export-format-label {
  color: var(--gray-800);
  font-size: .85rem;
  font-weight: 700;
  display: block;
}

.export-format-desc {
  color: var(--gray-500);
  font-size: .7rem;
}

.export-btn {
  gap: .6rem;
  width: 100%;
  margin-top: auto;
  padding: .85rem 1.5rem;
  font-size: 1rem;
}

.export-btn:disabled {
  opacity: .7;
  cursor: wait;
}

@media (max-width: 768px) {
  .export-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .export-dialog {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-width: 100%;
    max-height: 92vh;
    animation: .3s cubic-bezier(.16, 1, .3, 1) exportDialogMobileIn;
  }

  @keyframes exportDialogMobileIn {
    from {
      opacity: 0;
      transform: translateY(30px);
    }

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

  .export-body {
    grid-template-columns: 1fr;
  }

  .export-template-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .export-template-preview {
    height: 100px;
  }

  .export-actions-section {
    border-left: none;
    border-top: 1px solid var(--gray-200);
    padding-bottom: 24px;
  }

  .export-header {
    padding: 18px 20px 14px;
  }

  .export-title {
    font-size: 1.15rem;
  }

  .export-section {
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .export-template-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .export-template-preview {
    height: 80px;
  }

  .export-template-info {
    padding: 6px 8px;
  }

  .export-template-name {
    font-size: .75rem;
  }

  .export-template-desc {
    font-size: .65rem;
  }

  .export-format-card {
    padding: 10px 12px;
  }
}

.flow-diagram {
  padding: 1rem 0;
}

.flow-row {
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  display: flex;
}

.flow-box {
  text-align: center;
  border-radius: 12px;
  min-width: 110px;
  padding: .7rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 2px 8px #0000000f;
}

.flow-box-user {
  color: #6c3483;
  background: #e8daef;
}

.flow-box-docs {
  color: #1e8449;
  background: #d5f5e3;
}

.flow-box-job {
  color: #2471a3;
  background: #d6eaf8;
}

.flow-box-print {
  color: #1e8449;
  background: #d5f5e3;
}

.flow-box-share {
  color: #b9770e;
  background: #fdebd0;
}

.flow-box-result {
  color: #1e8449;
  background: #d5f5e3;
  font-size: .9rem;
}

.flow-arrow {
  color: #7f8c8d;
  font-size: 1.5rem;
  font-weight: 700;
}

.flow-arrow-down {
  color: #7f8c8d;
  text-align: center;
  font-size: 1.2rem;
}

.flow-split {
  justify-content: center;
  gap: 3rem;
  margin-bottom: .75rem;
  display: flex;
}

.flow-branch {
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  display: flex;
}

.flow-label {
  color: #95a5a6;
  font-size: .75rem;
  font-weight: 500;
}

.flow-diagram-note {
  color: #7d6608;
  background: linear-gradient(135deg, #fef9e7, #fef3c7);
  border: 1px solid #f9e79f;
  border-radius: 10px;
  margin-top: 1rem;
  padding: .75rem 1rem;
  font-size: .85rem;
}

.btn-sm {
  padding: .4rem .9rem;
  font-size: .82rem;
}

.slide-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slide-panels {
  width: 200%;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  display: flex;
}

.slide-panels.slid {
  transform: translateX(-50%);
}

.slide-panel {
  flex-shrink: 0;
  width: 50%;
  overflow-y: auto;
}

.slide-panel-left {
  padding-right: 0;
}

.job-docs-panel {
  min-height: calc(100vh - 64px);
  padding: 1.5rem 2rem 3rem;
}

.job-docs-header {
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
}

.job-docs-header h2 {
  color: var(--gray-800);
  margin: 0;
  font-size: 1.25rem;
}

.job-docs-header p {
  color: var(--gray-500);
  margin: .15rem 0 0;
  font-size: .85rem;
}

.job-docs-back {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  cursor: pointer;
  border-radius: 8px;
  flex-shrink: 0;
  padding: .45rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  transition: all .15s;
}

.job-docs-back:hover {
  background: var(--gray-200);
  transform: translateX(-2px);
}

.job-docs-hint {
  color: #92400e;
  overflow-wrap: break-word;
  word-break: break-word;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #fcd34d;
  border-radius: 10px;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: 1.5rem;
  padding: .75rem 1rem;
  font-size: .82rem;
  line-height: 1.5;
  display: flex;
}

.job-docs-section {
  margin-bottom: 1.5rem;
}

.job-docs-section h3 {
  color: var(--gray-700);
  margin: 0 0 .75rem;
  font-size: .95rem;
}

.job-docs-list {
  flex-direction: column;
  gap: .4rem;
  display: flex;
}

.job-docs-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-150);
  border-radius: 10px;
  align-items: flex-start;
  gap: .6rem;
  padding: .65rem .85rem;
  transition: all .15s;
  display: flex;
}

.job-docs-item:hover {
  border-color: var(--gray-200);
  background: #fff;
  box-shadow: 0 1px 4px #0000000a;
}

.job-docs-item-icon {
  flex-shrink: 0;
  margin-top: .1rem;
  font-size: 1.2rem;
}

.job-docs-item-info {
  flex: 1;
  min-width: 0;
}

.job-docs-item-name {
  color: var(--gray-800);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .88rem;
  font-weight: 600;
  overflow: hidden;
}

.job-docs-item-meta {
  color: var(--gray-500);
  margin-top: .15rem;
  font-size: .78rem;
}

.job-docs-note-display {
  color: var(--gray-700);
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  border-radius: 4px;
  max-width: 100%;
  margin-top: .35rem;
  padding: .35rem .5rem;
  font-size: .8rem;
  transition: all .15s;
  display: inline-block;
  overflow: hidden;
}

.job-docs-note-display.empty {
  color: var(--gray-400);
  background: none;
  border-left-color: #0000;
  font-style: italic;
}

.job-docs-note-display:hover {
  background: #fef3c7;
  border-left-color: #d97706;
}

.job-docs-note-edit {
  align-items: center;
  gap: .3rem;
  min-width: 0;
  margin-top: .35rem;
  display: flex;
}

.job-docs-note-edit input {
  border: 1px solid var(--accent);
  border-radius: 6px;
  outline: none;
  flex: 1;
  min-width: 0;
  padding: .25rem .5rem;
  font-size: .8rem;
}

.job-docs-note-edit button {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  font-size: .75rem;
  display: flex;
}

.job-docs-note-edit button:first-of-type {
  color: #059669;
  background: #d1fae5;
}

.job-docs-note-edit button:last-of-type {
  color: #dc2626;
  background: #fee2e2;
}

.job-docs-item-remove {
  color: var(--gray-400);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 6px;
  flex-shrink: 0;
  padding: .2rem .3rem;
  font-size: .9rem;
  transition: all .15s;
}

.job-docs-item-remove:hover {
  color: #dc2626;
  background: #fee2e2;
}

.job-docs-add-btn {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.5rem;
  padding: .6rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  transition: all .2s;
  display: inline-flex;
}

.job-docs-add-btn:hover {
  background: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #1a237e33;
}

.job-docs-share-section {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.25rem;
}

.job-docs-share-section h3 {
  color: var(--gray-700);
  margin: 0 0 .35rem;
  font-size: .95rem;
}

.job-docs-share-section p {
  color: var(--gray-500);
  margin: 0 0 .75rem;
  font-size: .82rem;
}

.job-docs-share-url {
  gap: .5rem;
  display: flex;
}

.job-docs-share-url input {
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  background: var(--white);
  border-radius: 8px;
  flex: 1;
  padding: .5rem .75rem;
  font-size: .82rem;
}

.job-docs-share-url button {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  border-radius: 8px;
  padding: .5rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  transition: all .15s;
}

.job-docs-share-url button:hover {
  background: var(--primary);
}

.add-doc-overlay {
  z-index: 2147483647;
  background: #000000eb;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  padding: 1rem;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
}

.add-doc-modal {
  background: var(--white);
  border-radius: 16px;
  flex-direction: column;
  width: 100%;
  max-width: 700px;
  height: 85dvh;
  padding: 1.5rem;
  animation: .25s cubic-bezier(.34, 1.56, .64, 1) add-doc-in;
  display: flex;
  overflow: hidden;
  box-shadow: 0 20px 60px #0000004d;
}

@media (max-width: 1023px) {
  .add-doc-modal {
    height: auto;
    max-height: 90dvh;
  }
}

@media (max-width: 767px) {
  .add-doc-modal {
    border-radius: 12px;
    max-height: 95dvh;
    padding: 1rem;
  }
}

@keyframes add-doc-in {
  from {
    opacity: 0;
    transform: scale(.9);
  }

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

.add-doc-header {
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .75rem;
  display: flex;
}

.add-doc-header h3 {
  color: var(--gray-800);
  margin: 0;
  font-size: 1.1rem;
}

.add-doc-close {
  color: var(--gray-400);
  cursor: pointer;
  background: none;
  border: none;
  padding: .25rem;
  font-size: 1.1rem;
}

.add-doc-close:hover {
  color: var(--gray-700);
}

.add-doc-search {
  flex-shrink: 0;
  margin-bottom: .75rem;
  position: relative;
}

.add-doc-search-icon {
  pointer-events: none;
  font-size: .9rem;
  position: absolute;
  top: 50%;
  left: .75rem;
  transform: translateY(-50%);
}

.add-doc-search-input {
  border: 1px solid var(--gray-200);
  width: 100%;
  color: var(--gray-800);
  background: var(--gray-50);
  border-radius: 10px;
  outline: none;
  padding: .55rem .75rem .55rem 2.25rem;
  font-size: .85rem;
  transition: border-color .15s, box-shadow .15s;
}

.add-doc-search-input:focus {
  border-color: #3f51b5;
  box-shadow: 0 0 0 3px #3f51b51a;
}

.add-doc-search-input::placeholder {
  color: var(--gray-400);
}

.add-doc-search-spinner {
  font-size: .85rem;
  position: absolute;
  top: 50%;
  right: .75rem;
  transform: translateY(-50%);
}

.add-doc-list {
  flex-direction: column;
  flex: 1;
  gap: .3rem;
  min-height: 0;
  display: flex;
  overflow-y: auto;
}

.add-doc-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-150);
  border-radius: 8px;
  align-items: center;
  gap: .5rem;
  padding: .35rem .5rem;
  transition: all .15s;
  display: flex;
}

.add-doc-item:hover {
  background: #f5f5ff;
  border-color: #c5cae9;
}

.add-doc-item-icon {
  flex-shrink: 0;
  font-size: 1rem;
}

.add-doc-item-info {
  flex: 1;
  min-width: 0;
}

.add-doc-item-name {
  color: var(--gray-800);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .8rem;
  font-weight: 500;
  overflow: hidden;
}

.add-doc-item-meta {
  color: var(--gray-500);
  margin-top: .05rem;
  font-size: .72rem;
}

.add-doc-item-plus {
  color: #059669;
  cursor: pointer;
  background: #d1fae5;
  border: none;
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  font-size: .9rem;
  font-weight: 700;
  transition: all .15s;
  display: flex;
}

.add-doc-item-plus:hover {
  background: #a7f3d0;
  transform: scale(1.1);
}

.add-doc-item-plus:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.add-doc-empty {
  color: var(--gray-400);
  text-align: center;
  flex-shrink: 0;
  padding: 2rem 0;
  font-size: .85rem;
}

.add-doc-result-count {
  color: var(--gray-400);
  text-align: center;
  flex-shrink: 0;
  margin-top: .5rem;
  font-size: .75rem;
}

.add-doc-dropzone {
  border: 2px dashed var(--gray-200);
  text-align: center;
  color: var(--gray-400);
  cursor: pointer;
  border-radius: 10px;
  flex-shrink: 0;
  margin-top: .5rem;
  padding: .5rem;
  font-size: .78rem;
  transition: all .2s;
}

.add-doc-dropzone:hover, .add-doc-dropzone-active {
  border-color: var(--accent);
  color: var(--accent);
  background: #3f51b50f;
}

.add-doc-upload-progress {
  flex-shrink: 0;
  margin-bottom: .5rem;
}

.add-doc-upload-progress-name {
  color: var(--gray-600);
  font-size: .75rem;
  font-weight: 500;
}

.add-doc-upload-progress-pct {
  color: var(--accent);
  float: right;
  font-size: .72rem;
  font-weight: 600;
}

.add-doc-upload-progress-track {
  background: var(--gray-200);
  border-radius: 2px;
  height: 4px;
  margin-top: .25rem;
  overflow: hidden;
}

.add-doc-upload-progress-fill {
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 2px;
  height: 100%;
  transition: width .3s;
}

/*# sourceMappingURL=styles_globals_1a8_3dg.css.map*/