/* BATITRAVOO — espace membre web (produit, pas admin) */
:root {
    /* Aligné sur la vitrine (welcome.blade.php) */
    --font: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    --navy: #001f3f;
    --navy-soft: #0a2540;
    --orange: #f19b34;
    --orange-hover: #d4852a;
    --orange-brush: rgba(241, 155, 52, 0.35);
    --orange-soft: rgba(241, 155, 52, 0.12);
    --orange-ring: rgba(241, 155, 52, 0.28);
    --orange-muted: rgba(241, 155, 52, 0.14);
    --text: #002147;
    --text-muted: #4b5563;
    --bg-page: #f3f5f8;
    --nav-bg: #e4e8ef;
    --sidebar-accent: rgba(0, 31, 63, 0.04);
    --bg-card: #ffffff;
    --border: rgba(0, 33, 71, 0.1);
    --border-strong: rgba(0, 33, 71, 0.16);
    --shadow-sm: 0 1px 3px rgba(0, 33, 71, 0.06), 0 4px 14px rgba(0, 33, 71, 0.05);
    --shadow: 0 4px 24px rgba(0, 33, 71, 0.07);
    --shadow-md: 0 8px 28px rgba(0, 33, 71, 0.09);
    --shadow-lg: 0 20px 50px rgba(0, 33, 71, 0.11);
    --radius: 14px;
    --radius-md: 12px;
    --radius-sm: 9px;
    --sidebar-w: 276px;
    --content-max: 1180px;
    --ring: 0 0 0 3px var(--orange-ring);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: 100%;
}

.app-body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg-page);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.app-body--workspace {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    background-color: var(--bg-page);
    background-image:
        radial-gradient(880px 460px at 10% -12%, var(--orange-brush), transparent 55%),
        radial-gradient(720px 400px at 94% 8%, rgba(0, 31, 63, 0.06), transparent 50%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 40%);
}

.app-skip-link {
    position: absolute;
    left: -9999px;
    top: 0.75rem;
    z-index: 100;
    padding: 0.5rem 1rem;
    background: var(--navy);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: left 0.2s var(--ease-out);
}

.app-skip-link:focus {
    left: 0.75rem;
    outline: none;
    box-shadow: var(--ring);
}

.app-shell {
    flex: 1;
    display: flex;
    min-height: 0;
    overflow: hidden;
}

/* ——— Sidebar (clair, produit SaaS) ——— */
.app-sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    background: linear-gradient(175deg, var(--nav-bg) 0%, #dce2ea 100%);
    border-right: 1px solid var(--border-strong);
    padding: 1.35rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
    box-shadow: 4px 0 24px rgba(0, 33, 71, 0.05);
}

.app-sidebar__header {
    flex-shrink: 0;
    padding: 0 1.1rem;
}

.app-sidebar__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0 0.35rem 0 1.1rem;
    margin-right: 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 33, 71, 0.28) transparent;
}

.app-sidebar__scroll:focus-visible {
    outline: none;
}

.app-sidebar__scroll::-webkit-scrollbar {
    width: 8px;
}

.app-sidebar__scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 33, 71, 0.22);
    border-radius: 999px;
}

.app-sidebar__scroll::-webkit-scrollbar-track {
    background: transparent;
}

.app-sidebar__brand {
    display: flex;
    align-items: center;
    padding: 0 0 1rem;
    text-decoration: none;
    color: var(--navy);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.75rem;
}

/* Logo marque (@include app.partials.brand-logo) */
.app-brand-logo-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.app-brand-logo-img--sidebar {
    max-height: 40px;
}

.app-brand-logo-img--sm {
    max-height: 32px;
}

.app-brand-logo-img--hero {
    max-height: 48px;
}

.app-brand-logo-wrap {
    display: inline-block;
    line-height: 0;
}

.app-brand-logo-wrap--on-dark {
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    box-sizing: content-box;
}

.app-brand-logo-svg {
    display: block;
    width: auto;
    max-width: min(220px, 100%);
    height: auto;
}

.app-brand-logo-svg--sidebar {
    max-height: 40px;
}

.app-brand-logo-svg--sm {
    max-height: 32px;
}

.app-brand-logo-svg--hero {
    max-height: 52px;
    max-width: min(260px, 100%);
}

.app-brand-logo-svg text:nth-child(1),
.app-brand-logo-svg text:nth-child(3) {
    fill: #001f3f;
}

.app-brand-logo-svg text:nth-child(2) {
    fill: #f19b34;
}

.app-brand-logo-svg--inverse text:nth-child(1),
.app-brand-logo-svg--inverse text:nth-child(3) {
    fill: #ffffff;
}

.app-brand-logo-svg--inverse text:nth-child(2) {
    fill: #f19b34;
}

.app-auth__hero-logo {
    margin: 0 0 1.1rem;
    line-height: 0;
}

.app-sidebar__eyebrow {
    margin: 0 0 0.85rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    background: var(--sidebar-accent);
    border-radius: 999px;
    border: 1px solid rgba(0, 33, 71, 0.08);
    align-self: flex-start;
}

/* Libellés de groupe (dock mobile → barre latérale desktop) */
.app-sidebar__section-kicker {
    margin: 0 0 0.45rem 0.85rem;
    padding: 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.app-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0 0.65rem;
    flex: 1;
}

.app-nav a {
    display: block;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    color: var(--navy-soft);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease;
    border: 1px solid transparent;
}

.app-nav a:hover {
    background: rgba(255, 255, 255, 0.65);
    color: var(--navy);
}

