:root{
  --neutral-0:#FFFFFF;
  --neutral-25:#FBFBFC;
  --neutral-50:#F6F7F8;
  --neutral-100:#F1F2F4;
  --neutral-150:#E9EBEE;
  --neutral-200:#E1E3E8;
  --neutral-300:#C9CCD2;
  --neutral-400:#9AA0AB;
  --neutral-500:#6E7480;
  --neutral-600:#4D5360;
  --neutral-700:#2E3441;
  --neutral-900:#0E141F;
  --brand-teal:#19B6A8;
  --brand-teal-ink:#0E8A80;
  --hero-gradient:linear-gradient(110deg,#D8CBF1 0%,#C9DCE2 48%,#B7DECF 100%);
  --warn-bg:#FCF3CB;
  --warn-line:#EDE0A1;
  --warn-ink:#6B5408;
  --positive:#0E8A80;
  --negative:#B33C36;
}

body{
  background:var(--neutral-50) !important;
  color:var(--neutral-900);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  letter-spacing:0;
}

.ysa-topbar,
.ysa-topbar *,
.ysa-subnav,
.ysa-subnav *,
.ysa-insights-page,
.ysa-insights-page *{
  box-sizing:border-box;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  letter-spacing:0;
}

.ysa-topbar button,
.ysa-subnav button,
.ysa-insights-page button{
  font-family:inherit;
}

.ysa-topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:40;
  height:56px;
  background:var(--neutral-0);
  border-bottom:1px solid var(--neutral-150);
}

.ysa-topbar-row{
  height:56px;
  max-width:1640px;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  gap:14px;
}

.ysa-shell-mobile-menu{
  display:none;
  width:32px;
  height:32px;
  border:1px solid var(--neutral-200);
  border-radius:8px;
  background:var(--neutral-0);
  color:var(--neutral-900);
  cursor:pointer;
}

.ysa-brand-wrap,
.ysa-brand,
.ysa-workspace,
.ysa-primary-nav,
.ysa-right-cluster{
  display:flex;
  align-items:center;
}

.ysa-brand-wrap{
  gap:10px;
  flex-shrink:0;
}

.ysa-brand{
  gap:9px;
}

.ysa-brand-mark{
  width:26px;
  height:26px;
  border-radius:7px;
  background:var(--brand-teal);
  display:grid;
  place-items:center;
  box-shadow:inset 0 -1.5px 0 rgba(0,0,0,.10);
}

.ysa-brand-name{
  font-size:13.5px;
  line-height:1;
  font-weight:600;
  color:var(--neutral-900);
  white-space:nowrap;
}

.ysa-brand-name span{
  color:var(--neutral-400);
  font-weight:500;
}

.ysa-crumb-slash{
  color:var(--neutral-300);
  font-size:18px;
  line-height:1;
  font-weight:300;
}

.ysa-workspace{
  gap:8px;
  height:30px;
  padding:0 8px 0 6px;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
  cursor:pointer;
  color:var(--neutral-900);
}

.ysa-workspace:hover{
  background:var(--neutral-100);
}

.ysa-ws-mark{
  width:20px;
  height:20px;
  border-radius:5px;
  background:linear-gradient(135deg,#1B2230,#2E3441);
  color:#fff;
  font-size:10px;
  font-weight:600;
  display:grid;
  place-items:center;
}

.ysa-ws-name{
  max-width:170px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
  font-weight:550;
}

.ysa-workspace i{
  color:var(--neutral-500);
  font-size:10px;
}

.ysa-primary-nav{
  gap:1px;
  flex-shrink:0;
  min-width:0;
}

.ysa-nav-item{
  height:30px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:0 10px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--neutral-600);
  font-size:13px;
  font-weight:500;
  white-space:nowrap;
  cursor:pointer;
}

.ysa-nav-item:hover,
.ysa-nav-item.is-active{
  background:var(--neutral-100);
  color:var(--neutral-900);
}

.ysa-nav-item.is-active{
  font-weight:600;
}

.ysa-nav-item i:first-child{
  width:14px;
  text-align:center;
  opacity:.75;
}

.ysa-nav-chev{
  margin-left:-2px;
  font-size:10px;
  color:var(--neutral-500);
}

.ysa-more-wrap{
  position:relative;
  display:none;
}

.ysa-more-menu{
  position:absolute;
  top:36px;
  right:0;
  width:178px;
  padding:6px;
  border:1px solid var(--neutral-150);
  border-radius:10px;
  background:var(--neutral-0);
  box-shadow:0 12px 28px rgba(14,20,31,.12);
  display:none;
}

.ysa-more-wrap.is-open .ysa-more-menu{
  display:block;
}

.ysa-more-item{
  width:100%;
  height:32px;
  border:0;
  border-radius:7px;
  background:transparent;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 9px;
  color:var(--neutral-700);
  font-size:13px;
  font-weight:500;
  text-align:left;
  cursor:pointer;
}

.ysa-more-item:hover,
.ysa-more-item.is-active{
  background:var(--neutral-100);
  color:var(--neutral-900);
}

