/* Reset & Base */
@layer base {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
  }

  body {
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 1.25rem;
    line-height: 1.65;
    color: #333;
    background: #fff;
  }

  a {
    color: #284162;
    text-decoration: underline;
  }

  a:hover,
  a:focus {
    color: #0535d2;
  }

  a:visited {
    color: #7834bc;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: Lato, Arial, sans-serif;
    font-weight: 700;
    color: #333;
    line-height: 1.17;
  }

  h1 {
    font-size: 2.5625rem;
    margin-top: 1em;
    margin-bottom: 0.2em;
    padding-bottom: 4px;
  }

  h1.gc-thickline {
    border-bottom: 6px solid #a62a1e;
    border-image: linear-gradient(to right, #a62a1e 72px, transparent 72px);
    border-image-slice: 1;
    border-left-width: 0;
    border-right-width: 0;
    border-top-width: 0;
    padding-bottom: 12px;
  }

  h2 {
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 5px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 16px;
  }

  ul,
  ol {
    list-style: none;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  hr {
    border: 0;
  }

  /* Screen reader only */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .container {
    max-width: 1170px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
  }

  @media (max-width: 991px) {
    .container {
      max-width: 970px;
    }
  }

  @media (max-width: 767px) {
    .container {
      max-width: 100%;
    }
  }
}

/* Components */
@layer components {
  /* ===== SKIP NAV ===== */
  .wb-tphp-list {
    list-style: none;
  }

  .wb-tphp-link {
    position: absolute;
    top: -9999px;
    left: -9999px;
    z-index: 9999;
    background: #fff;
    padding: 5px 10px;
    font-weight: 700;
  }

  .wb-tphp-link:focus {
    top: 0;
    left: 0;
  }

  /* ===== HEADER BANNER ===== */
  #wb-bnr {
    padding-top: 10px;
    padding-bottom: 0;
  }

  .header-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: start;
  }

  /* Language toggle — top right */
  .header-lng {
    grid-column: 2;
    grid-row: 1;
    padding-top: 10px;
    padding-bottom: 5px;
    text-align: right;
  }

  .header-lng-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .header-lng a {
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 1.125rem;
    text-decoration: underline;
    color: #284162;
  }

  .header-lng a:hover {
    color: #0535d2;
  }

  .header-lng a:visited {
    color: #284162;
  }

  .header-lng-abbr {
    display: none;
    text-transform: uppercase;
    text-decoration: none;
  }

  /* Brand / logo — left, spans both rows visually */
  .brand {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: end;
    padding-bottom: 10px;
  }

  .brand a {
    display: block;
    text-decoration: none;
  }

  .brand img {
    max-height: 33px;
    width: auto;
  }

  /* Search — bottom right */
  .header-search {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    padding-bottom: 6px;
  }

  .search-form {
    display: flex;
    align-items: stretch;
  }

  .search-input-group {
    flex: 1;
  }

  .search-input-group input {
    width: 359px;
    border: 1px solid #ccc;
    border-right: 0;
    padding: 6px 12px;
    font-size: 16px;
    font-family: "Noto Sans", Arial, sans-serif;
    line-height: 1.4;
    color: #555;
    outline: none;
    height: 37px;
  }

  .search-input-group input:focus {
    outline: #66afe9 solid 1px;
    box-shadow: inset 0 0 1px #000, 0 0 8px rgba(102, 175, 233, 0.6);
  }

  .search-submit {
    flex-shrink: 0;
  }

  .search-btn {
    background: #26374a;
    color: #fff;
    border: 0;
    padding: 0 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 37px;
    font-size: 17px;
  }

  .search-btn:hover {
    background: #1c2c3e;
  }

  /* Header responsive */
  @media (max-width: 767px) {
    .header-row {
      grid-template-columns: 1fr auto;
    }

    .brand img {
      max-height: 30px;
    }

    .header-lng-full {
      display: none;
    }

    .header-lng-abbr {
      display: inline;
      font-size: 1.1rem;
      font-weight: 700;
    }

    .header-search {
      grid-column: 1 / -1;
      grid-row: 3;
      justify-self: stretch;
    }

    .search-input-group input {
      width: 100%;
    }
  }

  /* ===== HEADER SEPARATOR ===== */
  .header-sep {
    margin: 5px 0 0;
    border: 0;
    border-top: 3px solid #38414d;
  }

  /* ===== GCWEB MENU ===== */
  .gcweb-menu-container {
    background: transparent;
    font-size: 20px;
  }

  .gcweb-menu-container > .container {
    padding-left: 0;
    padding-right: 0;
  }

  .gcweb-menu {
    position: relative;
    display: inline-block;
  }

  .gcweb-menu-btn {
    background: #26374a;
    border: 1px solid #26374a;
    color: #fff;
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 20px;
    padding: 10px 20px;
    cursor: pointer;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .gcweb-menu-btn:hover,
  .gcweb-menu-btn-open {
    background-color: #444;
    border-color: #444;
    color: #fff;
  }

  /* Chevron icon */
  .gcweb-menu-chevron {
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-left: 2px;
    transition: transform 0.15s;
  }

  .gcweb-menu-chevron-up {
    transform: rotate(180deg);
  }

  /* Dropdown list */
  .gcweb-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: -15px;
    right: -15px;
    z-index: 1000;
    background: #444;
    color: #fff;
  }

  .gcweb-menu-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .gcweb-menu-list a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 14px 30px;
    font-size: 18px;
    width: 360px;
  }

  .gcweb-menu-list a:visited {
    color: #fff;
  }

  .gcweb-menu-list a:hover,
  .gcweb-menu-list a:focus {
    background: #333;
    color: #fff;
    text-decoration: underline;
  }

  /* ===== BREADCRUMB ===== */
  #wb-bc {
    background: transparent;
    padding: 0;
  }

  .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 15px 0 0;
    padding: 8px 0;
    font-size: 16px;
  }

  .breadcrumb li {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 7px 5px;
  }

  .breadcrumb li + li::before {
    content: "\203A";
    padding: 0 4px 0 0;
    color: #333;
  }

  .breadcrumb a {
    color: #284162;
    text-decoration: underline;
    padding: 5px 0;
  }

  .breadcrumb a:hover {
    color: #0535d2;
  }

  .breadcrumb a:visited {
    color: #284162;
  }

  /* ===== MAIN CONTENT ===== */
  main.container {
    padding-top: 0;
    padding-bottom: 40px;
  }

  .page-intro {
    font-size: 20px;
    line-height: 1.65;
    margin-bottom: 25px;
    max-width: 960px;
  }

  /* ===== MOST REQUESTED ===== */
  .most-requested {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 15px 20px;
    margin-bottom: 30px;
  }

  .most-requested h2 {
    font-size: 17px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: none;
  }

  .most-requested-list {
    columns: 2;
    column-gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .most-requested-list li {
    padding: 4px 0;
    break-inside: avoid;
  }

  .most-requested-list a {
    font-size: 16px;
  }

  @media (max-width: 767px) {
    .most-requested-list {
      columns: 1;
    }
  }

  /* ===== SIGN-IN CARD ===== */
  .sign-in-card {
    margin: 15px 0 20px;
  }

  /* Outer well: gray bg */
  .sign-in-card-inner {
    background: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 0;
    padding: 9px;
  }

  /* Inner panel: white bg */
  .sign-in-card-body {
    background: #fff;
    border: 1px solid transparent;
    border-radius: 0;
    padding: 15px;
  }

  .sign-in-columns {
    display: flex;
    align-items: stretch;
  }

  .sign-in-left {
    flex: 0 0 60%;
    margin-right: 30px;
  }

  .sign-in-right {
    flex: 1;
    position: relative;
    padding-left: 45px;
  }

  /* Vertical divider line on right column */
  .sign-in-right::after {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    border-left: 3px solid #6f6f6f;
  }

  /* "or" circle on right column */
  .sign-in-right::before {
    content: "or";
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 5px;
    margin-left: -15px;
    width: 29px;
    height: 29px;
    border: 3px solid #6f6f6f;
    border-radius: 50%;
    background: #fff;
    color: #333;
    font-size: 16px;
    line-height: 27px;
    text-align: center;
    display: block;
    z-index: 1;
  }

  .sign-in-heading {
    font-size: 29px;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 12px;
  }

  .sign-in-buttons {
    list-style: none;
    margin: 15px 0 12px;
    padding: 0 15px;
    margin-left: 54px;
  }

  .sign-in-buttons li {
    margin-bottom: 12px;
  }

  .sign-in-btn-primary {
    display: flex;
    align-items: center;
    background: #26374a;
    color: #fff;
    text-decoration: none;
    padding: 20px;
    font-size: 22px;
    font-weight: 700;
    border: 1px solid #26374a;
    border-radius: 6px;
    width: 100%;
  }

  .sign-in-btn-primary:visited {
    color: #fff;
  }

  .sign-in-btn-primary:hover {
    background: #1c2c3e;
    color: #fff;
    text-decoration: underline;
  }

  .sign-in-btn-primary svg {
    flex-shrink: 0;
    margin-right: 10px;
  }

  .sign-in-btn-primary span {
    flex: 1;
    text-align: center;
  }

  .sign-in-register-wrap {
    margin-top: 15px;
    padding: 0 15px;
    margin-left: 54px;
  }

  .sign-in-btn-register {
    display: flex;
    align-items: center;
    background: #eaebee;
    color: #335075;
    text-decoration: none;
    padding: 20px;
    font-size: 22px;
    font-weight: 700;
    border: 1px solid #dcdee1;
    border-radius: 6px;
    width: 100%;
  }

  .sign-in-btn-register:visited {
    color: #335075;
  }

  .sign-in-btn-register:hover {
    background: #dcdee1;
    color: #335075;
    text-decoration: underline;
  }

  .sign-in-btn-register svg {
    flex-shrink: 0;
    margin-right: 10px;
  }

  .sign-in-btn-register span {
    flex: 1;
    text-align: center;
  }

  .sign-in-help-details {
    margin-top: 15px;
    font-size: 16px;
  }

  .sign-in-help-details summary {
    cursor: pointer;
    color: #284162;
    text-decoration: none;
  }

  .sign-in-help-details summary:hover {
    color: #0535d2;
  }

  .sign-in-help-details p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.65;
  }

  @media (max-width: 767px) {
    .sign-in-columns {
      flex-direction: column;
    }

    .sign-in-left,
    .sign-in-right {
      flex: none;
      padding: 0;
      position: static;
    }

    .sign-in-right::before,
    .sign-in-right::after {
      display: none;
    }

    .sign-in-buttons {
      padding-right: 0;
    }
  }

  /* ===== SERVICES/DOORMAT ===== */
  .services-info {
    border-top: 1px solid #e0e0e0;
    padding-top: 25px;
  }

  .services-info h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .doormat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .doormat-item {
    padding: 0 30px 25px 0;
  }

  .doormat-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.3;
  }

  .doormat-item h3 a {
    color: #284162;
    text-decoration: none;
  }

  .doormat-item h3 a:hover {
    color: #0535d2;
    text-decoration: underline;
  }

  .doormat-item h3 a:visited {
    color: #284162;
  }

  .doormat-item p {
    font-size: 17px;
    line-height: 1.65;
    color: #333;
    margin: 0;
  }

  @media (max-width: 991px) {
    .doormat-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 767px) {
    .doormat-grid {
      grid-template-columns: 1fr;
    }
  }

  /* ===== CONTRIBUTORS ===== */
  .contributors {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
  }

  .contributors h2 {
    font-size: 22px;
    margin-top: 0;
  }

  .contributors ul {
    list-style: disc;
    padding-left: 20px;
  }

  .contributors li {
    padding: 3px 0;
  }

  /* ===== PAGE FEEDBACK ===== */
  .page-feedback {
    border-top: 1px solid #e0e0e0;
    margin-top: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .page-feedback .feedback-question {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
  }

  .page-feedback .feedback-question p {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
  }

  .page-feedback .feedback-btn {
    background: #26374a;
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 16px;
    font-family: "Noto Sans", Arial, sans-serif;
    cursor: pointer;
    min-width: 80px;
    text-align: center;
  }

  .page-feedback .feedback-btn:hover {
    background: #1c2c3e;
    text-decoration: underline;
  }

  .page-feedback .feedback-thanks {
    font-size: 16px;
  }

  /* ===== DATE MODIFIED ===== */
  .date-modified {
    display: flex;
    gap: 5px;
    margin-top: 30px;
    font-size: 14px;
    color: #333;
  }

  .date-modified dt {
    font-weight: 400;
  }

  .date-modified dd {
    margin: 0;
  }

  /* ===== FOOTER ===== */

  /* Contextual band */
  .footer-contextual {
    background: #33465c;
    color: #fff;
    padding: 20px 0;
  }

  .footer-contextual h3 {
    font-size: 22px;
    color: #fff;
    margin-top: 0;
    margin-bottom: 10px;
  }

  .footer-contextual-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 25px;
    list-style: none;
  }

  .footer-contextual-list a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
  }

  .footer-contextual-list a:visited {
    color: #fff;
  }

  .footer-contextual-list a:hover {
    text-decoration: underline;
    color: #fff;
  }

  /* Main footer */
  .footer-main {
    background: #26374a url("/landscape.png") no-repeat bottom right;
    background-size: cover;
    color: #fff;
    padding: 30px 0 40px;
  }

  .footer-main h3 {
    font-size: 19px;
    color: #fff;
    margin-top: 0;
    margin-bottom: 15px;
  }

  .footer-main nav {
    margin-bottom: 20px;
  }

  .footer-gov-list {
    list-style: none;
    columns: 3;
    column-gap: 30px;
  }

  .footer-gov-list li {
    padding: 4px 0;
  }

  .footer-gov-list a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
  }

  .footer-gov-list a:visited {
    color: #fff;
  }

  .footer-gov-list a:hover {
    text-decoration: underline;
    color: #fff;
  }

  .footer-theme-list {
    list-style: none;
    columns: 3;
    column-gap: 30px;
  }

  .footer-theme-list li {
    padding: 4px 0;
  }

  .footer-theme-list a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
  }

  .footer-theme-list a:visited {
    color: #fff;
  }

  .footer-theme-list a:hover {
    text-decoration: underline;
    color: #fff;
  }

  @media (max-width: 767px) {
    .footer-gov-list,
    .footer-theme-list {
      columns: 1;
    }
  }

  @media (max-width: 991px) and (min-width: 768px) {
    .footer-theme-list {
      columns: 2;
    }
  }

  /* Sub-footer */
  .footer-sub {
    background: #f8f8f8;
    padding: 18px 0;
    border-top: 4px solid #a62a1e;
  }

  .footer-sub-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-corporate-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0;
  }

  .footer-corporate-list li {
    padding: 0 10px;
    border-right: 1px solid #333;
    line-height: 1;
  }

  .footer-corporate-list li:first-child {
    padding-left: 0;
  }

  .footer-corporate-list li:last-child {
    border-right: none;
  }

  .footer-corporate-list a {
    color: #284162;
    text-decoration: none;
    font-size: 14px;
  }

  .footer-corporate-list a:hover {
    text-decoration: underline;
    color: #0535d2;
  }

  .footer-wordmark {
    flex-shrink: 0;
  }

  .footer-wordmark img {
    width: 167px;
    height: auto;
  }

  @media (max-width: 767px) {
    .footer-sub-inner {
      flex-direction: column;
      gap: 15px;
      align-items: flex-start;
    }

    .footer-corporate-list {
      flex-wrap: wrap;
      gap: 5px 0;
    }

    .footer-wordmark {
      align-self: flex-end;
    }
  }

  /* ===== DASHBOARD ===== */

  /* Dark account bar below header */
  .dash-account-bar {
    background: #26374a;
    color: #fff;
    padding: 0;
  }

  .dash-account-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
  }

  a.dash-account-bar-title {
    font-family: Lato, Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
  }

  a.dash-account-bar-title:visited,
  a.dash-account-bar-title:hover,
  a.dash-account-bar-title:focus {
    color: #fff;
    text-decoration: none;
  }

  .dash-account-bar-nav {
    display: flex;
    align-items: stretch;
    height: 50px;
  }

  .dash-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-family: "Noto Sans", Arial, sans-serif;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .dash-nav-link:visited {
    color: #fff;
  }

  .dash-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: underline;
  }

  /* Account dropdown */
  .dash-account-dropdown {
    position: relative;
    display: flex;
  }

  .dash-account-bar-btn {
    background: transparent;
    color: #fff;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 20px;
    font-size: 15px;
    font-family: "Noto Sans", Arial, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
  }

  .dash-account-bar-btn:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .dash-account-btn-account {
    background: #3b4f63;
  }

  .dash-account-btn-account:hover {
    background: #4a6078;
  }

  .dash-account-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 200px;
  }

  .dash-account-menu li a {
    display: block;
    padding: 8px 20px;
    color: #284162;
    text-decoration: none;
    font-size: 15px;
  }

  .dash-account-menu li a:hover {
    background: #f5f5f5;
    color: #0535d2;
  }

  .dash-account-menu-sep {
    border-top: 1px solid #e0e0e0;
    margin-top: 4px;
    padding-top: 4px;
  }

  .dash-account-menu-signout {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 20px;
    background: none;
    border: none;
    color: #284162;
    font-size: 15px;
    font-family: "Noto Sans", Arial, sans-serif;
    cursor: pointer;
    text-align: left;
  }

  .dash-account-menu-signout:hover {
    background: #f5f5f5;
    color: #0535d2;
  }

  @media (max-width: 767px) {
    .dash-account-bar-inner {
      flex-wrap: wrap;
      min-height: auto;
    }

    .dash-account-bar-title {
      padding: 10px 0;
      font-size: 17px;
    }

    .dash-account-bar-nav {
      height: auto;
      width: 100%;
      flex-wrap: wrap;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .dash-nav-link {
      border-left: none;
      padding: 10px 12px;
    }

    .dash-account-bar-btn {
      border-left: none;
      padding: 10px 12px;
    }
  }

  /* Dashboard cards */
  .dash-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    padding: 25px 30px;
    margin-bottom: 25px;
  }

  .dash-card-heading {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.2;
    color: #333;
  }

  /* Current Holdings */
  .dash-holdings-list {
    margin: 0 0 15px;
  }

  .dash-holdings-row {
    display: flex;
    gap: 20px;
    padding: 4px 0;
    font-size: 16px;
  }

  .dash-holdings-row dt {
    font-weight: 400;
    color: #333;
  }

  .dash-holdings-row dd {
    margin: 0;
    font-weight: 700;
    color: #333;
  }

  .dash-holdings-row-header dt {
    font-weight: 700;
  }

  .dash-holdings-row-sub {
    padding-left: 20px;
  }

  .dash-holdings-row-sub dt {
    font-weight: 400;
    color: #555;
  }

  .dash-holdings-row-sub dd {
    font-weight: 400;
    color: #555;
  }

  /* Buttons */
  .dash-btn-outline {
    display: inline-block;
    background: #fff;
    color: #333;
    border: 1px solid #333;
    padding: 6px 16px;
    font-size: 14px;
    font-family: "Noto Sans", Arial, sans-serif;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
  }

  .dash-btn-outline:hover {
    background: #f5f5f5;
    color: #333;
  }

  .dash-btn-outline:visited {
    color: #333;
  }

  .dash-btn-filled {
    display: inline-block;
    background: #26374a;
    color: #fff;
    border: 1px solid #26374a;
    padding: 6px 16px;
    font-size: 14px;
    font-family: "Noto Sans", Arial, sans-serif;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
  }

  .dash-btn-filled:hover {
    background: #1c2c3e;
    color: #fff;
  }

  .dash-btn-filled:visited {
    color: #fff;
  }

  .dash-btn-history {
    margin-top: 15px;
  }

  /* Upcoming Auctions grid */
  .dash-auctions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
  }

  .dash-auction-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 18px 20px;
  }

  .dash-auction-name {
    font-size: 18px;
    font-weight: 700;
    color: #284162;
    margin: 0 0 5px;
    line-height: 1.3;
  }

  .dash-auction-date {
    font-size: 14px;
    color: #555;
    margin: 0 0 12px;
  }

  .dash-auction-actions {
    display: flex;
    gap: 8px;
  }

  .dash-card-footer-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  @media (max-width: 767px) {
    .dash-auctions-grid {
      grid-template-columns: 1fr;
    }

    .dash-card {
      padding: 18px 20px;
    }
  }

  @media (max-width: 991px) and (min-width: 768px) {
    .dash-auctions-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* Account Activity table */
  .dash-table-wrap {
    overflow-x: auto;
  }

  .dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
  }

  .dash-table th {
    text-align: left;
    font-weight: 700;
    padding: 8px 12px;
    border-bottom: 2px solid #333;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
  }

  .dash-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    color: #333;
  }

  .dash-table tbody tr:last-child td {
    border-bottom: none;
  }

  /* Status badge with green check */
  .dash-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
  }

  /* Active nav link */
  .dash-nav-link-active,
  .dash-nav-link-active:hover,
  .dash-nav-link-active:focus {
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    color: #fff;
  }

  /* ===== BUY DIRECT FORM ===== */
  .buy-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 20px;
  }

  .buy-legend {
    font-family: Lato, Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    display: block;
  }

  .buy-radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    line-height: 1.4;
  }

  .buy-radio {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    accent-color: #26374a;
    cursor: pointer;
  }

  .buy-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
  }

  /* Breadcrumb-style h1 for sub-pages */
  .buy-breadcrumb-link {
    color: #284162;
    text-decoration: none;
    font-weight: 400;
  }

  .buy-breadcrumb-link:hover {
    color: #0535d2;
    text-decoration: underline;
  }

  .buy-breadcrumb-sep {
    margin: 0 8px;
    color: #555;
    font-weight: 400;
  }

  /* Section heading inside card */
  .buy-section-heading {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #333;
  }

  /* Selection table (radio + columns) */
  .buy-table-wrap {
    overflow-x: auto;
    margin-bottom: 20px;
  }

  .buy-selection-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
  }

  .buy-selection-table th {
    text-align: left;
    font-weight: 700;
    padding: 6px 12px;
    border-bottom: 1px solid #ccc;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
  }

  .buy-selection-table td {
    padding: 8px 12px;
    vertical-align: middle;
    color: #333;
    border-bottom: none;
  }

  .buy-col-radio {
    width: 36px;
    text-align: center;
    padding-right: 4px;
  }

  /* Form fields */
  .buy-field {
    margin-bottom: 18px;
  }

  .buy-field-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
  }

  .buy-field-hint {
    font-weight: 400;
    font-style: italic;
    color: #555;
  }

  .buy-amount-input-wrap {
    display: flex;
    align-items: stretch;
    max-width: 300px;
  }

  .buy-amount-prefix {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-right: 0;
    font-size: 16px;
    color: #333;
  }

  .buy-amount-input {
    flex: 1;
    border: 1px solid #ccc;
    padding: 6px 12px;
    font-size: 16px;
    font-family: "Noto Sans", Arial, sans-serif;
    color: #333;
    outline: none;
  }

  .buy-amount-input:focus {
    outline: #66afe9 solid 1px;
    box-shadow: inset 0 0 1px #000, 0 0 8px rgba(102, 175, 233, 0.6);
  }

  .buy-select {
    display: block;
    max-width: 300px;
    width: 100%;
    border: 1px solid #ccc;
    padding: 6px 12px;
    font-size: 16px;
    font-family: "Noto Sans", Arial, sans-serif;
    color: #333;
    background: #fff;
    outline: none;
    appearance: auto;
  }

  .buy-select:focus {
    outline: #66afe9 solid 1px;
    box-shadow: inset 0 0 1px #000, 0 0 8px rgba(102, 175, 233, 0.6);
  }

  /* Reinvestment section */
  .buy-reinvest-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 5px;
  }

  .buy-reinvest-options {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .buy-reinvest-times {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .buy-reinvest-times-label {
    font-size: 14px;
    font-weight: 400;
    color: #333;
  }

  .buy-reinvest-times-input {
    width: 60px;
    border: 1px solid #ccc;
    padding: 6px 8px;
    font-size: 16px;
    font-family: "Noto Sans", Arial, sans-serif;
    color: #333;
    outline: none;
  }

  .buy-reinvest-times-input:focus {
    outline: #66afe9 solid 1px;
    box-shadow: inset 0 0 1px #000, 0 0 8px rgba(102, 175, 233, 0.6);
  }

  .buy-reinvest-times-input:disabled {
    background: #f5f5f5;
    color: #999;
  }

  .buy-reinvest-note {
    font-size: 13px;
    color: #555;
    font-style: italic;
    margin: 0;
    max-width: 180px;
    line-height: 1.4;
  }

  .buy-field-note {
    font-size: 13px;
    color: #555;
    margin: 5px 0 0;
    line-height: 1.4;
  }

  .buy-date-input {
    border: 1px solid #ccc;
    padding: 6px 12px;
    font-size: 16px;
    font-family: "Noto Sans", Arial, sans-serif;
    color: #333;
    outline: none;
  }

  .buy-date-input:focus {
    outline: #66afe9 solid 1px;
    box-shadow: inset 0 0 1px #000, 0 0 8px rgba(102, 175, 233, 0.6);
  }

  /* C of I balance card */
  .cofi-balance-card {
    background: #f9f9f9;
  }

  .cofi-balance {
    margin: 0 0 12px;
  }

  .cofi-balance-row {
    display: flex;
    gap: 15px;
    font-size: 18px;
    align-items: baseline;
  }

  .cofi-balance-row dt {
    font-weight: 400;
    color: #333;
  }

  .cofi-balance-row dd {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
  }

  .cofi-description {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin: 0;
    max-width: 700px;
  }

  /* ===== AUCTION RESULTS TABS ===== */
  .results-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    border-bottom: 2px solid #ddd;
  }

  .results-tab {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    padding: 10px 24px;
    font-size: 15px;
    font-family: "Noto Sans", Arial, sans-serif;
    font-weight: 700;
    color: #284162;
    cursor: pointer;
    margin-bottom: -2px;
    border-radius: 4px 4px 0 0;
  }

  .results-tab:hover {
    background: #e8e8e8;
  }

  .results-tab-active,
  .results-tab-active:hover {
    background: #fff;
    border-bottom: 2px solid #fff;
    color: #333;
  }

  /* Highlighted auction row */
  .auction-highlight {
    background: #fef9cd;
    animation: highlightFade 4s ease forwards;
  }

  @keyframes highlightFade {
    0% { background: #fef9cd; }
    70% { background: #fef9cd; }
    100% { background: transparent; }
  }

  .results-tabs + .dash-card {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: none;
  }

  .load-more-wrap {
    text-align: center;
    margin-top: 15px;
  }

  /* ===== YIELD CHART ===== */
  .yield-chart-container {
    position: relative;
  }

  .yield-chart-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
  }

  .yield-chart-ranges {
    display: flex;
    gap: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
  }

  .yield-range-btn {
    background: #fff;
    border: none;
    border-right: 1px solid #ccc;
    padding: 5px 12px;
    font-size: 13px;
    font-family: "Noto Sans", Arial, sans-serif;
    color: #333;
    cursor: pointer;
  }

  .yield-range-btn:last-child {
    border-right: none;
  }

  .yield-range-btn:hover {
    background: #f5f5f5;
  }

  .yield-range-btn-active,
  .yield-range-btn-active:hover {
    background: #26374a;
    color: #fff;
  }

  .yield-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-bottom: 10px;
  }

  .yield-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 2px 4px;
    font-size: 13px;
    font-family: "Noto Sans", Arial, sans-serif;
    color: #333;
    cursor: pointer;
    border-radius: 3px;
  }

  .yield-legend-item:hover {
    background: #f5f5f5;
  }

  .yield-legend-item-disabled {
    color: #aaa;
  }

  .yield-legend-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
  }

  .yield-chart-wrap {
    position: relative;
  }

  .yield-chart-wrap canvas {
    display: block;
    width: 100%;
  }

  .yield-chart-crosshair {
    position: absolute;
    top: 20px;
    bottom: 40px;
    width: 1px;
    background: rgba(38, 55, 74, 0.4);
    pointer-events: none;
    z-index: 5;
  }

  .yield-chart-tooltip {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 13px;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 150px;
  }

  .yield-tooltip-date {
    font-weight: 700;
    margin-bottom: 4px;
    color: #333;
  }

  .yield-tooltip-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 1px 0;
  }

  .yield-tooltip-label {
    flex: 1;
    color: #555;
  }

  .yield-tooltip-value {
    font-weight: 700;
    color: #333;
  }

  .auctions-section-heading {
    font-size: 26px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
  }

  /* ===== CONFIRM PAGE ===== */
  .confirm-summary {
    margin: 0 0 20px;
  }

  .confirm-summary-row {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
  }

  .confirm-summary-row:last-child {
    border-bottom: none;
  }

  .confirm-summary-row dt {
    flex: 0 0 200px;
    font-weight: 700;
    color: #333;
  }

  .confirm-summary-row dd {
    margin: 0;
    color: #333;
  }

  .confirm-disclaimer {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 20px;
    max-width: 600px;
  }

  @media (max-width: 767px) {
    .confirm-summary-row {
      flex-direction: column;
      gap: 2px;
    }

    .confirm-summary-row dt {
      flex: none;
    }
  }

  /* ===== SUCCESS BANNER ===== */
  .dash-success-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
    background: #d8eeca;
    border: 1px solid #278400;
    border-radius: 4px;
    color: #1e6300;
    font-size: 16px;
    cursor: pointer;
    animation: bannerFadeIn 0.3s ease;
  }

  @keyframes bannerFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ===== HOLDINGS ===== */
  .holdings-summary {
    margin: 0;
  }

  .holdings-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 16px;
    max-width: 400px;
  }

  .holdings-summary-row dt {
    font-weight: 400;
    color: #333;
  }

  .holdings-summary-row dd {
    margin: 0;
    font-weight: 700;
    color: #333;
  }

  .holdings-summary-total {
    border-top: 2px solid #333;
    margin-top: 4px;
    padding-top: 8px;
  }

  .holdings-summary-total dt,
  .holdings-summary-total dd {
    font-weight: 700;
  }

  .holdings-cusip {
    font-family: monospace;
    font-size: 13px;
    letter-spacing: 0.5px;
  }

  .holdings-badge {
    display: inline-block;
    padding: 2px 10px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 3px;
    white-space: nowrap;
  }

  .holdings-badge-active {
    background: #d8eeca;
    color: #278400;
  }

  .holdings-badge-matured {
    background: #e8e8e8;
    color: #555;
  }

  .holdings-badge-pending {
    background: #fef0cd;
    color: #7a5b00;
  }

  /* ===== PROFILE ===== */
  .profile-alert {
    padding: 12px 18px;
    margin-bottom: 20px;
    font-size: 16px;
    border-radius: 4px;
  }

  .profile-alert-success {
    background: #d8eeca;
    border: 1px solid #278400;
    color: #1e6300;
  }

  .profile-info-grid {
    margin: 0;
  }

  .profile-info-row {
    display: flex;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
  }

  .profile-info-row:last-child {
    border-bottom: none;
  }

  .profile-info-row dt {
    flex: 0 0 220px;
    font-weight: 700;
    color: #333;
  }

  .profile-info-row dd {
    margin: 0;
    color: #333;
  }

  @media (max-width: 767px) {
    .profile-info-row {
      flex-direction: column;
      gap: 2px;
    }

    .profile-info-row dt {
      flex: none;
    }
  }

  /* Add bank account form */
  .profile-add-bank {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
  }

  .profile-add-bank-heading {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #333;
  }

  .profile-add-bank-note {
    font-size: 15px;
    color: #555;
    margin: 0 0 18px;
    line-height: 1.5;
  }

  .profile-add-bank-row {
    display: flex;
    gap: 20px;
  }

  .profile-input-short {
    width: 120px;
  }

  .profile-input-medium {
    width: 200px;
  }

  @media (max-width: 767px) {
    .profile-add-bank-row {
      flex-direction: column;
      gap: 0;
    }
  }
}
