/* PWA Wometri : installation, connectivité et campagne hors connexion. */
.pwa-controls+.nav-links{margin-left:0}
.pwa-controls{margin-left:auto;display:flex;align-items:center;gap:7px}.nav-links+.pwa-controls{margin-left:0}.pwa-network{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:#ecfdf5;color:#166534;border:1px solid #bbf7d0;font-size:.72rem;font-weight:800;white-space:nowrap}.pwa-network::before{content:"";width:7px;height:7px;border-radius:50%;background:#22c55e}.pwa-network.is-offline{background:#fff7ed;color:#9a3412;border-color:#fed7aa}.pwa-network.is-offline::before{background:#f97316}.pwa-install-button{border:1px solid #b8daf3;background:#eaf4fd;color:#155e96;border-radius:9px;padding:7px 10px;font:inherit;font-size:.76rem;font-weight:800;cursor:pointer}.pwa-install-button[hidden]{display:none!important}.pwa-toast{position:fixed;right:14px;bottom:18px;z-index:90;max-width:360px;padding:12px 14px;border-radius:12px;background:#0f3155;color:#fff;box-shadow:0 12px 30px rgba(15,49,85,.25);font-size:.85rem}.pwa-toast button{margin-left:8px;color:#fff;text-decoration:underline;border:0;background:none;cursor:pointer}.pwa-install-overlay{position:fixed;inset:0;z-index:100;background:rgba(15,23,42,.58);display:grid;place-items:end center;padding:18px}.pwa-install-sheet{width:min(480px,100%);background:#fff;border-radius:18px;padding:20px;box-shadow:0 18px 50px rgba(15,23,42,.28)}.pwa-install-sheet h2{margin:0 0 7px;color:#0f3155}.pwa-install-sheet ol{padding-left:21px;color:#475569}.pwa-install-sheet .btn{width:100%}

.campaign-sync-panel{max-width:900px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:11px 13px;border:1px solid #b8daf3;border-radius:12px;background:#f0f8ff}.campaign-sync-copy{min-width:0}.campaign-sync-copy strong,.campaign-sync-copy small{display:block}.campaign-sync-copy strong{color:#0f3155}.campaign-sync-copy small{color:#64748b}.campaign-sync-actions{display:flex;gap:8px;flex:0 0 auto}.campaign-sync-actions .btn,.campaign-sync-actions .btn-alt{min-height:38px}.sync-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;margin-left:4px;border-radius:999px;background:#fff7ed;color:#9a3412;font-size:.75rem}.campaign-feedback{max-width:900px}.campaign-feedback:empty{display:none}.offline-note{max-width:900px;margin-bottom:14px;padding:10px 13px;border-radius:11px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:.84rem}.offline-note[hidden]{display:none}.queue-panel{max-width:900px;margin:14px 0}.queue-panel[hidden]{display:none}.queue-panel h2{font-size:1rem;color:#0f3155;margin:0 0 9px}.queue-list{display:grid;gap:8px}.queue-item{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid #dbe3ec;border-radius:11px;background:#fff}.queue-item strong,.queue-item small{display:block}.queue-item small{color:#64748b}.queue-item-status{display:inline-flex;width:max-content;margin-top:4px;padding:2px 7px;border-radius:999px;background:#fff7ed;color:#9a3412;font-size:.72rem;font-weight:800}.queue-item.is-synced .queue-item-status{background:#dcfce7;color:#166534}.queue-item.is-conflict{border-color:#fecaca}.queue-item.is-conflict .queue-item-status,.queue-item.is-error .queue-item-status{background:#fef2f2;color:#991b1b}.queue-actions{display:flex;gap:6px;align-items:center}.queue-actions button,.queue-actions a{min-height:34px;padding:6px 9px;font-size:.75rem}.estimate-label{display:block;margin-top:3px;color:#64748b;font-size:.69rem;font-weight:600}.reading-success.is-estimate{border-color:#fdba74}.reading-success.is-estimate .success-check{background:#ffedd5;color:#c2410c}.reading-success.is-estimate .reading-success-head small{color:#c2410c}.offline-shell .page{padding-top:18px}.offline-shell-header{background:#fff;border-bottom:1px solid #dbe3ec}.offline-shell-header .container{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px}.offline-brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:#1565C0;font-size:1.2rem;font-weight:900}.offline-brand img{width:34px;height:34px;border-radius:9px}.offline-empty{max-width:680px;margin:42px auto;padding:25px;text-align:center}.offline-empty img{width:78px;height:78px}.offline-empty h1{color:#0f3155}.offline-empty p{color:#64748b}.offline-workspace[hidden]{display:none}.offline-security{max-width:900px;color:#64748b;font-size:.75rem;margin:12px 0}.btn[disabled],.btn-alt[disabled]{opacity:.58;cursor:wait}

/* La page statique hors connexion ne dépend pas des ressources compilées de Laravel. */
.reading-success{max-width:900px;margin:0 0 16px;background:#fff;border:2px solid #86efac;border-radius:17px;padding:17px;box-shadow:0 10px 25px rgba(22,163,74,.09)}.reading-success-head{display:flex;align-items:center;gap:11px;margin-bottom:14px}.success-check{display:grid;place-items:center;width:42px;height:42px;border-radius:999px;background:#dcfce7;color:#15803d;font-size:1.35rem;font-weight:900}.reading-success-head small{color:#15803d;font-weight:800}.reading-success-head h2{font-size:1.05rem;margin:1px 0;color:#0f3155}.reading-success-head h2 span{color:#64748b;font-size:.78rem;font-weight:650;margin-left:5px}.reading-result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.reading-result-grid>div{background:#f8fafc;border-radius:10px;padding:10px}.reading-result-grid small,.live-estimate small{display:block;color:#64748b;font-size:.72rem}.reading-result-grid strong{display:block;color:#0f3155;margin-top:2px}.reading-total{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding:12px 13px;border-radius:11px;background:#eaf4fd;color:#0f3155;font-weight:750}.reading-total strong{font-size:1.25rem;color:#1565C0}.reading-success-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.whatsapp-state{font-size:.78rem;font-weight:750}.whatsapp-state.sent{color:#15803d}.whatsapp-state.muted{color:#9a3412}.live-estimate{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px;border:1px solid #b8daf3;border-radius:11px;background:#f0f8ff}.live-estimate span{padding:3px 7px}.live-estimate strong{display:block;color:#0f3155;margin-top:2px}.live-estimate span:last-child{border-left:1px solid #cfe6f5}.live-estimate span:last-child strong{color:#1565C0;font-size:1.05rem}.index-entry{font-size:1.12rem;font-weight:800}.quick-submit{display:grid;grid-template-columns:2fr 1fr;gap:9px}.quick-submit .btn,.quick-submit .btn-alt{min-height:48px}.reading-whatsapp-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.btn-whatsapp{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:8px 13px;border-radius:9px;text-decoration:none;font-weight:700;background:#25D366;color:#fff;border:1px solid #1fb858;font-size:.92rem}.whatsapp-icon{width:19px;height:19px}.search-results{border:1px solid #dbe3ec;border-radius:10px;background:#fff;max-height:300px;overflow:auto;box-shadow:0 10px 24px rgba(15,49,85,.10)}.search-result{display:block;width:100%;padding:10px 12px;border:0;border-bottom:1px solid #edf1f5;background:#fff;text-align:left;cursor:pointer;color:#1e293b;font-weight:650}.search-result:last-child{border-bottom:0}.search-result:hover{background:#eef7ff;color:#1565C0}.muted-result{color:#64748b;cursor:default}

@media(max-width:900px){.campaign-sync-panel{align-items:flex-start}.campaign-sync-actions{flex-direction:column}}
@media(max-width:620px){.pwa-controls{margin-left:auto}.pwa-network{font-size:0;padding:8px}.pwa-network::before{width:9px;height:9px}.pwa-install-button{padding:7px 8px}.campaign-sync-panel{display:grid}.campaign-sync-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.campaign-sync-actions .btn,.campaign-sync-actions .btn-alt{width:100%;padding-inline:7px}.queue-item{grid-template-columns:1fr}.queue-actions{display:grid;grid-template-columns:1fr 1fr}.queue-actions .btn,.queue-actions .btn-alt,.queue-actions .btn-whatsapp{width:100%}.reading-success{padding:14px}.reading-result-grid{grid-template-columns:1fr 1fr}.reading-success-footer{align-items:stretch;flex-direction:column}.reading-success-footer .btn,.reading-success-footer .btn-whatsapp{width:100%;min-height:48px}.live-estimate{grid-template-columns:1fr 1fr}.live-estimate span:last-child{grid-column:1/-1;border-left:0;border-top:1px solid #cfe6f5;padding-top:8px}.quick-submit{grid-template-columns:2fr 1fr}.quick-submit .btn,.quick-submit .btn-alt{width:100%;padding-inline:7px}}
@media(max-width:620px){.mobile-tabbar-reader{grid-template-columns:repeat(3,1fr)}.mobile-tabbar-reader form{display:flex}.mobile-tabbar-reader button{width:100%;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:0;background:transparent;color:#64748b;font:inherit;font-size:.67rem;font-weight:750}.mobile-tabbar-reader button span{font-size:1.15rem;color:#334155}}
