*{box-sizing:border-box}html,body{margin:0}.falou{font-family:Inter,Arial,sans-serif;color:#0F172A;background:#F1F5F9}.falou.falou-fullscreen{position:fixed;inset:0;z-index:999999;display:flex;width:100vw;height:100dvh;overflow:hidden}.falou aside{width:248px;flex:0 0 248px;background:#0F172A;color:#fff;padding:22px 18px;display:flex;flex-direction:column}.falou-brand{padding:2px 4px 18px}.falou-brand img{display:block;width:195px;max-width:100%;height:auto;object-fit:contain}.falou nav{display:grid;gap:3px;overflow:auto;padding-right:2px}.falou-nav-item{border:0;background:transparent;color:#fff;text-align:left;padding:9px 10px;border-radius:8px;cursor:pointer;font:inherit}.falou-nav-item:hover,.falou-nav-item.active{color:#2DD4BF;}.falou-version{margin-top:auto;padding:14px 8px 0;color:#64748b;font-size:10px}.falou main{flex:1 1 auto;min-width:0;width:calc(100vw - 248px);height:100dvh;overflow:auto;padding:26px 30px 40px}.falou main>header{position:sticky;top:-26px;z-index:8;background:#F1F5F9;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:26px 0 14px}.falou main>header h1{font-size:30px;margin:4px 0 0}.falou-head-actions{display:flex;gap:8px;align-items:center}.falou-status,.falou-net{padding:7px 10px;border-radius:999px;background:#d1fae5;font-size:12px}.falou-net{background:#fff;border:1px solid #e2e8f0}.falou #falou-feedback{min-height:24px;color:#047857;font-weight:600}.falou #falou-content{width:100%;max-width:none}.falou-loading,.falou-empty,.falou-error,.falou-panel{background:#fff;border-radius:14px;padding:22px}.falou-error{border-left:4px solid #EF4444}.falou-error button{margin-left:10px}.falou-muted{color:#64748b}.falou-grid{display:grid;gap:16px}.falou-kpis{grid-template-columns:repeat(5,minmax(150px,1fr))}.card{background:#fff;border-radius:14px;padding:20px;border-left:4px solid #10B981;min-width:0}.card p{font-size:26px;margin:9px 0 2px}.card small{color:#64748b}.falou-dashboard-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}.falou-dashboard-head h2{margin:0}.falou-section-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(310px,.85fr);gap:16px;margin-top:16px}.falou-list{background:#fff;border-radius:14px;padding:18px;min-width:0}.falou-list h3{margin:0 0 12px}.falou-ai-state{display:grid;gap:5px;padding:12px;border-radius:10px;background:#ecfdf5;margin-bottom:20px}.falou-quick{display:flex;flex-wrap:wrap;gap:8px}.falou button{font-family:inherit}.falou-quick button,.falou-error button,.falou-agenda-actions button,.calendar-view-switch button,.falou-tabs button{border:1px solid #cbd5e1;background:#fff;color:#0F172A;border-radius:9px;padding:9px 13px;cursor:pointer}.falou-quick button:hover{border-color:#10B981;}.falou-form{display:grid;grid-template-columns:2fr 1.2fr 1.6fr auto;gap:10px;width:100%;background:#fff;border-radius:14px;padding:14px;margin-bottom:14px}.falou-form-short{grid-template-columns:minmax(280px,1fr) auto}.falou-form-knowledge{grid-template-columns:1fr 2fr auto}.falou input,.falou textarea,.falou select{width:100%;border:1px solid #cbd5e1;border-radius:9px;padding:11px;background:#fff;color:#0F172A;font:inherit}.falou-form button,.falou-settings button{border:0;border-radius:9px;background:#10B981;color:#fff;padding:11px 16px;cursor:pointer}.falou-form button:disabled,.falou-settings button:disabled{opacity:.5}.falou-table-wrap{width:100%;overflow:auto;background:#fff;border-radius:14px}.falou table{width:100%;border-collapse:collapse}.falou th,.falou td{text-align:left;padding:12px 14px;border-bottom:1px solid #e2e8f0;white-space:nowrap}.falou th{font-size:11px;color:#64748b;text-transform:uppercase}.falou-toolbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.falou-settings{display:grid;grid-template-columns:1fr 1fr;gap:14px}.falou-settings label{display:grid;gap:6px}.falou-settings .wide{grid-column:1/-1}.falou-details{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}.falou-details>div{background:#f8fafc;border-radius:10px;padding:14px;display:grid;gap:5px}.falou-details small{color:#64748b}.falou-offline-banner{display:none;margin-top:14px;padding:12px;background:#fff;border-left:4px solid #EF4444}.falou-offline .falou-offline-banner{display:block}
.falou-agenda-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.falou-tabs{display:inline-flex;background:#e2e8f0;padding:4px;border-radius:11px}.falou-tabs button{border:0;background:transparent}.falou-tabs button.active,.calendar-view-switch button.active{background:#fff;color:#047857;box-shadow:0 1px 3px rgba(15,23,42,.12)}.falou-agenda-actions,.calendar-view-switch{display:flex;gap:5px}.calendar-head{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:14px 16px;border-radius:14px 14px 0 0}.calendar-head h2{margin:0;text-transform:capitalize;font-size:20px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-week{background:#fff;border:1px solid #e2e8f0;border-bottom:0}.calendar-week>div{padding:9px;text-align:center;font-size:11px;font-weight:700;color:#64748b;border-right:1px solid #e2e8f0}.calendar-days{background:#fff;border-left:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.cal-day{min-height:128px;padding:8px;border-top:1px solid #e2e8f0;border-right:1px solid #e2e8f0}.cal-day.muted{background:#f8fafc}.cal-event{margin-top:6px;padding:6px 7px;border-radius:7px;background:#d1fae5;border-left:3px solid #10B981;font-size:11px;overflow:hidden}.cal-event small{display:block;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.time-grid{display:grid;background:#fff;border:1px solid #e2e8f0;overflow:auto}.time-grid.week{grid-template-columns:repeat(7,minmax(155px,1fr))}.time-grid.day{grid-template-columns:1fr}.time-day{border-right:1px solid #e2e8f0}.time-day h4{position:sticky;top:0;margin:0;padding:10px;background:#f8fafc;text-align:center;z-index:2}.time-slot{min-height:62px;border-top:1px solid #e2e8f0;padding:5px}.time-slot>span{font-size:10px;color:#94A3B8}.kanban{display:grid;grid-template-columns:repeat(7,minmax(220px,1fr));gap:12px;overflow:auto;padding-bottom:8px}.kanban section{background:#e8eef5;border-radius:12px;padding:10px;min-height:420px}.kanban h3{display:flex;justify-content:space-between;font-size:13px;margin:3px 3px 10px}.kanban h3 span{background:#fff;border-radius:999px;padding:2px 7px}.kanban article{display:grid;gap:5px;background:#fff;border-radius:9px;padding:11px;margin-bottom:8px}.kanban article small,.kanban article time{color:#64748b;font-size:11px}.kanban-empty{color:#94A3B8;font-size:12px;padding:12px 4px}
html.falou-app-page,body.falou-app-page{margin:0!important;padding:0!important;overflow:hidden!important;background:#F1F5F9!important}body.falou-app-page #wpadminbar,body.falou-app-page header:not(.falou header),body.falou-app-page footer:not(.falou footer),body.falou-app-page .site-header,body.falou-app-page .site-footer,body.falou-app-page .entry-header,body.falou-app-page .ast-primary-header-bar,body.falou-app-page #masthead,body.falou-app-page #colophon{display:none!important}body.falou-app-page .site-content,body.falou-app-page .ast-container,body.falou-app-page .content-area,body.falou-app-page .site-main,body.falou-app-page article,body.falou-app-page .entry-content{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}
@media(max-width:1100px){.falou-kpis{grid-template-columns:repeat(2,1fr)}.falou-section-grid{grid-template-columns:1fr}.falou-details{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){html.falou-app-page,body.falou-app-page{overflow:auto!important}.falou.falou-fullscreen{position:relative;display:block;height:auto;min-height:100dvh;overflow:visible}.falou aside{width:100%;height:auto;display:block;padding:14px}.falou-brand img{width:170px}.falou nav{grid-template-columns:repeat(3,1fr);display:grid;max-height:none}.falou-version{display:none}.falou main{width:100%;height:auto;min-height:100dvh;padding:16px;overflow:visible}.falou main>header{position:relative;top:auto;padding:4px 0 12px}.falou-form,.falou-form-short,.falou-form-knowledge{grid-template-columns:1fr}.falou-settings{grid-template-columns:1fr}.falou-settings .wide{grid-column:auto}.calendar-grid{min-width:700px}.calendar-week,.calendar-days{width:700px}.time-grid.week{min-width:1050px}.kanban{grid-template-columns:repeat(7,220px)}.falou #falou-content{overflow-x:auto}}
@media(max-width:520px){.falou nav{grid-template-columns:repeat(2,1fr)}.falou-kpis{grid-template-columns:1fr 1fr}.falou-details{grid-template-columns:1fr}.falou main>header{align-items:flex-start;flex-direction:column}.falou-head-actions{width:100%;justify-content:space-between}}

/* 1.1.1 — Visual homologado e congelado */
:root{--falou-navy:#0F172A;--falou-green:#10B981;--falou-turq:#2DD4BF;--falou-blue:#3B82F6;--falou-bg:#F6F9FC;--falou-line:#E2E8F0;--falou-muted:#64748B}
.falou{background:var(--falou-bg)}
.falou.falou-fullscreen{inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important}
.falou aside{width:232px;flex-basis:232px;padding:18px 15px;background:linear-gradient(180deg,#0F172A 0%,#101b32 100%)}
.falou-brand{padding:0 4px 16px}.falou-brand img{width:184px}
.falou-nav-item{display:flex;align-items:center;min-height:43px;padding:10px 12px;font-size:14px}
.falou-nav-item.active{background:rgba(45,212,191,.16);color:#2DD4BF}
.falou main{width:calc(100vw - 232px)!important;padding:0 28px 34px!important;background:linear-gradient(135deg,#f8fbff 0%,#f3f7fb 100%)}
.falou-topbar{top:0!important;margin:0 -28px!important;padding:13px 28px!important;min-height:68px;border-bottom:1px solid var(--falou-line);background:rgba(255,255,255,.96)!important;backdrop-filter:blur(8px)}
.falou-greeting{display:grid;gap:3px;min-width:245px}.falou-greeting strong{font-size:18px}.falou-greeting small{color:var(--falou-muted)}
.falou-search{height:40px;max-width:440px;flex:1;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--falou-line);border-radius:10px;background:#fff}
.falou-search input{border:0!important;outline:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}.falou-search kbd{white-space:nowrap;border:1px solid var(--falou-line);border-radius:6px;padding:3px 6px;color:var(--falou-muted);background:#f8fafc;font-size:11px}
.falou-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#e8eef5;font-weight:700;color:#475569}
.falou-page-title{padding:18px 0 10px}.falou-page-title h1{margin:0;font-size:29px}
.falou #falou-feedback{min-height:0}.falou-dashboard-head{margin-bottom:14px}.falou-dashboard-head h2{font-size:23px}
.card,.falou-list,.falou-panel,.falou-table-wrap,.falou-form{box-shadow:0 5px 18px rgba(15,23,42,.045);border:1px solid rgba(226,232,240,.82)}
.falou-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.card{min-height:106px;padding:20px;border-left-width:3px}.card p{font-size:27px;font-weight:700}
.falou-section-grid{grid-template-columns:minmax(0,2fr) minmax(340px,.9fr);gap:16px}.falou-list{padding:18px}.falou-list h3{font-size:20px}
.falou table{table-layout:auto}.falou th{background:#fbfdff}.falou th,.falou td{padding:13px 14px}.falou-table-wrap{overflow:auto}
.falou-quick{display:grid;grid-template-columns:1fr 1fr}.falou-quick button{text-align:left;min-height:42px}
.falou-status,.falou-net{background:#d1fae5;color:#065f46;border:0}.falou-net{background:#ecfdf5}
.falou-form button,.falou-settings button{background:var(--falou-green)}
.kanban section,.calendar-head,.calendar-week,.calendar-days,.time-grid{box-shadow:0 4px 16px rgba(15,23,42,.035)}
@media(max-width:1100px){.falou-search{max-width:330px}.falou-greeting{min-width:180px}.falou-section-grid{grid-template-columns:1fr}.falou-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.falou main{width:100%!important;padding:12px 15px 30px!important}.falou-topbar{margin:-12px -15px 0!important;padding:12px 15px!important}.falou-search{order:3;max-width:none;width:100%;flex-basis:100%}.falou-topbar{flex-wrap:wrap}.falou-greeting{min-width:0}.falou-head-actions{margin-left:auto}.falou-page-title{padding-top:15px}}

/* 1.1.2 — correção de fidelidade visual + busca incremental */
.falou aside{width:232px!important;flex:0 0 232px!important;padding:18px 14px!important}
.falou main{width:calc(100vw - 232px)!important;padding:0 28px 34px!important}
.falou-brand img{width:185px!important}
.falou-nav-item{gap:11px!important;font-size:15px!important;min-height:45px!important;padding:10px 11px!important}
.falou-nav-icon{width:21px;display:inline-grid;place-items:center;font-size:19px;color:#e2e8f0}
.falou-nav-item.active .falou-nav-icon{color:#2DD4BF}
.falou-topbar{min-height:70px!important;padding:12px 28px!important}
.falou-greeting strong{font-size:19px!important}.falou-greeting small{font-size:12px}
.falou-search-wrap{position:relative;flex:1;max-width:460px;margin-left:auto;margin-right:auto}
.falou-search{max-width:none!important;width:100%;height:42px!important}
.falou-search-results{position:absolute;top:48px;left:0;right:0;z-index:100;background:#fff;border:1px solid #dbe4ee;border-radius:12px;box-shadow:0 18px 45px rgba(15,23,42,.16);padding:6px;max-height:420px;overflow:auto}
.falou-search-results[hidden]{display:none!important}
.falou-search-result{width:100%;border:0;background:#fff;display:grid;grid-template-columns:32px 1fr auto;gap:9px;align-items:center;text-align:left;padding:10px;border-radius:8px;cursor:pointer;color:#0F172A}
.falou-search-result:hover,.falou-search-result.selected{}
.falou-search-result span:nth-child(2){display:grid;gap:2px}.falou-search-result small{color:#64748b}.falou-search-result em{font-style:normal;font-size:11px;color:#94a3b8}.result-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#eefbf6;color:#10B981}.falou-search-empty{padding:16px;color:#64748b}
.falou-page-title{padding:17px 0 12px!important}.falou-page-title h1{font-size:30px!important}
.falou-dashboard-head h2{font-size:24px!important}.falou-kpis{gap:18px!important}.card{min-height:108px!important;border-left:0!important;position:relative;padding:21px!important}.card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;border-radius:14px 0 0 14px;background:#10B981}.card strong{color:#475569}.card p{margin-top:8px!important}
.falou-section-grid{grid-template-columns:minmax(0,2fr) minmax(360px,.9fr)!important;gap:18px!important}
.falou-list{min-height:310px!important;border-radius:14px!important}.falou-ai-state{padding:15px!important}.falou-quick button{min-height:46px!important;font-weight:600}
.falou-table-wrap{box-shadow:none!important}.falou-list .falou-table-wrap{border-radius:9px!important}
@media(max-width:1100px){.falou-search-wrap{max-width:360px}.falou-section-grid{grid-template-columns:1fr!important}}
@media(max-width:800px){.falou-search-wrap{order:3;max-width:none;width:100%;margin:0}.falou main{width:100%!important}}

/* 1.1.3 visual fidelity — referência aprovada */
.falou aside{width:232px!important;flex-basis:232px!important;padding:16px 14px 12px!important;background:linear-gradient(180deg,#0b1730 0%,#101b33 100%)!important}.falou main{width:calc(100vw - 232px)!important;padding:0 28px 28px!important;background:radial-gradient(circle at 55% 10%,#fff 0,#f8fbfe 32%,#f2f7fb 100%)!important}.falou-brand{padding:0 4px 18px!important}.falou-brand img{width:180px!important}.falou nav{gap:2px!important}.falou-nav-item{min-height:45px!important;border-radius:9px!important;font-size:15px!important;gap:10px!important}.falou-nav-item.active{background:linear-gradient(90deg,rgba(13,148,136,.28),rgba(45,212,191,.14))!important;color:#2dd4bf!important}.falou-nav-icon{font-size:18px!important;color:#e5edf7!important}.falou-side-footer{margin-top:auto;display:grid;gap:7px;text-align:center;color:#94a3b8;font-size:11px}.falou-side-footer b{color:#aab7ca;font-size:11px}.falou-topbar{height:70px!important;min-height:70px!important;margin:0 -28px!important;padding:10px 28px!important;background:rgba(255,255,255,.97)!important}.falou-greeting{min-width:360px!important}.falou-greeting strong{font-size:19px!important}.falou-wave{font-size:20px;margin-right:8px}.falou-search-wrap{max-width:375px!important}.falou-head-actions{gap:12px!important}.falou-avatar{width:44px!important;height:44px!important}.falou-chevron{font-size:18px;color:#64748b}.falou-page-title{padding:16px 0 18px!important}.falou-page-title h1{font-size:31px!important}.falou-dashboard-head{margin-bottom:17px!important}.falou-dashboard-head h2{font-size:24px!important}.falou-dashboard-head .falou-muted{font-size:15px}.falou-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:18px}.metric-card{position:relative;display:grid;grid-template-columns:64px 1fr 20px;align-items:center;gap:14px;min-height:100px;padding:16px 20px;border:1px solid #dfe7ef;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(15,23,42,.06);text-align:left;cursor:pointer;overflow:hidden}.metric-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px}.metric-card.green:before{background:#10b981}.metric-card.blue:before{background:#3b82f6}.metric-card.purple:before{background:#a855f7}.metric-card.orange:before{background:#f97316}.metric-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center}.metric-icon svg,.quick-icon svg,.title-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.metric-card.green .metric-icon{background:#e8fbf4;color:#10b981}.metric-card.blue .metric-icon{background:#eaf4ff;color:#2583f7}.metric-card.purple .metric-icon{background:#f4eaff;color:#9b42ee}.metric-card.orange .metric-icon{background:#fff1e6;color:#f97316}.metric-copy{display:grid;gap:5px}.metric-copy small{font-size:15px;color:#526987}.metric-copy b{font-size:26px}.metric-arrow{font-size:28px;color:#66809c}.falou-home-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(390px,1fr);gap:18px;margin-bottom:18px}.home-panel{background:#fff;border:1px solid #e0e8f0;border-radius:12px;box-shadow:0 5px 18px rgba(15,23,42,.055);padding:16px;min-width:0}.appointments-panel{min-height:315px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.panel-title h3{display:flex;align-items:center;gap:9px;margin:0;font-size:20px}.panel-title>button{border:0;background:transparent;color:#10b981;font-weight:700;cursor:pointer}.title-icon{display:inline-grid;place-items:center;color:#10b981;font-size:22px}.title-icon svg{width:22px;height:22px}.approved-table{border:1px solid #dbe5ee;border-radius:9px;overflow:auto}.approved-table table{width:100%;border-collapse:collapse}.approved-table th{background:#f8fafc!important;color:#58708d!important;font-size:10px!important;text-transform:uppercase!important}.approved-table th,.approved-table td{border-right:1px solid #dbe5ee;border-bottom:1px solid #dbe5ee;padding:12px 13px!important}.approved-table tr:last-child td{border-bottom:0}.status-pill{display:inline-block;padding:5px 10px;border-radius:999px;background:#d9fbea;color:#08a96f;font-weight:700}.more-btn{width:38px;height:32px;border:1px solid #d7e0e9;border-radius:8px;background:#fff;color:#637994}.ai-panel{min-height:315px}.ai-summary{width:100%;display:grid;grid-template-columns:46px 1fr 20px;align-items:center;gap:10px;padding:14px;border:0;border-radius:9px;background:linear-gradient(90deg,#e9fbf4,#e6faf3);text-align:left;cursor:pointer}.ai-summary span:nth-child(2){display:grid;gap:5px}.ai-summary small{font-size:13px}.ai-summary i{font-style:normal;font-size:25px;color:#637994}.ai-round{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#cff6e6;color:#10b981;font-size:20px}.quick-title{margin:20px 0 10px!important}.title-icon.bolt{color:#0f172a}.falou-quick.approved{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}.falou-quick.approved button{display:flex;align-items:center;gap:10px;min-height:48px!important;padding:7px 11px!important;font-weight:500!important}.quick-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center}.quick-icon svg{width:20px;height:20px}.quick-icon.green{background:#e4fbf2;color:#10b981}.quick-icon.blue{background:#e7f3ff;color:#2583f7}.quick-icon.purple{background:#f4e8ff;color:#a855f7}.quick-icon.orange{background:#fff0e4;color:#f97316}.activities-panel{min-height:150px}.activity-pill{display:inline-block;padding:4px 9px;border-radius:999px;background:#e6f3ff;color:#2380d8;font-weight:600;font-size:12px}
@media(max-width:1200px){.falou-home-grid{grid-template-columns:1fr}.falou-greeting{min-width:250px!important}.falou-search-wrap{max-width:330px!important}}@media(max-width:900px){.falou-metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.falou-metrics{grid-template-columns:1fr 1fr}.falou-home-grid{grid-template-columns:1fr}.falou-side-footer{display:none}}

/* 1.1.4 — Dashboard aprovado: correções finais de interação */
.falou-kpi.card{appearance:none;-webkit-appearance:none;width:100%;text-align:left;color:#0F172A;background:#fff;border:1px solid rgba(226,232,240,.9)!important;border-left:3px solid #10B981!important;border-radius:14px;display:grid;grid-template-columns:58px 1fr 20px;align-items:center;gap:14px;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.falou-kpi.card:nth-child(2){border-left-color:#3B82F6!important}.falou-kpi.card:nth-child(3){border-left-color:#A855F7!important}.falou-kpi.card:nth-child(4){border-left-color:#F97316!important}
.falou-kpi.card:before{display:none!important}.falou-kpi.card:hover,.falou-kpi.card:focus-visible{color:#0F172A!important;transform:translateY(-1px);box-shadow:0 8px 22px rgba(15,23,42,.09)!important;outline:none;}
.falou-kpi.card:hover strong,.falou-kpi.card:hover p,.falou-kpi.card:hover small,.falou-kpi.card:hover .kpi-arrow{color:inherit!important;}
.kpi-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#E8FAF3;color:#10B981;font-size:25px}.falou-kpi:nth-child(2) .kpi-icon{background:#EAF3FF;color:#3B82F6}.falou-kpi:nth-child(3) .kpi-icon{background:#F4EAFE;color:#A855F7}.falou-kpi:nth-child(4) .kpi-icon{background:#FFF0E6;color:#F97316}
.kpi-copy{display:block;min-width:0}.kpi-copy strong{display:block;font-size:14px;font-weight:500;color:#526581}.kpi-copy p{font-size:25px!important;line-height:1;margin:4px 0 0!important;color:#0F172A!important}.kpi-arrow{font-size:28px;color:#718096;justify-self:end}
.falou-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.falou-section-title h3{margin:0!important}.falou-link-action,.falou-see-all{border:0!important;background:transparent!important;color:#10B981!important;font-weight:700;cursor:pointer;padding:7px 4px!important}
.falou-row-action{width:38px;height:34px;border:1px solid #CBD5E1;border-radius:9px;background:#fff;cursor:pointer;font-weight:700;color:#64748B}.falou-row-action:hover{}
.falou-badge{display:inline-block;padding:5px 10px;border-radius:999px;background:#D1FAE5;color:#059669;font-weight:700}
.falou-action-menu{position:absolute;right:8px;top:38px;z-index:60;min-width:185px;background:#fff;border:1px solid #E2E8F0;border-radius:10px;padding:6px;box-shadow:0 12px 30px rgba(15,23,42,.16)}
.falou-action-menu button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:9px 10px;border-radius:7px;cursor:pointer;color:#0F172A}.falou-action-menu button:hover{color:#047857;}

/* 1.1.5 — Tela Início concluída/congelada */
.home-quick-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:13px 16px;background:#fff;border:1px solid #E2E8F0;border-radius:14px;box-shadow:0 5px 18px rgba(15,23,42,.045)}
.quick-strip-title{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:16px}.home-quick-actions{display:flex!important;flex:1;justify-content:flex-end;gap:9px!important}.home-quick-actions button{width:auto!important;min-width:145px!important;min-height:42px!important;padding:8px 13px!important}
.falou-metrics{margin-bottom:18px!important}.home-full-panel{width:100%!important;margin-bottom:18px!important;overflow:visible!important}.appointments-panel{min-height:238px!important}.activities-panel{min-height:0!important}
.home-panel,.appointments-panel,.activities-panel{overflow:visible!important}.approved-table,.falou-table-wrap{overflow-x:auto!important;overflow-y:visible!important}.approved-table table,.falou-table-wrap table{overflow:visible!important}
.falou-action-menu-portal{position:fixed!important;right:auto!important;z-index:2147483646!important;min-width:205px!important;max-height:none!important;overflow:visible!important;background:#fff!important;border:1px solid #E2E8F0!important;border-radius:10px!important;padding:6px!important;box-shadow:0 14px 38px rgba(15,23,42,.22)!important}
.falou-action-menu-portal button{display:block!important;width:100%!important;border:0!important;background:#fff!important;text-align:left!important;padding:10px!important;border-radius:7px!important;cursor:pointer!important;color:#0F172A!important;white-space:nowrap!important}.falou-action-menu-portal button:hover{color:#047857!important;}
@media(max-width:900px){.home-quick-strip{align-items:flex-start;flex-direction:column}.home-quick-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.home-quick-actions button{flex:1 1 180px}}

/* 1.1.6 — Home fiel à referência aprovada */
.falou-dashboard-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:24px!important;margin-bottom:18px!important}
.home-top-actions{display:grid;grid-template-columns:repeat(4,minmax(175px,1fr));gap:16px;min-width:min(820px,62vw)}
.home-top-actions button{height:76px;border:1px solid #e2e8f0;background:#fff;border-radius:11px;box-shadow:0 4px 14px rgba(15,23,42,.045);display:flex;align-items:center;gap:14px;padding:12px 16px;color:#0f172a;font-size:14px;cursor:pointer;text-align:left}
.home-top-actions button:hover,.home-top-actions button:focus-visible{box-shadow:0 7px 20px rgba(15,23,42,.08);transform:translateY(-1px);outline:none;}
.qa-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-size:22px;flex:0 0 48px}.qa-green{background:#e5faf2;color:#10b981}.qa-blue{background:#e9f3ff;color:#3b82f6}.qa-purple{background:#f3e8ff;color:#a855f7}.qa-orange{background:#fff0e6;color:#f97316}
.falou-kpis{margin-bottom:18px}.falou-kpi.card{min-height:102px!important}
.falou-kpi.card .kpi-icon{width:58px;height:58px;font-size:26px}.falou-kpi.card .kpi-copy strong{font-size:15px}.falou-kpi.card .kpi-copy p{font-size:27px!important}
.home-actions,.home-quick-actions,.falou-home-actions{display:none!important}
.falou-list.home-appointments,.falou-home-appointments{width:100%!important}
.falou-list:has(.falou-row-action){overflow:visible!important;min-height:235px!important}
.falou-list:has(.falou-row-action) .falou-table-wrap{overflow-x:auto!important;overflow-y:visible!important}
.falou-action-menu{position:fixed!important;z-index:1000000!important;min-width:230px!important;padding:8px!important;border-radius:11px!important;box-shadow:0 18px 45px rgba(15,23,42,.18)!important}
.falou-action-menu button{display:grid!important;grid-template-columns:25px 1fr;align-items:center;gap:8px;padding:10px 12px!important;font-size:14px}.falou-action-menu button.danger{color:#ef4444!important}.falou-action-menu button.danger:hover{color:#dc2626!important;}.falou-action-menu .am-blue{color:#3b82f6}
.falou main{padding-bottom:18px!important}
.falou-list{min-height:0!important}
.falou-list h3{font-size:20px!important}
.falou-table-wrap table td,.falou-table-wrap table th{vertical-align:middle}
.falou-see-all,.falou-link-action{font-size:13px!important}
.falou-version{line-height:1.7;text-align:center}
@media(max-width:1450px){.home-top-actions{min-width:650px;grid-template-columns:repeat(4,minmax(140px,1fr))}.home-top-actions button{padding:10px}.qa-icon{width:42px;height:42px;flex-basis:42px}}
@media(max-width:1150px){.falou-dashboard-head{align-items:stretch!important;flex-direction:column}.home-top-actions{min-width:0;width:100%}}
@media(max-width:800px){.home-top-actions{grid-template-columns:1fr 1fr}.home-top-actions button{height:64px}}

/* 1.1.7 — fechamento cirúrgico do Início conforme referência */
.home-quick-strip{display:none!important}
.falou-dashboard-head{align-items:center!important;margin-bottom:18px!important}
.home-top-actions{grid-template-columns:repeat(4,190px)!important;min-width:0!important;justify-content:end!important;gap:16px!important}
.home-top-actions button{height:76px!important;padding:10px 15px!important;font-size:14px!important;gap:12px!important}
.home-top-actions .quick-icon{width:48px!important;height:48px!important;flex:0 0 48px!important}
.home-top-actions .quick-icon svg{width:23px!important;height:23px!important}
.falou-metrics{margin-top:0!important;margin-bottom:18px!important}
.metric-card{min-height:102px!important}
.appointments-panel{min-height:236px!important;padding:16px!important}
.activities-panel{padding:16px!important}
.approved-table th,.approved-table td,.falou-table-wrap th,.falou-table-wrap td{padding:11px 13px!important}
.falou-action-menu{overflow:visible!important}
@media(max-width:1450px){.home-top-actions{grid-template-columns:repeat(4,minmax(145px,1fr))!important;width:min(760px,62vw)!important}.home-top-actions button{height:68px!important}.home-top-actions .quick-icon{width:42px!important;height:42px!important;flex-basis:42px!important}}
@media(max-width:1150px){.home-top-actions{width:100%!important;grid-template-columns:repeat(4,1fr)!important}}
@media(max-width:800px){.home-top-actions{grid-template-columns:1fr 1fr!important}}

/* 1.1.8 — Agenda approved visual */
.agenda-v2 h1{font-size:28px;margin:0;color:#0f172a}.agenda-titlebar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.agenda-titlebar p{margin:5px 0 0;color:#64748b}.agenda-new{background:#10b981!important;color:#fff!important;border:0!important;border-radius:9px!important;padding:11px 16px!important;font-weight:700}
.agenda-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.agenda-tabs,.agenda-views{display:flex;background:#e9eef5;padding:3px;border-radius:9px}.agenda-tabs button,.agenda-views button,.agenda-nav button{border:0;background:transparent;padding:8px 14px;border-radius:7px;cursor:pointer;color:#334155}.agenda-tabs button.active,.agenda-views button.active{background:#fff;color:#059669;box-shadow:0 1px 4px rgba(15,23,42,.09)}.agenda-nav{display:flex;gap:6px}.agenda-nav button{background:#fff;border:1px solid #dbe3ee}
.agenda-filterbar{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;margin-bottom:12px}.agenda-filterbar select{height:40px;border:1px solid #dbe3ee;border-radius:8px;background:#fff;padding:0 10px;color:#334155}
.agenda-card{background:#fff;border:1px solid #e2e8f0;border-radius:13px;box-shadow:0 3px 12px rgba(15,23,42,.035);overflow:hidden}.agenda-card-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #e2e8f0}.agenda-card-head h2{font-size:18px;margin:0;color:#0f172a}
.agenda-weekdays{display:grid;grid-template-columns:repeat(7,1fr);background:#f8fafc;border-bottom:1px solid #dbe3ee}.agenda-weekdays div{text-align:center;padding:9px;font-size:11px;font-weight:700;color:#526581}.agenda-month-grid{display:grid;grid-template-columns:repeat(7,1fr);grid-auto-rows:minmax(92px,1fr)}.agenda-day{position:relative;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:7px;min-width:0}.agenda-day:nth-child(7n){border-right:0}.agenda-day.muted{background:#fbfcfe;color:#94a3b8}.agenda-day.today{background:#f0fdf8}.agenda-day.today .agenda-daynum{background:#10b981;color:#fff}.agenda-daynum{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:12px}.agenda-events{display:grid;gap:3px;margin-top:3px}.agenda-event{display:block;width:100%;border:0;border-radius:5px;background:#d1fae5;color:#047857;text-align:left;padding:4px 6px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.agenda-event.status-cancelled{background:#fee2e2;color:#b91c1c}.agenda-event.status-completed{background:#e2e8f0;color:#475569}.agenda-event.status-confirmed{background:#dbeafe;color:#1d4ed8}.agenda-more{border:0;background:transparent;color:#64748b;font-size:10px;text-align:left;cursor:pointer}
.agenda-timeline{display:grid;grid-template-columns:72px repeat(7,minmax(110px,1fr));max-height:620px;overflow:auto}.agenda-time-head,.agenda-day-head{position:sticky;top:0;z-index:2;background:#f8fafc;padding:9px;border-bottom:1px solid #dbe3ee;font-size:11px;font-weight:700;text-align:center}.agenda-time{padding:8px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;color:#64748b;font-size:11px;text-align:right}.agenda-slot{min-height:38px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:2px}.agenda-list-table{overflow:auto}.agenda-list-table table{width:100%;border-collapse:collapse}.agenda-list-table th,.agenda-list-table td{padding:12px;border-bottom:1px solid #e2e8f0;text-align:left}
.agenda-drawer-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.18);z-index:1000000;display:flex;justify-content:flex-end}.agenda-drawer{width:min(430px,94vw);height:100%;background:#fff;padding:24px;box-shadow:-12px 0 35px rgba(15,23,42,.15);position:relative}.agenda-detail{display:grid;gap:5px;margin-top:28px}.agenda-detail span{font-size:12px;color:#64748b;margin-top:12px}.agenda-detail b{font-size:15px}
@media(max-width:1000px){.agenda-filterbar{grid-template-columns:1fr 1fr}.agenda-month-grid{overflow-x:auto}.agenda-titlebar{align-items:flex-start}.agenda-timeline{grid-template-columns:65px repeat(7,140px)}}
@media(max-width:650px){.agenda-titlebar{gap:10px}.agenda-filterbar{grid-template-columns:1fr}.agenda-toolbar{align-items:flex-start;gap:10px;flex-direction:column}.agenda-month{overflow-x:auto}.agenda-weekdays,.agenda-month-grid{min-width:760px}}

/* 1.1.9 — Agenda runtime fix: V2 is now the actual routed Agenda */
.agenda-weekdays>div:first-child,.agenda-weekdays>div:last-child{background:#f8fafc}
.agenda-list-table .falou-row-action{display:inline-grid;place-items:center}

.falou-error{background:#fff;border:1px solid #fecaca;border-radius:12px;padding:22px;color:#0f172a}.falou-error strong{display:block;margin-bottom:5px}.falou-error p{color:#64748b}.falou-error button{border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:9px 13px;cursor:pointer}

.agenda-warning{margin:0 0 12px;padding:10px 12px;border:1px solid #fde68a;background:#fffbeb;color:#92400e;border-radius:8px}.agenda-warning button{float:right;border:0;background:transparent;color:#047857;font-weight:700;cursor:pointer}


/* 1.1.13 — Sistema global de botões FALOU•IA
   Escopo estritamente visual: não altera layout, rotas ou regras de negócio. */
.falou{
 --btn-h:40px;
 --btn-radius:9px;
 --btn-font:14px;
 --btn-primary:#10B981;
 --btn-primary-hover:#059669;
 --btn-primary-active:#047857;
 --btn-text:#0F172A;
 --btn-border:#CBD5E1;
 --btn-danger:#EF4444;
 --btn-danger-bg:#FFF7F7;
 --btn-danger-border:#FECACA;
}

/* Base para botões funcionais do aplicativo */
.falou button:not(.falou-kpi):not(.agenda-event):not(.agenda-more):not(.falou-see-all):not(.falou-link-action){
 font-family:inherit;
 transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease,transform .08s ease;
}
.falou button:focus-visible{
 outline:3px solid rgba(45,212,191,.24)!important;
 outline-offset:2px;
}
.falou button:disabled,
.falou button[aria-disabled="true"]{
 opacity:.52!important;
 cursor:not-allowed!important;
 box-shadow:none!important;
 transform:none!important;
}

/* Primário — salvar, confirmar, criar, novo */
.falou button.primary,
.falou .btn-primary,
.falou button[type="submit"]:not(.danger){
 min-height:var(--btn-h);
 padding:0 16px;
 border:1px solid var(--btn-primary)!important;
 border-radius:var(--btn-radius)!important;
 background:var(--btn-primary)!important;
 color:#fff!important;
 font-weight:700!important;
 line-height:1.2;
 box-shadow:0 2px 5px rgba(16,185,129,.16);
 cursor:pointer;
}
.falou button.primary:hover,
.falou .btn-primary:hover,
.falou button[type="submit"]:not(.danger):hover{border-color:var(--btn-primary-hover)!important;color:#fff!important;box-shadow:0 5px 12px rgba(16,185,129,.20);}
.falou button.primary:active,
.falou .btn-primary:active{
 background:var(--btn-primary-active)!important;
 border-color:var(--btn-primary-active)!important;
 transform:translateY(1px);
}

/* Secundário — voltar, reagendar, ver cliente e ações auxiliares */




/* Destrutivo — cancelar/excluir */




/* Fechar — padrão global de drawers/modais */





/* Drawer Agenda: composição e hierarquia dos botões sem alterar o restante da tela */
.agenda-drawer{padding:26px!important}
.agenda-drawer h2{padding-right:52px!important;margin-top:0!important}





/* Menus de ação também seguem estados consistentes */
.falou-action-menu button,
.falou-action-menu-portal button{
 min-height:38px!important;
 border-radius:8px!important;
 color:#0F172A!important;
}
.falou-action-menu button:hover,
.falou-action-menu-portal button:hover{color:#047857!important;}
.falou-action-menu button.danger,
.falou-action-menu-portal button.danger{color:#DC2626!important}
.falou-action-menu button.danger:hover,
.falou-action-menu-portal button.danger:hover{color:#B91C1C!important;}

/* Botões de alternância da Agenda preservam o layout aprovado */
.agenda-tabs button,.agenda-views button,.agenda-nav button{
 min-height:36px;
 font-weight:600;
}
.agenda-tabs button:hover,.agenda-views button:hover{}
.agenda-tabs button.active,.agenda-views button.active{background:#fff!important;color:#059669!important}
.agenda-nav button:hover{border-color:#CBD5E1!important;color:#0F172A!important;}

@media(max-width:600px){
 
 
}

/* 1.1.14 — Global button runtime contract.
   IMPORTANT: drawers are mounted directly under BODY, outside .falou. */
:root{
 --falou-btn-h:42px;
 --falou-btn-radius:9px;
 --falou-btn-green:#10B981;
 --falou-btn-green-hover:#059669;
 --falou-btn-text:#0F172A;
 --falou-btn-border:#CBD5E1;
}
button.falou-btn{
 box-sizing:border-box!important;
 min-height:var(--falou-btn-h)!important;
 padding:0 16px!important;
 border-radius:var(--falou-btn-radius)!important;
 font:600 14px/1 Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 gap:8px!important;
 cursor:pointer!important;
 transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease,transform .08s ease!important;
 text-decoration:none!important;
}
button.falou-btn-secondary{
 border:1px solid var(--falou-btn-border)!important;
 background:#fff!important;
 color:var(--falou-btn-text)!important;
 box-shadow:0 1px 2px rgba(15,23,42,.05)!important;
}
button.falou-btn-secondary:hover{border-color:#94A3B8!important;box-shadow:0 3px 8px rgba(15,23,42,.08)!important;}
button.falou-btn-danger{
 border:1px solid #FCA5A5!important;
 background:#FFF7F7!important;
 color:#DC2626!important;
 box-shadow:0 1px 2px rgba(220,38,38,.04)!important;
}
button.falou-btn-danger:hover{border-color:#F87171!important;color:#B91C1C!important;}
button.falou-btn:focus-visible,button.falou-btn-close:focus-visible{
 outline:3px solid rgba(45,212,191,.28)!important;
 outline-offset:2px!important;
}
button.falou-btn:active{transform:translateY(1px)!important}
button.falou-btn:disabled{opacity:.5!important;cursor:not-allowed!important;transform:none!important}




.agenda-drawer button.falou-btn-close{
 position:absolute!important;
 top:16px!important;
 right:16px!important;
 width:38px!important;
 height:38px!important;
 min-width:38px!important;
 min-height:38px!important;
 padding:0!important;
 border:1px solid #E2E8F0!important;
 border-radius:50%!important;
 background:#fff!important;
 color:#475569!important;
 display:grid!important;
 place-items:center!important;
 font-size:0!important;
 line-height:1!important;
 box-shadow:0 2px 8px rgba(15,23,42,.08)!important;
 cursor:pointer!important;
}
.agenda-drawer button.falou-btn-close::before{
 content:""!important;
 width:15px!important;
 height:15px!important;
 display:block!important;
 background:
  linear-gradient(45deg,transparent 44%,currentColor 45%,currentColor 55%,transparent 56%),
  linear-gradient(-45deg,transparent 44%,currentColor 45%,currentColor 55%,transparent 56%)!important;
}
.agenda-drawer button.falou-btn-close:hover{border-color:#CBD5E1!important;color:#0F172A!important;box-shadow:0 4px 12px rgba(15,23,42,.10)!important;}
@media(max-width:520px){
 
 
}

/* 1.1.15 — Appointment drawer locked to approved visual reference */

.agenda-drawer-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;padding:0 0 8px!important}
.agenda-drawer-header h2{font-size:21px!important;line-height:1.25!important;margin:0!important;font-weight:750!important;letter-spacing:-.01em!important;color:#0F172A!important}

.agenda-approved-detail{padding-top:4px!important}
.agenda-detail-row{display:grid!important;grid-template-columns:24px 1fr!important;gap:11px!important;align-items:center!important;min-height:55px!important}
.agenda-detail-icon{width:22px!important;height:22px!important;display:grid!important;place-items:center!important;color:#334155!important}
.agenda-detail-icon svg,.agenda-section-label svg,.agenda-approved-actions svg,.agenda-save-full svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.agenda-detail-row small{display:block!important;font-size:10px!important;line-height:1.2!important;color:#64748B!important;margin-bottom:4px!important}
.agenda-detail-row strong{display:block!important;font-size:12px!important;line-height:1.35!important;color:#1E293B!important;font-weight:700!important;overflow-wrap:anywhere!important}
.agenda-status-row{grid-template-columns:24px 1fr!important}
.agenda-status-dot{width:14px!important;height:14px!important;border-radius:50%!important;background:#34C38F!important;justify-self:center!important}
.agenda-status-pill{display:inline-flex!important;align-items:center!important;min-height:28px!important;padding:0 13px!important;border-radius:9px!important;background:#DDF8EB!important;color:#059669!important;font-size:12px!important;font-weight:700!important}
.agenda-observations{border-top:1px solid #E2E8F0!important;margin-top:10px!important;padding-top:15px!important}
.agenda-section-label{display:flex!important;align-items:center!important;gap:8px!important;color:#334155!important;font-size:12px!important;margin-bottom:10px!important}
.agenda-observations textarea{display:block!important;width:100%!important;min-height:76px!important;resize:vertical!important;box-sizing:border-box!important;border:1px solid #D7E0EA!important;border-radius:8px!important;background:#fff!important;padding:11px 12px!important;font:12px/1.4 Inter,system-ui,sans-serif!important;color:#334155!important;outline:none!important}
.agenda-observations textarea::placeholder{color:#94A3B8!important}
.agenda-observations textarea:focus{border-color:#10B981!important;box-shadow:0 0 0 3px rgba(16,185,129,.10)!important}
.agenda-drawer .agenda-approved-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:16px!important;padding-top:16px!important;border-top:1px solid #E2E8F0!important}
.agenda-drawer .agenda-approved-actions button.falou-btn{height:38px!important;min-height:38px!important;padding:0 10px!important;font-size:12px!important;font-weight:700!important}
.agenda-drawer .agenda-approved-actions .agenda-client-full{grid-column:1/-1!important}
.agenda-drawer .agenda-approved-actions svg{width:16px!important;height:16px!important}
.agenda-save-zone{margin-top:17px!important;padding-top:17px!important;border-top:1px solid #E2E8F0!important}
button.falou-btn-primary{border:1px solid #10B981!important;background:#10B981!important;color:#fff!important;box-shadow:0 2px 5px rgba(16,185,129,.18)!important}
button.falou-btn-primary:hover{border-color:#059669!important;}
.agenda-save-full{width:100%!important;height:42px!important;min-height:42px!important;font-size:12px!important;font-weight:700!important}
@media(max-width:520px){
 
 .agenda-drawer .agenda-approved-actions{grid-template-columns:1fr 1fr!important}
 .agenda-drawer .agenda-approved-actions .agenda-client-full{grid-column:1/-1!important}
}

/* 1.1.16 — Global action trigger + appointment action menu standard */




.falou-action-menu-standard{
 position:fixed!important;width:220px!important;padding:7px!important;
 background:#fff!important;border:1px solid #E2E8F0!important;border-radius:12px!important;
 box-shadow:0 14px 32px rgba(15,23,42,.16)!important;z-index:1000002!important;
 box-sizing:border-box!important;
}
.falou-action-menu-standard button{
 width:100%!important;min-height:40px!important;padding:0 10px!important;margin:0!important;
 display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;
 border:0!important;border-radius:8px!important;background:transparent!important;color:#1E293B!important;
 font:600 13px/1 Inter,system-ui,sans-serif!important;text-align:left!important;cursor:pointer!important;
}
.falou-action-menu-standard button:hover{color:#0F172A!important;}
.falou-action-menu-standard button.danger{color:#DC2626!important}
.falou-action-menu-standard button.danger:hover{color:#B91C1C!important;}
.falou-action-menu-standard svg{
 width:18px!important;height:18px!important;flex:0 0 18px!important;
 fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
 stroke-linecap:round!important;stroke-linejoin:round!important;
}
.falou-action-menu-standard button:focus-visible{outline:3px solid rgba(45,212,191,.24)!important;outline-offset:-1px!important}
/* 1.1.17 — Reschedule flow, global button system preserved */
.falou-modal-backdrop{position:fixed!important;inset:0!important;background:rgba(15,23,42,.38)!important;z-index:1000010!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important;box-sizing:border-box!important}
.falou-reschedule-modal{width:min(620px,100%)!important;max-height:calc(100vh - 40px)!important;overflow:auto!important;background:#fff!important;border:1px solid #E2E8F0!important;border-radius:16px!important;box-shadow:0 24px 70px rgba(15,23,42,.24)!important;padding:22px!important;box-sizing:border-box!important;color:#0F172A!important}
.falou-reschedule-modal header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:20px!important;padding-bottom:18px!important;border-bottom:1px solid #E2E8F0!important}
.falou-reschedule-modal header small{color:#10B981!important;font-weight:700!important}.falou-reschedule-modal h2{margin:3px 0 5px!important;font-size:22px!important}.falou-reschedule-modal header p{margin:0!important;color:#64748B!important;font-size:13px!important}
.reschedule-summary{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:10px!important;padding:18px 0!important}.reschedule-summary>div{background:#F8FAFC!important;border:1px solid #E2E8F0!important;border-radius:10px!important;padding:12px!important;min-width:0!important}.reschedule-summary small,.field-label{display:block!important;color:#64748B!important;font-size:10px!important;margin-bottom:5px!important}.reschedule-summary strong{font-size:12px!important;overflow-wrap:anywhere!important}
.reschedule-fields{display:grid!important;grid-template-columns:180px 1fr!important;gap:18px!important;align-items:start!important}.reschedule-fields label{font-size:11px!important;color:#64748B!important}.reschedule-fields input[type=date]{width:100%!important;height:40px!important;margin-top:6px!important;border:1px solid #CBD5E1!important;border-radius:9px!important;padding:0 10px!important;box-sizing:border-box!important;background:#fff!important;color:#0F172A!important}
.reschedule-slots{display:flex!important;flex-wrap:wrap!important;gap:8px!important;min-height:40px!important}.reschedule-slot{height:38px!important;min-width:66px!important;padding:0 13px!important;border:1px solid #CBD5E1!important;border-radius:9px!important;background:#fff!important;color:#334155!important;font-weight:700!important;cursor:pointer!important}.reschedule-slot:hover{border-color:#10B981!important;}.reschedule-slot.is-selected{background:#10B981!important;border-color:#10B981!important;color:#fff!important}.reschedule-empty{width:100%!important;padding:12px!important;border-radius:9px!important;background:#F8FAFC!important;color:#64748B!important;font-size:12px!important}
.reschedule-feedback{min-height:20px!important;padding-top:10px!important;color:#DC2626!important;font-size:12px!important}.falou-reschedule-modal footer{display:flex!important;justify-content:flex-end!important;gap:10px!important;margin-top:8px!important;padding-top:16px!important;border-top:1px solid #E2E8F0!important}.falou-reschedule-modal footer .falou-btn{min-width:150px!important;height:42px!important}.falou-reschedule-modal button:disabled{opacity:.5!important;cursor:not-allowed!important}
@media(max-width:620px){.falou-reschedule-modal{padding:18px!important}.reschedule-summary{grid-template-columns:1fr!important}.reschedule-fields{grid-template-columns:1fr!important}.falou-reschedule-modal footer{flex-direction:column-reverse!important}.falou-reschedule-modal footer .falou-btn{width:100%!important}}

/* 1.1.18 availability diagnostics */
.reschedule-empty{display:flex!important;flex-direction:column!important;gap:9px!important;padding:12px!important;border-radius:9px!important;background:#F8FAFC!important;color:#475569!important;font-size:12px!important}
.reschedule-empty strong{color:#334155!important}
.reschedule-next-dates{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
.reschedule-next-dates button{border:1px solid #CBD5E1!important;background:#fff!important;color:#0F172A!important;border-radius:8px!important;padding:8px 10px!important;cursor:pointer!important;font-weight:650!important}
.reschedule-next-dates button:hover{border-color:#10B981!important;}
.reschedule-next-dates small{display:block!important;margin-top:2px!important;color:#64748B!important;font-weight:500!important}

/* 1.1.19 CLIENTES — módulo isolado; Agenda permanece congelada */
.clients-module{display:grid;gap:16px}.clients-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.clients-heading h2{margin:0;font-size:26px}.clients-heading p{margin:5px 0 0;color:#64748b}.clients-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.clients-kpis>div{background:#fff;border:1px solid #dfe7ef;border-radius:12px;padding:16px 18px;box-shadow:0 4px 14px rgba(15,23,42,.045);display:grid;gap:7px}.clients-kpis span{font-size:13px;color:#64748b}.clients-kpis b{font-size:25px}.clients-controls{display:grid;grid-template-columns:minmax(280px,1fr) 220px;gap:12px;background:#fff;border:1px solid #dfe7ef;border-radius:12px;padding:13px}.clients-search{display:flex;align-items:center;gap:8px;border:1px solid #cbd5e1;border-radius:9px;padding:0 11px;background:#fff}.clients-search input{border:0!important;outline:0!important;box-shadow:none!important;padding:10px 0!important}.clients-table-card{background:#fff;border:1px solid #dfe7ef;border-radius:12px;padding:16px;box-shadow:0 5px 18px rgba(15,23,42,.045)}.clients-table-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.clients-table-head h3{margin:0 0 3px;font-size:19px}.clients-table-head span{font-size:12px;color:#64748b}.clients-table{min-width:1050px}.client-name-cell{display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:0;color:#0f172a;cursor:pointer;text-align:left}.client-name-cell>span:last-child{display:grid;gap:2px}.client-name-cell small{color:#94a3b8;font-size:10px}.client-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#e6faf3;color:#059669;font-weight:800;font-size:12px}.client-avatar.large{width:54px;height:54px;font-size:16px}.client-status{display:inline-flex;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:700}.client-status.is-active{background:#dcfce7;color:#059669}.client-status.is-inactive{background:#f1f5f9;color:#64748b}.client-actions-cell{width:70px}.client-more{display:grid!important;place-items:center!important}.clients-empty{text-align:center;padding:28px;color:#64748b}.client-action-menu{position:fixed;z-index:1000005;min-width:205px;background:#fff;border:1px solid #dbe5ee;border-radius:10px;padding:6px;box-shadow:0 16px 38px rgba(15,23,42,.16)}.client-action-menu button{width:100%;display:flex;align-items:center;gap:10px;border:0;background:#fff;border-radius:7px;padding:10px;text-align:left;cursor:pointer;color:#0f172a}.client-action-menu button:hover{}.client-action-menu svg{width:18px;height:18px;fill:none;stroke:currentColor}.client-drawer{position:fixed;inset:0;z-index:1000006}.client-drawer-backdrop,.client-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.28)}.client-drawer>aside{position:absolute;right:0;top:0;height:100%;width:min(460px,100vw);background:#fff;padding:26px;box-shadow:-14px 0 35px rgba(15,23,42,.12);overflow:auto}.client-drawer-head{display:flex;gap:13px;align-items:center;padding:18px 0 22px;border-bottom:1px solid #e2e8f0}.client-drawer-head small{color:#64748b}.client-drawer-head h2{margin:3px 0 7px;font-size:22px}.client-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.client-detail-grid>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;padding:12px;display:grid;gap:5px}.client-detail-grid small{color:#64748b;font-size:11px}.client-drawer-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.client-history-placeholder{margin-top:22px;border-top:1px solid #e2e8f0;padding-top:18px}.client-history-placeholder h3{margin:0 0 7px}.client-history-placeholder p{margin:0;color:#64748b;line-height:1.5}.client-create-modal{position:fixed;inset:0;z-index:1000007;display:grid;place-items:center;padding:18px}.client-create-modal form{position:relative;width:min(520px,100%);background:#fff;border-radius:14px;padding:24px;box-shadow:0 22px 60px rgba(15,23,42,.22);display:grid;gap:14px}.client-create-modal h2{margin:0}.client-create-modal p{margin:-7px 0 3px;color:#64748b}.client-create-modal label{display:grid;gap:6px;font-size:12px;color:#475569}.client-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:5px}
@media(max-width:900px){.clients-kpis{grid-template-columns:1fr 1fr}.clients-controls{grid-template-columns:1fr}.client-detail-grid{grid-template-columns:1fr}}@media(max-width:620px){.clients-heading{align-items:flex-start;flex-direction:column}.clients-kpis{grid-template-columns:1fr 1fr}.client-drawer-actions{grid-template-columns:1fr}}

/* 1.1.20 CLIENTES COMPLETE — isolated visual contract */
.clients-controls{grid-template-columns:minmax(320px,1fr) 190px 190px!important}
.client-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.client-form-grid label{display:grid;gap:6px;font-size:12px;font-weight:650;color:#475569}.client-form-grid label small{font-weight:500;color:#94a3b8}.client-form-grid .span2{grid-column:1/-1}.client-form-grid input,.client-form-grid select,.client-form-grid textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:9px;padding:10px 11px;background:#fff;color:#0f172a;font:13px Inter,system-ui,sans-serif;outline:0}.client-form-grid input:focus,.client-form-grid select:focus,.client-form-grid textarea:focus{border-color:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.1)}.client-consent{grid-template-columns:20px 1fr!important;align-items:start!important;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;padding:11px!important;font-weight:500!important}.client-consent input{width:16px!important;height:16px!important;padding:0!important}.client-form-feedback{min-height:18px;color:#dc2626;font-size:12px}.client-create-modal form{max-height:min(760px,92vh);overflow:auto}.client-action-menu .danger{color:#dc2626!important}.client-drawer-quick{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:8px;padding:16px 0;border-bottom:1px solid #e2e8f0}.client-tabs{display:flex;gap:2px;overflow-x:auto;border-bottom:1px solid #e2e8f0;margin:0 -4px;padding:0 4px}.client-tabs button{border:0;background:transparent;padding:12px 9px;color:#64748b;font:650 11px Inter,system-ui;white-space:nowrap;border-bottom:2px solid transparent;cursor:pointer}.client-tabs button.active{color:#059669;border-bottom-color:#10b981}.client-tabs small{background:#f1f5f9;border-radius:99px;padding:2px 5px;margin-left:2px}.client-tab-content{padding:18px 0}.client-info-block{border-top:1px solid #e2e8f0;padding-top:15px}.client-info-block h3{font-size:13px;margin:0 0 7px}.client-info-block p{margin:0;color:#475569;font-size:12px;line-height:1.55;white-space:pre-wrap}.client-timeline{display:grid;gap:8px}.client-timeline article{display:grid;grid-template-columns:1fr auto;gap:4px 12px;border:1px solid #e2e8f0;border-radius:9px;padding:11px;background:#fff}.client-timeline article b{font-size:12px}.client-timeline article span{grid-column:1;font-size:11px;color:#64748b}.client-timeline article em{grid-column:2;grid-row:1/3;font-size:10px;color:#64748b;font-style:normal;align-self:center}.client-tab-empty{padding:28px 12px;text-align:center;color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:9px}.clients-empty{display:grid;gap:5px}.clients-empty b{color:#334155}.clients-empty span{font-size:12px}
@media(max-width:900px){.clients-controls{grid-template-columns:1fr 1fr!important}.clients-search{grid-column:1/-1}.client-drawer-quick{grid-template-columns:1fr 1fr}.client-drawer-quick .falou-btn-primary{grid-column:1/-1}}@media(max-width:620px){.client-form-grid{grid-template-columns:1fr}.client-form-grid .span2{grid-column:1}.clients-controls{grid-template-columns:1fr!important}.clients-search{grid-column:1}.client-drawer-quick{grid-template-columns:1fr}.client-drawer-quick .falou-btn-primary{grid-column:1}}


/* =========================================================
   FALOU•IA DESIGN SYSTEM — CANONICAL 1.1.41
   IMPORTANT:
   - #falou-ia-app now exists on the real application root.
   - overlays are appended to document.body, so overlay rules MUST NOT
     depend on #falou-ia-app ancestry.
   ========================================================= */
:root{
 --f-green:#10B981;--f-green-dark:#059669;--f-navy:#0F172A;
 --f-text:#334155;--f-muted:#64748B;--f-border:#CBD5E1;
 --f-danger:#DC2626;--f-danger-bg:#FFF7F7;--f-focus:rgba(16,185,129,.42);
 --f-radius:9px;--f-btn-h:42px;
}

/* Application interaction baseline */
#falou-ia-app :is(button,a,[role="button"],[data-view],[data-action-go],[data-client-view],[data-agenda-event],[data-agenda-actions]){
 -webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;
 transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,color .15s ease,opacity .15s ease!important;
}
#falou-ia-app :is(input,textarea,[contenteditable="true"],[data-text-selectable="true"]){
 -webkit-user-select:text!important;user-select:text!important;
}
#falou-ia-app *::selection{background:transparent!important;color:inherit}
#falou-ia-app :is(input,textarea,[contenteditable="true"],[data-text-selectable="true"])::selection{
 background:#bfdbfe!important;color:#0f172a!important;
}

/* Hover: no blue fill. Feedback is movement/shadow only. */
#falou-ia-app .client-name-cell:hover{
 background:transparent!important;background-image:none!important;color:var(--f-navy)!important;
 transform:scale(1.008)!important;box-shadow:none!important;
}
#falou-ia-app .falou-nav-item:hover:not(.active){
 background:transparent!important;background-image:none!important;color:#fff!important;
 transform:scale(1.01)!important;box-shadow:none!important;
}
#falou-ia-app :is(.clients-table tbody tr,.agenda-list tbody tr,.falou-table tbody tr,.approved-table tbody tr):hover{
 background:transparent!important;background-image:none!important;
 transform:scale(1.001)!important;box-shadow:0 3px 10px rgba(15,23,42,.045)!important;
}
#falou-ia-app .agenda-event:hover{filter:brightness(.985);transform:scale(1.006)!important}

/* Standard buttons */
.falou-btn{
 min-height:var(--f-btn-h)!important;padding:0 16px!important;border-radius:var(--f-radius)!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
 font:650 14px Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;cursor:pointer!important;
}
.falou-btn-primary{
 background:var(--f-green)!important;background-image:none!important;border:1px solid var(--f-green)!important;
 color:#fff!important;box-shadow:0 2px 5px rgba(16,185,129,.16)!important;
}
.falou-btn-primary:hover{
 background:var(--f-green)!important;background-image:none!important;border-color:var(--f-green-dark)!important;
 color:#fff!important;transform:scale(1.018)!important;box-shadow:0 6px 16px rgba(16,185,129,.20)!important;
}
.falou-btn-secondary{
 background:#fff!important;background-image:none!important;border:1px solid var(--f-border)!important;
 color:var(--f-navy)!important;box-shadow:0 1px 2px rgba(15,23,42,.05)!important;
}
.falou-btn-secondary:hover{
 background:#fff!important;background-image:none!important;border-color:#94A3B8!important;
 color:var(--f-navy)!important;transform:scale(1.018)!important;box-shadow:0 5px 13px rgba(15,23,42,.09)!important;
}
.falou-btn-danger{
 background:var(--f-danger-bg)!important;background-image:none!important;border:1px solid #FCA5A5!important;color:var(--f-danger)!important;
}
.falou-btn-danger:hover{
 background:var(--f-danger-bg)!important;background-image:none!important;border-color:#F87171!important;
 color:#B91C1C!important;transform:scale(1.018)!important;box-shadow:0 5px 13px rgba(220,38,38,.08)!important;
}

/* Close button: one global component, including body-level overlays. */
button.falou-btn-close{
 position:absolute!important;top:18px!important;right:18px!important;width:38px!important;height:38px!important;
 min-width:38px!important;min-height:38px!important;padding:0!important;margin:0!important;
 display:grid!important;place-items:center!important;border:1px solid #E2E8F0!important;border-radius:999px!important;
 background:#fff!important;background-image:none!important;color:#475569!important;
 box-shadow:0 2px 7px rgba(15,23,42,.07)!important;cursor:pointer!important;font-size:0!important;line-height:1!important;z-index:10!important;
}
button.falou-btn-close::before{
 content:""!important;width:14px!important;height:14px!important;display:block!important;
 background:linear-gradient(45deg,transparent 44%,currentColor 45%,currentColor 55%,transparent 56%),
 linear-gradient(-45deg,transparent 44%,currentColor 45%,currentColor 55%,transparent 56%)!important;
}
button.falou-btn-close:hover{
 background:#fff!important;background-image:none!important;border-color:#94A3B8!important;color:var(--f-navy)!important;
 transform:scale(1.08)!important;box-shadow:0 5px 14px rgba(15,23,42,.11)!important;
}

/* Action ellipsis: structural dots; works inside the real app root. */
#falou-ia-app button.falou-row-action{
 position:relative!important;width:58px!important;min-width:58px!important;height:36px!important;min-height:36px!important;
 padding:0!important;margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 border:1px solid var(--f-border)!important;border-radius:9px!important;background:#fff!important;background-image:none!important;
 color:var(--f-muted)!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important;cursor:pointer!important;
 font-size:0!important;line-height:0!important;vertical-align:middle!important;
}
#falou-ia-app button.falou-row-action::before{content:none!important;display:none!important}
#falou-ia-app button.falou-row-action>span.falou-ellipsis{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;
 width:auto!important;height:8px!important;position:static!important;transform:none!important;line-height:1!important;
}
#falou-ia-app button.falou-row-action .falou-ellipsis i{
 display:block!important;width:4px!important;height:4px!important;min-width:4px!important;min-height:4px!important;
 border-radius:50%!important;background:#64748b!important;margin:0!important;padding:0!important;
}
#falou-ia-app button.falou-row-action:hover{
 background:#fff!important;background-image:none!important;color:#334155!important;border-color:#94A3B8!important;
 transform:scale(1.035)!important;box-shadow:0 5px 13px rgba(15,23,42,.09)!important;
}
#falou-ia-app button.falou-row-action:hover .falou-ellipsis i{background:#334155!important}
#falou-ia-app .client-actions-cell,
#falou-ia-app .agenda-list-table td:last-child{text-align:center!important;vertical-align:middle!important}

/* Body-level overlay containers: centered, not side drawers. */
.client-drawer,.agenda-drawer-backdrop,.client-create-modal,.falou-reschedule-backdrop{
 position:fixed!important;inset:0!important;display:grid!important;place-items:center!important;
 padding:24px!important;background:rgba(15,23,42,.28)!important;z-index:1000007!important;
}
.client-drawer-backdrop,.client-modal-backdrop{
 position:absolute!important;inset:0!important;background:transparent!important;
}

/* Body-level panels: global 70% desktop contract. */
.client-drawer>aside,
.agenda-drawer,
.agenda-drawer.agenda-drawer-approved,
.client-create-modal form,
.falou-reschedule-modal{
 position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
 transform:none!important;width:70vw!important;max-width:70vw!important;min-width:760px!important;
 height:auto!important;max-height:88vh!important;overflow-y:auto!important;
 margin:0!important;border-radius:14px!important;background:#fff!important;
 box-shadow:0 24px 70px rgba(15,23,42,.22)!important;box-sizing:border-box!important;
}
.agenda-drawer,.agenda-drawer.agenda-drawer-approved{padding:26px!important}
.client-drawer>aside{padding:26px!important}
.client-create-modal form{padding:24px!important}
.falou-reschedule-modal{padding:22px!important}

/* Overlay actions use the same button rules. */
.client-action-menu button:hover,
.falou-action-menu button:hover,
.falou-action-menu-portal button:hover,
.falou-action-menu-standard button:hover,
.agenda-nav button:hover,
.reschedule-slot:hover,
.reschedule-next-dates button:hover{
 background:#fff!important;background-image:none!important;transform:scale(1.012)!important;
 box-shadow:0 4px 11px rgba(15,23,42,.07)!important;
}

/* Focus */
:is(#falou-ia-app,body) :is(button,a,[role="button"],[data-view],[data-client-view]):focus-visible{
 outline:2px solid var(--f-focus)!important;outline-offset:2px!important;
}

@media (min-width:621px) and (max-width:900px){
 .client-drawer,.agenda-drawer-backdrop,.client-create-modal,.falou-reschedule-backdrop{padding:18px!important}
 .client-drawer>aside,.agenda-drawer,.agenda-drawer.agenda-drawer-approved,.client-create-modal form,.falou-reschedule-modal{
  width:88vw!important;max-width:88vw!important;min-width:0!important;max-height:90vh!important;
 }
}
@media (max-width:620px){
 .client-drawer,.agenda-drawer-backdrop,.client-create-modal,.falou-reschedule-backdrop{
  padding:0!important;place-items:stretch!important;
 }
 .client-drawer>aside,.agenda-drawer,.agenda-drawer.agenda-drawer-approved,.client-create-modal form,.falou-reschedule-modal{
  width:100vw!important;max-width:100vw!important;min-width:0!important;height:100vh!important;max-height:100vh!important;
  border-radius:0!important;
 }
}
@media(prefers-reduced-motion:reduce){
 #falou-ia-app *,body>.client-drawer *,body>.agenda-drawer-backdrop *,body>.client-create-modal *{transition:none!important}
}


/* Agenda modal — canonical centered 70% */
.agenda-drawer-backdrop{position:fixed!important;inset:0!important;display:grid!important;place-items:center!important;padding:24px!important;background:rgba(15,23,42,.28)!important;z-index:1000007!important}
.agenda-drawer.agenda-drawer-approved{position:relative!important;inset:auto!important;transform:none!important;width:70vw!important;max-width:70vw!important;min-width:760px!important;height:auto!important;max-height:88vh!important;margin:0!important;padding:26px!important;border-radius:14px!important;background:#fff!important;overflow-y:auto!important;box-sizing:border-box!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}
.agenda-drawer-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;padding:0 0 12px!important}
.agenda-drawer-header h2{margin:0!important;padding-right:54px!important;font-size:21px!important;line-height:1.25!important;font-weight:750!important;color:#0F172A!important}
.agenda-approved-detail{padding-top:4px!important}
.agenda-detail-row{display:grid!important;grid-template-columns:24px 1fr!important;gap:11px!important;align-items:center!important;min-height:55px!important}
.agenda-detail-icon{width:22px!important;height:22px!important;display:grid!important;place-items:center!important;color:#334155!important}
.agenda-detail-icon svg,.agenda-section-label svg,.agenda-approved-actions svg,.agenda-save-full svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.agenda-detail-row small{display:block!important;font-size:10px!important;line-height:1.2!important;color:#64748B!important;margin-bottom:4px!important}
.agenda-detail-row strong{display:block!important;font-size:12px!important;line-height:1.35!important;color:#1E293B!important;font-weight:700!important;overflow-wrap:anywhere!important}
.agenda-status-row{grid-template-columns:24px 1fr!important}.agenda-status-dot{width:14px!important;height:14px!important;border-radius:50%!important;background:#34C38F!important;justify-self:center!important}
.agenda-status-pill{display:inline-flex!important;align-items:center!important;min-height:28px!important;padding:0 13px!important;border-radius:9px!important;background:#DDF8EB!important;color:#059669!important;font-size:12px!important;font-weight:700!important}
.agenda-observations{border-top:1px solid #E2E8F0!important;margin-top:10px!important;padding-top:15px!important}.agenda-section-label{display:flex!important;align-items:center!important;gap:8px!important;color:#334155!important;font-size:12px!important;margin-bottom:10px!important}
.agenda-observations textarea{display:block!important;width:100%!important;min-height:76px!important;resize:vertical!important;box-sizing:border-box!important;border:1px solid #D7E0EA!important;border-radius:8px!important;background:#fff!important;padding:11px 12px!important;font:12px/1.4 Inter,system-ui,sans-serif!important;color:#334155!important;outline:none!important}
.agenda-observations textarea:focus{border-color:#10B981!important;box-shadow:0 0 0 3px rgba(16,185,129,.10)!important}
.agenda-drawer .agenda-approved-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin-top:16px!important;padding-top:16px!important;border-top:1px solid #E2E8F0!important}
.agenda-drawer .agenda-approved-actions button.falou-btn{width:100%!important;height:42px!important;min-height:42px!important;padding:0 14px!important;border-radius:9px!important;font-size:12px!important;font-weight:700!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
.agenda-drawer .agenda-approved-actions .agenda-client-full{grid-column:auto!important}
.agenda-drawer .agenda-approved-actions button[data-agenda-reschedule]{background:#fff!important;border:1px solid #CBD5E1!important;color:#334155!important}
.agenda-drawer .agenda-approved-actions button[data-agenda-reschedule] svg{color:#10B981!important}
.agenda-drawer .agenda-approved-actions button[data-agenda-cancel]{background:#FFF7F7!important;border:1px solid #FCA5A5!important;color:#DC2626!important}
.agenda-drawer .agenda-approved-actions button[data-view="clientes"]{background:#fff!important;border:1px solid #CBD5E1!important;color:#334155!important}
.agenda-drawer .agenda-approved-actions button:hover{transform:scale(1.015)!important;box-shadow:0 5px 13px rgba(15,23,42,.08)!important}
.agenda-save-zone{margin-top:17px!important;padding-top:17px!important;border-top:1px solid #E2E8F0!important}.agenda-save-full{width:100%!important;height:42px!important;min-height:42px!important;font-size:12px!important;font-weight:700!important}
@media (min-width:621px) and (max-width:900px){.agenda-drawer.agenda-drawer-approved{width:88vw!important;max-width:88vw!important;min-width:0!important;max-height:90vh!important}.agenda-drawer .agenda-approved-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:620px){.agenda-drawer-backdrop{padding:0!important;place-items:stretch!important}.agenda-drawer.agenda-drawer-approved{width:100vw!important;max-width:100vw!important;min-width:0!important;height:100vh!important;max-height:100vh!important;border-radius:0!important}.agenda-drawer .agenda-approved-actions{grid-template-columns:1fr!important}}

/* 1.1.42 exact viewport centering */
.agenda-drawer-backdrop{display:flex!important;justify-content:center!important;align-items:center!important;align-content:center!important;box-sizing:border-box!important}.agenda-drawer.agenda-drawer-approved{flex:0 0 auto!important;margin:auto!important}@media(max-width:620px){.agenda-drawer-backdrop{justify-content:stretch!important;align-items:stretch!important}.agenda-drawer.agenda-drawer-approved{margin:0!important}}


/* ===== FALOU.IA KANBAN — approved visual reference 1.2.0 ===== */
.kanban-page{margin-top:-12px;padding:0 18px 24px;min-width:0;color:#0f172a}
.kanban-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.kanban-page-head h2{font-size:30px;line-height:1.05;margin:0 0 6px;font-weight:800;letter-spacing:-.025em}.kanban-page-head p{margin:0;color:#64748b;font-size:14px}.kanban-head-actions{display:flex;align-items:center;gap:16px}.kanban-new{height:42px;padding:0 20px!important;border-radius:8px!important;font-weight:700!important;box-shadow:0 5px 12px rgba(16,185,129,.18)}.kanban-settings,.kanban-refresh{width:42px;height:42px;border:0;border-radius:12px;background:#f1f5f9;color:#334155;font-size:18px;display:grid;place-items:center;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.kanban-settings:hover,.kanban-refresh:hover{transform:scale(1.035);box-shadow:0 5px 14px rgba(15,23,42,.08);background:#f1f5f9!important;color:#334155!important}
.kanban-filters{display:grid;grid-template-columns:minmax(250px,1.35fr) repeat(4,minmax(170px,.95fr)) auto 42px;gap:8px;align-items:center;margin-bottom:22px}.kanban-filters input,.kanban-filters select{height:42px;border:1px solid #dbe4ef;border-radius:8px;background:#fff;color:#334155;padding:0 12px;font:inherit;outline:none;box-shadow:0 1px 3px rgba(15,23,42,.025)}.kanban-filters select{width:100%;appearance:auto}.kanban-search{position:relative}.kanban-search span{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#64748b}.kanban-search input{width:100%;padding-left:34px}.kanban-clear{height:42px;padding:0 18px;border:1px solid #dbe4ef;border-radius:8px;background:#fff;color:#334155;font-weight:650;cursor:pointer;white-space:nowrap;transition:transform .15s ease,box-shadow .15s ease}.kanban-clear:hover{background:#fff!important;color:#334155!important;transform:scale(1.02);box-shadow:0 4px 12px rgba(15,23,42,.06)}
.kanban-board{display:grid;grid-template-columns:repeat(7,minmax(218px,1fr));gap:10px;overflow-x:auto;padding:0 0 10px;scrollbar-width:thin}.kanban-column{min-height:590px;border-radius:13px;overflow:hidden;border:1px solid rgba(203,213,225,.45);display:flex;flex-direction:column}.kanban-column>header{padding:16px 14px 14px;min-height:72px}.kanban-column>header>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.kanban-column h3{margin:0;font-size:16px;line-height:1.2;font-weight:800}.kanban-column>header small{display:block;margin-top:8px;font-size:12px;font-weight:700}.kanban-count{min-width:25px;height:25px;border-radius:999px;display:grid;place-items:center;font-size:12px;font-weight:800;background:rgba(15,23,42,.09)}
.col-new{background:#f3f6fa}.col-new>header{background:linear-gradient(135deg,#f1f5f9,#e9eef5)}.col-in_service{background:#eef7ff}.col-in_service>header{background:linear-gradient(135deg,#e8f4ff,#dceeff);color:#0b64c0}.col-qualified{background:#fff9e9}.col-qualified>header{background:linear-gradient(135deg,#fff8df,#fff2c4);color:#a96c00}.col-scheduled{background:#edfff7}.col-scheduled>header{background:linear-gradient(135deg,#dcfaeb,#cdf6e1);color:#075d3b}.col-attended{background:#f7f2ff}.col-attended>header{background:linear-gradient(135deg,#f0e8ff,#e8ddff);color:#4c1d95}.col-converted{background:#edfff5}.col-converted>header{background:linear-gradient(135deg,#d9fae8,#cdf4df);color:#075d3b}.col-lost{background:#fff3f3}.col-lost>header{background:linear-gradient(135deg,#ffe5e5,#ffd8d8);color:#b91c1c}
.col-scheduled .kanban-avatar,.col-converted .kanban-avatar,.col-lost .kanban-avatar{background:#d9f8ea;color:#087b53}.kanban-avatar.photo{background:linear-gradient(145deg,#cbd5e1,#f8fafc);color:#334155}.kanban-source i{font-style:normal;font-weight:800}.source-whatsapp{color:#8a5c46}.source-whatsapp i{color:#16a34a}.source-instagram{color:#e11d48}.source-site{color:#2563eb}.source-telefone{color:#b45309}.kanban-date.is-lost{color:#ef4444;display:flex;gap:6px;align-items:center}.kanban-time{font-size:11px;color:#64748b}.kanban-owner{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700;color:#334155}.kanban-owner i{width:22px;height:22px;border-radius:50%;background:#e2e8f0;display:grid;place-items:center;font-style:normal;font-size:10px}.stage-new{background:#d8f7ea;color:#087b53}.stage-in_service{background:#dceeff;color:#0969c5}.stage-qualified{background:#fff1c2;color:#b87900}.stage-scheduled{background:#d7f8e8;color:#0a8b5c}.stage-attended{background:#e8ddff;color:#6d28d9}.stage-converted{background:#d6f7e5;color:#087b53}.stage-lost{background:#ffdede;color:#dc2626}
@media(max-width:1400px){.kanban-filters{grid-template-columns:minmax(240px,1.3fr) repeat(4,minmax(155px,.9fr)) auto 42px}.kanban-board{grid-template-columns:repeat(7,230px)}}
@media(max-width:900px){.kanban-page{padding:0 12px 20px}.kanban-page-head{flex-direction:column}.kanban-head-actions{width:100%;justify-content:space-between}.kanban-filters{grid-template-columns:1fr 1fr}.kanban-search{grid-column:1/-1}.kanban-board{grid-template-columns:repeat(7,260px)}}
@media(max-width:560px){.kanban-filters{grid-template-columns:1fr}.kanban-search{grid-column:auto}.kanban-board{grid-template-columns:repeat(7,82vw)}.kanban-new{flex:1}.kanban-page-head h2{font-size:26px}}


/* KANBAN 1.2.1 structural overrides removed in 1.2.2 after consolidation. */
/* 70% centered opportunity overlay — system overlay standard */
.kanban-opportunity-backdrop{position:fixed;inset:0;z-index:1000005;background:rgba(15,23,42,.28);backdrop-filter:blur(1.5px);display:flex;align-items:center;justify-content:center;padding:18px}.kanban-opportunity-modal{width:70vw;max-width:1320px;height:min(82vh,820px);max-height:calc(100dvh - 36px);background:#fff;border:1px solid #dbe4ef;border-radius:16px;box-shadow:0 24px 70px rgba(15,23,42,.24);display:flex;flex-direction:column;overflow:hidden;color:#0f172a}.kanban-modal-head{flex:0 0 auto;min-height:88px;padding:16px 20px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;gap:16px}.kanban-modal-person{display:flex;align-items:center;gap:13px;min-width:0}.kanban-modal-person>.kanban-avatar{width:48px;height:48px;font-size:17px}.kanban-modal-titleline{display:flex;align-items:center;gap:10px}.kanban-modal-titleline h2{margin:0;font-size:21px}.kanban-modal-person p{margin:5px 0 0;color:#64748b;font-size:12px}.kanban-stage-badge{border-radius:999px;padding:6px 10px;font-size:10px;font-weight:800}.kanban-modal-head-actions{display:flex;align-items:center;gap:8px}.kanban-modal-head-actions button:not(.falou-overlay-close){height:38px;border:1px solid #dbe4ef;border-radius:9px;background:#fff;padding:0 14px;font-weight:700;color:#334155}.kanban-modal-head-actions .falou-btn-primary{background:#10B981!important;color:#fff!important;border-color:#10B981!important}.kanban-modal-more{width:40px!important;padding:0!important;letter-spacing:1px}.kanban-modal-grid{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(360px,1.45fr) minmax(240px,.95fr);flex:1 1 auto;min-height:0}.kanban-client-pane,.kanban-history-pane,.kanban-conversation-pane{min-width:0;min-height:0}.kanban-client-pane,.kanban-history-pane{padding:16px 18px;overflow-y:auto}.kanban-client-pane{border-right:1px solid #e2e8f0}.kanban-history-pane{border-left:1px solid #e2e8f0}.kanban-conversation-pane{display:flex;flex-direction:column;background:#f8fafc}.kanban-pane-title{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px}.kanban-pane-title h3,.kanban-history-title h3{margin:0;font-size:13px}.kanban-pane-title button,.kanban-history-title button{border:1px solid #dbe4ef;background:#fff;color:#0969c5;border-radius:8px;min-height:32px;padding:0 10px;font-weight:700;font-size:11px}.kanban-pane-title>div{display:flex;gap:5px}.kanban-client-profile{display:flex;align-items:center;gap:12px;margin:17px 0}.kanban-client-profile>.kanban-avatar{width:50px;height:50px;font-size:17px}.kanban-client-profile strong{font-size:16px}.kanban-client-data{display:grid;gap:11px;margin:0 0 18px}.kanban-client-data>div{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center}.kanban-client-data dt{color:#64748b}.kanban-client-data dd{margin:0;color:#475569;font-size:12px;overflow-wrap:anywhere}.kanban-client-pane h4{font-size:12px;margin:14px 0 9px}.kanban-tags{display:flex;gap:6px;flex-wrap:wrap}.kanban-tags span{padding:6px 10px;border-radius:999px;background:#dceeff;color:#0969c5;font-size:10px;font-weight:700}.kanban-tags .green{background:#d8f7ea;color:#087b53}.kanban-tags .red{background:#ffe1e1;color:#dc2626}.kanban-add-tag{margin-top:8px;border:0;background:#eef6ff;color:#0969c5;border-radius:999px;padding:7px 11px;font-size:10px;font-weight:700}.kanban-internal-title{display:flex;justify-content:space-between;align-items:center;margin-top:26px}.kanban-internal-title h4{margin:0}.kanban-internal-note{margin-top:9px;padding:12px;border:1px solid #fde7a8;border-radius:9px;background:#fff9e8;font-size:11px;line-height:1.55}.kanban-conversation-pane>.kanban-pane-title{padding:12px 14px;background:#fff;border-bottom:1px solid #e2e8f0}.kanban-channel{color:#334155!important}.kanban-icon-only{width:32px;padding:0!important;border:0!important}.kanban-chat-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:14px 16px}.kanban-chat-day{width:max-content;margin:0 auto 12px;padding:5px 12px;background:#e2e8f0;border-radius:999px;font-size:10px;color:#475569}.kanban-chat-row{display:flex;align-items:flex-start;gap:8px;margin:0 0 12px}.kanban-chat-row>div{max-width:78%;background:#fff;border-radius:12px;padding:10px 11px;box-shadow:0 1px 3px rgba(15,23,42,.05)}.kanban-chat-row p{margin:0;font-size:11px;line-height:1.45}.kanban-chat-row small{display:block;text-align:right;margin-top:4px;color:#64748b;font-size:9px}.kanban-chat-row.outgoing{justify-content:flex-end}.kanban-chat-row.outgoing>div{background:#d9f8e8}.kanban-mini-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#dff1ff;color:#0870d1;font-size:10px;font-weight:800;flex:0 0 auto}.kanban-chat-compose{display:grid;grid-template-columns:34px minmax(0,1fr) 34px 38px;gap:6px;padding:10px 12px;background:#fff;border-top:1px solid #e2e8f0}.kanban-chat-compose input{height:38px!important;padding:0 10px!important}.kanban-chat-compose button{height:38px;border:1px solid #dbe4ef;background:#fff;border-radius:8px}.kanban-chat-compose .send{background:#e9f1f8;color:#64748b}.kanban-next-appointment{margin:12px 0 22px;padding:14px;border:1px solid #e2e8f0;border-radius:10px;display:grid;gap:5px}.kanban-next-appointment b{font-size:12px}.kanban-next-appointment span{font-size:10px;color:#64748b;line-height:1.4}.kanban-history-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.kanban-history-title button{border:0;background:transparent;color:#0969c5;font-size:10px;font-weight:700}.kanban-history-list{position:relative;display:grid;gap:0}.kanban-history-list:before{content:"";position:absolute;left:5px;top:8px;bottom:18px;width:1px;background:#cbd5e1}.kanban-history-list article{position:relative;display:grid;grid-template-columns:14px minmax(0,1fr);gap:8px;padding-bottom:17px}.kanban-history-list i{position:relative;z-index:1;width:10px;height:10px;margin-top:3px;border-radius:50%;background:#3b82f6;border:2px solid #fff;box-shadow:0 0 0 1px #3b82f6}.kanban-history-list i.green{background:#10b981;box-shadow:0 0 0 1px #10b981}.kanban-history-list b{display:block;font-size:11px}.kanban-history-list span,.kanban-history-list small{display:block;margin-top:3px;color:#64748b;font-size:10px;line-height:1.35}
@media(max-width:1200px){.kanban-opportunity-modal{width:88vw}.kanban-modal-grid{grid-template-columns:240px minmax(340px,1fr) 250px}}
@media(max-width:900px){.kanban-opportunity-backdrop{padding:0}.kanban-opportunity-modal{width:100vw;height:100dvh;max-height:none;border-radius:0}.kanban-modal-head{align-items:flex-start}.kanban-modal-grid{grid-template-columns:1fr;overflow-y:auto}.kanban-client-pane,.kanban-history-pane{border:0}.kanban-conversation-pane{min-height:520px}.kanban-modal-head-actions .kanban-move,.kanban-modal-head-actions .falou-btn-primary,.kanban-modal-more{display:none}}


/* ===== FALOU.IA KANBAN 1.2.2 — canonical structural rules ===== */
.kanban-page{margin-top:-8px!important;padding:0 18px 10px!important;display:flex!important;flex-direction:column!important;min-height:430px!important;overflow:hidden!important;box-sizing:border-box!important}
.kanban-page-head{position:relative!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;min-height:38px!important;margin:0 0 8px!important}.kanban-page-head>p{margin:0!important;padding-top:0!important;font-size:14px!important;line-height:20px!important}.kanban-head-actions{position:absolute!important;right:0!important;top:-55px!important;bottom:auto!important;margin:0!important;display:flex!important;align-items:center!important;gap:10px!important}.kanban-new,.kanban-settings{height:42px!important}.kanban-settings{width:42px!important;display:grid!important;place-items:center!important;padding:0!important}.kanban-settings>span{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;line-height:1!important}
.kanban-filters{flex:0 0 auto!important;margin:0 0 12px!important}.kanban-board-shell{position:relative!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}.kanban-board{--kb-gap:10px;display:grid!important;grid-template-columns:repeat(7,minmax(0,calc((100% - (4 * var(--kb-gap)))/5)))!important;gap:var(--kb-gap)!important;width:100%!important;height:100%!important;min-height:0!important;overflow-x:auto!important;overflow-y:hidden!important;align-items:stretch!important;padding:0 0 10px!important;scrollbar-width:thin!important;box-sizing:border-box!important}
.kanban-column{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}.kanban-column>header{flex:0 0 auto!important;min-height:78px!important;padding:16px 16px 14px!important;box-sizing:border-box!important}.kanban-column>header>div{min-height:25px!important}.kanban-column h3{font-size:16px!important;line-height:22px!important}.kanban-column>header small{margin-top:7px!important;line-height:16px!important}
.kanban-edge{display:none!important}.kanban-edge-zone{position:absolute;z-index:20;top:0;bottom:10px;width:54px;display:flex;align-items:center;pointer-events:none}.kanban-edge-zone-left{left:0;justify-content:flex-start}.kanban-edge-zone-right{right:0;justify-content:flex-end}.kanban-edge-zone.can-scroll{pointer-events:auto}.kanban-edge-zone.can-scroll:hover 
@media(max-width:1200px) and (min-width:901px){.kanban-board{grid-template-columns:repeat(7,minmax(220px,calc((100% - 40px)/5)))!important}}@media(max-width:900px){.kanban-page{height:auto!important;min-height:calc(100dvh - 110px)!important;overflow:visible!important}.kanban-head-actions{position:static!important;margin:0!important}.kanban-board{grid-template-columns:repeat(7,260px)!important}.kanban-edge-zone{display:none!important}}@media(max-width:560px){.kanban-board{grid-template-columns:repeat(7,82vw)!important}}

/* ===== FALOU.IA KANBAN 1.2.3 — hard maximum five visible desktop columns ===== */
@media(min-width:901px){
 .kanban-board{--kb-gap:10px!important;display:flex!important;flex-flow:row nowrap!important;gap:var(--kb-gap)!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important}
 .kanban-column{flex:0 0 var(--kb-col-width,calc((100% - 40px)/5))!important;width:var(--kb-col-width,calc((100% - 40px)/5))!important;min-width:var(--kb-col-width,calc((100% - 40px)/5))!important;max-width:var(--kb-col-width,calc((100% - 40px)/5))!important;scroll-snap-align:start!important}
 .kanban-column>header>div{display:grid!important;grid-template-columns:minmax(0,1fr) 28px!important;align-items:start!important;gap:8px!important}
 .kanban-column h3{white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
}

/* ===== FALOU.IA KANBAN 1.2.4 — main-scroll stops at column headers ===== */
@media(min-width:901px){
 .kanban-page{height:auto!important;min-height:0!important;overflow:visible!important}
 .kanban-board-shell{position:sticky!important;top:var(--kb-sticky-top,72px)!important;flex:0 0 auto!important;height:calc(100dvh - var(--kb-sticky-top,72px) - 10px)!important;min-height:430px!important;overflow:hidden!important;z-index:4}
 .kanban-board{height:100%!important}
 .kanban-column{height:100%!important;max-height:100%!important}
}


/* FALOU IA 1.2.10 — authoritative Kanban card rules */
.kanban-stack{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:16px 14px 14px!important;scrollbar-width:thin!important;overscroll-behavior:contain!important;box-sizing:border-box!important}
.kanban-card{flex:0 0 auto!important;background:#fff!important;border:1px solid #e6edf5!important;border-radius:11px!important;padding:0!important;box-sizing:border-box!important;overflow:hidden!important;box-shadow:0 3px 10px rgba(15,23,42,.045)!important;outline:none!important;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important}
.kanban-card:hover,.kanban-card:focus-visible{transform:scale(1.018)!important;box-shadow:0 8px 20px rgba(15,23,42,.08)!important;border-color:#d7e2ee!important;background:#fff!important;color:inherit!important}
.kanban-card-head{display:grid!important;grid-template-columns:40px minmax(0,1fr) 28px!important;gap:12px!important;align-items:start!important;margin:0!important;padding:0!important}
.kanban-avatar{width:40px!important;height:40px!important}
.kanban-person{min-width:0!important;padding:1px 0 0!important}
.kanban-person strong{display:block!important;font-size:13px!important;line-height:18px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.kanban-person span{display:block!important;font-size:12px!important;margin-top:4px!important;line-height:17px!important;color:#334155!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.kanban-more{width:28px!important;height:28px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#64748b!important;box-shadow:none!important}
.kanban-source{display:flex!important;align-items:center!important;gap:8px!important;margin-top:18px!important;line-height:18px!important;font-size:12px!important}
.kanban-date,.kanban-message,.kanban-value{margin-top:17px!important}
.kanban-message{margin-bottom:0!important;font-size:12px!important;line-height:18px!important;color:#64748b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.kanban-card-foot{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;margin-top:19px!important;min-height:22px!important}
.kanban-add{flex:0 0 46px!important}

/* FALOU IA 1.2.11 — respiro INTERNO real entre a borda branca e o conteúdo */
.kanban-card-inner{display:block!important;width:100%!important;box-sizing:border-box!important;padding:16px!important;margin:0!important}
.kanban-card-inner>.kanban-card-head,
.kanban-card-inner>.kanban-source,
.kanban-card-inner>.kanban-date,
.kanban-card-inner>.kanban-message,
.kanban-card-inner>.kanban-value,
.kanban-card-inner>.kanban-card-foot{box-sizing:border-box!important;max-width:100%!important}
.kanban-card-inner .kanban-more{margin:0!important}


/* FALOU IA 1.2.12 — edge hint appears only while edge auto-scroll is active */
.kanban-auto-scroll-indicator{
 position:fixed!important;z-index:99990!important;width:44px!important;height:56px!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 border-radius:12px!important;background:#0f172a!important;color:#fff!important;
 font-size:32px!important;line-height:1!important;box-shadow:0 8px 24px rgba(15,23,42,.18)!important;
 opacity:0!important;visibility:hidden!important;pointer-events:none!important;
 transform:translateY(-50%) scale(.94)!important;
 transition:opacity .12s ease,transform .12s ease,visibility .12s ease!important
}
.kanban-auto-scroll-indicator.is-visible{opacity:.88!important;visibility:visible!important;transform:translateY(-50%) scale(1)!important}