.app-nav a.is-active {
    background: var(--orange-soft);
    color: var(--navy);
    border-color: rgba(241, 155, 52, 0.35);
    box-shadow: var(--shadow-sm);
}

.app-nav--primary {
    flex: 1;
}

.app-nav__fab {
    margin-top: auto;
    padding-top: 1rem;
}

.app-nav__fab a {
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    text-align: center;
    border: 2px solid var(--navy);
    box-shadow: 0 4px 14px rgba(0, 33, 71, 0.2);
}

.app-nav__fab a:hover {
    filter: brightness(1.06);
    color: #fff;
}

.app-nav__fab a.is-active {
    background: #002147;
    color: #fff;
    border-color: #002147;
}

/* Navigation type app mobile : entrée principale « Annonces » + groupe secondaire */
.app-nav__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--navy);
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    border: 2px solid var(--navy);
    box-shadow: 0 4px 14px rgba(0, 33, 71, 0.2);
}

.app-nav__cta:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

.app-nav__cta.is-active {
    background: #002147;
    border-color: #002147;
    box-shadow: 0 4px 16px rgba(0, 33, 71, 0.28);
}

.app-nav--secondary {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(0, 33, 71, 0.12);
    flex: 0 0 auto;
}

.app-nav__label {
    margin: 0.5rem 0.85rem 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* Sections repliables (navigation secondaire sidebar) */
.app-nav-disclosure {
    margin: 0;
    padding: 0;
    border: none;
}

.app-nav-disclosure + .app-nav-disclosure {
    margin-top: 0.15rem;
}

.app-nav-disclosure__summary {
    margin: 0.45rem 0.65rem 0.2rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-radius: var(--radius-sm);
    user-select: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.app-nav-disclosure__summary::-webkit-details-marker {
    display: none;
}

.app-nav-disclosure__summary::after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    margin-top: -0.1rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.5;
    transition: transform 0.2s ease, opacity 0.15s ease;
    flex-shrink: 0;
}

.app-nav-disclosure[open] > .app-nav-disclosure__summary::after {
    transform: rotate(225deg);
    margin-top: 0.12rem;
    opacity: 0.65;
}

.app-nav-disclosure__summary:hover {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.55);
}

.app-nav-disclosure > a {
    padding-left: 1rem;
}

/* Menus latéraux détaillés par profil (parcours client / pro) */
.app-nav--profile-menu {
    flex: 0 1 auto;
    min-height: 0;
    overflow: visible;
    padding-right: 0.15rem;
}

.app-nav--profile-menu a,
.app-nav--secondary a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-nav-ico {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    color: inherit;
    opacity: 0.88;
}

.app-nav a.is-active .app-nav-ico {
    opacity: 1;
}

.app-nav--profile-menu a {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 0.75rem;
}

.app-workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
    gap: 0.65rem;
}

.app-workflow-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    min-height: 4rem;
    padding: 0.85rem 0.95rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-card);
    text-decoration: none;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid transparent;
    transition: border-color 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), transform 0.15s var(--ease-out),
        border-left-color 0.18s var(--ease-out);
}

