.process-search-hint{font-size:12px;color:#657582;text-align:right;margin:0 0 14px}.processes-page .client-summary-card{cursor:default}.processes-page .client-summary-card:hover{box-shadow:0 1px 3px #16374c08}.processes-list table{min-width:1100px}.processes-list th:nth-child(1){width:6%}.processes-list th:nth-child(2){width:23%}.processes-list th:nth-child(3),.processes-list th:nth-child(4){width:24%}.processes-list th:nth-child(5){width:14%}.processes-list th:nth-child(6){width:9%}.processes-list td:first-child{min-width:0;font-weight:400}.processes-list th:nth-child(n),.processes-list td:nth-child(n){text-align:left;white-space:normal;overflow-wrap:anywhere}.processes-list th:last-child{text-align:right}.processes-list td:nth-child(2){font-size:13px}.processes-list td{padding-top:6px;padding-bottom:6px}.process-others{color:#657582;white-space:nowrap}.process-party-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 5px;margin-left:6px;border:0;border-radius:20px;background:#dcebf9;color:#214e64;font-size:12px;font-weight:600;vertical-align:super;cursor:pointer}.process-party-count:hover,.process-party-count:focus-visible{background:#c6def3;outline:2px solid #214e64;outline-offset:2px}.process-parties-tooltip{position:fixed;z-index:1000;background:#fff;color:#182c3b;border:1px solid #c7d5df;box-shadow:0 6px 22px #16374c30;border-radius:10px;padding:14px 18px;width:max-content;max-width:min(360px,calc(100vw - 16px));max-height:min(320px,70vh);overflow:auto;font-size:14px;overflow-wrap:anywhere}.process-parties-tooltip ul{padding:0;margin:10px 0 0;list-style:none}.process-parties-tooltip li+li{margin-top:7px}.process-status{display:inline-block;background:#e7eff5;color:#214e64;border-radius:6px;padding:2px 9px;font-size:12px;line-height:14px;font-weight:600}.process-dialog{width:min(940px,94vw);max-height:90vh;overflow:auto}.process-dialog dd{white-space:pre-wrap}.process-editor-body{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.process-editor-body input,.process-editor-body select,.process-editor-body textarea{display:block;width:100%;margin-top:8px;border:1px solid #cfd7dd;border-radius:8px;padding:10px;font:inherit;color:inherit;background:#fff}.process-editor-body select{min-height:44px}.process-party-picker{border:1px solid #dfe6eb;border-radius:8px;padding:14px;min-width:0}.process-party-picker legend{font-size:14px;font-weight:600}.process-party-options{display:grid;max-height:150px;overflow:auto;gap:4px;margin-top:8px}.process-party-options button{text-align:left;border:0;background:#f5f7f9;border-radius:5px;padding:8px;color:inherit;font:inherit;font-size:13px}.process-party-options button:hover{background:#e7eff5}.process-party-selected{display:flex;flex-wrap:wrap;gap:5px}.process-party-chip{display:inline-flex;align-items:center;gap:6px;background:#e7eff5;border-radius:6px;padding:4px 8px;font-size:12px;overflow-wrap:anywhere}.process-party-chip button{border:0;background:none;font-size:20px;color:inherit}.process-full-width{grid-column:1/-1}body[data-theme=dark] .process-parties-tooltip,body[data-theme=dark] .process-editor-body input,body[data-theme=dark] .process-editor-body select,body[data-theme=dark] .process-editor-body textarea{background:#182c3b;color:#edf2f6;border-color:#425362}body[data-theme=dark] .process-party-options button{background:#203b4e;color:#edf2f6}body[data-theme=dark] .process-party-chip,body[data-theme=dark] .process-status{background:#28465c;color:#edf2f6}@media(max-width:700px){.process-search-hint{text-align:left}.process-editor-body{grid-template-columns:1fr}.process-party-count{min-width:32px;height:32px}}
.processes-list table{table-layout:auto;min-width:980px}.processes-list th:first-child{width:22%;padding-left:24px}.processes-list th:nth-child(2){width:23%}.processes-list th:nth-child(3){width:18%}.processes-list th:nth-child(4){width:28%}.processes-list th:nth-child(5){width:9%}.processes-list th .client-column{white-space:nowrap}.processes-list th .client-icon-button{flex-shrink:0}.processes-list td:nth-child(2){font-size:inherit}.process-number{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:13px}.processes-list td:nth-child(4),.process-status{white-space:nowrap;overflow-wrap:normal}.process-financial-clients{display:grid;gap:8px;margin-top:16px}
.processes-page .process-history-card{cursor:pointer}.processes-page .process-history-card:hover{box-shadow:0 2px 8px #16374c22}
.processes-list th:nth-child(1){width:20%}.processes-list th:nth-child(2){width:22%}.processes-list th:nth-child(3){width:17%}.processes-list th:nth-child(4){width:24%}.processes-list th:nth-child(5){width:8%}.processes-list th:nth-child(6){width:9%}.processes-list td:nth-child(5){white-space:nowrap}
/* Process listing: case number, grouped parties, filing date, status, actions. */
.processes-page .processes-list table{table-layout:auto;min-width:1120px}
.processes-page .processes-list th:nth-child(1){width:23%}
.processes-page .processes-list th:nth-child(2){width:42%}
.processes-page .processes-list th:nth-child(3){width:7%}
.processes-page .processes-list th:nth-child(4){width:19%}
.processes-page .processes-list th:nth-child(5){width:9%;text-align:right}
.processes-page .processes-list td{padding:16px 12px;vertical-align:middle}
.processes-page .processes-list td:first-child{padding-left:24px}
.processes-page .processes-list td:last-child{padding-right:24px}
.processes-page .processes-list tbody tr{height:80px}
.processes-page .processes-list td:nth-child(2){white-space:normal;min-width:360px}
.processes-page .processes-list td:nth-child(3){white-space:nowrap}
.process-number{gap:6px;font-size:17px}.process-number strong{font-weight:600}
.process-party-group{display:grid;gap:7px}.process-party-line{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:baseline;gap:10px;font-size:13px;line-height:1.5}
.process-party-label{color:#657582;font-size:12px;white-space:nowrap}.process-party-value{min-width:0;overflow-wrap:anywhere}.process-client-line .process-party-value>span:first-child{font-weight:600;font-size:15px}
.process-party-count{vertical-align:baseline}.process-status{border-radius:12px;padding:4px 9px;font-weight:400;white-space:nowrap}
.processes-page .processes-list .client-row-actions{display:flex;gap:0;justify-content:flex-end}


.process-results-bar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:16px 24px;border-bottom:1px solid #dfe6eb;color:#657582;font-size:13px}.process-search-chip{border:0;border-radius:20px;background:#e3effc;color:#214e64;padding:7px 12px;font:inherit;cursor:pointer}.process-search-chip[hidden]{display:none}

.process-party-suffix{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;vertical-align:baseline}.process-party-suffix .process-party-count{margin-left:0;flex-shrink:0}

.processes-page .processes-list th:nth-child(4),.processes-page .processes-list td:nth-child(4){text-align:center}

.processes-page .processes-list th:nth-child(2),.processes-page .processes-list td:nth-child(2),.process-parties .process-party-line,.process-parties .process-party-value{text-align:left}

.processes-page .processes-list th:nth-child(3),.processes-page .processes-list td:nth-child(3){padding-left:6px;padding-right:6px}.processes-page .processes-list th:nth-child(3) .client-column{gap:2px}

.processes-page .processes-list th:nth-child(4),.processes-page .processes-list td:nth-child(4),.processes-page .process-status{font-weight:700}
.process-status-management-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid #dfe6eb}.process-status-management-row>span{flex:1;min-width:180px;overflow-wrap:anywhere}
.process-editor{padding:0;overflow:hidden}.process-editor[open]{display:flex;flex-direction:column}.process-editor>header{padding:20px 24px;border-bottom:1px solid #dfe6eb;flex-shrink:0}.process-editor>header h2{margin:0}.process-editor>form{display:flex;flex-direction:column;min-height:0}.process-editor>.feedback{margin:8px 24px}.process-editor .process-editor-body{overflow:auto;min-height:0;margin:0;padding:20px 24px;align-items:start;gap:20px}.process-basics{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(170px,.65fr) minmax(0,1.35fr);gap:16px}.process-editor .process-basics label{margin:0}.process-editor input,.process-editor select{height:44px}.process-editor .process-party-picker{height:100%;margin:0;padding:12px}.process-editor .process-party-options{height:150px;max-height:150px;align-content:start}.process-editor .process-party-options button{display:grid;gap:3px}.process-editor .process-party-options small{color:#657582;font-size:12px}.process-editor .process-party-chip{font-size:12px;line-height:1.5}.process-editor .client-dialog-actions{margin:0;padding:14px 24px;border-top:1px solid #dfe6eb;flex-shrink:0}.process-new-defendant{padding-top:14px;display:grid;gap:10px}.process-new-defendant[hidden]{display:none}.process-new-defendant-actions{display:flex;gap:8px;justify-content:flex-end}.process-new-defendant small{color:#657582}.process-editor .process-party-picker>button{margin-top:12px}.process-editor .process-full-width{margin:0}@media(max-width:700px){.process-basics{grid-template-columns:1fr}.process-editor .process-editor-body{grid-template-columns:1fr;padding:16px}.process-editor .process-party-picker{height:auto}.process-new-defendant-actions{flex-wrap:wrap}}

/* Keep long party names readable inside the process editor. */
.process-dialog.process-editor{width:min(1120px,94vw)}
.process-editor .process-editor-body{grid-template-columns:minmax(0,0.9fr) minmax(0,1.2fr)}
.process-editor .process-party-options{grid-template-columns:minmax(0,1fr);height:210px;max-height:210px;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable}
.process-editor .process-party-options button{width:100%;min-width:0;height:auto;min-height:44px;white-space:normal;overflow-wrap:anywhere;line-height:1.5;grid-template-columns:minmax(0,1fr)}
.process-editor .process-party-options button>span{min-width:0;white-space:normal;overflow-wrap:anywhere}
.process-editor .process-party-chip{max-width:100%;min-width:0;white-space:normal}
.process-editor .process-party-chip>span{min-width:0;overflow-wrap:anywhere}
.process-editor .process-party-chip>button{flex-shrink:0}
@media(max-width:800px){.process-editor .process-editor-body{grid-template-columns:minmax(0,1fr)}}

/* Wider party popovers, with a consistent left edge and readable full names. */
.process-parties-tooltip{box-sizing:border-box;width:max-content;min-width:min(560px,calc(100vw - 24px));max-width:min(800px,calc(100vw - 24px));padding:18px 22px;border-radius:12px;text-align:left;line-height:1.55;white-space:normal;overflow-wrap:anywhere}
.process-parties-tooltip>strong{display:block;padding-bottom:12px;border-bottom:1px solid #dfe6eb;font-size:14px}
.process-parties-tooltip ul{margin:0;padding:0;list-style:none}
.process-parties-tooltip li{padding:11px 0;margin:0}
.process-parties-tooltip li+li{margin:0;border-top:1px solid #edf1f4}
.process-parties-tooltip li:last-child{padding-bottom:0}
body[data-theme=dark] .process-parties-tooltip>strong,body[data-theme=dark] .process-parties-tooltip li+li{border-color:#425362}
@media(max-width:600px){.process-parties-tooltip{padding:14px 16px}}

/* Status uses the same typography as the client name, without a badge. */
.processes-page .process-status,
body[data-theme=dark] .processes-page .process-status{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;color:inherit;font-family:inherit;font-size:15px;font-weight:600;line-height:1.5}

@media(pointer:fine){.processes-list .client-row-actions .client-icon-button{width:22px;height:30px;padding:0}}
.process-linked-alerts{display:grid;gap:14px;margin-top:20px}.process-linked-alerts section{padding:14px;border:1px solid #dfe6eb;border-radius:8px}.process-linked-alerts small{display:block;margin-top:6px;color:#657582}.process-linked-alerts p{margin-bottom:0}

.process-office-name{display:block;margin-top:6px;color:var(--muted,#64748b);font-size:12px}

/* Keep office selection in the basic fields, above both aligned party pickers. */
.process-editor .process-office-field{grid-column:1/-1}
.process-editor .process-basics{row-gap:16px}
.process-editor .process-editor-body{align-items:stretch}
.process-editor .process-party-picker{height:auto;align-self:stretch}
.process-editor .process-party-options{height:180px;max-height:180px}

.process-dialog.defendant-editor{width:min(1000px,94vw);padding:24px;max-height:90vh}
.defendant-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 20px;margin-top:22px}
.defendant-fields label{margin:0;min-width:0}.defendant-fields input,.defendant-fields select{display:block;width:100%;height:44px;margin-top:8px;padding:10px;border:1px solid #cfd7dd;border-radius:8px;font:inherit;color:inherit;background:var(--surface,#fff)}
.defendant-wide{grid-column:span 2}.defendant-full{grid-column:1/-1}.defendant-fields h3{margin:4px 0 0;padding-top:16px;border-top:1px solid #dfe6eb;font-size:16px}.defendant-editor .client-dialog-actions{border-top:1px solid #dfe6eb;padding-top:18px;margin-top:24px}
@media(max-width:650px){.defendant-fields{grid-template-columns:1fr}.defendant-wide{grid-column:auto}}

/* Each option grows to fit both the client name and the complete CPF. */
.process-editor .process-party-options{display:flex;flex-direction:column;gap:8px;height:204px;max-height:204px;padding:4px 2px 8px}
.process-editor .process-party-options>button{display:flex;flex-direction:column;align-items:stretch;justify-content:center;flex:0 0 auto;box-sizing:border-box;height:auto;min-height:52px;max-height:none;margin:0;padding:10px 12px;gap:4px;line-height:1.45;overflow:visible}
.process-editor .process-party-options>button>span{display:block;line-height:1.45}
.process-editor .process-party-options>button>small{display:block;line-height:18px;min-height:18px;margin:0;padding:0;white-space:nowrap;font-size:12px}

.process-editor .process-office-field{grid-column:1/-1;min-width:0}
.processes-list tr[data-flag=gray]{--flag-bg:#eef0f2;--flag-hover:#e2e5e8}
.processes-list tr[data-flag=blue]{--flag-bg:#eaf3ff;--flag-hover:#dceafe}
.processes-list tr[data-flag=red]{--flag-bg:#fff0f0;--flag-hover:#ffe2e2}
.processes-list tr[data-flag=green]{--flag-bg:#edf8ef;--flag-hover:#def0e1}
.processes-list tr[data-flag=yellow]{--flag-bg:#fffbea;--flag-hover:#fff3cb}
.processes-list tr[data-flag=orange]{--flag-bg:#fff3e8;--flag-hover:#ffe8d2}
.processes-list tr[data-flag=purple]{--flag-bg:#f3eefe;--flag-hover:#e9defb}
.processes-list tr[data-flag=pink]{--flag-bg:#fceef5;--flag-hover:#f8deeb}
.processes-page .processes-list tr[data-flag]:not([data-flag=none])>td{background:var(--flag-bg)}
.processes-page .processes-list tr[data-flag]:not([data-flag=none]):hover>td{background:var(--flag-hover)}
body[data-theme=dark] .processes-list tr[data-flag]{--flag-bg:color-mix(in srgb,var(--flag-hover) 16%,#182c3b);--flag-hover:initial}
body[data-theme=dark] .processes-list tr[data-flag=gray]{--flag-bg:#303943;--flag-hover:#3a4551}
body[data-theme=dark] .processes-list tr[data-flag=blue]{--flag-bg:#203b56;--flag-hover:#294b6b}
body[data-theme=dark] .processes-list tr[data-flag=red]{--flag-bg:#482e38;--flag-hover:#5d3541}
body[data-theme=dark] .processes-list tr[data-flag=green]{--flag-bg:#243f37;--flag-hover:#2e5146}
body[data-theme=dark] .processes-list tr[data-flag=yellow]{--flag-bg:#423f2c;--flag-hover:#545038}
body[data-theme=dark] .processes-list tr[data-flag=orange]{--flag-bg:#483a2e;--flag-hover:#5c4836}
body[data-theme=dark] .processes-list tr[data-flag=purple]{--flag-bg:#38304f;--flag-hover:#493e65}
body[data-theme=dark] .processes-list tr[data-flag=pink]{--flag-bg:#462f42;--flag-hover:#593b54}
@media(max-width:700px){.process-editor .process-office-field{grid-column:auto}}
.processes-list tr.process-custom-color>td{background:color-mix(in srgb,var(--status-color) 16%,transparent)}.processes-list tr.process-custom-color>td:first-child{box-shadow:inset 4px 0 var(--status-color)}.status-color-sample{flex:0 0 90px!important;border-left:14px solid transparent;padding-left:8px;font-size:12px}.status-color-form input[type=color]{width:72px;height:40px;padding:3px}.status-color-form label:has(>input[type=checkbox]){display:flex;align-items:center;gap:8px}.status-color-form label>input[type=checkbox]{width:18px;height:18px;margin:0}

.process-status-management-row>.status-color-sample{min-width:90px}.status-color-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.status-color-form>label:first-child{flex:1 0 100%}.status-color-form>label{margin:0}.status-color-form>button{margin:0}
.status-management-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.process-status-management-row>.status-color-dot{flex:0 0 24px;min-width:24px;width:24px;height:24px;border:1px solid #dfe6eb;border-radius:7px}.status-editor{width:min(960px,94vw);max-height:90vh;padding:0;overflow:auto}.status-editor>header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #dfe6eb}.status-editor h2{margin:0}.status-editor-body{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;padding:24px;align-items:start}.status-editor-body>label{display:grid;gap:10px;margin:0}.status-editor input{width:100%;box-sizing:border-box;height:44px}.status-editor fieldset{min-width:0;margin:0;padding:0;border:0}.status-editor legend{margin-bottom:10px;font-weight:600}.status-palette{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.status-color-choice{display:flex;align-items:center;gap:7px;padding:8px;border:1px solid #dfe6eb;border-radius:8px;background:transparent;color:inherit;font-size:12px;cursor:pointer}.status-color-choice>span{width:20px;height:20px;border:1px solid #ccd6de;border-radius:5px;flex-shrink:0}.status-color-choice[aria-pressed=true]{outline:2px solid #214e64;outline-offset:1px}.status-preview{grid-column:1/-1;padding:14px 18px;border:1px solid #dfe6eb;border-radius:8px;color:#163443;overflow-wrap:anywhere}.status-editor .feedback{grid-column:1/-1}.status-editor .client-dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid #dfe6eb;margin:0}@media(max-width:650px){.status-editor-body{grid-template-columns:1fr;gap:16px}.status-management-toolbar{flex-wrap:wrap}}
.processes-page .processes-list .record-compact-actions{gap:5px}
@media(pointer:fine){.processes-list .record-compact-actions .record-details-button{width:auto;min-width:112px;height:32px;padding:0 10px}.processes-list .record-compact-actions .record-more-button{width:30px;height:32px;padding:0}}

.processes-page .process-office-name{display:block;margin-top:4px;font-size:10px;font-weight:400;line-height:1.35;color:#73808b;letter-spacing:0;overflow-wrap:anywhere}
body[data-theme=dark] .processes-page .process-office-name{color:#a3b0bb}

.process-party-line{grid-template-columns:24px minmax(0,1fr);align-items:start;gap:10px}.process-party-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;color:#657582;border-radius:5px;text-decoration:none}.process-party-icon svg{width:16px;height:16px}.process-party-icon[href]:hover{color:#204e63;background:#e5eff5}.process-party-icon[href]:focus-visible{outline:2px solid #204e63;outline-offset:2px}
/* Shared situation colors: pastel backgrounds and stronger lateral markers. */
.status-preview{background:color-mix(in srgb,var(--status-color,transparent) 65%,#ffffff);border-left:5px solid color-mix(in srgb,var(--status-accent,transparent) 70%,#ffffff)}
.status-preview.status-is-gray{color:#555555}
.processes-page .processes-list tr.process-custom-color>td{background:color-mix(in srgb,var(--status-color) 65%,#ffffff)}
.processes-page .processes-list tr.process-custom-color>td:first-child{box-shadow:inset 4px 0 color-mix(in srgb,var(--status-accent) 70%,#ffffff)}
.processes-page .processes-list tr.process-custom-color:hover>td{background:color-mix(in srgb,var(--status-color) 75%,#ffffff)}
.processes-page .processes-list tr.status-is-gray>td,.processes-page .processes-list tr.status-is-gray .process-status,.processes-page .processes-list tr.status-is-gray .process-number,.processes-page .processes-list tr.status-is-gray small{color:#555555}
body[data-theme=dark] .processes-page .processes-list tr.process-custom-color>td{background:color-mix(in srgb,var(--status-color) 16%,#182c3b)}
body[data-theme=dark] .processes-page .processes-list tr.status-is-gray>td,body[data-theme=dark] .processes-page .processes-list tr.status-is-gray .process-status,body[data-theme=dark] .processes-page .processes-list tr.status-is-gray .process-number,body[data-theme=dark] .processes-page .processes-list tr.status-is-gray small{color:#d0d0d0}

.processes-list .clients-paging{padding:16px 24px;gap:20px;border-top:1px solid #dfe6eb}.processes-list .process-page-summary{display:flex;flex-direction:column;gap:4px}.process-page-summary strong{font-size:14px;font-weight:600;color:var(--text,#203746)}.process-page-summary span{font-size:12px}.process-page-nav{display:flex;align-items:center;gap:5px}.process-page-nav button{min-width:36px;height:36px;padding:0 9px;font-variant-numeric:tabular-nums}.process-page-nav button[aria-current=page]{background:#214e64;color:#fff;border-color:#214e64;opacity:1}.process-page-gap{padding:0 3px}@media(max-width:700px){.processes-list .clients-paging{padding:14px;gap:14px}.process-page-nav{flex-wrap:wrap}}
.process-pje-suggestions{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.process-pje-suggestions small{flex-basis:100%}.process-pje-suggestions button{padding:6px 9px;font-size:12px}.process-pje-suggestions a{flex-basis:100%;font-size:12px}

.process-pje-suggestions{max-height:240px;overflow:auto;align-content:flex-start;padding:2px}

.process-status-field{position:relative;min-width:0}
.process-status-field label{display:block}
.process-status-field input{width:100%;box-sizing:border-box}
.process-status-options{position:absolute;top:100%;left:0;right:0;z-index:20;max-height:260px;overflow-y:auto;margin-top:4px;padding:5px;background:var(--surface,#fff);color:var(--text,#193749);border:1px solid #cfd7dd;border-radius:7px;box-shadow:0 6px 20px #16344726}
.process-status-options[hidden]{display:none}
.process-status-option,.process-status-empty{padding:10px;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.process-status-option{cursor:pointer;border-radius:4px}
.process-status-option:hover,.process-status-option.is-highlighted{background:var(--surface-hover,#e5eef1)}
.process-status-option[aria-selected=true]{font-weight:600}
.process-status-empty{color:#657582}

