:root {
  --red: #cf171b;
  --red-dark: #a50f14;
  --red-light: #fff0ef;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 22px;
  min-height: 80px;
  padding: 11px max(28px, calc((100vw - 1440px) / 2));
  overflow: visible;
  background: radial-gradient(circle at 12% -120%, rgba(207,23,27,.2), transparent 48%), linear-gradient(115deg, #222126, #18191d 58%, #242327);
  border-bottom: 1px solid #39383d;
  box-shadow: 0 9px 27px rgba(26,24,27,.15);
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ae1418, #ee2427 40%, #a81619);
}
.site-header .brand { gap: 11px; width: max-content; max-width: 100%; }
.site-header .brand-mark {
  display: flex;
  align-items: center;
  width: 211px;
  height: 44px;
  overflow: hidden;
}
.site-header .brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.site-header .brand-copy { color: #e9e4e6; font-size: 10px; font-weight: 720; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: max-content;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
  background: rgba(255,255,255,.055);
}
.site-header nav > a, .site-header .reports-dropdown summary {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 9px;
  color: #d0cbce;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
}
.site-header nav > a:hover, .site-header .reports-dropdown summary:hover,
.site-header .reports-dropdown[open] summary { color: #fff; background: rgba(255,255,255,.1); }
.site-header nav > a.active, .site-header .reports-dropdown summary.active {
  color: #fff;
  background: linear-gradient(135deg, #ca2023, #a7151a);
  box-shadow: 0 3px 9px rgba(140,10,15,.26);
}
.site-header .reports-menu { top: calc(100% + 12px); min-width: 230px; border-color: #e2dcdd; box-shadow: 0 18px 38px rgba(0,0,0,.22); }
.site-header .reports-menu a { color: #50494b; font-size: 12px; letter-spacing: 0; }
.site-header .reports-menu a:hover, .site-header .reports-menu a.active { color: var(--red-dark); background: var(--red-light); }
.site-header .account {
  justify-self: end;
  gap: 10px;
  min-width: 0;
  padding: 5px 5px 5px 6px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
  background: rgba(255,255,255,.055);
}
.account-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; background: linear-gradient(135deg, #bc282b, #671e24); color: #fff; font-size: 13px; font-weight: 800; }
.account-copy { display: flex; flex-direction: column; min-width: 0; max-width: 135px; gap: 2px; }
.account-copy strong { overflow: hidden; color: #f4f2f3; font-size: 11px; font-weight: 730; text-overflow: ellipsis; }
.account-copy small { color: #aaa4a7; font-size: 9px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.site-header .account button { min-height: 34px; padding: 0 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; background: rgba(255,255,255,.07); color: #f4f0f1; font-size: 11px; white-space: nowrap; }
.site-header .account button:hover { background: rgba(255,255,255,.15); text-decoration: none; }
.home-body { background: #f4f2f1 !important; }
.home-main { max-width: 1440px; padding-top: 22px; }
.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid #363237;
  border-radius: 24px;
  background: radial-gradient(circle at 80% 18%, rgba(199,29,34,.23), transparent 35%), radial-gradient(circle at 8% 100%, rgba(177,28,32,.13), transparent 42%), linear-gradient(125deg, #29282d, #18191d 64%, #242327);
  box-shadow: 0 26px 55px rgba(36,29,32,.15), 0 3px 8px rgba(36,29,32,.07);
  color: #fff;
}
.home-hero::before, .home-hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.home-hero::before { inset: 0; background: repeating-linear-gradient(125deg, transparent 0 74px, rgba(255,255,255,.025) 75px, transparent 76px 151px); }
.home-hero::after { width: 420px; height: 420px; right: -180px; top: -245px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.018), 0 0 0 160px rgba(255,255,255,.012); }
.home-hero-inner { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 920px; margin: 0 auto; padding: 40px 28px 36px; text-align: center; }
.home-logo-plate { width: min(100%,680px); height: clamp(78px, 11vw, 142px); margin: 0 auto; overflow: hidden; }
.home-logo-plate img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: drop-shadow(0 -1px 0 #fff); }
.home-company { margin-top: 7px; color: #e9e3e5; font-size: 12px; font-weight: 730; letter-spacing: .38em; text-transform: uppercase; }
.home-section-kicker { color: var(--red-dark); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.pgm-section { margin-top: 26px; }
.pgm-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.pgm-section-head h2 { margin: 5px 0 0; color: #292628; font-size: clamp(25px, 2.5vw, 33px); font-weight: 760; letter-spacing: -.045em; }
.pgm-section-head p { margin: 6px 0 0; color: #81797c; font-size: 12px; }
.pgm-controls { display: flex; align-items: center; gap: 12px; padding-bottom: 2px; }
.pgm-status { display: inline-flex; align-items: center; gap: 7px; color: #477b5d; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pgm-status::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: #3aa36a; }
.pgm-status-warning { color: #8d7463; }
.pgm-status-warning::before { background: #d99c58; }
.pgm-refresh { min-height: 36px; padding: 0 12px; border: 1px solid #e4dcdc; border-radius: 9px; background: #fff; color: #a31a20; font-size: 11px; font-weight: 750; }
.pgm-refresh:hover { background: #fff8f7; border-color: #d9c6c5; }
.pgm-refresh:disabled { opacity: .55; cursor: wait; }
.pgm-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.pgm-rhodium { margin-top: 18px; }
.pgm-rhodium .pgm-panel-head { padding-bottom: 12px; }
.pgm-rhodium-source { margin-left: auto; color: #9d1d22; font-size: 11px; font-weight: 750; white-space: nowrap; }
.pgm-rhodium-frame { display: block; width: min(380px,100%); height: 218px; margin: 0 auto 16px; border: 0; background: transparent; }
.pgm-panel { min-width: 0; overflow: hidden; border: 1px solid #e7e0e0; border-radius: 19px; background: #fff; box-shadow: 0 13px 30px rgba(43,33,36,.045), 0 1px 3px rgba(43,33,36,.025); }
.pgm-panel-head { display: flex; align-items: center; gap: 13px; padding: 22px 23px 18px; }
.pgm-panel-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 1px solid #f0d2d2; border-radius: 12px; background: #fff0ef; color: #ba1a20; font-size: 19px; font-weight: 750; }
.pgm-panel-icon-chart { font-size: 23px; }
.pgm-panel-head h3 { margin: 0; color: #302b2d; font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.pgm-panel-head p { margin: 3px 0 0; color: #958b8e; font-size: 11px; }
.pgm-table-wrap { overflow-x: auto; }
.pgm-table { width: 100%; min-width: 460px; border-collapse: collapse; text-align: right; font-variant-numeric: tabular-nums; }
.pgm-table th:first-child, .pgm-table td:first-child { text-align: left; }
.pgm-table th { padding: 12px 23px; border-top: 1px solid #f0ebea; border-bottom: 1px solid #f0ebea; background: #faf8f8; color: #8f8588; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.pgm-table td { max-width: none; padding: 17px 23px; border-bottom: 1px solid #f1ecec; color: #393336; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pgm-table tbody tr:last-child td { border-bottom: 0; }
.pgm-table td strong { display: block; font-size: 13px; }
.pgm-table td small { display: block; margin-top: 3px; color: #a1989b; font-size: 10px; font-weight: 700; }
.pgm-table .pgm-up { color: #278055; }
.pgm-table .pgm-down { color: #b53a3a; }
.pgm-table .pgm-flat, .pgm-table .pgm-unavailable { color: #9c9396; }
.pgm-table .pgm-loading { padding: 25px 23px; color: #8d8386; text-align: left; }
.pgm-footnote { margin: 14px 0 0; color: #888083; font-size: 11px; line-height: 1.6; }
.pgm-footnote a { color: #9d1d22; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
body:not(.auth-body) { background: radial-gradient(circle at 80% 0, rgba(207,23,27,.035), transparent 28%), #f6f5f4; }
.page-head { padding-bottom: 21px; border-bottom: 1px solid #e5dfde; }
.page-head h1 { color: #252326; }
.page-head .today { padding: 8px 11px; border: 1px solid #e9e3e2; border-radius: 999px; background: #fff; color: #766e70; }
.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 5% 8%, rgba(207, 23, 27, .095), transparent 35%),
    radial-gradient(circle at 92% 85%, rgba(38, 33, 38, .07), transparent 35%),
    linear-gradient(145deg, #f8f6f5, #f0eeee);
}
.auth-main {
  width: min(920px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 0;
  border: 1px solid rgba(42,35,38,.08);
  border-radius: 25px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 35px 100px rgba(42, 28, 27, .13), 0 3px 12px rgba(42, 28, 27, .05);
}
.auth-brand {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 490px;
  padding: 46px;
  overflow: hidden;
  background: radial-gradient(circle at 82% 10%, rgba(212,26,32,.24), transparent 39%), linear-gradient(145deg, #302d32, #17181c 75%);
  color: #fff;
}
.auth-brand::before { content: ""; position: absolute; z-index: -1; width: 440px; height: 440px; right: -210px; top: -230px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.012); }
.auth-brand::after { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(125deg, transparent 0 88px, rgba(255,255,255,.018) 89px, transparent 90px 180px); }
.auth-logo-plate { width: min(100%, 395px); height: 78px; overflow: hidden; }
.auth-logo-plate img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.auth-company { color: #f5f0f1; font-size: 12px; font-weight: 760; letter-spacing: .29em; text-transform: uppercase; }
.auth-brand-rule { width: 50px; height: 3px; margin-top: 7px; border-radius: 99px; background: linear-gradient(90deg, #ed3438, #a8151a); box-shadow: 0 0 18px rgba(221,34,40,.5); }
.auth-card {
  align-self: center;
  width: 100%;
  max-width: none;
  padding: clamp(32px, 5vw, 60px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.auth-card h1 { margin: 0 0 30px; color: #242125; font-size: 34px; font-weight: 760; letter-spacing: -.05em; }
.auth-card .entry-form { gap: 20px; }
.auth-card .entry-form label { color: #5c5356; font-size: 12px; letter-spacing: .02em; }
.auth-card input { min-height: 50px; border-radius: 11px; font-size: 15px; }
.auth-card .button { width: 100%; min-height: 50px; margin-top: 6px; border-radius: 11px; font-size: 14px; }
@media (max-width: 1150px) {
  .site-header { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "brand account" "nav nav"; gap: 11px 18px; padding: 13px 28px 12px; }
  .site-header .brand { grid-area: brand; }
  .site-header nav { grid-area: nav; justify-content: flex-start; margin: 0; }
  .site-header .account { grid-area: account; }
}
@media (max-width: 760px) {
  .home-main { padding-top: 14px; }
  .home-hero { min-height: 0; border-radius: 18px; }
  .home-hero-inner { padding: 30px 24px 28px; }
  .pgm-grid { grid-template-columns: 1fr; gap: 13px; }
  .pgm-rhodium { margin-top: 13px; }
}
@media (max-width: 650px) {
  .pgm-section-head { align-items: start; flex-direction: column; gap: 13px; }
  .pgm-controls { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .pgm-table { min-width: 430px; }
  .pgm-table td, .pgm-table th { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 390px) {
  .home-logo-plate { height: 78px; }
  .home-hero-inner { padding: 28px 16px 26px; }
}
@media (max-width: 650px) {
  .site-header { position: relative; padding: 12px 16px; gap: 10px; }
  .site-header .brand-mark { width: 188px; height: 38px; }
  .site-header .brand-copy { display: none; }
  .site-header .account-copy { display: none; }
  .site-header .account { gap: 5px; }
  .site-header nav { width: 100%; }
  .site-header nav > a, .site-header .reports-dropdown summary { min-height: 36px; padding: 0 13px; }
}
@media (max-width: 390px) {
  .site-header .brand-mark { width: 155px; height: 33px; }
  .site-header .account button { padding: 0 8px; }
  .site-header nav { justify-content: space-between; gap: 0; margin: 0; padding: 4px; }
  .site-header nav > a, .site-header .reports-dropdown summary { padding: 0 8px; font-size: 11px; }
}
@media (max-width: 650px) {
  .auth-main { max-width: 430px; display: block; }
  .auth-brand { min-height: 205px; padding: 30px; gap: 13px; }
  .auth-logo-plate { width: min(100%, 275px); height: 57px; }
  .auth-company { font-size: 10px; letter-spacing: .25em; }
  .auth-brand-rule { width: 37px; }
  .auth-card { padding: 30px; }
  .auth-card h1 { font-size: 27px; margin-bottom: 22px; }
}
@media (max-width: 520px) {
  .brand img { width: 164px; }
  .auth-main { width: min(430px, calc(100% - 28px)); }
  .auth-brand { padding: 25px; }
  .auth-card { padding: 25px; }
}
