/* Integration of the official Tabler 1.5.1 components with Répondre. */
body{--bg:#f6f8fb;--ink:#182433;--muted:#667382;--border:#e6e7e9;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.sidebar{background:#182433;color:#c8d1db;border:0;width:230px;min-width:230px;padding:25px 18px}.sidebar .brand{color:white;font-size:27px}.sidebar .brand>span{color:#6ba5e8}.sidebar .workspace-label{border-color:#354153;background:#202e40;margin:27px 0}.sidebar .workspace-label small,.sidebar .account small{color:#9baabd}.sidebar .workspace-avatar{background:#3b506d;color:#dbe8f7}.sidebar .nav-item{color:#c0cbd8;border-radius:5px;padding:11px 12px}.sidebar .nav-item.active{background:#2e4360;color:white}.sidebar .nav-item:hover{background:#253950}.sidebar .nav-count{background:#3a4c63;color:#dce8f7}.sidebar .future-card{background:#233249;color:#dce7f4;border:1px solid #33435b;border-radius:6px}.sidebar .future-card p{color:#9aaec4}.sidebar .mini-spark{color:#7ba5e0}.sidebar .account{border-color:#354153;color:#d6dfeb}.topbar{height:60px;padding:0 30px;background:white}.main-shell main{padding:25px 30px;max-width:1540px}.brand,.tabler-dashboard h1,.tabler-dashboard h2{letter-spacing:normal}.tabler-dashboard{font-size:14px;line-height:1.5;color:#182433;background:transparent}.tabler-dashboard .card{padding:0;margin-bottom:0}.tabler-dashboard .card-title{margin:0;font-size:16px}.tabler-dashboard .card-actions{margin-left:auto}.tabler-dashboard .page-title{font-size:24px}.tabler-dashboard .page-header{margin-top:0}.tabler-dashboard .btn{gap:8px;min-height:36px}.tabler-dashboard .btn-sm{min-height:28px}.tabler-dashboard [data-icon]{display:inline-flex;align-items:center;justify-content:center}.tabler-dashboard input,.tabler-dashboard select{margin:0}.tabler-dashboard .avatar{border-radius:5px}.tabler-dashboard .home-column{display:flex;flex-direction:column;gap:24px;min-width:0}.tabler-dashboard .agent-card{background:linear-gradient(110deg,#edf4ff 0%,#fff 75%)}.tabler-dashboard .agent-card .card-body{padding:24px}.tabler-dashboard .agent-card .card-footer{background:#ffffff75}.tabler-dashboard .agent-visual{width:160px;text-align:center}.voice-orb{border:1px solid #bcd3ee;background:#dbeaff;color:#066fd1;width:66px;height:66px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;box-shadow:0 0 0 9px #eaf2fd}.voice-orb svg{width:28px;height:28px}.voice-bars{height:27px;display:flex;align-items:center;justify-content:center;gap:4px;margin-bottom:10px}.voice-bars i{width:4px;background:#619ee6;border-radius:2px;height:8px}.voice-bars i:nth-child(2n){height:17px}.voice-bars i:nth-child(3n){height:24px}.tabler-dashboard .home-metrics button{cursor:pointer}.tabler-dashboard .home-metrics .subheader{font-size:10px}.tabler-dashboard .home-metrics .card-body{padding:18px}.tabler-dashboard .home-metrics .avatar{width:38px;height:38px}.tabler-dashboard .home-metrics .h2{font-size:25px}.tabler-dashboard .feed-filter{width:145px}.tabler-dashboard .home-call-row{display:flex;gap:13px;align-items:flex-start;text-align:left;width:100%;padding:17px 20px;border-left:0;border-right:0;cursor:pointer;color:inherit}.home-call-info{flex:1;min-width:0;display:grid;gap:5px}.home-call-info strong{font-size:13px;font-weight:600}.call-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5;font-size:12px;color:#667382}.home-call-info small{font-size:11px;color:#8b97a5}.home-call-meta{display:grid;justify-items:end;gap:7px;min-width:90px;font-size:10px;color:#8b97a5}.tabler-dashboard .home-call-meta .badge{font-size:10px;font-weight:500}.tabler-dashboard .feed-avatar{flex-shrink:0;width:34px;height:34px}.tabler-dashboard .home-task-row{display:flex;gap:14px;align-items:center;width:100%;text-align:left;padding:16px 20px;cursor:pointer;color:inherit}.home-task-row>span:nth-child(2){flex:1;display:grid;gap:5px;min-width:0}.home-task-row strong{font-size:13px;font-weight:500}.home-task-row small{font-size:12px;line-height:1.5;color:#667382;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tabler-dashboard .task-symbol{flex-shrink:0;width:28px;height:28px}.tabler-dashboard .home-call-row:hover,.tabler-dashboard .home-task-row:hover{background:#f8fafc}.tabler-dashboard .calendar-navigation{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;font-size:13px;text-transform:capitalize}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.calendar-weekdays{font-size:11px;text-align:center;color:#8b97a5;margin-bottom:7px}.tabler-dashboard .calendar-day{position:relative;min-height:33px;border:0;border-radius:4px;background:transparent;font-size:12px;color:#364454}.tabler-dashboard .calendar-day.outside{color:#bdc4cb}.tabler-dashboard .calendar-day[aria-current=date]{box-shadow:inset 0 0 0 1px #066fd1;color:#066fd1}.tabler-dashboard .calendar-day[aria-pressed=true]{background:#066fd1;color:white}.calendar-day.has-event:after{content:'';width:4px;height:4px;background:#066fd1;border-radius:50%;position:absolute;bottom:3px;left:calc(50% - 2px)}.calendar-day.has-event[aria-pressed=true]:after{background:white}.tabler-dashboard .agenda-event{border:0;border-left:3px solid #066fd1;background:#eaf2fb;display:flex;align-items:center;gap:12px;width:100%;padding:12px;text-align:left;margin-top:12px;border-radius:4px}.agenda-event>span:nth-child(2){flex:1;display:grid;gap:4px;min-width:0}.agenda-event time,.agenda-event strong{font-size:12px}.agenda-event small{font-size:11px;color:#667382;overflow-wrap:anywhere}.home-muted{font-size:12px;color:#667382;line-height:1.6;margin:10px 0 0}.tabler-dashboard .map-panel .card-body:has(select[hidden]){display:none}.intervention-map{min-height:180px;background:#eef2f6}.intervention-map iframe{display:block;width:100%;height:190px;border:0}.tabler-dashboard #map-caption{display:flex;flex-wrap:wrap;gap:8px 18px}.tabler-dashboard #map-caption:empty{display:none}.tabler-dashboard #map-caption strong{font-size:12px;flex-basis:100%;overflow-wrap:anywhere}.tabler-dashboard #map-caption p{margin:0;flex-basis:100%;font-size:11px}.tabler-dashboard #map-caption .link-btn{font-size:11px;color:#066fd1;padding:0}.tabler-dashboard .empty-state{padding:30px 24px;min-height:150px;text-align:center}.tabler-dashboard .empty-state h3{font-size:14px;font-weight:500}.tabler-dashboard .empty-state p{font-size:12px;line-height:1.6;margin:8px auto 0;max-width:350px}.tabler-dashboard #home-tasks>.home-muted{padding:0 20px 16px}.tabler-dashboard .dashboard-setup summary{cursor:pointer}.tabler-dashboard .dashboard-setup:not([open]) summary{border-bottom:0}.tabler-dashboard .dashboard-setup .step{padding:12px 0}.week-activity{margin-top:8px;min-height:110px}.week-activity svg{width:100%;height:110px;display:block}.week-activity .chart-bar{fill:#4299e1}.week-activity .chart-baseline{stroke:#e6e7e9}.week-activity text{fill:#8b97a5;font:10px sans-serif}.tabler-dashboard #voice-status{color:#667382!important;max-width:460px}.tabler-dashboard button:focus-visible,.tabler-dashboard a:focus-visible{outline:3px solid #85b9ed;outline-offset:2px}@media(max-width:1199px){.tabler-dashboard .home-column{gap:20px}.main-shell main{padding:24px}.sidebar{width:210px;min-width:210px}}@media(max-width:760px){.sidebar{height:auto;width:auto;min-width:0;padding:16px 20px}.sidebar .brand{font-size:26px}.sidebar nav{display:flex;gap:5px;overflow-x:auto}.sidebar .nav-item{width:auto;white-space:nowrap;flex-shrink:0;font-size:11px;padding:10px}.sidebar .sidebar-bottom,.sidebar .workspace-label,.sidebar .nav-caption{display:none}.main-shell main{padding:24px 16px}.topbar{padding:0 20px}.tabler-dashboard .page-header .col-auto{display:none}.tabler-dashboard .agent-visual{width:100px}.tabler-dashboard .agent-card .card-body{padding:20px}.tabler-dashboard .agent-card h2{font-size:21px}.tabler-dashboard .home-metrics .card-body{padding:14px}.tabler-dashboard .home-metrics .row{--tblr-gutter-x:.65rem}.tabler-dashboard .home-metrics .avatar{width:30px;height:30px}.tabler-dashboard .home-metrics .subheader{font-size:9px}.home-call-meta{min-width:70px;font-size:9px}.tabler-dashboard .home-call-row{padding:16px 12px;gap:9px}.tabler-dashboard .card-header{padding:16px}.tabler-dashboard #test-form{flex-wrap:wrap}.tabler-dashboard #test-form input{flex-basis:100%}}
@media(max-width:760px){.tabler-dashboard .agent-visual .badge{font-size:9px;white-space:normal;max-width:100%;padding:4px}}
.tabler-dashboard .page-header .col-auto{display:flex;gap:10px;align-items:center}.tabler-dashboard #dashboard-period{width:180px}.tabler-dashboard .home-call-meta .badge{white-space:normal;text-align:right;max-width:125px}.tabler-dashboard #booked-list .home-task-row>strong{font-size:12px;min-width:155px}@media(max-width:760px){.tabler-dashboard .page-header .col-auto{display:block;width:100%;margin-top:15px}.tabler-dashboard .page-header #today{display:none}.tabler-dashboard #dashboard-period{width:100%}.tabler-dashboard #booked-list .home-task-row{flex-wrap:wrap}}

.task-feed-row{display:flex;align-items:center;gap:12px;padding:16px 20px}.task-feed-row input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;cursor:pointer;accent-color:#066fd1}.tabler-dashboard .task-feed-link{border:0;background:none;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;flex:1;min-width:0;padding:0;color:inherit}.task-feed-link>span:first-child{display:grid;gap:5px}.task-feed-link strong{font-size:13px}.task-feed-link small{font-size:11px;color:#667382;overflow-wrap:anywhere}#home-tasks{max-height:480px;overflow-y:auto}

/* Compact feed: all matching calls remain accessible by scrolling. */
#recent-calls{max-height:320px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.tabler-dashboard #recent-calls .home-call-row{padding:12px 16px;gap:10px}
#recent-calls .home-call-info{gap:3px}
#recent-calls .call-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:600px){#recent-calls{max-height:280px}}

.urgent-notification-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #e6e7e9;background:#fff;border-radius:50%;color:#526174;cursor:pointer}
.urgent-notification-count{position:absolute;top:-5px;right:-7px;min-width:20px;height:20px;padding:0 5px;border-radius:20px;background:#d63939;color:white;border:2px solid white;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}
.urgent-notification-count[hidden]{display:none}
.urgent-label{display:inline-block;width:fit-content;color:#b42318;background:#ffebe9;border-radius:5px;padding:3px 7px;font-size:11px;font-weight:600}
.urgent-dialog{width:min(440px,calc(100vw - 32px));border:1px solid #e6e7e9;border-radius:14px;padding:0;max-height:80vh;box-shadow:0 12px 48px #18243326}
.urgent-dialog-header{display:flex;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid #e6e7e9}.urgent-dialog-header h2{font-size:18px;margin:0 0 6px}.urgent-dialog-header p,.urgent-dialog-note{font-size:12px;color:#667382;margin:0}.urgent-dialog-note{padding:16px 20px}
#urgent-notification-list{max-height:50vh;overflow-y:auto}.urgent-notification-row{display:grid;gap:7px;width:100%;background:white;border:0;border-bottom:1px solid #e6e7e9;text-align:left;padding:16px 20px;cursor:pointer;color:#182433}.urgent-notification-row:hover{background:#fff8f7}.urgent-notification-row>span:not(.urgent-label){font-size:12px;line-height:1.5}.urgent-notification-row small{color:#667382}.urgent-notification-button:focus-visible{outline:3px solid #85b9ed;outline-offset:2px}
