/* OraWhale LLC · corporate identity for the TradeMetrics workspace. */
:root {
  --orawhale-navy: #0d2638;
  --orawhale-gold: #c8ad7f;
  --orawhale-muted: #8ea2b1;
}

.top {
  min-height: 92px;
  height: auto;
  padding: 18px 34px;
  background: #0d2638;
  border-bottom: 1px solid #365064;
}
.brand { min-width: 0; gap: 15px; }
.brand .mark {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-color: #bda477;
  color: #e6d4b4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: -.08em;
}
.brand-parent {
  display: block;
  color: #f7f8f8;
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -.025em;
  line-height: 1.25;
}
.brand-product {
  display: block;
  margin-top: 6px;
  color: #c7d3dc;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.5;
}
.brand-product em, .brand-product i {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid #566b7c;
  color: #8fa7b9;
  font-size: 8px;
  font-style: normal;
  font-weight: 450;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.brand-divider { align-self: stretch; width: 1px; margin: 1px 8px; background: #415b6d; }
.top .workspace-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  color: #c4d0d9 !important;
  font-size: 9px !important;
  letter-spacing: .08em !important;
  line-height: 1.5;
}
.workspace-meta-label { color: #c7ad82; font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; }
.workspace-meta-location { color: #9db1bf; font-size: 10px; letter-spacing: .02em; }
.layout { min-height: calc(100vh - 92px); }
.navlabel { color: #9ab0c1; letter-spacing: .17em; }

/* A concise company provenance line leaves the analysis as the primary content. */
.workspace-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
  padding: 13px 17px;
  border: 1px solid #dce4e9;
  border-left: 2px solid #b99f70;
  background: #fbfcfd;
  color: #587083;
  font-size: 10px;
  line-height: 1.6;
}
.workspace-banner .company { color: #26485e; font-weight: 600; }
.workspace-banner .product { margin-left: 9px; color: #6a7e8d; }
.workspace-banner .location { color: #778b99; font-size: 9px; letter-spacing: .03em; }
.workspace-banner .eyebrow { margin: 0 0 4px; color: #8d7955; font-size: 8px; letter-spacing: .13em; }

/* Corporate details are complete and legible without competing with the report. */
.corporate-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 33px 36px 31px;
  border-top: 1px solid #d4dee6;
  background: #eaf0f4;
  color: #61798b;
  font-size: 10px;
  line-height: 1.8;
}
.corporate-identity > strong, .corporate-identity > b, .corporate-identity > span:first-child {
  display: block;
  color: #1c3d53;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.corporate-identity p, .corporate-meta p { margin: 5px 0 0; color: #587286; font-size: 10px; }
.corporate-identity small, .corporate-meta small { display: block; margin-top: 7px; color: #718697; font-size: 9px; }
.corporate-footer .footer-label {
  display: block;
  margin-bottom: 9px;
  color: #6f7f8a;
  font-size: 8px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.corporate-address { margin: 0; color: #3d5b70; font-size: 10px; font-style: normal; line-height: 1.85; letter-spacing: .025em; }
.corporate-address > span { display: block; }
.corporate-address address { margin: 0; font-style: normal; }
.corporate-address address span, .corporate-meta > span { display: block; }
.corporate-meta { color: #5c7486; font-size: 9px; }
.corporate-meta > span + span { margin-top: 5px; }
.corporate-identity .footer-note { max-width: 340px; margin-top: 8px; color: #6d8292; font-size: 9px; }
.corporate-footer a { color: #2e5f7e; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .corporate-footer { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 26px 35px; }
  .corporate-meta { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid #d6e0e7; }
}
@media (max-width: 740px) {
  .top { min-height: 83px; padding: 15px 19px; gap: 20px; }
  .brand { gap: 11px; }
  .brand .mark { flex-basis: 38px; width: 38px; height: 38px; font-size: 16px; }
  .brand-parent { font-size: 19px; }
  .brand-product { margin-top: 4px; font-size: 9px; }
  .brand-product em, .brand-product i { display: none; }
  .top .workspace-meta { gap: 4px; font-size: 8px !important; }
  .workspace-meta-label { font-size: 7px; letter-spacing: .08em; }
  .workspace-meta-location { max-width: 100px; font-size: 8px; text-align: right; }
  .layout { min-height: calc(100vh - 83px); }
  .workspace-banner { align-items: flex-start; gap: 12px; margin-bottom: 23px; padding: 12px 13px; font-size: 9px; }
  .workspace-banner .location { max-width: 105px; text-align: right; font-size: 8px; }
  .workspace-banner .product { display: block; margin: 2px 0 0; }
  .corporate-footer { padding: 27px 20px; gap: 22px; font-size: 9px; }
  .corporate-identity > strong, .corporate-identity > b, .corporate-identity > span:first-child { font-size: 14px; }
  .corporate-address { font-size: 9px; }
}
@media (max-width: 440px) {
  .top .workspace-meta { max-width: 95px; }
  .workspace-meta-label { font-size: 6px; }
  .workspace-meta-location { font-size: 7px; }
  .corporate-footer { grid-template-columns: minmax(0, 1fr); }
  .corporate-meta { grid-column: auto; }
  .corporate-address { padding-top: 19px; border-top: 1px solid #d6e0e7; }
}
@media print {
  .top { min-height: 75px; background: #fff; border-bottom: 2px solid #173b53; }
  .brand-parent { color: #173b53; }
  .brand-product { color: #587285; }
  .brand .mark { color: #173b53; border-color: #173b53; }
  .top .workspace-meta { color: #587285 !important; }
  .workspace-banner { break-inside: avoid; }
  .corporate-footer { display: grid; grid-template-columns: 1fr 1fr; padding: 20px 0 0; background: #fff; break-inside: avoid; }
  .corporate-meta { display: none; }
}

/* Full-width analytical sections and aligned numeric column headings. */
#page-overview .twocol, #page-returns .distribution-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
#bucketTable th:last-child, #ddProfileTable th:last-child { text-align: right; }
.distribution-hit { fill: transparent; cursor: crosshair; }
.distribution-hit:focus { outline: none; stroke: #b99f70; stroke-width: 2; }

.plot-tooltip { max-width: min(380px, 94%); white-space: normal; line-height: 1.6; }