.app-workflow-tile:hover {
    border-color: rgba(241, 155, 52, 0.38);
    border-left-color: rgba(241, 155, 52, 0.65);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.app-workflow-tile.is-active {
    border-color: rgba(241, 155, 52, 0.55);
    border-left-color: var(--orange);
    background: linear-gradient(135deg, var(--orange-soft) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.app-workflow-tile--accent {
    border-color: rgba(0, 31, 63, 0.22);
    border-left-color: rgba(0, 31, 63, 0.35);
    background: linear-gradient(145deg, rgba(0, 31, 63, 0.05), rgba(241, 155, 52, 0.09));
}

.app-workflow-tile--accent:hover {
    border-left-color: var(--orange);
}

.app-workflow-tile--accent.is-active {
    border-left-color: var(--navy);
}

.app-workflow-tile__row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.app-workflow-tile__row .app-nav-ico {
    flex-shrink: 0;
}

.app-workflow-tile__title {
    font-weight: 700;
    font-size: 0.95rem;
}

.app-workflow-tile__hint {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.app-section-title--flush {
    margin-top: 0;
}

.app-inline-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.app-inline-stats li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.app-charts-grid--triple {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.app-topbar {
    position: relative;
    flex-shrink: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.app-topbar__title-wrap {
    min-width: 0;
}

.app-topbar__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.app-topbar__eyebrow-muted {
    opacity: 0.85;
}

.app-topbar__eyebrow-sep {
    opacity: 0.45;
    font-weight: 400;
}

.app-topbar__eyebrow-profile {
    color: var(--navy-soft);
    font-weight: 700;
}

.app-topbar__title {
    margin: 0;
    font-size: clamp(1.2rem, 2.2vw, 1.42rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--navy);
    line-height: 1.22;
}

.app-topbar__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.app-topbar__link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}

.app-topbar__link:hover {
    color: var(--navy);
    background: var(--nav-bg);
}

.app-topbar__logout-form {
    margin: 0;
    display: inline;
}

.app-topbar__link--external::after {
    content: "";
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    margin-left: 0.35rem;
    vertical-align: middle;
    opacity: 0.55;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234b5563' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5M19.5 4.5h-6M21 3v6m0 0l-9 9'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

.app-content {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 1.2rem 1.35rem 2rem;
}

main.app-content:focus {
    outline: none;
}

.app-content__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    width: 100%;
}

.app-page-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    max-width: none;
}

.app-card p {
    margin: 0 0 0.55rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.app-card p:last-child {
    margin-bottom: 0;
}

.app-alert {
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.45;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    border: 1px solid transparent;
}

.app-alert--success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.app-alert--warn {
    background: var(--orange-soft);
    border-color: rgba(241, 155, 52, 0.35);
    color: #92400e;
}

.app-alert--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.app-alert__text {
    flex: 1;
    min-width: 12rem;
}

.app-alert__action {
    font-weight: 700;
    color: var(--orange-hover);
    text-decoration: none;
    white-space: nowrap;
}

.app-alert__action:hover {
    text-decoration: underline;
}

/* ——— Auth (split hero + formulaire) ——— */
.app-body--auth {
    background: var(--bg-page);
}

.app-auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.app-auth__hero {
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 2.5rem;
    background: linear-gradient(160deg, #002147 0%, #001f3f 45%, #0a2540 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.app-auth__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(720px 420px at 22% 28%, var(--orange-brush), transparent 56%),
        radial-gradient(520px 320px at 88% 78%, rgba(0, 31, 63, 0.45), transparent 48%);
    pointer-events: none;
}

.app-auth__hero-inner {
    position: relative;
    z-index: 1;
    align-self: center;
    max-width: 28rem;
}

.app-auth__hero-title {
    margin: 0 0 1rem;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.app-auth__hero-text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

.app-auth__form-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    background: linear-gradient(180deg, var(--nav-bg) 0%, var(--bg-page) 100%);
}

.app-auth__card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem 2rem 1.75rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.app-auth__card--wide {
    max-width: 480px;
}

.app-auth__card h1 {
    margin: 0 0 0.35rem;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--navy);
}

.app-auth__card .subtitle {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.app-field {
    margin-bottom: 1.05rem;
}

.app-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--navy-soft);
}

.app-field input,
.app-field select,
.app-field textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.app-field input:focus,
.app-field select:focus,
.app-field textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: var(--ring);
}

.app-error {
    color: #b91c1c;
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

.app-btn {
    display: inline-block;
    width: 100%;
    padding: 0.78rem 1.15rem;
    background: var(--navy);
    color: #fff;
    border: 2px solid var(--navy);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(0, 33, 71, 0.2);
    transition: filter 0.15s, transform 0.1s, background 0.15s;
}

.app-btn:hover {
    filter: brightness(1.06);
}

.app-btn:active {
    transform: translateY(1px);
}

.app-btn--sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    width: auto;
}

.app-btn--ghost {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--border);
    box-shadow: none;
}

.app-btn--ghost:hover {
    background: var(--bg-page);
    filter: none;
}

.app-btn--ghost-dark {
    background: transparent;
    color: var(--navy-soft);
    border: 1px solid var(--border);
    box-shadow: none;
    font-weight: 600;
}

.app-btn--ghost-dark:hover {
    background: var(--nav-bg);
    border-color: var(--border-strong);
    filter: none;
}

.app-auth__footer {
    margin-top: 1.35rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.app-auth__footer a {
    color: var(--orange);
    font-weight: 700;
    text-decoration: none;
}

.app-auth__footer a:hover {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .app-auth {
        grid-template-columns: 1fr;
    }

    .app-auth__hero {
        min-height: 220px;
        padding: 1.75rem 1.5rem;
    }

    .app-auth__hero-inner {
        align-self: end;
    }
}

@media (max-width: 900px) {
    .app-body--workspace {
        height: auto;
        max-height: none;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .app-shell {
        flex: 0 0 auto;
        min-height: 0;
        overflow: visible;
        flex-direction: column;
    }

    .app-main {
        overflow: visible;
    }

    .app-content {
        flex: 0 0 auto;
        overflow: visible;
        min-height: 0;
    }

    .app-sidebar {
        width: 100%;
        position: relative;
        height: auto;
        max-height: none;
        min-height: 0;
        overflow: visible;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 0.85rem 0.75rem 1rem;
    }

    .app-sidebar__header {
        padding: 0 0.35rem;
    }

    .app-sidebar__scroll {
        overflow: visible;
        flex: none;
        min-height: 0;
        margin-right: 0;
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .app-sidebar__brand {
        border-bottom: none;
        margin-bottom: 0.35rem;
        padding-bottom: 0.65rem;
    }

    .app-sidebar__eyebrow {
        display: none;
    }

    .app-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.35rem;
    }

    .app-nav--secondary {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        width: 100%;
        margin-top: 0.5rem;
        padding-top: 0.65rem;
        border-top: 1px solid rgba(0, 33, 71, 0.1);
    }

    .app-nav--secondary .app-nav-disclosure {
        width: 100%;
    }

    .app-nav--secondary .app-nav-disclosure__summary {
        margin-left: 0.35rem;
        margin-right: 0.35rem;
    }

    .app-nav--secondary .app-nav-disclosure > a {
        padding-left: 1rem;
    }

    .app-nav--primary {
        flex: 0 0 auto;
    }

    .app-nav--profile-menu {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        width: 100%;
        max-height: none;
        overflow: visible;
    }

    .app-nav--profile-menu a {
        width: 100%;
    }

    .app-nav a {
        padding: 0.45rem 0.65rem;
        font-size: 0.82rem;
    }

    .app-nav__fab {
        margin-top: 0.5rem;
        padding-top: 0;
        width: 100%;
    }

    .app-nav__fab a {
        display: block;
    }

    .app-topbar {
        padding: 0.85rem 1rem;
    }

    .app-content {
        padding: 0.85rem 1rem 1.5rem;
    }
}

/* ——— Blocs & listes (shell) ——— */
.app-badge {
    background: var(--orange-muted);
    color: var(--orange-hover);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(241, 155, 52, 0.25);
}

.app-badge--pulse {
    animation: app-badge-glow 2.5s ease-in-out infinite;
}

@keyframes app-badge-glow {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(241, 155, 52, 0.35);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(241, 155, 52, 0);
    }
}

.app-lead {
    font-size: 1.06rem;
    line-height: 1.55;
    margin: 0 0 0.5rem;
    color: var(--navy-soft);
    font-weight: 500;
}

.app-card--flush {
    box-shadow: none;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
}

.app-muted {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.app-mb-sm {
    margin-bottom: 0.5rem;
}

.app-mb-md {
    margin-bottom: 1rem;
}

.app-charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.app-chart-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.1rem;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.app-ticket-detail__head {
    padding-bottom: 1rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--border);
}

.app-ticket-detail__title {
    margin-bottom: 0.5rem !important;
}

.app-ticket-detail__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.app-chart-card__title {
    font-size: 0.95rem;
    margin: 0 0 0.75rem;
    font-weight: 600;
    color: var(--navy);
}

.app-chart-wrap {
    position: relative;
    height: 220px;
    max-width: 100%;
}

.app-chart-wrap--wide {
    height: 280px;
}

@media (min-width: 900px) {
    .app-charts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Ancre #profil-localisation sans casser la grille du formulaire */
.app-contents {
    display: contents;
}

.app-cart-lines {
    list-style: none;
    margin: 0;
    padding: 0;
}

.app-cart-line {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(0, 31, 63, 0.08);
}

.app-cart-line:first-child {
    border-top: 0;
    padding-top: 0;
}

.app-cart-line__main {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    min-width: 0;
    flex: 1 1 12rem;
}

.app-cart-line__img {
    border-radius: 0.35rem;
    object-fit: cover;
}

.app-cart-line__img-ph {
    width: 56px;
    height: 56px;
    border-radius: 0.35rem;
    background: rgba(0, 31, 63, 0.06);
}

.app-cart-line__title {
    display: block;
    font-size: 0.95rem;
}

.app-cart-line__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.5rem 0.75rem;
}

.app-cart-line__qty-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.app-cart-line__qty-form .app-input {
    width: 4.25rem;
    min-width: 0;
}

.app-cart-add__form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.5rem 0.65rem;
}

.app-cart-add__form .app-input {
    width: 4.5rem;
}

.app-mt {
    margin-top: 0.875rem;
}

.app-mt-sm {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.app-section-title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 0.45rem;
    color: var(--navy);
    line-height: 1.3;
}

.app-dashboard-panel {
    padding: 0;
    overflow: hidden;
}

.app-card.app-dashboard-panel {
    padding: 0;
}

.app-dashboard-panel .app-dashboard-panel__intro {
    margin: 0 0 1.1rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.app-dashboard-panel .app-section-title {
    margin-bottom: 0.45rem;
}

.app-dashboard-panel .app-dashboard-panel__body {
    padding: 0 1.45rem 1.45rem;
}

.app-dashboard-panel .app-dashboard-panel__head {
    padding: 1.35rem 1.45rem 0;
    background: linear-gradient(180deg, rgba(0, 31, 63, 0.03) 0%, transparent 100%);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .app-dashboard-panel .app-dashboard-panel__head {
        padding: 1.15rem 1.15rem 0;
    }

    .app-dashboard-panel .app-dashboard-panel__body {
        padding: 0 1.15rem 1.15rem;
    }
}

.app-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 0.65rem;
}

.app-kpi-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem 1.2rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.app-kpi-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--orange) 100%);
    opacity: 0.95;
}

