html.vc2-case-workspace-pending main.cdsdp-main-with-sidebar > :not(#vc2-case-workspace):not(#vc2-stage-nav):not(footer),
html.vc2-case-workspace-pending main.CdsDP-main-with-sidebar > :not(#vc2-case-workspace):not(#vc2-stage-nav):not(footer) {
  visibility: hidden !important;
}

html.vc2-case-workspace main.cdsdp-main-with-sidebar > :not(#vc2-case-workspace):not(#vc2-stage-nav):not(footer):not(.vcw-native-shell),
html.vc2-case-workspace main.CdsDP-main-with-sidebar > :not(#vc2-case-workspace):not(#vc2-stage-nav):not(footer):not(.vcw-native-shell) {
  display: none !important;
}

#vc2-case-workspace {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    box-sizing: border-box;
    max-width: 1280px;
    padding: 0;
    margin: 0 auto;
    background: #f6f7fb;
    color: #111827;
    font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
    visibility: visible !important;
}

.vcw-native-shell {
    max-width: 1280px;
    padding: 0;
    width: 100%;
    margin: 0 auto;
}

main.cdsdp-main-with-sidebar > .vcw-native-shell,
main.CdsDP-main-with-sidebar > .vcw-native-shell {
    max-width: 1280px;
    padding: 0;
    width: 100%;
    margin: 0 auto;
}

#vc2-case-workspace * { box-sizing: border-box; }
#vc2-case-workspace button,
#vc2-case-workspace input,
#vc2-case-workspace textarea { font: inherit; color: inherit; }
#vc2-case-workspace a { color: inherit; }
#vc2-case-workspace h1,
#vc2-case-workspace h2,
#vc2-case-workspace p { margin: 0; }

.vcw-side {
  width: 232px;
  flex: 0 0 232px;
  display: flex;
  flex-direction: column;
  padding: 18px 12px 14px;
  background: #fff;
  border-right: 1px solid #e7e9f0;
}

.vcw-logo {
  display: flex;
  align-items: baseline;
  gap: 1px;
  margin: 2px 10px 22px;
  text-decoration: none;
  letter-spacing: -0.04em;
}
.vcw-logo-mark { color: #1f2430; font-size: 20px; font-weight: 700; }
.vcw-logo-accent { color: #f97316; font-size: 20px; font-weight: 700; }

.vcw-nav { display: flex; flex-direction: column; gap: 4px; }
.vcw-nav a,
.vcw-nav button.vcw-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #3f4654;
  font-size: 14.5px;
  font-weight: 550;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.vcw-nav a svg,
.vcw-nav button.vcw-nav-item svg { color: #4f46e5; }
.vcw-nav a:hover,
.vcw-nav button.vcw-nav-item:hover { background: #f4f6fb; }
.vcw-nav a.is-active,
.vcw-nav button.vcw-nav-item.is-active {
  background: #eef2ff;
  color: #312e81;
  font-weight: 650;
}
.vcw-side-more { margin-top: auto; position: relative; }
.vcw-menu {
  position: absolute;
  left: 8px;
  bottom: 46px;
  z-index: 3;
  min-width: 180px;
  padding: 6px;
  border: 1px solid #e7e9f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
}
.vcw-menu a,
.vcw-menu button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1f2430;
  font-size: 14px;
  font-weight: 550;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.vcw-menu a:hover,
.vcw-menu button:hover { background: #f4f6fb; }
.vcw-menu[hidden] { display: none; }

.vcw-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vcw-top {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 0 22px;
  background: #fff;
  border-bottom: 1px solid #e7e9f0;
}
.vcw-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 560px;
  margin: 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #e6e8ef;
  border-radius: 999px;
  background: #fff;
  color: #9aa1ad;
}
.vcw-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #111827;
  font-size: 14px;
}
.vcw-search input::placeholder { color: #9aa1ad; }
.vcw-top-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.vcw-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4b5563;
  cursor: pointer;
}
.vcw-icon-btn:hover { background: #f4f6fb; }
.vcw-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.vcw-badge[hidden] { display: none; }
.vcw-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f2430;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.vcw-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #4f46e5;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.vcw-pop {
  position: absolute;
  top: 58px;
  right: 22px;
  z-index: 4;
  width: 260px;
  padding: 14px;
  border: 1px solid #e7e9f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
}
.vcw-pop[hidden] { display: none; }
.vcw-pop p { color: #4b5563; font-size: 14px; line-height: 1.45; }
.vcw-pop a { color: #4f46e5; font-weight: 650; font-size: 14px; text-decoration: none; }

.vcw-scroll { overflow: visible; padding: 4px 0 28px; }
.vcw-crumb { margin: 0 0 12px; color: #8b919e; font-size: 13px; }
.vcw-crumb a { color: #8b919e; text-decoration: none; }
.vcw-crumb a:hover { color: #4f46e5; }
.vcw-crumb span { margin: 0 6px; }

.vcw-title-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.vcw-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.vcw-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f97316;
  flex: 0 0 auto;
}
.vcw-title h1 {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 750;
}
.vcw-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 13px;
  font-weight: 650;
}
.vcw-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vcw-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #e6e8ef;
  border-radius: 12px;
  background: #fff;
  color: #1f2430;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.vcw-ghost:hover { background: #f8f9fc; }
.vcw-lead { margin: 8px 0 0; color: #6b7280; font-size: 14px; }
.vcw-lead strong { color: #6b7280; font-weight: 650; }
.vcw-desc { margin: 6px 0 0; color: #4b5563; font-size: 15px; line-height: 1.45; }

.vcw-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin: 22px 0 8px;
}
.vcw-steps { display: flex; flex: 1; min-width: 280px; align-items: flex-start; }
.vcw-step {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 72px;
  color: #9aa1ad;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.vcw-step::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 50%;
  left: -50%;
  height: 2px;
  background: #e5e7eb;
}
.vcw-step:first-child::before { display: none; }
.vcw-step-dot {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  border: 2px solid #d7dbe3;
  border-radius: 999px;
  background: #fff;
}
.vcw-step.is-done,
.vcw-step.is-current { color: #111827; }
.vcw-step.is-current { color: #4338ca; font-weight: 750; }
.vcw-step.is-done .vcw-step-dot,
.vcw-step.is-current .vcw-step-dot { border-color: #4f46e5; background: #4f46e5; }
.vcw-step.is-done .vcw-step-dot::after,
.vcw-step.is-current .vcw-step-dot::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 6px;
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.vcw-step.is-current .vcw-step-dot::after { display: none; }
.vcw-step.is-current .vcw-step-dot { box-shadow: inset 0 0 0 4px #fff; background: #4f46e5; }

.vcw-delivery {
  width: 230px;
  padding: 12px 14px;
  border: 1px solid #e6e8ef;
  border-radius: 14px;
  background: #fff;
}
.vcw-delivery-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}
.vcw-bar { height: 6px; border-radius: 999px; background: #eef0f4; overflow: hidden; }
.vcw-bar span { display: block; height: 100%; background: #c7c9d1; border-radius: inherit; }

.vcw-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  margin: 8px 0 16px;
  border-bottom: 1px solid #e7e9f0;
}
.vcw-tabs a,
.vcw-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.vcw-tabs a:hover,
.vcw-tabs button:hover { color: #111827; }
.vcw-tabs a.is-active,
.vcw-tabs button.is-active {
  border-bottom-color: #4f46e5;
  color: #312e81;
}

.vcw-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}
.vcw-stack { display: flex; flex-direction: column; gap: 16px; }
.vcw-card {
  padding: 18px 18px 16px;
  border: 1px solid #e6e8ef;
  border-radius: 16px;
  background: #fff;
}
.vcw-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.vcw-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eef2ff;
  color: #4f46e5;
}
.vcw-card-icon.is-orange { background: #fff4eb; color: #f97316; }
.vcw-card-icon.is-gold { background: #fff8e8; color: #d97706; }
.vcw-card h2 { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }

.vcw-snap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.vcw-snap span { display: block; margin-bottom: 3px; color: #8b919e; font-size: 13px; }
.vcw-snap strong { font-size: 15px; font-weight: 700; }

.vcw-people { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.vcw-people dl { margin: 0; }
.vcw-people dl + dl { padding-left: 22px; border-left: 1px solid #eef0f4; }
.vcw-people div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #f2f3f7;
}
.vcw-people dt { color: #6b7280; font-size: 14px; }
.vcw-people dd { margin: 0; color: #111827; font-size: 14px; font-weight: 700; text-align: right; }
.vcw-people dd.is-empty { color: #9aa1ad; font-weight: 600; }

.vcw-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 12px 18px;
  color: #6b7280;
  text-align: center;
}
.vcw-empty strong { color: #1f2430; font-size: 15px; }
.vcw-empty p { font-size: 13px; }
.vcw-miles { display: flex; flex-direction: column; gap: 10px; }
.vcw-mile {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f2f3f7;
}
.vcw-mile b { font-size: 14px; }
.vcw-mile span { color: #6b7280; font-size: 13px; }

.vcw-next p { margin-top: 6px; color: #6b7280; font-size: 14px; line-height: 1.45; }
.vcw-next p.vcw-next-title {
  margin-top: -4px;
  color: #111827;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
#vc2-case-workspace .vcw-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
#vc2-case-workspace .vcw-primary:hover { background: #4338ca; }
#vc2-case-workspace .vcw-primary:disabled { opacity: 0.6; cursor: default; }

.vcw-glance,
.vcw-quick { display: flex; flex-direction: column; }
.vcw-glance div,
.vcw-quick button,
.vcw-quick a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #f2f3f7;
  background: transparent;
  color: #1f2430;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.vcw-glance div:last-child,
.vcw-quick button:last-child,
.vcw-quick a:last-child { border-bottom: 0; }
.vcw-glance b { color: #6b7280; font-weight: 650; }
.vcw-quick button span,
.vcw-quick a span { display: inline-flex; align-items: center; gap: 8px; }
.vcw-quick svg { color: #6b7280; }

.vcw-panel h2 { margin-bottom: 8px; font-size: 18px; }
.vcw-panel .vcw-muted { margin-bottom: 14px; color: #6b7280; font-size: 14px; }
.vcw-list { display: flex; flex-direction: column; }
.vcw-list article {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f2f3f7;
}
.vcw-list article:last-child { border-bottom: 0; }
.vcw-list b { display: block; font-size: 14.5px; }
.vcw-list small { color: #6b7280; }
.vcw-upload {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}
.vcw-note {
  width: 100%;
  min-height: 110px;
  padding: 10px 12px;
  border: 1px solid #e6e8ef;
  border-radius: 12px;
  resize: vertical;
}
.vcw-alert {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f4f6fb;
  color: #1f2430;
  font-size: 14px;
}
.vcw-alert.is-error { background: #fef2f2; color: #991b1b; }
.vcw-stage-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f2f3f7;
  text-decoration: none;
}
.vcw-stage-link strong { font-size: 15px; }
.vcw-stage-link span { color: #6b7280; font-size: 13px; }
.vcw-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.28);
}
.vcw-dialog form {
  width: min(480px, 100%);
  padding: 18px;
  border-radius: 16px;
  background: #fff;
}
.vcw-dialog h2 { margin-bottom: 6px; }
.vcw-dialog p { margin-bottom: 12px; color: #6b7280; font-size: 14px; }
.vcw-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
#vc2-case-workspace .vcw-primary.is-inline { width: auto; margin-top: 0; }

.vcw-native-slot:empty { display: none; }

html.vc2-case-native .vcw-native-page {
  position: relative;
  z-index: auto;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  margin: 0;
  overflow: visible;
  background: transparent;
  padding: 0;
}
html.vc2-case-native .vcw-native-head,
html.vc2-case-native .vcw-native-strip {
  display: none !important;
}

@media (max-width: 1100px) {
  .vcw-grid,
  .vcw-snap,
  .vcw-people { grid-template-columns: 1fr; }
  .vcw-people dl + dl { padding-left: 0; border-left: 0; }
}
