/* v61.8 — Bright stable shell and overview only. Business modules retain
   their component styles, contracts, and role-based visibility. */
#appView .portal-shell-v618{--portal-ink:#30283e;--portal-muted:#746a82;--portal-line:#e9e6ef;--portal-purple:#7952df;--portal-purple-soft:#f0ebff;display:flex;align-items:stretch;gap:0;width:100%;min-width:0;min-height:100vh;background:#f7f8fc}

/* Navigation rail */
#appView .portal-shell-v618 .stable-sidebar{position:sticky;inset-block-start:0;align-self:flex-start;flex:0 0 256px;width:256px;height:100vh;height:100dvh;max-height:none;margin:0;padding:24px 14px 20px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ddd8ec transparent;border:0;border-inline-end:1px solid var(--portal-line);border-radius:0;background:#fff;box-shadow:none;z-index:30}
#appView .portal-shell-v618 .stable-sidebar::before{display:none}
#appView .portal-shell-v618 .stable-side-brand{display:flex;align-items:center;gap:11px;min-width:0;margin:0 5px 21px;padding:0 0 23px;border-bottom:1px solid var(--portal-line)}
#appView .portal-shell-v618 .stable-side-brand img{flex:0 0 42px;width:42px;height:42px;padding:4px;border:1px solid #eee8f7;border-radius:13px;background:#fbf9ff;box-shadow:none}
#appView .portal-shell-v618 .stable-side-brand>div{min-width:0}
#appView .portal-shell-v618 .stable-side-brand b{color:var(--portal-ink);font-size:17px;font-weight:800;line-height:1.55}
#appView .portal-shell-v618 .stable-side-brand small{margin-top:3px;color:var(--portal-muted);font-size:11px;line-height:1.6}
#appView .portal-shell-v618 .stable-side-nav{display:flex;flex-direction:column;gap:0;overflow:visible;padding:0}
#appView .portal-shell-v618 .stable-nav-group{display:grid;gap:4px;overflow:visible;margin:0;padding:0 0 17px}
#appView .portal-shell-v618 .stable-nav-group+.stable-nav-group{padding-top:15px;border-top:1px solid #f0eef5}
#appView .portal-shell-v618 .stable-nav-group p{display:block;margin:0 13px 7px;color:#84758f;font-size:11px;font-weight:700;line-height:1.7;letter-spacing:0}
#appView .portal-shell-v618 .stable-side-nav a{position:relative;display:flex;flex:0 0 auto;align-items:center;gap:11px;min-height:46px;min-width:0;padding:9px 12px;border:1px solid transparent;border-radius:13px;color:#62566e;background:transparent;font-size:12px;font-weight:700;line-height:1.7;text-decoration:none;transition:background .16s ease,color .16s ease,border-color .16s ease}
#appView .portal-shell-v618 .stable-side-nav a span{display:grid;flex:0 0 29px;place-items:center;width:29px;height:29px;border-radius:9px;color:#887794;background:#f6f3fa;font-size:14px}
#appView .portal-shell-v618 .stable-side-nav a:first-child{color:#62566e;background:transparent}
#appView .portal-shell-v618 .stable-side-nav a:hover{color:#6042b9;border-color:#eae4f8;background:#faf8ff;transform:none}
#appView .portal-shell-v618 .stable-side-nav a.is-active{color:#6340c0;border-color:#e9e0ff;background:var(--portal-purple-soft);font-weight:800}
#appView .portal-shell-v618 .stable-side-nav a.is-active::after{display:none}
#appView .portal-shell-v618 .stable-side-nav a.is-active span{color:#7350dc;background:#fff;box-shadow:0 3px 9px #7350dc0b}
#appView .portal-shell-v618 .stable-side-nav a.nav-hidden,#appView .portal-shell-v618 .stable-side-nav a.console-search-hidden,#appView .portal-shell-v618 .stable-nav-group.console-group-no-match{display:none}
#appView .portal-shell-v618 .stable-side-note{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 9px;align-items:center;margin:3px 5px 17px;padding:13px;border:1px solid #e1eee8;border-radius:14px;color:#667d72;background:#f5fbf8;font-size:11px;line-height:1.6}
#appView .portal-shell-v618 .stable-side-note b{color:#367663;font-size:12px;margin:0}
#appView .portal-shell-v618 .stable-side-note>span:last-child{grid-column:2}
#appView .portal-shell-v618 .console-account{display:flex;align-items:center;gap:11px;margin:0 5px;padding:17px 3px 0;border-top:1px solid var(--portal-line)}
#appView .portal-shell-v618 .console-avatar{flex:0 0 40px;width:40px;height:40px;border:1px solid #e4d9fc;border-radius:13px;color:#7654c5;background:#f0eafd;font-size:17px}
#appView .portal-shell-v618 .console-account>div{min-width:0}
#appView .portal-shell-v618 .console-account b{max-width:160px;color:var(--portal-ink);font-size:12px}
#appView .portal-shell-v618 .console-account small{margin-top:4px;color:var(--portal-muted);font-size:11px}
#appView .portal-shell-v618 #portalNavSearch:empty{display:none}
#appView .portal-shell-v618 #portalNavEmpty{margin:7px 8px 22px;padding:13px;border:1px dashed #e1d5ef;border-radius:12px;color:#857194;background:#fcfaff;font-size:12px;line-height:1.8}

