*{box-sizing:border-box}
:root{--shell-bg:#eef0f2;--shell-bar:#f7f8f9;--shell-raised:#ffffff;--shell-active:#e5eef8;--shell-line:#c9ced5;--shell-text:#20242a;--shell-muted:#68717c;--shell-accent:#3b82c4;--shell-stage-accent:#c96b18;--shell-stage-soft:#fff1e3;--shell-shadow:0 1px 4px rgba(0,0,0,.08);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif}
html[data-ifs-shell-theme="dark"]{--shell-bg:#181b1f;--shell-bar:#24282d;--shell-raised:#30353b;--shell-active:#26394d;--shell-line:#474e57;--shell-text:#f2f4f6;--shell-muted:#a8b0ba;--shell-accent:#5d9bd3;--shell-stage-accent:#f0a15a;--shell-stage-soft:#3b2b21;--shell-shadow:0 1px 4px rgba(0,0,0,.35)}
html[data-ifs-shell-theme="half"]{--shell-bg:#e8eaed;--shell-bar:#24282d;--shell-raised:#30353b;--shell-active:#26394d;--shell-line:#474e57;--shell-text:#f2f4f6;--shell-muted:#a8b0ba;--shell-accent:#5d9bd3;--shell-stage-accent:#f0a15a;--shell-stage-soft:#3b2b21;--shell-shadow:0 1px 4px rgba(0,0,0,.28)}
html,body{height:100%;margin:0;background:var(--shell-bg);overflow:hidden;color:var(--shell-text);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif}body{display:flex;flex-direction:column}
button,select,input,textarea{font-family:inherit}.suite-shell-nav{height:60px;min-height:60px;display:flex;align-items:stretch;border-bottom:1px solid var(--shell-line);background:var(--shell-bar);color:var(--shell-text);box-shadow:var(--shell-shadow);user-select:none;overflow:hidden;position:relative;z-index:1000}
.suite-brand{height:60px;min-width:288px;padding:0 20px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--shell-text);display:flex;align-items:center;gap:11px;cursor:pointer;white-space:nowrap}.suite-brand:hover,.suite-brand.active{background:var(--shell-active);border-bottom-color:var(--shell-accent)}.suite-brand-mark{width:24px;height:24px;flex:0 0 24px;border:2px solid var(--shell-accent);font-size:0;line-height:0;background:repeating-linear-gradient(45deg,transparent 0 3px,var(--shell-accent) 3px 5px);display:inline-block}.suite-brand strong{font-size:19px;line-height:1;font-weight:800;letter-spacing:.035em}.suite-brand strong span{color:var(--shell-accent)}
.suite-module-nav{display:flex;align-items:stretch;min-width:0;flex:1;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.suite-module-nav::-webkit-scrollbar{display:none}.suite-module-nav button{height:60px;min-width:118px;padding:0 13px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--shell-text);font:700 16px/1 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;cursor:pointer;white-space:nowrap}.suite-module-nav button:hover{background:var(--shell-active)}.suite-module-nav button.active{background:var(--shell-active);border-bottom-color:var(--shell-accent)}
.appearance-control{min-width:188px;padding:0 12px;border-left:1px solid var(--shell-line);display:flex;align-items:center;gap:8px;color:var(--shell-muted);font-size:11px;font-weight:750;white-space:nowrap}.appearance-control select{min-width:94px;border:1px solid var(--shell-line);border-radius:7px;background:var(--shell-raised);color:var(--shell-text);padding:6px 7px;font-size:12px;outline:none}.appearance-control select:focus{border-color:var(--shell-accent)}
.suite-frame-wrap{position:relative;width:100%;height:calc(100% - 60px);min-height:0;flex:1 1 auto;background:var(--shell-bg)}.suite-frame{width:100%;height:100%;display:block;border:0;background:var(--shell-bg)}.suite-loading{position:absolute;inset:0;display:grid;place-items:center;background:var(--shell-bg);color:var(--shell-muted);font-size:13px;z-index:2;pointer-events:none}.suite-loading.hidden{display:none}
@media(max-width:1180px){.suite-brand{min-width:230px}.suite-brand strong{font-size:16px}.suite-module-nav button{min-width:96px;padding:0 12px;font-size:14px}.appearance-control{min-width:142px}.appearance-control span{display:none}}
@media(max-width:820px){.suite-shell-nav{overflow-x:auto}.suite-brand{position:sticky;left:0;z-index:3;min-width:205px;background:var(--shell-bar)}.suite-module-nav{overflow:visible;flex:none}.suite-module-nav button{min-width:94px}.appearance-control{min-width:120px}}

.suite-module-nav button{display:flex;align-items:center;justify-content:center;gap:7px}.module-close{display:none;width:18px;height:18px;border-radius:50%;align-items:center;justify-content:center;font-size:15px;font-weight:500;line-height:1;color:var(--shell-muted)}.suite-module-nav button.is-open:hover .module-close,.suite-module-nav button.is-open.active .module-close{display:inline-flex}.module-close:hover{background:var(--shell-line);color:var(--shell-text)}
.suite-frame[hidden]{display:none!important}

.current-production{max-width:220px;min-width:0;padding:0 12px;border-left:1px solid var(--shell-line);display:flex;flex-direction:column;justify-content:center;line-height:1.15;white-space:nowrap;overflow:hidden}.current-production.hidden{display:none}.current-production-label{font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.08em;color:var(--shell-muted)}.current-production strong{display:block;max-width:196px;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:var(--shell-text)}
@media(max-width:1320px){.current-production{max-width:165px}.current-production strong{max-width:145px}}

/* Build 93 — authenticated account shell. Individual app layouts remain unchanged. */
.ifs-auth-gate{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(12,18,27,.72);backdrop-filter:blur(6px)}
.ifs-auth-gate.hidden{display:none}
.ifs-auth-card{width:min(430px,calc(100vw - 36px));background:#fff;color:#182230;border:1px solid #ccd6e2;border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.30);padding:30px}
html[data-ifs-shell-theme="dark"] .ifs-auth-card{background:#202733;color:#eef3f8;border-color:#3d4858}
.ifs-auth-brand{font-size:18px;letter-spacing:.04em;margin-bottom:24px}.ifs-auth-brand span{color:#1575d1}.ifs-auth-card h1{font-size:25px;margin:0 0 8px}.ifs-auth-card>p{margin:0 0 22px;color:#647386;line-height:1.45}html[data-ifs-shell-theme="dark"] .ifs-auth-card>p{color:#aeb9c6}
.ifs-auth-card form{display:grid;gap:9px}.ifs-auth-card label{font-size:13px;font-weight:700;margin-top:5px}.ifs-auth-card input{height:42px;border:1px solid #b9c5d3;border-radius:7px;padding:0 11px;font:inherit;background:#fff;color:#17212d}.ifs-auth-card input:focus{outline:2px solid #5da9ed;outline-offset:1px;border-color:#1676cb}html[data-ifs-shell-theme="dark"] .ifs-auth-card input{background:#141a22;color:#f5f7fa;border-color:#465263}
.ifs-auth-primary{height:43px;border:0;border-radius:7px;background:#1575d1;color:#fff;font-weight:700;margin-top:12px;cursor:pointer}.ifs-auth-primary:disabled{opacity:.6;cursor:wait}
.ifs-auth-links{display:flex;gap:16px;justify-content:space-between;margin-top:18px}.ifs-auth-links button{border:0;background:transparent;color:#126abe;padding:4px 0;cursor:pointer;font:inherit;font-size:13px}.ifs-auth-message{padding:10px 12px;border-radius:7px;margin:0 0 14px;font-size:13px;line-height:1.4;background:#e9f2fb;color:#24577e}.ifs-auth-message.error{background:#fbeaea;color:#8b2626}.ifs-auth-message.success{background:#e8f6ed;color:#1c6d3b}.ifs-auth-message.hidden{display:none}
.ifs-account-control{position:relative;display:flex;align-items:center;margin-left:4px}.ifs-account-control>button{height:34px;max-width:220px;border:1px solid var(--ifs-border,#ccd3dc);border-radius:7px;background:var(--ifs-panel,#fff);color:inherit;padding:0 10px;display:flex;align-items:center;gap:7px;cursor:pointer}.ifs-account-avatar{font-size:10px;color:#1a7bd0}.ifs-account-control>button span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ifs-account-menu{position:fixed;right:8px;top:54px;z-index:12000;min-width:230px;padding:7px;background:var(--ifs-panel,#fff);color:inherit;border:1px solid var(--ifs-border,#cfd6df);border-radius:8px;box-shadow:0 10px 32px rgba(0,0,0,.18)}.ifs-account-menu.hidden{display:none}.ifs-account-menu button{width:100%;border:0;background:transparent;color:inherit;text-align:left;padding:9px 10px;border-radius:5px;cursor:pointer}.ifs-account-menu button:hover{background:rgba(100,130,160,.12)}.ifs-account-menu button.danger{color:#b33a3a}.ifs-account-menu-email,.ifs-account-menu-note{padding:8px 10px 10px;font-size:12px;color:#6c7785;border-bottom:1px solid var(--ifs-border,#dde2e8);margin-bottom:4px;overflow-wrap:anywhere}
.ifs-auth-blocked .suite-frame-wrap{visibility:hidden}
@media (max-width:900px){.ifs-account-control>button{max-width:120px}.ifs-account-control{margin-left:0}}

/* Build 94/95 — private beta, trial, billing and diagnostics shell. */
.ifs-access-gate{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(12,18,27,.74);backdrop-filter:blur(7px)}
.ifs-access-gate.hidden{display:none}.ifs-access-card{width:min(460px,calc(100vw - 36px));background:#fff;color:#182230;border:1px solid #ccd6e2;border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.30);padding:30px}.ifs-access-card h1{font-size:25px;margin:0 0 8px}.ifs-access-card>p{margin:0 0 18px;color:#647386;line-height:1.45}.ifs-access-card form{display:grid;gap:9px}.ifs-access-card label{font-size:13px;font-weight:700;margin-top:5px}.ifs-access-card input,.ifs-problem-card input,.ifs-problem-card textarea{border:1px solid #b9c5d3;border-radius:7px;padding:10px 11px;font:inherit;background:#fff;color:#17212d}.ifs-access-card input{height:42px}.ifs-access-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.ifs-access-actions button,.ifs-problem-actions button{min-height:39px;border:1px solid #b9c5d3;border-radius:7px;background:#fff;color:#263444;padding:0 13px;font:inherit;font-weight:650;cursor:pointer}.ifs-access-actions button.primary,.ifs-problem-actions button.primary{background:#1575d1;color:#fff;border-color:#1575d1}.ifs-access-detail{font-size:13px;line-height:1.45;color:#657487;margin:14px 0 0}.ifs-price-card{display:flex;justify-content:space-between;align-items:center;gap:16px;border:1px solid #d5dde7;border-radius:9px;padding:14px;margin:12px 0}.ifs-price-card strong{font-size:18px}.ifs-price-card span{font-size:12px;color:#687789}.ifs-access-menu-status{font-weight:700;color:#335d83}.ifs-access-blocked .suite-frame-wrap{visibility:hidden}
.ifs-problem-modal{position:fixed;inset:0;z-index:13000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(12,18,27,.72);backdrop-filter:blur(6px)}.ifs-problem-modal.hidden{display:none}.ifs-problem-card{width:min(540px,calc(100vw - 36px));background:#fff;color:#182230;border:1px solid #ccd6e2;border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.30);padding:28px}.ifs-problem-card h2{margin:0 0 8px}.ifs-problem-card>p{color:#657487;line-height:1.45}.ifs-problem-card form{display:grid;gap:8px}.ifs-problem-card label{font-size:13px;font-weight:700;margin-top:5px}.ifs-problem-card textarea{resize:vertical}.ifs-problem-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:12px}
html[data-ifs-shell-theme="dark"] .ifs-access-card,html[data-ifs-shell-theme="dark"] .ifs-problem-card{background:#202733;color:#eef3f8;border-color:#3d4858}html[data-ifs-shell-theme="dark"] .ifs-access-card>p,html[data-ifs-shell-theme="dark"] .ifs-problem-card>p,html[data-ifs-shell-theme="dark"] .ifs-access-detail{color:#aeb9c6}html[data-ifs-shell-theme="dark"] .ifs-access-card input,html[data-ifs-shell-theme="dark"] .ifs-problem-card input,html[data-ifs-shell-theme="dark"] .ifs-problem-card textarea{background:#141a22;color:#f5f7fa;border-color:#465263}html[data-ifs-shell-theme="dark"] .ifs-access-actions button,html[data-ifs-shell-theme="dark"] .ifs-problem-actions button{background:#202733;color:#eef3f8;border-color:#526074}html[data-ifs-shell-theme="dark"] .ifs-price-card{border-color:#465263}
.ifs-trial-notice{position:fixed;right:18px;bottom:18px;z-index:9000;max-width:420px;display:flex;align-items:center;gap:16px;background:#fff;color:#24313f;border:1px solid #c9d5e2;border-radius:10px;box-shadow:0 12px 34px rgba(0,0,0,.18);padding:13px 14px}.ifs-trial-notice>div:first-child{display:grid;gap:3px}.ifs-trial-notice strong{font-size:13px}.ifs-trial-notice span{font-size:12px;color:#69798a}.ifs-trial-actions{display:flex;gap:5px;align-items:center}.ifs-trial-actions button{border:1px solid #b7c4d2;background:#fff;border-radius:6px;padding:7px 9px;font:inherit;font-size:12px;font-weight:750;cursor:pointer}.ifs-trial-actions button:first-child{background:#1676cf;color:#fff;border-color:#1676cf}.ifs-trial-actions button:last-child{padding:5px 8px;background:transparent;color:#6c7885}html[data-ifs-shell-theme="dark"] .ifs-trial-notice{background:#202733;color:#eef3f8;border-color:#485466}html[data-ifs-shell-theme="dark"] .ifs-trial-notice span{color:#aeb9c6}

/* Build 96 — member referral invitations. */
.ifs-referral-modal{position:fixed;inset:0;z-index:13020;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(12,18,27,.72);backdrop-filter:blur(6px)}.ifs-referral-modal.hidden{display:none}.ifs-referral-card{width:min(590px,calc(100vw - 36px));max-height:min(760px,calc(100vh - 40px));overflow:auto;background:#fff;color:#182230;border:1px solid #ccd6e2;border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.30);padding:28px}.ifs-referral-card h2{margin:0 0 7px}.ifs-referral-card>p{margin:0 0 18px;color:#657487;line-height:1.45}.ifs-referral-card form{display:grid;gap:8px}.ifs-referral-card label{font-size:13px;font-weight:700}.ifs-referral-card input{height:42px;border:1px solid #b9c5d3;border-radius:7px;padding:0 11px;font:inherit}.ifs-referral-new{margin:14px 0;padding:13px;border:1px solid #b7d7bd;border-radius:8px;background:#eef7ef;display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center}.ifs-referral-new.hidden{display:none}.ifs-referral-new code{font-size:15px;font-weight:800;letter-spacing:.03em;overflow-wrap:anywhere}.ifs-referral-new small{grid-column:1/-1;color:#5f7465}.ifs-referral-new button,.ifs-referral-row button,.ifs-referral-actions button{border:1px solid #b9c5d3;border-radius:7px;background:#fff;padding:7px 10px;font:inherit;font-weight:650;cursor:pointer}.ifs-referral-list{margin-top:16px;border-top:1px solid #dce3ea}.ifs-referral-summary,.ifs-referral-empty,.ifs-referral-loading{padding:12px 0;color:#657487;font-size:12px}.ifs-referral-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #e4e9ee}.ifs-referral-row:first-of-type{border-top:0}.ifs-referral-row>div{display:grid;gap:3px}.ifs-referral-row span{font-size:12px;color:#6b7887}.ifs-referral-actions{display:flex;justify-content:flex-end;margin-top:16px}.ifs-inline-invite{margin-top:18px;padding-top:16px;border-top:1px solid #dce3ea}
html[data-ifs-shell-theme="dark"] .ifs-referral-card{background:#202733;color:#eef3f8;border-color:#3d4858}html[data-ifs-shell-theme="dark"] .ifs-referral-card>p,html[data-ifs-shell-theme="dark"] .ifs-referral-summary,html[data-ifs-shell-theme="dark"] .ifs-referral-empty,html[data-ifs-shell-theme="dark"] .ifs-referral-loading,html[data-ifs-shell-theme="dark"] .ifs-referral-row span{color:#aeb9c6}html[data-ifs-shell-theme="dark"] .ifs-referral-card input,html[data-ifs-shell-theme="dark"] .ifs-referral-new button,html[data-ifs-shell-theme="dark"] .ifs-referral-row button,html[data-ifs-shell-theme="dark"] .ifs-referral-actions button{background:#141a22;color:#f5f7fa;border-color:#465263}html[data-ifs-shell-theme="dark"] .ifs-referral-new{background:#20342a;border-color:#3f654d}

/* Build 141 — pipeline-ordered responsive Suite navigation. */
.suite-apps-toggle{
  display:none;align-items:center;justify-content:center;align-self:stretch;flex:0 0 auto;
  min-width:70px;padding:0 12px;border:0;border-bottom:3px solid transparent;background:transparent;
  color:var(--shell-text);font:750 13px/1 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;cursor:pointer;
}
.suite-apps-toggle:hover,.suite-apps-toggle[aria-expanded="true"]{background:var(--shell-active);border-bottom-color:var(--shell-accent)}
.suite-frame-wrap{height:auto}

/* A resized desktop gets two clean pipeline rows instead of horizontal scrolling. */
@media (max-width:2500px) and (min-width:1121px){
  .suite-shell-nav{height:84px;min-height:84px;overflow:visible}
  .suite-brand{height:auto;min-width:210px;padding-left:14px;padding-right:14px}
  .suite-brand strong{font-size:19px!important}
  .suite-module-nav{
    align-self:stretch;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));grid-template-rows:repeat(2,42px);
    flex:1 1 auto;overflow:visible;min-width:0
  }
  .suite-module-nav button{
    width:100%;height:42px;min-width:0;padding:0 6px;font-size:11.5px;line-height:1.08;white-space:normal;text-align:center
  }
  .current-production{max-width:145px;padding-left:8px;padding-right:8px}
  .current-production strong{max-width:126px;font-size:11px}
  .appearance-control{min-width:108px;padding-left:7px;padding-right:7px}
  .appearance-control select{min-width:88px}
  .ifs-account-control{align-self:stretch;margin-left:0;margin-right:4px}
  .ifs-account-control>button{max-width:130px;padding-left:7px;padding-right:7px}
}

/* On genuinely narrow windows, collapse the apps into an explicit Apps control. */
@media (max-width:1120px){
  .suite-shell-nav{height:auto;min-height:54px;flex-wrap:wrap;overflow:visible;align-items:stretch}
  .suite-brand{position:static;height:54px;min-width:188px;padding:0 12px;background:transparent}
  .suite-brand strong{font-size:17px!important}
  .suite-apps-toggle{display:flex;height:54px}
  .suite-module-nav{display:none!important;order:20;flex:1 0 100%;width:100%;overflow:visible;background:var(--shell-bar);border-top:1px solid var(--shell-line)}
  .suite-shell-nav.apps-open .suite-module-nav{
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:42px
  }
  .suite-module-nav button{height:42px;min-width:0!important;padding:0 7px!important;font-size:12px!important;white-space:normal;line-height:1.05}
  .current-production{height:54px;max-width:135px;padding:0 8px}
  .current-production strong{max-width:116px;font-size:11px}
  .appearance-control{height:54px;min-width:98px;padding:0 6px}
  .appearance-control span{display:none}
  .appearance-control select{min-width:86px}
  .ifs-account-control{height:54px;margin-left:0;margin-right:4px}
  .ifs-account-control>button{max-width:115px}
}
@media (max-width:720px){
  .suite-brand{min-width:176px;flex:1 1 auto}
  .suite-shell-nav.apps-open .suite-module-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .current-production{display:none!important}
  .appearance-control{min-width:92px}
  .ifs-account-control>button{max-width:96px}
}

/* Build 167 — paint-stable shell/app handoff. */
html,body,.suite-frame-wrap,.suite-frame,.suite-loading{background-color:var(--shell-bg)}
.suite-frame{color-scheme:normal;contain:paint}

/* Build 172 — one shared IFS identity mark everywhere the Suite shell shows a logo. */
.suite-brand-logo{
  width:26px!important;height:26px!important;min-width:26px!important;flex:0 0 26px!important;
  object-fit:contain!important;display:block!important;
}
.suite-brand-mark{display:none!important}


/* Build 176 — Suite identity hierarchy: the shell brand stays primary over app-level titles. */
.suite-brand strong{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif!important;
  font-size:19px!important;
  font-style:normal!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-transform:none!important;
  color:var(--shell-text)!important;
}
.suite-brand strong span{color:var(--shell-accent)!important}
.suite-brand-logo{
  width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important;
  flex:0 0 26px!important;object-fit:contain!important;display:block!important;
}

/* Build 185 — workflow-grouped Suite navigation. Keeps the existing app routes and workspace behavior intact. */
@media (min-width:1121px){
  .suite-shell-nav{height:60px!important;min-height:60px!important;overflow:visible!important}
  .suite-brand{height:60px!important;min-width:230px!important;padding-left:14px!important;padding-right:14px!important}
  .suite-module-nav{align-self:stretch!important;display:flex!important;grid-template-columns:none!important;grid-template-rows:none!important;flex:1 1 auto!important;align-items:stretch!important;overflow:visible!important;min-width:0!important}
  .suite-nav-group{position:relative;display:flex;align-items:stretch;flex:1 1 0;min-width:128px}
  .suite-nav-group+.suite-nav-group{border-left:1px solid var(--shell-line)}
  .suite-module-nav .suite-nav-group-toggle{width:100%!important;height:60px!important;min-width:0!important;padding:0 11px!important;border:0!important;border-bottom:3px solid transparent!important;background:transparent!important;color:var(--shell-text)!important;font:750 13px/1.1 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif!important;white-space:normal!important;text-align:center!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .suite-module-nav .suite-nav-group-toggle:hover{background:var(--shell-active)!important}
  .suite-module-nav .suite-nav-group-toggle.active-group{background:transparent!important;border-bottom-color:var(--shell-accent)!important}
  .suite-module-nav .suite-nav-group-toggle[aria-expanded="true"]{background:var(--shell-active)!important;border-bottom-color:var(--shell-accent)!important}
  .suite-nav-group-menu{display:none;position:absolute;top:60px;left:0;z-index:1200;min-width:205px;padding:6px;background:var(--shell-bar);border:1px solid var(--shell-line);border-top:0;border-radius:0 0 9px 9px;box-shadow:0 12px 28px rgba(0,0,0,.16)}
  .suite-nav-group.open .suite-nav-group-menu{display:flex;flex-direction:column}
  .suite-module-nav .suite-nav-group-menu>button{width:100%!important;height:40px!important;min-width:190px!important;padding:0 10px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--shell-text)!important;font:700 12px/1 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif!important;white-space:nowrap!important;text-align:left!important;display:flex!important;align-items:center!important;justify-content:space-between!important;cursor:pointer!important}
  .suite-module-nav .suite-nav-group-menu>button:hover,.suite-module-nav .suite-nav-group-menu>button.active{background:var(--shell-active)!important}
  .suite-module-nav .suite-nav-group-menu>button.active{box-shadow:inset 3px 0 var(--shell-accent)}
  .suite-module-nav .suite-nav-group-menu .module-close{margin-left:auto}
  .suite-frame-wrap{height:auto!important}
  .current-production{max-width:155px!important;padding-left:8px!important;padding-right:8px!important}
  .current-production strong{max-width:136px!important}
}
@media (min-width:1121px) and (max-width:1450px){
  .suite-brand{min-width:205px!important}.suite-brand strong{font-size:17px!important}
  .suite-nav-group{min-width:108px}.suite-module-nav .suite-nav-group-toggle{padding:0 7px!important;font-size:11.5px!important}
  .current-production{max-width:128px!important}.current-production strong{max-width:110px!important;font-size:10.5px!important}
  .ifs-account-control>button{max-width:112px!important}
}
@media (max-width:1120px){
  .suite-shell-nav{height:auto!important;min-height:54px!important;flex-wrap:wrap!important;overflow:visible!important;align-items:stretch!important}
  .suite-module-nav{display:none!important;order:20!important;flex:1 0 100%!important;width:100%!important;overflow:visible!important;background:var(--shell-bar)!important;border-top:1px solid var(--shell-line)!important}
  .suite-shell-nav.apps-open .suite-module-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto!important;align-items:start!important}
  .suite-nav-group{display:block;min-width:0;border-right:1px solid var(--shell-line);border-bottom:1px solid var(--shell-line)}
  .suite-module-nav .suite-nav-group-toggle{width:100%!important;height:38px!important;min-width:0!important;padding:0 10px!important;border:0!important;background:var(--shell-active)!important;color:var(--shell-text)!important;font:800 11px/1 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif!important;justify-content:flex-start!important;text-align:left!important;pointer-events:none}
  .suite-nav-group-menu{display:flex!important;position:static!important;min-width:0!important;padding:4px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--shell-bar)!important;flex-direction:column!important}
  .suite-module-nav .suite-nav-group-menu>button{width:100%!important;height:36px!important;min-width:0!important;padding:0 8px!important;border:0!important;border-radius:5px!important;background:transparent!important;color:var(--shell-text)!important;font:700 11px/1 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif!important;white-space:nowrap!important;justify-content:space-between!important;text-align:left!important}
  .suite-module-nav .suite-nav-group-menu>button:hover,.suite-module-nav .suite-nav-group-menu>button.active{background:var(--shell-active)!important}
}
@media (max-width:650px){.suite-shell-nav.apps-open .suite-module-nav{grid-template-columns:1fr!important}}

/* Build 186 — contextual companion-app navigation inside the active workflow stage. */
.suite-context-nav{
  min-height:38px;height:38px;flex:0 0 38px;display:flex;align-items:stretch;gap:8px;
  padding:0 12px;border-bottom:1px solid var(--shell-line);background:var(--shell-bar);color:var(--shell-text);
  box-shadow:0 1px 2px rgba(0,0,0,.035);position:relative;z-index:900;user-select:none;overflow:hidden;
}
.suite-context-nav.hidden{display:none!important}
.suite-context-group{
  min-width:154px;display:flex;align-items:center;padding:0 10px 0 2px;border-right:1px solid var(--shell-line);
  color:var(--shell-muted);font-size:11px;font-weight:800;letter-spacing:.015em;white-space:nowrap;
}
.suite-context-apps{display:flex;align-items:stretch;gap:3px;min-width:0;overflow-x:auto;scrollbar-width:none}
.suite-context-apps::-webkit-scrollbar{display:none}
.suite-context-app{
  position:relative;min-width:92px;height:38px;padding:0 14px;border:0;background:transparent;color:var(--shell-text);
  border-radius:0;font:700 12px/1 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;
  cursor:pointer;white-space:nowrap;
}
.suite-context-app:hover{background:var(--shell-active)}
.suite-context-app.active{background:var(--shell-active);color:var(--shell-text);font-weight:800}
.suite-context-app.active::after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--shell-accent)}
.suite-context-app:focus-visible{outline:2px solid var(--shell-accent);outline-offset:-3px}
@media(max-width:1120px){
  .suite-context-nav{height:36px;min-height:36px;flex-basis:36px;padding:0 7px;gap:5px}
  .suite-context-group{min-width:auto;max-width:130px;padding:0 8px 0 2px;font-size:10px;overflow:hidden;text-overflow:ellipsis}
  .suite-context-app{height:36px;min-width:78px;padding:0 10px;font-size:11px}
}
@media(max-width:650px){.suite-context-group{display:none}.suite-context-app{min-width:76px}}

/* Build 187 — menu dismissal and clearer workflow-group boundaries. */


/* Build 188 — stronger workflow-stage identity without changing the segmented navigation structure. */
@media (min-width:1121px){
  .suite-module-nav .suite-nav-group-toggle{
    font-size:15px!important;
    font-weight:820!important;
    letter-spacing:.005em!important;
    color:var(--shell-muted)!important;
    transition:background-color .14s ease,color .14s ease,border-color .14s ease!important;
  }
  .suite-module-nav .suite-nav-group-toggle:hover{
    background:var(--shell-stage-soft)!important;
    color:var(--shell-stage-accent)!important;
  }
  .suite-module-nav .suite-nav-group-toggle.active-group{
    background:var(--shell-stage-soft)!important;
    color:var(--shell-stage-accent)!important;
    border-bottom-color:var(--shell-stage-accent)!important;
  }
  .suite-module-nav .suite-nav-group-toggle[aria-expanded="true"]:not(.active-group){
    background:var(--shell-active)!important;
    color:var(--shell-text)!important;
    border-bottom-color:transparent!important;
  }
}
@media (min-width:1121px) and (max-width:1320px){
  .suite-module-nav .suite-nav-group-toggle{font-size:14px!important;}
}
.suite-context-group{
  color:var(--shell-stage-accent)!important;
  font-size:12px!important;
  font-weight:850!important;
}
.suite-context-app.active::after{background:var(--shell-stage-accent)!important;}
