/* Espacio de trabajo: menos paneles repetidos, más contexto para decidir. */
.portal-body{--work-ink:#173f36;--work-muted:#5c706a;--work-line:#dbe5df;--work-paper:#fff;--work-soft:#edf3ef;background:#f3f5f2}
.portal-body .workspace{padding:34px 38px 55px;max-width:1800px}.portal-body .workspace-head{align-items:center;margin-bottom:26px;gap:20px}.portal-body .workspace-head h1{font-size:clamp(28px,2.7vw,42px);line-height:1.12;letter-spacing:-1.3px;margin:9px 0 12px}.portal-body .workspace-head p:not(.eyebrow){font-size:15px;line-height:1.65;max-width:650px;color:var(--work-muted)}.portal-body .eyebrow{letter-spacing:.12em;font-size:10px}.portal-body .panel{border:1px solid var(--work-line);border-radius:16px;box-shadow:0 3px 16px #19392c04}.portal-body .panel h2{font-size:23px;line-height:1.3;letter-spacing:-.5px}.portal-body .button{border-radius:9px;min-height:44px;padding:12px 18px;font-size:13px;line-height:1.4;justify-content:center}.portal-body .button.dark{background:#195a4c;border-color:#195a4c}.portal-body .button:disabled{opacity:.65;cursor:wait}.portal-body .text-button{border:0;background:transparent;color:#195a4c;text-decoration:underline;text-underline-offset:4px;padding:8px 2px;cursor:pointer;font-size:12px}.portal-body input,.portal-body select,.portal-body textarea{font-size:15px;min-height:44px;border-radius:8px;border:1px solid #c9d8d0;background:white;padding:11px 12px;color:var(--work-ink);width:100%;min-width:0}.portal-body textarea{resize:vertical;line-height:1.65}.portal-body label{font-size:12px;font-weight:700;display:grid;gap:8px;color:#3e5a4e}.portal-body :is(input,button,select,textarea,a,summary):focus-visible{outline:3px solid #669982;outline-offset:3px}.portal-body .file-label{font-size:10px;letter-spacing:.08em;font-weight:700;color:#607a6e;line-height:1.7}.portal-body .badge{font-size:10px;line-height:1.5;white-space:normal}.portal-body .form-help,.portal-body .scope-note{font-size:12px;line-height:1.75;color:var(--work-muted)}
.work-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:26px}.work-metrics>button{border:1px solid var(--work-line);border-radius:13px;background:white;padding:21px;text-align:left;display:grid;gap:7px;color:var(--work-ink);cursor:pointer;transition:border-color .15s,background .15s}.work-metrics strong{font-size:32px;font-weight:400;line-height:1.1;font-variant-numeric:tabular-nums}.work-metrics span{font-size:12px;line-height:1.6;color:var(--work-muted)}.work-metrics>button:hover,.work-metrics>button[aria-pressed=true]{background:#e6f0e9;border-color:#74a28a}.workspace-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:22px;align-items:start}.workspace-shortcuts{display:grid;gap:18px}.workspace-shortcuts .panel>p:not(.eyebrow){font-size:13px;line-height:1.8;color:var(--work-muted)}.compact-role-list{margin:20px 0;display:grid}.compact-role-list button{display:grid;grid-template-columns:1fr auto 18px;gap:12px;padding:13px 0;background:none;border:0;border-bottom:1px solid var(--work-line);font-size:12px;text-align:left;color:var(--work-ink);cursor:pointer}.compact-role-list strong{font-variant-numeric:tabular-nums}.workspace-shortcut{display:block;padding:25px;border:1px solid #cadbcd;border-radius:15px;background:#e5eee4;text-decoration:none;color:var(--work-ink)}.workspace-shortcut h3{font-size:21px;letter-spacing:-.4px;margin:9px 0}.workspace-shortcut p{font-size:12px;line-height:1.7;margin:0}.queue-operation{display:flex;gap:16px;align-items:center;width:100%;padding:20px 0;text-align:left;background:none;border:0;border-bottom:1px solid var(--work-line);color:var(--work-ink);cursor:pointer}.queue-operation>span:nth-child(2){flex:1;min-width:0}.queue-operation strong,.queue-operation small{display:block}.queue-operation strong{font-size:15px;line-height:1.5}.queue-operation small{font-size:12px;line-height:1.7;color:var(--work-muted);margin-top:6px}.queue-operation-icon{width:38px;height:45px;border-radius:7px;background:#edf2e9;display:grid;place-items:center;font-size:23px;flex:none}.queue-operation:hover strong{text-decoration:underline}.setup-path{list-style:none;padding:0;margin:25px 0;display:grid;gap:22px}.setup-path li{display:flex;gap:17px}.setup-path b{display:grid;place-items:center;background:#e7f1e9;border:1px solid #ccdecf;border-radius:50%;width:32px;height:32px;flex:none;font-size:12px}.setup-path strong{font-size:15px}.setup-path p{font-size:13px;color:var(--work-muted);margin:6px 0;line-height:1.65}.workspace-permissions{padding:20px 24px;border:1px solid var(--work-line);border-radius:12px;margin:22px 0;background:#fff}.workspace-permissions summary{font-weight:700;cursor:pointer;font-size:13px}.workspace-permissions p{font-size:13px;line-height:1.8;max-width:900px;color:var(--work-muted)}.portal-body .public-insights{margin-top:24px}.portal-body .admin-history{margin-top:24px}.portal-body .admin-buttons{flex-wrap:wrap}
.case-directory{background:white;border:1px solid var(--work-line);border-radius:16px;padding:25px}.directory-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.directory-heading h2{font-size:20px;margin:0;letter-spacing:-.4px}.directory-heading>span{font-size:12px;color:var(--work-muted)}.case-filters{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:14px;margin-bottom:23px}.case-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.operation-card{border:1px solid var(--work-line);border-radius:12px;padding:23px;min-width:0}.operation-card-head{display:flex;gap:10px;align-items:center;justify-content:space-between}.operation-card h3{font-size:21px;letter-spacing:-.4px;margin:19px 0 9px;overflow-wrap:anywhere}.operation-card>p{font-size:13px;color:var(--work-muted)}.operation-card dl{display:grid;gap:12px;margin:22px 0;font-size:12px}.operation-card dl>div{display:grid;grid-template-columns:1fr 1.2fr;gap:12px}.operation-card dt{color:var(--work-muted)}.operation-card dd{margin:0;text-align:right;overflow-wrap:anywhere}.operation-card>.button{width:100%;margin-top:18px}.operation-progress{display:grid;gap:7px}.operation-progress progress{width:100%;height:6px;appearance:none;border:0;border-radius:8px;overflow:hidden;background:#e9eeeb}.operation-progress progress::-webkit-progress-bar{background:#e9eeeb}.operation-progress progress::-webkit-progress-value{background:#649077}.operation-progress progress::-moz-progress-bar{background:#649077}.operation-progress small{font-size:11px;color:var(--work-muted)}.workspace-empty{padding:40px 24px;text-align:center;border:1px dashed #bccfc2;border-radius:12px;background:#f7faf6}.workspace-empty h3{font-size:22px;line-height:1.4}.workspace-empty p{font-size:14px;color:var(--work-muted);line-height:1.8;max-width:550px;margin:12px auto 22px}.empty-symbol{font-size:38px;color:#729780}
.portal-body .case-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:14px 0 24px}.portal-body .case-heading h1{font-size:clamp(25px,2.5vw,36px);letter-spacing:-1px;line-height:1.2;margin:9px 0 12px}.case-heading p{font-size:13px;color:var(--work-muted);line-height:1.8}.case-work-summary{border-radius:14px;background:#e6eee6;display:flex;justify-content:space-between;gap:30px;padding:24px 28px;align-items:center;margin-bottom:18px}.case-work-summary h2{font-size:22px;margin:9px 0;letter-spacing:-.5px}.case-work-summary p{font-size:12px;color:var(--work-muted);line-height:1.8;margin-bottom:0}.review-counter{display:flex;gap:25px}.review-counter span{display:grid;gap:8px;white-space:nowrap;font-size:11px;color:var(--work-muted)}.review-counter b{font-size:29px;font-weight:400;color:var(--work-ink)}.operation-context{background:white;border:1px solid var(--work-line);border-radius:12px;margin-bottom:25px}.operation-context summary{padding:18px 22px;font-size:13px;font-weight:700;cursor:pointer}.operation-context summary>span{float:right;font-size:11px;font-weight:400;color:var(--work-muted)}.context-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:28px;padding:8px 24px 24px}.context-grid h2{font-size:16px!important}.context-grid dl{font-size:12px;display:grid;gap:14px}.context-grid dl>div{display:grid;grid-template-columns:1fr 1.2fr;gap:10px}.context-grid dt{color:var(--work-muted)}.context-grid dd{margin:0;overflow-wrap:anywhere}.operation-checklist{padding:0;list-style:none;display:grid;gap:14px}.operation-checklist li{display:flex;gap:10px;font-size:12px}.operation-checklist small{display:block;color:var(--work-muted);font-size:10px;margin-top:5px}.check-dot{color:#947441}.check-dot.provided{color:#428265}.context-grid .member{margin-bottom:12px}.context-grid .member strong{font-size:12px}.context-grid .member small{font-size:10px}.portal-body .tabs{gap:20px;margin-top:20px}.portal-body .tabs button{font-size:13px;padding:14px 3px}.tabs button>span{margin-left:7px;border-radius:5px;background:#e6ede6;padding:3px 6px;font-size:10px}.portal-body #case-tab{min-width:0;outline:none}
.document-workspace{border:1px solid var(--work-line);background:white;border-radius:15px;overflow:hidden}.desk-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:24px 28px;border-bottom:1px solid var(--work-line)}.desk-heading h2{font-size:23px;margin:8px 0 10px;letter-spacing:-.5px}.desk-heading p:not(.eyebrow){font-size:12px;color:var(--work-muted);line-height:1.7;margin:0}.desk-heading-actions{display:flex;gap:9px;flex-wrap:wrap}.desk-layout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:650px}.document-queue{border-right:1px solid var(--work-line);background:#f8faf7;padding:19px 15px;min-width:0}.document-queue form{display:grid;gap:13px}.desk-filter-pair{display:grid;grid-template-columns:1fr 1fr;gap:9px}.document-queue label{font-size:10px}.document-queue input,.document-queue select{font-size:12px;padding:9px 7px;min-height:40px}.queue-result{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--work-muted)}#document-queue-list{display:grid;gap:9px;margin-top:17px}.queue-document{padding:15px 13px;text-align:left;border:1px solid var(--work-line);border-radius:10px;background:white;display:grid;gap:8px;cursor:pointer;color:var(--work-ink);min-width:0}.queue-document strong{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.queue-document>small{font-size:11px;color:var(--work-muted)}.queue-document .badge{justify-self:start}.queue-document.selected{border-color:#3d7d62;box-shadow:inset 3px 0 #3d7d62;background:#eef5ed}.queue-note{font-size:10px;line-height:1.8;color:var(--work-muted);margin-top:20px}.document-reader{padding:25px;min-width:0}.reader-heading{display:flex;justify-content:space-between;align-items:start;gap:18px}.reader-heading h3{font-size:24px;line-height:1.4;letter-spacing:-.5px;margin:8px 0;overflow-wrap:anywhere}.reader-heading p{font-size:11px;color:var(--work-muted);overflow-wrap:anywhere}.reader-tools{display:flex;gap:18px;flex-wrap:wrap;align-items:center;margin:18px 0 23px}.reader-tools .text-link{font-size:12px}.review-reading-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,1fr);gap:22px;align-items:start}.pdf-stage{min-height:560px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#eef0ec;border:1px solid #d6dfd6;border-radius:10px;text-align:center;padding:25px;color:#5c7063}.pdf-mark{padding:13px 10px;border:1px solid #a7bdab;border-radius:6px;font-size:12px;letter-spacing:.1em}.pdf-stage h4{font-size:19px;margin:25px 0 9px;color:var(--work-ink);line-height:1.4}.pdf-stage p{font-size:13px;line-height:1.8;max-width:300px}.pdf-stage small{font-size:11px;line-height:1.8}.pdf-stage.pdf-loaded{display:block;padding:0;min-height:0}.pdf-stage iframe{display:block;width:100%;height:660px;border:0;border-radius:10px;background:#e9ece8}.reader-tip{font-size:11px;line-height:1.8;color:var(--work-muted);margin:10px 0}.review-composer{background:#fafbf8;border:1px solid var(--work-line);border-radius:10px;padding:20px;min-width:0}.review-composer h4{font-size:20px;line-height:1.4;margin:10px 0 20px;letter-spacing:-.4px}.review-composer>p:not(.eyebrow){font-size:13px;line-height:1.8}.review-composer form{display:grid;gap:15px}.review-composer textarea,.review-composer input,.review-composer select{font-size:13px}.review-composer .form-help{margin:0;font-size:10px;line-height:1.8}.review-composer .form-error{margin:0;font-size:12px}.review-composer .button{width:100%}.save-state{font-size:10px;text-align:center;color:var(--work-muted);margin:0;line-height:1.7}.document-review-history{border-top:1px solid var(--work-line);margin-top:25px;padding-top:22px}.document-review-history h4{font-size:17px;margin:0}.review-log-entry{padding:18px 0;border-bottom:1px solid var(--work-line)}.review-log-entry>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--work-muted)}.review-log-entry p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;font-size:13px;color:#354f43}.review-log-entry>small{font-size:10px;line-height:1.8;color:var(--work-muted)}.portal-body .notes-list p,.portal-body .timeline p{white-space:pre-wrap;overflow-wrap:anywhere}.portal-body .account-toolbar{background:white;border:1px solid var(--work-line);border-radius:12px;padding:20px;gap:16px}.portal-body .account-card{border:1px solid var(--work-line);border-radius:13px;box-shadow:none}.portal-body .account-card h2{font-size:21px}.portal-body .account-email{overflow-wrap:anywhere}.portal-body dialog{width:min(710px,calc(100vw - 30px));border-radius:16px;max-height:90svh}.portal-body .modal-head{position:sticky;top:0;z-index:2;background:white;border-bottom:1px solid var(--work-line)}.portal-body .modal-head h2{font-size:23px}.portal-body .modal-grid{gap:18px}.portal-body .assignment-list{max-height:260px;overflow:auto;padding:12px;border:1px solid var(--work-line);border-radius:9px}.portal-body .check-label{display:flex;gap:11px;align-items:start;line-height:1.7}.portal-body .check-label input{width:18px;height:18px;min-height:18px;flex:none;margin-top:3px}.portal-body fieldset{border:1px solid var(--work-line);border-radius:10px;padding:18px;margin:20px 0}.portal-body legend{font-size:12px;font-weight:700;padding-inline:6px}
body[data-space=control] .workspace{padding:28px 34px}body[data-space=control] :is(.cs-hero p,.cs-help,.cs-evidence,.cs-lot dl,.cs-lot p,.cs-map-tools){font-size:13px!important;line-height:1.75}body[data-space=control] .cs-tabs button{font-size:14px;min-height:44px}body[data-space=control] .cs-filters input,body[data-space=control] .cs-filters select{font-size:14px;min-height:44px}body[data-space=control] .cs-lot-preview{min-width:0}body[data-space=control] .cs-help{color:#516c58}
@media(min-width:1750px){.desk-layout{grid-template-columns:280px minmax(0,1fr)}.review-reading-grid{grid-template-columns:minmax(0,1.5fr) 310px}}
@media(max-width:1350px){.portal-body .workspace{padding:28px}.review-reading-grid{grid-template-columns:1fr}.review-composer form{grid-template-columns:1fr 1fr}.review-composer form>:is(label:nth-child(n+3),p,button){grid-column:1/-1}.pdf-stage{min-height:420px}.pdf-stage iframe{height:560px}.context-grid{grid-template-columns:1fr 1fr}.context-grid>section:last-child{grid-column:1/-1}.workspace-columns{grid-template-columns:minmax(0,1.3fr) minmax(255px,1fr)}}
@media(max-width:1000px){.workspace-columns{grid-template-columns:1fr}.workspace-shortcuts{grid-template-columns:1fr 1fr;align-items:start}.desk-layout{grid-template-columns:220px minmax(0,1fr)}.document-reader{padding:20px}.case-work-summary{align-items:start;flex-direction:column;gap:18px}.review-counter{gap:35px}.case-filters{grid-template-columns:1fr 1fr}.case-filters>label:first-child{grid-column:1/-1}.case-card-grid{grid-template-columns:1fr}.work-metrics{gap:10px}.work-metrics>button{padding:18px 14px}.work-metrics strong{font-size:28px}.work-metrics span{font-size:11px}.desk-heading{align-items:start;flex-direction:column;gap:15px}}
@media(max-width:760px){.portal-body .workspace,body[data-space=control] .workspace{padding:24px 16px 40px}.portal-body .workspace-head{align-items:start;flex-direction:column}.portal-body .workspace-head h1{font-size:32px}.work-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.workspace-shortcuts{grid-template-columns:1fr}.portal-body .panel{padding:22px}.directory-heading{align-items:start;flex-direction:column;gap:10px}.case-directory{padding:20px 15px}.case-filters{gap:12px}.operation-card{padding:20px}.operation-card-head{align-items:start;flex-direction:column}.portal-body .case-heading{align-items:start;flex-direction:column;gap:10px}.case-work-summary{padding:22px}.review-counter{gap:20px;width:100%;justify-content:space-between}.review-counter span{font-size:10px;white-space:normal}.case-work-summary h2{font-size:21px}.operation-context summary>span{display:block;float:none;margin-top:8px}.context-grid{grid-template-columns:1fr;padding:15px 21px}.context-grid>section:last-child{grid-column:auto}.portal-body .tabs{gap:12px;overflow-x:auto}.portal-body .tabs button{font-size:12px;white-space:nowrap}.desk-layout{grid-template-columns:1fr}.document-queue{border-right:0;border-bottom:1px solid var(--work-line);padding:18px}#document-queue-list{max-height:260px;overflow-y:auto;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.queue-document{padding:13px 11px}.queue-document strong{font-size:12px}.desk-filter-pair{gap:13px}.document-queue label{font-size:12px}.document-queue input,.document-queue select,.review-composer input,.review-composer textarea,.review-composer select{font-size:16px}.desk-heading{padding:22px 19px}.desk-heading-actions{width:100%}.desk-heading-actions>*{flex:1}.document-reader{padding:23px 17px}.reader-heading{align-items:start;flex-direction:column;gap:6px}.reader-heading h3{font-size:23px}.reader-tools{gap:13px}.review-composer form{grid-template-columns:1fr}.review-composer form>*{grid-column:1!important}.pdf-stage iframe{height:490px}.pdf-stage{min-height:330px}.portal-body .account-toolbar{padding:18px}.portal-body .modal-grid{grid-template-columns:1fr}.portal-body .portal-topbar{padding:17px}.review-reading-grid{gap:18px}.portal-body input,.portal-body textarea,.portal-body select{font-size:16px}.portal-body .table-box{overflow-x:auto}}
@media(max-width:360px){#document-queue-list{grid-template-columns:1fr}.case-filters{grid-template-columns:1fr}.work-metrics span{font-size:10px}.review-counter{gap:10px}}
@media(prefers-reduced-motion:reduce){.work-metrics>button{transition:none}}