/* Full-width main and utility bar */
#appView .portal-shell-v618 .stable-main{flex:1 1 0;min-width:0;width:auto;max-width:none;padding:0 30px 40px;background:#f7f8fc}
#appView .portal-shell-v618 .top{position:sticky;inset-block-start:0;display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:18px;min-width:0;min-height:90px;margin:0 -30px 28px;padding:16px 30px;border:0;border-bottom:1px solid var(--portal-line);border-radius:0;background:#ffffffed;box-shadow:0 7px 22px #39334f03;backdrop-filter:blur(18px);z-index:20}
#appView .portal-shell-v618 .console-breadcrumb{display:flex;flex:0 1 auto;gap:12px;min-width:130px;margin:0}
#appView .portal-shell-v618 .console-breadcrumb>div{min-width:0}
#appView .portal-shell-v618 .console-breadcrumb i{flex:0 0 43px;width:43px;height:43px;border:1px solid #eee7fa;border-radius:14px;color:var(--portal-purple);background:#f7f2ff;font-size:20px}
#appView .portal-shell-v618 .console-breadcrumb span{color:#85788f;font-size:11px;line-height:1.5}
#appView .portal-shell-v618 .console-breadcrumb b{margin-top:3px;color:var(--portal-ink);font-size:15px;line-height:1.6}
#appView .portal-shell-v618 .console-header-tools{display:flex;flex:0 1 auto;align-items:center;justify-content:flex-end;gap:9px;min-width:0}
#appView .portal-shell-v618 .console-global-search{flex:0 1 226px;min-width:135px;margin:0}
#appView .portal-shell-v618 .console-global-search span{inset-inline-start:13px;top:10px;color:#9a89a9;font-size:20px}
#appView .portal-shell-v618 .console-global-search input,#appView .portal-shell-v618 .console-global-search input:focus{display:block;width:100%;min-width:0;min-height:46px;padding:10px 39px 10px 13px;border:1px solid #ece9f2;border-radius:13px;color:var(--portal-ink);background:#faf9fc;font-family:inherit;font-size:12px;transition:border-color .16s ease,box-shadow .16s ease}
#appView .portal-shell-v618 .console-global-search input::placeholder{color:#8c7d99;opacity:1}
#appView .portal-shell-v618 .console-global-search input:focus{border-color:#b5a0ed;background:#fff;box-shadow:0 0 0 3px #7350dc12}
#appView .portal-shell-v618 .tenant-picker{flex:0 1 190px;width:190px;min-width:145px;max-width:230px;min-height:46px;padding:10px 12px;border:1px solid #e5e1ec;border-radius:13px;color:#5f506e;background:#fff;font-family:inherit;font-size:12px;font-weight:700;text-overflow:ellipsis}
#appView .portal-shell-v618 .console-store-action,#appView .portal-shell-v618 .top .btn.secondary{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:46px;padding:10px 14px;border:1px solid #e8e1f3;border-radius:13px;color:#7150c3;background:#f5f0ff;font-family:inherit;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:none;transform:none}
#appView .portal-shell-v618 .top .btn.secondary{border-color:#e9e5ee;color:#7e6b8a;background:#fff}
#appView .portal-shell-v618 .console-store-action:hover{border-color:#d3c3f4;color:#5e3bab;background:#eee5ff}
#appView .portal-shell-v618 .top .btn.secondary:hover{border-color:#d6cbe4;color:#665071;background:#fcfaff}
#appView .portal-shell-v618 .portal-nav-toggle,#appView .portal-shell-v618 .portal-nav-close,#appView .portal-shell-v618 .portal-nav-backdrop{display:none}

