/* Approved identity: Fraunces ExtraBold, black, white and electric orange. */
@font-face{font-family:Fraunces;src:url('fonts/fraunces.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
:root{--bg:#0b0b0d;--panel:#141417;--panel-2:#19191e;--text:#fff;--muted:#c1c1c8;--line:#414149;--accent:#ff4b00;--v87-ink:#fff;--v87-muted:#c1c1c8;--v87-gold:#ff4b00;--v87-bg:#0b0b0d;--v87-soft:#c1c1c8;--v87-faint:#aaaab3;--v87-gold-soft:rgba(255,75,0,.12);--v87-line:#414149;--v87-line-gold:rgba(255,75,0,.4);--v87-glass:#141417;--v87-glass-2:#19191e}
html{background:#0b0b0d;color-scheme:dark;scroll-behavior:smooth}
body.v87-body,body.v111-home,body{background:#0b0b0d!important;color:#fff!important;font-family:Arial,Helvetica,sans-serif!important}
body::before,body::after,.v87-shell::before,.v87-shell::after,.v87-hero::before,.v87-hero::after{display:none!important}
.shell.v87-shell{width:min(1160px,100%);padding:24px clamp(20px,4vw,48px) 36px!important}
.brand-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:4px 0 24px;max-width:100%;flex-wrap:wrap}
.brand-home{font-family:Fraunces,Georgia,serif;font-weight:800;font-variation-settings:'opsz' 72,'SOFT' 0,'WONK' 1;font-size:32px;line-height:1.1;text-decoration:none;color:#ff4b00!important}
.brand-nav-links{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:14px}
.brand-nav-links a{color:#fff!important;text-decoration:none;min-height:44px;display:flex;align-items:center}
.brand-nav-links a:hover{text-decoration:underline;text-underline-offset:5px}
body .v87-hero{display:block!important;text-align:left!important;min-height:0!important;padding:24px 0 28px!important;margin:0!important;background:transparent!important;border:0!important}
body .v87-hero-copy{width:100%!important;max-width:none!important;display:block!important;text-align:left!important;padding:0!important;margin:0!important}
body h1,body h2,.brand-home{font-family:Fraunces,Georgia,serif!important;font-weight:800!important;font-variation-settings:'opsz' 72,'SOFT' 0,'WONK' 1}
body .hero-title.v87-title{display:block!important;font-family:Fraunces,Georgia,serif!important;font-weight:800!important;font-size:clamp(36px,7.4vw,78px)!important;line-height:1.05!important;letter-spacing:-.035em!important;text-transform:none!important;text-align:left!important;max-width:100%!important;width:auto!important;margin:0!important;padding:0!important;color:#fff!important;opacity:1!important;transform:none!important;animation:none!important;text-shadow:none!important}
.brand-title-line{display:block}
.brand-title-accent{color:#ff4b00}
body .v87-tagline{font-family:Arial,Helvetica,sans-serif!important;color:#c1c1c8!important;font-size:17px!important;line-height:1.5!important;letter-spacing:0!important;text-transform:none!important;margin:24px 0 0!important;max-width:52ch;opacity:1!important;animation:none!important;transform:none!important}
body .v87-workbench{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;border-radius:0!important;overflow:visible!important}
body .v87-workbench::before,body .v87-workbench::after{display:none!important}
body .v87-tool-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:28px!important;align-items:start!important;background:transparent!important}
body .v87-workbench .input-pane,body .v87-workbench .result-card{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-width:0;min-height:0!important}
body .v87-workbench .input-pane{border-right:0!important;border-bottom:0!important}
body .v87-workbench .paste-label{font-family:Arial,Helvetica,sans-serif!important;font-weight:700!important;color:#fff!important;letter-spacing:0!important;text-transform:none!important;font-size:16px!important;margin-bottom:12px!important}
body textarea,body input,body select,body .v87-workbench #textInput{font-family:Arial,Helvetica,sans-serif!important;color:#fff!important;background:#19191e!important;border:1px solid #56565f!important;box-shadow:none!important;border-radius:9px!important;font-size:16px!important;line-height:1.6!important}
body .v87-workbench #textInput{min-height:210px!important;resize:vertical;padding:16px!important}
body textarea::placeholder,body input::placeholder{color:#bfbfc7!important;opacity:1}
body button,body .secondary,body .action-link,body .footer-pill{font-family:Arial,Helvetica,sans-serif!important;letter-spacing:0!important;text-transform:none!important;min-height:44px}
body .primary,body #analyzeBtn,body .purchase-app-button{background:#ff4b00!important;color:#0b0b0d!important;border:1px solid #ff4b00!important;border-radius:8px!important;box-shadow:none!important;font-size:16px!important;font-weight:700!important;text-shadow:none!important}
body .primary:hover,body #analyzeBtn:hover,body .purchase-app-button:hover{background:#ff6b2c!important;border-color:#ff6b2c!important;transform:none!important}
body .secondary,body .action-link.secondary,body .history-open-button,body .footer-pill,body .access-code-link{color:#fff!important;background:transparent!important;border-color:#56565f!important;border-radius:8px!important;box-shadow:none!important}
body .secondary:hover,body .footer-pill:hover{border-color:#ff4b00!important;background:#241710!important}
body .v87-actions{gap:10px!important;align-items:stretch!important;margin-top:14px!important;display:flex!important;flex-wrap:wrap!important}
body #analyzeBtn{flex:1 0 100%!important;width:100%!important;min-height:52px!important}
body .v87-actions .secondary{font-size:13px!important;padding:10px 12px!important}
body .card,body .info-page-card,body .summary-box,body .report-export-panel,body .purchase-access-panel,body .guide-card,body dialog{background:#141417!important;color:#fff!important;border-color:#414149!important;box-shadow:none!important}
body .info-page-flat{background:transparent!important;border:0!important}
body .info-page-card h1{color:#fff!important;font-size:clamp(34px,6vw,52px)!important;line-height:1.15!important;letter-spacing:-.025em!important}
body .info-page-card h2,body .local-history-card h2{color:#fff!important;font-size:28px!important;line-height:1.25!important}
body .info-page-card p,body .info-page-card li,body .summary-box p,body .top-match-summary{color:#e5e5e9!important}
body .section-kicker,body .eyebrow,body .summary-box h3,body .source-role-box h3{font-family:Arial,Helvetica,sans-serif!important;color:#ff7640!important;letter-spacing:.08em!important;font-size:12px!important}
body .search-meter,body .hint,body .document-upload-formats,body .document-file-name,body .history-pattern-note{color:#bfbfc7!important}
body .summary-box{padding:18px!important;border-radius:10px!important}
body .v87-workbench .quick-summary{margin:0!important;grid-template-columns:1fr!important;gap:12px!important}
body .v87-workbench .result-card.awaiting{display:block!important}
body .v87-workbench .result-card.awaiting .summary-box{display:block!important}
body .summary-box .badge{font-family:Arial,Helvetica,sans-serif!important;font-weight:700!important;font-size:13px!important}
body .result-card.nohit .badge{background:#25252c!important;color:#fff!important}
body .result-card.context .badge{background:#392216!important;color:#ffae89!important}
body .result-card.flagged .badge,body .result-card.high .badge{background:#ff4b00!important;color:#0b0b0d!important}
body .scan-options{border-color:#414149!important;margin-top:16px!important}
body .scan-options>summary{color:#fff!important;font-size:14px!important}
body .scan-options .document-upload-panel,body .scan-options .url-scan-panel,body .scan-options .site-crawl-panel{background:transparent!important;border-color:#414149!important;padding:16px 0!important}
body .document-upload-title,body .url-scan-title,body .site-crawl-title{font-family:Arial,Helvetica,sans-serif!important;color:#fff!important;font-size:15px!important;letter-spacing:0!important}
body .document-upload-actions,body .url-scan-form,body .site-crawl-form{margin-left:0!important;max-width:100%}
body .purchase-access-panel,body .local-history-card{margin-top:26px!important;border-radius:10px!important;padding:20px!important}
body .local-history-card p,body .purchase-access-copy span{color:#c1c1c8!important}
body .purchase-access-copy strong{color:#fff!important}
body .site-footer{border-color:#414149!important;color:#bfbfc7!important;display:flex;flex-wrap:wrap;gap:8px!important}
body .site-footer .footer-pill{font-size:12px!important}
body .info-page-card a:not(.footer-pill):not(.glossary-term-link),body .resource-list a:not(.glossary-term-link){color:#ff8b5b!important}
body .purchase-access-panel a:not(.access-code-link){color:#ff8b5b!important}
body a.glossary-term-link{color:inherit!important}
body .quiet-contact{color:#bfbfc7!important;font-size:13px!important;line-height:1.5!important}
body .match-highlight,body mark{background:#462317!important;color:#fff!important}
body :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid #ff8b5b!important;outline-offset:4px!important;box-shadow:none!important}
body button:disabled{opacity:.55;cursor:wait}
body #purchaseAppBtn:disabled{cursor:default}
body .reveal-item,body .motion-workbench{opacity:1!important;transform:none!important;animation:none!important}
.input-limit-note{color:#bfbfc7;font-size:13px;line-height:1.5;margin:10px 0}
@media(min-width:860px){body .hero-title.v87-title{font-size:76px!important}}
@media(max-width:859px){body .v87-tool-grid{grid-template-columns:minmax(0,1fr)!important}body .v87-workbench .input-pane{border-bottom:0!important}.brand-nav-links{gap:14px}body .shell.v87-shell{padding:20px 24px 32px!important}body .v87-workbench #textInput{min-height:185px!important}body .result-card{scroll-margin-top:20px}}
@media(max-width:380px){body .shell.v87-shell{padding-inline:18px!important}body .hero-title.v87-title{font-size:35px!important}.brand-nav-links{font-size:12px;gap:10px}.brand-home{font-size:29px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body:not(.is-owner) .owner-only{display:none!important}
.research-notice{margin:18px 0;padding:14px;border:1px solid #555;border-radius:8px;font:14px/1.5 Arial,sans-serif;color:#ddd}
.research-notice label{display:flex;gap:12px;align-items:flex-start}
.research-notice input[type=checkbox]{width:20px!important;height:20px!important;flex:0 0 20px;margin-top:3px;accent-color:#ff4b00}
.research-notice p{margin:8px 0 0;font-size:13px}
.research-record{padding:20px 0;border-bottom:1px solid #444}
.research-record pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto;font:14px/1.5 Arial,sans-serif}
.research-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}
[hidden]{display:none!important}
.example-options{margin:16px 0;font-size:14px}
.example-options summary{cursor:pointer;color:#fff;min-height:30px}
.example-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
body .example-buttons button{padding:9px 12px;font-size:13px}
body.v87-body.v111-home #analysisWorkbench,body.v87-body.v111-home #analysisWorkbench .v87-tool-grid,body.v87-body.v111-home #analysisWorkbench .input-pane{background:transparent!important}
body .site-footer{margin-top:32px;gap:24px!important;font-size:13px}
body .site-footer a{color:#bfbfc7;text-decoration:none;padding:10px 0}
body .site-footer a:hover{color:#ff4b00}
.compact-import{border:1px solid #414149;border-radius:10px;padding:12px;margin-top:18px}
.import-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body .import-buttons button{padding:8px 6px!important;font-size:13px!important;min-width:0}
.compact-import .document-file-name:empty,.compact-import p:empty,#exampleStatus:empty{display:none}
.compact-import .document-file-name{display:block;margin-top:12px;overflow-wrap:anywhere}
.compact-import p{font-size:13px;line-height:1.5;margin:10px 0 0;overflow-wrap:anywhere}
.website-mode{display:flex;align-items:center;gap:8px;font-size:13px;margin:16px 0 10px}
body .website-mode input{width:18px!important;height:18px;accent-color:#ff4b00}
.compact-url-form{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
body .compact-url-form input{flex:1 1 160px;width:0;min-width:0;padding:8px 10px!important}
body .compact-url-form select{flex:0 1 100px;width:auto;padding:8px!important;font-size:13px!important}
body .compact-url-form button{padding:8px 12px!important;font-size:13px!important}
body .purchase-title{font-size:clamp(30px,5vw,46px)!important;line-height:1.1!important;color:#fff!important;margin:0!important;letter-spacing:-.025em}
.purchase-title span{color:#ff4b00!important}
body .purchase-access-copy .purchase-title span{color:#ff4b00!important}
body #purchaseAppBtn:disabled{opacity:1}
.owner-credit{margin-left:auto;padding:10px 0}
body .example-buttons .example-btn{width:auto!important;flex:0 1 auto!important;margin:0!important;padding:9px 12px!important;font-size:13px!important;text-align:center}
body .purchase-access-copy .purchase-title span{font:inherit!important;display:inline!important}

/* One historical note per recognized expression; citations remain inline. */
body .historical-context-summary .historical-context-term {font-weight:700!important;color:#fff!important;margin:0 0 8px!important;font-size:14px!important;}

/* Never display an empty historical card before an analysis or when no supported term is found. */
body .historical-context-summary.hidden {display:none!important;}