.app-kpi-card__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: none;
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.app-kpi-card__value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
}

.app-kpi-card__trend {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.app-kpi-card__trend.is-up {
    color: #15803d;
}

.app-kpi-card__trend.is-down {
    color: #b91c1c;
}

.app-notif-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.app-notif-list__item {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.app-notif-list__item.is-unread {
    font-weight: 600;
}

.app-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.app-table th,
.app-table td {
    text-align: left;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--border);
}

.app-table th {
    width: 32%;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.82rem;
    background: rgba(0, 31, 63, 0.03);
}

.app-table tbody tr:hover td {
    background: rgba(0, 31, 63, 0.02);
}

.app-json-preview {
    max-height: 240px;
    overflow: auto;
    font-size: 0.75rem;
    background: #0d2847;
    color: #e5e7eb;
    padding: 1rem;
    border-radius: 8px;
    margin: 0;
}

.app-msg-layout {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 1.25rem;
    margin-top: 1rem;
    align-items: start;
}

@media (max-width: 720px) {
    .app-msg-layout {
        grid-template-columns: 1fr;
    }
}

.app-peer-link {
    display: block;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    color: var(--navy);
    text-decoration: none;
    border: 1px solid transparent;
    margin-bottom: 0.35rem;
}

.app-peer-link:hover {
    background: var(--nav-bg);
}

.app-peer-link.is-active {
    background: var(--orange-muted);
    border-color: rgba(241, 155, 52, 0.4);
    font-weight: 600;
}

.app-peer-link__meta {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
}

.app-msg-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 60vh;
    overflow-y: auto;
}