/* Welcome and next step */
#appView .portal-shell-v618 #stableOverview{position:relative;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,.8fr);align-items:stretch;gap:28px;min-height:0;margin:0 0 22px;padding:28px;overflow:hidden;border:1px solid #e7e2f2;border-radius:24px;background:radial-gradient(ellipse at 98% 0%,#f0eaff 0,transparent 60%),#fff;box-shadow:0 10px 35px #4b366c04}
#appView .portal-shell-v618 #stableOverview::after{display:none}
#appView .portal-shell-v618 .portal-welcome-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;padding:3px 0;background:none}
#appView .portal-shell-v618 .portal-welcome-copy::after{display:none}
#appView .portal-shell-v618 .portal-welcome-copy .console-eyebrow{display:flex;flex-wrap:wrap;align-items:center;gap:9px;color:#9277ab;font-family:inherit;font-size:12px;font-weight:700;line-height:1.8;letter-spacing:0}
#appView .portal-shell-v618 #portalOverviewDate{color:#84728f;font-size:12px}
#appView .portal-shell-v618 #stableOverview h1{max-width:none;margin:11px 0 7px;color:#3d2b50;font-size:clamp(26px,2.25vw,33px);font-weight:800;line-height:1.6;letter-spacing:-.025em;overflow-wrap:anywhere}
#appView .portal-shell-v618 #portalOverviewTenant{color:#7650ca}
#appView .portal-shell-v618 #stableOverview .portal-welcome-copy>p{max-width:630px;margin:0;color:#80708d;font-size:14px;font-weight:400;line-height:1.95;letter-spacing:0}
#appView .portal-shell-v618 #stableOverview .stable-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:21px}
#appView .portal-shell-v618 #stableOverview .stable-hero-actions a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border:1px solid #e4dced;border-radius:12px;color:#745592;background:#fff;font-size:13px;font-weight:800;line-height:1.6;text-decoration:none;box-shadow:none}
#appView .portal-shell-v618 #stableOverview .stable-hero-actions a:first-child{border-color:#7952df;color:#fff;background:#7952df;box-shadow:0 5px 13px #7952df1c}
#appView .portal-shell-v618 #stableOverview .stable-hero-actions a:hover{border-color:#bba5e2;background:#f8f3ff;color:#65409d;transform:none}
#appView .portal-shell-v618 #stableOverview .stable-hero-actions a:first-child:hover{border-color:#6740ca;color:#fff;background:#6740ca}
#appView .portal-shell-v618 .portal-today-panel{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;min-width:0;padding:23px;border:1px solid #d9ebe3;border-radius:19px;background:#f0faf5;color:#39745c}
#appView .portal-shell-v618 .portal-data-status{align-self:flex-start;margin:0 0 4px;padding:4px 8px;border:1px solid #d6e7dd;border-radius:8px;color:#5c8770;background:#ffffffb8;font-size:10px;font-weight:700;line-height:1.8}
#appView .portal-shell-v618 .portal-data-status.is-partial{border-color:#edddbd;color:#99702e;background:#fffbf0}
#appView .portal-shell-v618 .portal-data-status.is-error{border-color:#ebcdd7;color:#a45066;background:#fff7f9}
#appView .portal-shell-v618 .portal-today-panel>small{color:#658674;font-size:12px;font-weight:700}
#appView .portal-shell-v618 .portal-today-panel>strong{color:#386a55;font-size:20px;font-weight:800;line-height:1.6}
#appView .portal-shell-v618 #stableOverview .portal-today-panel>p{margin:0;color:#657d6d;font-size:13px;line-height:1.9}
#appView .portal-shell-v618 #portalNextAction{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:2px;padding:8px 0;border-radius:8px;color:#358264;background:transparent;font-size:13px;font-weight:800;text-decoration:none}
#appView .portal-shell-v618 #portalNextAction:hover{color:#225d47;text-decoration:underline;text-underline-offset:4px}

