:root{
  --sand:#f2efe5;
  --foam:#f8fbf8;
  --lagoon:#73b8b5;
  --sea:#176b79;
  --deep:#063d50;
  --abyss:#032c3d;
  --ink:#123e4b;
  --muted:#56727a;
  --line:rgba(9,74,87,.18);
  --shadow:0 28px 80px rgba(0,39,54,.24);
}
*{box-sizing:border-box}
html{min-height:100%;background:var(--deep)}
body{
  min-height:100vh;
  margin:0;
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
  background:
    radial-gradient(circle at 16% 15%,rgba(255,255,255,.55) 0 2px,transparent 3px),
    radial-gradient(circle at 82% 30%,rgba(255,255,255,.32) 0 3px,transparent 4px),
    linear-gradient(155deg,var(--sand) 0 18%,#bdd8d2 47%,var(--sea) 76%,var(--abyss) 100%);
  background-size:auto,auto,auto;
}
button,textarea{font:inherit}
.page-shell{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:clamp(18px,4vw,58px);
}
.tool{
  width:min(760px,100%);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.55);
  border-radius:28px;
  background:rgba(248,251,248,.94);
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px);
}
.tool-head{
  display:flex;
  align-items:center;
  gap:22px;
  padding:clamp(24px,5vw,46px) clamp(22px,6vw,54px) 28px;
}
.mark{position:relative;flex:0 0 82px;height:82px;border-radius:50%;background:var(--deep);overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.mark span{position:absolute;border:2px solid rgba(171,231,225,.8);border-radius:50%}
.mark span:nth-child(1){width:14px;height:14px;left:21px;top:17px}
.mark span:nth-child(2){width:22px;height:22px;right:16px;top:31px}
.mark span:nth-child(3){width:9px;height:9px;left:33px;bottom:14px}
.eyebrow{margin:0 0 4px;color:var(--sea);font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
h1{margin:0;font:600 clamp(2.7rem,8vw,5.1rem)/.9 Georgia,serif;letter-spacing:.01em;color:var(--deep)}
.subtitle{margin:12px 0 0;color:var(--muted);font:italic clamp(1rem,2.4vw,1.3rem)/1.3 Georgia,serif}
.question-form{padding:8px clamp(22px,6vw,54px) 34px}
.question-scope{margin:0 0 22px;padding:16px 18px;border-left:5px solid var(--lagoon);border-radius:0 13px 13px 0;background:#e8f2ef;color:var(--ink)}
.question-scope strong{display:block;margin-bottom:5px;color:var(--sea);font-size:.78rem;letter-spacing:.06em;text-transform:uppercase}
.question-scope p{margin:0;font-size:.9rem;line-height:1.5}
.question-form>label,.result-label{display:block;margin-bottom:8px;color:var(--sea);font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}
textarea{
  width:100%;
  min-height:86px;
  resize:vertical;
  border:1px solid var(--line);
  border-radius:16px;
  padding:17px 18px;
  background:#fff;
  color:var(--ink);
  font-size:1.05rem;
  line-height:1.45;
  outline:none;
  transition:border-color .18s ease,box-shadow .18s ease;
}
textarea:focus{border-color:var(--lagoon);box-shadow:0 0 0 4px rgba(115,184,181,.18)}
textarea::placeholder{color:#80979c}
.species-completion{margin:8px 0 2px;padding:6px;display:grid;gap:3px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.94);box-shadow:0 12px 28px rgba(4,62,79,.14)}
.species-completion[hidden]{display:none}
.species-completion button{display:flex;justify-content:space-between;gap:12px;width:100%;padding:10px 12px;border:0;border-radius:9px;background:transparent;color:var(--deep);text-align:left;cursor:pointer}
.species-completion button:hover,.species-completion button:focus{background:#e5f0ed;outline:none}
.species-completion small{color:var(--muted);font-style:italic;text-align:right}
.microphone{
  min-width:86px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#e5f0ed;
  color:var(--deep);
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
}
.microphone[hidden]{display:none}
.microphone svg{width:25px;height:25px;fill:currentColor}
.micro-label{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.microphone.is-listening{background:#a74148;color:#fff;animation:pulse 1.25s ease-in-out infinite}
.micro-status{min-height:19px;margin:7px 0 3px;color:var(--muted);font-size:.78rem}
.submit-button{
  width:100%;
  min-height:52px;
  border:0;
  border-radius:14px;
  background:linear-gradient(110deg,var(--deep),var(--sea));
  color:#fff;
  font-weight:700;
  letter-spacing:.04em;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(4,62,79,.2);
}
.submit-button:hover{filter:brightness(1.08)}
.submit-button:focus-visible{outline:3px solid var(--sea);outline-offset:3px}
.submit-button:disabled,.microphone:disabled,textarea:disabled{cursor:wait;opacity:.7}
.search-in-progress{overflow:hidden}
.search-scene{position:fixed;z-index:2147483647;left:50%;top:50%;width:min(500px,calc(100vw - 32px));box-sizing:border-box;margin:0;padding:30px 28px 27px;overflow:hidden;isolation:isolate;transform:translate(-50%,-50%);text-align:center;color:var(--deep);background:linear-gradient(145deg,#fff 0%,#e7f4f1 100%);border:3px solid #45a5a9;border-radius:22px;box-shadow:0 0 0 100vmax rgba(5,50,65,.5),0 28px 80px rgba(0,35,49,.55),0 0 0 7px rgba(255,255,255,.2);animation:search-card-in .28s ease-out both}
.search-scene:before{content:"";position:absolute;z-index:-1;inset:-50% -80%;background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.8) 50%,transparent 58%);animation:search-scene-shine 2.8s ease-in-out infinite}
.search-scene[hidden]{display:none}
.search-scene p{margin:0}.search-scene .search-kicker{color:var(--sea);font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.search-scene .search-title{margin-top:8px;line-height:1.35}.search-scene .search-title strong{font-size:1.35rem;color:#064d61}.search-scene .search-duration{display:inline-flex;align-items:center;justify-content:center;min-width:116px;margin-top:15px;padding:8px 15px;border-radius:999px;color:#fff;background:var(--sea);box-shadow:0 7px 18px rgba(10,126,139,.24);font-size:1rem;font-weight:800}.search-scene .search-duration span{color:inherit;font-size:inherit}.search-scene .search-patience{margin-top:13px;color:var(--muted);font-size:.88rem;line-height:1.4}
@keyframes search-card-in{from{opacity:0;transform:translate(-50%,-46%) scale(.96)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes search-scene-shine{0%,55%{transform:translateX(-35%)}85%,100%{transform:translateX(35%)}}
.search-water{position:relative;height:76px;overflow:hidden;border:1px solid rgba(9,74,87,.13);border-radius:14px;background:linear-gradient(180deg,#bfe8e2 0%,#4aa7ae 48%,#07556b 100%)}
.search-water:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 15%,rgba(255,255,255,.2) 32%,transparent 48%);animation:current-light 2.8s ease-in-out infinite}
.bubble{position:absolute;bottom:-14px;width:9px;height:9px;border:2px solid rgba(232,255,252,.82);border-radius:50%;animation:bubble-rise 2.6s linear infinite}
.bubble-one{left:16%;animation-delay:-.4s}.bubble-two{left:33%;width:6px;height:6px;animation-delay:-1.8s}.bubble-three{left:72%;width:12px;height:12px;animation-delay:-1.1s}.bubble-four{left:86%;width:7px;height:7px;animation-delay:-2.3s}
.fish{position:absolute;left:-55px;top:25px;width:38px;height:19px;border-radius:55% 48% 48% 55%;background:#063d50;filter:drop-shadow(0 3px 2px rgba(0,35,48,.18));animation:fish-swim 4.2s ease-in-out infinite}
.fish:before{content:"";position:absolute;right:-13px;top:2px;border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:14px solid #063d50}
.fish:after{content:"";position:absolute;left:8px;top:5px;width:3px;height:3px;border-radius:50%;background:#dffaf5}
.fish i{position:absolute;left:13px;top:-5px;width:13px;height:8px;border-radius:70% 0;background:#0b6475;transform:rotate(-18deg)}
.seagrass{position:absolute;bottom:-4px;width:7px;height:34px;border-radius:80% 0;background:#146e69;transform-origin:bottom;animation:grass-sway 1.8s ease-in-out infinite alternate}
.grass-one{left:8%;transform:rotate(-12deg)}.grass-two{left:11%;height:27px;animation-delay:-.7s}.grass-three{right:9%;height:38px;transform:rotate(13deg);animation-delay:-1.2s}
.result{margin:0 clamp(22px,6vw,54px) 34px;padding:25px;border:2px solid #8bbfbd;border-radius:18px;background:linear-gradient(140deg,#fff,#edf5f2);box-shadow:0 12px 30px rgba(7,83,103,.12);scroll-margin-top:24px;outline:none}
.result-arrived{animation:result-arrival 1.15s ease-out both}
.result-arrived .answer-label{color:#057b82}
@keyframes result-arrival{0%{transform:translateY(18px);border-color:#19a4a7;box-shadow:0 0 0 8px rgba(39,171,170,.24),0 22px 52px rgba(7,83,103,.25)}45%{transform:translateY(0);border-color:#24a5a5;box-shadow:0 0 0 5px rgba(39,171,170,.15),0 16px 38px rgba(7,83,103,.19)}100%{transform:translateY(0);border-color:#8bbfbd;box-shadow:0 12px 30px rgba(7,83,103,.12)}}
.current-question{margin:0;color:var(--deep);font:700 1.12rem/1.45 Georgia,serif}
.answer-rule{height:1px;margin:20px 0;background:linear-gradient(90deg,var(--lagoon),transparent)}
.current-answer{margin:0;padding:14px 16px;border-left:4px solid var(--lagoon);border-radius:0 11px 11px 0;background:#fff;color:var(--deep);font:1.2rem/1.65 Georgia,serif}
.glossary-term{display:inline;padding:0;border:0;border-bottom:1px dotted currentColor;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:inherit;cursor:help}
.glossary-term:hover,.glossary-term:focus-visible{color:var(--sea);border-bottom-style:solid;outline:2px solid transparent}
.glossary-popover{position:fixed;z-index:10020;box-sizing:border-box;width:min(340px,calc(100vw - 24px));max-height:min(65vh,360px);overflow:auto;padding:14px 16px;border:1px solid var(--sea);border-radius:12px;background:#fff;color:var(--deep);box-shadow:0 12px 32px rgba(5,53,67,.22);font:1rem/1.45 system-ui,sans-serif}
.glossary-popover[hidden]{display:none}
.glossary-popover strong{display:block;margin-bottom:6px;color:var(--sea)}
.glossary-popover span{display:block}
.glossary-help{margin:7px 0 0;color:var(--muted);font-size:.76rem;line-height:1.4}
.glossary-help[hidden]{display:none}
.answer-verification{display:inline-flex;align-items:center;margin:14px 0 0;padding:7px 11px;border:1px solid;border-radius:999px;font-size:.78rem;font-weight:700;line-height:1.25}
.answer-verification.is-verified{color:#17603b;background:#e4f5e9;border-color:#8bc6a2}
.answer-verification.is-intermediate{color:#765611;background:#fff4cf;border-color:#d9b85d}
.answer-verification.is-limited{color:#8d342f;background:#fde9e7;border-color:#dfa09b}
.answer-verification[hidden]{display:none}
.concept-confirmation{margin-top:20px;padding:20px;border:2px solid var(--lagoon);border-radius:15px;background:#e6f3f0;color:var(--deep)}
.concept-confirmation p{margin:0 0 16px;font-size:1.05rem;line-height:1.5}.concept-confirmation strong{font-size:1.14em}
.confirmation-actions{display:flex;flex-wrap:wrap;gap:10px}.confirmation-actions button{padding:11px 16px;border:1px solid var(--sea);border-radius:10px;background:var(--sea);color:#fff;font-weight:700;cursor:pointer}.confirmation-actions button:last-child{background:#fff;color:var(--deep)}
.species-card-trigger{width:100%;margin:0 0 22px;padding:0;display:flex;align-items:center;gap:15px;overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#e9f3f0;color:var(--deep);text-align:left;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.species-card-trigger[hidden]{display:none}
.answer-label{margin-top:0}
.suggestions{margin-top:22px;padding:18px;border:1px solid rgba(23,107,121,.22);border-radius:15px;background:rgba(229,240,237,.72)}
.suggestions[hidden]{display:none}
.suggestions p{margin:0 0 11px;color:var(--muted);font-size:.82rem;font-weight:700}
.suggestions-list{display:grid;gap:8px}
.suggestions-list button{width:100%;padding:11px 14px;border:1px solid rgba(23,107,121,.25);border-radius:11px;background:#fff;color:var(--deep);font-size:.88rem;font-weight:700;line-height:1.35;text-align:left;cursor:pointer}
.suggestions-list button:hover{border-color:var(--lagoon);background:#f5fbf9}
.species-card-trigger:hover{transform:translateY(-2px);box-shadow:0 9px 24px rgba(4,62,79,.14)}
.species-card-trigger img{width:152px;height:96px;display:block;object-fit:cover;background:#c9ded9}
.species-card-trigger span{display:flex;flex-direction:column;gap:5px;padding:12px 15px 12px 0}
.species-card-trigger strong{font:600 1.08rem/1.2 Georgia,serif}
.species-card-trigger small{color:var(--sea);font-size:.69rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.species-modal[hidden]{display:none}
.species-modal{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:clamp(10px,3vw,35px)}
.species-modal-backdrop{position:absolute;inset:0;background:rgba(2,35,48,.78);backdrop-filter:blur(8px)}
.species-modal-panel{position:relative;width:min(1100px,96vw);height:min(760px,92vh);overflow:hidden;border:1px solid rgba(255,255,255,.55);border-radius:24px;background:#dcebea;box-shadow:0 35px 100px rgba(0,21,31,.52);outline:none}
.species-modal-close{position:absolute;z-index:3;top:12px;right:12px;width:44px;height:44px;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:rgba(3,44,61,.88);color:#fff;font-size:1.9rem;line-height:1;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.2)}
.species-modal-frame{width:100%;height:100%;display:block;border:0;background:#dcebea}
.species-modal-open{overflow:hidden}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.form-error{min-height:20px;margin:-20px clamp(22px,6vw,54px) 25px;color:#8a3038;font-weight:700;font-size:.85rem}
.tool-foot{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;padding:20px clamp(22px,6vw,54px);background:var(--deep);color:#d8e8e5}
.foot-messages{max-width:560px}
.tool-foot p{margin:0;font-size:.76rem;line-height:1.45}
.tool-foot .permanent-warning{margin-bottom:7px;color:#fff;font-size:.82rem;font-weight:700}
.tool-foot span{white-space:nowrap;font-size:.65rem;letter-spacing:.08em;text-transform:uppercase;opacity:.7}
button:focus-visible,textarea:focus-visible{outline:3px solid #f0c568;outline-offset:3px}
@keyframes pulse{50%{box-shadow:0 0 0 8px rgba(167,65,72,.16)}}
@keyframes bubble-rise{0%{transform:translateY(0) scale(.7);opacity:0}18%{opacity:1}100%{transform:translate(8px,-86px) scale(1.2);opacity:0}}
@keyframes fish-swim{0%{left:-55px;transform:translateY(4px)}50%{transform:translateY(-5px)}100%{left:calc(100% + 18px);transform:translateY(3px)}}
@keyframes grass-sway{from{rotate:-5deg}to{rotate:7deg}}
@keyframes current-light{50%{transform:translateX(35%)}}
@media(max-width:560px){
  .page-shell{padding:10px}
  .tool{border-radius:20px}
  .tool-head{align-items:flex-start;gap:15px}
  .mark{flex-basis:58px;height:58px}
  .mark span:nth-child(1){left:14px;top:11px}
  .mark span:nth-child(2){width:17px;height:17px;right:10px;top:22px}
  .mark span:nth-child(3){left:23px;bottom:8px}
  .input-row{grid-template-columns:1fr}
  .microphone{min-height:48px;flex-direction:row}
  .tool-foot{display:block}
  .tool-foot span{display:block;margin-top:12px}
  .species-card-trigger img{width:112px;height:82px}
  .species-modal{padding:0}
  .species-modal-panel{width:100vw;height:100dvh;max-height:none;border:0;border-radius:0}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Recherche documentaire : même typographie et palette que les articles. */
@font-face{font-family:Jost;src:url('/Les_Articles/fonts/Jost/regular.ttf') format('truetype');font-display:swap;font-weight:400}
@font-face{font-family:Jost;src:url('/Les_Articles/fonts/Jost/600.ttf') format('truetype');font-display:swap;font-weight:600}
body{font-family:Jost,Arial,sans-serif;background:linear-gradient(145deg,#f2efe5,#e2eeee 65%,#bfd6d5)}
.page-shell{align-items:start;padding-top:clamp(24px,6vh,64px)}
.tool{width:min(860px,100%);background:#fdfdf9;border-radius:20px;box-shadow:0 20px 60px #154b591a}
h1{font-family:Jost,Arial,sans-serif;font-weight:600;letter-spacing:-.045em}
.subtitle{font-family:inherit;font-style:normal}
.search-intro{margin:0 0 20px;line-height:1.5;color:var(--muted)}
.level-selector{margin:0 0 20px;padding:0;border:0}.level-selector legend{margin-bottom:8px;color:var(--sea);font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.level-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:5px;border:1px solid var(--line);border-radius:14px;background:#edf5f2}.level-buttons button{min-height:40px;padding:8px 7px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--deep);font-size:.82rem;font-weight:700;cursor:pointer}.level-buttons button:hover{background:#fff}.level-buttons button[aria-pressed="true"]{border-color:var(--sea);background:var(--sea);color:#fff;box-shadow:0 4px 12px rgba(4,62,79,.18)}.level-buttons button:disabled{cursor:wait;opacity:.7}
.quick-questions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.quick-questions button{background:#e8f2f1;border:1px solid var(--line);border-radius:24px;color:var(--deep);padding:9px 14px;cursor:pointer;font-size:.88rem}
.quick-questions button:hover{background:#d8eae7}
.themes-toggle{display:block;margin-top:16px;padding:10px 15px;border:1px solid var(--sea);border-radius:12px;background:#fff;color:var(--sea);font-weight:700;cursor:pointer}.themes-toggle:before{content:"☰";margin-right:8px}.themes-toggle:hover{background:#edf7f4}
.themes-toggle[hidden],.discovery-complete[hidden]{display:none}
.discovery-complete{margin:14px 0 0;color:var(--deep);font-weight:600;line-height:1.5}
.themes-browser{margin-top:18px;padding:20px;border:1px solid var(--line);border-radius:17px;background:#f2f8f6}.themes-browser[hidden]{display:none}
.themes-heading{display:flex;align-items:start;justify-content:space-between;gap:14px}.themes-heading .result-label{margin:0 0 4px}.themes-heading h2{margin:0;color:var(--deep);font-size:1.25rem}.themes-heading>button{border:0;background:transparent;color:var(--sea);font-weight:700;cursor:pointer}.themes-help{margin:10px 0 14px;color:var(--muted);font-size:.86rem;line-height:1.45}
.themes-filter{width:100%;box-sizing:border-box;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--deep);font:inherit}.themes-status{margin:10px 0;color:var(--muted);font-size:.78rem}
.themes-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.theme-card{padding:15px;border:1px solid var(--line);border-radius:13px;background:#fff}.theme-card h3{margin:0 0 3px;color:var(--deep);font-size:1rem}.theme-card small{color:var(--sea);font-size:.7rem;font-weight:700}.theme-card>p{margin:8px 0 11px;color:var(--muted);font-size:.78rem;line-height:1.4}.theme-examples{display:grid;gap:6px}.theme-examples button{padding:8px 10px;border:1px solid #c7ddda;border-radius:9px;background:#edf6f4;color:var(--deep);font-size:.75rem;line-height:1.3;text-align:left;cursor:pointer}.theme-examples button:hover{border-color:var(--lagoon);background:#dff0ec}
@media(max-width:620px){.themes-list{grid-template-columns:1fr}.themes-browser{padding:15px}}
.answer-sources{margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}
#answer-source-links{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
#answer-source-links a{display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);border-radius:12px;background:#e8f2f1;padding:16px 18px;color:var(--deep);text-decoration:none}
#answer-source-links a:hover{background:#d9eae7;border-color:var(--sea)}
#answer-source-links small{color:var(--muted);font-size:.8rem}
#answer-source-links strong{font-size:1.04rem;font-weight:600;line-height:1.35}
.home-link{color:var(--deep);white-space:nowrap}
.current-answer{line-height:1.7}
@media(max-width:540px){.tool-head{gap:14px}.mark{flex-basis:56px;height:56px}.tool-foot{flex-direction:column;align-items:start}.quick-questions{gap:6px}}
@media(max-width:420px){.level-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}
.dis-moi-mascot{width:112px;height:112px;object-fit:contain;flex-shrink:0}
@media(max-width:540px){.dis-moi-mascot{width:76px;height:76px}}
.usage-help{margin:0 clamp(22px,6vw,54px) 26px;border-top:1px solid var(--line);padding-top:18px;color:var(--muted);font-size:.93rem;line-height:1.55}
.usage-help summary{color:var(--deep);cursor:pointer;font-weight:600}.usage-help li+li{margin-top:8px}
.search-mascot{display:block;width:88px;height:88px;object-fit:contain;margin:0 auto 8px;animation:search-float 1.4s ease-in-out infinite}@keyframes search-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(3deg)}}

#answer-source-links .source-caption{display:flex;flex-direction:column;gap:6px}
#answer-source-links a.source-with-thumbnail{flex-direction:row;align-items:center;padding:0;overflow:hidden;gap:18px}
#answer-source-links .source-with-thumbnail img{width:152px;height:112px;padding:4px;box-sizing:border-box;object-fit:contain;flex-shrink:0;background:rgba(201,222,217,.55)}
#answer-source-links .source-with-thumbnail .source-caption{padding:14px 16px 14px 0}
@media(max-width:480px){#answer-source-links .source-with-thumbnail img{width:100px;height:100px}}
.dis-moi-embedded{background:transparent}
.dis-moi-embedded body{background:linear-gradient(145deg,rgba(242,239,229,.68),rgba(226,238,238,.62) 65%,rgba(191,214,213,.66))}
.dis-moi-embedded .tool{background:rgba(253,253,249,.86);box-shadow:0 20px 60px rgba(21,75,89,.13)}
.dis-moi-embedded .result{background:linear-gradient(140deg,rgba(255,255,255,.88),rgba(237,245,242,.84))}
.dis-moi-embedded .tool-foot{background:rgba(6,61,80,.88)}

/* Quatre blocs visibles, puis le thème et ses questions sur demande. */
.discovery-themes{border-top:1px solid #d7e6e3}
.discovery-theme-group{border-bottom:1px solid #d7e6e3}
.discovery-theme-group h3{margin:0}
.discovery-group-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:62px;padding:12px 3px;border:0;background:transparent;color:var(--deep);font:inherit;font-size:.94rem;font-weight:750;line-height:1.3;text-align:left;cursor:pointer;touch-action:manipulation}
.discovery-group-toggle small{display:block;margin-top:2px;color:var(--muted);font-size:.7rem;font-weight:500}
.discovery-group-chevron{flex:none;width:9px;height:9px;margin-right:5px;border-right:2px solid var(--sea);border-bottom:2px solid var(--sea);transform:rotate(45deg)}
.discovery-group-toggle[aria-expanded="true"] .discovery-group-chevron{transform:rotate(225deg)}
.discovery-group-toggle:focus-visible{outline:3px solid var(--sea);outline-offset:-3px;border-radius:8px}
.discovery-theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;padding:0 0 12px}
.discovery-theme-options[hidden]{display:none}
.discovery-theme-options button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:10px 5px;border:0;border-bottom:1px solid #e0eae8;border-radius:0;background:transparent;color:var(--deep);font:inherit;font-size:.8rem;line-height:1.3;text-align:left;cursor:pointer;touch-action:manipulation}
.theme-question-count{flex:none;min-width:1.7em;color:#176d78;font-size:.76rem;font-weight:800;text-align:center}
.discovery-theme-options button[aria-pressed="true"]{padding-left:10px;border-left:3px solid var(--sea);border-radius:5px;background:#e8f4f1;font-weight:700}
@media(max-width:500px){.discovery-theme-options{grid-template-columns:1fr}}
.discovery-detail{margin:0 0 14px;padding:12px 0 0;border-top:1px solid #d7e6e3}
.discovery-detail[hidden]{display:none}
.discovery-detail .result{margin:14px 0 0;padding:18px;box-shadow:0 8px 22px rgba(7,83,103,.11)}
.discovery-detail .themes-status{margin:0 0 10px;color:var(--deep);font-size:.86rem;font-weight:800}
.discovery-questions{display:grid}
.discovery-questions button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:12px 4px;border:0;border-bottom:1px solid #dbe9e6;border-radius:0;background:transparent;color:var(--deep);font:inherit;font-size:.86rem;font-weight:600;text-align:left;line-height:1.4;cursor:pointer;touch-action:manipulation}
.discovery-questions button:after{content:"›";flex:none;color:var(--sea);font-size:1.5rem;font-weight:400;line-height:1}
.discovery-questions button:hover,.discovery-theme-options button:hover{background:#edf6f3}
.discovery-questions button:focus-visible,.discovery-theme-options button:focus-visible{outline:3px solid var(--sea);outline-offset:-3px;border-radius:5px}
#discovery-more{min-height:44px;margin-top:8px;padding:8px 4px;border:0;background:transparent;box-shadow:none;touch-action:manipulation}
#discovery-more[hidden]{display:none}
#discovery-more:before{content:none}

/* Recherche libre : palette marine cohérente avec le reste de dis-MOI. */
.question-form>label[for="question"]{
  margin:0 0 10px;
  padding:11px 14px;
  border-left:4px solid #2b8991;
  border-radius:0 10px 10px 0;
  background:#e8f2ef;
  color:var(--deep);
  font-size:.78rem;
  line-height:1.5;
  letter-spacing:.06em;
}
#question{
  border:2px solid #79ada9;
  background:#f8fcfa;
  box-shadow:0 4px 14px rgba(21,75,89,.10);
}
#question::placeholder{color:var(--muted);opacity:1}
#question:focus{
  border-color:var(--sea);
  background:#fff;
  box-shadow:0 0 0 4px rgba(23,107,121,.18);
}
#question:focus-visible{outline:2px solid var(--sea);outline-offset:3px}

/* Deux modes exclusifs : découverte guidée et recherche libre. */
#themes-browser,#search-browser{padding:0;overflow:hidden;border:1px solid var(--line);border-radius:17px}
#themes-browser{margin:16px 0 0;background:#f9fcfb}
#search-browser{margin:0 0 16px;border-color:#a9cbc6;background:#f3faf8}
.mode-divider{display:flex;align-items:center;gap:12px;margin:16px 4px;color:#5b777d;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.mode-divider:before,.mode-divider:after{content:"";flex:1;height:1px;background:#c5d9d6}
.mode-divider span{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:30px;border:1px solid #c5d9d6;border-radius:999px;background:#fff}
.mode-heading{margin:0;font-size:1.1rem;line-height:1.4}
.mode-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:18px 20px;border:0;background:transparent;color:var(--deep);font:inherit;font-weight:700;text-align:left;cursor:pointer}
#search-toggle{background:#e8f2ef;color:var(--deep)}
.mode-toggle:hover{background:#e2f2ed}
#search-toggle:hover{background:#d8eae7}
.mode-toggle:focus-visible{outline:3px solid var(--sea);outline-offset:-4px}
.mode-chevron{flex:0 0 9px;width:9px;height:9px;margin-right:3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.mode-toggle[aria-expanded="true"] .mode-chevron{transform:rotate(225deg)}
.mode-panel{padding:0 20px 20px}
#search-panel{padding-top:16px}
.search-question-label{display:block;margin:0 0 9px;color:var(--deep);font-size:.86rem;font-weight:800;line-height:1.35}
.species-completion button{min-height:44px;align-items:center;touch-action:manipulation}
.mode-panel[hidden]{display:none}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:540px){.mode-toggle{padding:16px}.mode-panel{padding:0 16px 16px}#search-panel{padding-top:16px}}

/* Les deux volets laissent une vraie fenêtre sur la page entre eux. */
.tool,.dis-moi-embedded .tool{overflow:visible;border:0;background:transparent;box-shadow:none;backdrop-filter:none}
.tool-head{border-radius:20px 20px 0 0;background:#fff}
.question-form{padding-top:0;padding-bottom:18px;background:transparent}
.level-selector{margin:0 calc(-1 * clamp(22px,6vw,54px));padding:0 clamp(22px,6vw,54px) 18px;background:#fff}
#themes-browser,#search-browser{overflow:visible;border:0;border-radius:18px;box-shadow:0 8px 24px rgba(6,61,80,.10)}
#themes-browser{margin:0 calc(-1 * clamp(22px,6vw,54px));padding:0 clamp(22px,6vw,54px) 18px;background:#fff}
#search-browser{margin:0 calc(-1 * clamp(22px,6vw,54px));padding:0 clamp(22px,6vw,54px) 12px;background:#eaf4f1}
.mode-divider{position:relative;justify-content:center;margin:12px 0;background:transparent}
.mode-divider:before,.mode-divider:after{display:none}
.mode-divider span{min-width:32px;min-height:32px;border:0;background:transparent;color:var(--deep)}
.mode-toggle{min-height:60px;padding:15px 0;background:transparent}
#search-toggle{background:transparent}
.mode-toggle:hover,#search-toggle:hover{background:transparent;color:var(--sea)}
.mode-panel{padding:0 0 12px}
#search-panel{padding-top:8px}
.themes-help{margin:0 0 12px}
.dis-moi-embedded,.dis-moi-embedded body{background:transparent}
.dis-moi-embedded .page-shell{background:transparent}
.dis-moi-embedded .tool-head,.dis-moi-embedded .level-selector,.dis-moi-embedded #themes-browser{background:#fff}
.dis-moi-embedded #search-browser{background:#eaf4f1}
.dis-moi-embedded .tool-head{gap:15px;padding:22px clamp(22px,6vw,54px) 16px}
.dis-moi-embedded .dis-moi-mascot{width:74px;height:74px}
.dis-moi-embedded .tool-head h1{font-size:clamp(2.7rem,6vw,3.8rem)}
.dis-moi-embedded .subtitle{margin-top:5px;font-size:1rem}
.dis-moi-embedded .level-selector{padding-bottom:16px}
.dis-moi-embedded .level-selector legend{margin-bottom:6px}
.dis-moi-embedded .question-form{padding-bottom:0}
.dis-moi-embedded .usage-help{margin:0;padding:15px clamp(22px,6vw,54px);border:0;background:#eaf4f1}
.dis-moi-embedded .tool-foot{margin:0;padding:16px clamp(22px,6vw,54px);border-radius:0 0 18px 18px}
.mode-divider{height:18px;margin:0;visibility:hidden}
@media(max-width:540px){
  .mode-toggle{min-height:58px;padding:14px 0}
  .mode-panel{padding:0 0 12px}
  #search-panel{padding-top:8px}
}

/* Accueil compact : deux chemins, puis le contenu choisi. */
.dis-moi-embedded body{background:#fcfdfb}
.dis-moi-embedded .page-shell{display:block;min-height:100%;padding:0;background:#fcfdfb}
.dis-moi-embedded .tool{width:100%;min-height:100%;border-radius:0;background:#fcfdfb}
.dis-moi-embedded .tool-head{padding:22px 24px 18px;border-radius:0;background:#fcfdfb}
.dis-moi-embedded .dis-moi-mascot{width:64px;height:64px}
.dis-moi-embedded .tool-head h1{font-size:2.15rem;letter-spacing:-.035em}
.dis-moi-embedded .eyebrow{font-size:.66rem;letter-spacing:.04em;text-transform:none}
.dis-moi-embedded .subtitle{font-size:.82rem;line-height:1.3}
.dis-moi-embedded .question-form{padding:0 24px 18px;background:#fcfdfb}
.dis-moi-embedded .level-selector{margin:0 0 17px;padding:0;background:transparent}
.dis-moi-embedded .level-buttons{gap:5px;padding:0;border:0;background:transparent}
.dis-moi-embedded .level-buttons button{min-height:42px;border:1px solid #c8dcd9;border-radius:12px;background:#fff}
.dis-moi-embedded .level-buttons button[aria-pressed="true"]{background:var(--deep);color:#fff}
.mode-intro{margin:0 0 10px;color:var(--deep);font-size:.87rem;font-weight:700}
.dis-moi-embedded #themes-browser,.dis-moi-embedded #search-browser{margin:0 0 10px;padding:0 14px;border:1px solid #d0e3df;border-radius:13px;box-shadow:none}
.dis-moi-embedded #themes-browser{background:#edf7f4}
.dis-moi-embedded #search-browser{background:#eaf4fa}
.mode-toggle{gap:12px;min-height:68px;padding:10px 0}
.mode-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:#d3ebe4;color:var(--sea);font-size:1.5rem;font-weight:400}
#search-browser .mode-icon{background:#c9e7f7}
.mode-copy{display:flex;flex:1;flex-direction:column;gap:2px}
.mode-copy>span{font-size:.97rem;line-height:1.2}
.mode-copy small{color:var(--muted);font-size:.72rem;font-weight:400;line-height:1.3}
.mode-chevron{transform:rotate(-45deg)}
.mode-toggle[aria-expanded="true"] .mode-chevron{transform:rotate(45deg)}
.mode-panel{padding:4px 0 12px}
.dis-moi-embedded .mode-divider{display:none}
.popular-themes{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 0}
.popular-themes p{flex-basis:100%;margin:0 0 2px;color:var(--deep);font-size:.78rem;font-weight:700}
.popular-themes button{min-height:38px;padding:7px 12px;border:1px solid #cbdedb;border-radius:999px;background:#fff;color:var(--deep);font-size:.73rem;font-weight:600;cursor:pointer;touch-action:manipulation}
.popular-themes button:hover,.popular-themes button:focus-visible{background:#e8f3ef;border-color:var(--sea)}
.dis-moi-embedded .usage-help{margin:0;padding:12px 24px;border:0;background:#fcfdfb;font-size:.76rem}
.dis-moi-embedded .tool-foot{margin:0;padding:12px 24px 18px;border-radius:0;background:#fcfdfb;color:var(--muted)}
.dis-moi-embedded .tool-foot .permanent-warning{color:var(--deep);font-size:.76rem}
.dis-moi-embedded .tool-foot p:not(.permanent-warning){font-size:.68rem}
.dis-moi-embedded .home-link{font-size:.7rem}
.drawer-seabed{height:125px;background:#fcfdfb url('/IN/assets_accueil/images/hero-parallax/foreground.png') left bottom / auto 150px no-repeat;pointer-events:none}
.dis-moi-embedded .drawer-seabed{height:145px;background-size:auto 170px}
@media(max-width:480px){.dis-moi-embedded .tool-head{padding:18px 18px 14px}.dis-moi-embedded .question-form{padding:0 18px 16px}.dis-moi-embedded .usage-help,.dis-moi-embedded .tool-foot{padding-left:18px;padding-right:18px}}

/* Un seul choix à lire à chaque étape de la découverte. */
.discovery-back{display:inline-flex;align-items:center;min-height:44px;margin:0 0 8px;padding:4px 0;border:0;background:transparent;color:var(--sea);font:inherit;font-size:.8rem;font-weight:700;cursor:pointer;touch-action:manipulation}
.discovery-back[hidden],.themes-help[hidden],.discovery-themes[hidden],.discovery-questions[hidden],.discovery-theme-group[hidden],.themes-status[hidden]{display:none}
.question-form.is-discovery-deep #search-browser,.question-form.is-discovery-deep .popular-themes,.question-form.is-discovery-deep .mode-intro{display:none}
.dis-moi-embedded .question-form.is-discovery-deep #themes-browser{background:#fff}
.dis-moi-embedded .discovery-theme-options{grid-template-columns:1fr;gap:0;padding-bottom:4px}
.dis-moi-embedded .discovery-theme-options button{min-height:48px}
.dis-moi-embedded .discovery-detail{margin:0;padding:0;border:0}
.dis-moi-embedded .discovery-detail .themes-status{margin:0 0 8px;font-size:1rem}
.dis-moi-embedded .discovery-questions button{min-height:54px;font-size:.83rem}
.dis-moi-embedded .discovery-detail .result{margin:0;padding:16px;border:1px solid #a8d2cd;border-radius:14px;box-shadow:none}
.dis-moi-embedded .current-question{font-size:1rem}
.dis-moi-embedded .current-answer{padding:10px 12px;font-size:1rem;line-height:1.55}
.dis-moi-embedded .tool{padding-bottom:clamp(110px,31vw,150px)}
.drawer-seabed{background-image:url('/dis-moi/assets/seabed-transparent-20261019.png')}
.dis-moi-embedded .drawer-seabed{position:fixed;z-index:5;left:0;right:0;bottom:0;width:100%;height:clamp(110px,31vw,150px);background:transparent url('/dis-moi/assets/seabed-transparent-20261019.png') center bottom / 100% 100% no-repeat;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 9%);mask-image:linear-gradient(to bottom,transparent 0%,#000 9%);pointer-events:none}

/* Tailles et espacements adaptés au doigt dans le volet. */
.dis-moi-embedded .level-selector legend{font-size:.8rem}
.dis-moi-embedded .level-buttons{gap:8px}
.dis-moi-embedded .level-buttons button{min-height:52px;font-size:.92rem}
.dis-moi-embedded .mode-toggle{min-height:76px;gap:14px}
.dis-moi-embedded .mode-icon{width:46px;height:46px}
.dis-moi-embedded .mode-copy>span{font-size:1.02rem}
.dis-moi-embedded .mode-copy small{font-size:.8rem}
.dis-moi-embedded .popular-themes{gap:9px}
.dis-moi-embedded .popular-themes p{font-size:.87rem}
.dis-moi-embedded .popular-themes button{min-height:48px;padding:10px 16px;font-size:.87rem}
.dis-moi-embedded .discovery-group-toggle{min-height:68px;font-size:1rem}
.dis-moi-embedded .discovery-group-toggle small{font-size:.78rem}
.dis-moi-embedded .discovery-theme-options button{min-height:58px;padding:12px 8px;font-size:.92rem}
.dis-moi-embedded .theme-question-count{font-size:.85rem}
.dis-moi-embedded .discovery-questions button{min-height:66px;padding:15px 8px;font-size:.96rem}
.dis-moi-embedded .discovery-back{min-height:50px;margin-bottom:10px;padding:10px 4px;font-size:.92rem}
.dis-moi-embedded #discovery-more{min-height:52px;padding:10px 8px;font-size:.92rem}
.dis-moi-embedded .search-question-label{font-size:.9rem}
.dis-moi-embedded #question{min-height:96px;font-size:1rem}
.dis-moi-embedded .submit-button,.dis-moi-embedded .microphone{min-height:52px;font-size:.95rem}
.dis-moi-embedded .usage-help summary{display:flex;align-items:center;min-height:48px;font-size:.9rem}
.dis-moi-embedded .suggestions-list button,.dis-moi-embedded .confirmation-actions button{min-height:50px;font-size:.9rem}

/* Le papier du volet et celui de l'aquarelle forment une seule surface. */
.dis-moi-embedded body,.dis-moi-embedded .page-shell,.dis-moi-embedded .tool,.dis-moi-embedded .tool-head,.dis-moi-embedded .usage-help,.dis-moi-embedded .tool-foot{background-color:#fff}

/* Aide courte et lisible, fermée tant qu'elle n'est pas demandée. */
.dis-moi-embedded .usage-help{padding-top:8px;padding-bottom:12px;color:var(--ink);font-size:1rem;line-height:1.5}
.dis-moi-embedded .usage-help summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;list-style:none;font-size:1rem;font-weight:700;touch-action:manipulation}
.dis-moi-embedded .usage-help summary::-webkit-details-marker{display:none}
.dis-moi-embedded .usage-help summary:after{content:"⌄";flex:none;color:var(--sea);font-size:1.4rem;line-height:1}
.dis-moi-embedded .usage-help[open] summary:after{transform:rotate(180deg)}
.dis-moi-embedded .usage-help ol{margin:8px 0 0;padding-left:1.35em}
.dis-moi-embedded .usage-help li{padding-left:3px}
.dis-moi-embedded .usage-help li+li{margin-top:12px}
.dis-moi-embedded .usage-help .usage-note{margin:16px 0 0;padding-top:12px;border-top:1px solid #dbe8e4;color:var(--muted);font-size:.88rem;line-height:1.5}

/* Trois teintes douces donnent un repère sans multiplier les cadres. */
.dis-moi-embedded .level-selector{padding:12px 14px 14px;border-radius:15px;background:#f3f7f5}
.dis-moi-embedded #themes-browser,.dis-moi-embedded .question-form.is-discovery-deep #themes-browser{background:#edf7f4}
.dis-moi-embedded #search-browser{background:#eaf4fa}
.dis-moi-embedded .discovery-detail .result{background:#fff;border-color:#bcdad5}
.dis-moi-embedded .result-label{color:#176b79}
.dis-moi-embedded .current-question{margin:4px 0 0;padding:13px 15px;border-radius:11px;background:#fff8ea;color:var(--deep)}
.dis-moi-embedded .current-answer{border-left-color:#55a9a6;background:#f0f9f6}
.dis-moi-embedded #answer-source-links a{border-color:#c8dfe8;background:#eaf4fa}
.dis-moi-embedded #answer-source-links a:hover{background:#dceef6}
.dis-moi-embedded .answer-rule{background:#d5e7e2}

/* Pictogrammes cohérents avec les parcours et les milieux marins. */
.ui-icon-library{position:absolute;width:0;height:0;overflow:hidden}
.mode-icon svg{display:block;width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.popular-themes button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.popular-themes button svg{display:block;flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Pastilles tactiles pour chaque choix de navigation. */
.dis-moi-embedded .discovery-themes{display:grid;gap:9px;border:0}
.dis-moi-embedded .discovery-themes[hidden]{display:none}
.dis-moi-embedded .discovery-theme-group{border:0}
.dis-moi-embedded .discovery-group-toggle{min-height:64px;padding:12px 16px;border:1px solid #c7ded9;border-radius:17px;background:#fff}
.dis-moi-embedded .discovery-group-toggle[aria-expanded="true"]{border-color:#78bbb1;background:#f7fcfa}
.dis-moi-embedded .discovery-theme-options{gap:9px;padding:12px 2px 4px}
.dis-moi-embedded .discovery-theme-options button{min-height:54px;padding:11px 15px;border:1px solid #cbdedb;border-radius:999px;background:#fff}
.dis-moi-embedded .discovery-theme-options button[aria-pressed="true"]{padding-left:15px;border:1px solid var(--sea);border-radius:999px;background:#dff1eb;color:var(--deep)}
.dis-moi-embedded .theme-question-count{min-width:2.2em;padding:4px 7px;border-radius:999px;background:#e3f2ee}
.dis-moi-embedded .discovery-questions{gap:9px}
.dis-moi-embedded .discovery-questions button{min-height:64px;padding:13px 16px;border:1px solid #c8ded9;border-radius:17px;background:#fff}
.dis-moi-embedded .discovery-questions button:hover,.dis-moi-embedded .discovery-theme-options button:hover{border-color:#66a9a1;background:#f6fbf9}
.dis-moi-embedded #discovery-more{margin-top:12px;padding:10px 17px;border:1px solid #8bbfba;border-radius:999px;background:#fff}
.dis-moi-embedded .discovery-back{margin:0 0 12px;padding:9px 16px;border:1px solid #b9d8d3;border-radius:999px;background:#fff}

/* Les familles et leurs thèmes sont des pastilles, sans raccourcis en double. */
.dis-moi-embedded .discovery-themes{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px}
.dis-moi-embedded .discovery-theme-group{flex:0 1 auto}
.dis-moi-embedded .discovery-theme-group.is-open{flex-basis:100%}
.dis-moi-embedded .discovery-group-toggle{width:auto;min-height:54px;gap:10px;padding:9px 14px;border-radius:999px;font-size:.9rem}
.dis-moi-embedded .discovery-group-toggle>span:nth-child(2){display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap}
.dis-moi-embedded .discovery-group-toggle small{display:inline-block;margin:0;padding:3px 7px;border-radius:999px;background:#e5f3ef;font-size:.72rem;line-height:1.2}
.dis-moi-embedded .discovery-group-chevron{width:7px;height:7px;margin:0 2px 3px 0}
.dis-moi-embedded .discovery-theme-options{display:flex;flex-wrap:wrap;gap:9px;padding:14px 0 4px}
.dis-moi-embedded .discovery-theme-options[hidden]{display:none}
.dis-moi-embedded .discovery-theme-options button{flex:0 1 auto;width:auto;min-height:50px;gap:8px;padding:9px 13px;font-size:.84rem}
.dis-moi-embedded .theme-question-count{font-size:.77rem}
.discovery-navigation{display:flex;flex-wrap:wrap;gap:8px}
.theme-group-icon{display:block;flex:none;width:24px;height:24px;margin-right:2px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}

/* Deux familles par rangée dans le volet. */
.dis-moi-embedded .discovery-themes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dis-moi-embedded .discovery-theme-group{min-width:0}
.dis-moi-embedded .discovery-theme-group.is-open{grid-column:1/-1}
.dis-moi-embedded .discovery-theme-group:last-child:nth-child(odd){grid-column:1/-1}
.dis-moi-embedded .discovery-group-toggle{position:relative;display:flex;align-items:center;gap:7px;width:100%;min-height:84px;padding:11px 24px 11px 11px;border-radius:17px;text-align:left}
.dis-moi-embedded .discovery-group-toggle>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;gap:4px;line-height:1.2}
.dis-moi-embedded .discovery-group-toggle small{margin:0;font-size:.7rem;white-space:normal}
.dis-moi-embedded .discovery-group-chevron{position:absolute;right:11px;top:50%;margin:-5px 0 0}
.dis-moi-embedded .theme-group-icon{width:21px;height:21px;margin:0}

/* La couleur du thème accompagne les questions puis leur réponse. */
.dis-moi-embedded .discovery-theme-options button{border-color:var(--theme-border,#cbdedb);background:var(--theme-soft,#edf7f4);color:var(--deep)}
.dis-moi-embedded .discovery-theme-options button:before{content:"";display:block;flex:none;width:10px;height:10px;border-radius:50%;background:var(--theme-accent,#176b79)}
.dis-moi-embedded .discovery-theme-options button[aria-pressed="true"]{border-color:var(--theme-accent,#176b79);background:var(--theme-soft,#edf7f4)}
.dis-moi-embedded .discovery-detail .themes-status{color:var(--deep)}
.dis-moi-embedded .discovery-questions button{border-color:var(--theme-border,#c8ded9);background:#fff;color:var(--deep)}
.dis-moi-embedded .discovery-questions button:after{color:var(--theme-accent,#176b79)}
.dis-moi-embedded .discovery-detail .result{border-color:var(--theme-border,#bcdad5)}
.dis-moi-embedded .discovery-detail .result-label{color:var(--deep)}
.dis-moi-embedded .discovery-detail .current-question{background:var(--theme-soft,#fff8ea)}
.dis-moi-embedded .discovery-detail .current-answer{border-left-color:var(--theme-accent,#55a9a6);background:var(--theme-soft,#f0f9f6)}
.dis-moi-embedded .discovery-detail #answer-source-links a{border-color:var(--theme-border,#c8dfe8);background:var(--theme-soft,#eaf4fa)}
.dis-moi-embedded #discovery-more{border-color:var(--theme-border,#8bbfba);background:var(--theme-soft,#edf7f4);color:var(--deep)}

/* Une bordure continue remplace les barres latérales colorées. */
.dis-moi-embedded .discovery-detail .themes-status{padding:0 0 10px;border:0;border-bottom:2px solid var(--theme-border,#c8ded9)}
.dis-moi-embedded .discovery-questions button{border:1px solid var(--theme-border,#c8ded9);background:#fff}
.dis-moi-embedded .discovery-questions button:hover{border-color:var(--theme-accent,#176b79);background:var(--theme-soft,#edf7f4)}
.dis-moi-embedded .discovery-detail .current-answer{border:1px solid var(--theme-border,#c8ded9);border-radius:12px}

/* Un seul retour, dans sa position habituelle, reste accessible pendant la réponse. */
.dis-moi-embedded #themes-browser.is-answer-open .discovery-navigation{position:sticky;top:0;z-index:12;margin:0 -8px 12px;padding:8px;border-radius:0 0 14px 14px;background:rgba(255,255,255,.97);box-shadow:0 6px 16px rgba(5,53,67,.10)}
.dis-moi-embedded #themes-browser.is-answer-open .discovery-detail .result{scroll-margin-top:86px}

/* Une couleur commune relie la famille, ses sujets, ses questions et la réponse. */
.dis-moi-embedded .discovery-group-toggle,.dis-moi-embedded .discovery-group-toggle[aria-expanded="true"]{border-color:var(--theme-border,#c7ded9);background:var(--theme-soft,#edf7f4);color:var(--deep)}
.dis-moi-embedded .discovery-group-toggle .theme-group-icon{color:var(--theme-accent,#176b79)}
.dis-moi-embedded .discovery-group-toggle small{border:1px solid var(--theme-border,#c7ded9);background:#fff;color:var(--deep)}
.dis-moi-embedded .discovery-questions button{background:var(--theme-soft,#edf7f4)}
.dis-moi-embedded #themes-browser.has-theme-color,.dis-moi-embedded .question-form.is-discovery-deep #themes-browser.has-theme-color{border-color:var(--theme-border,#c7ded9);background:var(--theme-soft,#edf7f4)}
/* Lien vers la page de présentation de dis-MOI */
.dis-moi-embedded .tool-foot{
    display:block;
}

.dis-moi-embedded .home-link{
    display:inline-flex;
    align-items:center;
    margin-top:14px;
    padding:10px 16px;
    border:1px solid #b9d8d3;
    border-radius:999px;
    background:#edf7f4;
    color:var(--deep);
    font-size:.82rem;
    font-weight:700;
    line-height:1.2;
    text-decoration:none;
}

.dis-moi-embedded .home-link:hover{
    border-color:var(--sea);
    background:#e1f1ed;
    color:var(--sea);
}
.dis-moi-embedded .foot-messages{max-width:none}
.dis-moi-embedded .foot-messages .home-link{display:flex;width:max-content;max-width:100%;margin:14px auto 0}

/* Le même glossaire accompagne les sujets, les questions et la saisie libre. */
.input-glossary{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0;color:var(--muted);font-size:.78rem}
.input-glossary[hidden]{display:none}
.glossary-inline{border-bottom:1px dotted currentColor;cursor:help}
.glossary-inline.glossary-duplicate,.glossary-term.glossary-duplicate{border-bottom:0;cursor:text;pointer-events:none}
.glossary-info.glossary-duplicate{display:none!important}
.input-glossary .glossary-info{display:inline-flex;align-items:center;justify-content:center;flex:none;width:auto;min-width:38px;min-height:38px;padding:5px 8px;border:1px solid #bfd9d6;border-radius:9px;background:#f4faf8;color:var(--deep);font:600 .72rem/1.2 system-ui,sans-serif;text-align:center;cursor:help}
.glossary-info:hover,.glossary-info:focus-visible{border-color:var(--sea);background:#e6f3ef;outline:2px solid var(--sea);outline-offset:1px}
.current-question .glossary-inline:focus-visible{outline:2px solid var(--sea);outline-offset:2px}

.active-zone{display:grid;gap:5px;background:#075367;color:#fff;padding:14px 18px;border-radius:12px;margin:0 0 16px;border-left:5px solid #59dbcb}.active-zone strong{font-size:1.35rem}.active-zone small{opacity:.9}.active-zone>span{font-size:.8rem;text-transform:uppercase;letter-spacing:.07em}

#zone-selector { width: 100%; padding: 12px; margin-bottom: 16px; font: inherit; border-radius: 10px; }

#alternative-zones:not([hidden]) { margin-top: 1.25rem; padding: 1.1rem; border: 2px solid #2b8089; border-radius: 14px; background: #eef8f6; }
#alternative-zones p { margin: 0 0 1rem; }
#alternative-zones button { display: block; width: 100%; min-height: 48px; margin: .6rem 0 0; padding: .85rem 1rem; border-radius: 12px; border: 2px solid #064555; background: #064555; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
#alternative-zones button:hover { background: #176b79; }
#alternative-zones button:focus-visible { outline: 3px solid #176b79; outline-offset: 3px; }

/* Une exploration calme, partagee avec l'aperçu editorial. */
.tool {max-width:100%;box-shadow:0 16px 48px rgba(3,44,61,.14)}
.tool-head {gap:18px;padding-bottom:22px}
.curiosity-bar {display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:20px 0}
.curiosity-bar button {min-height:46px;border:1px solid #b4d4cf;border-radius:999px;padding:11px 19px;background:#e6f2ec;color:#063d50;font-weight:700;cursor:pointer}
.curiosity-bar button:hover:not(:disabled) {background:#d5e9df}
.curiosity-bar button:disabled {opacity:.55;cursor:default}
.curiosity-bar p {flex:1;min-width:150px;margin:0;font-size:.85rem;line-height:1.5;color:#56727a}
.mode-toggle {border-radius:18px;box-shadow:none}
.current-question,.current-answer {white-space:pre-wrap;overflow-wrap:anywhere}
.current-answer {line-height:1.75}
.result {scroll-margin-top:20px}
.discovery-questions button,.suggestions-list button {min-height:44px;line-height:1.45}
.level-buttons button[aria-pressed="true"] {background:#176b79;color:#fff;border-color:#176b79;box-shadow:0 0 0 2px #fff,0 0 0 4px #b4d4cf}
button:focus-visible,a:focus-visible,select:focus-visible {outline:3px solid #d99e32;outline-offset:3px}
@media(max-width:480px) {.tool-head {gap:12px}.tool-head .dis-moi-mascot{width:72px;height:72px;flex:0 0 72px}.curiosity-bar{gap:10px}.curiosity-bar button{width:100%}.curiosity-bar p{text-align:center}.level-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.current-answer{font-size:1.06rem}.current-question{font-size:1.1rem}}
@media(prefers-reduced-motion:reduce) {*,*::before,*::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.curiosity-next{padding:0 clamp(22px,6vw,54px) 24px;text-align:center}.curiosity-next[hidden]{display:none}.curiosity-next button{min-height:46px;padding:12px 20px;border:1px solid #b4d4cf;border-radius:999px;background:#e6f2ec;color:#063d50;font:700 1rem Arial,sans-serif;cursor:pointer}

/* The guide retains a lightly translucent background when shown in its drawer. */
.dis-moi-embedded .tool{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.dis-moi-embedded .tool-head,.dis-moi-embedded .level-selector,.dis-moi-embedded #themes-browser{background:rgba(255,255,255,.35)}

/* Leave transparency to the outer drawer; do not stack opaque page backgrounds. */
html.dis-moi-embedded,.dis-moi-embedded body,.dis-moi-embedded .page-shell,.dis-moi-embedded .tool,.dis-moi-embedded .tool-head,.dis-moi-embedded .question-form,.dis-moi-embedded .level-selector,.dis-moi-embedded .usage-help,.dis-moi-embedded .tool-foot{background:transparent}
