.client-expediente{--exp-border:#dce5f1;color:#142c50;background:#fff;border:1px solid var(--exp-border);border-radius:14px;padding:24px;min-width:0;font-size:14px}.client-expediente *{box-sizing:border-box}.exp-header,.exp-section{display:flex;align-items:center;justify-content:space-between;gap:20px}.exp-header h2{font-size:22px;margin:5px 0}.exp-eyebrow{font-size:10px;letter-spacing:.1em;font-weight:700;color:#5b7292}.exp-header p,.exp-hint{font-size:13px;color:#647792;margin:6px 0 18px}.client-expediente button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:8px 12px;border:1px solid var(--exp-border);border-radius:7px;background:white;color:#1456b8;cursor:pointer;font:inherit}.client-expediente button:hover{background:#edf4ff;border-color:#92b6ee}.client-expediente button:focus-visible{outline:3px solid #8cb6ff;outline-offset:2px}.client-expediente button:disabled{opacity:.5;cursor:wait}.client-expediente svg{width:18px;height:18px;flex-shrink:0}.exp-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 0;border-top:1px solid var(--exp-border);border-bottom:1px solid var(--exp-border);margin:10px 0 22px}.exp-breadcrumb button{border:0;background:#f3f6fb}.client-expediente h3{font-size:16px;margin:20px 0 10px}.exp-current{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:26px}.exp-current article,.exp-file-list article{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid var(--exp-border);border-radius:10px}.exp-current article>svg{width:32px;height:32px;color:#059669}.exp-current article>div,.exp-file-list article>div{flex:1;min-width:0}.exp-current strong,.exp-file-list strong{display:block;overflow-wrap:anywhere}.exp-current small,.exp-file-list small{display:block;color:#72839b;margin-top:5px;font-size:12px}.exp-folders{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.client-expediente .exp-folder{display:grid;grid-template-columns:42px 1fr 18px;text-align:left;padding:20px 16px;min-height:100px;color:#1e3558;background:#fbfcfe}.exp-folder>svg:first-child{grid-row:1/3;width:36px;height:36px;color:#d69b09;fill:#fff2bf}.exp-folder>svg:last-child{grid-column:3;grid-row:1/3;color:#96a5ba}.exp-folder strong{font-size:16px}.exp-folder small{grid-column:2;color:#71829a;font-size:12px;font-weight:400}.exp-empty{padding:28px;color:#6e8098;background:#f6f8fc;border-radius:8px;grid-column:1/-1;text-align:center}.exp-status:not(:empty){padding:12px;margin-bottom:14px;background:#edf4ff;border-radius:8px}.exp-file-list{display:grid;gap:10px}.exp-table{overflow:auto}.exp-table table{width:100%;border-collapse:collapse}.exp-table th,.exp-table td{padding:12px;text-align:left;border-bottom:1px solid var(--exp-border)}.exp-table th{font-size:12px;background:#f4f7fb}.exp-table code{font-size:11px}.exp-file-actions,.exp-pagination{display:flex;gap:8px;align-items:center}.exp-pagination{justify-content:flex-end;margin-top:16px}.exp-dialog{width:min(1300px,96vw);max-height:92vh;border:0;border-radius:16px;padding:18px;box-shadow:0 24px 80px #071e4466}.exp-dialog::backdrop{background:#0b1f40aa}.exp-dialog>form{display:flex;justify-content:flex-end;margin-bottom:10px}.exp-dialog>form button{padding:8px 16px;background:#edf3fc;border:0;border-radius:6px;color:#163c75;cursor:pointer}.portal-page-files>.client-expediente{margin-bottom:18px}.exp-other-details{margin-top:18px}.exp-other-details>summary{cursor:pointer;padding:14px;color:#526887}.exp-other-details[open]>summary{margin-bottom:14px}@media(max-width:1000px){.exp-folders{grid-template-columns:repeat(3,minmax(0,1fr))}.exp-current{grid-template-columns:1fr}}@media(max-width:640px){.client-expediente{padding:14px}.exp-folders{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.client-expediente .exp-folder{grid-template-columns:30px 1fr;padding:12px 8px}.exp-folder>svg:first-child{width:26px}.exp-folder>svg:last-child{display:none}.exp-header,.exp-section{align-items:flex-start;flex-direction:column;gap:6px}.exp-current article{flex-wrap:wrap}.exp-current article>div{flex-basis:70%}.exp-current article>button{margin-left:46px}.exp-folder strong{font-size:14px}.exp-header h2{font-size:18px}.exp-dialog{padding:8px}}
#clientPortalContent.portal-client-layout{grid-template-columns:minmax(0,1fr)}
#clientPortalContent>.portal-company{min-width:0;max-width:100%}
#clientPortalContent .portal-page-files{min-width:0;max-width:100%}
#clientPortalContent .portal-page-files>.portal-module-heading{display:none}
#clientPortalContent .portal-company:has(>.portal-pages>.portal-page-files:not([hidden]))>header{display:none}
.client-expediente .exp-header>div{min-width:0}
.client-expediente .exp-header h2{white-space:normal;overflow-wrap:anywhere}
.client-expediente .exp-section>div{min-width:0}
.client-expediente .exp-section>button{max-width:100%;white-space:normal}
