/* URG360 Alpha 1.10.1 — Recherche patient */
#v28PatientHistoryView{padding:4px 0 24px}.v28hist-page{color:#15283d}.v28hist-top,.v28hist-record-head{padding:20px;border:1px solid #dce4ec;border-radius:16px;background:#fff}.v28hist-top p,.v28hist-record-head p{margin:0;color:#176b87;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.v28hist-top h1,.v28hist-record-head h1{margin:3px 0;font-size:26px}.v28hist-top span,.v28hist-record-head span{color:#6c7b8e}.v28hist-search{margin-top:12px;padding:15px;border:1px solid #dce4ec;border-radius:14px;background:#fff}.v28hist-search-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.v28hist-search-grid label{display:grid;gap:5px;font-size:12px;font-weight:760;color:#516276}.v28hist-search-grid input{border:1px solid #ccd7e1;border-radius:9px;padding:9px 10px;font:inherit}.v28hist-actions{display:flex;justify-content:flex-end;margin-top:10px}.v28hist-actions button,.v28hist-record-head>button{border:0;border-radius:9px;padding:9px 13px;background:#176b87;color:#fff;font-weight:760;cursor:pointer}.v28hist-results{display:grid;gap:8px;margin-top:12px}.v28hist-result{width:100%;display:flex;justify-content:space-between;gap:16px;text-align:left;border:1px solid #dce5ed;border-radius:12px;padding:12px 14px;background:#fff;cursor:pointer}.v28hist-result:hover{border-color:#9fc5d1;background:#fbfeff}.v28hist-result div{display:grid;gap:2px}.v28hist-result strong{font-size:15px}.v28hist-result span,.v28hist-result small{color:#718095;font-size:12px}.v28hist-result>div:last-child{text-align:right}.v28hist-message{margin-top:9px;color:#2a6342;font-weight:700}.v28hist-message.error{color:#8b2d2d}.v28hist-empty,.v28hist-loading,.v28hist-error{padding:25px;border:1px dashed #cbd8e2;border-radius:12px;background:#fff;color:#718095}.v28hist-error{display:grid;gap:8px;color:#8b2d2d}.v28hist-record-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px}.v28hist-record-head>button{background:#fff;color:#176b87;border:1px solid #cddbe4}.v28hist-readonly{padding:7px 10px!important;border-radius:999px;background:#eef5f7;color:#31576b!important;font-size:12px;font-weight:800;white-space:nowrap}.v28hist-record-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:12px;margin-top:12px}.v28hist-panel{padding:15px;border:1px solid #dce4ec;border-radius:14px;background:#fff;margin-top:12px}.v28hist-record-grid .v28hist-panel{margin-top:0}.v28hist-panel h2{font-size:17px;margin:0 0 12px}.v28hist-profile{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.v28hist-profile section{padding:10px;border:1px solid #e4e9ef;border-radius:10px}.v28hist-profile h4{margin:0 0 6px}.v28hist-profile ul{margin:0;padding-left:18px}.v28hist-profile li{margin:4px 0}.v28hist-profile li span{display:block;color:#718095;font-size:12px}.v28hist-docs{display:grid;gap:7px}.v28hist-docs div{display:grid;padding:8px;border-bottom:1px solid #edf1f4}.v28hist-docs span{color:#718095;font-size:12px}.v28hist-episode{border:1px solid #e0e7ee;border-radius:11px;margin-top:9px;overflow:hidden}.v28hist-episode>header{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;background:#f8fafc}.v28hist-episode>header div{display:grid}.v28hist-episode>header span,.v28hist-episode time{color:#718095;font-size:12px}.v28hist-note-list{padding:5px 12px 12px}.v28hist-note-list>div{padding:9px 0;border-bottom:1px solid #edf1f4}.v28hist-note-list>div:last-child{border-bottom:0}.v28hist-note-list small{color:#718095}.v28hist-note-list p{white-space:pre-wrap;margin:4px 0 0;line-height:1.45}.v28hist-muted{color:#7b899a}
@media(max-width:900px){.v28hist-search-grid{grid-template-columns:repeat(2,1fr)}.v28hist-record-grid{grid-template-columns:1fr}.v28hist-record-head{grid-template-columns:1fr}.v28hist-profile{grid-template-columns:1fr}}
@media(max-width:600px){.v28hist-search-grid{grid-template-columns:1fr}.v28hist-result{flex-direction:column}.v28hist-result>div:last-child{text-align:left}}
/* Alpha 1.10.3 — Synthèse depuis recherche */
.v28hist-result{align-items:center}.v28hist-result-actions{display:flex!important;flex-direction:row!important;gap:7px}.v28hist-result-actions button,.v28hist-record-actions button,.v28hist-docs button{border:1px solid #bfd1df;border-radius:8px;background:#fff;color:#176b87;padding:7px 10px;font-weight:750;cursor:pointer}.v28hist-result-actions button.primary,.v28hist-record-actions button.active{background:#176b87;color:#fff;border-color:#176b87}.v28hist-record-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end}.v28hist-docs article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px;border-bottom:1px solid #edf1f4}.v28hist-docs article>div{display:grid}.v28hist-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px}.v28hist-kpis article{background:#fff;border:1px solid #dce4ec;border-radius:12px;padding:12px}.v28hist-kpis span{display:block;color:#6c7b8e;font-size:12px}.v28hist-kpis strong{display:block;font-size:24px;margin-top:3px}.v28hist-synth-list{display:grid;gap:8px;margin-top:10px}.v28hist-synth-episode{display:grid;grid-template-columns:240px 1fr;gap:14px;border:1px solid #e0e7ee;border-radius:10px;padding:11px}.v28hist-synth-episode>div{display:grid;gap:2px}.v28hist-synth-episode span{font-size:12px;color:#718095}.v28hist-synth-episode p{margin:0;white-space:pre-wrap;line-height:1.45}@media(max-width:1000px){.v28hist-kpis{grid-template-columns:repeat(2,1fr)}.v28hist-synth-episode{grid-template-columns:1fr}.v28hist-record-actions{justify-content:flex-start;flex-wrap:wrap}}@media(max-width:600px){.v28hist-result-actions{width:100%}.v28hist-kpis{grid-template-columns:1fr}}

/* Alpha 1.10.3.2 — CR manquant / création a posteriori */
.v28hist-episode-head-actions{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;justify-content:flex-end}.v28hist-cr-action{border:1px solid #bfd1df;border-radius:8px;background:#fff;color:#176b87;padding:6px 9px;font-weight:750;cursor:pointer;white-space:nowrap}.v28hist-cr-action.primary{background:#176b87;color:#fff;border-color:#176b87}.v28hist-synth-episode>div .v28hist-cr-action{margin-top:7px;justify-self:start}.v28hist-episode>header .v28hist-cr-action{font-size:12px}@media(max-width:800px){.v28hist-episode>header{align-items:flex-start;flex-direction:column}.v28hist-episode-head-actions{align-items:flex-start;justify-content:flex-start}}
