:root{--bg:#090b10;--surface:#11141b;--surface-2:#171b24;--border:#252a36;--text:#f5f7fb;--muted:#9299a8;--primary:#7667f6;--green:#20d49a;--blue:#4a8cf7;--amber:#f5a524;--danger:#ff6b75;--sidebar:224px;--radius:16px}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;background:radial-gradient(circle at 90% 0,rgba(118,103,246,.08),transparent 32%),var(--bg);color:var(--text);font:15px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;min-height:100vh}button,input{font:inherit}.app-shell{display:grid;grid-template-columns:var(--sidebar) 1fr;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);display:flex;flex-direction:column;padding:22px 14px 16px;border-right:1px solid var(--border);background:#0d1016;z-index:30}.brand{display:flex;align-items:center;gap:10px;padding:0 10px 24px;color:white;text-decoration:none;font-size:19px;font-weight:750;letter-spacing:-.5px}.brand-mark{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:linear-gradient(135deg,#8b7cff,#5a48ea);font-weight:900;box-shadow:0 8px 24px rgba(118,103,246,.3)}.workspace{display:flex;align-items:center;gap:10px;padding:10px;margin-bottom:18px;border:1px solid var(--border);border-radius:12px;background:var(--surface);cursor:pointer}.workspace-logo{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#1c664f;color:#78f7ce;font-weight:800}.workspace strong,.profile strong{display:block;font-size:13px}.workspace small,.profile small{display:block;color:var(--muted);font-size:11px}.workspace svg{margin-left:auto;width:16px;fill:none;stroke:var(--muted);stroke-width:2}.sidebar nav{display:grid;gap:4px}.nav-item{display:flex;align-items:center;gap:11px;width:100%;min-height:44px;padding:9px 10px;border:0;border-radius:10px;background:transparent;color:#9ba2b1;cursor:pointer;text-align:left;transition:background .2s,color .2s}.nav-item svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.nav-item b{margin-left:auto;min-width:21px;padding:1px 6px;border-radius:7px;background:#242936;color:#aeb5c3;font-size:10px;text-align:center}.nav-item:hover,.nav-item:focus-visible{background:#171b24;color:white}.nav-item:focus-visible,.icon-button:focus-visible,.primary-button:focus-visible,.secondary-button:focus-visible,.text-button:focus-visible,.suggestions button:focus-visible{outline:2px solid #9b8fff;outline-offset:2px}.nav-item.active{background:linear-gradient(90deg,rgba(118,103,246,.2),rgba(118,103,246,.06));color:#c9c3ff}.nav-item.active:before{content:"";position:absolute;left:0;width:3px;height:25px;border-radius:0 4px 4px 0;background:var(--primary)}.sidebar-bottom{margin-top:auto}.profile{display:flex;align-items:center;gap:9px;padding:15px 8px 2px;border-top:1px solid var(--border);margin-top:10px}.profile>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#2d3450;color:#dce2ff;font-size:11px;font-weight:800}.profile i{width:7px;height:7px;border-radius:50%;background:var(--green);margin-left:auto}.app-shell>main{grid-column:2;min-width:0}.topbar{height:72px;display:flex;align-items:center;gap:20px;padding:0 28px;border-bottom:1px solid var(--border);background:rgba(9,11,16,.82);backdrop-filter:blur(18px);position:sticky;top:0;z-index:20}.search{display:flex;align-items:center;gap:9px;max-width:590px;width:100%;padding:9px 12px;border:1px solid var(--border);border-radius:10px;background:#10131a}.search svg{width:17px;fill:none;stroke:var(--muted);stroke-width:2}.search input{width:100%;border:0;outline:0;background:transparent;color:white}.search input::placeholder{color:#737b8b}.search kbd{padding:2px 7px;border:1px solid #303645;border-radius:6px;color:#707888;font-size:10px}.top-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.demo-pill{display:flex;align-items:center;gap:7px;color:#9299a8;font-size:11px;white-space:nowrap}.demo-pill i{width:7px;height:7px;border-radius:50%;background:var(--amber);box-shadow:0 0 10px rgba(245,165,36,.6)}.icon-button{position:relative;display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:#aeb5c3;cursor:pointer}.icon-button svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.8}.icon-button b{position:absolute;right:8px;top:8px;width:6px;height:6px;border-radius:50%;background:var(--danger)}.icon-button.small{width:34px;height:34px}.primary-button,.secondary-button{min-height:40px;padding:9px 15px;border-radius:10px;cursor:pointer;font-weight:700;font-size:13px}.primary-button{border:1px solid #8e83ff;background:linear-gradient(135deg,#8174f8,#6657e8);color:white;box-shadow:0 8px 24px rgba(118,103,246,.2)}.secondary-button{display:flex;align-items:center;gap:7px;border:1px solid var(--border);background:var(--surface);color:#c5cad5}.secondary-button svg{width:15px;fill:none;stroke:currentColor;stroke-width:2}.menu-button{display:none;border:0;background:transparent;color:white}.menu-button svg{width:24px;fill:none;stroke:currentColor;stroke-width:2}.content{display:none;padding:32px 30px 60px;max-width:1500px;margin:auto}.content.active{display:block}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px}.page-heading p{margin:0 0 5px;color:#747c8c;font-size:12px;text-transform:uppercase;letter-spacing:.12em}.page-heading h1{margin:0;font-size:30px;line-height:1.2;letter-spacing:-1px}.page-heading span{color:var(--muted)}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.kpi,.panel,.quote-card{border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(145deg,rgba(23,27,36,.96),rgba(15,18,25,.96));box-shadow:0 14px 40px rgba(0,0,0,.12)}.kpi{position:relative;padding:20px;min-height:148px}.kpi>div:first-child span{display:block;color:var(--muted);font-size:12px}.kpi strong{display:block;margin-top:8px;font-size:27px;letter-spacing:-.7px}.kpi-icon{position:absolute;right:17px;top:18px;display:grid;place-items:center;width:34px;height:34px;border-radius:9px}.kpi-icon svg{width:17px;fill:none;stroke:currentColor;stroke-width:2}.kpi-icon.violet{background:rgba(118,103,246,.14);color:#9b90ff}.kpi-icon.amber{background:rgba(245,165,36,.14);color:#f6b94d}.kpi-icon.green{background:rgba(32,212,154,.14);color:#49e3b1}.kpi-icon.blue{background:rgba(74,140,247,.14);color:#73a7fb}.kpi p{position:absolute;left:20px;bottom:15px;margin:0;color:var(--muted);font-size:11px}.kpi p.up{color:var(--green)}.kpi p span{color:var(--muted)}.main-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:14px;margin-top:14px}.bottom-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:14px;margin-top:14px}.panel{padding:21px}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.panel h2,.lia-panel h2{margin:0;font-size:16px}.panel-head p{margin:3px 0 0;color:var(--muted);font-size:11px}.text-button{border:0;background:transparent;color:#aaa1ff;cursor:pointer;font-size:12px}.funnel{display:flex;align-items:flex-end;gap:7px;height:104px}.funnel div{width:var(--w);height:calc(38px + var(--w)*.52);max-height:96px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border-top:2px solid var(--c);background:linear-gradient(180deg,color-mix(in srgb,var(--c) 15%,transparent),transparent);clip-path:polygon(0 0,100% 8%,88% 100%,12% 100%);font-size:10px;color:#b9bfca}.funnel b{color:white}.conversion{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;margin-top:15px;padding-top:14px;border-top:1px solid var(--border);font-size:11px;color:var(--muted)}.conversion strong{color:white;font-size:14px}.conversion small{color:#727a89}.conversion div{grid-column:1/-1;height:4px;background:#242936;border-radius:9px;overflow:hidden}.conversion i{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,var(--primary),#aa70f9)}.lia-badge{padding:4px 8px;border:1px solid rgba(118,103,246,.35);border-radius:7px;color:#a69dff;font-size:9px;font-weight:800;letter-spacing:.12em}.decision{display:flex;gap:12px;padding:14px 0;border-top:1px solid var(--border)}.decision:first-of-type{border-top:0}.decision-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:9px;background:rgba(74,140,247,.12);color:#6fa3fa}.decision.urgent .decision-icon{background:rgba(255,107,117,.12);color:#ff8189}.decision-icon svg{width:17px;fill:none;stroke:currentColor;stroke-width:2}.decision strong{font-size:12px}.decision p{margin:3px 0 8px;color:var(--muted);font-size:11px}.decision button{border:0;background:transparent;color:#a69dff;padding:0;cursor:pointer;font-size:11px}.activity-list>div{display:flex;align-items:center;gap:11px;padding:12px 0;border-top:1px solid var(--border)}.activity-list>div:first-child{border-top:0}.activity-list .dot{width:8px;height:8px;border-radius:50%}.dot.green{background:var(--green)}.dot.blue{background:var(--blue)}.dot.violet{background:var(--primary)}.activity-list span{display:block}.activity-list strong{display:block;font-size:12px}.activity-list small{display:block;color:var(--muted);font-size:11px}.activity-list time{margin-left:auto;color:#687080;font-size:10px}.lia-panel{position:relative;overflow:hidden;display:flex;gap:19px;padding:22px;border:1px solid rgba(118,103,246,.28);border-radius:var(--radius);background:radial-gradient(circle at 95% 5%,rgba(118,103,246,.22),transparent 38%),linear-gradient(145deg,#17182a,#11131c)}.lia-orb{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(145deg,#9d8eff,#5e4ce5);box-shadow:0 0 35px rgba(118,103,246,.35)}.lia-orb span{width:20px;height:20px;border:2px solid white;border-radius:50%;box-shadow:inset 7px 0 0 rgba(255,255,255,.25)}.lia-label{font-size:9px;font-weight:800;letter-spacing:.16em;color:#a69dff}.lia-panel p{margin:4px 0 12px;color:#959cac;font-size:11px}.lia-input{display:flex;width:min(390px,100%);padding:5px;border:1px solid #343249;border-radius:10px;background:#0e1017}.lia-input input{width:100%;border:0;outline:0;padding:5px 7px;background:transparent;color:white;font-size:12px}.lia-input button{width:32px;height:32px;border:0;border-radius:7px;background:var(--primary);color:white;cursor:pointer}.lia-input svg{width:15px;fill:none;stroke:currentColor;stroke-width:2}.suggestions{display:flex;gap:6px;margin-top:9px}.suggestions button{padding:5px 8px;border:1px solid #302e45;border-radius:7px;background:rgba(0,0,0,.14);color:#969dad;cursor:pointer;font-size:9px}.kanban{display:grid;grid-template-columns:repeat(4,minmax(235px,1fr));gap:12px;overflow-x:auto;padding-bottom:16px}.kanban-column{min-height:400px;padding:12px;border:1px solid var(--border);border-radius:14px;background:#0f1218}.kanban-column>header{display:flex;align-items:center;justify-content:space-between;padding:3px 3px 13px;color:#abb2c0;font-size:12px}.kanban-column>header b{padding:2px 7px;border-radius:7px;background:#252a36;color:white}.deal-card{padding:14px;margin-bottom:9px;border:1px solid var(--border);border-radius:11px;background:var(--surface-2);cursor:pointer;transition:border-color .2s,transform .2s}.deal-card:hover{border-color:#57516f;transform:translateY(-1px)}.deal-card small{color:#858d9d}.deal-card strong{display:block;margin:5px 0;font-size:13px}.deal-card footer{display:flex;align-items:center;justify-content:space-between;margin-top:12px}.deal-card footer b{font-size:12px}.score{display:inline-flex;align-items:center;gap:4px;color:#55dfb3;font-size:10px}.score:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.quote-card{max-width:850px;padding:27px}.quote-top,.quote-top>div,.quote-footer{display:flex;align-items:center;justify-content:space-between}.quote-top>div{justify-content:flex-start;gap:10px}.quote-top small{display:block;color:var(--muted);font-size:10px}.status{padding:5px 9px;border-radius:8px;font-size:10px;font-weight:700}.status.issued{background:rgba(32,212,154,.12);color:#4ae0b0}.quote-card h2{margin:32px 0 18px;font-size:20px}.quote-line{display:grid;grid-template-columns:1fr 180px 130px;padding:15px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);font-size:12px}.quote-line strong{text-align:right}.quote-totals{display:grid;justify-content:end;gap:8px;padding:20px 0}.quote-totals span,.quote-totals>strong{display:flex;justify-content:space-between;gap:80px;color:var(--muted);font-size:12px}.quote-totals b{color:white}.quote-totals>strong{padding-top:9px;border-top:1px solid var(--border);color:white;font-size:14px}.quote-footer{padding-top:16px;border-top:1px solid var(--border);color:#7f8796;font-size:11px}.quote-footer>span{display:flex;align-items:center;gap:7px}.quote-footer svg{width:16px;fill:none;stroke:var(--green);stroke-width:2}.empty-view{padding-top:100px;text-align:center}.empty-view p{color:var(--muted)}.mobile-overlay{display:none}@media(max-width:1100px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.main-grid,.bottom-grid{grid-template-columns:1fr}.demo-pill{display:none}}@media(max-width:760px){:root{--sidebar:250px}.app-shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .22s}.sidebar.open{transform:translateX(0)}.app-shell>main{margin:0}.mobile-overlay.show{display:block;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:25}.menu-button{display:grid;place-items:center}.topbar{height:64px;padding:0 15px}.search kbd,.top-actions .icon-button{display:none}.primary-button{padding:8px 11px}.content{padding:24px 16px 50px}.page-heading{align-items:flex-start;gap:14px}.page-heading h1{font-size:25px}.page-heading .secondary-button{display:none}.kpi-grid{grid-template-columns:1fr 1fr}.kpi{padding:16px;min-height:135px}.kpi strong{font-size:22px}.kpi p{left:16px}.kanban{grid-template-columns:repeat(4,260px)}.quote-line{grid-template-columns:1fr;text-align:left;gap:5px}.quote-line strong{text-align:left}.quote-totals span,.quote-totals>strong{gap:30px}.quote-footer{align-items:flex-start;gap:15px}.lia-panel{display:block}.lia-orb{margin-bottom:16px}}@media(max-width:430px){.kpi-grid{grid-template-columns:1fr}.page-heading>button{display:none}.top-actions{gap:5px}.search{padding:8px}.funnel{overflow-x:auto}.funnel div{min-width:72px}.activity-list time{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Cagnotte de frais personnels */
.finance-tabs{display:flex;gap:6px;width:max-content;max-width:100%;margin:-8px 0 22px;padding:5px;border:1px solid var(--border);border-radius:12px;background:#0e1117;overflow-x:auto}.finance-tabs button{display:flex;align-items:center;gap:9px;min-height:40px;padding:8px 14px;border:0;border-radius:8px;background:transparent;color:#8f97a6;cursor:pointer;font-weight:700;white-space:nowrap}.finance-tabs button b{padding:2px 7px;border-radius:7px;background:#252a36;color:#cbd1dc;font-size:10px}.finance-tabs button.active{background:#202431;color:#fff;box-shadow:0 5px 16px rgba(0,0,0,.18)}.finance-tabs button.active b{background:rgba(118,103,246,.22);color:#c8c1ff}.finance-tabs button:focus-visible,.expense-row-action:focus-visible,.reimbursement-list button:focus-visible{outline:2px solid #9b8fff;outline-offset:2px}.finance-tab-panel{display:none}.finance-tab-panel.active{display:block}.expense-wallet-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:27px 28px;border:1px solid rgba(118,103,246,.35);border-radius:18px;background:radial-gradient(circle at 82% 0,rgba(118,103,246,.24),transparent 35%),linear-gradient(145deg,#191a29,#11141b);box-shadow:0 18px 50px rgba(0,0,0,.18)}.expense-wallet-hero:after{content:"";position:absolute;right:-55px;top:-95px;width:230px;height:230px;border:1px solid rgba(166,157,255,.15);border-radius:50%;pointer-events:none}.expense-wallet-hero>div:first-child>strong{display:block;margin:7px 0 3px;font-size:40px;line-height:1.05;letter-spacing:-1.5px}.expense-wallet-hero p{margin:0;color:#9aa2b1;font-size:12px}.expense-wallet-actions{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.expense-wallet-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}.expense-wallet-stats article{padding:17px 18px;border:1px solid var(--border);border-radius:14px;background:linear-gradient(145deg,rgba(23,27,36,.96),rgba(15,18,25,.96))}.expense-wallet-stats span,.expense-wallet-stats small{display:block;color:var(--muted);font-size:10px}.expense-wallet-stats strong{display:block;margin:5px 0 2px;font-size:19px;letter-spacing:-.3px}.expense-wallet-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.65fr);gap:14px}.expense-wallet-grid>.data-panel,.expense-reimbursement-panel{min-width:0;border:1px solid var(--border);border-radius:16px;background:#11141b}.expense-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 20px;border-bottom:1px solid var(--border)}.expense-section-head h2{margin:3px 0 0;font-size:16px}.expense-section-head select{min-height:38px;padding:7px 30px 7px 10px;border:1px solid var(--border);border-radius:9px;background:#171b24;color:#d8dde7}.expense-table td:nth-child(2) strong,.expense-table td:nth-child(2) small{display:block}.expense-table td:nth-child(2) small{margin-top:3px;color:var(--muted);font-size:10px}.expense-status{display:inline-flex;padding:4px 8px;border-radius:8px;font-size:9px;font-weight:800;white-space:nowrap}.expense-status.pending{background:rgba(245,165,36,.12);color:#f5b843}.expense-status.partial{background:rgba(74,140,247,.12);color:#73a7fb}.expense-status.reimbursed{background:rgba(32,212,154,.12);color:#49e3b1}.expense-proof-link{color:#aaa1ff;font-size:10px;text-decoration:none}.expense-proof-link:hover{text-decoration:underline}.expense-proof-name{color:#aab1bf;font-size:10px}.expense-proof-missing{color:#f5b843;font-size:10px}.expense-row-action,.reimbursement-list button{display:grid;place-items:center;width:30px;height:30px;border:1px solid transparent;border-radius:8px;background:transparent;color:#6f7787;cursor:pointer;font-size:17px}.expense-row-action:hover,.reimbursement-list button:hover{border-color:rgba(255,107,117,.3);background:rgba(255,107,117,.08);color:#ff8189}.reimbursement-list{padding:5px 18px 18px}.reimbursement-list article{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;padding:14px 0;border-bottom:1px solid var(--border)}.reimbursement-list article>div span,.reimbursement-list article>div small{display:block;color:var(--muted);font-size:9px}.reimbursement-list article>div strong{display:block;margin:2px 0;font-size:11px}.reimbursement-list article>b{color:#73a7fb;font-size:12px;white-space:nowrap}.expense-empty{padding:38px 10px;text-align:center}.expense-empty strong{font-size:12px}.expense-empty p{margin:5px auto 0;max-width:220px;color:var(--muted);font-size:10px}.expense-wallet-dialog{width:min(680px,calc(100vw - 24px))}.expense-wallet-dialog textarea{min-height:76px}.expense-live-total,.reimbursement-available{display:flex;align-items:center;justify-content:space-between;margin:18px 0 0;padding:14px 16px;border:1px solid rgba(118,103,246,.27);border-radius:11px;background:rgba(118,103,246,.08)}.expense-live-total span,.reimbursement-available span{color:#aaa1ff;font-size:11px;font-weight:700}.expense-live-total strong,.reimbursement-available strong{font-size:18px}.reimbursement-available{margin:0 0 17px}.personal-expense-km[hidden],.personal-expense-amount[hidden],.personal-expense-proof[hidden]{display:none!important}
@media(max-width:1050px){.expense-wallet-grid{grid-template-columns:1fr}.expense-wallet-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.expense-wallet-hero{align-items:flex-start;flex-direction:column;padding:21px}.expense-wallet-hero>div:first-child>strong{font-size:34px}.expense-wallet-actions{width:100%;justify-content:flex-start}.expense-wallet-actions .primary-button,.expense-wallet-actions .secondary-button{display:flex;flex:1 1 145px;justify-content:center}.expense-section-head{align-items:flex-start;flex-direction:column}.expense-section-head select{width:100%}.expense-wallet-grid{gap:12px}}
@media(max-width:430px){.expense-wallet-stats{grid-template-columns:1fr 1fr}.expense-wallet-stats article{padding:14px}.expense-wallet-actions .secondary-button:first-child{display:none}.finance-tabs{width:100%}.finance-tabs button{flex:1;justify-content:center}}
.expense-business-balances{display:flex;gap:9px;margin:-3px 0 14px;overflow-x:auto;padding-bottom:2px}.expense-business-balances>p{margin:0;color:var(--muted);font-size:11px}.expense-business-balances article{min-width:145px;padding:11px 13px;border:1px solid var(--border);border-radius:11px;background:#10131a}.expense-business-balances article.due{border-color:rgba(245,165,36,.28);background:rgba(245,165,36,.055)}.expense-business-balances article.settled{border-color:rgba(32,212,154,.2)}.expense-business-balances span,.expense-business-balances small{display:block;color:var(--muted);font-size:9px}.expense-business-balances strong{display:block;margin:2px 0;font-size:14px}.expense-filters{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.expense-filters input,.expense-filters select{min-height:38px;padding:7px 10px;border:1px solid var(--border);border-radius:9px;background:#171b24;color:#d8dde7;font-size:11px}.expense-filters input{width:180px}.expense-filters input::placeholder{color:#737b8b}.expense-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:3px}.expense-row-action.edit{width:auto;padding:0 7px;color:#aaa1ff;font-size:9px;font-weight:700}.expense-row-action.edit:hover{border-color:rgba(118,103,246,.3);background:rgba(118,103,246,.1);color:#c7c0ff}
@media(max-width:760px){.expense-filters{width:100%;display:grid;grid-template-columns:1fr 1fr}.expense-filters input{grid-column:1/-1;width:100%}.expense-filters select{width:100%}}

/* Contrôle des justificatifs de carte professionnelle */
.receipt-control-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:24px 26px;border:1px solid rgba(118,103,246,.32);border-radius:17px;background:linear-gradient(140deg,#171927,#11141b);box-shadow:0 14px 38px rgba(0,0,0,.14)}.receipt-control-hero span,.receipt-inbox header span{color:#aaa1ff;font-size:10px;font-weight:850;letter-spacing:.1em}.receipt-control-hero h2{margin:7px 0 5px;font-size:23px}.receipt-control-hero p{max-width:620px;margin:0;color:#9da5b4;font-size:12px;line-height:1.5}.receipt-control-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.receipt-control-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}.receipt-control-stats article{padding:17px 18px;border:1px solid var(--border);border-radius:14px;background:#11141b}.receipt-control-stats span,.receipt-control-stats small{display:block;color:var(--muted);font-size:10px}.receipt-control-stats strong{display:block;margin:5px 0 2px;font-size:20px}.receipt-control-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.6fr);gap:14px}.receipt-control-grid>.data-panel,.receipt-inbox{min-width:0;border:1px solid var(--border);border-radius:16px;background:#11141b}.receipt-inbox{overflow:hidden}.receipt-inbox>header{display:flex;align-items:center;justify-content:space-between;padding:19px 20px;border-bottom:1px solid var(--border)}.receipt-inbox h2{margin:4px 0 0;font-size:16px}.receipt-inbox header b{display:grid;place-items:center;min-width:28px;height:28px;padding:0 7px;border-radius:9px;background:rgba(118,103,246,.17);color:#bdb6ff}.receipt-candidate{padding:15px 18px;border-bottom:1px solid var(--border)}.receipt-candidate>span,.receipt-candidate small{display:block;color:var(--muted);font-size:10px}.receipt-candidate strong{display:block;margin:4px 0;font-size:12px}.receipt-candidate footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.receipt-candidate footer b{color:#dadde5;font-size:11px}.receipt-candidate button{min-height:34px;padding:0 10px;border:1px solid rgba(118,103,246,.3);border-radius:8px;background:rgba(118,103,246,.1);color:#bbb3ff;cursor:pointer;font-size:10px;font-weight:750}.receipt-match{display:inline-flex;padding:5px 8px;border-radius:8px;font-size:9px;font-weight:800}.receipt-match.missing{background:rgba(245,165,36,.12);color:#f5b843}.receipt-match.review{background:rgba(74,140,247,.12);color:#73a7fb}.receipt-match.matched{background:rgba(32,212,154,.12);color:#49e3b1}.receipt-row-actions{display:flex;gap:5px}.receipt-row-actions button{min-height:32px;padding:0 8px;border:1px solid var(--border);border-radius:8px;background:#171b24;color:#b2b9c6;cursor:pointer;font-size:10px}.receipt-scan-loading{padding:34px 18px;text-align:center;color:#aaa1ff;font-size:11px}.card-receipt-table td:nth-child(2) small{display:block;margin-top:3px;color:var(--muted);font-size:9px}
@media(max-width:1050px){.receipt-control-grid{grid-template-columns:1fr}.receipt-control-stats{grid-template-columns:1fr 1fr}}@media(max-width:760px){.receipt-control-hero{align-items:flex-start;flex-direction:column;padding:20px}.receipt-control-actions{width:100%;justify-content:flex-start}.receipt-control-actions button{flex:1 1 145px}.receipt-control-stats{grid-template-columns:1fr 1fr}}

/* Contrôle des justificatifs de carte professionnelle */
.receipt-control-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:24px 26px;border:1px solid rgba(118,103,246,.32);border-radius:17px;background:linear-gradient(140deg,#171927,#11141b);box-shadow:0 14px 38px rgba(0,0,0,.14)}.receipt-control-hero span,.receipt-inbox header span{color:#aaa1ff;font-size:10px;font-weight:850;letter-spacing:.1em}.receipt-control-hero h2{margin:7px 0 5px;font-size:23px}.receipt-control-hero p{max-width:620px;margin:0;color:#9da5b4;font-size:12px;line-height:1.5}.receipt-control-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.receipt-control-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}.receipt-control-stats article{padding:17px 18px;border:1px solid var(--border);border-radius:14px;background:#11141b}.receipt-control-stats span,.receipt-control-stats small{display:block;color:var(--muted);font-size:10px}.receipt-control-stats strong{display:block;margin:5px 0 2px;font-size:20px}.receipt-control-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.6fr);gap:14px}.receipt-control-grid>.data-panel,.receipt-inbox{min-width:0;border:1px solid var(--border);border-radius:16px;background:#11141b}.receipt-inbox{overflow:hidden}.receipt-inbox>header{display:flex;align-items:center;justify-content:space-between;padding:19px 20px;border-bottom:1px solid var(--border)}.receipt-inbox h2{margin:4px 0 0;font-size:16px}.receipt-inbox header b{display:grid;place-items:center;min-width:28px;height:28px;padding:0 7px;border-radius:9px;background:rgba(118,103,246,.17);color:#bdb6ff}.receipt-candidate{padding:15px 18px;border-bottom:1px solid var(--border)}.receipt-candidate>span,.receipt-candidate small{display:block;color:var(--muted);font-size:10px}.receipt-candidate strong{display:block;margin:4px 0;font-size:12px}.receipt-candidate footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.receipt-candidate footer b{color:#dadde5;font-size:11px}.receipt-candidate button{min-height:34px;padding:0 10px;border:1px solid rgba(118,103,246,.3);border-radius:8px;background:rgba(118,103,246,.1);color:#bbb3ff;cursor:pointer;font-size:10px;font-weight:750}.receipt-match{display:inline-flex;padding:5px 8px;border-radius:8px;font-size:9px;font-weight:800}.receipt-match.missing{background:rgba(245,165,36,.12);color:#f5b843}.receipt-match.review{background:rgba(74,140,247,.12);color:#73a7fb}.receipt-match.matched{background:rgba(32,212,154,.12);color:#49e3b1}.receipt-row-actions{display:flex;gap:5px}.receipt-row-actions button{min-height:32px;padding:0 8px;border:1px solid var(--border);border-radius:8px;background:#171b24;color:#b2b9c6;cursor:pointer;font-size:10px}.receipt-scan-loading{padding:34px 18px;text-align:center;color:#aaa1ff;font-size:11px}.card-receipt-table td:nth-child(2) small{display:block;margin-top:3px;color:var(--muted);font-size:9px}
@media(max-width:1050px){.receipt-control-grid{grid-template-columns:1fr}.receipt-control-stats{grid-template-columns:1fr 1fr}}@media(max-width:760px){.receipt-control-hero{align-items:flex-start;flex-direction:column;padding:20px}.receipt-control-actions{width:100%;justify-content:flex-start}.receipt-control-actions button{flex:1 1 145px}.receipt-control-stats{grid-template-columns:1fr 1fr}}

/* Refonte moderne et intuitive — Carte pro & justificatifs */
.receipt-control-hero{position:relative;align-items:center;min-height:230px;padding:30px 32px;border-color:#302a55;background:radial-gradient(circle at 87% 10%,rgba(126,107,255,.28),transparent 32%),linear-gradient(135deg,#171725 0%,#101219 62%,#17152b 100%)}.receipt-hero-copy{position:relative;z-index:1;max-width:720px}.receipt-control-hero h2{margin:9px 0 7px;font-size:30px;letter-spacing:-.035em}.receipt-control-hero p{font-size:13px}.receipt-control-actions{justify-content:flex-start;margin-top:22px}.receipt-control-actions button{min-height:42px}.receipt-more-button{padding:0 8px;border:0;background:transparent;color:#8f97a6;cursor:pointer;font-size:10px;font-weight:700}.receipt-health{position:relative;z-index:1;display:flex;align-items:center;gap:18px;min-width:300px;padding:18px 20px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(255,255,255,.055);backdrop-filter:blur(10px)}.receipt-health-ring{--receipt-progress:0deg;display:grid;place-content:center;width:86px;height:86px;border-radius:50%;background:radial-gradient(circle 34px,#171725 96%,transparent 100%),conic-gradient(#8e7cff var(--receipt-progress),rgba(255,255,255,.1) 0);text-align:center}.receipt-health-ring strong,.receipt-health-ring small,.receipt-health>div:last-child span,.receipt-health>div:last-child strong,.receipt-health>div:last-child small{display:block}.receipt-health-ring strong{font-size:20px}.receipt-health-ring small{margin-top:1px;color:#9da5b4;font-size:9px}.receipt-health>div:last-child span{color:#aaa1ff;font-size:9px;font-weight:850;letter-spacing:.1em}.receipt-health>div:last-child strong{margin:6px 0 4px;font-size:14px}.receipt-health>div:last-child small{max-width:150px;color:#9da5b4;font-size:10px;line-height:1.4}.receipt-control-stats{gap:10px;margin:12px 0 16px}.receipt-control-stats article{position:relative;overflow:hidden;padding:18px 19px;background:linear-gradient(145deg,#161a23,#10131a)}.receipt-control-stats article:before{content:"";position:absolute;left:0;top:0;width:3px;height:100%;background:#554b83}.receipt-control-stats article.attention:before{background:#f5a524}.receipt-control-stats article.attention{border-color:rgba(245,165,36,.26)}.receipt-control-stats strong{font-size:22px}.receipt-control-grid{grid-template-columns:minmax(0,1.75fr) minmax(310px,.6fr);gap:16px}.receipt-payments-panel,.receipt-inbox{border-color:#262b36!important;box-shadow:0 16px 38px rgba(0,0,0,.12)}.receipt-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:20px 21px;border-bottom:1px solid var(--border)}.receipt-list-head h2{margin:4px 0 3px;font-size:18px}.receipt-list-head p,.receipt-inbox header p{margin:0;color:var(--muted);font-size:10px}.receipt-filter-pills{display:flex;gap:4px;padding:4px;border:1px solid var(--border);border-radius:11px;background:#0d1016}.receipt-filter-pills button{min-height:34px;padding:0 11px;border:0;border-radius:8px;background:transparent;color:#7f8796;cursor:pointer;font-size:10px;font-weight:750}.receipt-filter-pills button:hover{color:#fff}.receipt-filter-pills button.active{background:#28253d;color:#c8c1ff;box-shadow:0 3px 10px rgba(0,0,0,.2)}.card-receipt-table{border-collapse:separate;border-spacing:0}.card-receipt-table tbody tr{transition:background .16s ease}.card-receipt-table tbody tr:hover{background:#151923}.card-receipt-table tbody tr.receipt-row-missing{box-shadow:inset 3px 0 #f5a524}.card-receipt-table td{padding-top:15px;padding-bottom:15px}.card-receipt-table time{color:#a7afbd;font-size:10px;text-transform:capitalize}.card-receipt-table td:nth-child(2)>strong{font-size:12px}.card-receipt-table td:nth-child(2) small{margin-top:5px}.receipt-amount{font-size:12px;white-space:nowrap}.receipt-proof{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.receipt-proof.found{color:#7fe0be}.receipt-proof.empty{color:#8e96a4}.receipt-match{padding:6px 9px;border-radius:99px}.receipt-row-actions{justify-content:flex-end}.receipt-row-actions .primary-row-action{border-color:rgba(118,103,246,.28);background:rgba(118,103,246,.1);color:#b9b1ff;font-weight:750;white-space:nowrap}.receipt-row-actions .primary-row-action:hover{background:rgba(118,103,246,.2);color:#fff}.receipt-row-actions .delete-row-action{width:30px;padding:0;color:#6f7787}.receipt-inbox>header{align-items:flex-start;padding:20px 19px}.receipt-inbox header b{margin-top:3px}.receipt-candidate{padding:17px 19px;transition:background .16s ease}.receipt-candidate:hover{background:#151923}.receipt-candidate strong{font-size:11px;line-height:1.4}.receipt-candidate button:hover{background:rgba(118,103,246,.2);color:#fff}
@media(max-width:1050px){.receipt-control-hero{align-items:flex-start;flex-direction:column}.receipt-health{width:100%}.receipt-control-grid{grid-template-columns:1fr}.receipt-list-head{align-items:flex-start;flex-direction:column}.receipt-filter-pills{width:100%;overflow-x:auto}.receipt-filter-pills button{flex:1}}
@media(max-width:640px){.receipt-control-hero{min-height:0;padding:23px 20px}.receipt-control-hero h2{font-size:25px}.receipt-health{min-width:0}.receipt-control-actions button{flex:1 1 180px}.receipt-control-stats{grid-template-columns:1fr 1fr}.card-receipt-table th:nth-child(4),.card-receipt-table td:nth-child(4){display:none}}

/* Carte pro & reçus — retour à la DA claire Taskor */
[data-finance-panel="card-receipts"]{color:#172033}
[data-finance-panel="card-receipts"] .receipt-control-hero{min-height:220px;border:1px solid #e2defb;background:radial-gradient(circle at 88% 5%,rgba(109,74,255,.11),transparent 35%),linear-gradient(135deg,#fff 0%,#f8f7ff 100%);box-shadow:0 10px 35px rgba(39,30,90,.07)}
[data-finance-panel="card-receipts"] .receipt-control-hero span{color:#6d4aff;font-size:11px}
[data-finance-panel="card-receipts"] .receipt-control-hero h2{color:#151b2b;font-size:32px}
[data-finance-panel="card-receipts"] .receipt-control-hero p{color:#667085;font-size:14px;line-height:1.55}
[data-finance-panel="card-receipts"] .receipt-control-actions .primary-button{background:#6d4aff;color:#fff;box-shadow:0 7px 18px rgba(109,74,255,.2)}
[data-finance-panel="card-receipts"] .receipt-control-actions .secondary-button{border-color:#ddd8f7;background:#fff;color:#4d3db1}
[data-finance-panel="card-receipts"] .receipt-control-actions button{min-height:46px;padding:0 16px;border-radius:10px;font-size:12px}
[data-finance-panel="card-receipts"] .receipt-more-button{color:#667085}
[data-finance-panel="card-receipts"] .receipt-health{border-color:#e1ddf7;background:#fff;box-shadow:0 8px 24px rgba(42,34,88,.08);backdrop-filter:none}
[data-finance-panel="card-receipts"] .receipt-health-ring{background:radial-gradient(circle 34px,#fff 96%,transparent 100%),conic-gradient(#6d4aff var(--receipt-progress),#ece9fa 0)}
[data-finance-panel="card-receipts"] .receipt-health-ring strong{color:#172033;font-size:22px}
[data-finance-panel="card-receipts"] .receipt-health-ring small,[data-finance-panel="card-receipts"] .receipt-health>div:last-child small{color:#667085;font-size:11px}
[data-finance-panel="card-receipts"] .receipt-health>div:last-child span{color:#6d4aff;font-size:10px}
[data-finance-panel="card-receipts"] .receipt-health>div:last-child strong{color:#172033;font-size:16px}
[data-finance-panel="card-receipts"] .receipt-control-stats article{border-color:#e4e7ec;background:#fff;box-shadow:0 3px 12px rgba(16,24,40,.04)}
[data-finance-panel="card-receipts"] .receipt-control-stats article:before{background:#8b78ef}
[data-finance-panel="card-receipts"] .receipt-control-stats article.attention{border-color:#f3d59d;background:#fffdf8}
[data-finance-panel="card-receipts"] .receipt-control-stats span,[data-finance-panel="card-receipts"] .receipt-control-stats small{color:#667085;font-size:11px}
[data-finance-panel="card-receipts"] .receipt-control-stats strong{color:#172033;font-size:24px}
[data-finance-panel="card-receipts"] .receipt-payments-panel,[data-finance-panel="card-receipts"] .receipt-inbox{border-color:#e4e7ec!important;background:#fff;box-shadow:0 8px 28px rgba(16,24,40,.06)}
[data-finance-panel="card-receipts"] .receipt-list-head,[data-finance-panel="card-receipts"] .receipt-inbox>header{border-color:#eaecf0;background:#fff}
[data-finance-panel="card-receipts"] .receipt-list-head h2,[data-finance-panel="card-receipts"] .receipt-inbox h2{color:#172033;font-size:19px}
[data-finance-panel="card-receipts"] .receipt-list-head p,[data-finance-panel="card-receipts"] .receipt-inbox header p{color:#667085;font-size:12px}
[data-finance-panel="card-receipts"] .expense-wallet-eyebrow,[data-finance-panel="card-receipts"] .receipt-inbox header span{color:#6d4aff;font-size:10px}
[data-finance-panel="card-receipts"] .receipt-filter-pills{border-color:#e4e7ec;background:#f7f7fa}
[data-finance-panel="card-receipts"] .receipt-filter-pills button{min-height:38px;color:#667085;font-size:11px}
[data-finance-panel="card-receipts"] .receipt-filter-pills button:hover{color:#5138c9}
[data-finance-panel="card-receipts"] .receipt-filter-pills button.active{background:#fff;color:#5138c9;box-shadow:0 2px 7px rgba(16,24,40,.1)}
[data-finance-panel="card-receipts"] .card-receipt-table thead{background:#f8f9fb}
[data-finance-panel="card-receipts"] .card-receipt-table th{padding:13px 14px;color:#667085;font-size:11px}
[data-finance-panel="card-receipts"] .card-receipt-table td{padding:17px 14px;border-color:#eef0f3;color:#344054;font-size:13px}
[data-finance-panel="card-receipts"] .card-receipt-table tbody tr:hover{background:#faf9ff}
[data-finance-panel="card-receipts"] .card-receipt-table td:nth-child(2)>strong{color:#172033;font-size:14px}
[data-finance-panel="card-receipts"] .card-receipt-table td:nth-child(2) small{color:#667085;font-size:11px}
[data-finance-panel="card-receipts"] .card-receipt-table time{color:#475467;font-size:12px}
[data-finance-panel="card-receipts"] .receipt-amount{color:#172033;font-size:14px}
[data-finance-panel="card-receipts"] .receipt-proof{max-width:220px;font-size:11px}
[data-finance-panel="card-receipts"] .receipt-proof.found{color:#07875f}.receipt-proof.empty{color:#98a2b3}
[data-finance-panel="card-receipts"] .receipt-match{padding:7px 10px;font-size:10px}
[data-finance-panel="card-receipts"] .receipt-row-actions .primary-row-action{min-height:38px;border-color:#dcd5ff;background:#f4f1ff;color:#5b45d6;font-size:11px}
[data-finance-panel="card-receipts"] .receipt-row-actions .primary-row-action:hover{background:#e9e4ff;color:#4a35c0}
[data-finance-panel="card-receipts"] .receipt-row-actions .delete-row-action{border-color:#e4e7ec;background:#fff;color:#98a2b3}
[data-finance-panel="card-receipts"] .receipt-inbox header b{background:#eeeaff;color:#5b45d6;font-size:12px}
[data-finance-panel="card-receipts"] .receipt-candidate{border-color:#eef0f3;background:#fff}
[data-finance-panel="card-receipts"] .receipt-candidate:hover{background:#faf9ff}
[data-finance-panel="card-receipts"] .receipt-candidate>span,[data-finance-panel="card-receipts"] .receipt-candidate small{color:#667085;font-size:11px}
[data-finance-panel="card-receipts"] .receipt-candidate strong{color:#172033;font-size:13px}
[data-finance-panel="card-receipts"] .receipt-candidate footer b{color:#344054;font-size:12px}
[data-finance-panel="card-receipts"] .receipt-candidate button{min-height:38px;border-color:#dcd5ff;background:#f4f1ff;color:#5b45d6;font-size:11px}
[data-finance-panel="card-receipts"] .expense-empty strong{color:#344054;font-size:13px}
[data-finance-panel="card-receipts"] .expense-empty p{color:#667085;font-size:11px}
@media(max-width:640px){[data-finance-panel="card-receipts"] .receipt-control-hero h2{font-size:27px}[data-finance-panel="card-receipts"] .receipt-control-stats strong{font-size:21px}[data-finance-panel="card-receipts"] .card-receipt-table td{font-size:12px}}
