/* AdvaChronos — signature visuelle Ad Valoris (charte 2023 : Alizarine #DA2921, Manrope, Spring Wood). */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-600.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --red: #DA2921;
  --red-hover: #C12114;
  --red-tint: #FCEDEC;
  --red-tint-2: #F8DCDA;
  --ink: #221919;
  --black: #141313;
  --grey: #5E5650;
  --grey-2: #8A817A;
  --line: #E9E4DC;
  --line-2: #DCD5CB;
  --cream: #F6F4EE;
  --cream-2: #EFEBE2;
  --seashell: #F1F1F1;
  --bg-adm: #FAF8F4;
  --blue: #2633B6;
  --ocre: #E0923A;
  --desert: #C38E52;
  --ok: #1E7B4D;
  --ok-tint: #E6F3EC;
  --warn: #9A6A12;
  --warn-tint: #FBF1DC;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(34, 25, 25, .04), 0 8px 28px rgba(34, 25, 25, .07);
  --shadow-lg: 0 2px 6px rgba(34, 25, 25, .05), 0 24px 60px rgba(34, 25, 25, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Manrope", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; color: var(--black); letter-spacing: -.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.ic { flex: none; }
.muted { color: var(--grey); }
.sm { font-size: 13.5px; }
.xs { font-size: 12px; }
.center { text-align: center; }
.red { color: var(--red); }
.pad { padding: 32px; }
.grow { flex: 1; }
.sep { color: var(--line-2); margin: 0 2px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.h-title { font-size: 26px; font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.h-display { font-size: clamp(34px, 5vw, 56px); font-weight: 300; line-height: 1.08; letter-spacing: -.02em; }
.lead { font-size: 18px; color: var(--grey); max-width: 620px; margin-top: 16px; }
.fine { font-size: 12.5px; color: var(--grey-2); margin: 14px 0; }
.hint { display: block; font-size: 12.5px; color: var(--grey-2); margin-top: 6px; }

/* ───────── Boutons ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 22px; border-radius: 28px; border: 1px solid transparent; font-weight: 700; font-size: 14.5px; cursor: pointer; text-decoration: none !important; transition: background .2s var(--ease), border-color .2s, color .2s, transform .15s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-red:disabled { background: #E8A9A5; cursor: wait; }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { background: #fff; border-color: var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red-tint); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { height: 50px; padding: 0 30px; font-size: 15.5px; }
.btn.danger, .danger { color: var(--red) !important; }
.btn-ms { width: 100%; height: 52px; background: #fff; border: 1px solid var(--line-2); color: var(--black); border-radius: 10px; font-size: 15.5px; margin-top: 22px; }
.btn-ms:hover { border-color: var(--black); box-shadow: var(--shadow); }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: var(--cream-2); }
.arrow-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--red); color: var(--red); flex: none; transition: background .25s var(--ease), color .25s; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; font-size: 13.5px; }
.chip:hover { border-color: var(--red); color: var(--red); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 11px; background: var(--cream-2); color: var(--grey); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.tag.ok { background: var(--ok-tint); color: var(--ok); }
.tag.err { background: var(--red-tint); color: var(--red); }
.tag.warn { background: var(--warn-tint); color: var(--warn); }

/* ───────── Champs ───────── */
.field { margin-bottom: 18px; }
.field > label, .field-label { display: block; font-weight: 700; font-size: 13.5px; color: var(--black); margin-bottom: 7px; }
.field label i { color: var(--red); font-style: normal; }
input[type=text], input:not([type]), input[type=email], input[type=tel], input[type=url], input[type=number], input[type=date], input[type=search], input[type=time], select, textarea {
  width: 100%; height: 44px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; transition: border-color .2s, box-shadow .2s; }
textarea { height: auto; padding: 11px 13px; resize: vertical; line-height: 1.45; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23221919' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(218, 41, 33, .14); }
input.invalid, textarea.invalid { border-color: var(--red); }
.err-msg { color: var(--red); font-size: 13px; margin-top: 6px; font-weight: 600; }
.w-xs { width: 84px !important; } .w-sm { width: 140px !important; } .w-md { width: 320px !important; max-width: 100%; }
.inline-input { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.inline-input select, .inline-input input { width: auto; }
.prefixed { display: flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: #fff; }
.prefixed span { padding: 0 12px; display: flex; align-items: center; background: var(--cream); color: var(--grey-2); font-size: 13px; border-right: 1px solid var(--line-2); white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.prefixed input { border: 0; border-radius: 0; }
.prefixed:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(218, 41, 33, .14); }
.prefixed input:focus { box-shadow: none; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex: none; }
.check b { display: block; font-size: 14.5px; }
.check small { display: block; color: var(--grey); font-size: 13px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.alert { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 8px; margin-top: 18px; font-weight: 600; font-size: 14px; }
.alert.err { background: var(--red-tint); color: var(--red); }
.alert.ok { background: var(--ok-tint); color: var(--ok); }

.switch { position: relative; display: inline-block; width: 40px; height: 22px; flex: none; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch i { position: absolute; inset: 0; border-radius: 11px; background: #CFC7BD; transition: background .25s var(--ease); }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.switch input:checked + i { background: var(--red); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--red); outline-offset: 2px; }
.switch input:disabled + i { opacity: .45; cursor: not-allowed; }

/* ───────── Avatars ───────── */
.avatar { display: inline-grid; place-items: center; border-radius: 50%; background: var(--black); color: #fff; font-weight: 700; overflow: hidden; flex: none; letter-spacing: .02em; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 32px; height: 32px; font-size: 12px; }
.avatar.md { width: 46px; height: 46px; font-size: 15px; }
.avatar.lg { width: 58px; height: 58px; font-size: 18px; }
.avatar.xl { width: 84px; height: 84px; font-size: 26px; }

/* ───────── Bande « formes imbriquées » (univers graphique de la charte) ───────── */
.card-band { height: 6px; background: linear-gradient(90deg, var(--red) 0 22%, var(--black) 22% 40%, var(--red) 40% 58%, var(--ocre) 58% 78%, var(--blue) 78% 92%, var(--desert) 92%); }

/* ═════════════════════ PAGES PUBLIQUES ═════════════════════ */
body.pub { background: var(--cream); min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow-x: hidden; }
body.pub::before { content: ""; position: fixed; width: 760px; height: 760px; right: -260px; bottom: -300px; background: url("../img/roue-etoilee.svg") center/contain no-repeat; opacity: .045; pointer-events: none; z-index: 0; }
body.pub.is-embed { background: transparent; }
body.pub.is-embed::before { display: none; }
.pub-top { display: flex; justify-content: center; padding: 28px 16px 22px; position: relative; z-index: 1; }
.pub-brand img { height: 38px; width: auto; }
.pub-main { flex: 1; padding: 0 16px 40px; position: relative; z-index: 1; }
.is-embed .pub-main { padding: 0; }
.pub-foot { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 16px 30px; font-size: 12.5px; color: var(--grey-2); position: relative; z-index: 1; }
.pub-foot a { color: var(--grey); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card.narrow { max-width: 520px; margin: 30px auto; padding: 40px 36px; }
.card.narrow.center .btn { margin-top: 22px; }
.prose h2 { font-size: 16px; margin: 22px 0 6px; }
.prose p { color: var(--grey); margin-bottom: 8px; }
.card.narrow.prose { max-width: 680px; }
.err-roue { margin: 0 auto 18px; opacity: .9; }

/* Accueil */
.home { max-width: 1040px; margin: 0 auto; }
.home-hero { padding: 36px 0 30px; }
.home-band { height: 120px; border-radius: 14px; background: url("../img/formes-bande.png") left center/auto 100% repeat-x; margin-bottom: 34px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.person { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.person:hover { text-decoration: none; border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.person:hover .arrow-btn, .et-item:hover .arrow-btn { background: var(--red); color: #fff; }
.person-txt { flex: 1; min-width: 0; }
.person-txt b { display: block; font-size: 16px; color: var(--black); }
.person-txt small { color: var(--grey); font-size: 13px; }

/* Connexion */
.login { max-width: 460px; margin: 10px auto 0; }
.login-art { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; height: 92px; }
.login-art img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.login-card { border-radius: 0 0 var(--radius) var(--radius); padding: 36px 36px 30px; overflow: visible; position: relative; z-index: 1; }
.login-card .h-title b { color: var(--red); font-weight: 800; }
.login-card .h-title { font-size: 34px; font-weight: 300; }
.login-mark { margin: -66px 0 18px; border-radius: 50%; box-shadow: 0 0 0 6px #fff, var(--shadow); position: relative; }
.foot-brand { color: var(--red); font-weight: 800; }
.demo-list { display: grid; gap: 10px; margin-top: 18px; }
.demo-new { display: flex; gap: 8px; }

/* Profil */
.profile { max-width: 760px; margin: 0 auto; }
.profile-head { text-align: center; padding: 38px 32px 28px; border-bottom: 1px solid var(--line); }
.profile-head .avatar { margin: 0 auto 16px; }
.profile-welcome { color: var(--grey); max-width: 520px; margin: 12px auto 0; }
.et-list { display: grid; grid-template-columns: 1fr 1fr; }
.et-item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 28px; color: var(--ink); border-bottom: 1px solid var(--line); transition: background .2s; }
.et-item:nth-child(odd) { border-right: 1px solid var(--line); }
.et-item:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.et-item:hover { background: #FDFBF8; text-decoration: none; }
.et-item .arrow-btn { margin-left: auto; }
.et-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c); flex: none; margin-top: 2px; box-shadow: inset 0 0 0 4px rgba(255,255,255,.35); }
.et-item-txt { flex: 1; min-width: 0; }
.et-item-txt b { display: block; font-size: 17px; color: var(--black); margin-bottom: 4px; }
.et-item-txt small { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; color: var(--grey); font-size: 13px; }
.et-desc { display: block; margin-top: 8px; font-size: 13.5px; color: var(--grey); }

/* ───────── Réservation ───────── */
.bk { display: grid; grid-template-columns: 340px 1fr; grid-template-rows: auto 1fr; max-width: 1060px; min-height: 660px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; transition: max-width .35s var(--ease); }
.bk > .card-band { grid-column: 1 / -1; }
.bk.has-times { max-width: 1140px; }
.bk-info { padding: 28px 28px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.bk-back-profile, .bk-back-step { position: absolute; top: 22px; left: 22px; border: 1px solid var(--line); color: var(--red); }
.bk-back-step { display: none; }
.bk[data-step=form] .bk-back-step { display: inline-grid; }
.bk[data-step=form] .bk-back-profile { display: none; }
.bk-hosts { display: flex; margin: 50px 0 14px; }
.bk-hosts .avatar + .avatar { margin-left: -10px; box-shadow: 0 0 0 3px #fff; }
.bk-host { font-weight: 600; color: var(--grey); font-size: 14.5px; margin-bottom: 4px; }
.bk-title { font-size: 26px; font-weight: 700; line-height: 1.2; margin-bottom: 18px; }
.bk-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bk-meta li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--grey); font-size: 14.5px; }
.bk-meta li .ic { color: var(--grey-2); margin-top: 1px; }
.bk-meta li.bk-when { color: var(--black); }
.bk-desc { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--grey); font-size: 14px; }
.bk-brand { margin-top: auto; padding-top: 28px; opacity: .9; }
.bk-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bk-brand img { height: 30px; width: auto; }
.bk-brand a { font-size: 12px; color: var(--grey-2); }
.bk-resched { margin-top: 20px; padding: 14px 16px; background: var(--cream); border-radius: 10px; }
.bk-resched .kicker { margin-bottom: 6px; }
.bk-former { display: flex; gap: 8px; align-items: center; color: var(--grey); font-size: 14px; }
.bk-main { padding: 28px 32px 30px; position: relative; min-width: 0; }
.bk-h2 { font-size: 20px; font-weight: 700; margin: 6px 0 22px; }
.bk-step-form { display: none; max-width: 460px; }
.bk[data-step=form] .bk-step-date { display: none; }
.bk[data-step=form] .bk-step-form { display: block; animation: rise .35s var(--ease); }
.bk-pick { display: flex; gap: 28px; }
.bk-cal { flex: 1; max-width: 420px; min-width: 0; }
.cal-head { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 14px; }
.cal-month { font-weight: 700; font-size: 15.5px; min-width: 150px; text-align: center; }
.cal-nav { color: var(--red); background: var(--red-tint); }
.cal-nav:hover { background: var(--red-tint-2); }
.cal-nav:disabled { color: #C9C1B7; background: transparent; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: 50px; gap: 4px 4px; align-items: center; }
.cal-grid .cal-dow { align-self: end; }
.cal-dow { text-align: center; font-size: 11.5px; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: .04em; padding-bottom: 8px; }
.day { position: relative; width: 46px; height: 46px; max-width: 100%; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; font-size: 15px; color: #A79E95; font-weight: 500; }
.day.avail { background: var(--red-tint); color: var(--red); font-weight: 800; cursor: pointer; transition: background .2s, transform .15s; }
.day.avail:hover { background: var(--red-tint-2); }
.day.sel { background: var(--red) !important; color: #fff !important; }
.day.today::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.day.sel.today::after { background: #fff; }
.cal-empty { margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--cream); color: var(--grey); font-size: 14px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.cal-empty button { border: 0; background: none; color: var(--red); font-weight: 700; cursor: pointer; white-space: nowrap; }
.tz { margin-top: 26px; position: relative; }
.tz-label { font-weight: 700; font-size: 13.5px; color: var(--black); margin-bottom: 6px; }
.tz-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 6px 8px 6px 0; cursor: pointer; font-size: 14px; color: var(--ink); }
.tz-btn:hover span { text-decoration: underline; }
.tz-pop { position: absolute; z-index: 20; bottom: calc(100% - 20px); left: 0; width: min(360px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 14px; animation: rise .25s var(--ease); }
.tz-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 10px; }
.tz-search input { border: 0; box-shadow: none !important; height: 40px; padding: 0; }
.tz-row { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; margin: 12px 0 6px; color: var(--black); }
.switch-mini { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; letter-spacing: 0; font-size: 12px; color: var(--grey); cursor: pointer; }
.switch-mini input { position: absolute; opacity: 0; }
.switch-mini i { width: 32px; height: 18px; border-radius: 9px; background: #CFC7BD; position: relative; transition: background .2s; }
.switch-mini i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch-mini input:checked + i { background: var(--red); }
.switch-mini input:checked + i::after { transform: translateX(14px); }
.tz-list { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow: auto; }
.tz-list .grp { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--grey-2); padding: 12px 8px 4px; text-transform: uppercase; }
.tz-list button { width: 100%; display: flex; justify-content: space-between; gap: 10px; border: 0; background: none; padding: 9px 8px; border-radius: 6px; cursor: pointer; text-align: left; font-size: 14px; }
.tz-list button:hover, .tz-list button.on { background: var(--red-tint); }
.tz-list button.on { color: var(--red); font-weight: 700; }
.tz-list button small { color: var(--grey-2); flex: none; }
.bk-times { width: 220px; flex: none; display: flex; flex-direction: column; animation: slidein .35s var(--ease); }
.bk-day { font-size: 15px; margin: 8px 0 18px; color: var(--black); font-weight: 600; }
.times { display: grid; gap: 10px; max-height: 470px; overflow-y: auto; padding: 2px 6px 6px 2px; scrollbar-width: thin; }
.slot { display: flex; gap: 8px; height: 52px; }
.slot > button { flex: 1; border-radius: 6px; font-weight: 700; font-size: 15.5px; cursor: pointer; transition: all .2s var(--ease); }
.slot .s-time { border: 1px solid rgba(218, 41, 33, .55); color: var(--red); background: #fff; }
.slot .s-time:hover { border: 2px solid var(--red); }
.slot .s-next { display: none; background: var(--red); color: #fff; border: 0; }
.slot.on .s-time { background: #6B625C; border-color: #6B625C; color: #fff; flex: .5; }
.slot.on .s-next { display: block; flex: .5; animation: grow .25s var(--ease); }
.slot .s-seats { display: block; font-size: 11px; font-weight: 600; opacity: .8; }
.bk-loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.6); }
.spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--red-tint-2); border-top-color: var(--red); animation: spin .8s linear infinite; }
.guests { margin-bottom: 18px; }
.guests-box { margin-top: 10px; }
.form-error { padding: 12px 14px; background: var(--red-tint); color: var(--red); border-radius: 8px; font-weight: 600; margin: 4px 0 16px; font-size: 14px; }
.q-options { display: grid; gap: 8px; }
.q-options label { display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: 14.5px; cursor: pointer; }
.q-options input { width: 18px; height: 18px; accent-color: var(--red); }

/* Confirmation */
.confirm { max-width: 640px; margin: 0 auto; }
.confirm-head { text-align: center; padding: 38px 36px 6px; }
.confirm-check { display: inline-block; margin-bottom: 14px; animation: pop .5s var(--ease); }
.confirm-x { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--seashell); color: var(--grey); margin-bottom: 14px; }
.recap { margin: 22px 36px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 18px; }
.recap.is-off { opacity: .65; }
.recap-host { display: flex; gap: 14px; align-items: center; }
.recap-title { display: block; font-size: 18px; color: var(--black); }
.recap-host small { color: var(--grey); }
.confirm-msg { margin: 0 36px 18px; padding: 14px 18px; background: var(--cream); border-left: 3px solid var(--red); border-radius: 0 8px 8px 0; }
.confirm-add { margin: 0 36px 22px; }
.confirm-actions { display: flex; gap: 10px; justify-content: center; padding: 6px 36px 34px; flex-wrap: wrap; }
.cancel-form { padding: 0 36px; }
.cancel-form .confirm-actions { padding-left: 0; padding-right: 0; justify-content: flex-end; }

/* ═════════════════════ ESPACE CONSULTANT ═════════════════════ */
body.adm { background: var(--bg-adm); display: flex; min-height: 100vh; }
.side { width: 256px; flex: none; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 20px 14px; position: sticky; top: 0; height: 100vh; z-index: 30; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 20px; color: var(--black); font-size: 20px; font-weight: 300; text-decoration: none !important; }
.side-brand b { font-weight: 800; color: var(--red); }
.side-create { margin: 0 6px 20px; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; position: relative; transition: background .2s; }
.side-nav a:hover { background: var(--cream); }
.side-nav a.on { background: var(--red-tint); color: var(--red); }
.side-nav a.on::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--red); }
.side-foot { margin-top: auto; display: grid; gap: 12px; }
.side-link { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--grey); font-weight: 600; font-size: 13.5px; border-radius: 8px; }
.side-link:hover { background: var(--cream); text-decoration: none; color: var(--ink); }
.side-me { display: flex; align-items: center; gap: 10px; padding: 12px 6px 0 10px; border-top: 1px solid var(--line); }
.side-me-txt { flex: 1; min-width: 0; line-height: 1.25; }
.side-me-txt b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-me-txt small { display: block; font-size: 11.5px; color: var(--grey-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-me form { margin: 0; }
.adm-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.adm-top { display: flex; align-items: center; gap: 12px; padding: 26px 40px 8px; }
.adm-top h1 { font-size: 26px; font-weight: 700; }
.adm-top-r { margin-left: auto; }
.side-toggle { display: none; }
.adm-main { padding: 18px 40px 120px; max-width: 1280px; width: 100%; }
.banner { display: flex; align-items: center; gap: 12px; margin: 10px 40px 0; padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; flex-wrap: wrap; }
.banner.warn { background: var(--warn-tint); color: var(--warn); }
.banner .btn { margin-left: auto; }
.toast { position: fixed; top: 20px; right: 20px; z-index: 100; display: flex; align-items: center; gap: 10px; padding: 13px 18px; background: var(--black); color: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14px; animation: toast 4.5s var(--ease) forwards; max-width: 440px; }
.toast .ic { color: #7AD7A4; }
.toast.err .ic { color: #FF8B85; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 18px; }
.panel-h { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.panel-h .num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red-tint); color: var(--red); font-size: 13px; font-weight: 800; }
.panel > .muted.sm { margin: -8px 0 16px; }
.section-h { font-size: 15px; font-weight: 700; margin: 40px 0 14px; color: var(--grey); }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px; margin-bottom: 16px; }
.link-quiet { display: block; color: var(--grey); font-size: 13px; }
.link-sm { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; }
.empty { text-align: center; padding: 70px 20px; background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty img { margin: 0 auto 18px; }
.empty h2 { font-size: 20px; margin-bottom: 8px; }
.empty p { max-width: 460px; margin: 0 auto 22px; }
.savebar { position: sticky; bottom: 0; display: flex; gap: 10px; align-items: center; margin: 24px -40px -120px; padding: 16px 40px; background: rgba(250, 248, 244, .92); backdrop-filter: blur(8px); border-top: 1px solid var(--line); z-index: 10; grid-column: 1 / -1; }

/* Types d'événements */
.et-toolbar { display: flex; align-items: center; gap: 20px; justify-content: space-between; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.me-line { display: flex; align-items: center; gap: 14px; }
.me-line b { font-size: 15px; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: #fff; border-radius: 22px; padding: 0 14px; width: 300px; max-width: 100%; color: var(--grey-2); }
.search input { border: 0; height: 40px; padding: 0; box-shadow: none !important; }
.et-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.et-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--c); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(34,25,25,.04); transition: box-shadow .25s, transform .25s var(--ease); min-height: 214px; }
.et-card:hover { box-shadow: var(--shadow); }
.et-card.is-off { border-top-color: #CFC7BD; }
.et-card.is-off .et-card-body, .et-card.is-off .et-card-view { opacity: .5; }
.et-card-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 0 18px; }
.et-card-body { padding: 8px 20px 4px; color: var(--ink); text-decoration: none !important; flex: 1; }
.et-card-body h3 { font-size: 17.5px; margin-bottom: 6px; }
.et-card-body p { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; flex-wrap: wrap; }
.et-card-view { padding: 4px 20px 14px; font-size: 13.5px; font-weight: 600; }
.et-card-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 12px 20px; border-top: 1px solid var(--line); }
.et-new { border: 1.5px dashed var(--line-2); border-top-width: 1.5px; align-items: center; justify-content: center; gap: 10px; color: var(--grey); font-weight: 700; box-shadow: none; text-decoration: none !important; }
.et-new:hover { border-color: var(--red); color: var(--red); }
.menu { position: relative; }
.menu-pop { position: absolute; right: 0; top: 40px; z-index: 20; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 6px; animation: rise .2s var(--ease); }
.menu-pop a, .menu-pop button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border: 0; background: none; border-radius: 6px; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none !important; text-align: left; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--cream); }
.menu-pop form { margin: 0; }

/* Éditeur */
.ed { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.ed-side { position: sticky; top: 24px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.sw input { position: absolute; opacity: 0; }
.sw i { display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--c); cursor: pointer; transition: transform .15s; }
.sw i:hover { transform: scale(1.1); }
.sw input:checked + i { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c); }
.sw input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 4px; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.loc input { position: absolute; opacity: 0; }
.loc span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.loc span .ic { color: var(--grey); margin-bottom: 4px; }
.loc b { font-size: 13.5px; }
.loc small { font-size: 12px; color: var(--grey-2); line-height: 1.3; }
.loc input:checked + span { border-color: var(--red); background: var(--red-tint); box-shadow: inset 0 0 0 1px var(--red); }
.loc input:checked + span .ic { color: var(--red); }
.loc input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.field.sub { margin: 12px 0 0; }
.radio-rows { display: grid; gap: 10px; }
.radio-rows label { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14.5px; }
.radio-rows input[type=radio] { width: 18px; height: 18px; accent-color: var(--red); }
.radio-rows input[type=date] { width: auto; }
.kind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.kind { display: block; padding: 16px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); text-decoration: none !important; transition: border-color .2s, background .2s; }
.kind b { display: block; margin-bottom: 4px; }
.kind small { color: var(--grey); font-size: 12.5px; line-height: 1.35; display: block; }
.kind:hover { border-color: var(--ink); }
.kind.on { border-color: var(--red); background: var(--red-tint); box-shadow: inset 0 0 0 1px var(--red); }
.kind.on b { color: var(--red); }
.hosts { display: grid; gap: 4px; }
.host-opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.host-opt:hover { background: var(--cream); }
.host-opt input { width: 18px; height: 18px; accent-color: var(--red); }
.host-opt b { display: block; font-size: 14px; }
.host-opt small { color: var(--grey-2); font-size: 12px; }
.qs { display: grid; gap: 10px; margin-bottom: 12px; }
.q { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #FDFCFA; }
.q-row { display: flex; gap: 10px; align-items: center; }
.q-label { flex: 1; }
.q-type { width: 170px !important; flex: none; }
.q-req { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; white-space: nowrap; }
.q-req input { accent-color: var(--red); }
.q-opts { margin-top: 10px; }
.preview-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-2); margin-bottom: 10px; }
.preview-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; padding: 0 0 20px; }
.preview-card > *:not(.card-band) { margin-left: 22px; margin-right: 22px; }
.preview-card .bk-host { margin-top: 20px; }
.preview-card .bk-title { font-size: 20px; margin-bottom: 12px; border-left: 4px solid var(--c); padding-left: 10px; margin-left: 18px; }
.preview-card .bk-meta li { font-size: 13.5px; }
.preview-desc { font-size: 13px; color: var(--grey); margin-top: 12px; white-space: pre-line; max-height: 90px; overflow: hidden; }
.preview-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 16px; }
.preview-cal i { aspect-ratio: 1; border-radius: 50%; background: var(--seashell); }
.preview-cal i.on { background: var(--red-tint); }

/* Choix de la durée */
.seg { display: inline-flex; padding: 4px; background: var(--cream-2); border-radius: 24px; gap: 2px; flex-wrap: wrap; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 16px; border-radius: 20px; font-weight: 700; font-size: 13.5px; color: var(--grey); cursor: pointer; transition: background .2s, color .2s; }
.seg input:checked + span { background: #fff; color: var(--red); box-shadow: 0 1px 3px rgba(34,25,25,.12); }
.seg input:focus-visible + span { outline: 2px solid var(--red); }
.dur-range { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-weight: 600; font-size: 14px; }
.dur-range select { width: auto; }
.dur-range .hint { flex-basis: 100%; margin: 0; }
.dur-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 2px; }
.dur-chip { height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid rgba(218, 41, 33, .55); background: #fff; color: var(--red); font-weight: 700; font-size: 13.5px; cursor: pointer; transition: all .2s var(--ease); }
.dur-chip:hover { border-color: var(--red); background: var(--red-tint); }
.dur-chip.on { background: var(--red); border-color: var(--red); color: #fff; }
.bk-dur-label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-2); margin: 18px 0 8px; }

/* Réunions */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tabs a { padding: 12px 16px; color: var(--grey); font-weight: 700; font-size: 14.5px; border-bottom: 3px solid transparent; margin-bottom: -1px; text-decoration: none; }
.tabs a.on { color: var(--red); border-bottom-color: var(--red); }
.tabs a:hover { color: var(--ink); }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11px; margin-left: 4px; }
.day-h { font-size: 13px; font-weight: 800; color: var(--grey); letter-spacing: .04em; text-transform: uppercase; margin: 26px 0 10px; }
.day-h:first-child { margin-top: 0; }
.m-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.m-row + .m-row { border-top: 1px solid var(--line); }
.m-row summary { display: flex; align-items: center; gap: 18px; padding: 16px 20px; cursor: pointer; list-style: none; transition: background .2s; }
.m-row summary::-webkit-details-marker { display: none; }
.m-row summary:hover { background: #FDFBF8; }
.m-row.is-off .m-who, .m-row.is-off .m-time { opacity: .55; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.m-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--c); flex: none; }
.m-time { width: 128px; flex: none; font-weight: 600; font-size: 14px; }
.m-who { flex: 1; min-width: 0; }
.m-who b { display: block; font-size: 15px; }
.m-who small { color: var(--grey); font-size: 13px; }
.m-badges { display: flex; gap: 6px; }
.m-more { display: flex; align-items: center; gap: 4px; color: var(--grey); font-size: 13px; font-weight: 600; }
.m-row[open] .m-more .ic { transform: rotate(180deg); }
.m-detail { padding: 4px 20px 20px 74px; animation: rise .25s var(--ease); }
.m-detail dl { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.m-detail dt { color: var(--grey-2); font-weight: 600; }
.m-detail dd { margin: 0; }
.m-detail dd a { display: inline-flex; gap: 6px; align-items: center; }
.m-actions { display: flex; gap: 8px; margin-top: 18px; }

/* Disponibilités */
.sched-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 18px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 700; font-size: 13.5px; cursor: pointer; text-decoration: none !important; }
.pill small { color: var(--grey-2); font-weight: 600; }
.pill.on { border-color: var(--red); background: var(--red-tint); color: var(--red); }
.pill.ghost { border-style: dashed; color: var(--grey); }
.pill-new { margin: 0; }
.sched-head { display: grid; grid-template-columns: 1fr 1fr auto; gap: 22px; align-items: end; }
.sched-head .field { margin: 0; }
.sched-meta { display: grid; gap: 6px; justify-items: start; }
.sched-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.week { display: grid; }
.wd { display: flex; gap: 16px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.wd:last-child { border-bottom: 0; }
.wd-name { display: flex; align-items: center; gap: 10px; width: 120px; flex: none; height: 40px; font-weight: 700; font-size: 14px; cursor: pointer; }
.wd-name input { width: 18px; height: 18px; accent-color: var(--red); }
.wd-ranges { flex: 1; display: grid; gap: 8px; }
.wd-off { height: 40px; display: flex; align-items: center; color: var(--grey-2); font-size: 14px; }
.rg { display: flex; align-items: center; gap: 8px; }
.rg input[type=time] { width: 116px; height: 40px; }
.rg span { color: var(--grey-2); }
.wd-tools { display: flex; gap: 2px; flex: none; }
.wd-tools .icon-btn { width: 34px; height: 34px; color: var(--grey); }
.copy-pop { position: absolute; z-index: 20; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 14px; width: 210px; }
.copy-pop p { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-2); margin-bottom: 8px; }
.copy-pop label { display: flex; justify-content: space-between; padding: 6px 2px; font-size: 14px; font-weight: 600; cursor: pointer; }
.copy-pop input { accent-color: var(--red); width: 16px; height: 16px; }
.copy-pop .btn { width: 100%; margin-top: 10px; }
.ovr-list { display: grid; gap: 8px; margin-bottom: 14px; }
.ovr { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.ovr b { display: block; font-size: 14px; }
.ovr small { color: var(--grey); font-size: 13px; }
.ovr > div { flex: 1; }
.ovr-ranges { display: grid; gap: 8px; margin: 12px 0; }

/* Paramètres / équipe */
.settings { max-width: 820px; }
.profile-row { display: flex; gap: 20px; align-items: center; margin-bottom: 22px; }
.profile-row .muted { margin-bottom: 8px; }
.conn { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; }
.conn > div { flex: 1; }
.conn b { display: block; }
.conn small { color: var(--grey); }
.conn-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #E8F0FB; color: #0F6CBD; }
.conn-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--grey); }
.conn-list li { display: flex; gap: 10px; }
.conn-list .ic { color: var(--ok); margin-top: 2px; }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; margin-top: 18px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--grey-2); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.is-off td { opacity: .55; }
.table form { margin: 0; }

/* Fenêtres modales */
.modal { border: 0; border-radius: 14px; padding: 30px; width: min(540px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); color: var(--ink); }
.modal::backdrop { background: rgba(20, 19, 19, .45); backdrop-filter: blur(2px); }
.modal[open] { animation: rise .3s var(--ease); }
.modal h2 { font-size: 20px; margin-bottom: 6px; padding-right: 40px; }
.modal-x { position: absolute; top: 16px; right: 16px; margin: 0; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.embed-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 14px; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: block; padding: 14px; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; height: 100%; }
.opt b { display: block; font-size: 14px; }
.opt small { color: var(--grey); font-size: 12.5px; }
.opt input:checked + span { border-color: var(--red); background: var(--red-tint); box-shadow: inset 0 0 0 1px var(--red); }
.code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; background: var(--cream); }

/* ───────── Animations ───────── */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes slidein { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { opacity: 0; transform: scaleX(.6); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toast { 0% { opacity: 0; transform: translateY(-10px); } 8% { opacity: 1; transform: none; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6px); visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ───────── Responsive ───────── */
@media (max-width: 1100px) {
  .ed { grid-template-columns: 1fr; }
  .ed-side { display: none; }
  .sched-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .bk { grid-template-columns: 1fr; min-height: 0; }
  .bk-info { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 22px 20px; }
  .bk-hosts { margin-top: 40px; }
  .bk-brand { display: none; }
  .bk-main { padding: 22px 18px 26px; }
  .bk-pick { flex-direction: column; }
  .bk-cal { max-width: none; }
  .bk-times { width: 100%; }
  .times { max-height: none; }
  .et-list { grid-template-columns: 1fr; }
  .et-item:nth-child(odd) { border-right: 0; }
  body.adm { display: block; }
  .side { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); }
  .side.open { transform: none; }
  .side-toggle { display: inline-grid; }
  .adm-top { padding: 16px 18px 4px; }
  .adm-top h1 { font-size: 21px; }
  .adm-main { padding: 14px 18px 120px; }
  .banner { margin: 10px 18px 0; }
  .savebar { margin: 20px -18px -120px; padding: 14px 18px; }
  .grid2, .sched-head { grid-template-columns: 1fr; }
  .m-row summary { flex-wrap: wrap; gap: 6px 12px; }
  .m-time { width: auto; }
  .m-more { margin-left: auto; font-size: 0; gap: 0; }
  .m-who { order: 5; flex: 1 1 100%; padding-left: 30px; }
  .m-badges { order: 6; padding-left: 30px; flex-wrap: wrap; }
  .m-detail { padding-left: 20px; }
  .m-detail dl { grid-template-columns: 1fr; gap: 2px; }
  .m-detail dd { margin-bottom: 8px; }
  .q-row { flex-wrap: wrap; }
  .q-type { width: 100% !important; }
  .embed-opts { grid-template-columns: 1fr; }
  .wd { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .card.narrow { padding: 30px 22px; }
  .login-card { padding: 28px 22px; }
  .confirm-head { padding: 30px 22px 4px; }
  .recap, .confirm-msg, .confirm-add { margin-left: 18px; margin-right: 18px; }
  .cancel-form, .confirm-actions { padding-left: 18px; padding-right: 18px; }
  .h-title { font-size: 22px; }
  .bk-title { font-size: 22px; }
  .home-band { height: 80px; }
}
