/* PlagLab — ResearchGuru's evidence desk. Runtime tokens are documented in DESIGN.md. */
:root {
  color-scheme: light;
  --pl-primary: #635bff;
  --pl-primary-hover: #5147e8;
  --pl-primary-ink: #5147dc;
  --pl-primary-soft: #eeeaff;
  --pl-ink: #0a2540;
  --pl-surface: #ffffff;
  --pl-bg: #f5f7fc;
  --pl-muted: #52627a;
  --pl-faint: #607188;
  --pl-line: #e1e7f0;
  --pl-cyan: #0891b2;
  --pl-cyan-ink: #087b96;
  --pl-gold: #c58c28;
  --pl-success: #16805d;
  --pl-warning: #a86615;
  --pl-warning-ink: #8e5510;
  --pl-danger: #c43c55;
  --pl-sidebar: 260px;
  --pl-header: 68px;
  --pl-radius: 12px;
  --pl-control-radius: 9px;
  --pl-ease: cubic-bezier(.22, 1, .36, 1);
  --pl-spring: cubic-bezier(.18, .85, .3, 1.12);
  --pl-shadow: 0 3px 9px #0a254006, 0 16px 32px -28px #0a254042;
  --pl-scroll-thumb: #b9c5d8;
  --pl-scroll-track: #f0f3f9;
  --pl-scroll-hover: #8e9eb7;
  --pl-scroll-active: #7186a3;
  --paper: var(--pl-bg);
  --paper-2: #f0f3fa;
  --paper-deep: #e7edf6;
  --card: var(--pl-surface);
  --ink: var(--pl-ink);
  --ink-soft: var(--pl-muted);
  --ink-faint: var(--pl-faint);
  --line: var(--pl-line);
  --line-soft: #edf0f7;
  --navy: var(--pl-primary);
  --navy-deep: var(--pl-primary-hover);
  --purple: var(--pl-primary);
  --crimson: var(--pl-danger);
  --sage: var(--pl-success);
  --amber: var(--pl-warning-ink);
  --orange: var(--pl-gold);
  --ac: var(--pl-primary);
  --bg: var(--pl-bg);
  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: var(--display);
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  scrollbar-color: var(--pl-scroll-thumb) var(--pl-scroll-track);
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}
* { scrollbar-color: var(--pl-scroll-thumb) var(--pl-scroll-track); scrollbar-width: thin; }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-track { background: var(--pl-scroll-track); }
*::-webkit-scrollbar-thumb { background: var(--pl-scroll-thumb); border: 2px solid var(--pl-scroll-track); border-radius: 9px; }
*::-webkit-scrollbar-thumb:hover { background: var(--pl-scroll-hover); }
*::-webkit-scrollbar-thumb:active { background: var(--pl-scroll-active); }
[hidden] { display: none !important; }
.pl-app { margin: 0; padding: 0 0 0 var(--pl-sidebar); background: var(--pl-bg); background-image: none; color: var(--pl-ink); font-family: var(--display); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
:where(.pl-app) :where(button, input, select, textarea) { font: inherit; }
.pl-app button, .pl-app a, .pl-app summary, .pl-app select { -webkit-tap-highlight-color: transparent; }
.pl-app button, .pl-app summary, .pl-app select { cursor: pointer; }
.pl-app button:disabled, .pl-app [aria-disabled="true"] { cursor: not-allowed; opacity: .55; transform: none; }
.pl-app :focus-visible { outline: 3px solid #a39cff; outline-offset: 3px; }
.pl-app h1, .pl-app h2, .pl-app h3 { color: var(--pl-ink); font-family: var(--display); letter-spacing: -.035em; }
.pl-app textarea { resize: none; }
.pl-app a { text-underline-offset: 3px; }
.pl-app svg { flex-shrink: 0; }
.pl-skip { position: fixed; left: 16px; top: 12px; z-index: 1200; transform: translateY(-150%); padding: 12px 18px; border-radius: 8px; color: white; background: var(--pl-ink); }
.pl-skip:focus { transform: none; }
.pl-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 60; width: var(--pl-sidebar); display: flex; flex-direction: column; padding: 24px 14px 18px; background: var(--pl-surface); border-right: 1px solid var(--pl-line); overflow-y: auto; overscroll-behavior: contain; }
.pl-brand-row { display: flex; align-items: center; justify-content: space-between; padding: 0 5px 34px; min-height: 65px; }
.pl-brand { display: flex; align-items: center; gap: 7px; text-decoration: none; color: var(--pl-ink); white-space: nowrap; font: 700 20px/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
.pl-brand img { width: 34px; height: 34px; object-fit: contain; }
.pl-brand-guru { color: var(--pl-primary); }
.pl-brand-ai { color: var(--pl-gold); }
.pl-rail-nav { display: grid; gap: 6px; }
.pl-nav-item { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 13px; padding: 12px 16px; border: 1px solid transparent; border-radius: var(--pl-control-radius); background: transparent; color: var(--pl-ink); text-align: left; text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.45; position: relative; transition: background 180ms, color 180ms, transform 200ms var(--pl-ease); }
.pl-nav-item img, .pl-nav-item svg { width: 21px; height: 21px; opacity: .83; }
.pl-nav-item svg, .pl-icon-btn svg, .pl-breadcrumb svg, .pl-button svg, .ws-ghost svg, .pl-search svg, .pl-page-button svg, .pl-actions-menu svg, .pl-signal-guidance svg, .colophon svg, .pl-notice svg { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.pl-nav-item:hover { background: #f4f3ff; color: var(--pl-primary-ink); transform: translateX(2px); }
.pl-nav-item:active { transform: translateX(2px) scale(.985); }
.pl-nav-item.is-current { color: var(--pl-primary-ink); background: var(--pl-primary-soft); font-weight: 650; }
.pl-nav-item.is-current img { filter: invert(34%) sepia(97%) saturate(1974%) hue-rotate(232deg) brightness(96%) contrast(103%); opacity: 1; }
.pl-nav-item.is-current i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-left: auto; }
.pl-nav-divider { height: 1px; background: var(--pl-line); margin: 13px 13px; }
.pl-sidebar-foot { margin-top: auto; padding-top: 26px; }
.pl-sidebar-foot .pl-nav-item { border-top: 1px solid var(--pl-line); border-radius: 0; }
.pl-topbar.svc-switch { position: sticky; top: 0; z-index: 45; height: var(--pl-header); min-height: var(--pl-header); padding: 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--pl-surface); border: 0; border-bottom: 1px solid var(--pl-line); box-shadow: none; font-size: 13px; }
.pl-breadcrumb, .pl-breadcrumb a { display: flex; align-items: center; gap: 15px; }
.pl-breadcrumb { color: var(--pl-faint); white-space: nowrap; }
.pl-breadcrumb a { color: var(--pl-muted); text-decoration: none; }
.pl-breadcrumb a:hover { color: var(--pl-primary-ink); }
.pl-breadcrumb svg { width: 20px; height: 20px; }
.pl-breadcrumb [aria-current] { color: var(--pl-ink); font-weight: 650; }
.pl-account { display: flex; align-items: center; gap: 18px; min-width: 0; }
.pl-all-tools { display: flex; align-items: center; gap: 7px; flex: none; color: var(--pl-primary-ink); font-weight: 600; text-decoration: none; }
.pl-all-tools:hover { color: var(--pl-primary-hover); }
.pl-all-tools img { width: 18px; height: 18px; }
.pl-account #rg-account { padding-left: 16px; border-left: 1px solid var(--pl-line); gap: 7px; }
.pl-account .rg-pill, .pl-account .rg-login, .pl-account .rg-open { border-radius: 7px; font-size: 12px; }
.pl-account .rg-open { padding: 8px 10px; }
.pl-app #rg-account .rg-auth-cta { font-size: 11px; padding: 8px 12px; border-radius: 7px; background: var(--pl-primary); box-shadow: 0 2px 5px #635bff16; white-space: nowrap; text-decoration: none; }
.pl-app #rg-account .rg-auth-cta:hover { background: var(--pl-primary-hover); }
.pl-app #rg-account .rg-auth-ghost { font-size: 11px; padding: 6px 3px; color: var(--pl-ink); white-space: nowrap; }
.pl-page-heading.masthead { position: relative; text-align: left; max-width: 1600px; margin: 0 auto; padding: 28px 32px 23px; border: 0; background: none; }
.pl-page-heading h1 { font-size: 38px; font-weight: 700; line-height: 1.15; margin: 0 0 7px; letter-spacing: -.045em; }
.pl-page-heading p { color: var(--pl-muted); font-size: 16px; line-height: 1.5; margin: 0; }
.pl-app main.pl-main { max-width: 1600px; width: 100%; margin: 0 auto; padding: 0 32px 28px; }
.pl-app[data-view="report"] main.pl-main { padding-top: 28px; }
.pl-app .view:not([hidden]) { animation: pl-view-in 420ms var(--pl-ease) both; }
.ws-console { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 31%); padding: 23px; border: 1px solid var(--pl-line); border-radius: var(--pl-radius); background: var(--pl-surface); box-shadow: var(--pl-shadow); }
.ws-tray-col { min-width: 0; padding-right: 24px; }
.pl-panel-title { font-size: 21px; line-height: 1.35; font-weight: 650; margin: 0 0 18px; }
.ws-tray { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 432px; padding: 16px 18px 18px; border: 1.5px dashed #ada4ff; border-radius: 11px; background: radial-gradient(ellipse at 50% 28%, #efebff 0, #f8f6ff 58%, #f7f5ff 100%); position: relative; isolation: isolate; color: var(--pl-ink); text-align: center; overflow: hidden; transition: border-color 180ms, background-color 180ms, box-shadow 200ms; }
.ws-tray:hover, .ws-tray.drag { border-color: var(--pl-primary-ink); box-shadow: inset 0 0 0 1px #635bff25, 0 0 0 4px #635bff07; }
.ws-tray.drag { background: #ece8ff; }
.ws-tray:active:not(:disabled) .pl-upload-action { transform: scale(.98); }
.pl-evidence-art { display: block; width: 270px; height: 178px; max-width: 75%; margin: 0 auto 12px; position: relative; pointer-events: none; }
.pl-evidence-art img { display: block; width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 70%; animation: pl-lens-float 7s ease-in-out infinite; animation-play-state: paused; }
.pl-evidence-art.is-visible img { animation-play-state: running; }
.pl-scan-light { position: absolute; left: 21%; top: 28%; width: 54%; height: 2px; background: linear-gradient(90deg, transparent, #a499ff, #76e2ee, transparent); opacity: 0; pointer-events: none; }
.ws-tray:hover .pl-scan-light, .ws-tray.drag .pl-scan-light { opacity: .75; animation: pl-scan-sweep 1.8s var(--pl-ease) infinite; }
.ws-tray-title { display: block; font-size: clamp(21px, 1.8vw, 27px); font-weight: 650; letter-spacing: -.04em; line-height: 1.3; }
.ws-tray-sub { display: block; color: var(--pl-muted); font-size: 15px; margin-top: 6px; }
.pl-upload-action { display: inline-flex; justify-content: center; align-items: center; gap: 10px; height: 44px; min-width: 215px; margin: 18px 0 14px; padding: 0 21px; color: white; background: var(--pl-primary); border: 1px solid #ffffff12; border-radius: var(--pl-control-radius); box-shadow: 0 3px 8px #635bff22, inset 0 1px #ffffff25; font-size: 14px; font-weight: 600; transition: background 160ms, transform 180ms var(--pl-spring), box-shadow 200ms; }
.pl-upload-action img { width: 19px; height: 19px; filter: brightness(0) invert(1); }
.ws-tray:hover .pl-upload-action { background: var(--pl-primary-hover); box-shadow: 0 7px 18px -8px #635bff6b; transform: translateY(-1px); }
.ws-fmts { display: flex; justify-content: center; gap: 9px; }
.ws-fmts > span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; padding: 2px 10px; border: 1px solid #d7d9ed; border-radius: 6px; background: #ffffff7a; color: var(--pl-muted); font-size: 12px; font-weight: 500; line-height: 1.7; }
.pl-upload-help { display: block; margin-top: 9px; color: var(--pl-muted); font-size: 12px; }
.ws-tray-foot { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px 16px; padding-top: 16px; }
.ws-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 38px; flex: none; border: 1px solid #bfb7ff; padding: 7px 12px; border-radius: 7px; background: var(--pl-surface); color: var(--pl-primary-ink); font-size: 12px; font-weight: 600; transition: background 180ms, border-color 180ms, transform 180ms var(--pl-ease); }
.ws-ghost svg { width: 17px; height: 17px; }
.ws-ghost:hover { background: #f4f1ff; border-color: var(--pl-primary-ink); transform: translateY(-1px); }
.pl-feedback { min-height: 22px; flex: 1 1 160px; margin: 0; padding-top: 7px; font-size: 12px; line-height: 1.5; color: var(--pl-muted); overflow-wrap: anywhere; }
.pl-feedback[data-tone="error"] { color: var(--pl-danger); font-weight: 500; }
.ws-tray[aria-invalid="true"] { border-color: var(--pl-danger); }
.pl-button-spinner, .pl-spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: pl-spin 800ms linear infinite; flex: none; }
.pl-button-spinner { display: none; }
.ws-tray[aria-busy="true"] .pl-button-spinner { display: block; }
.ws-tray[aria-busy="true"] .pl-upload-action > img { display: none; }
.ws-scope-col { border-left: 1px solid var(--pl-line); padding-left: 24px; min-width: 0; }
.ws-depth { position: relative; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding: 2px 0 18px; margin-bottom: 8px; }
.ws-depth input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ws-depth-txt { flex: 1; min-width: 0; }
.ws-depth-txt b { display: block; font-size: 14px; font-weight: 650; line-height: 1.45; margin-bottom: 4px; }
.ws-depth-txt small { display: block; color: var(--pl-muted); font-size: 12px; line-height: 1.5; }
.ws-switch { display: inline-flex; align-items: center; width: 39px; height: 23px; flex: 0 0 39px; border: 1px solid #b7c1d0; border-radius: 20px; background: #c8ced9; transition: background 180ms, border-color 180ms; margin-top: 2px; }
.ws-switch::before { content: ""; display: block; width: 17px; height: 17px; border-radius: 50%; background: #fff; margin-left: 2px; box-shadow: 0 1px 3px #0a254025; transition: transform 220ms var(--pl-spring); }
.ws-depth input:checked ~ .ws-switch { background: var(--pl-primary); border-color: var(--pl-primary-ink); }
.ws-depth input:checked ~ .ws-switch::before { transform: translateX(16px); }
.ws-depth input:focus-visible ~ .ws-switch { outline: 3px solid #a39cff; outline-offset: 3px; }
.ws-depth:hover .ws-depth-txt b { color: var(--pl-primary-ink); }
.ws-depth:has(input:disabled) { cursor: not-allowed; opacity: .55; }
.ws-src-head { padding-top: 18px; border-top: 1px solid var(--pl-line); margin: 3px 0 14px; }
.ws-srcs { display: grid; gap: 10px; }
.ws-srcs > span { display: flex; align-items: center; gap: 11px; font-size: 13px; line-height: 1.35; }
.ws-srcs img { width: 19px; height: 19px; opacity: .65; }
.ws-docket { margin-top: 27px; scroll-margin-top: 90px; }
.ws-docket-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ws-docket-head h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 24px; line-height: 1.35; font-weight: 650; }
.pl-count { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; padding: 1px 9px; border-radius: 7px; background: #e9edf6; color: var(--pl-muted); font-size: 12px; line-height: 1.65; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.ws-stats { display: flex; gap: 18px; }
.ws-stat { display: flex; gap: 5px; align-items: baseline; color: var(--pl-muted); }
.ws-stat b { font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.ws-stat small { font-size: 11px; }
.ws-stat .sim { color: var(--pl-primary-ink); }
.ws-stat .ai { color: var(--pl-cyan-ink); }
.ws-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.pl-search { position: relative; flex: 1 1 210px; min-width: 170px; display: flex; align-items: center; height: 39px; border: 1px solid var(--pl-line); border-radius: 8px; background: var(--pl-surface); padding: 0 10px; gap: 8px; transition: border-color 160ms, box-shadow 160ms; }
.pl-search:focus-within { border-color: #a59cff; box-shadow: 0 0 0 3px #635bff0d; }
.pl-search > img { width: 17px; height: 17px; opacity: .6; }
.pl-search input { width: 100%; min-width: 0; padding: 6px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--pl-ink); outline: none; font-size: 12px; }
.pl-search input::-webkit-search-cancel-button { display: none; }
.pl-search button { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border: 0; border-radius: 5px; background: transparent; color: var(--pl-muted); }
.pl-search button:hover { background: var(--pl-primary-soft); color: var(--pl-primary-ink); }
.pl-search svg { width: 15px; height: 15px; }
.ws-filters { display: flex; padding: 3px; background: #eaf0f8; border: 1px solid #e4e9f2; border-radius: 8px; flex: none; }
.ws-filters button { border: 0; border-radius: 5px; padding: 6px 9px; background: transparent; color: var(--pl-muted); font-size: 11px; line-height: 1.45; font-weight: 500; transition: background 160ms, color 160ms, box-shadow 160ms; }
.ws-filters button:hover { color: var(--pl-primary-ink); }
.ws-filters button.on { background: var(--pl-surface); color: var(--pl-primary-ink); box-shadow: 0 1px 3px #0a25400d; }
#wsSort { height: 39px; max-width: 180px; color: var(--pl-muted); border: 1px solid var(--pl-line); background: var(--pl-surface); border-radius: 8px; padding: 0 9px; font-size: 12px; }
.ws-ledger { list-style: none; padding: 0; margin: 0; border-radius: 10px; border: 1px solid var(--pl-line); background: var(--pl-surface); overflow: hidden; }
.ws-ledger:empty { display: none; }
.ws-row { display: grid; grid-template-columns: 43px minmax(0, 1fr) 145px 90px 142px; align-items: center; gap: 13px; min-height: 81px; padding: 13px 16px; border-bottom: 1px solid var(--pl-line); position: relative; transition: background 180ms, opacity 180ms, transform 180ms var(--pl-ease); }
.ws-row:last-child { border-bottom: 0; }
.ws-row:hover { background: #fafaff; }
.ws-row.leaving { opacity: 0; transform: translateX(10px); }
.ws-doc-mark { width: 38px; height: 43px; display: grid; place-items: center; border-radius: 8px; border: 1px solid #e4defb; color: var(--pl-primary-ink); background: #f4f1ff; }
.ws-doc-mark img { width: 21px; height: 21px; opacity: .7; }
.ws-row-doc { min-width: 0; }
.ws-row-title { border: 0; background: transparent; padding: 0; color: var(--pl-ink); font-size: 13px; line-height: 1.45; font-weight: 600; text-align: left; max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ws-row-title:hover { color: var(--pl-primary-ink); }
.ws-row-doc small { display: block; margin-top: 4px; color: var(--pl-faint); font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.ws-row-scores { display: flex; gap: 17px; }
.ws-score { display: flex; flex-direction: column; gap: 2px; }
.ws-score b { font-size: 16px; line-height: 1.25; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.ws-score small { color: var(--pl-muted); font-size: 9px; white-space: nowrap; }
.ws-score.sim b { color: var(--pl-primary-ink); }
.ws-score.ai b { color: var(--pl-cyan-ink); }
.ws-stamp { display: inline-flex; justify-content: center; align-items: center; min-height: 24px; border: 1px solid #e2d9b8; border-radius: 5px; padding: 3px 6px; color: var(--pl-warning-ink); background: #fffbf3; font-size: 10px; line-height: 1.4; font-weight: 550; text-align: center; }
.ws-stamp.v-clean { color: var(--pl-success); background: #f0faf6; border-color: #cce8dc; }
.ws-stamp.v-plagiarized { color: var(--pl-danger); background: #fff3f5; border-color: #f3d1da; }
.ws-row-acts { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.ws-act { display: inline-flex; align-items: center; justify-content: center; min-height: 31px; border: 1px solid var(--pl-line); border-radius: 6px; color: var(--pl-muted); background: var(--pl-surface); padding: 5px 8px; font-size: 10px; font-weight: 550; white-space: nowrap; transition: background 160ms, color 160ms, border-color 160ms; }
.ws-act:hover { color: var(--pl-primary-ink); border-color: #b5adff; background: #f5f2ff; }
.ws-act.open { color: var(--pl-primary-ink); background: #f5f3ff; border-color: #e3ddff; }
.ws-act.del { width: 30px; padding: 5px; }
.ws-act.del:hover { color: var(--pl-danger); border-color: #edbcc9; background: #fff3f5; }
.ws-act svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ws-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 110px; gap: 10px; padding: 23px; color: var(--pl-muted); text-align: center; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 10px; }
.ws-empty img { opacity: .62; }
.ws-empty p { font-size: 13px; }
.ws-empty b { font-weight: 550; }
.pl-history-status { min-height: 58px; display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 12px; color: var(--pl-muted); background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 9px; padding: 12px; }
.pl-history-status.is-error { color: var(--pl-danger); background: #fff7f8; margin-bottom: 10px; }
.pl-text-button { border: 0; background: none; color: var(--pl-primary-ink); font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 3px 4px; }
.pl-text-button:hover { color: var(--pl-primary-hover); background: var(--pl-primary-soft); border-radius: 4px; }
.pl-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--pl-muted); font-size: 11px; padding: 13px 0 0; }
.pl-pagination > div { display: flex; align-items: center; gap: 14px; }
.pl-page-button { display: grid; place-items: center; width: 31px; height: 31px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 6px; color: var(--pl-muted); transition: background 160ms, color 160ms; }
.pl-page-button svg { width: 16px; height: 16px; }
.pl-page-button:hover:not(:disabled) { background: var(--pl-primary-soft); color: var(--pl-primary-ink); }
.ws-why { margin: 26px 0 0; border: 1px solid var(--pl-line); border-radius: 9px; background: var(--pl-surface); color: var(--pl-muted); }
.ws-why > summary { display: flex; align-items: center; padding: 15px 17px; font-size: 12px; font-weight: 550; list-style: none; }
.ws-why > summary::-webkit-details-marker, .pl-actions-menu > summary::-webkit-details-marker { display: none; }
.ws-why > summary::after { content: "+"; margin-left: auto; color: var(--pl-primary-ink); font-size: 18px; }
.ws-why[open] > summary::after { content: "−"; }
.ws-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 12px 20px 24px; }
.ws-why-grid > div { position: relative; padding-left: 29px; }
.ws-why-grid img { width: 18px; height: 18px; position: absolute; left: 0; top: 2px; opacity: .7; }
.ws-why-grid b { display: block; font-size: 12px; color: var(--pl-ink); font-weight: 600; }
.ws-why-grid p { margin-top: 5px; font-size: 12px; line-height: 1.65; }
/* Analysis is an instrument, with progress taken from actual backend stages. */
.pl-investigation.prog-pro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); gap: 22px 34px; max-width: none; margin: 0; padding: 24px; text-align: left; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); box-shadow: var(--pl-shadow); }
.pl-investigation-art { position: relative; min-height: 450px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 45% 45%, #ebe6fb, #f2f1fa 54%, #f1f4fa); border-radius: 10px; isolation: isolate; }
.pl-investigation-art > img { position: relative; z-index: 1; width: 95%; height: auto; animation: pl-lens-float 7s ease-in-out infinite; animation-play-state: paused; }
.pl-investigation-art.is-visible > img { animation-play-state: running; }
.pl-investigation-orbit { position: absolute; inset: 16%; border: 1px solid #9688ed38; border-radius: 50%; transform: rotate(-30deg) scaleY(.64); }
.pl-investigation-detail { padding: 0 0 10px; min-width: 0; }
.prog-file { display: flex; gap: 10px; align-items: center; min-height: 48px; padding-bottom: 14px; margin-bottom: 15px; border-bottom: 1px solid var(--pl-line); color: var(--pl-ink); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.prog-file::before { content: ""; flex: none; width: 22px; height: 24px; background: url('/assets/icons/document-text.svg') center/contain no-repeat; opacity: .65; }
.pl-progress-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.pl-progress-heading h2 { font-size: 17px; font-weight: 650; letter-spacing: -.025em; line-height: 1.45; }
#progPct { flex: none; font-size: 12px; line-height: 1.7; font-weight: 600; color: var(--pl-primary-ink); font-variant-numeric: tabular-nums; padding-top: 1px; }
.pl-progress-track { height: 7px; border-radius: 6px; background: #e8e9f5; overflow: hidden; margin: 11px 0 8px; }
.pl-progress-track > span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--pl-primary); transition: width 500ms var(--pl-ease); }
.pl-stage-help { font-size: 11px; color: var(--pl-muted); }
.pl-hidden-instrument { display: none; }
.prog-steps { list-style: none; display: grid; gap: 2px; margin: 23px 0 0; padding: 0; counter-reset: pl-stages; }
.prog-steps li { position: relative; display: flex; align-items: center; gap: 11px; min-height: 43px; padding: 7px 10px; border-radius: 7px; color: var(--pl-muted); font-size: 12px; line-height: 1.4; counter-increment: pl-stages; transition: background 200ms, color 200ms; }
.prog-steps li::before { content: counter(pl-stages); display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #cbd4e2; border-radius: 50%; background: var(--pl-surface); color: var(--pl-muted); font-size: 10px; flex: 0 0 23px; font-weight: 500; z-index: 1; }
.prog-steps li::after { content: ""; position: absolute; left: 21px; width: 1px; height: 23px; top: 31px; background: var(--pl-line); }
.prog-steps li:last-child::after { display: none; }
.prog-steps li.done { color: var(--pl-ink); }
.prog-steps li.done::before { content: "✓"; color: var(--pl-success); background: #edf9f3; border-color: #b4dec9; }
.prog-steps li.active { background: var(--pl-primary-soft); color: var(--pl-ink); font-weight: 600; }
.prog-steps li.active::before { color: #fff; background: var(--pl-primary); border-color: var(--pl-primary-ink); }
.pl-progress-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; grid-column: 1 / -1; padding: 17px 10px 0; border-top: 1px solid var(--pl-line); gap: 14px; }
.pl-progress-foot p { margin: 0; color: var(--pl-muted); font-size: 12px; line-height: 1.6; }
.pl-progress-recovery { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pl-investigation[data-state="error"] { border-color: #ecc3cc; }
.pl-investigation[data-state="error"] #progStage, .pl-investigation[data-state="error"] #progNote { color: var(--pl-danger); }
.pl-investigation[data-state="error"] .pl-investigation-art img { animation-play-state: paused; }
.pl-reading-moment { margin: 34px auto 10px; max-width: 760px; min-height: 112px; text-align: center; }
.pl-reading-moment blockquote { font-size: 20px; font-weight: 450; font-style: italic; line-height: 1.65; color: var(--pl-ink); transition: opacity 300ms; margin: 0; }
.pl-reading-moment cite { display: block; margin-top: 9px; font-size: 11px; color: var(--pl-muted); font-style: normal; transition: opacity 300ms; }
/* Report title and a calm, inspectable evidence summary. */
.pl-report-heading.report-head { display: flex !important; justify-content: space-between; align-items: center; gap: 20px; padding: 0; margin: 0 0 20px; border: 0; }
.pl-report-identity { min-width: 0; }
.pl-report-heading .exhibit-label { font-family: var(--display); color: var(--pl-faint); font-size: 10px; font-weight: 500; letter-spacing: .035em; margin-bottom: 6px; }
.pl-report-heading .rpt-title { font-size: clamp(22px, 2vw, 30px); line-height: 1.3; font-weight: 650; margin: 0 0 7px; overflow-wrap: anywhere; }
.pl-report-heading .rpt-meta { font-family: var(--display); font-size: 11px; line-height: 1.65; color: var(--pl-muted); }
.pl-report-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; flex: none; }
.pl-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; border: 1px solid var(--pl-primary); padding: 9px 14px; background: var(--pl-primary); color: #fff; border-radius: var(--pl-control-radius); font-size: 12px; font-weight: 550; line-height: 1.4; text-decoration: none; transition: background 160ms, border-color 160ms, transform 200ms var(--pl-ease), box-shadow 180ms; }
.pl-button img, .pl-button svg { width: 16px; height: 16px; }
.pl-button img { filter: brightness(0) invert(1); }
.pl-button .pl-download-icon { transform: rotate(180deg); }
.pl-button:hover { background: var(--pl-primary-hover); border-color: var(--pl-primary-hover); transform: translateY(-1px); box-shadow: 0 5px 14px -8px #635bff80; }
.pl-button:active { transform: translateY(0) scale(.985); }
.pl-button.is-secondary { background: var(--pl-surface); color: var(--pl-ink); border-color: #d2dbe7; box-shadow: none; }
.pl-button.is-secondary:hover { background: #f8f7ff; color: var(--pl-primary-ink); border-color: #bcb4fa; }
.pl-button.is-danger { background: var(--pl-danger); border-color: var(--pl-danger); }
.pl-button.is-danger:hover { background: #ae2f49; border-color: #ae2f49; }
.pl-actions-menu { position: relative; }
.pl-actions-menu > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 39px; padding: 9px 12px; border: 1px solid #d2dbe7; border-radius: var(--pl-control-radius); background: var(--pl-surface); color: var(--pl-ink); font-size: 12px; line-height: 1.4; list-style: none; transition: background 160ms, border-color 160ms; }
.pl-actions-menu > summary:hover, .pl-actions-menu[open] > summary { border-color: #bcb4fa; background: #faf9ff; color: var(--pl-primary-ink); }
.pl-actions-menu svg { width: 15px; height: 15px; transition: transform 220ms var(--pl-ease); }
.pl-actions-menu[open] svg { transform: rotate(180deg); }
.pl-menu-panel { position: absolute; z-index: 50; top: calc(100% + 8px); right: 0; min-width: 225px; padding: 6px; border: 1px solid #ffffff; border-radius: 12px; background: #ffffffeb; backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 0 0 1px #dfe5efad, 0 16px 40px -12px #0a25402b; transform-origin: top right; animation: pl-pop-in 220ms var(--pl-spring) both; }
.pl-menu-panel button, .pl-menu-panel a { display: block; width: 100%; text-align: left; padding: 11px 12px; border: 0; border-radius: 7px; color: var(--pl-ink); background: transparent; font-size: 12px; font-weight: 500; line-height: 1.45; text-decoration: none; }
.pl-menu-panel button:hover, .pl-menu-panel a:hover { background: var(--pl-primary-soft); color: var(--pl-primary-ink); }
.verdict-hero { padding: 0; margin: 0 0 22px; background: linear-gradient(105deg, #eeedfc, #edf7fc); border: 1px solid #e9e9f7; border-radius: 10px; overflow: hidden; }
.vh-grid { display: flex; align-items: center; flex-wrap: wrap; min-height: 69px; padding: 12px 22px; gap: 18px; }
.vh-accent { display: none; }
.vh-right { display: flex; align-items: center; gap: 24px; flex: 1 1 auto; }
.vh-gauge { display: flex; align-items: center; gap: 10px; margin: 0; flex: 1 1 auto; }
.vh-gauge > svg { display: none; }
.vh-gauge figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.vh-gnum { display: flex; align-items: baseline; color: var(--pl-primary-ink); font-size: 29px; line-height: 1.2; font-weight: 650; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.vh-gnum i { font: inherit; }
.vh-gauge.ai .vh-gnum, .vh-gauge.vh-ai .vh-gnum, .vh-gauge[data-kind="ai"] .vh-gnum { color: var(--pl-cyan); }
.vh-gauge + .vh-gauge { border-left: 1px solid #d5ddec; padding-left: 24px; }
.vh-glabel { font-size: 12px; font-weight: 500; color: var(--pl-ink); }
.vh-gband { display: none; }
.pl-signal-guidance { display: flex; align-items: center; gap: 10px; padding: 7px 12px; background: #fff8ec; border-radius: 6px; color: var(--pl-warning-ink); font-size: 11px; flex: 0 1 auto; margin: 0; line-height: 1.5; }
.pl-signal-guidance svg { width: 19px; height: 19px; color: var(--pl-warning); }
.pl-signal-guidance small { display: block; font-size: 10px; color: #896d49; }
#tii-report { --ti-ink: var(--pl-ink); --ti-soft: var(--pl-muted); --ti-mut: var(--pl-faint); --ti-line: var(--pl-line); --ti-bg: #f0f4fa; --ti-panel: var(--pl-surface); --ti-teal: var(--pl-primary); --ti-blue: var(--pl-primary-ink); --ti-red: #8265ca; --ti-red-soft: #bba4fa36; --ti-red-strong: #bba4fa66; --ti-blue-soft: #6cd1e83b; --ti-disp: var(--display); --ti-body: var(--display); border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.pl-app .tii-top { padding: 0 4px; margin-bottom: 18px; min-height: 43px; background: transparent; border-bottom: 1px solid var(--pl-line); }
.pl-app .tii-brand, .pl-app .tii-file, .pl-app .tii-actions { display: none; }
.pl-app .tii-tabs { margin: 0; gap: 14px; }
.pl-app .tii-tab { min-height: 43px; padding: 8px 11px 13px; font-size: 13px; font-weight: 550; }
.pl-app .tii-tab b { font-size: 11px; padding: 2px 6px; background: #e9e8f8; border-radius: 5px; }
.pl-app .tii-body { grid-template-columns: minmax(0, 1.35fr) minmax(325px, 1fr); gap: 18px; }
.pl-app .tii-docwrap { border: 1px solid var(--pl-line); border-radius: 10px; background: #edf2f9; padding: 18px; min-height: 590px; max-height: 740px; height: min(74vh, 740px); overscroll-behavior: contain; }
.pl-app .tii-doc { padding: clamp(23px, 2.2vw, 36px); border-radius: 6px; box-shadow: 0 2px 9px #0a254007; min-height: 100%; }
.pl-document-sheet { min-height: 100%; padding: clamp(23px, 2.2vw, 36px); background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 7px; box-shadow: 0 2px 9px #0a254007; }
.pl-document-title { font: 600 24px/1.4 Georgia, "Times New Roman", serif !important; letter-spacing: -.025em; margin: 0 0 22px; overflow-wrap: anywhere; }
.pl-app .pl-document-sheet .tii-doc { padding: 0; min-height: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; max-width: none; }
.pl-app .tii-doc p, .pl-app .tii-doc .tii-s { font-size: 14px; line-height: 1.95; }
.pl-app .tii-doc h2 { font-size: 23px; line-height: 1.4; }
.pl-app .tii-doc h3 { font-size: 16px; line-height: 1.5; }
.pl-app .tii-panel { border: 1px solid var(--pl-line); border-radius: 10px; background: var(--pl-surface); overflow: hidden; min-width: 0; max-height: 740px; height: min(74vh, 740px); display: flex; flex-direction: column; }
.pl-app .tii-pane { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.pl-sources-heading { font-size: 18px; font-weight: 650; letter-spacing: -.025em; padding: 17px 17px 9px; margin: 0; }
.pl-sources-heading span { font-size: 13px; color: var(--pl-muted); font-weight: 450; margin-left: 5px; }
.pl-app .tii-overall { padding: 4px 17px 12px; border: 0; }
.pl-app .tii-overall .pct { font-size: 25px; color: var(--pl-primary-ink); }
.pl-app .tii-overall .lbl { font-size: 12px; color: var(--pl-ink); }
.pl-app .tii-overall .lbl small { font-size: 10px; line-height: 1.5; }
.pl-app .tii-breakdown { margin: 0 17px 9px; font-size: 11px; }
.pl-app .tii-filters { padding: 10px 17px; gap: 8px; border-top: 1px solid var(--pl-line); font-size: 11px; }
.pl-app .tii-filters label { display: flex; align-items: center; gap: 6px; cursor: pointer; line-height: 1.55; }
.pl-app input[type="checkbox"] { accent-color: var(--pl-primary-ink); }
.pl-app .tii-seg { margin: 0 17px 12px; border: 1px solid #d6ddec; background: #f3f5fb; border-radius: 7px; padding: 2px; }
.pl-app .tii-seg button { font-size: 11px; min-height: 29px; border-radius: 5px; }
.pl-app .tii-seg button.on { background: #e5dfff; color: var(--pl-primary-ink); }
.pl-app .tii-scroll { padding: 0 14px 14px; max-height: none; min-height: 80px; flex: 1; overflow: auto; overscroll-behavior: contain; }
.pl-app .tii-src { border: 1px solid var(--pl-line); border-radius: 8px; margin-bottom: 10px; overflow: hidden; box-shadow: none; }
.pl-app .tii-src-head { padding: 11px 10px; gap: 9px; color: var(--pl-ink); transition: background 160ms; }
.pl-app .tii-src-head:hover { background: #f5f2ff; }
.pl-app .tii-src.open .tii-src-head { background: #f1edff; }
.pl-app .tii-src-n { background: #eee9ff; color: var(--pl-primary-ink); border-radius: 5px; width: 22px; height: 22px; font-size: 11px; }
.pl-app .tii-src-title { font-size: 12px; line-height: 1.5; font-weight: 600; white-space: normal; overflow: visible; text-overflow: clip; }
.pl-app .tii-src-tag { color: var(--pl-primary-ink); font-size: 9px; }
.pl-app .tii-src-sub { font-size: 10px; line-height: 1.5; }
.pl-app .tii-src-pct { color: var(--pl-primary-ink); font-size: 17px; }
.pl-app .tii-src-caret { font-size: 13px; color: var(--pl-muted); }
.pl-app .tii-src-caret svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pl-app .tii-src-bar { max-width: 120px; height: 3px; }
.pl-app .tii-src-kinds { font-size: 9px; }
.pl-app .tii-src-body { padding: 0 11px; }
.pl-app .tii-src.open .tii-src-body { padding: 0 11px 13px; animation: pl-source-in 220ms var(--pl-ease) both; }
.pl-app .tii-pass { margin: 11px 0 0; background: #f9faff; border: 1px solid #e6e9f3; border-radius: 6px; padding: 10px; }
.pl-app .tii-pass-head { gap: 5px; font-size: 9px; }
.pl-app .tii-kind, .pl-app .tii-chip { font-size: 9px; border-radius: 4px; }
.pl-app .tii-cmp { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
.pl-app .tii-cmp p { font-size: 11px; line-height: 1.8; }
.pl-app .tii-cmp .who { font-size: 9px; color: var(--pl-muted); font-weight: 600; }
.pl-app .tii-sh { background: #e4ddff; color: inherit; }
.pl-app .tii-src-link { display: inline-block; margin-top: 9px; font-size: 11px; color: var(--pl-primary-ink); font-weight: 550; }
.pl-app .tii-method { font-size: 10px; line-height: 1.75; color: var(--pl-muted); padding: 13px 3px 0; }
.pl-app .tii-rem { margin: 0; border: 0; border-top: 1px solid var(--pl-line); border-radius: 0; background: #fbfaff; padding: 13px 17px; }
.pl-app .tii-rem b { font-size: 12px; color: var(--pl-ink); }
.pl-app .tii-rem p { color: var(--pl-muted); font-size: 10px; line-height: 1.6; margin: 4px 0 9px; }
.pl-app #tiiRemGo { border-radius: 7px; padding: 8px 10px; font-size: 11px; background: var(--pl-primary); }
.pl-app .tii-ai-big { padding: 24px 20px 17px; color: var(--pl-cyan-ink); background: #f0fbfd; }
.pl-app .tii-ai-big .n { font-size: 48px; line-height: 1.2; color: var(--pl-cyan-ink); }
.pl-app .tii-ai-big .l { color: var(--pl-ink); font-size: 14px; margin-top: 5px; }
.pl-ai-context { font-size: 11px; color: var(--pl-muted); line-height: 1.7; margin: 11px 0 0; }
.pl-app .tii-ai-note { font-size: 12px; line-height: 1.85; }
.pl-app .pl-coverage { margin: 0 0 14px; padding: 12px 16px; background: #f2f5fc; border: 1px solid #d9e1ef; border-radius: 10px; font-size: 12px; line-height: 1.65; color: var(--pl-ink); }
.pl-app #tii-report { scroll-margin-top: 86px; }
.pl-app .pl-coverage summary { cursor: pointer; font-weight: 600; min-height: 24px; }
.pl-app .pl-coverage p { margin: 9px 0 0; }
.pl-app .pl-coverage-warning { color: #925116; }
.pl-app .pl-ai-segments summary { cursor: pointer; padding: 8px 0; }
.pl-app .pl-ai-segments table { width: 100%; border-collapse: collapse; font-size: 11px; }
.pl-app .pl-ai-segments th, .pl-app .pl-ai-segments td { text-align: left; padding: 8px 4px; border-bottom: 1px solid #dce3ef; }
.pl-app .pl-cite-reason { display: block; margin-top: 5px; color: var(--pl-muted); overflow-wrap: anywhere; }
.pl-app .tii-doc mark.tii-x { background: rgba(216,58,82,.06); text-decoration: underline; text-decoration-color: #d83a52; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-skip-ink: auto; }
.pl-app .tii-doc .tii-hit:focus-visible { outline: 2px solid #635bff; outline-offset: 3px; }
.pl-app .tii-doc .tii-hit.k-paraphrase { text-decoration: underline dotted #d83a52 2px; text-underline-offset: 3px; }
.pl-app .tii-doc .tii-hit.cited mark.tii-x { text-decoration-color: #1f8a5b; background: rgba(31,138,91,.08); }
.pl-app .tii-doc mark.tii-ai-text, .pl-app .tii-doc.show-ai mark.tii-ai-text { background: rgba(47,111,237,.19); color: inherit; border-radius: 2px; }
.pl-app .tii-doc.hide-para .tii-hit.k-paraphrase { text-decoration: none; }
@media (forced-colors: active) { .pl-app .tii-doc mark.tii-x { text-decoration-color: LinkText; } .pl-app .tii-doc mark.tii-ai-text { outline: 1px dotted Highlight; } }
.pl-app .tii-ai-pane { overflow-y: auto; min-height: 0; }
.pl-app .tii-legend { font-size: 10px; line-height: 1.5; gap: 7px 14px; padding-top: 14px; }
.pl-app .tii-docfoot { font-size: 10px; line-height: 1.6; padding: 14px 0 2px; }
.pl-app .tii-legacy-toggle { width: 100%; min-height: 47px; padding: 13px 17px; border-radius: 9px; border: 1px solid var(--pl-line); background: var(--pl-surface); color: var(--pl-ink); font-family: var(--display); font-size: 12px; font-weight: 500; text-align: left; margin: 0; box-shadow: none; transition: background 160ms, border-color 160ms; }
.pl-app .tii-legacy-toggle:hover, .pl-app .tii-legacy-toggle.open { background: #f4f1ff; border-color: #c8befb; }
.pl-app #tiiLegacy { margin-top: 20px; padding: 22px; border: 1px solid var(--pl-line); border-radius: 12px; background: var(--pl-surface); min-width: 0; }
.pl-app #tiiLegacy .report-nav { top: 68px; background: #fffffff5; backdrop-filter: blur(10px); border-color: var(--pl-line); padding: 10px; margin: -6px -6px 22px; border-radius: 8px; }
.pl-app #tiiLegacy .sec-head { font-family: var(--display); font-size: 20px; font-weight: 600; }
.pl-app #tiiLegacy .sec-note { font-size: 12px; line-height: 1.8; }
.pl-app #tiiLegacy [id^="sec-"] { scroll-margin-top: 140px; }
.pl-app .report-foot { margin-top: 22px; }
.pl-app .ghost-btn { border-radius: 7px; font-family: var(--display); font-size: 12px; }
.pl-app .colophon { max-width: 1600px; width: 100%; display: flex; align-items: flex-start; gap: 10px; text-align: left; color: var(--pl-muted); margin: 0 auto; padding: 0 32px 28px; font-family: var(--display); font-size: 11px; border: 0; line-height: 1.7; letter-spacing: 0; }
.pl-guest-keep { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 16px; padding: 10px 14px; margin-bottom: 18px; border: 1px solid #ddd5ff; border-radius: 8px; background: #f0edff; color: var(--pl-muted); font-size: 11px; line-height: 1.6; }
.pl-guest-keep b { color: var(--pl-ink); font-weight: 600; }
.pl-guest-keep a { flex: none; color: var(--pl-primary-ink); font-weight: 600; padding: 3px; text-decoration: none; }
.pl-guest-keep a:hover { text-decoration: underline; }
.colophon svg { width: 17px; height: 17px; margin-top: 1px; }
/* Small glass overlays, with native modal focus and an explicit cancel path. */
.pl-icon-btn { width: 35px; height: 35px; padding: 7px; border: 1px solid var(--pl-line); background: var(--pl-surface); border-radius: 8px; display: grid; place-items: center; color: var(--pl-muted); }
.pl-icon-btn img, .pl-icon-btn svg { width: 20px; height: 20px; }
.pl-icon-btn:hover { border-color: #c0b7ff; color: var(--pl-primary-ink); background: #f6f3ff; }
.pl-menu-trigger, .pl-nav-close { display: none; }
.pl-confirm-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; margin: auto; padding: 26px; border: 1px solid #fff; border-radius: 17px; background: #fffffff7; box-shadow: 0 0 0 1px #e1e7f0, 0 30px 90px #0a254030; color: var(--pl-ink); }
.pl-confirm-dialog[open] { animation: pl-pop-in 240ms var(--pl-spring) both; }
.pl-confirm-dialog::backdrop, .pl-nav-dialog::backdrop { background: #0a25404d; backdrop-filter: blur(4px); animation: pl-fade-in 180ms; }
.pl-dialog-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border: 1px solid #efced6; border-radius: 11px; background: #fff1f4; }
.pl-dialog-icon img { width: 24px; height: 24px; opacity: .65; }
.pl-confirm-dialog h2 { font-size: 22px; font-weight: 650; line-height: 1.3; margin: 0 0 10px; }
.pl-confirm-dialog p { font-size: 13px; line-height: 1.7; color: var(--pl-muted); }
.pl-confirm-filename { padding: 10px 12px; border-radius: 7px; background: #f3f5fa; color: var(--pl-ink) !important; font-weight: 550; margin-top: 13px; overflow-wrap: anywhere; max-height: 110px; overflow: auto; }
.pl-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 23px; }
.pl-nav-dialog { inset: 0 auto 0 0; margin: 0; width: min(290px, calc(100vw - 42px)); max-width: none; height: 100dvh; max-height: none; padding: 0; border: 0; color: var(--pl-ink); background: var(--pl-surface); overflow: visible; }
.pl-nav-dialog[open] { animation: pl-drawer-in 260ms var(--pl-ease) both; }
.pl-nav-dialog .pl-sidebar { position: static; display: flex; width: 100%; height: 100dvh; border-right: 0; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
.pl-nav-dialog .pl-nav-item > span, .pl-nav-dialog .pl-brand > span { display: block; }
.pl-nav-dialog .pl-nav-item { justify-content: flex-start; padding: 12px 16px; }
.pl-nav-dialog .pl-brand { font-size: 20px; }
.pl-nav-dialog .pl-nav-close { display: grid; }
.pl-nav-dialog .pl-brand-row { gap: 7px; }
.pl-nav-dialog .pl-brand img { width: 28px; height: 28px; }
.pl-nav-dialog .pl-brand { font-size: 18px; }
.pl-notice { position: fixed; left: calc(50% + var(--pl-sidebar) / 2); bottom: 24px; z-index: 500; width: max-content; max-width: min(520px, calc(100vw - var(--pl-sidebar) - 40px)); display: flex; align-items: center; gap: 18px; padding: 13px 14px 13px 18px; border: 1px solid var(--pl-line); border-radius: 10px; background: var(--pl-surface); color: var(--pl-ink); font-size: 12px; line-height: 1.6; box-shadow: 0 15px 50px -16px #0a25403b; opacity: 0; transform: translate(-50%, 16px); visibility: hidden; transition: transform 220ms var(--pl-ease), opacity 180ms, visibility 180ms; }
.pl-notice.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.pl-notice[data-tone="error"] { border-color: #efc3ce; }
.pl-notice button { flex: none; display: grid; place-items: center; width: 27px; height: 27px; border: 0; border-radius: 5px; background: #f1f4fa; color: var(--pl-muted); }
.pl-notice button:hover { background: var(--pl-primary-soft); color: var(--pl-primary-ink); }
.pl-notice svg { width: 15px; height: 15px; }
.pl-app .suite-footer { background: var(--pl-surface); border-top: 1px solid var(--pl-line); }
html[data-render-tier="eco"] .pl-evidence-art img, html[data-render-tier="eco"] .pl-investigation-art img, html.rg-motion-reduced .pl-evidence-art img, html.rg-motion-reduced .pl-investigation-art img, .pl-app[data-motion="paused"] .pl-evidence-art img, .pl-app[data-motion="paused"] .pl-investigation-art img { animation: none; }
html[data-render-tier="eco"] .pl-scan-light, html.rg-motion-reduced .pl-scan-light { display: none; }
html[data-render-tier="eco"] .pl-menu-panel { backdrop-filter: none; background: #fff; }
html[data-render-tier="eco"] .pl-confirm-dialog::backdrop, html[data-render-tier="eco"] .pl-nav-dialog::backdrop { backdrop-filter: none; }
@keyframes pl-view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pl-pop-in { from { opacity: 0; transform: translateY(-5px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pl-source-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes pl-drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes pl-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pl-lens-float { 0%, 100% { transform: translateY(1px) rotate(-.7deg); } 50% { transform: translateY(-5px) rotate(.8deg); } }
@keyframes pl-scan-sweep { from { transform: translateY(-15px); opacity: 0; } 30% { opacity: .7; } to { transform: translateY(70px); opacity: 0; } }
@keyframes pl-spin { to { transform: rotate(360deg); } }
@media (min-width: 1850px) { .pl-app { --pl-sidebar: 280px; } .pl-app .tii-body { grid-template-columns: minmax(0, 1.6fr) minmax(400px, 1fr); } .ws-console { grid-template-columns: minmax(0, 1fr) 340px; } .ws-tray { min-height: 450px; } .pl-evidence-art { width: 300px; height: 193px; } }
@media (max-width: 1190px) { .pl-account { gap: 12px; } .pl-topbar.svc-switch { padding-inline: 24px; } .pl-account #rg-account { padding-left: 10px; } .pl-breadcrumb { gap: 9px; font-size: 12px; } .ws-console { grid-template-columns: minmax(0, 1fr) 260px; padding: 20px; } .ws-tray-col { padding-right: 20px; } .ws-scope-col { padding-left: 20px; } .ws-tray { min-height: 420px; } .ws-row { grid-template-columns: 34px minmax(0, 1fr) 119px 81px 123px; gap: 9px; padding-inline: 12px; } .ws-row-acts { gap: 4px; } .ws-act { padding: 5px 6px; font-size: 9px; } .ws-row-scores { gap: 13px; } .ws-stats { gap: 10px; } .ws-stat small { font-size: 10px; } .pl-report-heading.report-head { align-items: flex-start; flex-direction: column; gap: 14px; } .pl-report-actions { align-self: stretch; } .pl-app .tii-body { grid-template-columns: minmax(0, 1.1fr) minmax(310px, 1fr); gap: 12px; } .pl-app .tii-docwrap { padding: 12px; } .pl-app .tii-doc { padding: 23px; } .pl-signal-guidance { max-width: 240px; } .pl-investigation.prog-pro { gap: 20px; } }
@media (max-width: 1100px) and (min-width: 760px) { :root { --pl-sidebar: 76px; } .pl-sidebar { padding-inline: 10px; } .pl-brand-row { justify-content: center; padding-inline: 0; } .pl-brand > span, .pl-nav-item > span, .pl-nav-item.is-current i { display: none; } .pl-nav-item { justify-content: center; padding-inline: 10px; } .pl-brand img { width: 37px; height: 37px; } .pl-nav-divider { margin-inline: 8px; } .ws-row { grid-template-columns: 36px minmax(0, 1fr) 130px 90px 135px; } }
@media (max-width: 900px) { .pl-account .rg-open { display: none; } .pl-app main.pl-main, .pl-page-heading.masthead { padding-inline: 24px; } .pl-app .colophon { padding-inline: 24px; } .ws-stats .ws-stat:first-child, .ws-stats .ws-stat:last-child { display: none; } .pl-app .tii-body { grid-template-columns: 1fr; } .pl-app .tii-docwrap { height: 570px; min-height: 400px; max-height: 70vh; } .pl-app .tii-panel { height: auto; max-height: none; } .pl-app .tii-scroll { max-height: 520px; } .pl-investigation.prog-pro { grid-template-columns: .75fr minmax(320px, 1fr); padding: 20px; } .pl-investigation-art { min-height: 340px; } .ws-filters { order: 3; } .pl-search { flex-basis: 50%; } .ws-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) {
  :root { --pl-sidebar: 0px; --pl-header: 60px; }
  .pl-app { padding-left: 0; }
  .pl-rail-host > .pl-sidebar { display: none; }
  .pl-menu-trigger { display: grid; flex: none; }
  .pl-topbar.svc-switch { gap: 9px; padding: 0 16px; }
  .pl-breadcrumb { margin-right: auto; gap: 8px; font-size: 12px; }
  .pl-breadcrumb a, .pl-breadcrumb > span[aria-hidden] { display: none; }
  .pl-account { gap: 8px; }
  .pl-all-tools { font-size: 11px; }
  .pl-all-tools img { width: 16px; height: 16px; }
  .pl-account #rg-account { gap: 4px; padding-left: 9px; }
  .pl-account .rg-login { display: none; }
  .pl-app #rg-account .rg-auth-ghost { display: none; }
  .pl-app #rg-account .rg-auth-cta { padding: 7px 9px; font-size: 10px; }
  .pl-account .rg-pill { font-size: 10px; padding: 6px 8px; }
  .pl-account .rg-bell { width: 30px; height: 30px; }
  .pl-page-heading.masthead { padding: 24px 16px 20px; }
  .pl-page-heading h1 { font-size: 31px; }
  .pl-page-heading p { font-size: 13px; }
  .pl-app main.pl-main { padding: 0 16px 24px; }
  .pl-app[data-view="report"] main.pl-main { padding-top: 22px; }
  .ws-console { grid-template-columns: 1fr; padding: 17px; }
  .ws-tray-col { padding-right: 0; }
  .pl-panel-title { font-size: 18px; margin-bottom: 15px; }
  .ws-tray { min-height: 375px; padding: 13px 12px 18px; }
  .pl-evidence-art { width: 235px; height: 160px; margin-bottom: 10px; }
  .ws-tray-title { font-size: 21px; }
  .ws-tray-sub { font-size: 12px; }
  .pl-upload-action { min-width: 202px; height: 43px; margin-top: 16px; margin-bottom: 12px; font-size: 13px; }
  .ws-fmts { gap: 7px; }
  .ws-fmts > span { min-width: 43px; padding-inline: 8px; font-size: 11px; }
  .pl-upload-help { font-size: 11px; }
  .ws-tray-foot { gap: 2px; padding-top: 13px; }
  .pl-feedback { flex-basis: 100%; min-height: 20px; font-size: 11px; padding-top: 4px; }
  .ws-scope-col { margin-top: 13px; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--pl-line); }
  .ws-depth { gap: 16px; padding-bottom: 10px; margin-bottom: 11px; }
  .ws-depth-txt b { font-size: 13px; }
  .ws-depth-txt small { max-width: 28ch; font-size: 11px; }
  .ws-switch { margin-left: auto; }
  .ws-src-head { margin-top: 4px; padding-top: 15px; font-size: 16px; }
  .ws-srcs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 8px; }
  .ws-srcs > span { font-size: 11px; gap: 7px; }
  .ws-srcs img { width: 16px; height: 16px; }
  .ws-docket { margin-top: 24px; }
  .ws-docket-head h2 { font-size: 21px; gap: 9px; }
  .ws-stats { display: none; }
  .ws-tools { gap: 9px; }
  .pl-search { flex: 1 1 100%; height: 41px; }
  .pl-search input { font-size: 16px; }
  .ws-filters { order: 2; flex-wrap: wrap; }
  .ws-filters button { padding: 7px 8px; font-size: 10px; }
  #wsSort { order: 3; margin-left: auto; height: 35px; max-width: 143px; font-size: 11px; }
  .ws-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px 10px; padding: 14px 12px; min-height: 130px; }
  .ws-doc-mark { width: 31px; height: 36px; align-self: start; }
  .ws-doc-mark img { width: 18px; height: 18px; }
  .ws-row-doc { grid-column: 2 / -1; }
  .ws-row-title { font-size: 12px; }
  .ws-row-doc small { font-size: 9px; }
  .ws-row-scores { grid-column: 2; grid-row: 2; gap: 19px; }
  .ws-score { flex-direction: row; align-items: baseline; gap: 4px; }
  .ws-score b { font-size: 14px; }
  .ws-score small { font-size: 9px; }
  .ws-stamp { grid-column: 3; grid-row: 2; justify-self: end; font-size: 9px; }
  .ws-row-acts { grid-column: 2 / -1; justify-content: flex-start; margin-top: 1px; gap: 7px; }
  .ws-act { min-height: 33px; padding-inline: 10px; font-size: 10px; }
  .ws-act.del { width: 33px; margin-left: auto; }
  .ws-why { margin-top: 20px; }
  .ws-why-grid { grid-template-columns: 1fr; gap: 19px; }
  .pl-pagination { font-size: 10px; }
  .pl-investigation.prog-pro { grid-template-columns: 1fr; gap: 21px; padding: 16px; }
  .pl-investigation-art { min-height: 0; height: 180px; }
  .pl-investigation-art > img { width: 225px; height: 170px; object-fit: contain; }
  .pl-progress-heading { gap: 9px; }
  .pl-progress-heading h2 { font-size: 15px; }
  #progPct { font-size: 10px; }
  .prog-file { font-size: 13px; min-height: 40px; }
  .prog-steps { margin-top: 18px; }
  .prog-steps li { min-height: 40px; font-size: 11px; }
  .pl-progress-foot { padding: 13px 0 0; }
  .pl-progress-foot p { font-size: 11px; }
  .pl-reading-moment { margin-top: 25px; min-height: 100px; }
  .pl-reading-moment blockquote { font-size: 17px; }
  .pl-report-heading.report-head { gap: 15px; margin-bottom: 18px; }
  .pl-report-heading .rpt-title { font-size: 23px; }
  .pl-report-heading .rpt-meta { font-size: 10px; }
  .pl-report-actions { gap: 7px; }
  .pl-report-actions .pl-button { min-height: 38px; font-size: 11px; padding: 8px 10px; }
  .pl-actions-menu > summary { font-size: 11px; padding-inline: 9px; gap: 5px; }
  .pl-menu-panel { min-width: 215px; }
  .vh-grid { padding: 14px; gap: 12px; }
  .vh-right { gap: 16px; width: 100%; }
  .vh-gauge + .vh-gauge { padding-left: 16px; }
  .vh-gnum { font-size: 27px; }
  .vh-glabel { font-size: 11px; }
  .pl-signal-guidance { flex: 1 1 100%; max-width: none; font-size: 10px; }
  .pl-app .tii-tabs { gap: 3px; }
  .pl-app .tii-tab { padding-inline: 7px; font-size: 11px; }
  .pl-app .tii-tab b { font-size: 10px; }
  .pl-app .tii-docwrap { padding: 9px; height: 500px; min-height: 350px; max-height: 67vh; }
  .pl-app .tii-doc { padding: 21px 18px; }
  .pl-document-sheet { padding: 21px 18px; }
  .pl-document-title { font-size: 21px !important; margin-bottom: 18px; }
  .pl-app .tii-doc p, .pl-app .tii-doc .tii-s { font-size: 14px; line-height: 1.9; }
  .pl-app .tii-doc h2 { font-size: 19px; }
  .pl-app .tii-legacy-toggle { padding: 13px; font-size: 11px; line-height: 1.6; }
  .pl-app #tiiLegacy { padding: 15px; }
  .pl-app #tiiLegacy .sec-head { font-size: 18px; }
  .pl-app #tiiLegacy .dials { grid-template-columns: 1fr; }
  .pl-app #tiiLegacy .report-nav { top: 60px; font-size: 10px; }
  .pl-app .colophon { padding: 0 16px 25px; font-size: 10px; }
  .pl-notice { left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); max-width: calc(100vw - 28px); width: max-content; font-size: 11px; }
  .pl-confirm-dialog { padding: 23px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pl-app *, .pl-app *::before, .pl-app *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { :root, * { scrollbar-color: auto; } .pl-app :focus-visible { outline: 2px solid Highlight; } .ws-tray, .ws-switch, .ws-stamp, .pl-nav-item.is-current { border-color: ButtonText; } .ws-switch::before { background: ButtonText; } .ws-depth input:checked ~ .ws-switch { background: Highlight; } .pl-progress-track > span { background: Highlight; } }
@media print { .pl-sidebar, .pl-topbar, .pl-page-heading, .pl-report-actions, .pl-notice, .pl-app .suite-footer { display: none !important; } .pl-app { padding: 0; background: #fff; } .pl-app main.pl-main { padding: 0; } .pl-app .tii-docwrap, .pl-app .tii-panel { height: auto; max-height: none; overflow: visible; } .pl-app .tii-body { display: block; } }
