/* Shared Meta Business-style setup for own company, phone, employee, activation.
   The reviewed platform page retains its own pixel-precise CSS and DOM.
   This skin changes presentation only: no route, form, permission or gate logic. */
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]){
  --setup-blue:#0866ff;--setup-ink:#203248;--setup-soft:#e9eff6;--setup-edge:#dce3eb;
  display:grid;grid-template-columns:292px minmax(0,1fr);column-gap:18px;align-items:start;
  width:100%;max-width:1120px;min-width:0;margin:0 auto;padding:0 0 24px;
  font-size:13px;line-height:1.6;color:var(--setup-ink);
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-header{
  grid-column:1/-1;margin:0 0 18px;padding:0 1px 16px;border-bottom:1px solid var(--setup-edge);
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-header .nb-eyebrow{
  color:#728191;font-size:11px;font-weight:740;letter-spacing:.035em;margin:0 0 3px;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-header h1{
  color:#243647;font-size:clamp(21px,2.4vw,27px);font-weight:730;letter-spacing:-.02em;line-height:1.34;margin:0 0 6px;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-header .nb-muted{
  color:#718091;font-size:12.5px;line-height:1.5;margin:0;max-width:85ch;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-progress{
  grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:3px;flex-wrap:nowrap;
  width:100%;min-width:0;max-height:calc(100dvh - 120px);overflow-y:auto;
  position:sticky;top:83px;margin:0;padding:11px 9px;
  background:#e8edf4;border:1px solid #d6dfe8;border-radius:9px;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-progress a{
  display:grid;grid-template-columns:27px minmax(0,1fr);align-items:center;
  gap:8px;padding:7px 9px;min-height:49px;min-width:0;
  background:transparent;border:1px solid transparent;border-radius:7px;
  color:#46586b;font-size:12.4px;font-weight:630;line-height:1.4;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-progress a:hover{
  background:#f8fafc;color:#243648;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-progress a[aria-current=step]{
  background:#253c53;color:white;border-color:#253c53;font-weight:730;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-progress a>span:first-child{
  display:grid;place-items:center;width:27px;height:27px;white-space:nowrap;
  background:white;color:#47647f;border:1px solid #cbd6e3;border-radius:6px;font-size:11px;font-weight:750;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-progress a[aria-current=step]>span:first-child{
  color:white;background:#476681;border-color:#5e7b97;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-progress a>span:last-child{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-progress small{
  display:block;font-size:11px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font-weight:450;color:#718093;margin:2px 0 0;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-progress a[aria-current=step] small{color:#d0dfec;}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-active-step{
  grid-column:2;grid-row:2;min-width:0;min-height:clamp(510px,calc(100dvh - 292px),660px);
  box-sizing:border-box;display:flex;flex-direction:column;padding:22px 25px 19px;
  background:white;border:1px solid #dbe2ea;border-radius:10px;
  box-shadow:0 2px 9px #3f55630d;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-heading{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:74px;margin:0 0 16px;padding:0 0 14px;border-bottom:1px solid #e5ebf1;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-number{font-size:11px;color:#718094;font-weight:690;margin:0;}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-heading h2{
  color:#243547;font-size:19px;font-weight:720;line-height:1.36;margin:4px 0 0;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-status{
  white-space:nowrap;color:#2c6b4a;background:#edf6f0;border:1px solid #d6e9dc;
  border-radius:6px;padding:5px 10px;font-size:11px;font-weight:700;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-body{
  display:block;flex:1;min-width:0;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-body [data-wizard-step]{min-width:0;}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-body [data-wizard-step][hidden]{display:none!important;}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) :is(.meta-section,.ux-panel){
  border:0!important;box-shadow:none!important;background:transparent!important;
  padding:0!important;margin:0 0 14px!important;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) :is(h3,p){line-height:1.65;}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) :is(label,small){font-size:12.5px;}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
  max-width:100%;min-height:39px;background:#fff;border:1px solid #cbd5e0;border-radius:7px;
  color:#27394b;padding:9px 11px;font-size:13px;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) :is(input,select,textarea):focus{
  border-color:#0866ff;outline:2px solid #bdd7ff;outline-offset:1px;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) form :is(button[type=submit],button:not([type])){
  background:#0866ff;color:white;border:1px solid #0866ff;border-radius:6px;
  min-height:38px;padding:8px 14px;font-size:12.5px;font-weight:690;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) form button:hover{background:#0756d3;color:#fff;}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) :is(details,.channel-operations){
  border-radius:8px;border-color:#e0e6ed;box-shadow:none;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-active-step>.nb-step-actions{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;gap:12px;min-height:56px;margin-top:auto;padding-top:17px;
  border-top:1px solid #e5ebf1;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-actions [data-wizard-previous]{grid-column:1;grid-row:1;justify-self:start;}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-actions [data-wizard-next]{grid-column:2;grid-row:1;justify-self:end;}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-actions a[hidden]{display:none!important;}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-actions .nb-button{
  min-width:112px;min-height:38px;box-sizing:border-box;padding:8px 17px;border-radius:6px;
  background:#fff;border:1px solid #cdd7e1;color:#26394c;font-weight:700;
}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-actions .nb-button--primary{
  background:#0866ff;border-color:#0866ff;color:white;
}
@media(max-width:1030px){
 .nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]){grid-template-columns:244px minmax(0,1fr);gap:12px;}
 .nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-active-step{padding:20px;}
}
@media(max-width:700px){
 .nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]){display:flex;flex-direction:column;gap:11px;}
 .nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-header{width:100%;}
 .nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-progress{width:100%;box-sizing:border-box;position:static;display:flex;flex-direction:row;overflow-x:auto;gap:7px;padding:9px;}
 .nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-progress a{flex:0 0 175px;}
 .nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"])>.nb-wizard-active-step{width:100%;min-height:500px;box-sizing:border-box;padding:16px 14px;}
 .nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;}
 .nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-actions .nb-button{width:100%;min-width:0;}
}
/* Specialized operation fields rendered INSIDE the same standard stage panel. */
.nb-prototype .nb-setup-task-action-row {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:62px;margin:13px 0;padding:11px 14px;background:#f4f7fb;border:1px solid #dce4ec;border-radius:8px;}
.nb-prototype .nb-setup-task-action-row>div:first-child{display:grid;gap:3px;min-width:0;}
.nb-prototype .nb-setup-task-action-row small{display:block;color:#6b7b8d;font-size:11px;}
.nb-prototype .nb-setup-task-options{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;}
.nb-prototype [data-setup-task-step]>form>label{display:block;font-weight:650;color:#34495d;margin:14px 0 5px;}
.nb-prototype [data-setup-task-step]>form :is(input:not([type=checkbox]),select,textarea){width:100%;max-width:100%;min-height:40px;border:1px solid #cbd5df;border-radius:6px;padding:9px 11px;background:white;}
.nb-prototype [data-setup-task-result]{margin-top:10px;overflow-wrap:anywhere;font-size:12px;}
@media(max-width:700px){.nb-prototype .nb-setup-task-action-row{grid-template-columns:1fr;}}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-actions [data-wizard-finish]{grid-column:2;grid-row:1;justify-self:end;min-width:210px;}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .nb-step-actions [data-wizard-finish][hidden]{display:none!important;}
.nb-prototype .nb-meta-company-mode{display:inline-flex;align-items:center;white-space:nowrap;padding:6px 11px;font-size:12px;color:#27614a;background:#eaf4ee;border:1px solid #d1e6d8;border-radius:6px;font-weight:670;}
.nb-prototype .nb-setup-verified{display:flex;align-items:flex-start;gap:14px;padding:16px;border:1px solid #d2e7db;border-radius:9px;background:#edf7f0;margin:11px 0 18px;}
.nb-prototype .nb-setup-verified strong{color:#226243;font-size:15px;font-weight:720;}
.nb-prototype .nb-setup-verified p{font-size:12.8px;line-height:1.65;color:#52695c;margin:5px 0 0;}
.nb-prototype .nb-setup-checkmark{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;background:#d7f1df;border-radius:50%;color:#158146;font-weight:850;}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .ux-overline{display:none;}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .ux-panel h2{font-size:16px;line-height:1.4;}
.nb-prototype .nb-wizard[data-connection-wizard]:not([data-wizard-scope="platform"]) .ux-panel h3{font-size:14px;line-height:1.4;}
@media(max-width:700px){}

/* Phone setup clarity: full labels and independent saved/verified progress. */
.nb-prototype .nb-wizard[data-connection-wizard][data-wizard-scope="phone-add"]>.nb-wizard-header {
  display:block;position:static;min-width:0;scroll-margin-block-start:120px;
}
.nb-prototype .nb-wizard[data-connection-wizard][data-wizard-scope="phone-add"]>.nb-wizard-header h1 {overflow-wrap:anywhere;}
.nb-prototype .nb-wizard[data-connection-wizard][data-wizard-scope="phone-add"]>.nb-wizard-completion {
  grid-column:1/-1;grid-row:2;margin:0 0 14px;padding:10px 14px;
  color:#245c40;background:#edf6f0;border:1px solid #d6e9dc;border-radius:8px;font-weight:700;
}
.nb-prototype .nb-wizard[data-connection-wizard][data-wizard-scope="phone-add"]>.nb-wizard-progress,
.nb-prototype .nb-wizard[data-connection-wizard][data-wizard-scope="phone-add"]>.nb-wizard-active-step {grid-row:3;}
.nb-prototype .nb-wizard[data-connection-wizard][data-wizard-scope="phone-add"]>.nb-wizard-progress a {align-items:start;}
.nb-prototype .nb-wizard[data-connection-wizard][data-wizard-scope="phone-add"]>.nb-wizard-progress a>span:last-child,
.nb-prototype .nb-wizard[data-connection-wizard][data-wizard-scope="phone-add"]>.nb-wizard-progress small {
  white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;
}
.nb-prototype .nb-wizard[data-connection-wizard][data-wizard-scope="phone-add"] .nb-step-heading {flex-wrap:wrap;}
.nb-prototype .nb-wizard[data-connection-wizard][data-wizard-scope="phone-add"] .nb-step-heading>div {min-width:0;flex:1 1 220px;}
.nb-prototype .nb-wizard[data-connection-wizard][data-wizard-scope="phone-add"] .nb-next-reason {margin:12px 0;color:#5a6570;}
@media(max-width:700px){
 .nb-prototype .nb-wizard[data-connection-wizard][data-wizard-scope="phone-add"]>.nb-wizard-completion {width:100%;box-sizing:border-box;margin:0;}
 .nb-prototype .nb-wizard[data-connection-wizard][data-wizard-scope="phone-add"]>.nb-wizard-progress {flex-direction:column;max-height:none;overflow:visible;}
 .nb-prototype .nb-wizard[data-connection-wizard][data-wizard-scope="phone-add"]>.nb-wizard-progress a {flex:0 0 auto;width:100%;box-sizing:border-box;}
}

.nb-phone-diagnostic{padding:18px 20px;background:#fff8e9;border:1px solid #e7d9b5;border-radius:12px;margin-block:18px;color:#5f512f}.nb-phone-diagnostic h4{margin:0 0 10px;font-size:16px}.nb-phone-diagnostic p{margin:6px 0;line-height:1.9}.nb-phone-diagnostic p:last-child{font-size:13px}
