:root{--portal-primary:#48372b;--portal-accent:#795432}body{background:#f7f4ef}.portal-topbar,.portal-horizontal-header{border-color:#e2d8ce}.portal-hero{background:linear-gradient(110deg,#382c24,#6c513d)}.portal-brand img,.portal-topbar img,.portal-brand-logo{width:auto;max-width:195px;max-height:75px;object-fit:contain}.portal-card{min-width:0}.portal-card h1,.portal-card h2,.portal-hero h1{font-family:Georgia,serif}.portal-horizontal-nav{flex-wrap:wrap}.portal-card,.portal-card td{overflow-wrap:anywhere}
.portal-body{background:#f7f4ef;color:#31291f}.portal-alerts-hero,.portal-welcome{border-color:#ddcdbb}.portal-brand img{max-height:68px}.portal-topbar a{color:#573d29}.portal-split,.portal-grid,.portal-card{min-width:0}.portal-card .portal-table{max-height:none}.portal-auth-card h1,.portal-alerts-hero h1{font-family:Georgia,serif}

/* The public client entrance follows TVO's website typography and office photography. */
@font-face {
  font-family: "TVO Fira Sans";
  src: url("/fonts/FiraSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
body.portal-body.portal-guest {
  color: #352920;
  background: #f7f5f0;
  font: 16px/1.5 "TVO Fira Sans","Segoe UI",Arial,sans-serif;
}
.portal-guest .portal-horizontal-header { background: white; border: 0; border-bottom: 1px solid #d9d4c9; box-shadow: none; }
.portal-guest .portal-topbar {
  width: min(1120px,calc(100% - 48px)); max-width: none; min-height: 88px; padding: 6px 0;
  margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.portal-body.portal-guest .portal-horizontal-header .portal-brand img { width: auto; max-width: 175px; height: 75px; max-height: 75px; }
.portal-guest .tvo-guest-nav { display: flex; padding: 0; max-width: none; overflow: visible; white-space: normal; align-items: center; flex-wrap: wrap; gap: 8px 26px; }
.portal-guest .tvo-guest-nav a { color: #503a2c; font-weight: 500; text-decoration: none; }
.portal-guest a:hover, .portal-guest .tvo-guest-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.portal-guest .portal-main:has(>.tvo-office-photo) {
  width: min(1040px,calc(100% - 48px)) !important; max-width: none; margin: clamp(26px,5vh,62px) auto !important;
  padding: 0 !important; display: grid; grid-template-columns: 1.02fr 1fr; align-items: stretch;
  overflow: visible; background: white; border: 1px solid #dcd5c8;
}
.portal-guest .tvo-office-photo { align-self: stretch; position: relative; margin: 0; min-width: 0; min-height: 420px; background: #4d4941; overflow: hidden; }
.portal-guest .tvo-office-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 51% 54%; }
.portal-guest .tvo-office-photo figcaption { position: absolute; bottom: 20px; left: 0; padding: 8px 16px; color: white; background: #3c2d22; border-left: 4px solid #f2ba36; font-size: 14px; }
.portal-guest .portal-main>.portal-auth-card {
  width: 100%; min-width: 0; max-width: none; margin: 0; border: 0; box-shadow: none;
  border-radius: 0; padding: clamp(26px,3.8vw,50px); align-self: center;
}
.portal-guest .portal-auth-card .portal-eyebrow { color: #76542b; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.portal-guest .portal-auth-card h1 { color: #392b22; font: 500 clamp(32px,3.8vw,48px)/1.12 Georgia,serif; letter-spacing: -.035em; margin: 5px 0 12px; }
.portal-guest .portal-auth-card p { color: #60574e; line-height: 1.45; margin: 10px 0; }
.portal-guest .portal-auth-card form { display: grid; gap: 14px; margin: 22px 0 12px; }
.portal-guest .portal-auth-card label { font-size: 15px; font-weight: 600; color: #362a20; gap: 5px; }
.portal-guest .portal-auth-card input:not([type=checkbox]):not([type=hidden]) {
  border: 1px solid #aea89e; border-radius: 4px; font: 400 16px/1.4 "TVO Fira Sans","Segoe UI",Arial,sans-serif; min-height: 45px; padding: 9px 12px;
}
.portal-guest :focus-visible { outline: 2px solid #966a27; outline-offset: 3px; }
.portal-guest .portal-auth-card .portal-check { font-weight: 400; }
.portal-guest .portal-auth-card .portal-check input { accent-color: #62402b; }
.portal-guest .portal-auth-card button, .portal-guest .portal-auth-card .portal-button {
  color: white; background: #523626; border: 1px solid #523626; border-radius: 4px; min-height: 46px; padding: 10px 14px; font: inherit; font-weight: 600;
}
.portal-guest .portal-auth-card button:hover { background: #38281e; }
.portal-guest .portal-auth-card .portal-auth-links { display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid #ded8cf; margin-top: 16px; padding-top: 12px; }
.portal-guest .portal-auth-card a, .portal-guest .portal-footer a { color: #60452f; text-underline-offset: 3px; }
.portal-guest .portal-auth-links a { font-size: 14px; font-weight: 500; text-decoration: underline; }
.portal-guest .portal-footer { width: min(1120px,calc(100% - 48px)) !important; max-width: none; margin: 0 auto !important; padding: 18px 0; color: #65584b; border-top: 1px solid #d8d2c5; font-size: 14px; }
@media (max-width: 700px) {
  .portal-guest .portal-topbar { width: calc(100% - 28px); min-height: 64px; }
  .portal-body.portal-guest .portal-horizontal-header .portal-brand img { height: 56px; max-width: 128px; }
  .portal-guest .tvo-guest-nav { justify-content: flex-end; gap: 4px 14px; font-size: 14px; }
  .portal-guest .portal-main:has(>.tvo-office-photo) { width: min(500px,calc(100% - 28px)) !important; margin: 20px auto !important; grid-template-columns: minmax(0,1fr); border-top: 3px solid #c68b26; }
  .portal-guest .tvo-office-photo { display: none; }
  .portal-guest .portal-main>.portal-auth-card { padding: 22px 20px; }
  .portal-guest .portal-footer { width: calc(100% - 28px) !important; flex-wrap: wrap; gap: 8px; }
}