.app-msg {
    padding: 0.75rem 1rem;
    border-radius: 14px;
    background: var(--nav-bg);
    max-width: 90%;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.app-msg.is-me {
    margin-left: auto;
    background: linear-gradient(135deg, rgba(241, 155, 52, 0.12) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(241, 155, 52, 0.28);
}

.app-msg__meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.app-avatar {
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--border);
}

/* ——— Profil membre (écrans + édition) ——— */
.app-profile-hero {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.app-profile-hero__visual {
    flex-shrink: 0;
    text-align: center;
}

.app-profile-avatar {
    display: block;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.app-profile-avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

.app-profile-avatar-form {
    margin-top: 0.65rem;
}

.app-profile-avatar-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.app-profile-avatar-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.app-profile-hero__meta {
    flex: 1;
    min-width: min(100%, 16rem);
}

.app-profile-name {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--navy);
    line-height: 1.2;
}

.app-profile-email {
    margin: 0 0 0.65rem;
    word-break: break-word;
}

.app-profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.app-chip--validation-pending {
    background: rgba(241, 155, 52, 0.14);
    border-color: rgba(241, 155, 52, 0.35);
}

.app-chip--validation-approved {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.app-chip--validation-rejected {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.app-chip--validation-changes_requested {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.app-form-grid-profile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 1rem;
}

@media (min-width: 640px) {
    .app-form-grid-profile {
        grid-template-columns: 1fr 1fr;
    }
}

.app-field--full {
    grid-column: 1 / -1;
}

.app-input-disabled {
    opacity: 0.75;
    background: var(--nav-bg);
    cursor: not-allowed;
}

.app-field-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    line-height: 1.35;
}

.app-profile-form textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.app-profile-form textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: var(--ring);
}

.app-profile-submit {
    width: auto;
    margin-top: 1rem;
    display: inline-block;
}

.app-btn--secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    box-shadow: none;
}

.app-btn--secondary:hover {
    filter: none;
    background: rgba(0, 31, 63, 0.06);
}

.app-profile-dl {
    margin: 0;
}

.app-profile-dl__row {
    display: grid;
    grid-template-columns: minmax(8rem, 190px) 1fr;
    gap: 0.5rem 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
    align-items: start;
}

.app-profile-dl__row:last-child {
    border-bottom: none;
}

.app-profile-dl dt {
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}

.app-profile-dl dd {
    margin: 0;
    color: var(--navy);
}

@media (max-width: 520px) {
    .app-profile-dl__row {
        grid-template-columns: 1fr;
    }
}

.app-profile-actions {
    padding: 0 0.25rem;
}

.app-profile-tagline {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-soft);
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.register-profile-panel {
    margin: 0.15rem 0 0.35rem;
}

.app-mb-0 {
    margin-bottom: 0 !important;
}

.app-profile-tagline {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-soft);
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.register-profile-panel {
    margin: 0.15rem 0 0.35rem;
}

.app-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.app-chip {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy-soft);
    box-shadow: var(--shadow-sm);
}

.app-msg.is-staff {
    border-left: 4px solid var(--orange);
    max-width: 100%;
}

.app-json-preview--light {
    background: var(--bg-page);
    color: var(--navy-soft);
    border: 1px solid var(--border);
}

.app-readable {
    white-space: pre-wrap;
    line-height: 1.5;
}

.app-text-link {
    color: var(--orange);
    font-weight: 600;
    text-decoration: none;
}

.app-text-link:hover {
    text-decoration: underline;
}

.app-text-link.is-active {
    font-weight: 800;
    color: var(--navy);
}

.app-period-switch {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

.app-metrics-period {
    padding: 0.5rem 0.85rem;
}

.app-period-switch--inline {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
}

.app-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
    align-items: flex-end;
    margin-top: 0.5rem;
}

.app-field--inline label {
    font-size: 0.75rem;
}

.app-field--inline input,
.app-field--inline select {
    min-width: 140px;
}

.app-btn--inline {
    width: auto;
    display: inline-block;
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
}

.app-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.app-flex-between-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
}

.app-table-wrap {
    overflow-x: auto;
    margin-top: 0.5rem;
}

.app-manage-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    align-items: center;
    padding: 0.65rem 0.85rem;
}

.app-manage-toolbar__hint {
    flex: 1 1 100%;
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.app-manage-toolbar__hint strong {
    color: var(--navy-soft);
    font-weight: 700;
}

.app-action-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    align-items: center;
    justify-content: flex-end;
}

.app-table__col-actions {
    white-space: nowrap;
    text-align: right;
    vertical-align: middle;
}

.app-filter-chip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    background: rgba(0, 31, 63, 0.04);
    border-radius: var(--radius-sm);
}

.app-cand-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    justify-content: flex-end;
}

.app-cand-actions .app-inline-form {
    display: inline-block;
    margin: 0;
}

