/* Componentes de interiores; solo Admin en el shell de la APK/PWA aprobado. */
body.adm-ui-v2{--adm-ink:#17394e;--adm-muted:#668292;--adm-line:#d2e1ea;--adm-blue:#087fbd;--adm-paper:#fff;--adm-soft:#edf4f9}
body.adm-ui-v2 .adm-section-heading{display:flex;align-items:center;gap:10px;justify-content:space-between;position:relative;width:100%;min-width:0;margin:0 0 16px;overflow:visible}
body.adm-ui-v2 .adm-section-heading>h1,body.adm-ui-v2 .adm-section-heading>h2,body.adm-ui-v2 .adm-section-heading>h3,body.adm-ui-v2 .adm-section-heading>[role=heading]{flex:1;min-width:0;margin:0!important;white-space:normal;overflow-wrap:anywhere}
body.adm-ui-v2 .back-row>div{min-width:0;flex:1}body.adm-ui-v2 .back-row>button{flex-shrink:0}
body.adm-ui-v2 .adm-section-heading .adm-options{flex:0 0 44px}
body.adm-ui-v2 .adm-options{position:relative;display:block;min-width:44px;width:44px;height:44px;margin:0;padding:0;border:0;background:transparent;overflow:visible;z-index:12;text-align:left}
body.adm-ui-v2 .adm-options>summary{display:grid;place-items:center;list-style:none;width:44px;height:44px;margin:0;padding:0;border:1px solid #bfd8e7;border-radius:13px;background:linear-gradient(145deg,#fff,#e9f4fb);color:#17799f;box-shadow:0 3px 10px #15384d0c;cursor:pointer;line-height:1}
body.adm-ui-v2 .adm-options>summary::-webkit-details-marker{display:none}body.adm-ui-v2 .adm-options>summary:after{content:none!important}body.adm-ui-v2 .adm-options>summary svg{display:block;width:24px;height:24px;fill:currentColor}
body.adm-ui-v2 .adm-options[open]{z-index:50}body.adm-ui-v2 .adm-options[open]>summary{border-color:#74b9d9;background:#dff1fb;color:#075a85;box-shadow:0 0 0 3px #1285bf12}
body.adm-ui-v2 .adm-options-list{position:absolute;top:calc(100% + 9px);right:0;width:min(300px,calc(100vw - 42px));max-height:min(65vh,440px);overflow:auto;overscroll-behavior:contain;padding:9px;border:1px solid #c6dce9;border-radius:17px;background:linear-gradient(160deg,#fff,#f1f7fb);box-shadow:0 14px 35px #12374f29;z-index:51}
body.adm-ui-v2 .adm-options-list:before{content:'Acciones de la sección';display:block;padding:5px 9px 10px;margin-bottom:7px;border-bottom:1px solid #dce8ef;color:#648196;font:800 10px/1.4 Arial,sans-serif;letter-spacing:.7px;text-transform:uppercase}
body.adm-ui-v2 .adm-options-list .action-menu,body.adm-ui-v2 .adm-options-list .adm-trab-mas{display:grid!important;gap:6px!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
body.adm-ui-v2 .adm-options-list button,body.adm-ui-v2 .adm-options-list a{display:flex!important;align-items:center;gap:9px;width:100%!important;min-height:46px!important;padding:11px 12px!important;margin:0 0 6px!important;border:1px solid #dce8f0!important;border-radius:11px!important;background:#fff!important;color:#23556d!important;box-shadow:0 2px 5px #12374f06!important;font-size:12px!important;font-weight:600!important;line-height:1.4!important;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer;text-decoration:none}
body.adm-ui-v2 .adm-options-list button:last-child{margin-bottom:0!important}body.adm-ui-v2 .adm-options-list button>span:first-child{display:none}body.adm-ui-v2 .adm-options-list button small{display:block;color:#7c939f;font-size:10px;font-weight:400;margin-top:3px}body.adm-ui-v2 .adm-options-list button i{margin-left:auto;color:#7b9bad;font-style:normal}
body.adm-ui-v2 .adm-options-list button:hover,body.adm-ui-v2 .adm-options-list a:hover{background:#eaf6fc!important;border-color:#83bfdc!important;color:#086e9b!important}
body.adm-ui-v2 .adm-options-list button:disabled{opacity:.5;cursor:default}body.adm-ui-v2 .adm-options>summary:focus-visible,body.adm-ui-v2 .adm-options-list button:focus-visible{outline:3px solid #20a3d4;outline-offset:2px}
body.adm-ui-v2 .adm-context{display:block;font-size:10px!important;line-height:1.4!important;letter-spacing:1.2px;font-weight:800!important;color:#2d8197!important;margin:0 0 7px!important}
body.adm-ui-v2 .adm-section-header{margin-bottom:18px}body.adm-ui-v2 .adm-section-header h1{font-size:25px;color:var(--adm-ink);line-height:1.2;margin:0}
body.adm-ui-v2 .adm-modal{padding:18px 12px!important;background:#061b34a3!important;align-items:center!important;overflow-y:auto}
body.adm-ui-v2 .adm-surface{position:relative;box-sizing:border-box;width:min(100%,680px)!important;max-width:100%!important;max-height:calc(100dvh - 36px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:20px!important;margin:auto!important;background:var(--adm-soft)!important;color:var(--adm-ink)!important;border:.5px solid #c8dce7!important;border-left:4px solid #2786ad!important;border-radius:22px!important;box-shadow:0 18px 70px #03152b40}
body.adm-ui-v2 .adm-modal-header{display:flex!important;align-items:center!important;gap:12px;justify-content:space-between;min-width:0;margin:0 0 18px!important}
body.adm-ui-v2 .adm-modal-title{color:var(--adm-ink)!important;font:800 23px/1.25 Arial,sans-serif!important;letter-spacing:-.4px;overflow-wrap:anywhere;min-width:0}
body.adm-ui-v2 .adm-modal-header>.adm-section-heading{margin:0;flex:1}
body.adm-ui-v2 .adm-modal-header [data-x]{flex:0 0 44px;width:44px!important;height:44px!important;min-height:44px;border:1px solid #d0e0e9!important;border-radius:12px!important;background:#fff!important;color:#668499!important;font-size:23px!important}
body.adm-ui-v2 .adm-modal-body{min-width:0;color:var(--adm-ink);font-size:13px;line-height:1.5}
body.adm-ui-v2 .adm-modal-body>div[style*="border:1px"],body.adm-ui-v2 .adm-modal-body>div[style*="border: 1px"]{border-color:var(--adm-line)!important;background:#fff!important;border-radius:15px!important;padding:15px!important}
body.adm-ui-v2 .adm-surface [style*="color:#e2e8f0"],body.adm-ui-v2 .adm-surface [style*="color:#f1f5f9"],body.adm-ui-v2 .adm-surface [style*="color:#cbd5e1"]{color:var(--adm-ink)!important}
body.adm-ui-v2 .adm-surface [style*="color:#94a3b8"],body.adm-ui-v2 .adm-surface [style*="color:#64748b"]{color:var(--adm-muted)!important}
body.adm-ui-v2 .adm-surface input:not([type=checkbox]):not([type=radio]),body.adm-ui-v2 .adm-surface select,body.adm-ui-v2 .adm-surface textarea{box-sizing:border-box;max-width:100%;min-height:44px;background:#f8fbfd!important;color:var(--adm-ink)!important;border:1px solid #c9dde8!important;border-radius:11px!important;padding:10px 12px!important;font:13px/1.45 Arial,sans-serif!important}
body.adm-ui-v2 .adm-surface textarea{min-height:90px}body.adm-ui-v2 .adm-surface button{min-height:44px;border-radius:11px!important;white-space:normal;max-width:100%;overflow-wrap:anywhere}
body.adm-ui-v2 .adm-modal-footer{margin-top:18px!important;padding-top:13px;border-top:1px solid #d5e3ec}
body.adm-ui-v2 .adm-modal-footer [data-back]{min-height:44px;padding:10px 18px!important;border:1px solid #bad7e6!important;border-radius:11px!important;background:#fff!important;color:#176f97!important;font-weight:700}
body.adm-ui-v2 .adm-content-section{min-width:0;color:var(--adm-ink)}body.adm-ui-v2 .adm-content-section>.card{border:.5px solid var(--adm-line);border-radius:19px;background:white;box-shadow:0 6px 20px #14384f05;max-width:100%;box-sizing:border-box}
body.adm-ui-v2 .adm-content-section h2,body.adm-ui-v2 .adm-content-section .sh,body.adm-ui-v2 .adm-content-section h4{color:var(--adm-ink)!important}
body.adm-ui-v2 .adm-content-section input:not([type=checkbox]):not([type=radio]),body.adm-ui-v2 .adm-content-section select,body.adm-ui-v2 .adm-content-section textarea{min-height:44px;max-width:100%;background:#f8fbfd!important;color:var(--adm-ink)!important;border-color:#c9dde8!important;border-radius:11px;box-sizing:border-box}
body.adm-ui-v2 .adm-content-section .btns{gap:8px}body.adm-ui-v2 .adm-content-section .btns>button{min-height:44px}
body.adm-ui-v2 .adm-map-overlay #mdl-mapa-card{background:#edf4f9;border:1px solid #cadde8;border-radius:20px;overflow:hidden}
body.adm-ui-v2 .adm-map-overlay .mapa-hdr{padding:14px!important;gap:10px!important;background:#f8fbfd;border-color:#d2e3ec!important}body.adm-ui-v2 .adm-map-overlay .mapa-hdr>div{min-width:0}
body.adm-ui-v2 .adm-map-overlay .adm-section-heading{margin:0}body.adm-ui-v2 .adm-map-overlay h3{font-size:20px!important;line-height:1.25;color:var(--adm-ink)}body.adm-ui-v2 .adm-map-overlay button,body.adm-ui-v2 .adm-map-overlay select{min-height:44px!important;border-radius:10px!important}
body.adm-ui-v2 #mapa-leyenda{padding:8px 10px;border:1px solid #d6e5ed;border-radius:11px;background:#fff;gap:8px!important}body.adm-ui-v2 #mapa-leyenda>span{font-size:10px!important}
@media(max-width:600px){body.adm-ui-v2 .adm-modal{padding:10px!important}body.adm-ui-v2 .adm-surface{padding:17px 14px!important;max-height:calc(100dvh - 20px)!important;border-radius:19px!important}body.adm-ui-v2 .adm-modal-title{font-size:21px!important}body.adm-ui-v2 .adm-content-section .row2{grid-template-columns:1fr!important}body.adm-ui-v2 .adm-map-overlay .mapa-hdr>div{width:100%;flex-wrap:wrap}body.adm-ui-v2 .adm-map-overlay .mapa-hdr{align-items:stretch!important}}
@media print{body.adm-ui-v2 .adm-options{display:none!important}}

/* Inventario: jerarquía por tarea y tarjetas adaptables{border-top:4px solid #248dab!important;box-shadow:0 5px 16px #17394e08}
@media(max-width:600px){
}

body.adm-ui-v2 .adm-report-tech .adm-surface{display:flex;flex-direction:column}
body.adm-ui-v2 .adm-report-tech .adm-modal-body{overflow-y:auto;flex:1;padding:0!important}
body.adm-ui-v2 .adm-report-tech .adm-modal-footer{display:none!important}
body.adm-ui-v2 .adm-report-tech .adm-modal-header{padding:0!important;border:0!important}
@media(max-width:560px){body.adm-ui-v2 .adm-report-tech .adm-modal-body>div>div[style*="repeat(4"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

body.adm-ui-v2 .adm-map-overlay .adm-map-title-row{display:flex!important;align-items:center!important;gap:9px!important;width:100%;flex-wrap:nowrap!important}
body.adm-ui-v2 .adm-map-title-row>.adm-section-heading{flex:1;min-width:0}
body.adm-ui-v2 .adm-map-title-row>.mapa-close-btn{width:44px!important;height:44px!important;flex:0 0 44px;background:#fff;border:1px solid #cadde8;color:#648498}
body.adm-ui-v2 .adm-map-overlay .adm-map-status-row{margin-top:-5px;min-height:0!important;font-size:11px;color:#6a8798}
body.adm-ui-v2 .adm-map-overlay .adm-map-status-row>span:first-child:not(#mapa-global-status){display:none}
/* RindeGastos conserva su motor clásico: aprobaciones L1/L2/L3 y configuración. */
body.adm-ui-v2 #s-rg .adm-rg-card{padding:16px!important;max-width:1050px!important;color:#24495f}
body.adm-ui-v2 #s-rg .adm-rg-header{display:block!important;margin-bottom:13px!important;padding:0!important}
body.adm-ui-v2 #s-rg .adm-rg-header>div:first-child{min-width:0;flex:1}
body.adm-ui-v2 #s-rg .adm-rg-header h2{font-size:24px!important;line-height:1.3;color:#173c53!important}
body.adm-ui-v2 #s-rg .adm-rg-header p{font-size:12px!important;line-height:1.4;color:#6c8798!important;margin-bottom:12px!important}
body.adm-ui-v2 #s-rg #rg-header-actions{margin-top:12px;justify-content:flex-end}
body.adm-ui-v2 #s-rg #rg-header-actions:empty{display:none!important}
body.adm-ui-v2 #s-rg #rg-header-actions button{min-height:44px!important;border:1px solid #bfdce9!important;border-radius:11px!important;padding:9px 14px!important;background:#087fbd!important;color:white!important;font-size:12px!important}
body.adm-ui-v2 #s-rg .adm-rg-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px!important;border:1px solid #d0e1eb!important;background:#e6f0f7!important;padding:5px!important;border-radius:15px!important;margin-bottom:16px!important}
body.adm-ui-v2 #s-rg .adm-rg-tabs button{min-width:0;min-height:44px!important;border:1px solid transparent!important;border-radius:10px!important;font-size:11px!important;line-height:1.4;padding:8px 5px!important;color:#668396!important;background:transparent!important;white-space:normal}
body.adm-ui-v2 #s-rg .adm-rg-tabs button[aria-pressed=true]{background:#fff!important;border-color:#c3dce9!important;color:#087cad!important;box-shadow:0 2px 6px #173b520a}
body.adm-ui-v2 #s-rg .adm-rg-body{min-width:0;font-size:12px;line-height:1.5}
body.adm-ui-v2 #s-rg .adm-rg-body>div[style*="border"]:not(.adm-rg-summary),body.adm-ui-v2 #s-rg .adm-rg-body>div>div[style*="border-radius"]:not(.adm-rg-stat){border-color:#d4e3ec!important;background:#fff!important;border-radius:15px!important}
body.adm-ui-v2 #s-rg .adm-rg-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-bottom:16px!important}
body.adm-ui-v2 #s-rg .adm-rg-stat{--rg-edge:#188fbc;--rg-tint:#edf8fd;--rg-ink:#226784;padding:15px!important;border:.5px solid #d3e3ed!important;border-left:4px solid var(--rg-edge)!important;border-radius:15px!important;background:var(--rg-tint)!important;min-width:0}
body.adm-ui-v2 #s-rg .adm-rg-stat[data-tone=amber]{--rg-edge:#c28c29;--rg-tint:#fff8ea;--rg-ink:#8f6828}body.adm-ui-v2 #s-rg .adm-rg-stat[data-tone=green]{--rg-edge:#28976e;--rg-tint:#edf9f3;--rg-ink:#287958}body.adm-ui-v2 #s-rg .adm-rg-stat[data-tone=purple]{--rg-edge:#8160b9;--rg-tint:#f5f0fc;--rg-ink:#775799}
body.adm-ui-v2 #s-rg .adm-rg-stat>div:first-child{font-size:16px!important;margin-bottom:4px!important}
body.adm-ui-v2 #s-rg .adm-rg-stat>div:nth-child(2){font-size:22px!important;color:var(--rg-ink)!important;overflow-wrap:anywhere}
body.adm-ui-v2 #s-rg .adm-rg-stat>div:nth-child(n+3){color:#658396!important;font-size:11px!important}
body.adm-ui-v2 #s-rg .adm-rg-summary{background:linear-gradient(120deg,#fff,#e9f7fb)!important;border:.5px solid #c9e1ec!important;border-left:4px solid #248dab!important;padding:15px!important;border-radius:17px!important;box-shadow:none!important;color:#345b70!important}
body.adm-ui-v2 #s-rg .adm-rg-summary div{color:#456f82!important}
body.adm-ui-v2 #s-rg .adm-rg-summary>div>div>div:last-child{color:#7693a1!important}
body.adm-ui-v2 #s-rg .adm-rg-summary>div[style*="grid"]>div{background:#fff!important;border-color:#d3e5ed!important;min-width:0;padding:10px!important}
body.adm-ui-v2 #s-rg .adm-rg-summary>div[style*="grid"]>div>div:last-child{font-size:20px!important;color:#207c9d!important}
body.adm-ui-v2 #s-rg .adm-rg-filters{border:1px solid #d0e1eb;border-radius:13px;background:#fff;margin:0 0 14px}
body.adm-ui-v2 #s-rg .adm-rg-filters>summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:11px 13px;color:#44778e;font-weight:700;cursor:pointer;list-style:none}
body.adm-ui-v2 #s-rg .adm-rg-filters>summary:after{content:'⌄'}
body.adm-ui-v2 #s-rg .adm-rg-filters>div{padding:0 12px 12px;margin-bottom:0!important}
body.adm-ui-v2 #s-rg .adm-rg-filters input,body.adm-ui-v2 #s-rg .adm-rg-filters select{flex:1 1 140px!important;min-width:0!important;min-height:44px!important;background:#f7fbfd!important;color:#355e75!important;border:1px solid #cddfe9!important;border-radius:10px!important}
body.adm-ui-v2 #s-rg .adm-rg-body button{min-height:44px;max-width:100%;white-space:normal;border-radius:10px!important}
body.adm-ui-v2 #s-rg .adm-rg-body [style*="color:#e2e8f0"],body.adm-ui-v2 #s-rg .adm-rg-body [style*="color:#fff"]{color:#244c63!important}
body.adm-ui-v2 #s-rg .adm-rg-body input,body.adm-ui-v2 #s-rg .adm-rg-body select,body.adm-ui-v2 #s-rg .adm-rg-body textarea{min-height:44px!important;max-width:100%;box-sizing:border-box;background:#f8fbfd!important;border-color:#c9dfe9!important;color:#315d74!important}
@media(max-width:600px){body.adm-ui-v2 #s-rg .adm-rg-body [style*="minmax(280px"]{grid-template-columns:1fr!important}body.adm-ui-v2 #s-rg .adm-rg-table,body.adm-ui-v2 #s-rg .adm-rg-table tbody{display:block!important}body.adm-ui-v2 #s-rg .adm-rg-table thead{display:none}body.adm-ui-v2 #s-rg .adm-rg-table tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:.5px solid #d2e3ec;border-left:4px solid #268aab;border-radius:14px;padding:13px;margin:9px 0;background:#fff}body.adm-ui-v2 #s-rg .adm-rg-table td{display:block;border:0!important;padding:0!important;min-width:0;white-space:normal!important;overflow-wrap:anywhere;font-size:11px!important}body.adm-ui-v2 #s-rg .adm-rg-table td:before{content:attr(data-label);display:block;font-weight:700;color:#7d96a4;font-size:9px;margin-bottom:4px}body.adm-ui-v2 #s-rg .adm-rg-table td:last-child{grid-column:1/-1}body.adm-ui-v2 #s-rg .adm-rg-stat>div:nth-child(2){font-size:19px!important}}
body.adm-ui-v2 #s-rg .adm-rg-help>div{padding:12px!important;margin:0!important}
body.adm-ui-v2 #s-rg .adm-rg-help>div>div{background:#f7fbfd!important;border-color:#d2e3ec!important}
body.adm-ui-v2 #s-rg .adm-rg-help [style*="color:#fff"],body.adm-ui-v2 #s-rg .adm-rg-help [style*="color:#f5"],body.adm-ui-v2 #s-rg .adm-rg-help [style*="color:#e9"]{color:#355c73!important}
@media(max-width:600px){body.adm-ui-v2 #s-rg .adm-rg-help>div{grid-template-columns:1fr!important}body.adm-ui-v2 #s-rg .adm-rg-history-row{grid-template-columns:1fr 1fr!important;gap:9px!important;margin:9px 0;border:.5px solid #d1e2eb!important;border-left:4px solid #268aab!important;border-radius:13px;padding:12px!important;background:#fff!important}body.adm-ui-v2 #s-rg .adm-rg-history-row>div{min-width:0;overflow-wrap:anywhere}body.adm-ui-v2 #s-rg .adm-rg-history-row>div:before{content:attr(data-label);display:block;font-size:9px;color:#7794a3;margin-bottom:3px}body.adm-ui-v2 #s-rg .adm-rg-history-row>div:first-child,body.adm-ui-v2 #s-rg .adm-rg-history-row>div:last-child{grid-column:1/-1}body.adm-ui-v2 .adm-rg-dialog .adm-modal-body [style*="minmax(280px"]{grid-template-columns:1fr!important}}
body.adm-ui-v2 .adm-rg-dialog .adm-modal-header{position:relative!important;padding:0!important;background:#edf4f9!important;border:0!important;border-radius:0!important}
body.adm-ui-v2 .adm-rg-dialog .adm-modal-footer{background:#edf4f9!important;border-radius:0!important;padding:13px 0 0!important}
body.adm-ui-v2 .adm-rg-dialog .adm-modal-header [style*="color:#f1f5f9"],body.adm-ui-v2 .adm-rg-dialog [style*="color:#f8fafc"]{color:#17394e!important}
body.adm-ui-v2 .adm-rg-dialog .adm-modal-body{padding:0!important}
@media(max-width:600px){body.adm-ui-v2 #s-rg .adm-rg-card[data-rg-tab=aprobar] .adm-rg-body>div[style*="minmax(170px"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Pantallas del prototipo: cabecera y navegación permanecen visibles. */
body.adm-ui-v2 .adm-page{top:var(--adm-page-top,72px)!important;bottom:var(--adm-page-bottom,70px)!important;left:0!important;right:0!important;padding:0!important;background:#edf4f9!important;backdrop-filter:none!important;display:block!important;overflow-y:auto!important;align-items:stretch!important;overscroll-behavior:contain}
body.adm-ui-v2 .adm-page>.adm-surface{width:min(100%,860px)!important;max-width:100%!important;max-height:none!important;height:auto!important;margin:0 auto!important;padding:24px 18px 32px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#edf4f9!important;overflow:visible!important}
body.adm-ui-v2 .adm-page .adm-modal-header{display:flex!important;gap:14px!important;justify-content:flex-start!important;align-items:center!important;margin:0 0 24px!important}
body.adm-ui-v2 .adm-page .adm-modal-header>[data-x]{order:-1;flex:0 0 44px!important;width:44px!important;height:44px!important;border:1px solid #d2e1ea!important;background:#fff!important;border-radius:14px!important;font-size:25px!important;color:#173f58!important}
body.adm-ui-v2 .adm-page-title-copy{flex:1;min-width:0}body.adm-ui-v2 .adm-page .adm-modal-title{font-size:27px!important;line-height:1.2!important;letter-spacing:-.6px;color:#142e43!important}
body.adm-ui-v2 .adm-page .adm-page-title-copy>.adm-context{margin:0 0 5px!important}
body.adm-ui-v2 .adm-page .adm-modal-footer[hidden]{display:none!important}
body.adm-ui-v2 .adm-page .adm-modal-header .adm-section-heading{margin:0!important}
body.adm-ui-v2 .adm-entry-form{border:.5px solid #d0e1eb;border-top:4px solid #248dab;border-radius:18px;background:#fff;margin:0 0 20px;overflow:hidden}
body.adm-ui-v2 .adm-entry-form>summary{list-style:none;cursor:pointer;display:flex;align-items:center;min-height:48px;padding:13px 16px;color:#087fbd;font-size:14px;font-weight:800}
body.adm-ui-v2 .adm-entry-form>summary:after{content:'⌄';margin-left:auto;color:#7f98a7}body.adm-ui-v2 .adm-entry-form[open]>summary:after{content:'⌃'}
body.adm-ui-v2 .adm-entry-form>div{border:0!important;border-radius:0!important;background:#fff!important;margin:0!important;padding:0 16px 16px!important}
body.adm-ui-v2 .adm-page-records{gap:13px!important}
body.adm-ui-v2 .adm-entry-record{border:.5px solid #d2e1ea!important;border-left:4px solid #268aab!important;background:#fff!important;border-radius:19px!important;padding:17px!important;color:#244b62}
body.adm-ui-v2 .adm-entry-record>div>div:first-child{font-size:17px!important;font-weight:800!important;line-height:1.35!important;color:#17394e!important}
body.adm-ui-v2 .adm-entry-record>div>div:nth-child(2){font-size:12px!important;color:#6a8798!important;line-height:1.5}
body.adm-ui-v2 .adm-entry-record button{background:transparent!important;border:0!important;color:#197da1!important;font-size:12px!important;font-weight:700!important;min-height:44px!important;padding:9px 5px!important;box-shadow:none!important}
body.adm-ui-v2 .adm-entry-record button[data-del]{color:#b85163!important}
body.adm-ui-v2 .adm-holiday-date{flex:0 0 54px!important;width:54px;display:grid;justify-items:center;align-content:center;border-radius:13px;background:#eaf5fc;padding:8px 5px;color:#197da1}
body.adm-ui-v2 .adm-holiday-date b{font-size:23px;font-weight:800;line-height:1.1}body.adm-ui-v2 .adm-holiday-date small{font-size:9px;margin-top:4px}
body.adm-ui-v2 .adm-fence-record{display:block!important;position:relative}
body.adm-ui-v2 .adm-fence-record>div:first-child{padding-right:68px}
body.adm-ui-v2 .adm-fence-radius{position:absolute;right:16px;top:17px;padding:6px 9px;background:#eaf5fb;border-radius:9px;color:#237d9b;font-size:12px}
body.adm-ui-v2 .adm-fence-coordinates{margin-top:15px;border:0;background:#f3f8fb;border-radius:11px;padding:10px;color:#6a8798;font-size:11px}
body.adm-ui-v2 .adm-fence-coordinates summary{min-height:24px;cursor:pointer}body.adm-ui-v2 .adm-fence-coordinates p{margin:8px 0 0;overflow-wrap:anywhere}
body.adm-ui-v2 .adm-entry-actions{display:flex!important;justify-content:space-between;gap:12px;border-top:1px solid #dce8ef;margin-top:15px;padding-top:5px}
/* Áreas de RindeGastos: misma jerarquía de página y registros del prototipo. */
body.adm-ui-v2 .adm-menu-heading{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important}
body.adm-ui-v2 .adm-menu-heading>.adm-menu-back{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0!important;border:.5px solid #cadde8!important;border-radius:13px!important;background:#fff!important;color:#173f58!important;font-size:25px!important;box-shadow:none!important;line-height:1!important;display:grid;place-items:center}
body.adm-ui-v2 .adm-menu-heading>.adm-menu-back[hidden]{display:none!important}
body.adm-ui-v2 .adm-menu-heading>.adm-section-heading{flex:1;min-width:0}
body.adm-ui-v2 #s-rg .adm-rg-header{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;margin-bottom:22px!important}
body.adm-ui-v2 #s-rg .adm-rg-header>div:first-of-type{flex:1;min-width:0}
body.adm-ui-v2 #s-rg .adm-rg-header h2{font-size:27px!important;line-height:1.2!important;letter-spacing:-.5px}
body.adm-ui-v2 #s-rg .adm-rg-context{display:block;margin:0 0 5px!important}
body.adm-ui-v2 #s-rg .adm-rg-tabs[hidden]{display:none!important}
body.adm-ui-v2 #s-rg .adm-options-list [aria-current=page]{background:#e9f4fb!important;color:#087cad!important;font-weight:800!important;border-radius:10px!important}
body.adm-ui-v2 #s-rg #rg-header-actions{margin:0!important;flex:0 0 100%;display:flex;justify-content:flex-end}
body.adm-ui-v2 #s-rg .adm-rg-body .adm-expense-list{display:grid;gap:14px;margin:0;min-width:0}
body.adm-ui-v2 #s-rg .adm-rg-body .adm-expense-record{border:.5px solid #d2e3eb!important;border-left:4px solid #2387ae!important;border-radius:20px!important;padding:18px!important;background:#fff!important;min-width:0;color:#244b62!important}
body.adm-ui-v2 #s-rg .adm-expense-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:11px;min-width:0}
body.adm-ui-v2 #s-rg .adm-expense-category{font-size:11px;font-weight:700;color:#678797;min-width:0;overflow-wrap:anywhere}
body.adm-ui-v2 #s-rg .adm-expense-state{font-size:11px;text-align:right;max-width:65%;overflow-wrap:anywhere}
body.adm-ui-v2 #s-rg .adm-expense-state>span{display:inline-block;border-radius:999px!important;padding:5px 10px!important;font-weight:700!important;white-space:normal!important}
body.adm-ui-v2 #s-rg .adm-expense-record h2{font-size:20px!important;font-weight:800;line-height:1.3;margin:0 0 12px!important;color:#173c53!important;overflow-wrap:anywhere}
body.adm-ui-v2 #s-rg .adm-expense-record h2>div{font-size:11px!important;font-weight:400;margin-top:4px;color:#718b9a!important}
body.adm-ui-v2 #s-rg .adm-expense-amount{display:block;font-size:28px!important;font-weight:800!important;letter-spacing:-.7px;color:#244f65!important;overflow-wrap:anywhere;line-height:1.2;margin-bottom:14px}
body.adm-ui-v2 #s-rg .adm-expense-meta{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#728c9c;margin-bottom:14px}
body.adm-ui-v2 #s-rg .adm-expense-meta>span{min-width:0;overflow-wrap:anywhere}
body.adm-ui-v2 #s-rg .adm-expense-actions{border-top:1px solid #d9e6ee;padding-top:10px}
body.adm-ui-v2 #s-rg .adm-expense-actions>div{justify-content:flex-start!important;gap:8px!important;flex-wrap:wrap!important}
body.adm-ui-v2 #s-rg .adm-expense-actions button,body.adm-ui-v2 #s-rg .adm-expense-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px!important;box-sizing:border-box;border:1px solid #c7dfe9!important;border-radius:11px!important;padding:8px 12px!important;background:#f8fcfe!important;color:#197da1!important;font-size:12px!important;font-weight:700;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-decoration:none}
body.adm-ui-v2 #s-rg .adm-expense-actions button[onclick*="Eliminar"]{margin-left:auto;color:#b85162!important}
@media(min-width:800px){body.adm-ui-v2 #s-rg .adm-expense-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.adm-ui-v2 #s-rg .adm-expense-intro{display:grid;gap:3px;margin:0 0 18px;color:#173c53}
body.adm-ui-v2 #s-rg .adm-expense-intro b{font-size:14px}
body.adm-ui-v2 #s-rg .adm-expense-intro small{color:#7893a1;font-size:11px}
body.adm-ui-v2 #s-rg .adm-expense-kpis{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:15px}
body.adm-ui-v2 #s-rg .adm-expense-kpis article{display:grid;gap:5px;border:.5px solid #c0e0ef;border-radius:14px;padding:12px;background:#e8f5fe;color:#1378a7}
body.adm-ui-v2 #s-rg .adm-expense-kpis article+article{background:#fff6df;border-color:#eddaa7;color:#996c12}
body.adm-ui-v2 #s-rg .adm-expense-kpis strong{font-size:25px;line-height:1.1}
body.adm-ui-v2 #s-rg .adm-expense-kpis span{font-size:11px}
body.adm-ui-v2 #s-rg #rg-header-actions.adm-expense-new{display:flex;justify-content:stretch; margin:0 0 15px!important}
body.adm-ui-v2 #s-rg #rg-header-actions.adm-expense-new button{width:100%;border-radius:12px!important}
body.adm-ui-v2 #s-rg .adm-expense-detail{border-top:1px solid #d9e6ee;padding:9px 0;color:#42738b;font-size:12px}
body.adm-ui-v2 #s-rg .adm-expense-detail summary{cursor:pointer;padding:8px}
body.adm-ui-v2 #s-rg .adm-expense-detail .adm-rg-summary{margin:8px 0 0!important}
body.adm-ui-v2 #s-rg .adm-rg-card{padding:20px 0!important}