.ysa-shell-cmd{
  margin-left:auto;
  width:260px;
  min-width:150px;
  height:32px;
  padding:0 8px 0 10px;
  border:1px solid var(--neutral-150);
  border-radius:8px;
  background:var(--neutral-50);
  color:var(--neutral-500);
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12.5px;
  font-weight:450;
  overflow:hidden;
  cursor:text;
}

.ysa-shell-cmd:hover{
  background:var(--neutral-25);
  border-color:var(--neutral-200);
}

.ysa-shell-cmd > span:first-of-type{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.ysa-kbd{
  margin-left:auto;
  display:inline-flex;
  gap:2px;
  flex-shrink:0;
}

.ysa-kbd kbd{
  font-family:inherit;
  font-size:10.5px;
  font-weight:500;
  color:var(--neutral-500);
  background:var(--neutral-0);
  border:1px solid var(--neutral-200);
  border-radius:4px;
  padding:1px 5px;
  line-height:1.4;
}

.ysa-right-cluster{
  gap:6px;
  flex-shrink:0;
}

.ysa-shell-date{
  height:32px;
  display:flex;
  align-items:center;
}

.ysa-shell-date #time_selection_form{
  z-index:41 !important;
  height:32px !important;
  margin:0 !important;
  right:0 !important;
  padding:0 10px !important;
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  border:1px solid var(--neutral-200) !important;
  border-radius:8px !important;
  background:var(--neutral-0) !important;
  box-shadow:none !important;
}

.ysa-shell-date #time_selection_form strong{
  color:var(--neutral-500);
  font-size:13px;
}

.ysa-shell-date #datetimerange-selection{
  width:136px !important;
  height:28px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:var(--neutral-900) !important;
  font-size:12.5px !important;
  font-weight:500 !important;
  text-align:left !important;
}

.ysa-icon-btn{
  position:relative;
  width:32px;
  height:32px;
  border:1px solid transparent;
  border-radius:8px;
  display:grid;
  place-items:center;
  background:transparent;
  color:var(--neutral-700);
  cursor:pointer;
}

.ysa-icon-btn:hover{
  background:var(--neutral-100);
  color:var(--neutral-900);
}

.ysa-unread-dot{
  position:absolute;
  width:6px;
  height:6px;
  border-radius:50%;
  top:6px;
  right:6px;
  background:var(--brand-teal);
  border:1.5px solid var(--neutral-0);
}

.ysa-vsep{
  width:1px;
  height:18px;
  background:var(--neutral-200);
  margin:0 2px;
}

.ysa-user-chip{
  height:32px;
  padding:2px 8px 2px 3px;
  border:1px solid transparent;
  border-radius:999px;
  display:flex;
  align-items:center;
  gap:8px;
  background:transparent;
  cursor:pointer;
}

.ysa-user-chip:hover{
  background:var(--neutral-100);
}

.ysa-avatar{
  width:26px;
  height:26px;
  border-radius:50%;
  background:linear-gradient(135deg,#19B6A8,#5C7DD9);
  background-size:cover;
  background-position:center;
  color:#fff;
  font-size:10.5px;
  font-weight:600;
  display:grid;
  place-items:center;
}

.ysa-user-chip i{
  color:var(--neutral-500);
  font-size:10px;
}

.ysa-subnav{
  position:fixed;
  top:56px;
  left:0;
  right:0;
  height:44px;
  z-index:30;
  background:var(--neutral-0);
  border-bottom:1px solid var(--neutral-150);
}

.ysa-subnav-row{
  max-width:1640px;
  height:44px;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
}

.ysa-subnav-tabs{
  display:flex;
  align-items:center;
  min-width:0;
}

.ysa-subnav-tab{
  position:relative;
  height:44px;
  padding:0 14px;
  border:0;
  background:transparent;
  color:var(--neutral-500);
  font-size:13px;
  font-weight:500;
  white-space:nowrap;
  cursor:pointer;
}

.ysa-subnav-tab.is-hidden{
  display:none !important;
}

.ysa-subnav-tab:hover,
.ysa-subnav-tab.is-active{
  color:var(--neutral-900);
}

.ysa-subnav-tab.is-active{
  font-weight:600;
}

.ysa-subnav-tab.is-active:after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:-1px;
  height:2px;
  background:var(--neutral-900);
}

.ysa-subnav-spacer{
  flex:1;
}

.ysa-live-strip{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.ysa-live-pill{
  height:28px;
  display:inline-flex;
  align-items:stretch;
  border:1px solid var(--neutral-200);
  border-radius:8px;
  background:var(--neutral-0);
  overflow:hidden;
  color:var(--neutral-900);
  font-size:12px;
  font-variant-numeric:tabular-nums;
}

.ysa-live-pill .seg{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:0 10px;
}

.ysa-live-pill .seg + .seg{
  border-left:1px solid var(--neutral-150);
}

.ysa-live-pill .lbl{
  color:var(--neutral-500);
  font-weight:450;
}

.ysa-live-pill b{
  font-weight:600;
}

.dotpulse{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--brand-teal);
  position:relative;
}

