/* SOMAGON — « Emplacements » with the 3D mannequin (Haize's brief, 2026-10-18).
   The mannequin keeps its colours in both themes (graphite figure, violet light; zones violet when touched, amber in
   progress, green complete: ZONE_TONES in mannequin-3d.js, Haize 2026-11-19); its stage follows the
   app theme: dark in the dark theme, light in the light theme (Haize, 2026-10-20), like the zone card underneath. */
html[data-theme] #app .mq-zones [hidden]{display:none!important}
html[data-theme] #app .mq-zones{--mq-violet:#7C5CFF;--mq-violet-deep:#6342F0;--mq-zone:#A78BFA;--mq-rim:#DCC8FF;--mq-field:var(--sg-surface);--mq-card:var(--sg-surface);--mq-card-line:var(--sg-line);--mq-edge:#0F0F14}
html[data-theme="dark"] #app .mq-zones{--mq-field:#18171F;--mq-card:#1B1A22;--mq-card-line:rgba(220,200,255,.16);--mq-edge:var(--sg-bg)}

/* Title, hint and the real count of chosen zones. */
html[data-theme] #app .mq-zones .mq-heading{align-items:start}
html[data-theme] #app .mq-zones .mq-heading h2{font-size:calc(1.375rem * var(--elan-ui-scale,1));letter-spacing:-.01em}
html[data-theme] #app .mq-zones .mq-hint{margin:6px 0 0;font-size:calc(.9375rem * var(--elan-ui-scale,1));line-height:1.4;color:var(--sg-muted)}
html[data-theme] #app .mq-zones .mq-heading .ps2-choose-count{margin:2px 0 0;padding:7px 14px;border:1.5px solid var(--mq-violet);border-radius:999px;background:transparent;color:var(--sg-text);white-space:nowrap}

/* The stage: the figure fills it, the views rail top left; a finger turns the figure, two fingers zoom (Haize, 2026-10-18).
   A diffuse violet light behind the body, no bright ring under the feet. */