.app-table--bordered th,
.app-table--bordered td {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.app-table--bordered th:last-child,
.app-table--bordered td:last-child {
    border-right: none;
}

.app-table--bordered {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}

.app-table--bordered thead th {
    background: rgba(0, 31, 63, 0.045);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    padding: 0.65rem 0.75rem;
}

.app-table--bordered tbody td {
    padding: 0.65rem 0.75rem;
    vertical-align: top;
}

.app-table--bordered tbody tr:hover td {
    background: #fafbfc;
}

.app-pill {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    background: var(--nav-bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--navy-soft);
}

.app-form-stack .app-field {
    margin-bottom: 1rem;
}

.app-form-stack .app-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.app-form-stack textarea,
.app-form-stack input[type="text"],
.app-form-stack input[type="search"],
.app-form-stack input[type="number"],
.app-form-stack input[type="file"],
.app-form-stack select {
    width: 100%;
    max-width: 520px;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
}

/* Compléter le profil */
.app-body--complete {
    background: var(--bg-page);
    background-image:
        radial-gradient(800px 400px at 10% 0%, rgba(241, 155, 52, 0.07), transparent 50%),
        radial-gradient(600px 400px at 100% 40%, rgba(0, 31, 63, 0.07), transparent 45%);
}

.app-complete-header {
    background: linear-gradient(135deg, #002147 0%, #001f3f 55%, #0a2540 100%);
    color: #fff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 33, 71, 0.15);
}

.app-complete-header__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-complete-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    line-height: 0;
}

.app-complete-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-complete-nav a,
.app-complete-nav button {
    color: #fff;
    font-size: 0.9rem;
}

.app-complete-nav__logout {
    background: none;
    border: none;
    color: var(--orange);
    cursor: pointer;
    font: inherit;
}

.app-complete-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

/* Compléter le profil dans le layout shell (même coque que le dashboard) */
.app-complete-profile-inner {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

.app-complete-kicker {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    margin: 0 0 0.4rem;
}

.app-complete-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem;
}

.app-complete-intro {
    margin-bottom: 0;
}

.app-complete-form .app-field {
    margin-bottom: 1rem;
}

.app-complete-form .app-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.app-complete-form input[type="text"],
.app-complete-form input[type="email"],
.app-complete-form input[type="file"],
.app-complete-form select,
.app-complete-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.55rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
}

.app-field-hint {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    color: #555;
}

.app-complete-actions {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.app-complete-skip {
    font-size: 0.9rem;
}

/* ——— Marketplace (style petites annonces) ——— */
.mp-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mp-hero__kicker {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange-hover);
}

.mp-toolbar {
    padding: 0.9rem 1rem;
}

.mp-toolbar__search {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 0.65rem;
}

.mp-toolbar__search-icon {
    display: none;
}

@media (min-width: 640px) {
    .mp-toolbar__search {
        flex-wrap: nowrap;
        align-items: center;
        background: var(--bg-page);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 0.35rem 0.35rem 0.35rem 0.85rem;
        margin-bottom: 0.75rem;
    }

    .mp-toolbar__search-icon {
        display: flex;
        color: var(--text-muted);
        flex-shrink: 0;
    }

    .mp-toolbar__input {
        flex: 1;
        min-width: 0;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        padding-left: 0.35rem !important;
    }

    .mp-toolbar__submit {
        flex-shrink: 0;
    }
}

.mp-toolbar__input {
    flex: 1;
    min-width: 12rem;
    padding: 0.72rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
}

.mp-toolbar__input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: var(--ring);
}

.mp-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: flex-end;
}

.mp-toolbar__field {
    margin-bottom: 0 !important;
}

.mp-select {
    min-width: 11rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 0.9rem;
    background: #fff;
}

.mp-toolbar__reset {
    font-size: 0.88rem;
    align-self: center;
}

.mp-rayons__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mp-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--navy-soft);
    background: #fff;
    border: 1px solid var(--border);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.mp-chip:hover {
    border-color: rgba(241, 155, 52, 0.45);
    color: var(--orange-hover);
}

.mp-chip.is-active {
    background: var(--orange-soft);
    border-color: rgba(241, 155, 52, 0.35);
    color: var(--orange-hover);
}

.mp-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    padding: 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.mp-tab {
    flex: 1 1 0;
    min-width: min(32%, 7.5rem);
    text-align: center;
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.mp-tab:hover {
    color: var(--orange-hover);
    background: rgba(241, 155, 52, 0.08);
}

.mp-tab.is-active {
    color: var(--navy);
    background: var(--orange-soft);
    border-color: rgba(241, 155, 52, 0.35);
}

.mp-section {
    margin-top: 1.15rem;
}

.mp-section__head {
    margin-bottom: 0.65rem;
}

.mp-section-title {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--navy);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.mp-section-title--sm {
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

.mp-section__sub {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.mp-pill {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: middle;
}

.mp-pill--supply {
    background: #dbeafe;
    color: #1e40af;
}

.mp-pill--service {
    background: #dcfce7;
    color: #166534;
}

.mp-pill--demand {
    background: rgba(241, 155, 52, 0.15);
    color: var(--orange-hover);
}

.mp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.85rem;
}

.mp-grid--besoins {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.mp-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mp-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.mp-card--clickable {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.mp-card--clickable:focus-visible {
    outline: 2px solid var(--orange-hover);
    outline-offset: 2px;
}

.mp-card__media-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--nav-bg);
    overflow: hidden;
}

.mp-card__media-wrap--besoin {
    aspect-ratio: 16 / 10;
}

.mp-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mp-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: -0.05em;
}

.mp-card__placeholder--product {
    background: linear-gradient(145deg, #0a2540 0%, #001f3f 100%);
}

.mp-card__placeholder--service {
    background: linear-gradient(145deg, #059669 0%, #064e3b 100%);
}

.mp-card__placeholder--besoin {
    background: linear-gradient(145deg, #f19b34 0%, #b45309 100%);
}

.mp-card__price-tag {
    position: absolute;
    bottom: 0.65rem;
    right: 0.65rem;
    background: rgba(0, 31, 63, 0.92);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    max-width: calc(100% - 1.3rem);
}

.mp-card__price-tag--budget {
    background: linear-gradient(135deg, #001f3f 0%, #0a2540 100%);
}

.mp-card__badge {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy);
    border: 1px solid var(--border);
}

.mp-card__badge--kind {
    background: #ecfdf5;
    color: #166534;
    border-color: #bbf7d0;
}

.mp-card__body {
    padding: 1rem 1.05rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mp-card__category {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.mp-card__title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--navy);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mp-card__excerpt {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.mp-card__location {
    margin: 0;
    font-size: 0.86rem;
    color: var(--navy-soft);
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
}

.mp-card__location svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--orange);
}

.mp-card__price-line {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-soft);
}

.mp-card__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--nav-bg);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.mp-card__seller {
    font-weight: 600;
    color: var(--navy-soft);
}

.mp-card__views {
    font-variant-numeric: tabular-nums;
}

.mp-card__rating {
    font-weight: 700;
    color: #ca8a04;
}

.mp-detail-back {
    margin-bottom: 0.75rem;
}

.mp-detail {
    overflow: hidden;
}

.mp-detail__media {
    position: relative;
    background: var(--nav-bg);
    aspect-ratio: 16 / 9;
    max-height: min(42vh, 22rem);
}

.mp-detail__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mp-detail__placeholder {
    width: 100%;
    height: 100%;
    min-height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
}

.mp-detail__body {
    padding: 1.1rem 1.2rem 1.25rem;
}

.mp-detail__title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: var(--navy);
}

.mp-detail__desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--navy-soft);
}

