
/* Five-step project setup: one active decision, no instruction paragraphs. */
#abGuidedWizard[hidden],#abOtherAiTasks[hidden]{display:none!important}
#abGuidedWizard.ab-guided-wizard{display:block!important;min-height:0;background:#fff;border:1px solid #d4e0ec;border-radius:12px;overflow:hidden}
.ab-five-shell{background:#fff;font-family:Arial,sans-serif;color:#142a44;min-height:580px}
.ab-five-progress{display:flex;align-items:stretch;justify-content:center;gap:0;max-width:960px;margin:0 auto;padding:18px 12px 0}
.ab-five-step{min-width:0;flex:1;background:transparent;border:0;color:#607694;cursor:pointer;display:flex;align-items:center;flex-direction:column;gap:7px;position:relative;padding:0 4px 15px;font-size:12px;font-weight:500}
.ab-five-step:not(:first-child):before{position:absolute;content:"";width:calc(100% - 48px);height:1px;top:19px;right:calc(50% + 24px);background:#bed0e2}
.ab-five-step-number{height:39px;width:39px;display:grid;place-items:center;border-radius:50%;background:#fff;border:1.5px solid #91acca;font-size:15px;color:#4d6687;position:relative;z-index:1}
.ab-five-step[aria-current="step"]{color:#0867ce;font-weight:800}
.ab-five-step[aria-current="step"] .ab-five-step-number{background:#0871dc;border-color:#0871dc;color:white;box-shadow:0 0 0 4px #edf5ff}
.ab-five-step[data-ready="true"] .ab-five-step-number{color:#fff;background:#178353;border-color:#178353}
.ab-five-step-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.ab-five-main{max-width:950px;margin:15px auto 0;padding:5px 18px 18px}
.ab-five-title{display:flex;justify-content:center;align-items:center;gap:18px;margin:6px 0 25px}
.ab-five-title h2{margin:0!important;font-size:29px!important;color:#152e4b!important;font-weight:800}
.ab-five-hero-icon{background:#e5f1ff;border-radius:50%;width:76px;height:76px;display:grid;place-items:center;color:#0871dc}
.ab-five-hero-icon svg{height:36px;width:36px}
.ab-five-cards{display:grid;gap:12px}
.ab-five-card{border:1px solid #d9e3ef;border-radius:8px;min-height:89px;display:flex;gap:20px;align-items:center;padding:18px 22px;background:#fbfdff}
.ab-five-card-icon{background:#eaf3ff;color:#0c6bc9;border-radius:50%;height:52px;width:52px;display:grid;place-items:center;flex:none}
.ab-five-card.ok .ab-five-card-icon{background:#e4f6eb;color:#168148}
.ab-five-card.wait .ab-five-card-icon{background:#fff4df;color:#a87812}
.ab-five-card.issue .ab-five-card-icon{background:#fff0ee;color:#b14235}
.ab-five-card-content{display:grid;gap:6px;flex:1;min-width:0}
.ab-five-card-content strong{font-size:15px;letter-spacing:.015em;color:#163051}
.ab-five-card-content span{font-size:13px;color:#59718c}
.ab-five-check{color:#168148;font-size:25px;font-weight:800}
.ab-five-actions{display:grid;gap:8px;margin:18px auto 0}
.ab-five-primary{width:100%;min-height:49px;border:1px solid #0868cf;background:#0871dc;color:#fff;font-weight:800;font-size:15px;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:12px}
.ab-five-primary span{font-size:22px;line-height:1}
.ab-five-primary:hover,.ab-five-primary:focus-visible{background:#005dbb}
.ab-five-primary:disabled{background:#a7b7c9;border-color:#a7b7c9;cursor:not-allowed}
.ab-five-secondary{border:0;background:transparent;color:#326998;font-size:12px;font-weight:700;cursor:pointer;min-height:34px}
.ab-five-secondary:hover{text-decoration:underline}
.ab-five-error{margin-top:12px;background:#fff3f2;border:1px solid #efc1bd;color:#a03429;padding:13px;border-radius:7px;font-size:13px}
.ab-five-details{margin-top:20px;border:1px solid #cfdeed;border-radius:9px;padding:12px;background:#fff}
.ab-five-details[hidden]{display:none}
.ab-five-details iframe{border:0;width:100%;min-height:720px}
.ab-five-details .ai-workspace-sp-panel{margin:0;max-width:100%}
.ab-five-bottom{padding:12px 22px;max-width:960px;margin:0 auto;color:#6d8298;font-weight:700;font-size:11px;display:flex;justify-content:space-between}
#abAiWorkspaceModes .ab-ai-mode-switch{margin:0}
#abGuidedWizard #aiWorkspaceSpPrompt{display:none!important}
#abGuidedWizard:not(.ab-setup-review) #aiWorkspaceSpReview{display:none!important}
#aiWorkspaceView>.section-header p{display:none}
@media(max-width:680px){
 .ab-five-progress{padding:14px 4px 0}
 .ab-five-step{font-size:9px}.ab-five-step-number{width:30px;height:30px;font-size:13px}
 .ab-five-step:not(:first-child):before{top:15px;width:calc(100% - 38px);right:calc(50% + 19px)}
 .ab-five-step-title{white-space:normal;text-align:center;line-height:1.25}
 .ab-five-main{padding:8px 12px}.ab-five-title{gap:10px}
 .ab-five-title h2{font-size:22px!important}
 .ab-five-hero-icon{width:58px;height:58px}.ab-five-hero-icon svg{width:29px;height:29px}
 .ab-five-card{min-height:76px;padding:12px;gap:12px}.ab-five-card-icon{height:42px;width:42px}
 .ab-five-card-content strong{font-size:12px}.ab-five-card-content span{font-size:11px}
}

/* Hidden mode takes precedence over the setup layout. */
#abGuidedWizard[hidden]{display:none!important}

/* Primary AI Workspace navigation: actual attached tabs, not browser buttons. */
#aiWorkspaceView #abAiWorkspaceModes.ab-ai-mode-switch{
  display:flex;align-items:stretch;gap:5px;margin:12px 0 0!important;
  padding:0 12px!important;border-bottom:2px solid #d4e2f0;
  background:transparent;
}
#aiWorkspaceView #abAiWorkspaceModes.ab-ai-mode-switch button{
  appearance:none;position:relative;min-width:136px;padding:13px 20px!important;
  border:1px solid #c8d9ea!important;border-bottom:0!important;
  border-radius:8px 8px 0 0!important;background:#f1f5fa!important;
  color:#45617e!important;font-size:14px!important;font-weight:700!important;
  line-height:1.2;cursor:pointer;box-shadow:none!important;
  transition:background .12s,border-color .12s,color .12s;
}
#aiWorkspaceView #abAiWorkspaceModes.ab-ai-mode-switch button[aria-selected="true"]{
  background:#fff!important;color:#075eb5!important;
  border-color:#9dc5ed!important;box-shadow:0 -1px 5px #c9ddf280!important;
  z-index:1;
}
#aiWorkspaceView #abAiWorkspaceModes.ab-ai-mode-switch button[aria-selected="true"]::after{
  content:"";position:absolute;bottom:-2px;left:0;right:0;height:3px;background:#fff;
}
#aiWorkspaceView #abAiWorkspaceModes.ab-ai-mode-switch button:hover:not([aria-selected="true"]){
  color:#0b68ba!important;background:#e6f0fb!important;
}
#aiWorkspaceView #abAiWorkspaceModes.ab-ai-mode-switch button:focus-visible{
  outline:3px solid #4d95df;outline-offset:2px;
}
#abGuidedWizard.ab-guided-wizard{border-radius:0 0 12px 12px;border-top:0}
.ab-five-progress{padding-top:27px}
@media(max-width:540px){
 #aiWorkspaceView #abAiWorkspaceModes.ab-ai-mode-switch{padding:0 6px!important}
 #aiWorkspaceView #abAiWorkspaceModes.ab-ai-mode-switch button{min-width:0;flex:1;padding:12px 8px!important;font-size:13px!important}
}
