/* Servixo 4.17 premium legacy upload and public portal motion */

/* Public portal cards: use the full lower area for a lightweight animated story. */
.sx-home-hero .sx-portal-grid{
  align-items:stretch;
}
.sx-home-hero .sx-portal-feature-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:570px;
  overflow:hidden;
}
.sx-home-hero .sx-portal-feature-card>h3{
  margin-bottom:8px;
}
.sx-home-hero .sx-portal-feature-card>p{
  margin-bottom:0;
}
.sx-portal-visual{
  position:relative;
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  justify-content:flex-end;
  min-height:292px;
  margin-top:14px;
  margin-bottom:8px;
  padding:10px 10px 12px;
  border:1px solid color-mix(in srgb,var(--sx-line) 72%,transparent);
  border-radius:22px;
  overflow:hidden;
  isolation:isolate;
}
.sx-company-flow{
  background:linear-gradient(160deg,color-mix(in srgb,#ffd9ca 34%,var(--sx-card)),color-mix(in srgb,#d9f5f1 48%,var(--sx-card)));
}
.sx-employee-flow{
  background:linear-gradient(160deg,color-mix(in srgb,#e9ddff 38%,var(--sx-card)),color-mix(in srgb,#d9f5f1 42%,var(--sx-card)));
}
.sx-portal-visual::before{
  content:"";
  position:absolute;
  inset:auto -18% -36% 18%;
  height:70%;
  border-radius:50%;
  background:color-mix(in srgb,var(--sx-primary) 9%,transparent);
  filter:blur(2px);
  z-index:-1;
}
.sx-portal-visual svg{
  display:block;
  width:100%;
  height:auto;
  max-height:286px;
  overflow:visible;
  animation:sx417VisualBreathe 7s ease-in-out infinite;
}
.sx-visual-backdrop{
  fill:color-mix(in srgb,var(--sx-card) 62%,transparent);
  stroke:color-mix(in srgb,var(--sx-line) 75%,transparent);
  stroke-width:1.5;
}
.sx-portal-visual-label{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  flex-wrap:wrap;
  padding:2px 8px 0;
}
.sx-portal-visual-label span{
  font-size:10px;
  font-weight:850;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--sx-muted);
}
.sx-portal-visual-label span+span::before{
  content:"•";
  margin-right:7px;
  color:color-mix(in srgb,var(--sx-primary) 55%,var(--sx-muted));
}

/* Company workflow animation */
.sx-flow-line{
  fill:none;
  stroke:color-mix(in srgb,var(--sx-primary) 48%,transparent);
  stroke-width:4;
  stroke-linecap:round;
  stroke-dasharray:9 10;
  animation:sx417FlowLine 5.8s linear infinite;
}
.sx-flow-line-two{animation-delay:-1.15s}
.sx-flow-line-three{animation-delay:-2.3s}
.sx-flow-line-four{animation-delay:-3.45s}
.sx-flow-line-five{animation-delay:-4.6s}
.sx-flow-hub>rect:first-child{
  fill:color-mix(in srgb,var(--sx-primary) 82%,#0b6f69);
  filter:drop-shadow(0 12px 18px color-mix(in srgb,var(--sx-primary) 18%,transparent));
}
.sx-flow-hub-head{fill:rgba(255,255,255,.86)}
.sx-flow-hub-row{fill:rgba(255,255,255,.62)}
.sx-flow-node>circle:first-child{
  stroke:rgba(255,255,255,.72);
  stroke-width:2;
  animation:sx417NodePulse 4.8s ease-in-out infinite;
}
.sx-node-client>circle:first-child{fill:#f4a58a}
.sx-node-calendar>circle:first-child{fill:#77c9d4;animation-delay:-1.1s}
.sx-node-team>circle:first-child{fill:#9a86d4;animation-delay:-2.2s}
.sx-node-invoice>circle:first-child{fill:#f0b85d;animation-delay:-3.3s}
.sx-node-report>circle:first-child{fill:#72cba4;animation-delay:-4.1s}
.sx-node-inner{
  fill:none;
  stroke:#fff;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Employee workflow animation */
.sx-job-route{
  fill:none;
  stroke:color-mix(in srgb,#8b6ed0 52%,transparent);
  stroke-width:5;
  stroke-linecap:round;
  stroke-dasharray:12 11;
  animation:sx417JobRoute 6.8s linear infinite;
}
.sx-job-card>rect:first-child{
  fill:color-mix(in srgb,var(--sx-card) 90%,#e8e2ff 10%);
  stroke:color-mix(in srgb,#8b6ed0 24%,var(--sx-line));
  stroke-width:1.5;
  filter:drop-shadow(0 8px 12px rgba(44,45,70,.08));
}
.sx-job-card{animation:sx417CardSignal 6.8s ease-in-out infinite}
.sx-job-card-two{animation-delay:-1.7s}
.sx-job-card-three{animation-delay:-3.4s}
.sx-job-card-four{animation-delay:-5.1s}
.sx-job-icon{fill:color-mix(in srgb,#8b6ed0 18%,#f4efff)}
.sx-job-icon-mark{
  fill:none;
  stroke:#7654c4;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.sx-job-copy{fill:color-mix(in srgb,var(--sx-muted) 26%,transparent)}
.sx-job-complete{fill:#68c59d}
.sx-job-complete-mark{
  fill:none;
  stroke:#fff;
  stroke-width:2.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.sx-route-pulse{
  fill:#fff;
  stroke:#8b6ed0;
  stroke-width:4;
  animation:sx417RoutePulse 6.8s ease-in-out infinite;
}
.sx-route-pulse-two{animation-delay:-1.7s}
.sx-route-pulse-three{animation-delay:-3.4s}
.sx-route-pulse-four{stroke:#45ae83;animation-delay:-5.1s}

@keyframes sx417VisualBreathe{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-4px)}
}
@keyframes sx417FlowLine{
  to{stroke-dashoffset:-76}
}
@keyframes sx417JobRoute{
  to{stroke-dashoffset:-92}
}
@keyframes sx417NodePulse{
  0%,100%{opacity:.82;filter:brightness(1)}
  50%{opacity:1;filter:brightness(1.08)}
}
@keyframes sx417CardSignal{
  0%,100%{opacity:.76}
  22%,48%{opacity:1}
}
@keyframes sx417RoutePulse{
  0%,100%{opacity:.42}
  18%,36%{opacity:1}
}

/* Premium legacy backup uploader */
.sx-legacy-upload-premium{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px;
  align-items:end;
}
.sx-legacy-upload-field{
  display:grid;
  gap:8px;
  min-width:0;
}
.sx-legacy-upload-title{
  display:block;
  font-weight:850;
  color:var(--sx-ink);
}
.sx-legacy-upload-shell{
  position:relative;
  min-width:0;
}
.sx-legacy-file-input{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.sx-legacy-dropzone{
  display:flex!important;
  align-items:center;
  gap:16px!important;
  min-height:116px;
  padding:19px 21px;
  border:1.5px dashed color-mix(in srgb,var(--sx-primary) 42%,var(--sx-line));
  border-radius:18px;
  background:linear-gradient(135deg,color-mix(in srgb,var(--sx-primary) 6%,var(--sx-card)),color-mix(in srgb,#24aeea 5%,var(--sx-card)));
  cursor:pointer;
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.sx-legacy-dropzone[hidden]{display:none!important}
.sx-legacy-dropzone:hover,
.sx-legacy-upload-shell.is-dragover .sx-legacy-dropzone{
  border-color:var(--sx-primary);
  background:linear-gradient(135deg,color-mix(in srgb,var(--sx-primary) 10%,var(--sx-card)),color-mix(in srgb,#24aeea 8%,var(--sx-card)));
  transform:translateY(-1px);
}
.sx-legacy-file-input:focus-visible+.sx-legacy-dropzone{
  outline:3px solid color-mix(in srgb,var(--sx-primary) 28%,transparent);
  outline-offset:3px;
}
.sx-legacy-upload-icon,
.sx-legacy-file-badge{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:52px;
  height:52px;
  border-radius:15px;
  background:linear-gradient(135deg,var(--sx-primary),#18afe0);
  color:#fff;
}
.sx-legacy-upload-icon svg,
.sx-legacy-file-badge svg,
.sx-legacy-button-icon svg{
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.sx-legacy-upload-copy{
  display:grid;
  gap:3px;
  min-width:0;
}
.sx-legacy-upload-copy strong{
  font-size:17px;
  color:var(--sx-ink);
}
.sx-legacy-upload-copy>span{
  color:var(--sx-muted);
  font-weight:650;
}
.sx-legacy-upload-copy small{
  color:var(--sx-muted);
  font-weight:500;
}
.sx-legacy-file-selection{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:13px;
  min-height:116px;
  padding:16px 18px;
  border:1px solid color-mix(in srgb,var(--sx-primary) 36%,var(--sx-line));
  border-radius:18px;
  background:color-mix(in srgb,var(--sx-primary) 7%,var(--sx-card));
}
.sx-legacy-file-selection[hidden]{display:none!important}
.sx-legacy-file-badge{
  width:46px;
  height:46px;
  border-radius:13px;
}
.sx-legacy-file-copy{
  display:grid;
  gap:4px;
  min-width:0;
}
.sx-legacy-file-copy strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--sx-ink);
}
.sx-legacy-file-copy small{color:var(--sx-muted)}
.sx-legacy-file-remove{
  min-height:42px!important;
  white-space:nowrap;
}
.sx-legacy-analyze-button{
  align-self:end;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-width:190px;
  width:auto;
  height:116px;
  min-height:116px!important;
  padding-inline:24px!important;
}
.sx-legacy-button-icon{
  display:grid;
  place-items:center;
}
.sx-legacy-button-icon svg{width:22px;height:22px}

@media(max-width:1000px){
  .sx-home-hero .sx-portal-feature-card{min-height:520px}
  .sx-portal-visual{min-height:260px}
}
@media(max-width:900px){
  .sx-legacy-upload-premium{grid-template-columns:1fr}
  .sx-legacy-analyze-button{align-self:stretch;height:auto;min-height:52px!important;min-width:0;width:100%}
}
@media(max-width:720px){
  .sx-home-hero .sx-portal-feature-card{min-height:440px}
  .sx-portal-visual{min-height:230px;margin-top:12px;margin-bottom:6px}
  .sx-portal-visual-label{gap:5px}
  .sx-portal-visual-label span{font-size:9px}
  .sx-legacy-dropzone{align-items:flex-start;min-height:0;padding:16px}
  .sx-legacy-file-selection{grid-template-columns:auto minmax(0,1fr);min-height:0;padding:14px}
  .sx-legacy-file-remove{grid-column:1/-1;width:100%}
}
@media(max-width:480px){
  .sx-home-hero .sx-portal-feature-card{min-height:400px}
  .sx-portal-visual{min-height:210px;margin-top:10px;margin-bottom:5px;padding:7px 7px 10px;border-radius:18px}
  .sx-portal-visual svg{max-height:230px}
  .sx-legacy-dropzone{gap:12px!important}
  .sx-legacy-upload-icon{width:46px;height:46px;border-radius:13px}
  .sx-legacy-upload-copy strong{font-size:16px}
}
@media(prefers-reduced-motion:reduce){
  .sx-portal-visual svg,
  .sx-flow-line,
  .sx-flow-node>circle:first-child,
  .sx-job-route,
  .sx-job-card,
  .sx-route-pulse{
    animation:none!important;
  }
  .sx-legacy-dropzone{transition:none}
}

/* 4.18.7 secure reset experience */
.sx-reset-page .sx-shell{max-width:1220px}.sx-reset-wrap{display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:24px;align-items:stretch}.sx-reset-hero,.sx-reset-card{border:1px solid var(--sx-line,#d7e7e2);border-radius:30px;background:var(--sx-panel,#fff);box-shadow:0 26px 70px rgba(8,45,40,.09)}.sx-reset-hero{padding:42px;background:linear-gradient(145deg,#073f3a,#0f766e);color:#fff;position:relative;overflow:hidden}.sx-reset-hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.07);right:-90px;bottom:-90px}.sx-reset-hero .sx-eyebrow{color:#bfe9df}.sx-reset-hero h1{font-size:clamp(38px,4vw,60px);line-height:.98;letter-spacing:-.06em;margin:14px 0 20px}.sx-reset-hero p{font-size:17px;line-height:1.7;color:rgba(255,255,255,.86);max-width:520px}.sx-reset-security-list{display:grid;gap:12px;margin-top:34px;position:relative;z-index:1}.sx-reset-security-list span{display:flex;align-items:center;gap:12px;font-weight:800}.sx-reset-security-list b{width:34px;height:34px;border-radius:12px;background:rgba(255,255,255,.14);display:grid;place-items:center}.sx-reset-card{padding:36px}.sx-reset-card-head{display:flex;align-items:center;gap:14px;margin-bottom:24px}.sx-reset-card-head h2{font-size:30px;margin:4px 0 0;letter-spacing:-.04em}.sx-reset-lock{width:52px;height:52px;border-radius:16px;background:#dff5fb;color:#0799c2;display:grid;place-items:center;font-size:25px;font-weight:900}.sx-reset-message{border-radius:16px;padding:14px 16px;margin:0 0 20px;font-weight:750;line-height:1.5;background:#eef7f5;border:1px solid #d4e9e3}.sx-reset-message.ok{background:#eaf8ef;border-color:#c8e9d2;color:#166534}.sx-reset-message.bad{background:#fff0f0;border-color:#f3caca;color:#b42318}.sx-reset-form{gap:12px}.sx-password-field{display:grid;grid-template-columns:1fr auto;border:1px solid var(--sx-line,#d7e7e2);border-radius:16px;background:var(--sx-panel,#fff);overflow:hidden}.sx-password-field .sx-input{border:0!important;box-shadow:none!important}.sx-password-field button{width:50px;border:0;background:transparent;color:#55736d;font-size:20px;cursor:pointer}.sx-reset-requirements{display:grid;gap:4px;padding:14px 16px;border-radius:16px;background:#f2f8f6;color:#5c7772;font-size:13px}.sx-reset-requirements strong{color:#0b332e}.sx-reset-primary{width:100%;min-height:52px;margin-top:8px}.sx-reset-help{color:#5f7974;line-height:1.65;margin-top:0}.sx-otp-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:22px 0}.sx-otp-grid input{width:100%;height:64px;border:1px solid var(--sx-line,#d7e7e2);border-radius:16px;background:var(--sx-panel,#fff);color:var(--sx-ink,#082d28);text-align:center;font:800 28px/1 Arial,sans-serif}.sx-otp-grid input:focus{outline:none;border-color:#0aa4c8;box-shadow:0 0 0 4px rgba(10,164,200,.14)}.sx-reset-resend{margin-top:12px;text-align:center}.sx-reset-complete,.sx-reset-expired{text-align:center;padding:20px 0}.sx-reset-complete>span{display:grid;place-items:center;width:70px;height:70px;border-radius:24px;background:#e5f7eb;color:#16803e;font-size:32px;font-weight:900;margin:0 auto 18px}.sx-reset-complete h3,.sx-reset-expired h3{font-size:28px;margin:0 0 8px}.sx-reset-complete p,.sx-reset-expired p{color:#617a75}.sx-reset-page [data-password-toggle]{font-family:Arial,sans-serif}
@media(max-width:860px){.sx-reset-wrap{grid-template-columns:1fr}.sx-reset-hero{padding:30px}.sx-reset-card{padding:26px}.sx-reset-hero h1{font-size:42px}}
@media(max-width:560px){.sx-reset-page .sx-shell-pad{padding-left:12px;padding-right:12px}.sx-reset-hero{padding:24px}.sx-reset-card{padding:22px;border-radius:24px}.sx-otp-grid{gap:6px}.sx-otp-grid input{height:54px;border-radius:12px;font-size:23px}.sx-reset-card-head h2{font-size:26px}}

/* 4.18.7 Legacy Data Import clarity and process experience */
.sx-legacy-import-warning{display:grid;gap:5px;margin:18px 0 22px;padding:16px 18px;border:1px solid rgba(14,116,108,.18);border-radius:18px;background:linear-gradient(135deg,rgba(15,118,110,.08),rgba(18,174,234,.06))}.sx-legacy-import-warning strong{color:var(--sx-ink);font-size:15px}.sx-legacy-import-warning span{color:var(--sx-muted);line-height:1.55}.sx-legacy-mapping{margin-top:24px;padding:22px;border:1px solid var(--sx-line);border-radius:26px;background:rgba(247,251,250,.72)}[data-sx-mode="dark"] .sx-legacy-mapping{background:rgba(255,255,255,.025)}.sx-legacy-mapping-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:20px}.sx-legacy-mapping-head h3{margin:5px 0 6px;font-size:25px;letter-spacing:-.04em}.sx-legacy-mapping-head p{margin:0;color:var(--sx-muted);line-height:1.55}.sx-legacy-direction{display:grid;grid-template-columns:minmax(0,1fr) 86px minmax(0,1fr);gap:14px;align-items:stretch}.sx-legacy-side{min-width:0;padding:18px;border:1px solid var(--sx-line);border-radius:22px;background:var(--sx-panel,#fff);box-shadow:0 16px 38px rgba(8,48,43,.045)}.sx-legacy-source-side{border-top:4px solid #168aa9}.sx-legacy-target-side{border-top:4px solid #0f766e}.sx-legacy-side-head{display:flex;align-items:center;gap:11px;margin-bottom:16px}.sx-legacy-side-head>div{display:grid;gap:2px}.sx-legacy-side-head strong{font-size:17px}.sx-legacy-side-head small{color:var(--sx-muted)}.sx-legacy-side-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:999px;font-size:10px;font-weight:950;letter-spacing:.13em}.sx-legacy-side-badge.source{background:#dff4fb;color:#086b87}.sx-legacy-side-badge.target{background:#e2f5ef;color:#0b665e}.sx-legacy-side label{display:grid;gap:7px;font-weight:850;color:var(--sx-ink)}.sx-legacy-side label>span{font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:var(--sx-muted)}.sx-legacy-side-summary{margin-top:14px;display:grid;gap:12px}.sx-legacy-company-identity{padding:13px 14px;border:1px solid var(--sx-line);border-radius:16px;background:rgba(15,118,110,.035);display:grid;gap:3px}.sx-legacy-company-identity strong{font-size:17px}.sx-legacy-company-identity small{color:var(--sx-muted);overflow-wrap:anywhere}.sx-legacy-count-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sx-legacy-count-grid article{padding:11px 12px;border:1px solid var(--sx-line);border-radius:14px;background:rgba(255,255,255,.52);min-width:0}[data-sx-mode="dark"] .sx-legacy-count-grid article{background:rgba(255,255,255,.025)}.sx-legacy-count-grid span{display:block;color:var(--sx-muted);font-size:11px;line-height:1.25}.sx-legacy-count-grid strong{display:block;margin-top:4px;font-size:22px;letter-spacing:-.04em}.sx-legacy-side-empty{min-height:100px;border:1px dashed var(--sx-line);border-radius:16px;display:flex;align-items:center;justify-content:center;gap:9px;padding:16px;color:var(--sx-muted);text-align:center}.sx-legacy-side-empty.is-error{color:#b42318;border-color:#f0b6b6;background:#fff4f4}.sx-legacy-arrow{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#0f766e;text-align:center}.sx-legacy-arrow span{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#dff7f3,#dff3fb);border:1px solid rgba(15,118,110,.16);font-size:27px;font-weight:900}.sx-legacy-arrow small{font-size:9px;font-weight:950;letter-spacing:.11em}.sx-legacy-options{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr);gap:14px;margin-top:14px}.sx-legacy-options label{display:grid;gap:7px;padding:15px;border:1px solid var(--sx-line);border-radius:18px;background:var(--sx-panel,#fff);font-weight:850}.sx-legacy-options label>span{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--sx-muted)}.sx-legacy-options label small{font-weight:500;color:var(--sx-muted);line-height:1.45}.sx-legacy-preserve-rule{padding:16px 18px;border:1px solid rgba(15,118,110,.18);border-radius:18px;background:#eef8f5;display:grid;align-content:center;gap:4px;color:#0a4f49}.sx-legacy-preserve-rule strong{font-size:15px}.sx-legacy-preserve-rule span{line-height:1.5;color:#4e6f69}[data-sx-mode="dark"] .sx-legacy-preserve-rule{background:rgba(15,118,110,.12);color:#c6f3ea}[data-sx-mode="dark"] .sx-legacy-preserve-rule span{color:#9fc5bd}.sx-legacy-integrity{margin:16px 0;padding:18px;border:1px solid rgba(15,118,110,.2);border-radius:22px;background:var(--sx-panel,#fff);box-shadow:0 12px 34px rgba(8,48,43,.045)}.sx-legacy-integrity-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.sx-legacy-integrity-head h4{font-size:20px;margin:8px 0 4px;letter-spacing:-.03em}.sx-legacy-integrity-head p{margin:0;color:var(--sx-muted)}.sx-legacy-integrity-safe{max-width:300px;padding:12px 14px;border-radius:15px;background:#eaf8ef;color:#17643a;display:grid;gap:3px}.sx-legacy-integrity-safe span{font-size:12px;line-height:1.4}.sx-legacy-plan-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.sx-legacy-plan-cards article{padding:13px 14px;border:1px solid var(--sx-line);border-radius:16px;background:rgba(15,118,110,.035)}.sx-legacy-plan-cards article.is-insert{background:#eaf8fc;border-color:#c4e8f2}.sx-legacy-plan-cards article.is-preserve{background:#eaf8ef;border-color:#cbe7d4}.sx-legacy-plan-cards span{display:block;font-size:11px;color:var(--sx-muted);line-height:1.3}.sx-legacy-plan-cards strong{display:block;font-size:25px;margin-top:3px}.sx-legacy-plan-table-wrap{overflow:auto;border:1px solid var(--sx-line);border-radius:16px}.sx-legacy-plan-table{width:100%;border-collapse:collapse;min-width:620px}.sx-legacy-plan-table th,.sx-legacy-plan-table td{padding:10px 12px;border-bottom:1px solid var(--sx-line);text-align:right;font-size:12px}.sx-legacy-plan-table thead th{background:rgba(15,118,110,.055);color:var(--sx-muted);text-transform:uppercase;letter-spacing:.06em;font-size:10px;white-space:nowrap}.sx-legacy-plan-table th:first-child{text-align:left}.sx-legacy-plan-table td.insert{color:#086b87;font-weight:850}.sx-legacy-plan-table td.preserve{color:#17643a;font-weight:850}.sx-legacy-plan-table tbody tr:last-child th,.sx-legacy-plan-table tbody tr:last-child td{border-bottom:0}.sx-legacy-integrity-warnings,.sx-legacy-integrity-ok,.sx-legacy-integrity-foot{margin-top:13px;padding:13px 14px;border-radius:15px}.sx-legacy-integrity-warnings{background:#fff8e8;border:1px solid #f1dfad;color:#74520b}.sx-legacy-integrity-warnings ul{margin:7px 0 0;padding-left:18px}.sx-legacy-integrity-warnings li{margin:4px 0;line-height:1.45}.sx-legacy-integrity-ok{background:#eaf8ef;border:1px solid #cbe7d4;color:#17643a}.sx-legacy-integrity-foot{display:grid;gap:3px;border:1px solid var(--sx-line);background:rgba(15,118,110,.03)}.sx-legacy-integrity-foot span{color:var(--sx-muted);font-size:12px;line-height:1.5}
.sx-legacy-modal-open{overflow:hidden!important}.sx-legacy-process{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:20px;background:rgba(5,28,26,.56);backdrop-filter:blur(6px)}.sx-legacy-process[hidden]{display:none!important}.sx-legacy-process-dialog{width:min(620px,calc(100vw - 28px));max-height:min(760px,calc(100vh - 30px));overflow:auto;position:relative;padding:30px;border-radius:28px;background:var(--sx-panel,#fff);border:1px solid var(--sx-line);box-shadow:0 34px 100px rgba(0,0,0,.28)}.sx-legacy-process-close{position:absolute;top:16px;right:16px;width:42px;height:42px;border:1px solid var(--sx-line);border-radius:14px;background:var(--sx-panel,#fff);color:var(--sx-ink);font-size:24px;cursor:pointer}.sx-legacy-process-icon{width:58px;height:58px;border-radius:19px;background:#dff4fb;color:#0797c0;display:grid;place-items:center;margin-bottom:18px}.sx-legacy-process-check{font-size:28px;font-weight:950}.sx-legacy-process-check.is-error{color:#b42318}.sx-legacy-process-dialog h3{font-size:29px;margin:0 50px 7px 0;letter-spacing:-.04em}.sx-legacy-process-dialog>p{margin:0;color:var(--sx-muted);line-height:1.55}.sx-legacy-stage-list{display:grid;gap:8px;margin:22px 0}.sx-legacy-stage{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--sx-line);border-radius:14px;color:var(--sx-muted);background:rgba(15,118,110,.02)}.sx-legacy-stage>span{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#edf4f2;font-weight:900;font-size:12px}.sx-legacy-stage.active{border-color:#94d4e5;background:#effbfe;color:var(--sx-ink)}.sx-legacy-stage.active>span{background:#17a5cd;color:#fff}.sx-legacy-stage.done{border-color:#c7e5d3;background:#eef9f2;color:#17643a}.sx-legacy-stage.done>span{background:#1b8a4a;color:#fff}.sx-legacy-process-result{margin-top:15px;padding:15px;border:1px solid var(--sx-line);border-radius:18px;background:rgba(15,118,110,.03)}.sx-legacy-process-result p{margin:10px 0 0;color:var(--sx-muted);line-height:1.5}.sx-legacy-process-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sx-legacy-process-summary article{padding:11px;border:1px solid var(--sx-line);border-radius:13px;background:var(--sx-panel,#fff)}.sx-legacy-process-summary span{display:block;color:var(--sx-muted);font-size:11px;line-height:1.25}.sx-legacy-process-summary strong{display:block;margin-top:3px;font-size:21px}.sx-legacy-process-after{margin-top:12px}.sx-legacy-process-after>.sx-legacy-count-grid{margin-top:8px}.sx-legacy-process-error{padding:12px;border-radius:12px;background:#fff0f0;color:#a61b1b;line-height:1.5}.sx-legacy-process-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px;flex-wrap:wrap}
@media(max-width:1050px){.sx-legacy-direction{grid-template-columns:1fr}.sx-legacy-arrow{min-height:58px}.sx-legacy-arrow span{transform:rotate(90deg)}.sx-legacy-options{grid-template-columns:1fr}.sx-legacy-plan-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.sx-legacy-mapping{padding:14px}.sx-legacy-mapping-head,.sx-legacy-integrity-head{display:grid}.sx-legacy-integrity-safe{max-width:none}.sx-legacy-count-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sx-legacy-plan-cards,.sx-legacy-process-summary{grid-template-columns:1fr 1fr}.sx-legacy-process-dialog{padding:22px;border-radius:23px}.sx-legacy-process-dialog h3{font-size:25px}.sx-legacy-process-actions .sx-btn{width:100%}}
.sx-legacy-cutover-grid{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr);gap:14px;margin-top:14px}.sx-legacy-cutover-grid>label{display:grid;gap:7px;padding:15px;border:1px solid var(--sx-line);border-radius:18px;background:var(--sx-panel,#fff);font-weight:850}.sx-legacy-cutover-grid>label>span{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--sx-muted)}.sx-legacy-cutover-grid>label small{font-weight:500;color:var(--sx-muted);line-height:1.45}.sx-legacy-scope{padding:16px 18px;border:1px solid var(--sx-line);border-radius:18px;background:rgba(15,118,110,.045);display:grid;align-content:center;gap:5px}.sx-legacy-scope small{color:var(--sx-muted);line-height:1.5}.sx-legacy-preserve-rule{grid-template-columns:34px minmax(0,1fr);align-items:start;margin-top:14px}.sx-legacy-preserve-rule>span{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#d9f2e4;color:#16733f;font-weight:950}.sx-legacy-preserve-rule>div{display:grid;gap:4px}.sx-legacy-process{position:fixed}.sx-legacy-process-backdrop{position:absolute;inset:0}.sx-legacy-process-dialog{z-index:1}.sx-legacy-process .sx-spinner{width:24px;height:24px;border:3px solid rgba(7,151,192,.18);border-top-color:#0797c0;border-radius:50%;animation:sx4187Spin .8s linear infinite}@keyframes sx4187Spin{to{transform:rotate(360deg)}}
@media(max-width:1050px){.sx-legacy-cutover-grid{grid-template-columns:1fr}}
