﻿/* Styles communs. Les pages de l'application utilisent MudBlazor ; les pages de compte gardent Bootstrap. */
html, body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    background: #f4f5f7;
    color: #1b1e24;
}

.app-bar { border-bottom: 1px solid #e1e4e9; }
.app-brand { font-weight: 700; font-size: 1rem; color: #1b1e24; text-decoration: none; white-space: nowrap; }
.brand-short { display: none; }
.app-nav { display: flex; align-items: center; gap: 6px; }
.nav-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 8px; color: #1b1e24; text-decoration: none; font-size: 0.875rem; font-weight: 600; cursor: pointer; list-style: none; white-space: nowrap; }
.nav-btn:hover { background: #eef1f6; }
.nav-btn::-webkit-details-marker { display: none; }
.nav-primary { background: #2457c5; color: #fff; }
.nav-primary:hover { background: #1d47a3; }
.account { position: relative; }
.account-menu { position: absolute; right: 0; top: 42px; min-width: 220px; background: #fff; border: 1px solid #e1e4e9; border-radius: 10px; box-shadow: 0 8px 24px rgba(27,30,36,.12); padding: 8px; display: flex; flex-direction: column; z-index: 1300; }
.account-name { font-size: 0.8rem; color: #5a6170; padding: 6px 10px; overflow-wrap: anywhere; }
.account-menu a, .account-menu button { display: block; width: 100%; text-align: left; padding: 10px; border-radius: 6px; background: none; border: 0; font: inherit; font-size: 0.9rem; color: #1b1e24; text-decoration: none; cursor: pointer; }
.account-menu a:hover, .account-menu button:hover { background: #eef1f6; }
@media (max-width: 600px) {
    .brand-full, .nav-label { display: none; }
    .brand-short { display: inline; }
    .nav-btn { padding: 0 10px; }
    .app-content { padding: 16px 16px 40px; }
}
.app-user { font-size: 0.875rem; color: #3d434f; text-decoration: none; }
.app-logout { background: none; border: 0; font: inherit; font-size: 0.875rem; color: #2457c5; cursor: pointer; padding: 0.5rem; }
.app-content { max-width: 1120px; margin: 0 auto; padding: 24px 16px 48px; }

.section-title { font-size: 1.125rem; font-weight: 700; margin: 0; }
.muted { color: #5a6170; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; overflow-wrap: anywhere; }
.project-link { color: inherit; text-decoration: none; display: block; height: 100%; }
.project-link:hover .mud-card { border-color: #2457c5; }
.preline { white-space: pre-line; }

h1:focus { outline: none; }

.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }
.invalid { outline: 1px solid #a3221c; }
.validation-message { color: #a3221c; }
.warn { color: #a35a00; font-weight: 600; }

/* Bandeau d'historique des services */
.strip-wrap { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.strip { display: flex; gap: 2px; height: 22px; }
.strip-cell { flex: 1 1 0; min-width: 2px; border-radius: 2px; background: #e1e4e9; }
.strip-cell.s-ok { background: #26a35a; }
.strip-cell.s-degraded { background: #e0a21a; }
.strip-cell.s-down { background: #c9372c; }
.strip-legend { display: flex; justify-content: space-between; font-size: 0.75rem; color: #5a6170; }

/* Phases */
.phase { overflow: hidden; }
.phase-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.phase-head:focus-visible { outline: 2px solid #2457c5; outline-offset: -2px; }
.phase-num { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; background: #eef1f6; color: #3d434f; }
.phase-inprogress .phase-num { background: #2457c5; color: #fff; }
.phase-done .phase-num { background: #e3f3e9; color: #17663a; }
.phase-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.phase-name { font-weight: 700; }
.phase-done .phase-name { color: #5a6170; }
.phase-meta { font-size: 0.8rem; color: #5a6170; }
.phase-bar { margin: 0 16px 4px; width: auto !important; }
.phase-body { padding: 4px 16px 14px 56px; }
.item-done .mud-checkbox label, .item-done p { color: #5a6170; text-decoration: line-through; }
.link-btn { background: none; border: 0; padding: 6px 0; font: inherit; font-size: 0.875rem; color: #2457c5; cursor: pointer; }
@media (max-width: 600px) { .phase-body { padding-left: 16px; } }

/* Maquettes et liens */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.link-card { display: flex; align-items: center; gap: 4px; background: #fff; border: 1px solid #e1e4e9; border-radius: 10px; padding-right: 4px; }
.link-card:hover { border-color: #2457c5; }
.link-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: inherit; text-decoration: none; }
.link-icon { color: #2457c5; flex: none; }
.link-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.link-title { font-weight: 600; overflow-wrap: anywhere; }
.link-meta { font-size: 0.8rem; color: #5a6170; }
.page-title { font-weight: 700 !important; }
@media (max-width: 600px) { .page-title { font-size: 1.6rem !important; line-height: 1.25 !important; } }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stat-tile { height: 100%; }
@media (max-width: 600px) {
    .hide-mobile { display: none !important; }
    .stat-tile .mud-typography-h5 { font-size: 1.25rem; }
}

/* Projets d'un hébergement */
.usage-list { display: flex; flex-direction: column; border-top: 1px solid #e1e4e9; }
.usage-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #e1e4e9; }
.usage-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.usage-facts { font-size: 0.85rem; overflow-wrap: anywhere; }

/* Sécurité */
.sev { display: inline-block; flex: none; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; background: #eef1f6; color: #3d434f; }
.sev-critical { background: #a3221c; color: #fff; }
.sev-high { background: #fbe4e2; color: #a3221c; }
.sev-medium { background: #fdf0d9; color: #8a5300; }
.sev-low { background: #e8eefb; color: #163a8a; }
.sev-ok { background: #e3f3e9; color: #17663a; }
.finding { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #e1e4e9; }
.finding:last-child { border-bottom: 0; }
.finding-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.finding-title { font-weight: 600; font-size: 0.9rem; color: inherit; overflow-wrap: anywhere; }
a.finding-title { color: #2457c5; text-decoration: none; }
.finding-meta { font-size: 0.8rem; color: #5a6170; overflow-wrap: anywhere; }

/* Couleurs des cartes (accueil et choix dans la fiche) */
.pcard-yellow, .swatch-yellow { background: #fff6d8; }
.pcard-blue, .swatch-blue { background: #e3f1ff; }
.pcard-green, .swatch-green { background: #e5f6e8; }
.pcard-pink, .swatch-pink { background: #fde8ec; }
.pcard-purple, .swatch-purple { background: #ece8fd; }
.pcard-orange, .swatch-orange { background: #ffeedd; }
.pcard-grey, .swatch-grey { background: #eceef2; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(27,30,36,.15); cursor: pointer; padding: 0; display: grid; place-items: center; font-size: 0.9rem; color: #1b1e24; }
.swatch.on { outline: 3px solid #2457c5; outline-offset: 2px; }
.swatch-auto { width: auto; border-radius: 999px; padding: 0 14px; font: inherit; font-size: 0.85rem; font-weight: 600; }
.pcard-progress { height: 6px; border-radius: 3px; background: rgba(27,30,36,.10); overflow: hidden; }
.pcard-progress span { display: block; height: 100%; background: #2457c5; border-radius: 3px; }

/* Filtres en pastilles (notes du projet) */
.note-filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.note-filters::-webkit-scrollbar { display: none; }
.filter { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid #d5d9e0; background: #fff; font: inherit; font-size: 0.8rem; font-weight: 600; color: #3d434f; cursor: pointer; }
.filter.on { background: #1b1e24; border-color: #1b1e24; color: #fff; }
.filter-count { font-weight: 500; opacity: .7; }
/* Notes, bugs et améliorations */
.note-row { display: flex; align-items: flex-start; gap: 4px; padding: 8px 6px 8px 10px; border-radius: 10px; background: #f7f8fa; border-left: 3px solid #c9ced8; }
.note-row.kind-bug { border-left-color: #c8382a; }
.note-row.kind-improvement { border-left-color: #2457c5; }
.note-row.kind-toplan { border-left-color: #a35a00; }
.note-row.kind-idea { border-left-color: #d4a514; }
.note-row .mud-checkbox { margin: -4px 0 0 -8px; }
.note-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.note-kind { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #5a6170; }
.kind-bug .note-kind { color: #a3221c; }
.note-line { font-size: 0.9rem; overflow-wrap: anywhere; }
.note-by { font-size: 0.75rem; color: #5a6170; }
.note-row.is-done { opacity: .65; }
.note-row.is-done .note-line { text-decoration: line-through; }
.note-form { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }

/* Accueil : phrase d'état, incidents, listes (prod, en cours) et notes (à réaliser) */
.home { display: flex; flex-direction: column; gap: 12px; }
.home-head { display: flex; flex-direction: column; gap: 2px; }
.home-hello { font-size: 0.85rem; font-weight: 600; color: #5a6170; }
.home-hello::first-letter { text-transform: uppercase; }
.home-state { margin: 0; font-size: 1.5rem; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.state-bad { color: #c8382a; }
.state-ok { color: #17663a; }
.home-more { margin: 0; font-size: 0.85rem; }
.incident { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 16px; background: #fff1ee; border: 1px solid #f4c9c0; }
.incident-warn { background: #fff7e6; border-color: #f2d9a6; }
.incident-top { display: flex; justify-content: space-between; gap: 8px; font-size: 0.72rem; font-weight: 700; color: #b2321f; text-transform: uppercase; letter-spacing: .05em; }
.incident-top span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.incident-top span:last-child { flex: none; }
.incident-warn .incident-top { color: #8a5300; }
.incident-title { margin: 0; font-size: 1.05rem; font-weight: 700; }
.incident-text { margin: 0; font-size: 0.85rem; color: #5b4a46; overflow-wrap: anywhere; }
.incident-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.btn-dark, .btn-ghost { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; font: inherit; font-size: 0.85rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-dark { background: #1b1e24; color: #fff; border: 0; }
.btn-ghost { background: #fff; color: #1b1e24; border: 1px solid #e5d4cf; }
.btn-ghost:disabled { opacity: .6; cursor: default; }
.home-sec { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 4px 0; font-size: 0.8rem; font-weight: 700; color: #4c4e5a; text-transform: uppercase; letter-spacing: .06em; }
.home-sec em { font-style: normal; font-weight: 500; color: #8a8c97; text-transform: none; letter-spacing: 0; }
.plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 13px 14px; border-radius: 16px; color: #1b1e24; text-decoration: none; border: 1px solid rgba(27,30,36,.06); min-width: 0; transition: box-shadow .12s ease; }
.prow:hover { box-shadow: 0 6px 18px rgba(27,30,36,.10); }
.prow:focus-visible, .note:focus-visible { outline: 2px solid #2457c5; outline-offset: 2px; }
.prow-title { font-weight: 700; font-size: 1.05rem; line-height: 1.2; overflow-wrap: anywhere; }
.prow-pills { display: flex; gap: 4px; justify-content: flex-end; flex-wrap: wrap; }
.prow-sub { grid-column: 1 / -1; font-size: 0.8rem; color: rgba(27,30,36,.65); overflow-wrap: anywhere; }
.prow-full { grid-column: 1 / -1; margin-top: 4px; }
.prow .strip { height: 8px; gap: 2px; }
.prow .strip-cell { border-radius: 2px; }
.pill { font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.75); white-space: nowrap; }
.pill-ok { color: #17663a; } .pill-warn { color: #8a5300; } .pill-bad { color: #a3221c; } .pill-info { color: #22479f; } .pill-muted { color: #5a6170; }
.usr { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 12px; margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(27,30,36,.08); }
.usr-num { display: flex; flex-direction: column; line-height: 1.1; }
.usr-num b { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.usr-num small { font-size: 0.7rem; color: rgba(27,30,36,.55); }
.usr-spark { width: 100%; height: 30px; overflow: visible; }
.usr-trend { font-size: 0.72rem; font-weight: 700; color: rgba(27,30,36,.55); white-space: nowrap; }
.usr-trend.up { color: #17663a; } .usr-trend.down { color: #a3221c; }
/* Notes « à réaliser » en colonnes décalées, comme un bloc-notes. */
.notes { column-width: 220px; column-gap: 10px; }
.note { break-inside: avoid; display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; padding: 14px 13px 12px; border-radius: 16px; color: #1b1e24; text-decoration: none; border: 1px solid rgba(27,30,36,.06); }
.note-title { font-weight: 700; font-size: 1rem; line-height: 1.2; overflow-wrap: anywhere; }
.note-text { font-size: 0.8rem; color: rgba(27,30,36,.65); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.note-meta { display: flex; justify-content: space-between; gap: 6px; font-size: 0.72rem; font-weight: 500; color: rgba(27,30,36,.55); }
.note-add { background: transparent; border: 1.5px dashed #c4c3cf; color: #5a6170; font-size: 0.85rem; font-weight: 600; text-align: center; align-items: center; padding: 22px 10px; }
@media (max-width: 600px) {
    .plist { grid-template-columns: 1fr; gap: 8px; }
    .notes { column-count: 2; column-width: auto; }
}

/* Page Sécurité */
.sec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; align-items: start; }
.sec-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #e1e4e9; min-width: 0; }
.sec-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sec-card-title { font-weight: 700; font-size: 1.05rem; color: #1b1e24; text-decoration: none; overflow-wrap: anywhere; }
.sec-card-meta { font-size: 0.8rem; margin-bottom: 4px; }
.sec-card .finding { padding: 8px 0; border-bottom: 0; border-top: 1px solid #eef0f4; }
@media (max-width: 600px) { .sec-list { grid-template-columns: 1fr; } }

/* Barre d'onglets en bas, sur téléphone seulement */
.tabbar { display: none; }
@media (max-width: 600px) {
    .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; background: #fff; border-top: 1px solid #e3e2ea; padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0px)); }
    .tab { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; font-size: 0.68rem; font-weight: 500; color: #7b7d88; text-decoration: none; }
    .tab .mud-icon-root { font-size: 1.4rem; }
    .tab.on { color: #1b1e24; font-weight: 700; }
    .tab.on .mud-icon-root { color: #2457c5; }
    .app-content { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
    #blazor-error-ui { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* Membres d'une appli suivie */
.member-row { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-bottom: 1px solid var(--mud-palette-lines-default); }
.member-row:last-child { border-bottom: 0; }
.member-name { font-weight: 600; overflow-wrap: anywhere; }
.member-meta { font-size: .85rem; color: var(--mud-palette-text-secondary); }

/* Notes de mises à jour */
.rel-list { display: flex; flex-direction: column; background: #fff; border: 1px solid #e1e4e9; border-radius: 12px; overflow: hidden; }
.rel-day { padding: 8px 14px 4px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #5a6170; background: #f8f9fb; border-top: 1px solid #eef0f4; }
.rel-day:first-child { border-top: 0; }
.rel-day::first-letter { text-transform: uppercase; }
.rel-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; color: #1b1e24; text-decoration: none; border-top: 1px solid #eef0f4; }
.rel-day + .rel-item { border-top: 0; }
.rel-item:hover { background: #f4f6fa; }
.rel-num { flex: none; min-width: 38px; font-size: 0.8rem; font-weight: 600; color: #5a6170; font-variant-numeric: tabular-nums; padding-top: 1px; }
.rel-tag { flex: none; font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #e3f1ff; color: #22479f; }
.rel-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rel-title { font-size: 0.9rem; font-weight: 600; overflow-wrap: anywhere; }
.rel-summary { font-size: 0.8rem; color: #5a6170; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Visionneuse de maquettes */
.mk { display: flex; flex-direction: column; gap: 14px; }
.mk-head { display: flex; flex-direction: column; gap: 2px; }
.mk-back { font-size: 0.85rem; font-weight: 600; color: #2457c5; text-decoration: none; }
.mk-title { margin: 0; font-size: 1.5rem; font-weight: 800; }
.note-filters a.filter { text-decoration: none; }
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; align-items: start; }
.mk-item { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mk-item-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mk-item-title { font-weight: 700; font-size: 1rem; }
.mk-img { display: block; width: 100%; height: auto; border: 1px solid #e1e4e9; border-radius: 14px; background: #fff; }
.mk-ext { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px; border: 1px dashed #c9ced8; border-radius: 14px; background: #fff; }
.link-part { font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #e3f1ff; color: #22479f; text-decoration: none; white-space: nowrap; }
.mk-source { display: flex; flex-direction: column; gap: 6px; }
.mk-file { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1.5px dashed #c4c3cf; border-radius: 8px; font-size: 0.85rem; font-weight: 600; color: #3d434f; cursor: pointer; overflow-wrap: anywhere; }
.mk-file input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mk-file:focus-within { outline: 2px solid #2457c5; outline-offset: 2px; }

/* Raccourcis vers les parties d'un projet */
.pnav { position: sticky; top: 49px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: -8px -16px 0; padding: 8px 16px; background: var(--mud-palette-background); }
.pnav::-webkit-scrollbar { display: none; }
.pnav-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid #d9dde4; background: #fff; color: #1b1e24; font-size: .85rem; font-weight: 600; text-decoration: none; }
.pnav-chip em { font-style: normal; font-size: .72rem; min-width: 18px; text-align: center; padding: 1px 6px; border-radius: 999px; background: #fde7e3; color: #a3271a; }
[id^="h-"] { scroll-margin-top: 112px; }

/* Création d'un projet depuis des notes : aperçu */
.imp-block { border-top: 1px solid #eef0f4; padding-top: 10px; }
.imp-block ul { margin: 4px 0 0; padding-left: 18px; }
.imp-block li { font-size: .9rem; overflow-wrap: anywhere; }
.imp-title { margin: 0; font-size: .95rem; font-weight: 700; }
.imp-title em { font-style: normal; font-size: .75rem; color: #5a6170; margin-left: 4px; }
.imp-row { display: flex; gap: 10px; font-size: .9rem; overflow-wrap: anywhere; }
.imp-row .muted { flex: none; width: 110px; }
.imp-phase { margin-top: 6px; font-size: .9rem; }
.imp-done { text-decoration: line-through; color: #5a6170; }

/* Journal des accès */
.acc-list { display: flex; flex-direction: column; background: #fff; border: 1px solid #e1e4e9; border-radius: 12px; overflow: hidden; }
.acc-row { display: flex; flex-direction: column; gap: 2px; padding: 9px 14px; border-top: 1px solid #eef0f4; }
.acc-row:first-child { border-top: 0; }
.acc-kind { font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
.acc-meta { font-size: .78rem; color: #5a6170; overflow-wrap: anywhere; }
.acc-warn { background: #fff6f4; }
.acc-warn .acc-kind { color: #a3271a; }

/* QR code de l'appli d'authentification : fond blanc même en thème sombre, sinon les applis ne le lisent pas. */
.totp-qr { width: 220px; max-width: 100%; background: #fff; padding: 8px; border-radius: 8px; }
.totp-qr svg { display: block; width: 100%; height: auto; }
.totp-key { word-break: break-all; white-space: normal; }

/* Ordre des projets */
.home-order { display: block; margin: 18px 4px 4px; font-size: .85rem; color: #4c4e5a; text-decoration: underline; text-underline-offset: 3px; }
.order-page { max-width: 640px; }
.order-title { font-size: 1.4rem; font-weight: 700; margin: 0; }
.order-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.order-row { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; background: var(--mud-palette-surface); border: 1px solid var(--mud-palette-lines-default); border-radius: 12px; }
.order-name { flex: 1; min-width: 0; font-weight: 600; color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-actions { display: flex; flex-shrink: 0; }
.order-hidden .order-name { opacity: .55; }
.pin { font-size: .8em; margin-right: 4px; }
.order-handle { cursor: grab; touch-action: none; user-select: none; font-size: 1.15rem; color: #8a8c97; padding: 4px 2px; margin-left: -6px; }
.order-ghost { opacity: .4; }

/* Signature d'auteur en bas de page */
.app-signature { margin: 28px 4px 8px; text-align: center; font-size: .72rem; color: #8a8c97; }
