/* ================= Perfil administrativo: marco de escritorio ================= */
.review.wide { flex-direction: column; }
.review.wide .notes { max-width: 1280px; }
.desk { width: 1280px; height: 800px; border-radius: 12px; overflow: hidden; background: var(--app-bg); border: 1px solid #c3c9d2; box-shadow: 0 12px 32px rgba(0,0,0,.18); display: flex; flex-direction: column; flex-shrink: 0; }
.chrome { height: 38px; background: #e4e7eb; display: flex; align-items: center; gap: 16px; padding: 0 14px; border-bottom: 1px solid #c9ced5; }
.chrome .dots { display: flex; gap: 7px; }
.chrome .dots i { width: 12px; height: 12px; border-radius: 50%; background: #c3c9d2; display: block; }
.chrome .addr { flex: 1; max-width: 520px; background: #fff; border-radius: 8px; height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 12px; font-size: 13px; color: var(--muted); }
.dapp { flex: 1; display: grid; grid-template-columns: 230px 1fr; min-height: 0; }
.side { background: linear-gradient(180deg, var(--brand-navy) 0%, var(--accent) 100%); color: #fff; display: flex; flex-direction: column; padding: 18px 12px; gap: 4px; }
.side .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; line-height: 1.15; padding: 4px 8px 18px; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.navitem { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #dbe7fb; }
.navitem.on { background: rgba(255,255,255,.18); color: #fff; }
.navitem.bottom { margin-top: auto; }
.dmain { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.topbar { height: 66px; background: var(--surface); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 22px; gap: 16px; }
.topbar .ttl { display: flex; align-items: center; gap: 12px; }
.topbar .title { font-size: 20px; font-weight: 800; }
.topbar .subtitle { font-size: 13px; color: var(--muted); }
.topbar .tools { display: flex; align-items: center; gap: 12px; }
.who { display: flex; align-items: center; gap: 8px; color: var(--accent); }
.who span { display: flex; flex-direction: column; color: var(--text); font-size: 13px; line-height: 1.2; }
.who small { color: var(--muted); }
.dbody { flex: 1; overflow: hidden; padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.dcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dcard h3 { margin: 0; font-size: 15px; }
.dcard.narrow { max-width: 560px; width: 100%; align-self: center; }
.dcard.empty { align-items: center; text-align: center; padding: 34px; }
.dcard.empty .ico, .desk .empty .icon { color: var(--muted); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-height: 0; }
.cols.wide-left { grid-template-columns: 1.7fr 1fr; }
.cols.wide-right { grid-template-columns: 1fr 1.5fr; }
.cols.three { grid-template-columns: 200px 1.2fr 1fr; }
.cols.three.map3 { grid-template-columns: 1.1fr 1fr 1fr; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.kpi .ki { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.kpi.warn .ki { background: var(--err-soft); color: var(--err); }
.kpi.ok .ki { background: var(--ok-soft); color: var(--ok); }
.kpi .kv { font-size: 22px; font-weight: 800; }
.kpi .kt { font-size: 13px; color: var(--muted); }
.pend { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--accent); }
.pend span { flex: 1; display: flex; flex-direction: column; color: var(--text); font-size: 14px; }
.pend small { color: var(--muted); }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dbtn { height: 44px; padding: 0 18px; font-size: 14px; gap: 6px; display: inline-flex; }
.dactions { display: flex; justify-content: flex-end; gap: 10px; }
.dtable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dtable th { text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; padding: 8px 10px; border-bottom: 2px solid var(--line); }
.dtable td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dtable tr.sel td { background: var(--accent-soft); }
.dtable tr.new td { background: var(--ok-soft); }
.dtable tr.muted td { color: var(--muted); }
.dtable tr.warnrow td { background: var(--warn-soft); }
.dtable tr.okrow td { background: var(--ok-soft); }
.dtable tr.badrow td { background: var(--err-soft); }
.dtable.compact td, .dtable.compact th { padding: 6px 8px; font-size: 12.5px; }
.dtable .icon { color: var(--muted); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.bad { background: var(--err-soft); color: var(--err); }
.tag.muted { background: #eceef1; color: var(--muted); }
.lnk { color: var(--accent); font-weight: 700; }
.dropzone { border: 2px dashed #a9c3ea; background: var(--accent-soft); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--accent); text-align: center; font-size: 14px; }
.dropzone small { color: var(--muted); }
.file { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: var(--accent); }
.file span { flex: 1; display: flex; flex-direction: column; color: var(--text); font-size: 14px; }
.file small { color: var(--muted); }
.file.error { border: 2px solid var(--err); color: var(--err); }
.kv2 { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.kv2 span { color: var(--muted); }
.searchrow.wide { max-width: 640px; }
.dcard.total { align-items: flex-start; }
.dcard.total .big { font-size: 40px; font-weight: 800; color: var(--accent); }
.dcard.total .kt { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.rowflex { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.toggle.on { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 13px; font-weight: 700; align-self: flex-start; }
.seg span { padding: 8px 14px; color: var(--muted); }
.seg span.on { background: var(--accent); color: #fff; }
.dcard .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dcard.list { gap: 2px; padding: 12px; }
.dcard.list .li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; font-size: 14px; color: var(--text); }
.dcard.list .li .icon { color: var(--muted); }
.dcard.list .li.on { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.dcard.list .li.new { color: var(--accent); font-weight: 700; border: 1px dashed var(--accent); }
.map.editor { border: 0; padding: 0; }
.chip.bad { border-color: var(--err); color: var(--err); background: var(--err-soft); }
.chip.dashed { border-style: dashed; color: var(--accent); }
.selectbox { display: inline-flex; align-items: center; justify-content: space-between; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 13px; background: var(--surface); min-width: 170px; }
.selectbox.big { min-width: 100%; height: 46px; font-size: 15px; }
.selectbox.error, .inline.error, .qtyin.error { border: 2px solid var(--err); color: var(--err); }
.inline { display: inline-block; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; min-width: 200px; min-height: 31px; font-size: 13px; }
.qtyin { display: inline-block; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; min-width: 64px; text-align: center; font-weight: 700; }
.neg { color: var(--err); }
.pos { color: var(--ok); }
.toast.mini { padding: 6px 10px; font-size: 13px; align-items: center; }
.desk .results .result { padding: 10px 12px; }
.desk .empty { text-align: center; padding: 14px; }
.desk .empty .t { font-weight: 700; margin: 6px 0; }
.desk .map svg { max-height: 420px; }

/* Enlace entre los dos índices */
.switch { display: inline-flex; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 18px; background: var(--surface); }
.switch a { padding: 10px 18px; font-weight: 700; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.switch a.on { background: var(--accent); color: #fff; }
.thumbcard.desk-thumb { width: 300px; }
.thumbcard.desk-thumb img { width: 300px; }
