:root{--crm-bg:#eef4ff;--crm-card:#fff;--crm-text:#0a1c34;--crm-muted:#64748b;--crm-primary:#146cff;--crm-primary-dark:#0b3f9c;--crm-accent:#ff6b00;--crm-cyan:#00b8d9;--crm-lime:#84cc16;--crm-magenta:#db2777;--crm-border:#d8e4f4;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}html{background:var(--crm-bg);-webkit-text-size-adjust:100%}body.crm-mobile-app{margin:0;background:var(--crm-bg);color:var(--crm-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;min-height:100vh;padding-bottom:calc(78px + var(--safe-bottom));-webkit-tap-highlight-color:transparent}.crm-topbar{position:sticky;top:0;z-index:20;padding:calc(10px + var(--safe-top)) 14px 10px;background:linear-gradient(135deg,#071a3d,#0f4fd6 58%,#00a7d6);display:flex;align-items:center;justify-content:space-between;box-shadow:0 4px 18px #062d3a33}.crm-brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;min-width:0}.crm-brand img{width:38px;height:38px;background:#fff;border-radius:12px;padding:5px}.crm-brand span,.crm-brand strong,.crm-brand small{display:block;min-width:0}.crm-brand strong{font-size:16px}.crm-brand small{font-size:11px;opacity:.82;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-network{border:0;background:#ffffff1d;color:#77e29a;border-radius:50%;width:40px;height:40px;font-size:18px}.crm-network.offline{color:#ff9478}.crm-sync-strip{display:flex;justify-content:space-between;gap:10px;padding:6px 14px;background:#dce8ec;color:#45616e;font-size:11px}.crm-main{padding:14px;max-width:760px;margin:0 auto}.crm-alert{padding:12px 14px;border-radius:12px;margin-bottom:12px;font-weight:600}.crm-alert-success{background:#dff6e7;color:#17673a}.crm-alert-danger{background:#ffe1dc;color:#9a2f23}.crm-alert-warning{background:#fff1ce;color:#78540b}.crm-hero{background:linear-gradient(145deg,#0b3f9c,#146cff 58%,#00b8d9);color:#fff;border-radius:22px;padding:24px 20px;box-shadow:0 14px 34px #0f4fd63b;margin-bottom:14px}.crm-hero span,.crm-section-title span,.crm-page-title span,.crm-client-header span{font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;opacity:.78}.crm-hero h1,.crm-page-title h1,.crm-client-header h1{margin:5px 0 8px;font-size:25px;line-height:1.12}.crm-hero p,.crm-client-header p{margin:0;line-height:1.45;opacity:.87}.crm-kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.crm-kpi-grid a,.crm-quick-grid a,.crm-detail-grid article{background:var(--crm-card);border:1px solid var(--crm-border);border-radius:17px;padding:15px;text-decoration:none;color:var(--crm-text);box-shadow:0 8px 24px #1730420b}.crm-kpi-grid span,.crm-kpi-grid strong,.crm-kpi-grid small,.crm-detail-grid span,.crm-detail-grid strong,.crm-detail-grid small{display:block}.crm-kpi-grid span,.crm-detail-grid span{font-size:11px;color:var(--crm-muted);text-transform:uppercase;font-weight:700}.crm-kpi-grid strong{font-size:24px;margin:7px 0 3px}.crm-kpi-grid small,.crm-detail-grid small{font-size:11px;color:var(--crm-muted)}.crm-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.crm-quick-grid a>span{font-size:26px;color:var(--crm-primary)}.crm-quick-grid strong,.crm-quick-grid small{display:block;margin-top:7px}.crm-quick-grid small{font-size:11px;color:var(--crm-muted);line-height:1.35}.crm-section{margin-top:18px}.crm-section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 2px 9px}.crm-section-title h2{margin:2px 0 0;font-size:19px}.crm-section-title a{font-size:12px;color:var(--crm-primary);font-weight:700;text-decoration:none}.crm-list,.crm-client-list,.crm-route-list,.crm-timeline,.crm-route-stops{display:grid;gap:10px}.crm-action-card,.crm-action-detail,.crm-document,.crm-client-list>a,.crm-route-list>a,.crm-route-stops>article{background:#fff;border:1px solid var(--crm-border);border-radius:16px;color:var(--crm-text);text-decoration:none;box-shadow:0 7px 20px #1730420a}.crm-action-card{display:flex;justify-content:space-between;gap:12px;padding:14px;border-left:4px solid #9ab0ba}.crm-action-card.priority-high,.crm-action-detail.priority-high{border-left-color:#f29b38}.crm-action-card.priority-urgent,.crm-action-detail.priority-urgent{border-left-color:#d84a3a}.crm-action-card div span,.crm-action-top span{font-size:10px;font-weight:800;color:var(--crm-primary)}.crm-action-card strong,.crm-action-card small{display:block;margin-top:3px}.crm-action-card small{font-size:11px;color:var(--crm-muted)}.crm-action-card time{font-size:11px;color:var(--crm-muted);white-space:nowrap}.crm-empty{background:#fff;border:1px dashed #b7c9d0;border-radius:16px;padding:28px;text-align:center}.crm-empty p{color:var(--crm-muted);margin-bottom:0}.crm-page-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.crm-page-title>a:not(.crm-round){font-size:32px;text-decoration:none;color:var(--crm-primary)}.crm-page-title h1{font-size:24px;margin-bottom:0}.crm-round{width:46px;height:46px;border-radius:50%;background:var(--crm-primary);color:#fff!important;text-decoration:none;display:grid;place-items:center;font-size:27px;box-shadow:0 8px 18px #146cff40}.crm-search{display:flex;gap:8px;background:#fff;border:1px solid var(--crm-border);border-radius:15px;padding:7px;margin-bottom:12px}.crm-search input{min-width:0;flex:1;border:0;outline:0;padding:9px;font:inherit}.crm-search button,.crm-small,.crm-action-bottom button{border:0;border-radius:10px;background:#e4eef2;color:var(--crm-primary-dark);font-weight:800;padding:10px 12px}.crm-client-list>a{display:flex;align-items:center;gap:12px;padding:13px}.crm-client-avatar{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#dff3e7;color:#18623b;font-weight:900;font-size:18px;flex:0 0 auto}.crm-client-avatar.status-orange{background:#fff0d0;color:#8e5c00}.crm-client-avatar.status-red{background:#ffe0dc;color:#a42f24}.crm-client-main{min-width:0;flex:1}.crm-client-main>div{display:flex;justify-content:space-between;gap:8px}.crm-client-main strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-client-main span,.crm-client-main p,.crm-client-main small{font-size:11px;color:var(--crm-muted);margin:3px 0 0;display:block}.crm-chevron{font-size:25px;color:#8da4ae}.crm-client-header{display:flex;gap:12px;background:linear-gradient(145deg,#0b3f9c,#146cff 58%,#00b8d9);color:#fff;border-radius:20px;padding:20px;margin-bottom:11px}.crm-client-header>a{color:#fff;text-decoration:none;font-size:32px}.crm-client-header.status-orange{background:linear-gradient(145deg,#a86700,#dc8e16)}.crm-client-header.status-red{background:linear-gradient(145deg,#932b24,#d64b3f)}.crm-confidential{padding:14px;border-radius:14px;background:#fff0d0;color:#714b00;margin-bottom:11px}.crm-confidential.status-red{background:#ffe2dd;color:#8f2c24}.crm-confidential p{margin:5px 0 0}.crm-contact-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:11px}.crm-contact-actions a{background:#fff;border:1px solid var(--crm-border);border-radius:14px;text-align:center;padding:11px 5px;color:var(--crm-text);text-decoration:none}.crm-contact-actions span,.crm-contact-actions small{display:block}.crm-contact-actions span{font-size:21px;color:var(--crm-primary)}.crm-contact-actions small{font-size:10px;margin-top:4px}.crm-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.crm-detail-grid strong{font-size:14px;margin:5px 0}.crm-timeline article{display:flex;gap:12px;background:#fff;border:1px solid var(--crm-border);border-radius:15px;padding:14px}.crm-timeline i{width:11px;height:11px;border-radius:50%;background:var(--crm-primary);margin-top:5px;flex:0 0 auto}.crm-timeline article>div{flex:1;min-width:0}.crm-timeline article>div>div{display:flex;justify-content:space-between;gap:8px}.crm-timeline strong{font-size:14px}.crm-timeline span,.crm-timeline small{font-size:10px;color:var(--crm-muted)}.crm-timeline p{font-size:12px;line-height:1.45}.crm-document{padding:13px;display:flex;justify-content:space-between;gap:10px}.crm-document span,.crm-document small{display:block;font-size:10px;color:var(--crm-muted)}.crm-form{display:grid;gap:12px}.crm-form label,.crm-visit-form label{font-size:12px;font-weight:700;color:#405a66}.crm-form input,.crm-form select,.crm-form textarea,.crm-visit-form input,.crm-visit-form select,.crm-visit-form textarea{display:block;width:100%;margin-top:5px;border:1px solid #b9cbd3;border-radius:12px;padding:13px;font:inherit;background:#fff;color:var(--crm-text)}.crm-two{display:grid;grid-template-columns:1fr 1fr;gap:9px}.crm-primary,.crm-secondary{border:0;border-radius:13px;padding:14px 16px;font-weight:900;font-size:14px}.crm-primary{background:var(--crm-primary);color:#fff;box-shadow:0 9px 20px #146cff3b}.crm-secondary{background:#e3edf1;color:var(--crm-primary-dark)}.crm-filter-pills{display:flex;gap:7px;overflow:auto;margin-bottom:11px}.crm-filter-pills a{padding:9px 13px;border-radius:999px;background:#fff;border:1px solid var(--crm-border);text-decoration:none;color:var(--crm-text);font-size:12px;white-space:nowrap}.crm-filter-pills a.active{background:var(--crm-primary);color:#fff;border-color:var(--crm-primary)}.crm-action-detail{padding:14px;border-left:4px solid #9ab0ba}.crm-action-top,.crm-action-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center}.crm-action-detail>a{color:var(--crm-text);text-decoration:none}.crm-action-detail>a strong,.crm-action-detail>a small{display:block;margin-top:5px}.crm-action-detail>a small,.crm-action-detail p,.crm-action-bottom{font-size:11px;color:var(--crm-muted)}.crm-action-bottom form{margin:0}.crm-route-list>a{display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:11px;padding:13px}.crm-route-date{text-align:center;background:#e4f0f3;border-radius:12px;padding:7px}.crm-route-date strong,.crm-route-date span{display:block}.crm-route-date strong{font-size:20px}.crm-route-date span{font-size:9px}.crm-route-list>a>div:nth-child(2)>div{display:flex;justify-content:space-between;gap:8px}.crm-route-list p,.crm-route-list small{margin:3px 0 0;color:var(--crm-muted);font-size:11px}.crm-route-stops>article{display:grid;grid-template-columns:34px 1fr;gap:10px;padding:13px}.crm-stop-order{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e5eef2;color:var(--crm-primary);font-weight:900}.crm-stop-main>div:first-child{display:flex;justify-content:space-between;gap:8px}.crm-stop-main p,.crm-stop-main small{font-size:11px;color:var(--crm-muted);margin:4px 0}.crm-stop-actions{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}.crm-stop-actions a{font-size:11px;padding:8px 10px;border-radius:9px;background:#edf4f6;color:var(--crm-primary-dark);text-decoration:none;font-weight:700}.crm-visit-form{display:grid;gap:9px;margin-top:9px}.crm-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-top:1px solid var(--crm-border);padding:7px 8px calc(7px + var(--safe-bottom));display:flex;justify-content:space-around;box-shadow:0 -5px 20px #17304216}.crm-bottom-nav a,.crm-bottom-nav button{border:0;background:none;text-decoration:none;color:#6d828b;display:grid;place-items:center;gap:2px;min-width:54px;padding:3px;font:inherit}.crm-bottom-nav span{font-size:19px}.crm-bottom-nav small{font-size:9px}.crm-bottom-nav .active{color:var(--crm-primary);font-weight:800}.crm-install-sheet{position:fixed;inset:0;z-index:60;background:#0008;display:grid;align-items:end}.crm-install-sheet[hidden]{display:none}.crm-install-sheet>div{background:#fff;border-radius:22px 22px 0 0;padding:24px 20px calc(24px + var(--safe-bottom));position:relative}.crm-install-sheet button[data-crm-install-close]{position:absolute;right:15px;top:12px;border:0;background:#edf2f4;border-radius:50%;width:35px;height:35px;font-size:22px}.crm-install-sheet h2{margin-top:0}.crm-install-sheet p{line-height:1.5;color:var(--crm-muted)}@media(min-width:700px){.crm-main{padding:22px}.crm-kpi-grid{grid-template-columns:repeat(4,1fr)}.crm-bottom-nav{left:50%;transform:translateX(-50%);max-width:760px;border-radius:18px 18px 0 0}.crm-contact-actions{grid-template-columns:repeat(4,110px);justify-content:start}}@media(max-width:420px){.crm-two{grid-template-columns:1fr}.crm-contact-actions{grid-template-columns:repeat(4,1fr)}.crm-kpi-grid{gap:8px}.crm-kpi-grid a{padding:13px}.crm-kpi-grid strong{font-size:20px}}

.crm-icon-img{width:30px;height:30px;display:block;filter:drop-shadow(0 4px 8px #0b1f4433)}
.crm-bottom-nav .crm-icon-img{width:25px;height:25px}.crm-bottom-nav a,.crm-bottom-nav button{border-radius:12px}.crm-bottom-nav .active{background:#146cff10}.crm-kpi-grid a{position:relative;overflow:hidden}.crm-kpi-grid a::after{content:"";position:absolute;width:60px;height:60px;border-radius:50%;right:-24px;top:-24px;background:linear-gradient(135deg,#146cff18,#00b8d92c)}.crm-kpi-grid a:nth-child(2)::after{background:linear-gradient(135deg,#7c3aed20,#db27772c)}.crm-kpi-grid a:nth-child(3)::after{background:linear-gradient(135deg,#00a86b20,#84cc162c)}.crm-kpi-grid a:nth-child(4)::after{background:linear-gradient(135deg,#ff6b0020,#facc152c)}
.crm-quote-reminder{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px;background:#fff;border:1px solid var(--crm-border);border-left:5px solid #2f9e67;border-radius:16px;color:var(--crm-text);text-decoration:none;box-shadow:0 7px 20px #1730420a}.crm-quote-reminder.is-due{border-left-color:#e05252;background:linear-gradient(120deg,#fff,#fff4f2)}.crm-quote-reminder span,.crm-quote-reminder strong,.crm-quote-reminder small{display:block}.crm-quote-reminder span{font-size:10px;font-weight:900;color:#2f9e67}.crm-quote-reminder.is-due span{color:#c53c3c}.crm-quote-reminder strong{margin:3px 0;font-size:13px}.crm-quote-reminder small,.crm-quote-reminder time{font-size:10px;color:var(--crm-muted)}.crm-quote-reminder time{white-space:nowrap;text-align:right}
.crm-quick-grid a{position:relative;min-height:125px;border:0;background:linear-gradient(145deg,#fff,#f5f9ff);box-shadow:0 10px 28px #0f3f8c15}.crm-quick-grid a>img{width:42px;height:42px}.crm-action-card{border-left-width:5px}.crm-action-card.priority-normal{border-left-color:#146cff}.crm-action-card.priority-high{border-left-color:#ff8a00}.crm-action-card.priority-urgent{border-left-color:#ef4444}.crm-page-title>img{width:50px;height:50px}.crm-calendar-title{background:linear-gradient(135deg,#fff,#eaf2ff);border:1px solid var(--crm-border);padding:14px;border-radius:18px}.crm-premium-empty,.crm-schema-error{background:#fff;border:1px solid var(--crm-border);border-radius:22px;padding:28px 20px;text-align:center;box-shadow:0 14px 36px #0a1c3412}.crm-premium-empty>img,.crm-schema-error>img{width:84px;height:84px}.crm-premium-empty h2,.crm-schema-error h1{margin:14px 0 8px}.crm-premium-empty p,.crm-schema-error p{color:var(--crm-muted);line-height:1.55}.crm-link-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;margin-top:10px}.crm-calendar-toolbar{display:grid;grid-template-columns:46px 1fr 46px;align-items:center;gap:8px;background:linear-gradient(135deg,#071a3d,#146cff);color:#fff;padding:12px;border-radius:18px;margin:12px 0}.crm-calendar-toolbar>a{display:grid;place-items:center;height:42px;border-radius:13px;background:#ffffff1c;color:#fff;text-decoration:none;font-size:32px}.crm-calendar-toolbar>div{text-align:center}.crm-calendar-toolbar strong,.crm-calendar-toolbar small{display:block}.crm-calendar-toolbar small{opacity:.78;font-size:10px;margin-top:3px}.crm-calendar-list{display:grid;gap:9px}.crm-calendar-event{display:grid;grid-template-columns:52px 1fr 34px;gap:11px;align-items:center;background:#fff;border:1px solid var(--crm-border);border-radius:17px;padding:11px;box-shadow:0 8px 24px #0f3f8c0b}.crm-calendar-date{background:linear-gradient(145deg,#ff6b00,#ffb000);color:#fff;border-radius:13px;text-align:center;padding:7px 4px}.crm-calendar-date strong,.crm-calendar-date span{display:block}.crm-calendar-date strong{font-size:21px}.crm-calendar-date span{font-size:9px}.crm-calendar-event>div:nth-child(2)>span,.crm-calendar-event>div:nth-child(2)>strong,.crm-calendar-event>div:nth-child(2)>small{display:block}.crm-calendar-event>div:nth-child(2)>span{font-size:10px;color:var(--crm-primary);font-weight:900}.crm-calendar-event>div:nth-child(2)>small{font-size:10px;color:var(--crm-muted);margin-top:3px}.crm-calendar-event>a{font-size:22px;text-decoration:none;color:var(--crm-primary)}.crm-disconnect-form{margin-top:16px;text-align:center}.crm-schema-error code{display:inline-block;background:#0f172a;color:#fff;padding:8px 12px;border-radius:10px;margin:6px 0 12px}.crm-schema-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.crm-schema-error>small{display:block;color:var(--crm-muted);margin-top:14px}

/* V5.9.0 — application commerciale nominative et notes de frais */
.crm-expense-list{display:grid;gap:12px}.crm-expense-card{display:flex;justify-content:space-between;gap:12px;padding:16px;border-radius:18px;background:linear-gradient(145deg,#fff,#eef8fb);box-shadow:0 8px 24px #05394d20;text-decoration:none;color:#123748;border-left:6px solid #ff7a18}.crm-expense-card>div{display:grid;gap:5px}.crm-expense-card>div:last-child{text-align:right}.crm-expense-card em{font-style:normal;font-size:11px;font-weight:900}.crm-form{display:grid;gap:14px;padding:18px;border-radius:22px;background:#fff;box-shadow:0 12px 36px #072e401f}.crm-form label{display:grid;gap:6px;font-weight:800}.crm-form input,.crm-form select,.crm-form textarea{width:100%;padding:12px;border:1px solid #c7dce5;border-radius:12px}.crm-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.crm-receipt-upload{padding:16px;border:2px dashed #20a4bd;border-radius:16px;background:#effbfe}.crm-actions{display:flex;gap:10px;flex-wrap:wrap}.crm-money{font-size:24px;color:#ff6b00}.crm-detail-card{padding:17px;border-radius:18px;background:#fff;box-shadow:0 8px 24px #062b3b1c;margin-bottom:14px}.crm-receipts{display:grid;gap:8px}.crm-receipts a{padding:12px;border-radius:12px;background:#eaf8fb;text-decoration:none;font-weight:800}@media(max-width:620px){.crm-grid-3{grid-template-columns:1fr}.crm-actions>*{width:100%}}

.crm-bottom-nav{justify-content:flex-start;overflow-x:auto;scrollbar-width:none}.crm-bottom-nav::-webkit-scrollbar{display:none}.crm-bottom-nav a,.crm-bottom-nav button{flex:0 0 58px}

/* V7.1.0 — notes de frais professionnelles et thème CRM mobile */
body.crm-mobile-app{font-family:var(--crm-font,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--crm-base-size,15px);color:var(--crm-text);background:var(--crm-bg);position:relative}
body.crm-mobile-app::before{content:"";position:fixed;inset:0;background-image:var(--crm-wallpaper);background-size:cover;background-position:center;opacity:var(--crm-wallpaper-opacity);pointer-events:none;z-index:-2}
body.crm-mobile-app::after{content:"";position:fixed;inset:0;background:linear-gradient(180deg,color-mix(in srgb,var(--crm-bg) 88%,transparent),var(--crm-bg));pointer-events:none;z-index:-1}
.crm-topbar{background:linear-gradient(135deg,var(--crm-secondary),var(--crm-primary) 62%,color-mix(in srgb,var(--crm-primary) 55%,#fff));}.crm-brand img{width:var(--crm-logo-size);height:var(--crm-logo-size);object-fit:contain}.crm-main{padding-top:16px}.crm-page h1{font-size:var(--crm-h1-size)}
.expense-page,.expense-detail-page,.expense-form-page{display:grid;gap:14px}.expense-hero{background:linear-gradient(135deg,var(--crm-secondary),var(--crm-primary));color:#fff;border-radius:var(--crm-radius);padding:20px;box-shadow:0 16px 34px color-mix(in srgb,var(--crm-secondary) 20%,transparent)}.expense-hero h1{margin:5px 0 8px}.expense-hero p{margin:0;opacity:.84;line-height:1.45}.expense-hero .crm-primary{background:var(--crm-accent);text-decoration:none;white-space:nowrap;align-self:center}
.expense-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.expense-summary>div{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:calc(var(--crm-radius) - 3px);padding:12px 8px;text-align:center}.expense-summary b,.expense-summary span{display:block}.expense-summary b{font-size:21px}.expense-summary span{font-size:10px;color:var(--crm-muted);margin-top:3px}.expense-summary .danger b{color:#b42318}
.crm-expense-card{border:1px solid var(--crm-border);border-left:5px solid var(--crm-primary);background:var(--crm-surface);box-shadow:0 10px 26px color-mix(in srgb,var(--crm-secondary) 10%,transparent);align-items:center}.crm-expense-card.status-card-rejected{border-left-color:#d92d20}.crm-expense-card.status-card-approved,.crm-expense-card.status-card-paid{border-left-color:#15803d}.expense-card-main{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:12px;min-width:0}.expense-type-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border-radius:13px;background:color-mix(in srgb,var(--crm-primary) 12%,#fff)}.expense-card-main div{min-width:0}.expense-card-main strong,.expense-card-main span,.expense-card-main small,.expense-card-main em{display:block}.expense-card-main span{color:var(--crm-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.expense-card-main small{font-size:10px;color:var(--crm-muted)}.expense-card-main em{margin-top:7px;padding:7px 9px;border-radius:9px;background:#fff1f0;color:#9b1c14;font-size:10px!important;line-height:1.35}.expense-card-side{display:flex!important;flex-direction:column;align-items:flex-end}.expense-card-side i{font-size:22px;color:var(--crm-muted)}
.crm-status{display:inline-flex!important;align-items:center;width:max-content;padding:5px 8px;border-radius:999px;font-size:10px!important;font-style:normal;font-weight:900;background:#eef2f6;color:#344054}.status-rejected{background:#fee4e2;color:#b42318}.status-approved,.status-paid{background:#dcfae6;color:#067647}.status-submitted{background:#e0f2fe;color:#075985}.status-draft{background:#f2f4f7;color:#475467}
.expense-viewer-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:14px;padding:9px}.expense-viewer-nav a{text-decoration:none;color:var(--crm-primary);font-weight:800;font-size:12px}.expense-viewer-nav a:last-child{text-align:right}.expense-viewer-nav .disabled{opacity:.3;pointer-events:none}.expense-viewer-nav span{font-size:11px;color:var(--crm-muted)}.expense-detail-head{padding:18px;background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius)}.expense-detail-head h1{margin:8px 0 2px}.expense-detail-head p{margin:0;color:var(--crm-muted)}
.crm-rejection-box{padding:18px;border-radius:var(--crm-radius);background:linear-gradient(135deg,#7a271a,#d92d20);color:#fff;box-shadow:0 12px 28px #d92d2030}.crm-rejection-box span{font-size:10px;text-transform:uppercase;letter-spacing:.1em}.crm-rejection-box h2{margin:5px 0 8px}.crm-rejection-box p{margin:0;line-height:1.5}.crm-accounting-note{padding:15px;border-radius:var(--crm-radius);background:#fffaeb;border:1px solid #fedf89}.crm-accounting-note p{margin-bottom:0}.expense-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.expense-facts div{padding:11px;border-radius:12px;background:color-mix(in srgb,var(--crm-bg) 65%,#fff)}.expense-facts span,.expense-facts b{display:block}.expense-facts span{font-size:10px;color:var(--crm-muted);text-transform:uppercase}.expense-facts b{margin-top:4px}.expense-section-head{display:flex;justify-content:space-between;align-items:center}.expense-section-head h2{margin:2px 0}.expense-section-head span{font-size:10px;text-transform:uppercase;color:var(--crm-muted)}.crm-receipts a{display:flex;align-items:center;gap:11px;background:color-mix(in srgb,var(--crm-primary) 8%,#fff);color:var(--crm-text)}.crm-receipts a div{flex:1;min-width:0}.crm-receipts a b,.crm-receipts a small{display:block}.crm-receipts a b{overflow:hidden;text-overflow:ellipsis}.crm-receipts a small{font-size:10px;color:var(--crm-muted)}.crm-receipts a i{font-style:normal;color:var(--crm-primary)}.expense-detail-actions form{margin:0}.crm-danger{border:0;border-radius:13px;padding:14px 16px;font-weight:900;background:#fee4e2;color:#b42318}
.expense-form{padding:0;background:transparent;box-shadow:none}.expense-form-section{padding:18px;border-radius:var(--crm-radius);background:var(--crm-surface);border:1px solid var(--crm-border);box-shadow:0 10px 28px color-mix(in srgb,var(--crm-secondary) 8%,transparent)}.expense-form-section h2{margin:0 0 14px}.crm-receipt-upload{position:relative;text-align:center;padding:24px;background:color-mix(in srgb,var(--crm-primary) 7%,#fff);border-color:var(--crm-primary);cursor:pointer}.crm-receipt-upload .upload-icon,.crm-receipt-upload strong,.crm-receipt-upload small,.crm-receipt-upload em{display:block}.crm-receipt-upload .upload-icon{font-size:34px}.crm-receipt-upload strong{margin:7px 0}.crm-receipt-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.crm-receipt-upload em{font-style:normal;color:var(--crm-primary);margin-top:9px}.crm-receipt-upload.processing{opacity:.72}.crm-receipt-upload.error{border-color:#d92d20;background:#fff1f0}.crm-empty b,.crm-empty span{display:block}.crm-empty span{margin-top:7px;color:var(--crm-muted);line-height:1.5}
@media(max-width:620px){.expense-hero{display:grid;gap:14px}.expense-summary{grid-template-columns:repeat(2,1fr)}.expense-facts{grid-template-columns:1fr}.expense-detail-actions{display:grid}.expense-detail-actions>*{width:100%}.expense-detail-actions form button{width:100%}}

/* BATILOGIX CRM V7.3.0 - suivi carburant. */
.crm-bottom-nav{overflow-x:auto;justify-content:flex-start}.crm-bottom-nav>a,.crm-bottom-nav>button{min-width:64px;flex:1 0 64px}.crm-fuel-hero{display:flex;justify-content:space-between;gap:14px;align-items:flex-end;margin:12px 0 10px;padding:19px;border-radius:22px;background:linear-gradient(135deg,var(--crm-secondary),var(--crm-primary));color:#fff;box-shadow:0 14px 30px #0d4d6628}.crm-fuel-hero span,.crm-fuel-hero h1,.crm-fuel-hero p{color:#fff}.crm-fuel-hero span{font-size:10px;font-weight:900;letter-spacing:1px;text-transform:uppercase;opacity:.75}.crm-fuel-hero h1{margin:4px 0 6px;font-size:var(--crm-h1-size)}.crm-fuel-hero p{margin:0;font-size:11px;opacity:.82}.crm-fuel-new{white-space:nowrap;text-decoration:none}.crm-fuel-periods{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:8px 0 12px}.crm-fuel-periods a{padding:9px 4px;border:1px solid var(--crm-border);border-radius:12px;background:var(--crm-surface);text-align:center;text-decoration:none;font-size:11px;font-weight:800;color:var(--crm-muted)}.crm-fuel-periods a.active{background:var(--crm-primary);color:#fff;border-color:var(--crm-primary)}.crm-fuel-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}.crm-fuel-summary article{padding:11px;border:1px solid var(--crm-border);border-radius:15px;background:var(--crm-surface);box-shadow:0 8px 18px #153b4a0d}.crm-fuel-summary span,.crm-fuel-summary b{display:block}.crm-fuel-summary span{font-size:9px;color:var(--crm-muted)}.crm-fuel-summary b{margin-top:5px;font-size:14px;color:var(--crm-text)}.crm-fuel-gauges{display:grid;gap:10px;margin-bottom:18px}.crm-fuel-gauge{padding:14px;border:1px solid var(--crm-border);border-radius:19px;background:var(--crm-surface);box-shadow:0 10px 22px #173b4c0e}.crm-fuel-gauge>header{display:grid;grid-template-columns:38px 1fr auto;gap:8px;align-items:center}.crm-fuel-gauge>header>span{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:#edf5f7;font-size:21px}.crm-fuel-gauge header b,.crm-fuel-gauge header small{display:block}.crm-fuel-gauge header small{font-size:9px;color:var(--crm-muted);margin-top:2px}.crm-fuel-gauge header em{font-size:9px;font-style:normal;color:var(--crm-muted)}.crm-fuel-dial{display:grid;place-items:center;height:108px;overflow:hidden}.crm-fuel-dial>div{position:relative;width:190px;height:96px;margin-top:16px;border-radius:190px 190px 0 0;background:conic-gradient(from 270deg at 50% 100%,#2eb77d 0 33%,#efb236 33% 66%,#db5157 66% 100%)}.crm-fuel-dial>div:before{content:"";position:absolute;left:22px;right:22px;bottom:0;height:73px;border-radius:150px 150px 0 0;background:var(--crm-surface)}.crm-fuel-dial i{position:absolute;z-index:2;left:calc(50% - 3px);bottom:0;width:6px;height:70px;border-radius:6px;background:var(--crm-secondary);transform-origin:50% 100%;transform:rotate(var(--needle-angle));transition:transform .45s ease}.crm-fuel-dial i:after{content:"";position:absolute;left:-7px;bottom:-7px;width:20px;height:20px;border-radius:50%;background:var(--crm-secondary);border:4px solid var(--crm-surface)}.crm-fuel-dial strong{position:absolute;z-index:3;left:0;right:0;bottom:8px;text-align:center;font-size:21px}.crm-fuel-dial strong small{display:block;font-size:8px;color:var(--crm-muted)}.crm-fuel-gauge>footer{padding:8px 10px;border-radius:11px;background:#eef8f3;color:#267557;text-align:center;font-size:9px;font-weight:800}.crm-fuel-gauge.status-alert>footer{background:#fff0ed;color:#ae433f}.crm-fuel-gauge.status-watch>footer{background:#fff7e5;color:#9b6716}.crm-fuel-vehicle-grid{display:grid;gap:8px}.crm-fuel-vehicle-grid>a{display:grid;grid-template-columns:42px 1fr 24px;gap:10px;align-items:center;padding:12px;border:1px solid var(--crm-border);border-radius:16px;background:var(--crm-surface);text-decoration:none;color:var(--crm-text)}.crm-fuel-vehicle-grid>a>span{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#edf5f7;font-size:22px}.crm-fuel-vehicle-grid b,.crm-fuel-vehicle-grid small,.crm-fuel-vehicle-grid em{display:block}.crm-fuel-vehicle-grid small{font-size:9px;color:var(--crm-muted)}.crm-fuel-vehicle-grid em{margin-top:3px;font-style:normal;font-size:9px;color:var(--crm-primary)}.crm-fuel-vehicle-grid>a>i{font-style:normal;font-size:22px;color:var(--crm-accent)}.crm-fuel-history-list{display:grid;gap:8px}.crm-fuel-history-list>article{display:grid;grid-template-columns:45px 1fr auto;gap:10px;align-items:center;padding:11px;border:1px solid var(--crm-border);border-radius:16px;background:var(--crm-surface)}.crm-fuel-history-list>article.has-alert{border-color:#efb9a9;background:#fffaf6}.crm-fuel-history-date{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#eef5f7}.crm-fuel-history-date b,.crm-fuel-history-date span{display:block;text-align:center}.crm-fuel-history-date b{font-size:16px;line-height:1}.crm-fuel-history-date span{font-size:8px;color:var(--crm-muted)}.crm-fuel-history-list strong,.crm-fuel-history-list small,.crm-fuel-history-list em{display:block}.crm-fuel-history-list small{font-size:9px;color:var(--crm-muted)}.crm-fuel-history-list em{font-style:normal;font-size:10px;color:var(--crm-primary);font-weight:800;margin-top:3px}.crm-fuel-history-cost{text-align:right}.crm-fuel-history-cost b,.crm-fuel-history-cost span{display:block}.crm-fuel-history-cost span{margin-top:4px}.crm-fuel-form-hero{margin-top:10px}.crm-fuel-form-hero>a{font-size:25px}.crm-fuel-vehicle-hint{display:flex;flex-wrap:wrap;gap:6px;margin:-4px 0 10px}.crm-fuel-vehicle-hint span{padding:7px 8px;border-radius:10px;background:#edf5f7;font-size:9px;color:var(--crm-muted)}.crm-fuel-entry-form{display:grid;gap:11px}.crm-fuel-live-calc{padding:13px;border:1px dashed var(--crm-border);border-radius:15px;background:#f7fafb}.crm-fuel-live-calc span,.crm-fuel-live-calc strong,.crm-fuel-live-calc small{display:block}.crm-fuel-live-calc span{font-size:9px;color:var(--crm-muted)}.crm-fuel-live-calc strong{margin:5px 0;font-size:18px}.crm-fuel-live-calc small{font-size:9px;color:var(--crm-muted)}.crm-fuel-live-calc.is-good{border-color:#7bc9a7;background:#effaf5}.crm-fuel-live-calc.is-watch{border-color:#e3c477;background:#fffbef}.crm-fuel-live-calc.is-alert{border-color:#e8a29e;background:#fff5f3}.crm-fuel-empty-icon{font-size:42px}.crm-expense-quick-icon{font-size:28px}
@media(max-width:420px){.crm-fuel-hero{align-items:flex-start;flex-direction:column}.crm-fuel-new{width:100%;text-align:center}.crm-fuel-summary{grid-template-columns:1fr}.crm-fuel-gauge>header{grid-template-columns:38px 1fr}.crm-fuel-gauge header em{grid-column:2}.crm-fuel-history-list>article{grid-template-columns:42px 1fr}.crm-fuel-history-cost{grid-column:2;text-align:left;display:flex;gap:8px;align-items:center}}

/* Batilogix V7.8.0 - notification de consommation lors de la saisie. */
.crm-fuel-consumption-warning{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center;padding:12px 13px;border-radius:15px;border:1px solid #e1bd68;background:#fff8e5;color:#7a5310;box-shadow:0 9px 20px rgba(120,82,15,.10)}.crm-fuel-consumption-warning[hidden]{display:none}.crm-fuel-consumption-warning>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#ffe5a8;font-size:21px}.crm-fuel-consumption-warning strong,.crm-fuel-consumption-warning small{display:block}.crm-fuel-consumption-warning strong{font-size:12px}.crm-fuel-consumption-warning small{margin-top:3px;font-size:9px;line-height:1.4}.crm-fuel-consumption-warning.is-alert{border-color:#e49b98;background:#fff1f0;color:#972e32;box-shadow:0 9px 22px rgba(151,46,50,.13)}.crm-fuel-consumption-warning.is-alert>span{background:#ffd7d6}.crm-fuel-dial i{background:linear-gradient(to top,var(--status-color,#2eb77d) 0 40%,var(--crm-secondary) 41% 100%)!important}.crm-fuel-dial i:before{content:"";position:absolute;left:-11px;bottom:-12px;width:28px;height:28px;border-radius:50%;background:radial-gradient(circle,#fff 0 12%,var(--status-color,#2eb77d) 15% 58%,#fff 61% 72%,transparent 75%);box-shadow:0 0 0 3px color-mix(in srgb,var(--status-color,#2eb77d) 25%,transparent)}

.crm-topbar-actions{display:flex;align-items:center;gap:10px}.crm-desktop-dashboard{display:none;align-items:center;justify-content:center;padding:9px 13px;border-radius:10px;background:#fff;color:var(--crm-secondary);font-weight:850;text-decoration:none;border:1px solid var(--crm-border);box-shadow:0 5px 14px rgba(18,49,66,.12)}
@media(min-width:900px){.crm-desktop-dashboard{display:inline-flex}.crm-main{padding-bottom:36px}.crm-bottom-nav{position:relative;max-width:1180px;margin:0 auto 20px;border-radius:18px}}

/* Batilogix V8.1.4 - autocompletion des referentiels en interface mobile */
.entity-autocomplete{position:relative;width:100%;min-width:0}.entity-autocomplete-input{width:100%}.entity-autocomplete-native{position:absolute!important;left:0;bottom:0;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;padding:0!important;border:0!important}.entity-autocomplete-results{position:absolute;z-index:300;left:0;right:0;top:calc(100% + 5px);max-height:52vh;overflow:auto;background:#fff;border:1px solid #b9ccd7;border-radius:10px;box-shadow:0 16px 34px rgba(18,48,66,.22)}.entity-autocomplete-option{display:block;width:100%;padding:11px 12px;border:0;border-bottom:1px solid #e7eef2;background:#fff;color:#17384a;text-align:left;cursor:pointer;font-weight:700}.entity-autocomplete-option:last-child{border-bottom:0}.entity-autocomplete-option:hover,.entity-autocomplete-option.is-active{background:#e8f6fa;color:#075f7a}.entity-autocomplete-help{padding:12px;color:#647985;background:#f8fbfc}.entity-autocomplete-help.is-empty{color:#8d4e26}

/* BatiLogiX V8.1.14 R1 - lisibilite globale des cases a cocher */
:where(label.checkbox,label.check,label.check-line,label.form-check,label.portal-check,label.switch-line,label.depot-check,label.check-field,label.permission-item,label.choice,label.switch,label.crm-check,label.inventory-choice,label.mail-toggle-row,label.mfa-check,label.check-card,label.confirmation-line,label.checkbox-card,label[class*="-check"]):has(>input[type="checkbox"]),
label:has(>input[type="checkbox"]){
  display:inline-flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  min-width:0;
  max-width:100%;
  min-height:28px;
  line-height:1.35;
  text-align:left;
  vertical-align:middle;
}

/* V8.2.3 - accès au planning logistique depuis les agendas mobiles */
.crm-delivery-calendar-v823{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:11px;align-items:center;margin-bottom:13px;padding:13px;border:1px solid #8ec8d8;border-radius:17px;background:linear-gradient(135deg,#eefafe,#f5fbfd);color:#15394d;text-decoration:none;box-shadow:0 8px 20px #15394d12}.crm-delivery-calendar-v823 img{width:42px;height:42px;padding:9px;border-radius:13px;background:#176d92}.crm-delivery-calendar-v823 strong,.crm-delivery-calendar-v823 small{display:block}.crm-delivery-calendar-v823 small{margin-top:3px;color:#5d7480;font-size:10px;line-height:1.35}.crm-delivery-calendar-v823 b{color:#0f7897;font-size:11px;white-space:nowrap}
label:has(>input[type="checkbox"])>input[type="checkbox"]{
  appearance:auto;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  flex:0 0 18px!important;
  margin:0!important;
  padding:0!important;
  vertical-align:middle;
  cursor:pointer;
}
label:has(>input[type="checkbox"])>span,
label:has(>input[type="checkbox"])>strong,
label:has(>input[type="checkbox"])>small{
  min-width:0;
  line-height:1.35;
  text-align:left;
}
label:has(>input[type="checkbox"])>span{display:inline-flex;align-items:center;gap:5px;max-width:100%;}
label:has(>input[type="checkbox"])>span:has(>strong),
label:has(>input[type="checkbox"])>span:has(>small){display:grid;align-items:center;gap:2px;}
label:has(>input[type="checkbox"])>span:has(>small){white-space:normal;}
label:has(>input[type="checkbox"])>span:has(>small)>strong{white-space:nowrap;}
label:has(>input[type="checkbox"])>span:has(>small)>small{white-space:normal;}
@media(min-width:761px){
  label:has(>input[type="checkbox"]),label:has(>input[type="checkbox"])>span:not(:has(>small)){white-space:nowrap;}
}
@media(max-width:760px){
  label:has(>input[type="checkbox"]){align-items:flex-start;white-space:normal;}
  label:has(>input[type="checkbox"])>span{white-space:normal;overflow-wrap:anywhere;}
}
.mail-ticket-routing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.mail-ticket-routing-grid>label:not(.mail-toggle-row){display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;white-space:normal;}
.mail-ticket-routing-grid>label>span{font-weight:800;color:#29434f;}
.mail-ticket-routing-grid>label>small{color:#6c7e88;font-weight:500;line-height:1.4;}
.mail-ticket-routing-grid input[type="email"]{width:100%;min-width:0;}
.mail-ticket-routing-grid .mail-wide{grid-column:1/-1;}
@media(max-width:980px){.mail-ticket-routing-grid{grid-template-columns:1fr;}.mail-ticket-routing-grid .mail-wide{grid-column:auto;}}


/* BatiLogiX V8.1.21 - centrage CRM, separation des textes et protection anti-ecrasement */
.crm-page-head.expense-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  overflow:hidden;
}
.expense-hero-copy{
  display:grid;
  gap:0;
  min-width:0;
}
.expense-hero-copy .expense-eyebrow{
  display:block;
  margin:0 0 2px;
  font-size:11px;
  font-weight:850;
  line-height:1.25;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.82;
}
.expense-hero-copy h1{
  margin:4px 0 9px;
  line-height:1.15;
  overflow-wrap:anywhere;
}
.expense-hero-copy p{
  max-width:60ch;
  margin:0;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.expense-hero-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width:0;
}
.expense-new-button{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:156px;
  min-height:46px;
  margin:0;
  padding:12px 16px;
  line-height:1.2;
  text-align:center;
  white-space:nowrap;
}
.expense-new-button strong{
  display:block;
  font-size:14px;
  line-height:1.2;
}
.expense-button-icon{
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  flex:0 0 24px;
  border-radius:8px;
  background:rgba(255,255,255,.18);
  font-size:18px;
  font-weight:900;
  line-height:1;
}
.crm-primary,.crm-secondary,.crm-danger{
  line-height:1.25;
  text-align:center;
  overflow-wrap:anywhere;
}
.expense-summary>div{
  display:grid;
  place-items:center;
  align-content:center;
  min-width:0;
  min-height:72px;
}
.expense-summary b{
  line-height:1.1;
}
.expense-summary span{
  line-height:1.25;
  overflow-wrap:anywhere;
}
.expense-empty-state{
  display:grid;
  justify-items:center;
  gap:8px;
  padding:30px 22px;
}
.expense-empty-state img{
  display:block;
  width:54px;
  height:54px;
  margin:0 auto 3px;
  object-fit:contain;
}
.expense-empty-state b{
  font-size:15px;
  line-height:1.3;
}
.expense-empty-state span{
  max-width:54ch;
  margin-top:0;
  font-size:13px;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.crm-expense-card{
  min-width:0;
}
.expense-card-main{
  flex:1 1 auto;
}
.expense-card-main .expense-type-icon img{
  display:block;
  width:28px;
  height:28px;
  margin:auto;
  object-fit:contain;
}
.expense-card-side{
  flex:0 0 auto;
  min-width:max-content;
}
.crm-bottom-nav a,.crm-bottom-nav button{
  grid-template-rows:32px auto;
  align-content:center;
  justify-items:center;
  text-align:center;
  line-height:1.15;
}
.crm-bottom-nav .crm-icon-img{
  grid-row:1;
  align-self:center;
  justify-self:center;
  display:block;
  width:27px;
  height:27px;
  margin:0 auto;
  object-fit:contain;
}
.crm-bottom-nav>a>span,.crm-bottom-nav>button>span{
  grid-row:1;
  align-self:center;
  justify-self:center;
  display:grid;
  place-items:center;
  min-width:27px;
  min-height:27px;
  margin:0 auto;
  line-height:1;
}
.crm-bottom-nav small{
  grid-row:2;
  display:block;
  margin:0;
  font-size:10px;
  font-weight:700;
  line-height:1.15;
  white-space:nowrap;
}
@media(min-width:900px){
  .crm-main{
    width:min(calc(100% - 36px),980px);
    max-width:980px;
    margin-inline:auto;
  }
  .crm-bottom-nav{
    position:relative;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    transform:none!important;
    width:min(calc(100% - 36px),980px);
    max-width:980px;
    margin:16px auto 24px;
    padding:9px 12px;
    justify-content:center;
    overflow-x:auto;
    border:1px solid var(--crm-border);
    border-radius:18px;
  }
  .crm-bottom-nav a,.crm-bottom-nav button{
    flex:0 1 108px;
    min-width:82px;
    min-height:62px;
    padding:7px 9px;
    gap:4px;
  }
  .crm-bottom-nav small{
    font-size:11px;
  }
}
@media(max-width:620px){
  .crm-page-head.expense-hero{
    grid-template-columns:1fr;
    gap:16px;
  }
  .expense-hero-actions{
    justify-content:stretch;
  }
  .expense-new-button{
    width:100%;
    min-width:0;
    white-space:normal;
  }
  .crm-expense-card{
    display:grid;
    grid-template-columns:minmax(0,1fr);
  }
  .expense-card-side{
    width:100%;
    display:grid!important;
    grid-template-columns:1fr auto auto;
    align-items:center;
    gap:8px;
    text-align:left!important;
  }
}
@media(max-width:420px){
  .expense-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .crm-bottom-nav a,.crm-bottom-nav button{
    min-width:72px;
    flex:1 0 72px;
  }
  .crm-bottom-nav small{
    font-size:10px;
  }
}
