/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Inter","arguments":[{"subsets":["latin"],"variable":"--font-inter"}],"variableName":"inter"} ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/ba9851c3c22cd980-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/21350d82a1f187e9-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/df0a9ae256c0569c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/8e9860b6e62d6359-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Inter Fallback';src: local("Arial");ascent-override: 90.44%;descent-override: 22.52%;line-gap-override: 0.00%;size-adjust: 107.12%
}.__className_d8ebd1 {font-family: 'Inter', 'Inter Fallback';font-style: normal
}.__variable_d8ebd1 {--font-inter: 'Inter', 'Inter Fallback'
}

/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: var(--font-inter), "Open Sans", ui-sans-serif, system-ui, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-inter), "Open Sans", ui-sans-serif, system-ui, sans-serif;
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .relative {
    position: relative;
  }
  .flex {
    display: flex;
  }
  .hidden {
    display: none;
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .flex-1 {
    flex: 1;
  }
  .resize {
    resize: both;
  }
  .flex-col {
    flex-direction: column;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
:root {
  --pri-bg: #f3f6fb;
  --pri-card: #ffffff;
  --pri-border: #d5e3f4;
  --pri-text: #122033;
  --pri-muted: #5c6e84;
  --pri-primary: #1f6feb;
  --pri-primary-hover: #1a5ed0;
  --pri-navy: #0f1b31;
  --pri-warning-bg: #fff6d8;
  --pri-warning: #8a6a10;
  --pri-danger: #dc3545;
  --pri-shadow: 0 12px 28px rgba(22, 58, 115, 0.12);
}
html {
  background: var(--pri-bg);
  color: var(--pri-text);
}
body {
  min-height: 100vh;
  background: radial-gradient(1000px 480px at 18% -12%, rgba(31, 111, 235, 0.16), transparent 58%),
    var(--pri-bg);
  color: var(--pri-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
:focus-visible {
  outline: 2px solid var(--pri-primary);
  outline-offset: 2px;
}
a {
  color: var(--pri-primary);
}
a:hover {
  color: var(--pri-primary-hover);
}
.suite-nav {
  background: linear-gradient(90deg, rgba(15, 27, 49, 0.98) 0%, rgba(31, 111, 235, 0.98) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.suite-nav a {
  color: #e6edf3;
  text-decoration: none;
}
.suite-nav a:hover {
  color: #fff;
}
.suite-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(1120px, calc(100% - 1.6rem));
  margin: 0 auto;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  font-weight: 600;
  color: #e6edf3;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}
.brand-name {
  font-size: 1rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-name span {
  font-weight: 400;
  opacity: 0.9;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
}
.nav-links a {
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  font-size: 0.95rem;
}
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
}
.disclaimer {
  margin: 0;
  padding: 0.45rem 1rem;
  background: var(--pri-warning-bg);
  color: var(--pri-warning);
  border-bottom: 1px solid #f0e0a8;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}
.page {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
}
.page-viewer {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
body:has(.page-viewer) {
  height: 100vh;
  overflow: hidden;
  background: #07090c;
}
body:has(.page-viewer) .flex-1 {
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
body:has(.page-viewer) .suite-nav {
  background: #0e1218;
  box-shadow: none;
  border-bottom: 1px solid #242a32;
}
body:has(.page-viewer) .suite-footer {
  display: none;
}
.page-narrow {
  width: min(640px, calc(100% - 2rem));
}
h1 {
  margin: 0 0 0.45rem;
  color: var(--pri-primary);
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  margin-bottom: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  background: radial-gradient(420px 140px at 100% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(115deg, #163a73 0%, #1f6feb 58%, #3aa0e8 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(22, 58, 115, 0.22);
}
.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}
.kicker {
  margin: 0 0 0.25rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.hero p {
  margin: 0.45rem 0 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}
.hero-mark {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kpi {
  min-height: 124px;
  padding: 16px;
  border: 1px solid #c5daf6;
  border-radius: 14px;
  background: linear-gradient(165deg, #dceaff 0%, #ffffff 62%);
  box-shadow: 0 10px 24px rgba(22, 58, 115, 0.12);
}
.kpi:nth-child(2) {
  border-color: #bfe4f8;
  background: linear-gradient(165deg, #d7f0ff 0%, #ffffff 62%);
}
.kpi:nth-child(3) {
  border-color: #d0d8f8;
  background: linear-gradient(165deg, #e4e9ff 0%, #ffffff 62%);
}
.kpi-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.kpi-link:hover h2 {
  text-decoration: underline;
}
.kpi-index {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pri-muted);
}
.kpi h2 {
  margin: 0.35rem 0 0;
  color: var(--pri-primary);
  font-size: 1.2rem;
  font-weight: 600;
}
.kpi p,
.lede,
.muted {
  color: var(--pri-muted);
  line-height: 1.55;
}
.kpi p {
  margin: 0.4rem 0 0;
}
.notes {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.1rem;
  max-width: 42rem;
  font-size: 0.92rem;
}
.panel {
  margin-top: 1rem;
  padding: 1.15rem 1.2rem;
  background: var(--pri-card);
  border: 1px solid var(--pri-border);
  border-radius: 16px;
  box-shadow: var(--pri-shadow);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.field input[type="email"],
.field input[type="text"],
.field input[type="search"] {
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--pri-border);
  border-radius: 10px;
  background: #fff;
  color: var(--pri-text);
  font: inherit;
  font-weight: 400;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--pri-text);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 0.95rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--pri-primary);
  color: #fff;
  border-color: #1a5ed0;
}
.btn-primary:hover {
  background: var(--pri-primary-hover);
  color: #fff;
}
.btn-outline {
  background: #fff;
  color: var(--pri-text);
  border-color: var(--pri-border);
}
.btn-outline:hover {
  border-color: var(--pri-primary);
  color: var(--pri-primary);
}
.btn-danger {
  background: var(--pri-danger);
  color: #fff;
  border-color: #c12b3a;
}
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.alert {
  margin-top: 0.9rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.35);
  color: #9f1239;
  font-size: 0.9rem;
  font-weight: 600;
}
.meta {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
}
.meta dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pri-muted);
}
.meta dd {
  margin: 0.1rem 0 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
  margin-top: 1.1rem;
  align-items: center;
}
.source-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0.7rem;
}
.filter-row .btn {
  height: 2.1rem;
  padding: 0 0.7rem;
  font-size: 0.86rem;
}
.search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.6rem;
  margin: 0.4rem 0 1.1rem;
}
.search-row .field {
  flex: 1 1 16rem;
}
.hit-list {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
}
.hit-list li + li {
  margin-top: 0.25rem;
}
.source-list h2 {
  margin: 0;
  color: var(--pri-primary);
  font-size: 1.15rem;
}
.suite-footer {
  margin-top: auto;
  background: #f7fafd;
  color: #5c7088;
  border-top: 1px solid #e3ebf4;
  font-size: 0.82rem;
}
.suite-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.9rem 0;
}
.suite-footer a {
  color: #3d6494;
  font-weight: 600;
  text-decoration: none;
}
.suite-footer a:hover {
  color: var(--pri-primary);
}
.viewer {
  flex: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 292px;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "rail stage panel"
    "credit credit credit";
  background: #07090c;
  color: #d5dde6;
}
.viewer-rail {
  grid-area: rail;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  min-height: 0;
  padding: 0.55rem 0.5rem;
  overflow: auto;
  background: #12161c;
  border-right: 1px solid #242a32;
}
.rail-back {
  display: block;
  margin-bottom: 0.35rem;
  padding: 0.35rem 0.45rem;
  color: #9eb0c4;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.rail-back:hover {
  color: #fff;
}
.rail-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.45rem;
  border-top: 1px solid #242a32;
}
.rail-label {
  margin: 0.15rem 0.45rem 0.2rem;
  color: #7f8c9b;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rail-btn {
  width: 100%;
  min-height: 1.85rem;
  padding: 0.32rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: #c5d0dc;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.rail-btn:hover {
  background: #1c232c;
  color: #fff;
}
.rail-btn[aria-pressed="true"] {
  background: #17345c;
  border-color: #2f6fce;
  color: #fff;
}
.rail-btn-quiet {
  margin-top: auto;
  color: #8b97a6;
}
.rail-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.viewer-stage {
  grid-area: stage;
  position: relative;
  min-width: 0;
  min-height: 0;
  background: #000;
  overflow: hidden;
}
.viewer-pane {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #000;
}
.viewer-stage:not(.is-mpr) .viewer-pane-axial {
  position: absolute;
  inset: 0;
}
.viewer-stage.is-mpr {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2px;
  background: #1a1f26;
}
.viewer-stage.is-mpr .viewer-pane-axial {
  grid-row: 1 / span 2;
}
.pane-label {
  position: absolute;
  z-index: 1;
  top: 0.45rem;
  left: 0.6rem;
  margin: 0;
  color: #f3d36b;
  font-size: 0.78rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}
.viewer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  touch-action: none;
}
.viewport-hud {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  color: #f3d36b;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  font-size: 0.82rem;
  line-height: 1.35;
}
.hud {
  position: absolute;
  margin: 0;
}
.hud-tl {
  top: 0.7rem;
  left: 0.85rem;
}
.hud-tr {
  top: 0.7rem;
  right: 0.85rem;
  text-align: right;
}
.hud-bl {
  left: 0.85rem;
  bottom: 2.3rem;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}
.hud h1,
.hud p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 500;
  letter-spacing: 0;
  line-height: inherit;
}
.hud h1 {
  font-weight: 600;
}
.viewport-film {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.15rem 0.85rem 0.4rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}
.slice-slider {
  width: 100%;
  accent-color: #f3d36b;
}
.viewer-status {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1rem;
  color: #f3d36b;
  text-align: center;
  pointer-events: none;
}
.structure-tip {
  position: absolute;
  z-index: 4;
  max-width: 16rem;
  margin: 0;
  padding: 0.28rem 0.45rem;
  border: 1px solid rgba(243, 211, 107, 0.75);
  border-radius: 2px;
  background: rgba(8, 10, 14, 0.9);
  color: #f3d36b;
  pointer-events: none;
  transform: translate(12px, 12px);
}
.structure-tip strong,
.structure-tip span {
  display: block;
}
.structure-tip span {
  color: #d5dde6;
  font-size: 0.75rem;
}
.structure-panel {
  grid-area: panel;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 0.7rem 0.75rem 1rem;
  border-left: 1px solid #242a32;
  background: #12161c;
  color: #d5dde6;
  scrollbar-color: #3a4452 transparent;
}
.structure-panel h2 {
  margin: 0.85rem 0 0.3rem;
  color: #7f8c9b;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.structure-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.structure-panel li label {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  padding: 0.28rem 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}
.structure-panel li.is-hovered label {
  background: #17345c;
  border-radius: 2px;
}
.structure-panel small {
  display: block;
  color: #8b97a6;
  font-weight: 400;
}
.structure-panel .field {
  color: #c5d0dc;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.structure-panel input[type="search"] {
  height: 2rem;
  padding: 0 0.55rem;
  border: 1px solid #343c48;
  border-radius: 2px;
  background: #0c0f13;
  color: #e8eef5;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.structure-panel input[type="range"] {
  accent-color: #f3d36b;
}
.structure-panel input[type="checkbox"] {
  margin-top: 0.18rem;
  accent-color: #3d7eef;
}
.structure-panel .btn {
  height: 1.85rem;
  padding: 0 0.55rem;
  border-radius: 2px;
  font-size: 0.75rem;
}
.structure-panel .btn-outline {
  background: transparent;
  color: #c5d0dc;
  border-color: #343c48;
}
.structure-panel .btn-outline:hover {
  color: #fff;
  border-color: #6d7c8e;
}
.structure-panel .btn-primary {
  background: #17345c;
  border-color: #2f6fce;
  color: #fff;
}
.structure-panel .btn-primary:hover {
  background: #1d4274;
  color: #fff;
}
.swatch {
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.28rem;
  border-radius: 1px;
  flex: 0 0 auto;
}
.structure-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.structure-count {
  margin: 0;
  color: #8b97a6;
  font-size: 0.75rem;
}
.tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.viewer-credit {
  grid-area: credit;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem 0.85rem 0.5rem;
  background: #0e1218;
  border-top: 1px solid #242a32;
}
.viewer-note {
  margin: 0;
  color: #8b97a6;
  font-size: 0.75rem;
}
.attribution {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #b7c2ce;
  font-size: 0.75rem;
  line-height: 1.4;
}
.attribution p {
  margin: 0;
}
.attribution a {
  color: #9ec0ff;
}
.attribution p + p {
  margin-top: 0.1rem;
  color: #8b97a6;
}
@media (max-width: 900px) {
  body:has(.page-viewer) {
    height: auto;
    overflow: auto;
  }
  body:has(.page-viewer) .flex-1,
  .page-viewer,
  .viewer {
    height: auto;
    overflow: visible;
  }
  .viewer {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(420px, 72vh) auto auto;
    grid-template-areas: "rail"
      "stage"
      "panel"
      "credit";
  }
  .viewer-rail {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid #242a32;
  }
  .rail-group {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 0;
    border-top: 0;
  }
  .rail-btn,
  .rail-back {
    width: auto;
  }
  .rail-btn-quiet {
    margin-top: 0;
  }
  .viewer-stage {
    min-height: 420px;
  }
  .viewer-stage.is-mpr {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(280px, 48vh) minmax(180px, 28vh) minmax(180px, 28vh);
  }
  .viewer-stage.is-mpr .viewer-pane-axial {
    grid-row: auto;
  }
  .structure-panel {
    max-height: 24rem;
    border-left: 0;
    border-top: 1px solid #242a32;
  }
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .hero-mark {
    display: none;
  }
}

