/* ==========================================================================
   Configurateur 3D — styles
   ========================================================================== */
:root {
  --ink: #14181c; --ink-2: #1e2429; --ink-3: #2a3238;
  --steel: #8c969e; --steel-light: #c9d0d5; --alu: #eceff1; --paper: #f6f7f8; --line: #dde2e6;
  --accent: #e2773a; --accent-dark: #c35f26; --text: #1b2126; --muted: #5d6870;
  --shadow: 0 10px 30px rgba(20, 24, 28, .1); --shadow-lg: 0 24px 60px rgba(20, 24, 28, .22);
  --font-head: "Space Grotesk", system-ui, sans-serif; --font-body: "Inter", system-ui, sans-serif;
  --top: 60px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
h2, h3, h4 { font-family: var(--font-head); letter-spacing: -.01em; margin: 0 0 .5em; line-height: 1.15; }
svg { display: block; }
.muted { color: var(--muted); font-size: .92rem; margin: 0 0 18px; }

/* ---------- Barre du haut ---------- */
.topbar { height: var(--top); background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 18px; position: relative; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.brand svg { width: 36px; height: 36px; }
.brand small { display: block; font-size: .66rem; font-weight: 500; color: var(--steel-light); letter-spacing: .1em; text-transform: uppercase; }
.topbar__actions { display: flex; align-items: center; gap: 6px; }
.tb-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 13px; border-radius: 9px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: var(--alu); cursor: pointer; font-size: .86rem; font-weight: 500; transition: .15s; white-space: nowrap; }
.tb-btn svg { width: 17px; height: 17px; flex: none; }
.tb-btn:hover:not(:disabled) { background: rgba(255,255,255,.1); color: #fff; }
.tb-btn:disabled { opacity: .3; cursor: default; }
.tb-icon { width: 38px; padding: 0; justify-content: center; }
.tb-primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; box-shadow: 0 6px 18px rgba(226,119,58,.35); }
.tb-primary:hover:not(:disabled) { background: var(--accent-dark); }
.tb-sep { width: 1px; height: 22px; background: rgba(255,255,255,.14); margin: 0 4px; }
.count { background: var(--accent); color: #fff; border-radius: 999px; padding: 0 7px; font-size: .74rem; min-width: 20px; text-align: center; font-weight: 600; }

/* ---------- Mise en page ---------- */
.layout { display: grid; grid-template-columns: 1fr 440px; height: calc(100dvh - var(--top)); }
.stage { position: relative; overflow: hidden; min-height: 0; min-width: 0; }
.canvas-host { position: absolute; inset: 0; }
.canvas-host canvas { display: block; cursor: grab; }
.canvas-host canvas:active { cursor: grabbing; }
.fond-clair { background: radial-gradient(120% 90% at 50% 30%, #f6f8f9 0%, #dfe4e8 55%, #c3ccd2 100%); }
.fond-sombre { background: radial-gradient(120% 90% at 50% 30%, #3a444c 0%, #20262b 60%, #13171a 100%); }
.fond-ciel { background: linear-gradient(#8fc0ea 0%, #cfe6f6 48%, #eef4f2 62%, #d9dccf 100%); }
.fond-blanc, .stage.tech { background: #fff; }

.stage__tools { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 5; max-width: calc(100% - 250px); }
.seg { display: inline-flex; background: var(--alu); border-radius: 10px; padding: 4px; gap: 3px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; font-size: .86rem; font-weight: 500; padding: 7px 12px; border-radius: 7px; cursor: pointer; color: var(--muted); transition: .15s; }
.seg button:hover { color: var(--text); }
.seg button.active { background: #fff; color: var(--text); box-shadow: 0 2px 6px rgba(0,0,0,.1); font-weight: 600; }
.seg--dark { background: rgba(20,24,28,.86); backdrop-filter: blur(8px); }
.seg--dark button { color: var(--steel-light); }
.seg--dark button:hover { color: #fff; }
.seg--dark button.active { background: var(--accent); color: #fff; box-shadow: none; }
.ibtn { width: 40px; height: 40px; border-radius: 10px; border: 0; background: rgba(20,24,28,.86); color: var(--steel-light); display: grid; place-items: center; cursor: pointer; transition: .15s; flex: none; }
.ibtn svg { width: 19px; height: 19px; }
.ibtn:hover { color: #fff; }
.ibtn[aria-pressed="true"], .ibtn--accent { background: var(--accent); color: #fff; }
.chip { position: absolute; top: 16px; right: 16px; z-index: 5; background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); white-space: nowrap; }
.chip small { color: var(--accent); font-weight: 600; margin-left: 8px; }
.tips { position: absolute; left: 16px; bottom: 16px; z-index: 5; display: grid; gap: 6px; max-width: min(420px, 60%); }
.tips div { background: rgba(255,247,230,.96); border: 1px solid #f1d28a; color: #6d4a00; border-radius: 10px; padding: 8px 12px; font-size: .8rem; box-shadow: var(--shadow); }
.opener { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 6; background: rgba(20,24,28,.9); backdrop-filter: blur(8px); color: #fff; border-radius: 999px; padding: 7px 18px 7px 7px; display: flex; align-items: center; gap: 12px; font-size: .84rem; box-shadow: var(--shadow-lg); white-space: nowrap; }
.opener[hidden] { display: none; }
.opener .ibtn { width: 34px; height: 34px; border-radius: 50%; }
.opener input { width: 170px; }
.opener output { width: 42px; text-align: right; font-variant-numeric: tabular-nums; color: var(--steel-light); }

input[type=range] { -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--accent) var(--p, 0%), var(--line) var(--p, 0%)); outline: none; cursor: pointer; }
.opener input[type=range] { background: linear-gradient(to right, var(--accent) var(--p, 0%), rgba(255,255,255,.22) var(--p, 0%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }

/* ---------- Panneau ---------- */
.panel { background: #fff; border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--paper); flex: none; }
.tab { flex: 1; border: 0; background: transparent; padding: 10px 2px 8px; cursor: pointer; display: grid; justify-items: center; gap: 4px; font-size: .68rem; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; transition: .15s; min-width: 0; }
.tab svg { width: 20px; height: 20px; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); background: #fff; }
.tab[hidden] { display: none; }
.tabbody { flex: 1; overflow-y: auto; padding: 20px 24px 28px; }
.panel__foot { flex: none; display: flex; gap: 10px; padding: 12px 24px; border-top: 1px solid var(--line); }
.panel__foot .btn { flex: 1; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; border: 1.5px solid transparent; font-family: var(--font-head); font-weight: 600; font-size: .92rem; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--light { background: #fff; border-color: var(--line); color: var(--text); }
.btn--light:hover { border-color: var(--text); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .4; cursor: default; }

.t-title { font-size: 1.2rem; margin-bottom: 4px; }
.t-sub { color: var(--muted); font-size: .86rem; margin: 0 0 18px; }
.group { margin-bottom: 22px; }
.group > h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--steel); margin: 0 0 12px; font-family: var(--font-body); font-weight: 700; display: flex; align-items: center; gap: 10px; }
.group > h4::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.type { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 4px 10px; cursor: pointer; display: grid; justify-items: center; gap: 6px; font-size: .76rem; font-weight: 600; text-align: center; line-height: 1.2; transition: .15s; }
.type svg { width: 30px; height: 30px; color: var(--steel); transition: .15s; }
.type:hover { border-color: var(--steel-light); transform: translateY(-1px); }
.type.active { border-color: var(--accent); background: #fdf4ee; }
.type.active svg { color: var(--accent); }

.ctl { margin-bottom: 16px; }
.ctl > label, .lbl { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 8px; }
.ctl .seg { display: flex; }
.ctl .seg button { flex: 1 1 auto; }
.dim__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 10px; }
.dim__top label { font-weight: 600; font-size: .9rem; }
.dim__input { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); flex: none; }
.dim__input:focus-within { border-color: var(--accent); background: #fff; }
.dim__input input { width: 74px; border: 0; background: transparent; font-weight: 600; text-align: right; padding: 7px 2px 7px 8px; outline: none; -moz-appearance: textfield; }
.dim__input span { padding: 0 9px 0 3px; color: var(--muted); font-size: .82rem; }
.dim__range { display: flex; align-items: center; gap: 10px; font-size: .72rem; color: var(--muted); }
.dim__range input { flex: 1; }

.toggle, .check { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; font-size: .9rem; user-select: none; }
.toggle input, .check input { display: none; }
.toggle span { width: 42px; height: 24px; border-radius: 999px; background: var(--line); position: relative; transition: .2s; flex: none; }
.toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.toggle input:checked + span { background: var(--accent); }
.toggle input:checked + span::after { left: 21px; }
.check span { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--steel-light); flex: none; position: relative; transition: .15s; }
.check input:checked + span { background: var(--accent); border-color: var(--accent); }
.check input:checked + span::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.checks { display: grid; gap: 10px; }

.swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.swatch { aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(0,0,0,.1); cursor: pointer; padding: 0; transition: transform .15s; position: relative; }
.swatch:hover { transform: scale(1.1); }
.swatch.active { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent); }
.swatch.bois { background-image: repeating-linear-gradient(100deg, rgba(0,0,0,.16) 0 2px, transparent 2px 6px) !important; }
.swatch.metal { background-image: linear-gradient(135deg, rgba(255,255,255,.65), transparent 50%, rgba(0,0,0,.18)) !important; }
.swatch.custom { background: conic-gradient(#f44, #fc4, #4d4, #4cf, #84f, #f4a, #f44) !important; overflow: hidden; }
.swatch.custom input { position: absolute; inset: -6px; width: 200%; height: 200%; opacity: 0; cursor: pointer; }
.swatches--sq { grid-template-columns: repeat(6, 1fr); }
.swatches--sq .swatch { border-radius: 10px; }
.sw-name { font-size: .84rem; color: var(--muted); margin: 10px 0 0; }
.sw-name b { color: var(--text); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.card { border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 6px 6px 8px; display: grid; gap: 6px; font-size: .76rem; font-weight: 600; text-align: center; transition: .15s; }
.card i { display: block; height: 34px; border-radius: 6px; border: 1px solid rgba(0,0,0,.08); }
.card.active { border-color: var(--accent); background: #fdf4ee; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .86rem; }
.field input, .field textarea { padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); width: 100%; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--accent); background: #fff; }
.field textarea { min-height: 76px; resize: vertical; }
.grid2, .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.recap { list-style: none; padding: 0; margin: 0 0 18px; font-size: .86rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.recap li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 12px; }
.recap li:nth-child(odd) { background: var(--paper); }
.recap li span:first-child { color: var(--muted); }
.recap li span:last-child { font-weight: 600; text-align: right; }
.stack { display: grid; gap: 8px; }

/* ---------- Tiroir & modale ---------- */
.drawer, .modal { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open, .modal.open { visibility: visible; }
.scrim { position: absolute; inset: 0; background: rgba(10,12,14,.5); opacity: 0; transition: opacity .3s; }
.open .scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s; }
.drawer.open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; }
.drawer__list { flex: 1; overflow-y: auto; padding: 16px 22px; display: grid; gap: 12px; align-content: start; }
.drawer__foot { padding: 16px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.empty { color: var(--muted); text-align: center; padding: 40px 10px; font-size: .92rem; }
.item { display: grid; grid-template-columns: 96px 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.item img { width: 96px; height: 72px; object-fit: cover; background: var(--paper); border-radius: 8px; }
.item input { width: 100%; border: 0; border-bottom: 1.5px solid transparent; font-family: var(--font-head); font-weight: 600; font-size: .96rem; padding: 0 0 2px; outline: none; background: transparent; }
.item input:hover, .item input:focus { border-bottom-color: var(--accent); }
.item p { margin: 2px 0 6px; font-size: .78rem; color: var(--muted); }
.item__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.item__btns button { background: none; border: 0; padding: 0; font-size: .8rem; font-weight: 600; cursor: pointer; color: var(--text); }
.item__btns button:hover { color: var(--accent); }
.xbtn { width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--alu); cursor: pointer; }
.xbtn:hover { background: var(--line); }
.modal { display: grid; place-items: center; padding: 16px; }
.modal__panel { position: relative; background: #fff; border-radius: 20px; padding: 30px; width: min(580px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; transform: translateY(20px) scale(.98); opacity: 0; transition: .3s; }
.modal.open .modal__panel { transform: none; opacity: 1; }
.modal__x { position: absolute; top: 14px; right: 14px; }
.modal .seg { display: flex; }
.modal .seg button { flex: 1; }
.progress { margin: 4px 0 14px; display: grid; gap: 6px; font-size: .82rem; color: var(--muted); }
.progress[hidden] { display: none; }
.progress div { height: 8px; border-radius: 4px; background: var(--alu); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: .9rem; opacity: 0; transition: .3s; z-index: 200; pointer-events: none; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { .tb-btn:not(.tb-primary) span { display: none; } .tb-btn { padding: 0 11px; } }
@media (max-width: 900px) {
  body { overflow: auto; }
  .layout { grid-template-columns: 1fr; height: auto; }
  .stage { height: 52vh; min-height: 330px; position: sticky; top: 0; z-index: 10; }
  .panel { border-left: 0; }
  .tabbody { overflow: visible; }
  .panel__foot { position: sticky; bottom: 0; background: #fff; z-index: 11; }
  .stage__tools { max-width: calc(100% - 32px); }
  .chip { top: auto; bottom: 66px; right: 12px; font-size: .78rem; padding: 6px 12px; }
  .tips { display: none; }
}
@media (max-width: 600px) {
  .brand small, .brand span, .tb-primary span, .tb-sep { display: none; }
  .topbar { padding: 0 10px; gap: 8px; }
  .topbar__actions { gap: 4px; flex: 1; justify-content: flex-end; min-width: 0; }
  .tb-btn { height: 36px; padding: 0 8px; }
  .stage { height: 46vh; height: 46dvh; min-height: 300px; }
  .stage__tools { top: 8px; left: 8px; gap: 5px; }
  .seg--dark button { padding: 6px 8px; font-size: .76rem; }
  .ibtn { width: 34px; height: 34px; }
  .tabbody { padding: 16px 14px 22px; }
  .panel__foot { padding: 10px 14px; }
  .opener { bottom: 10px; padding-right: 12px; gap: 8px; }
  .opener label { display: none; }
  .opener input { width: 120px; }
  .swatches { grid-template-columns: repeat(7, 1fr); }
  .grid2 { grid-template-columns: 1fr; }
  .modal__panel { padding: 24px 18px; }
}

@media (max-width: 900px) { body { overflow-x: hidden; } }
@media (max-width: 360px) { .tb-btn { padding: 0 6px; } .topbar__actions { gap: 2px; } .seg--dark button { padding: 6px 6px; font-size: .72rem; } }
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .layout { grid-template-columns: 1fr 1fr; }
  .stage { height: calc(100vh - var(--top)); height: calc(100dvh - var(--top)); min-height: 0; top: 0; }
}
.drawer { overflow: hidden; }
.modal { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.modal__panel { min-width: 0; }
.modal .seg button { min-width: 0; white-space: normal; }
.canvas-host canvas { touch-action: none; }

/* ---- Fond photo / caméra, nuancier complet, débit, projet ---- */
.stage__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage.has-bg { background: #111; }
.q { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); outline: none; margin: 0 0 14px; font: inherit; }
.q:focus { border-color: var(--accent); background: #fff; }
.ral { border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; margin: 12px 0 14px; }
.ral[open] { padding-bottom: 12px; }
.ral summary { cursor: pointer; font-weight: 600; font-size: .86rem; padding: 10px 0; list-style-position: inside; }
.ral h5 { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); margin: 12px 0 8px; font-family: var(--font-body); }
.ral .swatches { grid-template-columns: repeat(10, 1fr); gap: 6px; }
.ral .q { margin: 2px 0 0; }
[hidden] { display: none !important; }
.tbl { width: 100%; border-collapse: collapse; font-size: .8rem; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); padding: 5px 6px; border-bottom: 1.5px solid var(--line); }
.tbl td { padding: 5px 6px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tbl td:last-child, .tbl th:last-child { text-align: right; }
.brandrow { display: flex; gap: 8px; align-items: center; }
.brandrow input { flex: 1; min-width: 0; }
.brandrow img { height: 40px; max-width: 90px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 3px; }
.modal--full { padding: 0; }
.proj { position: relative; width: min(1500px, 100%); height: 100%; max-height: 100dvh; background: #fff; display: flex; flex-direction: column; }
.modal--full.open .proj { box-shadow: 0 20px 80px rgba(0,0,0,.4); }
.proj__bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.proj__bar h3 { margin: 0; }
.proj__bar .muted { flex: 1; font-size: .84rem; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proj__host { flex: 1; min-height: 0; position: relative; }
.proj__host canvas { display: block; touch-action: none; }
@media (max-width: 600px) { .ral .swatches { grid-template-columns: repeat(8, 1fr); } .proj__bar .muted { display: none; } .proj__bar h3 { flex: 1; } }
@media (max-width: 1180px) { .stage__tools { max-width: calc(100% - 32px); } .chip { top: auto; bottom: 66px; right: 12px; } }
.ctl label.toggle, .ctl label.check { display: flex; margin: 0; }
.stage__bg { pointer-events: none; }
.turner { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; z-index: 6; }
.turner button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(20,24,28,.88); color: #fff; display: grid; place-items: center; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.turner button:active { background: var(--accent); }
.turner svg { width: 24px; height: 24px; pointer-events: none; }
.stage.max { position: fixed !important; inset: 0; width: 100vw; height: 100vh !important; height: 100dvh !important; z-index: 60; }
body.is-max { overflow: hidden !important; }
.exitmax { position: absolute; right: 12px; bottom: 76px; z-index: 7; border: 0; border-radius: 999px; padding: 10px 16px; background: rgba(20,24,28,.88); color: #fff; font: 600 .84rem var(--font-body); cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.stage.max .chip { display: none; }
.stage.max .stage__tools { max-width: calc(100% - 24px); }
.exitmax { bottom: auto; top: 104px; }
@media (min-width: 901px) { .exitmax { top: 16px; } }
