
/* ===== Base anti-FOUC / renderização estável ===== */
html{background:#f5f7fa;color-scheme:light}html,body{min-height:100%}*{box-sizing:border-box}body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,"Helvetica Neue",sans-serif}img,svg,video,canvas{max-width:100%}


/* ===== Bootstrap mínimo usado no menu ===== */
.container{width:100%;max-width:1140px;margin-right:auto;margin-left:auto;padding-right:12px;padding-left:12px}
.row{display:flex;flex-wrap:wrap;margin-right:-12px;margin-left:-12px}.row>*{box-sizing:border-box;padding-right:12px;padding-left:12px}
.g-4{row-gap:1.5rem;column-gap:0}.justify-content-left{justify-content:flex-start}.mt-2{margin-top:.5rem!important}
.col-md-3{flex:0 0 auto;width:25%}@media(max-width:991.98px){.col-md-3{width:50%}}@media(max-width:575.98px){.col-md-3{width:100%}.container{padding-right:16px;padding-left:16px}}
.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-clip:border-box}.card-body{flex:1 1 auto}.btn-primary{background:#0d6efd;border-color:#0d6efd;color:#fff}.btn-outline-primary{background:#fff;border-color:#0d6efd;color:#0d6efd}.btn-outline-primary:hover{background:#0d6efd;color:#fff}

/* ===== styles/theme.css ===== */
/* styles/theme.css */
:root{
  --primary:  #3f51b5;   /* azul institucional */
  --accent:   #00a79d;   /* verde ação/sucesso */
  --cancel:   #bd3030;
  --bg:       #f5f7fa;
  --card-bg:  #ffffff;
  --white:    #ffffff;
  --gray-light:#f0f2f5;
  --gray-dark:#333333;
  --toast-color: #4070f4;
  --radius:   8px;
  --spacing:  1rem;
  --font:     system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-size-h1: 1.25rem;
  --font-size-h2: 1rem;
  --font-size-body: 0.9rem;
}

/* componentes base */
main{max-width:1280px; margin:0 auto; padding:calc(var(--spacing) * 1.25) var(--spacing)}
body{background:var(--bg); color:var(--gray-dark); font-family:var(--font);}
.logo{height:28px}
.welcome{color:#334155; font-weight:500}
.btn{background:var(--primary); color:#fff; border:none; border-radius:var(--radius); padding:.5rem .9rem; cursor:pointer}
.btn-primary:hover {background-color: hsl(from var(--primary) h s calc(l - (100 * 0.07)));}
.btn-cancel:hover {background-color: hsl(from var(--cancel) h s calc(l - (100 * 0.07)));}
.btn.hide{display:none}
.profile-btn{background:transparent; color:var(--primary); font-size:1.25rem}
.btn.btn-subtle{background:#eef2f7; color:#334155; border-radius:10px;}
.btn.btn-subtle:hover{background:#e3e8f2}

.card-container{background:var(--white); border-radius:var(--radius); padding:1rem; margin:1rem auto; box-shadow:0 2px 6px rgba(0,0,0,.06); display:block}
.title{color:var(--primary); margin:0 0 .5rem}
.card-divider{height:1px; background:#e9edf3; margin:1rem 0}

/* mensagens de status */
.missing-message{margin-top:.35rem; font-size:.85rem; color:var(--cancel)}
.missing-message.ok{color:var(--accent)}
.missing-message:empty{display:none}
.error-message {color: red; font-size: 0.875rem; margin-top: 0.25rem; display: none;}
.error-message.visible {display: block;}



/* uploads */
.upload-grid{display:grid; grid-template-columns:260px 1fr; gap:.75rem; align-items:center}
.file-input{position:relative; display:flex}
.file-input input[type="file"]{opacity:0; position:absolute; width:100%; height:100%; cursor:pointer}
.placeholder{flex:1; padding:.5rem; border:1px dashed #ccd4e0; border-radius:var(--radius); text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.placeholder.selected{border-style:solid}

/*Inputs*/
input, select{
  height:40px; padding:0 .8rem; border:1px solid #dfe6f1; border-radius:10px;
  outline:none; transition:border-color .15s, box-shadow .15s; background:#fbfcff;
}
input:focus{border-color:var(--primary); box-shadow:0 0 0 3px rgba(63,81,181,.15); background:#ffffff}
.input-error {color: #d50000; background: #fff8f8; border-color: #d50000;}


 /* ===== Topo e navbar===== */
.topbar{
  background: var(--bg);
  border-bottom: 1px solid #e9edf3;
  padding: .5rem 1rem;
  text-align: center;
}
.topbar a{
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.topbar a:hover{ text-decoration: underline; }

.navbar{
  position: relative;
  background: var(--white);
  border-bottom: 1px solid #e9edf3;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .75rem 1rem;
}
.navbar-left{display:flex; align-items:center; gap:.8rem}
.navbar-right{display:flex; align-items:center; gap:.5rem}

.profile-btn{
  width:40px; height:40px; border-radius: 10px; border:0; background:#eef2f7; color:var(--primary);
  display:flex; align-items:center; justify-content:center; font-size:1.2rem; cursor:pointer;
}
.profile-btn:hover{background:#e3e8f2}

.profile-menu{
  position: absolute; right: 1rem; top: 64px;
  background:#fff; border:1px solid #e9edf3; border-radius:12px;
  box-shadow:0 12px 24px rgba(28,39,70,.12); width: 220px; display:none;
}
.profile-menu.active{display:block}
.profile-menu .profile-header{
  padding:.8rem 1rem; font-weight:600; color:#1f2d5c; border-bottom:1px solid #eef2f6;
}
.profile-menu ul{list-style:none; padding:.4rem 0; margin:0}
.profile-menu li a{
  display:flex; align-items:center; gap:.5rem; padding:.6rem 1rem; color:#334155; text-decoration:none;
}
.profile-menu li a:hover{background:#f6f8fc}
.section-title{ text-align:left; color:#3755cc; font-weight:700; font-size:16px; margin:.2rem 0 .8rem}


/*Grids*/
.grid-3{display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px}
.grid-3 .campo b{display:block; font-weight:700; color:#6b7280; font-size:12px; margin-bottom:.25rem}
.grid-3 .campo spam{color:#111827}

/*File Input*/
.upload-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  gap: var(--spacing);
  margin-bottom: var(--spacing);
}
.file-input {position: relative; display: flex;}
.file-input input[type="file"] {opacity: 0; width: 100%; height: 100%; position: absolute; cursor: pointer;}
.upload-ok{display:none; margin:6px 0 0 0; font:600 12px/1.2 Inter,system-ui,sans-serif; color:#0bbf83;}
.upload-ok.show{ display:block; }

.placeholder {
  flex: 1; padding: 0.5rem; border: 1px dashed #ccc; border-radius: var(--radius);
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: var(--font-small);
}
.placeholder.selected {border-style: solid;}
.placeholder::after {content: attr(data-filename);}

/* Rodapé */
footer{max-width:1280px; margin:1.25rem auto; text-align: center; padding:0 var(--spacing); color:#7b8794}

/* responsivo */
@media (max-width: 720px){
  .upload-grid{grid-template-columns:1fr}
}

/*ToolTip*/
.tooltip{
  position: relative;
}
.tooltip .tooltiptext{
  visibility: hidden;
  width: 120px;
  background-color: rgba(54, 54, 54, 0.3);
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  font-size: 10px;
  font-family: var(--font);

  /*Tooltip Position*/ 
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* util */
.hide{display:none !important}



/* ===== styles/tables.css ===== */
/* Área rolável da tabela */
.table-space{border:1px solid #eef2f6; border-radius:14px; z-index: 0;}
.table-space{--header:#f6f8fc}
.table-space{overflow:auto}
/* Scrollbar */
.table-space::-webkit-scrollbar,
.table_space::-webkit-scrollbar{ width:.55rem; height:.55rem; background: var(--gray-1); }
.table-space::-webkit-scrollbar-thumb,
.table_space::-webkit-scrollbar-thumb{ border-radius:.5rem; background: color-mix(in srgb, #000 25%, transparent); }

/* Tabela base */
table{ width:100%; border-collapse: separate; border-spacing:0; background: var(--surface); }
thead th, tbody td{ padding:.65rem .75rem; font-size:.85rem; }

table{width:100%; border-collapse:collapse; min-width:940px; font-size:.94rem; overflow-x: scroll;}
table.active{cursor: grabbing;}
thead th{
  background:var(--header); color:#1f2d5c; text-align:left;
  padding:.7rem .75rem; border-bottom:1px solid #e9edf3; white-space:nowrap;
}
tbody td{padding:.65rem .75rem; border-bottom:1px solid #f1f4f9; color:#334155;}

tbody td span {
    user-select: auto;
    font-size: 13px;
}

.btn {
    cursor: pointer !important;
}

.btn-primary {
    cursor: pointer !important;
}

.btn-secondary {
    cursor: pointer !important;
}

tbody tr:nth-child(odd){background:#fcfdff}
tbody tr:hover{background:#f7f9ff}
.icon-arrow{font-size:.9rem; opacity:.6; margin-left:.25rem}

thead th:not(.exclude){ cursor:pointer; }
thead th:not(.exclude):hover{ color:#0d83e4; }
thead th.active{ color:#0d83e4; }

/* PAGINAÇÃO */

.pager-wrap{display:flex; justify-content:space-between; margin:1rem 0 .5rem;}
.pager{
  display:flex; align-items:center; gap:.25rem; padding:.35rem;
  background:#fff; border:1px solid #e9edf3;
  border-radius:999px; box-shadow:0 6px 16px rgba(28,39,70,.10);
  font:500 14px/1 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  color:#1f2937;
  transition: .3s ease;
}

.pager a, .pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 36px;
    padding: 0 .75rem;
    text-decoration: none;
    border-radius: 999px;
    user-select: none;
    border: 1px solid transparent;
    transition: .3s ease;
    color: black;
}

.pager a:hover {
    background: #427ec9;
    color: white;
}
.pager .active{background:#3f51b5; color:#fff; box-shadow:0 6px 16px rgba(63,81,181,.25);}
.pager .control{gap:.4rem; padding:0 .9rem}
.pager .disabled{opacity:.45; pointer-events:none}
.pager .ellipsis{padding:0 .3rem; min-width:auto}
.goto {width:50px}


/* ===== styles/popups.css ===== */
:root{
 --bg:    #f5f7fa;
 --font:  system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
 --popup-color: #3f51b5;
 --font-size-popup: 0.9rem;
 

}/* Confirm Popup */

.confirm-popup{
  position:fixed; inset:0; background:rgba(0,0,0,.6);
  padding:10px; display:flex; align-items:center; justify-content:center;
  opacity:0; animation:confirm--open .2s forwards;
}
.confirm-closing{ animation-name: confirm--close; }

.confirm-window{
  width:100%; max-width:600px; background: #f5f7fa;
  font-size: var(--font-size-popup); font-family: var(--font);
  border-radius:12px; overflow:hidden; box-shadow:0 2px 6px rgba(0,0,0,.06);
  opacity:0; transform:scale(.95);
  animation: confirm-window--open .18s .15s forwards ease-out;
}
.confirm-titlebar,.confirm-content{ padding:1em; }
.confirm-titlebar{
  background: var(--popup-color); color:#fff; display:flex; align-items:center; justify-content:space-between;
}
.confirm-title{ font-weight:700; font-size:1.05em; }
.confirm-close{ background:none; border:none; transform:scale(2.2); color:#fff; opacity:.9; cursor:pointer; }
.confirm-close:hover{ opacity:.7; }
.confirm-content{ line-height:1.7em; color: #75787b; }
.confirm-buttons{ background: #dddddd; display:flex; justify-content:flex-end; gap:.5rem; padding:.6em; }
.btn-cancel{background-color: #bd3030;}
/* Animações */
@keyframes confirm--open{ from{opacity:0} to{opacity:1} }
@keyframes confirm--close{ from{opacity:1} to{opacity:0} }
@keyframes confirm-window--open{ to{ opacity:1; transform:scale(1) } }

/* Toast */
.toast{
  position:fixed; top:25px; right:30px; border-radius:12px; background:#fff; z-index: 9999;
  padding:20px 35px 20px 25px; box-shadow: 0 2px 6px rgba(0,0,0,.06); border-left:6px solid var(--toast-color);
  overflow:hidden; transform: translateX(calc(100% + 30px)); transition: all .5s cubic-bezier(.68,-.55,.265,1.35);
}
.toast.active{ transform: translateX(0%); }
.toast .toast-content{ display:flex; align-items:center; font-family:var(--font); }
.toast-content .icon{
  display:flex; align-items:center; justify-content:center; height:35px; width:35px;
  background-color: var(--toast-color); color:#fff; font-size: var(--font-size-popup); border-radius:50%;
}
.toast-content .message{ display:flex; flex-direction:column; margin:0 20px; }
.message .text{ font-size: var(--font-size-popup); color:#666; }
.message .text.title{ font-weight:600; color:#333; }
.toast .close{ position:absolute; top:10px; right:15px; padding:5px; cursor:pointer; opacity:.6; }
.toast .close:hover{ opacity:1; }
.toast .progress{ position:absolute; bottom:0; left:0; height:3px; width:100%; background:#ddd; }
.toast .progress:before{ content:''; position:absolute; bottom:0; right:0; height:100%; width:100%; background-color: var(--toast-color); }
.progress.active:before{ animation: progress 10s linear forwards; }
@keyframes progress{ 100%{ right:100%; } }
.toast.active ~ button{ pointer-events:none; }

/* ===== admin_usuarios.php ===== */
body.page-admin-usuarios{--brand:#4169E1;
  --brand-600:#3156ce;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#E6EAF5;
  --bg:#f6f8fc;
  --card:#ffffff;
  --ok:#10b981;
  --warn:#f59e0b;
  --err:#ef4444;
  --radius:14px;
  --shadow:0 10px 28px rgba(26,46,107,.08);
  --font:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;}
body.page-admin-usuarios *{box-sizing:border-box}
html, body.page-admin-usuarios{height:100%}
body.page-admin-usuarios{margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:linear-gradient(180deg,#f9f9f9 0,#f6f8fc 50%,#f7f9ff 100%);
  min-height:100vh;}
body.page-admin-usuarios .topbar{background:var(--brand);
  color:#fff;
  font-weight:800;
  letter-spacing:.25px;
  padding:10px 16px;
  text-align:center;
  font-size:14px;
  position:sticky;
  top:0;
  z-index:30;}
body.page-admin-usuarios .appbar{max-width:1200px;
  margin:10px auto 0;
  padding:0 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;}
body.page-admin-usuarios .appbar .left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body.page-admin-usuarios .appbar .brand{display:flex;
  align-items:center;
  gap:10px;
  background:#fff;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:6px;
  box-shadow:var(--shadow);}
body.page-admin-usuarios .appbar .brand img{height:24px}
body.page-admin-usuarios .appbar .welcome{font-size:14px;color:var(--muted);font-weight:800}
body.page-admin-usuarios .appbar .actions{display:flex;align-items:center;gap:10px}
body.page-admin-usuarios .btn{border:1px solid #ccd4ef;
  background:#fff;
  color:var(--ink);
  padding:9px 14px;
  border-radius:6px;
  cursor:pointer;
  font-weight:900;
  letter-spacing:.2px;
  box-shadow:0 2px 0 rgba(0,0,0,.02);
  transition:.2s ease;
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;}
body.page-admin-usuarios .btn:hover{transform:translateY(-1px)}
body.page-admin-usuarios .btn-primary{background:var(--brand);border-color:var(--brand);color:#fff}
body.page-admin-usuarios .btn-danger{background:#ef4444;border-color:#ef4444;color:#fff}
body.page-admin-usuarios .btn[disabled]{opacity:.6;cursor:not-allowed;transform:none}
body.page-admin-usuarios main{max-width:1200px;
  margin:10px auto 32px;
  padding:10px 14px;}
body.page-admin-usuarios .card{background:var(--card);
  border:1px solid var(--line);
  border-radius:6px;
  box-shadow:var(--shadow);
  padding:16px 18px;
  margin-bottom:14px;}
body.page-admin-usuarios .header{display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:center;}
body.page-admin-usuarios .header h1{font-size:18px;margin:0 0 4px;font-weight:900}
body.page-admin-usuarios .header small{color:var(--muted);font-weight:700}
body.page-admin-usuarios .meta{text-align:right}
body.page-admin-usuarios .meta .badge{display:inline-flex;
  align-items:center;
  gap:6px;
  background:#eef2ff;
  color:#172554;
  border:1px dashed #c7d2fe;
  padding:6px 12px;
  border-radius:6px;
  font-size:12px;
  font-weight:900}
body.page-admin-usuarios .grid{display:grid;gap:12px}
body.page-admin-usuarios .responsive{grid-template-columns:repeat(12,1fr)}
body.page-admin-usuarios .span-12{grid-column:span 12}
body.page-admin-usuarios .span-6{grid-column:span 6}
body.page-admin-usuarios .span-4{grid-column:span 4}
body.page-admin-usuarios .span-3{grid-column:span 3}
body.page-admin-usuarios .span-2{grid-column:span 2}
body.page-admin-usuarios .field{border:1px dashed #dbe3ff;
  background:#f9fbff;
  border-radius:6px;
  padding:10px 12px;
  position:relative}
body.page-admin-usuarios .field label{display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:12px;
  color:#6b7280;
  margin-bottom:6px;
  font-weight:900}
body.page-admin-usuarios .field input, body.page-admin-usuarios .field select{width:100%;
  padding:10px 12px;
  border:1px solid #cadaff;
  border-radius:6px;
  outline:none;
  font:inherit;
  background:#fff;}
body.page-admin-usuarios .field input[readonly]{background:#f3f6ff;}
body.page-admin-usuarios .field.is-locked{opacity:.97;
  border-style:solid;
  border-color:#e5e7eb;
  background:#f8fafc;}
body.page-admin-usuarios .field.is-locked input, body.page-admin-usuarios .field.is-locked select{background:#eef2f7 !important;
  border-color:#d7deea !important;
  color:#64748b !important;
  cursor:not-allowed !important;}
body.page-admin-usuarios .field.is-locked label{color:#475569}
body.page-admin-usuarios .field.is-editable{border-style:solid;
  border-color:#bfdbfe;
  background:#eff6ff;}
body.page-admin-usuarios .field.is-editable input, body.page-admin-usuarios .field.is-editable select{border-color:#93c5fd;}
body.page-admin-usuarios .lock-badge, body.page-admin-usuarios .edit-badge{display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;}
body.page-admin-usuarios .lock-badge{background:#fff1f2;
  color:#991b1b;
  border:1px solid #fecaca;}
body.page-admin-usuarios .edit-badge{background:#ecfeff;
  color:#155e75;
  border:1px solid #bae6fd;}
body.page-admin-usuarios .help{color:var(--muted);font-size:12px;font-weight:700;margin-top:6px}
body.page-admin-usuarios .lock-help{color:#b45309 !important;font-size:11px !important;font-weight:800 !important;margin-top:6px !important;}
body.page-admin-usuarios .actions-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
body.page-admin-usuarios .notice{border-radius:6px;
  padding:10px 12px;
  font-weight:800;
  border:1px solid var(--line);
  background:#fff;}
body.page-admin-usuarios .notice.ok{border-color:#bbf7d0;background:#f0fdf4;color:#065f46}
body.page-admin-usuarios .notice.err{border-color:#fecaca;background:#fff1f2;color:#991b1b}
body.page-admin-usuarios .results{position:absolute;
  left:12px;
  right:12px;
  top:100%;
  margin-top:6px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:6px;
  box-shadow:var(--shadow);
  max-height:260px;
  overflow:auto;
  display:none;
  z-index:50}
body.page-admin-usuarios .results.active{display:block}
body.page-admin-usuarios .results .item{padding:10px 12px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px}
body.page-admin-usuarios .results .item:hover{background:#f4f7ff}
body.page-admin-usuarios .results .item b{font-size:13px}
body.page-admin-usuarios .results .item small{color:var(--muted);font-weight:800}
body.page-admin-usuarios .permission-box{margin-top:12px;
  border:1px solid #fde68a;
  background:#fffbeb;
  border-radius:6px;
  padding:12px 14px;
  color:#92400e;
  font-size:13px;
  font-weight:700;}
body.page-admin-usuarios .permission-box strong{display:block;margin-bottom:6px}
body.page-admin-usuarios .permission-list{display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;}
body.page-admin-usuarios .permission-pill{display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #fcd34d;
  background:#fff;
  font-weight:900;
  font-size:12px;}
body.page-admin-usuarios .docs-list-admin{display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
  align-items: stretch;}
body.page-admin-usuarios .doc-admin-item{display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 106px;
  border: 1px solid #e6e8ec;
  padding: 15px;
  border-radius: 6px;
  background: #f8fafc;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;}
body.page-admin-usuarios .doc-admin-item a, body.page-admin-usuarios .doc-admin-item small{display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;}
body.page-admin-usuarios #documentosCard, body.page-admin-usuarios #documentosCard .card, body.page-admin-usuarios #documentosLista{max-width: 100%;
  box-sizing: border-box;}
body.page-admin-usuarios .dependentes-list-admin{display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:12px;}
body.page-admin-usuarios .dep-admin-item{border:1px solid #dbe3ff;
  background:#f8fbff;
  border-radius:6px;
  padding:14px;
  display:grid;
  gap:10px;}
body.page-admin-usuarios .dep-admin-title{display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  font-weight:900;
  color:#172554;}
body.page-admin-usuarios .dep-admin-title small{display:inline-flex;
  padding:4px 8px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#1e3a8a;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;}
body.page-admin-usuarios .dep-admin-grid{display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;}
body.page-admin-usuarios .dep-admin-field{border:1px dashed #dbe3ff;
  border-radius:6px;
  background:#fff;
  padding:8px 10px;
  min-width:0;}
body.page-admin-usuarios .dep-admin-field span{display:block;
  font-size:11px;
  color:#64748b;
  font-weight:900;
  margin-bottom:3px;}
body.page-admin-usuarios .dep-admin-field b{display:block;
  font-size:13px;
  color:#0f172a;
  overflow-wrap:anywhere;}
body.page-admin-usuarios .dep-admin-docs{border-top:1px solid #e6eaf5;
  padding-top:8px;
  display:grid;
  gap:5px;
  font-size:12px;
  font-weight:800;}
body.page-admin-usuarios .dep-admin-docs a{color:#1d4ed8;text-decoration:none}
body.page-admin-usuarios .dep-admin-docs a:hover{text-decoration:underline}
body.page-admin-usuarios .dep-admin-empty{border:1px dashed #cbd5e1;
  background:#f8fafc;
  color:#64748b;
  font-weight:800;
  border-radius:6px;
  padding:14px;}
@media (max-width:980px){body.page-admin-usuarios .span-6, body.page-admin-usuarios .span-4, body.page-admin-usuarios .span-3, body.page-admin-usuarios .span-2{grid-column:span 12}
body.page-admin-usuarios .header{grid-template-columns:1fr}
body.page-admin-usuarios .meta{text-align:left}}

/* ===== ajuda_perfil.php ===== */
body.page-ajuda-perfil{--help-gradient: linear-gradient(135deg,#3f51b5, #5b6be1, #6a79ff); --help-chip-bg: rgba(255,255,255,.08); --help-text:#ecf0ff;}
body.page-ajuda-perfil{background: var(--bg);}
body.page-ajuda-perfil .help-hero{background: var(--help-gradient); color: var(--help-text); padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.2);}
body.page-ajuda-perfil .help-hero .title{display:flex; align-items:center; gap:.6rem; font-weight:600}
body.page-ajuda-perfil .help-hero .chips{margin-top:.5rem; display:flex; gap:.4rem; flex-wrap:wrap}
body.page-ajuda-perfil .chip{display:inline-flex; gap:.35rem; align-items:center; padding:.28rem .6rem; border-radius:999px; background:var(--help-chip-bg); border:1px solid rgba(255,255,255,.18); font-size:.8rem}
body.page-ajuda-perfil .help-shell{display:grid; grid-template-columns:280px 1fr; gap:1rem; padding:1rem}
@media (max-width:1024px){body.page-ajuda-perfil .help-shell{grid-template-columns: 1fr}}
body.page-ajuda-perfil .help-nav{position:sticky; top:12px; background:var(--white); border:1px solid #e9edf3; border-radius:14px; box-shadow:0 14px 34px rgba(20,30,60,.06); padding:.9rem; max-height:calc(100vh - 24px); overflow:auto}
body.page-ajuda-perfil .help-nav .search{position:sticky; top:0; background:var(--white); padding-bottom:.6rem; margin-bottom:.4rem; border-bottom:1px dashed #e9edf3; z-index:1}
body.page-ajuda-perfil .help-nav input{width:100%; padding:.6rem .75rem; border:1px solid #e9edf3; border-radius:10px}
body.page-ajuda-perfil .help-nav ul{list-style:none; padding:0; margin:.5rem 0 0 0; display:flex; flex-direction:column; gap:.25rem}
body.page-ajuda-perfil .help-nav a{display:flex; gap:.5rem; align-items:center; padding:.5rem .6rem; border-radius:10px; color:#334155; text-decoration:none; font-size:.93rem}
body.page-ajuda-perfil .help-nav a:is(:hover,.active){background:#f3f6ff; color:#1f2d5c}
body.page-ajuda-perfil .help-nav small{margin-left:auto; color:#64748b}
body.page-ajuda-perfil .help-content{display:flex; flex-direction:column; gap:1rem}
body.page-ajuda-perfil .card{background:var(--white); border:1px solid #e9edf3; border-radius:16px; box-shadow:0 14px 34px rgba(20,30,60,.06)}
body.page-ajuda-perfil .card .card-hd{padding:.9rem 1rem; border-bottom:1px solid #eef2f6; display:flex; align-items:center; justify-content:space-between; gap:.6rem}
body.page-ajuda-perfil .card .card-hd h3{margin:0; font-size:1.05rem; color:#1f2d5c; display:flex; align-items:center; gap:.6rem; font-weight:600}
body.page-ajuda-perfil .card .card-bd{padding:.9rem 1rem; color:#334155; line-height:1.65}
body.page-ajuda-perfil .btn-ghost{background:#eef2f7; border:1px solid #e6ebf5; color:#1f2d5c; border-radius:12px; padding:.5rem .8rem; font-weight:600; cursor:pointer; text-decoration:none; display:inline-flex; gap:.4rem; align-items:center}
body.page-ajuda-perfil .btn-ghost:hover{background:#e6ebf5}
body.page-ajuda-perfil .kbd{font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background:#f3f6ff; border:1px solid #e4e9ff; padding:.15rem .33rem; border-radius:6px; font-size:.85rem}
body.page-ajuda-perfil .callout{border:1px solid #dbeafe; background:#eff6ff; padding:.75rem .9rem; border-radius:12px; color:#1e3a8a}
body.page-ajuda-perfil .anchor{scroll-margin-top: 88px}

/* ===== alterar_senha.php ===== */
body.page-alterar-senha{--bg1:#0f2027; --bg2:#203a43; --accent1:#1CB5E0; --accent2:#000851;
  --text:#ffffff; --muted:#e6e6e6; --error:#ff6b6b; --ok:#00c896;
  --blur:14px; --radius:18px; --shadow:0 10px 30px rgba(0,0,0,.35);}
body.page-alterar-senha *{box-sizing:border-box}
html, body.page-alterar-senha{height:100%;margin:0}
body.page-alterar-senha{display:grid;grid-template-rows:auto 1fr auto;color:var(--text);
  background:linear-gradient(to right, rgba(15,32,39,.88), rgba(32,58,67,.88)),
             url("../IMG/recrutamento.png") center/cover fixed no-repeat;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;}
body.page-alterar-senha header{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:rgba(0,0,0,.35);backdrop-filter:blur(6px);border-bottom:1px solid rgba(255,255,255,.15)}
body.page-alterar-senha header h1{font-size:1rem;margin:0;font-weight:700;letter-spacing:.4px}
body.page-alterar-senha main{display:grid;place-items:center;padding:2rem 1rem}
body.page-alterar-senha .card{width:min(520px,92vw);padding:28px 24px;border-radius:var(--radius);
  background:rgba(255,255,255,.10);backdrop-filter:blur(var(--blur));
  box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.20);}
body.page-alterar-senha .title{text-align:center;margin:8px 0 18px;font-size:1.05rem;font-weight:700}
body.page-alterar-senha .field{display:grid;gap:6px;margin-bottom:12px}
body.page-alterar-senha .field label{font-size:.92rem;color:var(--muted)}
body.page-alterar-senha .control{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);border-radius:12px;padding:10px 12px}
body.page-alterar-senha input{border:none;outline:none;background:transparent;color:var(--text);font-size:1rem}
body.page-alterar-senha input::placeholder{color:rgba(255,255,255,.75)}
body.page-alterar-senha .toggle{border:0;background:transparent;color:var(--muted);cursor:pointer;padding:6px;border-radius:8px}
body.page-alterar-senha .actions{display:grid;gap:8px;margin-top:4px}
body.page-alterar-senha .btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:0;border-radius:12px;padding:12px 14px;cursor:pointer;font-weight:700;color:#fff;transition:transform .12s ease,opacity .2s;background:linear-gradient(90deg,var(--accent1) 0%,var(--accent2) 100%)}
body.page-alterar-senha .btn:hover{transform:translateY(-1px)}
body.page-alterar-senha .link{color:#fff;text-underline-offset:3px;text-align:center}
body.page-alterar-senha .status{min-height:22px;font-size:.92rem;margin-top:6px}
body.page-alterar-senha .status.error{background:rgba(255,107,107,.12);border:1px solid rgba(255,107,107,.4);padding:8px;border-radius:10px}
body.page-alterar-senha .status.ok{background:rgba(0,200,150,.12);border:1px solid rgba(0,200,150,.35);padding:8px;border-radius:10px}
body.page-alterar-senha .req{font-size:.85rem;color:var(--muted);margin-top:4px}
body.page-alterar-senha footer{text-align:center;font-size:.85rem;padding:10px;opacity:.9}

/* ===== atualizar_documentos.php ===== */
body.page-atualizar-documentos .container{max-width:900px; margin:auto; padding:var(--spacing)}
body.page-atualizar-documentos .card{background:var(--white); border-radius:var(--radius); box-shadow:0 2px 6px rgba(0,0,0,.1); margin-bottom:var(--spacing)}
body.page-atualizar-documentos .card-header{position:relative; background:var(--primary); color:#fff; padding:.75rem var(--spacing); border-radius:var(--radius) var(--radius) 0 0; text-align:center}
body.page-atualizar-documentos .card-header h3{margin:0; font-size:1rem; text-transform:uppercase}
body.page-atualizar-documentos .card-header h1{font-size:.9rem; margin:0}
body.page-atualizar-documentos .card-header .logo{position:absolute; top:50%; right:var(--spacing); transform:translateY(-50%); width:40px; height:40px}
body.page-atualizar-documentos .card-header .voltar{position:absolute; top:50%; left:var(--spacing); transform:translateY(-50%); border:1px solid #fff; background:transparent; color:#fff}
body.page-atualizar-documentos .card-header .voltar:hover{background:#fff; color:#000}
body.page-atualizar-documentos .card-body{padding:var(--spacing)}
body.page-atualizar-documentos .section-title{font-size:.9rem; color:var(--primary); text-transform:uppercase; margin:.5rem 0}
body.page-atualizar-documentos .form-actions{display:flex; justify-content:flex-end; gap:.6rem; margin-top:var(--spacing)}
body.page-atualizar-documentos button{padding:.5rem 1rem}
@page{size:auto; margin:0}
@media print{body.page-atualizar-documentos{padding:0; font-size:6pt}
body.page-atualizar-documentos .card, body.page-atualizar-documentos .form-actions{box-shadow:none}
body.page-atualizar-documentos .form-actions{display:none}}

/* ===== index.php ===== */
body.page-index{--bg1: #0f2027;
      --bg2: #203a43;
      --accent1: #1CB5E0;
      --accent2: #000851;
      --text: #ffffff;
      --muted: #e6e6e6;
      --error: #ff6b6b;
      --ok: #00c896;
      --blur: 14px;
      --radius: 18px;
      --shadow: 0 10px 30px rgba(0,0,0,.35);}
body.page-index *{box-sizing: border-box;}
html, body.page-index{height: 100%; margin: 0;}
body.page-index{
    display: grid;
    grid-template-rows: auto 1fr auto;
    color: var(--text);
    background: url(../IMG/background_fuabc.png) center / cover fixed no-repeat;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
    background-position: bottom;
    height: 100vh;
    padding: 20px;
}
body.page-index header{display: flex;
      align-items: center;
      gap: .75rem;
      padding: .75rem 1rem;
      background: rgba(0,0,0,.35);
      backdrop-filter: blur(6px);
      border-bottom: 1px solid rgba(255,255,255,.15);}
body.page-index header h1{font-size: 1rem;
      margin: 0;
      font-weight: 700;
      letter-spacing: .4px;}
body.page-index header span{opacity: .9;
      font-weight: 500;}
body.page-index main {
    display: grid;
    place-items: center;
    padding: 0;
}
body.page-index .card{width: min(420px, 92vw);
        padding: 14px 14px;
        border-radius: 6px;
        background: rgb(255 255 255);
        backdrop-filter: blur(var(--blur));
        box-shadow: 1px 4px 8px rgb(0 0 0 / 11%);
        border: 1px solid rgb(175 175 175 / 20%);}
body.page-index .brand{display: grid;
      place-items: center;
      margin-bottom: 12px;}
body.page-index .brand img{width: 110px;
        height: auto;
        filter: contrast(0.5);}
body.page-index .title{text-align: center;
        margin: 8px 0 18px;
        font-size: 1.05rem;
        font-weight: 600;
        color: black;}
body.page-index form{display: grid;
      gap: 4px;}
body.page-index .field{display: grid;
        gap: 0px;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        padding: 0px;
        background: #e1e1e129;}
body.page-index .field label{font-size: .92rem;
        color: #171717;
        padding: 5px 12px;}
body.page-index .control{display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,.14);
      border: 1px solid rgba(255,255,255,.25);
      border-radius: 6px;
      padding: 10px 12px;
      min-height: 50px;}
body.page-index .control.single{grid-template-columns: 1fr;}
body.page-index input[type="text"], body.page-index input[type="password"], body.page-index input[type="email"]{width: 100%;
        outline: none;
        background: #ffffff;
        color: black !important;
        border: 1px solid #cccccc;
        font-size: 14px;
        padding: 10px;
        border-radius: 6px;}
body.page-index input::placeholder{color: rgba(255,255,255,.75);}
body.page-index input::placeholder, body.page-index textarea::placeholder{color: #999999;}
body.page-index .toggle{border: 0;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      padding: 6px;
      border-radius: 6px;}
body.page-index .toggle:focus-visible{outline: 2px solid #fff;
      outline-offset: 2px;}
body.page-index .hint{font-size: .85rem;
      color: var(--muted);}
body.page-index .actions{display: grid;
      gap: 8px;
      margin-top: 8px;}
body.page-index .btn{display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .5rem;
      border: 0;
      border-radius: 6px;
      padding: 12px 14px;
      cursor: pointer;
      font-weight: 600;
      color: #fff;
      transition: transform .12s ease, opacity .2s;
      background: linear-gradient(90deg, var(--accent1) 0%, var(--accent2) 100%);}
body.page-index .btn:disabled{opacity: .6;
      cursor: not-allowed;}
body.page-index .btn:hover{transform: translateY(-1px);}
body.page-index .btn:focus-visible{outline: 2px solid #fff;
      outline-offset: 3px;}
body.page-index .link{color: white;
      text-underline-offset: 3px;
      text-align: center;
      padding: 10px;
      border-radius: 6px;
      background: linear-gradient(45deg, #010f57, #1bb2dd);
      text-decoration: none;
      transition: .3s ease;
      border: 0;
      cursor: pointer;
      font-size: .95rem;
      font-weight: 600;
      width: 100%;}
body.page-index .link:hover{transform: translateY(-1px);}
body.page-index .status{min-height: 22px;
      font-size: .92rem;}
body.page-index .status[aria-live]{padding: 6px 8px;
      border-radius: 6px;}
body.page-index .status.error{background: rgba(255,107,107,.12);
      border: 1px solid rgba(255,107,107,.4);}
body.page-index .status.ok{background: rgba(0,200,150,.12);
      border: 1px solid rgba(0,200,150,.35);}
body.page-index .recover-wrap{display: none;
      margin-top: 4px;
      padding-top: 8px;
      border-top: 1px solid rgba(255,255,255,.14);
      gap: 12px;}
body.page-index .recover-wrap.open{display: grid;}
body.page-index .recover-help{font-size: .88rem;
        color: #404040;
        text-align: center;
        line-height: 1.45;}
body.page-index footer{
    max-width: 100%;
    margin: 0 0px 0px 0px;
    text-align: center;
    padding: 0 var(--spacing);
    color: #7b8794;
    align-content: center;
    height: 70px;
}
@media (prefers-reduced-motion: no-preference){body.page-index .card{animation: in .4s ease-out both;}
@keyframes in{from { opacity: 0; transform: translateY(8px); }
        to { opacity: 1; transform: none; }}}
body.page-index .voltar{width: 100px;
        background-color: rgb(225 225 225);
        border-radius: 6px;
        border: 1px solid #d5d5d557;
        padding: 7px 10px;
        text-align: center;
        color: #2d2d2d;
        margin: 20px;
        font-weight: normal;
        text-decoration: none;
        transition: .3s ease;
        position: fixed;
        top: 0px;
        left: 0;}
body.page-index .voltar:hover{background: #b6b6b64d;}
/*CLOUDFARE CAPTCHA*/
body.page-index .cf-turnstile{width: 100%;
      display: flex;
      justify-content: center;}
body.page-index .control.single .cf-turnstile{min-height: 65px;}

/* ===== indicadores.php ===== */
body.page-indicadores{--bg: #f4f7fb;
      --card: #ffffff;
      --ink: #0f172a;
      --muted: #64748b;
      --line: #dbe5f4;
      --blue: #2563eb;
      --blue2: #1d4ed8;
      --green: #16a34a;
      --red: #dc2626;
      --amber: #f59e0b;
      --purple: #7c3aed;
      --radius: 18px;
      --shadow: 0 14px 35px rgba(15, 23, 42, .08);
      --font: "Inter", Arial, sans-serif;}
body.page-indicadores *{box-sizing: border-box;}
body.page-indicadores{margin: 0; font-family: var(--font); background: radial-gradient(circle at top left, #dbeafe, transparent 34%), var(--bg); color: var(--ink);}
body.page-indicadores .topbar{min-height: 70px; background: linear-gradient(135deg, #123c69, #2563eb); color: #fff; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; box-shadow: 0 10px 30px rgba(37,99,235,.24);}
body.page-indicadores .brand{display: flex; align-items: center; gap: 14px;}
body.page-indicadores .brand img{width: 44px; height: 44px; object-fit: contain;}
body.page-indicadores .brand h1{margin: 0; font-size: 18px; font-weight: 900; letter-spacing: -.02em;}
body.page-indicadores .brand small{display: block; opacity: .85; font-weight: 600; margin-top: 3px;}
body.page-indicadores .actions{display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end;}
body.page-indicadores .btn{border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.12); text-decoration: none; border-radius: 6px; padding: 9px 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;}
body.page-indicadores .btn:hover{background: rgba(255,255,255,.22);}
body.page-indicadores .btn-danger{background: #ef4444;
        border: none;
        color: #fff;
        transition: .3s ease;}
body.page-indicadores .btn-danger:hover{background-color: #ff5667;}
body.page-indicadores .page{max-width: 1480px; margin: 0 auto; padding: 24px;}
body.page-indicadores .filters{background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); padding: 18px; margin-bottom: 18px; backdrop-filter: blur(9px);}
body.page-indicadores .filters-title{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px;}
body.page-indicadores .filters-title h2{margin:0; font-size:18px; font-weight:900;}
body.page-indicadores .filters-title p{margin:4px 0 0; color:var(--muted); font-size:13px; font-weight:600;}
body.page-indicadores .grid-filters{display: grid; grid-template-columns: 1.5fr 1.5fr repeat(2, .8fr) auto auto; gap: 12px; align-items: end;}
body.page-indicadores .field label{display:block; font-size:12px; font-weight:900; color:#334155; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .03em;}
body.page-indicadores .field select, body.page-indicadores .field input{width: 100%; min-height: 42px; border:1px solid #cbd5e1; border-radius: 6px; background:#fff; padding: 0 12px; font-weight:700; color:#0f172a; outline:none;}
body.page-indicadores .field select:focus, body.page-indicadores .field input:focus{border-color:#2563eb; box-shadow:0 0 0 4px rgba(37,99,235,.10);}
body.page-indicadores .apply, body.page-indicadores .clear{min-height:42px; border:0; border-radius:6px; padding:0 16px; font-weight:900; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:8px; white-space: nowrap;}
body.page-indicadores .apply{background: var(--blue); color:#fff;}
body.page-indicadores .clear{background:#fff; color:#334155; border:1px solid #cbd5e1;}
body.page-indicadores .notice{display:none; margin-top:12px; background:#fffbeb; border:1px solid #fde68a; color:#92400e; padding:12px 14px; border-radius:6px; font-weight:700; font-size:13px;}
body.page-indicadores .kpis{display:grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: 14px; margin-bottom:18px;}
body.page-indicadores .kpi{background: var(--card); border:1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); padding:16px; position:relative; overflow:hidden; min-height:116px;}
body.page-indicadores .kpi::after{content:""; position:absolute; inset:auto -40px -55px auto; width:115px; height:115px; border-radius:999px; background:rgba(37,99,235,.08);}
body.page-indicadores .kpi .ico{width:38px; height:38px; border-radius:6px; display:grid; place-items:center; background:#eff6ff; color:var(--blue); font-size:19px; margin-bottom:12px;}
body.page-indicadores .kpi strong{display:block; font-size:28px; font-weight:950; letter-spacing:-.04em;}
body.page-indicadores .kpi span{color:var(--muted); font-size:12px; font-weight:900; text-transform: uppercase; letter-spacing:.04em;}
body.page-indicadores .kpi.green .ico{background:#ecfdf5; color:var(--green);}
body.page-indicadores .kpi.red .ico{background:#fef2f2; color:var(--red);}
body.page-indicadores .kpi.amber .ico{background:#fffbeb; color:var(--amber);}
body.page-indicadores .kpi.purple .ico{background:#f5f3ff; color:var(--purple);}
body.page-indicadores .charts{display:grid; grid-template-columns: repeat(12, 1fr); gap: 18px;}
body.page-indicadores .panel{background: var(--card); border:1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); padding:18px; min-height: 360px; overflow:hidden;}
body.page-indicadores .panel h3{margin:0 0 4px; font-size:16px; font-weight:950;}
body.page-indicadores .panel .hint{margin:0 0 12px; color:var(--muted); font-size:12px; font-weight:700;}
body.page-indicadores .chart-actions{display:flex; align-items:center; justify-content:space-between; gap:12px; margin: 8px 0 12px; flex-wrap:wrap;}
body.page-indicadores .chart-actions span{color:#64748b; font-size:12px; font-weight:800;}
body.page-indicadores .chart-actions select{min-height:34px; border:1px solid #cbd5e1; border-radius:6px; background:#fff; padding:0 10px; font-weight:800; color:#0f172a; outline:none;}
body.page-indicadores .chart-scroll{overflow:auto; max-height: 620px; padding-right: 6px;}
body.page-indicadores .chart-scroll::-webkit-scrollbar{width: 9px; height: 9px;}
body.page-indicadores .chart-scroll::-webkit-scrollbar-thumb{background:#cbd5e1; border-radius:999px;}
body.page-indicadores .chart-scroll::-webkit-scrollbar-track{background:#f1f5f9; border-radius:999px;}
body.page-indicadores .col-4{grid-column: span 4;}
body.page-indicadores .col-6{grid-column: span 6;}
body.page-indicadores .col-8{grid-column: span 8;}
body.page-indicadores .col-12{grid-column: span 12;}
body.page-indicadores .table-wrap{overflow:auto; max-height: 430px; border:1px solid #e2e8f0; border-radius:6px;}
body.page-indicadores table{border-collapse: collapse; width:100%; min-width:680px;}
body.page-indicadores th, body.page-indicadores td{padding:12px 14px; border-bottom:1px solid #e2e8f0; text-align:left; font-size:13px; white-space:nowrap;}
body.page-indicadores th{position:sticky; top:0; z-index:1; background:#f8fafc; color:#334155; font-weight:950; text-transform: uppercase; letter-spacing:.04em; font-size:11px;}
body.page-indicadores td{font-weight:700; color:#0f172a;}
body.page-indicadores .empty{min-height:260px; display:grid; place-items:center; color:#94a3b8; font-weight:900; text-align:center; padding:20px;}
body.page-indicadores .loading{opacity:.65; pointer-events:none;}
@media (max-width: 1200px){body.page-indicadores .grid-filters{grid-template-columns: repeat(2, 1fr);}
body.page-indicadores .kpis{grid-template-columns: repeat(3, 1fr);}
body.page-indicadores .col-4, body.page-indicadores .col-6, body.page-indicadores .col-8{grid-column: span 12;}}
@media (max-width: 720px){body.page-indicadores .topbar{align-items:flex-start; flex-direction:column;}
body.page-indicadores .page{padding:14px;}
body.page-indicadores .grid-filters{grid-template-columns:1fr;}
body.page-indicadores .kpis{grid-template-columns:1fr;}
body.page-indicadores .panel{min-height:320px;}}

/* ===== menu_cadfunc.php ===== */
body.page-menu-cadfunc{--primary: #0d6efd;
    --white: #ffffff;
    --bg-overlay: rgba(15, 32, 39, 0.75);
    --radius: 12px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;}
body.page-menu-cadfunc *{margin: 0; padding: 0; box-sizing: border-box;}
body.page-menu-cadfunc{
    margin: 0;
    font-family: var(--font);
    background: linear-gradient(rgb(255 255 255 / 75%), rgb(255 255 255 / 75%)), url(../IMG/background_fuabc.png) no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-position: bottom;
}
body.page-menu-cadfunc .topbar{background: rgb(5 0 220);
    padding: 0.4rem 1rem;
    color: #ffffff;
    text-align: left;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    border: none;
}
body.page-menu-cadfunc .topbar h5{margin: 0;
    font-weight: 300;
    font-size: 14px;}
body.page-menu-cadfunc .navbar-custom{background: rgb(6 0 255);
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    justify-content: flex-end;
    gap: 15px;}
body.page-menu-cadfunc .navbar-left{display: flex; align-items: center; gap: 0.75rem;}
body.page-menu-cadfunc .logo{height: 30px;
    margin: 0 15px;}
body.page-menu-cadfunc .welcome{font-size: 1rem; color: #fff;}
body.page-menu-cadfunc .username{color: #ffffff; font-weight: bold;}
body.page-menu-cadfunc .navbar-right a i, body.page-menu-cadfunc .navbar-right i{font-size: 18px;
    color: #fff;
    cursor: pointer;}
body.page-menu-cadfunc .hero-container{flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;}
body.page-menu-cadfunc .card-opcoes{background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgb(101 101 101 / 12%);
    transition: transform 0.2s ease;
    height: 100%;
    text-align: center;
    backdrop-filter: blur(3px);}
body.page-menu-cadfunc .card-opcoes:hover{
    transform: translateY(-4px);
}
body.page-menu-cadfunc .card-body{
    padding: 30px;
    display: grid;
}
body.page-menu-cadfunc .card-icon{
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}
body.page-menu-cadfunc .card-opcoes h5{font-weight: 600; margin-bottom: 10px;}
body.page-menu-cadfunc .card-opcoes p{font-size: 0.85rem; color: #555;}
body.page-menu-cadfunc footer{
    background: transparent;
    text-align: center;
    padding: 15px;
    font-size: 0.8rem;
    color: var(--white);}
body.page-menu-cadfunc .btn{border: 1px solid #ccd4ef;
    background: #fff;
    color: var(--ink);
    padding: 4px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 900;
    letter-spacing: .2px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .02);
    transition: .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;}
body.page-menu-cadfunc .btn-danger{background: #ef4444;
    border: none;
    color: #fff;
    padding: 3px 15px;
    font-size: 14px;
    border-radius: 6px;}
body.page-menu-cadfunc .btn-danger:hover{background-color: #ff5667;}
body.page-menu-cadfunc #btn-perfil{width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;}
body.page-menu-cadfunc #btn-perfil:hover{color: #000000 !important;
    background-color: #e0e0e0 !important;
    border-color: #b7b7b7 !important;}
body.page-menu-cadfunc #btn-gestao{width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;}
body.page-menu-cadfunc #btn-gestao:hover{color: #000000 !important;
    background-color: #e0e0e0 !important;
    border-color: #b7b7b7 !important;}
body.page-menu-cadfunc #btn-indicadores{width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;}
body.page-menu-cadfunc #btn-indicadores:hover{color: #000000 !important;
    background-color: #e0e0e0 !important;
    border-color: #b7b7b7 !important;}
body.page-menu-cadfunc #btn-admin-users{width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;}
body.page-menu-cadfunc #btn-admin-users:hover{color: #000000 !important;
    background-color: #e0e0e0 !important;
    border-color: #b7b7b7 !important;}


.hero-container .container .row {
    display: grid;
    grid-auto-flow: column;
    gap: 10px;
}


/* ===== perfil.php ===== */
body.page-perfil{--brand:#4169E1;
  --brand-600:#3156ce;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#E6EAF5;
  --bg:#f6f8fc;
  --card:#ffffff;
  --ok:#10b981;
  --warn:#f59e0b;
  --err:#ef4444;
  --info:#0ea5e9;
  --radius:14px;
  --shadow:0 10px 28px rgba(26,46,107,.08);
  --font:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;}
body.page-perfil *{box-sizing:border-box}
html, body.page-perfil{height:100%}
body.page-perfil{margin:0; font-family:var(--font); color:var(--ink);
  background:linear-gradient(180deg, #f7f9ff 0, #f6f8fc 50%, #f7f9fe 100%);}
body.page-perfil .topbar{background:var(--brand); color:#fff; font-weight:800; letter-spacing:.25px;
  padding:10px 16px; text-align:center; font-size:14px;
  position:sticky; top:0; z-index:30;}
body.page-perfil .appbar{max-width:1200px; margin:10px auto 0; padding:0 14px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;}
body.page-perfil .appbar .left{display:flex; align-items:center; gap:12px}
body.page-perfil .appbar .brand{display:flex; align-items:center; gap:10px; background:#fff; padding:8px 12px;
  border:1px solid var(--line); border-radius:6px; box-shadow:var(--shadow);}
body.page-perfil .appbar .brand img{height:24px}
body.page-perfil .appbar .welcome{font-size:14px; color:var(--muted); font-weight:700}
body.page-perfil .appbar .actions{display:flex; align-items:center; gap:10px; position: relative; flex-wrap:wrap}
body.page-perfil .btn{border:1px solid #ccd4ef; 
  background:#fff; 
  color:var(--ink); 
  padding:9px 14px; 
  border-radius:6px; 
  cursor:pointer;
  font-weight:800; 
  letter-spacing:.2px; 
  box-shadow:0 2px 0 rgba(0,0,0,.02); 
  transition:.2s ease; 
  display:inline-flex; 
  align-items:center; gap:8px;
  text-decoration:none;
  cursor: pointer;}
body.page-perfil .btn:hover{transform:translateY(-1px)}
body.page-perfil .btn-primary{cursor: pointer;background:var(--brand); border-color:var(--brand); color:#fff}
body.page-perfil .btn-ghost{cursor: pointer;background:transparent}
body.page-perfil .btn-status-red{border:2px solid #ef4444 !important; box-shadow:0 0 0 3px rgba(239,68,68,.08)}
body.page-perfil .btn-status-green{border:2px solid #10b981 !important; box-shadow:0 0 0 3px rgba(16,185,129,.08)}
body.page-perfil .btn-status-orange{border:2px solid #ffe400 !important; box-shadow:0 0 0 3px rgba(245,158,11,.10)}
body.page-perfil .attach.status-ok{background:#e7fff3; border-color: #86efac; color: #065f46}
body.page-perfil .attach.status-warn{background:#fff7df; border-color: #facc15; color: #7c2d12}
body.page-perfil .attach.status-error{background:#ffe6e6; border-color: #fca5a5; color: #7f1d1d}
body.page-perfil .attach.status-miss{background:#fff1e6; border-color: #fdba74; color: #7c2d12}
body.page-perfil main{max-width:1200px; margin:10px auto 32px; padding:0 14px}
body.page-perfil .card{background:var(--card); border:1px solid var(--line); border-radius: 6px;
  box-shadow:var(--shadow); padding:16px 18px; margin-bottom:14px;}
body.page-perfil .card-title{font-size:13px; font-weight:900; color:#475569; letter-spacing:.3px; text-transform:uppercase; margin:0 0 8px;}
body.page-perfil .grid{display:grid; gap:12px}
body.page-perfil .cols-4{grid-template-columns:repeat(4,1fr)}
body.page-perfil .cols-3{grid-template-columns:repeat(3,1fr)}
body.page-perfil .responsive{grid-template-columns:repeat(12,1fr)}
body.page-perfil .span-12{grid-column:span 12}
body.page-perfil .span-8{grid-column:span 8}
body.page-perfil .span-6{grid-column:span 6}
body.page-perfil .span-4{grid-column:span 4}
body.page-perfil .span-3{grid-column:span 3}
body.page-perfil .span-2{grid-column:span 2}
body.page-perfil .span-1{grid-column:span 1}
body.page-perfil .header{display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center;}
body.page-perfil .header h1{font-size:18px; margin:0 0 4px; font-weight:900}
body.page-perfil .header small{color:var(--muted); font-weight:700}
body.page-perfil .meta{text-align:right}
body.page-perfil .meta .re{font-size:12px; color:#6b7280}
body.page-perfil .meta .re strong{display:inline-block; background:#eef2ff; color:#172554; padding:6px 12px; border-radius: 6px; border:1px dashed #c7d2fe; margin-left:6px; font-size:14px}
body.page-perfil .meta .unit{font-size:12px; color:#6b7280}
body.page-perfil .field{border:1px dashed #dbe3ff; 
  background:#f9fbff; 
  border-radius: 6px; 
  padding:10px 12px;}
body.page-perfil .field label{display:block; 
  font-size:12px; 
  color:#6b7280; 
  margin-bottom:4px; 
  font-weight:900;}
body.page-perfil .field .value{font-weight:600;}
body.page-perfil .field .margin{margin-top: 1rem;}
body.page-perfil .field input, body.page-perfil .field select{width:100%; 
  padding:10px 12px; 
  border:1px solid #cadaff; 
  border-radius: 6px; 
  outline:none; 
  font:inherit; 
  background:#fff;}
body.page-perfil .field input::placeholder{color:#94a3b8}
body.page-perfil .field .radio-options{display: flex;
  gap: 20px;}
body.page-perfil .field .radio-options label{display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;}
body.page-perfil .table{width:100%; border-collapse:collapse; font-size:13px}
body.page-perfil .table th, body.page-perfil .table td{border:1px solid var(--line); padding:10px; text-align:center}
body.page-perfil .table thead th{background:#f4f7ff; color:#334155; font-weight:900}
body.page-perfil .new{background:#f0f7ff}
body.page-perfil .tag{display:inline-block; padding:2px 8px; border-radius:999px; font-size:12px; font-weight:900}
body.page-perfil .tag.ok{background:#ecfdf5;
  color:#166534;
  border:1px solid #86efac;}
body.page-perfil .tag.del{background:#fef2f2;
  color:#b91c1c;
  border:1px solid #fca5a5;}
body.page-perfil .tag.edit{background: #fff7ed;
  color: #ffa508;
  border: 1px solid #ffa508;
  padding: 5px 10px;}
body.page-perfil .tag.add{background:#eef2ff;
  color:#3730a3;
  border:1px solid #c7d2fe;}
body.page-perfil .profile-btn{width:40px; height:40px; border-radius: 6px; border:1px solid #ccd4ef; background:#fff; display:grid; place-items:center; cursor: pointer;}
body.page-perfil .profile-menu{position: absolute; right: 0; top: 48px; width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 6px; display: none; box-shadow: var(--shadow); z-index: 60;}
body.page-perfil .profile-menu.active{display:block}
body.page-perfil .profile-menu .head{padding:.65rem .85rem; font-weight:900; color:#334155; border-bottom:1px solid var(--line)}
body.page-perfil .profile-menu a{display:flex; gap:.55rem; align-items:center; padding:.6rem .85rem; color:#0f172a; text-decoration:none}
body.page-perfil .profile-menu a:hover{background:#f8fafc}
body.page-perfil .file{display:grid; grid-template-columns:200px 1fr; align-items:center; gap:10px}
body.page-perfil .fake{border:1px dashed #ccd4ef; border-radius: 6px; padding:10px; text-align:center; font-size:13px; color:#64748b}
body.page-perfil .file .wrap{position:relative}
body.page-perfil .file input[type=file]{opacity:0; position:absolute; inset:0}
body.page-perfil footer{text-align:center; color:#94a3b8; font-size:12px; padding:24px 0 36px}
body.page-perfil .hide{display:none!important}
body.page-perfil .right{display:flex; justify-content:flex-end; gap:8px}
body.page-perfil .tooltip{position: relative;}
body.page-perfil .tooltip .tooltiptext{visibility: hidden; width: 120px; background-color: rgba(54, 54, 54, 0.3); color: #fff; text-align: center; padding: 5px 0;
  border-radius: 6px; font-size: 10px; font-family: var(--font);
  position: absolute; z-index: 1; bottom: 100%; left: 50%; margin-left: -60px;}
body.page-perfil .tooltip:hover .tooltiptext{visibility: visible;}
body.page-perfil .attach{display:flex; align-items:center; justify-content:center;
  gap:8px; width:100%; min-height:42px;
  border:1px solid var(--line); border-radius: 6px;
  background:#fff; font-weight:800; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border .15s ease;
  box-shadow:0 1px 0 rgba(0,0,0,.02);}
body.page-perfil .attach i{opacity:.8}
body.page-perfil .attach:hover{transform:translateY(-1px)}
body.page-perfil .attach .filename{font-weight:800; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.page-perfil .attach .hint{font-size:11px; font-weight:700; opacity:.75}
body.page-perfil .pm-overlay{position:fixed; inset:0; background:rgba(15,23,42,.5); z-index:9998;
  display:none; align-items:center; justify-content:center; padding:20px;}
body.page-perfil .pm-overlay.active{display:flex}
body.page-perfil .pm-modal{width:min(1180px, 96vw);
  max-height:92vh;
  overflow:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius: 6px;
  box-shadow:0 20px 70px rgba(15,23,42,.24);}
body.page-perfil .pm-head{position:sticky; top:0; z-index:2;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 18px; background:#fff; border-bottom:1px solid var(--line);}
body.page-perfil .pm-head h3{margin:0; font-size:17px; font-weight:900}
body.page-perfil .pm-head .sub{font-size:12px; color:var(--muted); font-weight:700}
body.page-perfil .pm-body{padding:16px 18px}
body.page-perfil .pm-close{border: 1px solid #ccd4ef;
  background: #ff0000;
  color: white;
  border-radius: 100px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 800;
  border: none;
  transition: .3s ease;}
body.page-perfil .pm-close:hover{background: #ff0000bd;}
body.page-perfil .pm-loading{padding:22px; text-align:center; color:var(--muted); font-weight:700;}
body.page-perfil .pm-content-table{width:100%; border-collapse:collapse; font-size:13px}
body.page-perfil .pm-content-table th, body.page-perfil .pm-content-table td{border:1px solid var(--line); padding:10px; vertical-align:top}
body.page-perfil .pm-content-table thead th{text-align: left; background:#f4f7ff; color:#334155; font-weight:900}
body.page-perfil .pm-payload-box{max-width:420px;
  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
  line-height:1.35;}
body.page-perfil .pm-empty{padding:18px; border:1px dashed #dbe3ff; background:#f9fbff; border-radius: 6px; color:#64748b; font-weight:700;}
body.page-perfil .preserve-break{white-space: pre-wrap;}
@media (max-width: 980px){body.page-perfil .appbar{flex-direction:column; align-items:stretch}
body.page-perfil .appbar .actions{justify-content:flex-start}
body.page-perfil .cols-4, body.page-perfil .cols-3{grid-template-columns:1fr}
body.page-perfil .header{grid-template-columns:1fr}
body.page-perfil .meta{text-align:left}
body.page-perfil .file{grid-template-columns:1fr}}

/* ===== perfil_edit.php ===== */
body.page-perfil-edit{--brand:#4169E1;
  --brand-600:#3156ce;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#E6EAF5;
  --bg:#f6f8fc;
  --card:#ffffff;
  --ok:#10b981;
  --warn:#f59e0b;
  --err:#ef4444;
  --info:#0ea5e9;
  --radius:14px;
  --shadow:0 10px 28px rgba(26,46,107,.08);
  --font:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;}
body.page-perfil-edit *{box-sizing:border-box}
html, body.page-perfil-edit{height:100%}
body.page-perfil-edit{margin:0; font-family:var(--font); color:var(--ink);
  background:linear-gradient(180deg, #f7f9ff 0, #f6f8fc 50%, #f7f9fe 100%);}
body.page-perfil-edit .topbar{background:var(--brand); color:#fff; font-weight:800; letter-spacing:.25px;
  padding:10px 16px; text-align:center; font-size:14px;
  position:sticky; top:0; z-index:30;}
body.page-perfil-edit .appbar{max-width:1200px; margin:10px auto 0; padding:0 14px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;}
body.page-perfil-edit .appbar .left{display:flex; align-items:center; gap:12px}
body.page-perfil-edit .appbar .brand{display:flex; align-items:center; gap:10px; background:#fff; padding:8px 12px;
  border:1px solid var(--line); border-radius:6px; box-shadow:var(--shadow);}
body.page-perfil-edit .appbar .brand img{height:24px}
body.page-perfil-edit .appbar .welcome{font-size:14px; color:var(--muted); font-weight:700}
body.page-perfil-edit .appbar .actions{display:flex; align-items:center; gap:10px; position: relative; flex-wrap:wrap}
body.page-perfil-edit .btn{border:1px solid #ccd4ef; 
  background:#fff; 
  color:var(--ink); 
  padding:9px 14px; 
  border-radius:6px; 
  cursor:pointer;
  font-weight:800; 
  letter-spacing:.2px; 
  box-shadow:0 2px 0 rgba(0,0,0,.02); 
  transition:.2s ease; 
  display:inline-flex; 
  align-items:center; gap:8px;
  text-decoration:none;
  cursor: pointer;}
body.page-perfil-edit .btn:hover{transform:translateY(-1px)}
body.page-perfil-edit .btn-primary{cursor: pointer;background:var(--brand); border-color:var(--brand); color:#fff}
body.page-perfil-edit .btn-ghost{cursor: pointer;background:transparent}
body.page-perfil-edit .btn-status-red{border:2px solid #ef4444 !important; box-shadow:0 0 0 3px rgba(239,68,68,.08)}
body.page-perfil-edit .btn-status-green{border:2px solid #10b981 !important; box-shadow:0 0 0 3px rgba(16,185,129,.08)}
body.page-perfil-edit .btn-status-orange{border:2px solid #ffe400 !important; box-shadow:0 0 0 3px rgba(245,158,11,.10)}
body.page-perfil-edit .attach.status-ok{background:#e7fff3; border-color: #86efac; color: #065f46}
body.page-perfil-edit .attach.status-warn{background:#fff7df; border-color: #facc15; color: #7c2d12}
body.page-perfil-edit .attach.status-error{background:#ffe6e6; border-color: #fca5a5; color: #7f1d1d}
body.page-perfil-edit .attach.status-miss{background:#fff1e6; border-color: #fdba74; color: #7c2d12}
body.page-perfil-edit main{max-width:1200px; margin:10px auto 32px; padding:0 14px}
body.page-perfil-edit .card{background:var(--card); border:1px solid var(--line); border-radius: 6px;
  box-shadow:var(--shadow); padding:16px 18px; margin-bottom:14px;}
body.page-perfil-edit .card-title{font-size:13px; font-weight:900; color:#475569; letter-spacing:.3px; text-transform:uppercase; margin:0 0 8px;}
body.page-perfil-edit .grid{display:grid; gap:12px}
body.page-perfil-edit .cols-4{grid-template-columns:repeat(4,1fr)}
body.page-perfil-edit .cols-3{grid-template-columns:repeat(3,1fr)}
body.page-perfil-edit .responsive{grid-template-columns:repeat(12,1fr)}
body.page-perfil-edit .span-12{grid-column:span 12}
body.page-perfil-edit .span-8{grid-column:span 8}
body.page-perfil-edit .span-6{grid-column:span 6}
body.page-perfil-edit .span-4{grid-column:span 4}
body.page-perfil-edit .span-3{grid-column:span 3}
body.page-perfil-edit .span-2{grid-column:span 2}
body.page-perfil-edit .span-1{grid-column:span 1}
body.page-perfil-edit .header{display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center;}
body.page-perfil-edit .header h1{font-size:18px; margin:0 0 4px; font-weight:900}
body.page-perfil-edit .header small{color:var(--muted); font-weight:700}
body.page-perfil-edit .meta{text-align:right}
body.page-perfil-edit .meta .re{font-size:12px; color:#6b7280}
body.page-perfil-edit .meta .re strong{display:inline-block; background:#eef2ff; color:#172554; padding:6px 12px; border-radius: 6px; border:1px dashed #c7d2fe; margin-left:6px; font-size:14px}
body.page-perfil-edit .meta .unit{font-size:12px; color:#6b7280}
body.page-perfil-edit .field{border:1px dashed #dbe3ff; 
  background:#f9fbff; 
  border-radius: 6px; 
  padding:10px 12px;}
body.page-perfil-edit .field label{display:block; 
  font-size:12px; 
  color:#6b7280; 
  margin-bottom:4px; 
  font-weight:900;}
body.page-perfil-edit .field .value{font-weight:600;}
body.page-perfil-edit .field .margin{margin-top: 1rem;}
body.page-perfil-edit .field input, body.page-perfil-edit .field select{width:100%; 
  padding:10px 12px; 
  border:1px solid #cadaff; 
  border-radius:6px; 
  outline:none; 
  font:inherit; 
  background:#fff;}
body.page-perfil-edit .field input::placeholder{color:#94a3b8}
body.page-perfil-edit .field .radio-options{display: flex;
  gap: 20px;}
body.page-perfil-edit .field .radio-options label{display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;}
body.page-perfil-edit .table{width:100%; border-collapse:collapse; font-size:13px}
body.page-perfil-edit .table th, body.page-perfil-edit .table td{border:1px solid var(--line); padding:10px; text-align:center}
body.page-perfil-edit .table thead th{background:#f4f7ff; color:#334155; font-weight:900}
body.page-perfil-edit .new{background:#f0f7ff}
body.page-perfil-edit .tag{display:inline-block; padding:2px 8px; border-radius:999px; font-size:12px; font-weight:900}
body.page-perfil-edit .tag.ok{background:#ecfdf5;
  color:#166534;
  border:1px solid #86efac;}
body.page-perfil-edit .tag.del{background:#fef2f2;
  color:#b91c1c;
  border:1px solid #fca5a5;}
body.page-perfil-edit .tag.edit{background: #fff7ed;
  color: #ffa508;
  border: 1px solid #ffa508;
  padding: 5px 10px;}
body.page-perfil-edit .tag.add{background:#eef2ff;
  color:#3730a3;
  border:1px solid #c7d2fe;}
body.page-perfil-edit .profile-btn{width:40px; height:40px; border-radius:6px; border:1px solid #ccd4ef; background:#fff; display:grid; place-items:center; cursor: pointer;}
body.page-perfil-edit .profile-menu{position: absolute; right: 0; top: 48px; width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 6px; display: none; box-shadow: var(--shadow); z-index: 60;}
body.page-perfil-edit .profile-menu.active{display:block}
body.page-perfil-edit .profile-menu .head{padding:.65rem .85rem; font-weight:900; color:#334155; border-bottom:1px solid var(--line)}
body.page-perfil-edit .profile-menu a{display:flex; gap:.55rem; align-items:center; padding:.6rem .85rem; color:#0f172a; text-decoration:none}
body.page-perfil-edit .profile-menu a:hover{background:#f8fafc}
body.page-perfil-edit .file{display:grid; grid-template-columns:200px 1fr; align-items:center; gap:10px}
body.page-perfil-edit .fake{border:1px dashed #ccd4ef; border-radius:6px; padding:10px; text-align:center; font-size:13px; color:#64748b}
body.page-perfil-edit .file .wrap{position:relative}
body.page-perfil-edit .file input[type=file]{opacity:0; position:absolute; inset:0}
body.page-perfil-edit footer{text-align:center; color:#94a3b8; font-size:12px; padding:24px 0 36px}
body.page-perfil-edit .hide{display:none!important}
body.page-perfil-edit .right{display:flex; justify-content:flex-end; gap:8px}
body.page-perfil-edit .tooltip{position: relative;}
body.page-perfil-edit .tooltip .tooltiptext{visibility: hidden; width: 120px; background-color: rgba(54, 54, 54, 0.3); color: #fff; text-align: center; padding: 5px 0;
  border-radius: 6px; font-size: 10px; font-family: var(--font);
  position: absolute; z-index: 1; bottom: 100%; left: 50%; margin-left: -60px;}
body.page-perfil-edit .tooltip:hover .tooltiptext{visibility: visible;}
body.page-perfil-edit .attach{display:flex; align-items:center; justify-content:center;
  gap:8px; width:100%; min-height:42px;
  border:1px solid var(--line); border-radius:6px;
  background:#fff; font-weight:800; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border .15s ease;
  box-shadow:0 1px 0 rgba(0,0,0,.02);}
body.page-perfil-edit .attach i{opacity:.8}
body.page-perfil-edit .attach:hover{transform:translateY(-1px)}
body.page-perfil-edit .attach .filename{font-weight:800; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.page-perfil-edit .attach .hint{font-size:11px; font-weight:700; opacity:.75}
body.page-perfil-edit .pm-overlay{position:fixed; inset:0; background:rgba(15,23,42,.5); z-index:9998;
  display:none; align-items:center; justify-content:center; padding:20px;}
body.page-perfil-edit .pm-overlay.active{display:flex}
body.page-perfil-edit .pm-modal{width:min(1180px, 96vw);
  max-height:92vh;
  overflow:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:6px;
  box-shadow:0 20px 70px rgba(15,23,42,.24);}
body.page-perfil-edit .pm-head{position:sticky; top:0; z-index:2;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 18px; background:#fff; border-bottom:1px solid var(--line);}
body.page-perfil-edit .pm-head h3{margin:0; font-size:17px; font-weight:900}
body.page-perfil-edit .pm-head .sub{font-size:12px; color:var(--muted); font-weight:700}
body.page-perfil-edit .pm-body{padding:16px 18px}
body.page-perfil-edit .pm-close{border: 1px solid #ccd4ef;
  background: #ff0000;
  color: white;
  border-radius: 100px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 800;
  border: none;
  transition: .3s ease;}
body.page-perfil-edit .pm-close:hover{background: #ff0000bd;}
body.page-perfil-edit .pm-loading{padding:22px; text-align:center; color:var(--muted); font-weight:700;}
body.page-perfil-edit .pm-content-table{width:100%; border-collapse:collapse; font-size:13px}
body.page-perfil-edit .pm-content-table th, body.page-perfil-edit .pm-content-table td{border:1px solid var(--line); padding:10px; vertical-align:top}
body.page-perfil-edit .pm-content-table thead th{text-align: left; background:#f4f7ff; color:#334155; font-weight:900}
body.page-perfil-edit .pm-payload-box{max-width:420px;
  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
  line-height:1.35;}
body.page-perfil-edit .pm-empty{padding:18px; border:1px dashed #dbe3ff; background:#f9fbff; border-radius:6px; color:#64748b; font-weight:700;}
body.page-perfil-edit .preserve-break{white-space: pre-wrap;}
body.page-perfil-edit .diff{background:#fff7ed; 
  border-color:#fed7aa;}
body.page-perfil-edit .doc-download{display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #1e3a8a;
    font-weight: 900;
    text-decoration: none;
    margin-bottom: 12px;
    width: 100%;
    place-content: center;}
body.page-perfil-edit .doc-download:hover{filter:brightness(.98);transform:translateY(-1px)}
body.page-perfil-edit .mini-note{font-size:12px;color:#64748b;font-weight:700;margin-top:6px;line-height:1.35}
@media (max-width: 980px){body.page-perfil-edit .appbar{flex-direction:column; align-items:stretch}
body.page-perfil-edit .appbar .actions{justify-content:flex-start}
body.page-perfil-edit .cols-4, body.page-perfil-edit .cols-3{grid-template-columns:1fr}
body.page-perfil-edit .header{grid-template-columns:1fr}
body.page-perfil-edit .meta{text-align:left}
body.page-perfil-edit .file{grid-template-columns:1fr}}

/* ===== relatorio.php ===== */
body.page-relatorio{--spacing: 0.5rem;}
body.page-relatorio .btn{border:1px solid #ccd4ef;background:#fff;color:var(--ink);padding:9px 14px;border-radius:6px;cursor:pointer;font-weight:900;letter-spacing:.2px;box-shadow:0 2px 0 rgba(0,0,0,.02);transition:.2s ease;display:inline-flex;align-items:center;gap:8px;text-decoration:none;}
body.page-relatorio .btn-danger{background:#ef4444;border-color:#ef4444;color:#fff;}
body.page-relatorio .btn:hover{transform:translateY(-1px);}
body.page-relatorio .btn[disabled]{opacity:.6;cursor:not-allowed;transform:none}
body.page-relatorio main{max-width:1920px;margin:0 auto;padding:calc(var(--spacing)*1.25) var(--spacing)}
body.page-relatorio .table-navbar{margin-bottom:calc(var(--spacing)*.75)}
body.page-relatorio .table-navbar ul{display:flex;gap:.5rem;list-style:none;margin:0;padding:.4rem;background:var(--white);border:1px solid #e9edf3;border-radius:999px;box-shadow:0 2px 8px rgba(28,39,70,.06);}
body.page-relatorio .table-navbar a{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .9rem;border-radius:999px;font-weight:500;color:#334155;transition:.15s;text-decoration:none;}
body.page-relatorio .table-navbar a:hover{background:#f2f5fb}
body.page-relatorio .table-navbar a.active{background:var(--primary);color:#fff;text-decoration:none}
body.page-relatorio .card-container{display:none; border-radius: 6px !important;}
body.page-relatorio .card-container.active{display:block}
body.page-relatorio .filters-title{display:inline-flex;align-items:center;gap:.45rem;color:#1f2d5c;font-weight:600;margin:.2rem 0 .6rem}
body.page-relatorio .filters-grid{display:grid;grid-template-columns:repeat(4, minmax(0,1fr)) max-content;gap:.6rem;margin-bottom:.9rem;}
body.page-relatorio .filters-grid select{height:42px;border:1px solid #dbe2ea;border-radius:6px;padding:0 12px;background:#fff;color:#0f172a;font-weight:700;outline:none;min-width:0;}
body.page-relatorio .filters-grid select:focus{border-color:#7c9cf5;box-shadow:0 0 0 4px rgba(59,130,246,.10);}
body.page-relatorio .topbar{background:var(--bg);padding:.5rem 1rem;text-align:center;border:none;}
body.page-relatorio .navbar{position:relative;background:var(--white);display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:10px;border-radius:6px;margin:0 7px;}
body.page-relatorio .btn-accent{background:var(--primary);border-color:var(--primary);color:#fff;}
body.page-relatorio .btn-accent:hover{transform:translateY(-1px);}
body.page-relatorio .import-overlay{position:fixed;inset:0;background:rgba(2,6,23,.48);backdrop-filter:blur(2px);opacity:0;pointer-events:none;transition:.18s ease;z-index:9998;}
body.page-relatorio .import-overlay.active{opacity:1;pointer-events:auto;}
body.page-relatorio .import-drawer{position:fixed;top:0;left:0;height:100vh;width:min(520px,92vw);background:#fff;border-right:1px solid #e9edf3;box-shadow:0 20px 60px rgba(2,6,23,.18);transform:translateX(-102%);transition:.22s ease;z-index:9999;display:flex;flex-direction:column;}
body.page-relatorio .import-drawer.active{transform:translateX(0);}
body.page-relatorio .import-head{padding:14px 14px 10px;border-bottom:1px solid #eef2f7;display:flex;align-items:center;justify-content:space-between;gap:10px;}
body.page-relatorio .import-head .title{display:flex;align-items:center;gap:10px;font-weight:800;color:#0f172a;letter-spacing:.2px;}
body.page-relatorio .import-close{border:1px solid #e5e7eb;background:#fff;border-radius:6px;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:.15s ease;}
body.page-relatorio .import-close:hover{background:#f8fafc;transform:translateY(-1px);}
body.page-relatorio .import-body{padding:14px;overflow:auto;display:flex;flex-direction:column;gap:12px;}
body.page-relatorio .import-card{border:1px solid #e9edf3;border-radius:6px;padding:12px;background:#fbfdff;}
body.page-relatorio .import-note{background:#0b1220;color:#e8eefc;border-radius:6px;padding:12px;border:1px solid rgba(255,255,255,.10);}
body.page-relatorio .import-note strong{display:block;margin-bottom:6px;}
body.page-relatorio .import-note ul{margin:6px 0 0 18px;padding:0;color:#cbd5e1;}
body.page-relatorio .import-note li{margin:4px 0;}
body.page-relatorio .import-row{display:flex;flex-direction:column;gap:6px;}
body.page-relatorio .import-row label{font-weight:700;color:#0f172a;font-size:13px;}
body.page-relatorio .import-row input[type="file"]{border:1px dashed #cbd5e1;border-radius:6px;padding:12px;background:#fff;}
body.page-relatorio .import-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end;}
body.page-relatorio .import-checkbox{display:none;align-items:center;gap:10px;padding:10px 12px;border-radius:6px;border:1px solid #e9edf3;background:#fff;}
body.page-relatorio .import-checkbox input{width:18px;height:18px;}
body.page-relatorio .import-status{font-size:13px;color:#334155;line-height:1.35;border-left:4px solid #e2e8f0;padding:10px 12px;background:#fff;border-radius:6px;border:1px solid #eef2f7;}
body.page-relatorio .import-status.ok{border-left-color:#22c55e;}
body.page-relatorio .import-status.err{border-left-color:#ef4444;}
body.page-relatorio .spinner{width:16px;height:16px;border-radius:999px;border:2px solid rgba(255,255,255,.45);border-top-color:rgba(255,255,255,1);animation:spin .8s linear infinite;}
@keyframes spin{to{transform:rotate(360deg)}}
body.page-relatorio .modal-overlay{position:fixed; inset:0; background:rgba(2,6,23,.56); backdrop-filter:blur(2px);
      display:none; align-items:center; justify-content:center; z-index:10050; padding:20px;}
body.page-relatorio .modal-overlay.active{display:flex}
body.page-relatorio .modal-card{width:min(560px, 96vw); background:#fff; border-radius:6px; box-shadow:0 24px 80px rgba(2,6,23,.24);
      border:1px solid #e8edf5; overflow:hidden;}
body.page-relatorio .modal-head{display:flex; align-items:center; justify-content:space-between; gap:12px;
      padding:18px 20px; border-bottom:1px solid #eef2f7;}
body.page-relatorio .modal-title{font-size:18px; font-weight:800; color:#0f172a}
body.page-relatorio .modal-close{border:1px solid #e5e7eb; background:#fff; border-radius:6px; width:40px; height:40px;
      display:inline-flex; align-items:center; justify-content:center; cursor:pointer;}
body.page-relatorio .modal-body{padding:20px; display:flex; flex-direction:column; gap:12px}
body.page-relatorio .modal-body p{margin:0; color:#475569; line-height:1.45}
body.page-relatorio .modal-body label{font-weight:700; color:#0f172a}
body.page-relatorio .modal-body textarea{width: 100%;
      max-width: 490px;
      min-height: 140px;
      resize: vertical;
      padding: 14px;
      border-radius: 6px;
      border: 1px solid #d9e2ef;
      outline: none;
      font: inherit;
      color: #0f172a;
      background: #fff;}
body.page-relatorio .modal-body textarea:focus{border-color:#7c9cf5; box-shadow:0 0 0 4px rgba(59,130,246,.10)}
body.page-relatorio .modal-foot{display:flex; justify-content:flex-end; gap:10px; padding:16px 20px; border-top:1px solid #eef2f7;
      background:#fbfdff;}
body.page-relatorio .pagination{display:flex;
      gap:8px;
      align-items:center;
      justify-content:flex-end;
      flex-wrap:wrap;}
body.page-relatorio .pagination a, body.page-relatorio .pagination span{display:inline-flex;
      align-items:center;
      justify-content:center;
      min-width:36px;
      height:36px;
      padding:0 10px;
      border-radius:6px;
      text-decoration:none;
      font-weight:700;}
body.page-relatorio .pagination a{color:black;
      background:#fff;
      border:1px solid #ddd6fe;
      font-size: 13px;}
body.page-relatorio .pagination a:hover{background:#f5f3ff;}
body.page-relatorio .pagination a.active{font-weight:900;
      background:#ede9fe;
      border:1px solid #c4b5fd;
      color:#4c1d95;}
body.page-relatorio .pagination span{color:#475569;}
body.page-relatorio .pager-wrap{padding-top:8px;}
body.page-relatorio .pager-info{display:flex;
      align-items:center;
      gap:8px;
      flex-wrap:wrap;
      color:#334155;
      font-weight:600;}
body.page-relatorio .pager-info select, body.page-relatorio .pager-info .goto{height:38px;
      border:1px solid #dbe2ea;
      border-radius:6px;
      padding:0 10px;
      background:#fff;
      color:#0f172a;}
@media print{@page{size:auto;margin:0}
body.page-relatorio .no-print, body.page-relatorio .table-navbar{display:none}
body.page-relatorio .card-container{display:block !important;border:none;box-shadow:none}}
@media (max-width:980px){body.page-relatorio .filters-grid{grid-template-columns:repeat(2, minmax(0,1fr)) max-content}}
@media (max-width:640px){body.page-relatorio .filters-grid{grid-template-columns:1fr}
body.page-relatorio table{min-width:720px}
body.page-relatorio .modal-foot{flex-direction:column}
body.page-relatorio .modal-foot .btn{justify-content:center}}

/* ===== fetch_historico.php ===== */

    th.col-payload, td.col-payload{
      min-width: 250px;
      max-width: 520px;
      vertical-align: top;
      place-content: center;
    }
    .payload-box{
      max-width: 520px;
      white-space: normal;
      word-break: break-word;
      overflow-wrap: anywhere;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      font-size: 12px;
      line-height: 1.25;
      color: #0f172a;
    }
    .kv{ margin: 0 0 4px 0; }
    .kv .k{ font-weight: 900; color:#0f172a; }
    .kv .v{ color:#334155; }

    details.payload-details summary{
      cursor: pointer;
      font-weight: 900;
      color:#0f172a;
      user-select: none;
    }
    details.payload-details .more{
      display:inline-flex;
      margin-left:6px;
      padding:2px 8px;
      border-radius:999px;
      border:1px solid #e2e8f0;
      color:#334155;
      font-size:12px;
      font-weight:900;
      background:#f8fafc;
    }
  
/* ===== auth/recuperar_senha.php ===== */
body.page-auth-recuperar-senha{--card-bg: var(--white); --border:#e9edf3;}
body.page-auth-recuperar-senha{display: grid;
      grid-template-rows: auto 1fr auto;
      color: var(--text);
      background: linear-gradient(to right, rgba(15, 32, 39, .88), rgba(32, 58, 67, .88)), url(../IMG/recrutamento.png) center / cover fixed no-repeat;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
      height: 100vh;}
body.page-auth-recuperar-senha .card{width: 100%;
      max-width: 420px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(6px);
      border-radius: 16px;
      padding: 32px 24px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
      text-align: center;
      color: white;}
body.page-auth-recuperar-senha .card-hd{padding:1rem 1.1rem; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:.6rem; justify-content: center;}
body.page-auth-recuperar-senha .card-hd h1{font-size: 22px; margin: 0; color: #ffffff;}
body.page-auth-recuperar-senha .card-bd{padding: 0; margin: 15px 0;}
body.page-auth-recuperar-senha .form-bd{display: flex; flex-direction: column;}
body.page-auth-recuperar-senha .form-bd p{margin-bottom: 0; color: white;}
body.page-auth-recuperar-senha .btn-custom{align-items:center;
      align-self: center; gap:.5rem;
      padding:.65rem .9rem;
      border-radius:12px;
      border:1px solid #e6ebf5;
      background:#eef2f7;
      color:#1f2d5c;
      text-decoration:none;
      cursor:pointer;
      font-weight:600;
      transition: .3s ease;}
body.page-auth-recuperar-senha button.btn-custom.primary:hover{background: linear-gradient(90deg, #1180ffc2, #5b6be1bf) !important;}
body.page-auth-recuperar-senha .btn-custom:hover{background:#e6ebf5}
body.page-auth-recuperar-senha .btn-custom.primary{background:linear-gradient(90deg,#1180ff,#5b6be1); color:white; border:0; padding-top: .65rem; width: 100%;}
body.page-auth-recuperar-senha .field{display: flex;
      flex-direction: column;
      gap: .35rem;
      margin: 15px 0;
      border-top: 1px dashed var(--border);
      padding-top: 15px;
      width: 100%;}
body.page-auth-recuperar-senha input[type=text]{width: 100%;
      padding: .7rem .8rem;
      border: 1px solid #e6ebf5;
      border-radius: 12px;
      background: #ffffff24;
      color: white;}
body.page-auth-recuperar-senha .muted{color:#e9eefc; font-size:.92rem}
body.page-auth-recuperar-senha .err{background:#fff1f1; border:1px solid #ffd6d6; color:#9a1a1a; padding:.6rem .75rem; border-radius:12px; margin:.6rem 0}
body.page-auth-recuperar-senha .ok{background:#effaf3; border:1px solid #dbefe3; color:#0f5f3d; padding:.6rem .75rem; border-radius:12px; margin:.6rem 0}
body.page-auth-recuperar-senha header{background: #1f2937; color: white; padding: 1rem 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1); top: 0;}
body.page-auth-recuperar-senha .header-area{position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      align-items: center;
      gap: 10px;}
body.page-auth-recuperar-senha .header-area a{border-radius: 100px;
      padding: 5px 30px;}
body.page-auth-recuperar-senha .header-content{max-width: 100%; margin: 0 auto; position: relative; text-align: center;}
body.page-auth-recuperar-senha .header-content h1{font-size: 0.8rem; margin: 0; font-weight: 500;}
body.page-auth-recuperar-senha footer{background: #1f2937; color: #cbd5e1; padding: 1rem; text-align: center; font-size: 0.85rem; bottom: 0;}
body.page-auth-recuperar-senha footer p{margin: 0;}
body.page-auth-recuperar-senha main{flex: 1; display: grid; place-items: center;}

/* ===== auth/reset_senha.php ===== */
body.page-auth-reset-senha{margin:0; min-height:100vh; display:flex; align-items:center; justify-content:center; background:#0b1220; color:#e8eefc; padding:18px; font-family:system-ui}
body.page-auth-reset-senha .card{width:min(520px,92vw); background:#0f1a2e; border:1px solid rgba(255,255,255,.12); border-radius:16px; padding:16px}
body.page-auth-reset-senha .muted{color:#9bb0d1; font-size:13px}
body.page-auth-reset-senha input{width: 495px; padding:12px; border-radius:12px; border:1px solid rgba(255,255,255,.16); background:#0b1427; color:#e8eefc; margin-top:6px}
body.page-auth-reset-senha .btn{cursor:pointer;margin-top:12px; width:100%; padding:12px; border-radius:12px; border:0; background:#2f7cff; color:#fff; font-weight:800}
body.page-auth-reset-senha .err{margin:10px 0; padding:10px 12px; border-radius:12px; background:#fff1f2; color:#991b1b; border:1px solid #fecaca}
body.page-auth-reset-senha .ok{margin:10px 0; padding:10px 12px; border-radius:12px; background:#f0fdf4; color:#065f46; border:1px solid #bbf7d0}
body.page-auth-reset-senha a{color:#cfe2ff}

/* ===== perfil_old.php ===== */
body.page-perfil-old{--brand:#4169E1;
  --brand-600:#3156ce;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#E6EAF5;
  --bg:#f6f8fc;
  --card:#ffffff;
  --ok:#10b981;
  --warn:#f59e0b;
  --err:#ef4444;
  --info:#0ea5e9;
  --radius:14px;
  --shadow:0 10px 28px rgba(26,46,107,.08);
  --font:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;}
body.page-perfil-old *{box-sizing:border-box}
html, body.page-perfil-old{height:100%}
body.page-perfil-old{margin:0; font-family:var(--font); color:var(--ink);
  background:linear-gradient(180deg, #f7f9ff 0, #f6f8fc 50%, #f7f9fe 100%);}
body.page-perfil-old .topbar{background:var(--brand); color:#fff; font-weight:800; letter-spacing:.25px;
  padding:10px 16px; text-align:center; font-size:14px;
  position:sticky; top:0; z-index:30;}
body.page-perfil-old .appbar{max-width:1200px; margin:10px auto 0; padding:0 14px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;}
body.page-perfil-old .appbar .left{display:flex; align-items:center; gap:12px}
body.page-perfil-old .appbar .brand{display:flex; align-items:center; gap:10px; background:#fff; padding:8px 12px;
  border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow);}
body.page-perfil-old .appbar .brand img{height:24px}
body.page-perfil-old .appbar .welcome{font-size:14px; color:var(--muted); font-weight:700}
body.page-perfil-old .appbar .actions{display:flex; align-items:center; gap:10px; position: relative; flex-wrap:wrap}
body.page-perfil-old .btn{border:1px solid #ccd4ef; 
  background:#fff; 
  color:var(--ink); 
  padding:9px 14px; 
  border-radius:12px; 
  cursor:pointer;
  font-weight:800; 
  letter-spacing:.2px; 
  box-shadow:0 2px 0 rgba(0,0,0,.02); 
  transition:.2s ease; 
  display:inline-flex; 
  align-items:center; gap:8px;
  text-decoration:none;
  cursor: pointer;}
body.page-perfil-old .btn:hover{transform:translateY(-1px)}
body.page-perfil-old .btn-primary{cursor: pointer;background:var(--brand); border-color:var(--brand); color:#fff}
body.page-perfil-old .btn-ghost{cursor: pointer;background:transparent}
body.page-perfil-old .btn-status-red{border:2px solid #ef4444 !important; box-shadow:0 0 0 3px rgba(239,68,68,.08)}
body.page-perfil-old .btn-status-green{border:2px solid #10b981 !important; box-shadow:0 0 0 3px rgba(16,185,129,.08)}
body.page-perfil-old .btn-status-orange{border:2px solid #ffe400 !important; box-shadow:0 0 0 3px rgba(245,158,11,.10)}
body.page-perfil-old .attach.status-ok{background:#e7fff3; border-color: #86efac; color: #065f46}
body.page-perfil-old .attach.status-warn{background:#fff7df; border-color: #facc15; color: #7c2d12}
body.page-perfil-old .attach.status-error{background:#ffe6e6; border-color: #fca5a5; color: #7f1d1d}
body.page-perfil-old .attach.status-miss{background:#fff1e6; border-color: #fdba74; color: #7c2d12}
body.page-perfil-old main{max-width:1200px; margin:10px auto 32px; padding:0 14px}
body.page-perfil-old .card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:16px 18px; margin-bottom:14px;}
body.page-perfil-old .card-title{font-size:13px; font-weight:900; color:#475569; letter-spacing:.3px; text-transform:uppercase; margin:0 0 8px;}
body.page-perfil-old .grid{display:grid; gap:12px}
body.page-perfil-old .cols-4{grid-template-columns:repeat(4,1fr)}
body.page-perfil-old .cols-3{grid-template-columns:repeat(3,1fr)}
body.page-perfil-old .responsive{grid-template-columns:repeat(12,1fr)}
body.page-perfil-old .span-12{grid-column:span 12}
body.page-perfil-old .span-8{grid-column:span 8}
body.page-perfil-old .span-6{grid-column:span 6}
body.page-perfil-old .span-4{grid-column:span 4}
body.page-perfil-old .span-3{grid-column:span 3}
body.page-perfil-old .span-2{grid-column:span 2}
body.page-perfil-old .span-1{grid-column:span 1}
body.page-perfil-old .header{display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center;}
body.page-perfil-old .header h1{font-size:18px; margin:0 0 4px; font-weight:900}
body.page-perfil-old .header small{color:var(--muted); font-weight:700}
body.page-perfil-old .meta{text-align:right}
body.page-perfil-old .meta .re{font-size:12px; color:#6b7280}
body.page-perfil-old .meta .re strong{display:inline-block; background:#eef2ff; color:#172554; padding:6px 12px; border-radius:10px; border:1px dashed #c7d2fe; margin-left:6px; font-size:14px}
body.page-perfil-old .meta .unit{font-size:12px; color:#6b7280}
body.page-perfil-old .field{border:1px dashed #dbe3ff; 
  background:#f9fbff; 
  border-radius:12px; 
  padding:10px 12px;}
body.page-perfil-old .field label{display:block; 
  font-size:12px; 
  color:#6b7280; 
  margin-bottom:4px; 
  font-weight:900;}
body.page-perfil-old .field .value{font-weight:600;}
body.page-perfil-old .field .margin{margin-top: 1rem;}
body.page-perfil-old .field input, body.page-perfil-old .field select{width:100%; 
  padding:10px 12px; 
  border:1px solid #cadaff; 
  border-radius:12px; 
  outline:none; 
  font:inherit; 
  background:#fff;}
body.page-perfil-old .field input::placeholder{color:#94a3b8}
body.page-perfil-old .field .radio-options{display: flex;
    gap: 20px;}
body.page-perfil-old .field .radio-options label{display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;}
body.page-perfil-old .table{width:100%; border-collapse:collapse; font-size:13px}
body.page-perfil-old .table th, body.page-perfil-old .table td{border:1px solid var(--line); padding:10px; text-align:center}
body.page-perfil-old .table thead th{background:#f4f7ff; color:#334155; font-weight:900}
body.page-perfil-old .new{background:#f0f7ff}
body.page-perfil-old .tag{display:inline-block; padding:2px 8px; border-radius:999px; font-size:12px; font-weight:900}
body.page-perfil-old .tag.ok{background:#ecfdf5;
  color:#166534;
  border:1px solid #86efac;}
body.page-perfil-old .tag.del{background:#fef2f2;
  color:#b91c1c;
  border:1px solid #fca5a5;}
body.page-perfil-old .tag.edit{background: #fff7ed;
	color: #ffa508;
	border: 1px solid #ffa508;
	padding: 5px 10px;}
body.page-perfil-old .tag.add{background:#eef2ff;
  color:#3730a3;
  border:1px solid #c7d2fe;}
body.page-perfil-old .profile-btn{width:40px; height:40px; border-radius:12px; border:1px solid #ccd4ef; background:#fff; display:grid; place-items:center}
body.page-perfil-old .profile-menu{position: absolute; right: 0; top: 48px; width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: none; box-shadow: var(--shadow); z-index: 60;}
body.page-perfil-old .profile-menu.active{display:block}
body.page-perfil-old .profile-menu .head{padding:.65rem .85rem; font-weight:900; color:#334155; border-bottom:1px solid var(--line)}
body.page-perfil-old .profile-menu a{display:flex; gap:.55rem; align-items:center; padding:.6rem .85rem; color:#0f172a; text-decoration:none}
body.page-perfil-old .profile-menu a:hover{background:#f8fafc}
body.page-perfil-old .file{display:grid; grid-template-columns:200px 1fr; align-items:center; gap:10px}
body.page-perfil-old .fake{border:1px dashed #ccd4ef; border-radius:12px; padding:10px; text-align:center; font-size:13px; color:#64748b}
body.page-perfil-old .file .wrap{position:relative}
body.page-perfil-old .file input[type=file]{opacity:0; position:absolute; inset:0}
body.page-perfil-old footer{text-align:center; color:#94a3b8; font-size:12px; padding:24px 0 36px}
body.page-perfil-old .hide{display:none!important}
body.page-perfil-old .right{display:flex; justify-content:flex-end; gap:8px}
body.page-perfil-old .tooltip{position: relative;}
body.page-perfil-old .tooltip .tooltiptext{visibility: hidden; width: 120px; background-color: rgba(54, 54, 54, 0.3); color: #fff; text-align: center; padding: 5px 0;
  border-radius: 6px; font-size: 10px; font-family: var(--font);
  position: absolute; z-index: 1; bottom: 100%; left: 50%; margin-left: -60px;}
body.page-perfil-old .tooltip:hover .tooltiptext{visibility: visible;}
body.page-perfil-old .attach{display:flex; align-items:center; justify-content:center;
  gap:8px; width:100%; min-height:42px;
  border:1px solid var(--line); border-radius:12px;
  background:#fff; font-weight:800; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border .15s ease;
  box-shadow:0 1px 0 rgba(0,0,0,.02);}
body.page-perfil-old .attach i{opacity:.8}
body.page-perfil-old .attach:hover{transform:translateY(-1px)}
body.page-perfil-old .attach .filename{font-weight:800; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.page-perfil-old .attach .hint{font-size:11px; font-weight:700; opacity:.75}
body.page-perfil-old .pm-overlay{position:fixed; inset:0; background:rgba(15,23,42,.5); z-index:9998;
  display:none; align-items:center; justify-content:center; padding:20px;}
body.page-perfil-old .pm-overlay.active{display:flex}
body.page-perfil-old .pm-modal{width:min(1180px, 96vw);
  max-height:92vh;
  overflow:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 20px 70px rgba(15,23,42,.24);}
body.page-perfil-old .pm-head{position:sticky; top:0; z-index:2;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 18px; background:#fff; border-bottom:1px solid var(--line);}
body.page-perfil-old .pm-head h3{margin:0; font-size:17px; font-weight:900}
body.page-perfil-old .pm-head .sub{font-size:12px; color:var(--muted); font-weight:700}
body.page-perfil-old .pm-body{padding:16px 18px}
body.page-perfil-old .pm-close{border: 1px solid #ccd4ef;
	background: #ff0000;
	color: white;
	border-radius: 100px;
	padding: 8px 12px;
	cursor: pointer;
	font-weight: 800;
	border: none;
	transition: .3s ease;}
body.page-perfil-old .pm-close:hover{background: #ff0000bd;}
body.page-perfil-old .pm-loading{padding:22px; text-align:center; color:var(--muted); font-weight:700;}
body.page-perfil-old .pm-content-table{width:100%; border-collapse:collapse; font-size:13px}
body.page-perfil-old .pm-content-table th, body.page-perfil-old .pm-content-table td{border:1px solid var(--line); padding:10px; vertical-align:top}
body.page-perfil-old .pm-content-table thead th{text-align: left; background:#f4f7ff; color:#334155; font-weight:900}
body.page-perfil-old .pm-payload-box{max-width:420px;
  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
  line-height:1.35;}
body.page-perfil-old .pm-empty{padding:18px; border:1px dashed #dbe3ff; background:#f9fbff; border-radius:14px; color:#64748b; font-weight:700;}
body.page-perfil-old .preserve-break{white-space: pre-wrap;}
@media (max-width: 980px){body.page-perfil-old .appbar{flex-direction:column; align-items:stretch}
body.page-perfil-old .appbar .actions{justify-content:flex-start}
body.page-perfil-old .cols-4, body.page-perfil-old .cols-3{grid-template-columns:1fr}
body.page-perfil-old .header{grid-template-columns:1fr}
body.page-perfil-old .meta{text-align:left}
body.page-perfil-old .file{grid-template-columns:1fr}}

/* ===== perfil_edit_old.php ===== */
body.page-perfil-edit-old{--brand:#4169E1;
  --brand-600:#3156ce;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#E6EAF5;
  --bg:#f6f8fc;
  --card:#ffffff;
  --ok:#10b981;
  --warn:#f59e0b;
  --err:#ef4444;
  --info:#0ea5e9;
  --radius:14px;
  --shadow:0 10px 28px rgba(26,46,107,.08);
  --font:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;}
body.page-perfil-edit-old *{box-sizing:border-box}
html, body.page-perfil-edit-old{height:100%}
body.page-perfil-edit-old{margin:0; font-family:var(--font); color:var(--ink);
  background:linear-gradient(180deg, #f7f9ff 0, #f6f8fc 50%, #f7f9fe 100%);}
body.page-perfil-edit-old .topbar{background:var(--brand); color:#fff; font-weight:800; letter-spacing:.25px;
  padding:10px 16px; text-align:center; font-size:14px;
  position:sticky; top:0; z-index:30;}
body.page-perfil-edit-old .appbar{max-width:1200px; margin:10px auto 0; padding:0 14px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;}
body.page-perfil-edit-old .appbar .left{display:flex; align-items:center; gap:12px}
body.page-perfil-edit-old .appbar .brand{display:flex; align-items:center; gap:10px; background:#fff; padding:8px 12px;
  border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow);}
body.page-perfil-edit-old .appbar .brand img{height:24px}
body.page-perfil-edit-old .appbar .welcome{font-size:14px; color:var(--muted); font-weight:700}
body.page-perfil-edit-old .appbar .actions{display:flex; align-items:center; gap:10px; position: relative; flex-wrap:wrap}
body.page-perfil-edit-old .btn{border:1px solid #ccd4ef; 
  background:#fff; 
  color:var(--ink); 
  padding:9px 14px; 
  border-radius:12px; 
  cursor:pointer;
  font-weight:800; 
  letter-spacing:.2px; 
  box-shadow:0 2px 0 rgba(0,0,0,.02); 
  transition:.2s ease; 
  display:inline-flex; 
  align-items:center; gap:8px;
  text-decoration:none;
  cursor: pointer;}
body.page-perfil-edit-old .btn:hover{transform:translateY(-1px)}
body.page-perfil-edit-old .btn-primary{cursor: pointer;background:var(--brand); border-color:var(--brand); color:#fff}
body.page-perfil-edit-old .btn-ghost{cursor: pointer;background:transparent}
body.page-perfil-edit-old .btn-status-red{border:2px solid #ef4444 !important; box-shadow:0 0 0 3px rgba(239,68,68,.08)}
body.page-perfil-edit-old .btn-status-green{border:2px solid #10b981 !important; box-shadow:0 0 0 3px rgba(16,185,129,.08)}
body.page-perfil-edit-old .btn-status-orange{border:2px solid #ffe400 !important; box-shadow:0 0 0 3px rgba(245,158,11,.10)}
body.page-perfil-edit-old .attach.status-ok{background:#e7fff3; border-color: #86efac; color: #065f46}
body.page-perfil-edit-old .attach.status-warn{background:#fff7df; border-color: #facc15; color: #7c2d12}
body.page-perfil-edit-old .attach.status-error{background:#ffe6e6; border-color: #fca5a5; color: #7f1d1d}
body.page-perfil-edit-old .attach.status-miss{background:#fff1e6; border-color: #fdba74; color: #7c2d12}
body.page-perfil-edit-old main{max-width:1200px; margin:10px auto 32px; padding:0 14px}
body.page-perfil-edit-old .card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:16px 18px; margin-bottom:14px;}
body.page-perfil-edit-old .card-title{font-size:13px; font-weight:900; color:#475569; letter-spacing:.3px; text-transform:uppercase; margin:0 0 8px;}
body.page-perfil-edit-old .grid{display:grid; gap:12px}
body.page-perfil-edit-old .cols-4{grid-template-columns:repeat(4,1fr)}
body.page-perfil-edit-old .cols-3{grid-template-columns:repeat(3,1fr)}
body.page-perfil-edit-old .responsive{grid-template-columns:repeat(12,1fr)}
body.page-perfil-edit-old .span-12{grid-column:span 12}
body.page-perfil-edit-old .span-8{grid-column:span 8}
body.page-perfil-edit-old .span-6{grid-column:span 6}
body.page-perfil-edit-old .span-4{grid-column:span 4}
body.page-perfil-edit-old .span-3{grid-column:span 3}
body.page-perfil-edit-old .span-2{grid-column:span 2}
body.page-perfil-edit-old .span-1{grid-column:span 1}
body.page-perfil-edit-old .header{display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center;}
body.page-perfil-edit-old .header h1{font-size:18px; margin:0 0 4px; font-weight:900}
body.page-perfil-edit-old .header small{color:var(--muted); font-weight:700}
body.page-perfil-edit-old .meta{text-align:right}
body.page-perfil-edit-old .meta .re{font-size:12px; color:#6b7280}
body.page-perfil-edit-old .meta .re strong{display:inline-block; background:#eef2ff; color:#172554; padding:6px 12px; border-radius:10px; border:1px dashed #c7d2fe; margin-left:6px; font-size:14px}
body.page-perfil-edit-old .meta .unit{font-size:12px; color:#6b7280}
body.page-perfil-edit-old .field{border:1px dashed #dbe3ff; 
  background:#f9fbff; 
  border-radius:12px; 
  padding:10px 12px;}
body.page-perfil-edit-old .field label{display:block; 
  font-size:12px; 
  color:#6b7280; 
  margin-bottom:4px; 
  font-weight:900;}
body.page-perfil-edit-old .field .value{font-weight:600;}
body.page-perfil-edit-old .field .margin{margin-top: 1rem;}
body.page-perfil-edit-old .field input, body.page-perfil-edit-old .field select{width:100%; 
  padding:10px 12px; 
  border:1px solid #cadaff; 
  border-radius:12px; 
  outline:none; 
  font:inherit; 
  background:#fff;}
body.page-perfil-edit-old .field input::placeholder{color:#94a3b8}
body.page-perfil-edit-old .field .radio-options{display: flex;
    gap: 20px;}
body.page-perfil-edit-old .field .radio-options label{display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;}
body.page-perfil-edit-old .table{width:100%; border-collapse:collapse; font-size:13px}
body.page-perfil-edit-old .table th, body.page-perfil-edit-old .table td{border:1px solid var(--line); padding:10px; text-align:center}
body.page-perfil-edit-old .table thead th{background:#f4f7ff; color:#334155; font-weight:900}
body.page-perfil-edit-old .new{background:#f0f7ff}
body.page-perfil-edit-old .tag{display:inline-block; padding:2px 8px; border-radius:999px; font-size:12px; font-weight:900}
body.page-perfil-edit-old .tag.ok{background:#ecfdf5;
  color:#166534;
  border:1px solid #86efac;}
body.page-perfil-edit-old .tag.del{background:#fef2f2;
  color:#b91c1c;
  border:1px solid #fca5a5;}
body.page-perfil-edit-old .tag.edit{background: #fff7ed;
	color: #ffa508;
	border: 1px solid #ffa508;
	padding: 5px 10px;}
body.page-perfil-edit-old .tag.add{background:#eef2ff;
  color:#3730a3;
  border:1px solid #c7d2fe;}
body.page-perfil-edit-old .profile-btn{width:40px; height:40px; border-radius:12px; border:1px solid #ccd4ef; background:#fff; display:grid; place-items:center}
body.page-perfil-edit-old .profile-menu{position: absolute; right: 0; top: 48px; width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: none; box-shadow: var(--shadow); z-index: 60;}
body.page-perfil-edit-old .profile-menu.active{display:block}
body.page-perfil-edit-old .profile-menu .head{padding:.65rem .85rem; font-weight:900; color:#334155; border-bottom:1px solid var(--line)}
body.page-perfil-edit-old .profile-menu a{display:flex; gap:.55rem; align-items:center; padding:.6rem .85rem; color:#0f172a; text-decoration:none}
body.page-perfil-edit-old .profile-menu a:hover{background:#f8fafc}
body.page-perfil-edit-old .file{display:grid; grid-template-columns:200px 1fr; align-items:center; gap:10px}
body.page-perfil-edit-old .fake{border:1px dashed #ccd4ef; border-radius:12px; padding:10px; text-align:center; font-size:13px; color:#64748b}
body.page-perfil-edit-old .file .wrap{position:relative}
body.page-perfil-edit-old .file input[type=file]{opacity:0; position:absolute; inset:0}
body.page-perfil-edit-old footer{text-align:center; color:#94a3b8; font-size:12px; padding:24px 0 36px}
body.page-perfil-edit-old .hide{display:none!important}
body.page-perfil-edit-old .right{display:flex; justify-content:flex-end; gap:8px}
body.page-perfil-edit-old .tooltip{position: relative;}
body.page-perfil-edit-old .tooltip .tooltiptext{visibility: hidden; width: 120px; background-color: rgba(54, 54, 54, 0.3); color: #fff; text-align: center; padding: 5px 0;
  border-radius: 6px; font-size: 10px; font-family: var(--font);
  position: absolute; z-index: 1; bottom: 100%; left: 50%; margin-left: -60px;}
body.page-perfil-edit-old .tooltip:hover .tooltiptext{visibility: visible;}
body.page-perfil-edit-old .attach{display:flex; align-items:center; justify-content:center;
  gap:8px; width:100%; min-height:42px;
  border:1px solid var(--line); border-radius:12px;
  background:#fff; font-weight:800; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border .15s ease;
  box-shadow:0 1px 0 rgba(0,0,0,.02);}
body.page-perfil-edit-old .attach i{opacity:.8}
body.page-perfil-edit-old .attach:hover{transform:translateY(-1px)}
body.page-perfil-edit-old .attach .filename{font-weight:800; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.page-perfil-edit-old .attach .hint{font-size:11px; font-weight:700; opacity:.75}
body.page-perfil-edit-old .pm-overlay{position:fixed; inset:0; background:rgba(15,23,42,.5); z-index:9998;
  display:none; align-items:center; justify-content:center; padding:20px;}
body.page-perfil-edit-old .pm-overlay.active{display:flex}
body.page-perfil-edit-old .pm-modal{width:min(1180px, 96vw);
  max-height:92vh;
  overflow:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 20px 70px rgba(15,23,42,.24);}
body.page-perfil-edit-old .pm-head{position:sticky; top:0; z-index:2;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 18px; background:#fff; border-bottom:1px solid var(--line);}
body.page-perfil-edit-old .pm-head h3{margin:0; font-size:17px; font-weight:900}
body.page-perfil-edit-old .pm-head .sub{font-size:12px; color:var(--muted); font-weight:700}
body.page-perfil-edit-old .pm-body{padding:16px 18px}
body.page-perfil-edit-old .pm-close{border: 1px solid #ccd4ef;
	background: #ff0000;
	color: white;
	border-radius: 100px;
	padding: 8px 12px;
	cursor: pointer;
	font-weight: 800;
	border: none;
	transition: .3s ease;}
body.page-perfil-edit-old .pm-close:hover{background: #ff0000bd;}
body.page-perfil-edit-old .pm-loading{padding:22px; text-align:center; color:var(--muted); font-weight:700;}
body.page-perfil-edit-old .pm-content-table{width:100%; border-collapse:collapse; font-size:13px}
body.page-perfil-edit-old .pm-content-table th, body.page-perfil-edit-old .pm-content-table td{border:1px solid var(--line); padding:10px; vertical-align:top}
body.page-perfil-edit-old .pm-content-table thead th{text-align: left; background:#f4f7ff; color:#334155; font-weight:900}
body.page-perfil-edit-old .pm-payload-box{max-width:420px;
  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
  line-height:1.35;}
body.page-perfil-edit-old .pm-empty{padding:18px; border:1px dashed #dbe3ff; background:#f9fbff; border-radius:14px; color:#64748b; font-weight:700;}
body.page-perfil-edit-old .preserve-break{white-space: pre-wrap;}
body.page-perfil-edit-old .diff{background:#fff7ed; 
  border-color:#fed7aa;}
@media (max-width: 980px){body.page-perfil-edit-old .appbar{flex-direction:column; align-items:stretch}
body.page-perfil-edit-old .appbar .actions{justify-content:flex-start}
body.page-perfil-edit-old .cols-4, body.page-perfil-edit-old .cols-3{grid-template-columns:1fr}
body.page-perfil-edit-old .header{grid-template-columns:1fr}
body.page-perfil-edit-old .meta{text-align:left}
body.page-perfil-edit-old .file{grid-template-columns:1fr}}
/* ===== Utilitários mínimos substituindo Bootstrap CDN ===== */
.text-center{text-align:center!important}.w-100{width:100%!important}.m-0{margin:0!important}.btn-sm{padding:.25rem .5rem!important;font-size:.875rem!important;border-radius:6px!important}.btn-outline-light{color:#f8f9fa!important;border-color:#f8f9fa!important;background:transparent!important}.btn-outline-light:hover{color:#000!important;background:#f8f9fa!important}

/* Indicadores SRA/SRB - filtros e KPIs ampliados */
body.page-indicadores .grid-filters.grid-filters-indicadores{
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
body.page-indicadores .grid-filters-indicadores .field{
  grid-column: span 2;
}
body.page-indicadores .grid-filters-indicadores .field-wide{
  grid-column: span 3;
}
body.page-indicadores .grid-filters-indicadores .apply,
body.page-indicadores .grid-filters-indicadores .clear{
  grid-column: span 1;
  width: 100%;
}
body.page-indicadores .kpis{
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
@media (max-width: 1200px){
  body.page-indicadores .grid-filters.grid-filters-indicadores{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.page-indicadores .grid-filters-indicadores .field,
  body.page-indicadores .grid-filters-indicadores .field-wide,
  body.page-indicadores .grid-filters-indicadores .apply,
  body.page-indicadores .grid-filters-indicadores .clear{
    grid-column: span 1;
  }
}
@media (max-width: 720px){
  body.page-indicadores .grid-filters.grid-filters-indicadores{
    grid-template-columns: 1fr;
  }
}
