/* Mobile layout: loaded after the desktop theme on every public and private page. */
.mobile-menu-toggle,.mobile-cart-shortcut{display:none}.mobile-navigation{display:contents}
@media(max-width:960px){
html{scroll-padding-top:84px}body{min-width:0;-webkit-text-size-adjust:100%}body:has(.top){overflow-x:clip}.top{position:sticky;inset:0 0 auto;width:100%;height:auto;overflow:visible;z-index:40;border-bottom:1px solid #ffffff20}.top-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:64px;padding:10px 16px;align-items:center;max-width:none}.top .brand{width:158px!important;height:40px!important;margin:0!important}.top .brand img{position:static;width:100%!important;height:auto!important;max-width:100%;object-fit:contain;left:auto;top:auto}.mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:86px;padding:10px 13px;border:1px solid #436657;border-radius:11px;background:#123f30;color:#fff;font:inherit;font-size:14px;font-weight:700}.mobile-menu-toggle svg{width:20px;height:20px}.mobile-navigation{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 76px);overflow:auto;overscroll-behavior:contain;background:#08271e;padding:14px 16px 20px;border-radius:0 0 18px 18px;box-shadow:0 14px 24px #08271e35}.top.mobile-menu-open .mobile-navigation{display:block}.mobile-navigation .topnav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px;padding:0;overflow:visible}.topnav .nav{width:100%;min-height:48px;padding:11px 12px;font-size:13px;white-space:normal;justify-content:flex-start;text-align:left;gap:9px;line-height:1.35}.topnav .nav svg{width:20px;height:20px;flex:0 0 20px}.service-nav-caption{grid-column:1/-1;padding:14px 4px 4px}.mobile-navigation .profile{display:flex;width:100%;max-width:none;justify-content:flex-start;gap:8px;padding:16px 0 0;margin:16px 0 0;border-top:1px solid #315044;flex-wrap:wrap}.mobile-navigation .profile>span{flex-basis:100%;text-align:left;font-size:14px;overflow-wrap:anywhere}.mobile-navigation .profile button{font-size:14px;min-height:44px;padding:10px 12px}body:has(.top) .page{margin:0;width:100%;max-width:100%;min-width:0;padding:0 16px calc(30px + env(safe-area-inset-bottom))}.page>*{min-width:0}.app-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;min-height:0;margin:0 0 22px;padding:14px 0}.app-toolbar>span{flex-basis:100%;font-size:12px}.app-toolbar .primary,.app-toolbar .secondary{min-height:44px;padding:9px 12px;font-size:13px}.app-toolbar>button{flex:1 1 150px}.intro{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-bottom:20px}.intro h1{font-size:clamp(24px,5vw,32px);line-height:1.2;overflow-wrap:anywhere}.intro p{font-size:14px;line-height:1.6}.company-select{width:100%;max-width:none;margin:0;padding:12px}.company-select .select{max-width:100%;min-width:0;width:100%}.company-select .bill-tag{max-width:100%;overflow-wrap:anywhere}.stats,.salary-stats,.company-home-stats,.government-home-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat,.government-home-summary>div,.government-home-summary>button{min-width:0;padding:16px 12px}.stat strong,.government-home-summary strong{font-size:clamp(22px,4.5vw,30px);overflow-wrap:anywhere}.stat span{font-size:12px}.stat small{font-size:12px}.company-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.company-card{padding:18px}.company-metrics{gap:16px 10px}.company-metrics dd{font-size:22px}.company-card-actions{gap:8px}.company-card-actions button{min-height:44px;flex:1 1 100px}.category-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.category-tile,.category-tile.selected{min-height:66px;padding:12px}.category-tile span{display:block}.category-tile strong{font-size:14px}.legal-controls,.registry-filters,.audit-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px}.company-group-nav{display:flex;overflow-x:auto;gap:8px;padding:2px 0 10px;margin:18px 0 10px;scrollbar-width:thin;overscroll-behavior-x:contain}.company-group-nav button,.company-group-nav button.active{flex:0 0 auto;width:auto;min-height:46px;max-width:190px;padding:10px 14px;font-size:14px}.view-nav,.company-subnav{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:2px 0 10px;scrollbar-width:thin}.view-nav button{flex:0 0 auto;min-height:44px;width:auto;font-size:14px;white-space:nowrap;padding:10px 14px}.company-home-grid,.columns,.overview-followup,.cash-grid,.garage-grid{grid-template-columns:minmax(0,1fr)}.section-head{gap:12px}.section-head>.actions{width:100%;flex-wrap:wrap}.section-head .actions>button,.section-head .actions>a{flex:1 1 140px}.section-head .actions select{flex:1 1 160px;max-width:100%}.actions{max-width:100%}.actions>label{min-width:0;max-width:100%}.table-wrap{width:100%;max-width:100%;min-width:0;overflow:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;border-radius:12px}.table-wrap table{width:100%;font-size:14px}.table-wrap table:has(th:nth-child(6)){min-width:720px}.table-wrap th,.table-wrap td{padding:12px 10px;overflow-wrap:anywhere}.table-wrap th:first-child,.table-wrap td:first-child{position:sticky;left:0;z-index:1;background:#fff;min-width:110px;max-width:180px;box-shadow:1px 0 #dce4e0}.table-wrap thead th:first-child{background:#eff6f2;z-index:2}.table-wrap td button{min-height:44px;font-size:14px}.table-wrap td .actions,.table-wrap td .employee-actions{gap:6px;min-width:130px}.input,.select,.week,textarea,select,input:not([type=checkbox]):not([type=radio]):not([type=hidden]){font-size:16px;max-width:100%;min-width:0;box-sizing:border-box}.input,.select,.week{min-height:46px}.form-grid,.options-body{grid-template-columns:minmax(0,1fr)}.field{min-width:0}.field .input,.field select,.field textarea{width:100%}.form-check,.pay-check{min-height:44px;gap:10px}.form-check input,.pay-check input{width:20px;height:20px;flex-shrink:0}.modal{width:calc(100vw - 20px);max-width:640px;max-height:calc(100dvh - 24px);padding:20px 16px;margin:auto;border-radius:18px;overflow:auto;overscroll-behavior:contain}.modal-head{gap:12px;margin-bottom:18px}.modal-head h2{font-size:20px;overflow-wrap:anywhere}.modal-close{width:44px;height:44px;flex:0 0 44px}.modal-actions{position:sticky;bottom:-20px;background:#fff;z-index:3;padding:14px 0 calc(12px + env(safe-area-inset-bottom));margin-top:18px;flex-wrap:wrap}.modal-actions>button,.modal-actions>a{flex:1 1 110px;min-height:46px}.modal p,.modal label{overflow-wrap:anywhere}.home-panel{padding:18px}.permission-grid{grid-template-columns:1fr}.cash-workspace .worker{display:flex;gap:10px}.worker .select{flex:1;min-width:0}.cash-grid{gap:18px}.product-catalog{min-width:0}.catalog-tools{display:flex;flex-wrap:wrap;gap:10px}.catalog-tools .catalog-search{flex:1 0 100%}.catalog-tools>label{flex:1 1 130px}.catalog-tools select{width:100%;max-width:100%}.cash-workspace #cash-products{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:minmax(118px,auto)!important;gap:10px!important;height:auto!important;max-height:55dvh;min-height:130px;overflow:auto;align-content:start;overscroll-behavior:contain}.cash-workspace #cash-products .product,.cash-workspace #cash-products.is-very-dense .product{display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:12px 8px;gap:8px;min-height:118px;height:auto;grid-template-columns:none;grid-template-rows:none}.cash-workspace #cash-products .product-symbol,.cash-workspace #cash-products.is-very-dense .product-symbol{font-size:30px;line-height:1.1;min-height:32px}.cash-workspace #cash-products .product-name,.cash-workspace #cash-products.is-very-dense .product-name{font-size:14px;line-height:1.3;-webkit-line-clamp:3}.cash-workspace #cash-products .product-bottom{gap:6px;justify-content:center}.cash-workspace #cash-products .price{font-size:18px}.cash-workspace #cash-products .add-symbol{width:24px;height:24px;flex-basis:24px}.order{position:static;scroll-margin-top:84px}.cash-workspace .order-bottom{padding:16px}.order-list{padding:0 16px}.order-row-controls{gap:8px}.qty button{min-width:44px;min-height:44px}.qty input{font-size:16px}.cash-workspace .total strong{font-size:29px}.cash-workspace{padding-bottom:100px!important}.mobile-cart-shortcut{position:fixed;z-index:35;bottom:calc(12px + env(safe-area-inset-bottom));left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;border-radius:14px;box-shadow:0 6px 22px #06453040;padding:12px 16px;background:#007c55;color:#fff;border:1px solid #3bb48d;font:inherit;font-weight:700}.mobile-cart-shortcut[hidden]{display:none!important}.mobile-cart-shortcut span:last-child{font-size:19px}.public-booking-shell{padding:20px 14px calc(30px + env(safe-area-inset-bottom));max-width:100%;box-sizing:border-box}.public-booking-card{padding:18px 14px;border-radius:16px}.public-booking-shell .booking-brand{margin-bottom:20px}.public-booking-shell h1{font-size:29px;overflow-wrap:anywhere}.booking-slots{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))}.public-booking-card .form-grid{grid-template-columns:1fr}.public-booking-card .actions>button{flex:1 1 130px}.pointage-day-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.pointage-day{min-height:96px;font-size:13px}.pointage-day input{width:24px;height:24px}.pointage-week-navigation{gap:8px}.pointage-week-navigation button{min-width:44px;min-height:44px}.pointage-week-navigation strong{font-size:14px}.pointage-week-summary>div{padding:12px}.pointage-week-summary strong{font-size:22px}.public-pointage-week{gap:4px}.toast{bottom:calc(80px + env(safe-area-inset-bottom));width:calc(100% - 32px);max-width:440px;box-sizing:border-box}.footer{display:block;font-size:12px}.footer span{display:block}.company-contact-card{align-items:flex-start;flex-direction:column}.weekly-download{max-width:100%;padding:16px}.weekly-download .actions{flex-wrap:wrap}.weekly-download select{width:100%}.government-day-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;width:100%}.government-day-controls input{grid-column:1/-1;width:100%}.government-service-filter{width:100%;flex-wrap:wrap}.government-service-filter select{width:100%}.government-inbox-pager{justify-content:center;flex-wrap:wrap}.government-home-tabs{gap:14px}.government-home-tabs button{font-size:14px;min-height:46px}.closure-alert{padding:16px;align-items:flex-start;flex-direction:column}.closure-alert button{width:100%}
#modal.planning-modal[open]{padding:12px!important;overflow:auto!important;height:100dvh!important;max-height:100dvh!important}.planning-modal .modal-head{position:sticky;top:-12px;background:#f5f9f7;z-index:8;padding:10px 0;margin:0 0 12px}.planning-modal .modal-head h2{font-size:19px}.planning-toolbar{display:flex;flex-wrap:wrap;gap:10px;flex-shrink:0;margin-bottom:16px}.planning-toolbar>div:first-child{flex:1 0 100%}.planning-toolbar h2{font-size:20px}.planning-toolbar p{font-size:13px}.planning-toolbar>label{flex:1 1 150px;min-width:0}.planning-toolbar .input{font-size:16px;min-height:44px}.planning-toolbar button{font-size:14px;min-height:44px;padding:10px}.planning-week-controls{display:flex;flex-wrap:wrap;width:100%!important;gap:8px}.planning-week-controls button{flex:1}.planning-week-controls input{flex:1 0 100%;width:100%}.planning-legend{font-size:12px;gap:10px;flex-wrap:wrap;margin-bottom:14px}.planning-modal .help-line{font-size:13px}.agenda-week,.planning-modal .agenda-week{display:grid;grid-template-columns:minmax(0,1fr);height:auto;max-height:none;overflow:visible;flex:none;gap:14px;min-height:0}.agenda-day{min-height:0;overflow:visible}.agenda-day>header{font-size:15px;padding:13px 14px}.agenda-day-body{padding:10px;overflow:visible;gap:10px}.agenda-day .agenda-card{min-height:90px;height:auto;padding:13px 14px;border-radius:10px}.agenda-card strong{font-size:15px;line-height:1.4}.agenda-card span,.agenda-card small{font-size:13px;line-height:1.4}.agenda-free{min-height:44px;padding:12px;font-size:14px}.agenda-empty{font-size:14px;padding:16px}.planning-scroll{overflow:auto;max-height:65dvh;height:auto}.weekly-planning{min-width:760px}.weekly-planning thead th,.weekly-planning tbody th{font-size:13px}.weekly-planning tbody tr{height:44px}.weekly-planning .planning-event{font-size:13px!important;min-height:36px!important}.planning-modal:has(.agenda-week){gap:0}.auth-page{margin:20px 14px;padding:22px}.login-shell{margin:16px auto;max-width:calc(100% - 28px)}.login-welcome{padding:22px}.login-panel{padding:24px 20px}
}
@media(max-width:600px){.company-cards{grid-template-columns:minmax(0,1fr)}.category-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.legal-controls,.registry-filters,.audit-filters{grid-template-columns:1fr}.cash-workspace #cash-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.home-actions{grid-template-columns:minmax(0,1fr)}.government-day-row{grid-template-columns:62px minmax(0,1fr);gap:10px;padding:14px 10px}.government-event-time strong{font-size:18px}.government-event-info>strong{font-size:15px}.government-event-info>span:last-child{font-size:13px}.government-funding-row{padding:16px 14px}.company-metrics dd{font-size:23px}.section-head h2{font-size:20px}.home-panel h2{font-size:20px}.company-card-actions button{flex-basis:calc(50% - 8px)}.public-booking-shell h1{font-size:26px}.pointage-day strong{font-size:12px}.mobile-navigation .topnav{grid-template-columns:repeat(2,minmax(0,1fr))}.login-shell{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* v0.2.24: responsive overrides intentionally loaded after every desktop/theme file. */
@media screen and (max-width:960px){
:root{--mobile-panel:var(--surface,#fff)}
html[data-theme="dark"]{--mobile-panel:#17212b}
html,body,#app{max-width:100%;min-width:0}body{margin:0}*{box-sizing:border-box}
.top{width:100%!important;height:auto!important;position:sticky!important;top:0;left:0;bottom:auto!important;border-right:0!important;z-index:50}
.top .top-inner{width:100%!important;height:auto!important;min-height:62px;display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:10px 14px;gap:8px}
.top .brand{width:150px!important;height:38px!important}.mobile-navigation{background:#0d211c;color:#f2f8f5}.mobile-menu-toggle{background:#153c30;border-color:#638777;color:#fff}
html[data-theme="dark"] .mobile-navigation{background:#101b24;color:#edf3f8}html[data-theme="dark"] .mobile-menu-toggle{background:#20303d;color:#edf3f8;border-color:#607b90}
.top .mobile-navigation .profile{position:static!important;bottom:auto;width:100%;margin:12px 0 0!important;padding:12px 0 0!important}.top .mobile-navigation .release-card{width:100%;max-width:none}
body:has(.top) .page{width:100%!important;max-width:100%!important;margin:0!important;padding:0 14px calc(28px + env(safe-area-inset-bottom))!important}
.app-toolbar{gap:8px;padding:12px 0;margin-bottom:14px;min-height:0}.app-toolbar>span{margin:0;overflow-wrap:anywhere}.app-toolbar .toolbar-actions{flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}.app-toolbar button,.app-toolbar summary{min-height:44px;font-size:12px}.toolbar-tools{min-width:0}.toolbar-tools-menu{max-width:calc(100vw - 28px);right:0;left:auto;z-index:65}
.company-group-nav{position:relative;display:flex!important;grid-template-columns:none!important;max-width:100%;gap:8px;padding:3px 0 10px;margin:14px 0 8px;scroll-snap-type:x proximity}.company-group-nav>button{flex:0 0 auto!important;min-width:0!important;max-width:180px;scroll-snap-align:start;border-radius:10px!important;line-height:1.3!important;min-height:44px!important}
.company-subnav,.view-nav{scroll-snap-type:x proximity}.company-subnav>button,.view-nav>button{scroll-snap-align:start;min-height:44px}
.company-content,.company-home-grid,.company-finance,.company-overview,.overview-followup,.home-panel,.company-card,.company-global-panel{min-width:0;max-width:100%}.company-content>section,.company-content>.home-panel{overflow-wrap:anywhere}.section-head{flex-wrap:wrap;align-items:flex-start}.section-head h2{margin-top:0}.section-head>.actions{gap:8px;max-width:100%}.actions input,.actions select{max-width:100%;min-width:0}.company-contact-card{gap:10px}
input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{font-size:16px!important;min-width:0;max-width:100%}button,a.primary,a.secondary,summary{touch-action:manipulation}button.primary,button.secondary,a.primary,a.secondary{min-height:44px;white-space:normal;line-height:1.35}
.modal{width:calc(100vw - 16px)!important;max-width:640px;max-height:calc(100dvh - 16px)!important;padding:18px 14px!important;overflow-y:auto;overflow-x:hidden;scroll-padding-bottom:90px}.modal::backdrop{background:#0009}.modal-head{align-items:flex-start;gap:12px}.modal-head h2{font-size:20px;line-height:1.35;min-width:0}.modal-head .modal-close{flex-shrink:0}.modal .form-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:14px}.modal .full{grid-column:1/-1}.modal .field{max-width:100%;min-width:0}.modal-actions{bottom:-18px;padding:14px 0 calc(10px + env(safe-area-inset-bottom));background:var(--mobile-panel)!important;border-top:1px solid var(--line);gap:8px}.modal-actions>button,.modal-actions>a{min-height:46px}.form-check{align-items:flex-start;line-height:1.5}.form-check input{margin-top:3px}.modal .table-wrap{max-width:100%;overflow-x:auto}
.stats,.salary-stats,.company-home-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.stat{min-width:0;padding:15px 12px}.stat strong{font-size:24px;line-height:1.3}.stat span{font-size:12px}.stat small{line-height:1.5}
.table-wrap{max-width:100%;border-color:var(--line)}.table-wrap th:first-child,.table-wrap td:first-child{background:var(--mobile-panel);color:var(--text)}.table-wrap thead th:first-child{background:var(--raised,var(--mobile-panel))}.company-content .table-wrap{isolation:isolate}
.cash-workspace .cash-grid,.garage-grid,.columns,.company-home-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px}.cash-workspace{padding-bottom:95px!important}.cash-workspace #cash-products{height:auto!important;max-height:58dvh!important;min-height:140px;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:minmax(112px,auto)!important}.cash-workspace #cash-products .product{min-width:0;min-height:112px!important}.cash-workspace #cash-products .product-name{font-size:13px!important;line-height:1.35!important}.cash-workspace #cash-products .price{font-size:17px!important}.order{width:100%;min-width:0!important;position:static!important}.order-row{min-width:0}.order-row-main{min-width:0}.order-row-main strong{overflow-wrap:anywhere}.order-bottom{padding:14px!important}.mobile-cart-shortcut{bottom:calc(10px + env(safe-area-inset-bottom));left:14px;right:14px;background:#056a4e;color:#fff;border-color:#7ad9b1}.mobile-cart-shortcut:focus-visible{outline:3px solid #75e5bb;outline-offset:3px}.qty button{width:44px!important;height:44px!important}.qty input{width:44px!important;min-height:44px}
.footer.site-credits{padding:20px 0;font-size:12px;line-height:1.6}.footer.site-credits p{max-width:100%;margin:6px 0}.toast{z-index:110}
.public-booking-shell{width:100%;max-width:760px;margin:auto}.public-booking-card{min-width:0}.booking-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.booking-slots button{min-height:46px;font-size:15px}.pointage-week-navigation{flex-wrap:wrap}.pointage-week-navigation strong{min-width:0;max-width:100%}
}
@media screen and (max-width:600px){
.app-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;align-items:stretch}.app-toolbar>span{grid-column:1/-1;font-size:11px}.app-toolbar>button,.app-toolbar>.theme-toggle,.app-toolbar>details{width:100%;min-width:0;margin:0}.app-toolbar>details>summary{height:100%;display:flex;align-items:center;justify-content:center}.intro h1{font-size:26px;line-height:1.2}.intro p{font-size:13px}.intro{margin:4px 0 16px}.company-select{padding:10px;margin:0}.home-panel{padding:16px!important}.company-global-grid,.global-balance-grid,.company-overview-metrics,.overview-counts,.employee-money-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.company-global-grid>div:first-child{grid-column:1/-1}.company-content .stats{margin:14px 0}.home-actions{grid-template-columns:1fr!important}.cash-workspace #cash-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.cash-workspace #cash-products .product{padding:10px!important}.catalog-tools{gap:8px}.catalog-tools select{font-size:14px!important;min-height:44px}.catalog-tools .catalog-search{flex-basis:100%}.catalog-count{font-size:12px}.ems-document-models{grid-template-columns:1fr!important}.recap-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-activity .employee-money-grid{gap:8px}
/* Keep semantic table markup; visually read each record as a labelled card. */
.table-wrap:has(table.mobile-cards){overflow:visible;border:0!important;background:transparent!important;box-shadow:none}
table.mobile-cards,table.mobile-cards:has(th:nth-child(6)){display:block!important;width:100%!important;min-width:0!important;border:0!important;background:transparent!important}
table.mobile-cards thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
table.mobile-cards tbody{display:grid;gap:12px;width:100%}
table.mobile-cards tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:0;border:1px solid var(--line)!important;border-radius:12px;background:var(--mobile-panel)!important;overflow:hidden}
table.mobile-cards tbody td{display:block!important;position:static!important;left:auto!important;min-width:0!important;max-width:none!important;width:auto!important;padding:10px 12px!important;border:0!important;box-shadow:none!important;background:transparent!important;text-align:left!important;color:var(--text)!important;white-space:normal!important;overflow-wrap:anywhere;font-size:14px;line-height:1.5}
table.mobile-cards tbody td::before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;font-weight:600;line-height:1.4;margin-bottom:4px}
table.mobile-cards tbody td:first-child{grid-column:1/-1;background:var(--raised,var(--mobile-panel))!important;border-bottom:1px solid var(--line)!important;padding:12px!important;font-weight:650}
table.mobile-cards tbody td:has(.actions),table.mobile-cards tbody td:has(.employee-actions){grid-column:1/-1}table.mobile-cards td .actions,table.mobile-cards td .employee-actions{min-width:0;flex-wrap:wrap;gap:8px}table.mobile-cards td button{max-width:100%;min-height:44px;font-size:13px}.mobile-cards td[colspan]{grid-column:1/-1}
}
@media screen and (max-width:360px){.app-toolbar{gap:6px}.app-toolbar button,.app-toolbar summary{font-size:11px}.mobile-menu-toggle{min-width:76px}.stat strong{font-size:21px}.mobile-cards tbody td{padding:9px!important}.pointage-day-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media screen and (max-width:960px){body:has(.top) .page.cash-workspace{padding-bottom:100px!important}}
@media screen and (max-width:960px){html[data-theme="dark"] .company-group-nav,html[data-theme="dark"] .view-nav{overflow-x:auto;overflow-y:hidden}html[data-theme="dark"] .modal-actions{background:#17212b!important}}
@media screen{.operation-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0}.operation-pagination span{text-align:center;font-size:13px;color:var(--text)}.operation-pagination small{display:block;color:var(--muted);font-size:11px}.operation-pagination button{min-height:44px}.operation-pagination button:disabled{opacity:.5;cursor:default}}
@media screen and (max-width:600px){.operation-pagination{gap:6px}.operation-pagination button{font-size:12px;padding:9px;flex:0 1 100px}.company-content h2{scroll-margin-top:80px}}
@media screen and (max-width:600px){.company-select{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.company-select>label{grid-column:1;grid-row:1}.company-select>#company{grid-column:1/-1;grid-row:2;width:100%!important}.company-select>#new-company{grid-column:2;grid-row:1;min-height:32px;padding:5px 8px;font-size:12px}.company-select>.bill-tag{grid-column:1/-1}}
@media screen and (max-width:600px){.app-toolbar{display:block!important;padding:10px 0 12px;margin-bottom:14px}.app-toolbar>.toolbar-identity{display:none!important}.app-toolbar>.toolbar-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;max-width:100%;margin:0}.toolbar-actions>button,.toolbar-actions>details{width:100%;min-width:0;margin:0}.toolbar-actions button,.toolbar-actions summary{padding:8px 6px!important;font-size:11px!important;min-height:44px;line-height:1.35}.toolbar-actions>details>summary{display:flex;align-items:center;justify-content:center;height:100%;min-height:44px}.toolbar-actions>.primary{grid-column:span 2}.toolbar-actions .theme-toggle{justify-content:center;gap:4px}}

@media screen{.mobile-header-theme{display:none!important}}@media screen and (max-width:960px){.top .top-inner{grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.top-inner>.mobile-header-theme{display:inline-flex!important;min-width:44px;min-height:44px;margin-left:auto;flex-shrink:0}.mobile-header-theme span{display:none}.mobile-navigation .account-theme-toggle{display:none!important}}

@media screen and (max-width:400px){.top .brand{width:120px!important}.mobile-menu-toggle{min-width:76px;padding:9px}.top-inner{padding-left:12px;padding-right:12px}}