.dotpulse:after{
  content:"";
  position:absolute;
  inset:-3px;
  border-radius:50%;
  border:1.5px solid var(--brand-teal);
  opacity:.35;
  animation:ysaPulse 1.8s ease-out infinite;
}

@keyframes ysaPulse{
  0%{transform:scale(.6); opacity:.55}
  100%{transform:scale(1.5); opacity:0}
}

.top_platform_bar.ysa-legacy-topbar,
#ysai-kpi-mini{
  display:none !important;
}

.ysa-mobile-tabbar{
  display:none;
}

.ysa-mobile-drawer{
  display:none;
}

.ysa-mobile-overlay-close{
  display:none;
}

@media (min-width:721px){
  .framework_menu_left,
  .framework_bar_left{
    display:none !important;
  }
}

.framework_main{
  left:0 !important;
  right:0 !important;
  top:100px !important;
  bottom:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  background:var(--neutral-50) !important;
  background-image:none !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
}

body.chat_open .framework_main{
  right:350px !important;
}

.loading{
  left:0 !important;
  top:100px !important;
  border-radius:0 !important;
  z-index:31 !important;
}

.ysa-insights-page{
  max-width:1640px;
  margin:0 auto 50px !important;
  padding:24px 24px 80px !important;
  width:auto !important;
  color:var(--neutral-900);
}

.ysa-page-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin:0 0 20px;
}

.ysa-page-title{
  margin:0;
  color:var(--neutral-900);
  font-size:22px !important;
  line-height:1.2;
  font-weight:650 !important;
}

.ysa-page-title span{
  color:var(--neutral-400);
  font-weight:500;
}

.ysa-page-sub,
.ysa-section-sub{
  margin-top:4px;
  color:var(--neutral-500);
  font-size:13px;
  line-height:1.4;
}

.ysa-page-actions{
  display:flex;
  gap:8px;
  flex-shrink:0;
}

.ysa-btn,
.ysa-section-link{
  height:32px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid var(--neutral-200);
  border-radius:8px;
  background:var(--neutral-0);
  color:var(--neutral-900);
  padding:0 12px;
  font-size:13px;
  font-weight:500;
  cursor:pointer;
}

.ysa-btn:hover,
.ysa-section-link:hover{
  background:var(--neutral-50);
}

.ysa-btn-primary{
  background:var(--neutral-900);
  border-color:var(--neutral-900);
  color:#fff;
}

.ysa-btn-primary:hover{
  background:var(--neutral-700);
}

#welcome_main.ysa-hero-shell{
  margin:0 0 36px !important;
  border-radius:14px !important;
  overflow:hidden !important;
  color:var(--neutral-900) !important;
}

#welcome.ysa-hero-card{
  position:relative !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 360px !important;
  gap:32px !important;
  align-items:start !important;
  padding:24px 28px !important;
  min-height:260px !important;
  border:1px solid var(--neutral-150) !important;
  border-radius:14px !important;
  background:var(--hero-gradient) !important;
  overflow:hidden !important;
  color:var(--neutral-900) !important;
}

#welcome.ysa-hero-card:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 220px at 0% 0%,rgba(255,255,255,.45),transparent 60%),
    radial-gradient(600px 200px at 100% 100%,rgba(255,255,255,.25),transparent 60%);
}

.ysa-hero-copy,
.ysa-hero-side{
  position:relative;
}

.ysa-hero-kicker{
  margin:0 0 8px;
  color:#3F4754;
  font-size:11px;
  font-weight:600;
  line-height:1.2;
  letter-spacing:.10em !important;
  text-transform:uppercase;
}

.ysa-hero-copy h2{
  margin:0 0 12px !important;
  color:var(--neutral-900) !important;
  font-size:22px !important;
  line-height:1.22;
  font-weight:600 !important;
}

.ysa-hero-copy p{
  max-width:780px;
  margin:0 0 14px !important;
  padding:0 !important;
  color:#1F2937;
  font-size:13.5px;
  line-height:1.6;
}

.ysa-hero-signoff{
  color:#1F2937;
  font-size:13px;
  line-height:1.55;
}

.ysa-hero-signoff strong{
  font-weight:700;
}

.ysa-hero-actions{
  display:flex;
  gap:8px;
  margin-top:18px;
}

.ysa-hero-primary,
.ysa-hero-secondary{
  height:34px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  border-radius:8px;
  padding:0 14px;
  font-size:13px;
  font-weight:500;
  cursor:pointer;
}

.ysa-hero-primary{
  background:var(--neutral-900);
  border:1px solid var(--neutral-900);
  color:#fff;
}

.ysa-hero-secondary{
  background:rgba(255,255,255,.55);
  border:1px solid rgba(14,20,31,.12);
  color:var(--neutral-900);
  backdrop-filter:blur(8px);
}

.ysa-hero-side{
  background:rgba(255,255,255,.55);
  border:1px solid rgba(255,255,255,.7);
  border-radius:10px;
  backdrop-filter:blur(10px);
  padding:14px 16px;
}

.ysa-hero-side h4{
  margin:0 0 10px;
  color:#3F4754;
  font-size:11px;
  font-weight:600;
  letter-spacing:.10em !important;
  text-transform:uppercase;
}

