/* Tonos muestreados del logotipo publicado por semFYC: azul #305184 y naranja #E64C11. */
:root { --ink: #233e66; --accent: #e64c11; --blue: #305184; --paper: #f7f8fb; --line: #d9e1ee; --soft: #edf2fa; --bs-link-color: #305184; --bs-link-hover-color: #233e66; }
body { color: #303c50; background: var(--paper); }
.navbar { border-bottom: 3px solid var(--accent); background: #fff !important; }
.navbar-brand { font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
h1, h2, h3 { color: var(--ink); }
h1 { font-weight: 750; letter-spacing: -.04em; line-height: 1.12; }
a { color: var(--blue); text-underline-offset: .18em; }
.navbar .nav-link.active { color: var(--blue); box-shadow: inset 0 -2px var(--accent); }
.project-label { margin-top: 2rem; font-size: .75rem; letter-spacing: .15em; font-weight: 750; color: var(--ink); border-left: 4px solid var(--accent); padding-left: .75rem; }
.lead { max-width: 45rem; font-size: 1.25rem; line-height: 1.65; }
.document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 3rem; }
.document-card { background: white; padding: 1.4rem; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 12px; }
.document-card h3 { font-size: 1.15rem; margin-top: 0; }
.document-card p:last-child { margin-bottom: 0; }
table { font-size: .93rem; }
@media(max-width: 650px) { .document-grid { grid-template-columns: 1fr; } }
@media print { .navbar, #quarto-margin-sidebar, .nav-footer { display: none; } body { background: white; } }
.cm-note-button { display: inline-block; margin-left: .6rem; border: 1px solid #c8d5e8; border-radius: 1rem; background: #fff; color: var(--blue); padding: .15rem .6rem; font: 500 .7rem/1.6 system-ui, sans-serif; vertical-align: middle; letter-spacing: 0; }
.cm-note-button:hover, .cm-note-button:focus-visible { background: var(--soft); border-color: var(--blue); }
.cm-page-note, .cm-selection-note { position: fixed; z-index: 1000; bottom: 1.2rem; right: 1.2rem; padding: .7rem 1rem; border: none; border-bottom: 3px solid var(--accent); border-radius: 2rem; background: var(--blue); color: #fff; box-shadow: 0 3px 14px #233e6630; font-weight: 600; }
.cm-selection-note { bottom: 4.7rem; background: var(--ink); }
.cm-annotations { box-sizing: border-box; width: min(33rem, 100vw); height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0 0 0 auto; padding: 1.5rem; border: none; border-left: 3px solid var(--accent); background: #fafbfe; color: #303c50; overflow-y: auto; }
.cm-annotations::backdrop { background: #233e6640; }
.cm-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.cm-panel-head h2 { margin-top: 0; font-size: 1.5rem; }
.cm-eyebrow { font-size: .65rem; font-weight: 700; letter-spacing: .14em; margin-bottom: .4rem; }
.cm-close { border: 0; background: none; font-size: 1.8rem; padding: 0 .5rem; line-height: 1; color: var(--ink); }
.cm-annotations h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.cm-annotations blockquote, .cm-review-note blockquote { border-left: 3px solid var(--accent); padding: .5rem .8rem; background: #fff2ea; font-size: .9rem; color: #654336; white-space: pre-wrap; }
.cm-annotations label, .cm-review-login label { display: block; margin: .8rem 0 .25rem; font-size: .9rem; font-weight: 600; }
.cm-annotations input, .cm-annotations textarea, .cm-review-login input { width: 100%; padding: .6rem; border: 1px solid #c5d2e5; border-radius: 6px; background: #fff; font-size: 1rem; }
.cm-submit { background: var(--blue); border: none; color: #fff; border-radius: 6px; padding: .65rem 1rem; margin-top: .75rem; font-weight: 600; }
.cm-submit:disabled { opacity: .6; }
.cm-help, #cm-send-status, .cm-note-meta { font-size: .82rem; line-height: 1.6; }
.cm-note { border-bottom: 1px solid var(--line); padding: .75rem 0; }
.cm-note-meta { color: #536789; margin-bottom: .4rem; }
.cm-note-section { font-size: .85rem; font-weight: 600; }
.cm-note-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.cm-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cm-review-toolbar { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: 1.5rem; }
.cm-review-toolbar select, .cm-review-toolbar button, .cm-review-action { padding: .4rem .7rem; border: 1px solid #c5d2e5; border-radius: 6px; background: white; }
.cm-review-note { background: white; border: 1px solid var(--line); padding: 1.25rem; margin: 1rem 0; border-radius: 10px; }
.cm-review-note h3 { font-size: 1rem; margin-top: 0; }
.cm-review-action { margin: .5rem .5rem 0 0; }
@media print { .cm-note-button, .cm-page-note, .cm-selection-note, .cm-annotations, #cm-moderation-root { display: none !important; } }
.callout.callout-note { border-left-color: var(--blue); }
.callout.callout-note .callout-header { background: var(--soft); }
.sidebar nav[role=doc-toc] ul>li>a.active { border-left-color: var(--accent); color: var(--blue) !important; }
::selection { background: #fbd5c6; color: #233e66; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
