/* =========================================================
   WebsDocs Business Industry Automation Runtime
   Plan: Business
   Files: /industry/business/auto-business.html
          /industry/business/industry-business.css
          /industry/business/industry-business.js
========================================================= */

:root {
  --wdi-primary: #6f1fe5;
  --wdi-primary-2: #5a13c7;
  --wdi-blue: #2563eb;
  --wdi-cyan: #06b6d4;
  --wdi-ink: #160038;
  --wdi-muted: #5f687c;
  --wdi-soft: #f7f2ff;
  --wdi-panel: rgba(255, 255, 255, 0.86);
  --wdi-border: rgba(111, 31, 229, 0.14);
  --wdi-shadow: 0 28px 72px rgba(42, 1, 70, 0.12), 0 12px 28px rgba(15, 23, 42, 0.05);
  --wdi-radius-xl: 38px;
  --wdi-radius-lg: 28px;
  --wdi-radius-md: 20px;
  --wdi-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wdi-hosted-page {
  margin: 0;
  min-height: 100vh;
  font-family: var(--wdi-font);
  background:
    radial-gradient(circle at 12% 8%, rgba(111, 31, 229, 0.10), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(6, 182, 212, 0.08), transparent 30%),
    radial-gradient(circle at 76% 72%, rgba(255, 13, 150, 0.055), transparent 28%),
    linear-gradient(180deg, #fbf9ff 0%, #f4f0fb 46%, #ffffff 100%);
  color: var(--wdi-ink);
}

.wdi-hosted-shell {
  width: min(1820px, calc(100% - 48px));
  margin: 0 auto;
  padding: 38px 0 54px;
}

.wdi-root,
.wdi-root * {
  box-sizing: border-box;
}

.wdi-root {
  font-family: var(--wdi-font);
  color: var(--wdi-ink);
}

.wdi-launcher {
  position: fixed;
  z-index: 2147483000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 18px 10px 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: 900 14px/1 var(--wdi-font);
  background: linear-gradient(135deg, var(--wdi-primary) 0%, var(--wdi-primary-2) 54%, var(--wdi-blue) 100%);
  box-shadow: 0 22px 48px rgba(90, 19, 199, 0.26), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform .22s ease, box-shadow .22s ease;
}

.wdi-launcher:hover,
.wdi-launcher:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px rgba(90, 19, 199, 0.34), inset 0 1px 0 rgba(255,255,255,0.22);
  outline: none;
}

.wdi-launcher[data-position="bottom-right"] { right: 24px; bottom: 24px; }
.wdi-launcher[data-position="bottom-left"] { left: 24px; bottom: 24px; }

.wdi-launcher img,
.wdi-launcher-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16);
}

.wdi-drawer {
  position: fixed;
  z-index: 2147482999;
  inset: 0;
  display: none;
  background: rgba(22, 0, 56, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.wdi-drawer.is-open { display: block; }

.wdi-drawer-panel {
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;
  width: min(760px, calc(100vw - 36px));
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(111, 31, 229, 0.24);
  background:
    radial-gradient(circle at 88% 8%, rgba(111, 31, 229, 0.16), transparent 32%),
    radial-gradient(circle at 14% 88%, rgba(6, 182, 212, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
  box-shadow: 0 36px 120px rgba(22, 0, 56, 0.30);
}

.wdi-drawer-panel .wdi-app { height: 100%; overflow: auto; }

.wdi-app {
  width: 100%;
}

.wdi-fullpage .wdi-app {
  min-height: calc(100vh - 96px);
}

.wdi-hero {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--wdi-radius-xl);
  border: 1px solid var(--wdi-border);
  background:
    radial-gradient(circle at 12% 10%, rgba(111, 31, 229, 0.11), transparent 32%),
    radial-gradient(circle at 88% 16%, rgba(6, 182, 212, 0.055), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 255, 0.88));
  box-shadow: var(--wdi-shadow);
}

.wdi-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.wdi-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wdi-brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--wdi-primary) 0%, var(--wdi-primary-2) 58%, var(--wdi-blue) 100%);
  box-shadow: 0 16px 36px rgba(90, 19, 199, 0.28);
}