/* Scoped overview metrics and daily focus */
#appView .portal-shell-v618 #stableMetrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:17px;margin:0 0 23px}
#appView .portal-shell-v618 #stableMetrics .portal-metric-card{position:relative;min-width:0;min-height:151px;padding:20px 22px;overflow:hidden;border:1px solid var(--portal-line);border-radius:20px;background:#fff;box-shadow:0 6px 20px #37334f03}
#appView .portal-shell-v618 #stableMetrics .portal-metric-card::before{display:none}
#appView .portal-shell-v618 .portal-metric-label{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#80708f;font-size:13px;font-weight:600;line-height:1.7}
#appView .portal-shell-v618 .portal-metric-label>i{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;border-radius:11px;background:#f3edff;color:#9c80cf;font-size:17px;font-style:normal}
#appView .portal-shell-v618 .portal-metric-card:nth-child(2) .portal-metric-label>i{color:#64a68e;background:#eaf8f1}
#appView .portal-shell-v618 .portal-metric-card:nth-child(3) .portal-metric-label>i{color:#cf9b68;background:#fff2e4}
#appView .portal-shell-v618 #stableMetrics .metric{margin:9px 0 3px;color:#493453;font-size:clamp(27px,2.5vw,35px);font-weight:700;line-height:1.4;letter-spacing:-.025em;overflow-wrap:anywhere}
#appView .portal-shell-v618 #stableMetrics .portal-metric-note{display:block;color:#8a7c96;font-size:11px;line-height:1.7}
#appView .portal-shell-v618 #stableDailyFocus{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));align-items:stretch;gap:12px;margin:0 0 26px;padding:17px;overflow:hidden;border:1px solid var(--portal-line);border-radius:22px;background:#fff;box-shadow:0 6px 20px #37334f03}
#appView .portal-shell-v618 #stableDailyFocus .stable-focus-intro{grid-column:auto;min-width:0;padding:18px;border:0;border-radius:15px;background:#f7f4fd;color:var(--portal-ink);box-shadow:none}
#appView .portal-shell-v618 #stableDailyFocus .stable-focus-intro>small{color:#9476b3;font-size:11px;line-height:1.6}
#appView .portal-shell-v618 #stableDailyFocus .stable-focus-intro>b{margin-top:6px;color:#655179;font-size:17px;line-height:1.65;overflow-wrap:anywhere}
#appView .portal-shell-v618 #stableDailyFocus .stable-focus-intro>span{margin-top:5px;color:#897495;font-size:11px;line-height:1.7}
#appView .portal-shell-v618 #stableDailyFocus .stable-status-line{gap:7px;margin-top:12px;color:#897495;font-size:10px;line-height:1.7}
#appView .portal-shell-v618 #stableDailyFocus .stable-status-line i{flex:0 0 6px;width:6px;height:6px;background:#83b7a0;box-shadow:0 0 0 3px #dcece4}
#appView .portal-shell-v618 .portal-overview-refresh{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;margin-top:11px;padding:9px 12px;border:1px solid #e7dcef;border-radius:10px;background:#fff;color:#8767a4;font-family:inherit;font-size:11px;font-weight:700;cursor:pointer;box-shadow:none}
#appView .portal-shell-v618 .portal-overview-refresh:hover{border-color:#bca5d9;background:#fdfaff}
#appView .portal-shell-v618 .portal-overview-refresh:disabled{opacity:.65;cursor:wait}
#appView .portal-shell-v618 #stableDailyFocus .stable-focus-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;min-height:130px;padding:18px;border:1px solid #f0edf4;border-radius:15px;background:#fff;box-shadow:none}
#appView .portal-shell-v618 #stableDailyFocus .stable-focus-card:hover{border-color:#ddcdee;background:#fdfaff;transform:none}
#appView .portal-shell-v618 #stableDailyFocus .stable-focus-card b{color:#9673bf;font-size:30px;font-weight:600;line-height:1.35}
#appView .portal-shell-v618 #stableDailyFocus .stable-focus-card.warn b{color:#bd8b42}
#appView .portal-shell-v618 #stableDailyFocus .stable-focus-card.success b{color:#56977d}
#appView .portal-shell-v618 #stableDailyFocus .stable-focus-card span{margin-top:9px;color:#897296;font-size:12px;font-weight:500;line-height:1.8}