.ysa-mini-stat{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  padding:8px 0;
  border-top:1px solid rgba(14,20,31,.08);
  color:#3F4754;
  font-size:13px;
}

.ysa-mini-stat:first-of-type{
  border-top:0;
}

.ysa-mini-stat b{
  color:var(--neutral-900);
  font-weight:600;
  font-variant-numeric:tabular-nums;
}

.ysa-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin:36px 0 14px;
}

.ysa-section-head h2{
  margin:0 !important;
  color:var(--neutral-900) !important;
  font-size:15px !important;
  line-height:1.3;
  font-weight:600 !important;
}

.ysa-section-link{
  border-color:transparent;
  background:transparent;
  color:var(--neutral-700);
  padding:0;
}

.smart-analysis-wrap{
  margin:0 !important;
}

.smart-panel{
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.smart-rec-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:12px !important;
}

.smart-rec-card{
  position:relative;
  min-height:168px;
  padding:18px 18px 16px !important;
  border:1px solid var(--neutral-150) !important;
  border-radius:12px !important;
  background:var(--neutral-0) !important;
  box-shadow:none !important;
  transition:border-color .15s,box-shadow .15s;
  cursor:pointer;
}

.smart-rec-card:hover{
  border-color:var(--neutral-200) !important;
  box-shadow:0 1px 0 rgba(0,0,0,.02),0 6px 18px -10px rgba(0,0,0,.18) !important;
}

.smart-rec-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px;
}

.smart-rec-type{
  display:flex;
  align-items:center;
  gap:6px;
  margin:0 !important;
  color:var(--neutral-500) !important;
  font-size:10.5px !important;
  font-weight:600;
  letter-spacing:.10em !important;
  text-transform:uppercase;
}

.smart-rec-type span{
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--brand-teal);
}

.smart-rec-priority{
  border-radius:5px;
  background:var(--neutral-100);
  color:var(--neutral-700);
  padding:2px 7px;
  font-size:11px;
  font-weight:600;
}

.smart-rec-title{
  margin:0 0 6px !important;
  color:var(--neutral-900) !important;
  font-size:14.5px !important;
  line-height:1.3;
  font-weight:600 !important;
}

.smart-rec-why,
.smart-rec-action{
  margin:0 !important;
  color:var(--neutral-600) !important;
  font-size:12.5px !important;
  line-height:1.5;
  font-weight:450;
}

.smart-rec-action{
  margin-top:6px !important;
}

.smart-rec-meta{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid var(--neutral-100);
  color:var(--neutral-500);
  font-size:11.5px;
  font-variant-numeric:tabular-nums;
}

.smart-rec-meta b{
  margin-right:2px;
  color:var(--neutral-800);
  font-weight:600;
}

.smart-rec-arrow{
  position:absolute;
  top:18px;
  right:18px;
  opacity:0;
  color:var(--neutral-500);
  transform:translateX(-4px);
  transition:opacity .15s,transform .15s;
}

.smart-rec-card:hover .smart-rec-arrow{
  opacity:1;
  transform:translateX(0);
}

.smart-empty{
  border:1px solid var(--neutral-150) !important;
  border-radius:12px !important;
  background:var(--neutral-0) !important;
  color:var(--neutral-500) !important;
}

.ysa-account-card{
  overflow:hidden;
  border:1px solid var(--neutral-150);
  border-radius:12px;
  background:var(--neutral-0);
}

.ysa-account-row{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 18px;
  border-top:1px solid var(--neutral-100);
  font-size:13px;
  line-height:1.4;
}

.ysa-account-row:first-child{
  border-top:0;
}

.ysa-account-check{
  width:20px;
  height:20px;
  border-radius:6px;
  border:1.5px dashed var(--neutral-300);
  display:grid;
  place-items:center;
  flex-shrink:0;
  color:var(--brand-teal-ink);
  font-size:10px;
}

.ysa-account-row.done .ysa-account-check{
  border-style:solid;
  border-color:var(--brand-teal);
  background:rgba(25,182,168,.12);
}

.ysa-account-body{
  min-width:0;
  flex:1;
}

.ysa-account-title{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--neutral-900);
  font-weight:550;
}

.ysa-account-desc{
  margin-top:2px;
  color:var(--neutral-500);
  font-size:12px;
}

.ysa-account-pill{
  border-radius:5px;
  padding:3px 7px;
  font-size:10.5px;
  font-weight:600;
  letter-spacing:.06em !important;
  text-transform:uppercase;
  white-space:nowrap;
}

.ysa-account-pill.todo{
  background:#FFF1D6;
  color:#8A5A00;
}

.ysa-account-pill.req{
  background:#5A1F1C;
  color:#FFB8B3;
}

.ysa-account-pill.pending{
  background:var(--warn-bg);
  color:var(--warn-ink);
}

.ysa-account-pill.done{
  background:var(--neutral-100);
  color:var(--brand-teal-ink);
}