html[data-theme] #app .mq-zones .mq-stage{scroll-margin-top:72px;position:relative;height:clamp(360px,54svh,560px);margin:12px -16px 0;overflow:hidden;isolation:isolate;color:#FFFFFF;
 background:radial-gradient(70% 62% at 50% 46%,rgba(124,92,255,.15) 0%,rgba(124,92,255,.07) 42%,rgba(124,92,255,.02) 70%,transparent 90%),linear-gradient(180deg,var(--mq-edge) 0%,#15141D 50%,var(--mq-edge) 100%)}
/* Light theme (Haize, 2026-10-20): the same scene on a light background, and, as in the dark theme, no edge: the pale
   violet light behind the body fades out on every side into the page. The figure, its lights and the zones keep their colours. */
html[data-theme]:not([data-theme="dark"]) #app .mq-zones .mq-stage{color:var(--sg-text);background:none}
html[data-theme]:not([data-theme="dark"]) #app .mq-zones .mq-stage:not([data-state="error"])::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:radial-gradient(70% 62% at 50% 46%,rgba(124,92,255,.16) 0%,rgba(124,92,255,.08) 42%,rgba(124,92,255,.03) 70%,transparent 90%),#ECE9F6;
 -webkit-mask-image:radial-gradient(closest-side at 50% 50%,#000 0%,#000 46%,rgba(0,0,0,.84) 58%,rgba(0,0,0,.56) 71%,rgba(0,0,0,.26) 84%,rgba(0,0,0,.07) 94%,transparent 100%);
 mask-image:radial-gradient(closest-side at 50% 50%,#000 0%,#000 46%,rgba(0,0,0,.84) 58%,rgba(0,0,0,.56) 71%,rgba(0,0,0,.26) 84%,rgba(0,0,0,.07) 94%,transparent 100%)}
/* Dark theme (Haize, 2026-10-18): the scene has no edge. Its background fades out on every side into the page, so it
   is never seen to stop above the zone card or under the title. */
html[data-theme="dark"] #app .mq-zones .mq-stage{background:none}
html[data-theme="dark"] #app .mq-zones .mq-stage::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:radial-gradient(70% 62% at 50% 46%,rgba(124,92,255,.15) 0%,rgba(124,92,255,.07) 42%,rgba(124,92,255,.02) 70%,transparent 90%),#15141D;
 -webkit-mask-image:radial-gradient(closest-side at 50% 50%,#000 0%,#000 46%,rgba(0,0,0,.84) 58%,rgba(0,0,0,.56) 71%,rgba(0,0,0,.26) 84%,rgba(0,0,0,.07) 94%,transparent 100%);
 mask-image:radial-gradient(closest-side at 50% 50%,#000 0%,#000 46%,rgba(0,0,0,.84) 58%,rgba(0,0,0,.56) 71%,rgba(0,0,0,.26) 84%,rgba(0,0,0,.07) 94%,transparent 100%)}
html[data-theme] #app .mq-zones .mq-host,html[data-theme] #app .mq-zones .mq-viewer{position:absolute;inset:0}
/* The faint light under the feet fades out before the bottom edge instead of being cut there. */
html[data-theme] #app .mq-zones .mq-host{-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 26px),transparent 100%);mask-image:linear-gradient(180deg,#000 calc(100% - 26px),transparent 100%)}
html[data-theme] #app .mq-zones .mq-canvas{display:block;width:100%;height:100%;touch-action:pan-y;outline:none;cursor:grab;-webkit-tap-highlight-color:transparent}
html[data-theme] #app .mq-zones .mq-canvas:focus-visible{outline:2px solid var(--mq-rim)!important;outline-offset:-3px}
/* The checks and « + » are drawn in 3D on the body; these buttons only follow them for the keyboard and screen readers. */
html[data-theme] #app .mq-zones .mq-markers{position:absolute;inset:0;overflow:hidden;pointer-events:none}
html[data-theme] #app .mq-zones .mq-marker{position:absolute;left:0;top:0;width:44px;min-width:0;height:44px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;opacity:1;pointer-events:none}
html[data-theme] #app .mq-zones .mq-marker:focus-visible{outline:2px solid #FFFFFF!important;outline-offset:0}
html[data-theme]:not([data-theme="dark"]) #app .mq-zones .mq-marker:focus-visible{outline-color:var(--mq-violet)!important}
html[data-theme] #app .mq-zones .mq-views{position:absolute;left:10px;top:12px;z-index:2;display:grid;gap:5px;padding:4px;border:1px solid rgba(220,200,255,.14);border-radius:15px;background:rgba(15,15,20,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
html[data-theme] #app .mq-zones .mq-view{display:grid;justify-items:center;align-content:center;gap:1px;width:46px;min-width:0;min-height:44px;margin:0;padding:4px 2px;border:1px solid rgba(220,200,255,.12);border-radius:11px;background:rgba(31,31,40,.82);color:rgba(255,255,255,.78);font:600 10px/1.1 var(--elan-ui-font,system-ui);text-align:center;box-shadow:none}
html[data-theme] #app .mq-zones .mq-view svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] #app .mq-zones .mq-view[aria-pressed="true"]{border-color:rgba(220,200,255,.7);background:linear-gradient(180deg,rgba(124,92,255,.95),rgba(99,66,240,.9));color:#FFFFFF;box-shadow:0 0 0 1px rgba(167,139,250,.35),0 4px 12px rgba(124,92,255,.34)}
@media(hover:hover){html[data-theme] #app .mq-zones .mq-view:not([aria-pressed="true"]):hover{background:rgba(52,48,70,.9);color:#FFFFFF}}
html[data-theme]:not([data-theme="dark"]) #app .mq-zones .mq-views{border-color:var(--sg-line);background:rgba(255,255,255,.72)}
html[data-theme]:not([data-theme="dark"]) #app .mq-zones .mq-view:not([aria-pressed="true"]){border-color:var(--sg-line);background:#FFFFFF;color:var(--sg-text)}
@media(hover:hover){html[data-theme]:not([data-theme="dark"]) #app .mq-zones .mq-view:not([aria-pressed="true"]):hover{background:#F1EEF9;color:var(--sg-text)}}
html[data-theme]:not([data-theme="dark"]) #app .mq-zones .mq-status{color:var(--sg-muted)}
html[data-theme] #app .mq-zones .mq-status{position:absolute;left:64px;right:64px;top:50%;margin:0;transform:translateY(-50%);font-size:14px;line-height:1.45;text-align:center;color:rgba(255,255,255,.72)}
html[data-theme] #app .mq-zones .mq-stage[data-state="ready"] .mq-status{display:none}
html[data-theme] #app .mq-zones .mq-stage[data-state="loading"] .mq-views{opacity:.45;pointer-events:none}
/* Without the 3D (old phone, WebGL off): a short note, then every zone as a button. */
html[data-theme] #app .mq-zones .mq-stage[data-state="error"]{height:auto;margin-inline:0;padding:14px 16px;border:1px solid var(--sg-line);border-radius:16px;background:var(--sg-soft);color:var(--sg-text)}
html[data-theme] #app .mq-zones .mq-stage[data-state="error"] :is(.mq-host,.mq-views){display:none}
html[data-theme] #app .mq-zones .mq-stage[data-state="error"] .mq-status{position:static;transform:none;text-align:left;color:var(--sg-text)}
html[data-theme] #app .mq-zones .mq-stage:not([data-state="error"])+.mq-chips{display:none}
html[data-theme] #app .mq-zones .mq-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
html[data-theme] #app .mq-zones .mq-chip{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin:0;padding:6px 14px 6px 10px;border:1px solid var(--sg-line);border-radius:999px;background:var(--mq-card);color:var(--sg-text);font:600 14px/1.2 var(--elan-ui-font,system-ui)}
html[data-theme] #app .mq-zones .mq-chip svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] #app .mq-zones .mq-chip.is-on{border-color:var(--mq-violet);color:var(--sg-text)}
html[data-theme] #app .mq-zones .mq-chip.is-on svg{color:var(--mq-violet)}
html[data-theme] #app .mq-zones .mq-chip[aria-pressed="true"]{background:var(--mq-violet);border-color:var(--mq-violet);color:#FFFFFF}
html[data-theme] #app .mq-zones .mq-chip[aria-pressed="true"] svg{color:#FFFFFF}
/* Haize (2026-11-19): an offered zone is amber until complete, then green, like on the mannequin; the one touched stays violet. */
html[data-theme] #app .mq-zones .mq-chip.is-on[data-zone-progress="todo"]:not([aria-pressed="true"]){border-color:var(--sg-wait)}
html[data-theme] #app .mq-zones .mq-chip.is-on[data-zone-progress="todo"]:not([aria-pressed="true"]) svg{color:var(--sg-wait-icon)}
html[data-theme] #app .mq-zones .mq-chip.is-on[data-zone-progress="done"]:not([aria-pressed="true"]){border-color:var(--sg-ok)}
html[data-theme] #app .mq-zones .mq-chip.is-on[data-zone-progress="done"]:not([aria-pressed="true"]) svg{color:var(--sg-ok-icon)}

/* The three colours, said once on the stage, top right, in the frame of the views rail (Haize, 2026-11-19): violet the zone
   touched, amber in progress, green complete. Without the 3D, the same three under the note, for the list of zones. */
html[data-theme] #app .mq-zones .mq-legend{position:absolute;right:10px;top:12px;z-index:2;display:grid;gap:4px;margin:0;padding:8px 10px;list-style:none;border:1px solid rgba(220,200,255,.14);border-radius:15px;background:rgba(15,15,20,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none}
html[data-theme] #app .mq-zones .mq-legend>li{display:flex;align-items:center;gap:7px;margin:0;padding:0;color:rgba(255,255,255,.86);font:600 12px/1.25 var(--elan-ui-font,system-ui);white-space:nowrap}
html[data-theme] #app .mq-zones .mq-legend>li::before{content:"";flex:none;width:10px;height:10px;border-radius:50%;background:var(--mq-tone)}
html[data-theme] #app .mq-zones .mq-legend>li[data-tone="live"]{--mq-tone:#8F6EFF}
html[data-theme] #app .mq-zones .mq-legend>li[data-tone="wait"]{--mq-tone:#F4C34B}
html[data-theme] #app .mq-zones .mq-legend>li[data-tone="ok"]{--mq-tone:#49CE84}
html[data-theme]:not([data-theme="dark"]) #app .mq-zones .mq-legend{border-color:var(--sg-line);background:rgba(255,255,255,.72)}
html[data-theme]:not([data-theme="dark"]) #app .mq-zones .mq-legend>li{color:var(--sg-text)}
/* Without the 3D the chips take the theme's tones: the legend says them too. */
html[data-theme] #app .mq-zones .mq-stage[data-state="error"] .mq-legend{position:static;display:flex;flex-wrap:wrap;gap:6px 14px;margin:10px 0 0;padding:0;border:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-theme] #app .mq-zones .mq-stage[data-state="error"] .mq-legend>li{color:var(--sg-text)}
html[data-theme] #app .mq-zones .mq-stage[data-state="error"] .mq-legend>li[data-tone="live"]{--mq-tone:var(--sg-live)}
html[data-theme] #app .mq-zones .mq-stage[data-state="error"] .mq-legend>li[data-tone="wait"]{--mq-tone:var(--sg-wait)}
html[data-theme] #app .mq-zones .mq-stage[data-state="error"] .mq-legend>li[data-tone="ok"]{--mq-tone:var(--sg-ok)}

/* The card of the zone being set: thumbnail, name, state and switch, then two columns of settings. */
html[data-theme] #app .mq-zones .mq-cards{margin:14px 0 0}
html[data-theme] #app .mq-zones .mq-card{display:block;margin:0;padding:16px 16px 18px;border:1px solid var(--mq-card-line);border-radius:24px;background:var(--mq-card);box-shadow:0 -1px 0 rgba(255,255,255,.03) inset;scroll-margin-bottom:112px}
html[data-theme] #app .mq-zones .mq-card-head{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:14px}
html[data-theme] #app .mq-zones .mq-thumb{display:grid;place-items:center;width:72px;height:72px;overflow:hidden;border:1px solid rgba(220,200,255,.18);border-radius:14px;background:radial-gradient(70% 70% at 50% 40%,#2B2738,#15141B)}
/* The thumbnail is drawn with a transparent background: the card's background shows behind it, light in the light theme. */
html[data-theme]:not([data-theme="dark"]) #app .mq-zones .mq-thumb{border-color:var(--sg-line);background:radial-gradient(70% 70% at 50% 40%,#FFFFFF,#ECE9F5)}
html[data-theme] #app .mq-zones .mq-thumb img{display:block;width:100%;height:100%;object-fit:cover}
html[data-theme] #app .mq-zones .mq-thumb img.mq-thumb-figure{width:auto;height:92%;object-fit:contain}
html[data-theme] #app .mq-zones .mq-card-title{min-width:0}
html[data-theme] #app .mq-zones .mq-card-title h3{margin:0;font:650 calc(1.1875rem * var(--elan-ui-scale,1))/1.25 var(--elan-ui-font,system-ui);color:var(--sg-text);overflow-wrap:anywhere}
html[data-theme] #app .mq-zones .mq-card .mq-state{display:block;margin:4px 0 0;padding:0;font:500 calc(.875rem * var(--elan-ui-scale,1))/1.35 var(--elan-ui-font,system-ui);color:var(--sg-muted)!important;background:none}
html[data-theme] #app .mq-zones .mq-card .mq-state .mq-state-on{font-weight:650;color:var(--sg-ok-ink)}
html[data-theme] #app .mq-zones .mq-card .mq-state .mq-state-todo{font-weight:650;color:var(--sg-wait-ink)}
html[data-theme] #app .mq-zones .mq-switch{position:relative;display:block;width:56px;height:34px;margin:0;cursor:pointer}
/* The switch is touched over 44 px of height without being drawn bigger (audit 2026-10-26, P2-6). */
html[data-theme] #app .mq-zones .mq-switch::before{content:"";position:absolute;inset:-5px 0}
html[data-theme] #app .mq-zones .mq-switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
html[data-theme] #app .mq-zones .mq-switch-track{position:absolute;inset:0;border-radius:999px;background:var(--sg-control);transition:background .18s ease}
html[data-theme] #app .mq-zones .mq-switch-track::after{content:"";position:absolute;top:4px;left:4px;width:26px;height:26px;border-radius:50%;background:#FFFFFF;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .18s ease}
html[data-theme] #app .mq-zones .mq-switch input:checked+.mq-switch-track{background:linear-gradient(90deg,var(--mq-violet-deep),var(--mq-violet))}
html[data-theme] #app .mq-zones .mq-switch input:checked+.mq-switch-track::after{transform:translateX(22px)}
html[data-theme] #app .mq-zones .mq-switch input:disabled+.mq-switch-track{opacity:.45}
html[data-theme] #app .mq-zones .mq-switch input:focus-visible+.mq-switch-track{outline:2px solid var(--sg-accent);outline-offset:3px}
html[data-theme] #app .mq-zones .mq-max{margin:12px 0 0;font-size:calc(.875rem * var(--elan-ui-scale,1));line-height:1.4;color:var(--sg-muted)}
html[data-theme] #app .mq-zones .mq-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;margin:18px 0 0}
html[data-theme] #app .mq-zones .mq-fields{align-items:start}
html[data-theme] #app .mq-zones .mq-field{display:grid;grid-template-rows:auto auto;align-content:start;gap:7px;min-width:0;margin:0!important;padding:0!important;border:0}
html[data-theme] #app .mq-zones .mq-label{display:flex;align-items:center;gap:6px;min-height:24px;margin:0!important;padding:0!important;font:600 calc(.875rem * var(--elan-ui-scale,1))/1.2 var(--elan-ui-font,system-ui);color:var(--sg-muted)}
html[data-theme] #app .mq-zones .mq-control{display:flex;align-items:stretch;box-sizing:border-box;width:100%;min-width:0;height:50px;min-height:50px;margin:0;padding:0;overflow:hidden;border:1px solid var(--sg-line);border-radius:13px;background:var(--mq-field);color:var(--sg-text);text-align:left;box-shadow:none}
html[data-theme] #app .mq-zones .mq-control :is(select,input){flex:1;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0 10px 0 14px!important;border:0!important;border-radius:0!important;background-color:transparent!important;color:var(--sg-text)!important;font:500 16px/1.2 var(--elan-ui-font,system-ui)!important;box-shadow:none!important;outline:none}
html[data-theme] #app .mq-zones .mq-control select{appearance:none;-webkit-appearance:none;padding-right:34px!important;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A95A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center/18px!important}
html[data-theme] #app .mq-zones .mq-control :is(select,input):focus-visible{outline:none!important}
html[data-theme] #app .mq-zones .mq-control:focus-within{border-color:var(--mq-violet);box-shadow:0 0 0 1px var(--mq-violet)}
html[data-theme] #app .mq-zones .mq-control input::placeholder{color:var(--sg-muted);opacity:.8}
/* Ringed, the box shows the whole red line on its own border, not only its inner half (Haize, 2026-10-27). */
html[data-theme] #app .mq-zones .mq-control[data-sg-outline]{overflow:visible}
html[data-theme] #app .mq-zones :is(.mq-size,.mq-price){cursor:pointer}
/* The earlier zone card's size pill (placement-editor.css) must not reshape this field. */
html[lang][data-theme] #app .mq-zones .mq-card :is(.mq-size[data-zones-size],.mq-price[data-zones-price]){justify-content:flex-start!important;width:100%!important;min-height:50px!important;padding:0!important;border:1px solid var(--sg-line)!important;border-radius:13px!important;background:var(--mq-field)!important;color:var(--sg-text)!important}
html[data-theme] #app .mq-zones :is(.mq-size,.mq-price)>span{display:flex;align-items:center;padding:0 14px;font:500 16px/1.2 var(--elan-ui-font,system-ui);white-space:nowrap}
html[data-theme] #app .mq-zones .mq-size>span.is-empty{color:var(--sg-muted);opacity:.8}
html[data-theme] #app .mq-zones .mq-actions{display:grid;margin:20px 0 0}
html[data-theme] #app .mq-zones .mq-place{display:grid;min-width:0}
/* Ringed (« À compléter », a missing placement), the block grows around the « À faire » badge without moving the page. */
html[data-theme] #app .mq-zones .mq-place[data-sg-outline]{padding:14px 6px 6px;margin:-14px -6px -6px;border-radius:21px}
html[data-theme] #app .mq-zones .mq-action{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;width:100%;min-width:0;min-height:56px;margin:0;padding:8px 8px;border:1px solid var(--sg-line);border-radius:15px;background:transparent;color:var(--sg-text);font:650 calc(.9375rem * var(--elan-ui-scale,1))/1.2 var(--elan-ui-font,system-ui);text-align:center;box-shadow:none}
html[data-theme] #app .mq-zones .mq-action svg{flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* « Placer sur mes photos » is the reference violet action (tokens in somagon-theme.css). */
html[data-theme] #app .mq-zones .mq-action.is-primary{border-color:transparent;background:var(--sg-cta-fill);color:var(--sg-cta-ink);box-shadow:var(--sg-cta-glow)}
html[data-theme] #app .mq-zones .mq-action .ps2-todo-badge{position:absolute;top:-9px;right:8px;margin:0;padding:2px 8px;border-radius:999px;background:#C8102E;color:#FFFFFF;font:700 11px/1.4 var(--elan-ui-font,system-ui)}
html[data-theme="dark"] #app .mq-zones .mq-action .ps2-todo-badge{background:#D42A43}
@media(hover:hover){html[data-theme] #app .mq-zones .mq-action:not(.is-primary):hover{background:var(--sg-soft)}}
@media(max-width:350px){html[data-theme] #app .mq-zones .mq-fields{grid-template-columns:minmax(0,1fr)}}
html[data-app-text="large"] #app .mq-zones .mq-fields{grid-template-columns:minmax(0,1fr)}
/* « Taille réelle du patch »: the agreement sentences in red above the size fields. */
html[data-theme] .ps2-sheet p.ps2-size-alert{margin:0 0 10px;color:#C8102E;font-weight:650}
html[data-theme="dark"] .ps2-sheet p.ps2-size-alert{color:#FF6B70}
/* What the size typed makes of the advised price, under the two fields (review n° 30): plain text, said before the save. */
html[data-theme] .ps2-sheet p.ps2-size-price{margin:10px 0 0;font-weight:600;line-height:1.45}
html[data-theme] .ps2-sheet p.ps2-size-price:empty{display:none}
/* The price panel (Haize, 2026-10-18): the price to change, then the colour bar under it, then « Valider » on the right. */
/* What the suggested price rests on (Haize, 2026-10-19): the price in the text colour, one sentence, then the calculation
   as a short bill, one row per factor with its value on the right, the suggested price as the last row. */
html[data-theme] .ps2-sheet-body p.ps2-price-advice{margin:0 0 6px;color:var(--es-muted)}
html[data-theme] .ps2-sheet-body p.ps2-price-advice strong{color:var(--es-ink);font-weight:650}
html[data-theme] .ps2-sheet-body p.ps2-price-lead{margin:0 0 12px}
html[data-theme] .ps2-sheet-body dl.ps2-price-calc{display:grid;margin:0 0 14px;padding:0;font-size:calc(.875rem * var(--elan-ui-scale,1));line-height:1.4}
html[data-theme] .ps2-sheet-body dl.ps2-price-calc>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid var(--es-line)}
html[data-theme] .ps2-sheet-body dl.ps2-price-calc>div:first-child{border-top:0;padding-top:0}
html[data-theme] .ps2-sheet-body dl.ps2-price-calc dt{min-width:0;margin:0;color:var(--es-ink);font-weight:550;text-wrap:pretty}
html[data-theme] .ps2-sheet-body dl.ps2-price-calc dt small{display:block;margin-top:1px;color:var(--es-muted);font-weight:400;font-size:calc(.8125rem * var(--elan-ui-scale,1))}
/* The sync date of the followers is never cut at its hyphens (review 2026-10-22 N66). */
html[data-theme] .ps2-sheet-body dl.ps2-price-calc dt small .ps2-date{white-space:nowrap}
html[data-theme] .ps2-sheet-body dl.ps2-price-calc dd{flex:none;margin:0;color:var(--es-ink);font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-theme] .ps2-sheet-body dl.ps2-price-calc>div.is-total{border-top:1.5px solid var(--es-ink)}
html[data-theme] .ps2-sheet-body dl.ps2-price-calc>div.is-total :is(dt,dd){font-weight:700}
/* Followers not entered: a quiet link to Mon profil › Réseaux sociaux, under the bill. */
html[data-theme] .ps2-sheet-body button.ps2-price-social{display:inline-flex;align-items:center;min-height:44px;margin:-8px 0 6px;padding:0;border:0;background:none;color:var(--es-accent-ink);font:600 calc(.875rem * var(--elan-ui-scale,1))/1.4 var(--elan-ui-font,system-ui);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
/* No line breaks for nothing (Haize, 2026-10-19): the numbers keep their units through non-breaking spaces (keep() in
   placement-editor.js), and the lines are balanced so that a last word never sits alone. */
html[data-theme] .ps2-sheet-body :is(p,li){text-wrap:pretty}
html[data-theme] .ps2-sheet .ps2-price-field{display:grid;gap:8px;font-size:calc(.9375rem * var(--elan-ui-scale,1));line-height:1.4}
html[data-theme] .ps2-sheet .ps2-price-field input{box-sizing:border-box;min-width:0;width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--es-line);border-radius:12px;background:var(--es-panel);color:var(--es-ink);font:400 calc(1rem * var(--elan-ui-scale,1))/1.3 var(--elan-ui-font,system-ui)}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position:not([hidden]){display:grid;gap:0;margin:4px 0 0;text-align:center}
/* The colour bar is a slider (Haize, 2026-10-19): a round thumb shows the price and follows the finger; touching the bar
   anywhere moves it there. The bar keeps 14 px of touch area above and below, and 11 px at each end for the thumb. */
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position-scale{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:14px 11px;border-radius:14px;touch-action:none;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position-scale:focus-visible{outline:2px solid var(--es-accent-ink);outline-offset:0}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position-scale i{height:8px;border-radius:4px;opacity:.48}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-thumb{position:absolute;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;box-sizing:border-box;border:3px solid #49C99A;border-radius:50%;background:#FFFFFF;box-shadow:0 1px 4px rgb(0 0 0 / .35);pointer-events:none}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-thumb[hidden]{display:none}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position[data-position="very_accessible"] .patch-price-thumb{border-color:#569BFF}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position[data-position="accessible"] .patch-price-thumb{border-color:#46C7DC}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position[data-position="high"] .patch-price-thumb{border-color:#F2A34F}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position[data-position="premium"] .patch-price-thumb{border-color:#EC686A}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position-scale i:nth-child(1){background:#569BFF}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position-scale i:nth-child(2){background:#46C7DC}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position-scale i:nth-child(3){background:#49C99A}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position-scale i:nth-child(4){background:#F2A34F}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position-scale i:nth-child(5){background:#EC686A}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position[data-position="very_accessible"] i:nth-child(1),html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position[data-position="accessible"] i:nth-child(2),html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position[data-position="balanced"] i:nth-child(3),html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position[data-position="high"] i:nth-child(4),html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position[data-position="premium"] i:nth-child(5){opacity:1}
html[data-theme] :is(.ps2-sheet,.partnership-sheet-price) .patch-price-position small{font-size:calc(.8125rem * var(--elan-ui-scale,1));color:var(--es-muted);line-height:1.4}
html[data-theme] .ps2-sheet form[data-ps2-price-form] [data-ps2-error]:empty{display:none}
html[lang][data-theme]:root form[data-ps2-price-form]>button[type="submit"]{display:flex!important;width:fit-content!important;margin:14px 0 0 auto!important}
@media(prefers-reduced-motion:reduce){html[data-theme] #app .mq-zones .mq-switch-track,html[data-theme] #app .mq-zones .mq-switch-track::after{transition:none}}
/* Computer: the mannequin on the left, the zone's card beside it (an adaptation the brief proposes, not a validated mockup). */
@media(min-width:900px){
 html[data-theme] #app .mq-zones .mq-choose{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);grid-template-rows:auto auto 1fr;column-gap:24px;align-items:start}
 html[data-theme] #app .mq-zones .mq-choose>.mq-heading{grid-column:1/-1}
 html[data-theme] #app .mq-zones .mq-choose>.mq-stage{grid-column:1;grid-row:2/4;height:min(72vh,680px);margin-inline:0;border-radius:24px}
 html[data-theme] #app .mq-zones .mq-choose>.mq-chips{grid-column:2;grid-row:2}
 html[data-theme] #app .mq-zones .mq-choose>.mq-cards{grid-column:2;grid-row:3;margin-top:12px}
}
/* Read out to screen readers only: why « Enregistrer » did not save (the control itself shows it with the red animation). */
html[data-theme] #app .ps2-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
/* The four size examples (Haize, 2026-10-18: rectangles) sit two by two instead of three plus one. */
html[data-theme] .ps2-sheet form[data-ps2-size-form] .ps2-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html[data-theme] .ps2-sheet form[data-ps2-size-form] .ps2-presets>button{width:100%;justify-content:center}
html[data-theme] .ps2-sheet p.ps2-size-shape{margin:0 0 4px}
/* « Gabarit à imprimer » (review 2026-10-22 N18): a quiet link under the fields, like « Renseigner mes abonnés ». A size it
   cannot draw gives its field the liseré, on the field's own border (confirm-sheet.js). */
html[data-theme] .ps2-sheet form[data-ps2-size-form] button.ps2-size-template{display:inline-flex;align-items:center;min-height:44px;margin:-8px 0 0;padding:0;border:0;background:none;color:var(--es-accent-ink);font:600 calc(.875rem * var(--elan-ui-scale,1))/1.4 var(--elan-ui-font,system-ui);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
/* Simplification Z2 (2026-10-27): « Reprendre les réglages de … », a soft button with its own background under the fields. */
html[data-theme] #app .mq-zones .mq-copy{grid-column:1/-1;display:grid;gap:2px;justify-items:start;box-sizing:border-box;width:100%;min-height:52px;margin:0;padding:9px 14px;border:1px solid var(--sg-line);border-radius:15px;background:var(--sg-soft);color:var(--sg-text);font:650 calc(.9375rem * var(--elan-ui-scale,1))/1.25 var(--elan-ui-font,system-ui);text-align:left;cursor:pointer}
html[data-theme] #app .mq-zones .mq-copy small{color:var(--sg-muted);font-weight:500;font-size:calc(.8125rem * var(--elan-ui-scale,1))}
html[data-theme] #app .mq-zones .mq-copy:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
/* EV2: a price kept for the event open only. */