/* Quick workspace cards */
#appView .portal-shell-v618 #stableQuickAccess{min-width:0;margin:0 0 28px}
#appView .portal-shell-v618 #stableQuickAccess>header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 16px}
#appView .portal-shell-v618 #stableQuickAccess .console-eyebrow{color:#a48ab7;font-size:10px;font-family:inherit;letter-spacing:0}
#appView .portal-shell-v618 #stableQuickAccess h2{margin:0;color:#533d62;font-size:20px;font-weight:800;line-height:1.7}
#appView .portal-shell-v618 #stableQuickAccess header p{margin:3px 0 0;color:#897396;font-size:12px;line-height:1.8}
#appView .portal-shell-v618 .portal-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#appView .portal-shell-v618 .portal-quick-card{display:flex;align-items:center;gap:15px;min-width:0;min-height:115px;padding:20px;border:1px solid var(--portal-line);border-radius:18px;color:var(--portal-ink);background:#fff;text-decoration:none;box-shadow:0 5px 20px #37334f02;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}
#appView .portal-shell-v618 .portal-quick-card:hover{border-color:#d9cbea;background:#fdfbff;box-shadow:0 7px 22px #7350dc08}
#appView .portal-shell-v618 .portal-quick-icon{display:grid;flex:0 0 49px;place-items:center;width:49px;height:49px;border-radius:16px;color:#9876bf;background:#f3edff}
#appView .portal-shell-v618 .portal-quick-icon svg{width:23px;height:23px;stroke-width:1.65}
#appView .portal-shell-v618 .portal-quick-card:nth-child(3n+2) .portal-quick-icon{color:#659e8e;background:#ebf7f2}
#appView .portal-shell-v618 .portal-quick-card:nth-child(3n) .portal-quick-icon{color:#bb9162;background:#fff2e5}
#appView .portal-shell-v618 .portal-quick-card>div{flex:1 1 auto;min-width:0}
#appView .portal-shell-v618 .portal-quick-card b{display:block;color:#69517b;font-size:14px;font-weight:800;line-height:1.8}
#appView .portal-shell-v618 .portal-quick-card small{display:block;margin-top:3px;color:#8e789c;font-size:11px;line-height:1.85}
#appView .portal-shell-v618 .portal-quick-card>span:last-child:not(.portal-quick-icon){flex:0 0 auto;color:#c5b7d2;font-size:20px}

/* Existing auth, role and route visibility stays authoritative. */
/* The shared legacy theme uses !important; override only shell surfaces here. */
#appView .portal-shell-v618{font-family:'IBM Plex Sans Arabic',Tahoma,Arial,sans-serif}
#appView .portal-shell-v618 .top{flex-direction:row}
#appView .portal-shell-v618 #stableOverview{padding:24px;background:radial-gradient(ellipse at 98% 0%,#f0eaff 0,transparent 65%),#fff!important;border-color:#e7e2f2!important;box-shadow:0 8px 28px #4b366c05!important}
#appView .portal-shell-v618 #stableOverview h1,#appView .portal-shell-v618 #stableQuickAccess h2{font-family:'IBM Plex Sans Arabic',Tahoma,Arial,sans-serif;letter-spacing:0}
#appView .portal-shell-v618 .stable-side-brand b{color:#463254!important}
#appView .portal-shell-v618 .stable-sidebar{background:#fff!important;box-shadow:none!important}
#appView .portal-shell-v618 .stable-side-nav a{font-size:13px;background:transparent!important;color:#62566e!important;border-color:transparent!important}
#appView .portal-shell-v618 .stable-side-nav a.is-active{background:#f0ebff!important;color:#6340c0!important;border-color:#e9e0ff!important}
#appView .portal-shell-v618 .stable-side-nav a:hover{background:#f7f3ff!important;color:#6340c0!important}
#appView .portal-shell-v618 #stableOverview .stable-hero-actions a:first-child{background:#7952df!important;border-color:#7952df!important;box-shadow:0 5px 13px #7952df1c!important}
#appView .portal-shell-v618 #stableOverview .stable-hero-actions a:first-child:hover{background:#6740ca!important}
#appView .portal-shell-v618 #stableOverview .stable-hero-actions a:not(:first-child){color:#654a7c!important;box-shadow:none!important;border-color:#e4dced!important}
#appView .portal-shell-v618 .top .btn.secondary{color:#6c587d!important;background:#fff!important;box-shadow:none!important;border-color:#e5dfed!important}
#appView .portal-shell-v618 .console-breadcrumb b{font-size:16px}
#appView .portal-shell-v618 .console-global-search input,#appView .portal-shell-v618 .tenant-picker,#appView .portal-shell-v618 .console-store-action,#appView .portal-shell-v618 .top .btn.secondary{font-size:13px}
#appView .portal-shell-v618 .portal-today-panel{padding:18px;gap:4px}
#appView .portal-shell-v618 .portal-today-panel>strong{font-size:18px}
#appView .portal-shell-v618 #stableMetrics .portal-metric-card{min-height:130px;padding:17px 20px}
#appView .portal-shell-v618 .portal-metric-label{font-size:14px;color:#6e5a7d}
#appView .portal-shell-v618 #stableMetrics .portal-metric-note{font-size:12px;color:#766581}
#appView .portal-shell-v618 #stableDailyFocus{padding:12px;gap:10px}
#appView .portal-shell-v618 #stableDailyFocus .stable-focus-card{min-height:120px;padding:16px}
#appView .portal-shell-v618 #stableDailyFocus .stable-focus-card span{font-size:13px;color:#746180}
#appView .portal-shell-v618 .portal-overview-refresh{font-size:12px;color:#705384}
#appView .portal-shell-v618 .portal-quick-card b{font-size:15px;color:#574067}
#appView .portal-shell-v618 .portal-quick-card small{font-size:12px;color:#786882}
#appView .portal-shell-v618 .portal-data-status[data-state=partial]{border-color:#e8cda1;color:#8e611c;background:#fff8e9}
#appView .portal-shell-v618 .portal-data-status[data-state=error]{border-color:#ebcdd7;color:#a45066;background:#fff7f9}
#appView .portal-shell-v618 .workspace-hidden,#appView .portal-shell-v618 [hidden],#appView .portal-shell-v618 .hidden,#appView .portal-shell-v618 [data-stable-view].role-hidden{display:none!important}
#appView .portal-shell-v618 :is(.portal-nav-toggle,.portal-nav-close,.console-store-action,.top .btn,.tenant-picker,.console-global-search input,.stable-side-nav a,.stable-hero-actions a,#portalNextAction,.portal-quick-card,.stable-focus-card,.portal-overview-refresh):focus-visible{outline:3px solid #a58ae7;outline-offset:3px}

