:root {
  --tav-navy: #173e68;
  --tav-navy-deep: #0f3157;
  --tav-blue: #2e638e;
  --tav-gold: #d8aa38;
  --tav-gold-soft: #fff4d7;
  --tav-ink: #233f5c;
  --tav-muted: #71869a;
  --tav-line: #dfe8eb;
  --tav-canvas: #f5f9f9;
  --tav-white: #fff;
}

/* Owner portal sign-in */
.tav-voter-login {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--tav-ink);
  background: linear-gradient(145deg, #fff 0%, #fbfcfa 48%, #edf6f7 100%) !important;
}
.tav-voter-login-shell { display: flex; width: 100%; max-width: 100vw; min-height: 100vh; overflow-x: hidden; flex-direction: column; }
.tav-voter-login-header,
.tav-voter-login-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1220px, calc(100% - 72px));
  margin: 0 auto;
}
.tav-voter-login-header { padding: 27px 0 22px; border-bottom: 1px solid var(--tav-line); }
.tav-voter-login-header img { width: 136px; height: auto; }
.tav-voter-login-header > span { color: #5c748a; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.tav-voter-login-header > span i { display: inline-block; width: 4px; height: 4px; margin: 0 9px 2px; border-radius: 50%; background: var(--tav-gold); }
.tav-voter-login-layout {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, .9fr);
  align-items: center;
  gap: clamp(55px, 9vw, 140px);
  width: min(1120px, calc(100% - 72px));
  margin: 0 auto;
  padding: 55px 0;
}
.tav-voter-welcome { position: relative; }
.tav-voter-welcome:after { position: absolute; top: -44px; right: -30px; width: 210px; height: 210px; border: 1px solid #dfeaed; border-radius: 50%; content: ""; opacity: .75; }
.tav-voter-eyebrow,
.tav-voter-form-kicker { color: var(--tav-blue); font-size: 10px; font-weight: 800; letter-spacing: .19em; }
.tav-voter-eyebrow i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--tav-gold); box-shadow: 0 0 0 4px var(--tav-gold-soft); }
.tav-voter-welcome h1 { position: relative; z-index: 1; margin: 24px 0 20px; color: var(--tav-navy); font-size: clamp(53px, 6vw, 80px); font-weight: 800; line-height: 1.02; letter-spacing: -.065em; }
.tav-voter-welcome h1 em { color: #c49425; font-style: normal; }
.tav-voter-welcome > p { max-width: 480px; color: var(--tav-muted); font-size: 16px; line-height: 1.65; }
.tav-voter-journey { display: flex; align-items: center; gap: 12px; margin-top: 52px; color: #718b9c; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.tav-voter-journey > i { width: 28px; height: 1px; background: #cbdadd; }
.tav-voter-journey b { display: block; margin-bottom: 4px; color: #bf9231; font-size: 9px; }
.tav-voter-login-panel { position: relative; contain: paint; padding: 44px 43px 38px; overflow: hidden; border: 1px solid var(--tav-line); border-top: 4px solid var(--tav-gold); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 28px 65px rgba(26,62,91,.12); animation: tav-voter-enter .7s ease both; }
.tav-voter-panel-mark { position: absolute; top: -46px; right: -35px; display: grid; width: 145px; height: 145px; place-items: center; border-radius: 50%; color: rgba(216,170,56,.2); background: #f7faf8; font-size: 62px; transform: rotate(-10deg); }
.tav-voter-login-panel h2 { max-width: 330px; margin: 10px 0 5px; color: var(--tav-navy); font-size: 31px; font-weight: 800; letter-spacing: -.045em; }
.tav-voter-login-panel h2 span { color: var(--tav-gold); }
.tav-voter-login-panel .login-box-msg { padding: 0 0 28px; color: var(--tav-muted); font-size: 13px; text-align: left; }
.tav-voter-login-panel .form-group { margin-bottom: 18px; }
.tav-voter-login-panel label { margin-bottom: 7px; color: #385773; font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.tav-voter-login-panel .form-control { height: 51px !important; padding: 12px 43px 12px 14px; border: 1px solid #d4e0e5; border-radius: 7px; color: var(--tav-ink); background: #fbfdfd; font-size: 14px !important; }
.tav-voter-login-panel .form-control:focus { border-color: #4e83aa; box-shadow: 0 0 0 3px rgba(54,107,148,.12); }
.tav-voter-login-panel .form-control-feedback { top: 25px; height: 51px; line-height: 51px; color: #8ba2b3; }
.tav-voter-login-options { margin: 2px 0 22px; }
.tav-voter-login-options .checkbox { margin: 0; color: #667e92; font-size: 12px; }
.tav-voter-login-panel .btn-primary { display: flex; align-items: center; justify-content: center; gap: 12px; height: 51px; border: 0; border-radius: 7px; color: #fff; background: var(--tav-navy); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 11px 24px rgba(23,62,104,.18); }
.tav-voter-login-panel .btn-primary:hover,
.tav-voter-login-panel .btn-primary:focus { color: #fff; background: var(--tav-navy-deep); transform: translateY(-1px); }
.tav-voter-help { margin: 23px 0 0; padding-top: 20px; border-top: 1px solid #edf1f2; color: #8497a6; font-size: 11px; line-height: 1.5; }
.tav-voter-help .fa { margin-right: 5px; color: #c59930; }
.tav-voter-login-footer { padding: 20px 0 26px; color: #8ca0ad; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.tav-voter-login-footer .fa { margin-left: 5px; color: #bb9031; }
.tav-voter-login .alert { position: relative; z-index: 2; border: 0; border-radius: 8px; font-size: 12px; }
.tav-voter-login .alert-danger { color: #8e3340; background: #fff0f2; }
.tav-voter-login .alert-warning { color: #7d5d1a; background: #fff6df; }
@keyframes tav-voter-enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Authenticated owner journey */
.tav-voter-portal { min-height: 100vh; color: var(--tav-ink); background: var(--tav-canvas); }
.tav-voter-portal .wrapper { min-height: 100vh; background: var(--tav-canvas) !important; }
.tav-voter-header { position: relative; display: flex; min-height: 72px; padding: 0 max(24px, calc((100% - 1220px)/2)); border-bottom: 1px solid var(--tav-line); background: #fff; box-shadow: 0 5px 20px rgba(24,58,86,.045); }
.tav-voter-header .logo { display: flex; flex: 0 0 160px; align-items: center; width: 160px; height: 72px; padding: 0; background: transparent !important; }
.tav-voter-header .logo-lg { display: block; }
.tav-voter-header .logo-lg img { width: 126px; height: auto; }
.tav-voter-header .logo-mini { display: none; }
.tav-voter-header .navbar { display: flex; flex: 1; align-items: center; min-height: 72px; margin: 0; background: transparent !important; box-shadow: none !important; }
.tav-voter-product { flex: 0 0 auto; color: #58728a; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.tav-voter-nav { display: flex; align-items: center; align-self: stretch; gap: 8px; margin-left: auto; }
.tav-voter-nav a { position: relative; display: flex; align-items: center; gap: 7px; padding: 0 12px; color: #677e90; font-size: 12px; font-weight: 750; }
.tav-voter-nav a:after { position: absolute; right: 11px; bottom: 0; left: 11px; height: 3px; border-radius: 4px 4px 0 0; content: ""; background: transparent; }
.tav-voter-nav a:hover,
.tav-voter-nav a.active { color: var(--tav-navy); }
.tav-voter-nav a.active:after { background: var(--tav-gold); }
.tav-voter-nav .fa { color: #8199aa; }
.tav-voter-header .navbar-custom-menu { margin-left: 13px; }
.tav-voter-logout { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; min-height: 42px; margin-left: 8px; padding: 10px 15px; border: 1px solid #d8e3e7; border-radius: 21px; color: #fff !important; background: var(--tav-navy); font-size: 11px; font-weight: 800; letter-spacing: .035em; }
.tav-voter-logout:hover,
.tav-voter-logout:focus { color: #fff !important; background: var(--tav-navy-deep); }
.tav-voter-header .navbar-custom-menu > .nav > li > a { min-height: 42px; margin-top: 15px; padding: 11px 15px; border: 1px solid #dce6e9; border-radius: 21px; color: var(--tav-navy); background: #f8fbfb; }
.tav-voter-header .dropdown-menu { right: 0; left: auto; width: 190px; padding: 8px; border: 1px solid var(--tav-line); border-radius: 10px; box-shadow: 0 14px 35px rgba(20,54,82,.12); }
.tav-voter-header .user-footer { padding: 0; background: #fff; }
.tav-voter-header .user-footer .btn { display: block; width: 100%; margin: 0; padding: 10px 11px !important; border: 0; border-radius: 6px; color: #46617a; background: transparent; text-align: left; }
.tav-voter-header .user-footer .btn:hover { color: var(--tav-navy); background: #eff5f7; }
.tav-voter-content { min-height: calc(100vh - 127px); margin: 0; padding: 0; background: var(--tav-canvas); }
.tav-voter-content > .content { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 38px 0 55px !important; }
.tav-voter-page-shell { min-height: 410px; padding: 32px !important; border: 1px solid var(--tav-line); border-radius: 16px; background: #fff; box-shadow: 0 11px 30px rgba(23,61,91,.055); }
.tav-voter-portal .alert { border: 0; border-radius: 9px; }
.tav-voter-portal .box-header { margin: -4px 0 22px; padding: 0 0 16px; border-bottom: 1px solid #e7edef; }
.tav-voter-portal .box-header .ion { display: inline-grid; width: 34px; height: 34px; margin-right: 9px; place-items: center; border-radius: 9px; color: #b98d28; background: var(--tav-gold-soft); font-size: 18px; }
.tav-voter-portal .box-title { color: var(--tav-navy); font-size: 24px; font-weight: 800; letter-spacing: -.025em; vertical-align: middle; }
.tav-voter-portal .box-body { color: #536e84; }
.tav-voter-portal .form-group { color: #536e84; }
.tav-voter-portal .form-control { min-height: 48px; border: 1px solid #d3e0e5; border-radius: 7px; color: var(--tav-ink); background: #fbfdfd; box-shadow: none; }
.tav-voter-portal .form-control:focus { border-color: #4e83aa; box-shadow: 0 0 0 3px rgba(54,107,148,.12); }
.tav-voter-portal .btn { border-radius: 7px; font-weight: 750; }
.tav-voter-portal .btn-primary,
.tav-voter-portal .btn-success { color: #fff; background: var(--tav-navy); border-color: var(--tav-navy); }
.tav-voter-portal .btn-primary:hover,
.tav-voter-portal .btn-success:hover { color: #fff; background: var(--tav-navy-deep); border-color: var(--tav-navy-deep); }
.tav-voter-portal .btn-default { color: #46627a; background: #fff; border-color: #d4e0e5; }
.tav-voter-portal a { color: #28628f; }
.tav-voter-portal .page-header { border-color: var(--tav-line); }
.tav-voter-portal .page-header h3 { color: var(--tav-navy); font-weight: 800; }
.tav-voter-portal .font_size > div > div { font-size: 16px !important; }
.tav-voter-portal .chk_box { accent-color: var(--tav-navy); }
.tav-voter-portal .box-body > .row { margin: 0; padding: 13px 10px; border: 0 !important; border-bottom: 1px solid #edf2f3 !important; }
.tav-voter-portal .box-body > .row:first-child { color: #6f8799; background: #f4f8f9; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tav-voter-portal .tav-voter-page-shell > .row > [class*="col-"] > [class*="col-"] > .form-group { margin-bottom: 0; }
.tav-voter-footer { display: flex; justify-content: space-between; min-height: 55px; margin: 0 !important; padding: 18px max(24px, calc((100% - 1220px)/2)) !important; border-top: 1px solid var(--tav-line); color: #8195a4; background: #fff; font-size: 10px; letter-spacing: .06em; }
.tav-voter-footer strong { color: #47637b; }

/* Guided owner screens */
.tav-owner-kicker { color: #52738e; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.tav-owner-kicker i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--tav-gold); box-shadow: 0 0 0 4px var(--tav-gold-soft); }
.tav-owner-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 10px 3px 32px; }
.tav-owner-hero h1,
.tav-owner-list-heading h1,
.tav-pin-copy h1,
.tav-owner-state h1 { margin: 12px 0 7px; color: var(--tav-navy); font-size: 34px; font-weight: 800; letter-spacing: -.04em; }
.tav-owner-hero p,
.tav-owner-list-heading p { margin: 0; color: var(--tav-muted); font-size: 13px; }
.tav-owner-primary,
.tav-owner-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 45px; padding: 10px 17px; border-radius: 7px; font-size: 12px; font-weight: 800; letter-spacing: .035em; }
.tav-owner-primary { color: #fff !important; background: var(--tav-navy) !important; border-color: var(--tav-navy) !important; }
.tav-owner-secondary { color: var(--tav-navy) !important; background: #fff !important; border-color: #d2e0e5 !important; }
.tav-owner-section { overflow: hidden; border: 1px solid var(--tav-line); border-radius: 14px; }
.tav-owner-section-heading { display: flex; align-items: center; gap: 13px; padding: 18px 20px; border-bottom: 1px solid var(--tav-line); background: #f7faf9; }
.tav-owner-section-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: #b68a27; background: var(--tav-gold-soft); }
.tav-owner-section-heading > div { flex: 1; }
.tav-owner-section-heading > div span { color: #8297a6; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.tav-owner-section-heading h2 { margin: 3px 0 0; color: var(--tav-navy); font-size: 18px; font-weight: 800; }
.tav-owner-section-heading > strong { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; color: var(--tav-navy); background: #e8f1f4; }
.tav-owner-unit { display: grid; grid-template-columns: 40px 100px 120px minmax(180px,1fr) auto; align-items: center; gap: 18px; min-height: 75px; padding: 13px 20px; border-bottom: 1px solid #edf2f3; }
.tav-owner-unit:last-child { border-bottom: 0; }
.tav-owner-unit-index { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; color: #51728e; background: #edf4f6; font-size: 10px; font-weight: 800; }
.tav-owner-unit small { display: block; margin-bottom: 3px; color: #91a3b0; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.tav-owner-unit strong { color: #395975; font-size: 13px; }
.tav-owner-name strong { color: var(--tav-navy); }
.tav-owner-share { padding: 6px 9px; border-radius: 6px; color: #81621e; background: var(--tav-gold-soft); font-size: 10px; font-weight: 800; }
.tav-owner-empty { padding: 50px 20px; color: var(--tav-muted); text-align: center; }
.tav-owner-empty .fa { color: #a9bbc5; font-size: 27px; }
.tav-owner-state { max-width: 680px; margin: 45px auto; padding: 55px 40px; border: 1px solid var(--tav-line); border-top: 4px solid var(--tav-gold); border-radius: 17px; background: linear-gradient(145deg,#fff,#f7fbfb); text-align: center; box-shadow: 0 17px 40px rgba(23,61,91,.07); }
.tav-owner-state-icon { display: grid; width: 65px; height: 65px; margin: 0 auto 20px; place-items: center; border-radius: 50%; color: #b78925; background: var(--tav-gold-soft); font-size: 26px; }
.tav-owner-state h1 { margin-top: 13px; }
.tav-owner-state p { max-width: 510px; margin: 0 auto 27px; color: var(--tav-muted); line-height: 1.65; }
.tav-pin-layout { display: grid; grid-template-columns: minmax(0,1fr) 380px; align-items: center; gap: 70px; min-height: 345px; padding: 16px 35px; }
.tav-pin-copy h1 { margin-top: 17px; font-size: 39px; }
.tav-pin-copy > p { max-width: 500px; color: var(--tav-muted); font-size: 14px; line-height: 1.7; }
.tav-pin-notice { display: flex; align-items: center; gap: 13px; max-width: 430px; margin-top: 29px; padding: 14px; border: 1px solid #eadba9; border-radius: 10px; color: #745a21; background: #fff9e9; font-size: 11px; }
.tav-pin-notice > .fa { font-size: 20px; }
.tav-pin-notice strong { display: block; margin-bottom: 2px; color: #5c4616; }
.tav-pin-form { padding: 30px; border: 1px solid var(--tav-line); border-radius: 14px; background: #f8fbfb; }
.tav-pin-form > span { display: block; margin-bottom: 21px; color: #b38827; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.tav-pin-form label { display: block; margin-bottom: 7px; color: #385874; font-size: 11px; font-weight: 800; }
.tav-pin-form .form-control { height: 68px !important; padding: 10px 15px; color: var(--tav-navy); font-size: 30px !important; font-weight: 800; letter-spacing: .25em; text-align: center; }
.tav-pin-form .btn { width: 100%; margin-top: 15px; }
.tav-pin-form small { display: block; margin-top: 17px; color: #8397a6; font-size: 9px; text-align: center; }
.tav-pin-form small .fa { margin-right: 4px; color: #b58b2a; }
.tav-owner-list-heading { padding: 4px 3px 27px; border-bottom: 1px solid var(--tav-line); }
.tav-owner-list-heading + .row { margin-top: 22px; }
.tav-owner-list-heading + .row .box-header { display: none; }
.tav-password-heading { padding: 5px 3px 27px; border-bottom: 1px solid var(--tav-line); text-align: center; }
.tav-password-heading h1 { margin: 12px 0 7px; color: var(--tav-navy); font-size: 31px; font-weight: 800; letter-spacing: -.04em; }
.tav-password-heading p { margin: 0; color: var(--tav-muted); font-size: 12px; }
.tav-password-layout { max-width: 760px; margin: 26px auto 0 !important; }
.tav-password-form { padding: 28px 22px 17px; border: 1px solid var(--tav-line); border-radius: 12px; background: #f8fbfb; }
.tav-password-form h4 { margin: 0 0 24px; color: #798e9e; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.tav-live-ballot { margin: 0 !important; font-size: 15px; }
.tav-ballot-heading { padding: 4px 3px 27px !important; border-bottom: 1px solid var(--tav-line); }
.tav-ballot-heading > span { color: #b38928; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.tav-ballot-heading h1 { max-width: 880px; margin: 12px 0 8px; color: var(--tav-navy); font-size: 28px; font-weight: 800; line-height: 1.35; letter-spacing: -.025em; }
.tav-ballot-heading p { margin: 0; color: var(--tav-muted); font-size: 12px; }
.tav-ballot-options { padding: 24px 3px !important; }
.tav-ballot-options > div { display: flex; align-items: center; min-height: 54px; margin: 0 !important; padding: 10px 14px !important; border-bottom: 1px solid #eaf0f2; color: #3d5b75; background: #fff; }
.tav-ballot-options > div:first-child { border-radius: 8px 8px 0 0; color: #708799; background: #f2f7f8; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.tav-ballot-options input[type="radio"],
.tav-ballot-options input[type="checkbox"] { width: 20px; height: 20px; transform: none !important; accent-color: var(--tav-navy); cursor: pointer; }
.tav-ballot-actions { display: flex; justify-content: flex-end; padding-top: 6px !important; }
.tav-ballot-actions > div { display: flex; width: auto; gap: 10px; padding: 0 !important; }
.tav-ballot-actions .btn { min-height: 45px; padding: 10px 17px; font-size: 12px !important; }
.tav-ballot-actions .save_btn { order: 2; }
.tav-ballot-actions .reset_btn { order: 1; }
@media (max-width: 767px) {
  .tav-owner-hero { align-items: stretch; flex-direction: column; padding-bottom: 24px; }
  .tav-owner-hero h1,
  .tav-owner-list-heading h1,
  .tav-pin-copy h1,
  .tav-owner-state h1 { font-size: 28px; }
  .tav-owner-hero .btn { align-self: flex-start; }
  .tav-owner-unit { grid-template-columns: 35px 1fr 1fr; gap: 12px; padding: 14px; }
  .tav-owner-name { grid-column: 2 / -1; }
  .tav-owner-share { grid-column: 2 / -1; justify-self: start; }
  .tav-owner-state { margin: 15px auto; padding: 39px 20px; }
  .tav-pin-layout { display: block; min-height: 0; padding: 5px 0; }
  .tav-pin-copy { margin-bottom: 28px; }
  .tav-pin-form { padding: 23px; }
  .tav-ballot-heading h1 { font-size: 23px; }
  .tav-ballot-options > div { min-height: 58px; }
  .tav-ballot-actions,
  .tav-ballot-actions > div { display: flex; width: 100%; }
  .tav-ballot-actions .btn { flex: 1; }
}

@media (max-width: 900px) {
  .tav-voter-login-layout { grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); gap: 40px; }
  .tav-voter-welcome h1 { font-size: 49px; }
  .tav-voter-journey { gap: 8px; }
  .tav-voter-journey > i { width: 16px; }
  .tav-voter-product { display: none; }
  .tav-voter-header .logo { flex-basis: 140px; width: 140px; }
  .tav-voter-nav a { padding: 0 8px; font-size: 11px; }
}
@media (max-width: 767px) {
  .tav-voter-login-header,
  .tav-voter-login-footer,
  .tav-voter-login-layout { width: calc(100% - 24px); }
  .tav-voter-login-header { width: calc(100% - 30px); padding: 10px 0 9px; }
  .tav-voter-login-header img { width: 90px; }
  .tav-voter-login-header > span { max-width: 130px; font-size: 8px; text-align: right; }
  .tav-voter-login-layout { display: block; padding: 13px 0 14px; }
  .tav-voter-welcome:after,
  .tav-voter-welcome > p,
  .tav-voter-journey { display: none; }
  .tav-voter-eyebrow { font-size: 8px; }
  .tav-voter-welcome h1 { margin: 8px 0 13px; font-size: clamp(28px, 9.3vw, 38px); line-height: .98; }
  .tav-voter-login-panel { padding: 17px 20px 16px; border-radius: 14px; }
  .tav-voter-panel-mark { top: -56px; right: -52px; transform: scale(.75) rotate(-10deg); }
  .tav-voter-login-panel h2 { margin-top: 5px; font-size: 22px; }
  .tav-voter-login-panel .login-box-msg { padding-bottom: 11px; font-size: 11px; }
  .tav-voter-login-panel .form-group { margin-bottom: 9px; }
  .tav-voter-login-panel label { margin-bottom: 4px; }
  .tav-voter-login-panel .form-control { height: 43px !important; }
  .tav-voter-login-panel .form-control-feedback { top: 21px; height: 43px; line-height: 43px; }
  .tav-voter-login-options { margin: 0 0 9px; }
  .tav-voter-login-panel .btn-primary { height: 43px; }
  .tav-voter-help,
  .tav-voter-login-footer { display: none; }
  .tav-voter-header { display: block; min-height: 126px; padding: 0 15px; }
  .tav-voter-header .logo { width: 100%; height: 59px; border-bottom: 1px solid #edf1f2; }
  .tav-voter-header .logo-lg img { width: 102px; }
  .tav-voter-header .navbar { min-height: 66px; }
  .tav-voter-nav { width: 100%; justify-content: space-between; overflow-x: auto; }
  .tav-voter-nav a { flex-direction: column; gap: 3px; min-width: 57px; padding: 9px 5px 7px; font-size: 9px; }
  .tav-voter-nav a:after { right: 5px; left: 5px; }
  .tav-voter-header .navbar-custom-menu { display: none; }
  .tav-voter-logout { position: absolute; top: 10px; right: 15px; z-index: 2; min-height: 39px; margin: 0; padding: 9px 12px; border-radius: 20px; font-size: 10px; }
  .tav-voter-content { min-height: calc(100vh - 176px); }
  .tav-voter-content > .content { width: calc(100% - 24px); padding: 18px 0 30px !important; }
  .tav-voter-page-shell { min-height: 360px; padding: 20px !important; border-radius: 12px; }
  .tav-voter-portal .box-title { font-size: 21px; }
  .tav-voter-footer { gap: 10px; padding: 15px !important; font-size: 8px; }
}

/* Mobile-first published result detail */
.tav-result-page { max-width: 900px; margin: 0 auto; }
.tav-result-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: #5b758a !important; font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.tav-result-agenda { padding: 28px 30px; border: 1px solid var(--tav-line); border-radius: 14px; background: linear-gradient(145deg,#fff,#f7fbfb); }
.tav-result-agenda h1 { max-width: 760px; margin: 15px 0 25px; color: var(--tav-navy); font-size: 25px; font-weight: 800; line-height: 1.42; letter-spacing: -.02em; text-transform: none; }
.tav-result-meta { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.tav-result-meta > span { position: relative; display: flex; flex-direction: column; min-height: 70px; justify-content: center; padding: 12px 12px 12px 45px; border: 1px solid #dfe8eb; border-radius: 9px; background: #fff; }
.tav-result-meta > span > .fa { position: absolute; left: 14px; color: #bd9130; }
.tav-result-meta small,
.tav-result-values small { margin-bottom: 4px; color: #8a9daa; font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.tav-result-meta strong { color: #3d5c75; font-size: 12px; }
.tav-result-breakdown { margin-top: 16px; padding: 25px 30px 30px; border: 1px solid var(--tav-line); border-radius: 14px; background: #fff; }
.tav-result-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.tav-result-section-heading > div > span { color: #bd9130; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.tav-result-section-heading h2 { margin: 4px 0 0; color: var(--tav-navy); font-size: 21px; font-weight: 800; }
.tav-result-metric { padding: 6px 9px; border-radius: 6px; color: #546f83; background: #edf4f6; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tav-result-cards { display: grid; gap: 11px; }
.tav-result-card { --result-color: #557b98; padding: 17px 18px; border: 1px solid #e0e9ec; border-left: 4px solid var(--result-color); border-radius: 10px; background: #fbfdfd; }
.tav-result-card.tav-result-for { --result-color: #278979; }
.tav-result-card.tav-result-against { --result-color: #bb5863; }
.tav-result-card.tav-result-abstain { --result-color: #9aa9b4; }
.tav-result-card.is-leading { background: linear-gradient(100deg,rgba(39,137,121,.06),#fff); }
.tav-result-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tav-result-choice { display: flex; align-items: center; min-width: 0; gap: 10px; }
.tav-result-choice-icon { display: grid; flex: 0 0 31px; width: 31px; height: 31px; place-items: center; border-radius: 8px; color: var(--result-color); background: #edf3f4; }
.tav-result-choice strong { overflow-wrap: anywhere; color: #33546f; font-size: 13px; }
.tav-result-leading { flex: 0 0 auto; padding: 5px 7px; border-radius: 5px; color: #267564; background: #e3f4ee; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tav-result-values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 12px; }
.tav-result-values span { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 7px; background: #f1f6f7; }
.tav-result-values strong { color: var(--tav-navy); font-size: 20px; line-height: 1; }
.tav-result-progress { height: 7px; overflow: hidden; border-radius: 6px; background: #e7eef0; }
.tav-result-progress span { display: block; height: 100%; border-radius: inherit; background: var(--result-color); }
.tav-result-note { margin: 10px 0 0; color: #8b9ca8; font-size: 10px; }
.tav-result-participant-detail { margin: 18px 0 2px; color: #0b3267; font-size: 16px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.tav-result-bottom-back { margin-top: 17px; }

@media (max-width: 767px) {
  .tav-voter-portal { padding-bottom: 67px; overflow-x: hidden; }
  .tav-voter-header { position: sticky; top: 0; z-index: 1040; display: block; min-height: 59px; padding: 0 15px; }
  .tav-voter-header .logo { width: 100%; height: 59px; border: 0; }
  .tav-voter-header .navbar { position: static; min-height: 0; }
  .tav-voter-nav { position: fixed; z-index: 1050; right: 0; bottom: 0; left: 0; display: flex; width: 100%; height: 67px; justify-content: space-around; margin: 0; overflow: hidden; border-top: 2px solid var(--tav-gold); background: var(--tav-navy-deep); box-shadow: 0 -8px 25px rgba(13,45,75,.17); }
  .tav-voter-nav a { flex: 1; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; padding: 8px 4px 6px; color: #d7e4ec; font-size: 9px; }
  .tav-voter-nav a:hover,
  .tav-voter-nav a.active { color: #fff; background: #1b4b78; }
  .tav-voter-nav a.active:after { top: 0; bottom: auto; background: var(--tav-gold); }
  .tav-voter-nav .fa { color: #d2e0e8; font-size: 17px; }
  .tav-voter-content { min-height: calc(100vh - 59px); }
  .tav-voter-content > .content { width: 100%; padding: 17px 14px 25px !important; }
  .tav-voter-page-shell { min-height: 360px; padding: 0 !important; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .tav-voter-footer { display: none; }
  .tav-owner-section { background: #fff; }
  .tav-owner-list-heading + .row { margin: 13px 0 0; }
  .tav-owner-list-heading + .row > [class*="col-"] { padding: 0; }
  .tav-owner-list-heading + .row .box-body { padding: 0; background: transparent; }
  .tav-owner-list-heading + .row .box-body > .row:first-child { display: none; }
  .tav-owner-list-heading + .row .box-body > .row { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; margin-bottom: 9px; padding: 14px !important; border: 1px solid var(--tav-line) !important; border-radius: 10px; background: #fff; }
  .tav-owner-list-heading + .row .box-body > .row > div { float: none !important; width: auto !important; padding: 0; }
  .tav-owner-list-heading + .row .box-body > .row > div:first-child { grid-column: 1; }
  .tav-owner-list-heading + .row .box-body > .row > div:last-child { grid-column: 2; min-width: 0; }
  .tav-owner-list-heading + .row .box-body > .row a { display: block; color: #345a77; font-size: 13px; line-height: 1.48; }
  .tav-result-page { width: 100%; }
  .tav-result-back { margin: 2px 2px 14px; }
  .tav-result-agenda { padding: 21px 18px; border-radius: 12px; }
  .tav-result-agenda h1 { margin: 13px 0 20px; font-size: 20px; line-height: 1.42; }
  .tav-result-meta { grid-template-columns: 1fr 1fr; }
  .tav-result-meta > span:first-child { grid-column: 1 / -1; }
  .tav-result-breakdown { margin-top: 12px; padding: 20px 16px 21px; border-radius: 12px; }
  .tav-result-section-heading { align-items: flex-start; }
  .tav-result-section-heading h2 { font-size: 19px; }
  .tav-result-card { padding: 15px 13px; }
  .tav-result-card-top { align-items: flex-start; }
  .tav-result-leading { margin-top: 3px; }
  .tav-result-values strong { font-size: 19px; }
  .tav-result-bottom-back { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .tav-voter-login *, .tav-voter-portal * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* Owner meeting documents and moderated Q&A */
.tav-owner-docs article{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #e0e8f2;border-radius:14px;margin-bottom:11px;background:#fff}.tav-owner-docs article>span{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#eef4fb;color:#123f74;font-size:20px}.tav-owner-docs article>div{min-width:0;flex:1}.tav-owner-docs small,.tav-owner-docs em{display:block;color:#748399;font-size:11px}.tav-owner-docs strong{display:block;color:#173d69;font-size:15px;margin:3px 0}.tav-owner-docs a{border-radius:10px;background:#103f73;color:#fff;padding:10px 13px;font-weight:700;white-space:nowrap}.tav-owner-question-form label{display:block;margin:13px 0 6px;color:#304d6f}.tav-owner-question-form .btn{margin-top:14px}.tav-owner-questions article{background:#f8fafc;border:1px solid #e1e8f0;border-left:4px solid #d6a62d;border-radius:12px;padding:14px;margin-bottom:11px}.tav-owner-questions article>span{font-size:10px;font-weight:800;color:#8a6508}.tav-owner-questions article>p{color:#183b63;margin:7px 0}.tav-owner-questions blockquote{font-size:13px;background:#fff;border-left-color:#0b9d75;margin:10px 0;padding:10px}.tav-owner-questions blockquote strong{display:block;color:#087554;margin-bottom:4px}.tav-owner-questions small{color:#748399}
@media(max-width:600px){.tav-owner-docs article{align-items:flex-start;flex-wrap:wrap}.tav-owner-docs article>a{width:100%;text-align:center}.tav-voter-nav{overflow-x:auto}.tav-voter-nav a{flex:0 0 auto}}
.tav-doc-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.tav-doc-actions form{margin:0}.tav-doc-actions button{border-radius:10px;color:#0b3568;border-color:#c9d8e8;background:#fff}
.tav-checkin-card{max-width:900px;margin-left:auto;margin-right:auto}.tav-checkin-status{display:flex;gap:14px;align-items:flex-start;border-radius:16px;padding:18px;margin-bottom:18px;background:#fff7e3;border:1px solid #f3d487;color:#865e00}.tav-checkin-status.is-approved{background:#edf9f3;border-color:#b9e5ce;color:#176744}.tav-checkin-status>i{font-size:30px}.tav-checkin-status div{display:flex;flex-direction:column;gap:3px}.tav-checkin-status strong{font-size:17px}.tav-checkin-policy{display:flex;gap:15px;align-items:center;background:#f5f8fc;border:1px solid #dce6f1;border-radius:16px;padding:18px;margin-bottom:22px}.tav-checkin-policy>span{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#0b3568;color:#fff;font-size:20px}.tav-checkin-policy small{font-weight:800;letter-spacing:.12em;color:#748398}.tav-checkin-policy strong{display:block;color:#0b3568;font-size:18px}.tav-checkin-policy p{margin:2px 0 0;color:#68778a}.tav-attendance-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:10px 0 20px}.tav-attendance-choice label{margin:0;cursor:pointer}.tav-attendance-choice input{position:absolute;opacity:0}.tav-attendance-choice span{display:flex;flex-direction:column;gap:4px;border:2px solid #dce6f1;border-radius:16px;padding:18px;min-height:128px}.tav-attendance-choice input:checked+span{border-color:#dba000;background:#fffaf0;box-shadow:0 8px 24px rgba(11,53,104,.08)}.tav-attendance-choice i{font-size:24px;color:#dba000}.tav-attendance-choice strong{color:#0b3568;font-size:17px}.tav-attendance-choice small{font-weight:400;color:#748398}.tav-location-note{margin:10px 0 0;color:#68778a}
@media(max-width:640px){.tav-doc-actions{align-items:stretch;width:100%}.tav-owner-docs article{flex-wrap:wrap}.tav-attendance-choice{grid-template-columns:1fr}.tav-attendance-choice span{min-height:auto}.tav-checkin-card{padding:16px}}
.tav-checkin-pass{text-transform:uppercase;letter-spacing:.15em;font-weight:800;margin:0 0 18px;min-height:48px;border-radius:12px}
