/* Capa final de identidad visual Macrodent: se carga después de los estilos de cada módulo. */
:root{--md-brand:#082b5c;--md-brand-mid:#1c568e;--md-brand-pale:#edf4fc;--md-text:#102c52;--md-muted:#667790;--md-line:#dbe6f2;--md-soft:#f6f9fd;--md-motion:cubic-bezier(.22,1,.36,1);--md-elevation:0 18px 50px rgba(18,53,92,.08)}
body{background:radial-gradient(circle at 92% 9%,rgba(205,222,243,.34),transparent 26rem),radial-gradient(circle at 2% 52%,rgba(224,235,248,.5),transparent 22rem),#f8fbff!important;color:var(--md-text)!important}
.md-navbar{background:rgba(255,255,255,.94)!important;border-bottom:2px solid var(--md-brand)!important;box-shadow:0 5px 24px rgba(18,53,92,.04)!important;backdrop-filter:blur(16px)!important}.md-nav-inner{height:70px!important}.md-nav-menu,.md-notifications-menu{border:1px solid var(--md-line)!important;border-radius:14px!important;background:rgba(255,255,255,.98)!important;box-shadow:var(--md-elevation)!important}.macronav-btn{border-radius:8px!important;background:linear-gradient(135deg,var(--md-brand),#153d70)!important;box-shadow:0 9px 20px rgba(8,43,92,.16)!important}
.hero-stl{position:relative!important;min-height:620px!important;display:flex!important;align-items:center!important;overflow:hidden!important;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 52%,rgba(237,245,253,.35) 100%)!important}.hero-stl::before{position:absolute!important;inset:0 0 0 56%!important;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.04) 20%),url('/img/tecnicas/fresado.jpg') center/cover no-repeat!important;content:""!important;clip-path:ellipse(82% 74% at 76% 48%)}.hero-stl::after{position:absolute!important;top:-34%!important;right:-13%!important;width:58%!important;height:160%!important;border:1.5px solid rgba(22,82,145,.3)!important;border-radius:50%!important;background:none!important;content:""!important}.hero-stl .hero-inner{position:relative!important;z-index:1!important;display:block!important;width:min(1180px,calc(100% - 48px))!important;max-width:none!important;margin:auto!important;padding:72px 0!important;text-align:left!important}.hero-stl .hero-inner>*{width:min(650px,55%)!important;max-width:650px!important}.hero-title{margin:0!important;color:var(--md-brand)!important;font-size:clamp(48px,4.2vw,68px)!important;font-weight:300!important;line-height:1.03!important;letter-spacing:-.045em!important;overflow-wrap:normal!important;word-break:keep-all!important}.hero-title::after{display:block;width:58px;height:2px;margin:22px 0 0;background:var(--md-brand);content:""}.hero-subtitle{margin:24px 0!important;color:var(--md-muted)!important;font-size:17px!important;line-height:1.65!important;overflow-wrap:normal!important;word-break:normal!important}.hero-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;justify-content:start!important;gap:10px!important}.hero-btn{width:100%!important;min-width:0!important;min-height:52px!important;padding:0 14px!important;border-radius:7px!important;font-size:10px!important;font-weight:600!important;letter-spacing:.035em!important;text-transform:uppercase!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
.md-card,.pqr-card,.pqr-case-panel,.pqr-complaint-card,.modal-content,.pqr-admin-table-wrap,.md-work-table-scroll{border:1px solid rgba(207,220,235,.9)!important;border-radius:17px!important;background:rgba(255,255,255,.96)!important;box-shadow:var(--md-elevation)!important}.md-card,.pqr-card{transition:transform .38s var(--md-motion),box-shadow .38s var(--md-motion),border-color .3s ease!important}.md-card:hover,.pqr-card:hover{border-color:#c3d5e8!important;box-shadow:0 24px 58px rgba(18,53,92,.12)!important;transform:translateY(-4px)}
.md-title,.md-card-title,.pqr-card h1,.pqr-card h2,.pqr-case-panel h2,.pqr-case-header h1{color:var(--md-text)!important;font-weight:550!important;letter-spacing:-.025em!important}.md-meta,.md-card-text,.pqr-card p,.pqr-case-panel p{color:var(--md-muted)}.md-toolbar,.pqr-admin-head{border-bottom:1px solid var(--md-line)!important}.md-btn,.pqr-primary,.pqr-secondary,.btn-send,.btn-cancel{border-radius:8px!important;transition:transform .28s var(--md-motion),box-shadow .28s var(--md-motion),background .25s ease!important}.md-btn:hover,.pqr-primary:hover,.pqr-secondary:hover,.btn-send:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(8,43,92,.14)!important}
.pqr-case-steps,.md-work-tabs{border:1px solid var(--md-line)!important;border-radius:14px!important;background:rgba(247,250,254,.96)!important;box-shadow:none!important}.pqr-case-steps button,.md-work-tab{transition:background .3s ease,color .3s ease,transform .3s var(--md-motion)!important}.pqr-case-steps button:hover,.md-work-tab:hover{transform:translateY(-1px)}.pqr-case-steps button.is-active,.md-work-tab.is-active{background:#fff!important;box-shadow:0 7px 19px rgba(18,53,92,.09)!important}.pqr-case-panel{min-height:0!important}.pqr-complaint-card>summary{background:linear-gradient(135deg,#fff,#f7faff)}
input:not([type=checkbox]):not([type=radio]),select,textarea,.form-control{border-color:#d5e0ed!important;border-radius:9px!important;background:#fff!important;transition:border-color .25s ease,box-shadow .25s ease!important}input:focus,select:focus,textarea:focus,.form-control:focus{border-color:#7295bd!important;box-shadow:0 0 0 4px rgba(39,91,148,.09)!important}.modal-backdrop.show{opacity:.24!important}.modal-content{overflow:hidden!important}.modal-header{border-bottom:1px solid #e8eef5!important;background:linear-gradient(135deg,#fff,#f6faff)!important}.modal-footer{border-top:1px solid #e8eef5!important;background:#fbfdff!important}
.md-table thead th,.pqr-admin-table thead th{border:0!important;background:#edf4fb!important;color:#35506f!important;font-size:10px!important;font-weight:600!important;letter-spacing:.035em!important;text-transform:uppercase}.md-table tbody tr,.pqr-admin-table tbody tr{transition:background .22s ease}.md-table tbody tr:hover,.pqr-admin-table tbody tr:hover{background:#f6f9fd!important}.md-badge,.pqr-state-pill{border-radius:999px!important}
.profile-cover,.md-cover{background:linear-gradient(90deg,rgba(8,43,92,.91),rgba(18,69,121,.59)),url('/img/contraportada.jpg') center/cover no-repeat!important}.profile-avatar img{border:5px solid #fff!important;box-shadow:0 14px 34px rgba(18,53,92,.18)!important}.footer3{border-top:1px solid var(--md-line)!important;background:linear-gradient(180deg,#f8fbff,#f1f6fc)!important}.f3-icons a{border:1px solid #d8e3ef!important;background:#fff!important;transition:transform .28s var(--md-motion),box-shadow .28s ease!important}.f3-icons a:hover{transform:translateY(-3px);box-shadow:0 9px 20px rgba(18,53,92,.12)!important}.pqr-float,.whatsapp-float{box-shadow:0 12px 28px rgba(18,53,92,.18)!important;transition:transform .3s var(--md-motion),box-shadow .3s ease!important}.pqr-float:hover,.whatsapp-float:hover{transform:translateY(-3px) scale(1.03)!important}
.pqr-hero{position:relative!important;min-height:170px!important;overflow:hidden!important;padding:34px 42% 34px 38px!important;border:1px solid var(--md-line)!important;border-radius:20px!important;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 50%,rgba(235,244,253,.28) 100%)!important;box-shadow:var(--md-elevation)!important}.pqr-hero::before{position:absolute;z-index:0;inset:0 0 0 57%;background:linear-gradient(90deg,#fff,rgba(255,255,255,.08) 35%),url('/img/restauraciones/corona.jpg') center/cover no-repeat;content:"";clip-path:ellipse(82% 100% at 79% 50%)}.pqr-hero>*{position:relative;z-index:1}.pqr-hero h1{margin:5px 0!important;color:var(--md-brand)!important;font-size:clamp(30px,4vw,47px)!important;font-weight:400!important;letter-spacing:-.035em!important}.pqr-hero>span{color:var(--md-brand-mid)!important;font-weight:600!important;letter-spacing:.14em!important}.pqr-hero p{max-width:560px;color:var(--md-muted)!important}.pqr-admin-head{position:relative;overflow:hidden;padding:24px 220px 24px 26px!important;border:1px solid var(--md-line)!important;border-radius:17px!important;background:linear-gradient(90deg,#fff,rgba(246,250,255,.95))!important;box-shadow:var(--md-elevation)!important}.pqr-admin-head::after{position:absolute;top:-38px;right:20px;width:190px;height:190px;border:1px solid rgba(30,85,145,.14);border-radius:50%;background:radial-gradient(circle,rgba(221,234,249,.8),rgba(255,255,255,0) 68%);content:""}.pqr-admin-head>div{position:relative;z-index:1}.pqr-stats article{border:1px solid var(--md-line)!important;border-radius:14px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 10px 28px rgba(18,53,92,.05)!important;transition:transform .3s var(--md-motion),box-shadow .3s ease!important}.pqr-stats article:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(18,53,92,.09)!important}.table-responsive{border-radius:14px}.container>.md-card{position:relative}.container>.md-card::after{position:absolute;z-index:0;top:0;right:0;width:180px;height:110px;border-radius:0 17px 0 100%;background:linear-gradient(145deg,rgba(225,236,249,.6),rgba(255,255,255,0));content:"";pointer-events:none}.container>.md-card>*{position:relative;z-index:1}
.md-motion-ready .md-reveal{opacity:0;transform:translateY(16px);transition:opacity .7s var(--md-motion) var(--md-reveal-delay,0ms),transform .7s var(--md-motion) var(--md-reveal-delay,0ms)!important}.md-motion-ready .md-reveal.is-visible{opacity:1;transform:none}
@media(max-width:900px){.hero-stl{min-height:auto!important}.hero-stl::before{inset:0 0 auto 0!important;height:260px!important;clip-path:ellipse(85% 70% at 70% 25%);opacity:.5}.hero-stl::after{display:none!important}.hero-stl .hero-inner{width:calc(100% - 32px)!important;padding:285px 0 54px!important}.hero-stl .hero-inner>*{width:100%!important;max-width:680px!important}.hero-title{font-size:42px!important}.hero-subtitle{font-size:15px!important}.pqr-hero{padding-right:32px!important}.pqr-hero::before{opacity:.16}.pqr-admin-head{padding-right:24px!important}.pqr-admin-head::after{opacity:.35}}
@media(max-width:576px){.md-nav-inner{height:62px!important}.hero-stl::before{height:225px!important}.hero-stl .hero-inner{width:calc(100% - 28px)!important;padding-top:245px!important}.hero-title{font-size:38px!important}.hero-actions{grid-template-columns:1fr!important}.hero-btn{width:100%!important}.md-card:hover,.pqr-card:hover{transform:none}.footer3{padding-bottom:82px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.md-reveal{opacity:1!important;transform:none!important}}

/* Portada funcional reorganizada */
.hero-stl .hero-inner>*{width:min(680px,57%)!important;max-width:680px!important}.hero-kicker{margin:0 0 15px!important;color:#55708f!important;font-size:11px!important;font-weight:600!important;letter-spacing:.16em!important;text-transform:uppercase!important;overflow-wrap:normal!important}.hero-title{font-size:clamp(46px,4vw,66px)!important;overflow-wrap:normal!important;word-break:keep-all!important}.hero-title strong{font-weight:700!important}.hero-subtitle{margin:21px 0!important;font-size:16px!important;line-height:1.62!important}.hero-actions{gap:9px!important}.hero-btn{min-height:50px!important;padding-inline:10px!important;font-size:9px!important;letter-spacing:.025em!important}.hero-benefits{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin-top:24px!important;padding-top:21px!important;border-top:1px solid #d9e3ef!important}.hero-benefits article{display:flex;min-width:0;align-items:center;gap:9px;padding:9px;border-radius:11px;background:rgba(248,251,255,.9)}.hero-benefits i{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:50%;background:#eaf2fb;color:var(--md-brand);font-size:15px}.hero-benefits strong,.hero-benefits span{display:block;overflow-wrap:normal!important;word-break:normal!important}.hero-benefits strong{color:var(--md-text);font-size:10px;line-height:1.25}.hero-benefits span{margin-top:2px;color:var(--md-muted);font-size:8px;line-height:1.35}
@media(max-width:900px){.hero-stl .hero-inner>*{width:100%!important;max-width:680px!important}}
@media(max-width:576px){.hero-actions,.hero-benefits{grid-template-columns:1fr!important}.hero-benefits article{padding:8px 4px;background:transparent}}

/* Encabezado PQR: contenido alineado realmente a la izquierda */
.pqr-admin-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;justify-content:stretch!important;gap:24px!important;min-height:132px!important;padding:24px 220px 24px 28px!important;text-align:left!important}.pqr-admin-head::before{display:none!important;content:none!important}.pqr-admin-head>div:first-child{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;text-align:left!important}.pqr-admin-head h1,.pqr-admin-head p,.pqr-admin-head>div>span{margin-left:0!important;text-align:left!important}.pqr-admin-head h1{font-size:30px!important;font-weight:600!important}.pqr-head-actions{position:relative!important;z-index:2!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin:0!important}.pqr-admin-head::after{right:16px!important;width:176px!important;height:176px!important;opacity:.72!important}
@media(max-width:900px){.pqr-admin-head{grid-template-columns:1fr!important;gap:16px!important;min-height:0!important;padding:22px!important}.pqr-head-actions{justify-content:flex-start!important}.pqr-admin-head::after{right:-55px!important;opacity:.25!important}}
@media(max-width:520px){.pqr-head-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}.pqr-head-actions .pqr-secondary{width:100%!important}}

/* Listado de trabajos: jerarquía compacta y filtros automáticos */
.md-work-list-page{width:min(1500px,calc(100% - 28px))!important;max-width:none!important;margin:22px auto!important;padding:0!important}.md-work-list-page>.md-card{padding:0!important;overflow:hidden!important;border-radius:18px!important}.md-work-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:22px!important;margin:0!important;padding:24px 26px 18px!important;border:0!important;background:linear-gradient(110deg,#fff 0%,#f7faff 100%)!important}.md-work-toolbar::before{display:none!important;content:none!important}.md-work-toolbar>div:first-child{min-width:0!important;text-align:left!important}.md-work-toolbar .md-title{margin:0!important;text-align:left!important;font-size:30px!important;font-weight:600!important;line-height:1.1!important}.md-work-toolbar .md-meta{margin-top:5px!important;text-align:left!important;font-size:11px!important}.md-work-toolbar-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important}.md-new-work-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:39px!important;padding-inline:15px!important;white-space:nowrap!important}.md-page-size{display:flex!important;align-items:center!important;gap:7px!important;white-space:nowrap!important}.md-page-size select{width:72px!important;min-height:38px!important;margin:0!important}.md-work-tabs{display:flex!important;gap:4px!important;margin:0 18px 12px!important;padding:6px!important;overflow-x:auto!important;border-radius:12px!important;background:#f3f7fc!important}.md-work-tab{display:inline-flex!important;min-width:max-content!important;align-items:center!important;gap:7px!important;padding:10px 13px!important;border:0!important;border-radius:8px!important;color:#52647d!important;font-size:11px!important;font-weight:500!important}.md-work-tab.is-active{color:var(--md-brand)!important;font-weight:600!important}.md-work-filters{position:relative!important;margin:0 18px 15px!important;padding:12px!important;border:1px solid var(--md-line)!important;border-radius:13px!important;background:#fbfdff!important}.md-filter-row--top{display:grid!important;grid-template-columns:auto auto minmax(230px,360px)!important;align-items:center!important;gap:10px!important}.md-filter-row--top .md-filter-search{grid-column:3!important;width:100%!important;justify-self:end!important}.md-filter-search{border:1px solid #d5e1ee!important;border-radius:9px!important;background:#fff!important}.md-filter-search input{min-height:37px!important;border:0!important;box-shadow:none!important}.md-filter-toggle{min-height:37px!important;background:#fff!important}.md-filter-clear{font-size:11px!important}.md-work-filter-panel{margin-top:12px!important;padding-top:14px!important;border-top:1px solid #e5ecf4!important}.md-work-filters.is-filtering::after{position:absolute;inset:0;z-index:3;display:grid;place-items:center;border-radius:13px;background:rgba(255,255,255,.65);color:var(--md-brand);font-size:11px;font-weight:600;content:"Actualizando…";backdrop-filter:blur(2px)}.md-filter-submit{display:none!important}.md-work-table-scroll{margin:0 18px 18px!important;border-radius:13px!important;box-shadow:none!important}.md-work-table-scroll .md-table{font-size:11px!important}.md-work-table-scroll .md-table thead th{padding-top:12px!important;padding-bottom:12px!important;background:#eef4fb!important}.md-work-table-scroll .md-table tbody td{padding-top:11px!important;padding-bottom:11px!important}.md-work-table-scroll .md-table tbody tr:nth-child(even){background:#fbfdff}.md-work-table-scroll .md-table tbody tr:hover{background:#eef5fc!important}.md-link-code{color:#075eae!important;font-weight:600!important}
@media(max-width:900px){.md-work-list-page{width:calc(100% - 20px)!important}.md-work-toolbar{grid-template-columns:1fr!important;padding:20px!important}.md-work-toolbar-actions{justify-content:flex-start!important}.md-filter-row--top{grid-template-columns:auto 1fr!important}.md-filter-row--top .md-filter-search{grid-column:1/-1!important;justify-self:stretch!important;max-width:none!important}}
@media(max-width:560px){.md-work-toolbar-actions{display:grid!important;grid-template-columns:1fr!important}.md-new-work-button,.md-page-size{width:100%!important}.md-page-size{justify-content:space-between!important}.md-work-tabs,.md-work-filters,.md-work-table-scroll{margin-right:10px!important;margin-left:10px!important}.md-filter-row--top{grid-template-columns:1fr!important}.md-filter-row--top>*{grid-column:1!important;width:100%!important}.md-filter-clear{text-align:center}.md-work-toolbar .md-title{font-size:25px!important}}

/* Fondo blanco y densidad cómoda, no compacta */
html,body,.md-page-main{background:#fff!important}.md-work-list-page>.md-card{background:#fff!important}.md-work-toolbar{padding:28px 28px 22px!important;background:#fff!important}.md-work-tabs{margin:0 20px 15px!important;padding:8px!important}.md-work-tab{padding:12px 15px!important;font-size:12px!important}.md-work-filters{width:calc(100% - 40px)!important;margin:0 20px 18px!important;padding:15px!important}.md-work-table-scroll{width:calc(100% - 40px)!important;max-width:calc(100% - 40px)!important;margin:0 20px 22px!important;overflow-x:auto!important}.md-work-table-scroll .md-table{width:100%!important;min-width:1580px!important;font-size:12.5px!important}.md-work-table-scroll .md-table thead th{padding:15px 13px!important;font-size:10.5px!important}.md-work-table-scroll .md-table tbody td{padding:15px 13px!important;line-height:1.45!important;vertical-align:middle!important}.md-work-table-scroll .md-table tbody tr{min-height:58px!important}.md-work-table-scroll .md-table tbody tr:nth-child(even){background:#fcfdff!important}
@media(max-width:900px){.md-work-filters,.md-work-table-scroll{width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;margin-right:12px!important;margin-left:12px!important}.md-work-tabs{margin-right:12px!important;margin-left:12px!important}}
@media(max-width:560px){.md-work-filters,.md-work-table-scroll{width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;margin-right:10px!important;margin-left:10px!important}.md-work-toolbar{padding:22px 18px!important}}

/* Navegación sin líneas decorativas */
.md-nav-links>li>a::after,.md-nav-dropbtn::after,.md-nav-links>li>a:hover::after,.md-nav-dropbtn:hover::after{display:none!important;width:0!important;height:0!important;content:none!important;transform:none!important}.md-nav-links>li>a,.md-nav-dropbtn{text-decoration:none!important}

/* Selectores corporativos personalizados */
.md-responsive-select{position:relative!important;min-width:0!important}.md-responsive-select::after{position:absolute;z-index:2;top:50%;right:13px;width:7px;height:7px;border-right:1.5px solid #405979;border-bottom:1.5px solid #405979;content:"";pointer-events:none;transform:translateY(-70%) rotate(45deg)}.md-responsive-select-input{min-height:42px!important;padding:9px 36px 9px 12px!important;border:1px solid #cfdceb!important;border-radius:10px!important;background:#fff!important;color:#17365f!important;font-size:12px!important;font-weight:500!important;cursor:pointer!important}.md-responsive-select-input:focus{border-color:#5279a7!important;box-shadow:0 0 0 4px rgba(32,82,138,.1)!important;cursor:text!important}.md-responsive-select-list{z-index:1200!important;padding:7px!important;border:1px solid #cddbeb!important;border-radius:11px!important;box-shadow:0 18px 42px rgba(15,45,82,.16)!important}.md-responsive-select-option{min-height:40px!important;padding:10px 11px!important;border-radius:8px!important;color:#243a59!important;font-size:12px!important;font-weight:500!important}.md-responsive-select-option:hover,.md-responsive-select-option:focus{background:#eef4fb!important;color:#123b6c!important}.md-responsive-select-option.is-selected{background:#123e70!important;color:#fff!important}.md-responsive-select-list[hidden]{display:none!important}

/* Modal de carga siempre centrado y con desplazamiento interno */
body.md-native-modal-open{overflow:hidden!important}.modal.md-native-open{position:fixed!important;inset:0!important;z-index:1060!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;padding:20px!important}.modal.md-native-open .modal-dialog,#modalOrden .modal-dialog,#modalEscaneoTrabajo .modal-dialog{width:min(760px,calc(100vw - 32px))!important;max-width:760px!important;max-height:calc(100dvh - 40px)!important;margin:auto!important;transform:none!important}.modal.md-native-open .modal-content,#modalOrden .modal-content,#modalEscaneoTrabajo .modal-content{display:flex!important;max-height:calc(100dvh - 40px)!important;flex-direction:column!important;overflow:hidden!important;border-radius:17px!important}.modal.md-native-open .modal-body,#modalOrden .modal-clean-body,#modalEscaneoTrabajo .modal-clean-body{min-height:0!important;max-height:none!important;flex:1 1 auto!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:22px 24px!important}.modal.md-native-open .modal-header,.modal.md-native-open .modal-footer,#modalOrden .modal-header,#modalOrden .modal-footer,#modalEscaneoTrabajo .modal-header,#modalEscaneoTrabajo .modal-footer{flex:0 0 auto!important}.modal.md-native-open .modal-footer,#modalOrden .modal-clean-footer,#modalEscaneoTrabajo .modal-clean-footer{margin:0!important;padding:15px 24px!important}.md-native-backdrop{z-index:1050!important;background:#18314f!important;opacity:.38!important;backdrop-filter:blur(3px)}
@media(max-width:576px){.modal.md-native-open{align-items:center!important;padding:8px!important}.modal.md-native-open .modal-dialog,#modalOrden .modal-dialog,#modalEscaneoTrabajo .modal-dialog{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important}.modal.md-native-open .modal-content,#modalOrden .modal-content,#modalEscaneoTrabajo .modal-content{max-height:calc(100dvh - 16px)!important}.modal.md-native-open .modal-body,#modalOrden .modal-clean-body,#modalEscaneoTrabajo .modal-clean-body{padding:17px 16px!important}.modal.md-native-open .modal-footer,#modalOrden .modal-clean-footer,#modalEscaneoTrabajo .modal-clean-footer{padding:12px 16px!important}}

/* Modales: ancho original, centro estable y campos interactivos */
body>.modal-backdrop{z-index:1040!important;pointer-events:auto!important}.modal.show,.modal.md-native-open{z-index:1060!important;pointer-events:auto!important}.modal.show .modal-dialog,.modal.md-native-open .modal-dialog{position:relative!important;z-index:1061!important;pointer-events:auto!important}.modal.show .modal-content,.modal.md-native-open .modal-content{position:relative!important;z-index:1062!important;pointer-events:auto!important;opacity:1!important;filter:none!important}.modal.show .modal-content *,.modal.md-native-open .modal-content *{pointer-events:auto}.modal.show .modal-dialog{display:flex!important;min-height:calc(100% - 40px)!important;align-items:center!important;margin:20px auto!important}.modal.show .modal-content{width:100%!important;max-height:calc(100dvh - 40px)!important}.modal.show .modal-body{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important}.modal.show .modal-header,.modal.show .modal-footer{flex:0 0 auto!important}
#modalOrden .modal-dialog,#modalEscaneoTrabajo .modal-dialog{width:min(500px,calc(100vw - 32px))!important;max-width:500px!important}.modal.md-native-open .modal-dialog{width:min(540px,calc(100vw - 32px))!important;max-width:540px!important}.modal-dialog.modal-lg:not(#modalOrden .modal-dialog):not(#modalEscaneoTrabajo .modal-dialog){max-width:720px!important}.modal-dialog.modal-xl{max-width:920px!important}
@media(max-width:576px){.modal.show .modal-dialog{min-height:calc(100% - 16px)!important;margin:8px auto!important}#modalOrden .modal-dialog,#modalEscaneoTrabajo .modal-dialog,.modal.md-native-open .modal-dialog{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important}.modal.show .modal-content{max-height:calc(100dvh - 16px)!important}}

/* Prioridad máxima: velo sobre TODA la página y modal blanco por encima */
body .modal-backdrop,body>.modal-backdrop,.modal-backdrop.show,.modal-backdrop.fade.show,.md-native-backdrop{position:fixed!important;inset:0!important;z-index:9998!important;width:100vw!important;height:100dvh!important;margin:0!important;background:#19324f!important;pointer-events:none!important;opacity:.42!important;filter:none!important;backdrop-filter:blur(4px)!important}.modal,.modal.fade,.modal.show,.modal.fade.show,.modal.md-native-open,#modalOrden,#modalEscaneoTrabajo{position:fixed!important;inset:0!important;z-index:9999!important;background:transparent!important;pointer-events:none!important;opacity:1!important;filter:none!important;isolation:isolate!important}.modal.show .modal-dialog,.modal.md-native-open .modal-dialog,#modalOrden .modal-dialog,#modalEscaneoTrabajo .modal-dialog{position:relative!important;z-index:1!important;pointer-events:auto!important;opacity:1!important;filter:none!important}.modal.show .modal-content,.modal.md-native-open .modal-content,#modalOrden .modal-content,#modalEscaneoTrabajo .modal-content{position:relative!important;z-index:2!important;pointer-events:auto!important;border:1px solid #d9e3ef!important;background:#fff!important;background-color:#fff!important;box-shadow:0 28px 80px rgba(4,24,51,.28)!important;opacity:1!important;filter:none!important;mix-blend-mode:normal!important;isolation:isolate!important}.modal.show .modal-header,.modal.show .modal-body,.modal.show .modal-footer,.modal.md-native-open .modal-header,.modal.md-native-open .modal-body,.modal.md-native-open .modal-footer{background:#fff!important;background-color:#fff!important;opacity:1!important;filter:none!important}.modal.show input,.modal.show textarea,.modal.show select,.modal.show button,.modal.show label,.modal.show .md-responsive-select,.modal.md-native-open input,.modal.md-native-open textarea,.modal.md-native-open select,.modal.md-native-open button,.modal.md-native-open label{position:relative!important;z-index:3!important;pointer-events:auto!important;opacity:1!important;filter:none!important}.modal.show input:not(:disabled),.modal.show textarea:not(:disabled),.modal.show select:not(:disabled),.modal.md-native-open input:not(:disabled),.modal.md-native-open textarea:not(:disabled),.modal.md-native-open select:not(:disabled){cursor:text!important}.modal.show select:not(:disabled),.modal.md-native-open select:not(:disabled),.modal.show input[type=radio],.modal.show input[type=checkbox]{cursor:pointer!important}

/* El desenfoque del backdrop altera el blanco en algunos navegadores. */
body .modal-backdrop,body>.modal-backdrop,.modal-backdrop.show,.modal-backdrop.fade.show,.md-native-backdrop{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* El velo pertenece al propio modal: nunca puede pintarse sobre la tarjeta. */
body .modal-backdrop,body>.modal-backdrop,.modal-backdrop.show,.modal-backdrop.fade.show,.md-native-backdrop{display:none!important}
.modal.show,.modal.fade.show,.modal.md-native-open,#modalOrden.show,#modalEscaneoTrabajo.show{background:rgba(25,50,79,.42)!important}
.modal[popover]{width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:20px!important;border:0!important;color:inherit!important}

/* Alertas flash limpias: ningún control de la página puede atravesarlas. */
.swal2-container{z-index:30000!important}.swal2-container .swal2-popup{position:relative!important;z-index:1!important;background:#fff!important}.swal2-container .swal2-actions{position:relative!important;z-index:2!important}.swal2-container .swal2-confirm{display:inline-flex!important}body.swal2-shown .md-responsive-select-list{display:none!important}
.md-flash-popup>.md-responsive-select,.md-flash-popup>.swal2-input,.md-flash-popup>.swal2-file,.md-flash-popup>.swal2-range,.md-flash-popup>.swal2-select,.md-flash-popup>.swal2-radio,.md-flash-popup>.swal2-checkbox,.md-flash-popup>.swal2-textarea{display:none!important}

/* Selectores flotantes: nunca se recortan contra el footer o los botones. */
.md-responsive-select{z-index:auto!important}.md-responsive-select:focus-within{z-index:20!important}.md-responsive-select-list{position:fixed!important;z-index:40000!important;right:auto!important;margin:0!important;overflow-y:auto!important;background:#fff!important;box-shadow:0 18px 45px rgba(8,43,92,.2)!important}.modal .md-responsive-select-list{z-index:40000!important}

/* Listado de trabajos a todo el ancho disponible. */
.md-work-list-page{width:calc(100% - 20px)!important;max-width:none!important;margin:14px 10px 24px!important}.md-work-list-page>.md-card{width:100%!important;max-width:none!important}.md-work-table-scroll{width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;margin-right:12px!important;margin-left:12px!important}.md-work-table-scroll .md-table{min-width:1450px!important;font-size:13.5px!important}.md-work-table-scroll .md-table thead th{font-size:11px!important}.md-work-tab,.md-filter-toggle,.md-filter-clear,.md-page-size,.md-filter-field,.md-filter-search input{font-size:12.5px!important}.md-work-toolbar .md-meta{font-size:12px!important}

/* Navegación semanal de entregas. */
.md-due-week{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;margin:0 20px 14px!important;padding:9px 10px!important;border:1px solid var(--md-line)!important;border-radius:13px!important;background:#f7f9fc!important}.md-due-week__days{display:grid!important;grid-template-columns:repeat(7,minmax(86px,1fr))!important;gap:4px!important;min-width:0!important;flex:1 1 auto!important}.md-due-day{display:flex!important;min-height:48px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;padding:6px 9px!important;border:1px solid transparent!important;border-radius:9px!important;color:#47607f!important;text-decoration:none!important;transition:background .2s ease,border-color .2s ease,transform .2s ease!important}.md-due-day strong{font-size:10px!important;font-weight:700!important;letter-spacing:.04em!important;text-transform:uppercase!important}.md-due-day span{margin-top:2px!important;font-size:10px!important}.md-due-day:hover{background:#fff!important;border-color:#d8e3ef!important;transform:translateY(-1px)!important}.md-due-day.is-selected{border-color:#d5e1f0!important;background:#fff!important;color:var(--md-brand)!important;box-shadow:0 5px 14px rgba(18,53,92,.07)!important}.md-due-day.is-today strong{color:#0b55b7!important}.md-due-week__nav{display:flex!important;flex:0 0 auto!important;gap:7px!important}.md-due-week__nav a{display:inline-flex!important;min-height:38px!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:0 12px!important;border:1px solid #d7e1ed!important;border-radius:9px!important;background:#fff!important;color:#183657!important;font-size:11px!important;font-weight:600!important;text-decoration:none!important;white-space:nowrap!important}

/* Tipografía legible en portada, formularios y modales. */
.hero-btn{font-size:11px!important}.hero-benefits strong{font-size:12px!important}.hero-benefits span{font-size:10.5px!important}.modal label,.modal .form-label,.modal .modal-body,.modal button{font-size:13px!important}.modal .modal-title{font-size:20px!important}.md-responsive-select-input,.md-responsive-select-option,.md-responsive-select-empty{font-size:13px!important}
@media(max-width:1000px){.md-due-week{align-items:stretch!important;flex-direction:column!important}.md-due-week__days{width:100%!important;overflow-x:auto!important;grid-template-columns:repeat(7,minmax(92px,1fr))!important}.md-due-week__nav{justify-content:flex-end!important}}
@media(max-width:576px){.md-work-list-page{width:100%!important;margin:8px 0 18px!important}.md-due-week{margin-right:10px!important;margin-left:10px!important}.md-due-week__nav{display:grid!important;grid-template-columns:1fr 1fr!important}.md-due-week__nav a{white-space:normal!important;text-align:center!important}}

/* Remates de interacción: menús portales, filtros compactos y controles centrados. */
.modal,.modal.fade,.modal.show,.modal.fade.show,.modal.md-native-open{pointer-events:auto!important}
.md-filter-row--top{grid-template-columns:max-content max-content minmax(0,1fr)!important}
.md-filter-row--top .md-filter-search{width:min(100%,360px)!important;justify-self:end!important}
.md-filter-toggle{width:auto!important;min-width:0!important;max-width:max-content!important;padding-right:14px!important;padding-left:14px!important;justify-self:start!important}
.md-due-week{width:100%!important;margin:0 0 14px!important;padding:8px 14px!important;border-right:0!important;border-left:0!important;border-radius:0!important}
.md-due-week__days{max-width:650px!important;flex:0 1 650px!important}
.md-due-week__nav{margin-left:auto!important}
.md-pagination{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;text-align:center!important}
.md-pagination>.md-meta{width:100%!important;text-align:center!important}
.md-pagination-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
@media(max-width:700px){.md-filter-row--top{grid-template-columns:max-content 1fr!important}.md-filter-row--top .md-filter-search{grid-column:1/-1!important;width:100%!important}.md-pagination{gap:8px!important}}

/* Superficies blancas unificadas en toda la aplicación. */
html,body,.md-page-main,main,.footer3,.md-work-list-page,.pqr-page,.pqr-admin-page,.pqr-case-page,.md-doc-page{background:#fff!important;background-image:none!important}
.md-card,.pqr-card,.pqr-case-panel,.pqr-complaint-card,.pqr-admin-table-wrap,.md-work-table-scroll,.md-panel-card,.profile-info,.md-doc-sidebar,.md-doc-paper,.pqr-stats article{background:#fff!important;background-image:none!important}
.md-work-toolbar,.md-work-tabs,.md-work-filters,.md-work-filter-panel,.md-due-week,.pqr-case-steps,.pqr-admin-head,.modal-header,.modal-body,.modal-footer,.md-rich-toolbar,.md-rich-help,.md-doc-paper-meta>div,.md-signature-upload{background:#fff!important;background-image:none!important}
.md-table,.pqr-admin-table,.md-table thead,.pqr-admin-table thead,.md-table thead th,.pqr-admin-table thead th,.md-table tbody tr,.pqr-admin-table tbody tr,.md-table tbody tr:nth-child(even),.pqr-admin-table tbody tr:nth-child(even),.md-table tbody tr:hover,.pqr-admin-table tbody tr:hover{background:#fff!important;background-image:none!important}
.hero-benefits article,.pqr-complaint-card>summary,.md-signature-pad,.md-doc-sidebar input,.md-doc-paper textarea,.md-doc-paper textarea:hover{background:#fff!important;background-image:none!important}
.pqr-generated-grid article,.pqr-auto-note,.pqr-conditional,.pqr-upload,.pqr-upload:hover,.pqr-upload.is-dragging,.pqr-file-item,.pqr-review p,.pqr-policy,.pqr-read-grid p,.pqr-data-grid article,.pqr-feature-value,.pqr-tag-list>span,.pqr-note,.pqr-long-text,.pqr-evidence-list>a,.pqr-action-list>article,.pqr-complaint-section .pqr-data-grid>div,.pqr-success .pqr-case-number,.pqr-case-steps button,.pqr-case-steps button:hover,.pqr-case-steps button.is-active,.pqr-wizard-steps button:not(.is-active) i,.pqr-choice-grid input:checked+span{background:#fff!important;background-image:none!important}

/* Navegación agrupada y encabezado de usuarios. */
.md-mega-menu{max-height:min(76vh,620px)!important;overflow-y:auto!important;overscroll-behavior:contain!important}
.md-mega-menu a[aria-current="page"]{background:#eef3f9!important;color:var(--md-brand)!important;font-weight:600!important}
.md-toolbar-users{align-items:center!important;text-align:left!important}
.md-toolbar-users::before{display:none!important;content:none!important}
.md-toolbar-users>div:first-child{margin:0!important;flex:0 1 auto!important}
.md-toolbar-users>div,.md-toolbar-users .md-title,.md-toolbar-users .md-meta{text-align:left!important}
@media(max-width:900px){.md-main-menu>.md-nav-dropbtn{font-size:12px!important}.md-mobile:not([hidden]){display:block!important;max-height:calc(100dvh - 64px)!important;overflow-y:auto!important;background:#fff!important}.md-mobile-group{position:sticky;top:0;background:#fff!important;z-index:1}}
.md-toolbar-users{justify-content:space-between!important;text-align:left!important}.md-toolbar-users>div:first-child,.md-toolbar-users .md-title,.md-toolbar-users .md-meta{text-align:left!important}
.md-main-menu{position:relative}.md-main-menu>.md-nav-dropbtn,.md-account-menu>.md-nav-dropbtn{display:inline-flex!important;align-items:center!important;gap:7px!important}.md-mega-menu{left:0!important;width:270px!important;padding:10px!important}.md-menu-label{display:block;padding:8px 10px 5px;color:#8a96a8;font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.md-mega-menu a{display:flex!important;align-items:center!important;gap:10px!important;padding:10px 11px!important;border-radius:8px!important}.md-mega-menu a i{width:18px;color:#58718f;text-align:center}.md-mega-menu a:hover{background:#eef3f9!important}.md-menu-separator{height:1px;margin:7px 4px;background:#e2e8f0}.md-account-menu .md-nav-menu{right:0!important;left:auto!important;width:190px!important}.md-mobile-group{padding:12px 18px 5px;color:#8a96a8;font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.md-mobile .md-mobile-link{display:flex!important;align-items:center!important;gap:10px!important}.md-mobile .md-mobile-link i{width:18px;text-align:center}

/* Cabecera compacta: mismos iconos y proporciones del menú de inventario. */
.md-main-menu>.md-nav-dropbtn{gap:6px!important;padding-inline:8px!important;font-size:14px!important;font-weight:400!important}.md-main-menu>.md-nav-dropbtn .fa-th-large{font-size:14px!important;color:#071f46!important}.md-main-menu>.md-nav-dropbtn .fa-caret-down,.md-account-menu>.md-nav-dropbtn .fa-caret-down{font-size:10px!important}.md-account-menu{position:relative!important}.md-account-menu>.md-nav-dropbtn{gap:5px!important;padding-inline:7px!important}.md-account-menu>.md-nav-dropbtn .fa-circle-user{font-size:15px!important;color:#071f46!important}.md-account-menu>.md-nav-menu{top:calc(100% + 14px)!important;right:0!important;left:auto!important}

/* Hero original de /stl/add: fotografía ovalada y línea curva exterior. */
.hero-stl{min-height:570px!important;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.97) 44%,rgba(239,246,254,.38) 67%,rgba(231,240,251,.22) 100%)!important}.hero-stl::before{inset:0 0 0 52%!important;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.08) 22%),url('/img/tecnicas/fresado.jpg') center/cover no-repeat!important;clip-path:ellipse(77% 72% at 73% 47%)!important}.hero-stl::after{top:-32%!important;right:-12%!important;width:61%!important;height:155%!important;border:1.5px solid rgba(15,70,132,.38)!important;border-radius:50%!important}.hero-stl .hero-inner{box-sizing:border-box!important;width:min(1180px,calc(100% - 40px))!important;max-width:none!important;padding:72px 0!important;text-align:left!important}.hero-stl .hero-inner>*{width:600px!important;max-width:calc(52% - 24px)!important}.hero-stl .hero-title{white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}.hero-stl .hero-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:900px){.hero-stl{min-height:auto!important}.hero-stl::before{inset:0 0 auto 0!important;height:260px!important;clip-path:ellipse(85% 70% at 70% 25%)!important;opacity:.48}.hero-stl::after{display:none!important}.hero-stl .hero-inner{width:calc(100% - 32px)!important;padding:285px 0 54px!important}.hero-stl .hero-inner>*{width:100%!important;max-width:680px!important}}
@media(max-width:576px){.hero-stl::before{height:225px!important}.hero-stl .hero-inner{width:calc(100% - 28px)!important;padding-top:245px!important}}
.md-account-menu>.md-nav-menu{right:0!important;left:auto!important;transform:translateY(4px)!important}.md-account-menu>.md-nav-menu a,.md-mega-menu a{font-weight:400!important}

/* Ajuste fiel al encabezado de controlinventario. */
.md-nav-links>li,.md-main-menu,.md-account-menu{display:inline-flex!important;align-items:center!important;align-self:center!important}
.md-main-menu>.md-nav-dropbtn{min-height:38px!important;font-weight:600!important}
.md-account-menu>.md-nav-dropbtn{width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;align-items:center!important;justify-content:center!important;line-height:1!important}
.md-account-menu>.md-nav-dropbtn .fa-circle-user,.md-account-menu>.md-nav-dropbtn .fa-caret-down{position:static!important;display:inline-block!important;line-height:1!important;vertical-align:middle!important}
.md-mega-menu a,.md-account-menu>.md-nav-menu a{font-weight:500!important}

/* Los tres accesos permanecen dentro de la columna del hero. */
.hero-stl .hero-actions{width:620px!important;max-width:calc(52% - 8px)!important;gap:8px!important}
.hero-stl .hero-btn{padding-inline:7px!important;font-size:10px!important;letter-spacing:0!important;overflow:hidden!important}
.hero-stl .hero-btn i{flex:0 0 auto!important;margin-right:7px!important}
.hero-stl .hero-btn span{min-width:0!important}
@media(max-width:900px){.hero-stl .hero-actions{width:100%!important;max-width:680px!important}}
@media(max-width:576px){.hero-stl .hero-actions{max-width:100%!important}}

/* Desplegables con las mismas proporciones y caída de controlinventario. */
.md-main-menu>.md-nav-menu,.md-account-menu>.md-nav-menu{top:calc(100% + 8px)!important;transform:none!important}
.md-mega-menu{width:250px!important;padding:8px!important;border-radius:12px!important}
.md-mega-menu a{min-height:42px!important;padding:10px 12px!important;font-size:14px!important}
.md-account-menu>.md-nav-menu{width:190px!important;border-radius:12px!important}

/* /stl/add: más espacio para contenido y una fotografía ligeramente más angosta. */
.hero-stl::before{inset:0 0 0 56%!important;clip-path:ellipse(78% 72% at 75% 47%)!important}
.hero-stl::after{right:-14%!important;width:58%!important}
.hero-stl .hero-inner>*{width:650px!important;max-width:calc(56% - 28px)!important}
.hero-stl .hero-actions{width:650px!important;max-width:calc(56% - 28px)!important;grid-template-columns:minmax(0,1fr) minmax(0,1.24fr) minmax(0,1fr)!important;gap:10px!important}
.hero-stl .hero-btn{padding-inline:8px!important;font-size:12px!important;letter-spacing:0!important}
.hero-stl .hero-btn i{margin-right:6px!important}
.hero-stl .hero-benefits{width:650px!important;max-width:calc(56% - 28px)!important;gap:12px!important}
.hero-stl .hero-benefits article{padding:10px 8px!important;gap:9px!important}
.hero-stl .hero-benefits strong{font-size:12px!important}.hero-stl .hero-benefits span{font-size:10.5px!important;line-height:1.35!important}

/* Protección responsive transversal para todas las vistas del portal. */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video,canvas{max-width:100%}
.table-responsive,.md-work-table-scroll,.pqr-admin-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
#modalConfirmar .modal-dialog{width:calc(100% - 32px)!important;max-width:500px!important;margin-inline:auto!important}
@media(max-width:1100px){
  .md-container{padding-inline:22px!important}
  .md-nav-links{gap:18px!important}
  .hero-stl .hero-inner>*{max-width:calc(58% - 24px)!important}
  .hero-stl .hero-actions,.hero-stl .hero-benefits{max-width:calc(58% - 24px)!important}
}

/* Catálogos administrativos: cabecera común con curvas corporativas. */
.md-catalog-page>.md-hero,.md-catalog-page>.md-fases-hero{position:relative!important;isolation:isolate;overflow:hidden!important;background:#fff!important;background-image:none!important}
.md-catalog-page>.md-hero::before,.md-catalog-page>.md-fases-hero::before{position:absolute;z-index:0;top:-105px;right:-54px;width:265px;height:205px;border:2px solid rgba(14,55,105,.18);border-left-color:transparent;border-bottom-color:transparent;border-radius:50%;content:"";pointer-events:none;transform:rotate(10deg)}
.md-catalog-page>.md-hero::after,.md-catalog-page>.md-fases-hero::after{position:absolute;z-index:0;right:48px;bottom:-102px;width:210px;height:160px;border:2px solid rgba(190,151,73,.48);border-top-color:transparent;border-left-color:transparent;border-radius:50%;content:"";pointer-events:none;transform:rotate(-12deg)}
.md-catalog-page>.md-hero>*,.md-catalog-page>.md-fases-hero>*{position:relative;z-index:1}
.md-users-catalog{padding:26px 32px!important;background:#f4f7fb!important;min-height:calc(100vh - 70px)}
.md-users-hero{padding:22px 24px!important;margin-bottom:22px!important;border:1px solid #e2e8f0!important;border-radius:18px!important;box-shadow:0 6px 18px rgba(15,23,42,.05)!important}
.md-users-hero .md-toolbar-users{width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.md-users-hero .md-toolbar-users::before{display:none!important;content:none!important}
.md-users-hero .md-title{margin:0!important;color:#10213f!important;font-size:24px!important;font-weight:800!important;line-height:1.2!important}
.md-users-hero .md-meta{margin-top:5px!important;color:#64748b!important;font-size:13px!important}
.md-users-hero .md-eyebrow{display:inline-flex;padding:5px 10px;margin-bottom:6px;border-radius:999px;background:#eef2f7;color:#1a2744;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.md-users-hero .md-add-user-btn{min-height:40px;padding:0 14px;border:1px solid #1a2744!important;border-radius:11px!important;background:#1a2744!important;color:#fff!important;font-size:13px!important;font-weight:800!important;box-shadow:none!important}
.md-users-hero .md-add-user-btn:hover{background:#24365c!important;transform:translateY(-1px)}
.md-users-card{overflow:hidden;border:1px solid #e5eaf1!important;border-radius:18px!important;background:#fff!important;box-shadow:0 4px 14px rgba(15,23,42,.05)!important}
.md-user-groups{display:grid;gap:18px}.md-user-group-head{display:flex;align-items:center;gap:12px;padding:14px 17px;background:linear-gradient(135deg,#1a2744,#24365c);color:#fff}.md-user-group-head h2{margin:0!important;color:#fff!important;font-size:15px!important;font-weight:800!important;letter-spacing:.01em!important;text-transform:uppercase}.md-user-group-head span{display:block;margin-top:2px;color:rgba(255,255,255,.72);font-size:11px}.md-user-group-icon{display:grid;width:36px;height:36px;flex:0 0 36px;place-items:center;border:1px solid rgba(190,151,73,.65);border-radius:11px;background:rgba(255,255,255,.09);color:#dec386}.md-no-area{color:#8a96a8;font-style:italic}
.md-users-card .table-responsive{margin:0!important}.md-users-card .md-table thead th,.md-users-card .md-table tbody td{padding:13px 16px!important}.md-users-card .alert{margin:18px!important}
@media(max-width:768px){.md-users-catalog{padding:18px!important}.md-users-hero{align-items:flex-start!important;padding:18px!important}.md-users-hero .md-toolbar-users{align-items:stretch!important;flex-direction:column!important}.md-users-hero .md-add-user-btn{width:100%!important;justify-content:center!important}.md-user-groups{gap:13px}.md-user-group-head{padding:12px 14px}.md-catalog-page>.md-hero::before,.md-catalog-page>.md-fases-hero::before{right:-105px}.md-catalog-page>.md-hero::after,.md-catalog-page>.md-fases-hero::after{right:-30px}}
@media(max-width:900px){
  .md-container{padding-inline:18px!important}
  .hero-stl::before{inset:0 0 auto 0!important;clip-path:ellipse(85% 70% at 70% 25%)!important}
  .hero-stl .hero-inner>*{width:100%!important;max-width:680px!important}
  .hero-stl .hero-actions,.hero-stl .hero-benefits{width:100%!important;max-width:680px!important}
  .modal-dialog{margin:12px auto!important}
}
@media(max-width:700px){
  .md-card,.pqr-card,.md-panel-card{max-width:100%!important}
  .md-toolbar,.md-toolbar-users,.md-work-toolbar{align-items:stretch!important}
  input,select,textarea,button{max-width:100%}
}
@media(max-width:576px){
  .md-container{padding-inline:14px!important}
  .hero-stl .hero-actions,.hero-stl .hero-benefits{max-width:100%!important;grid-template-columns:1fr!important}
  .hero-stl .hero-btn{width:100%!important;min-width:0!important;font-size:12px!important;white-space:normal!important}
  .hero-stl .hero-benefits{gap:7px!important}
  .hero-stl .hero-benefits article{padding:9px!important}
  .modal-dialog{margin:8px auto!important}
  #modalConfirmar .modal-dialog{width:calc(100% - 16px)!important;max-width:500px!important}
}

/* Auditoría responsive global: controles, acciones y contenido de todas las vistas. */
.md-page-main,.md-page-main>*,.md-card,.md-panel-card,.pqr-page,.pqr-card{min-width:0;max-width:100%}
.md-page-main>.md-doc-page{width:100%;max-width:1440px;margin-right:auto;margin-left:auto}
.btn,.md-btn,.md-btn-service,.md-fases-btn,.pqr-primary,.pqr-secondary,.btn-send,.btn-cancel{display:inline-flex;align-items:center;justify-content:center;gap:7px;max-width:100%;line-height:1.25;text-align:center}
.modal-header,.modal-footer,.md-modal-header,.md-modal-actions,.md-cardhead,.card-header{min-width:0}
.modal-title,.md-user-title,.md-cardhead h1,.md-cardhead h2,.card-header h1,.card-header h2{min-width:0;overflow-wrap:anywhere}
.form-control,.form-select,input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea{width:100%;min-width:0}
.md-actions,.md-invoice-actions,.md-lab-actions,.pqr-actions,.pqr-head-actions,.pqr-form-actions,.pqr-wizard-actions,.upload-actions,.docs-actions,.md-image-actions,.md-teeth-actions,.md-inline-material-actions,.md-phase-test-actions,.md-test-mini-actions{max-width:100%}
.pqr-table-wrap,.pqr-admin-table-wrap{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}

@media(max-width:1024px){
  .md-servicios-wrap,.md-fases-page,.pqr-page,.pqr-admin{padding-right:18px!important;padding-left:18px!important}
  .md-servicios-actions,.md-fases-hero-actions{justify-content:flex-start!important}
  .footer3-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important}
  .pqr-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .pqr-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .pqr-detail-grid{grid-template-columns:minmax(0,1fr)!important}
  .pqr-sticky{position:static!important}
}

@media(max-width:768px){
  .md-toolbar,.md-work-toolbar,.md-invoice-header,.md-lab-heading,.pqr-admin-head{align-items:stretch!important}
  .md-servicios-actions,.md-fases-hero-actions,.md-work-toolbar-actions,.md-invoice-actions,.md-doc-actions,.md-lab-actions,.pqr-head-actions,.pqr-form-actions,.pqr-wizard-actions,.upload-actions,.docs-actions,.md-teeth-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;width:100%!important}
  .md-servicios-actions>*,.md-fases-hero-actions>*,.md-work-toolbar-actions>*,.md-invoice-actions>*,.md-doc-actions>*,.md-lab-actions>*,.pqr-head-actions>*,.pqr-form-actions>*,.pqr-wizard-actions>*,.upload-actions>*,.docs-actions>*,.md-teeth-actions>*{width:100%!important;min-width:0!important;margin:0!important;white-space:normal!important}
  .md-actions,.md-image-actions,.md-inline-material-actions,.md-phase-test-actions,.md-test-mini-actions{display:flex!important;align-items:center;flex-wrap:wrap;gap:7px!important}
  .md-actions>* ,.md-image-actions>* ,.md-inline-material-actions>* ,.md-phase-test-actions>* ,.md-test-mini-actions>*{flex:1 1 120px;min-width:0!important;margin:0!important}
  .md-actions button,.md-actions a,.md-image-actions button,.md-image-actions a{white-space:normal!important}
  .pqr-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .pqr-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .pqr-user-list{grid-template-columns:1fr!important}
  .footer3-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding-right:18px!important;padding-left:18px!important}
  .f3-link,.f3-t,.f3-time{overflow-wrap:anywhere}
  .pqr-float{right:12px!important;bottom:82px!important;width:48px!important;height:48px!important}
  .whatsapp-float-wrap{right:12px!important;bottom:18px!important}
}

@media(max-width:576px){
  .md-servicios-wrap,.md-fases-page,.pqr-page,.pqr-admin{padding-right:10px!important;padding-left:10px!important}
  .md-servicios-actions,.md-fases-hero-actions,.md-work-toolbar-actions,.md-invoice-actions,.md-doc-actions,.md-lab-actions,.pqr-head-actions,.pqr-form-actions,.pqr-wizard-actions,.upload-actions,.docs-actions,.md-teeth-actions{grid-template-columns:1fr!important}
  .btn:not(.btn-close),.md-btn,.md-btn-service,.md-fases-btn,.pqr-primary,.pqr-secondary,.btn-send,.btn-cancel{min-height:42px;white-space:normal!important}
  .modal-footer{gap:8px!important}
  .modal-footer>*{width:100%!important;min-width:0!important;margin:0!important}
  .pqr-stats,.pqr-filters{grid-template-columns:1fr!important}
  .pqr-success{margin:18px 10px!important;padding:24px 16px!important;border-radius:16px!important}
  .footer3-row{grid-template-columns:1fr!important;gap:18px!important;padding:22px 16px!important;text-align:left!important}
  .footer3-bottom{padding-right:16px!important;padding-left:16px!important;text-align:center!important}
  .f3-icons{justify-content:flex-start!important}
  .md-pagination,.md-pagination-actions{max-width:100%!important}
  .md-pagination-actions{display:flex!important;justify-content:center!important;flex-wrap:wrap!important}
  .md-pagination-actions>*{flex:0 1 auto;min-width:44px}
  .md-responsive-select,.dropdown-menu{max-width:calc(100vw - 20px)!important}
}

@media(max-width:380px){
  .md-actions>* ,.md-image-actions>* ,.md-inline-material-actions>* ,.md-phase-test-actions>* ,.md-test-mini-actions>*{flex-basis:100%}
  .md-pagination-actions{display:grid!important;grid-template-columns:auto auto auto!important;width:100%}
  .pqr-float{right:9px!important}.whatsapp-float-wrap{right:9px!important}
}

@media(max-height:560px) and (orientation:landscape){
  .modal-content,.md-fases-dialog,.md-modal-card{max-height:calc(100dvh - 8px)!important}
  .modal-body,.modal-clean-body{max-height:calc(100dvh - 112px)!important;overflow-y:auto!important}
}

/* Perfil consultado: réplica visual exacta de /profile sin perder sus filtros por usuario. */
.profile-wrapper.md-viewed-profile{position:relative!important;background:transparent!important}
.md-viewed-profile .profile-tabs-wrap .row{align-items:stretch!important}
.md-viewed-profile .profile-tabs-wrap .row>[class*="col-"]{display:flex!important}
.md-viewed-profile .profile-tabs-wrap .md-card{width:100%!important;min-height:220px!important;border:1px solid #d4e0ed!important;border-radius:17px!important;background:#fff!important;box-shadow:0 14px 34px rgba(18,53,92,.08)!important}
.md-viewed-profile .profile-tabs-wrap .md-card .card-body{display:flex!important;min-width:0!important;flex-direction:column!important;padding:16px!important}
.md-viewed-profile .profile-tabs-wrap .md-card-title{display:flex!important;align-items:center!important;gap:10px!important;margin:0 0 12px!important;color:#102d55!important;font-size:20px!important;font-weight:700!important;line-height:1.25!important}
.md-viewed-profile .profile-tabs-wrap .md-card-title i{width:24px!important;flex:0 0 24px!important;margin:0!important;color:#5f6f8a!important;font-size:20px!important;text-align:center!important}
.md-viewed-profile .profile-tabs-wrap .md-card-text{min-height:44px!important;margin:0 0 8px!important;color:#697891!important;font-size:13px!important;line-height:1.55!important}
.md-viewed-profile .profile-tabs-wrap .md-card-count{display:flex!important;align-items:center!important;gap:8px!important;margin:0 0 18px!important;color:#102d55!important}
.md-viewed-profile .profile-tabs-wrap .md-card-count>span{display:inline-flex!important;width:auto!important;min-width:28px!important;height:28px!important;align-items:center!important;justify-content:center!important;padding:0 8px!important;border:1px solid #d5e1ee!important;border-radius:999px!important;background:#f7faff!important;color:#102d55!important;font-size:16px!important;font-weight:700!important;line-height:1!important}
.md-viewed-profile .profile-tabs-wrap .md-card-count>small{color:#718098!important;font-size:12px!important;font-weight:600!important}
.md-viewed-profile .profile-tabs-wrap .md-card .md-btn{width:100%!important;min-height:42px!important;margin-top:auto!important;padding:9px 14px!important;border-radius:8px!important;font-size:16px!important;font-weight:700!important;white-space:normal!important}
.md-viewed-profile .profile-tabs-wrap .md-btn--primary{border-color:#1c315e!important;background:#1c315e!important;color:#fff!important}
.md-viewed-profile .profile-tabs-wrap .md-btn--outline{border-color:#d4e0ed!important;background:#fff!important;color:#15294e!important}
@media(max-width:992px){.md-viewed-profile .profile-tabs-wrap .md-card{min-height:210px!important}}
@media(max-width:576px){.md-viewed-profile .profile-tabs-wrap .row>[class*="col-"]{display:block!important}.md-viewed-profile .profile-tabs-wrap .md-card{min-height:0!important}.md-viewed-profile .profile-tabs-wrap .md-card-title{font-size:18px!important}.md-viewed-profile .profile-tabs-wrap .md-card-text{min-height:0!important}}

/* /profile: mantener contadores y tarjetas en la misma línea visual del perfil consultado. */
.profile-wrapper.md-page:not(.md-viewed-profile) .profile-tabs-wrap .row{align-items:stretch!important}
.profile-wrapper.md-page:not(.md-viewed-profile) .profile-tabs-wrap .row>[class*="col-"]{display:flex!important}
.profile-wrapper.md-page:not(.md-viewed-profile) .profile-tabs-wrap .md-card{width:100%!important;min-height:220px!important}
.profile-wrapper.md-page:not(.md-viewed-profile) .profile-tabs-wrap .md-card .card-body{display:flex!important;min-width:0!important;flex-direction:column!important}
.profile-wrapper.md-page:not(.md-viewed-profile) .profile-tabs-wrap .md-card-title{margin-bottom:12px!important;line-height:1.25!important}
.profile-wrapper.md-page:not(.md-viewed-profile) .profile-tabs-wrap .md-card-text{min-height:44px!important;margin:0 0 8px!important;line-height:1.55!important}
.profile-wrapper.md-page:not(.md-viewed-profile) .profile-tabs-wrap .md-card-count{display:flex!important;width:100%!important;align-items:center!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:8px!important;margin:0 0 18px!important;white-space:nowrap!important}
.profile-wrapper.md-page:not(.md-viewed-profile) .profile-tabs-wrap .md-card-count>span{display:inline-flex!important;width:auto!important;min-width:28px!important;height:28px!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;padding:0 8px!important;border:1px solid #d5e1ee!important;border-radius:999px!important;background:#f7faff!important;color:#102d55!important;font-size:16px!important;font-weight:700!important;line-height:1!important}
.profile-wrapper.md-page:not(.md-viewed-profile) .profile-tabs-wrap .md-card-count>small{display:block!important;min-width:0!important;overflow:hidden!important;color:#718098!important;font-size:12px!important;font-weight:600!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.profile-wrapper.md-page:not(.md-viewed-profile) .profile-tabs-wrap .md-card .md-btn{width:100%!important;margin-top:auto!important}
@media(max-width:992px){.profile-wrapper.md-page:not(.md-viewed-profile) .profile-tabs-wrap .md-card{min-height:210px!important}}
@media(max-width:576px){.profile-wrapper.md-page:not(.md-viewed-profile) .profile-tabs-wrap .row>[class*="col-"]{display:block!important}.profile-wrapper.md-page:not(.md-viewed-profile) .profile-tabs-wrap .md-card{min-height:0!important}.profile-wrapper.md-page:not(.md-viewed-profile) .profile-tabs-wrap .md-card-text{min-height:0!important}}

/* Regla canónica compartida para /profile y /users/:id/view. */
.profile-wrapper.md-page{position:relative!important;padding-bottom:72px!important;background:transparent!important;color:#101828!important}
.profile-wrapper.md-page .md-cover{height:160px!important;border-bottom:1px solid #e6ebf4!important;background:url('/img/contraportada.jpg') center/cover no-repeat!important}
.profile-wrapper.md-page .md-whitebar{height:34px!important;border-bottom:1px solid #e6ebf4!important;background:rgba(255,255,255,.85)!important;backdrop-filter:blur(6px)}
.profile-wrapper.md-page .md-grid{display:grid!important;position:relative!important;grid-template-columns:270px minmax(0,1fr)!important;align-items:start!important;gap:12px 24px!important;margin-top:-48px!important}
.profile-wrapper.md-page .md-avatar{grid-column:1!important;grid-row:1!important;width:170px!important;height:170px!important;margin:-68px 0 0 8px!important;overflow:hidden!important;border:4px solid #fff!important;outline:1px solid rgba(28,45,82,.14)!important;border-radius:50%!important;background:#fff!important;box-shadow:0 10px 30px rgba(16,24,40,.14)!important}
.profile-wrapper.md-page .md-avatar img{display:block!important;width:100%!important;height:100%!important;border:0!important;border-radius:50%!important;object-fit:cover!important}
.profile-wrapper.md-page .md-info{grid-column:1!important;grid-row:2!important;margin-top:6px!important;padding-left:8px!important}
.profile-wrapper.md-page .md-name{margin:0!important;color:#101828!important;font-size:22px!important;font-weight:700!important;letter-spacing:-.2px!important}
.profile-wrapper.md-page .md-handle{margin-top:2px!important;color:#667085!important;font-size:13px!important}
.profile-wrapper.md-page .md-lines{display:flex!important;flex-direction:column!important;gap:8px!important;margin-top:10px!important}
.profile-wrapper.md-page .md-line{display:flex!important;align-items:center!important;gap:10px!important;color:#667085!important;font-size:13px!important}
.profile-wrapper.md-page .md-line i{width:18px!important;color:rgba(28,45,82,.7)!important;text-align:center!important}
.profile-wrapper.md-page .md-tabs-wrap{grid-column:2!important;grid-row:2!important;margin-top:-48px!important;margin-bottom:24px!important}
.profile-wrapper.md-page .profile-tabs{gap:8px!important;border-bottom:1px solid #e6ebf4!important}
.profile-wrapper.md-page .profile-tabs .nav-link{padding:10px 16px!important;border:0!important;border-bottom:3px solid transparent!important;background:transparent!important;color:#6b7280!important;font-size:14px!important;font-weight:600!important}
.profile-wrapper.md-page .profile-tabs .nav-link.active{border-bottom-color:#1c2d52!important;color:#111827!important;font-weight:600!important}
.profile-wrapper.md-page .profile-tabs-wrap .row{align-items:stretch!important}
.profile-wrapper.md-page .profile-tabs-wrap .row>[class*="col-"]{display:flex!important}
.profile-wrapper.md-page .profile-tabs-wrap .md-card{width:100%!important;min-height:220px!important;border:1px solid #d4e0ed!important;border-radius:17px!important;background:#fff!important;box-shadow:0 14px 34px rgba(18,53,92,.08)!important}
.profile-wrapper.md-page .profile-tabs-wrap .md-card .card-body{display:flex!important;min-width:0!important;flex-direction:column!important;padding:16px!important}
.profile-wrapper.md-page .profile-tabs-wrap .md-card-title{display:flex!important;align-items:center!important;gap:10px!important;margin:0 0 12px!important;color:#102d55!important;font-size:20px!important;font-weight:700!important;line-height:1.25!important}
.profile-wrapper.md-page .profile-tabs-wrap .md-card-title i{width:24px!important;flex:0 0 24px!important;margin:0!important;color:#5f6f8a!important;font-size:20px!important;text-align:center!important}
.profile-wrapper.md-page .profile-tabs-wrap .md-card-text{min-height:44px!important;margin:0 0 8px!important;color:#697891!important;font-size:13px!important;line-height:1.55!important}
.profile-wrapper.md-page .profile-tabs-wrap .md-card-count{display:flex!important;width:100%!important;align-items:center!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:8px!important;margin:0 0 18px!important;white-space:nowrap!important}
.profile-wrapper.md-page .profile-tabs-wrap .md-card-count>span{display:inline-flex!important;width:auto!important;min-width:28px!important;height:28px!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;padding:0 8px!important;border:1px solid #d5e1ee!important;border-radius:999px!important;background:#f7faff!important;color:#102d55!important;font-size:16px!important;font-weight:700!important;line-height:1!important}
.profile-wrapper.md-page .profile-tabs-wrap .md-card-count>small{display:block!important;min-width:0!important;overflow:hidden!important;color:#718098!important;font-size:12px!important;font-weight:600!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.profile-wrapper.md-page .profile-tabs-wrap .md-card .md-btn{width:100%!important;min-height:42px!important;margin-top:auto!important;padding:9px 14px!important;border-radius:8px!important;font-size:16px!important;font-weight:700!important;white-space:normal!important}
.profile-wrapper.md-page .profile-tabs-wrap .md-btn--primary{border-color:#1c315e!important;background:#1c315e!important;color:#fff!important}
.profile-wrapper.md-page .profile-tabs-wrap .md-btn--outline{border-color:#d4e0ed!important;background:#fff!important;color:#15294e!important}

/* Fondo unificado del pie de pagina. */
.footer3{background:#f4f6fa!important;background-image:none!important}

/* Titulos de los cinco modulos administrativos. */
.md-admin-heading{display:flex!important;align-items:center!important;gap:11px!important}
.md-admin-heading-icon{display:inline-grid!important;width:38px!important;height:38px!important;flex:0 0 38px!important;place-items:center!important;border:1px solid rgba(190,151,73,.68)!important;border-radius:11px!important;background:#f7f9fc!important;color:#1c315e!important;font-size:17px!important;box-shadow:0 5px 14px rgba(15,23,42,.06)!important}
@media(max-width:576px){.md-admin-heading{gap:9px!important}.md-admin-heading-icon{width:34px!important;height:34px!important;flex-basis:34px!important;font-size:15px!important}}

/* Encabezados internos inspirados en los grupos de Usuarios. */
.md-section-head-copy{display:flex!important;min-width:0!important;align-items:center!important;gap:12px!important}
.md-section-head-copy>div:last-child{min-width:0!important}
.md-section-head-icon{display:grid!important;width:36px!important;height:36px!important;flex:0 0 36px!important;place-items:center!important;border:1px solid rgba(190,151,73,.68)!important;border-radius:11px!important;background:rgba(255,255,255,.09)!important;color:#dec386!important;font-size:15px!important}
@media(max-width:576px){.md-section-head-copy{gap:10px!important}.md-section-head-icon{width:34px!important;height:34px!important;flex-basis:34px!important}}

/* Los cinco modulos administrativos comparten la escala compacta de Usuarios. */
.md-catalog-page{padding:26px 32px!important;background:#fff!important;background-image:none!important}
.md-catalog-page>.md-hero,.md-catalog-page>.md-fases-hero{min-height:0!important;margin-bottom:22px!important;padding:22px 24px!important;border:1px solid #e2e8f0!important;border-radius:18px!important;box-shadow:0 6px 18px rgba(15,23,42,.05)!important}
.md-catalog-page .md-eyebrow,.md-catalog-page .md-fases-eyebrow{display:inline-flex!important;margin-bottom:6px!important;padding:5px 10px!important;border-radius:999px!important;background:#eef2f7!important;color:#1a2744!important;font-size:10px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:.05em!important;text-transform:uppercase!important}
.md-catalog-page .md-admin-heading,.md-users-hero .md-title{margin:0!important;color:#10213f!important;font-size:24px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:-.02em!important}
.md-catalog-page>.md-hero p,.md-catalog-page>.md-fases-hero p,.md-users-hero .md-meta{margin:5px 0 0!important;color:#64748b!important;font-size:13px!important;line-height:1.4!important}
.md-catalog-page .md-admin-heading-icon{width:36px!important;height:36px!important;flex-basis:36px!important;font-size:15px!important}
.md-catalog-page .md-categoria-head,.md-catalog-page .md-department-head,.md-catalog-page .md-unassigned-card>header{min-height:64px!important;padding:14px 17px!important}
.md-catalog-page .md-categoria-head h2,.md-catalog-page .md-department-head h2,.md-catalog-page .md-unassigned-card h2{margin:0!important;font-size:15px!important;font-weight:800!important;line-height:1.3!important}
.md-catalog-page .md-categoria-head span,.md-catalog-page .md-department-head span,.md-catalog-page .md-unassigned-card header p{margin:2px 0 0!important;font-size:11px!important;line-height:1.35!important}
@media(max-width:768px){.md-catalog-page{padding:18px!important}.md-catalog-page>.md-hero,.md-catalog-page>.md-fases-hero{padding:18px!important}.md-catalog-page .md-admin-heading,.md-users-hero .md-title{font-size:22px!important}}
@media(max-width:992px){.profile-wrapper.md-page .md-grid{grid-template-columns:1fr!important;margin-top:-48px!important;gap:10px 0!important}.profile-wrapper.md-page .md-avatar{width:160px!important;height:160px!important;margin:-60px 0 0!important;justify-self:start!important}.profile-wrapper.md-page .md-info{grid-column:1!important;grid-row:2!important;margin-top:10px!important;padding-left:0!important}.profile-wrapper.md-page .md-tabs-wrap{grid-column:1!important;grid-row:3!important;margin-top:8px!important}.profile-wrapper.md-page .md-whitebar{height:34px!important}.profile-wrapper.md-page .profile-tabs-wrap .md-card{min-height:210px!important}}
@media(max-width:576px){.profile-wrapper.md-page .md-cover{height:150px!important}.profile-wrapper.md-page .md-avatar{width:150px!important;height:150px!important;margin-top:-60px!important}.profile-wrapper.md-page .md-tabs-wrap{width:100%!important;margin-top:12px!important}.profile-wrapper.md-page .profile-tabs{overflow-x:auto!important;padding-left:0!important;white-space:nowrap!important;flex-wrap:nowrap!important}.profile-wrapper.md-page .profile-tabs .nav-link{padding:9px 12px!important}.profile-wrapper.md-page .profile-tabs-wrap .row>[class*="col-"]{display:block!important}.profile-wrapper.md-page .profile-tabs-wrap .md-card{min-height:0!important}.profile-wrapper.md-page .profile-tabs-wrap .md-card-title{font-size:18px!important}.profile-wrapper.md-page .profile-tabs-wrap .md-card-text{min-height:0!important}}
