
      *, *::before, *::after { box-sizing: border-box; }
      body {
        margin: 0;
        overflow-x: hidden;
        background: #f9f7f3;
        color: #2B3644;
        font-family: "Inter", "Roboto", "Segoe UI", sans-serif;
        -webkit-font-smoothing: antialiased;
      }
      :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible {
        outline: 2px solid #2B3644;
        outline-offset: 2px;
        box-shadow: 0 0 0 3px rgba(133,187,218,.48);
      }
      .agent-skip-link {
        position: fixed;
        top: 8px;
        left: 8px;
        z-index: 1000;
        padding: 10px 14px;
        border-radius: 9px;
        background: #2B3644;
        color: #fff;
        font: 700 13px "Montserrat", sans-serif;
        text-decoration: none;
        transform: translateY(-150%);
        transition: transform 120ms ease;
      }
      .agent-skip-link:focus { transform: translateY(0); }
      #agent-main-content { scroll-margin-top: 126px; }
      .topbar {
        padding: 0;
        border-bottom: 1px solid rgba(43, 54, 68, 0.10);
        background: #ffffff;
        position: sticky;
        top: 0;
        z-index: 50;
        box-shadow: 0 6px 20px rgba(43, 54, 68, 0.05);
      }
      .topbar-inner {
        width: 100%;
        max-width: 1320px;
        margin: 0 auto;
        min-height: 64px;
        padding: 10px 24px;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 22px;
      }
      .topbar-shell {
        width: 100%;
      }
      .agent-mobile-control {
        display: none;
        min-width: 0;
      }
      .agent-mobile-menu {
        position: relative;
      }
      .agent-mobile-menu > summary {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 0 13px;
        border: 1px solid rgba(43, 54, 68, 0.14);
        border-radius: 10px;
        background: #fff;
        color: #2B3644;
        cursor: pointer;
        font: 800 12px/1 "Montserrat", sans-serif;
        list-style: none;
      }
      .agent-mobile-menu > summary::-webkit-details-marker { display: none; }
      .agent-mobile-menu > summary::after {
        content: "";
        width: 7px;
        height: 7px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-2px);
      }
      .agent-mobile-menu[open] > summary::after {
        transform: rotate(225deg) translate(-1px, -1px);
      }
      .agent-mobile-menu-panel {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        z-index: 110;
        width: min(330px, calc(100vw - 32px));
        max-height: min(70vh, 620px);
        overflow-y: auto;
        padding: 8px;
        border: 1px solid rgba(43, 54, 68, 0.14);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 18px 48px rgba(43, 54, 68, 0.18);
      }
      .agent-mobile-menu:not([open]) > .agent-mobile-menu-panel { display: none; }
      .agent-mobile-menu-group {
        display: grid;
        gap: 3px;
      }
      .agent-mobile-menu-group + .agent-mobile-menu-group {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(43, 54, 68, 0.08);
      }
      .agent-mobile-menu-label {
        padding: 7px 10px 4px;
        color: rgba(43, 54, 68, 0.54);
        font: 800 10px/1.2 "Montserrat", sans-serif;
        letter-spacing: .08em;
        text-transform: uppercase;
      }
      .agent-mobile-menu-link {
        display: flex;
        align-items: center;
        min-height: 42px;
        padding: 9px 11px;
        border-radius: 9px;
        color: #2B3644;
        font: 700 13px/1.35 "Montserrat", sans-serif;
        text-decoration: none;
      }
      .agent-mobile-menu-link:hover { background: rgba(43, 54, 68, 0.05); }
      .agent-mobile-menu-link.active {
        background: rgba(133, 187, 218, 0.22);
        box-shadow: inset 3px 0 0 #5E9FC4;
      }
      .brandmark {
        display: inline-flex;
        align-items: center;
        gap: 0;
        font-family: "Montserrat", sans-serif;
        font-weight: 900;
        font-size: 25px;
        line-height: 1;
        letter-spacing: -0.03em;
        color: #2B3644;
        text-decoration: none;
      }
      .brandmark .dot {
        color: #85BBDA;
      }
      .top-actions {
        display: flex;
        align-items: center;
        gap: 4px;
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
      }
      .top-actions::-webkit-scrollbar { display: none; }
      .top-actions--secondary {
        gap: 4px;
      }
      .top-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: 0 12px;
        border-radius: 9px;
        background: transparent;
        border: 1px solid transparent;
        color: #2B3644;
        font-family: "Montserrat", sans-serif;
        font-weight: 700;
        font-size: 12px;
        white-space: nowrap;
        text-decoration: none;
        transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
      }
      .top-link:hover {
        background: rgba(43, 54, 68, 0.06);
        border-color: rgba(43, 54, 68, 0.08);
      }
      .top-link.active {
        background: #2B3644;
        border-color: #2B3644;
        color: #fff;
        box-shadow: none;
      }
      .top-link--secondary {
        min-height: 32px;
        padding: 0 11px;
        background: transparent;
        border-color: transparent;
        font-size: 12px;
      }
      .top-link--secondary.active {
        background: rgba(133, 187, 218, 0.22);
        border-color: rgba(133, 187, 218, 0.52);
        color: #2B3644;
        box-shadow: inset 0 -2px 0 #85BBDA;
      }
      .topbar-divider {
        height: 1px;
        background: rgba(43, 54, 68, 0.08);
      }
      .topbar-section-band {
        width: 100%;
        background: #f9f7f3;
      }
      .topbar-section-row {
        width: 100%;
        max-width: 1320px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 48px;
        padding: 7px 24px;
        overflow-x: auto;
        scrollbar-width: none;
      }
      .topbar-section-row::-webkit-scrollbar { display:none; }
      @media (min-width: 769px) and (max-width: 1320px) {
        .topbar-section-row--hr {
          gap: 8px;
          padding-inline: 18px;
        }
        .topbar-section-row--hr .top-actions--secondary { gap: 1px; }
        .topbar-section-row--hr .top-link--secondary {
          padding-inline: 7px;
          font-size: 11px;
        }
      }
      .topbar-section-label {
        font-family: "Montserrat", sans-serif;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(43, 54, 68, 0.48);
        white-space: nowrap;
      }
      /* User chip + dropdown */
      .user-chip {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 0 10px 0 5px;
        min-height: 38px;
        border-radius: 10px;
        background: #fff;
        border: 1px solid rgba(43, 54, 68, 0.12);
        font-family: "Montserrat", sans-serif;
        font-weight: 700;
        font-size: 13px;
        color: #2B3644;
        cursor: pointer;
        user-select: none;
        transition: border-color 120ms ease, box-shadow 120ms ease;
        justify-self: end;
        width: max-content;
      }
      .user-chip > summary {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        list-style: none;
        outline: none;
      }
      .user-chip > summary::-webkit-details-marker { display: none; }
      .user-chip:hover {
        border-color: rgba(43, 54, 68, 0.22);
        box-shadow: 0 4px 12px rgba(43, 54, 68, 0.08);
      }
      .user-chip-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #85BBDA;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        color: #fff;
        font-weight: 900;
        flex-shrink: 0;
        overflow: hidden;
      }
      .user-chip-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
      .user-chip-caret {
        font-size: 9px;
        color: rgba(43,54,68,0.4);
        margin-left: 2px;
      }
      .user-dropdown {
        display: none;
        position: absolute;
        top: calc(100% + 6px);
        right: 0;
        min-width: 220px;
        background: #fff;
        border: 1px solid rgba(43, 54, 68, 0.12);
        border-radius: 14px;
        box-shadow: 0 16px 40px rgba(43, 54, 68, 0.14);
        padding: 6px;
        z-index: 100;
      }
      .user-chip[open] .user-dropdown {
        display: block;
      }
      .user-dropdown-profile {
        padding: 10px 14px 10px;
        border-bottom: 1px solid rgba(43,54,68,0.07);
        margin-bottom: 4px;
      }
      .user-dropdown-profile-name {
        font-family: "Montserrat", sans-serif;
        font-size: 13px;
        font-weight: 800;
        color: #2B3644;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 190px;
      }
      .user-dropdown-profile-email {
        font-family: "Inter", sans-serif;
        font-size: 12px;
        font-weight: 500;
        color: rgba(43,54,68,0.6);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 190px;
        margin-top: 1px;
      }
      .user-dropdown-profile-role {
        font-family: "Montserrat", sans-serif;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: rgba(43,54,68,0.45);
        margin-top: 2px;
      }
      .user-dropdown-divider {
        height: 1px;
        background: rgba(43,54,68,0.07);
        margin: 4px 0;
      }
      .user-dropdown a {
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 9px 14px;
        border-radius: 8px;
        font-family: "Montserrat", sans-serif;
        font-weight: 700;
        font-size: 13px;
        color: #2B3644;
        text-decoration: none;
        transition: background 100ms ease;
      }
      .user-dropdown a:hover {
        background: rgba(43, 54, 68, 0.05);
      }
      .user-dropdown a .ud-icon {
        font-size: 15px;
        width: 18px;
        text-align: center;
        flex-shrink: 0;
      }
      .user-dropdown a.logout-link {
        color: #8b4c42;
        border-top: 1px solid rgba(43,54,68,0.07);
        margin-top: 4px;
        border-radius: 0 0 8px 8px;
      }
      .user-dropdown a.logout-link:hover {
        background: rgba(139,76,66,0.06);
      }
      @media (max-width: 960px) {
        .topbar-inner { gap: 12px; padding-inline: 16px; }
        .brandmark {
          font-size: 24px;
        }
      }
      @media (max-width: 760px) {
        #agent-main-content { scroll-margin-top: 72px; }
        .topbar-inner {
          min-height: 64px;
          grid-template-columns: auto minmax(0, 1fr) auto;
          gap: 10px;
          padding: 10px 16px;
        }
        .topbar-inner > .top-actions,
        .topbar-divider,
        .topbar-section-band { display: none; }
        .agent-mobile-control {
          display: block;
          justify-self: start;
        }
        .brandmark { font-size: 23px; }
        .user-chip { min-height: 40px; }
      }
      @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
      }
      