/* Staff workspace only. The public landing and member area keep their layouts. */
.staff-page{background:#f5f7fb}
.staff-page>.site-header,.staff-page>.site-footer,.staff-page>.skip-link{display:none}
.staff-page #main{min-height:100vh;min-height:100dvh}
.staff-frame{--sidebar-width:248px;--sidebar-bg:#14263f;min-height:100vh;min-height:100dvh}
.staff-sidebar,.staff-drawer{background:var(--sidebar-bg);color:#e8effb}
.staff-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);z-index:30;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain}
.staff-sidebar-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:100px;padding:27px 23px;border-bottom:1px solid #ffffff0d}
.staff-sidebar-brand .brand{font-size:22px;color:#fff;letter-spacing:-.045em;gap:11px}
.staff-sidebar-brand .brand-mark{width:35px;height:35px;border-radius:11px;background:#3267ed;box-shadow:0 4px 15px #00000012;flex-shrink:0}
.staff-sidebar-brand small{display:block;color:#9babca;font-size:8px;letter-spacing:.15em;font-weight:500;margin-top:3px}
.staff-sidebar-menu{padding:29px 15px;flex:1}
.staff-menu-label{color:#8296b5;font-size:9px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;margin:0 14px 15px}
.staff-nav{display:flex;flex-direction:column;align-items:stretch;gap:7px;font-size:13px;font-weight:500}
.staff-nav a{display:flex;align-items:center;gap:13px;padding:13px 15px;min-height:46px;border-radius:9px;color:#b6c5de;transition:background .15s,color .15s;text-decoration:none;position:relative}
.staff-nav a>.icon{width:19px;height:19px;color:#8da4c8;stroke-width:1.7}
.staff-nav a:hover{background:#203753;color:#fff}
.staff-nav a.active{background:#2e63e9;color:#fff;font-weight:600;box-shadow:0 5px 16px #08172b28}
.staff-nav a.active>.icon{color:#fff}
.staff-nav a.active:after{content:'';width:5px;height:5px;border-radius:50%;background:#baceff;margin-left:auto;flex-shrink:0}
.staff-sidebar-bottom{padding:15px;border-top:1px solid #ffffff0d}
.staff-site-link{display:flex;align-items:center;gap:11px;padding:12px 14px;margin-bottom:19px;border:1px solid #ffffff14;border-radius:9px;font-size:12px;color:#c3d0e5}
.staff-site-link:hover{background:#203753;color:#fff;text-decoration:none}
.staff-site-link>.icon:last-child{margin-left:auto;color:#7c94b9}
.staff-user{display:flex;align-items:center;gap:10px;padding:0 2px 4px}
.staff-avatar{width:35px;height:35px;background:#2a405e;color:#e3edff;border:1px solid #ffffff12;border-radius:10px;display:grid;place-items:center;font-size:12px;font-weight:700;flex-shrink:0}
.staff-user-info{min-width:0;flex:1}
.staff-user-info strong,.staff-user-info>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.staff-user-info strong{font-size:12px;font-weight:600;color:#e8eef8}
.staff-user-info>span{font-size:10px;color:#8fa4c3;margin-top:2px}
.staff-user>.icon-button{color:#8fa4c3;flex-shrink:0;width:30px}
.staff-user>.icon-button:hover,.staff-close-menu:hover{background:#29415f;color:#fff}
.staff-workspace{margin-left:var(--sidebar-width);min-width:0;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.staff-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:73px;padding:16px 34px;background:#fff;border-bottom:1px solid #e6ebf2;position:sticky;top:0;z-index:10}
.staff-topbar-location{display:flex;align-items:center;gap:15px;min-width:0;font-size:12px}
.staff-breadcrumb-parent{color:#8b98ad}
.staff-breadcrumb-divider{color:#c7cfdd}
.staff-current-page{color:#35465f;font-weight:600}
.staff-role{display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:600;color:#617695;background:#f6f8fc;border:1px solid #e7edf5;border-radius:7px;padding:6px 10px;white-space:nowrap}
.staff-role>.icon{color:#7891b4}
.staff-content{padding:32px 34px 36px;width:100%;max-width:1430px;margin:0 auto;flex:1;min-width:0;outline:none}
.staff-content .page-header{margin-bottom:28px}
.staff-content .page-header h1{font-size:28px;margin-bottom:8px}
.staff-content .page-header p{color:#7a889c;font-size:12px}
.staff-content .page-header .eyebrow{font-size:9px;letter-spacing:.15em}
.staff-content .page-header>.btn{flex-shrink:0}
.staff-content .metrics{gap:17px;margin-bottom:24px}
.staff-content .metric{padding:22px;border-color:#e6ebf2;box-shadow:0 3px 9px #142b4503;border-radius:12px}
.staff-content .metric-top>.icon{color:#5d83cf;background:#f0f5ff;padding:7px;width:34px;height:34px;border-radius:9px}
.staff-content .metric .number{font-size:30px;margin-top:9px}
.staff-content .metric .label{font-size:11px;color:#7a8ba2}
.staff-content .grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.staff-content .grid-two>*,.staff-content .grid-main-aside>*{min-width:0}
.staff-content .panel{border-color:#e6ebf2;box-shadow:0 3px 10px #142b4503;border-radius:12px}
.staff-content .panel-title h2{font-size:17px}
.staff-content .table-wrap{max-width:100%}
.staff-content .detail-heading h1,.staff-content .case-head h3{overflow-wrap:anywhere}
.staff-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 34px;border-top:1px solid #e6ebf2;color:#8a98ac;font-size:10px}
.staff-menu-toggle{display:none}
.staff-drawer{--sidebar-bg:#14263f;padding:0;margin:0;border:0;border-radius:0;width:288px;max-width:calc(100% - 38px);height:100vh;height:100dvh;max-height:none;overflow-y:auto;overscroll-behavior:contain;box-shadow:12px 0 40px #07152840}
.staff-drawer[open]{display:flex;flex-direction:column}
.staff-drawer::backdrop{background:#0c203964;backdrop-filter:blur(3px)}
.staff-drawer .staff-sidebar-brand{padding:25px 20px;min-height:96px}
.staff-close-menu{color:#a8bad3;flex-shrink:0}
.staff-menu-open{overflow:hidden}
.search-trends{padding:25px;margin-bottom:24px}
.trends-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}
.trends-heading .eyebrow{font-size:9px;letter-spacing:.13em}
.trends-heading h2{font-size:19px;letter-spacing:-.035em;margin:6px 0 7px}
.trends-heading p{font-size:12px;color:#8190a5;line-height:1.8}
.trends-period{display:flex;gap:3px;padding:4px;border:1px solid #e7edf5;border-radius:9px;background:#f7f9fd;flex-shrink:0}
.trends-period button{border:0;border-radius:6px;background:transparent;color:#7b8ca4;font-size:11px;font-weight:600;padding:7px 12px;white-space:nowrap}
.trends-period button[aria-pressed="true"]{background:white;color:#3267e3;box-shadow:0 1px 5px #233e6112}
.trends-summary{display:flex;align-items:center;gap:30px;margin-bottom:22px}
.trends-summary>div{display:flex;align-items:baseline;gap:9px}
.trends-summary strong{font-family:'Manrope',sans-serif;font-size:27px;letter-spacing:-.06em;line-height:1.2}
.trends-summary span{font-size:11px;color:#8392a6}
.trends-summary>p{font-size:11px;color:#61728a;text-align:right;margin-left:auto;line-height:1.8}
.trends-summary>p>span{font-size:10px;color:#99a5b7}
.trends-legend{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 21px}
.trends-legend button{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;padding:6px 10px;border:1px solid #e7edf5;border-radius:7px;background:#fff;font-size:11px;color:#536780}
.trends-legend button:hover{background:#f7f9fc;border-color:#d0def3}
.trends-legend button[aria-pressed="false"]{opacity:.45;background:#f4f6fa}
.trends-legend button[aria-pressed="false"] .trends-brand{text-decoration:line-through}
.trends-swatch{width:17px;border-top:3px solid var(--series-color);border-radius:3px;flex-shrink:0}
.trends-swatch.dashed{border-top-style:dashed}
.trends-brand{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trends-brand-count{font-size:10px;background:#f4f7fb;border-radius:4px;padding:1px 5px;color:#8c9ab0}
.trends-axis-caption{color:#93a0b4;font-size:10px;margin-bottom:4px}
.trends-plot{position:relative;min-width:0;border-radius:8px;outline-offset:4px}
.trends-svg svg{display:block;overflow:visible}
.trends-gridline{stroke:#edf1f7;stroke-width:1;stroke-dasharray:4 5}
.trends-axis-text{fill:#93a0b4;font-size:10px;font-family:'DM Sans',system-ui,sans-serif}
.trends-tooltip{position:absolute;top:12px;z-index:2;padding:13px 14px;border:1px solid #e5ebf4;border-radius:10px;background:#fffffffa;box-shadow:0 8px 25px #182d4b1a;pointer-events:none;font-size:11px}
.trends-tooltip>strong{display:block;color:#354a67;margin-bottom:10px;font-size:11px}
.trends-tooltip>div{display:flex;align-items:center;gap:7px;margin:7px 0;color:#697d97}
.trends-tooltip-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}
.trends-tooltip>div>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trends-tooltip b{margin-left:auto;color:#3b506f;font-size:11px}
.trends-footnote{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #edf1f7;margin-top:16px;padding-top:14px;font-size:10px;color:#93a0b4;line-height:1.7}
.trends-footnote>span:last-child{text-align:right}
.trends-loading,.trends-empty{min-height:295px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;color:#8190a5;font-size:12px;text-align:center}
.trends-empty>.icon{width:36px;height:36px;color:#8ca8d5;margin-bottom:4px}
.trends-empty h3{font-size:16px;color:#607594}
.trends-empty p{max-width:350px}
.trends-empty>span{font-size:10px;color:#96a4b7}
.trends-hidden-message{position:absolute;inset:75px 10px auto;text-align:center;background:#fffffff2;color:#8696ac;font-size:12px;padding:14px;border-radius:8px;pointer-events:none}
.trends-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:720px){
  .trends-heading{flex-direction:column;gap:15px;margin-bottom:22px}
  .trends-heading h2{font-size:17px}
  .trends-heading p{font-size:11px}
  .trends-summary{flex-wrap:wrap;gap:13px 23px;margin-bottom:18px}
  .trends-summary>div{flex-direction:column;align-items:flex-start;gap:4px}
  .trends-summary strong{font-size:25px}
  .trends-summary>p{margin-left:0;width:100%;text-align:left;font-size:10px}
  .trends-summary>p>br{display:none}
  .trends-summary>p>span{margin-left:6px}
  .trends-legend{gap:6px}
  .trends-legend button{font-size:10px;padding:6px 8px}
  .trends-brand{max-width:150px}
  .trends-footnote{flex-direction:column;align-items:flex-start;gap:5px}
  .trends-footnote>span:last-child{text-align:left}
}
@media(min-width:1025px) and (max-width:1200px){
  .staff-frame{--sidebar-width:228px}
  .staff-sidebar-brand{padding-left:19px;padding-right:19px}
  .staff-topbar,.staff-content,.staff-footer{padding-left:25px;padding-right:25px}
  .staff-content .grid-main-aside{grid-template-columns:minmax(0,1fr)}
  .staff-content .grid-two{grid-template-columns:minmax(0,1fr)}
  .staff-content .metrics{gap:11px}
  .staff-content .metric{padding:16px}
}
@media(max-width:1024px){
  .staff-sidebar{display:none}
  .staff-workspace{margin-left:0}
  .staff-menu-toggle{display:grid;border:1px solid #e3e9f2;background:#fff;color:#4c6384;width:37px;height:37px}
  .staff-topbar{min-height:69px;padding:14px 25px}
  .staff-topbar-location{gap:12px}
  .staff-content{padding:28px 25px 32px}
  .staff-footer{padding:18px 25px}
}
@media(max-width:720px){
  .staff-topbar{padding:13px 18px;gap:10px;min-height:65px}
  .staff-breadcrumb-parent,.staff-breadcrumb-divider{display:none}
  .staff-topbar-location{gap:10px;font-size:12px}
  .staff-role{font-size:9px;padding:5px 8px}
  .staff-content{padding:25px 18px 28px}
  .staff-content .page-header{flex-wrap:wrap;gap:17px;margin-bottom:23px}
  .staff-content .page-header h1{font-size:24px}
  .staff-content .page-header p{line-height:1.8}
  .staff-content .metrics{gap:12px;margin-bottom:21px}
  .staff-content .metric{padding:16px}
  .staff-content .metric .label{font-size:10px}
  .staff-content .metric .number{font-size:27px}
  .staff-content .metric-top{align-items:flex-start;gap:6px}
  .staff-content .metric-top>.icon{width:28px;height:28px;padding:6px}
  .staff-content .grid-two{grid-template-columns:minmax(0,1fr);gap:0}
  .staff-content .panel-title h2{font-size:16px}
  .staff-content .detail-heading{gap:12px;flex-wrap:wrap}
  .staff-footer{padding:18px;font-size:9px}
}