.wdi-brand strong {
  display: block;
  font-size: 18px;
  color: var(--wdi-ink);
}

.wdi-brand span {
  display: block;
  margin-top: 4px;
  color: var(--wdi-muted);
  font-size: 13px;
  font-weight: 750;
}

.wdi-close {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(111, 31, 229, 0.16);
  border-radius: 50%;
  background: rgba(255,255,255,0.82);
  color: var(--wdi-ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.wdi-drawer-panel .wdi-close { display: inline-grid; place-items: center; }

.wdi-title {
  max-width: 980px;
  margin: 0;
  color: var(--wdi-ink);
  font-size: clamp(34px, 4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.wdi-title span { color: var(--wdi-primary); }

.wdi-lead {
  max-width: 980px;
  margin: 20px 0 0;
  color: var(--wdi-muted);
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.72;
}

.wdi-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.wdi-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: #4f5870;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(111,31,229,0.13);
  font-size: 13px;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
}

.wdi-workspace {
  display: grid;
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 26px;
}

.wdi-rail,
.wdi-panel,
.wdi-case-box {
  border: 1px solid var(--wdi-border);
  border-radius: var(--wdi-radius-lg);
  background: var(--wdi-panel);
  box-shadow: var(--wdi-shadow);
}

.wdi-rail {
  padding: 18px;
  height: fit-content;
  position: sticky;
  top: 18px;
}

.wdi-rail-title {
  display: block;
  color: var(--wdi-ink);
  font-size: 15px;
  font-weight: 950;
}

.wdi-rail-note {
  margin: 8px 0 16px;
  color: var(--wdi-muted);
  font-size: 13px;
  line-height: 1.5;
}

.wdi-group-list {
  display: grid;
  gap: 10px;
}

.wdi-group-btn {
  width: 100%;
  text-align: left;
  padding: 13px 14px;
  border: 1px solid rgba(111,31,229,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.76);
  color: var(--wdi-ink);
  cursor: pointer;
  font: 850 14px/1.25 var(--wdi-font);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.wdi-group-btn small {
  display: block;
  margin-top: 5px;
  color: var(--wdi-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.wdi-group-btn:hover,
.wdi-group-btn.is-active {
  transform: translateY(-1px);
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--wdi-primary) 0%, var(--wdi-primary-2) 54%, var(--wdi-blue) 100%);
}

.wdi-group-btn:hover small,
.wdi-group-btn.is-active small { color: rgba(255,255,255,0.78); }

.wdi-panel {
  overflow: hidden;
  min-height: 640px;
}

.wdi-panel-head {
  padding: 22px 24px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(111, 31, 229, 0.22), transparent 34%),
    radial-gradient(circle at 18% 20%, rgba(6, 182, 212, 0.12), transparent 28%),
    linear-gradient(135deg, #160038 0%, #111827 52%, #22003b 100%);
}

.wdi-panel-head span {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  color: #d8c9ff;
  background: rgba(111,31,229,0.16);
  border: 1px solid rgba(111,31,229,0.30);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.wdi-panel-head h2 {
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(24px, 2.1vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.wdi-panel-head p {
  max-width: 760px;
  margin: 12px 0 0;
  color: rgba(247,242,255,0.75);
  font-size: 14px;
  line-height: 1.6;
}

.wdi-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.wdi-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wdi-field {
  display: grid;
  gap: 7px;
}

.wdi-field span {
  color: var(--wdi-ink);
  font-size: 13px;
  font-weight: 850;
}

.wdi-field input,
.wdi-field textarea,
.wdi-field select {
  width: 100%;
  border: 1px solid rgba(111,31,229,0.14);
  border-radius: 16px;
  background: rgba(255,255,255,0.88);
  color: var(--wdi-ink);
  font: 650 14px/1.45 var(--wdi-font);
  padding: 13px 14px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
}

.wdi-field textarea { resize: vertical; min-height: 118px; }

.wdi-field input:focus,
.wdi-field textarea:focus,
.wdi-field select:focus {
  border-color: rgba(111,31,229,0.42);
  box-shadow: 0 0 0 4px rgba(111,31,229,0.09);
}

.wdi-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.wdi-primary-btn,
.wdi-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  cursor: pointer;
  font: 900 14px/1 var(--wdi-font);
  text-decoration: none;
}

.wdi-primary-btn {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--wdi-primary) 0%, var(--wdi-primary-2) 54%, var(--wdi-blue) 100%);
  box-shadow: 0 16px 34px rgba(90, 19, 199, 0.24);
}

.wdi-secondary-btn {
  border: 1px solid rgba(111,31,229,0.16);
  background: rgba(255,255,255,0.78);
  color: #4f0fb8;
}

.wdi-status {
  display: none;
  padding: 13px 15px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  background: rgba(37,99,235,0.08);
  color: #1d4ed8;
}

.wdi-status.is-visible { display: block; }
.wdi-status.is-error { background: rgba(220,38,38,0.08); color: #b91c1c; }
.wdi-status.is-success { background: rgba(22,163,74,0.08); color: #15803d; }

.wdi-case-box {
  margin: 0 24px 24px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(111,31,229,0.07), transparent 34%),
    rgba(255,255,255,0.82);
}

.wdi-case-box strong {
  display: block;
  color: var(--wdi-ink);
  font-size: 16px;
}

.wdi-case-box p {
  margin: 8px 0 0;
  color: var(--wdi-muted);
  font-size: 14px;
  line-height: 1.62;
}

.wdi-mini-log {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.wdi-log-item {
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(111,31,229,0.06);
  color: #4f5870;
  font-size: 13px;
  line-height: 1.5;
}

.wdi-log-item strong { color: var(--wdi-ink); display: block; margin-bottom: 4px; }

.wdi-powered {
  margin-top: 18px;
  color: #6e7890;
  font-size: 12px;
  text-align: center;
}

.wdi-powered a { color: var(--wdi-primary); font-weight: 850; text-decoration: none; }

@media (max-width: 980px) {
  .wdi-hosted-shell { width: min(100% - 28px, 100%); padding: 18px 0 34px; }
  .wdi-workspace { grid-template-columns: 1fr; }
  .wdi-rail { position: relative; top: auto; }
  .wdi-field-grid { grid-template-columns: 1fr; }
  .wdi-drawer-panel { inset: 0; width: 100%; border-radius: 0; }
  .wdi-hero { padding: 24px; border-radius: 28px; }
  .wdi-title { font-size: clamp(34px, 11vw, 52px); }
}

@media (max-width: 560px) {
  .wdi-launcher {
    right: 16px !important;
    left: 16px !important;
    bottom: 16px;
    justify-content: center;
  }
  .wdi-topbar { flex-direction: column; }
  .wdi-submit-row > * { width: 100%; }
}


/* =========================================================
   Production hosted page expansion + human review button
========================================================= */

.wdi-page-shell{
  width:min(1820px,calc(100% - 48px));
  margin:0 auto;
}

.wdi-page-top{
  position:relative;
  z-index:4;
  padding:18px 0 0;
}

.wdi-page-top .wdi-page-shell,
.wdi-page-footer .wdi-page-shell{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.wdi-page-brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:var(--wdi-ink);
  text-decoration:none;
}

.wdi-page-brand-mark{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:16px;
  color:#fff;
  font-weight:950;
  background:linear-gradient(135deg,var(--wdi-primary),var(--wdi-primary-2),var(--wdi-blue));
  box-shadow:0 16px 36px rgba(90,19,199,.24);
}

.wdi-page-brand strong,
.wdi-page-brand small{
  display:block;
}

.wdi-page-brand strong{
  font-size:17px;
}

.wdi-page-brand small{
  margin-top:3px;
  color:var(--wdi-muted);
  font-size:12px;
  font-weight:750;
}

.wdi-page-nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px;
}

.wdi-page-nav a{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(111,31,229,.13);
  border-radius:999px;
  padding:0 13px;
  background:rgba(255,255,255,.72);
  color:#4f0fb8;
  font-size:13px;
  font-weight:850;
  text-decoration:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86);
}

.wdi-hosted-intro{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);
  gap:22px;
  align-items:stretch;
  margin:24px 0 24px;
  padding:30px;
  border:1px solid rgba(111,31,229,.13);
  border-radius:42px;
  background:
    radial-gradient(circle at 9% 8%,rgba(111,31,229,.12),transparent 34%),
    radial-gradient(circle at 90% 10%,rgba(6,182,212,.10),transparent 32%),
    linear-gradient(135deg,rgba(255,255,255,.94),rgba(250,247,255,.86));
  box-shadow:var(--wdi-shadow);
  overflow:hidden;
}

.wdi-eyebrow{
  margin:0 0 12px;
  color:var(--wdi-primary);
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.13em;
}

.wdi-hosted-intro h1{
  margin:0;
  max-width:980px;
  color:var(--wdi-ink);
  font-size:clamp(42px,5.2vw,82px);
  line-height:.96;
  letter-spacing:-.07em;
}

.wdi-hosted-intro p{
  max-width:900px;
  color:var(--wdi-muted);
  font-size:18px;
  line-height:1.76;
}

.wdi-hosted-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.wdi-hosted-snapshot{
  display:grid;
  gap:14px;
  align-content:center;
}

.wdi-snapshot-card{
  border:1px solid rgba(111,31,229,.13);
  border-radius:24px;
  padding:18px;
  background:rgba(255,255,255,.76);
  box-shadow:0 16px 38px rgba(42,1,70,.08);
}

.wdi-snapshot-card span{
  display:block;
  color:var(--wdi-muted);
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.09em;
}

.wdi-snapshot-card strong{
  display:block;
  margin-top:7px;
  color:var(--wdi-ink);
  font-size:22px;
  letter-spacing:-.025em;
}

.wdi-snapshot-card small{
  display:block;
  margin-top:6px;
  color:var(--wdi-muted);
  font-weight:700;
  line-height:1.55;
}

.wdi-workflow-guide{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:0 0 24px;
}

.wdi-workflow-guide article{
  border:1px solid rgba(111,31,229,.13);
  border-radius:24px;
  padding:18px;
  background:rgba(255,255,255,.78);
  box-shadow:0 16px 38px rgba(42,1,70,.08);
}

.wdi-workflow-guide span{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:14px;
  color:#fff;
  font-size:12px;
  font-weight:950;
  background:linear-gradient(135deg,var(--wdi-primary),var(--wdi-blue));
}

.wdi-workflow-guide strong{
  display:block;
  margin-top:13px;
  color:var(--wdi-ink);
  font-size:17px;
}

.wdi-workflow-guide p{
  margin:7px 0 0;
  color:var(--wdi-muted);
  font-size:13px;
  line-height:1.55;
}

.wdi-runtime-card{
  position:relative;
}

.wdi-runtime-card::before{
  content:"Live workflow";
  position:absolute;
  z-index:2;
  top:18px;
  right:24px;
  display:inline-flex;
  align-items:center;
  min-height:30px;
  border-radius:999px;
  padding:0 11px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(111,31,229,.16);
  color:#4f0fb8;
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow:0 10px 22px rgba(42,1,70,.08);
}

.wdi-client-note{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  margin-top:24px;
  padding:24px;
  border:1px solid rgba(111,31,229,.13);
  border-radius:30px;
  background:
    radial-gradient(circle at right,rgba(6,182,212,.08),transparent 32%),
    rgba(255,255,255,.76);
  box-shadow:var(--wdi-shadow);
}

.wdi-client-note h2{
  margin:0;
  color:var(--wdi-ink);
  font-size:30px;
  line-height:1.05;
  letter-spacing:-.04em;
}

.wdi-client-note p{
  max-width:920px;
  margin:10px 0 0;
  color:var(--wdi-muted);
  line-height:1.7;
}

.wdi-page-footer{
  padding:0 0 26px;
  color:#6e7890;
  font-size:12px;
  font-weight:750;
}

.wdi-page-footer a{
  color:var(--wdi-primary);
  text-decoration:none;
  font-weight:900;
}

.wdi-handoff-card{
  margin-top:16px;
  padding:16px;
  border:1px solid rgba(111,31,229,.14);
  border-radius:22px;
  background:
    radial-gradient(circle at top right,rgba(111,31,229,.10),transparent 34%),
    rgba(255,255,255,.76);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.80);
}

.wdi-handoff-card strong{
  display:block;
  color:var(--wdi-ink);
  font-size:15px;
}

.wdi-handoff-card p{
  margin:7px 0 12px;
  color:var(--wdi-muted);
  font-size:12px;
  line-height:1.55;
}

.wdi-handoff-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border:1px solid rgba(111,31,229,.18);
  border-radius:999px;
  cursor:pointer;
  color:#4f0fb8;
  background:
    linear-gradient(180deg,rgba(255,255,255,.90),rgba(247,242,255,.86));
  box-shadow:0 13px 28px rgba(90,19,199,.10);
  font:900 14px/1 var(--wdi-font);
  text-decoration:none;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;
}

.wdi-handoff-btn:hover,
.wdi-handoff-btn:focus-visible{
  transform:translateY(-1px);
  outline:none;
  border-color:rgba(111,31,229,.32);
  background:linear-gradient(135deg,#fff,#f4edff);
  box-shadow:0 18px 38px rgba(90,19,199,.16);
}

.wdi-handoff-btn:disabled{
  opacity:.66;
  cursor:wait;
  transform:none;
}

.wdi-submit-row .wdi-handoff-btn{
  background:linear-gradient(135deg,#fff,#f7f2ff);
}

.wdi-case-box.is-handoff{
  border-color:rgba(111,31,229,.22);
  background:
    radial-gradient(circle at top right,rgba(111,31,229,.11),transparent 34%),
    radial-gradient(circle at bottom left,rgba(6,182,212,.08),transparent 30%),
    rgba(255,255,255,.88);
}

.wdi-case-box.is-handoff strong::before{
  content:"✓ ";
  color:#15803d;
}

@media (max-width: 1100px){
  .wdi-hosted-intro{
    grid-template-columns:1fr;
  }

  .wdi-workflow-guide{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .wdi-client-note{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media (max-width: 720px){
  .wdi-page-shell,
  .wdi-hosted-shell{
    width:min(100% - 28px,100%);
  }

  .wdi-page-top .wdi-page-shell,
  .wdi-page-footer .wdi-page-shell{
    align-items:flex-start;
    flex-direction:column;
  }

  .wdi-page-nav{
    justify-content:flex-start;
  }

  .wdi-hosted-intro{
    padding:22px;
    border-radius:30px;
  }

  .wdi-hosted-intro h1{
    font-size:40px;
  }

  .wdi-workflow-guide{
    grid-template-columns:1fr;
  }

  .wdi-runtime-card::before{
    display:none;
  }

  .wdi-client-note h2{
    font-size:25px;
  }

  .wdi-handoff-btn{
    width:100%;
  }
}

/* =========================================================
   WebsDocs Business Hosted UI Patch
   Purpose: restore 1820px width + make action buttons prominent
   Add this at the END of industry-business.css
========================================================= */

/* Full hosted page width */
.wdi-page-shell,
.wdi-hosted-shell {
  width: min(1820px, calc(100% - 48px));
  max-width: 1820px;
  margin-left: auto;
  margin-right: auto;
}

/* Keep the main runtime area wide and balanced */
.wdi-workspace {
  grid-template-columns: minmax(320px, 0.28fr) minmax(0, 1fr);
  align-items: stretch;
}

.wdi-panel {
  min-height: 680px;
}

/* Move action buttons to the right and make them feel clickable */
.wdi-submit-row {
  justify-content: flex-end;
  gap: 14px;
  padding-top: 8px;
}

.wdi-submit-row > button {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: -0.01em;
  box-shadow: 0 16px 34px rgba(42, 1, 70, 0.10);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.wdi-submit-row > button:hover,
.wdi-submit-row > button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

/* Main create request button */
.wdi-submit-row [data-wdi-submit] {
  min-width: 178px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(135deg, #6f1fe5 0%, #5a13c7 52%, #2563eb 100%);
  box-shadow: 0 20px 44px rgba(90, 19, 199, 0.25);
}

/* Clear remains quiet */
.wdi-submit-row [data-wdi-reset] {
  color: #4f0fb8;
  border: 1px solid rgba(111, 31, 229, 0.16);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

/* Human help button */
.wdi-submit-row [data-wdi-handoff] {
  min-width: 190px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(135deg, #10b981 0%, #059669 58%, #047857 100%);
  box-shadow: 0 20px 44px rgba(5, 150, 105, 0.22);
}

/* Call AI button - sky blue */
.wdi-submit-row [data-wdi-call-btn] {
  min-width: 132px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 55%, #2563eb 100%);
  box-shadow: 0 20px 44px rgba(14, 165, 233, 0.22);
}

/* Voice note button - premium cyan/teal */
.wdi-submit-row [data-wdi-voice-btn] {
  min-width: 148px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 52%, #0891b2 100%);
  box-shadow: 0 20px 44px rgba(6, 182, 212, 0.22);
}

/* Live call state */
.wdi-submit-row [data-wdi-call-btn].is-live {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 55%, #991b1b 100%);
  box-shadow: 0 20px 44px rgba(220, 38, 38, 0.25);
}

/* Sidebar human help stays softer than the main action row */
.wdi-handoff-card .wdi-handoff-btn {
  color: #4f0fb8;
  border: 1px solid rgba(111, 31, 229, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,242,255,.88));
  box-shadow: 0 13px 28px rgba(90, 19, 199, 0.10);
}

/* Top quick workflow pills: clearer active/hover feel */
.wdi-pill {
  min-height: 42px;
  padding: 0 16px;
  color: #4f0fb8;
  border-color: rgba(111, 31, 229, 0.16);
  background: rgba(255, 255, 255, 0.84);
}

.wdi-pill:hover,
.wdi-pill.is-active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #6f1fe5 0%, #5a13c7 56%, #2563eb 100%);
  box-shadow: 0 14px 30px rgba(90, 19, 199, 0.18);
}

/* Mobile: buttons become full width */
@media (max-width: 720px) {
  .wdi-page-shell,
  .wdi-hosted-shell {
    width: min(100% - 28px, 100%);
  }

  .wdi-workspace {
    grid-template-columns: 1fr;
  }

  .wdi-submit-row {
    justify-content: stretch;
  }

  .wdi-submit-row > button {
    width: 100%;
  }
}

.wdi-followup-box {
margin-top: 18px;
padding: 18px;
border-radius: 22px;
border: 1px solid rgba(109, 40, 217, 0.14);
background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(245,240,255,0.82));
box-shadow: 0 18px 45px rgba(46, 16, 101, 0.08);
}

.wdi-followup-label {
display: block;
margin-bottom: 10px;
font-size: 15px;
font-weight: 800;
color: #16072f;
}

.wdi-followup-textarea,
[data-wdi-followup-message] {
width: 100%;
min-height: 112px;
resize: vertical;
border: 1px solid rgba(109, 40, 217, 0.22);
border-radius: 18px;
padding: 14px 16px;
background: rgba(255,255,255,0.98);
color: #16072f;
font: inherit;
font-size: 15px;
line-height: 1.55;
outline: none;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.wdi-followup-textarea:focus,
[data-wdi-followup-message]:focus {
border-color: rgba(109, 40, 217, 0.55);
box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.10);
}

.wdi-followup-row {
display: flex;
align-items: center;
gap: 14px;
justify-content: flex-end;
margin-top: 14px;
flex-wrap: wrap;
}

.wdi-followup-note {
font-size: 13px;
color: #6b6280;
}

.wdi-followup-message {
margin-top: 12px;
}

.wdi-followup-message strong {
display: block;
margin-bottom: 6px;
color: #16072f;
}

@media (max-width: 720px) {
.wdi-followup-row {
justify-content: stretch;
}

.wdi-followup-row .wdi-primary-btn {
width: 100%;
}

.wdi-followup-note {
width: 100%;
text-align: center;
}
}