
/* Identidad institucional SMC SAS. El archivo de imagen conserva el original. */
:root{--navy:#171612;--navy-2:#30281a;--ink:#292720;--muted:#706b60;--gold:#d8b35c;--gold-light:#f8f1e1;--teal:#88651f;--teal-soft:#f8f1e1;--bg:#f7f5f0;--canvas:#f7f5f0;--border:#e4dfd3;--line:#e4dfd3;--line-dark:#cbc0a8;--shadow:0 12px 35px rgba(36,29,13,.065)}
body{background:var(--bg);color:var(--ink)}
a{color:#80601e;text-underline-offset:3px}
.smc-slogan{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:400;letter-spacing:.015em;color:#f0cf83;font-size:19px;line-height:1.45;margin-top:8px}
.smc-legal{font-size:10px;font-weight:400;letter-spacing:.025em;color:#c4bba7;margin-top:5px}
.smc-art{width:100%;height:auto;display:block;border-radius:12px;border:1px solid #5a4522;box-shadow:0 14px 30px #0003}
.smc-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:12px;margin-top:18px}
.smc-tools a{padding:8px 13px;border:1px solid #6b562b;border-radius:7px;color:#e9d09a;text-decoration:none;line-height:1.35}
.smc-tools a:hover,.smc-tools a[aria-current=page]{color:#171612;background:#e3c274;border-color:#e3c274}
.smc-footer{background:#171612;color:#f1d99f;border-top:1px solid #9d7b39;padding:26px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:14px;margin-top:26px}
.smc-footer strong{display:block;font-size:15px;letter-spacing:.015em}
.smc-footer small{display:block;color:#c9c1b2;font-size:11px;line-height:1.7;margin-top:5px}
.smc-footer .smc-slogan{margin:0;font-size:20px}
.smc-report-logo{width:106px;height:auto;flex-shrink:0;object-fit:contain;display:block;border-radius:5px}
.smc-report-identity{display:flex;align-items:center;gap:12px;min-width:0}
.smc-report-motto{font-family:Georgia,'Times New Roman',serif;font-size:11px;font-style:italic;color:#80601e;margin-top:4px}
.brand-primary,.brand-name{color:#f0d592;font-size:16px;letter-spacing:.055em}
.brand-secondary,.brand-handle{color:#dfd4bb}
.brand-primary+.brand-secondary{font-size:12px}
.topbar{background:#11110e;border-color:#65502b}
.hero,.masthead{background:radial-gradient(ellipse at 100% 0%,#5a422322,transparent 65%),#171612;color:#fff}
.hero-copy,.masthead p{color:#d6d0c3}
.hero h1 em{color:#e8c779}
.identity-mark,.mark{color:#e9c778;border-color:#ad893d;background:#d8b35c0c}
.hero-illustration{min-height:0;display:flex;align-items:center}
.button-primary,.btn-primary{background:#252016;color:#f8edcf}
.button-primary:hover,.btn-primary:hover{background:#4a391b}
.button-gold{color:#201b11;background:#e3c274}
.button-text{color:#73664d}
.button-secondary{color:#765719}
.button-outline{color:#3d3320}
.field>span,.vital-label{color:#655a44}
.field input,.field select,.field textarea,.vital-row input{color:#28251f;border-color:#dcd4c4}
.field input:focus,.field select:focus,.field textarea:focus,.vital-row input:focus{border-color:#a68543}
.panel-heading,.vital-head,.course-tool,.borg-title{border-color:#e7e0d1}
.panel-number{background:#f8f1e1;color:#80601e}
.course-tool summary,.borg-title h4,.references-grid strong{color:#6b531f}
.course-tool-inner,.nadir-field{background:#faf7ef;border-color:#e4dccb}
.nadir-field p,.course-tool-inner p{color:#756a56}
.callout,.r-highlight{background:#f8f4e9;border-left-color:#b9974d;color:#6c5d40}
.result-card{background:#211e17}
.big-number span{color:#f3db9e}
.small-eyebrow,.mini-line,.metric-pair span,.context-note{color:#d1c7af}
.metric-pair strong{color:#f6e9c8}
.r-brand,.r-title,.r-kpi>strong{color:#30281a}
.r-subbrand,.r-meta,.r-foot{color:#756b57}
.r-section-title{color:#80601e}
.r-paragraph{color:#3b3529}
.r-table th{background:#f4efdf;color:#5b4b2b}
.r-highlight.r-alert{background:#fff5e3}
.toast{background:#2a2419;color:#fff3d4}
.protocol-guide{margin-top:20px;padding:16px 18px;border:1px solid #e0d3b8;border-radius:10px;background:#fdfaf2;font-size:12px;color:#5c5039;line-height:1.7}
.protocol-guide summary{font-weight:700;cursor:pointer}
.protocol-guide ul{padding-left:19px;margin:10px 0 0}
.borg-guide{margin:14px 0;font-size:12px;color:#6d6048}
.borg-guide summary{cursor:pointer;font-weight:650}
.borg-scale{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 14px;margin-top:10px;font-size:11px}
.vital-row select{width:100%;min-width:0;border:1px solid #dcd4c4;border-radius:9px;min-height:41px;padding:8px;background:#fff;color:#28251f;font-size:12px}
.r-quality{background:#faf6ed;border:1px solid #e2d6bd;border-radius:7px;padding:10px 13px}
.r-quality p{margin:4px 0;font-size:11px;line-height:1.6}
.r-draft{background:#fff2e6;border:1px solid #e4c6a4;padding:10px 14px;font-size:12px;color:#845722;border-radius:6px;margin-top:13px}
@media(max-width:600px){.smc-footer{display:block;padding:22px;text-align:center}.smc-footer .smc-slogan{margin-top:13px}.smc-report-logo{width:72px}.smc-report-identity{gap:8px}.brand-primary,.brand-name{font-size:12px}.smc-legal{font-size:9px}.smc-slogan{font-size:16px}.r-head{flex-wrap:wrap}.r-status{font-size:9px;white-space:normal}.smc-tools{font-size:11px}.smc-tools a{padding:8px 10px}.vital-row select{font-size:11px;padding:8px 3px}}
@media print{.smc-tools,.smc-footer,.protocol-guide{display:none!important}.smc-report-logo{width:90px}.smc-report-identity{gap:9px}.smc-report-motto{font-size:9px}.r-head{flex-wrap:nowrap}.r-brand{letter-spacing:.02em}.r-quality{break-inside:avoid}.r-foot{color:#5f584b}.r-section{break-inside:avoid}a{color:inherit}}

.condition-title{display:block}.condition-desc{display:block;margin-top:5px}.required-chip{color:#77571b;background:#f5eacb}.condition:hover{border-color:#c7ac72;background:#fcf8ef}

@media print{body{background:#fff!important;color:#292720!important}.report-section,tr{break-inside:avoid}}

/* Encabezado único: el emblema original se encuadra como parte de la identidad,
   sin reproducir el cartel de marca como una tarjeta separada. */
.clinical-header{background:linear-gradient(110deg,#11100d,#201b12);border:1px solid #80642c;border-radius:20px;color:#f8f5ed;padding:29px 35px 23px;overflow:hidden}
.site-shell>.clinical-header{border-radius:0;margin:0}
.heading-identity{display:flex;gap:22px;align-items:center}
.brand-emblem{width:112px;height:120px;position:relative;overflow:hidden;flex:0 0 auto;background-image:url('./assets/smc-identidad.png');background-repeat:no-repeat;background-size:350px 197px;background-position:center -10px;mix-blend-mode:screen}
.heading-text{min-width:0}.heading-unit{font-weight:750;letter-spacing:.06em;color:#ecd18b;font-size:15px;line-height:1.5}.heading-unit span{white-space:nowrap}
.heading-legal{color:#c8bfaa;font-size:11px;line-height:1.5;margin-top:3px}
.clinical-header h1{font-size:clamp(27px,3.4vw,43px);font-weight:670;letter-spacing:-.025em;line-height:1.12;margin:10px 0 5px;max-width:1000px;color:#fff}
.heading-motto{font-family:Georgia,'Times New Roman',serif;color:#ebcb79;font-style:italic;font-size:23px;line-height:1.4;letter-spacing:0}
.heading-bottom{border-top:1px solid #80642c66;margin-top:20px;padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.heading-bottom>p{color:#d2c9b4;font-size:12px;line-height:1.6;max-width:530px;margin:0}.heading-bottom .smc-tools{margin:0;flex-shrink:0}
.smc-tools a{font-size:11px;padding:8px 10px}
.unified-report-heading{display:flex;align-items:center;gap:14px;background:#17140e;color:#f5eedb;padding:14px 18px;border-radius:9px;margin-bottom:13px;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.unified-report-heading .brand-emblem{width:66px;height:76px;background-size:228px 128px;background-position:center -6px}
.report-unit{color:#efd38d;font-size:11px;font-weight:750;letter-spacing:.03em}.unified-report-heading h3{font-size:19px;color:#fff;margin:4px 0;line-height:1.2}.report-service{font-size:9px;color:#d3c8ac}.unified-report-heading .heading-motto{font-size:15px;margin-top:3px}
.review-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:0 0 18px;padding:12px 15px;background:#faf6eb;border:1px solid #e3d6b8;border-radius:9px;font-size:12px;color:#6f5a2b}
.review-toolbar button{background:#fff;border:1px solid #cdb77f;border-radius:6px;padding:8px 11px;font-size:11px;color:#655021;cursor:pointer}
.condition-row{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:14px;padding:17px;border:1px solid #e1d9c9;border-radius:11px;background:#fff;align-items:start}
.condition-row.is-yes{border-color:#b79a52;background:#fcf8ed;box-shadow:inset 3px 0 #b79a52}.condition-row.is-unknown{border-left:3px solid #d4c8ad}
.condition-row h3{font-size:14px;margin:0 0 5px;color:#352d1f}.condition-row p{font-size:12px;color:#766b56;line-height:1.55;margin:0}
.condition-row select{width:100%;font:inherit;font-size:12px;padding:9px 7px;background:#fff;border:1px solid #ccbea1;border-radius:7px;min-height:40px;color:#43371e}
.condition-derived{font-size:10px;color:#816322;margin-top:6px;line-height:1.4}.condition-evidence{grid-column:1/-1;display:grid;gap:6px;font-size:12px;color:#66532a}
.condition-evidence input{padding:10px;border:1px solid #cdb67b;border-radius:7px;width:100%;font:inherit;background:#fff}
.extra-clinical{border:1px solid #e2d8c3;border-radius:10px;padding:15px;margin:20px 0}.extra-clinical summary{cursor:pointer;font-weight:700;color:#70521c;font-size:13px}.extra-clinical .grid-3{margin-top:17px}
.field textarea{font:inherit;width:100%;border:1px solid #d6cbb4;border-radius:8px;padding:11px;min-height:76px;resize:vertical;background:#fff;color:#342d20}
.report-note{padding:12px 14px;border-left:3px solid #b69548;background:#faf6eb;font-size:12px;line-height:1.65;margin:12px 0;color:#67552e}
.data-validity{padding:13px;background:#fff5e8;border:1px solid #e2c59a;border-radius:8px;margin:14px 0;color:#82561f;font-size:13px;line-height:1.6}
.data-validity[hidden]{display:none}.clinical-ref{font-size:10px;color:#7d725b;line-height:1.65;margin-top:12px}.clinical-ref a{color:inherit}.clinical-review{font-size:12px;white-space:pre-wrap;line-height:1.7;min-height:55px}
.report-full-inputs{width:100%;border-collapse:collapse;font-size:11px}.report-full-inputs th,.report-full-inputs td{text-align:left;padding:8px;border-bottom:1px solid #e8e1d2;vertical-align:top}.report-full-inputs th{background:#f8f3e7}
.clinical-signoff{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:30px 0 10px}.clinical-signoff>div{border-top:1px solid #a69877;padding-top:8px;font-size:11px;color:#66583d}
.version-note{font-size:10px;color:#80745d;line-height:1.6;margin:15px 0 0}.example-actions{display:flex;gap:10px;flex-wrap:wrap;margin:17px 0}.no-print-note{font-size:11px;line-height:1.5;color:#88744a}
@media(max-width:900px){.heading-bottom{display:block}.heading-bottom .smc-tools{margin-top:12px}.clinical-header{padding:24px}.heading-identity{gap:15px}}
@media(max-width:600px){.clinical-header{border-radius:14px;padding:22px 18px}.heading-identity{gap:11px;align-items:flex-start}.heading-unit{font-size:11px}.heading-legal{font-size:9px}.clinical-header h1{font-size:26px;margin-top:10px}.heading-motto{font-size:18px}.brand-emblem{width:63px;height:92px;background-size:265px 149px;background-position:center -2px}.heading-bottom{margin-top:14px;padding-top:13px}.heading-bottom>p{font-size:11px}.heading-bottom .smc-tools{gap:6px}.condition-row{grid-template-columns:1fr;gap:10px}.condition-row select{width:100%}.review-toolbar{display:block}.review-toolbar button{margin-top:9px}.unified-report-heading{padding:12px;gap:10px}.unified-report-heading h3{font-size:16px}.unified-report-heading .brand-emblem{width:49px;height:67px;background-size:200px 113px;background-position:center -4px}.report-service{font-size:8px}.clinical-signoff{grid-template-columns:1fr;gap:28px}}
@media print{.clinical-header,.review-toolbar,.example-actions,.extra-clinical,.no-print-note{display:none!important}.report-header{display:block!important;border:0!important;padding:0!important;margin-bottom:4mm!important}.unified-report-heading{break-inside:avoid;padding:11px 15px;margin-bottom:10px}.unified-report-heading h3{font-size:15px}.unified-report-heading .brand-emblem{height:68px;width:60px}.report-full-inputs{font-size:9px}.report-full-inputs td,.report-full-inputs th{padding:5px}.clinical-signoff{break-inside:avoid}.clinical-header+main{margin-top:0}.data-validity{font-size:10px}.r-head{display:block;border:0;padding:0}.r-head .r-status{margin-top:5px;display:inline-block}}

.brand-emblem{height:104px}.unified-report-heading .brand-emblem{height:67px}.form-grid>.wide{grid-column:1/-1}
@media(max-width:600px){.brand-emblem{height:84px}.unified-report-heading .brand-emblem{height:61px}}

.brand-emblem{background-image:none;mask-image:radial-gradient(ellipse,#000 64%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse,#000 64%,transparent 100%)}.brand-emblem>img{position:absolute;display:block;width:350px;height:auto;max-width:none;left:50%;transform:translateX(-50%);top:-10px}.unified-report-heading .brand-emblem>img{width:228px;top:-6px}
@media(max-width:600px){.brand-emblem>img{width:265px;top:-2px}.unified-report-heading .brand-emblem>img{width:200px;top:-4px}}
@media print{.unified-report-heading{background:#fff!important;color:#292720!important;border-bottom:2px solid #9a7b34;border-radius:0}.unified-report-heading h3{color:#292720!important}.unified-report-heading .report-unit,.unified-report-heading .report-service,.unified-report-heading .heading-motto{color:#70551d!important}.unified-report-heading .brand-emblem{mix-blend-mode:normal;mask-image:none;-webkit-mask-image:none}.unified-report-heading .brand-emblem>img{width:228px;top:-6px}}
