/* Lecture compacte commune ; les couleurs et les contenus restent administrés. */
html{--compact-scale:1;overscroll-behavior:none;-webkit-text-size-adjust:100%;text-size-adjust:100%;touch-action:pan-x pan-y}
html[data-text-size=large]{--compact-scale:1.14}
html[data-text-size=larger]{--compact-scale:1.28}
body{overflow-x:clip;overscroll-behavior:none;touch-action:pan-x pan-y;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:calc(14px * var(--compact-scale));line-height:1.45}
button,input,select,textarea{font-family:inherit}
html body .shell>main#main{min-width:0}
html[data-season] body #main#main :is(h1,h2,h3,strong){font-family:inherit;letter-spacing:-.015em}
html[data-season] body #main#main h1{font-size:calc(22px * var(--compact-scale))!important;line-height:1.25!important;font-weight:650}
html[data-season] body #main#main h2{font-size:calc(17px * var(--compact-scale))!important;line-height:1.35!important;font-weight:650}
html[data-season] body #main#main h3{font-size:calc(14px * var(--compact-scale))!important;line-height:1.4!important;font-weight:650}
html[data-season] body #main#main :is(p,li){font-size:calc(14px * var(--compact-scale))!important;line-height:1.5!important}
html[data-season] body #main#main :is(.page-intro,.subtitle){font-size:calc(13px * var(--compact-scale))!important;line-height:1.45!important;margin-top:5px;margin-bottom:10px}
html[data-season] body #main#main :is(.meta,.catalog-source,.topic-category,.topic-status,.procedure-row-status,.contact-provenance,.settings-help){font-size:calc(11.5px * var(--compact-scale))!important;line-height:1.45!important}
html body #main#main :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),textarea,select){font-size:16px!important}
html body #main#main :is(a,button,summary)>svg{flex-shrink:0}
html body #main#main :is(.search,.paris-search){display:flex;flex-direction:row;align-items:center;gap:9px;padding:9px 11px;min-height:44px}
html body #main#main .search>svg{width:19px;height:19px;flex:0 0 19px}
html body #main#main .search input{flex:1;min-width:0;margin:0;min-height:28px}
html body #main#main :is(.row,.procedure-list-row,.integration-module,.admin-note-link,.hospital-picker-card,.paris-hospital-card){gap:9px;min-width:0}
html body #main#main .row:not(.home-group>.row){padding:10px 8px;min-height:56px}
html body #main#main .row>.copy,html body #main#main .procedure-row-copy{min-width:0;flex:1}
html body #main#main .row>svg:first-child{width:24px;height:24px;flex:0 0 24px}
html body #main#main .row strong{font-size:calc(14px * var(--compact-scale))!important;line-height:1.35!important;font-weight:650}
html body #main#main .row small{font-size:calc(12px * var(--compact-scale))!important;line-height:1.4!important;margin-top:3px}
html body #main#main .row>.arrow,html body #main#main .procedure-list-row>svg:last-child{width:15px;height:15px;flex:0 0 15px}
html body #main#main .procedure-list-row{padding:10px!important;gap:9px!important;align-items:center;flex-wrap:nowrap;min-height:64px!important}
html body #main#main .procedure-row-icon{width:34px!important;height:34px!important;min-width:34px!important;flex:0 0 34px;display:grid;place-items:center}
html body #main#main .procedure-row-icon svg{width:21px!important;height:21px!important;display:block;margin:0}
html body #main#main .procedure-row-copy strong{font-size:calc(14px * var(--compact-scale))!important;line-height:1.35!important;font-weight:650}
html body #main#main .procedure-row-copy p{font-size:calc(12px * var(--compact-scale))!important;line-height:1.4!important;margin:3px 0 0}
html body #main#main .procedure-index-heading{gap:10px;align-items:center}
html body #main#main .procedure-total{flex-shrink:0;font-size:12px}
html body #main#main .procedure-section{margin:12px 0!important}
html body #main#main .procedure-section>h2{font-size:calc(15px * var(--compact-scale))!important;margin:10px 0 7px}
html body #main#main .procedure-section>h2>span{font-size:11px;flex:none}
html body #main#main .t4-guide{width:100%;max-width:780px}
html[data-season] body #main#main .t4-guide .t4-heading h1{font-size:calc(22px * var(--compact-scale))!important;line-height:1.25!important}
html[data-season] body #main#main .t4-guide .t4-group-heading h2{font-size:calc(17px * var(--compact-scale))!important;line-height:1.35!important}
html body #main#main .t4-group-heading{gap:9px;align-items:flex-start}
html body #main#main .t4-group-heading>div,html body #main#main .t4-step-heading>div{min-width:0;flex:1}
html body #main#main .t4-phase{width:27px;height:27px;flex:0 0 27px;font-size:13px}
html body #main#main .t4-step{padding:10px}
html body #main#main .t4-step-heading{gap:9px;align-items:flex-start}
html body #main#main .t4-step-icon{width:27px;height:27px;flex:0 0 27px;display:grid;place-items:center}
html body #main#main .t4-step-icon svg{width:19px;height:19px;display:block}
html body #main#main .t4-step-heading small{font-size:calc(10.5px * var(--compact-scale))}
html body #main#main .t4-step h3{margin-bottom:0}
html body #main#main .t4-jump{gap:7px}
html body #main#main .t4-jump button{justify-content:flex-start;text-align:left;font-size:calc(12px * var(--compact-scale));padding:8px;line-height:1.4}
html body #main#main .t4-jump svg{width:18px;height:18px;flex:0 0 18px}
html body #main#main .t4-jump span{min-width:0}
html body #main#main .t4-source p{font-size:calc(12px * var(--compact-scale))!important}
html[data-season] body #main#main .procedure-equipment.procedure-equipment :is(.lc-intro,.pl-intro) h1{font-size:calc(22px * var(--compact-scale))!important}
html[data-season] body #main#main .procedure-equipment.procedure-equipment :is(.lc-section>summary strong,.procedure-step-heading>strong,.pl-section-heading h2){font-size:calc(16px * var(--compact-scale))!important}
html[data-season] body #main#main .procedure-equipment.procedure-equipment :is(.lc-steps p,.pl-steps p,.pl-checks span){font-size:calc(14px * var(--compact-scale))!important;line-height:1.5!important}
html[data-season] body #main#main :is(.integration-module strong,.competency-copy strong,.contact-heading h3,.directory-card h3){font-size:calc(14px * var(--compact-scale))!important}
html body #main#main :is(.integration-module,.admin-note-link,.hospital-picker-card){padding:10px!important}
html body #main#main :is(.topic-icon,.settings-group-icon,.hospital-picker-icon,.paris-hospital-icon){flex-shrink:0;display:grid;place-items:center}
html body #main#main .button{font-size:calc(13px * var(--compact-scale));gap:7px}
html body #main#main .app-back{font-size:calc(13px * var(--compact-scale));margin-bottom:8px}
html body #main#main.home-page .home-group{gap:7px!important}
html body #main#main.home-page .home-group>.row{padding:8px!important;min-height:76px!important;align-content:start!important;justify-content:flex-start!important}
html body #main#main.home-page .home-group>.row>svg:first-child{width:21px!important;height:21px!important;min-width:21px!important;flex-shrink:0}
html body #main#main.home-page .home-group>.row strong{font-size:calc(14px * var(--compact-scale))!important;line-height:1.3!important;font-weight:650;min-height:0!important}
html body #main#main.home-page .home-group>.row small{font-size:calc(11.5px * var(--compact-scale))!important;line-height:1.35!important}
html body #main#main.home-page #home-content>.feature[href="#integration"] h2{font-size:calc(16px * var(--compact-scale))!important}
html body #main#main.home-page #home-content>.feature[href="#integration"] p{font-size:calc(12px * var(--compact-scale))!important}
html[data-density=comfortable] body #main#main.home-page .home-group>.row{min-height:90px!important;padding-block:12px!important}
html body #nav#nav>a{gap:5px;min-width:0}
html body #nav#nav>a>svg{width:22px;height:22px;flex:none}
html body #nav#nav .dock-label{font-size:11px;line-height:1.3;white-space:nowrap}
@media(max-width:649px){
 html body .shell>main#main{padding-left:max(10px,env(safe-area-inset-left))!important;padding-right:max(10px,env(safe-area-inset-right))!important;padding-top:12px}
 html body .shell>header{padding-left:max(10px,env(safe-area-inset-left))!important;padding-right:max(10px,env(safe-area-inset-right))!important;padding-top:calc(8px + env(safe-area-inset-top))!important;padding-bottom:12px!important;min-height:0!important;gap:8px!important}
 html body .shell>header .brand{gap:8px!important;min-width:0}
 html body .shell>header #brand-title{font-size:17px!important;line-height:1.2!important;font-weight:650}
 html body .shell>header #brand-subtitle{font-size:10px!important;line-height:1.3!important}
 html body .shell>header .brand-logo-frame{width:43px!important;height:43px!important;min-width:43px!important;flex:0 0 43px!important}
 html body .shell>header #brand-logo{width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain}
 html body .shell>header .header-actions{display:flex!important;gap:5px!important;flex-shrink:0}
 html body .shell>header .header-actions>:is(a,button){width:40px!important;min-width:40px!important;padding:0!important;flex-shrink:0}
 html body .shell>header .header-actions svg{width:20px!important;height:20px!important;flex:none}
}
@media(max-width:359px){
 html body .shell>header #brand-title{font-size:14.5px!important}
 html body .shell>header .brand-logo-frame{width:37px!important;height:37px!important;min-width:37px!important;flex-basis:37px!important}
 html body .shell>header .header-actions{gap:4px!important}
 html body .shell>header .header-actions>:is(a,button){width:36px!important;min-width:36px!important}
 html body #main#main .procedure-list-row{gap:8px!important;padding:9px!important}
}

