:root{color-scheme:light;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#1E4957;background:#E9E9E9}body{background:#E9E9E9;color:#1E4957}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #1E4957;outline-offset:3px}p,.card-sub,.fine,.hint,.room-hint,.vehicle-photo-status{color:#49636B}h1,h2,.brand{color:#1E4957}header{background:#FFFFFF;color:#1E4957;border-bottom:1px solid #D3D3D4}.brand img{width:78px;height:78px;object-fit:contain;border-radius:10px}.header-note{color:#49636B}.session-bar{background:#FFFFFF;color:#49636B;border-bottom:1px solid #D3D3D4}.session-bar button{color:#1E4957}main{max-width:1480px;padding:30px 30px 100px}.heading{margin-bottom:28px}.heading h1{font-size:clamp(1.7rem,2.4vw,2.4rem)}.date-pill{background:#E9E9E9;border:1px solid #D3D3D4;color:#1E4957}.tabs{border-color:#D3D3D4}.tab{color:#49636B;border-color:transparent;transition:background .18s,color .18s}.tab:hover{background:#E9E9E9;color:#1E4957}.tab.active{background:#44A16F20;color:#1E4957;border-bottom-color:#44A16F}.card{background:#FFFFFF;border:1px solid #D3D3D4;border-radius:17px;box-shadow:0 12px 30px #00000026;padding:24px}.card h2{font-size:1.1rem}.layout{gap:20px}label{color:#1E4957}input,select,textarea{background:#E9E9E9;border:1px solid #BEBFBF;border-radius:10px;color:#1E4957;accent-color:#44A16F}input::placeholder,textarea::placeholder{color:#667B82}input:focus,select:focus,textarea:focus{border-color:#44A16F}input[readonly],#tombo.locked{background:#E9E9E9;color:#49636B}option{background:#E9E9E9;color:#1E4957}.primary{background:#44A16F;border-color:#44A16F;color:#E9E9E9;border-radius:10px;font-weight:750;transition:background .18s,transform .18s}.primary:hover{background:#1E4957;border-color:#1E4957;transform:translateY(-1px)}.secondary{background:#E9E9E9;color:#1E4957;border:1px solid #BEBFBF;border-radius:10px}.secondary:hover{border-color:#44A16F;color:#1E4957}.text-button,.context-toggle,.record-details summary,.record-details .photo-link,.offline-help summary,.item button{color:#1E4957}.danger,.hint.error,.vehicle-photo-status.error,.auth-error{color:#C95454!important}.stat,.export-box,.context-bar,.review-summary,.flow-note,.unit-card{background:#E9E9E9;border:1px solid #D3D3D4;color:#1E4957;border-radius:12px}.stat b{color:#1E4957}.stat span,.unit-card small,.context-bar span{color:#49636B}.export-box p{color:#49636B}.notice{background:#E9E9E9;border-left-color:#44A16F;color:#1E4957}.mini-list li,.day-card,.member-row{border-color:#D3D3D4}.mini-list strong,.empty strong{color:#1E4957}.mini-list span,.day-card small,.member-row small{color:#49636B}.item{background:#FFFFFF;border-color:#D3D3D4;border-radius:12px}.item small,.empty{color:#49636B}.thumb{background:#E9E9E9;color:#1E4957}.badge{background:#E9E9E9;color:#1E4957}.badge.warn{background:#E9E9E9;color:#1E4957}.review-summary{color:#1E4957}.record-details{border-color:#D3D3D4}.record-details dt{color:#49636B}.suggestion,.catalog-suggestions{background:#E9E9E9;border:1px solid #44A16F;color:#1E4957}.suggestion button,.catalog-suggestions strong,.catalog-suggestions button{color:#1E4957}.catalog-suggestions button{border-color:#D3D3D4}.extra,.admin-fields label{border-color:#BEBFBF;background:#FFFFFF}.extra summary,.extra>strong,.vehicle-toggle label{color:#1E4957}.vehicle-toggle input{accent-color:#44A16F}.vehicle-photo{border-color:#D3D3D4}.vehicle-photo img{background:#E9E9E9}.room-chips button{background:#E9E9E9;border-color:#BEBFBF;color:#1E4957}.room-chips button.active{background:#44A16F;border-color:#44A16F;color:#E9E9E9}.offline-status{background:#E9E9E9;color:#1E4957}.offline-status.ready{background:#E9E9E9;color:#1E4957}.offline-help{color:#49636B}.unit-card img{background:#1E4957;border-radius:8px}.toast{background:#E9E9E9;color:#1E4957;border:1px solid #44A16F}.auth-gate{background:radial-gradient(circle at 50% 13%,#D3D3D4 0,#FFFFFF 35%,#E9E9E9 75%);padding:24px}.auth-card{width:min(100%,460px);background:#FFFFFF;border:1px solid #44A16F;border-radius:22px;padding:clamp(24px,4vw,40px);box-shadow:0 25px 70px #0009}.auth-card img{width:140px;height:140px;object-fit:contain;margin:0 auto 18px;border-radius:16px}.auth-card h1{text-align:center;font-size:1.62rem;margin:0 0 12px}.auth-card>p{text-align:center}.auth-card label{text-align:left}.auth-card .hint{border-top:1px solid #D3D3D4;padding-top:15px;margin-top:22px}.auth-card .primary{margin-top:22px}.auth-card .text-button{margin-top:16px}.auth-card .auth-error{text-align:left}dialog{background:#FFFFFF;color:#1E4957;border:1px solid #D3D3D4}dialog::backdrop{background:#050606d9}.term-controls{background:#E9E9E9}.term-sheet{background:#1E4957;color:#24292B}.term-sheet p{color:#3B4245}.term-head{border-bottom-color:#44A16F}.term-head img.logo{width:92px;border-radius:5px}.term-sheet th{background:#E9E9E9}.term-sheet th,.term-sheet td{border-color:#BEBFBF}.term-room td{background:#E9E9E9!important;color:#2A2B27;border-top-color:#44A16F!important}.term-subtotal td{background:#FFFFFF}.term-meta strong{color:#262B2D}.signature div{border-color:#D3D3D4}
@media(min-width:1101px){#appShell>header{position:fixed;z-index:11;top:0;left:0;width:250px;height:150px;padding:17px 20px;align-items:center;border-right:1px solid #D3D3D4;border-bottom:0}.brand{flex-direction:column;align-items:flex-start;gap:5px;font-size:1.25rem}.brand img{width:85px;height:85px}.header-note{display:none!important}#appShell>.session-bar{margin-left:250px;padding:13px 30px}#appShell>main{margin-left:250px;max-width:none}.tabs{position:fixed;z-index:10;top:150px;left:0;bottom:0;width:250px;margin:0;padding:18px 10px;display:flex;flex-direction:column;gap:7px;background:#FFFFFF;border-right:1px solid #D3D3D4;border-bottom:0;overflow-y:auto}.tab{text-align:left;white-space:normal;border:1px solid transparent;border-radius:10px;padding:15px 16px;line-height:1.25}.tab.active{border-color:#44A16F;border-left:3px solid #44A16F}.layout{grid-template-columns:minmax(0,1.6fr) minmax(290px,.8fr)}}
@media(max-width:1100px){header{padding:10px 22px}.brand img{width:64px;height:64px}.tabs{position:sticky;top:0;z-index:9;background:#FFFFFF;border:1px solid #D3D3D4;border-radius:11px;padding:5px;margin-bottom:20px}.tab{min-height:50px;white-space:nowrap;border-radius:8px}.session-bar{padding:10px 22px}.layout{grid-template-columns:1fr}main{padding:24px 20px 100px}.action-row{background:#FFFFFFf2;border-top-color:#D3D3D4}}
@media(max-width:620px){header{padding:7px 14px}.brand{gap:9px;font-size:1.03rem}.brand img{width:56px;height:56px}.session-bar{padding:8px 15px;font-size:.78rem}main{padding:19px 14px 98px}.heading{margin-bottom:18px}.heading h1{font-size:1.75rem}.card{padding:17px}.tabs{gap:2px;margin:0 -4px 19px;padding:5px;overflow-x:auto}.tab{font-size:.83rem;min-height:46px;padding:10px 11px}.grid{grid-template-columns:1fr}.full{grid-column:auto}.toolbar input,.toolbar select{width:100%}.action-row{background:#FFFFFFf2;border-top-color:#D3D3D4}.term-sheet{padding:20px}.term-head{flex-wrap:wrap}.term-meta{grid-template-columns:1fr}.term-head img.logo{width:70px}}
@media print{:root{color-scheme:light}body{background:white;color:#24292B}.term-sheet{background:white;color:#24292B}.term-sheet p{color:#3B4245}.term-room td{background:#E9E9E9!important}.term-subtotal td{background:#FFFFFF!important}}

.toast.success{background:#1E4957;color:#1E4957;border:2px solid #44A16F;box-shadow:0 8px 30px #0006;font-weight:700}
.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.money-total{display:block;font-size:1.8rem;color:#1E4957;margin:12px 0}.indicator-row{padding:16px 0;border-bottom:1px solid #D3D3D4}.indicator-label{display:flex;justify-content:space-between;gap:18px;margin-bottom:10px;font-size:.9rem}.indicator-label strong{overflow-wrap:anywhere}.indicator-label span{white-space:nowrap;color:#1E4957}.indicator-track{height:8px;border-radius:10px;background:#E9E9E9;overflow:hidden;margin-bottom:8px}.indicator-track>div{height:100%;background:#44A16F;border-radius:10px}.indicator-row small{color:#49636B}.visit-status{padding:12px 0;font-size:.88rem}.visit-status.completed{color:#1E4957}#finishUnit{width:100%;margin-top:10px}#completeDialog{max-width:560px}#completeDialog .card{margin:0;border:0}#priceSearch{margin-top:12px}.toast{z-index:50}#ferramentas .action-row{position:static}.dashboard-stats .stat b{font-size:1.8rem}@media(max-width:720px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.indicator-label{display:block}.indicator-label span{display:block;margin-top:5px}}
a{color:#1E4957}.depreciation-policy{padding:18px 0;border-bottom:1px solid #D3D3D4}.depreciation-policy>strong{display:block;margin-bottom:12px;overflow-wrap:anywhere}.table-scroll{overflow-x:auto;margin:18px 0}.dep-table{width:100%;border-collapse:collapse;font-size:.86rem}.dep-table th,.dep-table td{text-align:left;padding:12px;border-bottom:1px solid #D3D3D4}.dep-table th{color:#1E4957}.dep-table td{vertical-align:top}.dep-table th:first-child{min-width:190px}#depAccumulated,#depNet{font-size:1.3rem}
/* Identidade visual de navegação e conta */
.dashboard-visual{min-height:190px;border-radius:18px;border:1px solid #D3D3D4;background:linear-gradient(90deg,#E9E9E9 0%,#FFFFFF 45%,#FFFFFFA0 100%),url('./painel-patrimonio.svg') right center/auto 100% no-repeat,#FFFFFF;display:flex;align-items:center;padding:28px 32px;margin-bottom:18px;overflow:hidden}.dashboard-visual>div{display:grid;gap:8px;max-width:430px}.dashboard-visual strong{font-size:clamp(1.25rem,2vw,1.9rem);line-height:1.18;color:#1E4957}.dashboard-visual span{color:#49636B}.dashboard-visual .visual-eyebrow{font-size:.7rem;font-weight:750;letter-spacing:.15em;color:#1E4957}.nav-tip{color:#49636B;font-size:.76rem;line-height:1.45;margin:auto 12px 8px;padding:16px 10px 0;border-top:1px solid #D3D3D4}.site-footer{border-top:1px solid #D3D3D4;background:#FFFFFF;color:#49636B;text-align:center;font-size:.82rem;letter-spacing:.02em;padding:19px}.password-dialog{width:min(92vw,440px);border-radius:18px;padding:28px}.password-dialog form{display:grid;gap:10px}.password-dialog h2{margin:0;color:#1E4957}.password-dialog p{margin:4px 0 10px;color:#49636B}.password-dialog input{width:100%;box-sizing:border-box;padding:12px}.password-dialog .action-row{margin-top:6px;display:flex;gap:9px;flex-wrap:wrap}.password-dialog #changePasswordMessage{min-height:1.4em;color:#1E4957}
@media(min-width:1101px){.site-footer{margin-left:250px}.tab{position:relative;transition:background .18s,color .18s,transform .18s,border-color .18s}.tab:hover{transform:translateX(4px);border-color:#44A16F;background:#E9E9E9}.tab.active{background:linear-gradient(90deg,#44A16F30,#E9E9E955);box-shadow:inset 2px 0 #1E4957}}
@media(max-width:1100px){.nav-tip{display:none}.site-footer{margin-left:0}}
@media(max-width:620px){.dashboard-visual{min-height:160px;padding:18px;background:linear-gradient(90deg,#E9E9E9E8,#FFFFFFA6),url('./painel-patrimonio.svg') center/cover no-repeat}.dashboard-visual strong{max-width:245px}.password-dialog{padding:20px}}
@media(prefers-reduced-motion:reduce){.tab{transition:none!important}.tab:hover{transform:none}}
@media print{.site-footer,.dashboard-visual{display:none!important}}
/* Ilustrações vetoriais leves, disponíveis também sem conexão */
.login-scene{position:absolute;inset:0 51% 0 0;display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:.8}.login-scene img{width:min(92%,760px);height:auto;filter:drop-shadow(0 22px 30px #0006)}.auth-gate{position:relative;isolation:isolate;display:flex;justify-content:flex-end;align-items:center;gap:2vw}.auth-gate .auth-card{z-index:1;margin-right:clamp(16px,5vw,90px)}.field-art{margin:-12px -12px 14px;border-radius:13px;background:radial-gradient(circle at 50% 50%,#E9E9E9,#FFFFFF 72%);border:1px solid #D3D3D4;max-height:150px;overflow:hidden;display:flex;align-items:center;justify-content:center}.field-art img{width:100%;max-height:145px;object-fit:contain;filter:drop-shadow(0 5px 12px #0008)}
@media(max-width:800px){.auth-gate{justify-content:center}.auth-gate .auth-card{margin:0}.login-scene{inset:0;opacity:.17}.login-scene img{min-width:560px}}
@media(max-width:620px){.field-art{max-height:105px}.field-art img{max-height:104px}}
.section-visual{height:135px;border:1px solid #D3D3D4;border-radius:16px;background:linear-gradient(110deg,#FFFFFF,#E9E9E9);display:flex;align-items:center;justify-content:space-between;gap:12px;overflow:hidden;margin-bottom:18px;padding:0 25px}.section-visual>div{display:grid;gap:5px;z-index:1}.section-visual span{font-size:.67rem;letter-spacing:.18em;font-weight:750;color:#1E4957}.section-visual strong{font-size:1.35rem;color:#1E4957}.section-visual small{font-size:.85rem;color:#49636B}.section-visual img{height:185px;max-width:46%;object-fit:contain;object-position:center;opacity:.77;filter:drop-shadow(0 8px 14px #0008)}#contas .section-visual{background:linear-gradient(110deg,#FFFFFF,#E9E9E9)}#ferramentas .section-visual{background:linear-gradient(110deg,#FFFFFF,#E9E9E9)}#admin .section-visual{background:linear-gradient(110deg,#FFFFFF,#E9E9E9)}
@media(max-width:620px){.section-visual{height:105px;padding:0 14px}.section-visual strong{font-size:1.05rem}.section-visual small{font-size:.72rem;max-width:220px}.section-visual img{height:140px;max-width:40%;opacity:.38}}
@media print{.section-visual,.field-art,.login-scene{display:none!important}}
.invite-actions{margin-top:15px;padding:17px;border:1px solid #44A16F;border-radius:12px;background:#E9E9E9}.invite-actions strong{color:#1E4957}.invite-actions p{margin:7px 0 12px;color:#1E4957}.invite-actions .action-row{display:flex;gap:8px;flex-wrap:wrap}
.find-results{display:grid;gap:10px;margin-top:15px}.find-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px;border:1px solid #D3D3D4;border-radius:12px;background:#FFFFFF}.find-item div{display:grid;gap:5px;min-width:0}.find-item strong{color:#1E4957}.find-item span{color:#1E4957}.find-item small{color:#49636B;line-height:1.5}.find-item button{flex-shrink:0}.report-sheet{padding:38px;background:#1E4957;color:#24292B;line-height:1.65}.report-head{display:flex;align-items:center;gap:20px;border-bottom:2px solid #44A16F;padding-bottom:16px}.report-head img{width:80px;height:80px;object-fit:contain}.report-head small{font-size:.75rem;letter-spacing:.1em;color:#1E4957}.report-head h1{font-size:1.35rem;color:#24292B;margin:5px 0}.report-head p{color:#4F5758;margin:0}.report-meta{margin:18px 0;padding:12px;background:#E9E9E9}.report-sheet section{margin:18px 0;break-inside:avoid}.report-sheet h2{font-size:1rem;color:#383E3E;border-bottom:1px solid #D3D3D4;padding-bottom:5px}.report-sheet section p{white-space:pre-wrap;color:#303536}.report-sign{text-align:center;margin-top:42px;break-inside:avoid}
@media(max-width:620px){.find-item{align-items:flex-start;flex-direction:column}.report-sheet{padding:22px}.report-head img{width:56px;height:56px}}
@media print{dialog{display:none!important}body.print-term #termDialog,body.print-report #reportDialog{display:block!important}body.print-report .report-sheet{padding:0}body.print-report .report-sheet section{break-inside:avoid}}
.chart-grid{margin-bottom:18px}.chart-wrap{min-height:230px;display:flex;align-items:center;gap:20px}.pie-chart{width:min(42%,230px);max-height:230px;flex-shrink:0}.pie-slice{cursor:pointer;transition:stroke-width .18s,opacity .18s}.pie-slice:hover,.pie-slice:focus{stroke-width:35;outline:none;opacity:.86}.chart-legend{display:grid;gap:5px;min-width:0;flex:1}.chart-legend button{background:transparent;border:1px solid transparent;border-radius:8px;color:#1E4957;display:flex;align-items:center;gap:8px;text-align:left;padding:7px;cursor:pointer}.chart-legend button:hover,.chart-legend button:focus-visible{border-color:#44A16F;background:#E9E9E9}.chart-legend i{height:12px;width:12px;flex-shrink:0;border-radius:3px}.chart-legend span{min-width:0;flex:1;overflow-wrap:anywhere;font-size:.82rem}.growth-svg{width:100%;max-height:230px;overflow:visible}.growth-point{cursor:pointer}.growth-point:hover,.growth-point:focus{stroke:#1E4957;stroke-width:4;outline:none}.growth-dates{display:flex;gap:5px;overflow-x:auto}.growth-dates button{font-size:.72rem;white-space:nowrap;padding:6px}.faq-list details{padding:14px 0;border-bottom:1px solid #D3D3D4}.faq-list summary{cursor:pointer;color:#1E4957;font-weight:650}.faq-list p{margin:10px 0 0;color:#49636B}.cloud-status{padding:12px 15px;border-radius:10px;background:#E9E9E9;border-left:4px solid #44A16F}.cloud-status[data-state=ok]{border-color:#44A16F;color:#1E4957}.cloud-status[data-state=pending]{border-color:#BEBFBF;color:#1E4957}.cloud-status[data-state=busy]{border-color:#1E4957}
@media(max-width:620px){.chart-wrap{flex-direction:column;align-items:stretch}.pie-chart{width:170px;align-self:center}.chart-legend{width:100%}}
.cloud-find{margin-top:24px;border-top:1px solid #D3D3D4;padding-top:12px}.cloud-find h3{color:#1E4957;font-size:1rem}
.auth-card .auth-tagline{text-align:center;color:#1E4957;font-size:1rem;line-height:1.45;font-weight:550;margin:0 auto 19px;max-width:340px}
.brand-home{border:0;background:transparent;padding:0;color:inherit;text-align:left;cursor:pointer}.brand-home:hover span{color:#1E4957}.item button[data-delete]{color:#E97B7B}.term-qr{text-align:center;margin:24px auto;max-width:360px}.term-qr svg{width:210px;height:210px;max-width:100%;background:#fff;padding:8px}.term-qr p{font-size:.9rem;margin-top:8px}.consult-card{max-width:760px;margin:36px auto;padding:24px}.consult-room{border-top:1px solid #aaa;padding:14px 0}.consult-room li{margin:8px 0}
.stat-button{width:100%;text-align:left;cursor:pointer;font:inherit}.stat-button:hover,.stat-button[aria-expanded="true"]{border-color:#44A16F}.visit-list{margin:14px 0 2px;padding:6px 15px;background:#E9E9E9;border:1px solid #BEBFBF;border-radius:12px}.visit-entry{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:12px 0;border-bottom:1px solid #BEBFBF}.visit-entry:last-child{border-bottom:0}.visit-entry span{grid-column:1;color:#49636B;font-size:.9rem}.visit-entry b{grid-column:2;grid-row:1/3;align-self:center}.visit-entry .done{color:#1E4957}.visit-entry .pending{color:#1E4957}.market-search{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.market-search button{font-size:.9rem}.context-ambient{margin-top:12px}.auth-gate .auth-card{max-width:460px}@media(max-width:1100px){.field-art{display:none}.layout{grid-template-columns:1fr}.context-title h2{font-size:1.1rem}}
.dashboard-visual{min-height:110px;background:#FFFFFF;padding:18px 22px}.dashboard-visual>div{gap:3px;max-width:none}.dashboard-visual strong{font-size:1.25rem}.dashboard-visual span:last-child{display:none}@media(max-width:620px){.dashboard-visual{min-height:90px;background:#FFFFFF;padding:15px}}
.client-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.client-pill{border:1px solid #BEBFBF;border-radius:999px;padding:6px 10px;color:#1E4957;font-size:.82rem}.client-list:empty{display:none}
.home-hero{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:15px;background:radial-gradient(circle at 78% 38%,#D3D3D4,#FFFFFF 68%);border:1px solid #D3D3D4;border-radius:20px;padding:clamp(22px,4vw,48px);min-height:290px;overflow:hidden;margin-bottom:18px}.home-hero span{letter-spacing:.18em;font-size:.72rem;font-weight:750;color:#1E4957}.home-hero h2{color:#1E4957;font-size:clamp(1.55rem,3vw,2.5rem);line-height:1.15;max-width:490px;margin:14px 0}.home-hero p{color:#49636B;margin-bottom:22px}.home-hero img{width:100%;max-height:260px;object-fit:contain;filter:drop-shadow(0 12px 24px #0009)}.home-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.home-cards button{text-align:left;border:1px solid #D3D3D4;background:#FFFFFF;border-radius:16px;padding:18px;color:#1E4957;display:grid;gap:8px;cursor:pointer;transition:transform .15s,border-color .15s}.home-cards button:hover,.home-cards button:focus-visible{border-color:#1E4957;transform:translateY(-2px)}.home-cards img{width:100%;height:115px;object-fit:contain}.home-cards strong{color:#1E4957;font-size:1.1rem}.home-cards small{color:#49636B;font-size:.86rem}.cloud-admin-item{border:1px solid #D3D3D4;border-radius:12px;padding:16px;background:#FFFFFF}.cloud-admin-head{display:flex;justify-content:space-between;gap:12px}.cloud-admin-head strong{display:block;color:#1E4957}.cloud-admin-head small{display:block;color:#49636B;margin-top:5px}.cloud-admin-item details{margin-top:12px;border-top:1px solid #D3D3D4;padding-top:12px}.cloud-admin-item summary{cursor:pointer;color:#1E4957}.cloud-admin-item .grid{margin-top:15px}@media(max-width:700px){.home-hero{grid-template-columns:1fr}.home-hero img{max-height:160px}.home-cards{grid-template-columns:1fr}.home-cards button{grid-template-columns:90px 1fr;align-items:center}.home-cards img{grid-row:1/3;height:75px}.home-cards small{grid-column:2}}

.term-page{padding-bottom:24px}.term-page+.term-page{border-top:3px solid #44A16F;margin-top:30px;padding-top:30px}.term-assets{width:100%;border-collapse:collapse;margin:18px 0;font-size:.85rem}.term-assets th,.term-assets td{border:1px solid #BEBFBF;padding:7px 9px;text-align:left;vertical-align:top}.term-assets th{background:#E9E9E9}.term-assets th:first-child,.term-assets td:first-child{width:55px;text-align:center}.term-assets th:last-child,.term-assets td:last-child{width:125px}.term-total{text-align:right}.term-qr small{overflow-wrap:anywhere;display:block;font-size:.65rem}.term-assets tr{break-inside:avoid}@media print{body.print-term .term-page+.term-page{break-before:page;border-top:0;margin-top:0;padding-top:0}body.print-term .term-page{padding:0}body.print-term .term-assets thead{display:table-header-group}body.print-term .term-qr,body.print-term .signature{break-inside:avoid}}

.term-page{position:relative;isolation:isolate}.term-watermark{position:absolute;z-index:-1;top:33%;left:50%;transform:translate(-50%,-50%);width:min(72%,520px);max-height:520px;object-fit:contain;opacity:.055;pointer-events:none}.term-page>*:not(.term-watermark){position:relative}.term-assets{background:transparent}.term-assets td{background:transparent}@media print{.term-watermark{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Termo segue o modelo de escritório fornecido pela empresa. */
.term-sheet .term-model-head{display:block;text-align:center;border-bottom:5px solid #FFFFFF;padding:8px 0 14px}.term-model-head h2{font-size:1.35rem;color:#1E4957;margin:0 0 5px}.term-model-head strong{font-size:1.03rem;color:#1E4957}.term-model-head h3{font-size:1.12rem;color:#151515;margin:18px 0 7px}.term-model-head p{margin:0;font-size:.78rem}.term-page .term-watermark{opacity:.12;width:min(88%,660px);top:48%}.term-assets th{background:#44A16F;color:white;border-color:#1E4957}.term-assets td{border-color:#BEBFBF}.term-page+.term-page{border-top:0}.term-sheet .term-page>p:not(.term-total){color:#1f2929}@media print{.term-page .term-watermark{opacity:.12}}

.term-page .term-qr-large{max-width:480px;margin:35px auto;text-align:center}.term-page .term-qr-large svg{width:330px;height:330px;max-width:90%;padding:13px;box-shadow:0 0 0 2px #44A16F}.term-page .term-qr-large p{font-weight:700;color:#17383B}.term-page .term-qr-large small{font-size:.65rem}@media print{.term-page .term-qr-large{margin:36px auto}.term-page .term-qr-large svg{width:290px;height:290px;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Responsive horizontal company signature. */
header .brand img.dinizcont-logo,.public-navbar .public-logo img.dinizcont-logo{width:clamp(170px,24vw,290px);height:auto;max-width:100%;object-fit:contain;background:transparent;flex-shrink:1}header .brand,.public-logo{min-width:0;flex-wrap:wrap}.dinizcont-logo{object-fit:contain;background:transparent}.site-footer{display:flex;flex-direction:column;align-items:center;gap:14px;padding:24px 16px;text-align:center}.site-footer img.dinizcont-logo{width:min(270px,80vw);height:auto;background:#1E4957;border-radius:8px;padding:12px}header .brand img.dinizcont-logo,.public-navbar .public-logo img.dinizcont-logo{background:#1E4957;padding:8px;border-radius:8px}.member-row{flex-wrap:wrap}.member-row .danger{color:#E97B7B}@media(max-width:620px){.public-navbar{flex-wrap:wrap;gap:12px}.public-links{flex-wrap:wrap}.public-navbar .public-logo img.dinizcont-logo,header .brand img.dinizcont-logo{width:190px}.brand span{font-size:1rem}}

/* Official Dinizcont palette: #1E4957 #44A16F #BEBFBF #D3D3D4 #E9E9E9. */
:root{--brand-primary:#1E4957;--brand-accent:#44A16F;--brand-gray:#BEBFBF;--brand-border:#D3D3D4;--brand-background:#E9E9E9;color-scheme:light}.primary{background:#1E4957;border-color:#1E4957;color:#fff}.primary:hover{background:#44A16F;border-color:#44A16F;color:#fff}.secondary{background:#fff;color:#1E4957;border-color:#BEBFBF}.secondary:hover{background:#E9E9E9;color:#1E4957;border-color:#44A16F}.auth-card .primary{color:#fff}.toast.success{background:#1E4957;color:#fff;border-color:#44A16F}.room-chips button.active{background:#1E4957;color:#fff}.badge{background:#E9E9E9;color:#1E4957;border:1px solid #44A16F}.badge.warn{background:#E9E9E9;color:#1E4957;border:1px solid #BEBFBF}header .brand img.dinizcont-logo,.public-navbar .public-logo img.dinizcont-logo,.site-footer img.dinizcont-logo{background:transparent}.site-footer{background:#fff}.section-visual strong,.find-item span,.chart-legend button,.faq-list summary{color:#1E4957}.danger,.auth-error,.hint.error{color:#A12D35!important}.public-home{--ink:#E9E9E9;--surface:#FFFFFF;--panel:#E9E9E9;--gold:#44A16F;--gold-light:#1E4957;--text:#1E4957;--muted:#49636B}.public-login{background:#1E4957;color:#fff}.public-login:hover{background:#44A16F;color:#fff}.public-hero{background:linear-gradient(135deg,#fff,#E9E9E9)}.public-carousel{background:#E9E9E9}.public-contact-form input,.public-contact-form textarea{background:#fff}.public-home .public-logo{color:#1E4957!important}.tab.active{background:#E9E9E9;color:#1E4957;border-color:#44A16F}@media(min-width:1101px){#appShell>header,.tabs{background:#1E4957;border-color:#1E4957}#appShell>header .brand{color:#fff}.tabs .tab{color:#fff}.tabs .tab:hover,.tabs .tab.active{background:#fff;color:#1E4957;border-color:#44A16F}.tabs .nav-tip{color:#fff;border-color:#BEBFBF}#appShell>header .dinizcont-logo{background:#fff;padding:8px;width:210px}.site-footer{margin-left:250px}}

.estimated-value-field{max-width:240px}.estimated-value-field input{width:100%}.session-municipality{display:block;color:#1E4957;font-size:1rem;flex-shrink:0}.session-bar{gap:14px;flex-wrap:wrap}.municipal-report-head{text-align:center;border-bottom:2px solid #1E4957;margin-bottom:20px;padding-bottom:14px}.municipal-report-head h1{font-size:1.15rem;color:#1E4957}.municipal-report-head h2{font-size:1rem;color:#1E4957}.municipal-report-table{width:100%;border-collapse:collapse;font-size:.8rem;table-layout:fixed}.municipal-report-table th,.municipal-report-table td{padding:8px 6px;border:1px solid #BEBFBF;overflow-wrap:anywhere;vertical-align:top}.municipal-report-table th{background:#D3D3D4;color:#1E4957}.municipal-report-table tbody tr:nth-child(even){background:#E9E9E9}.municipal-report-table tfoot{font-weight:700}.balance-table th:first-child{width:6%}.balance-table th:nth-child(2){width:23%}.balance-table td:nth-child(n+3){text-align:right}.inventory-table th:nth-child(1){width:10%}.inventory-table th:nth-child(2){width:34%}.inventory-table th:nth-child(3){width:25%}.inventory-table th:nth-child(4){width:11%}.inventory-table th:nth-child(5){width:10%}.inventory-table th:nth-child(6){width:10%}.report-note{font-size:.75rem;color:#49636B}#reportDialog{width:min(96vw,1400px);max-width:96vw}#depPolicies{margin:20px 0}#addAccountCard{margin-bottom:22px;align-items:end}@media(max-width:700px){#reportContent:has(.municipal-report-table){overflow-x:auto}.municipal-report-table{min-width:750px}.balance-table{min-width:1050px}}@page municipal-landscape{size:A4 landscape;margin:12mm}@page municipal-portrait{size:A4 portrait;margin:12mm}@media print{#reportDialog.balance-report .report-sheet{page:municipal-landscape}#reportDialog:not(.balance-report) .report-sheet:has(.inventory-table){page:municipal-portrait}.municipal-report-table{min-width:0;font-size:8pt}.municipal-report-table thead{display:table-header-group}.municipal-report-table tr{break-inside:avoid}.municipal-report-table th{print-color-adjust:exact}#reportContent{overflow:visible!important}.report-note{font-size:8pt}.municipal-report-head h1{font-size:12pt}.municipal-report-head h2{font-size:11pt}}

.session-bar .profile-avatar-button{margin-left:auto;width:44px;height:44px;min-width:44px;padding:0;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#1e4957;color:white;border:2px solid #44a16f;font-weight:700}.profile-avatar-button img{width:100%;height:100%;object-fit:cover}.profile-avatar-button img[hidden],.profile-avatar-button span[hidden]{display:none}.user-profile-top{display:flex;gap:24px;align-items:center;margin-bottom:24px}.user-profile-top img{width:120px;height:120px;object-fit:cover;border-radius:50%}@media(max-width:600px){.user-profile-top{flex-direction:column;align-items:flex-start}.session-bar{flex-wrap:wrap}.session-bar .profile-avatar-button{margin-left:0}}

@media(max-width:600px){.day-card{align-items:flex-start;flex-direction:column}.day-actions{display:flex;flex-wrap:wrap;gap:8px;width:100%}.day-actions button{white-space:normal;flex:1;min-width:130px}.term-qr small{overflow-wrap:anywhere}.term-sheet{max-width:100%;overflow-wrap:anywhere}}
@media print{.term-list-page{break-before:page}.term-assets thead{display:table-header-group}.term-assets tr{break-inside:avoid}}

.term-color-logo{display:block;width:250px;max-width:60%;height:75px;object-fit:contain;margin:0 auto 18px}.qr-location-head{text-align:center;border-bottom:3px solid #44A16F;margin-bottom:18px}.qr-location-head h2{color:#1E4957}.qr-guidance{text-align:center}.term-qr-page .term-qr-large svg{width:440px;height:440px;max-width:100%;box-shadow:none;padding:16px;background:white}.term-list-page h2,.term-list-page h3{text-align:center;color:#1E4957}.balance-signatures{display:flex;justify-content:space-between;gap:20px;margin-top:48px;text-align:center;font-size:12px}.balance-table{margin-bottom:20px}.balance-table th:nth-child(2){width:21%}
@media print{#termDialog[data-print-mode="qr"] .term-list-page,#termDialog[data-print-mode="list"] .term-qr-page{display:none!important}body.print-term .term-page{break-before:auto!important;break-after:page}body.print-term .term-page:last-child{break-after:auto}.term-qr-page .term-qr-large{margin:20px auto}.term-qr-page .term-qr-large svg{width:125mm;height:125mm;max-width:100%}.term-color-logo{height:20mm;width:65mm}.balance-signatures{break-inside:avoid}.balance-table td{font-size:7.5pt}.balance-table th{font-size:7.5pt}}

#movimentacoes fieldset{border:1px solid #353A3E;border-radius:12px;padding:18px;margin:12px 0}#movimentacoes legend{color:#E1C16E;font-size:1.1rem;padding:0 6px}.movement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#movimentacoes label{display:block;font-size:.95rem}#movimentacoes .action-row{flex-wrap:wrap}#movimentacoes .cloud-admin-item{overflow-wrap:anywhere}#movementDetail,#movementDecision{width:min(700px,calc(100vw - 32px));max-height:85vh;overflow:auto}#movementDetail p{overflow-wrap:anywhere}@media(max-width:600px){.movement-grid{grid-template-columns:1fr}#movimentacoes fieldset{padding:12px}}

.session-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-left:auto;flex-wrap:wrap;max-width:100%}.session-controls .app-sector-label{margin:0;display:flex;align-items:center;gap:8px;font-size:.9rem;font-weight:600}.session-controls .app-sector-label select{width:150px;min-height:44px;margin:0}.session-bar .session-controls .profile-avatar-button{margin-left:0;flex-shrink:0}.session-controls #signOut{min-height:44px}@media(max-width:600px){.session-controls{gap:10px}.session-controls .app-sector-label{font-size:.85rem}.session-controls .app-sector-label select{width:120px}}

.login-welcome{position:fixed;top:82px;right:20px;z-index:1200;display:flex;align-items:flex-start;gap:12px;width:min(440px,calc(100vw - 32px));padding:18px;background:#FFFFFF;color:#1E4957;border:1px solid #44A16F;border-radius:12px;box-shadow:0 8px 28px #0002}.login-welcome p{margin:0;color:inherit;line-height:1.5;overflow-wrap:anywhere}.login-welcome .login-welcome-close{flex:none;display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;margin:-6px -6px 0 0;border:0;border-radius:8px;background:transparent;color:inherit;font-size:26px;line-height:1}.login-welcome-close:hover{background:#E9E9E9}@media(max-width:600px){.login-welcome{top:16px;right:16px}}@media print{.login-welcome{display:none!important}}

.dashboard-value-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.dashboard-value-heading h2{margin:0}.dashboard-value-toggle{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;padding:9px;border:1px solid #d3d3d4;border-radius:50%;background:transparent;color:#1e4957;cursor:pointer}.dashboard-value-toggle svg{width:22px;height:22px}.dashboard-value-toggle:hover{background:#e9efed}.dashboard-value-toggle:focus-visible{outline:3px solid #44a16f;outline-offset:3px}

/* QR sheet: reserve one A4 content box, including the institutional banner. */
@media print {
 body.print-term #termDialog[data-print-mode="qr"] {overflow:visible!important;height:auto!important;max-width:none!important}
 body.print-term #termDialog[data-print-mode="qr"] .term-qr-page {
  box-sizing:border-box;width:100%;height:260mm;max-height:260mm;
  display:flex;flex-direction:column;gap:0;break-inside:avoid;page-break-inside:avoid;padding:0!important;
 }
 body.print-term #termDialog[data-print-mode="qr"] .term-meta {margin:2mm 0;gap:1mm 4mm;font-size:10pt;overflow-wrap:anywhere}
 body.print-term #termDialog[data-print-mode="qr"] .term-qr-large {margin:2mm auto;flex:1 0 auto;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
 body.print-term #termDialog[data-print-mode="qr"] .term-qr-large svg {width:125mm;height:125mm;max-height:none;padding:0;flex-shrink:0}
 body.print-term #termDialog[data-print-mode="qr"] .term-qr-large p {margin:1mm 0;font-size:9pt}
 body.print-term #termDialog[data-print-mode="qr"] .term-qr-brand-footer {margin-top:auto;flex-shrink:0;break-inside:avoid}
 body.print-term #termDialog[data-print-mode="qr"] .term-qr-footer-banner {display:block;width:100%;height:auto;object-fit:contain}
 body.print-term #termDialog[data-print-mode="qr"] .term-issued {margin:2mm 0 0!important;flex-shrink:0}
}

#profileForm [hidden]{display:none!important}
#profileDialog{width:min(92vw,440px)}

.term-qr-page .term-qr-brand-footer{width:100%;box-sizing:border-box;align-self:stretch;padding-left:0;padding-right:0}

@media print {
 body.print-term #termDialog[data-print-mode="qr"] .municipal-identity{margin-bottom:1mm;gap:1mm;flex-shrink:0}
 body.print-term #termDialog[data-print-mode="qr"] .qr-location-head{margin-bottom:1mm;padding-bottom:1mm;flex-shrink:0}
 body.print-term #termDialog[data-print-mode="qr"] .qr-location-head p{margin:1mm 0}
 body.print-term #termDialog[data-print-mode="qr"] .qr-guidance{margin:1mm 0}
}

/* The modules grow with the SVG; no decorative white tile or extra padding. */
#termDialog .term-qr-page .term-qr-large svg{display:block;width:520px;height:auto;aspect-ratio:1;max-width:100%;padding:0;background:transparent;box-shadow:none;fill:#000}
@media print{
 body.print-term #termDialog[data-print-mode="qr"] .term-qr-large svg{width:125mm;height:125mm;padding:0;background:transparent;box-shadow:none;fill:#000}
}
