:root {
  color-scheme: dark;
  --page: #07080a;
  --paper: #101318;
  --ink: #f3f5f8;
  --body: #d0d6df;
  --muted: #a7b1be;
  --line: #2d343e;
  --blue: #788eff;
  --link: #afbdff;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: "DM Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --numeric: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(1.1rem, 4.7vw, 4.25rem);
  font: 100%/1.65 var(--sans);
  color: var(--ink);
  background: var(--page);
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ul { margin: 0; }
body { min-height: 100vh; }
button, input { font: inherit; }
button { cursor: pointer; }
button[disabled] { cursor: default; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.32; }
time, .ticker-code, table { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.frame { width: min(calc(100% - var(--gutter) - var(--gutter)), 76rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; z-index: 9; left: 10px; top: 10px; padding: 8px 16px; background: var(--paper); color: var(--ink); }
.mast-inner { display: flex; min-height: 77px; align-items: center; justify-content: space-between; gap: 10px; }
.brand { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; font-size: 1.32rem; font-weight: 750; letter-spacing: -.045em; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--blue); }
.brand-mark::before { content: ""; width: 16px; height: 22px; background: var(--page); clip-path: polygon(52% 0, 94% 0, 64% 39%, 92% 39%, 12% 100%, 34% 55%, 7% 55%); }
.mast nav, .nav-link, .tool-button { display: inline-flex; align-items: center; }
.mast nav { gap: clamp(8px, 2vw, 24px); }
.nav-link, .tool-button { min-height: 44px; justify-content: center; gap: 8px; font-size: .9rem; font-weight: 600; }
.nav-link { text-decoration: none; }
.nav-link:hover { color: var(--link); text-decoration: underline; }
.tool-button { border: 1px solid #414b58; background: transparent; color: var(--blue); border-radius: 8px; padding: 0 14px; }
.tool-button:disabled { color: #a8b1bd; -webkit-text-fill-color: #a8b1bd; opacity: 1; }
.brand, .nav-link, .tool-button { white-space: nowrap; }
.brand-mark { flex-shrink: 0; }

.icon { position: relative; display: inline-block; flex: none; width: 18px; height: 18px; color: inherit; }
.icon-search::before { content: ""; position: absolute; left: 1px; top: 1px; width: 12px; height: 12px; border: 1.65px solid currentColor; border-radius: 50%; }
.icon-search::after { content: ""; position: absolute; left: 11px; top: 12px; width: 7px; height: 1.7px; background: currentColor; transform: rotate(45deg); transform-origin: left; }
.icon-book { height: 14px; border: 1.5px solid currentColor; border-radius: 3px 3px 2px 2px; }
.icon-book::before { content: ""; position: absolute; left: 48%; top: -1px; bottom: -1px; width: 1.5px; background: currentColor; }
.icon-share, .icon-download { width: 16px; height: 15px; border: 1.5px solid currentColor; border-top: 0; border-radius: 0 0 3px 3px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.icon-share::before, .icon-download::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); height: 10px; width: 1.5px; background: currentColor; }
.icon-share::after, .icon-download::after { content: ""; position: absolute; left: 50%; width: 6.5px; height: 6.5px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; }
.icon-share::after { top: 1px; transform: translateX(-50%) rotate(-45deg); }
.icon-download::after { top: 3px; transform: translateX(-50%) rotate(135deg); }

.brief-cover { position: relative; isolation: isolate; overflow: hidden; border-radius: 18px; color: var(--ink); background: #0d1118; }
.industry-plate, .industry-plate img { position: absolute; inset: 0; width: 100%; height: 100%; }
.industry-plate { z-index: -2; pointer-events: none; }
.industry-plate img, .document-cover { -webkit-filter: grayscale(1); filter: grayscale(1); }
.brief-cover::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.cover-eyebrow, .document-type { font-weight: 600; font-size: .88rem; display: flex; align-items: center; gap: 10px; color: var(--link); }
.cover-eyebrow::before, .document-type::before { content: ""; display: inline-block; width: 27px; height: 2px; background: currentColor; }
.risk-list > h2 { font: 650 clamp(1.55rem, 2.45vw, 2.15rem)/1.3 var(--serif); letter-spacing: -.045em; }
.ticker-code { font-family: var(--numeric); }
.score-band { display: inline-flex; align-items: center; width: fit-content; font-size: .8rem; font-weight: 650; border-radius: 4px; padding: 2px 7px; white-space: nowrap; }
.medium { background: #272d43; color: #e3e6ff; }
.high { background: #383146; color: #f5e2ff; }

/* Company brief */
.brief-cover { padding: clamp(25px, 3.9vw, 52px); }
.industry-plate { left: auto; width: 65%; }
.industry-plate img { object-fit: cover; object-position: center 47%; }
.brief-cover::after { background: linear-gradient(90deg, #0b1018 14%, #0b1018 35%, rgb(11 16 24 / 83%) 49%, rgb(11 16 24 / 10%) 82%); }
.cover-identity { width: min(100%, 35rem); }
.cover-identity h1 { margin: 9px 0 7px; font: 650 clamp(2.35rem, 5vw, 4.35rem)/1.2 var(--serif); letter-spacing: -.055em; }
.issuer-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 13px; font-size: .87rem; color: var(--muted); }
.issuer-meta > span { white-space: nowrap; }
.brief-cover .issuer-meta { color: #e1e7ef; }
.score-strip { width: min(100%, 28rem); margin-top: 24px; border-top: 1px solid rgb(228 235 245 / 31%); padding-top: 13px; }
.score-strip h2, .document-grade h2 { font-size: .9rem; font-weight: 550; }
.score-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 9px; margin-top: 3px; }
.score-value { font: 520 clamp(3.1rem, 5.2vw, 4.7rem)/1 Arial, var(--sans); letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.score-total { font: .98rem var(--numeric); color: #cbd6e3; }
.score-line .score-band { align-self: center; margin-left: 5px; }
.brief-content { display: grid; grid-template-columns: minmax(240px, .67fr) minmax(0, 1.45fr); gap: clamp(28px, 5vw, 76px); align-items: start; padding-top: clamp(26px, 3.5vw, 48px); }
.takeaway { padding: clamp(20px, 2.4vw, 32px); border-top: 3px solid #788eff; background: var(--paper); border-radius: 0 0 12px 12px; }
.takeaway > h2 { font-weight: 600; font-size: .9rem; color: var(--link); }
.takeaway h3 { font: 650 clamp(1.38rem, 2.25vw, 2rem)/1.5 var(--serif); letter-spacing: -.04em; margin: 10px 0; text-wrap: balance; }
.takeaway > p, .risk > p, .evidence, .report-article p { color: var(--body); }
.takeaway > p, .risk > p, .report-article p { line-height: 1.82; }
.keep { white-space: nowrap; }
.comparison { padding-top: 14px; margin-top: 16px; border-top: 1px solid var(--line); }
.comparison figcaption { font-size: .84rem; color: var(--muted); margin-bottom: 10px; }
.bar-row { display: grid; grid-template-columns: max-content minmax(28px, 1fr) max-content; align-items: center; gap: 8px; margin-top: 5px; font-size: .83rem; }
.bar-row b { font-weight: 650; font-variant-numeric: tabular-nums; }
.track { height: 5px; background: #303945; border-radius: 4px; }
.track i { display: block; width: var(--fill); height: 100%; border-radius: inherit; background: #8496aa; }
.bar-row:last-child .track i { background: var(--blue); }
.risk-list > h2 { margin: 0 0 13px; }
.risk { padding: 18px 0 14px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.risk h3 { font-size: clamp(1.09rem, 1.7vw, 1.27rem); letter-spacing: -.02em; }
.risk > p { margin-top: 7px; }
.risk details { margin-top: 4px; }
.risk summary { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; cursor: pointer; color: var(--link); font-size: .88rem; font-weight: 600; list-style: none; }
.risk summary::-webkit-details-marker { display: none; }
.risk summary::before { content: "+"; font: 1.2rem/1 var(--numeric); width: .8em; }
.risk details[open] summary::before { content: "−"; }
.evidence { padding: 8px 14px 12px; border-left: 2px solid #46556b; background: var(--paper); font-size: .95rem; }
.evidence p + p { margin-top: 8px; }
.sources { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 9px; }
.sources a { color: var(--link); font-size: .85rem; text-decoration-color: #636a92; }
.sources a:hover { text-decoration-color: currentColor; }
.report-footer { margin: 20px 0 42px; padding-top: 18px; border-top: 1px solid var(--line); }
.full-link { display: flex; align-items: center; gap: 12px; width: fit-content; min-height: 48px; padding: 10px 19px; border-radius: 9px; background: var(--blue); color: #07121e; text-decoration: none; font-weight: 650; }
.full-link:hover { background: #acbaff; }

/* Full report */
.document-mast { display: grid; grid-template-columns: minmax(0, 1fr) 29%; min-height: 220px; overflow: hidden; border-radius: 14px; background: #131920; }
.document-heading { padding: clamp(24px, 3.5vw, 48px); align-self: center; }
.document-type { color: var(--link); }
.document-heading h1 { font: 650 clamp(2.1rem, 4.7vw, 4rem)/1.28 var(--serif); letter-spacing: -.055em; margin: 8px 0 10px; }
.document-cover { width: 100%; height: 100%; object-fit: cover; }
.document-grade { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 15px; }
.document-grade strong { font: 650 1.5rem/1 var(--numeric); letter-spacing: -.05em; }
.document-grade strong small { font: .85rem/1 var(--numeric); letter-spacing: 0; color: var(--muted); }
.reading-layout { display: grid; grid-template-columns: minmax(155px, .37fr) minmax(0, 1.63fr); gap: clamp(32px, 5.3vw, 84px); align-items: start; margin: 30px auto 48px; }
.toc { position: sticky; top: 18px; border-top: 2px solid #555d88; padding-top: 13px; }
.toc summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 12px; font-weight: 650; font-size: .89rem; color: var(--body); cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 8px; height: 8px; margin: 0 5px 4px 0; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.toc details[open] summary::after { margin-bottom: -3px; transform: rotate(225deg); }
.toc-links { display: flex; flex-direction: column; align-items: flex-start; margin-top: 8px; }
.toc a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); text-decoration: none; font-size: .93rem; }
.toc a:hover, .toc a:focus-visible { color: var(--blue); text-decoration: underline; text-decoration-color: var(--blue); }
.report-article { max-width: 51rem; padding-bottom: 20px; min-width: 0; }
.report-article > .abstract { font: 520 clamp(1.1rem, 1.7vw, 1.32rem)/1.82 var(--serif); color: var(--ink); margin: 0 0 22px; }
.report-article section { padding: 22px 0 24px; border-top: 1px solid var(--line); scroll-margin-top: 18px; }
.report-article h2 { font-size: clamp(1.16rem, 2vw, 1.48rem); letter-spacing: -.025em; }
.report-article p { margin-top: 10px; }
.report-article table { width: 100%; border-collapse: collapse; margin: 13px 0 14px; font-size: .96rem; }
.report-article caption { text-align: left; color: var(--muted); font-size: .85rem; padding-bottom: 8px; }
.report-article th, .report-article td { text-align: right; border-bottom: 1px solid var(--line); padding: 9px 10px; }
.report-article th:first-child { text-align: left; }
.report-article thead { background: #18212d; }
.report-article thead th { color: #d4e2f1; font-size: .88rem; }
.report-article tbody th { font-weight: 550; }
.report-article td { font-family: var(--numeric); white-space: nowrap; }
.report-article .sources { margin-top: 12px; }
.reading-end { margin-top: 12px; }
.reading-end a { color: var(--blue); font-weight: 600; }

@media (max-width: 900px) {
  .brief-content { grid-template-columns: minmax(205px, .64fr) minmax(0, 1.2fr); gap: 24px; }
  .reading-layout { grid-template-columns: 145px minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 700px) {
  .brief-content, .reading-layout { display: block; }
  .takeaway { margin-bottom: 26px; }
  .reading-layout { margin-top: 15px; }
  .toc { position: static; border-top: 0; border-bottom: 1px solid var(--line); padding: 0; margin-bottom: 18px; }
  .toc-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 9px; gap: 0 12px; }
  .toc a { min-height: 44px; padding-inline-start: 6px; }
}
@media (max-width: 660px) {
  .mast-inner { min-height: 62px; }
  .brand { font-size: 1.16rem; gap: 8px; }
  .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
  .brand-mark::before { width: 14px; height: 19px; }
  .mast nav { gap: 7px; }
  .mast .nav-link { padding-inline: 5px; }
  .nav-search, .nav-back { font-size: .875rem; }
  .tool-button { min-height: 44px; padding-inline: 11px; }
  .brief-cover, .document-mast { border-radius: 13px; }
  .cover-eyebrow, .document-type { font-size: .81rem; gap: 8px; }
  .cover-eyebrow::before, .document-type::before { width: 20px; }
  .brief-cover { padding: 21px; }
  .industry-plate { width: 85%; }
  .brief-cover::after { background: linear-gradient(90deg, #0b1018 0%, rgb(11 16 24 / 89%) 32%, rgb(11 16 24 / 32%) 90%), linear-gradient(0deg, rgb(6 9 16 / 86%), transparent 78%); }
  .cover-identity h1 { margin: 7px 0; font-size: clamp(2.25rem, 8.8vw, 3.2rem); }
  .issuer-meta { font-size: .81rem; gap: 4px 10px; }
  .score-strip { margin-top: 18px; padding-top: 10px; }
  .score-value { font-size: 3.05rem; }
  .score-strip h2 { font-size: .86rem; }
  .brief-content { padding-top: 18px; }
  .takeaway { padding: 17px 19px; }
  .takeaway h3 { margin-top: 6px; }
  .risk { padding: 14px 0 10px; }
  .risk-list > h2 { margin-bottom: 11px; }
  .comparison { margin-top: 12px; padding-top: 10px; }
  .full-link { width: 100%; justify-content: center; }
  .report-footer { margin-top: 5px; }
  .document-mast { grid-template-columns: minmax(0, 1fr) 22%; min-height: 0; }
  .document-heading { padding: 19px 16px; }
  .document-heading h1 { font-size: clamp(1.65rem, 6vw, 2.15rem); }
  .document-grade { margin-top: 12px; gap: 4px 6px; }
  .document-grade strong { font-size: 1.25rem; }
  .report-article section { padding: 17px 0 20px; }
  .report-article th, .report-article td { padding: 7px 5px; }
  .year { display: block; }
}
@media (max-width: 370px) {
  :root { --gutter: .875rem; }
  .brand { gap: 6px; }
  .nav-back > span[aria-hidden] { display: none; }
  .tool-button { padding-inline: 8px; gap: 5px; font-size: .84rem; }
  .nav-search .nav-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .nav-search { min-width: 40px; }
  .document-mast { grid-template-columns: minmax(0, 1fr) 16%; }
  .report-article table { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0s !important; transition-duration: 0s !important; }
}
@media print {
  :root { color-scheme: light; --page: white; --paper: #f3f5f8; --ink: #111; --body: #222; --muted: #424956; --line: #c5c9cf; --link: #214a71; }
  .document-mast, .report-article thead { background: var(--paper); }
  .report-article thead th { color: var(--ink); }
  .brief-cover { color: #f3f5f8; }
  .frame { width: 100%; }
  .mast nav, .skip-link, .toc, .report-footer, .reading-end { display: none; }
  .brief-content, .reading-layout { display: block; }
  .brief-cover, .document-mast, .takeaway { print-color-adjust: exact; }
  .report-article { max-width: none; }
  h2, h3 { break-after: avoid; }
  table, figure { break-inside: avoid; }
  details::details-content { display: block; content-visibility: visible; }
}

:root { accent-color: var(--blue); -webkit-tap-highlight-color: rgba(120,142,255,.2); }
::selection { background: #b7c3ff; color: #0b1020; }
.stamp { margin-top: 7px; color: var(--muted); font-size: .8rem; }
.unscored { margin: 5px 0; font: 630 1.5rem/1.5 var(--serif); }
.text-cover::after { background: linear-gradient(112deg, #0d1017 22%, #171c2b 72%, #242a43); }
.text-document { display: block; background: linear-gradient(112deg, #11141b 15%, #1b2031); }
.document-picture { min-width: 0; overflow: hidden; }
.document-picture img { min-height: 100%; }
.finding { margin: 20px 0 24px; }
.finding h3 { font-size: 1.08rem; }
.report-article .report-lead { margin: 15px 0 22px; font: 550 clamp(1.08rem, 1.65vw, 1.3rem)/1.8 var(--serif); color: var(--ink); }
.case { border-top: 1px solid var(--line); margin: 0; padding: 22px 0; }
.case:last-child { padding-bottom: 0; }
.case h3 { font: 650 clamp(1.2rem, 1.75vw, 1.46rem)/1.48 var(--serif); }
.risk-reasoning { margin: 12px 0 0; }
.risk-reasoning dt, .follow-up strong { font-size: .84rem; font-weight: 650; color: var(--link); }
.risk-reasoning dt { margin-top: 12px; }
.risk-reasoning dd { margin: 3px 0 0; color: var(--body); line-height: 1.8; }
.analysis-title, .audit-topic h3 { margin-top: 16px; font-size: 1.05rem; }
.report-article .follow-up { border-inline-start: 2px solid var(--blue); padding-inline-start: 13px; }
.follow-up strong { display: block; }
.report-article .analysis-table { font-variant-numeric: tabular-nums; }
.analysis-table tbody tr:last-child { border-bottom: 1px solid var(--line); }
.analysis-table th small { line-height: 1.3; }
.audit-topic, .interim-audit { margin-top: 14px; }
.statement-details summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; min-height: 44px; list-style: none; }
.statement-details summary::-webkit-details-marker { display: none; }
.statement-details summary::after { content: "+"; font: 1.4rem var(--numeric); color: var(--link); }
.statement-details[open] summary::after { content: "−"; }
.calculation summary { width: fit-content; cursor: pointer; color: var(--link); font-size: .86rem; padding-block: 10px; }
.report-article tbody th small { display: block; font-size: .74rem; color: var(--muted); font-weight: 400; }
.report-article table small a { color: var(--link); }
.report-article td small { display: block; font: .74rem/1.5 var(--sans); }
.report-article .notice-list { list-style: none; padding: 0; margin-top: 12px; }
.notice-list li { margin: 8px 0; }
.notice-list time { color: var(--muted); margin-right: 8px; font-size: .85rem; }
.notice-list a { color: var(--link); }
.directory { padding-block: 35px; }
.directory ul { padding-left: 1.4rem; }
.directory li { margin-top: 6px; }
@media (max-width: 370px) {
  .report-article td { white-space: normal; }
  .report-article th, .report-article td { padding-inline: 3px; }
}
@media (max-width: 660px) {
  .case { padding: 18px 0; }
  .report-article .analysis-table { font-size: .84rem; }
  .analysis-table td { font-family: var(--sans); }
  .analysis-table th, .analysis-table td { padding-inline: 4px; }
  .analysis-table thead th { white-space: nowrap; }
  .finding .sources, .audit-topic .sources { gap: 4px 12px; }
}