/* Les commandes gardent leur place, même lorsque le titre prend plusieurs lignes. */
html body .shell>header{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
 align-items:center!important;column-gap:8px!important;
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
}
html body .shell>header .brand{
 display:flex!important;width:auto!important;min-width:0!important;max-width:100%!important;
}
html body .shell>header #brand-title{
 min-width:0;white-space:normal!important;overflow-wrap:break-word;word-break:normal;
}
html body .shell>header .header-actions{
 display:grid!important;grid-auto-flow:column!important;grid-auto-columns:44px!important;
 grid-template-columns:none!important;gap:4px!important;
 width:max-content!important;min-width:0!important;max-width:100%!important;
 margin:0!important;justify-self:end!important;align-self:center!important;
 position:static!important;transform:none!important;
}
html body .shell>header .header-actions :is(#refresh-app,#header-messages,.header-search){
 display:grid!important;place-items:center!important;position:relative!important;inset:auto!important;
 width:44px!important;min-width:44px!important;max-width:44px!important;
 height:44px!important;min-height:44px!important;max-height:44px!important;
 flex:none!important;padding:0!important;margin:0!important;transform:none!important;box-sizing:border-box!important;
}
html body .shell>header .header-actions #header-messages[hidden]{display:none!important}
html body .shell>header .header-actions :is(#refresh-app,#header-messages,.header-search)>svg{
 display:block!important;width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important;margin:0!important;
}
