/* Shared module blue, compact desktop controls and readable document labels. */
:root{--nexo-module-blue:#1186c7}
.module-links a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 14px;font-size:13px;font-weight:600;border-radius:7px}
.module-links a.active{background:var(--nexo-module-blue);border-color:var(--nexo-module-blue);color:#fff}
.nexo-module-button[data-nexo-module="codigos"],#nexoCodigosButton{background:var(--nexo-module-blue)!important;border-color:var(--nexo-module-blue)!important;color:#fff!important;min-height:36px!important;padding:0 14px!important;border-radius:7px!important;font:600 13px "Segoe UI",Arial,sans-serif!important;box-shadow:0 2px 6px #153b4b14!important}
body:has(#workspace){font-size:13px}
body:has(#workspace) header{height:64px}
body:has(#workspace) main{padding:20px 24px}
.intro h1{font-size:25px;line-height:1.25;margin:5px 0}.intro p{font-size:12px}.brand img{animation:none}
.cards{margin:15px 0;gap:10px}.cards article{padding:12px 14px;min-height:74px}.cards b{font-size:22px;margin-top:5px}
.creator>div:first-child,.records-head{padding:13px 15px}h2{font-size:16px}.actions{padding:12px;gap:7px}.actions button{min-height:42px;font-weight:600;padding:9px;font-size:12px;line-height:1.35}.form-head{padding:12px 15px}.fields{padding:13px;gap:10px}.fields label{font-weight:600;font-size:12px}.fields input,.fields select{height:36px;font-size:12px;padding:7px 9px}.primary{font-weight:600;height:38px}
.advanced-filters{padding:11px 14px;gap:10px}.advanced-filters label{font-size:12px}.advanced-filters select,.advanced-filters input{height:34px;font-size:12px}.advanced-filters label:first-child{min-width:180px}.advanced-filters button{padding:8px 10px;font-size:12px}.filters select,.search{height:34px;font-size:12px}.search input{width:210px;font-size:12px}.records-head{flex-wrap:wrap}.filters{flex-wrap:wrap}
.records .tablebox th,.records .tablebox td{padding:10px 9px;line-height:1.4}.tablebox th .sort-heading{padding:5px 0;font-size:10px}.records .tablebox td{font-size:12px}.records .tablebox td small{font-size:10px}.record-number{font-size:11px;font-weight:600}.records .tablebox td:nth-child(3)>b{font-weight:600;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.records .tablebox td:nth-child(3)>small{-webkit-line-clamp:2}.history-label{font-size:10px!important}.row-actions{gap:5px}.row-actions .file-link,.row-actions .edit-link{min-height:30px;padding:5px 8px;font-size:11px;border-radius:6px}.records .type{font-size:10px;font-weight:650;line-height:1.35;padding:5px 7px;border:1px solid var(--type-line,#cad5df);background:var(--type-bg,#edf2f6);color:var(--type-ink,#334155);border-radius:5px}
.type[data-document-type="PPER"]{--type-bg:#dbeafe;--type-ink:#1e40af;--type-line:#93c5fd}
.type[data-document-type="PDIAG"]{--type-bg:#ede9fe;--type-ink:#5b21b6;--type-line:#c4b5fd}
.type[data-document-type="PUBIC"]{--type-bg:#cffafe;--type-ink:#155e75;--type-line:#67e8f9}
.type[data-document-type="PAFEC"]{--type-bg:#fee2e2;--type-ink:#991b1b;--type-line:#fca5a5}
.type[data-document-type="PMAT"]{--type-bg:#e0e7ff;--type-ink:#3730a3;--type-line:#a5b4fc}
.type[data-document-type="PREM"]{--type-bg:#fef3c7;--type-ink:#92400e;--type-line:#fcd34d}
.type[data-document-type="PDISTR"]{--type-bg:#ccfbf1;--type-ink:#115e59;--type-line:#5eead4}
.type[data-document-type="IT"]{--type-bg:#dcfce7;--type-ink:#166534;--type-line:#86efac}
.type[data-document-type="IL"]{--type-bg:#fae8ff;--type-ink:#86198f;--type-line:#e879f9}
.type[data-document-type="ITL"]{--type-bg:#ffedd5;--type-ink:#9a3412;--type-line:#fdba74}
#editForm{padding:22px;gap:14px}#editForm h2{font-size:19px}#editForm select,#editForm input{padding:9px 11px}#editForm select{height:38px}
@media(max-width:700px){body:has(#workspace) header{height:auto;min-height:64px;flex-wrap:wrap;gap:10px;padding:12px}.module-links{order:3;width:100%;margin:0}.module-links a{flex:1;min-height:42px}body:has(#workspace) main{padding:16px 12px}.actions button,.fields input,.fields select{min-height:42px}.advanced-filters input,.advanced-filters select{min-height:40px}.intro h1{font-size:23px}}
