.wrapper { height:100dvh; }
.platform-bar {
  display:flex; align-items:center; gap:12px; flex:0 0 auto;
  min-width:0; min-height:52px; padding:4px 10px;
  background:#f7f9fb; border-bottom:1px solid #d7dee8;
}
.platform-bar .tab-bar {
  flex:1 1 auto; min-width:0; height:42px; padding:0;
  border:0; box-shadow:none; background:none; gap:4px;
}
.platform-bar .tab-button {
  flex:0 0 auto; height:34px; padding:0 10px;
  border-radius:5px; font-size:13px;
}
.portal-tools { display:flex; align-items:center; gap:14px; flex:0 0 auto; min-width:0; }
.platform-bar .platform-title {
  display:flex; margin:0; padding:0; border:0; gap:7px;
  min-height:0; max-width:310px; color:#244049;
}
.platform-bar .agency-logo { width:32px; height:32px; flex:0 0 32px; }
.platform-bar .agency-heading { gap:1px; white-space:normal; }
.platform-bar .agency-heading strong { font-size:12px; line-height:1.25; }
.platform-bar .agency-heading span { font-size:11px; line-height:1.25; }
.public-page-link {
  display:flex; align-items:center; min-height:36px; max-width:90px;
  color:#17657a; font-size:12px; font-weight:600; line-height:1.3;
  text-decoration:underline; text-underline-offset:3px;
}
.public-page-link:hover { color:#124c5b; }
.public-page-link:focus-visible { outline:2px solid #166c98; outline-offset:3px; }
@media(min-width:1101px) and (max-width:1600px) {
  .platform-bar .platform-title { max-width:280px; }
  .platform-bar .tab-button { font-size:12px; padding:0 8px; }
  .public-page-link { max-width:78px; }
}
@media(max-width:1100px) {
  .platform-bar { gap:8px; padding:4px 7px; }
  .portal-tools { gap:10px; }
  .platform-bar .platform-title { max-width:255px; }
}
@media(max-width:760px) {
  .platform-bar { gap:7px; min-height:50px; padding:3px 6px; }
  .platform-bar .tab-bar { display:flex; height:44px; gap:4px; padding:0; overflow-x:auto; overflow-y:hidden; white-space:normal; }
  .platform-bar .tab-button { width:auto; min-width:max-content; height:36px; padding:0 8px; font-size:12px; white-space:nowrap; }
  .portal-tools { gap:8px; }
  .platform-bar .platform-title { max-width:none; gap:4px; }
  .platform-bar .agency-logo { width:24px; height:24px; flex-basis:24px; }
  .platform-bar .agency-heading strong { font-size:11px; white-space:nowrap; }
  .platform-bar .agency-heading span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .public-page-link { max-width:54px; font-size:11px; min-height:36px; }
  .public-platform-bar .tab-bar { display:grid; grid-template-columns:1.15fr 1.25fr .85fr; gap:3px; overflow:visible; }
  .public-platform-bar .tab-button { width:100%; min-width:0; height:44px; padding:2px 4px; font-size:11px; line-height:1.2; white-space:normal; overflow-wrap:break-word; }
}
