/* VHIP v0.4.6.9 — Unified Mexican Clinical Record */
.vhip-umcr{display:grid;gap:12px;--umcr-line:#2a5968;--umcr-panel:#071e28;--umcr-soft:#092a35;--umcr-cyan:#5edce7;--umcr-text:#eefcff;--umcr-muted:#95b2bb}
.vhip-umcr-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:18px;border:1px solid #2d6879;border-radius:14px;background:linear-gradient(135deg,#082331,#0b3947)}.vhip-umcr-header small{display:block;color:var(--umcr-cyan);font-size:11px;font-weight:800;letter-spacing:.08em}.vhip-umcr-header h2{margin:4px 0 5px;color:#fff;font-size:25px}.vhip-umcr-header p{margin:0;color:#a7c1c9;font-size:13px;line-height:1.55;max-width:900px}.vhip-umcr-completion{display:grid;min-width:170px;gap:4px;padding:12px;border:1px solid #3b7c89;border-radius:11px;background:#0a3440}.vhip-umcr-completion b{font-size:27px;color:#ecffff}.vhip-umcr-completion span{font-size:11px;color:#9ec0c8}.vhip-umcr-completion progress{width:100%;height:8px;accent-color:#54d6df}
.vhip-umcr-identity{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.vhip-umcr-identity article{padding:10px 11px;border:1px solid #295363;border-radius:9px;background:#071d27}.vhip-umcr-identity small,.vhip-umcr-vitals small{display:block;color:#82a5ae;font-size:10px}.vhip-umcr-identity b{display:block;margin-top:3px;color:#e9faff;font-size:12px;line-height:1.35}
.vhip-umcr-gate{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:12px;border:1px solid #84663a;border-radius:10px;background:#302719}.vhip-umcr-gate .dashicons{font-size:26px;color:#edbd5e}.vhip-umcr-gate b{color:#ffe5ae}.vhip-umcr-gate p{margin:2px 0 0;color:#c3aa7b;font-size:11px}.vhip-umcr-gate button,.vhip-umcr-section>header button,.vhip-umcr-vitals header button{border:1px solid #387b89;border-radius:8px;background:#0b3b47;color:#eaffff;padding:7px 10px;font-size:11px;cursor:pointer;white-space:nowrap}
.vhip-umcr-checks{border:1px solid var(--umcr-line);border-radius:11px;background:#071b24;overflow:hidden}.vhip-umcr-checks>header,.vhip-umcr-vitals>header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;border-bottom:1px solid #244b58;background:#092832}.vhip-umcr-checks header small,.vhip-umcr-vitals header small{color:#5fd8e2;font-size:10px;font-weight:800}.vhip-umcr-checks h3,.vhip-umcr-vitals h3{margin:2px 0 0;font-size:16px}.vhip-umcr-checks header>span{font-size:11px;color:#9bbac2}.vhip-umcr-checks>div{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:#1b3c48}.vhip-umcr-checks>div>span{display:flex;gap:7px;align-items:center;padding:9px;background:#071e28;color:#a5bdc4;font-size:11px}.vhip-umcr-checks>div>span i{display:grid;place-items:center;width:18px;height:18px;border:1px solid #466976;border-radius:50%;font-style:normal}.vhip-umcr-checks>div>span.is-done{background:#082824;color:#c9efe1}.vhip-umcr-checks>div>span.is-done i{background:#165a47;border-color:#4c9e80;color:#b8f2d8}
.vhip-umcr-document{display:grid;grid-template-columns:1fr 1fr;gap:10px}.vhip-umcr-section{border:1px solid var(--umcr-line);border-radius:11px;background:var(--umcr-panel);overflow:hidden;min-width:0}.vhip-umcr-section>header{display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;padding:11px 12px;border-bottom:1px solid #244956;background:#092832}.vhip-umcr-section>header>i{display:grid;place-items:center;width:28px;height:28px;border:1px solid #3d7582;border-radius:50%;font-size:10px;font-style:normal;color:#8edbe2}.vhip-umcr-section.is-complete>header>i{border-color:#4d9b7e;background:#0b3c32;color:#b8efd8}.vhip-umcr-section h3{margin:0;color:#edfaff;font-size:15px}.vhip-umcr-section header small{display:block;margin-top:2px;color:#86a8b1;font-size:10px}.vhip-umcr-narrative{padding:12px 13px;color:#c3d9df;font-size:13px;line-height:1.62}.vhip-umcr-narrative p{margin:0 0 8px}.vhip-umcr-narrative strong{color:#72d6df}.vhip-umcr-empty{margin:0;padding:13px;color:#789aa4;font-size:12px;font-style:italic}
.vhip-umcr-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:11px}.vhip-umcr-chips>span{display:grid;gap:2px;padding:8px 9px;border:1px solid #2b5360;border-left:3px solid #567886;border-radius:8px;background:#061b24}.vhip-umcr-chips b{font-size:12px;color:#dff5f9}.vhip-umcr-chips small{font-size:10px;color:#86a6ae}.vhip-umcr-chips .tone-symptom{border-left-color:#48c7d2}.vhip-umcr-chips .tone-sign{border-left-color:#e0a84c}.vhip-umcr-chips .tone-problem{border-left-color:#ef7f67}.vhip-umcr-chips .tone-syndrome{border-left-color:#d98ecf}.vhip-umcr-chips .tone-hypothesis{border-left-color:#d2ba60}.vhip-umcr-chips .tone-study{border-left-color:#4aa6cb}.vhip-umcr-chips .tone-critical{border-left-color:#ff6872}.vhip-umcr-chips .tone-diagnosis{border-left-color:#cf6b77}.vhip-umcr-chips .tone-treatment{border-left-color:#7a68d3}
.vhip-umcr-note-stream{display:grid;gap:7px;padding:11px}.vhip-umcr-note-stream article{padding:9px;border:1px solid #294b57;border-radius:8px;background:#061b24}.vhip-umcr-note-stream header{display:flex;justify-content:space-between;gap:8px}.vhip-umcr-note-stream b{font-size:12px;color:#dff6fa}.vhip-umcr-note-stream time{font-size:10px;color:#7798a2}.vhip-umcr-note-stream p{margin:5px 0 0;font-size:11px;color:#a8c1c8;line-height:1.45}.vhip-umcr-vitals{border:1px solid var(--umcr-line);border-radius:11px;background:#071b24;overflow:hidden}.vhip-umcr-vitals>div{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:#1d3e49}.vhip-umcr-vitals article{padding:10px;background:#071e28}.vhip-umcr-vitals b{display:block;margin-top:3px;font-size:13px;color:#ebfaff}
@media(max-width:1200px){.vhip-umcr-identity{grid-template-columns:repeat(3,1fr)}.vhip-umcr-checks>div{grid-template-columns:repeat(2,1fr)}.vhip-umcr-vitals>div{grid-template-columns:repeat(4,1fr)}}
@media(max-width:820px){.vhip-umcr-header{flex-direction:column}.vhip-umcr-completion{width:100%;box-sizing:border-box}.vhip-umcr-document{grid-template-columns:1fr}.vhip-umcr-identity{grid-template-columns:1fr 1fr}.vhip-umcr-chips{grid-template-columns:1fr}.vhip-umcr-vitals>div{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.vhip-umcr-identity,.vhip-umcr-checks>div,.vhip-umcr-vitals>div{grid-template-columns:1fr}.vhip-umcr-section>header{grid-template-columns:30px 1fr}.vhip-umcr-section>header button{grid-column:1/-1}.vhip-umcr-gate{grid-template-columns:30px 1fr}.vhip-umcr-gate button{grid-column:1/-1}}
