.elma-customer-panel { position:relative; width:100%; margin:0; border:0; border-radius:0; background:#fff; color:#173752; font-family:inherit; font-size:14px; line-height:1.5; }
/* Customer access follows the same restrained public-form design. */
.elma-customer-panel *, .elma-customer-panel *::before, .elma-customer-panel *::after { box-sizing: border-box; }
.elma-customer-panel [hidden] { display: none!important; }
.elma-customer-panel button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 10px 14px; border: 1px solid #dbe6ed; border-radius: 6px; background: #fff; color: #173752; font: inherit; font-size: 13px; line-height: 1.4; font-weight: 500; cursor: pointer; box-shadow: none; text-transform: none; }
.elma-customer-panel button:hover { background: #f4f8fb; border-color: #9cbfd5; }
.elma-customer-panel button:disabled { opacity: .5; cursor: default; }
.elma-customer-panel button:focus-visible, .elma-customer-panel input:focus-visible, .elma-customer-launcher:focus-visible { outline: 3px solid #80c7ec; outline-offset: 3px; }
.elma-customer-panel .ec-head { display: flex; flex: 0 0 auto; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid #dbe6ed; background: #fff; }
.elma-customer-panel .ec-head span { color: #657d91; font-size: 12px; }
.elma-customer-panel .ec-head h2 { margin: 4px 0 0; font-size: 20px; font-weight: 650; line-height: 1.3; color: #173752; letter-spacing: -.02em; }
.elma-customer-panel .ec-head button { width: 44px; padding: 10px; border: 0; flex-shrink: 0; }
.elma-customer-panel .ec-head svg { width: 24px; height: 24px; }
.elma-customer-panel .ec-body { padding: 24px; overflow: auto; overscroll-behavior: contain; min-height: 0; scrollbar-width: thin; scrollbar-color: #c3d7e5 transparent; }
.elma-customer-panel .ec-intro { margin: 0 0 20px; font-size: 14px; color: #657d91; line-height: 1.6; }
.elma-customer-panel form { margin: 0; padding: 0; border: 0; background: transparent; }
.elma-customer-panel .ec-field { display: flex; flex-direction: column; align-items: stretch; gap: 7px; margin: 0 0 16px; font-size: 13px; color: #173752; font-weight: 500; }
.elma-customer-panel .ec-field input { width: 100%; min-width: 0; height: 48px; margin: 0; padding: 11px 13px; border: 1px solid #cbdce7; border-radius: 6px; background: #fff; color: #173752; font: inherit; font-size: 14px; box-shadow: none; }
.elma-customer-panel .ec-primary { width: 100%; min-height: 48px; border-color: #0078bb; background: #0078bb; color: white; font-weight: 600; margin-top: 8px; }
.elma-customer-panel .ec-primary:hover { background: #00659e; color: #fff; }
.elma-customer-panel .ec-check { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; font-size: 13px; color: #657d91; font-weight: 400; }
.elma-customer-panel .ec-check input { appearance: auto; width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; accent-color: #0078bb; }
.elma-customer-panel a { color: #00659e; text-decoration: underline; }
.elma-customer-panel .ec-link { border: 0; padding: 8px 0; background: transparent; color: #0078bb; font-size: 13px; }
.elma-customer-panel .ec-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 12px; }
.elma-customer-panel .ec-note { margin: 12px 0 0; font-size: 12px; color: #657d91; line-height: 1.6; }
.elma-customer-panel .ec-status { margin: 16px 0 0; font-size: 13px; color: #216c54; overflow-wrap: anywhere; }
.elma-customer-panel .ec-status.is-error { color: #a34339; }
.elma-customer-panel .ec-tabs { display: flex; gap: 18px; margin: -8px 0 20px; border-bottom: 1px solid #dbe6ed; }
.elma-customer-panel .ec-tabs button { padding: 8px 0 12px; border: 0; border-radius: 0; border-bottom: 2px solid transparent; color: #657d91; }
.elma-customer-panel .ec-tabs button[aria-current=page] { border-bottom-color: #0078bb; color: #0078bb; }
.elma-customer-panel .ec-tabs .ec-logout { margin-left: auto; font-size: 12px; }
.elma-customer-panel .ec-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
.elma-customer-panel .ec-modes { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.elma-customer-panel .ec-modes legend { margin-bottom: 8px; padding: 0; font-size: 13px; }
.elma-customer-panel .ec-modes label { display: block; position: relative; margin: 0; cursor: pointer; }
.elma-customer-panel .ec-modes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.elma-customer-panel .ec-modes span { display: grid; place-items: center; min-height: 44px; padding: 8px 3px; border: 1px solid #dbe6ed; border-radius: 6px; font-size: 13px; font-weight: 400; }
.elma-customer-panel .ec-modes input:checked + span { color: #00659e; background: #edf7fe; border-color: #0078bb; }
.elma-customer-panel .ec-modes input:focus-visible + span { outline: 3px solid #80c7ec; outline-offset: 2px; }
.elma-customer-panel .ec-list-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -4px 0 12px; font-size: 12px; color: #657d91; }
.elma-customer-panel .ec-trip { padding: 18px 0; border-bottom: 1px solid #dbe6ed; }
.elma-customer-panel .ec-trip:first-child { padding-top: 4px; }
.elma-customer-panel .ec-trip-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.elma-customer-panel .ec-trip h3 { margin: 12px 0 8px; font-size: 15px; font-weight: 600; color: #173752; }
.elma-customer-panel .ec-badge { padding: 4px 7px; background: #f2f6f9; color: #5e7486; border-radius: 4px; font-size: 11px; font-weight: 400; }
.elma-customer-panel .ec-badge.is-confirmed { background: #edf7f2; color: #216c54; }
.elma-customer-panel .ec-route { display: grid; gap: 6px; border-left: 1px solid #cbdce7; margin-left: 3px; padding-left: 14px; font-size: 13px; }
.elma-customer-panel .ec-trip-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.elma-customer-panel .ec-trip-bottom small { font-size: 11px; color: #657d91; }
.elma-customer-panel .ec-empty { padding: 24px 0; font-size: 14px; color: #657d91; line-height: 1.7; }
.elma-customer-panel .ec-more { width: 100%; margin-top: 16px; }
@media(max-width:680px){
 .elma-customer-panel .ec-head, .elma-customer-panel .ec-body { padding: 20px; }
 .elma-customer-panel .ec-fields { grid-template-columns: minmax(0,1fr); }
 .elma-customer-panel .ec-field input { font-size: 16px; }
 .elma-customer-panel .ec-modes { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .elma-customer-panel .ec-trip-top { flex-wrap: wrap; }
 .elma-customer-panel .ec-tabs { gap: 14px; }
}
@media(prefers-reduced-motion:reduce){.elma-customer-panel { animation:none!important;transition:none!important; }}

/* Multiple independent passenger records for clinics, institutions and families. */
.elma-customer-panel .ec-account-type { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0 0 16px; padding:0; border:0; min-width:0; }
.elma-customer-panel .ec-account-type legend { font-size:13px; padding:0; margin-bottom:8px; }
.elma-customer-panel .ec-account-type label { position:relative; display:block; margin:0; }
.elma-customer-panel .ec-account-type input { position:absolute; opacity:0; width:1px; height:1px; }
.elma-customer-panel .ec-account-type span { display:grid; place-items:center; min-height:44px; padding:8px; border:1px solid #dbe6ed; border-radius:6px; font-size:13px; }
.elma-customer-panel .ec-account-type input:checked + span { border-color:#0078bb; background:#edf7fe; color:#00659e; }
.elma-customer-panel .ec-account-type input:focus-visible + span { outline:3px solid #80c7ec; outline-offset:2px; }
.elma-customer-panel .ec-search { display:flex; align-items:center; gap:8px; margin:0 0 16px; }
.elma-customer-panel .ec-search input { flex:1; width:0; min-width:0; min-height:44px; padding:10px 12px; border:1px solid #cbdce7; border-radius:6px; background:#fff; color:#173752; font:inherit; font-size:13px; }
.elma-customer-panel .ec-search button { white-space:nowrap; padding-inline:10px; }
.elma-customer-panel .ec-search [data-ec=passenger-new] { color:#fff; background:#0078bb; border-color:#0078bb; }
.elma-customer-panel .ec-passenger { display:flex; align-items:center; gap:12px; border-bottom:1px solid #dbe6ed; padding:14px 0; }
.elma-customer-panel .ec-passenger-select { display:flex; flex:1; flex-direction:column; align-items:flex-start; gap:4px; padding:0; border:0; text-align:left; min-width:0; }
.elma-customer-panel .ec-passenger-select strong { font-size:14px; font-weight:600; }
.elma-customer-panel .ec-passenger-select span { color:#657d91; font-size:12px; overflow-wrap:anywhere; }
.elma-customer-panel .ec-passenger-select small { color:#0078bb; font-size:12px; }
.elma-customer-panel .ec-passenger-edit { font-size:12px; padding-inline:10px; }
.elma-customer-panel .ec-form-title { margin:0 0 20px; color:#173752; font-size:16px; font-weight:600; }
.elma-customer-panel .ec-danger { color:#a34339; }
.elma-customer-panel .ec-delete-confirm { border-top:1px solid #dbe6ed; margin-top:12px; padding-top:16px; }
.elma-customer-panel .ec-delete-confirm p { margin:0 0 12px; color:#657d91; font-size:13px; }
.elma-customer-panel .ec-delete-confirm button { margin-right:8px; }
@media(max-width:680px){.elma-customer-panel .ec-search{flex-wrap:wrap}.elma-customer-panel .ec-search input{font-size:16px;flex-basis:100%}.elma-customer-panel .ec-tabs{gap:12px}.elma-customer-panel .ec-tabs button{font-size:12px}}

.elma-customer-panel[hidden] { display:none!important; }
.elma-customer-panel .ec-head,.elma-customer-panel .ec-body { padding:24px 40px; }
.elma-customer-panel .ec-head h2 { font-size:20px; }
.elma-customer-panel button.ec-trip { display:block; width:100%; border:0; border-bottom:1px solid #dbe6ed; border-radius:0; padding:18px 12px; text-align:left; font-weight:400; }
.elma-customer-panel button.ec-trip:hover { background:#f4f8fb; }
.elma-customer-panel .ec-trip-name { display:block; margin:10px 0 8px; color:#173752; font-size:14px; font-weight:600; }
.elma-customer-panel .ec-open-label { color:#0078bb; font-size:12px; }
.elma-public-workspace[data-instance=compact] .ec-head,.elma-public-workspace[data-instance=compact] .ec-body { padding:20px; }
.elma-public-workspace[data-instance=compact] .ec-fields { grid-template-columns:minmax(0,1fr); }
.elma-public-workspace[data-instance=compact] .ec-trip-top { flex-wrap:wrap; }
.elma-public-workspace[data-instance=compact] .ec-modes { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:680px){.elma-customer-panel .ec-head,.elma-customer-panel .ec-body{padding:20px}.elma-customer-panel .ec-trip-bottom{align-items:flex-start;flex-wrap:wrap}}