.ysa-account-action{
  height:28px;
  padding:0 10px;
  border:1px solid var(--neutral-200);
  border-radius:6px;
  background:var(--neutral-0);
  color:var(--neutral-900);
  font-size:12px;
  font-weight:500;
  white-space:nowrap;
  cursor:pointer;
}

.ysa-account-action:hover{
  background:var(--neutral-50);
}

.ysa-account-row.dark{
  background:var(--neutral-900);
  border-color:var(--neutral-900);
}

.ysa-account-row.dark .ysa-account-title{
  color:#fff;
}

.ysa-account-row.dark .ysa-account-desc{
  color:#9BA3B0;
}

.ysa-account-row.dark .ysa-account-check{
  border-color:rgba(255,255,255,.3);
  background:transparent;
  color:#9BE8DF;
}

.ysa-account-row.dark .ysa-account-action{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.15);
  color:#fff;
}

.ysa-account-row.warn{
  background:var(--warn-bg);
  border-color:var(--warn-line);
}

.ysa-account-row.warn .ysa-account-title{
  color:#5A4708;
}

.ysa-account-row.warn .ysa-account-desc{
  color:#7A6512;
}

.ysa-account-row.warn .ysa-account-check{
  border-color:#C9B560;
  color:#8A6E0D;
}

.ysa-stats-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}

.ysa-stat-card{
  min-height:148px;
  padding:16px 16px 14px;
  border:1px solid var(--neutral-150);
  border-radius:12px;
  background:var(--neutral-0);
  color:var(--neutral-900);
  display:flex;
  flex-direction:column;
  gap:6px;
  text-align:left;
  font-variant-numeric:tabular-nums;
}

.ysa-stat-button{
  cursor:pointer;
}

.ysa-stat-button:hover{
  border-color:var(--neutral-200);
  box-shadow:0 1px 0 rgba(0,0,0,.02),0 6px 18px -10px rgba(0,0,0,.18);
}

.ysa-stat-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.ysa-stat-label{
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--neutral-600);
  font-size:12px;
  line-height:1.2;
  font-weight:550;
}

.ysa-info-chip{
  width:13px;
  height:13px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--neutral-100);
  color:var(--neutral-500);
  font-size:9px;
  font-weight:600;
}

.ysa-star{
  color:#E0A82E;
  font-size:12px;
}

.ysa-delta{
  color:var(--positive);
  font-size:11.5px;
  line-height:1.2;
  font-weight:600;
  white-space:nowrap;
}

.ysa-delta.down{
  color:var(--negative);
}

.ysa-delta.zero{
  color:var(--neutral-500);
}

.ysa-stat-number{
  margin-top:6px;
  color:var(--neutral-900);
  font-size:28px;
  line-height:1.05;
  font-weight:650;
}

.ysa-stat-number span{
  color:var(--neutral-500);
  font-size:12px;
  font-weight:500;
}

.ysa-stat-desc{
  color:var(--neutral-500);
  font-size:11.5px;
  line-height:1.4;
}

.ysa-spark{
  width:100%;
  height:32px;
  margin-top:auto;
  padding-top:6px;
}

.ysa-command-popup #popup_content{
  max-width:560px;
  margin:80px auto 0;
}

.ysa-command-palette{
  border:1px solid var(--neutral-150);
  border-radius:14px;
  background:var(--neutral-0);
  box-shadow:0 24px 70px rgba(14,20,31,.20);
  overflow:hidden;
}

.ysa-command-head{
  height:52px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  border-bottom:1px solid var(--neutral-150);
  color:var(--neutral-500);
}

.ysa-command-head input{
  flex:1;
  height:40px;
  border:0 !important;
  background:transparent !important;
  color:var(--neutral-900) !important;
  font-size:14px !important;
  outline:0;
}

.ysa-command-kbd{
  border:1px solid var(--neutral-200);
  border-radius:5px;
  padding:2px 6px;
  color:var(--neutral-500);
  font-size:11px;
}

.ysa-command-list{
  padding:8px;
}

.ysa-command-list button{
  width:100%;
  height:38px;
  display:flex;
  align-items:center;
  gap:10px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--neutral-700);
  padding:0 10px;
  font-size:13px;
  font-weight:500;
  text-align:left;
  cursor:pointer;
}

.ysa-command-list button:hover{
  background:var(--neutral-100);
  color:var(--neutral-900);
}

@media (max-width:1280px){
  .ysa-shell-collapsible{
    display:none;
  }
  .ysa-more-wrap{
    display:block;
  }
  .ysa-shell-cmd{
    width:210px;
  }
}

@media (max-width:1120px){
  .ysa-shell-cmd{
    width:170px;
  }
  .ysa-kbd{
    display:none;
  }
  .ysa-shell-date #datetimerange-selection{
    width:118px !important;
  }
}

@media (max-width:900px){
  .ysa-subnav-tabs{
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .ysa-subnav-tabs::-webkit-scrollbar{
    display:none;
  }
  .ysa-subnav-spacer{
    min-width:16px;
  }
  .ysa-live-pill{
    flex-shrink:0;
  }
  #welcome.ysa-hero-card{
    grid-template-columns:1fr !important;
  }
  .smart-rec-grid,
  .ysa-stats-grid{
    grid-template-columns:1fr !important;
  }
}