.mp-detail__price {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 31, 63, 0.92);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
}

.mp-detail__price--budget {
    background: linear-gradient(135deg, #001f3f 0%, #0a2540 100%);
}

.mp-detail__pricing {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-soft);
}

.mp-detail__location {
    margin: 0 0 0.65rem;
}

.mp-detail__meta-bit:not(:last-child)::after {
    content: " · ";
}

.mp-detail__owner {
    padding: 1rem 1.2rem;
    border-top: 1px solid var(--border);
    background: rgba(0, 31, 63, 0.03);
}

.mp-detail__owner-title {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.mp-detail__owner-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.mp-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
    align-items: center;
}

.mp-empty {
    padding: 1.25rem;
    text-align: center;
    background: var(--bg-page);
    border-radius: var(--radius-sm);
    border: 1px dashed var(--border);
}

@media (max-width: 639px) {
    .mp-toolbar__submit {
        width: 100%;
    }
}

/* ——— Messenger (messages + support) ——— */
.msn {
    display: grid;
    grid-template-columns: minmax(260px, 300px) 1fr;
    gap: 0.55rem;
    margin-top: 0.5rem;
    min-height: min(72vh, 640px);
    align-items: stretch;
}

.msn--ticket {
    grid-template-columns: 1fr;
    min-height: min(70vh, 600px);
}

.msn__sidebar {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.msn__sidebar-head {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.msn__sidebar-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.msn__thread-list {
    padding: 0.5rem;
    overflow-y: auto;
    max-height: min(58vh, 480px);
}

.msn__thread {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    margin-bottom: 0.2rem;
}

.msn__thread:hover {
    background: var(--nav-bg);
}

.msn__thread.is-active {
    background: var(--orange-soft);
    box-shadow: inset 3px 0 0 var(--orange);
}

.msn__avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, #64748b 0%, #334155 100%);
    letter-spacing: -0.02em;
}

.msn__avatar--lg {
    width: 48px;
    height: 48px;
    font-size: 1rem;
}

.msn__avatar--xs {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
    align-self: flex-end;
    margin-bottom: 0.2rem;
}

.msn__avatar--support {
    background: linear-gradient(145deg, #0ea5e9 0%, #0369a1 100%);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.msn__avatar--ticket {
    width: 48px;
    height: 48px;
    font-size: 0.7rem;
    font-weight: 800;
    background: linear-gradient(145deg, #001f3f 0%, #0a2540 100%);
}

.msn__thread-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.msn__thread-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msn__thread-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: capitalize;
}

.msn__empty-sidebar {
    padding: 1rem;
    margin: 0;
    font-size: 0.88rem;
}

.msn__panel {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    min-height: 0;
}

.msn__chatbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    background: #fff;
    flex-shrink: 0;
}

.msn__chatbar--ticket {
    align-items: flex-start;
    gap: 1rem;
}

.msn__chatbar-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.msn__chatbar-name {
    font-weight: 800;
    font-size: 1rem;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.msn__chatbar-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.msn__ticket-head-text {
    flex: 1;
    min-width: 0;
}

.msn__ticket-subject {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.msn__ticket-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    align-items: center;
    font-size: 0.85rem;
}

.msn__badge-status {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--nav-bg);
    border: 1px solid var(--border);
    color: var(--navy-soft);
}

.msn__badge-status--sm {
    font-size: 0.68rem;
    padding: 0.15rem 0.45rem;
}

.msn__back-mobile {
    display: none;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 0.25rem 0.5rem 0 0;
}

.msn__stream {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1rem 1.25rem;
    background: linear-gradient(180deg, #eef1f4 0%, #e8ecf0 100%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 200px;
}

.msn__stream--ticket {
    min-height: 220px;
}

.msn__empty-stream {
    margin: auto;
    text-align: center;
}

.msn__row {
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    max-width: 100%;
}

.msn__row--them {
    justify-content: flex-start;
}

.msn__row--me {
    justify-content: flex-end;
}

.msn__row--support {
    justify-content: flex-start;
}

.msn__bubble {
    max-width: min(78%, 420px);
    padding: 0.55rem 0.85rem 0.45rem;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(0, 33, 71, 0.06);
}

.msn__bubble--recv {
    background: #fff;
    border: 1px solid var(--border);
    border-bottom-left-radius: 6px;
}

.msn__bubble--sent {
    background: linear-gradient(145deg, rgba(241, 155, 52, 0.14) 0%, rgba(241, 155, 52, 0.08) 100%);
    border: 1px solid rgba(241, 155, 52, 0.28);
    border-bottom-right-radius: 6px;
}

.msn__bubble--support {
    background: #fff;
    border: 1px solid #bae6fd;
    border-bottom-left-radius: 6px;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.12);
}

.msn__bubble-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.msn__pill-support {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    background: #e0f2fe;
    color: #0369a1;
}

.msn__bubble-text {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.45;
    color: var(--navy);
    white-space: pre-wrap;
    word-break: break-word;
}

.msn__attach {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--orange-hover);
    text-decoration: none;
}

