/* Panel de operaciones · AppValúo Propiedades */
#adm .av-ops {
  margin:4px 0 18px;
  padding:18px;
  min-width:0;
  border:1px solid #315f75;
  border-radius:18px;
  background:linear-gradient(148deg,#082c40 0%,#061d2e 100%);
  color:#ebf8ff;
  box-shadow:0 9px 26px rgba(0,0,0,.13);
}
#adm .av-ops * {box-sizing:border-box;}
#adm .av-ops-title {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
#adm .av-ops-kicker {
  font-size:10px;
  letter-spacing:.13em;
  font-weight:800;
  color:#5dd8f2;
}
#adm .av-ops-title h3 {
  margin:5px 0;
  font-size:clamp(19px,2vw,26px);
  line-height:1.25;
  color:#f7feff;
}
#adm .av-ops-title p {
  font-size:12px;
  line-height:1.5;
  color:#9fc5d6;
  margin:0 0 8px;
}
#adm .av-ops button {
  min-height:38px;
  border:1px solid #3e88a3;
  border-radius:10px;
  background:#0d4359;
  color:#e7faff;
  padding:9px 12px;
  cursor:pointer;
  text-align:center;
  font-size:12px;
  font-weight:750;
  transition:background .15s,border-color .15s;
}
#adm .av-ops button:hover {background:#16627d;border-color:#5bcce9;}
#adm .av-ops button:focus-visible {outline:3px solid #62def7;outline-offset:2px;}
#adm .av-ops button:disabled {opacity:.56;cursor:wait;}
#adm .av-ops-message {font-size:12px;color:#afd8e7;min-height:18px;margin:9px 0 15px;}
#adm .av-ops-message[data-partial=true] {color:#ffd3a1;}
#adm .av-ops-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  align-items:stretch;
}
#adm .av-ops-tile {
  min-width:0;
  min-height:104px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:7px;
  padding:13px;
  border:1px solid #315e76;
  border-radius:13px;
  background:#0a3044;
  overflow-wrap:anywhere;
}
#adm .av-ops-tile small {
  display:block;
  color:#aecddd;
  font-size:11px;
  line-height:1.4;
}
#adm .av-ops-tile strong {
  color:#f5fbff;
  font-size:clamp(22px,2vw,31px);
  line-height:1.1;
  font-variant-numeric:tabular-nums;
}
#adm .av-ops-tile span {
  color:#8fb6cb;
  font-size:10px;
  line-height:1.35;
}
#adm .av-ops-tile.av-ops-ok {border-color:#287b68;}
#adm .av-ops-tile.av-ops-ok strong {color:#72efbf;}
#adm .av-ops-tile.av-ops-warn {border-color:#967241;}
#adm .av-ops-tile.av-ops-warn strong {color:#f7d48b;}
#adm .av-ops-tile.av-ops-danger {border-color:#a05c57;}
#adm .av-ops-tile.av-ops-danger strong {color:#ffaaa4;}
#adm .av-ops-tile.av-ops-info strong {color:#73dff4;}
#adm .av-ops-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:15px 0 10px;
}
#adm .av-ops-attention {
  margin-top:13px;
  padding-top:13px;
  border-top:1px solid #2e5b72;
}
#adm .av-ops-attention-header {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:9px;
  align-items:center;
  margin-bottom:12px;
}
#adm .av-ops-attention h4 {
  font-size:16px;
  line-height:1.3;
  margin:0;
}
#adm .av-ops-attention-header span {font-size:12px;color:#a9cfdf;}
#adm .av-ops-priority {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
#adm .av-ops-priority article {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  min-width:0;
  padding:11px 12px;
  background:#092839;
  border:1px solid #35677d;
  border-radius:11px;
}
#adm .av-ops-priority article div{min-width:0;}
#adm .av-ops-priority article b {
  display:block;
  font-size:12px;
  overflow-wrap:anywhere;
  margin-bottom:5px;
}
#adm .av-ops-priority article small {
  display:block;
  font-size:11px;
  line-height:1.4;
  color:#b7d4df;
  overflow-wrap:anywhere;
}
#adm .av-ops-priority article button {
  flex:0 0 auto;
  min-height:34px;
  padding:7px 11px;
}
#adm .av-ops-note {color:#b1cfdc;font-size:12px;line-height:1.5;margin:9px 0;}
/* Acciones autorizadas dentro de la ficha: el backend sigue controlando permisos. */
#detail .av-property-quick-admin {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:9px;
  width:100%;
  margin:12px 0 17px;
  padding:11px 13px;
  border:1px solid #3a7892;
  border-radius:12px;
  color:#e9fbff;
  background:#0d3348;
}
#detail .av-property-quick-admin strong {
  font-size:12px;
  flex:1 0 100%;
}
#detail .av-property-quick-admin button {
  padding:9px 13px;
  border-radius:9px;
  border:1px solid #53b7d6;
  background:#0b6784;
  color:#fff;
  font-size:12px;
  font-weight:800;
  min-height:38px;
}
#detail .av-property-quick-admin button:hover {background:#1685a3;}
#detail .av-commission-estimate {
  margin-top:10px;
  border-top:1px solid #345a71;
  padding-top:10px;
  font-size:12px;
  color:#c5e3f0;
}
#detail .av-commission-estimate b {
  color:#e7f8ff;
  font-size:16px;
}
@media(max-width:1250px){
 #adm .av-ops-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:800px){
 #adm .av-ops {padding:14px;border-radius:14px;}
 #adm .av-ops-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 #adm .av-ops-priority {grid-template-columns:minmax(0,1fr);}
 #adm .av-ops-title button {width:100%;}
}
@media(max-width:360px) {
 #adm .av-ops {padding:10px;}
 #adm .av-ops-tile {min-height:93px;padding:10px;}
 #adm .av-ops-tile small {font-size:10px;}
 #adm .av-ops-actions button {flex:1 1 100%;}
}
html[data-av-theme=light] #adm .av-ops {
  color:#193a4d;
  background:linear-gradient(150deg,#ffffff,#eaf5fc);
  border-color:#c1dbe8;
}
html[data-av-theme=light] #adm .av-ops-title h3,
html[data-av-theme=light] #adm .av-ops-attention h4 {color:#19394b;}
html[data-av-theme=light] #adm .av-ops-tile,
html[data-av-theme=light] #adm .av-ops-priority article {
  background:#f5fbff;
  border-color:#b9d3e2;
}
html[data-av-theme=light] #adm .av-ops-tile strong {color:#1d506b;}
html[data-av-theme=light] #adm .av-ops-title p,
html[data-av-theme=light] #adm .av-ops-tile small,
html[data-av-theme=light] #adm .av-ops-priority article small {color:#496f82;}
html[data-av-theme=light] #adm .av-ops-tile.av-ops-warn strong {color:#87601b;}
html[data-av-theme=light] #adm .av-ops-tile.av-ops-danger strong {color:#b23b36;}
html[data-av-theme=light] #adm .av-ops-tile.av-ops-ok strong {color:#137756;}
html[data-av-theme=light] #adm .av-ops-message {color:#486e81;}
