:root {
  --bg: #f7f9fc;
  --surface: #fff;
  --ink: #10141c;
  --muted: #626c7b;
  --line: #e3e8f1;
  --blue: #2767f5;
  --blue-dark: #1853d3;
  --pale: #edf3ff;
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope Variable", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: var(--blue);
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #83adff;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 650;
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 650;
}
h3 {
  font-size: 1.2rem;
}
p {
  color: var(--muted);
}
.wrap {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.logo {
  font-size: 27px;
  letter-spacing: -1.5px;
  font-weight: 760;
  color: var(--ink);
  white-space: nowrap;
}
.logo span {
  color: var(--blue);
}
.logo i {
  font-style: normal;
  color: var(--blue);
}
.header-link {
  color: var(--ink);
  font-size: 14px;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 52px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.tiny-line {
  width: 20px;
  height: 2px;
  background: var(--blue);
}
.hero h1 {
  font-size: clamp(2.7rem, 4.8vw, 4.3rem);
  line-height: 1.12;
  letter-spacing: -0.052em;
}
.hero h1 span {
  color: var(--blue);
  font-size: 0.72em;
  white-space: nowrap;
}
.hero-copy > p {
  font-size: 17px;
  max-width: 460px;
  margin-top: 26px;
  line-height: 1.75;
}
.hero-art {
  height: 425px;
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 50%, #e0eaff 0, transparent 68%);
}
.art-grid {
  position: absolute;
  inset: 10px;
  background-image:
    linear-gradient(#dce5f170 1px, transparent 1px),
    linear-gradient(90deg, #dce5f170 1px, transparent 1px);
  background-size: 35px 35px;
  mask-image: radial-gradient(ellipse, #000 0, transparent 68%);
}
.art-orbit {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid #dce5f1;
  border-radius: 50%;
  inset: 25px 0 0;
  margin: auto;
}
.document-stack {
  position: absolute;
  width: 255px;
  height: 300px;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%) rotate(-8deg);
}
.doc-back,
.doc-middle,
.doc-front {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid #d8e2f1;
  background: white;
}
.doc-back {
  transform: rotate(18deg) translate(15px, -2px);
  background: #e8f0ff;
}
.doc-middle {
  transform: rotate(9deg) translate(6px, -1px);
  background: #f4f7ff;
}
.doc-front {
  padding: 23px;
  box-shadow: 0 20px 50px #142a5b12;
}
.doc-top {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--blue);
}
.doc-top span {
  font-size: 8px;
  letter-spacing: 0.07em;
  line-height: 1.5;
  font-weight: 700;
}
.doc-top b {
  margin-left: auto;
  background: var(--pale);
  padding: 4px 7px;
  font-size: 10px;
  border-radius: 4px;
}
.doc-title {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-top: 29px;
}
.doc-lines {
  margin-top: 20px;
  display: grid;
  gap: 7px;
}
.doc-lines i {
  height: 4px;
  border-radius: 3px;
  background: #e9edf4;
}
.doc-lines i:nth-child(2) {
  width: 85%;
}
.doc-lines i:nth-child(3) {
  width: 65%;
}
.doc-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 11px;
  color: #778296;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.art-label {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 7px 20px #25488408;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.art-label.scan {
  bottom: 57px;
  left: 5%;
  padding: 14px 17px;
  color: var(--blue);
}
.art-label.scan span {
  color: var(--muted);
  line-height: 1.6;
}
.art-label.scan b {
  color: var(--ink);
  font-weight: 600;
}
.art-label.ready {
  right: 0;
  top: 64px;
  padding: 10px 13px;
}
.check-circle {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  background: var(--pale);
  color: var(--blue);
  border-radius: 50%;
}
.art-caption {
  position: absolute;
  bottom: 3px;
  right: 5%;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: #7c8ba2;
}
.search-section {
  padding: 34px 0 50px;
  scroll-margin-top: 24px;
}
.section-number {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 15px;
}
.search-section h2 {
  margin-bottom: 22px;
}
.search-form {
  display: flex;
  gap: 16px;
  align-items: center;
  background: white;
  border: 1px solid #d9e1ee;
  border-radius: var(--radius);
  padding: 10px 10px 10px 23px;
  box-shadow: 0 5px 20px #24477705;
}
.search-form > svg {
  color: #7b8aa2;
  flex-shrink: 0;
}
.search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  padding: 14px 0;
  color: var(--ink);
}
.search-form input:focus {
  outline: none;
}
.search-form:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #2767f516;
}
.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--blue);
  color: white;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  min-height: 48px;
  padding: 13px 23px;
  border-radius: 10px;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  background: var(--blue-dark);
}
.button.secondary {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--pale);
}
.button.ghost {
  background: transparent;
  color: var(--muted);
  padding-inline: 12px;
}
.button.danger {
  background: #fff0f0;
  color: #b32b35;
  border: 1px solid #f7d8d8;
}
.button.small {
  min-height: 40px;
  padding: 9px 13px;
}
.eco {
  border-top: 1px solid var(--line);
  padding: 43px 0 60px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.eco-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #edf2f8;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #61768e;
}
.eco h2 {
  font-size: 25px;
  letter-spacing: -0.035em;
}
.eco p {
  max-width: 485px;
  font-size: 14px;
  margin-top: 15px;
}
.eco-note {
  margin-left: auto;
  align-self: flex-end;
  font-size: 12px;
  color: #778396;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 34px 0 42px;
}
.site-footer .logo {
  font-size: 23px;
}
.site-footer > div {
  text-align: right;
  font-size: 13px;
  display: grid;
  gap: 4px;
}
.site-footer > div span {
  color: var(--muted);
}
.site-footer a {
  font-size: 14px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 15px;
}
.skip-link:focus {
  top: 0;
}
.empty-page {
  padding-block: 100px;
  min-height: 60vh;
}
.empty-page h1 {
  max-width: 650px;
}
.empty-page p {
  max-width: 650px;
  margin-top: 22px;
  margin-bottom: 28px;
}
.skeleton {
  height: 60px;
  background: linear-gradient(90deg, #edf1f7, #fff, #edf1f7);
  background-size: 200%;
  animation: pulse 2s linear infinite;
  border-radius: 14px;
  max-width: 600px;
}
@keyframes pulse {
  to {
    background-position: -200%;
  }
}
.search-page {
  padding-block: 55px;
  min-height: 65vh;
}
.search-page h1 {
  margin-bottom: 26px;
}
.result-count {
  font-size: 14px;
  color: var(--muted);
  margin: 32px 0 15px;
}
.result-card {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 22px 20px;
  border-radius: 12px;
  color: var(--ink);
}
.result-card:hover {
  background: white;
}
.result-card h2 {
  font-size: 20px;
  letter-spacing: -0.025em;
}
.result-card p {
  font-size: 14px;
  margin-top: 7px;
}
.empty-results {
  background: white;
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 16px;
  margin-top: 24px;
}
.empty-results p {
  margin-top: 13px;
}
.manual-heading {
  padding-block: 37px 27px;
}
.manual-heading .eyebrow {
  margin-bottom: 14px;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--blue);
}
.manual-heading h1 {
  max-width: 980px;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
}
.manual-heading > p {
  margin-top: 12px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 23px;
}
.notice {
  padding: 15px 18px;
  border-radius: 10px;
  font-size: 14px;
  background: var(--pale);
  color: #274773;
}
.notice.error {
  background: #fff1f1;
  color: #a42a35;
}
.notice.success {
  background: #eaf7ef;
  color: #236443;
}
.muted {
  color: var(--muted);
}
.mono {
  font-family: monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  padding: 23px;
  border-radius: 14px;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
}
.stat-value {
  font-size: 33px;
  font-weight: 650;
  letter-spacing: -0.045em;
  margin-top: 5px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}
