.voice-planner{background:linear-gradient(135deg,#fff8f0,#eef4fd);border:1px solid #c3d3ea;border-top:4px solid #ff5910;border-radius:22px;padding:18px;margin:12px 0;color:#062f73}.voice-planner h3{margin:0 0 8px}.voice-planner>p{font-size:.9rem;line-height:1.45}.voice-transcript{max-height:240px;overflow:auto;overscroll-behavior:contain}.voice-transcript p{border-radius:16px;padding:10px 14px;white-space:pre-wrap;margin:8px 0}.voice-user{background:#073477;color:white;margin-left:20px!important}.voice-sol{background:white;border:1px solid #c3d3ea;margin-right:20px!important}.voice-planner textarea{width:100%;box-sizing:border-box;border:1px solid #b7cbe6;border-radius:14px;padding:12px;min-height:65px}.voice-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.voice-controls button{border:1px solid #b7cbe6;background:white;color:#063278;border-radius:24px;padding:10px 16px;min-height:44px;font-weight:700}.voice-controls button:first-child{background:#ff650b;color:#062d66;border-color:#ff650b}.voice-controls button:disabled{opacity:.5}.voice-status{font-weight:700}.voice-planner[hidden]{display:none}

.voice-planner{font-family:Arial,system-ui,sans-serif}.voice-mascot{float:right;width:56px;height:56px;object-fit:contain;margin:0 0 8px 8px}.voice-draft{font-weight:600;line-height:1.5}

.sol-page{max-width:1100px;margin:0 auto;padding:12px;min-height:70vh}.sol-page-head{display:flex;align-items:center;gap:16px;background:#053575;color:white;border-bottom:4px solid #ff5910;border-radius:20px;padding:16px}.sol-page-head h1{font-size:1.35rem;margin:0}.sol-page-head a{color:white}.sol-launch{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:#063575;color:white!important;border:2px solid #ff5910;border-radius:30px;padding:8px 18px;min-height:48px;font-weight:700;text-decoration:none;cursor:pointer}.sol-launch img{width:42px;height:42px;object-fit:contain}.sol-conversation{margin:12px 0;padding:18px;border-top:0;box-shadow:0 8px 30px #00347412}.sol-conversation .voice-mascot{width:80px;height:80px}.sol-conversation .voice-transcript{max-height:36vh;min-height:80px}.sol-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}.sol-choices h4{grid-column:1/-1;margin:8px 0}.sol-choice{display:flex;flex-direction:column;gap:8px;text-align:left;background:white;border:1px solid #a8bfdf;border-left:4px solid #ff5910;border-radius:16px;padding:14px;color:#063575;min-height:52px;cursor:pointer}.sol-choice small{line-height:1.45}.sol-choice:disabled{opacity:.55}.sol-itinerary:not(:empty){background:#fff;border:1px solid #cad8ec;border-radius:18px;padding:16px;margin:14px 0}.sol-itinerary h4{color:#ba4500;margin:0 0 8px}.sol-itinerary a{display:block;margin:10px 0;color:#003474;font-weight:700}.sol-itinerary details{border-top:1px solid #d9e4f3;padding:10px 0}.sol-itinerary p{margin:8px 0;font-size:.9rem}.sol-conversation[aria-busy=true] .voice-status:before{content:"";display:inline-block;width:16px;height:16px;border:3px solid #d4dfed;border-top-color:#ff5910;border-radius:50%;animation:sol-spin .9s linear infinite;margin-right:8px}@keyframes sol-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.sol-conversation[aria-busy=true] .voice-status:before{animation:none}}

/* Conversation épurée : one conversation scroller, a compact trip drawer, and a stable voice dock. */
.sol-page{max-width:880px;margin:0 auto;padding:0;height:min(820px,calc(100dvh - 140px));min-height:480px;display:flex;flex-direction:column}
.voice-planner.sol-conversation{display:flex;flex-direction:column;flex:1;min-height:0;margin:0;padding:0;background:#f4f7fb;color:#082f64;border:1px solid #dfe7f0;border-radius:22px;box-shadow:0 10px 32px #1539580d;overflow:hidden;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.sol-conversation .sol-head{display:flex;align-items:center;gap:10px;background:#fff;border-bottom:1px solid #dfe7f0;padding:12px 14px;flex-shrink:0}
.sol-conversation .sol-head .voice-mascot{width:42px;height:42px;float:none;margin:0;object-fit:contain;flex-shrink:0}
.sol-conversation .sol-heading{flex:1;min-width:0}.sol-conversation .sol-heading h1{font-size:1.15rem;line-height:1.25;margin:0;font-weight:700;letter-spacing:-.02em}.sol-conversation .sol-heading small{font-size:.75rem;color:#64758b}
.sol-conversation .sol-icon-button{width:42px;height:42px;min-height:42px;flex-shrink:0;padding:10px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:13px;background:transparent;color:#163e6c;box-shadow:none;text-decoration:none;cursor:pointer}
.sol-conversation svg{width:21px;height:21px;flex-shrink:0}.sol-conversation .sol-icon-button:hover{background:#eaf0f8}
.sol-conversation .sol-context{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;font-size:.75rem;color:#64758b;flex-shrink:0}.sol-conversation .sol-context-label{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sol-conversation .sol-quota{text-align:right;max-width:55%;font-size:.7rem}
.sol-conversation .sol-thread{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 20px 14px;scroll-behavior:smooth}.sol-conversation .voice-transcript{max-height:none;overflow:visible;min-height:0}.sol-conversation .voice-transcript p{font-size:.9rem;line-height:1.55;margin:12px 0;max-width:90%;padding:13px 16px;border-radius:18px;white-space:pre-wrap;overflow-wrap:anywhere}.sol-conversation .voice-transcript .voice-sol{background:#fff;border:1px solid #dfe7f0;border-top-left-radius:5px;margin-right:auto!important}.sol-conversation .voice-transcript .voice-user{background:#073775;color:#fff;border-bottom-right-radius:5px;margin-left:auto!important;border:0}.sol-conversation .voice-transcript .sol-welcome{background:transparent;color:#64758b;max-width:100%;padding:8px 0;font-size:.85rem}
.sol-conversation .sol-choices{display:flex;flex-wrap:wrap;gap:8px}.sol-conversation .sol-choices h4{width:100%;font-size:.8rem;font-weight:600;margin:10px 0 2px}.sol-conversation .sol-choice{flex:1 1 150px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;min-height:44px;padding:10px 13px;border:1px solid #cddbec;border-radius:15px;background:#fff;color:#123b6d;font-size:.8rem;cursor:pointer;box-shadow:none}.sol-conversation .sol-choice strong{font-weight:600}.sol-conversation .sol-choice small{font-size:.73rem;color:#526a87;line-height:1.4}.sol-conversation .sol-choice:disabled{opacity:.55}.sol-conversation .sol-choice:hover:enabled{border-color:#ff5910;background:#fff8f2}
.sol-conversation .sol-saved-note{margin:0;padding:0 20px;font-size:.75rem;color:#22724f;flex-shrink:0}.sol-conversation .sol-saved-note:empty{display:none}.sol-conversation .sol-saved-note:not(:empty){padding-bottom:10px}
.sol-conversation .sol-journey-panel{flex-shrink:0;margin:0 16px 12px;border:1px solid #dfe7f0;border-radius:16px;background:#fff;overflow:hidden}.sol-conversation .sol-journey-panel>summary{padding:12px 14px;display:flex;align-items:center;gap:11px;list-style:none;cursor:pointer}.sol-conversation .sol-journey-panel>summary::-webkit-details-marker{display:none}.sol-conversation .sol-journey-panel>summary>span:nth-child(2){flex:1;min-width:0}.sol-conversation .sol-journey-panel strong{display:block;font-size:.85rem;font-weight:650}.sol-conversation .sol-journey-panel small{display:block;font-size:.72rem;color:#64758b;margin-top:2px}.sol-conversation .sol-route-icon{display:grid;place-items:center;width:36px;height:36px;background:#eaf0f8;border-radius:11px}.sol-conversation .sol-journey-panel>summary>svg{width:16px;height:16px;color:#64758b}.sol-conversation .sol-journey-panel[open]>summary>svg{transform:rotate(180deg)}
.sol-conversation .sol-itinerary{max-height:190px;overflow:auto;overscroll-behavior:contain;margin:0!important;padding:12px 16px!important;border:0!important;border-top:1px solid #dfe7f0!important;border-radius:0!important;background:white!important}.sol-conversation .sol-itinerary:empty{display:none}.sol-conversation .sol-itinerary>strong{font-size:.8rem}.sol-conversation .sol-itinerary a{font-size:.8rem;margin:8px 0}.sol-conversation .sol-itinerary details{padding:8px 0}.sol-conversation .sol-itinerary details summary{font-size:.75rem}.sol-conversation .sol-itinerary p{font-size:.8rem;line-height:1.4}
.sol-conversation .sol-dock{flex-shrink:0;border-top:1px solid #dfe7f0;background:#fff;padding:12px 16px 14px}.sol-conversation .voice-status{margin:0;text-align:center;font-size:.75rem;font-weight:600;line-height:1.5;min-height:20px;color:#48647f}.sol-conversation .sol-voice-actions{display:flex;align-items:center;justify-content:center;gap:28px;padding:10px 0}.sol-conversation .sol-microphone{height:60px;width:60px;min-height:60px;display:grid;place-items:center;padding:0;background:#ff5910;color:#082f64;border:0;border-radius:50%;box-shadow:0 4px 14px #ff650e22;cursor:pointer}.sol-conversation .sol-microphone svg{height:25px;width:25px}.sol-conversation .sol-microphone[aria-pressed=false]:not(:disabled){background:#ff5910}.sol-conversation .sol-microphone:disabled,.sol-conversation .sol-end:disabled{opacity:.4;cursor:default}.sol-conversation .sol-end{color:#a64635;background:#fff1ed}.sol-conversation .sol-talk-hint{display:block;text-align:center;font-size:.65rem;color:#64758b;line-height:1.5}.sol-conversation .sol-disclosure{margin:0;padding:12px 20px;background:#eaf0f8;font-size:.8rem;flex-shrink:0}.sol-conversation .sol-writing{display:flex;align-items:flex-end;gap:8px;margin:0 0 12px}.sol-conversation .sol-writing textarea{font-family:inherit;font-size:16px;line-height:1.4;resize:vertical;max-height:100px;min-height:44px;flex:1;min-width:0;margin:0;padding:11px 12px;border-radius:14px}.sol-conversation .sol-writing button{width:42px;height:44px;min-height:44px;border:0;background:#073775;color:#fff;display:grid;place-items:center;border-radius:13px;padding:10px;cursor:pointer}.sol-conversation [hidden]{display:none!important}
@media(max-width:600px){.app-content:has(.sol-page){padding:0}.sol-page{height:calc(100dvh - 100px);min-height:450px;width:100%;max-width:100%;padding:0}.voice-planner.sol-conversation{border-radius:0;border-left:0;border-right:0;box-shadow:none}.sol-conversation .sol-head{padding:10px}.sol-conversation .sol-thread{padding-left:14px;padding-right:14px}.sol-conversation .sol-context{padding:10px 14px}.sol-conversation .sol-dock{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.sol-conversation .sol-thread{scroll-behavior:auto}}

.sol-conversation .sol-microphone.sol-paused{background:#eaf0f8!important;color:#64758b;box-shadow:none}

.sol-conversation .voice-transcript .voice-user,.sol-conversation .voice-transcript .voice-sol{width:fit-content}
@media(max-height:550px) and (max-width:600px){.sol-page{height:calc(100dvh - 80px);min-height:0}.sol-conversation .sol-context,.sol-conversation .sol-journey-panel,.sol-conversation .sol-talk-hint{display:none}.sol-conversation .sol-head{padding:6px}.sol-conversation .sol-head .voice-mascot{height:32px;width:32px}.sol-conversation .sol-dock{padding:6px 12px}.sol-conversation .sol-voice-actions{padding:4px 0;gap:24px}.sol-conversation .sol-microphone{height:44px;min-height:44px;width:44px}.sol-conversation .sol-writing{margin:0 0 4px}.sol-conversation .voice-status{min-height:14px;font-size:.7rem}}

/* Commandes discrètes : la conversation garde la majeure partie de la hauteur. */
.app-shell:has(.sol-page){height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.app-shell:has(.sol-page)>.app-header{flex:none;min-height:52px;padding:5px 14px}
.app-shell:has(.sol-page)>.app-header .brand-logo{width:32px;height:32px}
.app-shell:has(.sol-page)>.app-header .brand{font-size:1.1rem}
.app-content:has(.sol-page){flex:1;min-height:0;width:100%;padding:0;display:flex;flex-direction:column}
.app-content .sol-page{height:auto;min-height:0;flex:1;max-width:880px}
.sol-conversation .sol-head{padding:6px 10px;gap:7px}
.sol-conversation .sol-head .voice-mascot{height:32px;width:32px}
.sol-conversation .sol-heading h1{font-size:1rem}
.sol-conversation .sol-heading small{display:none}
.sol-conversation .sol-context{padding:5px 14px;font-size:.7rem;gap:8px}
.sol-conversation .sol-thread{padding:0 12px 8px}
.sol-conversation .voice-transcript p{max-width:96%;padding:10px 12px;margin:8px 0;line-height:1.45}
.sol-conversation .sol-journey-panel{margin:0 10px 6px;border-radius:12px}
.sol-conversation .sol-journey-panel>summary{padding:7px 10px;gap:8px;min-height:44px}
.sol-conversation .sol-journey-panel small{display:none}
.sol-conversation .sol-route-icon{height:28px;width:28px;border-radius:8px}
.sol-conversation .sol-dock{padding:5px 12px max(6px,env(safe-area-inset-bottom))}
.sol-conversation .voice-status{font-size:.68rem;min-height:16px;line-height:1.3}
.sol-conversation .sol-voice-actions{padding:4px 0 0;gap:20px}
.sol-conversation .sol-microphone{height:44px;width:44px;min-height:44px;box-shadow:none}
.sol-conversation .sol-icon-button{height:40px;width:40px;min-height:40px;padding:9px;border-radius:12px}
.sol-conversation .sol-microphone svg{height:22px;width:22px}
.sol-conversation .sol-end{color:#9c392e;background:#fff0ec;border:1px solid #edc4bd}
.sol-conversation .sol-end:disabled{background:transparent;border-color:transparent;opacity:.4}
.sol-conversation .sol-writing{margin:6px 0 0}
.sol-conversation .sol-talk-hint{display:none}
.shell:has(.sol-page){height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.shell:has(.sol-page)>header{flex:none}
.shell:has(.sol-page)>main{flex:1;min-height:0;display:flex;flex-direction:column;padding:8px 12px}
.shell:has(.sol-page)>footer{display:none}
.shell .sol-page{flex:1;min-height:0;height:auto;width:100%}
@media(max-width:600px){.shell:has(.sol-page)>main{padding:0}.sol-conversation .sol-thread{padding-left:10px;padding-right:10px}}

.sol-transport-research{margin:12px 0;padding:14px;border:1px solid #ccd9eb;border-left:4px solid #ff5910;border-radius:16px;background:#fff;color:#002d72}.sol-transport-research summary{font-weight:700;cursor:pointer}.sol-transport-answer{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;line-height:1.5}.sol-transport-research small{display:block;margin-top:8px;color:#637895}.sol-transport-research a{text-decoration:underline}
.voice-planner[aria-busy="true"] .voice-status::before{content:"";display:inline-block;width:12px;height:12px;margin-inline-end:6px;border:2px solid #dbe4ef;border-top-color:#ff5910;border-radius:50%;vertical-align:middle;animation:transport-search-spin .8s linear infinite}@keyframes transport-search-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.voice-planner[aria-busy="true"] .voice-status::before{animation:none}}

.transport-home-icon{width:40px;height:40px;object-fit:contain;vertical-align:middle;margin-inline-end:8px}

.sol-history{margin:.4rem 1rem;padding:.6rem .8rem;border:1px solid var(--line,#aabacf);border-radius:16px;background:var(--paper,#fff);color:var(--ink,#002d72);max-height:40vh;overflow:auto}
.sol-history summary{cursor:pointer;font-weight:700}.sol-history button{font:inherit;padding:.6rem .8rem;border-radius:12px;margin:.3rem 0;color:inherit;background:var(--paper,#fff);border:1px solid var(--line,#aabacf)}
.sol-history-row{display:flex;gap:.5rem;align-items:center}.sol-history-row>button:first-child{flex:1;text-align:start;overflow-wrap:anywhere}.sol-history-row small{display:block;color:var(--muted,#63758d);font-size:.75rem}
