@charset "UTF-8";
:root {
  --maroon: #741b2b;
  --maroon-dark: #4f1221;
  --ink: #252025;
  --muted: #797178;
  --paper: #faf8f6;
  --line: #e9e2df;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  height: 100%;
}
body {
  margin: 0;
  font: 14px var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
a {
  color: var(--maroon);
  text-decoration: none;
}
a,
button,
input {
  outline-offset: 3px;
}
:focus-visible {
  outline: 2px solid var(--maroon);
}
[hidden] {
  display: none !important;
}
.site-header {
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  background: white;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  min-width: 0;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.brand-copy strong {
  font: 600 20px var(--serif);
  letter-spacing: -0.35px;
}
.brand-copy > span {
  font-size: 7px;
  letter-spacing: 2px;
  color: var(--maroon);
  font-weight: 650;
}
.quiet-link {
  font-size: 11px;
  color: #665e63;
}
.quiet-link > span {
  margin-left: 12px;
  font-size: 16px;
}
.small-caps {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.7px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: white;
}
.button:hover {
  background: #f3ece9;
  border-color: #d0bcc0;
}
.button.primary {
  background: var(--maroon);
  border-color: var(--maroon);
  color: white;
}
.button.primary:hover {
  background: var(--maroon-dark);
}
.button.subtle {
  color: #62575e;
}
.section-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 650;
  color: var(--maroon);
}
.footer-dot {
  margin: 0 6px;
  color: #c1b6b9;
}
/* Both screens use the viewport rather than a minimum content height. */
.login-page,
.dashboard-page {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.login-main {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.story-panel {
  background: var(--maroon);
  color: #fff6f4;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 30px 9%;
  isolation: isolate;
  min-height: 0;
}
.story-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #e6b9be;
}
.story-top .small-caps {
  font-size: 7px;
  line-height: 1.8;
  max-width: 260px;
}
.est {
  font: 11px var(--serif);
  white-space: nowrap;
  color: #eac8cc;
  border: 1px solid #a25662;
  border-radius: 40px;
  padding: 6px 11px;
}
.story-copy {
  margin-top: clamp(26px, 7vh, 80px);
  position: relative;
  z-index: 1;
}
.story-rule {
  display: block;
  width: 34px;
  height: 2px;
  background: #d89da7;
  margin-bottom: 22px;
}
.story-copy h1 {
  font: 400 clamp(40px, min(4.6vw, 8vh), 72px)/1.08 var(--serif);
  letter-spacing: -1.7px;
  margin: 0;
}
.story-copy h1 em {
  color: #edb6be;
  font-weight: 400;
}
.story-copy p {
  font-size: 13px;
  line-height: 1.85;
  color: #e2bdc4;
  max-width: 360px;
  margin: 22px 0 0;
}
.bridge-art {
  margin: 8px -22% -5px;
  color: #c77d89;
  opacity: 0.5;
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-height: 0;
  overflow: hidden;
}
.bridge-art svg {
  width: 100%;
  max-height: 100%;
  display: block;
}
.story-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #934354;
  color: #e4bcc3;
  font-size: 8px;
  line-height: 1.5;
}
.story-bottom > span:first-child {
  font-size: 7px;
  letter-spacing: 1.8px;
}
.story-bottom > span:last-child {
  font: italic 10px var(--serif);
}
.sign-in-panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 36px;
}
.login-card {
  width: 100%;
  max-width: 375px;
}
.tiny-lock {
  font-size: 13px;
  margin-right: 5px;
}
.login-card h2 {
  font: 400 40px var(--serif);
  letter-spacing: -1.2px;
  margin: 15px 0 9px;
}
.card-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 27px;
}
.login-card label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
}
.login-card input:not([type='hidden']) {
  display: block;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #dbd2ce;
  border-radius: 4px;
  color: var(--ink);
  background: white;
  height: 46px;
  font-size: 13px;
}
.login-card input::placeholder {
  color: #aaa1a5;
}
.login-card input:focus {
  border-color: var(--maroon);
  outline: 2px solid #741b2b15;
  outline-offset: 1px;
}
.login-card input#email {
  margin-bottom: 19px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 65px !important;
}
.show-password {
  position: absolute;
  right: 14px;
  top: 0;
  height: 100%;
  border: 0;
  background: none;
  color: var(--maroon);
  font-size: 11px;
  font-weight: 600;
  padding: 0 2px;
}
.form-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 22px;
  font-size: 10px;
  color: var(--muted);
}
.form-note a {
  font-weight: 600;
}
.sign-in {
  width: 100%;
  height: 46px;
  padding: 13px 18px;
  justify-content: space-between;
}
.access-note {
  display: flex;
  gap: 11px;
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 19px;
}
.lock-icon {
  font-size: 12px;
  filter: grayscale(1);
  margin-top: 3px;
}
.access-note p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}
.access-note strong {
  font-weight: 550;
  color: #64585e;
}
.sign-in-footer {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #9b8e95;
  font-size: 10px;
}
.sign-in-footer .small-caps {
  font-size: 7px;
  letter-spacing: 2px;
  color: #7d6972;
}
.form-error {
  border: 1px solid #e7bfc7;
  border-radius: 4px;
  background: #fff0f1;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.5;
  color: #90243a;
  margin-bottom: 16px;
}
.site-footer {
  height: 34px;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  font-size: 9px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: white;
}
/* The report fills every pixel below the slim account header. */
.dashboard-header {
  height: 54px;
  padding: 0 16px;
  gap: 16px;
}
.dashboard-header .brand img {
  width: 34px;
  height: 34px;
}
.dashboard-header .brand-copy strong {
  font-size: 18px;
}
.dashboard-header .brand-copy > span {
  font-size: 6px;
  letter-spacing: 1.7px;
}
.account-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.account-details {
  font-size: 11px;
  color: #6b5b64;
  margin: 0 4px;
}
.account-details strong {
  font-weight: 500;
}
.dashboard-header .button {
  font-size: 11px;
  padding: 8px 12px;
}
.text-button {
  background: none;
  border: 0;
  font-size: 11px;
  color: #7c6a73;
  padding: 6px;
}
.text-button:hover {
  color: var(--maroon);
  background: #f9f3f4;
  border-radius: 3px;
}
.report-dot {
  height: 6px;
  width: 6px;
  background: #b2a5aa;
  border-radius: 50%;
}
.report-dot.live {
  background: #3a8963;
}
.report-card {
  flex: 1;
  min-width: 0;
  min-height: 0;
  width: 100%;
  background: white;
}
.report-stage {
  position: relative;
  height: 100%;
  width: 100%;
}
#powerbi-container {
  height: 100%;
  width: 100%;
}
#powerbi-container iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.report-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
  background: #fffdfc;
  color: var(--muted);
}
.report-overlay h1,
.report-overlay h2 {
  font: 400 26px var(--serif);
  color: #56414a;
  letter-spacing: -0.5px;
  margin: 22px 0 10px;
}
.report-overlay p {
  font-size: 12px;
  max-width: 420px;
  line-height: 1.8;
  margin: 0 0 20px;
}
.report-overlay .error-emblem {
  font: italic 23px var(--serif);
  height: 45px;
  width: 45px;
  border-radius: 50%;
  border: 1px solid #e6d4da;
  background: #faf1f3;
  color: var(--maroon);
  display: grid;
  place-items: center;
}
.error-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.spinner {
  width: 27px;
  height: 27px;
  border: 2px solid #eee2e6;
  border-top-color: var(--maroon);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1000px) {
  .account-details {
    display: none;
  }
  .story-panel {
    padding: 28px 8%;
  }
  .story-top .small-caps {
    max-width: 180px;
  }
  .story-bottom > span:last-child {
    display: none;
  }
}
@media (max-width: 740px) {
  .site-header {
    height: 60px;
    padding: 0 18px;
  }
  .brand {
    gap: 10px;
  }
  .brand-copy strong {
    font-size: 17px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .site-header > .club-link {
    display: none;
  }
  .login-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .story-panel {
    display: none;
  }
  .sign-in-panel {
    padding: 22px 26px;
  }
  .login-card {
    max-width: 390px;
  }
  .login-card input:not([type='hidden']) {
    font-size: 16px;
  }
  .site-footer {
    padding: 0 18px;
    font-size: 8px;
  }
  .site-footer > span:last-child {
    display: none;
  }
  .dashboard-header {
    height: 50px;
    padding: 0 10px;
    gap: 8px;
  }
  .dashboard-header .brand {
    gap: 7px;
  }
  .dashboard-header .brand-copy strong {
    font-size: 14px;
  }
  .dashboard-header .brand-copy > span {
    font-size: 5px;
    letter-spacing: 1px;
  }
  .dashboard-header .brand img {
    height: 28px;
    width: 28px;
  }
  .account-area {
    gap: 6px;
  }
  .dashboard-header .button {
    padding: 7px 9px;
    font-size: 10px;
  }
  .text-button {
    padding: 6px;
    font-size: 15px;
  }
  .text-button span,
  .report-dot {
    display: none;
  }
  .report-overlay h1,
  .report-overlay h2 {
    font-size: 23px;
  }
}
@media (max-width: 420px) {
  .dashboard-header .brand-copy strong {
    font-size: 12px;
    max-width: 170px;
  }
  .account-area {
    gap: 2px;
  }
  .dashboard-header .brand img {
    width: 26px;
    height: 26px;
  }
}
@media (max-height: 740px) {
  .story-copy {
    margin-top: 28px;
  }
  .story-copy h1 {
    font-size: clamp(38px, 7.5vh, 58px);
  }
  .story-copy p {
    font-size: 12px;
    margin-top: 18px;
  }
  .sign-in-panel {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .login-card h2 {
    font-size: 34px;
    margin-top: 10px;
  }
  .card-description {
    margin-bottom: 20px;
  }
  .sign-in-footer {
    display: none;
  }
  .access-note {
    margin-top: 19px;
    padding-top: 15px;
  }
}
@media (max-height: 600px) {
  .login-page .site-header {
    height: 48px;
  }
  .login-page .brand img {
    height: 30px;
    width: 30px;
  }
  .login-page .brand-copy strong {
    font-size: 16px;
  }
  .login-page .brand-copy > span {
    display: none;
  }
  .login-page .site-footer {
    height: 25px;
  }
  .login-card > .section-label,
  .access-note {
    display: none;
  }
  .login-card h2 {
    font-size: 28px;
    margin: 0 0 6px;
  }
  .card-description {
    font-size: 11px;
    margin-bottom: 14px;
  }
  .login-card label {
    font-size: 11px;
    margin-bottom: 5px;
  }
  .login-card input:not([type='hidden']) {
    height: 39px;
    padding: 9px 12px;
  }
  .login-card input#email {
    margin-bottom: 12px;
  }
  .form-note {
    margin: 10px 0 12px;
  }
  .sign-in {
    height: 39px;
    padding: 10px 14px;
  }
  .form-error {
    margin-bottom: 10px;
    padding: 6px 10px;
    font-size: 10px;
  }
  .story-panel {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .story-top .small-caps,
  .story-copy p,
  .story-bottom {
    display: none;
  }
  .story-copy {
    margin-top: 22px;
  }
}
@media (max-height: 400px) {
  .login-page .site-footer,
  .card-description {
    display: none;
  }
  .login-page .site-header {
    height: 42px;
  }
  .sign-in-panel {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
    border-style: dotted;
  }
}
/* Kirsten's account controls stay inside the existing compact header. */
.manage-users-button {
  color: var(--maroon);
  border-color: #d8bac2;
}
.manage-short {
  display: none;
}
#user-manager {
  width: min(460px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 20px 80px #25081340;
}
#user-manager::backdrop {
  background: #25081370;
}
.manager-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}
.manager-heading h2 {
  font: 400 28px var(--serif);
  margin: 0 0 9px;
}
.manager-heading p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.modal-close {
  border: none;
  background: none;
  color: #8b737e;
  font-size: 25px;
  padding: 0 2px;
  line-height: 1;
}
.manager-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin: 21px 0 23px;
}
.manager-tabs button {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 12px;
  padding: 11px 0;
}
.manager-tabs button[aria-selected='true'] {
  color: var(--maroon);
  border-bottom-color: var(--maroon);
  font-weight: 600;
}
#user-manager label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 17px 0 8px;
}
#user-manager input:not([type='hidden']) {
  display: block;
  width: 100%;
  height: 44px;
  border: 1px solid #dbd2ce;
  border-radius: 4px;
  background: white;
  color: var(--ink);
  padding: 11px 12px;
  font-size: 13px;
  min-width: 0;
}
#user-manager input[readonly] {
  background: #fffdfa;
}
.manager-password-row {
  position: relative;
}
.manager-password-row input {
  padding-right: 58px !important;
}
.manager-password-row button {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px;
  border: none;
  background: none;
  color: var(--maroon);
  font-size: 11px;
}
.password-guidance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  margin: 10px 0 0;
  font-size: 10px;
}
.password-guidance button {
  border: none;
  background: none;
  color: var(--maroon);
  font-size: 11px;
  padding: 3px 0;
}
.reset-guidance,
.credential-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  margin: 16px 0 0;
}
#manager-error {
  margin: 18px 0 0;
}
.manager-submit {
  width: 100%;
  margin-top: 23px;
  min-height: 42px;
}
#manager-success {
  font-size: 12px;
  line-height: 1.8;
  color: #446e53;
  background: #eef5ef;
  border: 1px solid #d5e4d7;
  border-radius: 4px;
  padding: 12px;
  margin: 0 0 18px;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
.result-actions .button {
  font-size: 11px;
}
.copy-feedback {
  font-size: 11px;
  line-height: 1.6;
  color: var(--maroon);
  margin-bottom: 0;
}
@media (max-width: 740px) {
  .manage-label {
    display: none;
  }
  .manage-short {
    display: inline;
  }
  #user-manager {
    padding: 22px;
  }
  #user-manager input:not([type='hidden']) {
    font-size: 16px;
  }
}
@media (max-width: 420px) {
  .user-management-enabled .brand-copy strong {
    font-size: 11px;
    max-width: 106px;
    line-height: 1.1;
  }
  .user-management-enabled .button {
    padding: 7px;
    font-size: 9px;
  }
  .user-management-enabled .text-button {
    padding: 4px;
  }
  .result-actions .button {
    width: 100%;
  }
}
