/* AVESSO CENTRAL V9.3.5 | Visual responsivo aprovado no protótipo HTML.
   Camada aditiva: não substitui componentes, rotas, eventos ou integrações.
   Tokens separados por tema evitam o verde-neon ilegível no fundo claro. */
.shell:not(.light){
 --bg:#0b100d;--card:#121a14;--line:#2b3b2e;--muted:#b0bdb0;--text:#f1f6ef;
 --accent:#b8ff35;--av935-soft:#25351b;--av935-surface2:#19241b;
 --av935-positive:#8fdb73;--av935-negative:#ff9ca3;--av935-warn:#ffd17a;
}
.shell.light{
 --bg:#f3f6f1;--card:#fff;--line:#d6e1d4;--muted:#4d5e50;--text:#172319;
 --accent:#466f13;--av935-soft:#e4efd9;--av935-surface2:#f7faf5;
 --av935-positive:#1f6b35;--av935-negative:#9c2935;--av935-warn:#815000;
}
.shell{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.48}
.shell .sidebar{background:var(--card);border-right:1px solid var(--line)}
.shell .main,.shell .content{min-width:0}
.shell .topbar{background:var(--bg);border-color:var(--line)}
.shell .content{color:var(--text)}
.shell .nav button{color:var(--muted)}
.shell .nav button.active,.shell.light .nav button.active{
 color:var(--accent);background:var(--av935-soft);box-shadow:inset 3px 0 var(--accent)
}
.shell .nav button:hover{background:var(--av935-surface2);color:var(--text)}
.shell .stat,.shell .panel{background:var(--card);border-color:var(--line);border-radius:17px}
.shell input,.shell textarea,.shell select{background:var(--av935-surface2);border-color:var(--line);color:var(--text)}
.shell input::placeholder,.shell textarea::placeholder{color:var(--muted);opacity:.8}
.shell .tabs button.active,.shell.light .tabs button.active{
 background:var(--av935-soft);color:var(--accent);border-color:var(--line)
}
.shell .tabs.recruit-tabs{background:var(--card)}
.shell .tabs.recruit-tabs button.active,.shell.light .tabs.recruit-tabs button.active{background:var(--av935-soft);color:var(--accent);border-bottom-color:var(--accent)}
.shell .recruit-groups button.active,.shell.light .recruit-groups button.active{color:var(--text);border-color:var(--accent)}
.shell .pill{color:var(--av935-positive);background:var(--av935-soft);font-weight:700}
.shell .pill.warn{color:var(--av935-warn);background:color-mix(in srgb,var(--av935-warn) 12%,var(--card))}
.shell .pill.danger-pill{color:var(--av935-negative);background:color-mix(in srgb,var(--av935-negative) 12%,var(--card))}
.shell .av931-due-badge{font-weight:750;line-height:1.5}
.shell.light .av931-due-badge,.shell.light .av930-verified{color:var(--text)}
.shell .muted-link,.shell.light .people-table .muted-link{color:var(--av935-positive)}
.shell.light .people-table .person-identity .avatar{color:#3d6513;background:#e4efd9}
.shell.light .v65-bulk,.shell.light .av933-expired-bulk{background:var(--av935-soft);color:var(--text)}
.shell.light .av931-due-future{color:#3c6615;background:#e4efd9}
.shell.light .av931-due-past{color:#8c3440;background:#fde9eb}
.shell.light .av931-due-today{color:#815000;background:#fff1d3}
.shell.light .av930-expired-row strong{color:var(--text)}
.shell .sidebar .brand{min-width:0}
.shell .sidebar-label{color:var(--muted)}
.shell .outline{border-color:var(--line);color:var(--text)}
.shell .outline:hover{border-color:var(--accent);background:var(--av935-surface2)}
.shell .primary{color:#1d2b0b;background:#b8ff35;border-color:#b8ff35}
.shell.light .primary{background:#466f13;border-color:#466f13;color:#fff}
.shell.light .primary:hover{background:#35540e;border-color:#35540e}
.shell.light .nav button,.shell.light .nav-link{color:var(--muted)}
.shell.light .nav button.active{color:#36580f}
.shell.light .pill,.shell.light .subpill .pill{color:#3d6118;background:#e4efd9}
.shell.light .pill.warn,.shell.light .subpill .pill.warn{color:#815000;background:#fff1d3}
.shell.light .pill.danger-pill{color:#9c2935;background:#fde9eb}
.shell.light .note,.shell.light .callout,.shell.light .map-col h3{color:#172319}
.shell.light .empty,.shell.light .tiny.muted,.shell.light .muted{color:var(--muted)}
.shell.light .people-table .actions .outline{color:var(--text)}
.shell.light .status-cell .pill,.shell.light .status-cell .v65-status{color:#39591d}
.shell button:focus-visible,.shell input:focus-visible,.shell select:focus-visible,.shell textarea:focus-visible,.shell a:focus-visible{
 outline:3px solid var(--accent);outline-offset:2px
}
.av935-theme-quick{display:inline-grid;place-items:center;width:38px;height:38px;flex:none;color:var(--text);background:var(--card);border:1px solid var(--line);border-radius:11px;font-size:21px;line-height:1}
.av935-theme-quick:hover{border-color:var(--accent)}
/* Preserva o visual desktop; pequenos ajustes apenas em dispositivos estreitos. */
@media(min-width:741px){
 .shell .sidebar{padding-top:26px}
 .shell .stat,.shell .panel{border-radius:17px}
 .shell .content{padding-top:26px}
 .av935-theme-quick{width:34px;height:34px;font-size:18px}
}
@media(max-width:740px){
 html,body{max-width:100%;overflow-x:clip}
 .shell{padding-bottom:calc(84px + env(safe-area-inset-bottom))!important;min-height:100dvh}
 .shell.drawer-open .sidebar{width:min(310px,89vw);box-shadow:20px 0 60px #0008}
 .shell .sidebar{background:var(--card);padding:20px 14px calc(20px + env(safe-area-inset-bottom));z-index:44}
 .shell .sidebar .nav{gap:5px}
 .shell .sidebar .nav button{min-height:45px;padding:11px 12px;border-radius:12px;color:var(--muted);font-weight:650;font-size:13px}
 .shell .sidebar .nav button.active{background:var(--av935-soft);color:var(--accent)}
 .shell .sidebar .brand{padding-bottom:17px}
 .shell .main{margin-left:0;width:100%;max-width:100vw}
 .shell .topbar{height:62px;padding:0 13px;z-index:19;backdrop-filter:blur(12px)}
 .shell .topbar-left{gap:9px;flex:1;min-width:0}
 .shell .topbar-right{gap:7px;flex-shrink:0}
 .shell .breadcrumbs{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
 .shell .breadcrumbs strong{display:inline-block;max-width:45vw;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
 .shell .mobile-menu,.mobile-close{min-height:40px;min-width:40px;display:grid;place-items:center;background:var(--card);border:1px solid var(--line);border-radius:12px;font-size:19px}
 .shell .content{padding:18px 13px 32px;max-width:100%;overflow-x:hidden}
 .shell .intro{display:flex;align-items:flex-start;flex-wrap:wrap;gap:11px;margin-bottom:17px}
 .shell .intro .page-heading{min-width:0;flex:1 1 210px}
 .shell .intro h1{font-size:23px;font-weight:800;letter-spacing:-.7px;line-height:1.17}
 .shell .intro p{font-size:12px;line-height:1.55;color:var(--muted)}
 .shell .intro .heading-actions{width:100%;max-width:none;display:flex;flex-wrap:wrap;gap:7px}
 .shell .intro .heading-actions button{flex:1 1 140px;min-height:40px}
 .shell .label,.shell .eyebrow{color:var(--accent);font-weight:850}
 .shell .stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}
 .shell .stat{min-height:100px;padding:14px 12px;background:var(--card);border-radius:15px}
 .shell .stat strong{font-size:24px;font-weight:800;letter-spacing:-.6px;margin:9px 0 4px}
 .shell .stat .tiny{font-size:10.5px;line-height:1.45}
 .shell .panel{padding:15px 13px;border-radius:16px;min-width:0}
 .shell .panel h2{font-size:16px;line-height:1.4}
 .shell .grid,.shell .grid.equal,.shell .contacts-grid,.shell .finance-columns{grid-template-columns:minmax(0,1fr)!important;gap:12px}
 .shell .toolbar{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:12px 0 14px}
 .shell .toolbar>div,.shell .toolbar .row{width:100%;min-width:0;display:flex;flex-wrap:wrap;gap:8px}
 .shell .toolbar input.search{min-height:43px;flex:1 1 100%;font-size:14px;width:100%;max-width:none}
 .shell .toolbar .row>button{min-height:39px}
 .shell .tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;gap:7px;margin:11px -13px 16px;padding:4px 13px 12px}
 .shell .tabs::-webkit-scrollbar{display:none}
 .shell .tabs button{scroll-snap-align:start;min-height:39px;padding:9px 13px;border:1px solid var(--line);border-radius:10px;font-weight:750;white-space:nowrap;font-size:11.5px}
 .shell .tabs.recruit-tabs{background:transparent;margin:4px -13px 16px;gap:6px;padding:4px 13px 10px}
 .shell .tabs.recruit-tabs button{background:var(--card);border-radius:10px;min-height:41px;border:1px solid var(--line);font-size:11px}
 .shell .tabs.recruit-tabs button.active{border-color:var(--accent);background:var(--av935-soft)}
 .shell .recruit-groups{gap:20px;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
 .shell .recruit-groups button{white-space:nowrap;font-size:12px}
 .shell .quick-tools{gap:8px}
 .shell .quick-tools .outline{min-height:38px;font-size:11px}
 /* Os dados da tabela de perfis passam a cartões verticais, sem tabela horizontal. */
 .shell .people-table,.shell .people-table tbody,.shell .people-table .person-row{display:block;width:100%;min-width:0}
 .shell .people-table thead{display:none}
 .shell .people-table .person-row{background:var(--card);border:1px solid var(--line);border-radius:16px;margin:0 0 12px;padding:13px 12px;box-shadow:0 4px 22px #00000008;white-space:normal}
 .shell .people-table td{display:flex;border:0;padding:7px 0;font-size:12px;align-items:center;gap:9px;text-align:right;white-space:normal;justify-content:space-between;overflow-wrap:anywhere;min-width:0}
 .shell .people-table .person-cell{border-bottom:1px solid var(--line);padding:3px 0 11px;margin:0 0 5px;justify-content:flex-start;text-align:left}
 .shell .people-table .person-identity{gap:11px;min-width:0}
 .shell .people-table .person-names strong{font-size:14px;white-space:normal;overflow-wrap:anywhere}
 .shell .people-table .person-handle-mobile{font-size:11px;color:var(--muted)}
 .shell .people-table .avatar{min-width:39px;width:39px;height:39px;border-radius:11px;font-size:15px;color:var(--accent);background:var(--av935-soft)}
 .shell .people-table td:not(.person-cell):not(.check-col):not(.action-cell)::before{color:var(--muted);font-size:10px;letter-spacing:.15px;min-width:75px;flex:0 0 75px}
 .shell .people-table .status-cell{display:flex;align-items:flex-start;flex-wrap:wrap;justify-content:flex-end}
 .shell .people-table .status-cell::before{margin-right:auto}
 .shell .people-table .contact-cell{overflow-wrap:anywhere}
 .shell .people-table .check-col{position:absolute;right:14px;top:12px;width:auto;border:0;padding:0!important}
 .shell .people-table .person-row{position:relative}
 .shell .people-table .person-row:has(.check-col) .person-cell{padding-right:34px}
 .shell .people-table .check{width:20px;height:20px;accent-color:#6b9e13}
 .shell .people-table .action-cell{padding:12px 0 2px}
 .shell .people-table .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:7px}
 .shell .people-table .actions>*{display:inline-flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:40px;padding:9px 6px;white-space:normal;line-height:1.2;font-size:11px;text-align:center;border-radius:10px}
 .shell .people-table .actions>*:last-child:nth-child(odd){grid-column:1 / -1}
 .shell .v65-bulk,.shell .av933-expired-bulk{border:1px solid var(--line);background:var(--av935-soft);border-radius:13px;padding:13px;display:flex;flex-wrap:wrap;gap:7px}
 .shell .v65-bulk strong{width:100%;display:block;margin-bottom:4px;font-size:12px}
 .shell .v65-bulk button,.shell .av933-expired-bulk button{min-height:39px;flex:1 1 135px;font-size:11px}
 .shell .av930-expired-row{flex-wrap:wrap;align-items:flex-start;gap:9px;padding:13px 0}
 .shell .av930-expired-row>div:first-child{min-width:0;flex:1 1 100%}
 .shell .av930-expired-row .actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .shell .av930-expired-row .actions>*{min-width:0;min-height:38px}
 .shell .av930-expired-row strong{font-size:13px}
 .shell .av931-due-badge{display:inline-block;font-size:10px;margin-top:5px}
 .shell .av935-theme-quick{width:39px;height:39px;font-size:20px}
 .shell .mobile-bottom{position:fixed;left:0;right:0;bottom:0;z-index:32;display:flex;background:var(--card);border-top:1px solid var(--line);box-shadow:0 -8px 28px #0002;min-height:66px;align-items:stretch;padding:5px max(8px,env(safe-area-inset-left)) calc(5px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-right))}
 .shell .mobile-bottom button{min-height:57px;font-size:10px;line-height:1.2;color:var(--muted);padding:4px 2px;border-radius:10px;gap:5px;font-weight:700;overflow-wrap:anywhere}
 .shell .mobile-bottom button .icon{height:23px;font-size:22px}
 .shell .mobile-bottom button.active,.shell.light .mobile-bottom button.active{background:var(--av935-soft);color:var(--accent)}
 .shell .bottom-nav{display:none}
 .shell .map-grid,.shell .board{grid-template-columns:repeat(1,minmax(0,1fr))!important}
 .shell .flow{flex-wrap:wrap;gap:9px}
 .shell .flow span{font-size:11px;padding:10px}
 .shell .list-row{flex-wrap:wrap;gap:10px}
 .shell .list-row>button{max-width:100%}
 .shell .field-row{grid-template-columns:minmax(0,1fr);gap:10px}
 .shell .table-wrap:not(.people-wrap){max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
 .shell .table-wrap:not(.people-wrap)>table{min-width:610px}
 .shell .calendar-shell{display:flex;flex-direction:column;gap:12px;min-width:0}
 .shell .calendar-shell>section,.shell .calendar-shell>aside{min-width:0;max-width:100%;width:100%}
 .shell .calendar-grid{font-size:11px}
 .shell .calendar-day{min-width:0;padding:5px 2px}
 .shell .calendar-event-chip{display:none}
 .shell .calendar-day:has(.calendar-event-chip)::after{content:'•';display:block;color:var(--accent);font-weight:bold;font-size:17px;line-height:7px}
 .shell .calendar-weekday{font-size:10px}
 .shell .calendar-toolbar{flex-wrap:wrap;gap:10px}
 .shell .calendar-day-list .event-item{flex-wrap:wrap}
 .shell .finance-row{display:flex;align-items:flex-start;flex-wrap:wrap;gap:7px}
 .shell .finance-row>*{max-width:100%}
 .shell .toast{bottom:calc(87px + env(safe-area-inset-bottom));left:12px;right:12px;transform:none;font-size:12px}
 dialog{width:calc(100vw - 22px);max-width:calc(100vw - 22px);max-height:calc(100dvh - 32px);padding:18px 15px;border-radius:17px}
 dialog .field-row{grid-template-columns:minmax(0,1fr)}
 dialog input,dialog textarea,dialog select{font-size:16px;min-width:0}
 dialog button{min-height:41px}
 .shell button,.shell input,.shell select{touch-action:manipulation}
 .shell a,.shell button{overflow-wrap:anywhere}
}
@media(max-width:359px){
 .shell .content{padding-inline:10px}
 .shell .stats{gap:6px}
 .shell .stat{padding:11px 9px}
 .shell .stat strong{font-size:21px}
 .shell .topbar{padding:0 9px}
 .shell .breadcrumbs strong{max-width:37vw}
 .shell .people-table .actions{grid-template-columns:1fr}
 .shell .people-table .actions>*:last-child:nth-child(odd){grid-column:auto}
 .shell .mobile-bottom button{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
 .shell *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}
}
/* Lista de escolha do recrutador para o despacho administrativo. */
.av935-send-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:9px;margin:15px 0}
.av935-send-options button{min-height:45px;padding:11px 10px;text-align:center;border-radius:12px}
@media(max-width:740px){.av935-send-options{grid-template-columns:1fr 1fr;gap:8px}}
@media(max-width:359px){.av935-send-options{grid-template-columns:1fr}}

/* Em vez de dezenas de abas ocupando a tela, um seletor claro e acessível. */
.av935-mobile-tab-picker{display:none}
@media(max-width:740px){
 .shell .tabs.recruit-tabs{display:none!important}
 .shell .av935-mobile-tab-picker{display:flex;flex-direction:column;gap:6px;margin:12px 0 16px;font-size:11px;font-weight:750;color:var(--muted)}
 .shell .av935-mobile-tab-picker>span{padding-left:3px}
 .shell .av935-mobile-tab-picker select{background:var(--card);border:1px solid var(--line);color:var(--text);font-size:14px;font-weight:700;min-height:47px;border-radius:12px;padding:10px 14px;width:100%}
 .shell .topbar .avesso-header-edit{display:none}
}

/* Recrutamento V5 é a tela principal de cartões da Central. Adaptação real ao tema claro. */
.shell.light .av5{--av5-bg:#f3f6f1;--av5-panel:#fff;--av5-line:#d6e1d4;--av5-lime:#466f13;--av5-muted:#4d5e50;color:#172319}
.shell.light .av5 .av5-kicker{color:#426819}
.shell.light .av5 .av5-hero .av5-kicker{color:#c4ff38}
.shell.light .av5 .av5-tools{background:#f7faf5;border-color:#d6e1d4;color:#172319}
.shell.light .av5 .av5-tools input,.shell.light .av5 .av5-tools select{background:#fff!important;color:#172319!important;border-color:#bdcebb!important}
.shell.light .av5 .av5-tools input::placeholder{color:#627366}
.shell.light .av5 .av5-button{color:#243826;background:#f1f6ec;border-color:#bdcebb}
.shell.light .av5 .av5-button:hover{background:#e7f0df;border-color:#6c9146}
.shell.light .av5 .av5-button.lime{background:#466f13;color:#fff;border-color:#466f13}
.shell.light .av5 .av5-button.danger{background:#fce9eb;color:#922e38;border-color:#eec3c7}
.shell.light .av5 .av5-stat,.shell.light .av5 .av5-pane,.shell.light .av5 .av5-recruiter,
.shell.light .av5 .av5-shortcut{background:#fff;color:#172319;border-color:#d6e1d4}
.shell.light .av5 .av5-stat small,.shell.light .av5 .av5-stat .foot,
.shell.light .av5 .av5-shortcut small,.shell.light .av5 .av5-recruiter small{color:#4d5e50}
.shell.light .av5 .av5-shortcut .symbol{color:#426819}
.shell.light .av5 .av5-card{background:linear-gradient(155deg,#fff,#f7faf5);color:#172319;border-color:#d6e1d4}
.shell.light .av5 .av5-card:hover{border-color:#6c9146}
.shell.light .av5 .av5-card.selected{border-color:#466f13;box-shadow:inset 0 0 0 1px #466f13}
.shell.light .av5 .av5-profile-id a{color:#253f2a}
.shell.light .av5 .av5-subtitle,.shell.light .av5 .av5-notes{color:#4d5e50}
.shell.light .av5 .av5-notes{border-color:#d6e1d4}
.shell.light .av5 .av5-avatar{background:#e4efd9;border-color:#bdd0a8;color:#36590f}
.shell.light .av5 .av5-pill{background:#e4efd9;border-color:#c7ddb9;color:#355b15}
.shell.light .av5 .av5-pill.blue{background:#e5f1fa;border-color:#bbd9ef;color:#255d80}
.shell.light .av5 .av5-pill.amber{background:#fff0d8;border-color:#ecd4a2;color:#75510a}
.shell.light .av5 .av5-pill.red{background:#fce7e6;border-color:#e7c0bc;color:#922e38}
.shell.light .av5 .av5-pill.grey{background:#ecf0eb;border-color:#d2dcd0;color:#46574a}
.shell.light .av5 .av5-pill.av933-verified{background:#e4efd9;border-color:#bfd5aa;color:#355b15}
.shell.light .av5 .av933-expiry small{color:#4d5e50}
.shell.light .av5 .av933-wallet-tools strong{color:#355b15}
.shell.light .av5 .av5-empty{background:#f7faf5;border-color:#bdcebb;color:#4d5e50}
.shell.light .av5 .av5-empty h3{color:#172319}
.shell.light .av5 .av5-batch-nav button{background:#e4efd9;color:#36590f;border-color:#c7ddb9}
.shell.light .av5 .av5-batch-nav button.current{background:#466f13;color:#fff;border-color:#466f13}
.shell.light .av5 .av5-copy-text{background:#fff;color:#172319;border-color:#bdcebb}
.shell.light .av5 .av5-checkbox-line{color:#243826}
.shell.light .av5 .av5-head p{color:#4d5e50}
.shell.light .av933-check-expired{color:#355b15}

@media(max-width:740px){
 .shell .av5{min-width:0;width:100%}
 .shell .av5 .av5-grid,.shell .av5 .av5-shortcuts{display:grid;grid-template-columns:minmax(0,1fr);gap:11px}
 .shell .av5 .av5-card{padding:14px 13px;border-radius:16px}
 .shell .av5 .av5-card .av5-info{padding-right:25px}
 .shell .av5 .av5-profile-id a{white-space:normal;overflow-wrap:anywhere;line-height:1.35}
 .shell .av5 .av5-profile-id{min-width:0}
 .shell .av5 .av5-subtitle{white-space:normal;overflow-wrap:anywhere}
 .shell .av5 .av5-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .shell .av5 .av5-card-actions .av5-button{min-width:0;min-height:42px;line-height:1.25;font-size:11px;padding:8px 7px}
 .shell .av5 .av5-card-actions .av5-button:last-child:nth-child(odd){grid-column:1/-1}
 .shell .av5 .av5-badges{gap:6px}
 .shell .av5 .av5-pill{font-size:10px;line-height:1.45;padding:5px 7px}
 .shell .av5 .av5-tools{gap:7px;padding:10px;border-radius:14px}
 .shell .av5 .av5-tools .av5-search{min-width:0;width:100%;flex:1 1 100%;min-height:43px!important}
 .shell .av5 .av5-tools .av5-filter{flex:1 1 45%;min-width:120px;max-width:100%;font-size:11px!important}
 .shell .av5 .av5-tools .av5-button{min-height:39px;flex:1 1 135px;min-width:0}
 .shell .av5 .av5-head{margin-top:16px;gap:9px}
 .shell .av5 .av5-head h2{font-size:17px}
 .shell .av5 .av5-stats{gap:8px;margin:13px 0 18px}
 .shell .av5 .av5-stat{min-height:98px;padding:13px}
 .shell .av5 .av5-stat strong{font-size:23px}
 .shell .av5 .av5-batch-layout{grid-template-columns:minmax(0,1fr)}
 .shell .av5 .av5-pane{padding:12px}
 .shell .av5 .av5-shortcut{padding:13px;min-height:78px}
 .shell .av5 .av5-recruiter{align-items:flex-start}
 .shell .av5 .av5-log{grid-template-columns:minmax(0,1fr)}
}
