/* Approved visual reference, 14 September 2026: navy, vivid pink, crisp typography.
   Shared by customer login, team login, customer and internal workspaces. */
:root {
  --hero-blue: #073d73;
  --ink-deep: #03294f;
  --ink: #07345d;
  --ink-soft: #47627b;
  --paper: #f2f6fa;
  --white: #fff;
  --line: #d6e1ed;
  --coral-red: #ff0066;
  --accent: #ff0066;
  --accent-dark: #cf0053;
  --light-blue: #dce9f5;
  --light-pink: #fff0f6;
  --brand-background: #073d73;
  --teal: #075584;
  --blue: var(--hero-blue);
  --blue-light: var(--light-blue);
  --pink: var(--accent);
  --muted-blue: var(--ink-soft);
  --shadow: 0 20px 55px rgba(2, 30, 60, .16);
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  font-size: 16px;
}
body { background: var(--paper); line-height: 1.5; }
h1, h2, h3, .summary-grid strong {
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.25rem, 4.1vw, 4.25rem); }
h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
h3 { font-size: 1.125rem; }
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .16em; }
.top-rule { height: 4px; background: var(--accent); }
.auth-layout {
  min-height: calc(100vh - 4px);
  min-height: calc(100svh - 4px);
  grid-template-columns: minmax(0, 1.2fr) minmax(23rem, .8fr);
  background: linear-gradient(90deg, rgba(3,41,79,.4), rgba(3,41,79,.05)), url('/assets/facade-navy.png') center bottom / cover no-repeat, #03294f;
}
.auth-intro {
  position: relative;
  overflow: hidden;
  gap: 3rem;
  padding: clamp(2rem, 5vw, 5rem);
  background: transparent;
}
.auth-intro > * { position: relative; z-index: 1; }
.auth-intro .wordmark { align-self: flex-start; }
.auth-intro .wordmark img { width: clamp(12rem, 20vw, 16rem); max-width: 100%; height: auto; transform: translateX(-5.62%); }
.auth-intro::after { display: none; }
.auth-intro h1 { max-width: 13ch; margin-bottom: 1.5rem; }
.auth-intro h1::after { content: ""; display: block; width: 3.25rem; height: 4px; margin-top: 1.5rem; background: var(--accent); }
.auth-intro .eyebrow { color: #d7e9ff; }
.auth-intro .lead { color: #e0ebf6; font-size: 1.0625rem; }
.trust-list { gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2); }
.trust-list li { font-weight: 400; align-items: baseline; }
.auth-intro .trust-list span { color: #ff70aa; font-size: .875rem; font-weight: 800; }
.auth-panel { background: transparent; padding: clamp(1.5rem, 4vw, 4rem); }
.auth-card, .setup-card { padding: clamp(1.5rem, 3vw, 2.75rem); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 5px; }
.auth-card { background: rgba(255,255,255,.97); box-shadow: 0 28px 80px rgba(0,15,35,.38), 0 6px 20px rgba(0,15,35,.18); }
.auth-card .eyebrow, .setup-card .eyebrow { color: var(--ink-soft); }
.auth-card h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.setup-card h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.centered-view { min-height: calc(100vh - 4px); background: linear-gradient(135deg, #03294f, #084b8b); color: white; }
.centered-view .setup-card { color: var(--ink); }
.brand-mark { background: transparent; }
.button { border-radius: 4px; font-size: 1rem; line-height: 1.35; min-height: 46px; font-weight: 700; box-shadow: none; }
.button.primary { color: #fff; background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: inset 0 3px 0 var(--accent); }
.button.primary:hover { background: #b80049; border-color: #b80049; }
.button.secondary { background: var(--hero-blue); }
.button.secondary:hover { background: var(--ink-deep); }
.button.ghost:hover { background: var(--light-blue); }
.button.text { color: #a6243d; }
a { color: var(--hero-blue); text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #e1005a; outline-offset: 3px; }
input, select, textarea { border-color: #8ba3bc; border-radius: 4px; font-size: 1rem; }
input:hover, select:hover, textarea:hover { border-color: var(--hero-blue); }
input[type="checkbox"] { min-height: 1.2rem; accent-color: var(--accent-dark); }
.portal-header { background: var(--ink-deep); min-height: 78px; padding-inline: 2rem; }
.portal-name { color: #d3e2f1; font-size: .875rem; letter-spacing: .06em; }
.portal-header .button.ghost:hover { background: rgba(255,255,255,.12); }
.portal-content { grid-template-columns: 230px minmax(0, 1fr); }
.sidebar { background: linear-gradient(180deg, #03294f, #073d73); color: white; padding: 1.5rem 1rem; }
.nav-label { color: #c3d7eb; font-size: .875rem; }
.nav-item { color: white; border-left: 3px solid transparent; border-radius: 0; min-height: 48px; }
.nav-item:hover { background: rgba(255,255,255,.08); }
.nav-item.active { color: white; background: rgba(255,255,255,.1); border-left-color: var(--accent); }
.service-note { color: white; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.2); border-radius: 3px; }
.service-note p { color: #d3e2f1; font-size: .875rem; }
.service-note strong { font-size: .875rem; }
.workspace { width: 100%; max-width: 100rem; min-width: 0; padding: clamp(1.25rem, 3vw, 2.5rem); }
.workspace-hero { min-height: 0; padding: clamp(1.5rem, 2.6vw, 2.25rem); background: linear-gradient(125deg, transparent 0 77%, rgba(0,17,40,.22) 77%), linear-gradient(115deg, #03294f, #084b8b); border-radius: 4px; }
.workspace-hero::after { width: 5px; height: 150%; right: 13%; bottom: -30%; background: var(--accent); border: 0; border-radius: 0; transform: rotate(32deg); opacity: .38; }
.workspace-hero { background: linear-gradient(90deg, rgba(3,41,79,.9) 0%, rgba(3,41,79,.7) 46%, rgba(3,41,79,.12) 100%), url('/assets/facade-navy.png') right 65% / cover no-repeat, #03294f; }
.workspace-hero::after { display: none; }
.workspace-heading h1 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.1; }
.workspace-hero h1 span { color: white; }
.workspace-hero .eyebrow { color: #d3e2f1; }
.workspace-lead { color: #e0ebf6; max-width: 42rem; }
.summary-grid { margin: 1.5rem 0; }
.summary-grid article { min-height: 115px; border-radius: 4px; border-top: 2px solid var(--accent); box-shadow: 0 3px 15px rgba(3,41,79,.035); }
.summary-grid strong { font-size: 2.5rem; color: var(--ink-deep); }
.summary-grid span, .request-number, .request-dates, .request-meta span, .detail-grid span, .detail-requirements > span, .progress-step, .detail-service-note, .match-contacts span, .property-contacts span, .map-summary, .map-legend, .property-facilities li, .outreach-preparation p, .outreach-message { font-size: .875rem; }
.request-section { border-radius: 4px; }
.section-heading { background: #f8fafc; padding: 1.25rem; }
.section-heading h2 { font-size: 1.25rem; }
.request-card { padding: 1.5rem 1.25rem; }
.request-card:hover { background: #fbfdff; }
.request-title-line { flex-wrap: wrap; }
.status-badge { padding: .25rem .6rem; color: #073d73; background: #e0ebf6; font-size: .875rem; font-weight: 700; border-radius: 3px; }
.request-details { background: #f3f7fb; border-radius: 4px; }
.progress-step.is-current { color: var(--ink); border-top-color: var(--accent); }
.internal-review { background: #edf3f9; border-left-color: var(--accent); }
.matching-panel, .match-contacts { background: #f2f6fa; }
.property-card, .match-card { border-left-width: 2px; border-left-color: var(--hero-blue); }
.match-card.is-selected { border-left-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.match-selection input { accent-color: var(--accent-dark); }
.property-contacts li { background: #eef4fa; }
.property-facilities li { background: #eef4fa; border-radius: 3px; }
.property-marker.is-selected, .map-dot.selected { background: #16805b; }
.empty-state > div { color: var(--accent-dark); background: var(--light-pink); border-radius: 3px; }
dialog { border-radius: 5px; border-top: 4px solid var(--accent); }
dialog::backdrop { background: rgba(1,22,45,.75); }
.icon-button { border-radius: 4px; }
.privacy-note { color: var(--ink-soft); background: #f1f5fa; border-left: 3px solid var(--accent); border-radius: 0; font-size: .875rem; }
.first-request-detail { margin: 1.25rem 0; padding: 1.25rem; background: #f1f5fa; border-left: 3px solid var(--accent); }
.first-request-detail h3 { margin: 0 0 1rem; color: var(--ink-deep); }
.first-request-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem 1.25rem; }
.first-request-grid div { display: grid; gap: .2rem; overflow-wrap: anywhere; }
.first-request-grid span { color: var(--ink-soft); font-size: .875rem; }
.first-request-grid strong { color: var(--ink-deep); font-size: .95rem; }
@media (max-width: 1100px) {
  .workspace-heading { flex-wrap: wrap; }
  .request-card { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .auth-layout, .portal-content { grid-template-columns: 1fr; }
  .auth-intro { min-height: auto; gap: 2.25rem; }
  .auth-intro h1 { max-width: 20ch; }
  .auth-panel { padding: 2rem; }
  .sidebar { min-height: auto; padding: .65rem 1rem; }
}
@media (max-width: 620px) {
  .first-request-grid { grid-template-columns: 1fr; }
  .auth-intro { padding: 1.75rem 1.25rem; }
  .auth-panel { padding: 1.25rem; }
  .auth-intro h1 { font-size: 2.5rem; }
  .portal-header { padding: .75rem 1rem; gap: .75rem; flex-wrap: wrap; }
  .header-actions { gap: .5rem; flex-wrap: wrap; }
  .portal-switch { margin-left: 0; }
  .workspace { padding: 1rem; }
  .workspace-hero .button { align-self: stretch; white-space: normal; }
  .summary-grid { gap: .65rem; }
  .summary-grid article { min-height: 80px; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; }
  .summary-grid strong { font-size: 2rem; }
  .wordmark img { width: 8.5rem; }
  .request-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
  .request-meta strong { overflow-wrap: anywhere; }
}
