:root{--navy:#132138;--ink:#203149;--muted:#66768a;--copper:#b0793d;--line:#dce3ec;--bg:#f2f5f9;--white:#fff;--blue:#2d6093;--gold:#875922;--aga:#edf4fa;--mkj:#f7f0e6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:16px}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b9803c;outline-offset:3px}button{color:inherit}a{color:var(--blue)}p{line-height:1.6;margin:0 0 1rem}h1,h2,h3,h4{line-height:1.3;margin:0}h2{font-size:1.3rem;letter-spacing:-.03em}h3{font-size:1.02rem}h4{font-size:1rem}small{font-size:.8rem}button{border:0}.layout{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#f3f7fb;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:32px 19px 25px}.brand{display:flex;gap:12px;align-items:center;margin-bottom:46px;padding:0 6px}.brand strong{display:block;font-size:.88rem;white-space:nowrap;letter-spacing:.01em}.brand small{display:block;font-size:.66rem;letter-spacing:.16em;color:#99a9bd;margin-top:7px}.brand-mark{width:35px;min-width:35px;border-top:3px solid #d8a367;border-bottom:3px solid #d8a367;color:#d8a367;font-family:Georgia,serif;font-size:1.12rem;line-height:1.7;display:flex;justify-content:space-between}.brand-mark span{color:#fff}.side-label{color:#8fa1b9;font-size:.7rem;letter-spacing:.13em;margin:0 12px 12px}nav{display:flex;flex-direction:column;gap:5px}nav button{text-align:left;font-size:.89rem;line-height:1.5;padding:13px 10px;border-radius:6px;background:transparent;color:#c4cfdf;display:flex;gap:12px;align-items:center}nav button:hover{background:#20324c;color:white}nav button.active{background:#2a3c56;color:white;box-shadow:inset 3px 0 #d9a568}.nav-index{color:#7187a3;font-size:.72rem}nav button.active .nav-index{color:#e1af76}.sidebar-bottom{margin-top:auto;padding:24px 12px 0;border-top:1px solid #304057}.sidebar-bottom p{font-size:.8rem;color:#9babbe;line-height:1.6;margin:17px 0 12px}.sidebar-bottom small{color:#7e91aa}.private-label{font-size:.8rem;display:inline-flex;align-items:center;gap:8px;color:#d8e4f2}.private-label:before{content:'▣';color:#d5a567;font-size:1rem}main{min-width:0;padding:38px 42px 20px;max-width:1800px;width:100%}.header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.eyebrow{font-size:.7rem;letter-spacing:.1em;color:var(--muted);font-weight:700}.header h1{font-size:2.5rem;letter-spacing:-.06em;margin:11px 0 9px;font-weight:750}.header h1 span{color:var(--copper);font-family:Georgia,serif;font-weight:400}.header p{margin:0;color:#64758a;font-size:.92rem}.header-date{border-left:1px solid var(--line);padding-left:24px;min-width:188px}.header-date span,.header-date small{display:block;color:var(--muted);font-size:.75rem}.header-date strong{display:block;margin:7px 0;font-size:1rem}.filter-panel{background:var(--white);border:1px solid var(--line);border-radius:9px;box-shadow:0 3px 10px #1b345004;padding:19px 22px 14px}.filter-heading{display:flex;align-items:center;gap:14px;margin-bottom:17px}.filter-heading strong{font-size:.91rem}.filter-heading span{font-size:.79rem;color:var(--muted)}.filter-heading button{margin-left:auto}.filters{display:grid;grid-template-columns:1fr 1.7fr 1fr 1fr;gap:14px}.filters label,.compare-pickers label,.source-controls label{font-size:.8rem;color:#53667e;display:flex;flex-direction:column;gap:7px;font-weight:600}.filters .filter-wide:nth-last-child(-n+2){grid-column:span 2}select,input{width:100%;min-width:0;background:#fff;border:1px solid #d4ddea;border-radius:5px;padding:10px 11px;color:var(--ink);height:43px;font-size:.86rem;line-height:1.4}select{padding-right:24px}input[type=date]{font-size:.84rem}.filter-help{font-size:.77rem;color:var(--muted);margin:13px 0 0}#filter-warning{margin:8px 0 0;color:#a04729;font-size:.9rem}#filter-warning:empty{display:none}.result-bar{display:flex;justify-content:space-between;gap:15px;padding:21px 0 20px;align-items:center}#counts{display:flex;gap:24px;flex-wrap:wrap;color:#65748a;font-size:.8rem}#counts b{font-size:1.1rem;font-weight:700;color:var(--ink);margin-right:5px}.historical{font-size:.73rem;color:var(--muted)}.process-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.process-card{background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden;padding:20px 22px 0;border-top:3px solid #5180ae}.process-card.mkj{border-top-color:#bc925b}.process-kicker{font-size:.71rem;color:var(--blue);font-weight:750;letter-spacing:.08em;display:flex;justify-content:space-between;gap:10px;margin-bottom:9px}.process-card.mkj .process-kicker{color:var(--gold)}.process-code{font-size:.71rem;font-weight:500;letter-spacing:0;color:var(--muted)}.process-card h3{font-size:1.22rem;letter-spacing:-.025em}.object{color:#5b6b81;font-size:.86rem;margin:6px 0 15px}.process-body{border-top:1px solid #e9edf3;padding-top:13px;display:grid;grid-template-columns:1.3fr 1fr;gap:20px}.process-body p{font-size:.84rem;margin:0 0 16px;line-height:1.55}.process-body p span{display:block;color:var(--muted);font-size:.72rem;margin-bottom:5px}.process-bottom{margin:0 -22px;padding:15px 22px;background:#f9fbfd;border-top:1px solid #e7edf4;display:flex;justify-content:space-between;align-items:center;gap:10px}.process-bottom strong{font-size:1.25rem;font-variant-numeric:tabular-nums;letter-spacing:-.03em}.process-bottom strong small{display:block;letter-spacing:0;font-weight:400;color:var(--muted);font-size:.72rem;margin-top:5px}.process-bottom .no-amount{font-size:1rem;letter-spacing:0}.circle-button{background:#e8eef6;width:34px;height:34px;border-radius:50%;font-size:1.25rem}.circle-button:hover{background:#d6e2f2}.scope-note{background:#e8eef5;border-left:3px solid #7892b2;padding:15px 18px;font-size:.83rem;line-height:1.65;margin:20px 0 26px;border-radius:0 5px 5px 0}.scope-note strong{font-weight:700}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:13px 0 18px}.section-heading span{color:var(--muted);font-size:.78rem}.records-grid,.proof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.record,.proof-card{border:1px solid var(--line);border-radius:8px;background:white;padding:20px 22px;display:flex;flex-direction:column}.record-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}.record-id{font-size:.72rem;color:#687b91;font-weight:650;line-height:1.5}.badge{font-size:.69rem;background:#edf2f8;color:#365779;border-radius:4px;padding:4px 7px;display:inline-block;line-height:1.35;white-space:normal}.badge.warn{background:#fff0e9;color:#984222}.badge.conditional{background:#faf1dd;color:#896223}.badge.correction{background:#e9edf7;color:#53648c}.record h3,.proof-card h3{margin:12px 0 10px;letter-spacing:-.01em}.chip-row{display:flex;flex-wrap:wrap;gap:5px}.chip{border-radius:4px;padding:4px 6px;font-size:.66rem;display:inline-block;line-height:1.4;background:#edf2f6;color:#5d6f83}.chip.aga{background:var(--aga);color:#3c658a}.chip.mkj{background:var(--mkj);color:#886435}.record-text{font-size:.9rem;line-height:1.6;margin:15px 0 10px;color:#627188}.conclusion{font-size:.91rem;line-height:1.65;margin:0 0 17px;color:#233853}.record-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;border-top:1px solid #edf0f6;padding-top:12px;margin-top:auto}.record-foot>span{font-size:.72rem;color:#7b889a}.text-button{background:none;padding:0;color:#315d87;text-align:left;font-size:.79rem;font-weight:650;line-height:1.5}.text-button:hover{text-decoration:underline}.secondary{display:inline-flex;text-decoration:none;background:white;border:1px solid #cbd6e4;color:#344d6b;border-radius:5px;padding:10px 14px;font-size:.81rem;line-height:1.4;justify-content:center;align-items:center}.secondary:hover{background:#edf2f7}.more-button{margin-top:20px}.current-note{border-top:1px solid var(--line);padding:24px 0 4px;margin-top:30px}.current-note p{font-size:.92rem;margin:9px 0 12px;max-width:1050px}.view-note{font-size:.86rem;color:var(--muted);line-height:1.6;max-width:1100px;margin-bottom:24px}.timeline{background:white;border:1px solid var(--line);border-radius:8px;padding:10px 24px}.event{display:grid;grid-template-columns:150px minmax(0,1fr);gap:27px;padding:23px 0;border-bottom:1px solid #e5eaf2}.event:last-child{border-bottom:0}.event-date{padding-top:4px;position:relative;font-size:.86rem;font-variant-numeric:tabular-nums}.event-date small{display:block;color:var(--muted);margin-top:6px;font-size:.72rem}.event-body{border-left:2px solid #d9e2ed;padding-left:25px;position:relative}.event-body:before{content:'';width:8px;height:8px;position:absolute;left:-5px;top:7px;background:#7697b9;border:2px solid white;border-radius:50%;box-sizing:content-box}.event-title{display:flex;gap:12px;justify-content:space-between;margin-bottom:10px}.event-body p{font-size:.92rem;margin:12px 0 9px}.refs{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:11px 0 0}.source-link{background:none;color:#3b678e;font-size:.73rem;line-height:1.5;text-align:left;padding:0;max-width:100%;overflow-wrap:anywhere;text-decoration:underline;text-decoration-color:#b1c6d8;text-underline-offset:3px}.source-link:hover{color:#153f6a}.muted{color:var(--muted);font-size:.77rem}.proof-card>p{font-size:.93rem;margin:16px 0}.limit{background:#f4f7fb;padding:13px 15px;border-radius:5px}.limit strong{font-size:.76rem;color:#526b89}.limit p{font-size:.88rem;margin:6px 0 0}.proof-card>.text-button{margin-top:16px}.people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.person{display:flex;gap:15px;background:white;border:1px solid var(--line);border-radius:8px;padding:22px}.avatar{flex-shrink:0;width:40px;height:40px;border-radius:7px;background:#e5edf6;color:#3c6389;display:flex;align-items:center;justify-content:center;font-size:.82rem;font-weight:700}.person p{font-size:.9rem}.person h3{margin:0 0 7px}.role{color:#667892;font-size:.88rem;line-height:1.5}.person-proofs{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.person-proofs button{font-size:.71rem;background:#ecf1f7;padding:5px 7px}.person-proofs button:hover{background:#dae5f2}.society-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:25px}.people-grid+.section-heading{margin-top:30px}.society{padding:20px 22px;background:white;border:1px solid var(--line);border-radius:7px}.society p{font-size:.88rem;margin:12px 0}.society .cnpj{font-size:.77rem;color:var(--muted);margin:7px 0}.compare-pickers{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:18px;align-items:end;background:white;border:1px solid var(--line);padding:18px;border-radius:8px;margin-bottom:17px}.swap{height:43px}.compare-table-wrap{border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}.compare-table{width:100%;border-collapse:collapse;table-layout:fixed}.compare-table th,.compare-table td{padding:18px 20px;vertical-align:top;text-align:left;border-bottom:1px solid #e4eaf2;font-size:.88rem;line-height:1.65;overflow-wrap:anywhere}.compare-table thead th{background:var(--navy);color:white;font-size:1rem;border:0}.compare-table th:first-child{width:20%;font-size:.79rem}.compare-table th:nth-child(2),.compare-table td:nth-child(2){border-right:1px solid #e2e9f2}.compare-table tbody th{font-weight:600;background:#f7f9fc}.compare-table thead small{display:block;font-weight:400;margin-top:7px;font-size:.74rem;color:#b2c3d9}.company-tag{font-size:.7rem;letter-spacing:.08em;color:#92bde1;display:block;margin-bottom:6px}.company-tag.mkj{color:#e2b77e}.compare-table tr:last-child th,.compare-table tr:last-child td{border-bottom:0}.compare-conclusions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.compare-conclusions>div>h3{background:#e4ebf4;padding:12px 17px;border-radius:6px;margin-bottom:12px}.compare-record{background:white;border:1px solid var(--line);border-radius:7px;margin-bottom:12px;padding:17px}.compare-record h4{margin:9px 0}.compare-record p{font-size:.91rem}.gaps-list{display:flex;flex-direction:column;gap:12px}.gap{display:grid;grid-template-columns:45px minmax(0,1fr);gap:15px;background:white;border:1px solid var(--line);border-radius:8px;padding:22px}.gap-number{color:#ae7c48;font-size:.85rem;font-weight:700;padding-top:5px}.gap h3{margin-bottom:10px}.gap p{font-size:.92rem;margin:14px 0 8px}.priority{font-size:.72rem;color:#886738;background:#faf3e7;border:1px solid #efe2cd;padding:5px 8px;border-radius:4px;line-height:1.4}.sources-list{display:flex;flex-direction:column;gap:13px}.source-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:start;gap:18px;padding:22px;background:white;border:1px solid var(--line);border-radius:7px}.source-row h3{margin:7px 0 8px;font-size:.94rem;overflow-wrap:anywhere}.source-row p{font-size:.86rem;margin:0 0 8px}.source-row .secondary{margin-top:12px}.file-icon{font-size:.65rem;font-weight:700;border:1px solid #c9d7e6;border-radius:4px;padding:12px 7px;color:#527495}.empty{text-align:center;padding:50px 22px;background:white;border:1px dashed #c8d4e3;border-radius:8px}.empty-symbol{font-family:Georgia,serif;color:#98acc4;font-size:2.5rem;display:block;margin-bottom:15px}.empty h3{font-size:1.05rem}.empty p{color:var(--muted);font-size:.9rem;margin:12px 0 20px}footer{font-size:.72rem;color:#7c8c9f;border-top:1px solid var(--line);padding:23px 0 7px;margin-top:34px;line-height:1.5}.boot{padding:40px}dialog{color:var(--ink);border:1px solid #cad5e3;border-radius:10px;width:min(980px,calc(100vw - 40px));max-height:90vh;padding:27px 34px;box-shadow:0 30px 90px #0f213952;background:white}dialog::backdrop{background:#10213999;backdrop-filter:blur(2px)}.dialog-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.close-button{font-size:1.8rem;width:36px;height:36px;line-height:1;background:#eff3f8;border-radius:5px;color:#5c6d83}.dialog-toolbar+h2{margin-bottom:16px}dialog h2{font-size:1.55rem;margin:10px 0 15px;overflow-wrap:anywhere}dialog h3{margin:18px 0 10px;font-size:1rem}dialog p{font-size:1rem}.dialog-chips{margin:14px 0 22px}.detail-section{padding:8px 0;border-top:1px solid #e7edf5}.detail-section p{margin-bottom:10px}.detail-section.highlighted{background:#eef3f9;border:0;padding:3px 17px 8px;border-radius:6px;margin:12px 0}.detail-money{font-size:1.5rem;font-weight:700}.detail-money small{display:block;font-weight:400;font-size:.8rem;color:var(--muted);margin-top:8px}.source-controls{display:flex;justify-content:space-between;gap:20px;align-items:end;padding:15px 0;border-top:1px solid #e2e9f2;margin-top:15px}.source-controls label{min-width:160px}.source-notice{background:#faf2e4;padding:12px 15px;border-radius:5px;color:#876328;font-size:.85rem}.source-text{white-space:pre-wrap;overflow-wrap:anywhere;font: .87rem/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;background:#f5f7fb;padding:22px;border:1px solid #e2e8f0;border-radius:6px;max-height:57vh;overflow:auto;tab-size:4}.original-link{white-space:normal}
@media(min-width:1600px){main{padding-left:52px;padding-right:52px}.process-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.process-body{grid-template-columns:1fr;gap:0}.process-code{font-size:.65rem}.process-kicker{flex-wrap:wrap}.records-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){.layout{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:28px 12px}.brand{gap:8px}.brand strong{font-size:.77rem}nav button{font-size:.8rem;gap:9px}main{padding:30px 25px}.header h1{font-size:2.15rem}.header-date{min-width:160px;padding-left:15px}.filters{grid-template-columns:1fr 1.3fr}.filters .filter-wide:nth-last-child(-n+2){grid-column:auto}.process-body{grid-template-columns:1fr;gap:0}.process-body p{margin-bottom:12px}.process-kicker{flex-wrap:wrap}.record,.proof-card{padding:18px}.record-top .badge{font-size:.65rem}.result-bar{align-items:flex-start}#counts{gap:15px}.historical{text-align:right;max-width:160px}}
@media(max-width:900px){.layout{display:block}.sidebar{position:static;height:auto;padding:18px 20px}.brand{margin-bottom:14px}.brand strong{font-size:.94rem}.side-label,.sidebar-bottom{display:none}nav{display:flex;flex-direction:row;overflow-x:auto;padding:0 0 4px;gap:5px}nav button{flex-shrink:0;padding:9px 11px;font-size:.8rem;white-space:nowrap}.nav-index{display:none}nav button.active{box-shadow:inset 0 -2px #d9a568}main{padding:25px 22px}.header h1{font-size:2.2rem}.eyebrow{font-size:.65rem}.header-date{display:none}.event{grid-template-columns:120px minmax(0,1fr);gap:10px}.event-body{padding-left:18px}.event-title{flex-wrap:wrap}.compare-table th,.compare-table td{padding:13px 12px}.compare-table th:first-child{width:23%}.source-row{grid-template-columns:38px minmax(0,1fr);gap:13px}.source-row .secondary{grid-column:2;justify-self:start;margin-top:0}.person{padding:18px;gap:12px}}
@media(max-width:620px){main{padding:21px 15px}.header{margin-bottom:22px}.header h1{font-size:2.1rem}.header p{font-size:.84rem}.header .eyebrow{font-size:.62rem}.filter-panel{padding:16px}.filter-heading{flex-wrap:wrap;gap:7px}.filter-heading span{font-size:.7rem}.filter-heading button{font-size:.73rem}.filters{gap:13px 11px}.filters label{font-size:.76rem}.filters label:nth-child(1),.filters label:nth-child(2),.filters label:nth-child(5),.filters label:nth-child(6){grid-column:span 2}.filter-help{font-size:.72rem}.result-bar{display:block;padding:18px 0}.historical{display:block;text-align:left;max-width:none;margin-top:11px;font-size:.68rem}#counts{gap:15px;font-size:.73rem}#counts b{font-size:1rem}.process-grid,.records-grid,.proof-grid,.people-grid,.society-grid{grid-template-columns:1fr}.process-body{grid-template-columns:1.1fr 1fr;gap:14px}.process-card{padding:18px 19px 0}.process-bottom{margin:0 -19px;padding:15px 19px}.section-heading{align-items:flex-start;flex-direction:column;gap:7px}.section-heading h2{font-size:1.15rem}.section-heading span{font-size:.73rem}.scope-note{font-size:.8rem}.timeline{padding:0 17px}.event{grid-template-columns:1fr;gap:12px}.event-date{display:flex;align-items:center;gap:9px}.event-date small{margin:0}.event-body{margin-left:3px}.event-title{display:block}.event-title .badge{margin-top:8px}.event h3{font-size:1rem}.compare-pickers{grid-template-columns:minmax(0,1fr);gap:14px}.swap{justify-self:start;height:35px;font-size:.75rem}.compare-pickers label:last-child{grid-row:2}.compare-table th,.compare-table td{font-size:.78rem;padding:12px 8px;line-height:1.6}.compare-table thead th{font-size:.88rem}.compare-table th:first-child{font-size:.7rem;width:23%}.compare-table small{font-size:.65rem}.compare-table .source-link{font-size:.68rem}.compare-conclusions{gap:9px}.compare-conclusions>div>h3{font-size:.8rem;padding:10px;line-height:1.6;overflow-wrap:anywhere}.compare-record{padding:12px 10px}.compare-record h4{font-size:.85rem}.compare-record p{font-size:.81rem}.compare-record .record-id{font-size:.64rem}.compare-record .text-button{font-size:.71rem}.gap{padding:18px;grid-template-columns:30px minmax(0,1fr);gap:7px}.priority{font-size:.65rem}.source-row{padding:18px}.source-row .eyebrow{font-size:.6rem}dialog{padding:19px 20px;width:calc(100vw - 24px);max-height:92vh}dialog h2{font-size:1.3rem}.source-controls{gap:12px}.source-controls label{min-width:100px}.source-controls .secondary{font-size:.74rem;padding:10px}.source-text{font-size:.8rem;padding:15px}.source-heading{font-size:1.1rem}.record-id{font-size:.7rem}.process-kicker{font-size:.7rem}.process-code{font-size:.68rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Reading density never reduces the substantive analysis below 16px. */
.record-text,.conclusion,.proof-card>p,.limit p,.person p:not(.role),.society p:not(.cnpj),.event-body p,.gap p,.current-note p,.compare-record p,.process-body p{font-size:1rem}
.filters label,.compare-pickers label,.source-controls label,select,input,.badge,.chip,.text-button,.secondary,.role,.filter-help,#counts,.view-note,.scope-note{font-size:.875rem}
.chip{padding:4px 7px}.record-top .badge{font-size:.875rem}.person-proofs button{font-size:.875rem}.compare-table th,.compare-table td{font-size:1rem}.compare-table tbody th,.compare-table th:first-child{font-size:.875rem}.compare-table .source-link{font-size:.8rem}
@media(max-width:620px){.compare-table th,.compare-table td{font-size:.875rem}.compare-table th:first-child{font-size:.875rem}.compare-record p{font-size:1rem}.compare-record h4{font-size:1rem}.filters label,.filter-heading button,.filter-help,.compare-record .text-button{font-size:.875rem}.process-body{grid-template-columns:1fr;gap:0}}
:root{--document-accent:#225f58}
.document-banner{display:flex;gap:24px;align-items:center;justify-content:space-between;background:#e9f2ee;border:1px solid #c9ded5;border-left:4px solid var(--document-accent);border-radius:12px;padding:24px;margin-bottom:25px}.document-banner h2{margin:8px 0}.document-banner p{margin:0;color:#405e59}.document-banner button{flex-shrink:0}
.document-toolbar{display:grid;grid-template-columns:1.1fr 1.5fr .7fr;gap:16px;margin:24px 0}.document-toolbar label{font-size:.78rem;font-weight:650;display:grid;gap:8px}.document-toolbar input,.document-toolbar select{min-width:0;width:100%;background:white;color:var(--ink);border:1px solid var(--line);border-radius:7px;padding:11px;font-size:.87rem}.documents-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.document-card{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-width:0}.document-card h3{font-size:1.08rem}.document-card p{font-size:.87rem;margin:0}.document-card .record-top{width:100%}.document-available{background:#f3f6f9;border-radius:8px;padding:14px;font-size:.85rem;line-height:1.6;width:100%}.document-available strong{display:block;margin-bottom:6px;font-size:.77rem;color:var(--muted)}.document-names{padding-left:20px;font-size:.84rem;line-height:1.6;margin:0}.document-names li{margin:0 0 7px}.document-theses{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:9px 0}.document-theses>strong{font-size:.72rem;color:var(--muted);margin-right:5px}.document-card>.secondary{margin-top:auto}.document-table-wrap{overflow-x:auto;margin:18px 0 24px;max-width:100%;border:1px solid var(--line);border-radius:8px}.document-table{border-collapse:collapse;min-width:640px;width:100%;font-size:.85rem;line-height:1.6}.document-table th,.document-table td{text-align:left;vertical-align:top;padding:16px;border-bottom:1px solid var(--line)}.document-table th{background:#edf3f4;color:#264d50;font-size:.78rem}.document-table tr:last-child td{border-bottom:0}.document-table td:first-child{width:37%}.document-status{display:block;font-size:.72rem;color:#785325;margin-top:8px}.document-caution{background:#fbf4e9;padding:20px;border-left:3px solid #b0793d;border-radius:6px;margin:24px 0}.document-caution h3{margin-bottom:10px}.document-caution p{margin:0}.document-method{margin:26px 0;padding:20px;border:1px solid var(--line);border-radius:9px;background:white}.document-method summary{cursor:pointer;font-weight:650}.document-method p{margin:15px 0 0;font-size:.88rem}.miguel-guide{border-top:2px solid #acc9be;padding-top:25px;margin:30px 0}.miguel-guide h4{margin:20px 0 10px}.suggested-wording{background:#edf5ef;padding:20px;border-left:3px solid var(--document-accent);border-radius:7px}.document-bullets{line-height:1.65;padding-left:22px}.document-bullets li{margin-bottom:12px}.authority-links{display:grid;gap:10px;margin:14px 0 24px;font-size:.84rem}.record-documents{display:grid;gap:10px}.document-short{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;padding:15px;background:#edf4f1;border:1px solid #cee1d8;border-radius:8px}.document-short span{font-size:.76rem;color:var(--muted)}.record-document-action{border-top:1px solid var(--line);padding-top:10px;margin-top:15px}.compare-documents{margin:0;padding-left:17px}.compare-documents li{margin-bottom:9px}.compare-documents button{text-align:left;line-height:1.4;white-space:normal}
@media(max-width:1100px){.documents-grid{grid-template-columns:1fr}.document-toolbar{grid-template-columns:1fr 1fr}.document-toolbar label:last-child{grid-column:1/-1}}
@media(max-width:700px){.document-banner{display:block;padding:18px}.document-banner button{margin-top:16px}.document-toolbar{grid-template-columns:1fr}.document-card{padding:18px}.document-table{min-width:600px}.document-card .record-top{flex-wrap:wrap;gap:8px}}
.document-card p,.document-names,.document-table,.document-method p{font-size:1rem}.document-short strong{font-size:1rem}.authority-links{font-size:.95rem}
/* Documentary collection: rank and provider remain separate from case scope. */
.document-toolbar{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.document-toolbar label:last-child{grid-column:auto}
.priority-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.priority-legend>div{padding:15px;border:1px solid var(--line);border-radius:8px;background:#fff}
.priority-legend p{font-size:.875rem;color:var(--muted);margin:10px 0 0;line-height:1.5}
.urgency{display:inline-block;padding:6px 9px;border-radius:5px;font-weight:650;font-size:.8125rem;line-height:1.4}
.urgency.p1{color:#853d22;background:#fff0e8;border:1px solid #edc8b6}
.urgency.p2{color:#746024;background:#faf4dd;border:1px solid #e6d69f}
.urgency.p3{color:#456477;background:#eef4f7;border:1px solid #d6e3ea}
.necessity{display:inline-block;padding:5px 8px;font-size:.8125rem;font-weight:650;background:#f0f3f7;color:#485d78;border-radius:4px;line-height:1.4}
.document-filter-note{display:flex;gap:20px;align-items:flex-start;margin:0 0 14px}
.document-filter-note p{font-size:.875rem;color:var(--muted);margin:0;line-height:1.6;flex:1}
.document-filter-note button{flex-shrink:0;max-width:145px}
.collection-method{margin:16px 0 24px;background:#f8fafc}
.collection-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0 10px}
.company-queue{padding:21px;background:white;border:1px solid var(--line);border-top:3px solid #5180ae;border-radius:8px}
.company-queue.mkj{border-top-color:#bc925b}
.company-queue-heading{display:flex;gap:10px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}
.company-queue-heading h3{font-size:1.1rem;margin:0}
.company-queue-heading span{font-size:.8125rem;color:var(--muted)}
.company-queue>p{font-size:.8125rem;color:var(--muted);margin:12px 0}
.company-queue ol{list-style:none;padding:0;margin:0 0 18px;display:grid;gap:12px}
.company-queue li{display:flex;gap:9px;align-items:baseline}
.company-queue li>span{min-width:27px;font-size:.8125rem;font-weight:700;color:#62738a}
.company-queue li button{font-size:.9375rem;line-height:1.5}
.document-count-note{font-size:.8125rem;color:var(--muted);margin:10px 0 26px;line-height:1.5}
.priority-group{margin:28px 0 35px}
.priority-group-heading{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.priority-group-heading>span:last-child{font-size:.875rem;color:var(--muted)}
.priority-group .document-table-wrap{margin-top:14px;background:white}
.collection-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:1rem;line-height:1.6}
.collection-table caption{padding:11px 16px;font-size:.8125rem;text-align:left;background:#f8fafc;color:var(--muted)}
.collection-table th,.collection-table td{text-align:left;vertical-align:top;padding:18px 16px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.collection-table th{font-size:.875rem;background:#edf3f4;color:#264d50}
.collection-table th:first-child{width:82px}.collection-table th:nth-child(2){width:43%}.collection-table th:nth-child(3){width:16%}
.collection-table tr:last-child td{border-bottom:0}
.rank-number{display:block;font-size:1.2rem;font-weight:750;color:#344c68;font-variant-numeric:tabular-nums}
.collection-table .record-id{white-space:nowrap;font-size:.6875rem}
.document-title{display:block;padding:0;border:0;background:transparent;text-align:left;font-size:1rem;font-weight:650;line-height:1.55;color:#214e74}
.document-title:hover{text-decoration:underline}
.queue-thesis{font-size:.8125rem;color:var(--muted);line-height:1.5;margin:9px 0}
.collection-table .document-status{font-size:.8125rem;margin:9px 0 11px}
.collection-table .chip{font-size:.75rem}
.owner-badges{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 10px}
.owner-badges .chip{font-size:.875rem;font-weight:700}
.queue-reason,.queue-tasks{font-size:.875rem;margin:14px 0;line-height:1.6}
.queue-reason summary,.queue-tasks summary{cursor:pointer;color:#415f75;text-decoration:underline;text-underline-offset:3px}
.queue-reason p{margin:10px 0}
.responsibility-list{list-style:none;padding:0;margin:10px 0 14px;display:grid;gap:14px}
.responsibility-list li{margin:0;line-height:1.6;font-size:1rem}
.responsibility-list strong,.responsibility-list span{display:block}
.responsibility-list strong{font-size:.8125rem;color:#4d6680;margin-bottom:4px}
.document-holder{font-size:.875rem;line-height:1.6;color:#5c6e84}
.document-condition{font-size:.875rem;line-height:1.6;color:#805731}
.ranked-document-names{list-style:none;padding:0;margin:15px 0;display:grid;gap:15px}
.ranked-document-names li{display:flex;gap:12px;padding-bottom:13px;border-bottom:1px solid var(--line)}
.ranked-document-names li:last-child{border-bottom:0}
.ranked-document-names button{font-size:1rem}
.ranked-document-names .owner-badges{margin:9px 0 5px}
.rank-small{font-size:.875rem;font-weight:700;color:#61768a;min-width:31px}
.item-tags{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}
.document-name{display:block;margin:8px 0 12px}
.document-table .necessity{margin:7px 0}.document-table .text-button{display:block;margin-top:10px}
@media(max-width:1100px){.document-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.document-toolbar label:last-child{grid-column:auto}.priority-legend{grid-template-columns:1fr}.priority-legend>div{display:flex;gap:15px;align-items:center}.priority-legend p{margin:0}.collection-table th,.collection-table td{padding:14px 11px}.collection-table th:nth-child(2){width:38%}.collection-table th:nth-child(3){width:17%}.collection-table th:first-child{width:70px}}
@media(max-width:700px){.document-toolbar,.collection-summary{grid-template-columns:1fr}.document-filter-note{display:block}.document-filter-note button{margin-top:12px;max-width:none}.priority-legend>div{display:block}.priority-legend p{margin-top:9px}.collection-table,.collection-table tbody{display:block}.collection-table caption{display:block}.collection-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.collection-table tr{display:grid;grid-template-columns:65px minmax(0,1fr);padding:16px;border-bottom:1px solid var(--line)}.collection-table td{display:block;border:0;padding:0}.collection-table tr:last-child{border-bottom:0}.collection-table td:first-child{grid-row:1/4;padding-right:10px}.collection-table td:nth-child(3),.collection-table td:nth-child(4){grid-column:2;padding-top:17px}.collection-table td:nth-child(3):before{content:'Necessidade';display:block;font-size:.8125rem;color:var(--muted);margin-bottom:6px}.collection-table td:nth-child(4):before{content:'Quem deve providenciar';display:block;font-size:.8125rem;color:var(--muted);margin-bottom:6px}.company-queue{padding:18px}.priority-group-heading{align-items:flex-start;flex-direction:column;gap:8px}.priority-group-heading>span:last-child{line-height:1.5}}
