@charset "UTF-8";
:root{--navy:#10293e;--ink:#263c4b;--muted:#70808d;--green:#17705b;--mint:#e9f4ed;--bg:#f5f7f8;--line:#e3e9ec;--amber:#9b7225;--shadow:0 4px 24px #17334305;font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #c9a73f;outline-offset:3px}a{color:var(--green);text-decoration:none}h1,h2,h3,p{margin:0}h1{color:var(--navy);font-size:30px;font-weight:650;letter-spacing:-1px;line-height:1.25}h2{font-size:20px;color:var(--navy);font-weight:650;letter-spacing:-.3px}h3{font-size:17px;color:var(--navy);font-weight:600}small{font-size:12px}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;border:1px solid #d8e1e6;border-radius:8px;padding:11px 13px;background:#fff;color:var(--ink);outline:none;min-height:44px}input::placeholder,textarea::placeholder{color:#95a0a8}input:focus,select:focus,textarea:focus{border-color:#398b73;box-shadow:0 0 0 3px #398b7315}input[type=checkbox],input[type=radio]{accent-color:var(--green);width:17px;height:17px;flex-shrink:0}textarea{resize:vertical}
.app-shell{display:flex;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);width:258px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:20px 16px;z-index:5}.brand{display:block;margin:0 20px 18px}.brand img{display:block;width:177px;height:118px;object-fit:contain}.workspace-label{font-size:10px;letter-spacing:1.4px;font-weight:700;color:#8d9aa4;margin:16px 14px 10px}.nav-item{border:0;background:transparent;border-radius:8px;padding:12px 14px;text-align:left;display:flex;align-items:center;gap:12px;color:#657987;font-weight:500;width:100%;margin:2px 0}.nav-item.active{background:var(--mint);color:#14654e;font-weight:650}.nav-icon{font-size:22px;line-height:1}.nav-count{margin-left:auto;border-radius:5px;background:#fff9;padding:0 7px;font-size:12px}.sidebar-bottom{margin-top:auto;padding:20px 10px 0;border-top:1px solid var(--line);display:flex;gap:10px;align-items:center;font-size:11px}.sidebar-bottom strong{font-size:11px;font-weight:600}.sidebar-bottom small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.environment-dot{width:7px;height:7px;background:#cfaa4d;border-radius:50%}.steps{overflow:auto;min-height:0;margin:0 -5px 15px;padding:0 5px;scrollbar-width:thin}.step{display:grid;grid-template-columns:22px 1fr auto;gap:8px;align-items:center;width:100%;border:0;background:none;text-align:left;padding:10px 8px;border-radius:7px;color:#647684;font-size:11px;line-height:1.3;margin:1px 0}.step:hover{background:#f5f8f7}.step.selected{color:var(--green);background:var(--mint);font-weight:600}.step-number{font-size:10px;color:#84969f}.step-count{font-size:9px;color:#899ba4}.section-nav-label{margin-top:20px}
main{margin-left:258px;min-width:0;flex:1}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 44px;gap:16px}.breadcrumb{font-size:12px;color:#778a98;display:flex;gap:13px}.breadcrumb span{color:#b7c1c8}.top-actions{display:flex;align-items:center;gap:18px}.save-status{font-size:11px;color:var(--muted)}.button{border:1px solid #dce5e7;border-radius:8px;min-height:42px;padding:10px 18px;background:#fff;display:inline-flex;gap:10px;align-items:center;justify-content:center;color:var(--ink);font-weight:600;font-size:12px;white-space:nowrap;transition:background .15s,transform .15s}.button:hover{background:#f2f6f4}.button:active{transform:translateY(1px)}.button.primary{background:var(--green);border-color:var(--green);color:#fff}.button.primary:hover{background:#105a48}.button.light{color:#164f43;padding:12px 20px;background:#fff;border:0}.button.light span{margin-left:28px}.sync-button{font-size:11px;padding:9px 15px;min-height:36px}.sync-button>span{font-size:19px;line-height:1}.text-button{border:0;background:none;padding:0;color:var(--green);font-size:12px;cursor:pointer;text-align:left}.text-button:hover{text-decoration:underline}.content{max-width:1440px;margin:auto;padding:36px 44px}.page-kicker{color:#7a9099;font-size:10px;font-weight:700;letter-spacing:1.7px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 27px}.page-heading p,.editor-heading p{color:var(--muted);font-size:12px;margin-top:10px}.date-chip{font-size:11px;border:1px solid var(--line);padding:7px 12px;border-radius:6px;color:#7c8a94;white-space:nowrap}
.hero{border-radius:14px;position:relative;overflow:hidden;min-height:298px;background:linear-gradient(110deg,#123d39,#17584b);display:flex;color:#fff}.hero-copy{padding:32px 34px;z-index:2;width:61%}.hero-label{font-size:9px;letter-spacing:1.6px;color:#adcfbe;display:flex;align-items:center;gap:8px}.live-dot{width:5px;height:5px;background:#d2bc63;border-radius:50%}.hero h2{font-size:30px;font-weight:500;line-height:1.25;color:#fff;letter-spacing:-.7px;margin:15px 0 12px}.hero p{font-size:12px;line-height:1.8;color:#bbd4cb;max-width:360px;margin-bottom:21px}.hero-art{width:39%;position:relative;overflow:hidden}.map-grid{position:absolute;inset:-100px;background-image:linear-gradient(#a5d7b412 1px,transparent 1px),linear-gradient(90deg,#a5d7b412 1px,transparent 1px);background-size:44px 44px;transform:rotate(-20deg)}.map-lot{position:absolute;border:1px solid #a8d3ad5c;background:#82bda816;transform:rotate(-20deg);border-radius:4px}.lot-a{width:130px;height:98px;left:10px;top:45px}.lot-b{width:134px;height:155px;left:169px;top:50px;background:#e0c97114;border-color:#dcc67975}.lot-c{width:137px;height:90px;left:51px;top:164px}.map-pin{position:absolute;top:90px;left:136px;background:#e2c66c;color:#214f44;box-shadow:0 0 0 15px #dfce7b0f,0 0 0 32px #dfce7b08;width:64px;height:64px;border-radius:50% 50% 50% 6px;transform:rotate(-15deg);display:grid;place-items:center;font-size:38px}.map-caption{position:absolute;bottom:35px;right:23px;border:1px solid #8eb3a444;border-radius:8px;background:#143e36cc;padding:10px 14px;font-size:10px;color:#bed6c9;display:flex;gap:9px;white-space:nowrap}.map-caption span{color:#e0c66d}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0 28px}.stat{border:1px solid var(--line);background:#fff;border-radius:10px;padding:20px 23px;display:flex;align-items:center;gap:17px;box-shadow:var(--shadow)}.stat-icon{border-radius:10px;width:44px;height:44px;display:grid;place-items:center;font-size:23px}.stat-icon.navy{background:#eef3f7;color:#3e6681}.stat-icon.amber{background:#fbf5e8;color:#bd9a49}.stat-icon.green{background:#edf6ef;color:#4a8965}.stat>div>span{font-size:11px;color:#7d8c96;display:block}.stat strong{font-size:26px;color:var(--navy);font-weight:600;line-height:1.4}.records-panel,.form-panel{border:1px solid var(--line);background:#fff;border-radius:12px;box-shadow:var(--shadow)}.panel-heading{padding:23px 25px;border-bottom:1px solid #edf0f2;display:flex;align-items:center;justify-content:space-between;gap:16px}.panel-heading h2{font-size:17px}.panel-heading p{font-size:11px;color:#8b99a3;margin-top:3px}.panel-heading .search{width:255px;font-size:11px;min-height:38px;background:#fafbfc}.empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;padding:33px 20px 32px}.empty-icon{position:relative;color:#799d91;background:#f0f7f3;border:1px solid #e6eeea;width:63px;height:63px;border-radius:14px;display:grid;place-items:center;font-size:33px;margin-bottom:18px}.empty-icon>span{position:absolute;right:-8px;bottom:0;font-size:14px;background:#fff;border:1px solid #dfe9e4;border-radius:50%;width:23px;height:23px}.empty-state h3{font-size:16px}.empty-state p{color:#8a99a3;font-size:12px;margin:9px 0 18px;line-height:1.8}.empty-state>small{font-size:10px;color:#a2adb5;margin-top:15px}.dashboard-footer{display:flex;align-items:center;gap:22px;padding-top:23px;font-size:10px;color:#7c8c97;flex-wrap:wrap}.dashboard-footer>span{margin-right:auto}.muted{color:#a0abb2}.small-print{color:#8998a3;font-size:10px;line-height:1.7;margin-top:20px}.record-list{padding:0 24px}.record-row{display:flex;align-items:center;gap:16px;padding:20px 0;border:0;border-bottom:1px solid var(--line);background:transparent;width:100%;text-align:left}.record-row:last-child{border-bottom:0}.record-row:hover .record-title strong{color:var(--green)}.record-avatar{background:#eff5f2;color:#739b8c;border-radius:9px;width:42px;height:42px;display:grid;place-items:center;font-size:26px}.record-title{flex:1;min-width:0}.record-title strong{font-size:13px;display:block;color:var(--navy)}.record-title small{font-size:11px;color:#8a9aa5;margin-top:4px;display:block}.row-arrow{color:#8da098;margin-left:12px}.badge{font-size:10px;border-radius:5px;padding:5px 8px;white-space:nowrap}.badge.pending{background:#fbf5e8;color:#957732}.badge.ok{background:#edf7f0;color:#337656}.badge.conflict{background:#fcf0ed;color:#a95848}
.editor{max-width:1250px}.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.editor-heading h1{font-size:26px;margin-top:16px}.back{font-size:11px}.progress-strip{display:flex;align-items:center;gap:20px;padding:20px 0 27px;font-size:11px;color:var(--muted)}.progress-track{height:4px;background:#e2e9e6;border-radius:5px;flex:1;overflow:hidden;max-width:300px}.progress-track>div{height:100%;background:#539b7b}.progress-strip>.text-button{margin-left:auto}.form-panel{padding:28px 30px}.form-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px}.form-heading h2{margin-top:7px;font-size:22px}.form-heading .page-kicker{font-size:9px;letter-spacing:1.3px}.section-bubble{background:#eff5f1;border-radius:9px;color:#729883;font-size:18px;padding:10px 14px}.fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 25px}.field.wide{grid-column:1/-1}.field-label{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px;align-items:baseline}.field-label label{font-weight:600;font-size:12px;color:#49616f}.field-code{font-size:9px;font-family:Consolas,monospace;color:#9baab2}.required{color:#ba7058}.help,.proposal{display:block;line-height:1.6;margin-top:6px;color:#8b9aa4;font-size:10px}.proposal{color:#a68a4a}.input-wrap{position:relative}.input-wrap:has(.unit) input{padding-right:55px}.unit{position:absolute;right:13px;top:13px;font-size:11px;color:#93a1a9}.choices{display:flex;flex-wrap:wrap;gap:8px}.choice{display:flex;align-items:center;gap:8px;font-size:12px;cursor:pointer}.choices .choice{background:#f8faf9;border:1px solid var(--line);padding:8px 12px;border-radius:7px}.other-input{margin-top:8px}.file-control input{font-size:11px}.file-control small,.upload-panel small{display:block;color:#9ba8b0;font-size:10px;margin-top:6px}.file-linked{font-size:11px;color:var(--green);display:block;margin-top:7px}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 0 0}.form-footer>span{font-size:11px;color:#869c8f}.section-intro{font-size:12px;line-height:1.8;color:#8796a1;margin:-10px 0 25px}.mini-empty{padding:40px 15px;text-align:center;color:#93a1a9;font-size:13px}.resident-card{border:1px solid var(--line);padding:22px;border-radius:9px;margin-bottom:20px}.resident-heading{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:24px}.resident-heading h3{margin-right:auto}.danger{color:#ae6855}.upload-panel{border:1px dashed #bbd3c6;border-radius:9px;background:#f6faf7;padding:22px;display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.upload-panel label{font-size:12px;font-weight:600;display:block;margin-bottom:8px}.attachment-row{display:flex;gap:15px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.attachment-row>div{flex:1;min-width:0;overflow-wrap:anywhere}.attachment-row strong{font-size:12px}.attachment-row small{display:block;font-size:10px;color:#92a0aa;margin-top:3px}.attachment-icon{font-size:25px;color:#8ca99b}.review-hint{background:#f2f7f4;padding:18px;border-radius:8px;font-size:12px;color:#6f8e7c}.review-actions,.conflict-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.review-summary{margin-top:30px}.review-summary h3{margin-bottom:14px}.review-summary>div{display:flex;justify-content:space-between;font-size:12px;padding:12px 0;border-bottom:1px solid var(--line);color:#81949f}.validation-list{display:flex;flex-direction:column;gap:6px}.validation-list button{border:1px solid #e9d5c8;background:#fffaf5;padding:12px;text-align:left;color:#9f644b;font-size:12px;border-radius:6px}.validation-list button span{float:right}.conflict-panel{border:1px solid #e2c8a8;background:#fff9ee;border-radius:9px;padding:22px;margin-bottom:24px}.conflict-panel p{font-size:12px;color:#97815d;margin-top:8px}.mobile-steps{display:none}.notice{display:flex;align-items:center;gap:15px;border-bottom:1px solid #cfe2d8;background:#eaf5ef;color:#39735b;padding:14px 44px;font-size:12px}.notice button{margin-left:auto;background:none;border:0;color:inherit;font-size:20px}.notice.error{background:#fff0e9;color:#a25942;border-color:#ecd1c3}.loading-state{padding:100px 30px;text-align:center}.loading-state h1{font-size:23px;margin:25px 0 12px}.loading-state p{color:var(--muted)}.loader{width:32px;height:32px;border:3px solid #dae7df;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite;margin:auto}.spin{animation:spin 1s linear infinite}#blazor-error-ui{display:none;position:fixed;bottom:0;left:0;right:0;background:#ffefd6;color:#7b562c;z-index:100;padding:20px}#blazor-error-ui a{margin-left:15px}.boot{padding-top:25vh;text-align:center;color:#658173}.boot img{width:200px}.boot p{margin:15px}.boot .loader{margin-top:25px}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1550px){.content{padding-top:45px}.hero{min-height:325px}.hero-copy{padding:38px 40px}.hero h2{font-size:35px}.map-pin{left:43%}.empty-state{padding:45px 20px}}
@media(max-width:1100px){.sidebar{width:220px;padding:15px 12px}.brand{margin:0 15px 15px}.brand img{width:160px;height:107px}main{margin-left:220px}.topbar{padding:0 28px}.content{padding:30px 28px}.date-chip{display:none}.hero-copy{padding:28px;width:67%}.hero-art{width:33%}.map-pin{left:50px}.map-caption{display:none}.hero h2{font-size:27px}.stats{gap:12px}.stat{padding:16px;gap:12px}.save-status{display:none}.step{font-size:10px}}
@media(max-width:800px){.sidebar{position:static;width:auto;padding:0 20px;display:flex;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--line);gap:8px}.brand{margin:0 auto 0 0}.brand img{width:105px;height:70px}.sidebar>.workspace-label,.sidebar .steps,.sidebar-bottom{display:none}.nav-item{width:auto;font-size:11px;padding:8px;gap:4px}.nav-icon{font-size:19px}.nav-count{display:none}.app-shell{display:block}main{margin:0}.topbar{height:60px;padding:0 22px}.content{padding:26px 22px}.page-heading h1{font-size:26px}.hero-copy{width:65%}.hero-art{width:35%}.stats{gap:12px}.stat{padding:15px}.stat-icon{width:36px;height:36px;font-size:20px}.stat strong{font-size:22px}.stat>div>span{font-size:10px}.mobile-steps{display:flex;align-items:center;gap:12px;margin:0 0 20px}.mobile-steps label{font-size:12px;color:var(--muted)}.form-panel{padding:24px}.notice{padding:12px 22px}.fields-grid{gap:20px}.form-footer{padding-bottom:15px}}
@media(max-width:540px){h1{font-size:24px}.content{padding:24px 16px}.sidebar{padding:0 14px}.nav-item{font-size:10px}.topbar{padding:0 16px}.breadcrumb{font-size:10px;gap:8px}.sync-button{font-size:10px;padding:8px 11px}.page-kicker{font-size:8px;letter-spacing:1.2px}.page-heading{margin:10px 0 22px}.page-heading h1{font-size:25px;letter-spacing:-.8px;max-width:280px}.page-heading p{font-size:11px;line-height:1.8;max-width:310px}.hero{min-height:290px}.hero-copy{padding:25px;width:100%}.hero-label{font-size:8px}.hero h2{font-size:27px}.hero p{font-size:11px;max-width:245px}.hero-art{position:absolute;right:-65px;width:200px;top:20px;height:100%;opacity:.23;pointer-events:none}.hero-copy{position:relative}.stats{gap:8px;margin:16px 0 22px}.stat{padding:13px 11px;display:block}.stat-icon{width:28px;height:28px;border-radius:6px;font-size:17px;margin-bottom:8px}.stat strong{font-size:24px}.stat>div>span{font-size:9px}.panel-heading{padding:18px;display:block}.panel-heading .search{margin-top:15px;width:100%}.empty-state{padding:30px 15px}.empty-state h3{font-size:15px}.empty-state p{font-size:11px}.empty-state>small{font-size:9px}.dashboard-footer{gap:15px}.dashboard-footer>span{width:100%}.record-list{padding:0 16px}.record-row{gap:10px;flex-wrap:wrap}.record-title strong{font-size:12px}.record-title small{font-size:10px}.record-avatar{width:33px;height:33px;font-size:21px}.row-arrow{display:none}.record-row .badge{font-size:9px}.editor-heading h1{font-size:23px}.editor-heading p{font-size:11px}.editor-heading{align-items:flex-start}.editor-heading>.badge{margin-top:35px}.progress-strip{gap:10px;flex-wrap:wrap;font-size:10px}.progress-track{min-width:50px}.progress-strip .text-button{font-size:10px}.form-panel{padding:22px 17px}.form-heading h2{font-size:19px}.form-heading .page-kicker{font-size:8px;letter-spacing:1px}.section-bubble{font-size:15px;padding:8px 10px}.fields-grid{grid-template-columns:1fr;gap:22px}.field-label label{font-size:12px}.form-footer{gap:8px;flex-wrap:wrap}.form-footer>span{order:3;width:100%;text-align:center;margin-top:8px;font-size:10px}.form-footer .button{font-size:11px;padding:10px 14px}.upload-panel{grid-template-columns:1fr;padding:16px}.attachment-row{flex-wrap:wrap;gap:10px}.attachment-row>div{min-width:65%}.resident-card{padding:16px}.resident-heading{gap:10px}.resident-heading h3{width:100%}.review-actions .button{width:100%}.notice{font-size:11px;padding:12px 16px}.section-intro{font-size:11px}}
.panel-heading input.search{width:255px;flex-shrink:0}@media(max-width:540px){.panel-heading input.search{width:100%}}
.attachment-thumbnail{width:54px;height:54px;object-fit:cover;border-radius:7px;border:1px solid var(--line);background:#fff}.field-photo{display:block;width:100%;max-height:180px;object-fit:contain;background:#f5f8f6;border-radius:8px;border:1px solid var(--line);margin-top:12px}
.address-copy{margin-bottom:22px}.address-copy .help{margin-top:8px;color:var(--muted);font-size:12px}
.nucleo-panel{margin:24px 38px 0;padding:22px;background:white;border:1px solid var(--line);border-radius:14px}.nucleo-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.nucleo-heading p,.nucleo-panel .help{font-size:12px;color:var(--muted);margin:7px 0}.nucleo-panel label,.nucleo-filter label{display:block;font-size:12px;color:var(--navy);margin-bottom:6px}.nucleo-fields{display:grid;grid-template-columns:2fr 2fr 80px;gap:14px;margin:18px 0}.nucleo-filter{padding:0 24px 18px}.ficha-nucleo{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:20px;padding:16px;background:#eef6f2;border-radius:10px}.ficha-nucleo strong{flex:1;min-width:180px;color:var(--navy);overflow-wrap:anywhere}.ficha-nucleo p{width:100%;font-size:12px}.record-nucleo{white-space:normal;overflow-wrap:anywhere}@media(max-width:800px){.nucleo-panel{margin:20px 22px 0}}@media(max-width:540px){.nucleo-panel{margin:16px 16px 0;padding:16px}.nucleo-heading{align-items:flex-start;flex-direction:column}.nucleo-fields{grid-template-columns:1fr}.ficha-nucleo .button{width:100%}.nucleo-filter{padding:0 18px 16px}}

/* Escala de leitura: manter após as regras responsivas para não reduzir textos no celular. */
:root{--muted:#586d7a}
body{font-size:16px}
input:not([type=checkbox]):not([type=radio]),select,textarea,.panel-heading input.search,.file-control input{font-size:16px;min-width:0;min-height:48px}
input::placeholder,textarea::placeholder{color:#637581;opacity:1}
.button,.sync-button,.form-footer .button{font-size:14px;min-height:44px}
.text-button,.progress-strip .text-button{font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.field-label label,.upload-panel label,.nucleo-panel label,.nucleo-filter label,.mobile-steps label,.choice{font-size:14px}
small,.help,.proposal,.address-copy .help,.nucleo-panel .help,.file-control small,.upload-panel small,.attachment-row small{font-size:13px;color:var(--muted)}
.proposal{color:#806121}
.page-heading p,.editor-heading p,.hero p,.section-intro,.nucleo-heading p,.ficha-nucleo p,.review-hint,.conflict-panel p,.empty-state p{font-size:14px}
.page-heading p,.editor-heading p,.section-intro,.empty-state p{color:var(--muted)}
.panel-heading p,.stat>div>span,.record-title small,.empty-state>small,.small-print,.dashboard-footer,.muted,.form-footer>span,.progress-strip,.save-status{font-size:13px;color:var(--muted)}
.record-title strong,.attachment-row strong,.review-summary>div,.validation-list button,.notice{font-size:14px}
.review-summary>div{color:var(--muted)}
.record-title{overflow-wrap:anywhere}
.badge,.record-row .badge{font-size:12px}
.field-code{font-size:11px;color:#647986;flex-shrink:0}
.unit,.file-linked{font-size:13px}
.unit{color:var(--muted)}
.step{font-size:13px}.step-number,.step-count{font-size:12px;color:var(--muted)}
.nav-item,.breadcrumb{font-size:13px}
.choice{min-height:44px}
.page-kicker,.form-heading .page-kicker,.hero-label{font-size:10px}
@media(max-width:800px){
    .sidebar{flex-wrap:wrap;padding-bottom:8px}
    .topbar{height:auto;min-height:64px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px;gap:8px}
    .top-actions{gap:10px}
    .mobile-steps select{flex:1;min-width:0}
}
@media(max-width:540px){
    .button,.form-footer .button{white-space:normal;text-align:center}
    .stat{min-width:0;padding:13px 8px}
    .stat>div>span{overflow-wrap:anywhere;line-height:1.4}
    .form-heading{align-items:flex-start}
    .form-heading>div,.editor-heading>div{min-width:0;overflow-wrap:anywhere}
    .section-bubble{flex-shrink:0}
    .form-footer>span{font-size:13px}
    .ficha-nucleo .button{min-width:0}
    .hero p{max-width:100%}
    .record-title{flex-basis:calc(100% - 44px)}
}

/* Identidade institucional CDRF Nacional / SSMGEO. */
:root{--navy:#142f49;--green:#176955;--bg:#f3f6f8;--line:#dfe7eb}
.workspace-brand{display:flex;align-items:center;gap:12px;padding:15px 10px 28px;color:var(--navy);font-weight:650;font-size:17px}
.workspace-app-icon{display:block;width:48px;height:48px;object-fit:contain;flex-shrink:0}
.workspace-brand small{display:block;font-size:12px;letter-spacing:.6px;font-weight:400;margin-top:3px}
.institution-header{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:18px 44px;background:#fff;border-top:4px solid #167d88;border-bottom:1px solid var(--line)}
.application-brand{display:flex;align-items:center;gap:20px;min-width:0}
.application-icon{display:block;width:80px;height:80px;object-fit:contain;flex-shrink:0}
.institution-partners{display:flex;align-items:center;gap:32px;flex-shrink:0}
.institution-logo{display:block;position:relative;flex-shrink:0;overflow:hidden}
.institution-logo img{display:block;position:absolute;max-width:none}
/* Enquadramento das margens brancas dos arquivos originais; marcas sem distorção. */
.cdrf-mark{width:80px;height:95px}
.cdrf-mark img{width:190px;height:auto;left:-55px;top:-14px}
.ssmgeo-mark{width:80px;height:94px}
.ssmgeo-mark img{width:139px;height:auto;left:-28px;top:-42px}
.institution-title{color:var(--navy);min-width:0}
.institution-title>span{font-size:10px;font-weight:650;letter-spacing:1.6px;color:#527586}
.institution-title strong{display:block;font-size:27px;line-height:1.3;letter-spacing:-.5px;margin-top:5px}
.institution-title p{font-size:15px;color:var(--muted);margin-top:4px}
.topbar{height:auto;min-height:64px;padding-top:10px;padding-bottom:10px;background:#f9fbfc;flex-wrap:wrap}
.top-actions{flex-wrap:wrap}
.save-status{display:block;font-size:13px}
.nucleo-panel{border-radius:10px;border-left:4px solid #16858b;margin:26px 44px 0;padding:20px 24px}
.nucleo-heading h2{margin-top:4px}.nucleo-heading p{margin-bottom:0}.selected-territory{overflow-wrap:anywhere}.selected-territory strong{color:var(--navy)}
.content{padding-top:28px}
.page-heading{align-items:center;margin-bottom:22px}
.page-heading h1{font-size:28px;letter-spacing:-.6px;max-width:660px}
.page-heading p{font-size:15px;max-width:none}
.new-record{flex-shrink:0}
.collection-guidance{display:flex;gap:14px;align-items:center;border:1px solid #d2e6e3;background:#edf6f4;border-radius:10px;padding:17px 20px}
.guidance-icon{font-size:26px;color:var(--green)}
.collection-guidance strong{font-size:14px;color:#205c50}
.collection-guidance p{font-size:14px;color:#4c6a64;margin-top:3px;line-height:1.6}
.stats{margin:20px 0 24px}.stat{box-shadow:none;border-radius:10px}
.dashboard-footer strong{font-weight:600;color:var(--navy)}
button:disabled{cursor:not-allowed}
@media(max-width:1100px){
 .institution-header{padding:18px 28px;gap:20px}.application-brand{gap:14px}.application-icon{width:68px;height:68px}.institution-partners{gap:20px}.institution-title strong{font-size:24px}
 .nucleo-panel{margin-left:28px;margin-right:28px}.page-heading{flex-wrap:wrap}
}
@media(max-width:800px){
 .sidebar{padding:10px 22px;justify-content:flex-start;gap:10px}.workspace-brand{display:none}
 .nav-item{padding:10px 12px;min-height:44px;font-size:14px}
 .institution-header{padding:16px 22px;flex-direction:column;align-items:stretch;gap:14px}.application-brand{gap:14px}.application-icon{width:64px;height:64px}.institution-partners{justify-content:space-between;border-top:1px solid var(--line);padding-top:12px}
 .cdrf-mark{width:60px;height:71px}.cdrf-mark img{width:143px;left:-41px;top:-11px}
 .ssmgeo-mark{width:60px;height:70px}.ssmgeo-mark img{width:104px;left:-21px;top:-32px}
 .institution-title>span{display:none}.institution-title strong{font-size:24px;margin:0}.institution-title p{font-size:14px;margin-top:3px}
 .nucleo-panel{margin-left:22px;margin-right:22px}
 .save-status{display:block}.top-actions{gap:12px}
}
@media(max-width:540px){
 .sidebar{padding:8px 16px;gap:8px}.nav-item{font-size:13px}
 .institution-header{padding:16px 20px;gap:12px}
 .institution-title strong{font-size:22px}.institution-title p{font-size:14px}
 .topbar{padding:10px 16px}.breadcrumb{font-size:12px}.top-actions{justify-content:space-between;width:100%}.save-status{font-size:12px;flex:1;min-width:0}
 .nucleo-panel{margin:18px 16px 0;padding:16px}.nucleo-heading{gap:12px}.nucleo-heading .button{min-height:44px}
 .page-heading h1{font-size:25px;max-width:none}.page-heading{gap:16px}.page-heading p{font-size:14px;line-height:1.6}
 .new-record{width:100%}.collection-guidance{padding:14px;align-items:flex-start;gap:10px}.collection-guidance p{font-size:13px}
 .content{padding-top:24px}
}
.training-banner{display:flex;flex-wrap:wrap;gap:6px 16px;padding:12px 44px;background:#fff6e3;color:#70541f;font-size:13px;border-bottom:1px solid #ecdfc3}
.training-banner strong{font-weight:650}
.access-history-list{display:grid;gap:12px;margin-top:16px}.access-history-row{padding:16px;border:1px solid var(--line);border-radius:10px;overflow-wrap:anywhere}.access-history-row>strong,.access-history-row>span{display:block}.access-history-row>span{font-size:13px;margin-top:4px}.access-history-row dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 0}.access-history-row dt{font-size:13px;color:var(--muted)}.access-history-row dd{font-size:14px;margin:4px 0 0}@media(max-width:540px){.access-history-row dl{grid-template-columns:1fr}}
@media(max-width:800px){.training-banner{padding:12px 22px}}
@media(max-width:540px){.training-banner{padding:12px 16px}.top-actions:has(a[href='/acesso/entrar']){gap:8px}.top-actions:has(a[href='/acesso/entrar']) .save-status{flex-basis:100%}}

.record-position{padding:16px;margin-bottom:20px;border:1px solid #dce6e7;border-radius:12px;background:#f6faf9}.record-position input{display:block;width:100%;max-width:160px;margin:8px 0 12px}.record-position .help{margin-bottom:0}
