/* Canigenix competitive clinic UX: additive styles scoped to the new workspace. */
.cgx-brand-paw{height:46px;width:46px;object-fit:contain;flex:none;filter:drop-shadow(0 4px 10px rgba(21,196,207,.18))}
.logo{display:flex;align-items:center;gap:10px;min-width:0}
.cgx-brand-text{display:flex;flex-direction:column;gap:2px;line-height:1}
.cgx-brand-text strong{font-size:1.25rem;letter-spacing:-.035em;color:#e7f9f5}
.cgx-brand-text small{font-size:.65rem;letter-spacing:.16em;color:#87d6c8;font-weight:650}
.cgx-context-strip{display:flex;gap:12px;justify-content:space-between;align-items:center;margin:-2px 0 18px;padding:12px 16px;background:#102630;border:1px solid #345364;border-radius:12px}
.cgx-context-text{font-size:.88rem;color:#d8eae7;font-weight:650}
.cgx-context-actions{display:flex;gap:8px;flex-wrap:wrap}
.cgx-context-actions button{padding:8px 12px;font-size:.8rem}
.cgx-home-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.cgx-home-card{border:1px solid #365663;background:linear-gradient(165deg,#163540,#102530);display:flex;flex-direction:column;text-align:left;min-height:139px;padding:17px 18px;color:#e9f7f4;gap:8px;border-radius:14px}
.cgx-home-card:hover{border-color:#7bdec9;background:linear-gradient(165deg,#1c4651,#13323c)}
.cgx-home-card:focus-visible,.cgx-step:focus-visible,.cgx-side-tab:focus-visible{outline:3px solid #b5ead9;outline-offset:2px}
.cgx-home-card strong{font-size:1.04rem;line-height:1.3}
.cgx-home-number{color:#71d8bd;font-size:.7rem;letter-spacing:.16em;font-weight:800}
.cgx-home-description{color:#aecaC9;font-size:.81rem;line-height:1.45}
.cgx-patient-shortcuts{display:flex;gap:9px;flex-wrap:wrap;padding:12px 0 5px}
.cgx-patient-shortcuts button{font-size:.87rem}
.cgx-visit-hub{grid-column:1/-1;min-width:0;padding:20px;border:1px solid #365c67;border-radius:16px;background:linear-gradient(110deg,#173842,#102532 75%)}
.cgx-visit-hero{display:flex;justify-content:space-between;align-items:center;gap:15px}
.cgx-eyebrow,.cgx-side-label{font-size:.69rem;color:#84d8c4;letter-spacing:.13em;font-weight:800}
.cgx-visit-hero h2{font-size:1.64rem;letter-spacing:-.04em;margin:5px 0}
.cgx-visit-meta{font-size:.85rem;margin:4px 0;color:#bed5d7}
.cgx-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.cgx-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:17px}
.cgx-step{background:#0c212c;border:1px solid #3b5d67;color:#c6dedc;display:flex;align-items:center;justify-content:center;gap:10px;padding:11px;border-radius:11px;font-weight:650;font-size:.87rem}
.cgx-step.cgx-active{background:#28534f;border-color:#80d6bf;color:#e3fff6}
.cgx-step-count{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#284451;font-size:.76rem;flex:none}
.cgx-active .cgx-step-count{background:#8fe3cd;color:#062a29}
.cgx-visit-controls{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:13px 0;border-bottom:1px solid #345765}
.cgx-progress{font-size:.81rem;color:#d1e9e1;max-width:670px}
.cgx-checkin{display:flex;align-items:center;gap:9px;font-size:.78rem;color:#d9eee8;max-width:425px}
.cgx-checkin input{width:auto;flex:none;accent-color:#57cbb3}
.cgx-side-bar{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:14px}
.cgx-side-tabs{display:flex;gap:6px;flex-wrap:wrap}
.cgx-side-tab{background:rgba(14,35,45,.75);border:1px solid #3b6170;color:#dbede8;padding:8px 11px;font-size:.8rem;border-radius:9px}
.cgx-side-tab.cgx-active{background:#73cdb8;color:#083132;border-color:#73cdb8;font-weight:800}
.cgx-safety-inline{font-size:.74rem;color:#bfd9d6;margin:12px 0 0}
body.cgx-visit-mode #patientView{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);gap:15px;align-items:start}
body.cgx-visit-mode #patientView #cgxVisitHub{grid-column:1/-1;grid-row:1}
body.cgx-visit-mode #patientView #consultationSection{grid-column:1;grid-row:2;min-width:0;order:0}
body.cgx-visit-mode #patientView #medicalProfileSection,
body.cgx-visit-mode #patientView #timelineSection,
body.cgx-visit-mode #patientView #savedRecordsSection,
body.cgx-visit-mode #patientView #patientReportsPanel,
body.cgx-visit-mode #patientView #askCanigenixSection{grid-column:2;grid-row:2;min-width:0;position:sticky;top:12px;max-height:calc(100vh - 28px);overflow:auto;order:0;scrollbar-gutter:stable}
body.cgx-visit-mode.cgx-side-photos #savedRecordsSection > :not(#clinicPhotoWorkspace):not(h2){display:none !important}
body.cgx-visit-mode.cgx-side-documents #clinicPhotoWorkspace{display:none !important}
.cgx-handoff{margin:0 0 18px;padding:14px;border:1px solid #487668;background:#102e34;border-radius:12px}
.cgx-handoff h3{margin:0 0 6px;color:#baf2e3}
.cgx-handoff-hint{font-size:.8rem;margin:4px 0 10px;color:#bed0d1}
.cgx-handoff-actions{display:flex;flex-wrap:wrap;gap:8px}
.cgx-handoff-actions button{font-size:.8rem;padding:8px 10px}
body.cgx-visit-mode #consultationSection{padding:20px}
body.cgx-visit-mode #soapGenerated{scroll-margin-top:16px}
body.cgx-visit-mode #savedRecordsSection #clinicPhotoWorkspace{margin-top:12px}
@media(max-width:1170px){.cgx-home-quick{grid-template-columns:repeat(2,minmax(0,1fr))}.cgx-context-strip{flex-wrap:wrap}}
@media(max-width:1010px){body.cgx-visit-mode #patientView{grid-template-columns:minmax(0,1fr)}
body.cgx-visit-mode #patientView #consultationSection{grid-column:1;grid-row:2}
body.cgx-visit-mode #patientView #medicalProfileSection,
body.cgx-visit-mode #patientView #timelineSection,
body.cgx-visit-mode #patientView #savedRecordsSection,
body.cgx-visit-mode #patientView #patientReportsPanel,
body.cgx-visit-mode #patientView #askCanigenixSection{grid-column:1;grid-row:3;position:static;max-height:none;overflow:visible}}
@media(max-width:670px){.cgx-home-quick{grid-template-columns:1fr}.cgx-visit-hub{padding:13px}.cgx-visit-hero{align-items:flex-start;flex-direction:column}.cgx-stepper{grid-template-columns:repeat(2,minmax(0,1fr))}.cgx-step{justify-content:flex-start}.cgx-context-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.cgx-context-actions button{width:100%}.cgx-side-tab{padding:8px 9px}}

/* CANIGENIX SINGLE HOME NAVIGATION v1 */
#clinicWorkspaceNav [data-workspace-target="dashboard"] {display:none!important}
.top .logo.cgx-home-brand {cursor:pointer;border-radius:9px}
.top .logo.cgx-home-brand:focus-visible {outline:3px solid #83e1cd;outline-offset:5px}
