/* Shared corporate form palette and responsive layout. */
:root{--company-blue:#1d315b;--company-blue-soft:#edf3fc}
body select{color:var(--company-blue)!important;accent-color:var(--company-blue);max-width:100%;cursor:pointer}
body select:not([multiple]){appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%231d315b' stroke-width='1.7'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 8px center!important;padding-right:26px!important}
body select option{background:#fff;color:var(--company-blue)}
body select option:checked{background:var(--company-blue);color:#fff}
body select:focus-visible{outline:2px solid #8298be;outline-offset:2px;box-shadow:0 0 0 3px #1d315b0d!important}
.remisiones-page .table td .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 14px;line-height:1;height:36px;min-height:36px;vertical-align:middle}
.remisiones-page .table td .btn i{margin:0!important;line-height:1}
.remisiones-page .table td{vertical-align:middle}
.remisiones-page .signature-status{gap:3px;line-height:1.35}
.remisiones-page .signature-status strong{line-height:1.35}
.remision-filters>label,.catalog-filters>label,.insights-filters>label{min-width:0}
.remisiones-page,.inventory-page,.insights-page{box-sizing:border-box}
.table-responsive,.insights-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(min-width:1600px){.remisiones-page,.inventory-page.container,.insights-page{max-width:1480px!important}}
@media(max-width:991px){.remision-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.remision-filters .remision-search{grid-column:1/-1;min-width:0}.remision-filters>label{width:100%;min-width:0}.remision-filters>.btn{grid-column:1/-1}.catalog-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-filters .catalog-search{grid-column:1/-1;min-width:0}.inventory-page .catalog-filters>label:not(.catalog-search){min-width:0}.catalog-filters p{grid-column:1/3}.catalog-filters>.btn{width:100%}}
@media(max-width:600px){.remision-filters,.catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.remision-filters>label:last-of-type,.catalog-filters>label:last-of-type{grid-column:1/-1}.catalog-filters p{grid-column:1/-1}.catalog-filters>.btn{grid-column:1/-1}.remisiones-page .remision-filters>label,.inventory-page .catalog-filters>label:not(.catalog-search){height:54px;min-height:54px;overflow:visible}.remisiones-page .remision-filters select,.remisiones-page .remision-filters input,.inventory-page .catalog-filters>label:not(.catalog-search) select,.inventory-page .catalog-search input.form-control,.insights-filters input,.insights-filters select{font-size:16px}.remisiones-page .remision-filters select,.remisiones-page .remision-filters input{height:29px;max-height:29px;min-height:29px;line-height:29px}.remisiones-page .table td .btn{height:42px;min-height:42px}.modal input,.modal select,.modal textarea{font-size:16px}.remision-pagination{gap:12px;flex-wrap:wrap}.reference-actions,.catalog-metrics,.remision-metrics{min-width:0}.page-heading h1,.insights-heading h1{overflow-wrap:break-word}}
/* Company-owned dropdowns avoid OS blue option highlights. */
.company-select{position:relative;min-width:0;width:100%;line-height:normal}
.company-native-select{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;opacity:0!important;pointer-events:none;clip-path:inset(50%)}
.company-select-trigger{width:100%;display:block;text-align:left;border:1px solid #d5deed;border-radius:6px;background:#fff;color:#1d315b;padding:9px 28px 9px 10px;font:inherit;min-height:40px;line-height:1.3;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.company-select-trigger:after{content:'⌄';position:absolute;right:9px;color:#1d315b}
.company-select-trigger:focus-visible{outline:2px solid #879bbd;outline-offset:2px}
.company-select-options{position:fixed;z-index:1090;overflow-y:auto;overscroll-behavior:contain;padding:5px;background:#fff;border:1px solid #d6dfed;border-radius:8px;box-shadow:0 8px 24px #1d315b24}
.company-select-options[hidden]{display:none!important}
.company-select-options button{display:block;width:100%;text-align:left;padding:9px 10px;border:0;border-radius:5px;background:#fff;color:#1d315b;font:inherit;font-size:13px;line-height:1.4;cursor:pointer}
.company-select-options button[aria-selected=true]{background:#1d315b;color:white}
.company-select-options button:hover,.company-select-options button.is-active{background:#eaf0f8;color:#1d315b}
.company-select-options button[aria-selected=true].is-active,.company-select-options button[aria-selected=true]:hover{background:#1d315b;color:#fff}
.company-select-options button:disabled{color:#94a0b4;cursor:default}
.remision-filters label,.catalog-filters label{overflow:visible!important}
.remision-filters .company-select-trigger,.catalog-filters .company-select-trigger{border:0;min-height:24px;height:24px;padding:0 24px 0 0;font-size:13px;line-height:24px;border-radius:0}
@media(max-width:600px){.company-select-options button{min-height:44px;font-size:16px}.remision-filters .company-select-trigger,.catalog-filters .company-select-trigger{font-size:16px;min-height:29px;height:29px;line-height:29px}}
::selection{background:#dce5f3;color:#1d315b}

.company-select-trigger{position:relative}
.company-select-trigger::after{content:'';position:absolute;right:10px;top:50%;bottom:auto;width:6px;height:6px;border-right:1.5px solid #1d315b;border-bottom:1.5px solid #1d315b;transform:translateY(-70%) rotate(45deg);pointer-events:none}

.company-select-options{box-sizing:border-box;overflow-x:hidden}
.company-select-options button{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;height:auto;min-height:38px}