.field {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}
.field input,
.field select {
  min-height: 48px;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d7dfeb;
  background: white;
  border-radius: 9px;
  color: var(--ink);
}
.field small {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.full {
  grid-column: 1/-1;
}
.form-grid .actions {
  margin-top: 0;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.admin-header .logo {
  font-size: 24px;
}
.admin-header nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-header nav a {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
  border-radius: 8px;
}
.admin-header nav a.active {
  color: var(--blue);
  background: var(--pale);
}
.admin-main {
  padding: 35px 0 65px;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.page-title h1 {
  font-size: 30px;
}
.page-title p {
  font-size: 14px;
  margin-top: 8px;
}
.admin-user {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: center;
}
.admin-user button {
  border: 0;
  background: none;
  color: var(--muted);
  min-height: 44px;
  font-size: 13px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  font-weight: 600;
  background: #fafbfd;
  color: var(--muted);
  white-space: nowrap;
}
td,
th {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
}
tr:last-child td {
  border: 0;
}
td a {
  font-weight: 600;
}
td .sub {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
  max-width: 240px;
}
.badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 7px;
  white-space: nowrap;
  background: #edf1f6;
  color: #536178;
  font-size: 12px;
}
.badge.published {
  background: #eaf1ff;
  color: #2056bb;
}
.badge.hidden {
  background: #fff5e4;
  color: #876223;
}
.table-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.table-actions a,
.table-actions button {
  white-space: nowrap;
  min-height: 40px;
  font-size: 12px;
  border: 0;
  background: none;
  color: var(--blue);
  padding: 8px;
}
.list-tools {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: center;
}
.list-tools .search-form {
  flex: 1;
  padding: 2px 7px 2px 15px;
}
.list-tools select {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  min-height: 48px;
  font-size: 14px;
}
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: min(440px, 100%);
}
.login-card .logo {
  display: block;
  margin-bottom: 42px;
}
.login-card h1 {
  font-size: 28px;
  margin-bottom: 12px;
}
.login-card > p {
  font-size: 14px;
  margin-bottom: 30px;
}
.login-card form {
  display: grid;
  gap: 20px;
}
.upload-area {
  border: 1px dashed #bccde8;
  background: #f7faff;
  border-radius: 12px;
  padding: 26px;
  display: grid;
  gap: 10px;
  text-align: center;
  position: relative;
  font-size: 14px;
}
.upload-area.dragging {
  border-color: var(--blue);
  background: var(--pale);
}
.upload-area input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  cursor: pointer;
}
.upload-area:focus-within {
  outline: 3px solid #83adff;
}
.upload-area svg {
  margin: auto;
  color: var(--blue);
}
.upload-area p {
  font-size: 13px;
}
.upload-progress {
  width: 100%;
  accent-color: var(--blue);
}
.edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
}
.side-panel {
  display: grid;
  gap: 22px;
  align-content: start;
}
.detail-list {
  display: grid;
  gap: 16px;
  font-size: 13px;
}
.detail-list dt {
  color: var(--muted);
  font-size: 12px;
}
.detail-list dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}
.section-heading {
  font-size: 19px;
  margin-bottom: 20px;
}
.stat-table td,
.stat-table th {
  padding: 12px 10px;
}
.inline-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: end;
}
.inline-form .field {
  flex: 1;
  min-width: 160px;
}
.top-gap {
  margin-top: 28px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  max-width: 480px;
  width: calc(100% - 40px);
  box-shadow: 0 20px 90px #10141c30;
}
dialog::backdrop {
  background: #10141c66;
}
dialog p {
  margin-top: 15px;
}
.pdf-shell {
  border: 1px solid #dae2ee;
  border-radius: 16px;
  overflow: hidden;
  background: #e9edf4;
  margin-bottom: 44px;
}
.pdf-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 62px;
  padding: 9px 15px;
  background: white;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #43506a;
  flex-shrink: 0;
}
.icon-button:hover {
  background: var(--pale);
}
.pdf-toolbar input {
  width: 48px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  font-size: 13px;
}
.page-control {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  margin-right: auto;
}
.zoom-label {
  font-size: 12px;
  min-width: 45px;
  text-align: center;
}
.toolbar-divider {
  width: 1px;
  height: 23px;
  background: var(--line);
  margin-inline: 6px;
}
.pdf-scroll {
  height: min(78vh, 900px);
  min-height: 400px;
  overflow: auto;
  position: relative;
  padding: 22px;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y pinch-zoom;
}
.pdf-pages {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  min-width: 100%;
  width: max-content;
}
.pdf-page {
  position: relative;
  flex-shrink: 0;
  background: white;
  box-shadow: 0 2px 6px #22375314;
  overflow: hidden;
  scroll-margin: 10px;
}
.pdf-page canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.pdf-page.placeholder {
  background: linear-gradient(#fff, #fafbfd);
}
.page-skeleton {
  height: 100%;
  display: grid;
  place-items: center;
  color: #a2afc2;
  font-size: 13px;
}
.textLayer {
  position: absolute;
  text-align: initial;
  inset: 0;
  overflow: hidden;
  line-height: 1;
  text-size-adjust: none;
  forced-color-adjust: none;
  transform-origin: 0 0;
  z-index: 2;
}
.textLayer :is(span, br) {
  color: transparent;
  position: absolute;
  white-space: pre;
  cursor: text;
  transform-origin: 0 0;
}
.textLayer > :not(.markedContent),
.textLayer .markedContent span:not(.markedContent) {
  z-index: 1;
}
.textLayer span.match {
  background: #ffe16999;
  border-radius: 2px;
}
.textLayer ::selection {
  background: #2767f550;
}
.pdf-search {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 15px;
  background: white;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.pdf-search input {
  flex: 1;
  min-width: 140px;
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 8px;
  min-height: 42px;
}
.pdf-search span {
  font-size: 12px;
  color: var(--muted);
}
.pdf-state {
  padding: 60px 20px;
  text-align: center;
  background: #f1f4f9;
}
.pdf-state p {
  margin-bottom: 18px;
}
.pdf-shell.expanded {
  position: fixed;
  inset: 0;
  z-index: 99;
  margin: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  background: #e9edf4;
}
.pdf-shell.expanded .pdf-scroll {
  height: auto;
  min-height: 0;
  flex: 1;
}
.pdf-shell:fullscreen {
  height: 100vh;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}
.pdf-shell:fullscreen .pdf-scroll {
  height: auto;
  min-height: 0;
  flex: 1;
}
body:has(.pdf-shell.expanded) {
  overflow: hidden;
}
.spacer {
  flex: 1;
}
.upload-info {
  font-size: 13px;
  padding: 12px 0;
  color: var(--muted);
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 10px;
  }
  .hero-art {
    transform: scale(0.9);
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .edit-layout {
    grid-template-columns: 1fr;
  }
  .side-panel {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-header {
    flex-wrap: wrap;
  }
  .admin-user {
    width: 100%;
    justify-content: flex-end;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 78px;
  }
  .logo {
    font-size: 24px;
  }
  .header-link {
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 38px 20px;
    gap: 4px;
  }
  .hero h1 {
    font-size: clamp(2rem, 8.6vw, 3.5rem);
  }
  .hero h1 span {
    font-size: 0.75em;
    white-space: normal;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .hero-copy > p {
    font-size: 15px;
    margin-top: 18px;
    max-width: 490px;
  }
  .hero-art {
    display: none;
  }
  .search-section {
    padding: 18px 0 36px;
  }
  .search-section h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .section-number {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .search-form {
    gap: 10px;
    padding: 5px 6px 5px 13px;
  }
  .search-form > svg {
    width: 19px;
  }
  .search-form input {
    font-size: 14px;
    padding: 14px 0;
  }
  .search-form .button {
    padding-inline: 15px;
  }
  .eco {
    padding-block: 30px 39px;
    gap: 17px;
  }
  .eco h2 {
    font-size: 22px;
  }
  .eco p {
    font-size: 13px;
  }
  .eco-icon {
    width: 43px;
    height: 43px;
    border-radius: 11px;
  }
  .eco-icon svg {
    width: 23px;
  }
  .eco-note {
    display: none;
  }
  .site-footer {
    padding-block: 25px 32px;
    align-items: flex-start;
  }
  .site-footer .logo {
    font-size: 20px;
  }
  .site-footer > div span {
    font-size: 11px;
  }
  .site-footer > div a {
    font-size: 12px;
  }
  .empty-page {
    padding-block: 65px;
  }
  .search-page {
    padding-block: 35px;
  }
  .empty-results {
    padding: 23px;
  }
  .manual-heading {
    padding-block: 25px 20px;
  }
  .manual-heading .eyebrow {
    font-size: 10px;
  }
  .manual-heading > p {
    font-size: 14px;
    margin-top: 8px;
  }
  .manual-heading .actions {
    margin-top: 18px;
  }
  .manual-heading .button {
    min-height: 45px;
    padding: 12px 16px;
  }
  .manual-heading .fullscreen-top {
    display: none;
  }
  .pdf-shell {
    border-radius: 12px;
  }
  .pdf-toolbar {
    gap: 2px;
    padding: 7px;
  }
  .pdf-toolbar .icon-button {
    width: 38px;
    height: 42px;
  }
  .pdf-toolbar .toolbar-divider {
    margin-inline: 2px;
  }
  .pdf-toolbar .zoom-label {
    display: none;
  }
  .pdf-toolbar .desktop-control {
    display: none;
  }
  .pdf-scroll {
    padding: 10px;
    height: 70vh;
    min-height: 350px;
  }
  .pdf-search {
    padding: 10px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .panel {
    padding: 20px;
  }
  .side-panel {
    grid-template-columns: 1fr;
  }
  .page-title {
    align-items: flex-start;
  }
  .page-title h1 {
    font-size: 25px;
  }
  .admin-header nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }
  .admin-header nav a {
    font-size: 13px;
    padding: 6px 10px;
  }
  .admin-user {
    width: auto;
    margin-left: auto;
    font-size: 10px;
  }
  .admin-user span {
    display: none;
  }
  .admin-header {
    gap: 6px;
  }
  .list-tools {
    flex-wrap: wrap;
  }
  .list-tools .search-form {
    flex-basis: 100%;
  }
  .list-tools select {
    width: 100%;
  }
  .stat {
    padding: 16px;
  }
  .stat-label {
    font-size: 12px;
  }
  .stat-value {
    font-size: 29px;
  }
  .stat-grid {
    gap: 10px;
  }
  .page-title .button {
    padding: 12px 15px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
.textLayer {
  --min-font-size: 1;
  --text-scale-factor: calc(var(--total-scale-factor) * var(--min-font-size));
  --min-font-size-inv: calc(1 / var(--min-font-size));
  letter-spacing: normal;
  word-spacing: normal;
}
.textLayer > :not(.markedContent),
.textLayer .markedContent span:not(.markedContent) {
  --font-height: 0;
  font-size: calc(var(--text-scale-factor) * var(--font-height));
  --scale-x: 1;
  --rotate: 0deg;
  transform: rotate(var(--rotate)) scaleX(var(--scale-x))
    scale(var(--min-font-size-inv));
}
.textLayer .markedContent {
  display: contents;
}
