/* Vanta Forge / ALFRED: approved manufacturing Company Setup dashboard.
 * Scoped exclusively to Company Setup. This is the working DOM matching the
 * owner-approved layouts, not a screenshot baked into the application.
 */
#app:has(.setup-shell) #main{min-width:0}
.setup-shell .setup-approved-overview{width:100%;min-width:0;font-family:Inter,system-ui,sans-serif}
.setup-shell .setup-approved-overview button{font-family:inherit}
.setup-shell .setup-approved-dashboard-hero{position:relative;margin:0 0 12px;padding:17px 15px 0;isolation:isolate;background:
 linear-gradient(90deg,#08131c 0%,rgba(8,19,28,.98) 38%,rgba(8,19,28,.78) 64%,rgba(8,19,28,.15) 100%),
 url('media/setup/laser.webp') right 43%/cover no-repeat;border:1px solid #203746;border-radius:10px;overflow:hidden}
.setup-shell .setup-approved-dashboard-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 33%,rgba(7,17,25,.9) 100%)}
.setup-shell .setup-approved-heading{min-height:103px}
.setup-shell .setup-approved-heading .setup-breadcrumb{font-size:10px;font-weight:500;color:#a6b7c7}
.setup-shell .setup-approved-heading h2{font:780 clamp(26px,2.5vw,34px)/1.05 Inter,system-ui,sans-serif;letter-spacing:-.035em;color:#fff;margin:7px 0 6px;text-transform:none}
.setup-shell .setup-approved-heading p{font-size:12px;font-weight:450;color:#c8d6df;margin:0;line-height:1.5;max-width:900px}
.setup-shell .setup-approved-stagebar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;min-height:53px;position:relative}
.setup-shell .setup-approved-stage{display:flex;align-items:center;gap:9px;padding:5px 7px;border:0;background:transparent;text-align:left;color:#c8d5de;min-width:0;cursor:pointer}
.setup-shell .setup-approved-stage:not(:last-child):after{content:"";height:1px;background:#47616f;width:15px;min-width:6px;margin-left:auto;flex:0 1 16px}
.setup-shell .setup-approved-stage:hover{background:#20333a6b}
.setup-shell .setup-approved-stage>span:last-child{display:flex;flex-direction:column;min-width:0;gap:2px}
.setup-shell .setup-approved-stage-number{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border:1px solid #526b7b;border-radius:50%;background:#203443;color:#e3edf3;font-weight:800;font-size:13px;box-shadow:inset 0 0 0 3px #192c39}
.setup-shell .setup-approved-stage.on .setup-approved-stage-number{border:2px solid #f4ce3d;color:#0c1b22;background:#ecc334;box-shadow:0 0 15px #deb11d65}
.setup-shell .setup-approved-stage b{font-size:10px;font-weight:720;white-space:normal;line-height:1.25}
.setup-shell .setup-approved-stage small{color:#92a8b7;font-size:9px;line-height:1.1}
.setup-shell .setup-approved-stage.on b{color:#eac039}
.setup-shell .setup-approved-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 273px!important;align-items:start;gap:11px;margin:0}
.setup-shell .setup-approved-layout>.setup-overview-main{min-width:0}
.setup-shell .setup-approved-progress{min-height:131px;padding:15px!important;border:1px solid #294759!important;border-radius:9px;background:linear-gradient(100deg,#122a3c 0%,#0d1f2d 58%,#112b3b 100%)!important;display:flex!important;align-items:center;gap:17px;margin:0 0 11px}
.setup-shell .setup-approved-progress-ring{width:99px;height:99px;flex:0 0 99px;padding:10px!important;box-shadow:0 0 20px #cda72b23}
.setup-shell .setup-approved-progress-ring b{font-size:27px}
.setup-shell .setup-approved-progress-copy{flex:1;min-width:150px}
.setup-shell .setup-approved-progress-copy>b{font-size:18px;line-height:1.1;font-weight:780;color:#f1f7fb}
.setup-shell .setup-approved-progress-copy>p{font-size:11px;line-height:1.45;color:#c4d5e0;margin:6px 0 11px}
.setup-shell .setup-approved-progress-copy>.setup-progress-track{width:100%;height:8px;background:#283f50;border:1px solid #3c5466;border-radius:8px;overflow:hidden}
.setup-shell .setup-approved-progress-copy>.setup-progress-track i{display:block;height:100%;background:linear-gradient(90deg,#dfac23,#ffe062);border-radius:8px}
.setup-shell .setup-approved-progress-copy>small{font-size:9px;color:#819dac;display:block;margin-top:5px}
.setup-shell .setup-approved-activity{display:flex;gap:10px;flex:0 0 auto;border-left:1px solid #355267;border-right:1px solid #355267;padding:9px 13px}
.setup-shell .setup-approved-activity>span{color:#a7becd;font-size:10px;line-height:1.25;min-width:57px}
.setup-shell .setup-approved-activity b{color:#f2f5f8;font-size:18px}
.setup-shell .setup-approved-progress-action{display:flex;flex:0 0 151px;align-items:center;flex-direction:column;gap:9px}
.setup-shell .setup-approved-progress-action>.btn{width:100%;min-height:42px;font-size:12px;color:#13171c;background:#e9b72d;box-shadow:0 0 12px #f0b72d3d;border:1px solid #e9be38;border-radius:7px}
.setup-shell .setup-approved-progress-action>small{color:#bac8d3;font-size:9px;line-height:1.3;text-align:center}
.setup-shell .setup-approved-section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:8px 5px 9px}
.setup-shell .setup-approved-section-title h3{font:760 16px/1.2 Inter,system-ui,sans-serif;color:#edf5fb;text-transform:none;letter-spacing:-.015em;margin:0 0 4px}
.setup-shell .setup-approved-section-title p{font-size:10px;color:#9db2c0;margin:0;line-height:1.3}
.setup-shell .setup-approved-section-count{color:#9eb3c0;font-size:10px;white-space:nowrap}
.setup-shell .setup-approved-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px}
.setup-shell .setup-approved-card{display:grid!important;grid-template-columns:39% minmax(0,1fr)!important;min-height:119px!important;max-height:123px;border:1px solid #294152;border-radius:9px;background:#0d202d!important;overflow:hidden;transition:border-color .14s,background .14s}
.setup-shell .setup-approved-card:hover{border-color:#d6b440;background:#132b3b!important;transform:none!important}
.setup-shell .setup-approved-photo{position:relative;min-height:100%;background-color:#182e40;background-image:linear-gradient(125deg,#1d3442b9,transparent 60%),url('media/setup/laser.webp');background-size:cover;background-position:center}
.setup-shell .setup-approved-photo:after{content:"";position:absolute;inset:0;border-right:1px solid #425c71}
.setup-shell .setup-approved-photo-office{background-image:url('media/setup/cnc.webp')}
.setup-shell .setup-approved-photo-logistics{background-image:url('media/setup/supplier.webp')}
.setup-shell .setup-approved-photo-users{background-image:url('media/setup/team.webp')}
.setup-shell .setup-approved-photo-team{background-image:url('media/setup/team.webp')}
.setup-shell .setup-approved-photo-machines{background-image:url('media/setup/cnc.webp')}
.setup-shell .setup-approved-photo-materials{background-image:url('media/setup/metal.webp')}
.setup-shell .setup-approved-photo-suppliers{background-image:url('media/setup/supplier.webp')}
.setup-shell .setup-approved-photo-costing{background-image:url('media/setup/cnc.webp')}
.setup-shell .setup-approved-photo-documents{background-image:url('media/setup/document.webp')}
.setup-shell .setup-approved-card-body{display:flex;flex-direction:column;min-width:0;gap:0;padding:8px 8px 7px}
.setup-shell .setup-approved-card-top{display:flex;gap:6px;align-items:center;margin-bottom:5px;min-height:19px}
.setup-shell .setup-approved-card-icon{color:#b6c9d5;border:1px solid #2a4d62;border-radius:5px;display:grid;place-items:center;height:23px;width:23px;flex:0 0 23px}
.setup-shell .setup-approved-card-icon svg{width:14px;height:14px}
.setup-shell .setup-approved-status{font-size:9px;border:1px solid #735e28;color:#e3b73a;background:#2a261b70;border-radius:12px;padding:3px 6px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.setup-shell .setup-approved-status.complete{color:#84dca4;border-color:#225c4b;background:#173a2b}
.setup-shell .setup-approved-status.open{color:#afbfcc;border-color:#385363;background:#1b303d}
.setup-shell .setup-approved-card-body>b{font:750 12px/1.3 Inter,system-ui,sans-serif;color:#edf4f8;margin:0 0 3px;min-height:16px}
.setup-shell .setup-approved-card-body>p{margin:0;font-size:9px;color:#aebfcc;line-height:1.35;flex:1;overflow:hidden}
.setup-shell .setup-approved-card-bottom{display:flex;gap:5px;align-items:center;margin-top:5px}
.setup-shell .setup-approved-card-meter{display:block;height:5px;flex:1;background:#2a4659;border-radius:8px;overflow:hidden}
.setup-shell .setup-approved-card-meter>i{display:block;height:100%;background:linear-gradient(90deg,#e5b72b,#f6cb48);border-radius:8px}
.setup-shell .setup-approved-card-meter.needs>i{background:#4d8abb}
.setup-shell .setup-approved-meter-caption,.setup-shell .setup-approved-card-bottom>small{color:#91a8b7;font-size:9px;white-space:nowrap}
.setup-shell .setup-approved-arrow{border:1px solid #395569;background:linear-gradient(135deg,#1f3a4c,#0f2231);border-radius:50%;width:23px;height:23px;flex:0 0 23px;display:grid;place-items:center;color:#eff6fa;cursor:pointer;padding:0}
.setup-shell .setup-approved-arrow:hover{border-color:#e2bd39;color:#e6c14a}
.setup-shell .setup-approved-arrow svg{width:13px;height:13px;transform:rotate(0deg)}
.setup-shell .setup-approved-brand-card{grid-column:auto;min-height:120px!important;max-height:123px;padding:8px;border:1px solid #38586a;border-radius:9px;background:#102334!important;display:flex!important;flex-direction:column}
.setup-shell .setup-approved-brand-header{display:flex;justify-content:space-between;gap:5px;align-items:center}
.setup-shell .setup-approved-brand-header>b{font-size:11px;font-weight:720;display:flex;gap:5px;align-items:center;color:#e9f0f6}
.setup-shell .setup-approved-brand-header svg{color:#e9bc3a}
.setup-shell .setup-approved-link{background:transparent;border:0;padding:3px;color:#dbb42e;text-decoration:underline;cursor:pointer;font-size:9px}
.setup-shell .setup-approved-brand-card>p{color:#9db6c6;margin:4px 0;font-size:9px}
.setup-shell .setup-approved-swatches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;flex:1}
.setup-shell .setup-approved-swatch{display:flex;min-width:0;flex-direction:column;justify-content:center;align-items:center;gap:1px;border:1px solid #3b5061;border-radius:5px;background:#0a1b28;cursor:pointer;color:#d9e8f1;padding:4px 2px}
.setup-shell .setup-approved-swatch.current{border-color:var(--acc);background:linear-gradient(150deg,#242722,#0b1b28)}
.setup-shell .setup-approved-swatch.steel{background:linear-gradient(150deg,#123249,#0b1b28)}
.setup-shell .setup-approved-swatch.red{background:linear-gradient(150deg,#341d24,#0b1b28)}
.setup-shell .setup-approved-swatch-logo{font-size:15px;font-weight:850;color:#e7bd38}
.setup-shell .setup-approved-swatch img[data-setup-saved-logo]{max-width:84%;width:auto;max-height:25px;object-fit:contain}
.setup-shell .setup-approved-swatch img[data-setup-saved-logo][hidden]{display:none}

.setup-shell .setup-approved-swatch.steel .setup-approved-swatch-logo{color:#35a3ef}
.setup-shell .setup-approved-swatch.red .setup-approved-swatch-logo{color:#ee465d}
.setup-shell .setup-approved-swatch>b{font-size:8px;text-align:center;white-space:normal}
.setup-shell .setup-approved-swatch>small{font-size:7px;color:#9eb2c1;text-align:center}
.setup-shell .setup-approved-aside{min-width:0;height:100%}
.setup-shell .setup-approved-summary{padding:13px 13px 11px;border:1px solid #2c4456;background:linear-gradient(145deg,#0e222f,#0a1925);border-radius:10px;min-height:672px}
.setup-shell .setup-approved-aside-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;gap:7px}
.setup-shell .setup-approved-aside-title h3{font:750 14px Inter,system-ui,sans-serif;margin:0;text-transform:none;letter-spacing:0;color:#f5f8fa}
.setup-shell .setup-approved-aside-ring{display:flex;align-items:center;gap:12px;padding-bottom:13px}
.setup-shell .setup-approved-aside-ring .setup-ring.small{width:98px;height:98px;flex-basis:98px;padding:9px}
.setup-shell .setup-approved-aside-ring .setup-ring b{font-size:24px}
.setup-shell .setup-approved-aside-ring .setup-ring small{font-size:8px}
.setup-shell .setup-approved-summary-counts{display:flex;flex-direction:column;gap:12px}
.setup-shell .setup-approved-summary-counts>span{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;color:#b9ccd8}
.setup-shell .setup-approved-summary-counts i{width:11px;height:11px;border-radius:4px;display:block;background:#5a6b7d}
.setup-shell .setup-approved-summary-counts i.confirmed{background:#49d58d}
.setup-shell .setup-approved-summary-counts i.remaining{background:#eba925}
.setup-shell .setup-approved-summary h4{font:750 12px Inter,system-ui,sans-serif;margin:9px 0 7px;padding:10px 0 0;border-top:1px solid #365266;color:#e7f1f7}
.setup-shell .setup-approved-checks{padding:0;list-style:none;margin:0}
.setup-shell .setup-approved-checks li{display:flex;gap:7px;align-items:center;padding:4px 0;color:#9fb6c5;font-size:10px}
.setup-shell .setup-approved-checks li>span:first-child{width:16px;height:16px;flex:0 0 16px;display:grid;place-items:center;border:1px solid #5b6e7d;border-radius:50%;font-size:9px;color:#a6b9c6}
.setup-shell .setup-approved-checks li.done{color:#e0ebf1}
.setup-shell .setup-approved-checks li.done>span:first-child{border-color:#48bc83;color:#50dc91}
.setup-shell .setup-approved-pending{display:flex;flex-direction:column;gap:3px}
.setup-shell .setup-approved-pending button{display:flex;text-align:left;align-items:center;gap:6px;border:0;background:transparent;padding:4px 0;color:#ecbd3f;cursor:pointer}
.setup-shell .setup-approved-pending button>span{color:#f6bf44;font-weight:800}
.setup-shell .setup-approved-pending button b{font-size:10px;font-weight:580;flex:1;color:#c3d4df}
.setup-shell .setup-approved-pending button small{font-size:9px;color:#9db2c1}
.setup-shell .setup-approved-bottom-action{border:1px solid #b08720;border-radius:8px;padding:11px;margin-top:11px;background:linear-gradient(135deg,#363018,#17242a)}
.setup-shell .setup-approved-bottom-action>b{font-size:12px;font-weight:740;color:#edd9a3}
.setup-shell .setup-approved-bottom-action>p{font-size:10px;color:#bccbd4;margin:5px 0 10px}
.setup-shell .setup-approved-bottom-action .btn{width:100%;min-height:36px;color:#111c22;background:#efbd2b;border:1px solid #e9ba2c;font-size:11px;font-weight:800}
@media(max-width:1470px){
 .setup-shell .setup-approved-layout{grid-template-columns:minmax(0,1fr) 240px!important}
 .setup-shell .setup-approved-progress{gap:11px}
 .setup-shell .setup-approved-activity{padding:7px}
 .setup-shell .setup-approved-card{grid-template-columns:35% minmax(0,1fr)!important}
}
@media(max-width:1230px){
 .setup-shell .setup-approved-layout{grid-template-columns:1fr!important}
 .setup-shell .setup-approved-aside{grid-row:2}
 .setup-shell .setup-approved-summary{min-height:0}
 .setup-shell .setup-approved-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .setup-shell .setup-approved-pending{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .setup-shell .setup-approved-stagebar{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .setup-shell .setup-approved-stage:not(:last-child):after{display:none}
}
@media(max-width:950px){
 .setup-shell .setup-approved-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .setup-shell .setup-approved-card{grid-template-columns:40% minmax(0,1fr)!important}
 .setup-shell .setup-approved-activity{display:none}
}
@media(max-width:620px){
 .setup-shell .setup-approved-heading{min-height:112px}
 .setup-shell .setup-approved-grid{grid-template-columns:1fr!important}
 .setup-shell .setup-approved-stagebar{grid-template-columns:repeat(2,minmax(0,1fr))}
 .setup-shell .setup-approved-progress{flex-wrap:wrap;gap:9px}
 .setup-shell .setup-approved-progress-ring{height:78px;width:78px;flex-basis:78px}
 .setup-shell .setup-approved-progress-copy{min-width:calc(100% - 100px)}
 .setup-shell .setup-approved-progress-action{flex:1 1 100%;flex-direction:row}
 .setup-shell .setup-approved-progress-action .btn{flex:1}
 .setup-shell .setup-approved-card{grid-template-columns:35% minmax(0,1fr)!important}
 .setup-shell .setup-approved-checks{grid-template-columns:repeat(2,minmax(0,1fr))}
 .setup-shell .setup-approved-pending{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.setup-shell .setup-approved-overview *{transition:none!important}}
/* These photographic slices come directly from the OWNER-APPROVED Company
 * Setup dashboard image. Derived/presentation only; no tenant branding in
 * slices, no customer data or UI screenshot-as-interface shortcuts.
 * 3 x 3 sprite; cells: office, logistics, users / team, machines, materials /
 * suppliers, costing, documents. Cropped and checksum-verified from approved PNG.
 */
.setup-shell .setup-approved-photo{background-image:url('media/setup/approved-overview-sprite.webp');background-size:300% 300%;background-repeat:no-repeat}
.setup-shell .setup-approved-photo-office{background-position:0% 0%}
.setup-shell .setup-approved-photo-logistics{background-position:50% 0%}
.setup-shell .setup-approved-photo-users{background-position:100% 0%}
.setup-shell .setup-approved-photo-team{background-position:0% 50%}
.setup-shell .setup-approved-photo-machines{background-position:50% 50%}
.setup-shell .setup-approved-photo-materials{background-position:100% 50%}
.setup-shell .setup-approved-photo-suppliers{background-position:0% 100%}
.setup-shell .setup-approved-photo-costing{background-position:50% 100%}
.setup-shell .setup-approved-photo-documents{background-position:100% 100%}

/* Approved Company Setup reference: functional grid/list view of the same real cards. */
.setup-shell .setup-approved-view-actions{display:flex;align-items:center;justify-content:flex-end;gap:11px;flex-wrap:wrap}
.setup-shell .setup-approved-view-switch{display:inline-flex;gap:2px;border:1px solid #345165;border-radius:7px;padding:3px;background:#0d1d29}
.setup-shell .setup-approved-view-switch button{border:1px solid transparent;border-radius:5px;background:transparent;color:#b6c8d6;font-size:11px;padding:6px 12px;cursor:pointer}
.setup-shell .setup-approved-view-switch button[aria-pressed="true"]{border-color:#d4ad36;background:#2a2a21;color:#ffdc67;font-weight:750}
.setup-shell .setup-approved-overview[data-setup-view="list"] .setup-approved-grid{grid-template-columns:minmax(0,1fr)!important;gap:8px}
.setup-shell .setup-approved-overview[data-setup-view="list"] .setup-approved-card{grid-template-columns:clamp(115px,22%,200px) minmax(0,1fr)!important;min-height:110px!important;max-height:none}
.setup-shell .setup-approved-overview[data-setup-view="list"] .setup-approved-card-body{padding:12px 16px}
.setup-shell .setup-approved-overview[data-setup-view="list"] .setup-approved-brand-card{min-height:114px!important;max-height:none}
@media(max-width:540px){.setup-shell .setup-approved-view-actions{justify-content:flex-start;width:100%}.setup-shell .setup-approved-overview[data-setup-view="list"] .setup-approved-card{grid-template-columns:105px minmax(0,1fr)!important}}

/* Premium Overview quick navigation without affecting any production view. */
.setup-shell .setup-approved-card-search-label{flex:1 1 140px;min-width:125px}
.setup-shell [data-setup-card-search]{min-height:35px;width:100%;max-width:220px;background:#0d2332;color:#eaf2f8;border:1px solid #486574;border-radius:7px;padding:7px 10px;font:600 11px Inter,sans-serif}
.setup-shell [data-setup-card-search]:focus-visible{outline:2px solid var(--acc,#d8b842);outline-offset:2px}
.setup-shell .setup-approved-incomplete-toggle{min-height:35px;font-size:11px;white-space:nowrap}
.setup-shell .setup-approved-incomplete-toggle[aria-pressed="true"]{border-color:var(--acc,#d8b842);color:var(--acc,#d8b842)}
.setup-shell .setup-approved-grid>.setup-approved-card[hidden],.setup-shell .setup-approved-grid>.setup-approved-brand-card[hidden]{display:none!important}
.setup-shell .setup-approved-no-results{padding:18px 20px;border:1px dashed #537184;color:#afc7d4;border-radius:9px;font-size:12px}
@media(max-width:560px){.setup-shell .setup-approved-card-search-label{flex-basis:100%}.setup-shell [data-setup-card-search]{max-width:none}}

/* Staff may quote while Company Setup remains incomplete. Quote permissions and release rules remain enforced in Forge Core. */
.setup-shell .setup-approved-progress-action [data-open-forge-quotes]{min-height:36px;font-size:11px;white-space:normal;line-height:1.3}
