:root{--navy:#09245e;--green:#258a13;--lime:#97d900;--bg:#f4f7fb;--ink:#18243a;--muted:#66758c;--line:#e1e7ef;--iti-path-flags-1x:url('/assets/img/flags.webp');--iti-path-flags-2x:url('/assets/img/flags.webp');--iti-path-globe-1x:url('/assets/img/globe.webp');--iti-path-globe-2x:url('/assets/img/globe.webp')}
/* Schedule views, accessible matrix, calendar and bulk local archiving. */
.schedule-modes{display:flex;gap:6px;padding:6px;margin:0 0 20px;border:1px solid var(--line);background:#eaf0f8;border-radius:16px;width:fit-content;max-width:100%;flex-wrap:wrap}
.schedule-modes button{border:0;background:transparent;border-radius:11px;padding:10px 17px;color:#526580;font-weight:650;font-size:.9rem}
.schedule-modes button.active{background:var(--navy);color:white;box-shadow:0 3px 8px #09245e20}
.schedule-filters{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:flex-end}
.schedule-filters>label{flex:1;min-width:145px;font-size:.8rem;font-weight:600;color:var(--muted)}
.schedule-filters label .form-control,.schedule-filters label .form-select{margin-top:5px;font-weight:400;color:var(--ink)}
.schedule-filters .actions{padding-bottom:1px}
.group-matrix{border-collapse:separate!important;border-spacing:0;min-width:100%;width:max-content!important}
.group-matrix thead th{position:sticky;top:0;background:#f5f8fc!important;z-index:2;min-width:190px;text-align:center;border-bottom:1px solid var(--line)}
.group-matrix th.group-name,.group-matrix thead th:first-child{position:sticky;left:0;background:#fff!important;min-width:210px;width:210px;max-width:210px;white-space:normal!important;z-index:3;box-shadow:4px 0 8px #09245e0c;text-align:left}
.group-matrix thead th:first-child{z-index:4;background:#f5f8fc!important}
.group-matrix .group-name{padding:20px!important;border-bottom:1px solid var(--line);vertical-align:middle;font-size:.9rem}
.group-matrix .group-cell{padding:10px!important;min-width:190px;vertical-align:top}
.group-cell-button{width:100%;min-height:130px;border:1px solid #dce5f1;border-radius:12px;padding:12px;text-align:left;display:flex;flex-direction:column;gap:6px;font-size:.8rem;transition:box-shadow .15s,transform .15s}
.group-cell-button:hover{box-shadow:0 3px 10px #09245e20;transform:translateY(-1px)}
.group-cell-button strong{font-size:.9rem}.cell-status{font-weight:650}.group-not-due{text-align:center!important;vertical-align:middle!important;color:var(--muted)}
.group-unmatched .group-cell-button{opacity:.5}
.group-matrix .state-paid,.calendar-legend .state-paid,.calendar-event.state-paid{background:#edf8ef;color:#216537;border-color:#c9e6d0}
.group-matrix .state-overdue,.calendar-legend .state-overdue,.calendar-event.state-overdue{background:#fff0f0;color:#a7323e;border-color:#f4cbd1}
.group-matrix .state-partial,.calendar-legend .state-partial,.calendar-event.state-partial{background:#fff7e5;color:#895c0f;border-color:#efdfae}
.group-matrix .state-pending,.calendar-legend .state-pending,.calendar-event.state-pending{background:#edf4ff;color:#244f89;border-color:#cdddf5}
.group-matrix .state-validation,.calendar-event.state-validation{background:#f3efff;color:#67439e;border-color:#dfd2f3}
.group-matrix .state-unset,.calendar-legend .state-unset,.calendar-event.state-unset{background:#f2f4f7;color:#607086;border-color:#dce2ea}
.schedule-calendar{overflow:hidden}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:5px 0 20px}
.calendar-toolbar h3{font-size:1.35rem;font-weight:700;margin:0;text-transform:capitalize}.calendar-toolbar .actions{gap:6px}
.calendar-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid var(--line);border-radius:14px}
.calendar-surface{min-width:650px}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.calendar-weekdays{background:#f4f7fc;border-bottom:1px solid var(--line);text-align:center;font-size:.76rem;font-weight:650;color:#62728b}
.calendar-weekdays span{padding:12px}.calendar-day{min-height:132px;min-width:0;border-right:1px solid #e9edf4;border-bottom:1px solid #e9edf4;padding:8px;background:#fff}
.calendar-day:nth-child(7n){border-right:0}.calendar-day.outside{background:#f8faff}.calendar-day.outside .calendar-date{color:#8c9bb2}
.calendar-day.today{background:#f4f8ff}.calendar-date{display:block;margin:0 0 5px auto;background:transparent;border:0;border-radius:50%;min-width:30px;min-height:30px;padding:3px 7px;color:#4d607d;font-size:.8rem}
.today .calendar-date{background:var(--navy);color:white}.calendar-event{display:flex;flex-direction:column;gap:3px;text-align:left;width:100%;border:1px solid transparent;border-left-width:3px;border-radius:7px;padding:7px;margin:5px 0;min-height:44px;font-size:.75rem;overflow-wrap:anywhere;line-height:1.3}
.calendar-event span{font-weight:650}.calendar-event small{font-size:.65rem}.calendar-event:hover{filter:brightness(.97)}.calendar-more{padding:4px!important;font-size:.75rem!important;min-height:30px}
.calendar-legend{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.calendar-legend span{padding:5px 10px;border:1px solid;border-radius:20px;font-size:.7rem}
.calendar-week .calendar-day{min-height:250px}.calendar-day .calendar-grid{grid-template-columns:1fr}.calendar-surface.calendar-day{min-width:0;border:0;padding:0}.calendar-surface.calendar-day>.calendar-grid{grid-template-columns:1fr}.calendar-surface.calendar-day .calendar-day{min-height:230px}.calendar-surface.calendar-day .calendar-event{max-width:450px}
.schedule-due-summary{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.schedule-due-summary .pill{white-space:normal}.bulk-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:#f1f5fb;border:1px solid var(--line);border-radius:13px;padding:12px;margin-bottom:16px;font-size:.82rem}
.bulk-toolbar label{display:flex;align-items:center;cursor:pointer}.bulk-toolbar .form-check-input{flex-shrink:0;margin-top:0}.notification-card>[data-row-select]{float:left;margin:5px 12px 5px 0}.support-message-list{display:flex!important;flex-direction:column;gap:12px}.support-message-list .support-message{flex-shrink:0}
@media(max-width:760px){.schedule-modes{width:100%;gap:3px}.schedule-modes button{flex:1;padding:9px 6px;font-size:.73rem}.schedule-filters>label{flex-basis:calc(50% - 12px);min-width:125px}.schedule-filters .actions{width:100%;flex-wrap:wrap}.calendar-toolbar{gap:14px}.calendar-toolbar h3{order:-1;flex-basis:100%;font-size:1.15rem}.calendar-toolbar .btn{padding:7px 10px}.calendar-toolbar .view-switch button{padding:8px 10px}.group-matrix th.group-name,.group-matrix thead th:first-child{min-width:145px;width:145px;max-width:145px}.group-matrix .group-name{padding:12px!important;font-size:.8rem}.group-matrix .group-cell{min-width:175px}.bulk-toolbar{gap:9px}.bulk-toolbar>label{flex-basis:100%}.calendar-legend{gap:5px}.calendar-legend span{font-size:.65rem;padding:4px 8px}}
*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,sans-serif;margin:0}a{color:var(--navy)}button,input,select,textarea{font:inherit}button{min-height:44px}.btn-primary{background:var(--navy);border-color:var(--navy)}.btn-primary:hover{background:#123d86;border-color:#123d86}.btn-success{background:var(--green);border-color:var(--green)}.btn{border-radius:12px;font-weight:600;padding:.6rem 1rem}.form-control,.form-select{border-radius:10px;min-height:45px;border-color:#cad3e0}.form-label{font-size:.88rem;font-weight:600;margin-bottom:6px}.iti{width:100%}.iti__country-list{z-index:5000}.iti__dropdown-content{z-index:6000}.modal-content{border:0;border-radius:20px}.modal-header{border:0}.modal-footer{border-top:1px solid var(--line)}.card{border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 28px #142b5010}.muted{color:var(--muted)}.brand{display:flex;align-items:center;gap:8px;color:var(--navy);font-size:1.45rem;font-weight:800;text-decoration:none}.brand img{width:54px;height:54px;object-fit:contain}.brand em{color:var(--green);font-style:normal}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:30px;font-size:.8rem;padding:6px 10px;font-weight:650;background:#edf2fa;color:var(--navy)}.pill-approved{background:#e9f7e5;color:#257014}.pill-pending{background:#fff5d9;color:#936400}.pill-rejected,.pill-cancelled{background:#ffebe8;color:#b42318}.pill-draft{background:#edf1f5;color:#69778a}.rejected .op-title,.rejected .amount,.cancelled .op-title,.cancelled .amount{text-decoration:line-through}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:white;border-right:1px solid var(--line);padding:20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:10px}.sidebar nav{display:flex;flex-direction:column;gap:8px;margin-top:24px}.nav-item{border:0;background:transparent;color:var(--muted);padding:12px;text-align:left;border-radius:12px;display:flex;align-items:center;gap:12px;font-weight:600}.nav-item.active{color:var(--navy);background:#ecf2ff}.nav-item:hover{background:#f1f5fa}.sidebar-bottom{margin-top:auto}.main{min-width:0}.topbar{height:84px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:12px 30px;gap:12px}.topbar h1{font-size:1.3rem;margin:0;font-weight:750}.content{padding:28px 30px 90px;max-width:1600px;margin:auto}.toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.toolbar h2{font-size:1.6rem;font-weight:750;margin:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:18px;padding:20px}.stat small{color:var(--muted)}.stat strong{display:block;font-size:1.5rem;color:var(--navy);margin-top:10px}.stat .mini-icon{font-size:1.4rem}.stat small.currency{font-size:.75rem}.view-switch{display:inline-flex;border:1px solid var(--line);border-radius:11px;background:#fff;padding:3px;gap:2px}.view-switch button{border:0;background:transparent;padding:6px 12px;min-height:36px;font-size:.75rem;color:var(--muted);border-radius:8px;font-weight:700}.view-switch button.active{background:var(--navy);color:#fff}.data-table{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:auto}.table{margin:0;vertical-align:middle}.table th{background:#f7f9fc;color:#66758c;font-size:.78rem;font-weight:650;white-space:nowrap;padding:15px}.table td{padding:15px;border-color:#edf1f7;font-size:.88rem}.table tr:hover td{background:#fafcff}.data-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}.project-card{padding:22px;background:white;border:1px solid var(--line);border-radius:18px;position:relative}.project-card:before{content:'';position:absolute;left:0;top:25px;bottom:25px;width:4px;background:var(--project-color,var(--green));border-radius:0 4px 4px 0}.project-icon{width:48px;height:48px;display:inline-flex;justify-content:center;align-items:center;border-radius:14px;background:color-mix(in srgb,var(--project-color,var(--green)) 12%,white);font-size:1.55rem}.project-card h3{font-size:1.13rem;margin:16px 0 7px;font-weight:700}.project-card .balance{font-size:1.4rem;font-weight:700;margin:20px 0;color:var(--navy)}.row-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.empty{text-align:center;padding:50px 20px;background:#fff;border:1px dashed #c8d5e8;border-radius:18px;color:var(--muted)}.empty span{display:block;font-size:2.6rem;margin-bottom:12px}.filterbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:18px}.filterbar .form-control,.filterbar .form-select{width:auto;min-width:160px;flex:1}.filterbar input[type=date]{flex:0 1 155px}.tabs{display:flex;overflow:auto;gap:7px;margin:18px 0 24px;border-bottom:1px solid var(--line);padding-bottom:10px}.tabs button{white-space:nowrap;border:0;background:transparent;color:var(--muted);padding:8px 15px;border-radius:10px}.tabs button.active{background:#eaf0fc;color:var(--navy);font-weight:650}.progress{height:7px;border-radius:10px}.progress-bar{background:var(--green)}.avatar{width:36px;height:36px;border-radius:50%;background:#e9f0ff;display:inline-flex;align-items:center;justify-content:center;color:var(--navy);font-weight:700}.notice-dot{display:inline-block;width:8px;height:8px;background:var(--green);border-radius:50%;margin-right:6px}.notice-dot.offline{background:#eaa420}.file-row{display:flex;align-items:center;gap:10px;margin-top:10px;padding:10px;border:1px solid var(--line);border-radius:10px}.file-row .file-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.dropzone{border:2px dashed #ccd8e8;border-radius:14px;padding:20px;text-align:center;cursor:pointer}.dropzone.drag{border-color:var(--green);background:#f0f9eb}.icon-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.icon-grid button{border:1px solid var(--line);border-radius:12px;background:#fff;font-size:1.7rem;padding:10px}.icon-grid button.selected{border:2px solid var(--green);background:#f0f9eb}.toast-container{z-index:8000}.auth-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-brand{background:linear-gradient(145deg,#09245e,#113c74);color:white;padding:80px 12%;display:flex;flex-direction:column;justify-content:center}.auth-brand h1{font-size:2.8rem;line-height:1.15;font-weight:750;margin:25px 0}.auth-brand img{width:180px;align-self:flex-start;border-radius:24px}.auth-form{padding:50px;display:flex;justify-content:center;align-items:center}.auth-form>div{max-width:420px;width:100%}.auth-form h2{font-weight:750}.password-field{position:relative}.password-field button{position:absolute;right:5px;top:0;border:0;background:none;min-width:44px}.password-field input{padding-right:50px}.mobile-nav{display:none}.inline-chart{height:170px;display:flex;align-items:end;gap:12px;padding:15px 0}.inline-chart .bar{flex:1;border-radius:8px 8px 0 0;background:linear-gradient(0deg,var(--navy),#3073b4);min-height:4px;position:relative}.inline-chart .bar small{position:absolute;bottom:-24px;left:50%;transform:translateX(-50%);font-size:.68rem;white-space:nowrap;color:var(--muted)}.sync-banner{border-radius:12px;background:#fff7df;color:#825d10;padding:12px 16px;margin-bottom:15px;display:flex;align-items:center;justify-content:space-between;gap:10px}.notification-card{background:white;border:1px solid var(--line);border-radius:14px;margin-bottom:10px;padding:18px}.notification-card.unread{border-left:4px solid var(--green)}.actions{display:flex;gap:7px;flex-wrap:wrap}.actions .btn{padding:7px 11px;font-size:.8rem}.fw-money{font-weight:750;color:var(--navy)}.small-note{font-size:.82rem;color:var(--muted)}.landing-nav{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:14px 25px}.landing-hero{max-width:1200px;margin:40px auto 80px;display:grid;grid-template-columns:1.1fr 1fr;gap:60px;align-items:center;padding:25px}.landing-hero h1{font-size:3.3rem;font-weight:800;line-height:1.1;color:var(--navy)}.landing-hero h1 em{font-style:normal;color:var(--green)}.landing-hero p{font-size:1.1rem;color:var(--muted);line-height:1.7}.hero-panel{background:white;padding:26px;border:1px solid var(--line);border-radius:24px;box-shadow:0 35px 65px #09245e18;transform:rotate(2deg)}.landing-section{max-width:1200px;margin:65px auto;padding:25px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature{background:white;border:1px solid var(--line);border-radius:18px;padding:26px}.feature h3{font-size:1.1rem;font-weight:700}.feature .symbol{font-size:2rem;margin-bottom:20px}.landing-footer{border-top:1px solid var(--line);padding:25px;text-align:center;color:var(--muted)}.disabled-link{opacity:.45;pointer-events:none}
@media(max-width:1000px){.stats{grid-template-columns:repeat(2,1fr)}.shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:15px}.content{padding:24px 20px 95px}.topbar{padding:15px 20px}.landing-hero{gap:30px}.landing-hero h1{font-size:2.6rem}}
@media(max-width:760px){.shell{display:block}.sidebar{display:none}.topbar{height:74px;padding:12px 16px}.topbar h1{font-size:1rem}.topbar .desktop-extra{display:none}.content{padding:22px 16px 105px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:1.25rem}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:6px 5px max(6px,env(safe-area-inset-bottom));z-index:900;justify-content:space-around}.mobile-nav button{border:0;background:transparent;color:var(--muted);font-size:.65rem;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:55px;padding:8px 4px}.mobile-nav button span{font-size:1.2rem}.mobile-nav button.active{color:var(--navy)}.auth-wrap{display:block}.auth-brand{display:none}.auth-form{padding:30px 22px;min-height:100vh}.data-cards{grid-template-columns:1fr}.toolbar h2{font-size:1.25rem}.filterbar .form-control,.filterbar .form-select{min-width:125px}.icon-grid{grid-template-columns:repeat(5,1fr)}.landing-hero{grid-template-columns:1fr;margin:20px auto 30px}.landing-hero h1{font-size:2.7rem}.hero-panel{transform:none}.feature-grid{grid-template-columns:1fr}.landing-nav .brand{font-size:1.2rem}.landing-nav{padding:12px 16px}.landing-nav .btn{padding:8px 12px}.hero-panel .stats{margin-bottom:12px}.hero-panel .stat{padding:12px}.hero-panel .stat strong{font-size:1rem}}
.iti{--iti-path-flags-1x:url('/assets/img/flags.webp');--iti-path-flags-2x:url('/assets/img/flags@2x.webp');--iti-path-globe-1x:url('/assets/img/globe.webp');--iti-path-globe-2x:url('/assets/img/globe@2x.webp')}

svg.bi{vertical-align:-.2em;flex-shrink:0}.project-icon svg{width:28px;height:28px;color:var(--navy)}.icon-grid svg{width:30px;height:30px}.feature .symbol svg{width:32px;height:32px;color:var(--green)}.nav-item svg{width:20px;height:20px}.mobile-nav svg{width:20px;height:20px}.toolbar h2 svg{width:25px;height:25px}.iti__flag{vertical-align:middle;display:inline-block}
.list-tools{display:flex;gap:1rem;align-items:end;justify-content:space-between;margin:1rem 0}.list-search{flex:1;max-width:560px}.list-size{font-size:.85rem;color:var(--muted);min-width:145px}.list-pagination{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:1rem 0 1.5rem}.pagination-buttons{display:flex;gap:.4rem}.form-check{margin-bottom:.5rem}.data-table .actions{min-width:200px}.list-tools .form-label{font-weight:600}
@media(max-width:600px){.list-tools{align-items:stretch;flex-wrap:wrap}.list-search{min-width:100%;max-width:none}.list-size{max-width:190px}.list-pagination{align-items:flex-start;flex-direction:column}.pagination-buttons{max-width:100%;flex-wrap:wrap}.data-cards .actions{flex-wrap:wrap}}

/* CoBudget 1.0.2 : navigation et identités distinctes. */
.sidebar{background:var(--navy);color:white;border-right:0}.sidebar .brand,.sidebar .nav-item,.sidebar .small-note{color:#e8edf7}.sidebar .brand em{color:#97d900}.sidebar .nav-item:hover,.sidebar .nav-item.active{background:#ffffff20;color:white}.sidebar .brand img{background:white;border-radius:12px;padding:3px}.sidebar .owner-label{font-size:.72rem;letter-spacing:.08em;color:#b6e79b}.admin-shell .sidebar{background:#124329}.topbar{background:#eaf0f8}.admin-shell .topbar{background:#eaf2ec}.top-brand{display:flex;gap:10px;align-items:center}.mobile-logo{width:38px;height:38px;object-fit:contain;display:none}.avatar{width:40px;height:40px;min-width:40px;padding:0;aspect-ratio:1;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:white;font-weight:700;line-height:1}.notification-bell{position:relative;width:40px;height:40px;padding:8px}.notification-count{position:absolute;right:-4px;top:-5px;background:#258a13;color:white;border-radius:20px;padding:1px 5px;font-size:.65rem}.notification-menu{width:min(350px,calc(100vw - 24px));max-height:70vh;overflow:auto}.notification-preview{white-space:normal;line-height:1.4;padding:12px 16px;border-bottom:1px solid var(--line)}.notification-preview span{display:block}.notification-preview small{display:block;color:var(--muted);font-weight:400;font-size:.8rem;margin-top:4px}.profile-columns form{margin-top:18px}#icon-chooser{margin-top:12px;padding:12px;background:#f4f7fb;border:1px solid var(--line);border-radius:12px}#icon-chooser .icon-grid{grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:0!important}#icon-chooser button{padding:8px}.topbar .dropdown-menu{z-index:1100}.retention-disclosure{background:#edf4ea;border-radius:10px;padding:12px}
@media(max-width:760px){.mobile-logo{display:block}.topbar h1{font-size:.83rem;line-height:1.25;max-width:180px}.topbar .small-note{font-size:.68rem}.topbar{padding:10px 12px;height:auto;min-height:74px}.topbar .gap-2{gap:6px!important}.avatar{width:36px;height:36px;min-width:36px}.notification-bell{width:36px;height:36px}.mobile-nav button{min-width:0;flex:1;font-size:.59rem}.profile-columns .card{padding:20px!important}.dropdown-menu{max-width:calc(100vw - 24px)}}

/* The native WebView already sits inside Android system-bar insets. */
body{min-height:100dvh}.schedule-panel{padding:18px;background:#f3f6fc;border:1px solid #e0e8f4;border-radius:16px}.schedule-panel.proposed{background:#eef8ed;border-color:#d6e9d1}.schedule-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px;margin:16px 0 0;font-size:.88rem}.schedule-summary dt{font-weight:500;color:var(--muted)}.schedule-summary dd{margin:0;font-weight:650;overflow-wrap:anywhere}.schedule-panel .form-control[readonly]{background:white}.modal-dialog-scrollable{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin-top:max(12px,env(safe-area-inset-top));margin-bottom:max(12px,env(safe-area-inset-bottom))}.modal-dialog-scrollable .modal-content{max-height:100%}.modal-dialog-scrollable .modal-body{overscroll-behavior:contain}
@media(max-width:760px){
 .shell,.auth-form{min-height:100dvh}.content{padding-bottom:calc(132px + env(safe-area-inset-bottom))}
 .mobile-nav{padding:8px 8px calc(12px + env(safe-area-inset-bottom));min-height:88px;gap:3px;border-top:1px solid #dce6f4;border-radius:20px 20px 0 0;box-shadow:0 -5px 24px #102f6814;background:#fffffffa;align-items:stretch}
 .mobile-nav button{flex:1;min-width:0;min-height:64px;padding:7px 2px 5px;gap:6px;font-size:clamp(.60rem,2.65vw,.73rem);line-height:1.3;font-weight:650;border-radius:14px;overflow-wrap:anywhere;color:#5d6d83}
 .mobile-nav button span{display:grid;place-items:center;min-height:28px;width:36px;border-radius:10px;transition:background .15s}.mobile-nav svg{width:21px;height:21px}
 .mobile-nav button.active{background:linear-gradient(145deg,#173d7a,#0d285b);color:white;box-shadow:0 3px 10px #102f6826}.mobile-nav button.active span{background:#ffffff1c}.admin-shell~.mobile-nav button.active{background:linear-gradient(145deg,#216943,#124329)}
 .btn-primary{background:linear-gradient(135deg,#1b4586,#102f68);border-color:#102f68;box-shadow:0 3px 9px #102f681c}.btn-success{background:linear-gradient(135deg,#369c22,#247411);border-color:#247411;box-shadow:0 3px 9px #24741124}.btn-outline-primary{background:#f7faff;border-color:#7a9bcf;color:#173d7a}.btn-outline-secondary{background:#fff;border-color:#c4d0e1;color:#53647d}
 .btn{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:13px;line-height:1.35}.actions .btn{padding:10px 13px;font-size:.82rem}.toolbar .actions{gap:8px}.view-switch{border-radius:13px}.view-switch button{min-height:40px}.row-card,.project-card{border-radius:20px}.modal-footer{gap:8px;padding-bottom:16px}.modal-footer .btn{flex-grow:1}.schedule-panel{padding:15px}.schedule-summary{font-size:.83rem}.topbar .notification-bell,.topbar .avatar{min-height:36px}
}
.avatar{min-height:40px}
@media(max-width:760px){.avatar{min-height:36px}}
/* Web 1.0.4: photos and member filters */
.avatar{overflow:hidden;padding:0}.avatar img,.member-avatar img,.profile-photo-preview img{width:100%;height:100%;object-fit:cover}
.member-avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;overflow:hidden;border-radius:50%;background:#edf3fb;color:#163d70;margin-right:10px;vertical-align:middle;flex-shrink:0}
.profile-photo-card{display:flex;flex-direction:row;align-items:center;gap:26px}.profile-photo-preview{width:112px;height:112px;min-width:112px;overflow:hidden;border-radius:28px;background:#eef4fb;display:flex;align-items:center;justify-content:center;font-size:40px;color:#194778}.profile-photo-tools{flex:1;min-width:0}.profile-photo-tools .progress{max-width:400px;height:8px}.profile-photo-tools [aria-disabled=true]{opacity:.6;pointer-events:none}
.filter-field{font-size:12px;color:#63768e;min-width:150px;flex:1}.filter-field .form-select{margin-top:5px}.filterbar{flex-wrap:wrap;align-items:flex-end}.filtered-totals{padding:13px 17px;border:1px solid #dce8f4;border-radius:14px;background:#f5f9fd;margin-bottom:16px}.notification-card .actions{flex-wrap:wrap}
@media(max-width:575px){.profile-photo-card{flex-direction:column;align-items:flex-start;gap:18px}.profile-photo-tools{width:100%}.filter-field{flex-basis:calc(50% - 10px);min-width:130px}.notification-card.d-flex{flex-wrap:wrap;gap:12px}.profile-photo-tools .actions{flex-wrap:wrap}.filterbar>select{flex:1;min-width:130px}.profile-photo-preview{width:96px;height:96px;min-width:96px}}

/* Catalogue Premium */
.plan-benefits{white-space:pre-wrap;overflow-wrap:anywhere}
.premium-offers{display:grid;gap:12px}
.premium-offer{padding:18px;border:1px solid #dbe5f3;border-radius:18px;background:linear-gradient(145deg,#fff,#f5f9ff)}
.premium-offer>p:last-child{margin-bottom:0}
.premium-current{padding:14px 16px;margin:12px 0;border-radius:14px;background:#edf7ef;border-left:3px solid #248c32}
[data-list-key$=":premiumplans"] td{vertical-align:top}
[data-list-key$=":premiumplans"] .plan-benefits{min-width:180px;max-width:340px}

/* Support and period reports */
.support-thread{max-height:46vh;overflow-y:auto;padding:12px 4px;display:flex;flex-direction:column;gap:14px}.support-message{background:#f3f6fb;border:1px solid #e3eaf4;border-radius:16px;padding:14px 16px;max-width:94%;align-self:flex-start}.support-staff{background:#f0f8f4;border-color:#d8eade}.support-own{align-self:flex-end}.support-message-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:#586c80}.support-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0}.report-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.report-metrics strong{font-size:26px;margin-top:4px}.tabs{overflow-x:auto}.report-metrics+.report-metrics{margin-top:12px}@media(max-width:575px){.support-message{max-width:100%}.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.support-thread{max-height:40vh}}

.table-wrap{max-width:100%;overflow-x:auto}.table-wrap .table{margin-bottom:0}

/* 1.0.7: a stronger mobile header and a lower, compact navigation bar. */
@media(max-width:760px){.topbar{background:linear-gradient(115deg,#123469,#1d4f91);border-color:#123b72;min-height:82px;padding:10px 12px;color:white}.admin-shell .topbar{background:linear-gradient(115deg,#12442c,#236847);border-color:#12442c}.topbar h1{color:white;font-size:clamp(.79rem,3.55vw,.96rem);max-width:none;margin:0;line-height:1.3}.topbar .small-note{color:#e2ecfa;font-size:.71rem;margin-top:4px}.top-brand{flex:1;min-width:0;gap:10px;align-items:center}.top-brand>div{min-width:0;flex:1;text-align:center;padding-right:4px}.mobile-logo{width:54px;height:54px;min-width:54px;object-fit:contain;background:white;border-radius:13px;padding:4px}.topbar .notification-bell{background:#ffffff15;border:1px solid #ffffff30;color:white}.topbar .avatar{background:white;border:2px solid #ffffff55;color:#12376d}.mobile-nav{bottom:0;height:auto;min-height:74px;padding:5px 6px calc(5px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0}.mobile-nav button{min-height:60px;padding:5px 2px;gap:4px}.content{padding-bottom:calc(100px + env(safe-area-inset-bottom))}html.native-app .mobile-nav{padding-bottom:5px}html.native-app .content{padding-bottom:100px}.topbar .top-brand{max-width:calc(100% - 84px)}}
.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.feature-grid legend{grid-column:1/-1}.feature-option{display:flex;align-items:center;gap:12px;padding:14px;background:#f4f7fb;border:1px solid #e2e9f3;border-radius:12px}.feature-option input{flex-shrink:0}.plan-feature-summary{font-size:.74rem;line-height:1.7;white-space:normal;margin:10px 0;color:#62758e}.contribution-list{display:flex;flex-direction:column;gap:12px}.contribution-card{padding:16px;border:1px solid #dfe8f2;background:#f7fafe;border-radius:16px}.plan-cog svg{width:18px;height:18px}.invoice-line .btn{padding:8px}.notification-card{min-width:0}@media(max-width:575px){.feature-grid{grid-template-columns:minmax(0,1fr)}.contribution-card{padding:13px}.participation-note{font-size:.8rem}}
/* Les mouvements sont séparés sans modifier leur statut ni les totaux. */
.money-table thead th{vertical-align:middle}
.money-table thead .money-group{text-align:center;border-bottom:1px solid #dce5ef}
.money-table thead .money-income,.money-table thead .money-expense{text-align:center}
.money-table td.amount{min-width:110px;text-align:right;white-space:nowrap}
.money-income{color:#237744}
.money-expense{color:#a83d43}
.money-table .money-empty{color:#9aabba;font-weight:400}
.money-table thead .money-income{background:#edf7f0}
.money-table thead .money-expense{background:#fff0f0}

.money-table .operation-date{white-space:nowrap}

/* Opérations et justificatifs — 1.0.11 */
.operation-direction{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:1.55rem;height:1.55rem;border-radius:50%;margin-right:.3rem;flex-shrink:0}.operation-direction svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.direction-income{background:#dcfce7;color:#166534}.direction-expense{background:#fee2e2;color:#b91c1c}.movement-legend{display:flex;gap:1.4rem;font-size:.8rem;margin-bottom:1rem}.movement-legend span:before{content:'';display:inline-block;width:.65rem;height:.65rem;border-radius:2px;margin-right:.4rem}.legend-income:before{background:#248c4d}.legend-expense:before{background:#c44d4d}.movement-chart{gap:12px;height:200px;align-items:stretch;margin-bottom:16px}.movement-month{flex:1;min-width:0;display:flex;flex-direction:column;text-align:center}.movement-bars{display:flex;align-items:flex-end;gap:4px;flex:1;min-height:0}.movement-chart .bar{flex:1;width:auto;min-width:0;position:static;min-height:0}.movement-chart .movement-income{background:linear-gradient(#32ab65,#1c693b)}.movement-chart .movement-expense{background:linear-gradient(#d87575,#a53434)}.movement-month small{font-size:.7rem;padding-top:.4rem;color:#65748e}.evidence-image{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:auto}.evidence-loading{padding:3rem;text-align:center}.evidence-controls{display:flex;align-items:center;justify-content:center;gap:.6rem;margin-bottom:1rem;flex-wrap:wrap}.evidence-canvas-container{max-height:65vh;overflow:auto;text-align:center;background:#f1f4f9;padding:10px}.evidence-canvas-container canvas{max-width:none;display:block;margin:0 auto;background:white}.proof-camera-panel{margin-top:1rem;padding:1rem;background:#f1f4f9;border-radius:12px}.proof-camera-panel video{display:block;width:100%;max-height:280px;object-fit:contain;background:#111}.dropzone .actions{justify-content:center}.file-row .file-name{min-width:0;overflow-wrap:anywhere}.file-row button{flex-shrink:0}@media(max-width:575px){.movement-chart{gap:6px;height:170px}.movement-bars{gap:3px}.evidence-canvas-container{max-height:60vh}.evidence-controls{gap:.35rem}}

.proof-icon{width:1.15em;height:1.15em;display:inline-block;vertical-align:-.15em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}

.operation-evidence{display:inline-flex;align-items:center;vertical-align:middle;margin-left:.35rem;color:var(--blue,#0c245b)}.operation-evidence.evidence-expired{color:#788292}

.public-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.public-plan-grid .premium-offer{display:flex;flex-direction:column;min-width:0}.public-plan-grid .premium-offer .btn{margin-top:auto;white-space:normal}.public-plan-grid ul{padding-left:20px;line-height:1.8}@media(max-width:991px){.public-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:575px){.public-plan-grid{grid-template-columns:minmax(0,1fr)}}

.shell main{min-width:0}.content{width:100%;min-width:0}

.data-cards.line-list{grid-template-columns:minmax(0,1fr)}
