/* Final responsive header fix — visual only; business logic unchanged. */
@media (max-width: 1180px) {
  .main > .header { display:flex; flex-direction:column; align-items:stretch; gap:16px; }
  .main > .header .header-left { display:flex; align-items:center; width:100%; min-width:0; gap:14px; }
  .main > .header .header-left > div { min-width:0; flex:1; }
  .main > .header .header-left h1 { overflow-wrap:normal; word-break:normal; white-space:normal; font-size:clamp(25px,4vw,34px); line-height:1.2; }
  .main > .header .header-left .eyebrow { letter-spacing:1.3px; line-height:1.5; }
  .main > .header .header-left p { max-width:40rem; }
  .main > .header .header-tools { display:grid; width:100%; grid-template-columns:52px minmax(0,1fr) max-content; gap:10px; align-items:center; }
  .main > .header .header-tools > .profile-entry { grid-column:1!important; grid-row:1; justify-self:start!important; margin:0; }
  .main > .header .header-tools > .date-selector { grid-column:2!important; grid-row:1; width:100%; min-width:0; }
  .main > .header .header-tools > #saveTop { grid-column:3!important; grid-row:1; min-width:126px; min-height:52px; }
  .main > .header .date-trigger { width:100%; min-width:0; }
}
@media (max-width: 560px) {
  .main > .header { gap:14px; }
  .main > .header .header-left { align-items:flex-start; }
  .main > .header .header-left h1 { font-size:clamp(23px,6vw,29px); }
  .main > .header .header-tools { grid-template-columns:48px minmax(0,1fr); gap:9px; }
  .main > .header .header-tools > .profile-entry { grid-column:1!important; grid-row:1; align-self:center; }
  .main > .header .header-tools > .date-selector { grid-column:2!important; grid-row:1; }
  .main > .header .header-tools > #saveTop { grid-column:1 / -1!important; grid-row:2; width:100%; min-height:45px; }
  .main > .header .date-trigger { min-height:50px; padding:7px 10px; gap:8px; }
  .main > .header .date-trigger-label strong { font-size:13px; }
}
@media (max-width: 360px) {
  .main > .header .header-left h1 { font-size:22px; }
  .main > .header .date-trigger-icon { width:30px; height:30px; }
  .main > .header .date-trigger-label small { font-size:8px; }
}
