.nav-symbol{display:block;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-add .nav-symbol{width:28px;height:28px;color:var(--nav-add-icon,#fff)}.nav-item>span{display:flex;align-items:center;justify-content:center}.member-card .grow{display:flex;flex:1;flex-direction:column;gap:5px;text-align:left}.member-card small{display:block;line-height:1.4}.member-card{width:100%;gap:12px}#memberSearch{width:100%;padding:12px;border:1px solid var(--line);border-radius:12px;font:inherit;background:var(--paper);color:var(--ink)}#realMemberForm>.toolbar{display:grid;grid-template-columns:1fr 1fr;gap:10px}#closeRealMember{grid-column:1/-1}#realMemberForm table{width:100%;border-collapse:collapse;font-size:13px}#realMemberForm td,#realMemberForm th{padding:10px;border-bottom:1px solid var(--line)}#realMemberForm input[type=checkbox]{accent-color:var(--accent)}#realPaymentSettings .studio-fold,#studioServerForm .studio-fold{margin:12px 0}#realPaymentTemplates .member-card{display:flex;align-items:center;justify-content:space-between;text-align:left}#realPaymentTemplates .member-card strong{flex:1}#realPaymentTemplates .member-card small{color:var(--muted)}

/* Indicateur du rafraîchissement mobile. */
html{overscroll-behavior-y:contain}
.pull-refresh-indicator{position:fixed;top:calc(env(safe-area-inset-top,0px) + 12px);left:50%;transform:translate(-50%,-14px);display:flex;align-items:center;gap:9px;padding:10px 14px;border-radius:28px;background:var(--card,#fff);color:var(--text,#222);box-shadow:0 3px 18px #0003;z-index:99990;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .15s,transform .15s}
.pull-refresh-indicator.visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
.pull-refresh-ring{width:20px;height:20px;border:3px solid #b99b6844;border-top-color:var(--accent,#b99b68);border-radius:50%;box-sizing:border-box;flex-shrink:0}
.pull-refresh-indicator.loading .pull-refresh-ring{animation:inkshape-refresh-spin .8s linear infinite}
.pull-refresh-label{font-size:13px;font-weight:600}
@keyframes inkshape-refresh-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.pull-refresh-indicator.loading .pull-refresh-ring{animation:none}.pull-refresh-indicator{transition:none}}

/* En-tête : logo et date à gauche, studio au centre, actions à droite. */
.home-compact-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,auto) minmax(0,1fr);align-items:center;gap:12px}
.home-compact-header .home-identity{display:flex;align-items:center;gap:12px;min-width:0;grid-column:1;grid-row:1}
.home-compact-header .brand{grid-column:auto;grid-row:auto;flex-shrink:0}
.home-compact-header .date-line{margin:0;font-size:20px;line-height:1.25}
.home-compact-header .date-line em{display:block}
.home-compact-header .house-line{grid-column:2;grid-row:1;justify-self:center;min-width:0;max-width:100%;margin:0}
.home-compact-header .house-pill{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.home-compact-header .head-actions{grid-column:3;grid-row:1;align-self:center;justify-self:end;gap:6px}
@media(max-width:620px){.home-compact-header{grid-template-columns:minmax(120px,1fr) minmax(95px,auto) minmax(32px,1fr);gap:8px}.home-compact-header .home-identity{gap:7px}.home-compact-header .brand{width:52px}.home-compact-header .brand img.brand-lockup{width:52px!important;max-width:52px!important;max-height:65px}.home-compact-header .date-line{font-size:13px;margin:0}.home-compact-header .house-pill{font-size:12px;padding:8px}.home-compact-header .head-actions .round{width:30px;height:30px}}
@media(max-width:620px) and (hover:none) and (pointer:coarse){#quickRefresh{display:none}}

.home-compact-header .date-line{white-space:nowrap}.home-compact-header .date-line em{font-size:inherit;white-space:nowrap}

.home-compact-header .date-line{font-size:18px;white-space:nowrap}.home-compact-header .date-line em{display:inline;font-size:inherit}
@media(max-width:620px){.home-compact-header{grid-template-columns:minmax(0,1fr) auto;gap:8px}.home-compact-header .home-identity{grid-column:1;grid-row:1}.home-compact-header .date-line{font-size:13px}.home-compact-header .head-actions{grid-column:2;grid-row:1}.home-compact-header .house-line{grid-column:1/-1;grid-row:2;justify-self:center}}

/* Même silhouette pour les retours, filtres et onglets. */
#recentPeriod,.delivery-tabs button,#houseBack,.toolbar>#back{box-sizing:border-box;min-height:44px;border:1px solid var(--line);border-radius:12px;padding:11px 15px;background:var(--paper);color:var(--ink);font-family:inherit;font-size:inherit;font-weight:700;line-height:1.25;box-shadow:none}
.delivery-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px;padding:0;background:transparent;border:0}.delivery-tabs button[aria-selected="true"]{border-color:var(--accent);color:var(--ink)}

#recentPeriod,.delivery-tabs button,#houseBack,.toolbar>#back{height:44px}

/* Traçabilité intégrée : fenêtre centrée, en-tête visible, défilement interne. */
#inkInlineTrace[open]{position:fixed;inset:0;margin:auto!important;display:flex;flex-direction:column;width:min(980px,calc(100% - 24px));max-width:calc(100% - 24px);height:fit-content;max-height:calc(100dvh - max(16px,env(safe-area-inset-top,0px)) - max(16px,env(safe-area-inset-bottom,0px)));padding:0!important;overflow:hidden;box-sizing:border-box;border:0;border-radius:20px;background:var(--paper,#fffaf4)}
#inkInlineTrace>.dialog-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #ded5cb;background:var(--paper,#fffaf4);position:relative;z-index:1;margin:0}
#inkInlineTrace>.dialog-head>div{min-width:0;flex:1}
#inkInlineTrace>.dialog-head h2{margin:3px 0 0;font-size:clamp(18px,4.6vw,24px);line-height:1.2;overflow-wrap:anywhere}
#inkInlineTrace [data-close-trace]{flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;display:grid;place-items:center;align-self:center;padding:0;font-size:28px;line-height:1;color:var(--ink,#251f19);background:var(--paper,#fffaf4);border:1px solid #b8aa9a;border-radius:50%;position:relative;z-index:2;touch-action:manipulation}
#inkInlineTrace>[data-trace-host]{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:12px;box-sizing:border-box}
#inkInlineTrace>[data-trace-host][role=status]{min-height:96px;display:flex;align-items:center;justify-content:center;text-align:center}
#inkInlineTrace #inkshape-trace-wrap{max-width:100%;width:100%;margin:0;padding:0}
@media(max-width:600px){#inkInlineTrace[open]{width:calc(100% - 16px);max-width:calc(100% - 16px);border-radius:16px}#inkInlineTrace>.dialog-head{padding:12px;gap:8px}#inkInlineTrace>[data-trace-host]{padding:8px}}

body:has(#inkInlineTrace[open]){overflow:hidden}

/* Photo et date regroupées dans le bandeau de séance. */
.ink-session-compact .ink-session-photo{position:relative;display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;padding:0;overflow:hidden;border:1px solid #ffffff66;border-radius:50%;background:#ffffff15;color:#fff}
.ink-session-photo img{width:100%;height:100%;object-fit:cover}.ink-session-photo-plus{position:absolute;right:4px;bottom:2px;font-size:22px;line-height:1;background:#171717;border-radius:50%;width:22px;height:22px}.ink-session-datetime{display:flex;flex-direction:column;gap:3px;flex:none}.ink-session-datetime small{color:#e6e1db;font-size:12px;white-space:nowrap}.ink-session-photos{width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:18px;box-sizing:border-box}.ink-session-photos .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.ink-photo-options{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.ink-photo-options button{min-height:44px}.ink-session-photo-list .ink-file-row{flex-wrap:wrap}
@media(max-width:640px){.ink-session-compact{grid-template-columns:64px minmax(0,1fr) auto;gap:10px;padding:14px}.ink-session-compact .ink-session-photo{grid-column:1;grid-row:1/3}.ink-session-compact .ink-session-datetime{grid-column:2;grid-row:1}.ink-session-compact .ink-session-kind{grid-column:2;grid-row:2}.ink-session-compact em{grid-column:3;grid-row:1;font-size:11px;padding:6px}.ink-session-compact #editSession{grid-column:3;grid-row:2;font-size:11px;padding:8px}.ink-session-compact .ink-session-time{font-size:24px}.ink-session-compact .ink-session-kind{font-size:12px;overflow-wrap:anywhere}}

.ink-review-contacts{display:grid;gap:10px}.ink-review-contact{display:flex;flex-direction:column;gap:5px;min-width:0;padding:14px 16px;border:1px solid var(--line,#ddd5ca);border-radius:16px;background:var(--paper,#fffaf4);color:inherit;text-decoration:none;overflow-wrap:anywhere}.ink-review-contact span{font-size:14px}.ink-review-contact.unavailable{opacity:.6}.ink-review-contact:focus-visible{outline:3px solid var(--accent,#bd873b);outline-offset:2px}
