/* Dashboard header refinement — presentation only. */
body.dashboard-premium main>header{
  position:sticky;
  top:0;
  z-index:80;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:96px;
  padding:22px 30px;
  border-bottom:1px solid rgba(226,232,240,.9);
  background:rgba(255,255,255,.98);
  box-shadow:none;
  backdrop-filter:blur(8px);
}
body.dashboard-premium main>header>div:first-child{min-width:0}
body.dashboard-premium main>header h1{
  margin:0;
  color:#0a1f44;
  font-size:31px;
  font-weight:700;
  line-height:1.15;
  letter-spacing:-.035em;
}
body.dashboard-premium main>header p{
  margin:6px 0 0;
  color:#64748b;
  font-size:14px;
  font-weight:400;
}
body.dashboard-premium main>header>div:last-child{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  min-width:0;
}
body.dashboard-premium main>header button,
body.dashboard-premium main>header select{
  height:48px;
  min-height:48px;
  border-radius:12px;
  font-size:14px;
  line-height:1;
}
body.dashboard-premium main>header select{
  width:auto;
  min-width:280px;
  max-width:340px;
  padding:0 42px 0 15px;
  overflow:hidden;
  color:#334155;
  font-weight:600;
  text-overflow:ellipsis;
  white-space:nowrap;
  border:1px solid #e2e8f0;
  background-color:#fff;
  box-shadow:0 1px 2px rgba(15,23,42,.04);
}
body.dashboard-premium main>header select:hover{border-color:#cbd5e1}
body.dashboard-premium main>header select:focus{
  border-color:#3b82f6;
  outline:0;
  box-shadow:0 0 0 3px rgba(59,130,246,.13);
}
body.dashboard-premium main>header [data-logout]{
  padding:0 15px;
  color:#64748b;
  background:transparent;
  box-shadow:none;
}
body.dashboard-premium main>header [data-logout]:hover{
  color:#0f172a;
  background:#f1f5f9;
}
body.dashboard-premium main>header [data-new]{
  padding:0 20px;
  background:#3563e9;
  box-shadow:0 7px 18px rgba(53,99,233,.2);
}
body.dashboard-premium main>header [data-new]:hover{
  background:#2f57d5;
  box-shadow:0 9px 22px rgba(53,99,233,.25);
}
body.dashboard-premium .dashboard-refresh-box{
  position:relative;
  display:flex;
  align-items:center;
  gap:0;
  margin:0;
}
body.dashboard-premium .dashboard-refresh-box button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 15px;
  color:#334155;
  border:1px solid #e2e8f0;
  background:#fff;
  box-shadow:0 1px 2px rgba(15,23,42,.04);
}
body.dashboard-premium .dashboard-refresh-box button:hover{
  color:#0a1f44;
  border-color:#cbd5e1;
  background:#f8fafc;
}
body.dashboard-premium .dashboard-refresh-box small{
  position:absolute;
  top:calc(100% + 3px);
  left:2px;
  color:#94a3b8;
  font-size:9px;
  white-space:nowrap;
}
body.dashboard-premium .dashboard-refresh-spinner{width:15px;height:15px}

@media(max-width:1080px){
  body.dashboard-premium main>header{align-items:flex-start;flex-wrap:wrap}
  body.dashboard-premium main>header>div:last-child{
    width:100%;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
}
@media(max-width:650px){
  body.dashboard-premium main>header{
    align-items:stretch;
    flex-direction:column;
    gap:16px;
    min-height:0;
    padding:17px 14px 18px 62px;
  }
  body.dashboard-premium main>header h1{font-size:27px}
  body.dashboard-premium main>header>div:last-child{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  body.dashboard-premium main>header select{
    grid-column:1/-1;
    grid-row:1;
    width:100%;
    min-width:0;
    max-width:none;
  }
  body.dashboard-premium main>header [data-new]{
    grid-column:1/-1;
    grid-row:2;
    width:100%;
  }
  body.dashboard-premium .dashboard-refresh-box{
    grid-column:1;
    grid-row:3;
    width:100%;
  }
  body.dashboard-premium .dashboard-refresh-box button,
  body.dashboard-premium main>header [data-logout]{width:100%}
  body.dashboard-premium main>header [data-logout]{grid-column:2;grid-row:3}
  body.dashboard-premium .dashboard-refresh-box small{display:none}
}