.msn__attach .app-nav-ico {
    width: 15px;
    height: 15px;
}

.msn__attach:hover {
    text-decoration: underline;
}

.msn__time {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.68rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.msn__composer {
    border-top: 1px solid var(--border);
    background: #fff;
    padding: 0.65rem 0.75rem 0.85rem;
    flex-shrink: 0;
}

.msn__composer-inner {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    background: var(--nav-bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.35rem 0.35rem 0.35rem 1rem;
}

.msn__input {
    flex: 1;
    min-height: 44px;
    max-height: 140px;
    border: none;
    background: transparent;
    resize: none;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.4;
    padding: 0.45rem 0;
}

.msn__input:focus {
    outline: none;
}

.msn__clip {
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    border-radius: 50%;
    transition: background 0.15s, color 0.15s;
}

.msn__clip:hover {
    background: var(--nav-bg);
    color: var(--navy);
}

.msn__clip-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.msn__send {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 33, 71, 0.22);
    transition: filter 0.15s, transform 0.1s;
}

.msn__send:hover {
    filter: brightness(1.06);
}

.msn__send:active {
    transform: scale(0.96);
}

.msn__composer-error {
    margin: 0.5rem 0 0 0.5rem;
}

.msn__placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--text-muted);
}

.msn__placeholder-icon {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.msn__placeholder-title {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
}

.msn__closed {
    padding: 0.85rem 1rem;
    margin: 0;
    border-top: 1px solid var(--border);
    background: #fef3c7;
}

.msn__visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Liste tickets (style messagerie) */
.msn-tickets__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.msn-ticket-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.msn-tickets__list li:last-child .msn-ticket-row {
    border-bottom: none;
}

.msn-ticket-row:hover {
    background: var(--bg-page);
}

.msn-ticket-row__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.msn-ticket-row__title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msn-ticket-row__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.msn-ticket-row__time {
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.msn-tickets__empty {
    padding: 1.5rem 1rem;
    margin: 0;
    text-align: center;
}

@media (max-width: 900px) {
    .msn {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .msn__thread-list {
        max-height: 220px;
    }

    .msn__panel {
        min-height: 420px;
    }

    .msn__back-mobile {
        display: inline;
    }
}

/* ——— Fournisseur (parité app mobile) ——— */
.app-fournisseur-home-head__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-fournisseur-home-head__avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.app-fournisseur-home-head__avatar-ph {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    align-items: center;
    justify-content: center;
}

.app-fournisseur-home-head__greet {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.app-fournisseur-home-head__greet--grow {
    flex: 1;
    min-width: 0;
}

.app-fournisseur-home-head__hi {
    font-size: 0.82rem;
}

.app-fournisseur-home-head__name {
    font-size: 1.05rem;
    color: var(--navy);
}

.app-input--rounded {
    border-radius: 999px;
    border: 1px solid var(--border);
    padding: 0.65rem 1rem;
    width: 100%;
    font: inherit;
}

.app-supplier-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
    gap: 0.75rem;
}

.app-supplier-home-tile {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.65rem;
    box-shadow: var(--shadow-sm);
}

.app-supplier-home-tile__badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(0, 31, 63, 0.06);
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.app-supplier-home-tile__img-wrap {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 0.45rem;
    background: rgba(0, 31, 63, 0.06);
}

.app-supplier-home-tile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-supplier-home-tile__img-ph {
    width: 100%;
    height: 100%;
    min-height: 120px;
    background: linear-gradient(145deg, rgba(148, 163, 184, 0.35), rgba(71, 85, 105, 0.25));
}

.app-supplier-home-tile__title {
    font-size: 0.88rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    color: var(--navy);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-supplier-home-tile__price {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 0 0.15rem;
    color: var(--text-muted);
}

.app-supplier-home-tile__stock {
    font-size: 0.72rem;
    margin: 0;
    color: var(--text-muted);
}

.app-field-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 1rem;
}

.app-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-top: 0.5rem;
}

.app-text-link--danger {
    color: #b91c1c;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}

.app-inline-form {
    display: inline;
}

.app-doc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.app-doc-list__item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}

.app-doc-list__item:last-child {
    border-bottom: none;
}

.app-faq__item {
    margin-bottom: 0.65rem;
}

.app-faq__q {
    cursor: pointer;
    font-weight: 700;
    padding: 0.35rem 0;
}

.app-text-sm {
    font-size: 0.85rem;
    display: block;
}

