SPB Git

Repository Public

app.css 48.6 KB 557 lines css

1/* Mise en page de l'application : coquille à trois volets redimensionnables, liste en cartes, lecture, rédaction, pages secondaires. */2.app-root { height: 100%; display: flex; flex-direction: column; }3.boot { flex: 1; display: grid; place-items: center; }4.offline-banner { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 12px; background: var(--warn-soft); color: var(--text); font-size: var(--fs-s); flex: none; }5.offline-banner .icon { color: var(--warn); }6.only-narrow { display: none; }7.only-phone { display: none; }89/* ---- authentification */10.auth { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px 16px; overflow: auto; }11.auth-card { width: min(420px, 100%); display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-1); }12.auth-brand { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--accent); color: var(--on-accent); }13.auth-brand .icon { width: 26px; height: 26px; }14.auth-main { min-height: 48px; font-size: 1rem; }1516/* ---- pastilles */17.avatar { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: hsl(var(--h, 160) var(--hue-bg-sl)); color: hsl(var(--h, 160) var(--hue-ink-sl)); font-weight: 650; font-size: 0.8125rem; letter-spacing: 0.01em; user-select: none; }18.avatar.s { width: 26px; height: 26px; font-size: 0.6875rem; }19.label-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--label-10); }2021/* ---- coquille : barre latérale | liste | lecture, séparées par des filets qui servent de poignées */22.shell { flex: 1; min-height: 0; display: flex; background: var(--bg); position: relative; }23.shell-main { flex: 1; min-width: 0; min-height: 0; display: flex; }24.splitter { flex: none; width: 1px; position: relative; z-index: 4; background: var(--border); cursor: col-resize; touch-action: none; transition: background var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease); }25.splitter::before { content: ""; position: absolute; inset: 0 -5px; }26.splitter.horizontal { width: auto; height: 1px; cursor: row-resize; }27.splitter.horizontal::before { inset: -5px 0; }28.splitter:hover, .splitter.dragging { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }29.splitter:focus-visible { outline: none; border-radius: 0; background: var(--focus); box-shadow: 0 0 0 1px var(--focus); }30.resizing, .resizing * { cursor: col-resize !important; user-select: none !important; }31.resizing iframe { pointer-events: none; }3233/* ---- barre latérale */34.sidebar { flex: none; width: var(--sidebar-w); display: flex; flex-direction: column; min-height: 0; padding: 10px 8px 8px; gap: 10px; background: var(--surface-2); }35.sidebar-head { display: flex; align-items: center; gap: 2px; padding: 0 2px 0 6px; min-height: 40px; }36.brand { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; }37.brand-mark { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--accent); color: var(--on-accent); }38.brand-mark .icon { width: 18px; height: 18px; }39.sidebar-tool { width: 32px; height: 32px; color: var(--text-3); }40.only-wide { display: inline-flex; }41.compose-btn { min-height: 40px; justify-content: flex-start; gap: 10px; padding: 0 14px; margin: 0 2px; border-radius: var(--radius-m); box-shadow: var(--shadow-1); }42.sidebar-scroll { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 0 2px; scrollbar-width: thin; }43.sidebar-foot { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--border); padding: 6px 2px 0; }44.sidebar-user { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 0 0 10px; }45.sidebar-user-name { flex: 1; font-size: var(--fs-s); font-weight: 550; color: var(--text-2); }46.sidebar-user .icon-btn { width: 34px; height: 34px; color: var(--text-3); }47.sidebar-note { padding: 6px 12px; }48.nav-account { display: flex; flex-direction: column; gap: 2px; padding: 4px 0 6px; }49.nav-account-head { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 2px 2px 2px 10px; }50.nav-account-title { flex: 1; font-size: var(--fs-s); font-weight: 650; color: var(--text); letter-spacing: 0; }51.nav-account-head .icon-btn { width: 28px; height: 28px; color: var(--text-3); }52.nav-heading { display: flex; align-items: center; justify-content: space-between; min-height: 30px; padding: 8px 2px 0 12px; font-size: 0.6875rem; font-weight: 650; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }53.nav-heading .icon-btn { width: 28px; height: 28px; }54.nav-group { display: flex; flex-direction: column; gap: 1px; }55.nav-item { position: relative; display: flex; align-items: center; border-radius: 8px; }56.nav-item > a, .nav-item > button { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 0 10px 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--text-2); text-decoration: none; text-align: left; cursor: pointer; font-weight: 500; font-size: var(--fs-callout); transition: background var(--dur-1) var(--ease); }57.nav-item > a .icon { width: 18px; height: 18px; color: var(--text-3); }58.nav-item > a:hover, .nav-item > button:hover { background: var(--surface-3); color: var(--text); }59.nav-item > a[aria-current="page"] { background: var(--accent-soft); color: var(--text); font-weight: 600; }60.nav-item > a[aria-current="page"] .icon { color: var(--accent-ink); }61.nav-item.drop-over > a { outline: 2px solid var(--accent); outline-offset: -2px; background: var(--accent-soft); }62.nav-label { flex: 1; min-width: 0; }63.nav-count { font-size: 0.75rem; font-weight: 500; color: var(--text-3); font-variant-numeric: tabular-nums; }64.nav-count.strong { color: var(--text); font-weight: 650; }65.nav-item > a:hover .nav-count { color: var(--text-2); }66.nav-item > a:hover .nav-count.strong { color: var(--text); }67.nav-menu { width: 28px; height: 28px; opacity: 0; }68.nav-item:hover .nav-menu, .nav-menu:focus-visible, .nav-menu[aria-expanded="true"] { opacity: 1; }69.nav-twist { position: absolute; top: 50%; z-index: 1; width: 16px; height: 22px; margin-top: -11px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--text-3); cursor: pointer; }70.nav-twist .icon { width: 12px; height: 12px; }71.nav-twist:hover { color: var(--text); background: var(--surface-3); }72.nav-item.has-twist > a { padding-left: 18px; }73.nav-admin .icon { color: var(--admin) !important; }74.nav-unified { padding-bottom: 6px; margin-bottom: 2px; border-bottom: 1px solid var(--border); }75.nav-ext-primary { padding-bottom: 6px; margin-bottom: 2px; border-bottom: 1px solid var(--border); }76.quota { padding: 4px 12px 2px; display: flex; flex-direction: column; gap: 5px; }77.quota-usage { color: var(--text-2); font-variant-numeric: tabular-nums; }78progress { width: 100%; height: 4px; border: 0; border-radius: 2px; overflow: hidden; background: var(--surface-3); accent-color: var(--accent); appearance: none; }79progress::-webkit-progress-bar { background: var(--surface-3); }80progress::-webkit-progress-value { background: var(--accent); border-radius: 2px; }81progress::-moz-progress-bar { background: var(--accent); }82progress.danger::-webkit-progress-value { background: var(--danger); }83progress.danger::-moz-progress-bar { background: var(--danger); }84.scrim { display: none; }8586/* ---- indicateur de synchronisation : invisible quand tout est à jour */87.sync-indicator { display: none; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; font-size: var(--fs-s); color: var(--text-2); min-width: 0; }88.sync-indicator.on { display: flex; }89.sync-indicator.warn .icon { color: var(--warn); }90.sync-indicator.danger .icon { color: var(--danger); }91.sync-text { flex: 1; }92.sync-retry { border: 0; background: transparent; padding: 2px 6px; border-radius: var(--radius-s); color: var(--accent-ink); font-weight: 600; font-size: var(--fs-s); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }93.sync-retry:hover { background: var(--surface-3); }94.sync-spin { animation: spin 1.4s linear infinite; }95.sync-indicator.compact, .sync-indicator.compact.on { display: none; }9697/* ---- volet liste */98.list-pane { flex: 0 1 var(--list-w); width: var(--list-w); min-width: 280px; display: flex; flex-direction: column; min-height: 0; background: var(--bg); }99.search { padding: 10px 10px 2px; position: relative; display: flex; flex-direction: column; gap: 6px; }100.search-form { display: flex; align-items: center; gap: 4px; }101.search-box { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--border); color: var(--text-3); transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease); }102.search-box .icon { width: 18px; height: 18px; }103.search-box:focus-within { border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus); }104.search-box input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); outline: none; padding: 8px 0; }105.search-box input::placeholder { color: var(--text-3); opacity: 1; }106.search-box input::-webkit-search-cancel-button { display: none; }107.search-form .icon-btn { width: 36px; height: 36px; }108.search-panel { position: absolute; z-index: 20; top: 100%; left: 10px; right: 10px; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-2); animation: pop var(--dur-2) var(--ease); }109.search-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }110.chips { display: flex; flex-wrap: wrap; gap: 6px; }111.chip { display: inline-flex; align-items: center; gap: 2px; max-width: 100%; padding: 0 2px 0 10px; min-height: 28px; border-radius: var(--radius-pill); background: var(--accent-soft); font-size: var(--fs-s); }112.chip button { display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); cursor: pointer; }113.chip button:hover { background: var(--surface-3); }114.list-toolbar { display: flex; align-items: center; gap: 2px; min-height: 44px; margin: 4px 8px 2px; padding: 0 4px 0 10px; border-radius: var(--radius-m); transition: background var(--dur-1) var(--ease); }115.list-toolbar.selecting { background: var(--accent-soft); }116.list-toolbar .icon-btn { width: 34px; height: 34px; }117.list-toolbar.selecting .icon-btn:hover { background: color-mix(in srgb, var(--accent) 16%, transparent); }118.list-title { font-size: 1.0625rem; margin-left: 8px; }119.list-count { margin-left: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }120.list-selcount { font-weight: 650; margin-left: 8px; }121.list-toolbar > .spacer { flex: 1 0 0; }122.list-toolbar .icon-btn, .list-toolbar > span:has(> .icon-btn) { flex: none; }123.list-banner { margin: 6px 10px 2px; align-items: center; }124.mlist { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; position: relative; scrollbar-width: thin; container: list / inline-size; }125.mlist-inner { position: relative; width: 100%; animation: list-in var(--dur-2) var(--ease); }126.mlist-inner:focus-visible { outline: none; }127@keyframes list-in { from { transform: translateY(8px); } to { transform: none; } }128129/* ---- ligne de conversation : une carte, sélection en retrait et arrondie */130.mrow { position: absolute; top: 0; left: 0; right: 0; height: var(--row-h); padding: 1px 8px; cursor: pointer; color: var(--text-2); user-select: none; touch-action: pan-y; transition: transform var(--dur-2) var(--ease); }131.mrow::before { content: ""; position: absolute; top: 0; left: 66px; right: 16px; height: 1px; background: var(--border); }132.mrow:first-child::before, .mrow.open::before, .mrow.selected::before, .mrow.open + .mrow::before, .mrow.selected + .mrow::before, .skeleton-row::before { display: none; }133.mrow-card { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; gap: 2px; padding-right: 4px; border-radius: var(--radius-m); background: var(--row-bg, var(--bg)); transition: background var(--dur-1) var(--ease); }134.mrow.cursor { --row-bg: var(--surface-2); }135.mrow.cursor::before, .mrow.cursor + .mrow::before { display: none; }136.mlist-inner:focus-visible .mrow.cursor .mrow-card { box-shadow: inset 0 0 0 2px var(--focus); }137.mrow.open, .mrow.selected { --row-bg: var(--accent-soft); }138/* sur le fond de sélection, les textes tertiaires passent au ton secondaire (contraste ≥ 4,5:1 dans les trois thèmes) */139.mrow.open .mrow-preview, .mrow.selected .mrow-preview, .mrow.open .mrow-date, .mrow.selected .mrow-date, .mrow.open .mrow-icons, .mrow.selected .mrow-icons { color: var(--text-2); }140.mrow.unread { color: var(--text); }141.mrow-check { position: relative; width: 58px; height: 100%; flex: none; display: grid; place-items: center; padding-left: 14px; }142.mrow-check > :not(.dot) { grid-area: 1 / 1; }143.dot { position: absolute; left: 4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--unread); animation: fade var(--dur-2) var(--ease); }144.mrow-avatar { width: 34px; height: 34px; font-size: 0.75rem; }145.box { width: 18px; height: 18px; border: 1.5px solid var(--border-strong); border-radius: 5px; display: none; place-items: center; background: var(--surface); color: var(--on-accent); }146.box.on { display: grid; background: var(--accent); border-color: var(--accent); }147.mrow.selected .mrow-avatar, .list-toolbar.selecting ~ .mlist .mrow-avatar, :root[data-avatars="off"] .mrow-avatar { display: none; }148.list-toolbar.selecting ~ .mlist .box, :root[data-avatars="off"] .box { display: grid; }149:root[data-avatars="off"] .mrow-check { width: 44px; }150:root[data-avatars="off"] .mrow::before { left: 52px; }151.mrow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }152.mrow-top { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 20px; }153.mrow-from { font-size: var(--fs); line-height: 1.34; font-weight: 500; color: var(--text); min-width: 0; }154.mrow.unread .mrow-from, .mrow.unread .mrow-subject { font-weight: 650; color: var(--text); }155.mrow-n { font-size: 0.6875rem; font-weight: 600; line-height: 16px; color: var(--text-2); padding: 0 6px; border-radius: var(--radius-pill); background: var(--surface-3); flex: none; font-variant-numeric: tabular-nums; }156.mrow-icons { display: inline-flex; align-items: center; gap: 4px; color: var(--text-3); margin-left: auto; flex: none; }157.mrow-icons .icon.s { width: 14px; height: 14px; }158.mrow-icons .pin { color: var(--star); }159.mrow-date { font-size: var(--fs-xs); font-weight: 500; color: var(--text-3); white-space: nowrap; flex: none; font-variant-numeric: tabular-nums; }160.mrow.unread .mrow-date { color: var(--accent-ink); }161.mrow-bottom { display: flex; flex-direction: column; min-width: 0; }162.mrow-subject { font-size: var(--fs-callout); line-height: 1.42; color: var(--text-2); }163.mrow-preview { font-size: var(--fs-callout); line-height: 1.4; color: var(--text-3); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; overflow-wrap: anywhere; min-width: 0; }164:root[data-preview="2"] .mrow-preview { -webkit-line-clamp: 2; line-clamp: 2; }165:root[data-preview="0"] .mrow-preview { display: none; }166.mrow-star { width: 30px; height: 30px; display: grid; place-items: center; flex: none; border-radius: 8px; color: var(--text-3); opacity: 0; transition: opacity var(--dur-1) var(--ease), transform var(--dur-1) var(--ease); }167.mrow-star .icon { width: 18px; height: 18px; }168.mrow-star:hover { background: var(--surface-3); color: var(--text); }169.mrow-star:active { transform: scale(0.9); }170.mrow-star.on, .mrow.cursor .mrow-star { opacity: 1; }171.mrow-star.on, .icon-btn.starred, .icon-btn.starred[aria-pressed="true"] { color: var(--star); }172.mrow-star.on .icon, .icon-btn.starred .icon { fill: currentColor; }173/* actions rapides au survol : à droite, à la place de la date ; le texte s'efface dessous en fondu de la couleur de la ligne */174.mrow-quick { position: absolute; z-index: 2; top: 50%; right: 36px; transform: translateY(-50%); display: none; gap: 2px; padding: 2px 0 2px 6px; background: var(--row-bg, var(--bg)); box-shadow: -18px 0 14px 2px var(--row-bg, var(--bg)); }175.mrow-q { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--text-2); }176.mrow-q:hover { background: var(--surface-3); color: var(--text); }177@media (hover: hover) {178  .mrow:hover { --row-bg: var(--surface-2); }179  .mrow.open:hover, .mrow.selected:hover { --row-bg: var(--accent-soft); }180  .mrow:hover .mrow-date { visibility: hidden; }181  .mrow:hover::before, .mrow:hover + .mrow::before { display: none; }182  .mrow:hover .mrow-star { opacity: 1; }183  .mrow:hover .mrow-quick { display: flex; }184  .mrow:hover .mrow-avatar { display: none; }185  .mrow:hover .box { display: grid; }186  .skeleton-row:hover .mrow-avatar { display: grid; }187}188@media (hover: none) {189  .mrow-star { opacity: 1; }190  .nav-menu { opacity: 1; }191}192.skeleton-row { cursor: default; pointer-events: none; }193.skeleton-row .mrow-avatar { display: grid; }194.skeleton-row .mrow-main { gap: 9px; }195196/* densité intermédiaire : objet et aperçu sur la même ligne (sauf deux lignes d'aperçu demandées) */197:root[data-density="cozy"] .mrow-avatar { width: 30px; height: 30px; }198:root[data-density="cozy"]:not([data-preview="2"]) .mrow-bottom { flex-direction: row; gap: 8px; align-items: baseline; }199:root[data-density="cozy"]:not([data-preview="2"]) .mrow-subject { flex: 0 1 auto; max-width: 62%; }200:root[data-density="cozy"]:not([data-preview="2"]) .mrow-preview { flex: 1 1 0; display: block; white-space: nowrap; text-overflow: ellipsis; }201:root[data-density="cozy"][data-preview="2"] .mrow-preview { -webkit-line-clamp: 1; line-clamp: 1; }202:root[data-density="cozy"][data-preview="0"] .mrow-preview { display: none; }203/* densité compacte : une seule ligne — expéditeur, objet et aperçu, date à droite */204:root[data-density="compact"] .mrow { padding: 0 8px; }205:root[data-density="compact"] .mrow::before { left: 50px; }206:root[data-density="compact"] .mrow-check { width: 42px; padding-left: 12px; }207:root[data-density="compact"] .mrow-avatar { width: 22px; height: 22px; font-size: 0.625rem; }208:root[data-density="compact"] .mrow-card { border-radius: 8px; }209:root[data-density="compact"] .mrow-main { flex-direction: row; align-items: center; gap: 12px; padding-right: 64px; }210:root[data-density="compact"] .mrow-top { flex: 0 0 32%; }211:root[data-density="compact"] .mrow-bottom { flex: 1; flex-direction: row; gap: 8px; align-items: baseline; }212:root[data-density="compact"] .mrow-subject { flex: 0 1 auto; max-width: 60%; }213:root[data-density="compact"] .mrow-preview { flex: 1 1 0; display: block; white-space: nowrap; text-overflow: ellipsis; }214:root[data-density="compact"][data-preview="0"] .mrow-preview { display: none; }215:root[data-density="compact"] .mrow-date { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); }216:root[data-density="compact"] .mrow-from { font-size: var(--fs-callout); }217:root[data-density="compact"] .mrow-star { width: 26px; height: 26px; }218:root[data-density="compact"] .mrow-q { width: 26px; height: 26px; }219/* liste étroite : l'aperçu cède sa place à l'objet (une seule ligne ne peut pas tout porter) */220@container list (max-width: 560px) {221  :root[data-density="compact"] .mrow-preview { display: none; }222  :root[data-density="compact"] .mrow-subject { flex: 1 1 auto; max-width: none; }223  :root[data-density="compact"] .mrow-top { flex-basis: 36%; }224}225226/* gestes de glissement (doigt) : l'action apparaît sous la carte qui suit le doigt */227.mrow-swipe { position: absolute; inset: 1px 8px; display: none; align-items: center; justify-content: space-between; padding: 0 16px; border-radius: var(--radius-m); font-size: var(--fs-s); font-weight: 600; color: var(--text-2); background: var(--surface-3); }228.mrow.swiping .mrow-swipe { display: flex; }229.mrow.swiping .mrow-card { transition: none; box-shadow: var(--shadow-1); }230.mrow-swipe-lead, .mrow-swipe-short, .mrow-swipe-long { display: none; align-items: center; gap: 8px; }231.mrow-swipe-trail { margin-left: auto; }232.mrow[data-swipe^="lead"] .mrow-swipe-lead { display: inline-flex; }233.mrow[data-swipe="trail"] .mrow-swipe-short, .mrow[data-swipe="trail-armed"] .mrow-swipe-short { display: inline-flex; }234.mrow[data-swipe="trail-long"] .mrow-swipe-long { display: inline-flex; }235.mrow[data-swipe="lead-armed"] .mrow-swipe { background: var(--info-soft); color: var(--info); }236.mrow[data-swipe="trail-armed"] .mrow-swipe { background: var(--accent-soft); color: var(--accent-ink); }237.mrow[data-swipe="trail-long"] .mrow-swipe { background: var(--warn-soft); color: var(--warn); }238@media (prefers-reduced-motion: reduce) {239  /* la carte ne suit pas le doigt : elle s'estompe pour laisser lire l'action armée */240  .mrow.swiping .mrow-card { opacity: 0.25; }241}242243/* ---- volet lecture : barre collante translucide, messages séparés par des filets (pas de cartes dans le panneau) */244.reader-pane { flex: 1 1 0; min-width: 0; min-height: 0; display: flex; flex-direction: column; background: var(--surface); }245.reader { flex: 1; min-height: 0; display: flex; flex-direction: column; }246.reader-empty { flex: 1; }247.reader-scroll { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; }248.reader-toolbar { position: sticky; top: 0; z-index: 5; flex: none; display: flex; align-items: center; gap: 2px; min-height: 52px; padding: 6px 12px; border-bottom: 1px solid var(--border); background: var(--glass); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); }249.reader-toolbar .icon-btn { width: 36px; height: 36px; }250.rt-group { display: inline-flex; gap: 2px; }251.rt-sep { width: 1px; height: 20px; margin: 0 6px; background: var(--border); }252.rt-overflow { display: none; }253.reader-body { flex: 1 0 auto; padding: 20px clamp(16px, 4vw, 44px) 96px; display: flex; flex-direction: column; animation: reader-in var(--dur-3) var(--ease); }254.reader-body > * { width: 100%; max-width: 860px; margin-inline: auto; }255@keyframes reader-in { from { transform: translateX(12px); } to { transform: none; } }256.reader-subject { font-size: var(--fs-title); font-weight: 650; line-height: 1.3; letter-spacing: -0.012em; overflow-wrap: anywhere; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 14px; }257.reader-body > .banner { margin-bottom: 12px; }258.msg { border-top: 1px solid var(--border); }259.msg-head { display: flex; align-items: center; gap: 4px; padding: 6px 0; }260.msg-toggle { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 0; border: 0; border-radius: var(--radius-m); background: transparent; text-align: left; cursor: pointer; color: inherit; }261.msg-toggle[disabled] { cursor: default; }262.msg-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }263.msg-from { display: block; }264.msg-date { white-space: nowrap; flex: none; font-variant-numeric: tabular-nums; }265.msg-actions { display: inline-flex; flex: none; }266.msg-actions .icon-btn { width: 34px; height: 34px; }267/* message antérieur replié : une seule ligne */268.msg:not(.expanded) .msg-head { padding: 2px 0; }269.msg:not(.expanded) .msg-toggle { min-height: 44px; padding: 4px 8px; margin: 0 -8px; gap: 10px; transition: background var(--dur-1) var(--ease); }270.msg:not(.expanded) .msg-toggle:hover { background: var(--surface-2); }271.msg:not(.expanded) .avatar { width: 26px; height: 26px; font-size: 0.6875rem; }272.msg:not(.expanded) .msg-who { flex-direction: row; align-items: baseline; gap: 10px; }273.msg:not(.expanded) .msg-from { flex: 0 1 auto; max-width: 40%; }274.msg:not(.expanded) .msg-who > .muted { flex: 1 1 0; }275.msg-body { padding: 2px 0 20px; display: flex; flex-direction: column; gap: 10px; }276.auth-badges { display: flex; flex-wrap: wrap; gap: 6px; }277.details-toggle { align-self: flex-start; margin-left: -8px; }278.flip { transform: rotate(180deg); }279.msg-details { font-size: var(--fs-s); display: flex; flex-direction: column; gap: 10px; }280.msg-details dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0; }281.msg-details dt { color: var(--text-3); }282.msg-details dd { margin: 0; overflow-wrap: anywhere; }283.msg-details summary { cursor: pointer; color: var(--text-2); padding: 4px 0; }284.headers-table td { overflow-wrap: anywhere; white-space: pre-wrap; }285/* le HTML d'un message s'affiche toujours sur une feuille blanche ; dans les thèmes sombres, c'est une feuille arrondie */286.html-wrap { position: relative; --sheet-pad: 0px; }287.html-frame { position: relative; border-radius: var(--radius-m); background: var(--sheet); border: 1px solid transparent; overflow: hidden; padding: 0 var(--sheet-pad); }288.html-frame iframe { display: block; width: 100%; border: 0; background: var(--sheet); }289:root[data-theme="dark"] .html-wrap, :root[data-theme="midnight"] .html-wrap { --sheet-pad: 14px; }290:root[data-theme="dark"] .html-frame, :root[data-theme="midnight"] .html-frame { border-color: var(--border); padding-block: 10px; }291/* lecture sombre : couleurs inversées dans le cadre (les images y sont ré-inversées par le document du message) */292.html-frame.dark { background: #141414; }293.html-frame.dark iframe { filter: invert(0.92) hue-rotate(180deg); }294.html-measure { position: absolute; top: 0; left: calc(var(--sheet-pad) + 1px); width: calc(100% - 2 * (var(--sheet-pad) + 1px)); height: 40px; border: 0; visibility: hidden; pointer-events: none; z-index: -1; }295.text-body { white-space: pre-wrap; overflow-wrap: anywhere; font: 1rem / 1.625 var(--reading-font); max-width: 72ch; }296.remote-banner { align-items: center; flex-wrap: wrap; }297.remote-unverified { color: var(--text-2); }298.reader-note { margin-top: -4px; }299.attachments { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }300.attachments h3 { display: flex; align-items: center; gap: 6px; font-weight: 600; }301.attachment-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }302.attachment { flex: 0 0 auto; width: min(264px, 82%); display: flex; align-items: center; gap: 10px; padding: 6px 4px 6px 6px; border: 1px solid var(--border); border-radius: var(--radius-m); min-width: 0; background: var(--surface); }303.attachment.risky { border-color: var(--danger); }304.attachment-thumb { width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: var(--radius-s); overflow: hidden; background: var(--surface-2); cursor: zoom-in; display: grid; place-items: center; color: var(--text-3); }305.attachment-thumb.glyph { cursor: default; }306.attachment-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }307.attachment-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }308.attachment-name { display: flex; min-width: 0; font-weight: 550; font-size: var(--fs-callout); }309.attachment-tail { flex: none; white-space: pre; }310.attachment-risk { margin-left: 6px; }311.attachment .icon-btn { width: 34px; height: 34px; }312.attachment-preview { max-width: 100%; max-height: 70dvh; display: block; margin: 0 auto; border-radius: var(--radius-s); }313.msg-foot { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 6px; }314.source { margin: 0; padding: 12px; max-height: 60dvh; overflow: auto; background: var(--surface-2); border-radius: var(--radius-m); white-space: pre-wrap; overflow-wrap: anywhere; }315.reader-count { font-weight: 600; }316317/* volet de lecture étroit (téléphone, tablette, liste élargie — attribut posé par ui/Reader.tsx) : en-tête sur plusieurs lignes */318.reader[data-narrow] .msg-email { display: none; }319.reader[data-narrow] .msg-head { flex-wrap: wrap; }320.reader[data-narrow] .msg.expanded .msg-toggle { flex: 1 1 100%; flex-wrap: wrap; row-gap: 2px; }321.reader[data-narrow] .msg.expanded .msg-date { flex-basis: 100%; padding-left: 48px; white-space: normal; }322.reader[data-narrow] .msg-actions { margin: -6px 0 2px auto; }323.reader[data-narrow] .msg:not(.expanded) .msg-date { display: none; }324325/* ---- palette de commandes */326.palette-overlay { place-items: start center; padding-top: min(16vh, 132px); }327.palette { width: min(640px, 100%); max-height: min(68dvh, 560px); display: flex; flex-direction: column; overflow: hidden; background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-2); animation: pop var(--dur-2) var(--ease); }328.palette-input { display: flex; align-items: center; gap: 10px; padding: 0 14px 0 16px; min-height: 54px; border-bottom: 1px solid var(--border); color: var(--text-3); }329.palette-input input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; color: var(--text); font-size: var(--fs-l); padding: 12px 0; }330.palette-input input::placeholder { color: var(--text-3); opacity: 1; }331.palette-list { flex: 1; min-height: 0; overflow-y: auto; padding: 6px; scrollbar-width: thin; }332.palette-section { padding: 8px 10px 4px; font-size: 0.6875rem; font-weight: 650; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }333.palette-item { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 10px; border-radius: 8px; cursor: pointer; color: var(--text); }334.palette-item .icon { width: 18px; height: 18px; color: var(--text-3); }335.palette-item.active { background: var(--accent-soft); }336.palette-item.active .icon { color: var(--accent-ink); }337.palette-title { flex: 0 1 auto; }338.palette-sub { flex: 1 1 0; color: var(--text-3); font-size: var(--fs-s); }339.palette-keys { margin-left: auto; display: inline-flex; gap: 4px; flex: none; }340.palette-hint { padding: 8px 16px 10px; border-top: 1px solid var(--border); font-size: var(--fs-xs); color: var(--text-3); }341.palette-hint.empty { padding: 22px 16px; border-top: 0; text-align: center; font-size: var(--fs-callout); color: var(--text-2); }342.palette-esc { flex: none; }343344/* ---- barre de navigation du bas (téléphone) */345.bottom-nav { display: none; }346347/* ---- suivi des envois */348.deliveries { position: fixed; z-index: 40; left: 20px; bottom: 84px; width: min(380px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 8px; }349.delivery { padding: 10px 10px 12px 14px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--ok); border-radius: var(--radius-m); box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 4px; }350.delivery-ok { color: var(--ok); }351.delivery-rcpts { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }352.delivery-rcpts li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }353.delivery-reply { flex-basis: 100%; overflow-wrap: anywhere; }354355/* ---- rédaction */356.composer { position: fixed; z-index: 45; right: 20px; bottom: 0; width: min(680px, calc(100vw - 40px)); height: min(680px, calc(100dvh - 40px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border-strong); border-bottom: 0; border-radius: 14px 14px 0 0; box-shadow: var(--shadow-2); }357.composer.dragging { outline: 2px dashed var(--accent); outline-offset: -4px; }358.composer-head { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); border-radius: 14px 14px 0 0; }359.composer-head h2 { flex: 1; font-size: 0.9375rem; }360.composer-save { color: var(--text-3); white-space: nowrap; }361.composer-save.error { color: var(--danger); }362.composer-fields { padding: 0 14px; }363.composer-line { display: flex; align-items: flex-start; gap: 8px; border-bottom: 1px solid var(--border); padding: 4px 0; }364.composer-line > label, .rcpt-label { color: var(--text-3); font-size: var(--fs-s); min-width: 44px; padding-top: 9px; flex: none; }365.composer-from { border: 0; background: transparent; min-height: 36px; padding-left: 0; }366.composer-subject { flex: 1; min-width: 0; border: 0; background: transparent; min-height: 36px; outline: none; font-weight: 600; }367.rcpt { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 0 8px; position: relative; }368.rcpt-box { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 36px; cursor: text; }369.rcpt-chips { display: contents; }370.rcpt-chip { display: inline-flex; align-items: center; max-width: 100%; min-height: 28px; padding: 0 2px 0 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: var(--fs-s); }371.rcpt-chip.bad { border-color: var(--danger); color: var(--danger); }372.rcpt-chip button { display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); cursor: pointer; }373.rcpt-chip button:hover { background: var(--surface-3); }374.rcpt-input { flex: 1; min-width: 120px; border: 0; background: transparent; min-height: 32px; outline: none; }375.rcpt-input[aria-invalid="true"] { color: var(--danger); }376.rcpt-list { position: absolute; z-index: 5; top: 100%; left: 44px; right: 0; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); box-shadow: var(--shadow-2); }377.rcpt-list li { display: flex; flex-direction: column; padding: 6px 10px; border-radius: var(--radius-s); cursor: pointer; }378.rcpt-list li.active, .rcpt-list li:hover { background: var(--accent-soft); }379.rcpt-error { flex-basis: 100%; color: var(--danger); padding: 0 0 4px 52px; }380.composer-body { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; }381.editor-tools { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px 10px; border-bottom: 1px solid var(--border); }382.tool { min-width: 32px; height: 32px; padding: 0 6px; border: 0; border-radius: var(--radius-s); background: transparent; color: var(--text-2); cursor: pointer; font-weight: 700; }383.tool:hover { background: var(--surface-2); color: var(--text); }384.tool-italic { font-style: italic; }385.tool-underline { text-decoration: underline; }386.editor { flex: 1; min-height: 120px; overflow-y: auto; padding: 12px 16px; outline: none; line-height: 1.5; overflow-wrap: anywhere; border: 0; background: transparent; resize: none; width: 100%; }387.editor:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--focus); border-radius: 0; }388.editor blockquote { margin: 0 0 0 0.6em; padding-left: 0.9em; border-left: 3px solid var(--border-strong); color: var(--text-2); }389.editor a { color: var(--accent); }390.editor img { max-width: 100%; }391.editor-text { font-family: var(--mono); font-size: 0.875rem; }392.composer-atts { display: flex; flex-direction: column; gap: 4px; padding: 8px 14px; border-top: 1px solid var(--border); max-height: 30%; overflow-y: auto; }393.composer-att { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: var(--fs-s); }394.composer-att progress { width: 80px; flex: none; }395.composer-att .small-btn { width: 28px; height: 28px; margin-left: auto; }396.composer-att.error, .att-error { color: var(--danger); }397.composer-drop { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--accent); font-weight: 650; pointer-events: none; }398.composer-error { margin: 0 14px 8px; }399.composer-foot { display: flex; align-items: center; gap: 6px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }400.composer-min { position: fixed; z-index: 45; right: 20px; bottom: 0; width: min(320px, calc(100vw - 40px)); display: flex; align-items: center; background: var(--surface-2); border: 1px solid var(--border-strong); border-bottom: 0; border-radius: 12px 12px 0 0; box-shadow: var(--shadow-2); }401.composer-min-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; background: transparent; cursor: pointer; font-weight: 650; text-align: left; }402403/* ---- aide */404.shortcuts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 24px; margin: 0; }405.shortcuts > div { display: flex; align-items: center; gap: 12px; min-height: 30px; }406.shortcuts dt { min-width: 96px; display: flex; gap: 4px; }407.shortcuts dd { margin: 0; color: var(--text-2); }408kbd { display: inline-block; min-width: 22px; padding: 1px 6px; border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); font: 600 0.6875rem / 1.5 var(--mono); text-align: center; }409410/* ---- « Toutes les boîtes » : pastille d'adresse (teinte stable --h), choix des boîtes, messages programmés */411.addr-chip { display: inline-flex; align-items: center; gap: 5px; flex: 0 1 auto; min-width: 0; max-width: 46%; padding: 0 8px 0 6px; min-height: 18px; border-radius: var(--radius-pill); background: hsl(var(--h, 160) var(--hue-bg-sl)); color: hsl(var(--h, 160) var(--hue-ink-sl)); font-size: 0.6875rem; font-weight: 600; }412.addr-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: hsl(var(--h, 160) var(--hue-dot-sl)); }413.unified-crumb { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding-left: 6px; font-weight: 650; color: var(--text-2); }414.subset-btn { flex: none; }415.subset-list { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }416.subset-list legend { padding: 0 0 8px; }417.subset-item { min-height: var(--tap); min-width: 0; }418.chip .addr-dot { margin-right: 6px; }419.sched-list { flex: 1; min-height: 0; overflow-y: auto; }420.sched-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--border); }421.sched-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }422.sched-rcpt { overflow-wrap: anywhere; }423.sched-clock { display: inline-block; vertical-align: -3px; }424425/* ---- pages secondaires */426.page { flex: 1; min-height: 0; display: flex; flex-direction: column; }427.page-head { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--surface); flex: none; }428.page-admin .page-head { border-bottom: 3px solid var(--admin); background: var(--admin-soft); }429.admin-badge { background: var(--admin); color: var(--surface); }430.page-cols { flex: 1; min-height: 0; display: grid; grid-template-columns: 240px minmax(0, 1fr); }431.page-nav { overflow-y: auto; padding: 12px 10px; border-right: 1px solid var(--border); }432.page-nav ul { display: flex; flex-direction: column; gap: 2px; }433.page-nav a { display: flex; align-items: center; gap: 12px; min-height: 38px; padding: 0 12px; border-radius: var(--radius-m); color: var(--text-2); text-decoration: none; font-weight: 500; white-space: nowrap; }434.page-nav a:hover { background: var(--surface-2); color: var(--text); }435.page-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--text); font-weight: 650; }436.page-admin .page-nav a[aria-current="page"] { background: var(--admin-soft); }437.page-body { overflow-y: auto; padding: 20px clamp(12px, 3vw, 32px) 64px; display: flex; flex-direction: column; gap: 16px; }438.page-body > * { width: 100%; max-width: 980px; }439.page-title { font-size: 1.25rem; }440.section { display: flex; flex-direction: column; gap: 12px; }441.section-head { min-height: 32px; }442.section-desc { margin-top: -6px; }443444/* ---- dispositions (grand et moyen écran) : lecture à droite (défaut), en bas, ou liste seule */445@media (min-width: 761px) {446  :root[data-layout="below"] .shell-main { flex-direction: column; }447  :root[data-layout="below"] .list-pane { flex: 0 0 auto; width: auto; height: var(--list-h); max-height: 68%; min-height: 160px; }448  :root[data-layout="none"] .list-pane { flex: 1 1 auto; width: auto; }449  :root[data-layout="none"] .reader-pane { display: none; }450  :root[data-layout="none"] .shell.has-thread .list-pane { display: none; }451  :root[data-layout="none"] .shell.has-thread .reader-pane { display: flex; }452  .reader-pane { min-width: 320px; }453}454/* ---- barre latérale réduite à une colonne d'icônes (grand écran) */455@media (min-width: 1101px) {456  /* notifications et suivi des envois : en bas à gauche du contenu, sans couvrir la barre latérale */457  .app-root:has(> .shell) .toasts, .deliveries { left: calc(var(--sidebar-w) + 20px); }458  :root[data-sidebar="rail"] .app-root:has(> .shell) .toasts, :root[data-sidebar="rail"] .deliveries { left: calc(var(--rail-w) + 20px); }459  :root[data-sidebar="rail"] .sidebar { width: var(--rail-w); padding-inline: 8px; align-items: stretch; }460  /* réduite : pas de redimensionnement (le séparateur quitte aussi l'ordre de tabulation) ; un filet le remplace */461  :root[data-sidebar="rail"] .shell > .splitter { visibility: hidden; width: 0; }462  :root[data-sidebar="rail"] .sidebar { border-right: 1px solid var(--border); }463  :root[data-sidebar="rail"] .sidebar-head { flex-direction: column; padding: 0; gap: 6px; }464  :root[data-sidebar="rail"] .brand { flex: none; }465  :root[data-sidebar="rail"] .brand-name, :root[data-sidebar="rail"] .nav-heading, :root[data-sidebar="rail"] .nav-tree, :root[data-sidebar="rail"] .nav-ext-smart, :root[data-sidebar="rail"] .nav-ext-labels, :root[data-sidebar="rail"] .quota, :root[data-sidebar="rail"] .nav-switch, :root[data-sidebar="rail"] .sidebar-user .avatar, :root[data-sidebar="rail"] .sidebar-note, :root[data-sidebar="rail"] .sidebar-tool:not(.only-wide) { display: none; }466  :root[data-sidebar="rail"] .nav-label, :root[data-sidebar="rail"] .nav-account-title, :root[data-sidebar="rail"] .sync-text, :root[data-sidebar="rail"] .sync-retry { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }467  :root[data-sidebar="rail"] .compose-btn { justify-content: center; padding: 0; margin: 0 4px; }468  :root[data-sidebar="rail"] .sidebar-scroll { padding: 0; scrollbar-width: none; }469  :root[data-sidebar="rail"] .nav-item > a { justify-content: center; padding: 0; min-height: 40px; }470  :root[data-sidebar="rail"] .nav-item > a .icon { width: 20px; height: 20px; }471  :root[data-sidebar="rail"] .nav-count { position: absolute; top: 4px; right: 6px; min-width: 16px; padding: 0 4px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font-size: 0.625rem; line-height: 16px; text-align: center; }472  :root[data-sidebar="rail"] .nav-count:not(.strong) { display: none; }473  :root[data-sidebar="rail"] .nav-account-head { justify-content: center; padding: 2px 0; }474  :root[data-sidebar="rail"] .sidebar-user { flex-direction: column; padding: 0; gap: 0; }475  :root[data-sidebar="rail"] .sync-indicator.on { justify-content: center; padding: 0; }476}477478/* ---- tablette : la barre latérale devient un tiroir */479@media (max-width: 1100px) {480  .only-narrow { display: inline-flex; }481  .only-wide { display: none; }482  .shell > .splitter { display: none; }483  .list-pane { flex: 0 1 clamp(280px, var(--list-w), 44vw); width: clamp(280px, var(--list-w), 44vw); }484  .sidebar { position: fixed; z-index: 55; inset: 0 auto 0 0; width: min(304px, 86vw); padding-top: calc(10px + env(safe-area-inset-top)); box-shadow: var(--shadow-3); transform: translateX(-102%); transition: transform var(--dur-3) var(--ease), visibility 0s linear var(--dur-3); visibility: hidden; }485  .shell.nav-open .sidebar { transform: none; visibility: visible; transition: transform var(--dur-3) var(--ease); }486  .shell.nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 54; background: var(--overlay); animation: fade var(--dur-2) var(--ease); }487  .nav-menu { opacity: 1; }488  .sync-indicator.compact.on { display: inline-flex; flex: none; padding: 0 6px; }489  .sync-indicator.compact .sync-retry { display: none; }490}491/* ---- téléphone : un seul volet à la fois, barre de navigation en bas */492@media (max-width: 760px) {493  :root { --tap: 44px; --row-h: 76px; --bottom-nav: calc(58px + env(safe-area-inset-bottom)); }494  .only-phone { display: inline-flex; }495  .palette-btn { min-width: var(--tap); min-height: var(--tap); }496  :root[data-density="comfortable"][data-preview="0"] { --row-h: 60px; }497  :root[data-density="comfortable"][data-preview="2"] { --row-h: 96px; }498  :root[data-density="cozy"] { --row-h: 64px; }499  :root[data-density="cozy"][data-preview="2"] { --row-h: 82px; }500  :root[data-density="compact"] { --row-h: 56px; --tap: 44px; }501  .shell-main { flex-direction: column; padding-bottom: var(--bottom-nav); }502  .shell.has-thread .shell-main { padding-bottom: 0; }503  .shell-main > .splitter { display: none; }504  .list-pane { flex: 1 1 auto; width: auto; min-width: 0; }505  .reader-pane { display: none; }506  .shell.has-thread .list-pane { display: none; }507  .shell.has-thread .reader-pane { display: flex; animation: pane-in var(--dur-3) var(--ease); }508  .shell.has-thread .bottom-nav { display: none; }509  .bottom-nav { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: var(--bottom-nav); padding: 0 6px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); border-top: 1px solid var(--border); }510  .bottom-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 48px; padding: 0; border: 0; border-radius: var(--radius-m); background: transparent; color: var(--text-2); font-size: 0.6875rem; font-weight: 550; text-decoration: none; cursor: pointer; }511  .bottom-item .icon { width: 22px; height: 22px; }512  .bottom-item[aria-current="page"], .bottom-item[aria-pressed="true"] { color: var(--accent-ink); }513  .bottom-fab { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-2); transition: transform var(--dur-1) var(--ease); }514  .bottom-compose:active .bottom-fab { transform: scale(0.94); }515  .mrow { padding-inline: 6px; }516  .mrow-quick { display: none !important; }517  .reader-toolbar { padding-top: calc(6px + env(safe-area-inset-top)); }518  .reader-toolbar .icon-btn { width: 40px; height: 40px; }519  .rt-more { display: none; }520  .rt-overflow { display: inline-flex; }521  .reader-body { padding: 16px 16px 72px; }522  .composer { inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; }523  .composer-head { border-radius: 0; }524  .composer-min { right: 8px; left: 8px; width: auto; bottom: var(--bottom-nav); border-bottom: 1px solid var(--border-strong); border-radius: 12px; margin-bottom: 8px; }525  .shell.has-thread .composer-min { bottom: 0; }526  .deliveries { left: 8px; right: 8px; bottom: calc(var(--bottom-nav) + 64px); width: auto; }527  .page-cols { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }528  .page-nav { border-right: 0; border-bottom: 1px solid var(--border); padding: 6px 8px; overflow-x: auto; }529  .page-nav ul { flex-direction: row; }530  .page-head h1 { font-size: 1.125rem; }531  .search-dates { grid-template-columns: 1fr; }532  .palette-overlay { padding: 8px; padding-top: calc(8px + env(safe-area-inset-top)); }533  .palette { max-height: min(72dvh, 560px); }534  .palette-keys, .palette-esc { display: none; }535  .sched-item { flex-wrap: wrap; }536  .sched-item .btn { margin-left: auto; }537  /* densité compacte sur téléphone : deux lignes (une ligne unique serait illisible à cette largeur) */538  :root[data-density="compact"] .mrow-main { flex-direction: column; align-items: stretch; gap: 0; padding-right: 0; }539  :root[data-density="compact"] .mrow-top { flex: none; }540  :root[data-density="compact"] .mrow-date { position: static; transform: none; }541  :root[data-density="compact"] .mrow-avatar { width: 28px; height: 28px; font-size: 0.6875rem; }542}543@keyframes pane-in { from { transform: translateX(28px); } to { transform: none; } }544545/* ---- mouvement réduit : ni entrée de liste, ni glissement de volet, ni déplacement animé des lignes */546@media (prefers-reduced-motion: reduce) {547  .mlist-inner, .reader-body, .shell.has-thread .reader-pane, .dialog, .menu, .palette, .overlay, .toast, .search-panel { animation: none !important; }548  .mrow, .sidebar, .mrow-card { transition: none !important; }549}550551/* ---- ordre des boîtes (dialogue de la barre latérale) */552.mb-order-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }553.mb-order-row { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--surface); min-height: var(--tap); cursor: grab; }554.mb-order-row.over { border-color: var(--accent); background: var(--accent-soft); }555.mb-order-grip { color: var(--text-3); display: inline-flex; }556.mb-order-name { flex: 1; min-width: 0; }557
Files main
Menu

Theme