@media(min-width:1700px){
  #appView .portal-shell-v618 .stable-sidebar{flex-basis:272px;width:272px;padding-inline:18px}
  #appView .portal-shell-v618 .stable-main{padding-inline:40px}
  #appView .portal-shell-v618 .top{margin-inline:-40px;padding-inline:40px}
  #appView .portal-shell-v618 #stableOverview{grid-template-columns:minmax(0,1.8fr) minmax(280px,.8fr);padding:34px}
}
@media(max-width:1370px) and (min-width:1101px){
  #appView .portal-shell-v618 .stable-sidebar{flex-basis:242px;width:242px;padding-inline:11px}
  #appView .portal-shell-v618 .stable-main{padding-inline:22px}
  #appView .portal-shell-v618 .top{gap:12px;margin-inline:-22px;padding-inline:22px}
  #appView .portal-shell-v618 .console-header-tools{gap:7px}
  #appView .portal-shell-v618 .console-global-search{flex-basis:172px}
  #appView .portal-shell-v618 .tenant-picker{flex-basis:167px;width:167px;min-width:130px}
  #appView .portal-shell-v618 .console-store-action,#appView .portal-shell-v618 .top .btn.secondary{padding-inline:11px}
  #appView .portal-shell-v618 #stableOverview{gap:20px;padding:24px}
  #appView .portal-shell-v618 .portal-quick-card{gap:11px;padding:17px}
  #appView .portal-shell-v618 .portal-quick-icon{flex-basis:43px;width:43px;height:43px;border-radius:14px}
}
@media(max-width:1100px){
  #appView .portal-shell-v618{display:block}
  #appView .portal-shell-v618 .stable-main{width:100%;padding:0 24px 32px}
  #appView .portal-shell-v618 .top{gap:12px;min-height:82px;margin:0 -24px 24px;padding:14px 24px}
  #appView .portal-shell-v618 .console-breadcrumb{flex:1 1 auto}
  #appView .portal-shell-v618 .console-header-tools{flex:0 1 auto}
  #appView .portal-shell-v618 .console-global-search{flex-basis:190px}
  #appView .portal-shell-v618 .tenant-picker{flex-basis:175px;width:175px}
  #appView .portal-shell-v618 .portal-nav-toggle,#appView .portal-shell-v618 .portal-nav-close{display:inline-flex;flex:0 0 44px;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:9px;border:1px solid #e5def1;border-radius:13px;color:#8c71b5;background:#fff;font-size:21px;line-height:1;cursor:pointer;box-shadow:none}
  #appView .portal-shell-v618 .portal-nav-close{flex-basis:44px;width:44px;height:44px;min-height:44px;margin-inline-start:auto;font-size:25px}
  #appView .portal-shell-v618 .portal-nav-toggle svg,#appView .portal-shell-v618 .portal-nav-close svg{display:block;width:22px;height:22px}
  #appView .portal-shell-v618 .stable-sidebar{position:fixed;inset-block:0;inset-inline-start:0;inset-inline-end:auto;width:min(316px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:100vh;height:100dvh;padding:24px 14px 28px;margin:0;overflow-y:auto;border:0;border-inline-end:1px solid #e7dfee;border-radius:22px 0 0 22px;background:#fff;box-shadow:-10px 0 55px #3a24402b;transform:translateX(105%);visibility:hidden;pointer-events:none;transition:transform .2s ease,visibility .2s ease;z-index:62}
  #appView .portal-shell-v618.portal-nav-open .stable-sidebar,body.portal-nav-open #appView .portal-shell-v618 .stable-sidebar{transform:translateX(0);visibility:visible;pointer-events:auto}
  #appView .portal-shell-v618 .portal-nav-backdrop:not([hidden]){position:fixed;inset:0;display:block;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#30243b52;backdrop-filter:blur(3px);cursor:pointer;z-index:61}
  body.portal-nav-open{overflow:hidden}
  #appView .portal-shell-v618 .stable-side-note{display:grid}
  #appView .portal-shell-v618 .console-account{display:flex}
  #appView .portal-shell-v618 #portalNavSearch:not(:empty){margin:0 5px 18px}
  #appView .portal-shell-v618 #portalNavSearch .console-global-search{display:block;width:100%;min-width:0}
  #appView .portal-shell-v618 #portalNavSearch .console-global-search input{width:100%}
}
@media(max-width:860px){
  #appView .portal-shell-v618 .top{flex-wrap:wrap;gap:12px}
  #appView .portal-shell-v618 .console-header-tools{flex:1 1 100%;justify-content:stretch}
  #appView .portal-shell-v618 .console-global-search{flex:1 1 180px}
  #appView .portal-shell-v618 .tenant-picker{flex:1 1 170px;max-width:230px}
  #appView .portal-shell-v618 #stableOverview{grid-template-columns:minmax(0,1.5fr) minmax(210px,1fr);gap:20px;padding:25px}
  #appView .portal-shell-v618 #stableOverview h1{font-size:27px}
  #appView .portal-shell-v618 .portal-today-panel{padding:19px}
  #appView .portal-shell-v618 #stableDailyFocus{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  #appView .portal-shell-v618 #stableDailyFocus .stable-focus-intro{grid-column:1/-1}
  #appView .portal-shell-v618 #stableDailyFocus .stable-focus-card{min-height:112px}
  #appView .portal-shell-v618 .portal-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  #appView .portal-shell-v618 .stable-main{padding:0 17px 25px}
  #appView .portal-shell-v618 .top{margin:0 -17px 19px;padding:13px 17px}
  #appView .portal-shell-v618 .console-breadcrumb i{display:none}
  #appView .portal-shell-v618 .console-breadcrumb{min-width:0}
  #appView .portal-shell-v618 .console-breadcrumb b{font-size:15px}
  #appView .portal-shell-v618 .console-header-tools{display:flex;flex:1 1 100%;gap:8px;width:100%}
  #appView .portal-shell-v618 .tenant-picker{flex:1 1 0;width:100%;min-width:0;max-width:none}
  #appView .portal-shell-v618 .console-store-action{display:none}
  #appView .portal-shell-v618 .top .btn.secondary{min-width:0;padding-inline:12px;font-size:11px}
  #appView .portal-shell-v618 #stableOverview{grid-template-columns:minmax(0,1fr);gap:21px;padding:23px 20px;border-radius:21px;margin-bottom:17px}
  #appView .portal-shell-v618 #stableOverview h1{margin-top:9px;font-size:26px;line-height:1.65}
  #appView .portal-shell-v618 #stableOverview .portal-welcome-copy>p{font-size:13px}
  #appView .portal-shell-v618 #stableOverview .stable-hero-actions{gap:8px;margin-top:18px;width:100%}
  #appView .portal-shell-v618 #stableOverview .stable-hero-actions a{flex:1 1 auto;padding-inline:12px;font-size:12px}
  #appView .portal-shell-v618 .portal-today-panel{gap:5px;padding:18px;border-radius:16px}
  #appView .portal-shell-v618 .portal-today-panel>strong{font-size:17px}
  #appView .portal-shell-v618 #portalNextAction{margin-top:0;padding-block:7px}
  #appView .portal-shell-v618 #stableMetrics{grid-template-columns:minmax(0,1fr);gap:10px;margin-bottom:17px}
  #appView .portal-shell-v618 #stableMetrics .portal-metric-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 14px;min-height:104px;padding:17px 18px;border-radius:17px}
  #appView .portal-shell-v618 .portal-metric-label{gap:8px;justify-content:flex-start;font-size:12px}
  #appView .portal-shell-v618 .portal-metric-label>i{order:-1;flex-basis:31px;width:31px;height:31px;font-size:16px}
  #appView .portal-shell-v618 #stableMetrics .metric{grid-column:2;grid-row:1/3;margin:0;font-size:27px}
  #appView .portal-shell-v618 #stableMetrics .portal-metric-note{grid-column:1;font-size:10px}
  #appView .portal-shell-v618 #stableDailyFocus{grid-template-columns:minmax(0,1fr);gap:9px;margin-bottom:21px;padding:12px;border-radius:19px}
  #appView .portal-shell-v618 #stableDailyFocus .stable-focus-intro{grid-column:auto;padding:17px}
  #appView .portal-shell-v618 #stableDailyFocus .stable-focus-card{flex-direction:row;justify-content:space-between;align-items:center;gap:14px;min-height:76px;padding:15px 17px}
  #appView .portal-shell-v618 #stableDailyFocus .stable-focus-card b{order:1;font-size:25px}
  #appView .portal-shell-v618 #stableDailyFocus .stable-focus-card span{margin:0;font-size:12px}
  #appView .portal-shell-v618 #stableQuickAccess>header{align-items:flex-start;flex-direction:column;gap:4px;margin-bottom:12px}
  #appView .portal-shell-v618 #stableQuickAccess h2{font-size:18px}
  #appView .portal-shell-v618 #stableQuickAccess header p{font-size:11px}
  #appView .portal-shell-v618 .portal-quick-grid{gap:11px}
  #appView .portal-shell-v618 .portal-quick-card{flex-wrap:wrap;align-content:flex-start;gap:9px;min-height:153px;padding:17px;border-radius:17px}
  #appView .portal-shell-v618 .portal-quick-icon{flex-basis:41px;width:41px;height:41px;border-radius:13px}
  #appView .portal-shell-v618 .portal-quick-icon svg{width:21px;height:21px}
  #appView .portal-shell-v618 .portal-quick-card>div{flex:1 1 100%}
  #appView .portal-shell-v618 .portal-quick-card b{font-size:12px}
  #appView .portal-shell-v618 .portal-quick-card small{margin-top:2px;font-size:10px}
  #appView .portal-shell-v618 .portal-quick-card>span:last-child:not(.portal-quick-icon){display:none}
}
@media(max-width:359px){
  #appView .portal-shell-v618 .stable-main{padding-inline:12px}
  #appView .portal-shell-v618 .top{margin-inline:-12px;padding-inline:12px}
  #appView .portal-shell-v618 #stableOverview{padding:20px 17px}
  #appView .portal-shell-v618 #stableOverview h1{font-size:23px}
  #appView .portal-shell-v618 #stableMetrics .portal-metric-card{gap:4px 9px;padding:15px}
  #appView .portal-shell-v618 #stableMetrics .metric{font-size:24px}
  #appView .portal-shell-v618 .portal-quick-grid{grid-template-columns:minmax(0,1fr)}
  #appView .portal-shell-v618 .portal-quick-card{flex-wrap:nowrap;min-height:104px;gap:13px}
  #appView .portal-shell-v618 .portal-quick-card>div{flex:1 1 auto}
  #appView .portal-shell-v618 .portal-quick-card b{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
  #appView .portal-shell-v618 .stable-sidebar,#appView .portal-shell-v618 .stable-side-nav a,#appView .portal-shell-v618 .portal-quick-card,#appView .portal-shell-v618 .console-global-search input{transition:none;scroll-behavior:auto}
}
@media(max-width:620px){
  #appView .portal-shell-v618 #stableMetrics .portal-metric-note{font-size:11px}
  #appView .portal-shell-v618 .portal-quick-card b{font-size:14px}
  #appView .portal-shell-v618 .portal-quick-card small{font-size:12px}
}
