.crm-guide-trigger{display:inline-flex;align-items:center;gap:6px;background:#f3f7fc;color:#365471;border:1px solid #dce6f1;border-radius:8px;padding:6px 9px;font-size:.78rem;line-height:1.3;font-weight:500;box-shadow:none;text-align:left}
.crm-guide-trigger:hover{background:#e7eff9;color:#173d65}.crm-guide-trigger svg{width:15px;height:15px;flex:none}.crm-guide-trigger:focus-visible{outline:3px solid #009bd9;outline-offset:2px}
.crm-guide-location{display:inline-flex;margin:7px 6px 0 0;vertical-align:middle}.crm-guide-toolbar{margin:0 0 18px}.crm-guide-toolbar .crm-guide-trigger{font-size:.9rem;padding:9px 13px;background:#eaf3fa}
label>.crm-guide-trigger{align-self:start;width:fit-content;margin-top:5px}
#crm-terminal-guide{width:min(1080px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 36px);padding:0;color:#152b43;border:1px solid #dce6f1;border-radius:19px;box-shadow:0 25px 85px #001b4240;background:#fff}
#crm-terminal-guide::backdrop{background:#0d1b2c88}
#crm-terminal-guide .crm-guide-head{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;padding:21px 25px 15px;border-bottom:1px solid #e2e9f2;background:linear-gradient(110deg,#eef6fd,#fff)}
#crm-terminal-guide .crm-guide-head h2{margin:3px 0 0;font-size:1.5rem;line-height:1.3}.crm-guide-eyebrow{font-size:.73rem;text-transform:uppercase;letter-spacing:.12em;color:#3975a0;font-weight:600}
#crm-terminal-guide .crm-guide-tools{display:flex;align-items:end;gap:12px;padding:16px 25px;border-bottom:1px solid #e2e9f2}.crm-guide-tools label{margin:0;font-size:.8rem;flex:1;min-width:0}.crm-guide-tools label:nth-child(2){flex:0 0 140px}.crm-guide-tools input,.crm-guide-tools select{margin-top:6px;min-height:41px;padding:9px 11px;font-size:.9rem}.crm-guide-tools button{min-height:41px;font-size:.85rem;white-space:nowrap}
.crm-guide-layout{display:grid;grid-template-columns:285px minmax(0,1fr);min-height:320px}#crm-terminal-guide .crm-guide-places{position:static;inset:auto;width:auto;height:auto;display:block;gap:0;color:inherit;overflow:visible;transform:none;transition:none;z-index:auto;padding:15px 12px 18px 20px;border-right:1px solid #e2e9f2;background:#f8fafc}.crm-guide-places [data-guide-count]{font-size:.78rem;margin:0 8px 11px;color:#617990}.crm-guide-places [data-guide-list]{max-height:450px;overflow-y:auto;padding-right:4px}
#crm-terminal-guide .crm-guide-place{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;width:100%;margin:0 0 5px;padding:11px 10px;background:transparent;color:#233c56;border:1px solid transparent;border-radius:9px;line-height:1.35;font-size:.88rem;box-shadow:none}.crm-guide-place strong{font-weight:500}.crm-guide-place small{display:block;font-size:.73rem;color:#6a7e92;margin-top:4px}.crm-guide-place .crm-guide-code{font-size:.7rem;font-weight:600;border:1px solid #d4e1ee;border-radius:5px;padding:3px 5px}
#crm-terminal-guide .crm-guide-place:hover{background:#edf3fa}#crm-terminal-guide .crm-guide-place.is-selected{background:#e4f0fc;border-color:#a9cbe9;color:#124a7c}.crm-guide-empty{padding:10px;font-size:.86rem;line-height:1.6}
[data-guide-detail]{padding:22px 26px;min-width:0}.crm-guide-kind{display:inline-block;background:#e8f3fc;color:#276995;padding:5px 9px;border-radius:6px;font-size:.76rem}.crm-guide-sheet h3,.crm-guide-welcome h3{font-size:1.4rem;line-height:1.35;margin:11px 0 15px}.crm-guide-address{font-size:.85rem;color:#5e758e;margin-top:-6px}
.crm-guide-facts{margin:12px 0 20px}.crm-guide-facts>div{display:grid;grid-template-columns:115px minmax(0,1fr);gap:15px;padding:11px 0;border-bottom:1px solid #e7edf4}.crm-guide-facts dt{font-size:.85rem;font-weight:600;color:#355978}.crm-guide-facts dd{margin:0;font-size:.9rem;line-height:1.6;overflow-wrap:anywhere}
.crm-guide-links{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.crm-guide-links a{background:#fff;border:1px solid #c9dceb;border-radius:7px;padding:9px 11px;font-size:.8rem;text-decoration:none;color:#245a83}.crm-guide-links a:hover{background:#edf6fc}
.crm-guide-before{border-top:1px solid #e2e9f2;padding-top:14px}.crm-guide-before>summary{font-size:.95rem;font-weight:600;color:#2e587a;cursor:pointer}.crm-guide-advice article{display:flex;gap:17px;margin:17px 0;padding:16px;border-radius:12px;background:#f3f7fc;border:1px solid #e2ebf5}.crm-guide-time{flex:0 0 110px;font-size:1.6rem;font-weight:700;line-height:1.25;color:#20628f;white-space:nowrap}.crm-guide-time small{display:block;font-size:.75rem;font-weight:500;margin-top:5px}
.crm-guide-advice h4,.crm-guide-checks h4{font-size:.9rem;margin:0 0 8px}.crm-guide-advice p{font-size:.85rem;line-height:1.6;margin:0 0 7px}.crm-guide-advice p.small{font-size:.75rem;color:#5a738b;margin:7px 0 0}.crm-guide-checks{font-size:.84rem;line-height:1.65}.crm-guide-checks ul{padding-left:18px;margin:8px 0}.crm-guide-checks li{margin:6px 0}.crm-guide-welcome>p{font-size:.9rem;line-height:1.6}
.crm-guide-foot{border-top:1px solid #e2e9f2;margin:0;padding:13px 25px;font-size:.74rem;line-height:1.6;color:#6b7e90;background:#f8fafc}
.crm-provider-brief{margin:15px 0;padding:13px 17px;background:#f5f8fc;border:1px solid #dde7f2;border-radius:10px}.crm-provider-brief summary{cursor:pointer;font-size:.95rem;color:#345673;font-weight:500}.crm-provider-brief p{font-size:.9rem;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:700px){#crm-terminal-guide{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.crm-guide-layout{grid-template-columns:1fr}.crm-guide-places{border-right:0;border-bottom:1px solid #e2e9f2;padding:12px 14px}.crm-guide-places [data-guide-list]{max-height:190px}.crm-guide-tools{flex-wrap:wrap!important;padding:12px 15px!important}.crm-guide-tools label:first-child{flex-basis:100%}.crm-guide-tools label:nth-child(2){flex:1}.crm-guide-head{padding:16px!important}.crm-guide-head h2{font-size:1.2rem!important}[data-guide-detail]{padding:18px 16px}.crm-guide-facts>div{grid-template-columns:1fr;gap:5px}.crm-guide-advice article{display:block}.crm-guide-time{margin-bottom:12px;font-size:1.5rem}.crm-guide-time small{display:inline;margin-left:8px}.crm-guide-foot{padding:12px 16px}.crm-guide-sheet h3,.crm-guide-welcome h3{font-size:1.2rem}}


/* Compact Mobilité title bars, scoped to Transports and Transferts. */
#content [data-journey-panel],#content [data-transfer-panel]{margin-top:16px;margin-bottom:20px}
#content .crm-mobility-heading{
 display:flex!important;align-items:center!important;justify-content:space-between;flex-wrap:wrap;
 min-height:58px;gap:12px!important;padding:12px 16px!important;margin:0 0 16px!important;
 border-radius:13px;background:#eef3f9;
}
#content .crm-mobility-heading>div:first-child{min-width:0}
#content .crm-mobility-heading h2{
 display:flex;align-items:center;gap:9px;margin:0!important;
 color:var(--crm-accent,#eb008b);font-size:20px;line-height:1.25;
}
#content .crm-mobility-heading h2>.icon{width:22px;height:22px;margin:0;flex:none}
#content .crm-mobility-tools{
 display:flex!important;align-items:center!important;justify-content:flex-end;
 flex-wrap:wrap;gap:8px!important;margin-left:auto;width:auto!important;
}
#content .crm-mobility-heading button,#content .crm-mobility-heading a.button{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;
 min-height:34px;padding:7px 11px;font-size:13px;line-height:1.25;
 font-weight:600;white-space:nowrap;text-decoration:none;flex:0 0 auto;
}
#content .crm-mobility-heading button.quiet,#content .crm-mobility-heading a.quiet{
 background:#fff;color:var(--crm-accent,#eb008b);border:1px solid #edbdd5;
}
#content .crm-mobility-heading button.quiet:hover,#content .crm-mobility-heading a.quiet:hover{background:#fff3f9;border-color:var(--crm-accent,#eb008b)}
#content .crm-mobility-heading [data-shuttle-create],#content .crm-mobility-heading [data-journey="edit"]{
 background:var(--crm-accent,#eb008b);color:#fff;border:1px solid var(--crm-accent,#eb008b);
}
#content .crm-mobility-heading button svg,#content .crm-mobility-heading a.button svg{width:17px;height:17px;flex:none;margin:0}
#content .crm-mobility-registration-heading{margin-top:20px!important;min-height:48px;background:#f5f7fb}
#content .crm-mobility-registration-heading h2{font-size:17px;color:#233952}
#content [data-journey-panel] .crm-journey-filters{margin:0 0 16px;gap:12px}
#content [data-journey-panel] .crm-journey-filters label,#content [data-transfer-panel] .crm-shuttle-filters label{font-size:12px}
#content [data-journey-panel] .crm-journey-filters input,#content [data-journey-panel] .crm-journey-filters select,
#content [data-transfer-panel] .crm-shuttle-filters input,#content [data-transfer-panel] .crm-shuttle-filters select{
 min-height:36px;padding:8px 10px;font-size:13px;
}
#content [data-transfer-panel] .crm-shuttle-filters{padding:14px;gap:12px}
@media(max-width:700px){
 #content .crm-mobility-heading{align-items:flex-start!important;flex-direction:column;gap:12px!important;padding:12px!important}
 #content .crm-mobility-heading h2{font-size:18px;overflow-wrap:anywhere}
 #content .crm-mobility-tools{width:100%!important;margin-left:0;justify-content:flex-start}
 #content .crm-mobility-tools>*{flex:0 0 auto!important}
 #content .crm-mobility-heading button,#content .crm-mobility-heading a.button{font-size:12px;padding:7px 9px}
}


/* Shared transport heading with separate existing group and individual panels. */
#content [data-transport-page]{margin:16px 0 20px}
#content [data-transport-page] [data-journey-panel]{margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
#content [data-transport-page] [data-individual-travel-panel]{margin:0}
#content [data-transport-page] [data-transport-subpanel][hidden],#content [data-transport-page] .crm-transport-add[hidden]{display:none!important}
#content .crm-transport-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:0 0 12px;border-bottom:1px solid #efd2e1}
#content .crm-transport-tabs button{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;
 min-height:36px;padding:8px 15px;border-radius:10px;font-size:13px;line-height:1.2;
 background:#fff;color:#6b3b58;border:1px solid #edc7db;box-shadow:none;
}
#content .crm-transport-tabs button[aria-selected="true"]{background:#fce5f1;color:var(--crm-accent,#eb008b);border-color:var(--crm-accent,#eb008b);font-weight:700}
#content .crm-transport-tabs button:hover{background:#fff1f8}
#content .crm-transport-tabs button .icon{width:17px;height:17px;margin:0;flex:none}
#content [data-transport-page] .crm-individual-sortbar{margin-top:0}
@media print{#content .crm-transport-tabs{display:none!important}}
