.rh-contract{width:100%;min-width:0}.rh-contract *{box-sizing:border-box}.rh-contract [hidden]{display:none!important}.rh-contract fieldset{border:0;padding:0;margin:0;min-width:0}.rh-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.rh-summary{background:var(--bg-soft,#e8f1f7);border:1px solid var(--border-soft,#d7e3ed);border-left:5px solid #004b87;border-radius:16px;padding:24px;margin-bottom:22px}.rh-summary h3{font-size:24px;margin:8px 0!important}.rh-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.05em}.rh-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.rh-kpis span,.rh-kpis strong{display:block}.rh-kpis strong{font-size:23px;margin-top:6px}.rh-contract small{display:block;font-size:12px;line-height:1.5;margin:5px 0}.rh-block{border:1px solid var(--border-soft,#d7e3ed);border-radius:12px;padding:16px;margin:12px 0;background:var(--bg-surface,#fff)}.rh-block>summary{font-size:16px;font-weight:700;cursor:pointer;min-height:32px}.rh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.rh-field{min-width:0}.rh-field label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}.rh-contract input:not([type=checkbox]):not([type=hidden]),.rh-contract select,.rh-contract textarea{width:100%;max-width:100%;min-width:0;padding:11px;border:1px solid var(--border-soft,#d7e3ed);border-radius:8px;font:inherit;background:var(--bg-input,#fff);color:inherit}.rh-contract textarea{resize:vertical}.rh-contract input:focus-visible,.rh-contract select:focus-visible,.rh-contract textarea:focus-visible{outline:2px solid #168cb9;outline-offset:2px}.rh-area-options{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.rh-check{display:flex!important;gap:8px;align-items:center;font-size:14px}.rh-check input{width:18px;height:18px}.rh-row{padding:16px;border:1px solid var(--border-soft,#d7e3ed);border-radius:10px;margin:14px 0}.rh-row-head{display:flex;gap:12px;align-items:center;justify-content:space-between}.rh-row output{font-size:17px;font-weight:700;display:block;padding:8px 0}.rh-secondary{background:var(--bg-soft,#e8f1f7)!important;color:var(--text-main,#203548)!important;border:1px solid var(--border-soft,#d7e3ed)!important}.rh-remove{border:0;background:transparent;color:#b73525;padding:8px;cursor:pointer}.rh-save{padding:16px 0}.rh-save [role=status]{display:block;margin-top:12px}.rh-event{padding:16px 0;border-top:1px solid var(--border-soft,#d7e3ed)}.rh-diff{border-left:3px solid #2aa3c5;padding-left:12px;margin:16px 0;overflow-wrap:anywhere}.rh-contract p{line-height:1.6;font-size:14px}.rh-contract fieldset:disabled{opacity:.85}.contract-panel:has(.rh-contract){grid-column:1/-1}.contract-panel .rh-contract form{display:block}.rh-contract button:disabled{opacity:.6;cursor:wait}@media(max-width:650px){.rh-grid{grid-template-columns:1fr}.rh-summary{padding:16px}.rh-kpis{grid-template-columns:1fr;gap:12px}.rh-kpis>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.rh-kpis strong{font-size:19px;margin:0}.rh-block{padding:12px}.rh-row{padding:12px}.rh-row-head{flex-wrap:wrap}.rh-contract .btn-download{white-space:normal}}@media(prefers-reduced-motion:no-preference){.rh-row{animation:rh-enter .18s ease-out}@keyframes rh-enter{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}}

.admin-profile .profile-tab-btn{color:var(--text-main,#203548)!important}.admin-profile .profile-tab-btn.active{color:var(--text-inverse,#fff)!important}
.rh-contract .rh-check{justify-content:flex-start!important;text-align:left!important}.rh-contract .rh-check input[type=checkbox]{flex:0 0 18px!important;width:18px!important;max-width:18px!important;margin:0!important}.rh-contract .rh-row-head .rh-remove{min-width:auto;flex:none}

/* Ficha completa: page scrolling, readable values and a native disclosure. */
.admin-profile .profile-data-scroll{max-height:none!important;height:auto!important;overflow:visible!important;min-width:0;background:transparent!important;border:0;padding:0;}
.admin-profile .profile-data-grid{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));}
.admin-profile .profile-data-grid .profile-row{min-width:0;overflow-wrap:anywhere;}
.admin-profile .profile-extra-fields{min-width:0;border:1px solid var(--border-soft,#d8deea);border-radius:12px;background:var(--bg-surface,#fff);color:var(--text-main,#203548);}
.admin-profile .profile-extra-fields>summary{display:list-item!important;list-style:disclosure-closed inside;cursor:pointer;padding:14px;font-size:13px;font-weight:700;min-height:44px;box-sizing:border-box;overflow-wrap:anywhere;}
.admin-profile .profile-extra-fields[open]>summary{list-style-type:disclosure-open;border-bottom:1px solid var(--border-soft,#d8deea);}
.admin-profile .profile-extra-fields>summary:focus-visible{outline:3px solid var(--brand-accent,#2ca6c4);outline-offset:2px;}
.admin-profile .profile-extra-fields>.profile-data-group{margin:0;border:0;}
@media(max-width:600px){.admin-profile .admin-profile-grid{grid-template-columns:minmax(0,1fr)!important;}.admin-profile .profile-section{min-width:0;}.admin-profile .profile-data-group{padding:12px;}.admin-profile .profile-data-grid{grid-template-columns:minmax(0,1fr)!important;}}

.signature-list>p{margin:12px 0;color:var(--text-main);line-height:1.6}.signature-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:24px 0}.signature-toolbar label{flex:1 1 260px}.signature-item{display:flex;gap:14px;align-items:center;padding:18px 0;border-bottom:1px solid var(--border-soft);}.signature-item[hidden]{display:none!important}.signature-item>div{flex:1;min-width:0;overflow-wrap:anywhere}.signature-item p{margin:6px 0}.signature-list .signature-item>input[type=checkbox]{width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;flex:0 0 20px;margin:0!important}.signature-item>a{white-space:nowrap}.signature-item:has(input:disabled){opacity:.75}@media(max-width:600px){.signature-item{flex-wrap:wrap}.signature-item>a{margin-left:34px}.signature-toolbar>*{width:100%;}.signature-list{padding:16px!important;}}

.signature-toolbar label{display:block!important}.signature-toolbar input[type=search]{display:block;width:100%!important;max-width:none!important;margin-top:6px;box-sizing:border-box;}

.signature-delivery-summary{padding:16px;margin:16px 0;border:1px solid var(--border-soft);border-radius:12px;background:var(--bg-soft);line-height:1.6}.admin-profile button:focus-visible,.admin-profile a:focus-visible,.signature-list button:focus-visible{outline:3px solid var(--brand-accent,#2ca6c4);outline-offset:3px}.admin-profile .profile-tab-btn{min-height:44px}.admin-profile .profile-row{line-height:1.55}.admin-profile .profile-row strong{letter-spacing:.02em}@media(prefers-reduced-motion:reduce){.admin-profile *,.signature-list *{scroll-behavior:auto!important;animation:none!important;transition:none!important;}}

/* Access management uses the page scroll and bounded grid tracks. */
.admin-users-panel .admin-users-list{max-height:none!important;min-height:0!important;overflow:visible!important;padding-right:0!important;scrollbar-gutter:auto}
.admin-users-panel .admin-user-edit-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;width:100%;box-sizing:border-box}
.admin-users-panel .admin-user-actions,.admin-users-panel .admin-user-delete-form{display:flex!important;grid-column:1/-1!important;position:static!important;justify-content:flex-end;flex-wrap:wrap;gap:12px;width:100%;padding:14px 0 0!important;margin:0!important;box-sizing:border-box;background:transparent!important}
.admin-users-panel .admin-user-actions button,.admin-users-panel .admin-user-delete-form button{position:static!important;float:none!important;width:auto!important;max-width:100%!important;min-width:0!important;white-space:normal!important;margin:0!important;box-sizing:border-box;min-height:44px}
.admin-users-panel .admin-user-card summary>span:first-child{min-width:0;overflow-wrap:anywhere}
.admin-users-panel .admin-user-card summary{display:flex;flex-wrap:wrap;gap:12px}
.admin-users-panel .notification-field label{display:flex;align-items:flex-start;gap:8px;overflow-wrap:anywhere}
.admin-users-panel input[type=checkbox]{width:18px!important;min-width:18px!important;height:18px!important;flex:0 0 18px;margin:2px 0!important}
.rh-transport-summary{border-left:4px solid #2aa3c5;background:var(--bg-soft,#e8f1f7);padding:16px;margin:14px 0;border-radius:8px;overflow-wrap:anywhere}
@media(max-width:650px){.admin-users-panel .admin-user-edit-form{grid-template-columns:minmax(0,1fr)!important}.admin-users-panel .admin-user-actions button,.admin-users-panel .admin-user-delete-form button{width:100%!important}.admin-users-panel .admin-user-copy{grid-template-columns:minmax(0,1fr)!important}}
