/* GematriaRTM V8 — readability and long-text input */

/* Public reading surfaces: raise the smaller explanatory copy without changing the visual hierarchy. */
.portal-card p,.portal-principles p,.portal-note p,.portal-section-head p,.portal-rtm-copy>p,
.guide-section>p,.guide-section article p,.guide-quick-grid p,.guide-callout p,.research-card p,.content-card p,
.footer p,.footer a,.faq-item p,.about-card p{font-size:15px!important;line-height:1.72!important}
.portal-kicker,.portal-tag,.portal-eyebrow,.research-card .tag{font-size:11.5px!important}
.guide-toc a{font-size:13.5px!important}
.footer-col strong{font-size:14px!important}
.copyright{font-size:12.5px!important}
@media(max-width:760px){
 .portal-card p,.portal-principles p,.portal-note p,.portal-section-head p,.guide-section>p,.guide-section article p,.guide-quick-grid p,.research-card p,.content-card p{font-size:14.5px!important}
}

/* RTM Lab: make the small instructional UI noticeably easier to read. */
.page-head p{font-size:13.5px!important;line-height:1.65!important}
.card-head small{font-size:10.5px!important}
.friendly-input-help{font-size:12.5px!important;line-height:1.62!important}
.input-column-heads{font-size:10.5px!important}.input-column-heads small{font-size:9.5px!important}
.role-behavior{font-size:9.5px!important;line-height:1.35!important}
.entry-details-note{font-size:10.5px!important;line-height:1.55!important}
.field span,.auto-event-tech-note,.event-domain-note{font-size:10.5px!important}
.null-explain,.interpret,.summary-copy{font-size:12.5px!important}
.stat span,.stat small,.null-stat span{font-size:10px!important}
.details summary{font-size:10.5px!important}
.tech-item span{font-size:9.5px!important}.tech-item b{font-size:11px!important}

/* Full-message input: real multiline text, soft wrapping and automatic growth. */
.text-compact{align-items:stretch!important}
.text-compact textarea.txt{
 width:100%;min-width:0;min-height:42px;max-height:156px;margin:0;border:0!important;outline:0!important;
 background:transparent!important;color:var(--text)!important;box-shadow:none!important;padding:10px 10px!important;
 font:700 13px/1.5 inherit;direction:rtl;text-align:start;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;
 scrollbar-width:thin
}
html[lang="en"] .text-compact textarea.txt{direction:ltr}
.text-compact textarea.txt::placeholder{font-weight:600!important;color:color-mix(in srgb,var(--muted) 72%,transparent);opacity:.78}
.entry-main:has(.text-compact textarea:not(:placeholder-shown)){opacity:1}
.entry.semantic-missing .text-compact textarea{box-shadow:none!important}
@media(max-width:680px){.text-compact textarea.txt{font-size:13px!important;min-height:48px}}
/* V19.7.3.18 — GENERAL Role-Aware Joint Event Null */
.joint-auto-corpus-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
.joint-auto-corpus-card>div,.joint-simple-note,.joint-corpus-ledger>div,.joint-primary-unavailable,.joint-d-section,.joint-sensitivity-ledger{border:1px solid var(--line,#d9e2ef);border-radius:14px;padding:13px;background:color-mix(in srgb,var(--card,#fff) 95%,#eef6ff)}
.joint-auto-corpus-card span,.joint-corpus-ledger span{display:block;font-size:.82rem;opacity:.7}.joint-auto-corpus-card strong,.joint-corpus-ledger b{display:block;margin:4px 0}.joint-auto-corpus-card small,.joint-corpus-ledger small,.joint-simple-note small{display:block;line-height:1.55;opacity:.76}
.joint-tt-advanced{margin-top:14px;border:1px solid var(--line,#d9e2ef);border-radius:14px;padding:0 12px}.joint-tt-advanced>summary{cursor:pointer;padding:12px 2px;display:flex;gap:10px;align-items:center;justify-content:space-between}.joint-tt-advanced>summary small{opacity:.7}.joint-tt-advanced-body{padding:0 2px 14px;display:grid;gap:12px}.joint-primary-unavailable{border-color:#d99;background:#fff7f7;margin:12px 0}.joint-primary-unavailable b{font-size:1rem}.joint-primary-unavailable p{margin:6px 0}.joint-corpus-ledger{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.joint-corpus-ledger code{display:block;overflow-wrap:anywhere;font-size:.76rem;margin-top:5px}.joint-d-section{margin:14px 0}.joint-d-section h4{margin:0 0 10px}.joint-sensitivity-ledger{margin:14px 0}.joint-sensitivity-ledger summary{cursor:pointer;font-weight:700}.joint-sensitivity-ledger .ledger-grid{margin-top:10px}.sensitivity-only{opacity:.94}
@media(max-width:760px){.joint-auto-corpus-card,.joint-corpus-ledger{grid-template-columns:1fr}.joint-tt-advanced>summary{align-items:flex-start;flex-direction:column}}
/* V19.7.3.31 — exact Joint B + paired Search-Corrected headline */
.joint-headline-label{display:inline-flex;align-items:center;gap:6px;margin:-2px 0 12px;padding:6px 10px;border-radius:999px;border:1px solid var(--line,#d9e2ef);font-style:normal;font-size:.82rem;font-weight:800;letter-spacing:.02em;background:#f8fafc;color:#334155}
.joint-search-corrected-headline{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 14px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;color:#334155}
.joint-search-corrected-headline b{font-size:1rem}.joint-search-corrected-headline span{font-size:.82rem;opacity:.78}.joint-search-corrected-headline.borderline{border-color:#f59e0b;background:#fffbeb;color:#92400e}.joint-search-corrected-headline.passes{border-color:#86efac;background:#f0fdf4;color:#166534}
.event-result-metric.exact-joint{border-width:2px;border-color:#22c55e;background:#f0fdf4}.event-result-metric.exact-joint>small{font-weight:700;color:#166534}
.exact-joint-ledger{border-color:#86efac!important;background:#f0fdf4!important}.joint-simple-note.exact-auto{border-color:#86efac!important;background:#f0fdf4!important}
@media(max-width:760px){.joint-search-corrected-headline{align-items:flex-start;flex-direction:column}}


/* V19.7.3.32 — hard paste + visible textarea text */
.text-compact textarea.txt{
 display:block!important;opacity:1!important;visibility:visible!important;
 -webkit-text-fill-color:var(--text)!important;caret-color:var(--blue,#2563eb)!important;
 user-select:text!important;-webkit-user-select:text!important;
}
.text-compact textarea.txt:not(:placeholder-shown){
 color:var(--text)!important;-webkit-text-fill-color:var(--text)!important;
 font-weight:750!important;
}
.text-compact textarea.txt:focus{
 background:color-mix(in srgb,var(--blue,#2563eb) 3%,transparent)!important;
 box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--blue,#2563eb) 28%,transparent)!important;
}
.text-compact textarea.txt.paste-confirmed{
 animation:rtmPasteConfirmed .9s ease-out;
}
@keyframes rtmPasteConfirmed{
 0%{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--green,#16a34a) 72%,transparent)!important;background:color-mix(in srgb,var(--green,#16a34a) 8%,transparent)!important}
 100%{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--blue,#2563eb) 28%,transparent)!important}
}
/* Old console rules targeted the former single-line input. Mirror the populated-state rules for the current textarea. */
.entry-main:has(.text-compact textarea.txt:not(:placeholder-shown)){background:var(--bg2)!important}
