/* Identidade e ritmo comuns às telas existentes. Sem fontes ou recursos externos. */
:root{--tella-ink:#183e45;--tella-muted:#61777e;--tella-accent:#127a7b;--tella-border:#dce7e7;--tella-surface:#fff;--tella-background:#f4f7f8;--tella-radius:12px}
html{scrollbar-gutter:stable}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--tella-ink);background:var(--tella-background)}
button,input,select,textarea{font-family:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #40b5af;outline-offset:3px}button:disabled{cursor:default;opacity:.55}
.app-shell{display:flex;flex-direction:column;min-height:100dvh}.app-shell>.topbar{flex-shrink:0}.app-shell>.workspace{margin:0 auto;flex:1;padding:28px 32px 0;max-width:1500px}
.topbar{height:72px;padding:0 32px;box-shadow:none}.topnav{height:72px!important}.topnav [data-slot=tabs-trigger]{height:72px;min-width:84px}.brand{min-width:180px}.brand-sdr{font-size:11px;letter-spacing:1.2px}.account-caption{font-size:13px}
.page-heading{margin-bottom:24px;align-items:center}.page-heading h1{font-size:28px;letter-spacing:-.7px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:#687f89}.heading-actions{gap:8px}.heading-actions .demo-toggle{font-size:12px;color:#5d7780}.heading-actions .btn{min-height:40px}
.btn{font-family:inherit;border-radius:8px;font-weight:600;font-size:13px;min-height:38px}.btn.primary{background:var(--tella-accent);border-color:var(--tella-accent)}.btn.primary:hover{background:#086467;border-color:#086467}.btn.light{border-color:var(--tella-border)}
.panel{border-color:var(--tella-border);border-radius:var(--tella-radius);box-shadow:0 2px 6px #173e4304}.stats-grid{gap:16px}.filterbar{border-radius:var(--tella-radius);gap:18px;box-shadow:none;margin-bottom:20px;padding:12px 16px}.filterbar label>span{color:var(--tella-muted)}
.app-shell:not([data-role=Gestor]) .filterbar>label:has([aria-label="Filtrar por responsável"]){display:none}
.app-shell:not([data-view=overview]):not([data-view=operation]) .filterbar,.app-shell[data-role=Closer] .filterbar{display:none}
body:has(tella-closing[mode=closing]) .app-shell[data-view=operation] .filterbar{display:none}
.queue-tabs{border-radius:9px;gap:3px;padding:4px;flex-wrap:wrap;background:#eaf1f1;border-color:#dbe7e7}.queue-tabs button{font-family:inherit;border-radius:6px;font-size:12px;font-weight:600;padding:9px 12px;min-height:36px}.queue-tabs button.active,.queue-tabs button[aria-pressed=true]{color:#106b6e;background:#fff;box-shadow:0 1px 4px #173e4310}
.operation-toolbar{gap:12px;margin:8px 0 18px}.table-toolbar{gap:10px;flex-wrap:wrap}.search{border-radius:9px;max-width:none;min-height:40px}.search input{font-family:inherit;font-size:13px}.table-panel{border-radius:12px;overflow:hidden}.table-panel thead th{font-size:11px;letter-spacing:.2px;color:#607881}.table-panel td{padding-top:16px;padding-bottom:16px}.table-panel tbody tr{transition:background .12s}.table-panel tbody tr:hover{background:#f1f9f8}.table-panel .pagination{padding:14px 16px}
.base-grid,.team-grid{gap:18px}.base-card,.team-card{padding:22px}.base-card h3,.team-card h3{font-size:18px;overflow-wrap:anywhere}.base-card>p{color:#647b83;margin:6px 0 14px}.base-actions{flex-wrap:wrap;gap:8px}.base-actions .btn{margin-right:0}.base-numbers strong{font-size:26px}.base-numbers span{color:#627a82}.original{overflow-wrap:anywhere}.new-base{border-radius:12px;min-height:210px}
.lead-sheet{font-family:inherit}.lead-header h2{font-size:24px;line-height:1.25}.lead-meta{flex-wrap:wrap}.lead-contact{flex-wrap:wrap}.lead-sheet label{font-size:12px}.lead-sheet input,.lead-sheet select,.lead-sheet textarea{font-family:inherit;font-size:14px}.lead-sheet .form-grid{gap:14px}.lead-sheet [role=tablist]{overflow-x:auto;max-width:100%}
#tella-manual-open{display:none!important}.footer{margin-top:24px;padding:18px 0 20px;border-color:var(--tella-border);font-size:11px;color:#637e87}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}
@media(max-width:850px){.app-shell>.workspace{padding:24px 20px 0}.topbar{padding:0 20px}.brand{min-width:150px}.topnav{gap:0!important}.topnav [data-slot=tabs-trigger]{padding:0 10px;min-width:70px}.account-caption{display:none}.filterbar{flex-wrap:wrap;gap:12px}.filter-icon{display:none}.filterbar label{flex:1}.heading-actions .demo-toggle{display:none}}
@media(max-width:640px){.app-shell>.workspace{padding:20px 14px 0}.topbar{height:auto;min-height:108px;padding:12px 16px 0;flex-wrap:wrap;gap:6px}.brand{font-size:25px;min-width:0}.brand-sdr{font-size:9px}.account{margin-left:auto}.topnav{order:3;width:100%;height:48px!important;justify-content:space-between!important}.topnav [data-slot=tabs-trigger]{height:48px;min-width:0;padding:0 7px;font-size:12px;gap:5px}.topnav [data-slot=tabs-trigger] svg{width:14px;height:14px}.page-heading{gap:10px;margin-bottom:20px}.page-heading h1{font-size:25px}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.heading-actions>.btn{font-size:12px;padding:8px 11px;min-height:40px}.eyebrow{font-size:9px}.stats-grid{gap:10px}.filterbar{padding:12px;gap:10px}.filterbar label{display:grid;gap:5px;min-width:0}.filterbar .picker{min-width:0;width:100%}.sync-label{display:none}.operation-toolbar{align-items:stretch;flex-direction:column}.operation-toolbar>.btn{align-self:flex-start}.operation-toolbar .queue-tabs{width:100%;justify-content:space-between}.queue-tabs button{padding:8px 9px;font-size:11px}.table-toolbar .search{min-width:100%}.base-grid,.team-grid{grid-template-columns:1fr}.base-card,.team-card{padding:18px}.footer{line-height:1.7;gap:8px;flex-wrap:wrap}.lead-sheet{max-width:100vw}.lead-contact>.btn{flex:1}.table-panel .pagination{gap:10px}.btn{min-height:40px}.topbar .avatar{width:34px;height:34px}}