@media (max-width:720px){
  body{
    padding-bottom:calc(64px + env(safe-area-inset-bottom,0px)) !important;
  }
  .ysa-topbar{
    height:calc(56px + env(safe-area-inset-top,0px));
  }
  .ysa-topbar-row{
    height:calc(56px + env(safe-area-inset-top,0px));
    padding:calc(8px + env(safe-area-inset-top,0px)) 12px 8px;
    gap:8px;
    max-width:none;
  }
  .ysa-shell-mobile-menu{
    display:grid;
    place-items:center;
    flex-shrink:0;
    width:40px;
    height:40px;
    border:0;
    border-radius:10px;
    background:transparent;
    font-size:17px;
  }
  .ysa-brand-name,
  .ysa-crumb-slash,
  .ysa-primary-nav,
  .ysa-help-btn,
  .ysa-vsep,
  .ysa-shell-date{
    display:none !important;
  }
  .ysa-brand-wrap{
    min-width:0;
    flex:1;
    gap:0;
  }
  .ysa-brand{
    display:none;
  }
  .ysa-workspace{
    flex:1;
    min-width:0;
    height:36px;
    padding:0 10px 0 4px;
    border-radius:10px;
  }
  .ysa-ws-mark{
    width:24px;
    height:24px;
    border-radius:6px;
    font-size:11px;
  }
  .ysa-ws-name{
    max-width:none;
    font-size:14px;
    font-weight:600;
  }
  .ysa-right-cluster{
    margin-left:auto;
    gap:2px;
  }
  .ysa-shell-cmd{
    width:40px;
    min-width:40px;
    height:40px;
    padding:0;
    border:0;
    border-radius:10px;
    background:transparent;
    color:var(--neutral-800);
    display:grid !important;
    place-items:center;
    cursor:pointer;
  }
  .ysa-shell-cmd span,
  .ysa-kbd{
    display:none !important;
  }
  .ysa-notification-btn{
    display:grid !important;
    width:40px;
    height:40px;
    border:0;
    border-radius:10px;
    font-size:16px;
  }
  .ysa-unread-dot{
    top:9px;
    right:10px;
    width:7px;
    height:7px;
  }
  .ysa-user-chip{
    width:36px;
    height:36px;
    padding:0;
    border-radius:50%;
    display:grid;
    place-items:center;
  }
  .ysa-user-chip i{
    display:none;
  }
  .ysa-avatar{
    width:30px;
    height:30px;
    font-size:11px;
  }
  .ysa-subnav{
    top:calc(56px + env(safe-area-inset-top,0px));
    height:89px;
    border-bottom:0;
  }
  .ysa-subnav-row{
    height:89px;
    max-width:none;
    padding:0;
    display:block;
  }
  .ysa-subnav-tabs{
    height:49px;
    padding:8px 12px;
    gap:4px;
    border-bottom:1px solid var(--neutral-150);
    background:var(--neutral-0);
  }
  .ysa-subnav-tab{
    height:32px;
    padding:0 12px;
    border:1px solid var(--neutral-150);
    border-radius:8px;
    background:var(--neutral-50);
    color:var(--neutral-600);
    font-size:13px;
    flex-shrink:0;
  }
  .ysa-subnav-tab.is-active{
    color:#fff;
    background:var(--neutral-900);
    border-color:var(--neutral-900);
    font-weight:600;
  }
  .ysa-subnav-tab.is-active:after{
    display:none;
  }
  .ysa-subnav-spacer{
    display:none;
  }
  .ysa-live-strip{
    height:40px;
    padding:0 16px;
    overflow-x:auto;
    overflow-y:hidden;
    border-bottom:1px solid var(--neutral-150);
    background:var(--neutral-0);
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .ysa-live-strip::-webkit-scrollbar{
    display:none;
  }
  .ysa-live-pill{
    height:40px;
    border:0;
    border-radius:0;
    overflow:visible;
    background:transparent;
    font-size:12px;
    flex-shrink:0;
  }
  .ysa-live-pill .seg{
    gap:6px;
    padding:0 10px;
  }
  .ysa-live-pill .seg:first-child{
    padding-left:0;
  }
  .ysa-live-pill .seg + .seg{
    border-left:1px solid var(--neutral-150);
  }
  .ysa-mobile-tabbar{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:35;
    height:calc(64px + env(safe-area-inset-bottom,0px));
    padding-bottom:env(safe-area-inset-bottom,0px);
    display:grid;
    grid-template-columns:repeat(5,1fr);
    align-items:center;
    background:rgba(255,255,255,.92);
    border-top:1px solid var(--neutral-150);
    backdrop-filter:saturate(180%) blur(12px);
    -webkit-backdrop-filter:saturate(180%) blur(12px);
  }
  .ysa-mobile-tab{
    min-width:0;
    height:64px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    border:0;
    background:transparent;
    color:var(--neutral-500);
    font-size:10.5px;
    font-weight:500;
  }
  .ysa-mobile-tab i{
    font-size:18px;
  }
  .ysa-mobile-tab.is-active{
    color:var(--neutral-900);
    font-weight:600;
  }
  .ysa-mobile-tab-fab i{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:var(--neutral-900);
    color:#fff;
    font-size:17px;
    box-shadow:0 6px 16px -6px rgba(14,20,31,.4),0 2px 4px rgba(14,20,31,.12);
  }
  .ysa-mobile-tab-fab span{
    display:none;
  }
  .ysa-mobile-overlay-close{
    display:none;
  }
  html.ysa_mobile_overlay_open .ysa-mobile-overlay-close{
    position:fixed;
    top:68px;
    right:18px;
    z-index:36;
    width:36px;
    height:36px;
    border:1px solid var(--neutral-150);
    border-radius:10px;
    background:var(--neutral-0);
    color:var(--neutral-900);
    display:grid;
    place-items:center;
    font-size:16px;
    box-shadow:0 8px 24px rgba(14,20,31,.10);
  }
  html.ysa_mobile_overlay_open .framework_main{
    left:10px !important;
    right:10px !important;
    top:60px !important;
    bottom:calc(64px + env(safe-area-inset-bottom,0px)) !important;
    z-index:34 !important;
    padding:18px 16px 80px !important;
    border:1px solid var(--neutral-150) !important;
    border-radius:16px 16px 0 0 !important;
    background:var(--neutral-50) !important;
    box-shadow:0 -8px 36px rgba(14,20,31,.16) !important;
    overflow:auto !important;
  }
  html.ysa_mobile_overlay_open .framework_main:before{
    content:"";
    position:sticky;
    top:0;
    display:block;
    width:36px;
    height:4px;
    margin:0 auto 14px;
    border-radius:999px;
    background:var(--neutral-200);
  }
  .ysa-mobile-drawer{
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    z-index:45;
    width:min(86vw,340px);
    display:flex;
    flex-direction:column;
    background:var(--neutral-0);
    border-right:1px solid var(--neutral-150);
    transform:translateX(-100%);
    transition:transform .22s cubic-bezier(.4,0,.2,1);
    padding-top:env(safe-area-inset-top,0px);
    padding-bottom:env(safe-area-inset-bottom,0px);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  html.menu_visible .ysa-mobile-drawer{
    transform:translateX(0);
  }
  .ysa-drawer-head{
    height:64px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:12px 20px;
    border-bottom:1px solid var(--neutral-150);
  }
  .ysa-drawer-brand{
    min-width:0;
    display:flex;
    align-items:center;
    gap:11px;
  }
  .ysa-drawer-brand-mark{
    width:30px;
    height:30px;
    border-radius:8px;
    background:var(--brand-teal);
    display:grid;
    place-items:center;
    flex-shrink:0;
  }
  .ysa-drawer-wordmark{
    min-width:0;
    color:var(--neutral-900);
    font-size:15px;
    line-height:1;
    font-weight:650;
    white-space:nowrap;
  }
  .ysa-drawer-wordmark span{
    color:var(--neutral-400);
    font-weight:550;
  }
  .ysa-drawer-close{
    width:36px;
    height:36px;
    border:0;
    border-radius:10px;
    background:transparent;
    color:var(--neutral-900);
    display:grid;
    place-items:center;
    font-size:20px;
  }
  .ysa-drawer-workspace{
    width:100%;
    min-height:82px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 20px;
    border:0;
    border-bottom:1px solid var(--neutral-150);
    background:var(--neutral-0);
    color:var(--neutral-900);
    text-align:left;
  }
  .ysa-drawer-ws-mark{
    width:46px;
    height:46px;
    border-radius:10px;
    background:linear-gradient(135deg,#1B2230,#2E3441);
    color:#fff;
    display:grid;
    place-items:center;
    flex-shrink:0;
    font-size:18px;
    font-weight:650;
  }
  .ysa-drawer-ws-text{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:4px;
    flex:1;
  }
  .ysa-drawer-ws-text strong{
    overflow:hidden;
    color:var(--neutral-900);
    font-size:15px;
    line-height:1.15;
    font-weight:650;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .ysa-drawer-ws-text em{
    color:var(--neutral-500);
    font-size:12px;
    line-height:1.2;
    font-style:normal;
    font-weight:450;
  }
  .ysa-drawer-workspace > i{
    flex-shrink:0;
    color:var(--neutral-400);
    font-size:14px;
  }
  .ysa-drawer-section{
    padding:16px 20px 2px;
  }
  .ysa-drawer-account{
    padding-top:20px;
  }
  .ysa-drawer-label{
    margin:0 0 8px 0;
    color:var(--neutral-400);
    font-size:10.5px;
    line-height:1;
    font-weight:650;
    letter-spacing:.12em !important;
    text-transform:uppercase;
  }
  .ysa-drawer-item{
    width:100%;
    min-height:42px;
    display:flex;
    align-items:center;
    gap:13px;
    border:0;
    border-radius:10px;
    background:transparent;
    color:var(--neutral-700);
    padding:0 10px;
    text-align:left;
    font-size:14px;
    line-height:1;
    font-weight:520;
  }
  .ysa-drawer-item + .ysa-drawer-item{
    margin-top:2px;
  }
  .ysa-drawer-item.is-active{
    background:var(--neutral-100);
    color:var(--neutral-900);
    font-weight:620;
  }
  .ysa-drawer-item i{
    width:20px;
    flex-shrink:0;
    color:currentColor;
    font-size:15px;
    text-align:center;
    opacity:.86;
  }
  .ysa-drawer-item span:not(.ysa-drawer-badge){
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .ysa-drawer-badge{
    margin-left:auto;
    min-width:24px;
    height:22px;
    display:grid;
    place-items:center;
    border-radius:7px;
    background:var(--neutral-100);
    color:var(--neutral-700);
    font-size:12px;
    font-weight:650;
    font-variant-numeric:tabular-nums;
  }
  .ysa-drawer-item.is-active .ysa-drawer-badge{
    background:var(--neutral-0);
  }
  .ysa-drawer-user{
    min-height:76px;
    margin-top:auto;
    padding:14px 20px;
    border-top:1px solid var(--neutral-150);
    display:flex;
    align-items:center;
    gap:12px;
  }
  .ysa-drawer-user-avatar{
    width:34px;
    height:34px;
    border-radius:50%;
    background:linear-gradient(135deg,#19B6A8,#5C7DD9);
    background-size:cover;
    background-position:center;
    color:#fff;
    display:grid;
    place-items:center;
    flex-shrink:0;
    font-size:12px;
    font-weight:650;
  }
  .ysa-drawer-user-text{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
  }
  .ysa-drawer-user-text strong{
    overflow:hidden;
    color:var(--neutral-900);
    font-size:14px;
    line-height:1.2;
    font-weight:650;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .ysa-drawer-user-text em{
    overflow:hidden;
    color:var(--neutral-500);
    font-size:12px;
    line-height:1.2;
    font-style:normal;
    font-weight:450;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .back{
    display:none;
  }
  html.menu_visible .back{
    display:block !important;
    position:fixed !important;
    inset:0 !important;
    z-index:44 !important;
    background:rgba(14,20,31,.40) !important;
  }
  .framework_bar_left{
    display:none !important;
  }
  .framework_menu_left{
    display:none !important;
  }
  .framework_main{
    top:calc(145px + env(safe-area-inset-top,0px)) !important;
    bottom:calc(64px + env(safe-area-inset-bottom,0px)) !important;
    right:0 !important;
    margin-top:0 !important;
    padding-top:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }
  .framework_main:not(.insights){
    padding-left:16px !important;
    padding-right:16px !important;
  }
  #framework_main:not(.insights) > p.info{
    margin:8px 0 18px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:var(--neutral-500) !important;
    line-height:1.35 !important;
  }
  .chat_container_right{
    display:none !important;
  }
  .loading{
    top:calc(145px + env(safe-area-inset-top,0px)) !important;
  }
  .ysa-insights-page{
    padding:20px 16px 32px !important;
  }
  .ysa-page-head,
  .ysa-section-head{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
    margin-bottom:18px;
  }
  .ysa-page-title{
    font-size:24px !important;
    position:static !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    width:auto !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  #framework_main .ysa-page-title{
    background:transparent !important;
    box-shadow:none !important;
  }
  .ysa-page-title span{
    display:none;
  }
  .ysa-page-actions,
  .ysa-section-link{
    display:none !important;
  }
  .ysa-section-head{
    margin-top:28px;
  }
  #welcome_main.ysa-hero-shell{
    margin-bottom:28px !important;
  }
  #welcome.ysa-hero-card{
    display:block !important;
    min-height:0 !important;
    padding:20px 18px !important;
  }
  .ysa-hero-side{
    display:none;
  }
  .ysa-hero-actions{
    flex-wrap:wrap;
    gap:8px;
    margin-top:16px;
  }
  .ysa-hero-primary,
  .ysa-hero-secondary{
    height:38px;
    border-radius:9px;
    font-size:13.5px;
  }
  .ysa-account-row{
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
    padding:14px 16px;
  }
  .ysa-account-check{
    margin-top:1px;
  }
  .ysa-account-body{
    width:100%;
  }
  .ysa-account-title{
    flex-wrap:wrap;
  }
  .ysa-account-action{
    align-self:flex-start;
    height:34px;
    padding:0 14px;
    border-radius:8px;
    margin-left:34px;
  }
  .ysa-stats-grid{
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
  }
  .ysa-stat-card{
    min-height:0 !important;
    padding:14px !important;
  }
  .ysa-stat-card:nth-child(n+5){
    display:none !important;
  }
  .ysa-stat-value{
    font-size:24px !important;
  }
  .ysa-stat-spark{
    display:none;
  }
  .smart-rec-grid{
    grid-template-columns:1fr !important;
    gap:10px !important;
  }
  .smart-rec-card{
    min-height:0 !important;
    padding:16px !important;
  }
  .smart-rec-arrow{
    display:none;
  }
  .smart-rec-meta{
    gap:10px;
    flex-wrap:wrap;
  }
}
