Repository Public
1/* SP Mail Next — primitives communes des écrans de productivité (préfixe nx-) : page dans la coquille, en-tête, cartes, pastilles, états vides. */2.shell-pane { display: block; overflow: auto; background: var(--bg); outline: none; }3.nx-page { max-width: 1180px; margin: 0 auto; padding: 20px 24px 40px; display: flex; flex-direction: column; gap: 16px; min-height: 100%; }4.nx-page.wide { max-width: none; }5.nx-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: var(--tap); }6.nx-head h1 { font-size: var(--fs-title); line-height: 1.3; font-weight: 650; margin: 0; letter-spacing: -0.01em; }7.nx-head .nx-sub { color: var(--text-3); font-size: var(--fs-s); }8.nx-head .spacer { flex: 1; }9.nx-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }10.nx-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); box-shadow: var(--shadow-1); }11.nx-card-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px 8px; }12.nx-card-head h2 { font-size: var(--fs); font-weight: 600; margin: 0; flex: 1; min-width: 0; }13.nx-card-body { padding: 4px 16px 14px; }14.nx-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 26px; padding: 2px 10px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface-2); color: var(--text-2); font-size: var(--fs-s); line-height: 1.3; white-space: nowrap; }15button.nx-chip, a.nx-chip { cursor: pointer; text-decoration: none; transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }16button.nx-chip:hover, a.nx-chip:hover { background: var(--surface-3); }17.nx-chip[aria-pressed="true"], .nx-chip.on { background: var(--accent-soft); border-color: transparent; color: var(--accent-strong); }18.nx-chip .icon { width: 14px; height: 14px; }19.nx-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--text-3); }20.nx-list { list-style: none; margin: 0; padding: 0; }21.nx-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-m); min-height: var(--tap); color: inherit; text-decoration: none; }22a.nx-item:hover, button.nx-item:hover { background: var(--surface-2); }23.nx-item + .nx-item { margin-top: 1px; }24.nx-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }25.nx-item-main .small { color: var(--text-3); }26.nx-meta { color: var(--text-3); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; white-space: nowrap; }27.nx-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 28px 16px; text-align: center; color: var(--text-3); }28.nx-empty .icon { width: 28px; height: 28px; opacity: 0.7; }29.nx-empty p { margin: 0; max-width: 46ch; }30.nx-note { color: var(--text-3); font-size: var(--fs-s); }31.nx-ai { background: var(--info-soft); border: 1px solid transparent; border-radius: var(--radius-m); }32.nx-ai-by { color: var(--info); font-size: var(--fs-xs); display: inline-flex; align-items: center; gap: 4px; }33.nx-pop { position: fixed; z-index: 60; min-width: 220px; max-width: min(360px, calc(100vw - 16px)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); box-shadow: var(--shadow-2); padding: 6px; }34.mrow-glyph { display: inline-flex; color: var(--text-3); }35.mrow-glyph-followup { color: var(--warn); }36.shortcuts-extra { margin-top: 0; }37/* actions des modules dans la barre de sélection : en boutons seulement si le volet est large (elles restent dans « Autres actions ») */38.list-toolbar { container-type: inline-size; }39@container (max-width: 600px) { .list-toolbar .list-extra { display: none; } }40@media (max-width: 760px) {41 .shell.has-pane .shell-main { padding-bottom: var(--bottom-nav); }42 .nx-page { padding: 12px 12px 24px; gap: 12px; }43 .nx-head h1 { font-size: var(--fs-l); }44}45@media (prefers-reduced-motion: reduce) {46 .nx-chip { transition: none; }47}48