:root { --desk-bg: #f7f7f4; --desk-panel: #f1f0eb; --desk-paper: #fffefb; --desk-ink: #2a2924; --desk-muted: #625f57; --desk-accent: #6f604b; --desk-hover: #ece8df; --desk-shadow: 45, 42, 34; --bs-body-color: #2a2924; --bs-secondary-color: #625f57; --bs-border-color: #dedbd4; --bs-primary: #6f604b; --bs-primary-rgb: 111, 96, 75; --bs-link-color: #5a4f40; --bs-link-hover-color: #3f372d; --bs-accordion-btn-focus-border-color: #cfc2ad; --bs-accordion-btn-focus-box-shadow: 0 0 0 .16rem rgba(111, 96, 75, .22); }
* { min-width: 0; }
html, body { height: 100%; overflow: hidden; }
body { background: var(--desk-bg); color: var(--desk-ink); -webkit-font-smoothing: antialiased; }
.btn-primary { --bs-btn-bg: #6f604b; --bs-btn-border-color: #6f604b; --bs-btn-hover-bg: #5a4f40; --bs-btn-hover-border-color: #5a4f40; --bs-btn-active-bg: #4b4337; --bs-btn-active-border-color: #4b4337; }
.btn-outline-primary { --bs-btn-color: #6f604b; --bs-btn-border-color: #6f604b; --bs-btn-hover-color: #fffefb; --bs-btn-hover-bg: #6f604b; --bs-btn-hover-border-color: #6f604b; --bs-btn-active-color: #fffefb; --bs-btn-active-bg: #4b4337; --bs-btn-active-border-color: #4b4337; }
.home-view { position: relative; height: 100vh; overflow: auto; background-color: #fff; background-image: radial-gradient(ellipse 72% 44rem at 13% 0, rgba(221, 208, 187, .48), transparent 72%), radial-gradient(ellipse 54% 32rem at 87% 4%, rgba(239, 232, 219, .54), transparent 72%), url('/assets/ambient-paper-v2.svg?v=20260726-12'); background-position: top left, top right, center; background-repeat: no-repeat; background-size: auto, auto, cover; background-attachment: scroll, scroll, fixed; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .99); }
.home-view > * { position: relative; z-index: 1; }
/* The landing page scrolls inside .home-view, so pin its navigation to that container. */
.home-header { position: sticky; z-index: 1020; top: 0; background: rgba(247, 247, 244, .74); backdrop-filter: saturate(160%) blur(10px); }
.home-hero-section { position: relative; min-height: 31rem; padding-top: clamp(3.5rem, 8vh, 6.5rem); padding-bottom: clamp(3.5rem, 9vh, 7rem); overflow: hidden; isolation: isolate; }
.home-hero-section, .home-feature-section, .home-examples-section, .home-about-section, .home-pricing-section, .home-integrations { border-radius: 1.35rem; padding-right: clamp(1.15rem, 3vw, 2.6rem) !important; padding-left: clamp(1.15rem, 3vw, 2.6rem) !important; }
.home-feature-section, .home-examples-section, .home-about-section, .home-pricing-section, .home-integrations { margin-top: 2.5rem; margin-bottom: 2.5rem; }
.home-headline { position: relative; color: var(--desk-ink); font-family: Georgia, "Times New Roman", serif; font-size: 3.4rem; font-weight: 600; letter-spacing: 0; line-height: 1.08; }
.home-headline span { color: var(--desk-accent); }
.home-hero-risk { color: rgba(90, 79, 64, .82); font-size: 1.2rem; font-weight: 400; letter-spacing: .01em; }
.home-lead { min-height: 5.1rem; max-width: 34rem; font-size: 1.12rem !important; }
.home-hero-action-stack { max-width: 34rem; }
.home-lead-typewriter::after { display: inline-block; width: .08rem; height: 1.15em; margin-left: .15rem; background: var(--desk-accent); content: ''; vertical-align: -.13em; animation: home-caret .7s step-end infinite; }
.home-lead.is-complete .home-lead-typewriter::after { opacity: 0; animation: none; }
.home-upload-button { position: relative; overflow: hidden; box-shadow: 0 .45rem 1rem rgba(var(--desk-shadow), .14); }
.home-upload-button::after { position: absolute; top: 0; bottom: 0; left: -45%; width: 22%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .26), transparent); content: ''; opacity: 0; pointer-events: none; transform: skewX(-18deg); animation: home-button-shimmer 8s ease-in-out infinite; }
.home-privacy-icon { color: var(--desk-accent); }
.privacy-chevron { font-size: .7em; transition: transform .2s ease; }
.privacy-toggle[aria-expanded="true"] .privacy-chevron { transform: rotate(180deg); }
/* Bootstrap positions the copy; this mask is the only custom layer needed to dissolve the photograph behind it. */
.home-hero-content { position: relative; z-index: 2; }
.home-hero-image-wrap { position: absolute; z-index: 0; top: -14%; right: -8%; bottom: -14%; width: 80%; pointer-events: none; }
.home-hero-image-wrap::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(247, 247, 244, .42) 12%, rgba(247, 247, 244, .16) 27%, transparent 42%); content: ''; }
.home-hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 67% center; filter: sepia(.48) saturate(.66) contrast(.9); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); mask-composite: intersect; mix-blend-mode: multiply; opacity: .72; }
.home-hero-image-mobile { display: none; }
.home-reveal { animation: home-reveal .65s cubic-bezier(.22, 1, .36, 1) both; }
.home-reveal-delayed { animation-delay: .1s; }
@keyframes home-reveal { from { opacity: 0; transform: translateY(.85rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes home-caret { 50% { opacity: 0; } }
@keyframes home-button-shimmer { 0%, 80%, 100% { left: -45%; opacity: 0; } 84% { opacity: 1; } 93% { left: 120%; opacity: 0; } }
@keyframes home-headline-shimmer { 0%, 10%, 30.1%, 40%, 60.1%, 70%, 90.1%, 100% { background-position: 135% 0; } 30%, 60%, 90% { background-position: -25% 0; } }
.home-section-eyebrow { color: var(--desk-muted); font-size: .74rem; font-weight: 700; letter-spacing: .1em; }
.home-feature-section { margin-top: 2rem; scroll-margin-top: 4.5rem; }
.home-feature-section-primary { padding-top: 7rem !important; padding-bottom: 8rem !important; background: linear-gradient(180deg, rgba(235, 228, 216, .58), rgba(246, 242, 234, .46)); box-shadow: inset 0 1px 0 rgba(111, 96, 75, .055), inset 0 -1px 0 rgba(111, 96, 75, .055); }
.home-feature-section-primary > .vstack { gap: 8.5rem !important; }
.home-more-feature-section { padding-top: 4.5rem !important; padding-bottom: 4.75rem !important; background: linear-gradient(180deg, rgba(246, 242, 234, .56), rgba(239, 234, 224, .42)); box-shadow: inset 0 1px 0 rgba(111, 96, 75, .045), inset 0 -1px 0 rgba(111, 96, 75, .045); }
.home-feature-story { padding: 1.25rem 0; }
.home-feature-kicker { margin-bottom: .75rem; color: var(--desk-accent); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.home-feature-section > .row h2, .home-examples-section h2, .home-about-section .static-page-title, #users h2, #usp .usp-title, .home-pricing-section h2, .home-integrations h2:not(.home-feature-kicker) { font-size: clamp(1.68rem, 2.45vw, 2.18rem); font-weight: 650; line-height: 1.15; letter-spacing: 0; }
.home-feature-story h3:not(.home-feature-title-compact) { font-size: clamp(1.32rem, 1.9vw, 1.72rem); font-weight: 650; line-height: 1.18; letter-spacing: 0; }
.home-feature-section > .row p, .home-feature-story p, .home-examples-section > .home-scroll-reveal p, .home-about-section .lead, #usp .lead, .home-pricing-section > .row > div > .text-center p { color: var(--desk-muted) !important; font-size: clamp(1rem, 1.15vw, 1.08rem) !important; line-height: 1.62; }
.home-feature-carousel { border-radius: 1rem; }
.home-feature-carousel-navigation { display: flex; align-items: center; justify-content: center; align-self: center; min-height: .72rem; text-align: center; }
/* This story keeps its indicators inline with the explanatory copy instead of centered below the media. */
.home-feature-carousel-navigation.justify-content-start { align-self: stretch; text-align: left; }
.home-feature-carousel-navigation .carousel-indicators { display: flex; align-items: center; gap: .42rem; width: auto; }
/* Bootstrap indicators are horizontal bars by default; these compact dots suit the feature-story navigation. */
.home-feature-carousel-navigation .carousel-indicators button { width: .58rem; height: .58rem; margin: 0; border: 0; border-radius: 50%; background: #cfc8bb; opacity: 1; transition: transform .2s ease, background-color .2s ease; }
.home-feature-carousel-navigation .carousel-indicators button.active { background: var(--desk-accent); transform: scale(1.22); }
@media (min-width: 992px) { .home-feature-story h3[aria-live]:not(.home-feature-title-compact) { min-height: 4.1rem; } .home-feature-story p[aria-live]:not(.home-feature-copy-fluid) { min-height: 8.75rem; } }
.home-feature-story > [class*="col-"] { transition: opacity .82s cubic-bezier(.22, 1, .36, 1), transform .82s cubic-bezier(.22, 1, .36, 1); }
.home-feature-story:not(.is-visible) > [class*="col-"]:first-child { opacity: 0; transform: translateX(-1rem); }
.home-feature-story:not(.is-visible) > [class*="col-"]:last-child { opacity: 0; transform: translateX(1rem); }
.home-shot-frame { position: relative; min-height: 22rem; overflow: hidden; border: 1px solid rgba(111, 96, 75, .13); border-radius: 1rem; background: rgba(255, 254, 251, .72); box-shadow: 0 1rem 2.5rem rgba(var(--desk-shadow), .12); transform: translateY(.35rem) scale(.985); transition: transform .9s cubic-bezier(.22, 1, .36, 1), box-shadow .9s cubic-bezier(.22, 1, .36, 1), border-color .9s ease; }
.home-feature-story.is-in-focus .home-shot-frame { border-color: rgba(111, 96, 75, .22); box-shadow: 0 1.35rem 3rem rgba(var(--desk-shadow), .16); transform: translateY(0) scale(1); }
/* The carousel's screen previews share one fixed canvas so slide controls never move. */
.home-integrity-shot { height: clamp(22rem, 37vw, 27rem); min-height: 0; background: #f7f5f1; }
.home-integrity-demo { position: relative; height: 100%; overflow: hidden; background: #f7f5f1; }
.home-integrity-demo-video { display: block; width: 100%; height: 100%; background: #f7f5f1; object-fit: cover; }
.home-integrity-reader-demo { display: grid; grid-template-columns: 60% 40%; height: 100%; background: #fff; }
.home-integrity-demo-manuscript { padding: clamp(.8rem, 1.8vw, 1.5rem); overflow: hidden; background: #fff; color: #2a2924; font-family: Georgia, "Times New Roman", serif; font-size: clamp(.58rem, 1.02vw, .9rem); line-height: 1.58; }
.home-integrity-demo-manuscript h4 { margin: 0 0 .8rem; font-family: inherit; font-size: 1.22em; font-weight: 700; line-height: 1.3; }
.home-integrity-demo-manuscript h5 { margin: 1rem 0 .35rem; font-family: inherit; font-size: 1.05em; font-weight: 700; }
.home-integrity-demo-manuscript p { margin: 0; }
.home-integrity-demo-manuscript mark { padding: .04em .12em; background: #efdcaa; }
.home-integrity-demo-panel { padding: clamp(.7rem, 1.45vw, 1.2rem); overflow: hidden; border-left: 1px solid #ddd8cf; background: #fbfaf7; }
.home-integrity-demo-panel-head { margin-bottom: clamp(.5rem, 1vw, .8rem); color: #2a2924; font-size: clamp(.62rem, 1.04vw, .9rem); font-weight: 700; }
.home-integrity-count-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.42rem, .95vw, .8rem); align-content: center; }
.home-integrity-reader-demo .home-integrity-count-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-integrity-count-grid > div { position: relative; display: flex; min-height: clamp(3.65rem, 6.2vw, 5.1rem); flex-direction: column; justify-content: space-between; padding: clamp(.5rem, .9vw, .72rem); overflow: hidden; border-radius: .8rem; background: #fffefb; box-shadow: 0 .55rem 1.15rem rgba(var(--desk-shadow), .09); color: #69655e; font-size: clamp(.58rem, .92vw, .78rem); }
.home-integrity-count-grid > div::after { position: absolute; right: .55rem; bottom: .24rem; left: .55rem; height: .2rem; border-radius: 999px; background: #e9ecef; content: ''; }
.home-integrity-count-grid > .has-author-profile-coverage::after { background: linear-gradient(90deg, #d1e7dd 0 var(--author-profile-both), #fff3cd var(--author-profile-both) var(--author-profile-one-end), #f8d7da var(--author-profile-one-end) 100%); }
.home-integrity-count-grid > .has-affiliation-link-coverage::after { background: linear-gradient(90deg, #d1e7dd 0 var(--affiliation-linked), #f8d7da var(--affiliation-linked) 100%); }
.home-integrity-count-grid > .has-reference-integrity-coverage::after { background: linear-gradient(90deg, #d1e7dd 0 var(--reference-clean-end), #fff3cd var(--reference-clean-end) var(--reference-attention-end), #f8d7da var(--reference-attention-end) 100%); }
.home-integrity-count-grid > .has-display-link-coverage::after { background: linear-gradient(90deg, #d1e7dd 0 var(--display-linked), #f8d7da var(--display-linked) 100%); }
.home-integrity-count-grid > .has-keyword-count-health::after { background: linear-gradient(90deg, #d1e7dd 0 var(--keyword-green-end), #fff3cd var(--keyword-green-end) var(--keyword-yellow-end), #f8d7da var(--keyword-yellow-end) var(--keyword-red-end), #e9ecef var(--keyword-red-end) 100%); }
.home-integrity-count-grid > .has-word-count-health::after { background: linear-gradient(90deg, #d1e7dd 0 var(--word-count-green-end), #fff3cd var(--word-count-green-end) var(--word-count-yellow-end), #f8d7da var(--word-count-yellow-end) var(--word-count-red-end), #e9ecef var(--word-count-red-end) 100%); }
.home-integrity-count-grid strong { color: var(--desk-ink); font-size: clamp(1.2rem, 2.3vw, 1.9rem); line-height: 1; }
.home-integrity-reader-demo .home-integrity-count-grid > div { min-height: clamp(3.15rem, 4.7vw, 4rem); }
.home-integrity-reader-demo .home-integrity-count-grid strong { font-size: clamp(1rem, 1.45vw, 1.2rem); }
.home-integrity-count-grid .is-selected, .home-integrity-profile.is-selected { outline: 2px solid #d5ad55; outline-offset: 1px; }
.home-integrity-author-summary { display: flex; height: 100%; flex-direction: column; gap: clamp(.55rem, 1.1vw, .9rem); padding: clamp(1rem, 2.4vw, 1.9rem); background: #fbfaf7; }
.home-integrity-author-summary > p { margin: -.25rem 0 .1rem; color: #78808a; font-size: clamp(.62rem, 1vw, .86rem); }
.home-integrity-split { display: grid; grid-template-columns: 55% 45%; height: 100%; background: #fff; }
.home-integrity-paper { padding: clamp(1rem, 2.65vw, 2.25rem); overflow: hidden; border-right: 1px solid #ddd8cf; color: #2a2924; font-family: Georgia, "Times New Roman", serif; font-size: clamp(.68rem, 1.22vw, 1.05rem); line-height: 1.55; }
.home-integrity-paper h4 { margin: 0 0 1rem; font-family: var(--bs-font-sans-serif); font-size: clamp(.9rem, 1.8vw, 1.45rem); font-weight: 700; line-height: 1.25; }
.home-integrity-paper h5 { margin: 1.15rem 0 .65rem; font-size: 1em; }
.home-integrity-paper mark, .home-integrity-figure mark { padding: .08em .2em; background: #eed99d; color: inherit; }
.home-integrity-detail { display: flex; flex-direction: column; gap: clamp(.45rem, 1.1vw, .8rem); padding: clamp(.8rem, 1.55vw, 1.4rem); overflow: hidden; background: #fbfaf7; color: #78808a; font-size: clamp(.65rem, 1.08vw, .94rem); }
.home-integrity-detail h4 { margin: 0; color: #25282c; font-size: clamp(.76rem, 1.45vw, 1.15rem); font-weight: 700; }
.home-integrity-detail > p { margin: 0 0 .15rem; }
.home-integrity-profile { display: flex; flex-direction: column; gap: .38rem; padding: clamp(.65rem, 1.15vw, 1rem); border: 1px solid #e7dfd1; border-radius: .75rem; background: #f4f0e8; color: #252525; }
.home-integrity-profile strong { font-size: clamp(.68rem, 1.18vw, 1rem); font-weight: 500; }
.home-integrity-profile span, .home-integrity-profile small { color: #78808a; }
.home-integrity-profile em { align-self: flex-start; padding: .12rem .46rem; border-radius: 999px; background: #e9ecef; color: #474b50; font-size: .82em; font-style: normal; }
.home-integrity-affiliation-paper p { margin: 0 0 .66rem; }
.home-integrity-affiliation-detail { justify-content: center; }
.home-integrity-reference-paper { font-size: clamp(.7rem, 1.5vw, 1.16rem); line-height: 1.75; }
.home-integrity-reference-card { border-radius: .55rem; }
.home-integrity-registry { display: flex; gap: 1rem; padding: .15rem 0 .45rem; border-bottom: 1px solid #e5dfd6; color: #75808c; }
.home-integrity-warning { padding: clamp(.6rem, 1vw, .85rem); border: 1px solid #ffe08a; border-radius: .55rem; background: #fff3cd; color: #725914; font-size: .85em; }
.home-integrity-warning strong { display: block; margin-bottom: .45rem; }
.home-integrity-warning p { margin: 0; line-height: 1.4; }
.home-integrity-warning hr { margin: .65rem 0 .5rem; border-color: rgba(114, 89, 20, .28); }
.home-integrity-warning button { display: block; margin-top: .55rem; font-size: .87em; }
.home-integrity-occurrence { margin-top: auto !important; padding-top: .55rem; border-top: 1px solid #e5dfd6; }
.home-integrity-figure { display: flex; flex-direction: column; gap: clamp(.5rem, 1vw, .8rem); padding: clamp(.75rem, 1.7vw, 1.35rem); overflow: hidden; background: #fff; color: #282828; font-size: clamp(.58rem, 1vw, .86rem); }
.home-integrity-flow-title { align-self: center; min-width: 36%; padding: .35rem .65rem; border: 2px solid #777; border-radius: .25rem; background: #fff; font-weight: 700; text-align: center; }
.home-integrity-flow-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.45rem, 1.2vw, 1rem); }
.home-integrity-flow-row > div { min-height: 4rem; padding: .5rem; border: 2px solid #777; background: #fff; font-weight: 700; }
.home-integrity-flow-row small { font-weight: 400; line-height: 1.25; }
.home-integrity-figure mark { margin-top: auto; }
/* Guideline previews use the same fixed canvas as the integrity carousel. */
.home-guideline-shot { height: clamp(22rem, 37vw, 27rem); min-height: 0; background: #f7f6f2; }
.home-guideline-panel { height: 100%; padding: clamp(1rem, 2.7vw, 2.25rem); background: #fffefb; color: #2a2924; }
.home-guideline-panel-overview { width: 111.111%; height: 111.111%; transform: scale(.9); transform-origin: top left; }
.home-guideline-panel-title { display: flex; align-items: center; justify-content: space-between; padding-bottom: clamp(.65rem, 1.6vw, 1.25rem); border-bottom: 1px solid #d8d5ce; color: #66635d; font-size: clamp(.85rem, 1.7vw, 1.45rem); font-weight: 650; letter-spacing: .06em; }
.home-guideline-summary { display: flex; align-items: center; gap: clamp(.9rem, 2.5vw, 2rem); padding: clamp(.85rem, 2.2vw, 1.7rem) 0; border-bottom: 1px solid #d8d5ce; color: #737a83; font-size: clamp(.8rem, 1.7vw, 1.55rem); }
.home-guideline-summary p { margin: .4rem 0 .8rem; font-size: .95em; }
.home-guideline-summary b { display: inline-block; padding: .22rem .65rem; border: 1px solid #f2b9c0; border-radius: .4rem; background: #f9d6da; color: #6e1f27; font-weight: 500; }
.home-guideline-donut { display: inline-flex; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; width: clamp(4.4rem, 9.2vw, 7.1rem); height: clamp(4.4rem, 9.2vw, 7.1rem); border: clamp(.65rem, 1.25vw, 1rem) solid #cee7db; border-top-color: #f7d4d9; border-left-color: #fff1c7; border-radius: 50%; color: #292724; font-size: clamp(1.35rem, 3.1vw, 2.45rem); font-weight: 700; line-height: .85; }
.home-guideline-donut small { margin-top: .2rem; color: #737a83; font-size: .42em; font-weight: 400; }
.home-guideline-stars { color: #ffbc00; letter-spacing: .04em; }
.home-guideline-rows { display: grid; gap: clamp(.85rem, 2vw, 1.45rem); padding-top: clamp(.8rem, 2vw, 1.5rem); }
.home-guideline-rows > div { display: flex; align-items: center; justify-content: space-between; color: #2e2c29; font-size: clamp(.9rem, 1.7vw, 1.45rem); }
.home-guideline-rows span { display: flex; width: 37%; height: .85rem; overflow: hidden; border-radius: 999px; background: #ece8df; }
.home-guideline-rows i { flex: 1; background: #cee7db; }
.home-guideline-rows i.warning { background: #fff1c7; }
.home-guideline-rows i.danger { background: #f7d4d9; }
.home-guideline-detail-screen { height: 100%; padding: clamp(1rem, 2.5vw, 2rem); background: #f7f6f2; color: #2a2924; }
.home-guideline-detail-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.home-guideline-detail-top > strong { font-size: clamp(1.3rem, 3vw, 2.3rem); }
/* The guideline name is useful context in this preview, but not its visual focal point. */
.home-guideline-detail-screen .home-guideline-detail-top > strong { color: #5f615d; font-size: clamp(.9rem, 1.65vw, 1.25rem); font-weight: 600; }
.home-guideline-detail-top > span { padding: .35rem .65rem; border: 1px solid #0d6efd; border-radius: .35rem; color: #0a58ca; font-size: clamp(.7rem, 1.35vw, 1.05rem); }
.home-guideline-accordion { overflow: hidden; border: 1px solid #dfdbd2; border-radius: .6rem; background: #f8f7f4; font-size: clamp(.7rem, 1.3vw, 1rem); }
.home-guideline-accordion > div, .home-guideline-accordion section > header { display: flex; align-items: center; gap: .6rem; min-height: clamp(2.4rem, 4.7vw, 3.75rem); padding: .55rem clamp(.65rem, 1.6vw, 1.2rem); border-bottom: 1px solid #dfdbd2; }
.home-guideline-accordion b { margin-left: auto; padding: .12rem .42rem; border-radius: 999px; background: #d7e7ff; }
.home-guideline-accordion section > header { color: #0b3c82; }
.home-guideline-accordion article { padding: clamp(.65rem, 1.4vw, 1.05rem) clamp(.75rem, 2vw, 1.45rem); border-bottom: 1px solid #dfdbd2; }
.home-guideline-accordion article strong { color: #198754; font-size: 1.06em; }
.home-guideline-accordion article p { margin: .45rem 0 0; color: #6c6962; font-size: .92em; line-height: 1.4; }
.home-guideline-source { font-size: clamp(.7rem, 1.22vw, 1.04rem); line-height: 1.6; }
.home-guideline-quote { display: flex; flex-direction: column; gap: clamp(.5rem, 1.2vw, .85rem); padding: clamp(.8rem, 1.6vw, 1.35rem); overflow: hidden; background: #f7f6f2; color: #6b6a65; font-size: clamp(.65rem, 1.08vw, .92rem); }
.home-guideline-quote > strong { color: #198754; font-size: 1.12em; }
.home-guideline-quote p { margin: 0; }
.home-guideline-quote > div { padding: .7rem; border: 1px solid #d8dce1; border-radius: .5rem; background: #fff; }
.home-guideline-quote > div > b { display: block; margin-top: .35rem; }
.home-guideline-quote > div > span { display: block; margin-top: .3rem; padding: .4rem; border: 3px solid #9cc2ff; border-radius: .5rem; color: #727b84; line-height: 1.42; }
.home-guideline-modal { display: grid; grid-template-columns: 25% 75%; height: 100%; background: #fff; color: #2a2924; font-size: clamp(.62rem, 1.1vw, .92rem); }
/* These two modal previews deliberately zoom out slightly so the facet labels remain legible inside the shared carousel frame. */
.home-guideline-modal-preview { width: 112%; height: 112%; transform: scale(.895); transform-origin: top left; }
.home-guideline-modal aside { display: flex; flex-direction: column; gap: .7rem; padding: clamp(.8rem, 1.8vw, 1.4rem); border-right: 1px solid #d9d6cf; color: #736e64; }
.home-guideline-modal aside small { color: #79808a; }
.home-guideline-modal aside b, .home-guideline-modal aside span { display: flex; justify-content: space-between; padding: .35rem .5rem; font-weight: 400; }
.home-guideline-modal aside b { border-radius: .35rem; background: #ede7da; color: #7a684d; }
.home-guideline-modal aside em { font-style: normal; }
.home-guideline-modal main { position: relative; padding: clamp(.85rem, 2vw, 1.55rem); overflow: hidden; }
.home-guideline-modal main h4 { margin: clamp(1.25rem, 3vw, 2.7rem) 0 .4rem; font-size: clamp(1.15rem, 2.7vw, 2rem); }
.home-guideline-modal main > p { margin: 0 0 clamp(1rem, 2vw, 1.5rem); color: #77808a; font-size: 1.2em; }
.home-guideline-modal nav { display: flex; gap: 1.15rem; margin-bottom: .9rem; }
.home-guideline-modal nav b { padding-bottom: .35rem; border-bottom: 2px solid #1f1f1e; }
.home-guideline-modal section { display: grid; gap: .35rem; padding: clamp(.65rem, 1.25vw, 1rem); border: 1px solid #dfdbd2; border-radius: .55rem; }
.home-guideline-modal section strong { margin-top: .3rem; }
.home-guideline-modal section a { color: #78818a; text-decoration: underline; }
.home-guideline-modal section p { margin: 0 0 .35rem; padding: .55rem; border-radius: .35rem; background: #f4f5f6; color: #78818a; line-height: 1.4; }
.home-guideline-modal-arrow, .home-guideline-close { position: absolute; top: .85rem; right: .95rem; color: #79808a; font-size: 1.2em; }
.home-guideline-library main { padding-top: clamp(.75rem, 1.4vw, 1.2rem); }
.home-guideline-library { grid-template-columns: 34% 66%; }
/* The preview's facets are navigation labels, so keep them readable on one line. */
.home-guideline-library aside b, .home-guideline-library aside span { white-space: nowrap; }
.home-guideline-library input { width: 100%; padding: .45rem .65rem; border: 1px solid #dedbd4; border-radius: .35rem; color: #6f6b64; font: inherit; }
.home-guideline-library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.5rem, 1.3vw, 1rem); max-height: calc(100% - 2.4rem); padding-top: clamp(.8rem, 1.7vw, 1.3rem); overflow: hidden; }
.home-guideline-library-grid > div { min-height: clamp(5rem, 10vw, 7rem); padding: clamp(.55rem, 1.2vw, .9rem); border-radius: .45rem; box-shadow: 0 .2rem .7rem rgba(var(--desk-shadow), .1); }
.home-guideline-library-grid strong { font-size: 1.08em; }
.home-guideline-library-grid p { margin: .42rem 0 0; color: #78808a; line-height: 1.45; }
.home-shot-image { display: block; width: 118%; max-width: none; transform: translate(-6%, -4%) scale(1.015); transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.home-shot-image-right { transform: translate(-18%, -4%) scale(1.015); }
.home-feature-story.is-in-focus .home-shot-image { transform: translate(-5%, -3%) scale(1); }
.home-feature-story.is-in-focus .home-shot-image-right { transform: translate(-17%, -3%) scale(1); }
.home-shot-mock { display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: clamp(1.2rem, 3vw, 2rem); background: linear-gradient(135deg, rgba(255, 254, 251, .82), rgba(239, 234, 224, .76)); }
.home-shot-count-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.home-shot-count-grid span, .home-shot-detail, .home-shot-guide-row, .home-shot-quote, .home-shot-bookmark, .home-shot-note, .home-shot-report-card { border-radius: .7rem; background: rgba(255, 254, 251, .82); box-shadow: 0 .35rem 1rem rgba(var(--desk-shadow), .06); color: var(--desk-muted); }
.home-shot-count-grid span { padding: .85rem; font-size: .78rem; }
.home-shot-count-grid strong { display: block; color: var(--desk-ink); font-size: 1.45rem; line-height: 1; }
.home-shot-count-grid span, .home-shot-detail, .home-shot-guideline-summary, .home-shot-guide-row, .home-shot-quote, .home-shot-tabs, .home-shot-bookmark, .home-shot-note, .home-shot-report { opacity: .72; transform: translateY(.55rem); transition: opacity .68s cubic-bezier(.22, 1, .36, 1), transform .68s cubic-bezier(.22, 1, .36, 1); }
.home-shot-count-grid span:nth-child(2), .home-shot-guide-row, .home-shot-bookmark { transition-delay: 80ms; }
.home-shot-count-grid span:nth-child(3), .home-shot-quote, .home-shot-note { transition-delay: 150ms; }
.home-shot-count-grid span:nth-child(4), .home-shot-detail, .home-shot-report-card { transition-delay: 220ms; }
.home-feature-story.is-in-focus .home-shot-count-grid span, .home-feature-story.is-in-focus .home-shot-detail, .home-feature-story.is-in-focus .home-shot-guideline-summary, .home-feature-story.is-in-focus .home-shot-guide-row, .home-feature-story.is-in-focus .home-shot-quote, .home-feature-story.is-in-focus .home-shot-tabs, .home-feature-story.is-in-focus .home-shot-bookmark, .home-feature-story.is-in-focus .home-shot-note, .home-feature-story.is-in-focus .home-shot-report { opacity: 1; transform: translateY(0); }
.home-shot-detail, .home-shot-quote, .home-shot-bookmark, .home-shot-report-card { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; }
.home-shot-detail i, .home-shot-quote i, .home-shot-bookmark i, .home-shot-report-card i { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: #eee7db; color: var(--desk-accent); flex: 0 0 auto; }
.home-shot-guideline-summary { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: .85rem; background: rgba(255, 254, 251, .82); box-shadow: 0 .35rem 1rem rgba(var(--desk-shadow), .06); }
.home-shot-guideline-summary p { margin: .2rem 0 0; color: var(--desk-muted); font-size: .82rem; }
.home-shot-donut { display: inline-flex; align-items: center; justify-content: center; width: 4.3rem; height: 4.3rem; border-radius: 50%; background: conic-gradient(#b8ddc8 0 280deg, #ffe69c 280deg 330deg, #efb1bb 330deg 360deg); color: var(--desk-ink); font-weight: 700; line-height: 1; text-align: center; box-shadow: inset 0 0 0 .55rem #fffdfa; }
.home-shot-donut small { color: var(--desk-muted); font-size: .62rem; font-weight: 500; }
.home-shot-guide-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; font-size: .84rem; }
.home-shot-guide-row .progress { width: 9rem; height: .38rem; background: #eee7db; }
.home-shot-guide-row .progress-bar { transform: scaleX(.18); transform-origin: left center; transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.home-feature-story.is-in-focus .home-shot-guide-row .progress-bar { transform: scaleX(1); }
.home-shot-tabs { display: flex; gap: .35rem; padding: .35rem; border-radius: .7rem; background: rgba(255, 254, 251, .72); }
.home-shot-tabs span, .home-shot-tabs strong { flex: 1; padding: .45rem .6rem; border-radius: .5rem; color: var(--desk-muted); font-size: .78rem; text-align: center; }
.home-shot-tabs strong { background: #eee7db; color: var(--desk-accent); }
.home-shot-bookmark p { margin: .15rem 0 0; color: var(--desk-muted); font-size: .82rem; }
.home-shot-note { padding: .9rem 1rem; font-size: .84rem; }
.home-shot-report { width: min(100%, 25rem); margin: 0 auto; padding: 1.35rem; border-radius: .9rem; background: rgba(255, 254, 251, .88); box-shadow: 0 .65rem 1.6rem rgba(var(--desk-shadow), .1); }
.home-shot-report-header { margin-bottom: 1.1rem; color: var(--desk-ink); font-weight: 700; }
.home-shot-report-line { height: .58rem; margin-bottom: .62rem; border-radius: 999px; background: #e5ded2; transform: scaleX(.38); transform-origin: left center; transition: transform .82s cubic-bezier(.22, 1, .36, 1); }
.home-shot-report-line:nth-of-type(2) { transition-delay: 90ms; }
.home-shot-report-line:nth-of-type(3) { transition-delay: 170ms; }
.home-feature-story.is-in-focus .home-shot-report-line { transform: scaleX(1); }
.home-landing-section { padding-top: 7.25rem !important; padding-bottom: 7.25rem !important; scroll-margin-top: 4.5rem; }
.home-landing-section h2:not(.home-feature-kicker) { color: var(--desk-ink); letter-spacing: 0; }
.home-about-section { font-size: 1.05rem; background: rgba(255, 254, 251, .42); }
#users { background: rgba(238, 232, 221, .48); box-shadow: inset 0 1px 0 rgba(111, 96, 75, .04), inset 0 -1px 0 rgba(111, 96, 75, .035); }
#usp { background: linear-gradient(180deg, rgba(231, 224, 211, .52), rgba(246, 242, 234, .4)); box-shadow: inset 0 1px 0 rgba(111, 96, 75, .05), inset 0 -1px 0 rgba(111, 96, 75, .05); }
.home-about-section .static-page-title { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "URW Palladio L", Georgia, serif; line-height: 1.08; }
.home-about-quote { position: relative; max-width: 54rem; }
.home-about-quote::before { position: absolute; top: -.8rem; left: -.35rem; color: rgba(111, 96, 75, .12); font-family: Georgia, "Times New Roman", serif; font-size: 7rem; line-height: 1; content: "“"; pointer-events: none; }
.home-about-quote blockquote { position: relative; color: var(--desk-ink); font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "URW Palladio L", Georgia, serif; font-size: clamp(2.25rem, 5.2vw, 4.85rem); font-weight: 600; letter-spacing: 0; line-height: .98; }
.home-about-quote blockquote span { color: var(--desk-accent); white-space: nowrap; }
.home-about-quote figcaption { max-width: 42rem; font-size: .98rem; line-height: 1.55; }
.home-about-quote a { color: var(--desk-accent); font-weight: 600; text-decoration: none; }
.home-about-quote a:hover, .home-about-quote a:focus-visible { color: #4d4133; text-decoration: underline; }
.home-about-response { max-width: 54rem; padding: 1.2rem 1.35rem; border: 1px solid rgba(111, 96, 75, .1); border-radius: 1rem; background: rgba(255, 254, 251, .62); box-shadow: 0 .65rem 1.45rem rgba(var(--desk-shadow), .065); }
.home-about-response p { font-size: 1rem !important; line-height: 1.58; }
.home-about-section .pill { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border: 1px solid rgba(111, 96, 75, .22); border-radius: 999px; background: rgba(255, 254, 251, .72); color: var(--desk-muted); font-size: .78rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.home-about-section .slab { border: 1px solid rgba(111, 96, 75, .08); border-radius: 1rem; background-color: rgba(255, 254, 251, .78) !important; box-shadow: 0 .75rem 1.75rem rgba(var(--desk-shadow), .075); }
.home-about-section .card { border-radius: 1rem; }
.home-scroll-reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity .72s cubic-bezier(.22, 1, .36, 1), transform .72s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--home-reveal-index, 0) * 70ms); }
.home-scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }
#users .row.g-3 { --bs-gutter-x: 1.35rem; --bs-gutter-y: 1.35rem; }
/* The supplied illustration set has cool-blue accents; this keeps the shared art warm without changing its subjects. */
/* Soften the small portraits without blurring facial detail. */
.about-audience-avatar { width: 5.4rem; height: 5.4rem; object-fit: cover; border-color: #d7cdbc !important; box-shadow: 0 .55rem 1.25rem rgba(var(--desk-shadow), .1); filter: sepia(.58) saturate(.58) contrast(.84) brightness(1.03); }
.about-audience-avatar-flipped { transform: scaleX(-1); }
.audience-card { position: relative; overflow: hidden; border: 1px solid rgba(111, 96, 75, .11) !important; background: linear-gradient(145deg, rgba(255, 254, 251, .82), rgba(246, 242, 234, .72)); color: inherit; box-shadow: 0 .7rem 1.6rem rgba(var(--desk-shadow), .075) !important; }
.audience-card::before { position: absolute; top: 0; right: 0; left: 0; height: .18rem; background: linear-gradient(90deg, rgba(111, 96, 75, .24), rgba(211, 199, 179, .48), rgba(111, 96, 75, .18)); content: ''; opacity: .75; }
.audience-card .card-body { position: relative; z-index: 1; padding: 1.65rem !important; }
.audience-card h3 { font-size: 1.18rem; line-height: 1.18; }
.audience-card p { color: var(--desk-muted) !important; font-size: 1.08rem !important; line-height: 1.52; }
.usp-comparison { align-items: stretch; border-color: rgba(111, 96, 75, .1) !important; background: linear-gradient(145deg, rgba(255, 254, 251, .78), rgba(244, 239, 229, .68)) !important; box-shadow: 0 .9rem 2rem rgba(var(--desk-shadow), .075) !important; }
.usp-comparison-table { --bs-table-bg: transparent; --bs-table-hover-bg: transparent; }
.usp-comparison-table > :not(caption) > * > * { background-color: transparent !important; }
.usp-comparison-table .usp-row { cursor: pointer; transition: color .2s ease; }
.usp-comparison-table .usp-row > td { padding-top: .72rem; padding-bottom: .72rem; border-top: 0; transition: color .2s ease; }
.usp-comparison-table .usp-row:hover > td { background-color: rgba(238, 231, 219, .58) !important; }
.usp-comparison-table .usp-row.is-active > td { background-color: transparent; box-shadow: none; }
/* Reveal the default comparison only once this section has entered the viewport. */
#usp .home-scroll-reveal.is-visible .usp-comparison-table .usp-row.is-active > td { background-color: rgba(238, 231, 219, .58) !important; }
.usp-comparison-table .usp-row > td:first-child { border-radius: .65rem 0 0 .65rem; font-weight: 550; white-space: nowrap; }
.usp-comparison-table .usp-row > td:last-child { border-radius: 0 .65rem .65rem 0; }
.usp-comparison-table .usp-row > td:first-child i { color: #cfc4b3; transition: color .2s ease, transform .2s ease; }
.usp-comparison-table .usp-row:hover > td:first-child i, .usp-comparison-table .usp-row.is-active > td:first-child i { color: var(--desk-accent); transform: translateX(1px); }
.usp-comparison-table .usp-icon-col { width: 20%; text-align: center; }
.usp-comparison-table .usp-icon-col-danger, .usp-comparison-table .usp-icon-col-success { background-color: transparent; }
.usp-comparison-table thead th { padding-bottom: .85rem; color: var(--desk-muted); white-space: nowrap; letter-spacing: .04em; }
.usp-comparison-table-wrap { width: 57%; min-width: 280px; padding: 0; }
.usp-comparison-detail { display: flex; align-items: center; width: 43%; min-width: 280px; }
/* Give the changing explanation an editorial pull-quote voice without extra markup. */
.usp-detail-inner { position: relative; width: 100%; padding: 1.2rem 1.35rem 1.2rem 2.75rem; color: #494036; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "URW Palladio L", Georgia, serif; font-size: 1.13rem; letter-spacing: .005em; line-height: 1.58; opacity: 1; transition: color .2s ease, opacity .2s ease; }
.usp-detail-inner::before { position: absolute; top: .65rem; left: .9rem; color: rgba(111, 96, 75, .28); font-family: Georgia, "Times New Roman", serif; font-size: 3.2rem; line-height: 1; content: "“"; }
.usp-detail-inner.is-fading { opacity: 0; }
.usp-title { font-style: normal; font-weight: 650; }
.pricing-feature-check, .usp-icon-col-success .bi-check-lg { color: #4e8a62 !important; }
.pricing-feature-x, .usp-icon-col-danger .bi-x-lg { color: #9c4f4f !important; }
.home-pricing-section { padding-top: 6.75rem !important; padding-bottom: 7rem !important; background: linear-gradient(180deg, rgba(255, 254, 251, .6), rgba(241, 236, 226, .5)); box-shadow: inset 0 1px 0 rgba(111, 96, 75, .04), inset 0 -1px 0 rgba(111, 96, 75, .035); scroll-margin-top: 4.5rem; }
.pricing-plan-card { overflow: hidden; border: 1px solid rgba(111, 96, 75, .11); border-radius: 1rem; background: linear-gradient(145deg, rgba(255, 254, 251, .84), rgba(246, 242, 234, .72)); box-shadow: 0 .75rem 1.65rem rgba(var(--desk-shadow), .075); }
.pricing-plan-card-featured { border-color: rgba(111, 96, 75, .28); box-shadow: 0 1rem 2.2rem rgba(var(--desk-shadow), .12); }
.pricing-privacy-note { border-color: rgba(111, 96, 75, .1) !important; background: rgba(255, 254, 251, .58) !important; color: var(--desk-muted); }
.feedback-report-sheet { max-width: 52rem; }
.home-examples-section { padding-top: 4.5rem; padding-bottom: 5rem; scroll-margin-top: 4.5rem; }
.home-examples-section { background: linear-gradient(180deg, rgba(255, 254, 251, .58), rgba(250, 248, 243, .5)); box-shadow: inset 0 1px 0 rgba(111, 96, 75, .035), inset 0 -1px 0 rgba(111, 96, 75, .03); }
.home-examples-section > .home-scroll-reveal { max-width: 46rem; }
.home-examples-scroll { gap: 1.4rem; overflow-x: auto; padding: .5rem .2rem 1rem; margin: -.5rem -.2rem -.5rem; scrollbar-width: none; scroll-snap-type: x proximity; }
.home-examples-scroll::-webkit-scrollbar { height: 0; }
.example-card { position: relative; width: 18.75rem; min-height: 12.25rem; overflow: hidden; --bs-card-bg: rgba(255, 254, 251, .74); background: linear-gradient(145deg, rgba(255, 254, 251, .86), rgba(243, 238, 228, .72)); color: var(--desk-ink); scroll-snap-align: start; transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.example-card::before { position: absolute; top: 0; right: 0; left: 0; height: .24rem; background: linear-gradient(90deg, #b9ad99, #e3d7c4, #b9ad99); content: ''; opacity: .8; }
.example-card::after { position: absolute; right: -2.5rem; bottom: -3rem; width: 7rem; height: 7rem; border-radius: 50%; background: radial-gradient(circle, rgba(111, 96, 75, .13), transparent 68%); content: ''; pointer-events: none; }
.example-card:hover, .example-card:focus-visible { border-color: rgba(var(--bs-primary-rgb), .3) !important; box-shadow: 0 1rem 2.2rem rgba(var(--desk-shadow), .14) !important; outline: none; transform: translateY(-5px); }
.example-card.home-scroll-reveal { transform: translateY(2rem) scale(.965); transition-duration: .86s; transition-delay: calc(var(--home-reveal-index, 0) * 110ms); }
.example-card.home-scroll-reveal.is-visible { transform: translateY(0) scale(1); }
.example-card.home-scroll-reveal.is-visible:hover, .example-card.home-scroll-reveal.is-visible:focus-visible { transform: translateY(-5px) scale(1); }
.example-card .card-body, .example-card .card-footer { position: relative; z-index: 1; }
.example-card .card-body { padding: 1.35rem 1.35rem 1rem; }
.example-meta { letter-spacing: .01em; }
.example-title { display: -webkit-box; overflow: hidden; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "URW Palladio L", serif; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.example-stars i { margin-right: .04rem; color: #8f8d86; }
.example-items { color: var(--desk-muted); font-weight: 500; }
.example-card-cta { color: var(--desk-accent); font-size: .76rem; font-weight: 650; opacity: .88; transition: gap .18s ease, opacity .18s ease; }
.example-card:hover .example-card-cta, .example-card:focus-visible .example-card-cta { gap: .42rem !important; opacity: 1; }
.home-stored-table-wrap { overflow: hidden; border: 1px solid #e1dbd0; border-radius: .55rem; box-shadow: 0 .3rem .9rem rgba(var(--desk-shadow), .06); }
.home-stored-table th, .home-stored-table td { padding: .9rem 1rem; border-color: #ece7de; font-size: .84rem; }
.home-stored-table th { color: var(--desk-muted); font-weight: 500; }
.home-review-name { color: var(--desk-ink); font-weight: 600; }
.home-review-name:hover { color: var(--desk-accent); }
.home-review-row { cursor: pointer; }
.home-review-row:focus-visible > * { outline: 2px solid var(--bs-primary); outline-offset: -2px; }
/* Bootstrap Icons vary in width; a fixed icon column keeps adjacent capability copy aligned. */
.home-feature-capability-icon { flex: 0 0 1.5rem; text-align: center; }
.home-integrations { padding-top: 2rem !important; padding-bottom: 2.1rem !important; background: linear-gradient(180deg, rgba(242, 237, 228, .56), rgba(255, 254, 251, .48)); box-shadow: inset 0 1px 0 rgba(111, 96, 75, .04), inset 0 -1px 0 rgba(111, 96, 75, .035); scroll-margin-top: 4.5rem; }
.home-hero-section + .home-integrations { margin-top: 3rem; }
.home-integrations-scroll { gap: 2.35rem; justify-content: flex-start; overflow-x: auto; padding: .9rem 0; scroll-snap-type: x proximity; }
.integration-logo-item { scroll-snap-align: center; }
.integration-logo { display: block; max-width: 9.4rem; max-height: 1.9rem; object-fit: contain; filter: grayscale(1) saturate(0) opacity(.58); transition: filter .2s ease; }
.integration-logo:hover { filter: grayscale(1) saturate(0) opacity(.8); }
.integration-logo-openalex { max-width: 6.8rem; max-height: 1.7rem; filter: grayscale(1) saturate(0) opacity(.46); }
.integration-logo-orcid { max-width: 6.5rem; max-height: 1.85rem; }
.integration-logo-mistral { max-width: 8.7rem; max-height: 1.8rem; filter: grayscale(1) saturate(0) opacity(.68); }
/* Compensate for the wide Mistral wordmark so its first optical gap matches the narrower logos. */
.home-footer { background: rgba(255, 254, 251, .55); }
.home-contact-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--desk-accent); font-weight: 600; text-decoration: none; }
.home-contact-link:hover { color: #4d4133; }
.static-page-body { min-height: 100vh; overflow: auto; background: var(--desk-bg); }
.team-page { background: linear-gradient(180deg, rgba(238, 232, 221, .5), var(--desk-bg) 24rem); }
.team-hero { background: rgba(255, 254, 251, .34); }
.team-card { background: rgba(255, 254, 251, .78); box-shadow: 0 .7rem 1.75rem rgba(var(--desk-shadow), .08); }
/* Bootstrap provides the page grid; this only gives the portraits a consistent crop. */
.team-portrait { width: min(100%, 13rem); aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(111, 96, 75, .16); border-radius: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .home-headline { background: linear-gradient(105deg, var(--desk-ink) 42%, #a89b88 50%, var(--desk-ink) 58%); background-size: 220% 100%; background-clip: text; color: transparent; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: home-headline-shimmer 12s ease-in-out infinite; }
  .home-headline span { background: linear-gradient(105deg, var(--desk-accent) 42%, #c1b29c 50%, var(--desk-accent) 58%); background-size: 220% 100%; background-clip: text; color: transparent; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: home-headline-shimmer 12s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .home-lead-typewriter::after, .home-upload-button::after { animation: none; } .home-lead-typewriter::after, .home-upload-button::after { display: none; } .home-scroll-reveal { opacity: 1; transform: none; transition: none; } .count-tile.is-loading strong::before, .count-tile.is-loading strong::after, .count-tile.is-loading::after, .studio-reader.reader-reveal .side-group-card, .studio-reader.reader-reveal .count-tile, .count-tile.count-value-revealed strong { animation: none; } }
.studio-reader { display: grid; grid-template-columns: var(--toc-width, 18rem) 6px minmax(28rem, 1fr) 6px var(--counts-width, 28rem); height: 100%; overflow: hidden; background: var(--desk-panel); transition: grid-template-columns 180ms ease; }
.studio-reader.toc-collapsed { grid-template-columns: 3rem 0 minmax(28rem, 1fr) 6px var(--counts-width, 28rem); }
.studio-reader.counts-collapsed { grid-template-columns: var(--toc-width, 18rem) 6px minmax(28rem, 1fr) 0 3rem; }
.studio-reader.toc-collapsed.counts-collapsed { grid-template-columns: 3rem 0 minmax(28rem, 1fr) 0 3rem; }
.studio-reader.toc-collapsed .toc-header, .studio-reader.toc-collapsed .toc-scroll, .studio-reader.toc-collapsed .toc-toggle-row .brand-wordmark, .studio-reader.counts-collapsed .reader-side-shell, .studio-reader.counts-collapsed .details-panel { display: none !important; }
.studio-reader.toc-collapsed #tocSplitter, .studio-reader.counts-collapsed #countsSplitter { visibility: hidden; pointer-events: none; }
.studio-pane { min-height: 0; overflow: hidden; display: flex; flex-direction: column; background: var(--desk-panel); }
/* Bootstrap has no min-height:0 utility; flex children need this to yield overflow to their scroll region. */
.min-h-0 { min-height: 0 !important; }
.studio-center-pane { container-type: inline-size; background: var(--desk-panel); }
.studio-counts-pane { position: relative; }
.brand-wordmark { display: inline-flex; align-items: center; color: var(--desk-ink); font-size: 1.13rem; letter-spacing: 0; line-height: 1; }
.brand-mark { margin-right: .38rem; color: var(--desk-accent); font-size: 1.05em; }
.brand-wordmark strong { color: var(--desk-accent); font-weight: 750; }
.toc-toggle-button, .counts-toggle-button { width: 1.9rem; height: 1.9rem; display: inline-flex; align-items: center; justify-content: center; }
.toc-header { min-height: 2.4rem; }
.toc-scroll, .counts-panel-scroll, .pdf-scroll, .html-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; }
.toc-button { appearance: none; display: block; width: 100%; border: 0; border-radius: .35rem; padding: .42rem .5rem; background: transparent; color: var(--desk-ink); font-size: .83rem; line-height: 1.3; text-align: left; }
.toc-button:hover, .toc-button:focus { background: var(--desk-hover); outline: none; }
.toc-pending { border-radius: .45rem; background: rgba(243, 238, 228, .72); color: #564b3c; }
.toc-pending .spinner-border { color: var(--desk-accent); }
.empty-note { color: var(--desk-muted); font-size: .84rem; line-height: 1.45; }
/* Dragging grid tracks is not provided by Bootstrap. */
.studio-splitter { position: relative; z-index: 5; background: var(--desk-panel); cursor: col-resize; touch-action: none; }
.studio-splitter::after { position: absolute; top: .75rem; bottom: .75rem; left: 50%; width: 2px; border-radius: 999px; background: var(--desk-muted); content: ""; opacity: 0; transform: translateX(-50%); transition: opacity .15s ease; }
.studio-splitter:hover::after, .studio-reader.is-resizing .studio-splitter::after { opacity: .7; }
.center-tabs { min-width: 0; min-height: 3rem; flex: 0 0 auto; width: calc(100% - 2.125rem); margin-inline: auto; padding-inline: 0 !important; background: var(--desk-panel); }
/* The HTML paper is capped, so its controls use the same centered rail. */
.studio-center-pane.is-html-mode .center-tabs { max-width: 47.5rem; }
.reader-icon-button { display: inline-flex; flex: 0 0 2rem; align-items: center; justify-content: center; width: 2rem; height: 2rem; }
.reader-icon-button.active { color: var(--desk-accent) !important; background: #ebe7de !important; border-color: #d8d0c2 !important; }
.reader-view-toggle .reader-icon-button { border-color: #d8d0c2 !important; }
.reader-view-toggle .reader-icon-button.active { color: #4e4436 !important; background: #e2dacd !important; border-color: #cfc4b3 !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.reader-view-toggle .reader-icon-button:not(.active) { color: var(--desk-muted) !important; background: rgba(255,254,251,.76) !important; }
.reader-view-toggle .reader-icon-button:not(.active):hover, .reader-view-toggle .reader-icon-button:not(.active):focus { color: var(--desk-accent) !important; background: #f4f0e8 !important; }
.reader-view-toggle, .reader-view-button { flex: 0 0 auto; }
.reader-view-button { min-width: 4.8rem; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.reader-view-toggle .reader-view-button { border-color: #d8d0c2 !important; }
.reader-view-toggle .reader-view-button.active { color: #4e4436 !important; background: #e2dacd !important; border-color: #cfc4b3 !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.reader-view-toggle .reader-view-button:not(.active) { color: var(--desk-muted) !important; background: rgba(255,254,251,.76) !important; }
.reader-view-toggle .reader-view-button:not(.active):hover, .reader-view-toggle .reader-view-button:not(.active):focus { color: var(--desk-accent) !important; background: #f4f0e8 !important; }
.manuscript-search-control { display: grid; grid-template-columns: 0fr; overflow: hidden; opacity: 0; transition: grid-template-columns .2s ease, opacity .2s ease; }
.manuscript-search-control.is-open { flex: 0 0 23rem; grid-template-columns: 23rem; opacity: 1; }
/* The input group must shrink with its rail; its navigation buttons stay visible. */
.search-control, #pdfSearchInput { min-width: 0; }
.search-control { width: 100%; flex-wrap: nowrap; }
#manuscriptSearchStatus, #manuscriptSearchPrevious, #manuscriptSearchNext { flex: 0 0 auto; }
#fileName { min-width: 0; }
/* The controls respond to the usable reader width, not only the browser width. */
@container (max-width: 42rem) {
  .center-tabs { flex-wrap: wrap; align-content: flex-start; }
  #fileName { flex: 1 1 100%; margin-right: 0 !important; }
  .manuscript-search-control.is-open { flex: 1 1 100%; grid-template-columns: minmax(0, 1fr); }
}
.center-content { flex: 1 1 auto; min-height: 0; overflow: hidden; display: flex; }
.reader-tab-panel { width: 100%; min-height: 0; }
.pdf-scroll, .html-scroll { height: 100%; padding: 0 .85rem .85rem; background: var(--desk-panel); }
.html-scroll { container-type: inline-size; padding: .25rem 1.0625rem 2rem; }
.pdf-document { min-height: 100%; background: transparent; }
#pdfCanvasHost { display: grid; gap: 1rem; justify-items: center; padding: .25rem 0; }
.pdf-page { position: relative; display: block; border-radius: .1rem; transition: outline-color .2s ease; }
.pdf-page-target { outline: .18rem solid #c9b89c; outline-offset: .2rem; }
.pdf-page-search-target { outline: .18rem solid #d4a75d; outline-offset: .2rem; }
.pdf-page-canvas { position: relative; z-index: 0; display: block; max-width: 100%; height: auto; background: var(--desk-paper); box-shadow: 0 .5rem 1.5rem rgba(var(--desk-shadow), .12), 0 0 0 1px rgba(var(--desk-shadow), .06); }
/* PDF.js needs positioned text spans to make the canvas source selectable. */
.pdf-text-layer { position: absolute; inset: 0; z-index: 1; overflow: clip; line-height: 1; text-align: initial; text-size-adjust: none; transform-origin: 0 0; caret-color: CanvasText; user-select: text; }
.pdf-text-layer :is(span, br) { position: absolute; color: transparent; white-space: pre; cursor: text; transform-origin: 0 0; user-select: text; }
.pdf-text-layer > :not(.markedContent), .pdf-text-layer .markedContent span:not(.markedContent) { --font-height: 0; --scale-x: 1; --rotate: 0deg; font-size: calc(var(--text-scale-factor) * var(--font-height)); transform: rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv)); }
.pdf-text-layer .markedContent { display: contents; }
.pdf-text-layer ::selection { color: transparent; background: rgba(116, 96, 69, .28); }
/* Native PDF search highlights retain transparent glyphs so the rendered PDF remains legible. */
.pdf-text-layer span.pdf-search-highlight { background: rgba(212, 167, 93, .48); border-radius: .1rem; }
.empty-state { color: var(--desk-muted); padding: 4rem 1.5rem; }
.empty-state > i { font-size: 2rem; }
/* Scale the formatted paper and its type with the resizable reading pane, as the fitted PDF does. */
.ocr-html { width: 100%; max-width: 47.5em; min-height: 100%; margin: 0 auto; padding: clamp(2rem, 7cqi, 4rem) clamp(1.35rem, 8cqi, 4.25rem) 2.5rem; background: #fff; box-shadow: 0 .25rem 1.1rem rgba(var(--desk-shadow), .14), 0 0 0 1px rgba(var(--desk-shadow), .06); color: #1c1d1f; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1rem, 2.2cqi, 1.5rem); line-height: 1.68; }
.ocr-page { position: relative; scroll-margin-top: 1em; }
.ocr-page-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* SourceGraph identity must survive rendering without adding a layout box. */
.ocr-source-atom { display: contents; }
.ocr-markdown-heading { margin: 1.8em 0 .55em; color: #101114; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 1em; font-weight: 700; line-height: 1.35; }
h4.ocr-markdown-heading { font-family: Georgia, 'Times New Roman', serif; font-size: 1em; font-style: italic; }
h5.ocr-markdown-heading, h6.ocr-markdown-heading { color: #33363b; font-family: Georgia, 'Times New Roman', serif; font-size: .96em; font-style: italic; font-weight: 400; }
.ocr-markdown-paragraph { margin: 0 0 .9em; text-align: justify; hyphens: auto; }
.ocr-publication-title { margin: .1em 0 .85em; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.15rem, 6.15cqi, 3rem); font-weight: 700; letter-spacing: -.022em; line-height: 1.12; text-wrap: balance; }
.ocr-publication-authors, .ocr-publication-affiliation, .ocr-publication-keywords { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-align: left; }
.ocr-publication-authors { margin-bottom: .5em; font-size: .88em; font-weight: 600; line-height: 1.5; }
.ocr-publication-affiliation { margin-bottom: .25em; color: #666b73; font-size: .74em; line-height: 1.5; }
/* Compact reader-only treatment for a literal corresponding-author block. */
.ocr-publication-correspondence { margin: 0; padding: .1rem 1.25rem; background: #f7f5f0; color: #565b63; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: .74em; line-height: 1.5; text-align: left; }
.ocr-publication-correspondence-first { margin-top: 1.35rem; padding-top: .9rem; border-radius: .5rem .5rem 0 0; color: #3f454d; font-weight: 600; }
.ocr-publication-correspondence-last { margin-bottom: 1.35rem; padding-bottom: .9rem; border-radius: 0 0 .5rem .5rem; }
.ocr-publication-correspondence-email { white-space: nowrap; }
.ocr-publication-correspondence-email a { color: inherit; text-decoration-color: rgba(86, 91, 99, .42); text-underline-offset: .12em; }
.ocr-publication-correspondence-email a:hover, .ocr-publication-correspondence-email a:focus-visible { color: var(--desk-accent); }
.ocr-produced-frontmatter { margin: -.35rem 0 2.2rem; color: #626975; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-align: left; }
.ocr-produced-author-list { max-width: 48rem; margin-bottom: .8rem; color: #292d33; font-size: 1.02em; font-weight: 600; line-height: 1.55; }
.ocr-produced-author { white-space: nowrap; }
.ocr-produced-affiliation-list { display: grid; gap: .28rem; max-width: 51rem; font-size: .77em; line-height: 1.55; }
.ocr-produced-affiliation { display: flex; gap: .3rem; align-items: baseline; }
.ocr-produced-affiliation-marker { position: relative; top: -.18em; margin-left: .08em; color: #6b7280; font-size: .66em; font-weight: 700; }
/* The Abstract is a produced-article callout, so it needs its own readable inset. */
.ocr-publication-abstract-heading { margin: 2.5rem 0 0; padding: 1.8rem 2.25rem .65rem; border-radius: .65rem .65rem 0 0; background: #f4f5f6; color: #686d75; font-size: .82em; font-weight: 700; letter-spacing: .07em; }
.ocr-publication-abstract-text { margin: 0; padding: 0 2.25rem .8rem; background: #f4f5f6; color: #1c1d1f; font-family: Georgia, 'Times New Roman', serif; font-size: 1.02em; font-style: normal; font-weight: 400; letter-spacing: normal; line-height: 1.72; text-align: justify; text-transform: none; }
/* Source atoms are separate wrappers, so :last-of-type would select every
   abstract paragraph. The renderer marks only the true final one. */
.ocr-publication-abstract-text-last { margin-bottom: 2rem; padding-bottom: 1.85rem; border-radius: 0 0 .65rem .65rem; }
.ocr-publication-keywords { margin: 0 0 1.5rem; color: #555a62; font-size: .78em; line-height: 1.5; }
.ocr-html .katex-display { overflow-x: auto; overflow-y: hidden; padding: .25em 0; }
.ocr-table-wrap, .ocr-figure { margin: 1.5em 0; padding: 0; border: 0; background: #fff; }
.ocr-display-label { margin-bottom: .75em; color: var(--desk-muted); font-size: .75em; font-weight: 600; text-transform: uppercase; }
.ocr-table-wrap .table { border-top: 1px solid #4f5359; border-bottom: 1px solid #4f5359; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: .73em; }
.ocr-table-wrap th, .ocr-table-wrap td { padding: .48em .55em; border-right: 0; border-left: 0; }
.ocr-figure-canvas { display: block; max-width: 100%; height: auto; background: white; }
.ocr-reference-list { margin: 1.25em 0 0; padding-left: 1.7em; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.ocr-reference-list li { margin: 0 0 .55em; padding: 0 0 0 .25em; border: 0; color: #40444b; font-size: .76em; line-height: 1.5; }
.ocr-reference-list li.ocr-reference-target { border-radius: .3rem; background: #f3eee4; box-shadow: inset .2rem 0 0 #bca987; }
.ocr-reference-list li::marker { color: var(--desk-muted); font-variant-numeric: tabular-nums; }
.ocr-publication-display { margin: 1.75rem 0 2rem; scroll-margin-top: 1rem; break-inside: avoid; }
.ocr-publication-assets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); gap: .75rem; align-items: center; }
.ocr-publication-assets :is(.ocr-figure, .ocr-table-wrap) { margin: 0; }
.ocr-publication-assets img, .ocr-publication-assets canvas { display: block; width: 100%; max-height: 78vh; object-fit: contain; }
/* Exact OCR coordinates preserve multipart scholarly figures that providers
   return as several assets; Bootstrap has no coordinate-layout utility. */
.ocr-publication-assets-source-layout { position: relative; display: block; width: 100%; }
.ocr-publication-assets-source-layout > .ocr-figure { position: absolute; }
.ocr-publication-assets-source-layout > .ocr-figure :is(img, canvas) { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.ocr-publication-caption { margin: .55rem 0 0; color: #41464e; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: .72em; line-height: 1.5; text-align: left; }
.ocr-publication-table > .ocr-publication-caption { margin: 0 0 .55rem; }
.ocr-publication-caption strong { color: #16181b; }
.ocr-publication-source-original { display: none !important; }
.ocr-publication-fidelity { margin-top: 2.25rem; padding-top: .8rem; border-top: 1px solid #dfe1e4; color: #686d75; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: .7em; line-height: 1.5; }
/* Below a paper-like reading width, stop shrinking the type and let the article reflow like a mobile document. */
@container (max-width: 34rem) {
  .ocr-html { max-width: none; padding: 1.75rem clamp(1rem, 5cqi, 1.5rem) 2.25rem; font-size: 1rem; box-shadow: 0 0 0 1px rgba(var(--desk-shadow), .05); }
  .ocr-publication-title { font-size: clamp(1.85rem, 7cqi, 2.3rem); }
  .ocr-markdown-paragraph, .ocr-publication-abstract-text { text-align: left; hyphens: none; }
  .ocr-publication-abstract-heading { padding: 1.35rem 1.25rem .55rem; }
  .ocr-publication-abstract-text { padding-right: 1.25rem; padding-left: 1.25rem; }
  .ocr-produced-author { white-space: normal; }
  .ocr-publication-correspondence-email { overflow-wrap: anywhere; white-space: normal; }
  .ocr-table-wrap { overflow-x: auto; }
}
.side-tabs { gap: .35rem; padding: .35rem; border-radius: .7rem; background: rgba(255, 254, 251, .72); }
.side-tabs .nav-item { flex: 1 1 0; }
.side-tabs .nav-link { width: 100%; border: 0; border-radius: .5rem; padding: .45rem .35rem .5rem; color: var(--desk-muted); font-size: .74rem; line-height: 1.15; transition: background-color .16s ease, color .16s ease, transform .16s ease; }
.side-tabs .nav-link i { font-size: 1rem; margin-bottom: .18rem; }
.side-tabs .nav-link:hover, .side-tabs .nav-link:focus-visible { background: rgba(238, 231, 219, .55); color: var(--desk-accent); outline: none; }
.side-tabs .nav-link.active { background: #eee7db; color: var(--desk-accent); font-weight: 600; transform: translateY(-1px); }
.counts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr)); gap: .5rem; }
.count-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 4.2rem; padding: .55rem .6rem; overflow: hidden; border: 0; border-radius: .45rem; background: var(--desk-paper); color: var(--desk-ink); box-shadow: 0 .18rem .6rem rgba(var(--desk-shadow), .07); text-align: left; transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.count-tile::after { position: absolute; right: 0; bottom: 0; left: 0; height: .18rem; background: linear-gradient(90deg, #b9ad99, #d2c7b5); content: ''; transform: scaleX(var(--tile-progress, 0)); transform-origin: left center; transition: transform .42s ease; }
/* The author strip is a compact registry-coverage chart: both profiles,
   one profile, then neither. These match the guideline progress colors. */
.count-tile.has-author-profile-coverage::after { right: .6rem; bottom: .25rem; left: .6rem; background: linear-gradient(90deg, #d1e7dd 0 var(--author-profile-both, 0%), #fff3cd var(--author-profile-both, 0%) var(--author-profile-one-end, 0%), #f8d7da var(--author-profile-one-end, 0%) 100%); transform: scaleX(1); }
/* Tile health strips sit inside the card padding so rounded corners never mask data. */
.count-tile.has-affiliation-link-coverage::after { right: .6rem; bottom: .25rem; left: .6rem; background: linear-gradient(90deg, #d1e7dd 0 var(--affiliation-linked, 0%), #f8d7da var(--affiliation-linked, 0%) 100%); transform: scaleX(1); }
.count-tile.has-affiliation-author-gap::after { box-shadow: inset -1px 0 0 #b02a37; }
/* Reference health: clean, needs attention, then critical registry outcomes. */
.count-tile.has-reference-integrity-coverage::after { right: .6rem; bottom: .25rem; left: .6rem; background: linear-gradient(90deg, #d1e7dd 0 var(--reference-clean-end, 0%), #fff3cd var(--reference-clean-end, 0%) var(--reference-attention-end, 0%), #f8d7da var(--reference-attention-end, 0%) 100%); transform: scaleX(1); }
/* Display links: accepted caption/body pairs are green; declared unresolved
   endpoints stay red instead of being silently treated as connected. */
.count-tile.has-display-link-coverage::after { right: .6rem; bottom: .25rem; left: .6rem; background: linear-gradient(90deg, #d1e7dd 0 var(--display-linked, 0%), #f8d7da var(--display-linked, 0%) 100%); transform: scaleX(1); }
/* Bootstrap progress bars do not support a compact three-range chart inside a tile pseudo-element. */
.count-tile.has-keyword-count-health::after { right: .6rem; bottom: .25rem; left: .6rem; background: linear-gradient(90deg, #d1e7dd 0 var(--keyword-green-end, 0%), #fff3cd var(--keyword-green-end, 0%) var(--keyword-yellow-end, 0%), #f8d7da var(--keyword-yellow-end, 0%) var(--keyword-red-end, 0%), #e9ecef var(--keyword-red-end, 0%) 100%); transform: scaleX(1); }
/* Word-count health uses manuscript-specific reference bands rather than Bootstrap's single-value progress model. */
.count-tile.has-word-count-health::after { right: .6rem; bottom: .25rem; left: .6rem; background: linear-gradient(90deg, #d1e7dd 0 var(--word-count-green-end, 0%), #fff3cd var(--word-count-green-end, 0%) var(--word-count-yellow-end, 0%), #f8d7da var(--word-count-yellow-end, 0%) var(--word-count-red-end, 0%), #e9ecef var(--word-count-red-end, 0%) 100%); transform: scaleX(1); }
.count-tile.is-enriching::after { background: linear-gradient(90deg, #b9ad99 0%, #e6ddd0 46%, #b9ad99 100%); background-size: 200% 100%; animation: count-link-shimmer 2.3s ease-in-out infinite; }
.count-tile:hover, .count-tile:focus { background: #fbfaf7; box-shadow: 0 .45rem 1rem rgba(var(--desk-shadow), .1); outline: none; transform: translateY(-1px); }
.count-tile:nth-child(1) { --count-tile-index: 0; }
.count-tile:nth-child(2) { --count-tile-index: 1; }
.count-tile:nth-child(3) { --count-tile-index: 2; }
.count-tile:nth-child(4) { --count-tile-index: 3; }
.count-tile:nth-child(5) { --count-tile-index: 4; }
.count-tile:nth-child(6) { --count-tile-index: 5; }
.count-tile:nth-child(7) { --count-tile-index: 6; }
.count-tile:nth-child(8) { --count-tile-index: 7; }
.count-tile span { color: var(--desk-muted); font-size: .72rem; }
.count-tile strong { font-size: 1.24rem; font-weight: 600; line-height: 1; }
.count-tile.has-textual-count strong { font-size: .72rem; line-height: 1.15; }
.count-tile.is-loading strong { display: inline-flex; align-items: center; gap: .35rem; min-width: 0; color: var(--desk-accent); font-size: .74rem; font-weight: 500; line-height: 1.2; white-space: nowrap; }
/* Bootstrap has no compact inline progress indicator for a text-only tile state. */
.count-tile.is-loading strong::before { width: .48rem; height: .48rem; border: 1.5px solid rgba(116, 96, 69, .28); border-right-color: var(--desk-accent); border-radius: 50%; content: ''; animation: count-loading-spin 1.2s linear infinite; }
.count-tile.is-loading strong::after { width: 1em; overflow: hidden; color: var(--desk-accent); content: '...'; letter-spacing: .05em; animation: count-loading-ellipsis 1.4s steps(1, end) infinite; }
.count-tile.is-loading::after { opacity: .72; transform: scaleX(1); background: linear-gradient(90deg, #d6cab8 0%, #b9ad99 38%, #f3eee4 52%, #b9ad99 66%, #d6cab8 100%); background-size: 220% 100%; animation: count-loading-progress 2.8s ease-in-out infinite; }
@keyframes count-loading-spin { to { transform: rotate(360deg); } }
@keyframes count-loading-ellipsis { 0%, 24% { clip-path: inset(0 100% 0 0); } 25%, 49% { clip-path: inset(0 66% 0 0); } 50%, 74% { clip-path: inset(0 33% 0 0); } 75%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes count-loading-progress { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }
@keyframes count-link-shimmer { 0%,100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes side-card-enter { 0% { opacity: 0; transform: translate3d(1.15rem, .45rem, 0) scale(.975); box-shadow: 0 .05rem .2rem rgba(var(--desk-shadow), .02); } 72% { opacity: 1; transform: translate3d(-.08rem, 0, 0) scale(1.004); } 100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); } }
@keyframes count-tile-enter { 0% { opacity: 0; transform: translateY(.55rem) scale(.97); } 75% { opacity: 1; transform: translateY(-.06rem) scale(1.01); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes count-value-pop { 0% { opacity: .35; transform: translateY(.2rem) scale(.96); filter: blur(.08rem); } 45% { opacity: 1; transform: translateY(-.04rem) scale(1.08); filter: blur(0); color: var(--desk-accent); } 100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
.counts-panel-scroll > .side-group-card:nth-of-type(1) { --side-card-index: 0; }
.counts-panel-scroll > .side-group-card:nth-of-type(2) { --side-card-index: 1; }
.counts-panel-scroll > .side-group-card:nth-of-type(3) { --side-card-index: 2; }
.side-group-card { background: var(--desk-paper); }
/* Bootstrap does not provide pane-scoped staggered reveal timing. */
.studio-reader.reader-reveal .side-group-card { animation: side-card-enter .86s cubic-bezier(.2, .82, .2, 1) both; animation-delay: calc(var(--side-card-index, 0) * 400ms); }
.studio-reader.reader-reveal .count-tile { animation: count-tile-enter .52s cubic-bezier(.2, .82, .2, 1) both; animation-delay: calc(110ms + (var(--count-tile-index, 0) * 42ms)); }
.count-tile.count-value-revealed strong { animation: count-value-pop .72s cubic-bezier(.2, .82, .2, 1); }
.guide-card-kicker { color: var(--desk-muted); font-size: .75rem; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.guideline-plugin-panel { background: rgba(255, 253, 249, .96); }
.guideline-plugin-panel .card-header { background: rgba(246, 243, 237, .72) !important; }
.essential-guide-overview { background: rgba(246, 243, 237, .72); }
.essential-guide-progress { height: .42rem; margin-top: .18rem; background: rgba(81, 88, 98, .22); }
.essential-guide-progress .progress-bar { min-width: 0; }
.essential-guide-progress-waiting { opacity: .62; }
.essential-guide-header-progress { width: 8rem; }
.article-overview-header-progress { width: 8rem; }
/* Header bars summarize closed panels; expanded panels already show the same information in detail. */
button[aria-expanded="true"] .collapsed-only-progress { display: none !important; }
.essential-guide-row-progress { width: 9rem; }
.essential-guide-dashboard { min-height: 6rem; }
/* Bootstrap has no donut-chart utility; SVG makes each status wedge animate between retained result totals. */
.essential-guide-donut { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 5.15rem; height: 5.15rem; }
.essential-guideline-donut-chart { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.essential-guideline-donut-track, .essential-guideline-donut-segment { fill: none; stroke-width: 7; }
.essential-guideline-donut-track { stroke: #e2e3e5; }
.essential-guideline-donut-segment { transition: stroke-dasharray .62s cubic-bezier(.2, .82, .2, 1), stroke-dashoffset .62s cubic-bezier(.2, .82, .2, 1); }
.essential-guideline-donut-segment-present { stroke: #d1e7dd; }
.essential-guideline-donut-segment-warning { stroke: #fff3cd; }
.essential-guideline-donut-segment-absent { stroke: #f8d7da; }
.essential-guideline-donut-segment-not_applicable { stroke: #e2e3e5; }
.essential-guide-donut::after { position: absolute; inset: .78rem; border-radius: 50%; background: var(--bs-body-bg); content: ""; }
.essential-guide-donut-label { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; font-size: .75rem; line-height: 1.05; }
.essential-guide-donut-label .fw-semibold { font-size: 1.05rem; }
/* A conic-gradient cannot transition its segment stops; this small arrival motion makes each returned guide update perceptible. */
.essential-guideline-donut-updated { animation: essential-guideline-donut-update .56s cubic-bezier(.2, .82, .2, 1) both; }
.essential-guideline-progress-bar-updated { transform-origin: left center; animation: essential-guideline-progress-update .56s cubic-bezier(.2, .82, .2, 1) both; }
@keyframes essential-guideline-donut-update { 0% { opacity: .42; transform: scale(.91) rotate(-9deg); } 65% { opacity: 1; transform: scale(1.025) rotate(1deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes essential-guideline-progress-update { 0% { opacity: .35; transform: scaleX(0); } 100% { opacity: 1; transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .essential-guideline-donut-updated, .essential-guideline-progress-bar-updated { animation: none; } .essential-guideline-donut-segment { transition: none; } }
.essential-guide-row { border-radius: .35rem; color: inherit; transition: background-color .16s ease; }
.essential-guide-row:hover, .essential-guide-row:focus-visible { background: rgba(238, 231, 219, .72) !important; outline: none; }
.essential-guide-row:disabled { color: inherit; opacity: 1; }
.essential-guide-row .essential-guide-progress { margin-top: 0; }
.guide-slider-content .accordion-item, .guide-slider-content .accordion-button { --bs-accordion-bg: transparent; background-color: transparent !important; }
.guide-slider-content .essential-guideline-section-toggle { padding: 1.15rem 1.25rem; }
.guide-slider-content .essential-guideline-section-body { padding: 0 1.25rem; }
.guide-slider-content .accordion-item.is-first-visible { border-top: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color); }
.guide-slider-content .accordion-button { font-size: 1rem; }
.guide-slider-content .accordion-button:focus { box-shadow: none; }
.guide-slider-content .analyzed-item-row { transition: opacity .2s ease, transform .2s ease; }
.guide-slider-content .analyzed-item-status-col { width: 30px; }
.guide-slider-content .analyzed-item-status-col .bi { font-size: 1rem; line-height: 1; }
.guide-slider-content .analyzed-item-copy-btn { line-height: 1; transition: color .15s ease, transform .15s ease; }
.guide-slider-content .analyzed-item-copy-btn:hover, .guide-slider-content .analyzed-item-copy-btn:focus-visible { color: var(--bs-body-color) !important; transform: translateY(-1px); }
.guide-slider-content .analyzed-item-summary { line-height: 1.45; }
.guide-slider-content .analyzed-item-row:last-child { border-bottom: 0 !important; }
/* Bootstrap provides the accordion and spacing utilities; these values match the roomier reader-side result treatment. */
.guide-slider-content .essential-guideline-item-content, .guide-slider-content .essential-guideline-item-status { padding-top: 1.35rem !important; padding-bottom: 1.35rem !important; }
/* Bootstrap has no serif utility; manuscript evidence uses type and contrast to read as a clickable quotation. */
.essential-guideline-evidence-link { border-radius: .25rem; font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.55; transition: background-color .15s ease, color .15s ease; }
.essential-guideline-evidence-link:hover, .essential-guideline-evidence-link:focus-visible { background: #e8e0d1; color: #2a2924 !important; outline: none; }
.counts-note { color: var(--desk-muted); font-size: .75rem; line-height: 1.4; }
#annotationContractButton { width: 2.5rem; height: 2.5rem; }
/* This is a pane-scoped overlay; Bootstrap offcanvas is viewport-scoped. */
.details-panel { position: absolute; inset: 0; z-index: 9; display: flex; flex-direction: column; min-height: 0; background: var(--desk-panel); transform: translateX(100%); transition: transform 180ms ease; }
.details-panel.is-open { transform: translateX(0); }
.details-topbar { height: 2.5rem; flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; gap: 1rem; padding: .35rem .75rem; background: var(--desk-panel); }
.details-body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: .75rem; background: var(--desk-panel); }
/* Bootstrap supplies both modal instances; these two levels keep the confirmation and its backdrop above the still-visible library modal. */
.modal-stacked-confirmation { z-index: calc(var(--bs-modal-zindex) + 20); }
.modal-backdrop-stacked { z-index: calc(var(--bs-backdrop-zindex) + 20); }
.details-pending { margin-top: 1rem; padding: 1rem; border-radius: .45rem; background: #f3eee4; color: #564b3c; }
.details-pending .spinner-border { color: var(--desk-accent); }
.detail-source-surface { padding: .85rem; border: 1px solid rgba(111, 96, 75, .16); border-radius: .45rem; background: #f3eee4; color: #494036; font-size: .84rem; line-height: 1.5; }
.detail-jump:hover, .detail-jump:focus { background: #ece4d6; outline: none; }
.detail-occurrence-jump:hover, .detail-occurrence-jump:focus { background: #d9c9ad; color: #2a2924; outline: none; }
.detail-occurrence-jump:hover .text-secondary, .detail-occurrence-jump:focus .text-secondary { color: #453c31 !important; }
.detail-link-status.is-pending .detail-link-status-message::after { display: inline-block; width: 1.25em; content: ""; text-align: left; }
@media (prefers-reduced-motion: no-preference) {
  /* This small source-link state has no Bootstrap animation equivalent. */
  .detail-link-status.is-pending .detail-link-status-message { background: linear-gradient(100deg, var(--bs-secondary-color) 32%, #9a7d55 50%, var(--bs-secondary-color) 68%); background-size: 220% 100%; background-clip: text; color: transparent; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: detail-status-shimmer 2.8s ease-in-out infinite; }
  .detail-link-status.is-pending .detail-link-status-message::after { animation: detail-status-ellipsis 1.5s steps(1, end) infinite; }
}
@media (prefers-reduced-motion: reduce) { .detail-link-status.is-pending .detail-link-status-message::after { content: "..."; } }
.author-detail-card { padding: .85rem; }
/* Override the neutral source-card fill only when both profile registries lack this author. */
.author-detail-card.author-profile-missing { background: var(--bs-warning-bg-subtle); border-color: var(--bs-warning-border-subtle); }
.author-detail-link { display: inline-flex; align-items: center; border-radius: .3rem; padding: .18rem .32rem; transition: background-color .16s ease, color .16s ease; }
.author-detail-link:hover, .author-detail-link:focus-visible { background: #e8e0d1; color: var(--desk-accent) !important; outline: none; }
.source-target-highlight { padding: .08em .15em; background: #e9d6a8; color: inherit; }
.manuscript-search-highlight { padding: .08em .15em; background: #f1d99a; color: inherit; }
.ocr-page-source-target { outline: 2px solid rgba(137, 104, 63, .28); outline-offset: -2px; }
.guideline-selector-modal-body { min-height: min(68vh, 640px); }
#customizeChecksModal .modal-dialog { max-width: min(1180px, calc(100vw - 2rem)); }
#customizeChecksModal .modal-content { min-height: min(78vh, 760px); }
.guideline-facets { width: 16.25rem; flex: 0 0 16.25rem; }
.guideline-facets .btn.active { background: #eae4d9; color: var(--desk-accent); }
.guideline-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.5rem; padding: 1.25rem; align-content: start; }
.guideline-select-card { height: 10.25rem; overflow: hidden; transition: transform .16s ease, box-shadow .16s ease; }
/* Bootstrap has no multi-line clamp utility; cap catalogue copy so cards remain equal-height. */
.guideline-card-description { display: -webkit-box !important; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.guideline-select-card:hover { transform: translateY(-2px); box-shadow: var(--bs-box-shadow) !important; }
.guideline-detail-slider { position: absolute; top: .625rem; right: 0; bottom: .625rem; left: .625rem; z-index: 2; box-shadow: -.75rem 0 1.75rem rgba(15, 23, 42, .12); opacity: 0; pointer-events: none; transform: translateX(104%); transition: transform .44s ease, opacity .44s ease; border-radius: .5rem 0 0 .5rem; }
.guideline-detail-slider.is-open { opacity: 1; pointer-events: auto; transform: translateX(0); }
.modal-content { border-color: #e4dfd5; }
.modal-header, .modal-footer { border-color: #e8e4dc; }
.developer-contract-code { margin: 0; padding: 1.25rem 1.5rem; color: #40392f; background: #fcfbf8; font-size: .78rem; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.developer-contract-prompt { font-family: var(--bs-font-sans-serif); font-size: .9rem; }
.diagnostics-purpose-alert { background: #eef6fd; border-color: #cfe1f1 !important; color: var(--desk-muted); }
/* Bootstrap supplies the surfaces; custom rules only draw the diagnostic flow connectors and state markers. */
.runtime-flow { display: grid; grid-template-columns: repeat(7, minmax(7.5rem, 1fr)); gap: 1.25rem; }
.runtime-flow-stage::after { content: ""; position: absolute; top: 1.55rem; left: calc(100% + .25rem); width: .75rem; height: 1px; background: var(--bs-border-color); }
.runtime-flow-stage:last-child::after { display: none; }
.runtime-status-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--bs-secondary-bg); box-shadow: 0 0 0 3px var(--bs-tertiary-bg); }
.runtime-status[data-runtime-state="ready"] .runtime-status-dot,
.runtime-flow-stage[data-runtime-state="ready"] .runtime-status-dot { background: #6f806e; }
.runtime-status[data-runtime-state="pending"] .runtime-status-dot,
.runtime-flow-stage[data-runtime-state="pending"] .runtime-status-dot { background: #9a7d55; animation: runtime-status-pulse 1.8s ease-in-out infinite; }
.runtime-status[data-runtime-state="unavailable"] .runtime-status-dot,
.runtime-flow-stage[data-runtime-state="unavailable"] .runtime-status-dot { background: var(--bs-danger); }
.runtime-status[data-runtime-state="blocked"] .runtime-status-dot,
.runtime-dependency-step[data-runtime-state="blocked"] .runtime-status-dot { background: #9a6a45; }
.runtime-status[data-runtime-state="waiting"] { color: var(--bs-secondary-color); }
.runtime-result-table th,
.runtime-result-table td { padding: .7rem .85rem; }
.runtime-result-table > tbody > .runtime-dependency-row:hover > * { --bs-table-bg-state: transparent; }
.runtime-dependency-flow { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.runtime-dependency-step:not(:last-child)::after { content: ""; position: absolute; top: 50%; left: calc(100% + .25rem); width: .5rem; height: 1px; background: var(--bs-border-color); }
.runtime-result-table [aria-expanded="true"] .runtime-dependency-chevron { transform: rotate(180deg); }
.runtime-dependency-chevron { transition: transform .2s ease; }
@keyframes runtime-status-pulse { 50% { box-shadow: 0 0 0 5px rgba(154, 125, 85, .14); } }
@keyframes detail-status-shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes detail-status-ellipsis { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75%, 100% { content: "..."; } }
@media (max-width: 1199.98px) {
  .runtime-flow { grid-template-columns: repeat(4, minmax(8rem, 1fr)); }
  .runtime-flow-stage::after { display: none; }
}
@media (max-width: 575.98px) {
  .runtime-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) { .home-integrations-scroll { justify-content: center; } }
/* Keep the complete opening story visible on common laptop-height screens without tightening desktop layouts globally. */
@media (min-width: 992px) and (max-height: 900px) {
  .home-main { padding-top: 1rem !important; }
  .home-hero-section { min-height: 25.5rem; padding-top: 2rem; padding-bottom: 2.25rem; }
  .home-headline { font-size: 3rem; }
  .home-lead { min-height: 4.5rem; margin-bottom: 1rem !important; }
  .home-hero-image-wrap { width: 70%; }
  .home-integrations { padding-top: 1.2rem !important; padding-bottom: 1.3rem !important; margin-bottom: 1.5rem; }
  .home-integrations > .row { margin-bottom: 1rem !important; }
  .home-integrations-scroll { padding-top: .85rem; padding-bottom: .85rem; }
}
@media (min-width: 992px) { .usp-detail-inner { min-height: 13rem; } }
@media (max-width: 991px) { .home-headline { font-size: 2.75rem; } .home-hero-image-wrap { right: -18%; width: 105%; } .home-hero-image-wrap::after { background: linear-gradient(90deg, transparent 0%, rgba(247, 247, 244, .5) 18%, rgba(247, 247, 244, .18) 42%, transparent 62%); } .studio-reader { grid-template-columns: 15rem 5px minmax(20rem, 1fr) 5px 22rem; } .guideline-facets { width: 12rem; flex-basis: 12rem; } }
/* The copy-led desktop overlay needs more room than the navbar. Keep the compact hero through the measured 768–1099px readability gap. */
@media (max-width: 1099.98px) {
  .home-hero-section { min-height: 0; padding-top: 2.5rem; padding-bottom: 0; overflow: visible; }
  .home-hero-image-wrap, .home-headline-desktop { display: none; }
  .home-hero-content { width: 100%; }
  .home-hero-image-mobile { position: relative; height: clamp(13rem, 62vw, 17rem); overflow: hidden; border-radius: 1rem; background: var(--desk-panel); isolation: isolate; }
  .home-hero-image-mobile { display: block; }
  /* Widening from the left keeps roughly 70% of the source and discards its quiet right edge. */
  .home-hero-image-mobile img { position: absolute; z-index: 0; inset: 0 auto 0 0; display: block; width: 143%; max-width: none; height: 100%; object-fit: cover; object-position: left 42%; filter: sepia(.48) saturate(.66) contrast(.9); opacity: .82; }
  /* A masked backdrop blur quiets only the copy side and fades out before the subject. */
  .home-hero-image-mobile::before { position: absolute; z-index: 1; inset: 0 auto 0 0; width: 62%; background: linear-gradient(90deg, rgba(247, 247, 244, .68), rgba(247, 247, 244, .42) 66%, transparent); backdrop-filter: blur(9px); content: ''; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 68%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, #000 68%, transparent 100%); }
  .home-headline-mobile { position: absolute; z-index: 2; top: 50%; left: 1.1rem; width: 52%; color: var(--desk-ink); font-size: clamp(1.8rem, 8.4vw, 2.15rem); line-height: .98; transform: translateY(-50%); }
  .home-headline-mobile span { display: block; color: inherit; }
  .home-headline-mobile span:nth-child(n + 3) { color: var(--desk-accent); }
  .home-hero-action-stack { max-width: none; }
}
/* Tablet-width banners retain the photograph's native framing so the hands and laptop remain part of the story. */
@media (min-width: 768px) and (max-width: 1099.98px) {
  .home-hero-image-mobile { height: auto; aspect-ratio: 4096 / 2160; }
  .home-hero-image-mobile img { width: 111%; }
  .home-headline-mobile { left: clamp(1.5rem, 4vw, 2.75rem); width: 42%; font-size: clamp(2.15rem, 4.4vw, 3rem); }
}
/* Wide screens trim the quiet outer-right edge and move the subject clear of the headline punctuation. */
@media (min-width: 1100px) {
  .home-hero-image-wrap { right: -9%; }
  .home-hero-image { width: 105%; max-width: none; object-position: left center; }
}
@media (min-width: 1300px) {
  .home-hero-image-wrap { right: -5%; }
  .home-hero-image { width: 103%; }
}
@media (max-width: 767px) { html, body { overflow: auto; } .studio-reader { display: flex; min-height: 100vh; height: auto; } .studio-toc-pane, .studio-splitter { display: none; } .studio-center-pane { min-width: 0; flex: 1 1 0; } .studio-counts-pane { width: 20rem; flex: 0 0 20rem; } .guideline-selector-modal-body { flex-direction: column; } .guideline-facets { display: block; width: 100%; flex-basis: auto; max-height: 220px; border-right: 0 !important; border-bottom: 1px solid var(--bs-border-color); } .guideline-card-grid { grid-template-columns: 1fr; } .guideline-detail-slider { left: 0; top: .75rem; bottom: .75rem; border-radius: 1rem 1rem 0 0; } .manuscript-search-control.is-open { grid-template-columns: minmax(10rem, 45vw); } .search-control { width: 100%; } }
/* Keep the manuscript-view switch usable when the reader's centre pane becomes narrow. */
@media (max-width: 767px) { .center-tabs { flex-wrap: wrap; align-content: flex-start; } #fileName { min-width: 0; flex: 1 1 100%; margin-right: 0 !important; } }
@media (max-width: 575.98px) {
  .home-integrity-shot { height: 23rem; }
  .home-integrity-reader-demo { grid-template-columns: 58% 42%; }
  .home-integrity-count-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1rem; }
  .home-integrity-split { grid-template-columns: 1fr 1fr; }
  .home-integrity-paper, .home-integrity-detail, .home-integrity-figure { padding: .7rem; }
  .home-integrity-profile { padding: .55rem; }
  .home-integrity-flow-row { gap: .35rem; }
  .home-guideline-shot { height: 23rem; }
  .home-guideline-panel, .home-guideline-detail-screen { padding: .9rem; }
  .home-guideline-modal { grid-template-columns: 29% 71%; }
  .home-guideline-library { grid-template-columns: 34% 66%; }
  .home-guideline-modal-preview { width: 100%; height: 100%; transform: none; }
  .home-guideline-modal aside, .home-guideline-modal main { padding: .65rem; }
  /* Reserve the narrow rail for the panel toggle so the reader itself remains usable. */
  .studio-counts-pane { width: 3rem; flex: 0 0 3rem; }
  .studio-counts-pane .reader-side-shell, .studio-counts-pane .details-panel { display: none !important; }
  .center-tabs { width: calc(100% - 2.125rem); padding-left: 0 !important; }
  .reader-view-button { min-width: 3.55rem; padding-inline: .4rem; font-size: .7rem; }
}
