.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(48, 85, 80, .14);
}

.profile-label { color: #305550; font-weight: 600; }
.contract-intelligence { overflow-wrap: anywhere; }
.contract-intelligence > section { margin-block: 1.5rem; padding: 1.25rem; background: #fff; border: 1px solid #dce4e8; border-radius: 1rem; }
.contract-intelligence .renewal-card { margin-block: 1rem; padding: 1rem; background: #f6f9f8; border-left: 3px solid #376963; border-radius: .5rem; }
.contract-intelligence h3, .contract-intelligence dt { font-weight: 600; }
.contract-intelligence p, .contract-intelligence blockquote { margin-block: .65rem; }
.contract-intelligence dl { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 3fr); gap: .45rem 1rem; }
.contract-intelligence blockquote { padding: .75rem; background: white; border: 1px solid #dce4e8; }
.contract-intelligence small, .contract-intelligence .bounded-result-note { color: #435760; }
.contract-intelligence details { margin-block: 1rem; }
@media (max-width: 700px) { .contract-intelligence dl { grid-template-columns: 1fr; } .contract-intelligence dd { margin-bottom: .6rem; } }
.opportunity-summary, .billing-layout section {
  margin-block: 1.5rem; padding: 1.25rem;
  background: #fff; border: 1px solid #dce4e8; border-radius: 1rem;
}
.opportunity-summary { overflow-wrap: anywhere; }
.billing-layout > p, .billing-layout > form { margin-block: 1rem; }
.billing-layout article { padding-block: 1rem; border-bottom: 1px solid #e5e9ed; }
.billing-layout article:last-child { border-bottom: 0; }
.billing-layout h2 { margin-bottom: .75rem; }
.billing-layout form label { display: block; margin-block: .75rem; }
.account-footer { max-width: 80rem; margin: 2rem auto; padding: 1rem 1.5rem; font-size: .8rem; color: #52636b; border-top: 1px solid #dce4e8; }
.account-footer p { margin-block: .5rem; }
.nav-more { position: relative; margin: 0; padding: .4rem; background: transparent; }
.nav-more > div { position: absolute; z-index: 5; right: 0; min-width: 11rem; padding: .75rem; background: white; border: 1px solid #dce4e8; border-radius: .6rem; box-shadow: 0 4px 12px #0002; }
.nav-more > div a { display: block; padding: .5rem; }
@media (max-width: 700px) {
  .source-dates dl { grid-template-columns: 1fr; }
  .source-dates dd { margin-bottom: .75rem; overflow-wrap: anywhere; }
  .opportunity-summary dl { grid-template-columns: 1fr; }
  .opportunity-summary dd { margin-bottom: .75rem; overflow-wrap: anywhere; }
  .site-header { flex-wrap: wrap; position: static; }
  .site-header nav { flex-wrap: wrap; }
  .table-wrap table { min-width: 42rem; }
  .evidence-list { grid-template-columns: minmax(0, 1fr); }
  .evidence-list > li { min-width: 0; overflow-wrap: anywhere; }
  .nav-more > div { position: static; min-width: 0; }
}
@media print {
  .site-header nav, button, form, .nav-more { display: none; }
  .account-footer { display: block; color: #222; }
}

/* Long headings remain readable at 200% text zoom on narrow screens. */
h1, h2, .nav-more a { overflow-wrap: anywhere; }

/* Account actions remain visibly interactive without relying on hover or colour alone. */
.auth-panel { width: min(100%, 31rem); margin: 2.5rem auto; padding: 2.25rem; background: #fff; border: 1px solid #dce7e3; border-radius: 1.5rem; box-shadow: 0 16px 48px #173e3310; }
.auth-panel h1 { font-size: clamp(1.7rem, 4vw, 2.1rem); line-height: 1.18; letter-spacing: -.03em; margin: .5rem 0 1rem; }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: .75rem; margin: 0 0 1.6rem; color: #244c42; font-size: clamp(1.2rem, 5vw, 1.5rem); font-weight: 750; letter-spacing: -.025em; }
.auth-brand img { display: block; flex: 0 0 48px; width: 48px; height: 48px; }
.auth-panel .auth-heading { text-align: center; }
.auth-heading + .auth-intro { text-align: center; }
.auth-panel p { margin-block: 1rem; }
.auth-intro, .auth-panel .small { color: #53645f; }
.auth-panel .eyebrow { color: #305550; letter-spacing: .12em; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.auth-panel .auth-link { color: #24584b; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; border-radius: .3rem; }
.auth-panel .auth-link:hover { color: #163f34; background: #edf6f1; }
.auth-panel a:focus-visible, .auth-panel button:focus-visible { outline: 3px solid #3b8068; outline-offset: 4px; }
.auth-signup { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .65rem; font-size: .9rem; }
.auth-panel .auth-create { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .8rem; border: 1px solid #b7d6c8; background: #edf6f1; }
.auth-panel .auth-create:hover { background: #def0e5; border-color: #639d83; box-shadow: 0 0 0 3px #edf6f1; }
.auth-panel .auth-notice { padding: .9rem 1rem; border-radius: .75rem; background: #f1f6f3; border: 1px solid #d3e3d9; font-size: .85rem; color: #354e43; }
.auth-panel .field { margin: 1.1rem 0; }
.auth-panel label { display: block; margin-bottom: .4rem; font-size: .88rem; font-weight: 600; }
.auth-panel input:not([type=hidden]):not([type=checkbox]) { display: block; width: 100%; min-width: 0; min-height: 3.1rem; padding: .75rem .9rem; border: 1px solid #879f95; border-radius: .7rem; background: #fcfefd; color: #163e34; font-size: 1rem; }
.auth-panel input:focus { outline: 3px solid #c8e5d7; outline-offset: 1px; border-color: #326952; }
.auth-panel .auth-primary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 3.1rem; padding: .8rem 1rem; border: 1px solid #244c42; border-radius: .8rem; background: #305550; color: #fff; font-weight: 700; cursor: pointer; }
.auth-panel .auth-primary:hover { background: #1d4238; box-shadow: 0 4px 14px #244c4225; }
.auth-recovery { text-align: center; padding-block: .35rem; }
.auth-footer { border-top: 1px solid #e2eae6; margin-top: 1.5rem; padding-top: .5rem; color: #53645f; font-size: .8rem; text-align: center; }
.auth-footer a { text-decoration: underline; text-underline-offset: 3px; }
.auth-divider { display: flex; align-items: center; gap: 1rem; color: #65746e; font-size: .8rem; margin: 1.5rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: #dce5e0; }
.auth-panel .auth-google { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 4px; background: #fff; border: 1px solid transparent; border-radius: 24px; cursor: pointer; }
.auth-panel .auth-google:hover { background: #f5f7f6; border-color: #dce5e0; }
.auth-google img { width: 180px; max-width: 100%; height: auto; }
.auth-panel .errorlist, .auth-panel .form-errors { color: #8b2635; font-size: .9rem; }
@media (max-width: 520px) { .auth-panel { margin: 1rem auto; padding: 1.5rem; border-radius: 1.1rem; } }
